.product-gallery{min-width:0;align-self:start}
.product-gallery-heading{margin:0 0 15px;font-size:11px;letter-spacing:.15em}
.product-gallery-stage{position:relative;background:#eee3d2;border:1px solid var(--line)}
.product-gallery-track{display:flex;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.product-gallery-track::-webkit-scrollbar{display:none}
.product-gallery-track:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.product-gallery-slide{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 100%;min-width:0;aspect-ratio:3/2;margin:0;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
.product-gallery-slide>img{width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
/* Show a detail of the approved photo without changing the soap's proportions or colour. */
.product-gallery-detail{position:relative;height:90%;aspect-ratio:400/596;overflow:hidden}
.product-gallery-detail img{position:absolute;width:384%;max-width:none;height:auto;left:-203.5%;top:-36.74497%;user-select:none;-webkit-user-drag:none}
.product-gallery-arrows{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:12px;pointer-events:none}
.product-gallery-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;background:#fff9eff2;border:1px solid var(--line);color:var(--ink);pointer-events:auto;font-size:25px;line-height:1;box-shadow:0 2px 8px #60222c10}
.product-gallery-arrow:disabled{opacity:.35}
.product-gallery-arrow:focus-visible{outline-offset:2px}
.product-gallery-caption{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:13px 0 10px;font-size:12px}
.product-gallery-counter{flex-shrink:0;font-variant-numeric:tabular-nums;letter-spacing:.1em;color:var(--muted)}
.product-gallery-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.product-gallery-thumb{min-width:0;padding:5px;border:1px solid var(--line);background:transparent;text-align:center;font-size:11px;line-height:1.5}
.product-gallery-thumb[aria-pressed=true]{border:2px solid var(--ink);padding:4px;background:#f0e7da}
.product-gallery-thumb-image{position:relative;display:flex;justify-content:center;align-items:center;aspect-ratio:3/2;overflow:hidden;background:#eee3d2;margin-bottom:6px}
.product-gallery-thumb-image>img{width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
.product-gallery-thumb .product-gallery-detail{height:94%}
.product-gallery .product-image-disclaimer{padding:11px 0 0;min-height:0;background:transparent}
.product-gallery-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:700px){.product-gallery-arrows{padding:8px}.product-gallery-thumbnails{gap:8px}.product-gallery-thumb{font-size:10px}.product-gallery-heading{margin-bottom:12px}}
