/* WPCode 71013 — Manufacturer Product Image Fit */
/*
 * CLASSIC TRANSFERS
 * Manufacturer/category protected product images
 */

/* Square image area */
.woocommerce.archive .wc-block-product-template
.wp-block-woocommerce-product-image {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}


/* Image link fills the complete square */
.woocommerce.archive .wc-block-product-template
.wp-block-woocommerce-product-image a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Protected image fits inside the square */
.woocommerce.archive .wc-block-product-template
.wp-block-woocommerce-product-image img,
.woocommerce.archive .wc-block-product-template
img.ct-protected-product-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
}


/* =========================================================
 * PRODUCT CARD SPACING
 * Same zero-gap behaviour as the green-tagged product
 * but applied to ALL products
 * ========================================================= */

.woocommerce.archive .wc-block-product-template > li {
    row-gap: 0 !important;
    gap: 0 !important;
}
