/* Preserve garment proportions inside the existing WoodMart gallery. */
.woocommerce-product-gallery.lamas-ropa-color-gallery .wd-gallery-images .woocommerce-product-gallery__image {
    margin: 0;
}
.woocommerce-product-gallery.lamas-ropa-color-gallery .wd-gallery-images .woocommerce-product-gallery__image > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}
.woocommerce-product-gallery.lamas-ropa-color-gallery .wd-gallery-images .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    aspect-ratio: auto !important;
}
.woocommerce-product-gallery.lamas-ropa-color-gallery .wd-gallery-thumb .wd-carousel-item > img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* The four supplied orange Tricot photos have a large white canvas. */
#product-21131 .lamas-ropa-color-gallery .wd-gallery-images .woocommerce-product-gallery__image > a > img[src*="/2026/10/chaleco-geologo-vial-tricot-100-poly"]:not(.zoomImg),
#product-21131 .lamas-ropa-color-gallery .wd-gallery-thumb .wd-carousel-item > img[src*="/2026/10/chaleco-geologo-vial-tricot-100-poly"] {
    transform: scale(1.8);
    transform-origin: center;
}
#product-21131 .lamas-ropa-color-gallery .wd-gallery-thumb .wd-carousel-item {
    overflow: hidden;
}

