/* ============================================================
   TELETEN.RU — дизайн-система
   Шрифты: Unbounded (заголовки), Manrope (текст)
   ============================================================ */

:root {
  --navy: #0A1122;
  --navy-2: #0D1830;
  --panel: #12203E;
  --blue: #2E6BFF;
  --cyan: #22D3EE;
  --grad: linear-gradient(135deg, #2E6BFF 0%, #22D3EE 100%);
  --grad-soft: linear-gradient(135deg, rgba(46,107,255,.12), rgba(34,211,238,.12));
  --bg: #F4F6FB;
  --card: #ffffff;
  --text: #101A2E;
  --muted: #5C6B85;
  --line: #E3E9F4;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(16, 26, 46, .08);
  --shadow-lg: 0 24px 60px rgba(16, 26, 46, .16);
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  background: var(--grad);
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 24px rgba(46, 107, 255, .35);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46, 107, 255, .45);
  filter: brightness(1.06);
}

.btn:active { transform: translateY(0); }

.btn_outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  box-shadow: none;
}

.btn_outline:hover {
  border-color: var(--cyan);
  box-shadow: 0 10px 26px rgba(34, 211, 238, .2);
}

.btn_dark-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.btn_dark-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 10px 26px rgba(46, 107, 255, .15);
}

.btn_sm { padding: 11px 20px; font-size: 14px; border-radius: 12px; }

.btn_wide { width: 100%; }

/* ---------- Заголовки секций ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section { padding: 88px 0; }

.section_tight { padding: 64px 0; }

.section_dark { background: var(--navy); color: #fff; }

.section_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.section_head h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.section_head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
}

.section_dark .section_head p { color: rgba(255, 255, 255, .6); }

/* ---------- Reveal-анимации ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
}

.reveal_visible {
  opacity: 1;
  transform: none;
}

.reveal_d1 { transition-delay: .08s; }
.reveal_d2 { transition-delay: .16s; }
.reveal_d3 { transition-delay: .24s; }
.reveal_d4 { transition-delay: .32s; }

/* ============================================================
   ШАПКА
   ============================================================ */

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar_in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 40px;
}

.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--cyan); }

.topbar_group { display: flex; align-items: center; gap: 24px; }

.topbar_item { display: inline-flex; align-items: center; gap: 8px; }

.topbar_item svg { flex: none; opacity: .7; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-2);
  color: #fff;
  transition: box-shadow .3s ease;
}

.header_scrolled { box-shadow: 0 12px 40px rgba(5, 10, 25, .5); }

.header_in {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 84px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Нижний ряд шапки: каталог + навигация */

.header_nav_row {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.header_nav_in {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
}

.header_cta { margin-left: auto; }

/* Логотип */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo_mark { width: 44px; height: 44px; flex: none; }

.logo_text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo_name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
}

.logo_name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo_tag {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

/* Кнопка каталога */

.catalog_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  transition: filter .2s, transform .2s;
  flex: none;
}

.catalog_btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.catalog_btn_burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.catalog_btn_burger span {
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

.catalog_open .catalog_btn_burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.catalog_open .catalog_btn_burger span:nth-child(2) { opacity: 0; }
.catalog_open .catalog_btn_burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Мега-меню каталога */

.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  color: var(--text);
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow-lg);
  padding: 34px 0 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.catalog_open .megamenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.megamenu_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 28px;
}

.megamenu_col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.megamenu_col a {
  display: block;
  padding: 7px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: color .15s, transform .15s;
}

.megamenu_col a:hover { color: var(--blue); transform: translateX(4px); }

.megamenu_col a span { color: var(--muted); font-weight: 500; font-size: 13px; }

.megamenu_brands {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.megamenu_brands_label {
  flex: none;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 9px;
}

.megamenu_brands_row { display: flex; flex-wrap: wrap; gap: 8px; }

.megamenu_brands_row a {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: all .2s;
}

.megamenu_brands_row a span { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 3px; }

.megamenu_brands_row a:hover { border-color: var(--blue); color: var(--blue); }

/* Навигация */

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  padding: 10px 13px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  border-radius: 10px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .08); }

/* Поиск */

.search {
  position: relative;
  flex: 1;
  min-width: 180px;
}

.search input {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.search input::placeholder { color: rgba(255, 255, 255, .45); }

.search input:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
}

.search_btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(255, 255, 255, .7);
  transition: background .2s, color .2s;
}

.search_btn:hover { background: var(--grad); color: #fff; }

.search_suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 50;
}

.search_suggest.visible { display: block; }

.search_suggest .suggest_group {
  padding: 8px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.search_suggest .suggest_cat { font-weight: 600; color: var(--blue); }

.search_suggest a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
}

.search_suggest a:hover { background: var(--bg); }

.search_suggest a svg { color: var(--blue); flex: none; }

/* Телефон и «Перезвоните мне» в шапке */

.header_phone { text-align: right; flex: none; }

.header_phone > a[data-city-phone] {
  display: block;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: .01em;
  transition: color .2s;
}

.header_phone > a[data-city-phone]:hover { color: var(--cyan); }

.callback_link {
  display: inline-block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
  border-bottom: 1px dashed rgba(34, 211, 238, .5);
  transition: color .2s, border-color .2s;
}

.callback_link:hover { color: #fff; border-color: #fff; }

/* Выбор города */

.city { position: relative; flex: none; }

.city_current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}

