/* ==========================================================================
   ROMATTI — Desktop Header Redesign (premium / modern luxury)
   --------------------------------------------------------------------------
   Подключается ПОСЛЕ основного style.css и mobile-menu-redesign.css.
   Все правила scoped через .top_line / .header / .main_menu / .d1_menu /
   .mgmn-mega-menu и обёрнуты в @media (min-width: 1000px), чтобы не
   затронуть мобильную версию.

   Палитра (та же что в mobile-menu-redesign):
     --rh-bg            #F8F7F4   тёплый светлый фон шапки
     --rh-surface       #FFFFFF
     --rh-surface-soft  #FAF7F1
     --rh-text          #1F1F1F
     --rh-text-muted    #8A8378
     --rh-divider       #E6E0D6
     --rh-border        #E8E2D8
     --rh-border-strong #DED8CF
     --rh-yellow        #FFD51E
     --rh-yellow-dark   #F6C800
     --rh-champagne     #C8A96A
     --rh-hover         #F5F0E6
     --rh-graphite      #1F1F1F
     --rh-graphite-soft #2A2A2B
     --rh-graphite-dim  #1A1A1A
   ========================================================================== */

@media (min-width: 1000px) {

    :root {
        --rh-bg: #F8F7F4;
        --rh-surface: #FFFFFF;
        --rh-surface-soft: #FAF7F1;
        --rh-text: #1F1F1F;
        --rh-text-muted: #8A8378;
        --rh-divider: #E6E0D6;
        --rh-border: #E8E2D8;
        --rh-border-strong: #DED8CF;
        --rh-yellow: #FFD51E;
        --rh-yellow-dark: #F6C800;
        --rh-champagne: #C8A96A;
        --rh-hover: #F5F0E6;
        --rh-graphite: #1F1F1F;
        --rh-graphite-soft: #2A2A2B;
        --rh-graphite-dim: #1A1A1A;
        --rh-radius-sm: 8px;
        --rh-radius-md: 12px;
        --rh-radius-lg: 14px;
        --rh-radius-xl: 16px;
        --rh-trans: 160ms ease;
    }

    /* ===================== TOP LINE (графитовая) ===================== */
    #header .top_line {
        min-height: 48px;
        background: linear-gradient(180deg, var(--rh-graphite-soft) 0%, var(--rh-graphite-dim) 100%);
        color: #FFFFFF;
        border-bottom: none;
    }
    #header .top_line .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    #header .top_line .container > .row {
        min-height: 48px;
        align-items: stretch;
        margin: 0;
    }
    #header .top_line .container > .row > [class*="col-"] {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Шоурум слева — иконка-pin через ::before SVG, strong+em идут вертикально */
    #header .top_line .show_room {
        position: relative;
        display: inline-block;
        flex-shrink: 0;
        padding-left: 24px;
        color: #FFFFFF;
        text-decoration: none;
        line-height: 1.15;
        transition: opacity var(--rh-trans);
    }
    #header .top_line .show_room::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 16px;
        height: 18px;
        margin-top: -9px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18' fill='none'><path d='M7 0C3.13 0 0 3.13 0 7c0 5.25 7 11 7 11s7-5.75 7-11c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 7 4.5a2.5 2.5 0 0 1 0 5z' fill='%23FFD51E'/></svg>");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    #header .top_line .show_room .strong {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #FFFFFF;
        letter-spacing: 0.01em;
        white-space: nowrap;
    }
    #header .top_line .show_room em {
        display: block;
        font-style: normal;
        font-size: 10.5px;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 1px;
        white-space: nowrap;
    }
    #header .top_line .show_room:hover {
        opacity: 0.85;
    }

    /* Мессенджеры — круглые кнопки. Защита от наезда на show_room через flex-shrink:0 и явный margin-left */
    #header .top_line ul.contacts {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 0 0 0 20px;
        padding: 0;
        list-style: none;
        flex-shrink: 0;
    }
    #header .top_line ul.contacts li {
        margin: 0;
        padding: 0;
        list-style: none;
        display: inline-flex;
    }
    #header .top_line ul.contacts li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: #CFCFCF;
        background: transparent;
        border: none;
        text-decoration: none;
        transition: background-color var(--rh-trans), color var(--rh-trans);
    }
    #header .top_line ul.contacts li a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--rh-yellow);
    }
    #header .top_line ul.contacts li a i {
        font-size: 14px;
        line-height: 1;
        width: auto;
    }

    /* Info-меню в центре */
    #header .top_line nav {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }
    #header .top_line ul.info_menu {
        display: flex;
        align-items: center;
        gap: 36px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #header .top_line ul.info_menu li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #header .top_line ul.info_menu li.menu_title { display: none; }
    #header .top_line ul.info_menu li a {
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.68);
        text-decoration: none;
        letter-spacing: 0.02em;
        transition: color var(--rh-trans);
    }
    #header .top_line ul.info_menu li a:hover {
        color: var(--rh-yellow);
    }

    /* CTA «Отправить запрос на подбор» — справа, во всю высоту */
    #header .top_line .col-2,
    #header .top_line [class*="col-lg-3"]:last-child {
        padding-left: 0;
        padding-right: 0;
        justify-content: flex-end;
    }
    #header .top_line a.podbor.selection_form {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        align-self: stretch;
        min-height: 48px;
        padding: 0 30px;
        background: linear-gradient(135deg, var(--rh-yellow) 0%, var(--rh-yellow-dark) 100%);
        color: #111;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-decoration: none;
        text-align: center;
        line-height: 1.2;
        border: none;
        border-radius: 0;
        transition: filter var(--rh-trans);
        position: relative;
        overflow: hidden;
    }
    #header .top_line a.podbor.selection_form span {
        position: relative;
        z-index: 1;
    }
    #header .top_line a.podbor.selection_form::after {
        content: "";
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='3' y1='8' x2='13' y2='8'/><polyline points='9 4 13 8 9 12'/></svg>");
        background-size: 14px;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        z-index: 1;
    }
    #header .top_line a.podbor.selection_form:hover {
        filter: brightness(0.97);
    }
    /* Скрываем мобильные кнопки на ПК */
    #header .top_line .mob_actions { display: none; }

    /* ===================== HEADER (белый, тёплый) ===================== */
    #header .header {
        background: var(--rh-bg);
        padding: 26px 0;
        border-bottom: 1px solid var(--rh-divider);
    }
    #header .header .container > .row {
        align-items: center;
    }
    #header .header .container > .row > [class*="col-"] {
        display: flex;
        align-items: center;
    }

    /* Лого */
    #header .header a.logo {
        display: inline-flex;
        align-items: center;
        margin-right: 18px;
    }
    #header .header a.logo img {
        height: 42px;
        width: auto;
        display: block;
    }

    /* Селектор города */
    #header .header #city_select {
        position: relative;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }
    #header .header #city_select ul.closestclick {
        position: absolute;
        top: 100%;
        left: 0;
        margin: 8px 0 0;
        padding: 8px;
        list-style: none;
        background: var(--rh-surface);
        border: 1px solid var(--rh-divider);
        border-radius: var(--rh-radius-md);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
        min-width: 220px;
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
        pointer-events: none;
    }
    #header .header #city_select:hover ul.closestclick,
    #header .header #city_select:focus-within ul.closestclick {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 0s;
        pointer-events: auto;
    }
    /* «Выбранный» город — это первый видимый элемент списка вне dropdown */
    #header .header #city_select ul.closestclick li.select {
        position: absolute;
        top: -42px;
        left: -8px;
        margin: 0;
        padding: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
        z-index: 1;
    }
    #header .header #city_select ul.closestclick li.select a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        color: #3A3A3A;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        border-radius: var(--rh-radius-sm);
        background: transparent;
        transition: background-color var(--rh-trans), color var(--rh-trans);
    }
    #header .header #city_select ul.closestclick li.select a:hover {
        color: #111;
        text-decoration: none;
    }
    #header .header #city_select ul.closestclick li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    #header .header #city_select ul.closestclick li a {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 13px;
        color: var(--rh-text);
        text-decoration: none;
        border-radius: var(--rh-radius-sm);
        transition: background-color var(--rh-trans);
    }
    #header .header #city_select ul.closestclick li a:hover {
        background: var(--rh-hover);
    }
    #header .header #city_select i.icon-map {
        color: var(--rh-yellow);
        font-size: 14px;
    }

    /* Поиск */
    #header .header .col-lg-4 form.search,
    #header .header .col-lg-4 .search,
    #header .header .col-lg-4 form {
        display: flex;
        align-items: stretch;
        height: 52px;
        border-radius: var(--rh-radius-lg);
        background: var(--rh-surface);
        border: 1px solid var(--rh-border-strong);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
        overflow: hidden;
        transition: border-color var(--rh-trans), box-shadow var(--rh-trans);
        position: relative;
    }
    #header .header .col-lg-4 form.search:focus-within,
    #header .header .col-lg-4 .search:focus-within,
    #header .header .col-lg-4 form:focus-within {
        border-color: rgba(200, 169, 106, 0.65);
        box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.14);
    }
    #header .header .col-lg-4 input[type="text"],
    #header .header .col-lg-4 input[type="search"],
    #header .header .col-lg-4 input[name="q"] {
        flex: 1;
        height: 100%;
        padding: 0 18px;
        border: none;
        background: transparent;
        font-size: 14px;
        color: var(--rh-text);
        outline: none;
    }
    #header .header .col-lg-4 input::placeholder {
        color: var(--rh-text-muted);
    }
    /* Кнопки поиска и фото — единый блок справа */
    #header .header .col-lg-4 button,
    #header .header .col-lg-4 [type="submit"],
    #header .header .col-lg-4 .search_image_button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 52px;
        height: 100%;
        background: #F0EEE9;
        border: none;
        border-left: 1px solid var(--rh-divider);
        cursor: pointer;
        color: var(--rh-text);
        transition: background-color var(--rh-trans);
    }
    #header .header .col-lg-4 button:hover,
    #header .header .col-lg-4 [type="submit"]:hover,
    #header .header .col-lg-4 .search_image_button:hover {
        background: #E8E2D8;
    }
    #header .header .col-lg-4 i.icon-search,
    #header .header .col-lg-4 i.icon-camera {
        font-size: 16px;
        color: var(--rh-text);
    }
    /* Ajax dropdown */
    #header .header .col-lg-4 .search_results,
    #header .header .col-lg-4 #search-popup,
    #header .header .col-lg-4 [class*="search-result"] {
        border-radius: var(--rh-radius-lg);
        border: 1px solid var(--rh-divider);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
        margin-top: 8px;
        background: var(--rh-surface);
    }

    /* Телефон */
    #header .header .phone {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        line-height: 1.1;
    }
    #header .header .phone a.number {
        font-size: 19px;
        font-weight: 700;
        color: #111;
        text-decoration: none;
        letter-spacing: 0.01em;
        line-height: 1.1;
    }
    #header .header .phone a.callback,
    #header .header .phone a.callback_action {
        display: inline-block;
        font-size: 12px;
        color: var(--rh-text-muted);
        text-decoration: none;
        border-bottom: 1px dotted rgba(138, 131, 120, 0.6);
        padding-bottom: 1px;
        margin-top: 2px;
        transition: color var(--rh-trans), border-color var(--rh-trans);
    }
    #header .header .phone a.callback:hover,
    #header .header .phone a.callback_action:hover {
        color: #111;
        border-color: rgba(31, 31, 31, 0.7);
    }

    /* Actions: корзина / избранное / кабинет */
    #header .header ul.actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
        flex-wrap: nowrap;
    }
    #header .header ul.actions > li {
        margin: 0;
        padding: 0;
        list-style: none;
        position: relative;
    }
    #header .header ul.actions > li.cartli,
    #header .header ul.actions > li > a.favorits {
        display: inline-flex;
    }
    /* Корзина и избранное — icon-buttons */
    #header .header ul.actions > li.cartli > a,
    #header .header ul.actions > li.cartli .bx-basket-block,
    #header .header ul.actions > li > a.favorits {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: var(--rh-radius-md);
        color: var(--rh-text);
        text-decoration: none;
        transition: background-color var(--rh-trans);
        position: relative;
    }
    #header .header ul.actions > li.cartli > a:hover,
    #header .header ul.actions > li.cartli .bx-basket-block:hover,
    #header .header ul.actions > li > a.favorits:hover {
        background: #F1EDE5;
    }
    #header .header ul.actions i.icon-heart-o,
    #header .header ul.actions i[class*="basket"],
    #header .header ul.actions i.icon-user_1 {
        font-size: 22px;
        color: var(--rh-text);
        line-height: 1;
    }
    /* Бейдж корзины */
    #header .header ul.actions .cartli [class*="basket-count"],
    #header .header ul.actions .cartli .basket-num,
    #header .header ul.actions .cartli .basket-line-cart-quantity,
    #header .header ul.actions .cartli sup,
    #header .header ul.actions .cartli .count {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        background: var(--rh-yellow);
        color: #111;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    }
    /* Личный кабинет — иконка + текст вплотную */
    #header .header ul.actions > li > a.account {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px 6px 8px;
        border-radius: var(--rh-radius-md);
        color: var(--rh-text);
        text-decoration: none;
        transition: background-color var(--rh-trans);
        font-size: 0;            /* убираем text-node whitespace между <i> и <span> */
        background: transparent;
    }
    #header .header ul.actions > li > a.account:hover {
        background: #F1EDE5;
    }
    #header .header ul.actions > li > a.account i.icon-user_1 {
        font-size: 22px;
        color: var(--rh-text);
        line-height: 1;
        margin: 0;
        padding: 0;
        float: none;            /* legacy задавал float:left */
    }
    #header .header ul.actions > li > a.account span {
        display: inline-block;
        padding: 0;             /* legacy задавал padding-left: 3.125rem */
        margin: 0;
        font-size: 12px;
        font-weight: 600;
        color: var(--rh-text-muted);
        line-height: 1.2;
        white-space: nowrap;
        transition: color var(--rh-trans);
    }
    #header .header ul.actions > li > a.account:hover span {
        color: #111;
    }

    /* Focus-visible — фирменный champagne */
    #header .top_line a:focus-visible,
    #header .header a:focus-visible,
    #header .header button:focus-visible,
    #header .header input:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 213, 30, 0.28);
    }
    #header .top_line a.podbor:focus-visible {
        box-shadow: inset 0 0 0 2px #111;
    }

    /* ===================== MAIN MENU (графитовая capsule) ===================== */
    #header + .main_menu,
    .main_menu#main_menu {
        background: transparent;
        padding: 0;
        margin: 14px 0 22px;
    }
    .main_menu#main_menu > .container > .d1_menu,
    #main_menu .d1_menu {
        height: 54px;
        background: var(--rh-graphite);
        border-radius: var(--rh-radius-lg);
        overflow: visible;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: stretch;
        padding: 0;
        margin: 0;
        list-style: none;
        position: relative;
    }

    #main_menu .d1_menu li.d1 {
        display: flex;
        align-items: stretch;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        list-style: none;
        /* ВАЖНО: НЕ ставим position:relative — иначе .sub_menu_wrapper схлопнется
           до ширины пункта вместо ширины всего .d1_menu (см. оригинал style.css). */
    }
    #main_menu .d1_menu li.d1 > a {
        display: inline-flex;
        align-items: center;
        height: 100%;
        padding: 0 20px;
        color: rgba(255, 255, 255, 0.86);
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        border: none;
        background: transparent;
        transition: background-color var(--rh-trans), color var(--rh-trans);
    }
    #main_menu .d1_menu li.d1 > a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #FFFFFF;
    }
    #main_menu .d1_menu li.d1.active > a.root_item {
        background: rgba(255, 255, 255, 0.08);
        color: #FFFFFF;
        box-shadow: inset 0 -2px 0 var(--rh-champagne);
    }

    /* Первый пункт «Каталог» — жёлтый primary-tab */
    #main_menu .d1_menu li.d1.first > a {
        background: linear-gradient(135deg, var(--rh-yellow) 0%, var(--rh-yellow-dark) 100%);
        color: #111;
        padding: 0 26px 0 56px;
        font-weight: 800;
        letter-spacing: 0.02em;
        font-size: 13px;
        border-radius: var(--rh-radius-lg) 0 0 var(--rh-radius-lg);
        background-image:
            url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round'><line x1='4' y1='7' x2='20' y2='7'/><line x1='4' y1='12' x2='20' y2='12'/><line x1='4' y1='17' x2='20' y2='17'/></svg>"),
            linear-gradient(135deg, var(--rh-yellow) 0%, var(--rh-yellow-dark) 100%);
        background-position: 22px center, center;
        background-size: 18px 18px, cover;
        background-repeat: no-repeat;
    }
    #main_menu .d1_menu li.d1.first > a:hover {
        filter: brightness(0.97);
        background: linear-gradient(135deg, var(--rh-yellow) 0%, var(--rh-yellow-dark) 100%);
        background-image:
            url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round'><line x1='4' y1='7' x2='20' y2='7'/><line x1='4' y1='12' x2='20' y2='12'/><line x1='4' y1='17' x2='20' y2='17'/></svg>"),
            linear-gradient(135deg, var(--rh-yellow) 0%, var(--rh-yellow-dark) 100%);
        background-position: 22px center, center;
        background-size: 18px 18px, cover;
        background-repeat: no-repeat;
        color: #111;
    }
    #main_menu .d1_menu li.d1.first > a::after { display: none; }

    /* Chevron у пунктов с подменю */
    #main_menu .d1_menu li.d1.catalog_menu.tree > a.root_item {
        padding-right: 30px;
        position: relative;
    }
    #main_menu .d1_menu li.d1.catalog_menu.tree > a.root_item::after {
        content: "";
        position: absolute;
        right: 14px;
        top: 50%;
        width: 9px;
        height: 9px;
        margin-top: -4px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='0.7'><polyline points='4 6 8 10 12 6'/></svg>");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        border: none;
        transition: transform var(--rh-trans);
    }
    #main_menu .d1_menu li.d1.catalog_menu.tree.active > a.root_item::after {
        transform: rotate(180deg);
    }

    /* Акценты пунктов */
    #main_menu .d1_menu li.d1.new > a {
        color: #9BCB78;
    }
    #main_menu .d1_menu li.d1.new > a:hover {
        background: rgba(143, 203, 106, 0.10);
        color: #BFE39B;
    }
    #main_menu .d1_menu li.d1.offers > a {
        color: rgba(255, 255, 255, 0.55);
    }
    #main_menu .d1_menu li.d1.offers > a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.85);
    }
    #main_menu .d1_menu li.d1.sale > a {
        color: #FF6B5E;
        font-weight: 800;
        border-radius: 0 var(--rh-radius-lg) var(--rh-radius-lg) 0;
    }
    #main_menu .d1_menu li.d1.sale > a:hover {
        background: rgba(233, 92, 80, 0.10);
        color: #FF8D82;
    }
    /* HoReCa (catalog_menu tree blur с sale-accent) */
    #main_menu .d1_menu li.d1.sale.catalog_menu > a {
        color: #FF6B5E;
        border-radius: 0;
    }
    #main_menu .d1_menu li.d1.sale.catalog_menu > a:hover {
        background: rgba(233, 92, 80, 0.10);
    }

    /* available и mob — скрыты на ПК как и было */
    #main_menu .d1_menu li.d1.available,
    #main_menu .d1_menu li.d1.mob { display: none; }

    /* Mega-menu стили НЕ переопределяем — оставляем фирменный desktop look как есть. */

    /* ===================== reduced motion ===================== */
    @media (prefers-reduced-motion: reduce) {
        #header *,
        .main_menu *,
        .mgmn-mega-menu * {
            transition: none !important;
            animation: none !important;
        }
    }
}

/* === Минорные breakpoints (1024 — компактнее) === */
@media (min-width: 1000px) and (max-width: 1199px) {
    #header .top_line ul.info_menu { gap: 24px; }
    #header .top_line ul.info_menu li a { font-size: 11px; }
    #header .top_line a.podbor.selection_form { padding: 0 20px; font-size: 12px; }
    #main_menu .d1_menu li.d1 > a { padding: 0 14px; font-size: 12px; }
    #main_menu .d1_menu li.d1.first > a { padding: 0 18px 0 46px; background-position: 16px center, center; }
}
