/* ================================================================
   HEADER.CSS — Эрбрус | Универсальный адаптивный хедер
   ================================================================
   ОГЛАВЛЕНИЕ:
   1.  Переменные
   2.  Базовый контейнер .header
   3.  Верхняя полоска (.header_top)
   4.  Основная строка (.header_main_row)
   5.  Логотип
   6.  Иконки приложений (Google Play / App Store)
   7.  Кнопка «Каталог» + анимация бургер-иконки
   8.  Поиск
   9.  Иконки справа (профиль, избранное, корзина)
   10. Выпадающее меню каталога
   11. Тултипы (профиль, телефон, «Клиентам»)
   12. Бургер-кнопка (мобильный)
   13. Боковое мобильное меню
   14. Медиа-запросы
   ================================================================ */


/* ---------------------------------------------------------------
   1. ПЕРЕМЕННЫЕ
--------------------------------------------------------------- */
:root {
  --hdr-bg:           #ffffff;
  --hdr-top-bg:       #f5f6f7;
  --hdr-top-border:   #e4e6e9;
  --hdr-shadow:       0 2px 16px rgba(0,0,0,.07);
  --hdr-green:        #0b8c2a;
  --hdr-green-dark:   #076e20;
  --hdr-green-grad:   linear-gradient(135deg, #7cbe69 0%, #4ea832 100%);
  --hdr-text:         #1a1a1a;
  --hdr-muted:        #666;
  --hdr-border:       #e5e7ea;
  --hdr-radius:       8px;
  --hdr-font:         Geologica, Helvetica Neue, Arial, sans-serif;
  --hdr-z:            99999;
  --hdr-top-h:        36px;
  --hdr-main-h:       64px;
  --hdr-mobile-h:     56px;
  --hdr-inner-w:      1320px;
  --hdr-px:           20px;
}


/* ---------------------------------------------------------------
   2. БАЗОВЫЙ КОНТЕЙНЕР
--------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: var(--hdr-z);
  background: var(--hdr-bg);
  box-shadow: var(--hdr-shadow);
  font-family: var(--hdr-font);
}
.header .container { margin-bottom: 0 !important; }
.header_hidden { transform: translateY(-100%); }


/* ---------------------------------------------------------------
   3. ВЕРХНЯЯ ПОЛОСКА
--------------------------------------------------------------- */
.header_top {
  background: var(--hdr-top-bg);
  border-bottom: 1px solid var(--hdr-top-border);
  height: var(--hdr-top-h);
}
.header_top_center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--hdr-inner-w);
  margin: 0 auto;
  padding: 0 var(--hdr-px);
  gap: 10px;
}

/* Лозунг */
.lozung {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}
.lozung svg {
  fill: currentColor;
  color: #ed7817;
  width: 15px;
  flex-shrink: 0;
}

/* Ссылки навигации */
.sale_point {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
}
.sale_point a,
.sale_point .menu_link_top {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #444;
  white-space: nowrap;
  transition: color .18s;
}
.sale_point a:hover,
.sale_point .menu_link_top:hover { color: var(--hdr-green); }
.sale_point img { width: 16px; height: 16px; flex-shrink: 0; }

/* Правый блок верхней полоски */
.wehen_scrol {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.wehen_scrol .tooltip-simple .tooltip__content { width: 233px; padding: 25px; }
.wehen_scrol .house_category_title p { color: #000; }
.wehen_scrol .tel_poch_bot { gap: 10px; white-space: nowrap; }

/* «Клиентам» */
.head_client { position: relative; cursor: pointer; }
.client_block {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #444;
  white-space: nowrap;
  user-select: none;
}
.icon-svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
  transition: transform .2s;
}
.head_client:hover .icon-svg { transform: rotate(180deg); }

/* Кнопка «Заказать звонок» */
button.head_call_header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: var(--hdr-font);
  color: #000;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .18s;
}
button.head_call_header:hover { opacity: .65; }

/* Телефон */
.tel_poch_big { display: flex; position: relative; cursor: pointer; }
.tel_poch_bot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.obr_icons_web.scrol_down { display: flex; }
.tel_poch_bot img { width: 18px; height: auto; }
.house_category_title p {
  font-size: 13px;
  font-weight: 600;
  color: var(--hdr-text);
  cursor: pointer;
  white-space: nowrap;
}
.house_category_title p:hover { color: var(--hdr-green); }


