.carousel{position:relative;min-width:0;width:100%;font-size:1rem}
.carousel-track{position:relative;display:flex;width:100%;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:16px;outline-offset:3px}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-slide{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;background:#fff}
.carousel-slide img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;user-select:none}
.carousel .carousel-zoom,.card .carousel .carousel-zoom{display:block;width:100%;border:0;padding:0;margin:0;min-height:0;background:transparent;border-radius:0;cursor:zoom-in}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:5px;line-height:1}
.carousel button,.card .carousel button{margin:0;min-height:40px;min-width:40px;padding:4px;border:0;border-radius:10px;background:#fff5f9;color:#77384f;cursor:pointer}
.carousel .carousel-arrow{font-size:1.8rem;font-weight:600}
.carousel .carousel-dot,.card .carousel .carousel-dot{position:relative;min-width:28px;background:transparent}
.carousel-dot:after{content:'';display:block;width:7px;height:7px;border-radius:50%;margin:auto;background:#d7c6ce}
.carousel-dot[aria-current=true]:after{background:#ac416e;width:9px;height:9px}
.carousel button:disabled,.card .carousel button:disabled{opacity:.3;background:#fff5f9;cursor:default}
.carousel-dots{display:flex;justify-content:center;flex-wrap:wrap}
.carousel-count{white-space:nowrap;font-size:.8rem;color:#785a68;font-variant-numeric:tabular-nums;padding:0 4px}
.carousel-empty{display:grid;place-items:center;aspect-ratio:1;font-size:3rem}
.thumb:has(.carousel){display:block;aspect-ratio:auto;min-width:0}
#modalProductInfo>.carousel{margin-bottom:12px}
.imageViewer{display:block;min-width:0}
.carousel-expanded .carousel-slide{background:transparent}
.carousel-expanded .carousel-slide img{height:calc(85vh - 150px);max-height:720px;aspect-ratio:auto}
.carousel-expanded .carousel-count{color:#fff}
@media(prefers-reduced-motion:reduce){.carousel-track{scroll-behavior:auto}}
