/* Общая ширина витрины на широком экране, включая шапку и подвал. */
@media (min-width:1401px) {
    html body,
    html body > header,
    html body > .extended-container-pages,
    html body > footer {
        max-width:1400px!important;
        margin-inline:auto!important;
        box-sizing:border-box;
    }
    html body > header > .container,
    html body > .extended-container-pages > .container-1440,
    html body > footer > .footer-wrapper.container,
    html body .extended-container-pages #content.iforest-product-page {
        max-width:100%!important;
        box-sizing:border-box;
    }
}
/* Края белого фона доходят до окна, меню сохраняет общую ширину сайта. */
@media (min-width:1401px) {
    html body > header:not(.flm-header) {
        border-image:linear-gradient(white,white) fill 0 // 0 100vmax;
    }
    html.home-page .extended-container-pages > .container-1440 > .slider__main {
        width:100%!important;
        max-width:1400px!important;
        margin-inline:auto!important;
        transform:none!important;
    }
}
@media (min-width:768px) {
    html.home-page body > .extended-container-pages,
    html body > .extended-container-pages:has(.main-products):not(:has(.iforest-product-page)) {
        margin-top:0!important;
        padding-top:16px!important;
    }
}
@media (max-width:767px) {
    html.home-page body > .extended-container-pages:has(.slider__main) {
        padding-top:12px!important;
    }
}
