/* Only catalogue photographs; unrelated images and UI are outside this scope. */
ul.products li.product > figure > .ct-media-container,
.woocommerce-product-gallery .ct-media-container {
 background:#fff!important;
 overflow:hidden;
 position:relative;
}
/* Homepage cards reset media aspect-ratio; reserve space independently of the
   absolutely positioned photograph so their figure cannot collapse. */
.page-id-16044 .ba-products .woocommerce ul.products li.product > figure > .ct-media-container,
ul.products li.product > figure > .ct-media-container {
 display:block!important;
 width:100%!important;
 aspect-ratio:1!important;
 flex-shrink:0!important;
}
.woocommerce-product-gallery .ct-media-container { aspect-ratio:1; }
ul.products li.product > figure > .ct-media-container > img,
.woocommerce-product-gallery .ct-media-container > img {
 object-fit:contain!important;
 box-sizing:border-box;
 padding:6.5%;
 background:#fff;
}
.page-id-16044 .ba-products .woocommerce ul.products li.product > figure > .ct-media-container > img.bleiz-photo-framed,
html body #main .woocommerce-product-gallery .ct-media-container > img.bleiz-photo-framed,
.ct-media-container > img.bleiz-photo-framed {
 position:absolute!important;
 max-width:none!important;
 max-height:none!important;
 min-width:0!important;
 padding:0!important;
 margin:0!important;
 object-fit:fill!important;
 aspect-ratio:auto!important;
}
