.product-gallery{min-width:0;width:100%}.gallery-track{display:flex;direction:ltr;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;border-radius:10px;background:#f5efe5;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom}.gallery-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start}.gallery-slide img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:12px}.gallery-controls button{border:1px solid #d2bd99;border-radius:5px;padding:7px 16px;min-height:36px;background:#fffcf7}.gallery-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.gallery-thumbs button{padding:2px;border:1px solid transparent;border-radius:5px;background:transparent}.gallery-thumbs button[aria-pressed=true]{border-color:#9b8050}.gallery-thumbs img{display:block;width:50px;height:50px;object-fit:cover;border-radius:3px}.detail-photo:has(.product-gallery){min-height:0;background:transparent}.detail-photo .gallery-controls,.detail-photo .gallery-thumbs{padding-inline:12px}.detail-photo .gallery-thumbs img{width:40px;height:40px}.gallery-track:focus-visible{outline:2px solid #9b8050;outline-offset:3px}@media(prefers-reduced-motion:reduce){.gallery-track{scroll-behavior:auto}}@media(max-width:700px){.detail-photo:has(.product-gallery){aspect-ratio:auto}.gallery-thumbs img{width:43px;height:43px}}

.seo-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.seo-product>div{min-width:0}@media(max-width:700px){.seo-product{grid-template-columns:minmax(0,1fr)}}

.gallery-track{scrollbar-width:none}.gallery-track::-webkit-scrollbar{display:none}.gallery-thumbs{justify-content:center}.gallery-enlarge{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:10px;overflow:hidden}.gallery-enlarge::after{content:'⌕';position:absolute;bottom:12px;left:12px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fffcf7de;color:#29251f;font:25px/1 sans-serif;pointer-events:none}.gallery-enlarge:focus-visible{outline:2px solid #9b8050;outline-offset:-4px}.photo-viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#f9f5ed;color:#29251f;overflow:hidden}.photo-viewer::backdrop{background:#18150fe6}.viewer-toolbar{position:absolute;inset:12px 16px auto;display:flex;align-items:center;gap:8px;z-index:2;direction:ltr}.viewer-count{margin-right:auto;font-size:12px;color:#6e6251;background:#faf7f0de;padding:9px 14px;border-radius:24px}.photo-viewer button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d9cdbb;border-radius:50%;background:#fffdf6e8;color:#30281e;font:27px/1 sans-serif;cursor:pointer}.photo-viewer button[hidden]{display:none}.photo-viewer button:focus-visible{outline:2px solid #9b8050;outline-offset:3px}.viewer-stage{position:absolute;inset:72px 0 18px;overflow:auto;direction:ltr;touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain}.viewer-stage img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;user-select:none;-webkit-user-select:none}.photo-viewer.is-zoomed .viewer-stage{cursor:grab}.photo-viewer.is-zoomed .viewer-stage:active{cursor:grabbing}.photo-viewer.is-zoomed .viewer-stage img{width:200%;height:200%}.viewer-prev,.viewer-next{position:absolute;top:50%;z-index:2}.viewer-prev{left:14px}.viewer-next{right:14px}@media(max-width:700px){.viewer-toolbar{top:max(12px,env(safe-area-inset-top))}.viewer-stage{bottom:max(18px,env(safe-area-inset-bottom))}.viewer-prev{left:8px}.viewer-next{right:8px}.photo-viewer .viewer-prev,.photo-viewer .viewer-next{width:36px;height:36px}}
html:has(.photo-viewer[open]){overflow:hidden}.viewer-stage:focus-visible{outline:2px solid #9b8050;outline-offset:-3px}
.photo-viewer{background:#121110;color:#fff}.photo-viewer button{border-color:#ffffff45;background:#171717c9;color:#fff}.viewer-count{color:#fff;background:#171717c9}.gallery-enlarge::after{content:'⤢';font-size:21px}

.photo-viewer .viewer-close{position:relative;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:0;color:#fff}
.photo-viewer .viewer-close::before,.photo-viewer .viewer-close::after{content:'';position:absolute;left:50%;top:50%;width:21px;height:1.5px;background:currentColor;border-radius:1px;transform:translate(-50%,-50%) rotate(45deg)}
.photo-viewer .viewer-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.photo-viewer .viewer-close:hover{background:transparent;opacity:.65}