.city_current:hover { border-color: var(--cyan); }

.city_current svg { color: var(--cyan); }

.city_chevron { transition: transform .25s; }

.city.open .city_chevron { transform: rotate(180deg); }

.city_list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 60;
}

.city.open .city_list { display: block; }

.city_list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: background .15s, color .15s;
}

.city_list button:hover { background: var(--bg); color: var(--blue); }

.city_list button.active { background: var(--grad-soft); color: var(--blue); }

/* Корзина */

.cart_wrap { position: relative; flex: none; }

.cart_btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  display: grid;
  place-items: center;
  transition: border-color .2s, background .2s;
}

.cart_btn:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .1); }

.cart_count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(46, 107, 255, .5);
}

.cart_drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: none;
  z-index: 60;
}

.cart_wrap.open .cart_drop { display: block; }

.cart_drop_title { font-weight: 800; font-size: 15px; margin-bottom: 8px; }

.cart_drop_text { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }

/* Бургер (мобильный) */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  place-items: center;
  flex: none;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform .3s, opacity .3s;
}

.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(6px) rotate(45deg); }
.burger.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Мобильная навигация */

.mobile_nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--navy-2);
  z-index: 200;
  padding: 90px 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
}

.mobile_nav.open { transform: none; }

.mobile_nav a {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mobile_nav .mobile_nav_sub a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  padding: 9px 0 9px 14px;
  border: none;
}

.mobile_nav_close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.mobile_nav_city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}

.mobile_nav_city span { font-size: 13px; color: rgba(255, 255, 255, .55); font-weight: 600; }

.mobile_nav_city select {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.mobile_nav_city select option { color: var(--text); }

.mobile_nav_contacts { margin-top: 26px; }

.mobile_nav_contacts a { border: none; padding: 4px 0; }

.mobile_nav_contacts span { color: rgba(255, 255, 255, .5); font-size: 13px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 25, .6);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.overlay.visible { opacity: 1; visibility: visible; }

/* ============================================================
   ГЛАВНАЯ — HERO-СЛАЙДЕР
   ============================================================ */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero_slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero_slide.active { opacity: 1; pointer-events: auto; }

.hero_slide_bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6s ease;
}

.hero_slide.active .hero_slide_bg { transform: scale(1); }

.hero_slide_bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 13, 30, .96) 22%, rgba(7, 13, 30, .78) 52%, rgba(7, 13, 30, .35) 100%);
}

.hero_grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 107, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 107, 255, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero_in {
  position: relative;
  z-index: 2;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 84px;
  padding-bottom: 120px;
}

.hero_badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(34, 211, 238, .35);
  background: rgba(34, 211, 238, .08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 26px;
  width: fit-content;
}

.hero_badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .5); }
  50% { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  max-width: 780px;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero_sub {
  max-width: 560px;
  font-size: 17px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 36px;
}

/* Быстрый подбор в hero */

.picker {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  max-width: 900px;
  margin-bottom: 44px;
}

.picker_field {
  flex: 1;
  min-width: 0;
  position: relative;
}

.picker_field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin: 6px 0 2px 14px;
}

.picker_field select,
.picker_field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 14px 8px;
}

.picker_field select option { color: var(--text); }

.picker_field input::placeholder { color: rgba(255, 255, 255, .4); font-weight: 500; }

.picker_field + .picker_field { border-left: 1px solid rgba(255, 255, 255, .12); }

.picker .btn { flex: none; align-self: center; }

/* Статистика hero */

.hero_stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 30px;
  max-width: 900px;
}

.hero_stat { flex: 1; padding-right: 24px; }

.hero_stat + .hero_stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }

.hero_stat_num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.hero_stat_label {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* Управление слайдером */

.hero_nav {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero_counter {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .1em;
}

.hero_counter b { color: #fff; font-size: 18px; }

.hero_arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .25s, border-color .25s, transform .25s;
}

.hero_arrow:hover { background: var(--grad); border-color: transparent; transform: scale(1.06); }

/* ============================================================
   ГЛАВНАЯ — ПРЕИМУЩЕСТВА
   ============================================================ */

.adv_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv_card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}

.adv_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.adv_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.adv_card:hover::before { transform: scaleX(1); }

.adv_icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: background .3s, color .3s;
}

.adv_card:hover .adv_icon { background: var(--grad); color: #fff; }

.adv_card h3 {
  font-size: 17.5px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
}

.adv_card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   ГЛАВНАЯ — КАТАЛОГ КАТЕГОРИЙ
   ============================================================ */

.cats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat_card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 4.6;
  display: flex;
  align-items: flex-end;
  transition: transform .35s ease, box-shadow .35s ease;
}

.cat_card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.cat_card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.cat_card:hover img { transform: scale(1.07); }

.cat_card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 34, 0) 34%, rgba(10, 17, 34, .92) 100%);
}

.cat_card_in {
  position: relative;
  z-index: 2;
  padding: 22px;
  width: 100%;
}

.cat_card_count {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cat_card h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}

.cat_card_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .75);
  transition: color .2s, gap .2s;
}

.cat_card:hover .cat_card_link { color: var(--cyan); gap: 12px; }

/* ============================================================
   ГЛАВНАЯ — ТЁМНАЯ СЕКЦИЯ ПОДБОРА (CTA)
   ============================================================ */

