.product-detail{align-items:start}
.product-gallery{align-self:start;min-width:0}
.product-main-image{width:100%;aspect-ratio:1;overflow:hidden}
.product-main-image>button{position:absolute;inset:0;width:100%;height:100%}
.product-main-image img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.gallery-thumbs{scrollbar-width:none;-ms-overflow-style:none;scroll-snap-type:x proximity;padding:4px 2px;margin:8px -2px 0;max-width:calc(100% + 4px)}
.gallery-thumbs::-webkit-scrollbar{display:none;width:0;height:0}
.gallery-thumbs>button{scroll-snap-align:start;flex-shrink:0}
.image-dialog{padding:44px 20px 14px;width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.image-dialog>img{width:100%;height:min(72dvh,680px);max-height:72dvh;object-fit:contain;background:#eef1ef}
.image-status{min-height:20px;margin:10px 0 0;font-size:12px;line-height:1.4}
@media(max-width:760px){.image-dialog{padding:42px 10px 12px}.image-dialog>img{height:min(65dvh,580px);max-height:65dvh}.product-main-image img{padding:15px}}
