/* WooCommerce teasers: consistent 3:2 frames without cropping. */
.evc-auto-frame {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff;
}
ul.products li.product a img,
ul.products li.product-category a img,
.wc-block-grid__product-image img,
.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: contain !important;
    object-position: center;
    background: #fff;
}
.wc-block-grid__product-image,
.wc-block-components-product-image,
.wp-block-woocommerce-product-image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden;
    background: #fff;
}
.wc-block-grid__product-image a,
.wc-block-components-product-image a,
.wp-block-woocommerce-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}