.cta_band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy-2);
  color: #fff;
  padding: 60px 64px;
}

.cta_band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 90% at 85% 20%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(ellipse 40% 80% at 10% 90%, rgba(46, 107, 255, .22), transparent 60%);
}

.cta_band_in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }

.cta_band h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta_band p { color: rgba(255, 255, 255, .65); max-width: 460px; }

.cta_band_list { margin-top: 24px; display: grid; gap: 12px; }

.cta_band_list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
}

.cta_band_list svg { color: var(--cyan); flex: none; }

/* Форма */

.form_card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.form_card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }

.form_card > p { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }

.form_row { margin-bottom: 14px; }

.form_row input,
.form_row textarea,
.form_row select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.form_row select option { color: var(--text); }

.form_row input::placeholder,
.form_row textarea::placeholder { color: rgba(255, 255, 255, .4); }

.form_row input:focus,
.form_row textarea:focus,
.form_row select:focus { border-color: var(--cyan); background: rgba(255, 255, 255, .1); }

.form_row textarea { resize: vertical; min-height: 90px; }

.form_agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  margin: 16px 0 20px;
  line-height: 1.5;
}

.form_agree input { margin-top: 3px; accent-color: var(--blue); }

.form_success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form_success.visible { display: block; }

.form_success_icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
}

.form_success h4 { font-size: 19px; margin-bottom: 8px; }

.form_success p { font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Светлая форма (для страниц) */

.form_card_light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.form_card_light > p { color: var(--muted); }

.form_card_light .form_row input,
.form_card_light .form_row textarea,
.form_card_light .form_row select {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text);
}

.form_card_light .form_row input::placeholder,
.form_card_light .form_row textarea::placeholder { color: #9AA7BD; }

.form_card_light .form_row input:focus,
.form_card_light .form_row textarea:focus { border-color: var(--blue); background: #fff; }

.form_card_light .form_agree { color: var(--muted); }

.form_card_light .form_success p { color: var(--muted); }

/* ============================================================
   ГЛАВНАЯ — ГОТОВЫЕ РЕШЕНИЯ (слайдер)
   ============================================================ */

.sol_slider { position: relative; }

.sol_track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.sol_track::-webkit-scrollbar { display: none; }

.sol_card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.sol_card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.sol_card_img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }

.sol_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.sol_card:hover .sol_card_img img { transform: scale(1.06); }

.sol_card_tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(10, 17, 34, .72);
  backdrop-filter: blur(6px);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sol_card_in { padding: 24px; display: flex; flex-direction: column; flex: 1; }

.sol_card_in h3 {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.sol_card_in h3 a { color: inherit; transition: color .25s; }

.sol_card_in h3 a:hover,
.sol_card:hover .sol_card_in h3 a { color: var(--blue); }

.sol_card_in p { font-size: 14px; color: var(--muted); margin-bottom: 18px; flex: 1; }

.sol_card_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
}

.sol_card_meta span { color: var(--muted); font-weight: 600; }

.slider_arrows { display: flex; gap: 10px; }

.slider_arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: all .25s;
}

.slider_arrow:hover { background: var(--grad); border-color: transparent; color: #fff; }

/* ============================================================
   ГЛАВНАЯ — БРЕНДЫ (бегущая строка)
   ============================================================ */

.brands { overflow: hidden; }

.brands_marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.brands:hover .brands_marquee { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand_chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 0 38px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color .25s, border-color .25s, transform .25s;
}

.brand_chip:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

/* ============================================================
   ГЛАВНАЯ — КАК МЫ РАБОТАЕМ
   ============================================================ */

.steps_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step_card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, transform .3s;
}

.step_card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }

.step_num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 18px;
}

.step_card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 10px; color: #fff; }

.step_card p { font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ============================================================
   ГЛАВНАЯ — СКЛАД / ДОСТАВКА (сплит)
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split_img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split_img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }

.split_img_badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(10, 17, 34, .82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  border-radius: 16px;
  padding: 16px 22px;
}

.split_img_badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split_img_badge span { font-size: 13px; color: rgba(255, 255, 255, .7); }

.split_content h2 { margin-bottom: 18px; }

.split_content > p { color: var(--muted); margin-bottom: 26px; }

.check_list { display: grid; gap: 14px; margin-bottom: 32px; }

.check_list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 600;
}

.check_list li span { color: var(--muted); font-weight: 500; }

.check_icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ============================================================
   ГЛАВНАЯ — FAQ
   ============================================================ */

.faq_list { max-width: 860px; margin: 0 auto; }

.faq_item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.faq_item.open { border-color: var(--blue); box-shadow: var(--shadow); }

.faq_q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  color: var(--text);
}

.faq_q_icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: transform .3s, background .3s, color .3s;
}

.faq_item.open .faq_q_icon { transform: rotate(45deg); background: var(--grad); color: #fff; }

.faq_a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq_a_in {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   ФУТЕР
   ============================================================ */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .65);
  margin-top: 0;
}

.footer_cta {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 64px 0;
}

.footer_cta_in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.footer_cta h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
}

.footer_cta p { max-width: 440px; font-size: 15px; }

.footer_main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0;
}

.footer_col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer_col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  transition: color .2s, transform .2s;
}

