/* Portrait canvas; never crop the actual photograph. */
body.woocommerce ul.products li.product a img.attachment-woocommerce_thumbnail,
body.woocommerce ul.products li.product a img.wp-post-image,
body.woocommerce ul.products li.product a img.attachment-medium_large {
 width:100% !important; height:auto !important; aspect-ratio:2/3 !important;
 object-fit:contain !important; object-position:center; background:#fff;
}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a > img:not(.zoomImg),
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > img:not(.zoomImg),
body.single-product .woocommerce-product-gallery .alelko-cm-video video {
 width:100% !important; height:auto !important; aspect-ratio:2/3; max-height:min(65vh,560px) !important;
 object-fit:contain !important; object-position:center; background:#fff;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
 width:100% !important; height:auto !important; aspect-ratio:2/3 !important; object-fit:contain !important; background:#fff;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li {position:relative;}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li.acm-video-thumb::after {
 content:'▶'; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); pointer-events:none;
 color:white; background:rgba(0,0,0,.65); border-radius:50%; width:26px; height:26px; display:grid; place-items:center; font-size:12px;
}
@media(max-width:600px){body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a > img:not(.zoomImg),body.single-product .woocommerce-product-gallery .alelko-cm-video video{max-height:58vh !important;}}
