/*
 * Breeze Evolution 3.x (shipped with Magento 2.4.9) vs 2.1.5 (live 2.4.3).
 * Loaded on every store view, whatever Local/* theme it uses (all inherit Breeze Evolution).
 * !important because Breeze loads its deferred-default.css after this file.
 */

/*
 * Footer wave. 2.1.5 drew the wave as the .footer-middle/.footer-top background image, and every
 * store's Theme Editor colour (.footer-middle { background: … !important }) painted over it, so live
 * shows a flat footer. 3.x cuts the ::after layer into a wave with a mask, lifts it 75px above the
 * footer and fills it with Breeze's own navy, so a navy wave shows on top of each store's colour.
 * Restore the 2.1.5 footer box exactly.
 */
.page-footer:has(.footer-middle),
.page-footer:has(.footer-top) {
    padding-top: 0 !important;
}
.footer-top,
.footer-middle {
    z-index: auto !important; /* 3.x z-index:1 lifts ::after above the store colour */
}
.footer-top::after,
.footer-middle::after {
    -webkit-mask: none !important;
    mask: none !important;
    top: 75px !important;
}
.footer-top::after {
    top: 115px !important;
}
.footer-top {
    padding-top: 128px !important;
}
.footer-middle {
    margin-top: -20px;
    padding-top: 128px !important;
}
.footer-top + .footer-middle {
    margin-top: -72px;
}

/*
 * Product cards. 3.x paints .product-item-info with --listing-item-bg (the page background, white
 * by default); 2.1.5 left it transparent. Stores with a dark page and white product text (Rightmove
 * Hub's settings CSS forces .product-item-name and .price-box to white) showed blank white boxes.
 */
.products-grid .product-items .product-item-info,
.products-list .product-items .product-item-info,
[data-appearance="carousel"] .product-items .product-item-info {
    background: transparent !important;
}