.footer_col a:hover { color: var(--cyan); transform: translateX(4px); }

.footer_about { font-size: 14px; margin: 18px 0 22px; max-width: 300px; }

.footer_contacts li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; }

.footer_contacts svg { flex: none; color: var(--cyan); margin-top: 3px; }

.footer_contacts a { display: inline; padding: 0; font-weight: 700; color: #fff; }

.footer_contacts a:hover { color: var(--cyan); }

.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

.footer_bottom a:hover { color: var(--cyan); }

/* Кнопка наверх */

.to_top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(46, 107, 255, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
  z-index: 90;
}

.to_top.visible { opacity: 1; visibility: visible; transform: none; }

.to_top:hover { transform: translateY(-3px); }

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — общее
   ============================================================ */

.page_head {
  background: var(--navy);
  color: #fff;
  padding: 52px 0 56px;
  position: relative;
  overflow: hidden;
}

.page_head::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 90% at 90% 10%, rgba(34, 211, 238, .14), transparent 60%),
    radial-gradient(ellipse 40% 80% at 5% 100%, rgba(46, 107, 255, .18), transparent 60%);
}

.page_head .container { position: relative; z-index: 2; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--cyan); }

.breadcrumbs a:not(:first-child)::before,
.breadcrumbs span::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, .3); }

.page_head h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  max-width: 800px;
}

.page_head p {
  margin-top: 16px;
  max-width: 620px;
  color: rgba(255, 255, 255, .65);
  font-size: 16px;
}

/* ============================================================
   КАТАЛОГ (catalog.html)
   ============================================================ */

.filter_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter_chip {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all .25s;
}

.filter_chip:hover { border-color: var(--blue); color: var(--blue); }

.filter_chip_count { color: var(--muted); font-weight: 500; font-size: 12.5px; margin-left: 4px; }

.filter_chip.active .filter_chip_count { color: rgba(255, 255, 255, .85); }

.filter_chip.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 107, 255, .3);
}

.catalog_groups { display: grid; gap: 44px; }

.catalog_group_head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog_group_head h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.catalog_group_head span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 12px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
}

.catalog_cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.catalog_item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.catalog_item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.catalog_item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.catalog_item:hover::after { transform: scaleX(1); }

.catalog_item h3 { font-size: 15.5px; font-weight: 800; line-height: 1.35; }

.catalog_item span { font-size: 13px; color: var(--muted); }

.catalog_item_brand {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ============================================================
   КАТЕГОРИЯ (category.html)
   ============================================================ */

.cat_layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
}

.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 160px;
}

.filters h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filters_reset { font-size: 12.5px; color: var(--blue); font-weight: 700; }

/* Сайдбар страницы бренда: категории бренда вместо фильтров */
.brand_cats {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 160px;
}

.brand_cats h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

.brand_cats_all {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
}

.brand_cats_all span,
.brand_cats_link span { color: var(--muted); font-weight: 500; }

.brand_cats_group { border-top: 1px solid var(--line); padding: 14px 0; }

.brand_cats_group h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.brand_cats_link {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.brand_cats_link:hover { color: var(--blue); }

.filters_group { border-top: 1px solid var(--line); padding: 18px 0; }

.filters_group:first-of-type { border: none; padding-top: 0; }

.filters_group h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

.check input { display: none; }

.check_box {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: transparent;
  transition: all .2s;
}

.check input:checked + .check_box {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.check span { color: var(--muted); font-size: 13px; margin-left: auto; }

.price_range { display: flex; gap: 10px; }

.price_range input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-size: 14px;
  outline: none;
}

.price_range input:focus { border-color: var(--blue); }

/* Тулбар категории */

.cat_toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.cat_count { font-size: 14.5px; color: var(--muted); }

.cat_count b { color: var(--text); }

.sort select {
  padding: 11px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Карточка товара */

.products_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.product_card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product_card_img {
  position: relative;
  aspect-ratio: 1 / .82;
  background: #fff;
  overflow: hidden;
}

.product_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product_card:hover .product_card_img img { transform: scale(1.05); }

.product_card_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--grad);
  color: #fff;
}

.product_card_badge.stock { background: #0FB981; }

.product_card_in { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

.product_card_brand {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.product_card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product_card h3 a:hover { color: var(--blue); }

.product_card_art { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }

.product_card_bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product_price { font-size: 17px; font-weight: 800; }

.product_price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }

.product_price.request { font-size: 14px; color: var(--blue); }

.products_grid_4 { grid-template-columns: repeat(4, 1fr); }

/* Пагинация */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 14.5px;
  font-weight: 700;
  transition: all .2s;
}

.pagination a:hover { border-color: var(--blue); color: var(--blue); }

.pagination .current {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

/* ============================================================
   КАРТОЧКА ТОВАРА (product.html)
   ============================================================ */

.product_layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.gallery { position: sticky; top: 160px; }

.gallery_main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 1 / .88;
  cursor: crosshair;
}

.gallery_main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery_lens {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(46, 107, 255, .6);
  background: rgba(46, 107, 255, .06);
  pointer-events: none;
  display: none;
  transform: translate(-50%, -50%);
  z-index: 5;
}

#zoomResultGlobal {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff no-repeat;
  display: none;
  z-index: 300;
  pointer-events: none;
}

.gallery_thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.gallery_thumb {
  width: 88px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #fff;
  transition: border-color .2s;
  padding: 0;
}

