/**
 * Brands Landing — Hyvä layout overrides (cat 7).
 * @see dev-doc/brands_landing_implement_log.html
 */

/*
 * Old site: body { background-color: #fff; }
 * Hyvä base sets body { background: var(--color-bg) } (slate-50) — featured brands area must be pure white.
 */
body.brands-landing-body {
    background-color: #fff;
}

/* Hyvä .page-main flex-grow + margin-block → white gap before footer */
body.brands-landing-body #maincontent {
    display: block !important;
    min-height: unset;
}

body.brands-landing-body .page-main,
body.brands-landing-body #maincontent.page-main,
body.brands-landing-body.page-layout-1column #maincontent {
    margin: 0 !important;
    margin-block: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: none;
    padding-inline: 0;
    flex-grow: 0 !important;
}

/* Empty PLP column shell (Static block only — no products in .columns) */
body.brands-landing-body #maincontent > .columns {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.brands-landing-body .brands-wrapper {
    max-width: none;
    padding: 0;
}

body.brands-landing-body .category-view {
    padding-left: 0;
    padding-right: 0;
}

body.brands-landing-body #category-view-container {
    margin-top: 0;
    margin-bottom: 0;
}

/* Hide image panel on mobile (matches old responsive behaviour) */
@media only screen and (max-width: 1023px) {
    .brands-landing-body .brands-listing-allBrands-imagePanel {
        display: none;
    }
}
