/* Only single-product galleries, retaining zoom, lightbox and thumbnail controls. */
body.single-product :is(div.product div.woocommerce-product-gallery,.wp-block-woocommerce-product-image-gallery,.wp-block-woocommerce-product-gallery) { max-width:440px!important; box-sizing:border-box; }
body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) { max-height:420px; width:100%; object-fit:contain; }
body.single-product :is(.wc-block-product-gallery-large-image img,.wc-block-product-gallery-large-image__image) { max-height:420px; object-fit:contain; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img { max-height:80px; object-fit:contain; }
@media(max-width:768px) {
 body.single-product :is(div.product div.woocommerce-product-gallery,.wp-block-woocommerce-product-image-gallery,.wp-block-woocommerce-product-gallery) { width:100%!important; max-width:360px!important; float:none!important; margin-left:auto!important; margin-right:auto!important; }
 body.single-product .woocommerce-product-gallery__image img:not(.zoomImg),body.single-product :is(.wc-block-product-gallery-large-image img,.wc-block-product-gallery-large-image__image) { max-height:320px; }
}
