

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

    /* Контейнер меню с фоном и тенью */
    .menu {
      background-color: #ffffff;
      width: 100%;
      box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.06);
      position: relative; /* Все dropdown позиционируются относительно этого контейнера */
      z-index: 10000;
    }

    /* Внутренний контейнер */
    .menu_inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1024px;
      height: 59px;
      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;
    }

    /* Обёртка для иконок с dropdown */
    .icon-wrapper {
      position: relative;
      display: inline-block;
      /* Убрали margin-right, чтобы не увеличивался промежуток между иконками */
    }

    /* Иконки меню */
    .ico_menu img {
      display: block;
      width: 17px;
      height: 13px;
      transition: opacity 0.3s ease;
    }
    .ico_menu img:hover {
      opacity: 0.6;
    }
    .ico_cart img,
    .ico_dots img {
      display: block;
      width: 15px;
      height: auto;
      transition: opacity 0.3s ease;
    }
    .ico_cart img:hover,
    .ico_dots img:hover {
      opacity: 0.6;
    }
    .ico_search img {
      display: block;
      width: 15px;
      height: 15px;
      transition: opacity 0.3s ease;
    }
    .ico_search img:hover {
      opacity: 0.6;
    }

    .blank_space_1 {
      width: 23px;
      height: 30px;
      background-color: #ffffff;
    }

    .vertical-line {
      width: 1px;
      height: 59px;
      background-color: #E9EDF0;
    }
    @media (max-width: 700px) {
      .ico_cart,
      .ico_dots,
      .verti-cal-line {
        display: none;
      }
      .blank_space_1 {
        width: 11px;
        height: 30px;
        background-color: #ffffff;
      }
    }

    /* Центрирование логотипа */
    .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      z-index: 1;
    }
    .logo img {
      display: block;
      width: 140px;
      height: 23px;
    }

    .right {
      display: flex;
      align-items: center;
    }
    a:link,
    a:visited,
    a:hover,
    a:active {
      text-decoration: none;
    }

    /* Обёртки для элементов с dropdown, чтобы избежать наследования hover эффекта */
    .newsletter-wrapper,
    .follow-wrapper {
      position: relative;
      display: inline-block;
    }
    .newsletter-wrapper {
      margin-right: 20px;
    }
    .follow-wrapper {
      margin-left: 20px;
      margin-right: 0;
    }

    /* Кнопка Newsletter */
    .newsletter {
      display: flex;
      align-items: center;
      transition: opacity 0.3s ease;
      cursor: pointer;
    }
    .newsletter:hover {
      opacity: 0.6;
    }
    .newsletter img {
      width: 17px;
      height: 14px;
      margin-right: 5px;
    }
    .newsletter .text {
      font-family: Helvetica, sans-serif;
      font-weight: bold;
      font-size: 14.5px;
      color: #000000;
    }
    @media (max-width: 700px) {
      .newsletter-wrapper {
        display: none;
      }
    }

    /* Кнопка Follow */
    .follow {
      display: flex;
      align-items: center;
      transition: opacity 0.3s ease;
      cursor: pointer;
    }
    .follow:hover {
      opacity: 0.6;
    }
    .follow img {
      width: 7.5px;
      height: 4px;
      margin-left: 3px;
    }
    .follow .text {
      font-family: Helvetica, sans-serif;
      font-weight: bold;
      font-size: 14.5px;
      color: #000000;
    }

    /* Общие стили для всех dropdown окон (Newsletter, Cart, Dots, Follow, ico_menu) */
    .dropdown-cart,
    .dropdown-dots,
    .dropdown-follow {
      position: absolute;
      width: 200px;
      height: auto;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
      display: none;
      z-index: 1000;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-left: 20px;
    }

    /* Общие стили для всех dropdown окон (Newsletter, Cart, Dots, Follow, ico_menu) */
    .dropdown-newsletter,
    .dropdown-menu {
      position: absolute;
      width: auto;
      height: auto;
      background-color: #ffffff;
      border-radius: 20px;
      box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
      display: none;
      z-index: 1000;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-left: 20px;
    }

    /* Для ico_menu оставляем фиксированную высоту и убираем внутренние отступы */
    .dropdown-menu {
      height: auto;
      padding: 0;
    }

    /* Позиционирование dropdown относительно триггера */
    .newsletter-wrapper .dropdown-newsletter {
      top: calc(100% + 22px);
      right: -100px;
    }
    .icon-wrapper .dropdown-cart {
      top: calc(100% + 12px);
      left: 0;
    }
    .icon-wrapper .dropdown-dots {
      top: calc(100% + 12px);
      left: 0;
    }
    .follow-wrapper .dropdown-follow {
      top: calc(100% + 12px);
      right: 0;
    }

    /* Новый dropdown для Search */
    .dropdown-search {
      position: absolute;
      /* Положение задаётся динамически JS */
      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);
    }

    .newsletter-wrapper .dropdown-newsletter {
      width: auto;
      height: auto;
      padding: 0;
    }

    /* Стили для ссылок в dropdown (остальные dropdown-окна) */
    .dropdown-cart a,
    .dropdown-dots a,
    .dropdown-follow a {
      font-family: Helvetica, sans-serif;
      text-decoration: none;
      color: black;
      display: block;
      margin-bottom: 14px;
    }
    .dropdown-cart a:last-child,
    .dropdown-dots a:last-child,
    .dropdown-follow a:last-child {
      margin-bottom: 0;
    }
    .dropdown-cart a:hover,
    .dropdown-dots a:hover,
    .dropdown-follow a:hover {
      text-decoration: underline;
    }



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

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

    .dd_menu_search {
      left: 28px;
      top: 28px;
      width: 251px;
      height: 46px; /* <<<<<<<<<<<< ВЫСОТА SEARCH ОКНА (1) ======= */
      background-color: #ffffff;
      border: 1px solid #e0e0e0;
      border-radius: 16px;
      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: 11px;
      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: #000000;
      text-decoration: none;
      margin-bottom: 11.5px; /* <<<<<<<<<<<< ОТСТУП ОТ ЛИНИИ (1) ======= */
      cursor: pointer;
      transition: color 0.3s ease;
    }

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

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

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

    .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: #ffffff; /* Фон субменю */
      margin-left: -40px; /* Сдвиг фона на 40 пикселей влево */
    }

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

    .sub_menu a:hover {
      color: #000000;
      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');
    }



    /* ==========  Линии между элементами меню */

    .dd_menu_list a:not(:last-child) {
      position: relative;
      padding-bottom: 11.5px; /* <<<<<<<<<<<< ОТСТУП ОТ ЛИНИИ (2) ======= */
    }

    .dd_menu_list a:not(:last-child)::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 255px;
      height: 1px;
      background-color: #eeeeee; /* Цвет линии */
    }


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

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

        .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: 13px;
            box-sizing: border-box;
            margin-right: 0px;
            border: 1px solid #858585;
            border-radius: 10px;
                   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: 10px;
            cursor: pointer;
            transition: background-color 0.3s ease; /* Плавное изменение фона */
                  margin-bottom: 36px;
        }

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


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

        .dd_search_gray_line {
            background-color: #f0f0f0;
            width: 100%;
            height: 1px;
        }

        .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;
        }


