.shop-gallery{min-width:0}
.shop-gallery-card{position:absolute;inset:0}
.gallery-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;outline-offset:-3px}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-track>.gallery-slide{position:relative;inset:auto;display:block;flex:0 0 100%;width:100%;min-width:0;height:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
.gallery-track .product-photo{position:absolute;inset:0;pointer-events:none;user-select:none;-webkit-user-drag:none}
.gallery-track .catalog-image{pointer-events:none;user-select:none}
.gallery-track.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:42px;border:1px solid #b9ad9b55;background:#faf9f6ed;color:var(--ink);border-radius:3px;box-shadow:0 1px 5px #302d2b0a;cursor:pointer}
.gallery-prev{left:9px}.gallery-next{right:9px}
.gallery-arrow svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}
.gallery-arrow:disabled{opacity:.35;cursor:default}
.gallery-arrow:focus-visible,.gallery-dot:focus-visible,.gallery-track:focus-visible{outline:2px solid var(--wine);outline-offset:3px}
.gallery-status{position:absolute;z-index:2;bottom:10px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:4px 9px;background:#faf9f6ed;border-radius:20px;max-width:calc(100% - 16px)}
.gallery-dots{display:flex;gap:0;align-items:center;justify-content:center}
.gallery-dot{display:grid;place-items:center;width:18px;height:24px;padding:0;border:0;background:transparent;cursor:pointer;flex:none}
.gallery-dot::after{content:"";display:block;width:5px;height:5px;background:#b6afa3;border-radius:50%}
.gallery-dot[aria-pressed=true]::after{background:var(--wine);width:7px;height:7px}
.gallery-counter{font-size:12px;letter-spacing:.04em;color:var(--muted);white-space:nowrap}
.shop-gallery-card .quick-view{bottom:48px}
.product-badge,.product-favorite{z-index:3}
.shop-gallery-detail .detail-gallery{overflow-x:auto;scrollbar-width:thin;padding-bottom:4px;max-width:100%}
.shop-gallery-detail .detail-gallery button{flex:0 0 75px;cursor:pointer}
@media(hover:hover){.gallery-track{cursor:grab}.gallery-arrow:not(:disabled):hover{background:var(--paper);color:var(--wine)}}
@media(max-width:760px){.gallery-arrow{width:30px;height:36px}.gallery-prev{left:5px}.gallery-next{right:5px}.gallery-arrow svg{width:16px;height:16px}.gallery-status{bottom:7px;padding:1px 6px;gap:5px}.gallery-dot{width:15px;height:23px}.gallery-counter{font-size:12px}.shop-gallery-detail .gallery-arrow{width:40px;height:44px}.shop-gallery-detail .gallery-status{bottom:12px;padding:4px 10px;gap:9px}.shop-gallery-detail .gallery-dot{width:22px;height:26px}.shop-gallery-detail .gallery-counter{font-size:12px}.shop-gallery-detail .detail-gallery button{flex-basis:64px}}
@media(prefers-reduced-motion:reduce){.gallery-track{scroll-behavior:auto}}
