.product-gallery .gallery-thumbnail-strip{container-type:inline-size;position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;margin-top:20px;width:100%;min-width:0}
.product-gallery .gallery-thumbnail-strip[hidden]{display:none}
.page-product .product-gallery .gallery-thumbs{display:flex;gap:12px;margin:0;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity}
.product-gallery .gallery-thumbs::-webkit-scrollbar{display:none}
.page-product .product-gallery .gallery-thumbs a{flex:0 0 clamp(80px,calc((100cqw - 48px) / 5),120px);width:auto;height:clamp(80px,calc((100cqw - 48px) / 5),120px);aspect-ratio:1;min-width:0;min-height:44px;padding:4px;scroll-snap-align:start;transition:border-color .18s ease,background .18s ease}
.product-gallery .gallery-thumbs img{user-select:none;-webkit-user-drag:none}
.product-gallery .gallery-thumbs-step{position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:grid;place-items:center;min-width:44px;width:44px;height:44px;padding:0;border:0;background:var(--black);color:var(--theme-accent-ink,var(--yellow));clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.product-gallery .gallery-thumbs-step[data-thumbs-step="-1"]{left:8px}
.product-gallery .gallery-thumbs-step[data-thumbs-step="1"]{right:8px}
.product-gallery .gallery-thumbs-step[hidden]{display:none}
.product-gallery .gallery-thumbs-step .icon{width:20px;height:20px}
.product-gallery .gallery-thumbs-step[data-thumbs-step="-1"] .icon{transform:rotate(180deg)}
.product-gallery .gallery-thumbs-step:is(:hover,:focus-visible):not(:disabled){background:var(--cyan);color:var(--theme-action-ink,var(--black))}
.product-gallery .gallery-thumbs-step:focus-visible{outline:2px solid var(--black);outline-offset:-4px}
.product-gallery .gallery-thumbs-step:disabled{opacity:.3;cursor:default}
.product-gallery .gallery-thumbs a:hover{border-color:var(--theme-feedback-ink,var(--cyan))}
.product-gallery .gallery-thumbs [data-selected=true]{border-color:var(--theme-accent-ink,var(--yellow));background:var(--graphite)}
.product-gallery .gallery-thumbs [data-pending=true]{border-color:var(--theme-feedback-ink,var(--cyan))}
.product-gallery [data-gallery-count]{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--theme-feedback-ink,var(--cyan))}
.product-gallery .gallery-feedback{display:flex;align-items:center;gap:16px;min-height:34px;padding-top:8px;font-size:16px;line-height:1.4;color:var(--muted)}
.product-gallery .gallery-feedback [data-error=true]{color:var(--theme-error,#ffb2aa)}
.product-gallery [data-gallery-retry]{min-height:44px;padding:8px 0;white-space:nowrap;font-size:16px;color:var(--theme-accent-ink,var(--yellow))}
.product-gallery [data-gallery-retry][hidden]{display:none}
.product-gallery .gallery-zoom{color:var(--theme-accent-ink,var(--yellow));border:1px solid var(--theme-control-line,#626f75);min-width:48px;min-height:48px}
.product-gallery .gallery-zoom:hover{color:var(--theme-feedback-ink,var(--cyan));border-color:var(--theme-feedback-ink,var(--cyan))}
.gallery-arrow{display:grid;place-items:center;width:52px;height:48px;flex:none;background:var(--yellow);color:#070b0d;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);transition:background .16s ease}
.gallery-arrow:hover{background:var(--cyan)}
.gallery-arrow[data-gallery-step="-1"] .icon{transform:rotate(180deg)}
.gallery-arrow .icon{width:26px;height:26px}
.product-gallery :is(.gallery-arrow,.gallery-thumbs a,.gallery-zoom):focus-visible{outline:2px solid var(--theme-feedback-ink,var(--cyan));outline-offset:4px}
.page-product .product-gallery .gallery-arrow:focus-visible{background:var(--cyan);outline:2px solid var(--black);outline-offset:-5px;box-shadow:none}
@media(max-width:900px){
 /* Keep 14px bars; reduce the visible space between them from 10px to 5px. */
 .product-gallery .gallery-thumbnail-strip{margin-top:4px}
 .page-product #buy .product-gallery .gallery-thumbs{justify-content:safe center;gap:0}
 .page-product #buy .product-gallery .gallery-thumbs a{display:grid;place-items:center;flex:0 0 19px;width:19px;height:32px;min-height:32px;padding:0;border:0;background:transparent;clip-path:none;scroll-snap-align:center}
 .page-product #buy .product-gallery .gallery-thumbs a img,
 .page-product #buy .product-gallery .gallery-thumbs a::before{display:none}
 .page-product #buy .product-gallery .gallery-thumbs a::after{content:"";width:14px;height:2px;border-radius:1px;background:var(--muted);opacity:.45;transition:background .18s ease,opacity .18s ease}
 .page-product #buy .product-gallery .gallery-thumbs a[data-selected=true]::after{background:var(--theme-accent-ink,var(--yellow));opacity:1}
 .page-product #buy .product-gallery .gallery-thumbs a[data-pending=true]::after{background:var(--theme-feedback-ink,var(--cyan));opacity:1}
 .page-product #buy .product-gallery .gallery-thumbs a:focus-visible{outline:2px solid var(--theme-feedback-ink,var(--cyan));outline-offset:0;box-shadow:none}
 .product-gallery .gallery-thumbs-step{display:none}
 .product-gallery .gallery-feedback{font-size:15px;min-height:30px}
}
@media(prefers-reduced-motion:reduce){.product-gallery *, .product-gallery .product-lightbox[open]{animation:none!important;transition:none!important}}

.product-gallery .gallery-stage-nav{display:none;position:absolute;inset:0;pointer-events:none;z-index:2}
.product-gallery.gallery-ready .gallery-stage-nav{display:flex}
.page-product .product-gallery .gallery-stage-nav .gallery-arrow{width:50%;height:100%;padding:0;pointer-events:auto;background:transparent;color:var(--theme-accent-ink,var(--yellow));clip-path:none;outline:none;box-shadow:none;transition:none}
.page-product .product-gallery .gallery-stage-nav .gallery-arrow .icon{opacity:0;pointer-events:none}
.page-product .product-gallery .gallery-stage-nav .gallery-arrow:focus-visible{outline:2px solid var(--theme-feedback-ink,var(--cyan));outline-offset:-8px}
.page-product .product-gallery .gallery-stage-nav .gallery-arrow:focus-visible .icon{opacity:1}
.page-product .product-gallery .gallery-zoom{z-index:3}
.page-product .product-gallery .gallery-stage-nav [data-gallery-step="-1"]{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20transform%3D%22rotate%28180%2012%2012%29%22%3E%3Cpath%20d%3D%22M3%2012H21M16%2017L21%2012L16%207%22%20stroke%3D%22%23FEFB33%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 24 24, pointer}
.page-product .product-gallery .gallery-stage-nav [data-gallery-step="1"]{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%3E%3Cpath%20d%3D%22M3%2012H21M16%2017L21%2012L16%207%22%20stroke%3D%22%23FEFB33%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 24 24, pointer}
.product-gallery .gallery-stage > .gallery-feedback{position:absolute;inset:auto 84px 18px 18px;z-index:2;min-height:0;padding:10px 14px;background:var(--black);border-left:2px solid var(--theme-feedback-ink,var(--cyan));font-size:14px}
.product-gallery .gallery-stage > .gallery-feedback:has([data-gallery-status]:empty):has([data-gallery-retry][hidden]){display:none}
.product-gallery.gallery-ready [data-gallery-stage]{touch-action:pan-y pinch-zoom}
.product-gallery [data-gallery-stage] > img{user-select:none;-webkit-user-drag:none}
.product-gallery [data-gallery-stage][data-dragging=true]{cursor:grabbing}
.product-gallery .gallery-mobile-rail{display:none}
@media(max-width:900px){
 .product-gallery.gallery-mobile [data-gallery-stage]{touch-action:pan-x pan-y pinch-zoom}
 .product-gallery.gallery-mobile .gallery-stage > [data-gallery-image]{display:none}
 .product-gallery.gallery-mobile .gallery-mobile-rail{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom}
 .product-gallery .gallery-mobile-rail::-webkit-scrollbar{display:none}
 .product-gallery .gallery-mobile-slide{flex:0 0 100%;width:100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always}
 .product-gallery .gallery-mobile-slide > .gallery-mobile-image{display:block;width:100%;height:100%;max-width:none;object-fit:contain;user-select:none;-webkit-user-drag:none}
 .page-product .product-gallery .gallery-stage-nav,
 .page-product .product-gallery .gallery-zoom{display:none}
 .product-gallery .gallery-stage > .gallery-feedback{left:12px;right:12px;bottom:18px;padding:8px 10px;gap:8px}
}


.product-gallery .product-lightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:var(--graphite);color:var(--white)}
.product-gallery .product-lightbox[open]{display:block;animation:none}
.product-gallery .product-lightbox::backdrop{background:var(--graphite)}
.product-gallery .product-lightbox .gallery-viewer-stage{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:zoom-in}
.product-lightbox .gallery-viewer-stage img{position:absolute;left:50%;top:50%;display:block;width:auto;height:auto;max-width:none;max-height:none;object-fit:contain;transform-origin:center;user-select:none;-webkit-user-drag:none;transform:translate(-50%,-50%)}
.product-lightbox[data-zoomed=true] .gallery-viewer-stage{cursor:grab}
.product-lightbox .gallery-viewer-stage[data-panning=true]{cursor:grabbing}
.product-lightbox .gallery-viewer-toolbar{position:absolute;z-index:2;top:20px;left:24px;right:24px;display:flex;align-items:center;gap:8px;pointer-events:none}
.product-lightbox .gallery-viewer-count{margin-right:auto;font-size:16px;line-height:1.2;color:var(--white);padding:12px 0}
.product-lightbox .gallery-viewer-control{position:relative;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;background:var(--black);color:var(--theme-accent-ink,var(--yellow));pointer-events:auto;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.product-lightbox .gallery-viewer-control .icon{display:block;width:24px;height:24px}
.product-lightbox .gallery-viewer-control:is(:hover,:focus-visible){background:var(--cyan);color:var(--theme-action-ink,var(--black))}
.product-lightbox .gallery-viewer-control:focus-visible{outline:2px solid var(--black);outline-offset:-5px}
.product-lightbox .gallery-viewer-control:disabled{opacity:.4;cursor:default}
.product-lightbox .gallery-viewer-previous,.product-lightbox .gallery-viewer-next{position:absolute;z-index:2;top:calc(50% - 24px)}
.product-lightbox .gallery-viewer-previous{left:24px}
.product-lightbox .gallery-viewer-next{right:24px}
.product-lightbox .gallery-viewer-previous .icon{transform:rotate(180deg)}
.product-lightbox [data-zoom-out-icon],.product-lightbox[data-zoomed=true] [data-zoom-in-icon]{display:none}
.product-lightbox[data-zoomed=true] [data-zoom-out-icon]{display:block}
.product-gallery .product-lightbox>.gallery-feedback{position:absolute;z-index:3;left:50%;bottom:24px;transform:translateX(-50%);max-width:calc(100% - 48px);min-height:0;padding:8px 16px;background:var(--black)}
.product-gallery .product-lightbox>.gallery-feedback:has([data-gallery-status]:empty):has([data-gallery-retry][hidden]){display:none}
@media(max-width:900px){
 .product-lightbox .gallery-viewer-toolbar{top:calc(12px + env(safe-area-inset-top));left:12px;right:12px}
 .product-lightbox .gallery-viewer-previous{left:12px}
 .product-lightbox .gallery-viewer-next{right:12px}
}