.gallery_thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery_thumb.active,
.gallery_thumb:hover { border-color: var(--blue); }

/* Инфо о товаре */

.product_info_brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.product_info h1 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
}

.product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
}

.product_meta b { color: var(--text); }

.stock_ok { color: #0FB981; font-weight: 700; }

.product_price_box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 22px;
}

.product_price_row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product_price_now {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
}

.product_price_now small { font-size: 15px; color: var(--muted); font-family: var(--font-body); font-weight: 600; }

.product_price_note { font-size: 12.5px; color: var(--muted); text-align: right; line-height: 1.5; }

.product_actions { display: flex; gap: 10px; }

.product_qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.product_qty button {
  width: 42px;
  height: 48px;
  font-size: 19px;
  color: var(--muted);
  transition: color .2s, background .2s;
}

.product_qty button:hover { color: var(--blue); background: var(--bg); }

.product_qty input {
  width: 52px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 800;
  font-size: 15px;
}

.product_props { display: grid; gap: 10px; margin-bottom: 26px; }

.product_props li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.product_props li span { color: var(--muted); }
.product_props li b { text-align: right; }

.product_delivery_note {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--grad-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.product_delivery_note svg { color: var(--blue); flex: none; }

/* Табы товара */

.tabs { margin-top: 56px; }

.tabs_head {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  overflow-x: auto;
}

.tabs_btn {
  position: relative;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}

.tabs_btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .3s;
}

.tabs_btn:hover { color: var(--text); }

.tabs_btn.active { color: var(--text); }

.tabs_btn.active::after { transform: scaleX(1); }

.tabs_pane { display: none; animation: fadeUp .4s ease; }

.tabs_pane.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.spec_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.spec_table tr:nth-child(odd) { background: var(--bg); }

.spec_table td {
  padding: 13px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}

.spec_table td:first-child { color: var(--muted); width: 42%; }

.spec_table td:last-child { font-weight: 700; }

.docs_list { display: grid; gap: 12px; max-width: 640px; }

.docs_list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  transition: all .25s;
}

.docs_list a:hover { border-color: var(--blue); transform: translateX(4px); }

.docs_list a svg { color: var(--blue); flex: none; }

.docs_list a span { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ============================================================
   РЕШЕНИЯ / О КОМПАНИИ / ДОСТАВКА / КОНТАКТЫ
   ============================================================ */

.sol_page_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.numbers_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.number_card {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}

.number_card b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.number_card span { font-size: 14px; color: rgba(255, 255, 255, .6); }

.info_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .3s, box-shadow .3s;
}

.info_card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.info_card h3 { font-size: 17px; font-weight: 800; margin: 16px 0 10px; }

.info_card p { font-size: 14.5px; color: var(--muted); }

.info_card ul { margin-top: 12px; display: grid; gap: 8px; }

.info_card ul li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.info_card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad);
}

/* Контакты */

.contacts_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact_block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 18px;
}

.contact_block h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.contact_block .big {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  transition: color .2s;
}

.contact_block a.big:hover { color: var(--blue); }

.contact_block p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.map_stub {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-2);
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .7);
}

.map_stub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 107, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 107, 255, .12) 1px, transparent 1px);
  background-size: 44px 44px;
}

.map_pin {
  position: relative;
  z-index: 2;
  text-align: center;
}

.map_pin_icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  animation: pulse 2s infinite;
}

.map_pin b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

/* Текстовая страница */

.text_page { max-width: 860px; }

.text_page h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
}

.text_page h2:first-child { margin-top: 0; }

.text_page p { color: var(--muted); margin-bottom: 14px; }

.text_page ul { margin: 0 0 18px; display: grid; gap: 10px; }

.text_page ul li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
}

.text_page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
}

.text_page ul li b { color: var(--text); }

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1180px) {
  .nav { display: none; }
  .search { max-width: 260px; }
  .megamenu_grid { grid-template-columns: repeat(3, 1fr); }
  .adv_grid { grid-template-columns: repeat(2, 1fr); }
  .cats_grid { grid-template-columns: repeat(3, 1fr); }
  .catalog_cards { grid-template-columns: repeat(3, 1fr); }
  .steps_grid { grid-template-columns: repeat(2, 1fr); }
  .numbers_grid { grid-template-columns: repeat(2, 1fr); }
  .products_grid { grid-template-columns: repeat(2, 1fr); }
  .products_grid_4 { grid-template-columns: repeat(2, 1fr); }
  .sol_card { flex-basis: calc(50% - 10px); }
}

