


    /* =========== MAIN =========== */
    /* =========== MAIN =========== */
    /* =========== MAIN =========== */

    /* Контейнер меню с фоном и тенью */
    .menu {
      background-color: #181818;
      width: 100%;
      box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.06);
      /* Относительное позиционирование для привязки dropdown-окон */
      position: relative;
      z-index: 10000;
    }
    
    /* Внутренний контейнер */
    .menu_inner {
      display: flex;
      justify-content: space-between;  /* Размещение элементов по краям */
      align-items: center;
      max-width: 1024px;  /* Максимальная ширина */
      height: 56px;
      margin: 0 auto;  /* Центрируем по горизонтали */
      box-sizing: border-box;  /* Включаем отступы в расчет размера */
    }
    
    /* Добавляем отступы слева и справа, но не изменяем ширину */
    @media (max-width: 1024px) {
      .menu_inner {
        margin-left: 40px;  /* Отступ слева */
        margin-right: 40px;  /* Отступ справа */
      }
    }
    
    a:link { text-decoration: none; }
    a:visited { text-decoration: none; }
    a:hover { text-decoration: none; }
    a:active { text-decoration: none; }
    
    .left {
      display: flex;
      align-items: center;
    }
    
    .btn_menu {
      display: flex;
      align-items: center; /* Центрируем элементы по вертикали */
      margin-right: 18px; 
      transition: opacity 0.3s ease; /* Плавный переход */
    }
    
    .btn_menu:hover {
      opacity: 0.8;
    }
    
    .btn_menu img {
      width: 16px; 
      height: 12px;
      margin-right: 28px;
    }
    
    .btn_menu .text {
      font-family: Helvetica, sans-serif; 
      font-weight: normal;
      font-size: 14px;
      color: #ffffff;
    }
    
    @media (max-width: 850px) {
      .btn_menu .text  {
        display: none;
      }
    }
    
    /* Центрируем логотип */
    .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);  /* Центрируем по горизонтали */
      display: flex;
      align-items: center;
      z-index: 1;  /* Обеспечиваем, чтобы логотип был сверху */
    }
    
    .logo img {
      display: block;
      width: 136px;
      height: 24,5px;
    }
    
    .right {
      display: flex;
      align-items: center;
    }
    
    .btn_newsletter {
      margin-left: 15px; 
      display: flex;
      justify-content: center; /* Горизонтальное центрирование */
      align-items: center; /* Вертикальное центрирование */
      width: 213px;
      height: 40px;
      background-color: #dc0100;
      color: white;
      font-family: Helvetica, sans-serif;
      font-size: 13.5px;
      font-weight: bold;
      border-radius: 8px;
      text-decoration: none;
      transition: background-color 0.3s ease; /* Плавный переход ховера */
    }
    
    .btn_newsletter:hover {
      background-color: #f50a0a; /* Более темный красный оттенок */
    }
    
    @media (max-width: 850px) {
      .btn_newsletter  {
        display: none;
      }
    }
    
    .btn_search {
      display: flex;
      align-items: center; /* Центрируем элементы по вертикали */
      margin-left: 24px; 
      transition: opacity 0.3s ease; /* Плавный переход */
    }
    
    .btn_search:hover {
      opacity: 0.6;
    }
    
    .btn_search img {
      width: 17.5px; 
      height: 17.5px;
    }
    
    /* Стили для обёрток и dropdown окон */
    .ico_wrapper,
    .newsletter_wrapper,
    .search_wrapper {
      /* Только для сохранения css кнопок – без relative для search_wrapper */
      display: inline-block;
    }
    
    .ico_wrapper {
      position: relative;
    }
    .dropdown_menu {
      display: none;
      position: absolute;
      top: calc(100% + 22px);
      left: 0; /* Выравнивание по левому краю иконки */
      width: auto;
      height: auto;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .newsletter_wrapper {
      position: relative;
    }
    .dropdown_newsletter {
      display: none;
      position: absolute;
      top: calc(100% + 8px); /* 12px ниже кнопки */
      right: 0; /* Выравнивание по правому краю кнопки */
      width: auto;
      height: auto;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* dropdown для search теперь находится внутри .menu, чтобы занимать всю ширину */
    .dropdown_search {
      display: none;
      position: absolute;
      top: calc(100% + 0px); /* 30px ниже нижней границы меню */
      left: 0;
      width: 100%;
      height: auto;
      background-color: #ffffff;
      box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.07);
    }



    /* =========== MENU =========== */
    /* =========== MENU =========== */
    /* =========== MENU =========== */

    .dd_menu {
      margin-left: 0px;
      margin-top: 0px;
      width: 309px;
      height: 560px;
      background-color: #ffffff;
      border-right: 0px solid #ccc;
      border-radius: 15px;
      display: flex;
      flex-direction: column; 
    }

    .dd_menu_search {
      left: 28px;
      top: 28px;
      width: 250px;
      height: 48px; /* <<<<<<<<<<<< ВЫСОТА SEARCH ОКНА (1) ======= */
      background-color: #f8f8f8;
      border: 0px solid #ffffff;
      border-radius: 16px;
      display: flex;
      align-items: center;
      position: relative;
    }

    .dd_menu_search_input_field {
      font-family: Helvetica, Arial, sans-serif;
      font-size: 18px;
      color: black;
      border: none;
      outline: none;
      background: none;
      height: 48px; /* <<<<<<<<<<<< ВЫСОТА SEARCH ОКНА (2) ======= */
      width: 100%;
      padding-left: 2px;
      box-sizing: border-box;
    }

    .dd_menu_search_input_field::placeholder {
      font-family: Helvetica, Arial, sans-serif;
      font-size: 14px;
      color: #8a8a8a;
    }

    .dd_menu_search_ico_search {
      margin-left: 14px;
      margin-right: 10px;
      display: flex;
      align-items: center;
    }

    .dd_menu_search_ico_search img {
      display: block;
      width: 17px;
      height: 17px;
    }

    .dd_menu_blank_space {
      width: 300px;
      height: 10px;
      margin-top: 30px;
    }

    .dd_menu_list {
      margin-top: 12px;
      padding-left: 28px;
      font-family: Helvetica, Arial, sans-serif;
      font-size: 17px;
      font-weight: bold;
      overflow-y: auto;
    }

    .dd_menu_list a {
      display: flex;
      align-items: center;
      color: #292929;
      text-decoration: none;
      margin-bottom: 13px;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .dd_menu_list a:hover {
      color: #e31212;
    }

.dd_menu_list a .menu-icon {
  margin-left: auto; /* Сдвигаем иконку вправо */
  margin-right: 32px; /* Интервал между иконкой и правым краем */
}


    .dd_menu_list a img {
      width: 15px;
      height: 9px;
      object-fit: contain;
  margin-bottom: 3px; /* Сдвигаем иконку по вертикали */
    }

    .sub_menu {
      display: none;
      padding-left: 41px;
      font-family: Helvetica, Arial, sans-serif;
      font-weight: normal;
      font-size: 16px;
      color: black;
      list-style: none;
      height: 0;
      overflow: hidden;
      transition: height 0.3s ease;
    }

    .sub_menu.open {
      display: block;
      height: auto;
      background-color: #f8f8f8; /* Серый фон */
      margin-left: -40px; /* Сдвиг фона на 40 пикселей влево */
    }

    .sub_menu a {
      color: #494949;
      text-decoration: none;
      display: block;
      padding: 0px 0px;
      transition: color 0.3s ease, transform 0.3s ease;
    }

    .sub_menu a:hover {
      color: #e31212;
      transform: translateX(4px);
    }

    .sub_menu .first-item {
      margin-top: 18px; /* Отступ от материнского меню */
    }

    .sub_menu .last-item {
      margin-bottom: 16px; /* Отступа после последнего пункта */
    }

    .active-icon {
      content: url('../img/dd_menu/menu_v_hover.png');
    }

    .default-icon {
      content: url('../img/dd_menu/menu_v.png');
    }




    /* =========== NEWSLETTER =========== */
    /* =========== NEWSLETTER =========== */
    /* =========== NEWSLETTER =========== */

        .dd_newsl {
            margin-left: 0px;
            margin-top: 0px;
            width: 546px;
            height: auto;
            background-color: #ffffff;
            border-radius: 15px;
            padding: 0px;
      display: flex;
      flex-direction: column; 
        }

    /* =====  MEDIA  =====  */

    @media (max-width: 850px) {
    .dd_newsl {
      display: none;
    }
    }

        .dd_newsl_inner {
            margin-left: 47px;
            margin-right: 47px;
            height: auto;
      display: flex;
      flex-direction: column; 
        }


        .dd_newsl_inner h1 {
            font-family: Helvetica, Arial, sans-serif;
            text-align: center;
            font-size: 26px;
            font-weight: bold;
            color: #111014;
      line-height: 35px; /* Расстояние между строками */
      max-width: 451px;
            margin-top: 34px;
            margin-bottom: 21px;
        }

        .dd_newsl_inner p {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 15px;
            font-weight: bold;
            color: #262626;
      line-height: 28px; /* Расстояние между строками */
      max-width: 451px;
      margin: 0;
            margin-top: 12px;
            margin-bottom: 12px;
        }


         /* ===== INPUT 1 ===== */

        .dd_newsl_input_1 {
            display: flex; /* чтобы элементы располагались горизонтально */
            justify-content: left;
            gap: 18px;
        }

        .dd_newsl_input_1 input[type="email"] {
            width: 100%;
            max-width: 216px;
            height: 57px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 13px;
            padding-left: 15px;
            box-sizing: border-box;
            margin-right: 0px;
            background-color: #f7f7f7;
            border: 2px solid #000000;
                   border-top: none; /* Убирает границу */
                   border-left: none;
                   border-right: none;
            border-top-left-radius: 0px;
            border-top-right-radius: 0px;
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 0px;
                   margin-bottom: 18px;
        }

        .dd_newsl_input_1 input[type="email"]::placeholder {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 13px;
            font-style: normal;
            color: #7f7f7f;
        }

.dd_newsl_input_1 input[type="email"]:focus {
    outline: none;
}


          /* ===== INPUT 2 ===== */

        .dd_newsl_input_2 {
            display: block; /* чтобы элементы располагались вертикально */
            justify-content: left;
        }

        .dd_newsl_input_2 input[type="email"] {
            width: 100%;
            max-width: 451px;
            height: 57px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 13px;
            padding-left: 15px;
            box-sizing: border-box;
            margin-right: 0px;
            background-color: #f7f7f7;
            border: 2px solid #000000;
                   border-top: none; /* Убирает границу */
                   border-left: none;
                   border-right: none;
            border-top-left-radius: 0px;
            border-top-right-radius: 0px;
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 0px;
                   margin-bottom: 4px;

        }

        .dd_newsl_input_2 input[type="email"]::placeholder {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 13px;
            font-style: normal;
            color: #7f7f7f;
        }

.dd_newsl_input_2 input[type="email"]:focus {
    outline: none;
}

        .dd_newsl_input_2 button {
            width: 100%;
            max-width: 451px;
            height: 54px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 15px;
            font-weight: bold;
            color: #ffffff;
            background-color: #e22028;
            border: none;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s ease; /* Плавное изменение фона */
                  margin-top: 4px;
                  margin-bottom: 5px;
        }

        .dd_newsl_input_2 button:hover {
            background-color: #f21f28;
        }


        .checkbox_group {
            display: flex;
                  align-items: top;
            max-width: 451px;
            margin: 0;
            margin-top: 1px;
            margin-bottom: 11px;
        }

        .checkbox_group input[type="checkbox"] {
            appearance: none;
            min-width: 20px;
            height: 20px;
            border: 2px solid #000000;
            border-radius: 50%; /* Круглая форма */
            margin-right: 13px;
            position: relative;
            cursor: pointer;
                margin-top: 4px;
        }

        .checkbox_group input[type="checkbox"]:checked::before {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            width: 10px;
            height: 10px;
            background-color: #000000;
            border-radius: 50%; /* Круглая форма */
        }

        .checkbox_group label {
            display: flex;
            flex-direction: column;
        }

        .checkbox_group label .title {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 15px;
            font-weight: bold;
            color: #262626;
            line-height: 22px;
        }

        .checkbox_group label .description {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 13.5px;
            font-weight: normal;
            color: #606060;
            line-height: 22px;
            margin-top: 0px;
        }


        /* Класс для красной обводки */
        .error {
            border-color: red !important;
        }


        .dd_newsl_legal {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 12px;
            color: #616161;
      line-height: 17px; /* Расстояние между строками */
      max-width:451px;
      margin: 0;
            margin-top: 10px;
            margin-bottom: 38px;
        }
        .dd_newsl_legal a {
            font-family: Helvetica, Arial, sans-serif;
            color: #616161;
            text-decoration: underline;
            font-weight: bold;
        }
        .dd_newsl_legal a:hover {
            text-decoration: none;
        }


    /* =========== SEARCH =========== */
    /* =========== SEARCH =========== */
    /* =========== SEARCH =========== */

        .dd_search_bg {
            background-color: #ffffff;
            width: 100%;
        }

        /* Объединённый контейнер для центрирования */
        .dd_search_inner {
            display: flex;
            justify-content: space-between;  /* Размещение элементов по краям */
            align-items: center; 
            max-width: 1024px;
            height: 66px;
            margin: 0 auto;  /* Центрируем по горизонтали */
            box-sizing: border-box;  /* Включаем отступы в расчет размера */
        }

        /* Добавляем отступы слева и справа, но не изменяем ширину */
        @media (max-width: 1024px) {
            .dd_search_inner {
                margin-left: 40px;  /* Отступ слева */
                margin-right: 40px;  /* Отступ справа */
            }
        }

        .dd_search_search-form {
            width: 100%;  /* Форма будет занимать 100% доступной ширины */
            max-width: 987.5px;  /* Максимальная ширина */
            height: 30px;
            background-color: white;
            border: 0px solid #808080;
            border-radius: 4px;
            display: flex;
            align-items: center;
            position: relative;
            padding-left: 0;
            box-sizing: border-box;
        }

        .dd_search_cursor {
            width: 2px;
            height: 23px;
            background-color: #f63a3a;
            position: absolute;
            border-radius: 1px;
            left: 0;
            animation: blink 1s infinite step-start;
        }

        .dd_search_input-field {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 17px;
            font-style: normal;
            color: black;
            border: none;
            outline: none;
            background: none;
            width: 100%;
            padding-left: 2px;
            box-sizing: border-box;
        }

        .dd_search_input-field::placeholder {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 17px;
            font-style: italic;
            color: #b8b8b8;
        }

        .dd_search_ico_x {
            margin-left: 20px;
            display: flex;
            align-items: center;
        }

        .dd_search_ico_x img {
            display: block;
            width: 16.5px;
            height: 16.5px;
            transition: opacity 0.3s ease; /* Плавный переход */
        }

        .dd_search_ico_x img:hover {
            opacity: 0.6; /* Уменьшаем непрозрачность на 10% */
        }

        /* ====== Мигание Курсора ====== */
        @keyframes blink {
            50% {
                opacity: 0;
            }
        }



