/* Шапка (2026-11-28): телефон вместо значков приложений, со списком телефонов складов */
.hdr-phone-wrap { display: flex; align-items: center; }
.hdr-phone { position: relative; display: flex; align-items: center; gap: 2px; }
.hdr-phone__main { display: flex; align-items: center; gap: 10px; color: #0a2540 !important; text-decoration: none; white-space: nowrap; }
.hdr-phone__ico { display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; height: 38px; border-radius: 12px; background: #eaf7ee; color: #16a34a; transition: background .2s; }
.hdr-phone__main:hover .hdr-phone__ico { background: #16a34a; color: #fff; }
.hdr-phone__txt b { display: block; font-size: 16px; font-weight: 700; line-height: 1.15; letter-spacing: .01em; }
.hdr-phone__txt small { display: block; color: #64748b; font-size: 11px; line-height: 1.3; }
.hdr-phone__more { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: none; color: #64748b; cursor: pointer; transition: background .2s, transform .2s; }
.hdr-phone__more:hover, .hdr-phone:focus-within .hdr-phone__more { background: #f1f5f9; color: #0a2540; }
.hdr-phone__drop {
  position: absolute; top: calc(100% + 12px); left: -8px; z-index: 100001; width: 300px; padding: 10px;
  border: 1px solid rgba(0, 54, 99, .08); border-radius: 16px; background: #fff;
  box-shadow: 0 24px 60px rgba(0, 30, 60, .18); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.hdr-phone__drop::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hdr-phone:hover .hdr-phone__drop, .hdr-phone:focus-within .hdr-phone__drop { opacity: 1; visibility: visible; transform: none; }
.hdr-phone:hover .hdr-phone__more svg, .hdr-phone:focus-within .hdr-phone__more svg { transform: rotate(180deg); }
.hdr-phone__more svg { transition: transform .2s; }
.hdr-phone__drop-title { padding: 6px 10px 8px; color: #8a94a6; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hdr-phone__drop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; color: #1f2937 !important; font-size: 13px; text-decoration: none; }
.hdr-phone__drop a:hover { background: #f3f7ff; }
.hdr-phone__drop a span { color: #475569; }
.hdr-phone__drop a b { color: #0a2540; white-space: nowrap; }

/* телефон переехал в шапку — в верхней строке на десктопе больше не дублируем */
@media (min-width: 1051px) {
  .header_top .phone { display: none !important; }
}
@media (max-width: 1280px) {
  .hdr-phone__txt small { display: none; }
  .hdr-phone__txt b { font-size: 15px; }
}
.hdr-phone .hdr-phone__ico { width: 38px; min-width: 38px; }
/* глобальные правила .icon-btns ставили иконку над номером */
.hdr-phone-wrap .hdr-phone, .hdr-phone-wrap .hdr-phone__main { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; }
.hdr-phone-wrap .hdr-phone__main { gap: 10px; width: auto; height: auto; padding: 0; margin: 0; background: none; border: 0; }
.hdr-phone-wrap .hdr-phone__txt { display: block; text-align: left; }
.hdr-phone-wrap { margin-right: 18px; }

/* переключатели единиц «метр / тн» — компактный сегментный контрол в фирменных цветах (2026-11-28) */
.fav_unit_toggle, .cart-unit-switch {
  display: inline-flex !important; gap: 2px !important; width: auto !important; margin-bottom: 10px;
  padding: 3px !important; border-radius: 10px !important; background: #eef2f7 !important; border: 0 !important;
}
.fav_unit_toggle .fav_unit_btn, .cart-unit-switch .cart-unit-btn {
  flex: 0 0 auto !important; min-width: 56px; height: 28px !important; padding: 0 12px !important; margin: 0 !important;
  border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important;
  color: #5b6472 !important; font-size: 12px !important; font-weight: 600 !important; line-height: 28px !important; cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.fav_unit_toggle .fav_unit_btn:hover, .cart-unit-switch .cart-unit-btn:hover { color: #2b3340 !important; }
.fav_unit_toggle .fav_unit_btn.active, .cart-unit-switch .cart-unit-btn.is-active {
  background: #6996ed !important; color: #fff !important; box-shadow: 0 2px 8px rgba(105, 150, 237, .4) !important;
}

/* ===== Редизайн шапки (2026-11-28): графитово-синяя верхняя строка, чистая белая основная ===== */
@media (min-width: 1051px) {
  header.header { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #eef1f6; box-shadow: 0 8px 30px rgba(10, 37, 64, .06); }

  /* верхняя строка */
  header.header .header_top { background: linear-gradient(90deg, #0a2540 0%, #12355f 100%); border: 0; }
  header.header .header_top .header_top_center { display: flex; align-items: center; min-height: 34px; }
  header.header .header_top .lozung { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .78); font-size: 12px; }
  header.header .header_top .lozung img { filter: brightness(0) invert(1); opacity: .7; }
  header.header .header_top .lozung span { color: rgba(255, 255, 255, .78); }
  header.header .sale_point { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  header.header .sale_point .menu_link_top { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px; background: none !important; color: rgba(255, 255, 255, .78) !important; font-size: 13px; text-decoration: none; transition: color .15s, background .15s; }
  header.header .sale_point .menu_link_top:hover, header.header .sale_point .menu_link_top.active { color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
  header.header .sale_point .menu_link_top img { width: 16px; height: 16px; }
  header.header .sale_point .menu_link_top.spec_mol span { color: #ffb46b; font-weight: 600; }

  /* основная строка */
  header.header .container > .header_top_center { display: flex; align-items: center; gap: 14px; min-height: 76px; }
  header.header .logo_right { flex: 0 0 auto; margin-right: 4px; }

  /* «Каталог» */
  header.header .menu_icon {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 18px !important;
    border: 0; border-radius: 14px; background: linear-gradient(135deg, #12355f 0%, #1d4f87 100%) !important;
    color: #fff !important; font-size: 15px; font-weight: 600; box-shadow: 0 8px 20px rgba(18, 53, 95, .28);
    transition: transform .2s, box-shadow .2s;
  }
  header.header .menu_icon:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(18, 53, 95, .36); }
  header.header .menu_icon i { position: static !important; display: block; width: 16px; height: 2px; margin: 0 !important; border-radius: 2px; background: #fff !important; }
  header.header .menu_icon i + i { margin-top: -8px !important; }
  header.header .menu_icon { position: relative; }
  header.header .menu_icon i:nth-child(1) { transform: translateY(-5px); }
  header.header .menu_icon i:nth-child(3) { transform: translateY(5px); }

  /* поиск */
  header.header .container > .header_top_center > .header-search {
    flex: 1 1 auto; min-width: 260px; height: 46px; border: 1px solid #e2e8f0 !important; border-radius: 14px !important;
    background: #f5f7fb !important; transition: border-color .2s, box-shadow .2s, background .2s;
  }
  header.header .container > .header_top_center > .header-search:focus-within { border-color: #12355f !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(18, 53, 95, .1); }
  header.header .header-search input.search_input { height: 44px; border: 0 !important; background: transparent !important; font-size: 15px; }
  header.header .header-search__search-submit-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 3px 4px 3px 0;
    border: 0; border-radius: 11px; background: #12355f !important; cursor: pointer;
  }
  header.header .header-search__search-submit-btn img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
  header.header .header-search__voice-btn img { opacity: .55; }

  /* иконки справа */
  header.header .basket_orders { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
  header.header .basket_orders .profil a, header.header .basket_orders .basket > a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 62px; height: 52px;
    padding: 0 6px; border-radius: 14px; color: #12355f !important; text-decoration: none; transition: background .15s;
  }
  header.header .basket_orders .profil a:hover, header.header .basket_orders .basket > a:hover { background: #f2f5fa; }
  header.header .basket_orders .pr_text, header.header .basket_orders .bas { color: #475569; font-size: 12px; font-weight: 500; }
  header.header .basket_orders svg, header.header .basket_orders img { color: #12355f; }
  header.header .cart_count, header.header .favorites_count {
    background: #ff8a1f !important; color: #fff !important; border: 2px solid #fff; font-weight: 700;
  }
}

/* активный сегмент переключателя — в цвет «Каталога» */
.fav_unit_toggle .fav_unit_btn.active, .cart-unit-switch .cart-unit-btn.is-active { background: #12355f !important; box-shadow: 0 2px 8px rgba(18, 53, 95, .35) !important; }
@media (min-width: 1051px) {
  /* бургер в «Каталоге» — одна иконка вместо трёх старых полосок */
  header.header .menu_icon i { display: none !important; }
  header.header .menu_icon::before {
    content: ''; display: block; flex: 0 0 18px; width: 18px; height: 14px; position: static !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1h16M1 7h16M1 13h10'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* лупа на кнопке поиска */
  header.header .header-search__search-submit-btn .search-icn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
  header.header .header-search__search-submit-btn .search-icn img { display: none; }
  header.header .header-search__search-submit-btn .search-icn::before {
    content: ''; width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* карточка товара: переключатель единиц и количество — в одну строку (2026-11-28) */
.fav_price_block { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.fav_price_block > * { flex: 1 1 100%; }
.fav_price_block > .fav_unit_toggle { flex: 0 0 auto; margin: 0 0 10px !important; }
.fav_price_block > .fav_qty_row {
  display: flex !important; align-items: center; flex: 1 1 110px; min-width: 110px; height: 34px; margin: 0 0 10px !important;
  padding: 0 !important; border: 1px solid #e2e8f0 !important; border-radius: 10px !important; background: #fff !important; overflow: hidden;
}
.fav_price_block > .fav_qty_row .fav_qty_btn {
  display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px !important; height: 32px !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #f5f7fb !important;
  color: #12355f !important; font-size: 16px !important; line-height: 1 !important; cursor: pointer; user-select: none; transition: background .15s;
}
.fav_price_block > .fav_qty_row .fav_qty_btn:hover { background: #e8eef8 !important; }
.fav_price_block > .fav_qty_row .fav_qty_input {
  flex: 1 1 auto; width: 100% !important; min-width: 0; height: 32px !important; margin: 0 !important; padding: 0 4px !important;
  border: 0 !important; background: transparent !important; color: #0a2540; font-size: 14px !important; font-weight: 700; text-align: center; box-shadow: none !important;
}

/* ===== Шапка v2 (2026-11-28): светлая инфо-строка, парящая капсула, графитовый «Каталог», стальной отлив ===== */
@media (min-width: 1051px) {
  header.header {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 72%, rgba(255, 255, 255, .9) 100%) !important;
    border-bottom: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  /* стальной отлив по нижнему краю */
  header.header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, #c3ccd8 15%, #ffffff 30%, #8d9aab 45%, #e9eef4 60%, #ff8a1f 75%, #c3ccd8 88%, transparent 100%);
    background-size: 200% 100%; animation: hdrSteel 9s linear infinite; opacity: .9;
  }
  @keyframes hdrSteel { from { background-position: 0 0; } to { background-position: -200% 0; } }

  /* инфо-строка */
  header.header .header_top { background: #f3f6fa !important; border-bottom: 1px solid #e9eef4 !important; transition: max-height .3s ease, opacity .25s ease; max-height: 40px; overflow: hidden; }
  header.header .header_top .header_top_center { min-height: 36px; gap: 18px; }
  header.header .header_top .lozung, header.header .header_top .lozung span { color: #5b6472 !important; }
  header.header .header_top .lozung img { filter: none; opacity: .6; }
  .hdr-open { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #e3e8ef; color: #334155; font-size: 12px; white-space: nowrap; }
  .hdr-open i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
  .hdr-open i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgba(22, 163, 74, .35); animation: hdrPing 1.8s ease-out infinite; }
  .hdr-open.is-closed i { background: #94a3b8; }
  .hdr-open.is-closed i::after { display: none; }
  @keyframes hdrPing { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
  header.header .sale_point .menu_link_top { height: 36px; color: #475569 !important; font-size: 13px; }
  header.header .sale_point .menu_link_top:hover, header.header .sale_point .menu_link_top.active { color: #0a2540 !important; background: transparent !important; }
  header.header .sale_point .menu_link_top { position: relative; }
  header.header .sale_point .menu_link_top::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; border-radius: 2px; background: #ff8a1f; transform: scaleX(0); transition: transform .2s; }
  header.header .sale_point .menu_link_top:hover::after { transform: scaleX(1); }
  header.header .sale_point .menu_link_top.spec_mol span { color: #e8620c; }

  /* основная строка — парящая капсула */
  header.header .container > .header_top_center {
    max-width: 1440px; min-height: 0 !important; margin: 10px auto 12px; padding: 8px 10px 8px 20px; gap: 12px !important;
    border: 1px solid #e6ebf2; border-radius: 24px; background: #fff;
    box-shadow: 0 14px 36px rgba(15, 30, 50, .08), 0 2px 6px rgba(15, 30, 50, .04);
    transition: margin .3s ease, padding .3s ease, border-radius .3s ease;
  }
  header.header .logo_right { padding-right: 14px; border-right: 1px solid #edf1f6; }

  /* «Каталог» — шлифованный графит */
  header.header .menu_icon {
    position: relative; overflow: hidden; height: 48px !important; padding: 0 22px 0 18px !important; border-radius: 16px !important;
    background: linear-gradient(135deg, #1b2430 0%, #3b4a5c 48%, #222c39 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px rgba(27, 36, 48, .28) !important; letter-spacing: .01em;
  }
  header.header .menu_icon::after {
    content: ''; position: absolute; top: 0; left: -70%; width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .6s ease;
  }
  header.header .menu_icon:hover::after { left: 130%; }

  /* телефон и магазины — спокойные «чипы» */
  header.header .hdr-phone__ico { background: #f3f6fa !important; color: #1b2430 !important; border-radius: 14px; }
  header.header .hdr-phone__main:hover .hdr-phone__ico { background: #16a34a !important; color: #fff !important; }
  header.header .hdr-stores { height: 48px; border-radius: 16px; border-color: #e6ebf2; background: #f8fafc; }
  header.header .hdr-stores:hover { background: #fff7ef; border-color: #ffb46b; }
  header.header .hdr-stores__count { background: #1b2430; }

  /* поиск — широкая «таблетка» */
  header.header .container > .header_top_center > .header-search {
    height: 48px !important; border-radius: 16px !important; border-color: #e6ebf2 !important; background: #f6f8fb !important;
  }
  header.header .container > .header_top_center > .header-search:focus-within { border-color: #1b2430 !important; box-shadow: 0 0 0 4px rgba(27, 36, 48, .08) !important; }
  header.header .header-search__search-submit-btn { width: 40px !important; height: 40px !important; border-radius: 12px !important; background: linear-gradient(135deg, #ff8a1f, #ff6a00) !important; box-shadow: 0 6px 14px rgba(255, 106, 0, .3); }

  /* иконки справа — круглые кнопки */
  header.header .basket_orders { gap: 2px !important; padding-left: 10px; border-left: 1px solid #edf1f6; }
  header.header .basket_orders .profil a, header.header .basket_orders .basket > a { min-width: 58px !important; height: 54px !important; border-radius: 16px !important; }
  header.header .basket_orders .profil a:hover, header.header .basket_orders .basket > a:hover { background: #f3f6fa !important; }
  header.header .basket_orders svg, header.header .basket_orders img { width: 24px; height: 24px; color: #1b2430 !important; }
  header.header .basket_orders .pr_text, header.header .basket_orders .bas { color: #64748b !important; font-size: 11.5px !important; }
  header.header .cart_count, header.header .favorites_count { min-width: 18px; height: 18px; line-height: 14px; font-size: 10px; box-shadow: 0 3px 8px rgba(255, 106, 0, .35); }

  /* при прокрутке — компактно */
  header.header.hdr-compact .header_top { max-height: 0; opacity: 0; border-bottom-width: 0 !important; }
  header.header.hdr-compact .container > .header_top_center { margin: 6px auto 8px; padding-top: 5px; padding-bottom: 5px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  header.header::after, .hdr-open i::after { animation: none; }
}

/* степпер количества в карточке — в одном стиле с переключателем единиц */
.fav_price_block > .fav_qty_row {
  height: 34px !important; padding: 3px !important; gap: 2px; border: 0 !important; border-radius: 10px !important; background: #eef2f7 !important;
}
.fav_price_block > .fav_qty_row .fav_qty_btn {
  position: relative; flex: 0 0 28px !important; width: 28px !important; height: 28px !important; border-radius: 8px !important;
  background: #fff !important; box-shadow: 0 1px 3px rgba(15, 30, 50, .12) !important; font-size: 0 !important; color: #1b2430 !important;
}
.fav_price_block > .fav_qty_row .fav_qty_btn::before { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 2px; background: currentColor; }
.fav_price_block > .fav_qty_row .fav_qty_plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2px; height: 10px; margin: -5px 0 0 -1px; border-radius: 2px; background: currentColor; }
.fav_price_block > .fav_qty_row .fav_qty_btn:hover { background: #12355f !important; color: #fff !important; }
.fav_price_block > .fav_qty_row .fav_qty_input { height: 28px !important; font-size: 14px !important; color: #0a2540 !important; }

/* единый шрифт: кнопки и поля ввода по умолчанию брали Arial (2026-11-28) */
button, input, select, textarea { font-family: inherit; }
@media (min-width: 1051px) {
  /* шапка: ровный белый фон, без полосы-отлива */
  header.header { background: #fff !important; box-shadow: 0 6px 24px rgba(15, 30, 50, .06) !important; }
  header.header::after { display: none !important; }
  header.header .hdr-stores, header.header .menu_icon, header.header .header-search input.search_input { font-family: inherit !important; }
  header.header .hdr-stores { font-size: 14px; font-weight: 600; }
}

/* ===== Шапка v3 (2026-11-28): на всю ширину, единый блок «Каталог + Поиск» ===== */
@media (min-width: 1051px) {
  header.header { background: #fff !important; border-bottom: 1px solid #e9eef4 !important; box-shadow: 0 4px 18px rgba(15, 30, 50, .05) !important; }
  header.header::after { display: none !important; }

  /* верхняя строка — тонкая и спокойная */
  header.header .header_top { background: #fff !important; border-bottom: 1px solid #f0f3f7 !important; }
  header.header .header_top .header_top_center { min-height: 34px; }

  /* основная строка — без капсулы */
  header.header .container > .header_top_center {
    max-width: 1400px; margin: 0 auto !important; padding: 14px 20px !important; gap: 14px !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  }
  header.header.hdr-compact .container > .header_top_center { padding-top: 10px !important; padding-bottom: 10px !important; margin: 0 auto !important; }
  header.header .logo_right { order: 1; padding-right: 6px; border-right: 0; }

  /* «Каталог» + поиск — один элемент */
  header.header .container > .header_top_center > nav.header-nav { order: 2; margin-right: -14px; z-index: 1; }
  header.header .menu_icon {
    height: 50px !important; padding: 0 22px 0 20px !important; border-radius: 14px 0 0 14px !important;
    background: #1b2430 !important; box-shadow: none !important;
  }
  header.header .menu_icon:hover { background: #26323f !important; transform: none !important; }
  header.header .container > .header_top_center > .header-search {
    order: 3; flex: 1 1 auto; height: 50px !important; margin: 0 !important;
    border: 2px solid #1b2430 !important; border-left: 0 !important; border-radius: 0 14px 14px 0 !important;
    background: #fff !important; box-shadow: none !important;
  }
  header.header .container > .header_top_center > .header-search:focus-within { border-color: #1b2430 !important; box-shadow: 0 6px 18px rgba(27, 36, 48, .12) !important; }
  header.header .header-search input.search_input { height: 46px !important; padding-left: 18px !important; font-size: 15px !important; }
  header.header .header-search__search-submit-btn { width: 42px !important; height: 38px !important; margin: 4px 4px 4px 0 !important; border-radius: 10px !important; box-shadow: none !important; }
  header.header .header-search .search_five_res.ss-box { top: calc(100% + 8px); }

  /* телефон, магазины, иконки — справа */
  header.header .container > .header_top_center > .hdr-phone-wrap { order: 4; margin: 0 0 0 10px; }
  header.header .container > .header_top_center > .hdr-stores { order: 5; margin: 0; height: 44px; border-radius: 12px; background: #fff; }
  header.header .container > .header_top_center > .basket_orders { order: 6; padding-left: 8px; border-left: 1px solid #edf1f6; }
  header.header .hdr-phone__ico { background: transparent !important; color: #16a34a !important; border: 1px solid #dcefe2; border-radius: 12px; }
  header.header .hdr-phone__txt b { font-size: 16px; color: #1b2430; }
}
@media (min-width: 1051px) and (max-width: 1500px) {
  header.header .hdr-stores__label { display: none; }
  header.header .hdr-phone__txt small { display: none; }
}
@media (min-width: 1051px) and (max-width: 1280px) {
  header.header .hdr-phone__txt { display: none; }
}

/* «Магазины» — такая же иконка с подписью, как «Войти / Избранное / Корзина» (2026-11-28) */
@media (min-width: 1051px) {
  header.header .container > .header_top_center > .hdr-stores {
    order: 6; position: relative; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 66px; height: 54px !important; margin: 0 0 0 6px !important; padding: 0 6px !important;
    border: 0 !important; border-left: 1px solid #edf1f6 !important; border-radius: 0 !important; background: transparent !important;
    color: #1b2430 !important; box-shadow: none !important;
  }
  header.header .container > .header_top_center > .hdr-stores svg { width: 24px; height: 24px; color: #1b2430; }
  header.header .container > .header_top_center > .hdr-stores:hover svg { color: #ff6a00; }
  header.header .hdr-stores .hdr-stores__label { display: block !important; color: #64748b; font-size: 11.5px; font-weight: 500; line-height: 1; }
  header.header .hdr-stores .hdr-stores__count {
    position: absolute; top: 2px; right: 12px; min-width: 18px; height: 18px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px;
    background: #1b2430 !important; color: #fff; font-size: 10px; font-weight: 700; line-height: 14px;
  }
  header.header .container > .header_top_center > .basket_orders { order: 7; padding-left: 0 !important; border-left: 0 !important; }
}

/* счётчики: корзина — зелёный, нулевые не показываем (2026-11-28) */
header.header .cart_count { background: #16a34a !important; box-shadow: 0 3px 8px rgba(22, 163, 74, .35) !important; }
.cart_count.is-zero, .favorites_count.is-zero, .mobile_bottom_nav_badge.is-zero { display: none !important; }

/* меню «Каталог» — карточка с иконками разделов */
@media (min-width: 1051px) {
  #myDropdown.dropdown-content.show {
    display: block !important; box-sizing: border-box; width: min(1400px, calc(100vw - 40px)) !important; height: auto !important; max-height: calc(100vh - 170px);
    overflow-y: auto !important; padding: 26px 28px !important; column-count: 5; column-gap: 28px;
    border: 1px solid #e6ebf2; border-radius: 20px !important; background: #fff !important; box-shadow: 0 30px 70px rgba(15, 30, 50, .18) !important;
  }
  #myDropdown .beteer_menu { display: block !important; break-inside: avoid; margin: 0 0 18px !important; padding: 0 !important; }
  #myDropdown .bet_a { display: flex !important; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px 4px; border-radius: 12px; color: #0a2540 !important; text-decoration: none; transition: background .15s; }
  #myDropdown .bet_a:hover { background: #f3f6fa; }
  #myDropdown .bet_a p { margin: 0 !important; color: #0a2540 !important; font-size: 14.5px !important; font-weight: 700 !important; line-height: 1.25; }
  #myDropdown .bet_ico { display: inline-flex; flex: 0 0 34px; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #f1f5fa; }
  #myDropdown .bet_ico img { width: 22px; height: 22px; object-fit: contain; }
  #myDropdown .bet_a:hover .bet_ico { background: #fff1e3; }
  #myDropdown .bet_a i, #myDropdown .bet_sub_li i {
    display: inline-block; margin-left: 2px; padding: 2px 7px; border-radius: 999px; background: #fff1e3 !important; color: #e8620c !important;
    font-size: 10px !important; font-style: normal; font-weight: 700; line-height: 1.4; vertical-align: middle;
  }
  #myDropdown .top_ul { display: block !important; margin: 0 0 0 44px !important; padding: 0 !important; }
  #myDropdown .bet_sub_li { display: block !important; margin: 0 !important; padding: 0 !important; }
  #myDropdown .bet_sub_li::after, #myDropdown .top_ul li::after { display: none !important; }
  #myDropdown .bet_sub_li a { display: flex !important; align-items: center; gap: 4px; padding: 4px 0; color: #5b6472 !important; font-size: 13.5px; text-decoration: none; transition: color .15s, transform .15s; }
  #myDropdown .bet_sub_li a p { margin: 0 !important; color: inherit !important; font-size: 13.5px !important; font-weight: 400 !important; }
  #myDropdown .bet_sub_li a:hover { color: #e8620c !important; transform: translateX(3px); }
}

/* ===== Единый вид количества на всём сайте (2026-11-28): как в карточках товара ===== */
#about-tov1, .quantity_mk .quantity-box, .mc-qty {
  display: inline-flex !important; align-items: center; gap: 2px; box-sizing: border-box;
  height: 38px !important; padding: 3px !important; border: 0 !important; border-radius: 10px !important;
  background: #eef2f7 !important; overflow: hidden; box-shadow: none !important;
}
.mc-qty { height: 34px !important; }
#about-tov1 .a_minus, #about-tov1 .a_plus,
.quantity_mk .quantity-box .change-quantity1,
.mc-qty .mc-qty__btn {
  position: relative; display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 32px;
  width: 32px !important; height: 32px !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 8px !important; background: #fff !important; box-shadow: 0 1px 3px rgba(15, 30, 50, .12) !important;
  color: #1b2430 !important; font-size: 0 !important; line-height: 0 !important; cursor: pointer; user-select: none; transition: background .15s, color .15s;
}
.mc-qty .mc-qty__btn { flex-basis: 28px; width: 28px !important; height: 28px !important; }
#about-tov1 .a_minus::before, #about-tov1 .a_plus::before,
.quantity_mk .quantity-box .change-quantity1::before,
.mc-qty .mc-qty__btn::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; border-radius: 2px; background: currentColor;
}
#about-tov1 .a_plus::after,
.quantity_mk .quantity-box .a_plus::after,
.mc-qty .mc-qty__btn[data-mc-step="1"]::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 2px; height: 10px; margin: -5px 0 0 -1px; border-radius: 2px; background: currentColor;
}
.quantity_mk .quantity-box .change-quantity1 svg { display: none !important; }
#about-tov1 .a_minus:hover, #about-tov1 .a_plus:hover,
.quantity_mk .quantity-box .change-quantity1:hover,
.mc-qty .mc-qty__btn:hover { background: #12355f !important; color: #fff !important; }
#about-tov1 .pr_count, .quantity_mk .quantity-box input.rounded, .mc-qty .mc-qty__val {
  flex: 1 1 auto; box-sizing: border-box; width: 56px !important; min-width: 40px; height: 32px !important; margin: 0 !important; padding: 0 4px !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: #0a2540 !important; font-size: 15px !important; font-weight: 700 !important; line-height: 32px; text-align: center; -moz-appearance: textfield;
}
.mc-qty .mc-qty__val { min-width: 36px; width: auto !important; font-size: 14px !important; line-height: 28px; height: 28px !important; }
#about-tov1 .pr_count::-webkit-outer-spin-button, #about-tov1 .pr_count::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity_mk .quantity-box > span:not(.change-quantity1) { display: contents; }

/* меню «Каталог»: разделители колонок и белые иконки в рамке */
@media (min-width: 1051px) {
  #myDropdown.dropdown-content.show { column-rule: 1px solid #edf1f6; column-gap: 40px; }
  #myDropdown .bet_ico { background: #fff !important; border: 1px solid #e3e8ef; box-shadow: 0 2px 6px rgba(15, 30, 50, .05); }
  #myDropdown .bet_a:hover .bet_ico { background: #fff !important; border-color: #ffb46b; }
}
/* телефон — по центру между поиском и иконками */
@media (min-width: 1051px) {
  header.header .container > .header_top_center > .header-search { flex: 1 1 auto; max-width: 560px; }
  header.header .container > .header_top_center > .hdr-phone-wrap { margin-left: auto !important; margin-right: auto !important; }
}
/* компактнее по вертикали */
@media (min-width: 1051px) {
  header.header .container > .header_top_center { padding-top: 8px !important; padding-bottom: 8px !important; }
}
.hdr-phone-wrap .hdr-phone__txt, .hdr-phone-wrap .hdr-phone__txt small, .hdr-phone-wrap .hdr-phone__txt b { text-align: center !important; }
/* «Магазины» — контурная иконка как у соседних, без бейджа и разделителя */
@media (min-width: 1051px) {
  header.header .container > .header_top_center > .hdr-stores { border-left: 0 !important; margin-left: 0 !important; min-width: 62px; }
  header.header .container > .header_top_center > .hdr-stores svg { width: 25px !important; height: 25px !important; color: #1b2430 !important; }
  header.header .hdr-stores .hdr-stores__count { display: none !important; }
  header.header .container > .header_top_center > .hdr-stores:hover { background: #f3f6fa !important; border-radius: 16px !important; }
  header.header .container > .header_top_center > .hdr-stores:hover svg { color: #1b2430 !important; }
}
/* счётчики — ровный круг */
header.header .cart_count, header.header .favorites_count {
  display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
  width: 20px !important; min-width: 20px !important; height: 20px !important; padding: 0 !important;
  border-radius: 50% !important; font-size: 10px !important; line-height: 1 !important;
}
header.header .cart_count.is-zero, header.header .favorites_count.is-zero { display: none !important; }

/* карточка: «На сумму / Вес / Длина» — одной компактной плашкой (2026-11-28) */
.fav_price_block > .deatil_praduct {
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; box-sizing: border-box;
  margin: 0 0 10px !important; padding: 8px 10px !important; border-radius: 10px; background: #f6f8fb; line-height: 1.2;
}
.fav_price_block > .deatil_praduct .tot_price { display: flex !important; align-items: baseline; gap: 5px; flex: 1 1 auto; margin: 0 !important; }
.fav_price_block > .deatil_praduct .tot_price span { color: #64748b !important; font-size: 12px !important; }
.fav_price_block > .deatil_praduct .tot_price b { color: #0a2540 !important; font-size: 16px !important; font-weight: 700; }
.fav_price_block > .deatil_praduct .tot1 {
  display: inline-flex !important; align-items: center; gap: 3px; margin: 0 !important; padding: 3px 8px; border-radius: 999px;
  background: #fff; border: 1px solid #e6ebf2; color: #475569; font-size: 11.5px !important; white-space: nowrap;
}
.fav_price_block > .deatil_praduct .tot1 span { color: #8a94a6 !important; font-size: 11.5px !important; }
.fav_price_block > .deatil_praduct .tot1 b { color: #1b2430 !important; font-size: 11.5px !important; font-weight: 600 !important; }
.fav_price_block > .deatil_praduct { flex-direction: row !important; }
.fav_price_block > .deatil_praduct .tot_price { flex: 1 1 100% !important; }