/* ---------------------------------------------------------------
   4. ОСНОВНАЯ СТРОКА
--------------------------------------------------------------- */
.header_main_row {
  display: flex;
  align-items: center;
  height: var(--hdr-main-h);
  gap: 14px;
  max-width: var(--hdr-inner-w);
  margin: 0 auto;
  padding: 0 var(--hdr-px);
}


/* ---------------------------------------------------------------
   5. ЛОГОТИП
--------------------------------------------------------------- */
.hdr-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.hdr-logo img {
  width: 185px;
  height: auto;
  display: block;
}


/* ---------------------------------------------------------------
   6. ИКОНКИ ПРИЛОЖЕНИЙ (Google Play / App Store)
--------------------------------------------------------------- */
.icon-btns-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
a.icon-btn.app-icon {
  display: flex;
  align-items: center;
  opacity: .88;
  transition: opacity .18s, transform .15s;
}
a.icon-btn.app-icon:hover { opacity: 1; transform: scale(1.04); }
a.icon-btn.app-icon img { display: block; height: 18px; width: auto; }
a.icon-btn.icon-apple img { height: 22px; }
.icon-btns-row a:hover { opacity: .7; }
.icon-btns-row p { display: flex; }


/* ---------------------------------------------------------------
   7. КНОПКА «КАТАЛОГ» + АНИМАЦИЯ ИКОНКИ
--------------------------------------------------------------- */
.hdr-catalog-wrap { position: relative; flex-shrink: 0; }

