/* A definite square prevents intrinsic grid sizing from cropping tall photos.
   Contain supplies the white letterboxing; original image pixels are unchanged. */
.product-detail .product-intro .product-gallery{position:relative;display:block;place-items:initial;width:100%;min-width:0;min-height:0;height:auto;aspect-ratio:1 / 1;max-width:100%;background:#fff;overflow:hidden}
.product-detail .product-intro .product-gallery>img{position:absolute;inset:0;box-sizing:border-box;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center center;padding:24px;background:#fff}
@media(max-width:680px){.product-detail .product-intro .product-gallery{width:100%;max-width:380px;height:auto;aspect-ratio:1 / 1;margin-inline:auto}.product-detail .product-intro .product-gallery>img{height:100%;max-height:none;padding:16px}}
