/* Full photographs in a bounded, natively scrollable product gallery. */
.gallery.product-gallery{position:relative;min-width:0;background:#f3f3f1;overflow:hidden}
.gallery-viewport{display:flex;position:relative;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;height:clamp(190px,40vh,340px);height:clamp(190px,40svh,340px);outline-offset:-3px;cursor:grab;touch-action:pan-x pan-y pinch-zoom}
.gallery-viewport::-webkit-scrollbar{display:none}
.gallery-slide{display:flex;align-items:center;justify-content:center;flex:0 0 100%;width:100%;height:100%;min-width:0;scroll-snap-align:center;scroll-snap-stop:always;padding:6px;overflow:hidden}
.gallery-slide>.gallery-photo{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.gallery-viewport.is-dragging{scroll-snap-type:none;scroll-behavior:auto;cursor:grabbing;user-select:none;-webkit-user-select:none}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 8px;background:#fff;border-bottom:1px solid #eeeeeb}
.gallery-navigation{display:flex;align-items:center;gap:4px;flex:none}
.gallery-prev,.gallery-next{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:#252622;cursor:pointer}
.gallery-prev svg,.gallery-next svg{width:19px;height:19px}
.gallery-prev:disabled,.gallery-next:disabled{opacity:.28;cursor:default}
.gallery-counter{min-width:42px;text-align:center;font-size:12px;line-height:18px;font-variant-numeric:tabular-nums;color:#65665f;white-space:nowrap}
.gallery-hint{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;line-height:18px;color:#77786f}
.gallery-hint svg{width:17px;height:17px}
.product-gallery button:focus-visible,.gallery-viewport:focus-visible{outline:3px solid #8eafc6;outline-offset:-3px}
.product-gallery .image-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#797b72;font-size:14px;text-align:center}
@media(min-width:600px){.gallery-viewport{height:clamp(250px,50vh,460px);height:clamp(250px,50svh,460px)}.gallery-controls{padding-inline:12px}.gallery-counter{font-size:13px}}
@media(min-width:900px){.gallery.product-gallery{border-radius:7px}.gallery-viewport{height:clamp(340px,68vh,620px);height:clamp(340px,68svh,620px)}.gallery-slide{padding:10px}.gallery-hint{font-size:12px}.gallery-prev:hover:not(:disabled),.gallery-next:hover:not(:disabled){background:#f1f2ee}}
@media(prefers-reduced-motion:reduce){.gallery-viewport{scroll-behavior:auto}}