@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .topbar_group.hide_m { display: none; }
  .header_phone { display: none; }
  .city { display: none; }
  .header_nav_row { display: none; }
  .burger { display: grid; }
  .mobile_nav { display: block; }
  .header_in { flex-wrap: wrap; gap: 14px; padding-top: 12px; padding-bottom: 0; }
  .search { flex: 1 1 100%; order: 5; max-width: none; margin: 2px 0 12px; }
  .search input { height: 48px; }
  .cart_btn { width: 46px; height: 46px; margin-left: auto; }
  .megamenu { display: none; }
  .hero_in { min-height: 0; padding-top: 70px; padding-bottom: 130px; }
  .picker { flex-direction: column; gap: 4px; }
  .picker_field + .picker_field { border-left: none; border-top: 1px solid rgba(255, 255, 255, .12); }
  .picker .btn { margin-top: 8px; }
  .hero_stats { flex-wrap: wrap; gap: 22px 0; }
  .hero_stat { flex: 0 0 50%; }
  .hero_stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .hero_nav { bottom: 30px; }
  .cta_band { padding: 44px 30px; }
  .cta_band_in { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer_cta_in { grid-template-columns: 1fr; gap: 34px; }
  .footer_main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cat_layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .brand_cats { position: static; }
  .product_layout { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  #zoomResultGlobal { display: none !important; }
  .contacts_grid { grid-template-columns: 1fr; }
  .sol_page_grid { grid-template-columns: 1fr; }
  .info_cards { grid-template-columns: 1fr 1fr; }
  .section_head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .adv_grid,
  .cats_grid,
  .catalog_cards,
  .steps_grid,
  .numbers_grid,
  .products_grid,
  .products_grid_4,
  .info_cards { grid-template-columns: 1fr; }
  .sol_card { flex-basis: 86%; }
  .footer_main { grid-template-columns: 1fr; }
  .footer_bottom { flex-direction: column; text-align: center; }
  .hero_stat { flex: 0 0 100%; padding-left: 0 !important; border-left: none !important; }
  .product_actions { flex-wrap: wrap; }
  .product_actions .btn { flex: 1 1 100%; }
  .topbar { display: none; }
  .cat_card { aspect-ratio: 4 / 3.4; }
  .logo_tag { display: none; }
  .logo_name { font-size: 18px; }
  .to_top { right: 16px; bottom: 16px; }
}

/* ============================================================
   ПРАВКИ v2 — hero-заголовки на слайдах
   ============================================================ */

.hero_titles {
  position: relative;
  min-height: clamp(230px, 24vw, 300px);
  margin-bottom: 30px;
}

.hero_title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  pointer-events: none;
}

.hero_title.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero_title .hero_sub { margin-bottom: 0; }

/* ============================================================
   ПРАВКИ v2 — чат-помощник
   ============================================================ */

.chat {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 250;
}

.chat_btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(46, 107, 255, .45);
  transition: transform .25s;
}

.chat_btn:hover { transform: scale(1.07); }

.chat_btn_dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0FB981;
  border: 2.5px solid #fff;
}

.chat_window {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(5, 10, 25, .35);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chat.open .chat_window { display: flex; animation: chatUp .3s ease; }

@keyframes chatUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.chat_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--navy-2);
  color: #fff;
}

.chat_head_info { display: flex; align-items: center; gap: 12px; }

.chat_avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  flex: none;
}

.chat_head_info b { display: block; font-size: 14.5px; }

.chat_head_info span {
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat_head_info span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0FB981;
}

.chat_close { color: rgba(255, 255, 255, .6); font-size: 16px; padding: 6px; transition: color .2s; }

.chat_close:hover { color: #fff; }

.chat_msgs {
  padding: 18px;
  min-height: 180px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.chat_msg {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

.chat_msg.bot {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat_msg.user {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat_chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.chat_chips button {
  padding: 8px 13px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  transition: all .2s;
}

.chat_chips button:hover { border-color: var(--blue); background: var(--grad-soft); }

.chat_input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat_input input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.chat_input input:focus { border-color: var(--blue); }

.chat_input button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: filter .2s;
}

.chat_input button:hover { filter: brightness(1.1); }

/* ============================================================
   ПРАВКИ v2 — модальное окно
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal_overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 25, .72);
  backdrop-filter: blur(4px);
}

.modal_card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  animation: modalUp .3s ease;
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.modal_card .form_card { border: none; padding: 0; background: transparent; }

.modal_close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg);
  color: var(--muted);
  font-size: 15px;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
  z-index: 2;
}

.modal_close:hover { background: var(--line); color: var(--text); }

/* ============================================================
   ПРАВКИ v2 — тост
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 80px);
  background: var(--navy-2);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(5, 10, 25, .4);
  z-index: 500;
  opacity: 0;
  transition: transform .35s cubic-bezier(.22, .8, .3, 1), opacity .35s;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.visible { transform: translate(-50%, 0); opacity: 1; }

.toast svg { color: #0FB981; flex: none; }

/* ============================================================
   ПРАВКИ v2 — каталог: крупные карточки, заметные бренды
   ============================================================ */

.catalog_cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }

.catalog_item { padding: 26px; gap: 10px; }

.catalog_item_brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog_item_brands span {
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--grad-soft);
  border: 1px solid rgba(46, 107, 255, .25);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.catalog_item h3 { font-size: 17.5px; }

.catalog_item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.catalog_item_count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--blue);
  margin-top: 4px;
  transition: gap .2s;
}

.catalog_item:hover .catalog_item_count { gap: 12px; }

.catalog_seo {
  margin-top: 60px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
}

.catalog_seo h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.catalog_seo p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

.catalog_seo p:last-child { margin-bottom: 0; }

/* ============================================================
   ПРАВКИ v2 — фильтры категории: счётчики серее
   ============================================================ */

.check span {
  color: #A6B1C4;
  font-size: 13px;
  font-weight: 500;
  margin-left: 6px;
}

/* ============================================================
   ПРАВКИ v2 — карточка товара: бренд, детали без табов
   ============================================================ */

.product_brand_row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.product_brand_chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1.5px solid rgba(46, 107, 255, .3);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product_brand_chip svg { flex: none; }

.product_analog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px dashed rgba(46, 107, 255, .45);
  background: var(--grad-soft);
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 800;
  transition: all .25s;
  margin-bottom: 22px;
}

