.product-carousel { position: relative; min-width: 0; }
.product-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-carousel-track::-webkit-scrollbar { display: none; }
.product-carousel-slide { flex: 0 0 100%; width: 100%; min-width: 0; aspect-ratio: 3 / 4; display: block; padding: 0; border: 0; background: #f8f8fa; scroll-snap-align: start; scroll-snap-stop: always; cursor: zoom-in; }
.product-carousel .product-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-carousel-control { position: absolute; top: 50%; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #25231f; width: 36px; height: 36px; padding: 0; font-size: 24px; cursor: pointer; }
.product-carousel-control.prev { left: 10px; }
.product-carousel-control.next { right: 10px; }
.product-carousel-control:disabled { opacity: .35; }
dialog.product-photo-viewer { position: fixed; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #f8f8fa; }
dialog.product-photo-viewer::backdrop { background: #f8f8fa; }
.product-photo-viewer .product-carousel-slide { height: 100dvh; aspect-ratio: auto; cursor: default; }
.product-photo-viewer-close { position: absolute; z-index: 1; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #25231f; font-size: 26px; cursor: pointer; }
