
@media screen and (max-width: 1024px) {
    .header_burger { cursor: pointer; }
    body.nazad-nav-open { overflow: hidden; }
    body.nazad-nav-open .menu_block {
        display: block !important; position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: auto !important; height: auto !important; margin: 0 !important;
        padding: 64px 16px 32px !important; box-sizing: border-box;
        background: #fff !important; z-index: 10000 !important;
        overflow-y: auto; -webkit-overflow-scrolling: touch; text-align: left;
    }
    body.nazad-nav-open header .header_burger {
        position: fixed !important; top: 16px !important; right: 16px !important; left: auto !important;
        width: 40px !important; height: 30px !important; max-width: 40px !important;
        margin: 0 !important; padding: 0 !important; z-index: 10001 !important;
    }
    body.nazad-nav-open header .header_burger:before,
    body.nazad-nav-open header .header_burger:after {
        display: block !important; width: 100% !important; left: 0 !important;
        top: 13px !important; height: 4px !important;
    }
    body.nazad-nav-open header .header_burger:before { transform: rotate(45deg) !important; }
    body.nazad-nav-open header .header_burger:after { transform: rotate(-45deg) !important; }
    body.nazad-nav-open .bt-menu,
    body.nazad-nav-open .bt-menu ul {
        position: static !important; display: block !important; float: none !important;
        width: auto !important; max-width: none !important; height: auto !important;
        margin: 0 !important; padding: 0 !important; border: 0 !important;
        background: none !important; left: auto !important; top: auto !important;
        box-shadow: none !important; list-style: none !important;
    }
    body.nazad-nav-open .bt-menu li {
        display: block !important; float: none !important; position: static !important;
        width: auto !important; max-width: none !important; height: auto !important;
        margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
    }
    body.nazad-nav-open .bt-menu li:before,
    body.nazad-nav-open .bt-menu li:after { display: none !important; }
    body.nazad-nav-open .bt-menu > ul > li { padding: 14px 0 !important; border-bottom: 1px solid #e3ecea !important; }
    body.nazad-nav-open .bt-menu > ul > li > a {
        display: block !important; font-size: 17px !important; line-height: 1.3 !important;
        font-weight: 700 !important; text-transform: uppercase; color: #18685B !important;
        padding: 0 !important; margin: 0 !important; background: none !important;
    }
    body.nazad-nav-open .bt-menu ul li ul { padding: 6px 0 0 !important; }
    body.nazad-nav-open .bt-menu ul li ul li a {
        display: block !important; font-size: 15px !important; line-height: 1.35 !important;
        font-weight: 400 !important; text-transform: none; color: #333 !important;
        padding: 6px 0 !important; margin: 0 !important;
    }
    body.nazad-nav-open .bt-menu ul li ul li a + span { display: none !important; }
}

@media screen and (max-width: 1024px) {
    ul.list > li ul li.active {
        font-size: 19px !important; line-height: 32px !important;
        color: #18685B !important; font-weight: 600 !important;
    }
}

@media screen and (max-width: 767px) {
    #order { width: auto !important; max-width: 100% !important; box-sizing: border-box; }
    #order h1, #order form, #order label, #order input, #order textarea,
    #order .btns, #order .cf-turnstile {
        width: 100% !important; max-width: 100% !important; box-sizing: border-box;
    }
    #order h1 { font-size: 24px !important; line-height: 1.2 !important; }
}
.ks-error.error { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; height: auto !important; }

/* seo-wave-1030 integrate (30.10.2026): шапка 390 — кнопки «Позвонить» + «Заказать звонок» вместо 4 телефонов; tel: в шапке */
.nz-callbar { display: none; }
header .phones p a[href^="tel:"] { color: inherit; text-decoration: none; display: inline; padding: 0; margin: 0; }
header .socials a[data-x] { cursor: pointer; }
.logo img, .logo-2 img, .mmix img { height: auto; }
.nz-foot-links { margin-top: 6px; font-size: 13px; line-height: 20px; }
.nz-foot-links a { color: inherit; text-decoration: underline; }
#order .nz-order-title { font: bold 30px/1.1 'Open Sans', sans-serif; color: #585858; margin: 0 0 22px; padding-top: 33px; }
@media screen and (max-width: 767px) {
    header.main_header .phones, header.main_header .phones.active { display: none !important; }
    header.main_header .menu_block { display: none; }
    body.nazad-nav-open header.main_header .menu_block { display: block !important; }
    header.main_header .nz-callbar {
        display: flex; gap: 8px; clear: both; padding: 12px 0 4px; margin: 0;
        width: 100%; box-sizing: border-box;
    }
    header.main_header .nz-callbar a {
        flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center;
        min-height: 46px; padding: 6px 8px; box-sizing: border-box; border-radius: 3px; white-space: nowrap;
        font: 700 15px/1.2 'Open Sans', sans-serif; text-decoration: none; text-align: center;
        transition: background-color .15s ease, border-color .15s ease;
    }
    header.main_header .nz-callbar .nz-cb-call { background: #124F45; border: 1px solid #124F45; color: #F4F8F7 !important; }
    header.main_header .nz-callbar .nz-cb-call:active { background: #18685B; }
    header.main_header .nz-callbar .nz-cb-order { background: #fff; border: 1px solid #A2CAC2; color: #124F45 !important; }
    header.main_header .nz-callbar .nz-cb-order:active { border-color: #124F45; }
    header.main_header .nz-callbar a:focus-visible { outline: 2px solid #18685B; outline-offset: 2px; }
    .gray_block.gb1 { padding-top: 22px !important; }
    #order .nz-order-title { font-size: 24px; line-height: 1.2; padding-top: 20px; }
}
/* футер на ≥768 фиксирован у нижнего края (скрипт шаблона): место под него, чтобы не закрывал последний блок */
@media screen and (min-width: 768px) { body { padding-bottom: 130px; } }