.product_analog:hover { background: var(--grad); color: #fff; border-style: solid; }

.product_details {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  margin-top: 56px;
  align-items: start;
}

.product_details h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 18px;
}

.product_docs { margin-top: 44px; }

.product_docs h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 18px;
}

.product_docs .docs_list {
  max-width: none;
  grid-template-columns: repeat(2, 1fr);
}

/* Слайдер похожих товаров */

.products_track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.products_track::-webkit-scrollbar { display: none; }

.products_track .product_card {
  flex: 0 0 calc(25% - 14px);
  scroll-snap-align: start;
}

.related_more { text-align: center; margin-top: 34px; }

/* ============================================================
   ПРАВКИ v2 — доставка: шаги с картинками
   ============================================================ */

.dsteps_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dstep_card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.dstep_card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.dstep_img { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }

.dstep_img img { width: 100%; height: 100%; object-fit: cover; }

.dstep_num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.dstep_card_in { padding: 20px 22px 24px; }

.dstep_card_in h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; }

.dstep_card_in p { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   ПРАВКИ v2 — о компании: фон шапки, крупные цифры
   ============================================================ */

.page_head_bg {
  background-size: cover;
  background-position: center;
}

.page_head_bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 13, 30, .88) 25%, rgba(7, 13, 30, .30) 100%);
  z-index: 1;
}

.number_card b {
  font-size: clamp(32px, 3.8vw, 46px);
}

/* число внутри b — наследовать размер (иначе правило .number_card span сжимает цифру) */
.number_card b span {
  font-size: inherit;
  color: inherit;
}

/* to_top выше чата */

.to_top { bottom: 100px; }

/* ============================================================
   ПРАВКИ v2 — адаптив
   ============================================================ */

@media (max-width: 1180px) {
  .catalog_cards { grid-template-columns: repeat(2, 1fr); }
  .products_track .product_card { flex-basis: calc(33.333% - 12px); }
  .dsteps_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero_titles { min-height: 300px; }
  .product_details { grid-template-columns: 1fr; gap: 34px; }
  .product_docs .docs_list { grid-template-columns: 1fr; }
  .chat { right: 16px; bottom: 16px; }
  .to_top { bottom: 90px; right: 16px; }
}

@media (max-width: 640px) {
  .catalog_cards { grid-template-columns: 1fr; }
  .products_track .product_card { flex-basis: 78%; }
  .dsteps_grid { grid-template-columns: 1fr; }
  .catalog_seo { padding: 28px 22px; }
  .modal_card { padding: 26px 20px; }
  .hero_titles { min-height: 330px; }
}

/* ============================================================
   ПРАВКИ v3 — мобильный телефон в шапке, корзина с заявкой
   ============================================================ */

/* Кнопка звонка в мобильной шапке */

.header_call {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, .4);
  background: rgba(34, 211, 238, .1);
  color: var(--cyan);
  place-items: center;
  flex: none;
}

/* Модальная корзина */

.cart_card { width: min(560px, 100%); }

.cart_items { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }

.cart_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line, #E3E8F2);
  border-radius: 14px;
  background: #F7F9FD;
}

.cart_item_info { flex: 1; min-width: 0; }

