/* Integrate native swipe navigation into the store's existing product card. */
.pd-product-gallery *{box-sizing:border-box}
.pd-product-gallery [hidden]{display:none!important}
.pd-product-gallery .pd-gallery-track{display:flex;gap:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#d6c29c #fcfaf5;outline-offset:-4px}
.pd-wrap .pd-product-gallery .pd-gallery-slide{flex:0 0 100%;min-width:0;width:100%;scroll-snap-align:start;scroll-snap-stop:always;text-decoration:none}
.pd-wrap .pd-gallery-slide>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .3s ease}
.pd-product-gallery .pd-gallery-count{position:absolute;bottom:19px;left:17px;z-index:1;max-width:36%;padding:5px 10px;border:1px solid #eadfc9;border-radius:20px;background:#fffffff0;color:#74613f;font-size:11px;font-weight:650;line-height:1.5;pointer-events:none}
.pd-product-gallery .pd-gallery-arrow{display:grid;place-items:center;position:absolute;z-index:2;top:50%;width:44px;height:44px;padding:0;border:1px solid #e6d7ba;border-radius:50%;background:#fffffff5;color:#826331;box-shadow:0 3px 12px #17243b0c;transform:translateY(-50%);cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.pd-product-gallery .pd-gallery-arrow svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor}
.pd-product-gallery .pd-gallery-prev{left:12px}
.pd-product-gallery .pd-gallery-next{right:12px}
.pd-product-gallery .pd-gallery-next svg{transform:rotate(180deg)}
.pd-product-gallery .pd-gallery-arrow:hover{border-color:var(--pd-red,#ce1025);background:var(--pd-red,#ce1025);color:#fff}
.pd-product-gallery :is(a,button,[tabindex]):focus-visible{outline:3px solid #c6a052;outline-offset:-4px}
.pd-product-gallery .pd-thumbnails{scrollbar-width:thin;scrollbar-color:#d6c29c #fcfaf5}
@media(max-width:640px){.pd-product-gallery .pd-gallery-count{bottom:14px;left:12px;padding:4px 9px;font-size:10px}.pd-product-gallery .pd-gallery-prev{left:8px}.pd-product-gallery .pd-gallery-next{right:8px}}
@media(prefers-reduced-motion:reduce){.pd-product-gallery *{scroll-behavior:auto!important;transition:none!important}}