.menu_icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 50px;
  height: 44px;
  font-size: 15px;
  font-family: var(--hdr-font);
  font-weight: 600;
  color: #fff;
  background: var(--hdr-green-grad);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.22);
  transition: filter .18s;
  outline: none;
  overflow: hidden;
}
.menu_icon:hover { filter: brightness(1.09); background: #343332; }
.menu_icon:after {
  content: "";
  cursor: pointer;
  position: absolute;
  bottom: 0; top: 0; left: 0; right: 0;
  z-index: 0;
  width: calc(100% + 3000px);
  margin-left: -1500px;
  background: linear-gradient(-45deg,transparent 310px,#fff 310px,#fff 325px,transparent 325px);
  background-position: right;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}

/* Три полоски бургер-иконки */
.dropbtn22 i {
  position: absolute;
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  width: 20px;
  left: 16px;
  transition: all .28s ease;
}
.dropbtn22 i:nth-child(1) { top: 33%; }
.dropbtn22 i:nth-child(2) { top: 49%; width: 15px; }
.dropbtn22 i:nth-child(3) { top: 64%; }

/* Анимация → крестик при открытии */
.dropbtn22.show22 i:nth-child(1) { top: 50%; transform: rotateZ(45deg); }
.dropbtn22.show22 i:nth-child(2) { background: transparent; }
.dropbtn22.show22 i:nth-child(3) { top: 50%; transform: rotateZ(-45deg); }


/* ---------------------------------------------------------------
   8. ПОИСК
--------------------------------------------------------------- */
.hdr-search-wrap {
  flex: 1 1 200px;
  min-width: 0;
}

.header-search {
  display: flex;
  align-items: center;
  height: 44px;
  border: 1.5px solid #d5d8dc;
  border-radius: 6px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: border-color .18s;
  width: 100%;
}
.header-search:focus-within { border-color: var(--hdr-green); }

.search-icn {
  display: flex;
  align-items: center;
  padding: 0 8px 0 12px;
  flex-shrink: 0;
  opacity: .45;
}

.search_input {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-family: var(--hdr-font);
  border: none;
  outline: none;
  padding: 0 6px;
  background: transparent;
  color: var(--hdr-text);
}
.search_input::placeholder { color: #b0b4ba; }

button.header-search__search-submit-btn {
  flex-shrink: 0;
  height: 100%;
  padding: 0 20px;
  font-size: 14px;
  font-family: var(--hdr-font);
  font-weight: 600;
  color: #fff;
  background: var(--hdr-green-grad);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: filter .18s;
  border-radius: 0;
  display: inline-block !important;
}
button.header-search__search-submit-btn:hover { filter: brightness(1.1); }
button.header-search__search-submit-btn svg { fill: #fff; width: 16px; height: 16px; }

/* Результаты поиска */
.search_five_res {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 0 0 6px 6px;
  z-index: 100;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.header-search .tooltip__content {
  font-size: 14px;
  line-height: 20px;
  width: 100%;
  position: relative;
}
.header-search .tooltip__content::before {
  content: '';
  position: absolute;
  top: -10px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 10px solid #fff;
}


/* ---------------------------------------------------------------
   9. ИКОНКИ СПРАВА (профиль, избранное, корзина)
--------------------------------------------------------------- */
.head_right.hdr-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.head_right svg { width: 24px; height: 24px; fill: currentColor; }
.head_right a { /* color наследуется */ }

/* Общий вид иконок */
.account_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
}
.cart_mod { display: flex; flex-direction: column; align-items: center; }
.basket.shopping-cart a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  position: relative;
  text-decoration: none;
  color: var(--hdr-text);
}
.favorit.f_hed a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  position: relative;
  text-decoration: none;
  color: var(--hdr-text);
}
.bas { font-size: 11px; color: #555; line-height: 1; }

/* Заказы */
.head_email { display: flex; align-items: center; margin-left: 0; }
.head_email a { font-size: 11px; }

/* Счётчик избранного */
.favorit.f_hed { position: relative; }
.com_count {
  position: absolute;
  top: -4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 1px 3px;
  border-radius: 16px;
  background: #494a4d;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Счётчик корзины */
.basket.shopping-cart { position: relative; }
.cart_count {
  position: absolute;
  top: -4px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 1px 3px;
  border-radius: 16px;
  background: #49b110;
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  display: inline-block;
}

/* Профиль */
.head_pofile { position: relative; }
.head_pofile a.account { text-decoration: none; }
.profile-menu__avatar.img-plug,
span.profile-menu__avatar.img-plug { display: flex; position: relative; }
.profile-menu__avatar:after {
  position: absolute;
  z-index: 0;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  margin: -26.5px 0 0 -26px;
  content: '';
  background: url(images/klor.svg) center no-repeat;
  background-size: 31px;
}


/* ---------------------------------------------------------------
   10. ВЫПАДАЮЩЕЕ МЕНЮ КАТАЛОГА
--------------------------------------------------------------- */
.hdr-catalog-wrap .sub_cat.catalog_menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: calc(var(--hdr-z) - 1);
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 44px rgba(0,0,0,.14);
  min-width: 860px;
}
.hdr-catalog-wrap.show22 .sub_cat.catalog_menu { display: block; }

/* Внутренняя сетка категорий */
ul.menu-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 340px;
  padding: 14px 18px;
  margin: 0;
  list-style: none;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.menu-item-has-children { break-inside: avoid; padding: 1px 0; }

.menu_icon_a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  width: 100%;
  transition: background .14s;
}
.menu_icon_a:hover { background: #f3f9f2; }
.menu_icon_a img { width: 28px; height: 28px; object-fit: contain; }

.men_ic_img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

a.web_sty { font-size: 14px; font-weight: 600; color: var(--hdr-text); transition: color .14s; }
a.web_sty:hover { color: var(--hdr-green); }

/* Подкатегории */
.menu-subs2 {
  padding: 0 8px 4px 50px;
  margin-left: 0;
}
.menu-subs2 a {
  display: flex;
  font-size: 13px;
  color: #555;
  margin: 5px 0;
  width: 100%;
  transition: color .14s;
}
.menu-subs2 a:hover { color: var(--hdr-green); }
.menu-subs2 ul { list-style: none; padding-left: 10px; }
.menu-subs2 ul li a { font-size: 12px; color: #777; }


/* ---------------------------------------------------------------
   11. ТУЛТИПЫ (профиль, телефон, «Клиентам»)
--------------------------------------------------------------- */
.navbar-pc__tooltip.tooltip-profile,
.navbar-pc__tooltip.tooltip-simple {
  position: absolute;
  z-index: calc(var(--hdr-z) + 1);
  display: none;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding-top: 6px;
  white-space: nowrap;
  cursor: default;
}

.tooltip-arrow {
  display: block;
  margin: 0 auto;
  fill: #fff;
  filter: drop-shadow(0 -1px 2px rgba(0,0,0,.07));
}

.tooltip__content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  padding: 16px;
  min-width: 200px;
  white-space: normal;
}
.tooltip__content ul { list-style: none; }

/* Показываем при hover */
.head_pofile:hover .navbar-pc__tooltip.tooltip-profile { display: block; left: 50%; transform: translateX(-50%); }
.head_client:hover .navbar-pc__tooltip,
.tel_poch_big:hover .navbar-pc__tooltip { display: block; }

/* Прижать вправо если у края */
.head_right.hdr-icons .head_pofile .navbar-pc__tooltip { left: auto; right: 0; transform: none; }
.head_right.hdr-icons .favorit.f_hed .navbar-pc__tooltip,
.head_right.hdr-icons .cart .navbar-pc__tooltip { left: auto; right: 0; transform: none; }

/* Меню профиля */
ul.profile-menu { list-style: none; margin: 0; padding: 0; }
.profile-menu__user { padding-bottom: 10px; border-bottom: 1px solid #f2f2f2; margin-bottom: 8px; }
.profile-menu__details { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.profile-menu__info { display: flex; flex-direction: column; gap: 2px; }
.profile-menu__name { font-size: 13px; font-weight: 600; color: var(--hdr-text); }
.profile-menu__phone { font-size: 12px; color: #888; }
.profile-menu__user_text { font-size: 13px; color: #555; padding-bottom: 10px; white-space: normal; }

ul.account_menu_profile { list-style: none; padding: 8px 0; }
.lk-menu-main__item { padding: 4px 0; }
.lk-menu-main__title { font-size: 13px; color: #333; transition: color .15s; }
.lk-menu-main__title:hover { color: var(--hdr-green); }

.profile-menu__item_val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #f2f2f2;
  font-size: 13px;
}
.profile-menu22 { color: #888; }
.fl_rate_right { display: flex; align-items: center; gap: 4px; }
.profile-menu33 { font-size: 13px; font-weight: 600; }
.profile-menu__item { padding: 0; }
.profile-menu__footer { padding-top: 8px; border-top: 1px solid #f2f2f2; }
.profile-menu__link--gray { font-size: 13px; color: #999; transition: color .15s; }
.profile-menu__link--gray:hover { color: var(--hdr-text); }
.profile-menu__link:hover { color: #26b3fb; }

.profile-menu_login {
  display: block;
  padding: 8px 16px;
  background: var(--hdr-green);
  color: #fff !important;
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s;
  margin: 4px 0 8px;
}
.profile-menu_login:hover { background: var(--hdr-green-dark); }
.profile-menu__user_login_reg { padding: 8px 0; }

/* «Клиентам» тултип */
.client_info { border-bottom: 1px solid #f5f5f5; }
.client_info:last-child { border: none; }
.client_info a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid #eeeeeea6;
  width: 100%;
  font-size: 13px;
  color: #333;
  transition: color .14s;
}
.client_info a:hover { color: var(--hdr-green); }

/* Телефон тултип */
.guestForm_numbers_ph { display: flex; flex-wrap: wrap; font-size: 20px; margin-top: 10px; }
.guestForm_numbers_ph b { font-weight: 500; width: 100%; }
.ter_phone { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.ter_phone_first { display: flex; align-items: center; gap: 6px; }
.ter_phone_email { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
p.zakaz_title_pop_up { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
p.head_zak_ob_text { font-size: 14px; color: #777; margin-bottom: 10px; }
.p_number1 {
  display: inline-block;
  width: 100%;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}
.p_number1 i { font-style: normal; font-weight: 600; color: #555; }
.w_tel { display: flex; flex-direction: column; gap: 6px; }
.w_t_a { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #333; }
.w_t_a:hover { color: var(--hdr-green); }
.grafik_rabot { font-size: 12px; color: #888; }
.no-decript { text-decoration: none; }
.more_phone { margin-bottom: 6px; }


/* ---------------------------------------------------------------
   12. БУРГЕР-КНОПКА
--------------------------------------------------------------- */
.hdr-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5.5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hdr-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hdr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hdr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ---------------------------------------------------------------
   13. БОКОВОЕ МОБИЛЬНОЕ МЕНЮ
--------------------------------------------------------------- */
.hdr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.48);
  z-index: calc(var(--hdr-z) - 2);
  backdrop-filter: blur(2px);
}
.hdr-overlay.is-open { display: block; }

.hdr-mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  max-width: 86vw;
  height: 100%;
  background: #fff;
  z-index: calc(var(--hdr-z) - 1);
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 4px 0 28px rgba(0,0,0,.13);
}
.hdr-mobile-nav.is-open { transform: translateX(0); }
.hdr-mobile-nav__inner { display: flex; flex-direction: column; min-height: 100%; }

.hdr-mobile-nav__logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.hdr-mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: #f4f4f4;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: #555;
  transition: background .14s;
}
.hdr-mobile-nav__close:hover { background: #e8e8e8; }

/* Список */
.hdr-mobile-nav__list { list-style: none; margin: 0; padding: 6px 0; flex: 1; }
.hdr-mobile-nav__list > li { position: relative; border-bottom: 1px solid #f4f4f4; }
.hdr-mobile-nav__list > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 48px 12px 16px;
  font-size: 14px;
  color: #222;
  transition: background .14s, color .14s;
}
.hdr-mobile-nav__list > li > a:hover { background: #f8faf8; color: var(--hdr-green); }

/* Стрелка подменю */
.hdr-sub-toggle {
  position: absolute;
  top: 0; right: 0;
  width: 48px;
  height: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-left: 1px solid #f0f0f0;
  font-size: 18px;
  color: #aaa;
  cursor: pointer;
  transition: transform .24s, color .14s;
}
.hdr-has-sub.is-open > .hdr-sub-toggle { transform: rotate(90deg); color: var(--hdr-green); }

/* Подменю */
.hdr-sub-list { display: none; list-style: none; background: #fafafa; padding: 4px 0; border-top: 1px solid #f0f0f0; }
.hdr-has-sub.is-open > .hdr-sub-list { display: block; }
.hdr-sub-list li a {
  display: block;
  padding: 9px 16px 9px 42px;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid #f2f2f2;
  transition: color .14s, background .14s;
}
.hdr-sub-list li a:hover { color: var(--hdr-green); background: #f2f8f2; }
.hdr-sub-list li:last-child a { border: none; }

/* Телефоны снизу */
.hdr-mobile-nav__phones {
  padding: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f9f9f9;
}
.hdr-mobile-nav__phones a {
  font-size: 14px;
  font-weight: 600;
  color: var(--hdr-green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hdr-mobile-nav__phones a:hover { color: var(--hdr-green-dark); }


/* ---------------------------------------------------------------
   14. МЕДИА-ЗАПРОСЫ
--------------------------------------------------------------- */

/* ---- Планшет широкий: ≤ 1200px ---- */
@media (max-width: 1200px) {
  .header_top_center { padding: 0 14px; }
  .header_main_row   { padding: 0 14px; gap: 10px; }
  .hdr-logo img      { width: 155px; }
  .lozung            { display: none; }
  .icon-btns-row     { display: none; }
  .sale_point        { gap: 12px; }
  .wehen_scrol       { gap: 8px; }
}

/* ---- Планшет: ≤ 992px ---- */
@media (max-width: 992px) {
  .header_main_row { gap: 8px; }
  .hdr-logo img    { width: 130px; }
  .menu_icon       { padding: 0 14px 0 42px; font-size: 14px; height: 40px; }
  .sale_point .spec_for_price,
  .sale_point .spec_mol { display: none; }
  button.head_call_header { display: none; }
  .head_pofile.tel_poch { display: none; }
  .head_client { display: none; }
  .bas { display: none; }
  .head_right.hdr-icons { gap: 12px; }
}

/* ---- Мобильный: ≤ 768px ---- */
@media (max-width: 768px) {
  /* Верхняя полоска скрывается */
  .header_top { display: none; }

  /* Основная строка */
  .header_main_row { padding: 0 10px; gap: 8px; height: var(--hdr-main-h); }

  /* Бургер показываем */
  .hdr-burger { display: flex; }

  /* Логотип */
  .hdr-logo img { width: 120px; }

  /* Каталог — скрыт (есть в боковом меню) */
  .hdr-catalog-wrap { display: none; }

  /* Поиск — ПОКАЗЫВАЕМ на мобильном */
  .hdr-search-wrap { display: flex; flex: 1; }
  .header-search { height: 40px; }
  /* Кнопку «Найти» скрываем — оставляем только иконку */
  button.header-search__search-submit-btn {
    padding: 0 12px;
    font-size: 0; /* скрываем текст «Найти» */
  }
  button.header-search__search-submit-btn svg { font-size: 0; width: 16px; height: 16px; display: block; }

  /* Подписи под иконками */
  .bas { display: none; }

  /* Иконки */
  .head_right.hdr-icons { gap: 10px; }

  /* Тултипы — прижать вправо */
  .head_right.hdr-icons .head_pofile .navbar-pc__tooltip { right: 0; left: auto; transform: none; }
}

/* ---- Маленький мобильный: ≤ 420px ---- */
@media (max-width: 420px) {
  .hdr-logo img { width: 100px; }
  .header_main_row { padding: 0 8px; gap: 6px; }
  .head_right.hdr-icons { gap: 8px; }
}