/* Force WooCommerce product images to be square and uniform */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Force single product main image to be square */
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Force Elementor basic gallery images to be uniform */
.elementor-image-gallery .gallery-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: 100%; /* Important for gallery items */
}

/* Force Elementor Pro gallery images to be uniform */
.e-gallery-item .e-gallery-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}
