

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

    /* Контейнер меню с фоном и тенью */
    .menu {
      background-color: #111111;
      width: 100%;
      position: relative;
      z-index: 10000;
    }

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

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

    .left {
      display: flex;
      align-items: center;
    }

    .logo img {
      display: block;
      width: 91px;
      height: 19px;
      z-index: 1;  /* Обеспечиваем, чтобы логотип был сверху */
    }

    .blank_space_1 {
      width: 22px;
      height: 30px;
      background-color: #111111;
    }

    .ico_search img {
      display: block;
      width: 16px;
      height: 16px;
      transition: opacity 0.3s ease; /* Плавный переход */
    }
    .ico_search img:hover {
      opacity: 0.7; /* Уменьшаем непрозрачность на 10% */
    }

    a:link { text-decoration: none; }
    a:visited { text-decoration: none; }
    a:hover { text-decoration: none; }
    a:active { text-decoration: none; }

    .menu_txt {
      display: flex;
      align-items: center; /* Центрируем элементы по вертикали */
      margin-right: 22px; 
      transition: opacity 0.3s ease; /* Плавный переход */
    }

    .menu_txt img {
      width: 22px; 
      height: 13px;
      margin-right: 11px;
      transition: opacity 0.3s ease; /* Плавность для изображения */
    }

    .menu_txt:hover img {
      content: url('../img/main/ico_menu_hover.png');
    }

    .menu_txt .text {
      font-family: Helvetica, sans-serif; 
      font-weight: bold;
      font-size: 14px;
      color: #ffffff;
      transition: color 0.3s ease; /* Плавность для текста */
    }

    .menu_txt .text:hover {
      color: #ec1a25;
    }

    @media (max-width: 600px) {
      .menu_txt .text {
        display: none;
      }
    }

    .right {
      display: flex;
      align-items: center;
    }

    .btn_newsletter {
      margin-right: 17px; 
      display: inline-block;
      width: 97px;
      height: 30px;
      background-color: #000000;
      color: #ffffff;
      border: 1px solid #ffffff;
      border-radius: 16px;
      font-family: Helvetica, sans-serif;
      font-weight: bold;
      font-size: 13px;
      text-align: center;
      line-height: 32px;
      text-decoration: none;
      transition: background-color 0.3s;
      transition: border-color 0.3s ease; /* Плавный переход ховера */
    }

    .btn_newsletter:hover {
      background-color: #000000;
      border: 1px solid #ec1a25;
      color: #ec1a25;
    }

    .ico_user img {
      display: block;
      width: 32px;
      height: 32px;
      transition: opacity 0.3s ease; /* Плавный переход */
    }
    .ico_user img:hover {
      opacity: 0.7; /* Уменьшаем непрозрачность на 10% */
    }

    @media (max-width: 600px) {
      .ico_user {
        display: none;
      }
      .btn_newsletter {
        margin-right: 0px; 
      }
    }
    
    /* Общие стили для dropdown-окон и wrapper */
    .dropdown_wrapper {
      position: relative;
      display: inline-block;
    }
    .dropdown {
      position: absolute;
      top: calc(100% + 18px);
      left: 0;
      width: auto;
      height: auto;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
      display: none;
      z-index: 1000;
    }
    /* =====  MEDIA  =====  */
    @media (max-width: 700px) {
    .dropdown {
      left: -224px;
    }
    }
    /* Появление dropdown */
    .dropdown.active {
      display: block;
    }
    /* Для dropdown кнопок с выравниванием по правому краю */
    .dropdown.right-dropdown {
      left: auto;
      right: 0;
      top: calc(100% + 8px);
    }
    
    /* Стили для dropdown окна кнопки User */
    .dropdown.user-dropdown {
      width: 200px;
      height: auto;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
      padding-top: 20px;
      padding-bottom: 20px;
    }
    .dropdown.user-dropdown a {
      font-family: Helvetica, sans-serif;
      text-decoration: none;
      color: black;
      display: block;
      margin-left: 20px;
      margin-bottom: 14px;
    }
    .dropdown.user-dropdown a:hover {
      color: #ec1a25;
    }
    .dropdown.user-dropdown a:last-child {
      margin-bottom: 0;
    }
    
    /* Стили для Search dropdown – открывается по клику на иконку search */
    #searchDropdown {
      position: absolute;
      top: calc(100% + 0px);
      left: 0;
      width: 100%;
      height: auto;
      background-color: #ffffff;
      display: none;
      z-index: 1000;
         /* x-offset: 0, y-offset: 4px, blur: 6px, spread: -4px */
         box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    }
    #searchDropdown.active {
      display: block;
    }



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

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

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

    .dd_menu_search_input_field {
      font-family: Helvetica, Arial, sans-serif;
      font-size: 14px;
      color: black;
      border: none;
      outline: none;
      background: none;
      height: 46px; /* <<<<<<<<<<<< ВЫСОТА 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: #9e9e9e;
    }

    .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: 14px;
      padding-left: 28px;
      font-family: Helvetica, Arial, sans-serif;
      font-size: 16px;
      font-weight: bold;
      overflow-y: auto;
    }

    .dd_menu_list a {
      display: flex;
      align-items: center;
      color: #363636;
      text-decoration: none;
      margin-bottom: 20px;
      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: 28px; /* Интервал между иконкой и правым краем */
}


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

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

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

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

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

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

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

    .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: 556px;
            height: auto;
            background-color: #ffffff;
            border-radius: 15px;
            padding: 0px;
      display: flex;
      flex-direction: column; 
        }

    /* =====  MEDIA  =====  */
    @media (max-width: 700px) {
    .dd_newsl {
      width: 350px;
    }
    }

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


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

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


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

        .dd_newsl_input input[type="email"] {
            width: 100%;
            max-width: 486px;
            height: 44px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 15px;
            padding-left: 17px;
            box-sizing: border-box;
            margin-right: 0px;
            border: 1px solid #858585;
            border-radius: 22px;
                   margin-bottom: 10px;
        }

        .dd_newsl_input input[type="email"]::placeholder {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 15px;
            font-style: normal;
            color: #b1b1b1;
        }

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

        .dd_newsl_input button {
            width: 100%;
            max-width: 486px;
            height: 44px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 14px;
            font-weight: bold;
            color: #ffffff;
            background-color: #222222;
            border: none;
            border-radius: 22px;
            cursor: pointer;
            transition: background-color 0.3s ease; /* Плавное изменение фона */
                  margin-bottom: 36px;
        }

        .dd_newsl_input button:hover {
            background-color: #2e2e2e;
        }



    /* =========== 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: 109px;
            margin: 0 auto;  /* Центрируем по горизонтали */
            box-sizing: border-box;  /* Включаем отступы в расчет размера */
        }

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


        .dd_search_ico_search {
            margin-left: 22px;
            margin-right: 12px;
            display: flex;
            align-items: center;
        }

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


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

        .dd_search_input-field {
            font-family: Helvetica, Arial, sans-serif;
            font-size: 18px;
            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: 16px;
            font-style: normal;
            color: #919191;
        }