.cart_item_name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart_item_art { font-size: 12px; color: #8A94A8; margin-top: 3px; }

.cart_item_qty { display: flex; align-items: center; gap: 8px; flex: none; }

.cart_item_qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #D8DFEC;
  background: #fff;
  color: var(--text, #182134);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: border-color .15s, color .15s;
}

.cart_item_qty button:hover { border-color: var(--blue); color: var(--blue); }

.cart_item_qty b { min-width: 22px; text-align: center; font-size: 14px; }

.cart_item_price { flex: none; font-size: 14px; font-weight: 800; white-space: nowrap; }

.cart_item_del {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #A6B1C4;
  font-size: 15px;
  line-height: 1;
  transition: color .15s, background .15s;
}

.cart_item_del:hover { color: #E5484D; background: #FDECEC; }

.cart_total_row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 4px 18px;
  font-size: 15px;
  color: #5A6577;
}

.cart_total_row b { font-size: 22px; font-family: var(--font-display); color: var(--text, #182134); }

.cart_empty {
  padding: 26px 10px;
  text-align: center;
  color: #8A94A8;
  font-size: 14.5px;
}

.cart_empty .btn { margin-top: 16px; }

.cart_note { margin-top: 14px; font-size: 12px; color: #A6B1C4; line-height: 1.5; }

.cart_modal h3 { font-family: var(--font-display); font-size: 22px; }

@media (max-width: 960px) {
  .header_call { display: grid; margin-left: auto; }
  .cart_btn { margin-left: 0; }
}

/* ===== CMS-компоненты (корзина-страница, поиск, пагинация, cookie) ===== */
.cart_items_page { display: flex; flex-direction: column; gap: 14px; }
.cart_items_page .cart_item { display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: #fff; border: 1px solid #E4E9F2; border-radius: 16px; }
.cart_item_img { flex: none; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: #F2F5FA; display: flex; align-items: center; justify-content: center; }
.cart_item_img img { width: 100%; height: 100%; object-fit: cover; }
.cart_items_page .cart_item_qty button { width: 32px; height: 32px; }
.cart_items_page .cart_item_price { font-size: 16px; }
.cart_empty_page { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed #D5DCE8; border-radius: 20px; }
.cart_empty_page h3 { font-size: 22px; margin: 0 0 10px; }
.cart_empty_page p { color: #5B6478; margin: 0 0 22px; }
.basket_page { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.basket_side { position: sticky; top: 96px; background: #fff; border: 1px solid #E4E9F2; border-radius: 20px; padding: 24px; }
.basket_side h3 { margin: 0 0 14px; font-size: 18px; }
.basket_side_list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; font-size: 13px; color: #5B6478; }
.basket_side_list div { display: flex; justify-content: space-between; gap: 10px; }
.cart_total_row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid #E4E9F2; font-size: 15px; }
.cart_total_row b { font-size: 22px; font-weight: 800; }
.cart_note { margin: 12px 0 0; font-size: 12px; color: #8A94A8; line-height: 1.5; }
.cat_query { margin: 0 0 14px; font-size: 14px; color: #5B6478; }
.cat_query a { color: var(--blue); }
.stc__empty { padding: 40px 24px; background: #fff; border: 1px dashed #D5DCE8; border-radius: 16px; color: #5B6478; }
.stc__empty a { color: var(--blue); }
.stc__pages { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.stc__page { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #E4E9F2; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 700; color: var(--navy); transition: .2s; }
.stc__page:hover { border-color: var(--blue); color: var(--blue); }
.stc__page.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.filters select { width: 100%; padding: 10px 12px; border: 1px solid #E4E9F2; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--navy); }
.filters_reset { font-size: 12px; font-weight: 600; color: var(--blue); }
.form-errors { margin: 0 0 14px; padding: 12px 16px; background: #FDECEC; border: 1px solid #F5B5B8; border-radius: 12px; color: #B3261E; font-size: 14px; }
.form-errors div + div { margin-top: 4px; }
.search_page { position: relative; max-width: 720px; margin: 0 0 26px; display: flex; gap: 10px; align-items: flex-start; }
.search_page input { border: 1.5px solid #D7DEEA; background: #fff; color: var(--text, #1E2438); flex: 1; }
.search_page input::placeholder { color: #98A1B5; }
.search_page .btn { height: 52px; flex: none; }
.search_page .search_suggest { top: 62px; }
.search_list { display: flex; flex-direction: column; gap: 12px; }
.search_res { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid #E4E9F2; border-radius: 16px; transition: .2s; }
.search_res:hover { border-color: var(--blue); box-shadow: 0 10px 30px rgba(46,107,255,.10); }
.search_res_type { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.search_res_title { font-size: 16px; font-weight: 800; color: var(--navy); }
.search_res_snip { font-size: 13px; color: #5B6478; line-height: 1.55; }
.cookie-pop { position: fixed; left: 20px; bottom: 20px; z-index: 900; max-width: 380px; background: var(--navy); color: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px rgba(10,17,34,.35); }
.cookie-pop p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.85); }
.cookie-pop a { color: var(--cyan); }
.cookie-pop .btn { width: 100%; }
@media (max-width: 960px) {
  .basket_page { grid-template-columns: 1fr; }
  .basket_side { position: static; }
  .cart_items_page .cart_item { flex-wrap: wrap; }
  .cookie-pop { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ===== Каталог 50k: подкатегории, цена по запросу ===== */
.filter_chips_sub { margin-top: -6px; }
.filter_chips_sub .filter_chip { font-size: 12px; padding: 7px 14px; opacity: .85; }
.product_price_req { font-size: 17px !important; color: #5B6478 !important; font-weight: 700; }
.product_price_hint { margin: 10px 0 0; font-size: 13px; color: #8A94A8; line-height: 1.5; }
.stc__page_gap { border: none; background: none; cursor: default; }
.stc__page_gap:hover { border: none; color: inherit; }
.product_card_img img[src*="no-image"] { object-fit: contain; padding: 18px; }

/* ===== Страницы категорий каталога: тулбар «показывать по», подкатегории, SEO-текст ===== */
.cat_perpage { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.cat_perpage a,
.cat_perpage b { min-width: 34px; height: 34px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; color: var(--navy); transition: .2s; }
.cat_perpage a:hover { border-color: var(--blue); color: var(--blue); }
.cat_perpage b { background: var(--grad); border-color: transparent; color: #fff; }
.cat_query { font-size: 13.5px; color: var(--muted); }
.cat_query a { color: var(--blue); font-weight: 700; }
.cat_subcards .catalog_item_count { color: var(--blue); font-weight: 700; }
.cat_seo { margin-top: 44px; padding-top: 8px; }
.cat_seo p { color: var(--muted); margin-bottom: 14px; line-height: 1.7; }

/* Таблица характеристик в карточке товара (из описаний поставщиков) */
.product_specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 8px 0 18px; }
.product_specs tr:nth-child(odd) { background: var(--bg); }
.product_specs td { padding: 11px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
.product_specs td:first-child { color: var(--muted); width: 42%; }
.product_specs td:last-child { font-weight: 700; }

@media (max-width: 960px) {
  .cat_toolbar { flex-wrap: wrap; }
}
