/* BVN B2B — Industrial Fan Manufacturer Site */
.ser-scroll { scrollbar-width: auto; scrollbar-color: #b3242b #ececef; scrollbar-gutter: stable; }
.ser-scroll::-webkit-scrollbar { width: 14px; background: #ececef; }
.ser-scroll::-webkit-scrollbar-track { background: #ececef; border-radius: 8px; }
.ser-scroll::-webkit-scrollbar-thumb { background: #c4494e; border-radius: 8px; border: 3px solid #ececef; min-height: 44px; }
.ser-scroll::-webkit-scrollbar-thumb:hover { background: #a8181e; }
:root {
  --red: #D32027;
  --red-dark: #A8181E;
  --red-soft: #FFE9EA;
  --ink: #0E0F12;
  --ink-2: #1B1D22;
  --steel-900: #2A2D33;
  --steel-700: #4A4F58;
  --steel-500: #7B818C;
  --steel-300: #C5C9D1;
  --steel-200: #E2E5EA;
  --steel-100: #F1F3F6;
  --steel-50: #F7F8FA;
  --paper: #FFFFFF;
  --gold: #E8B23A;
  --green: #1F8B4C;
  --green-soft: #E5F4EC;
  --warn: #B7791F;
  --warn-soft: #FFF4DE;

  --r-sm: 4px;
  --r: 6px;
  --r-md: 8px;
  --r-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(14,15,18,0.06), 0 1px 3px rgba(14,15,18,0.04);
  --shadow: 0 2px 6px rgba(14,15,18,0.06), 0 8px 24px rgba(14,15,18,0.06);
  --shadow-lg: 0 12px 40px rgba(14,15,18,0.12);

  --container: 1320px;
  --header-h: 96px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter Tight', 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* The server snapshot contains the route body, while React supplies the site
   chrome. Reserve that chrome until the detached client tree is ready so the
   H1 does not jump down when the utility/header/navigation bands appear. */
#bvn-prerender[data-bvn-prerender]::before {
  content: '';
  display: block;
  height: 185px;
  background: linear-gradient(to bottom,
    var(--ink) 0 36px,
    var(--paper) 36px 132px,
    var(--steel-200) 132px 133px,
    var(--paper) 133px 184px,
    var(--steel-200) 184px 185px);
}

/* React is first rendered into this detached ownership container and the
   container atomically replaces the server snapshot. `display: contents`
   keeps the client layout identical to the former direct #root children. */
#bvn-client-root { display: contents; }
@media (max-width: 1024px) {
  #bvn-prerender[data-bvn-prerender]::before { height: 180px; }
}
@media (max-width: 900px) {
  #bvn-prerender[data-bvn-prerender]::before { height: 177px; }
}
@media (max-width: 768px) {
  #bvn-prerender[data-bvn-prerender]::before {
    height: 135px;
    background: linear-gradient(to bottom,
      var(--ink) 0 32px,
      var(--paper) 32px 92px,
      var(--steel-200) 92px 93px,
      var(--paper) 93px 134px,
      var(--steel-200) 134px 135px);
  }
}
@media (max-width: 440px) {
  #bvn-prerender[data-bvn-prerender]::before {
    height: 92px;
    background: linear-gradient(to bottom,
      var(--ink) 0 32px,
      var(--paper) 32px 91px,
      var(--steel-200) 91px 92px);
  }
}

/* Единый заметный индикатор клавиатурного фокуса. Он намеренно перекрывает
   локальные outline:none у поисков и фильтров, но не появляется при клике. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #005FCC !important;
  outline-offset: 3px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ============ TOP UTILITY BAR ============ */
.utility-bar {
  background: var(--ink);
  color: var(--steel-300);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.utility-bar .left { display: flex; gap: 22px; align-items: center; }
.utility-bar .left .pin { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar .left .pin .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(31,139,76,0.18); }
.utility-bar .right { display: flex; gap: 18px; align-items: center; }
.utility-bar a:hover { color: #fff; }
.utility-bar .divider { width: 1px; height: 14px; background: rgba(255,255,255,0.14); }
@media (min-width: 769px) and (max-width: 1024px) {
  .utility-bar .left { gap: 12px; }
  .utility-bar .left a { white-space: nowrap; }
  .utility-bar .right > span:first-child,
  .utility-bar .right > span:first-child + .divider { display: none; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .utility-bar .left .pin,
  .utility-bar .left .pin + .divider { display: none; }
}

/* ============ HEADER ============ */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--steel-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand .brand-logo-svg { flex: 0 0 auto; max-width: none; }
@media (max-width: 1100px) { .header .brand .brand-logo-svg { height: 40px !important; } }
@media (max-width: 760px) { .header .brand .brand-logo-svg { height: 34px !important; } }
@media (max-width: 480px) {
  .header .brand .brand-logo-svg { height: 30px !important; }
  .header-nav-actions .cta-btn { display: none; }
}
.brand-mark {
  width: 52px; height: 52px;
  background: var(--red);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.brand-mark svg { width: 36px; height: 36px; }
.brand-text { line-height: 1.05; }
.brand-text .name { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); }
.brand-text .sub { font-size: 11px; color: var(--steel-700); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.header-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--steel-200);
  border-radius: var(--r);
  padding: 0 110px 0 44px;
  background: var(--steel-50);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: all .15s;
}
.header-search input:focus { background: #fff; border-color: var(--ink); }
.header-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel-500); }
.header-search .submit {
  position: absolute; right: 5px; top: 5px; bottom: 5px;
  background: var(--ink); color: #fff;
  padding: 0 18px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 13px;
}

.header-nav-actions {
  display: flex; align-items: center; gap: 8px;
}
.icon-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  transition: background .15s;
  position: relative;
}
.icon-btn:hover { background: var(--steel-100); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: grid; place-items: center;
  padding: 0 4px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 12px 20px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 14px;
  transition: background .15s, transform .1s;
}
.cta-btn:hover { background: var(--red-dark); }
.cta-btn:active { transform: translateY(1px); }
.cta-btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.cta-btn.outline:hover { background: var(--ink); color: #fff; }
.cta-btn.dark { background: var(--ink); }
.cta-btn.dark:hover { background: var(--steel-900); }

/* ============ MAIN NAV ============ */
.main-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--steel-200);
  position: sticky; top: var(--header-h); z-index: 49;
}
.main-nav .container { display: flex; align-items: stretch; gap: 0; }
.cat-mega-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff;
  padding: 0 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 16px;
  position: relative;
  z-index: 60;
}
.cat-mega-trigger:hover { background: var(--red-dark); }
.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 16px 14px;
  font-weight: 500; font-size: 14px;
  color: var(--ink);
  position: relative;
  cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-link:hover { color: var(--red); }
.main-nav .nav-link.active { color: var(--red); }
@media (max-width: 1320px) {
  .main-nav a, .main-nav .nav-link { padding: 16px 9px; }
  .main-nav ul { gap: 0; }
  .main-nav .cat-mega-trigger { padding-left: 14px; padding-right: 14px; }
}
/* Адаптивные тиры меню: всегда видны .nav-prio (Главная, Каталог,
   Онлайн-заказ, Дилерам, Программа FSP, Контакты). Остальное — по мере роста экрана. */
@media (max-width: 1500px) { .main-nav ul li.nav-t4 { display: none; } }
@media (max-width: 1180px) { .main-nav ul li.nav-t3 { display: none; } }
@media (max-width: 1024px) {
  .main-nav a, .main-nav .nav-link { padding: 14px 7px; font-size: 13px; }
  .main-nav .cat-mega-trigger { padding-left: 12px; padding-right: 12px; font-size: 13px; }
}
@media (max-width: 900px) {
  .main-nav a, .main-nav .nav-link { padding: 13px 6px; font-size: 12.5px; }
  .main-nav .cat-mega-trigger span, .main-nav .cat-mega-trigger { font-size: 12.5px; }
}
@media (max-width: 780px) {
  /* оставляем только обязательные разделы, меню горизонтально прокручивается */
  .main-nav .container { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .main-nav .container::-webkit-scrollbar { display: none; }
  .main-nav ul { flex: none; }
  .main-nav a, .main-nav .nav-link { padding: 12px 8px; font-size: 12.5px; white-space: nowrap; }
}
/* Дальше убираем поэтапно: сначала Главная, затем Каталог.
   До самого узкого остаются Онлайн-заказ, Дилерам, Программа FSP и Контакты. */
@media (max-width: 700px) { .main-nav ul li.nav-t2 { display: none; } }
@media (max-width: 560px) { .main-nav ul li.nav-t1 { display: none; } }
.main-nav .nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--red);
}

/* ============ HERO / CAT GRID ============ */
.hero {
  background: linear-gradient(180deg, var(--steel-50) 0%, #fff 100%);
  padding: 36px 0 24px;
}
.hero-headline {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end;
  margin-bottom: 28px;
}
.hero-headline h1 {
  font-size: 32px; line-height: 1.05; font-weight: 800;
  letter-spacing: -0.025em; margin: 0;
  width: 100%; text-wrap: pretty;
  color: var(--ink);
}
.hero-headline h1 em { font-style: normal; color: var(--red); }
.hero-headline .meta { color: var(--steel-700); font-size: 15px; }
.hero-headline .meta strong { color: var(--ink); }
.hero-headline .meta-row {
  display: flex; gap: 28px; margin-top: 18px;
  border-top: 1px solid var(--steel-200);
  padding-top: 16px;
}
.hero-headline .meta-row .stat .n { font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -0.01em; }
.hero-headline .meta-row .stat .l { font-size: 12px; color: var(--steel-700); margin-top: 2px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  padding: 24px 22px 22px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.cat-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cat-card .cat-img {
  height: 100px;
  margin: -8px -10px 12px -10px;
  background: var(--steel-50);
  border-radius: var(--r);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.cat-card .cat-img svg { width: 84px; height: 84px; opacity: 0.92; }
.cat-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; letter-spacing: -0.005em; }
.cat-card .desc { font-size: 13px; color: var(--steel-700); flex: 1; }
.cat-card .cat-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--steel-200);
  font-size: 12px;
}
.cat-card .cat-meta .count { color: var(--steel-700); }
.cat-card .cat-meta .arrow { color: var(--red); font-weight: 700; }

.cat-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cat-card.featured h3 { color: #fff; }
.cat-card.featured .desc { color: var(--steel-300); }
.cat-card.featured .cat-img { background: var(--ink-2); }
.cat-card.featured .cat-meta { border-top-color: rgba(255,255,255,0.12); }
.cat-card.featured .cat-meta .count { color: var(--steel-300); }
.cat-card.featured .cat-meta .arrow { color: var(--gold); }
.cat-card .promo-pill {
  position: absolute; top: 10px; right: 10px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px;
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: linear-gradient(90deg, var(--ink) 0%, #20232A 100%);
  color: #fff;
  padding: 18px 0;
  margin-top: 0;
}
.trust-strip .container {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.trust-strip .item {
  display: flex; align-items: center; gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-strip .item:first-child { padding-left: 0; }
.trust-strip .item:last-child { padding-right: 0; border-right: none; }
.trust-strip .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--red);
  flex-shrink: 0;
}
.trust-strip .t { font-size: 13px; font-weight: 600; }
.trust-strip .d { font-size: 11.5px; color: var(--steel-300); margin-top: 2px; }

/* ============ SECTIONS ============ */
.section { padding: 64px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px;
  gap: 32px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: 0;
  margin: 0; max-width: 720px;
}
.section-head .lead { color: var(--steel-700); max-width: 380px; font-size: 15px; }

/* ============ POPULAR PRODUCTS ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(14,15,18,0.09);
  transform: translateY(-2px);
}
.product-card .pcard-img {
  background: linear-gradient(180deg, #fff 0%, var(--steel-50) 100%);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.product-card .pcard-img > a {
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
}
.product-card .pcard-img > a:focus-visible { outline-offset: -4px; }
.product-card .pcard-img svg { width: 60%; height: 60%; }
.product-card .pcard-tags {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.tag-pill {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 3px;
}
.tag-pill.stock {
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; gap: 5px;
  box-shadow: 0 0 0 0 rgba(31,139,76,0.55);
  animation: bvnStockPulse 2.4s ease-out infinite;
}
.tag-pill.stock::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  animation: bvnStockDot 2.4s ease-in-out infinite;
}
@keyframes bvnStockPulse {
  0% { box-shadow: 0 0 0 0 rgba(31,139,76,0.5); }
  55% { box-shadow: 0 0 0 6px rgba(31,139,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,139,76,0); }
}
@keyframes bvnStockDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .tag-pill.stock, .tag-pill.stock::before, .subcat-card-ico.has-photo { animation: none; }
}
.tag-pill.preorder { background: var(--warn-soft); color: var(--warn); }
.tag-pill.discount { background: var(--red); color: #fff; }
.tag-pill.new { background: var(--ink); color: #fff; }
.product-card .pcard-fav {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--steel-500);
  transition: color .15s;
}
.product-card .pcard-fav:hover { color: var(--red); }

.product-card .pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .pcard-cat {
  font-size: 11px; color: var(--steel-700);
  font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-card .pcard-name {
  font-weight: 700; font-size: clamp(12.5px, 1.05vw, 15px); line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 6px;
  color: var(--ink);
}
.product-card .pcard-spec {
  font-size: 12px; color: var(--steel-700);
  margin-bottom: 12px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.product-card .pcard-spec span {
  display: inline-flex; align-items: center; gap: 4px;
}
.product-card .pcard-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--steel-200);
}
.product-card .pcard-price {
  display: flex; flex-direction: column;
}
.product-card .pcard-price .old { font-size: 12px; color: var(--steel-500); text-decoration: line-through; }
.product-card .pcard-price .now { font-size: clamp(14px, 1.35vw, 19px); font-weight: 800; letter-spacing: 0; color: var(--ink); white-space: nowrap; }
.product-card .pcard-price .now .cur { font-size: clamp(10.5px, 0.95vw, 13px); color: var(--steel-700); margin-left: 2px; font-weight: 600; }
.product-card .pcard-price .you-save { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 2px; }
.product-card .pcard-add {
  background: var(--ink); color: #fff;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  transition: background .15s;
}
.product-card .pcard-add:hover { background: var(--red); }



/* ============ DEALER PROGRAM ============ */
.dealer-block {
  background: linear-gradient(135deg, var(--ink) 0%, #1E2229 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 56px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dealer-block::before {
  content: ''; position: absolute; right: -120px; bottom: -120px;
  width: 480px; height: 480px;
  border: 60px solid var(--red);
  border-radius: 50%;
  opacity: 0.12;
}
.dealer-block h2 {
  font-size: 32px; line-height: 1.05; letter-spacing: 0;
  margin: 0 0 18px; font-weight: 800;
}
.dealer-block h2 .accent { color: var(--red); }
.dealer-block .lead { color: var(--steel-300); margin-bottom: 24px; }
.dealer-block ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.dealer-block ul li {
  display: flex; gap: 10px; align-items: start;
  font-size: 14px; color: var(--steel-300);
}
.dealer-block ul li svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.dealer-block ul li strong { color: #fff; font-weight: 600; }
.dealer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .dealer-block { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px; }
  .dealer-block h2 { font-size: 30px; }
  .dealer-actions .cta-btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}

.discount-table {
  background: var(--ink-2);
  border-radius: var(--r-md);
  padding: 28px;
  z-index: 1;
}
.discount-table .h {
  font-size: 12px; color: var(--steel-300);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.discount-table .row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: center;
}
.discount-table .row:first-of-type { border-top: none; }
.discount-table .row .label { display: flex; flex-direction: column; }
.discount-table .row .label .level { font-weight: 700; font-size: 15px; }
.discount-table .row .label .cond { font-size: 12px; color: var(--steel-500); margin-top: 2px; }
.discount-table .row .value {
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em;
}
.discount-table .row.gold .value { color: var(--gold); }
.discount-table .row.red .value { color: var(--red); }

/* ============ WAREHOUSE MAP ============ */
.wh-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: stretch; }
.wh-list { display: flex; flex-direction: column; gap: 12px; }
.wh-item {
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 14px; align-items: center;
  cursor: pointer;
  transition: all .15s;
}
.wh-item:hover { border-color: var(--ink); }
.wh-item.active { border-color: var(--red); background: var(--red-soft); }
.wh-item .pin {
  width: 36px; height: 36px;
  background: var(--ink); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.wh-item.active .pin { background: var(--red); }
.wh-item .city { font-weight: 700; font-size: 15px; }
.wh-item .info { font-size: 12px; color: var(--steel-700); margin-top: 1px; }
.wh-item .stock-info { text-align: right; }
.wh-item .stock-info .n { font-weight: 800; font-size: 16px; color: var(--ink); }
.wh-item .stock-info .l { font-size: 11px; color: var(--steel-700); }

.wh-addr { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; padding: 3px 8px 3px 6px; border-radius: 6px; background: #fff; border: 1px solid var(--steel-200); color: var(--steel-900) !important; text-decoration: none; line-height: 1.35; min-height: 26px; transition: border-color .15s, color .15s, background .15s; }
.wh-addr svg { color: var(--red); }
.wh-addr:hover { border-color: var(--red); color: var(--red) !important; background: var(--red-soft, #FFE9EA); }
.wh-item.active .wh-addr { border-color: var(--red); }
@media (max-width: 560px) { .wh-addr { min-height: 34px; padding: 6px 10px 6px 8px; } }
.wh-addr-hint { font-size: 10.5px; color: var(--steel-500); line-height: 1.35; margin-top: 3px; }
.wh-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.wh-nav-lbl { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--steel-700); line-height: 1.3; }
.wh-nav-lbl svg { color: var(--red); }
.wh-nav-lbl b { font-weight: 600; color: var(--steel-900); }
.wh-nav-btns { display: flex; gap: 5px; }
.wh-nav-btns .nv { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--steel-200); background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; letter-spacing: -0.01em; transition: transform .12s, border-color .12s, background .12s, color .12s; }
.wh-nav-btns .nv-ya { color: #E33; }
.wh-nav-btns .nv-2g { color: #1BA136; font-size: 10px; }
.wh-nav-btns .nv-gm { color: #1A73E8; }
.wh-nav-btns .nv:hover { transform: translateY(-1px); border-color: currentColor; background: var(--steel-50); }
@media (max-width: 560px) { .wh-nav-btns .nv { min-width: 40px; height: 34px; font-size: 12px; } }

.wh-map {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 0;
  align-self: stretch;
  height: 100%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--steel-200);
}
@media (max-width: 900px) {
  .wh-block { grid-template-columns: 1fr; gap: 24px; }
  .wh-map { min-height: 0; height: auto; aspect-ratio: 1690 / 1308; }
}
@media (max-width: 560px) { .wh-map { min-height: 0; height: auto; aspect-ratio: 1690 / 1308; } }
.wh-item-plant { cursor: default; border-style: dashed; }
.wh-item-plant:hover { border-color: var(--steel-200); }
.wh-item-plant .pin { background: var(--steel-700); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--steel-300);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 {
  color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 13.5px; color: var(--steel-300); }
.footer ul a:hover { color: var(--red); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-text .name { color: #fff; }
.footer-brand .brand-text .sub { color: var(--steel-500); }
.footer-brand p { font-size: 13px; line-height: 1.55; color: var(--steel-300); margin: 0 0 18px; }
.footer-brand .contact-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--steel-500);
}
.footer-bottom .pay { display: flex; gap: 10px; align-items: center; }
.footer-bottom .pay span {
  background: var(--ink-2);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 600; color: var(--steel-300);
}
.footer-solutions-head { flex-wrap: wrap; }
.footer-solutions-grid > * { min-width: 0; }
.footer-solutions-grid a { overflow-wrap: anywhere; }

/* ============ CATALOG PAGE ============ */
.crumbs {
  display: flex; gap: 6px; align-items: center;
  font-size: 12.5px; color: var(--steel-700);
  padding: 14px 0;
}
.crumbs a { color: var(--steel-700); cursor: pointer; }
.crumbs a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.crumbs span.sep { color: var(--steel-300); }
.crumbs .current { color: var(--ink); font-weight: 600; }
.ip-page .crumbs a, .stockpg .crumbs a { cursor: pointer; }
.ip-page .crumbs span:hover, .stockpg .crumbs span:hover, .ip-page .crumbs a:hover, .stockpg .crumbs a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.catalog-head { padding: 12px 0 24px; border-bottom: 1px solid var(--steel-200); margin-bottom: 24px; }
.catalog-head h1 { font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 800; }
.catalog-head .meta { color: var(--steel-700); font-size: 14px; display: flex; gap: 16px; }
.catalog-head .meta .count { color: var(--ink); font-weight: 600; }
.catalog-series-seo { max-width: 96ch; margin: -8px 0 24px; }
.catalog-series-seo h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.catalog-series-seo .cs-intro { margin: 0; color: var(--steel-900); font-size: 14.5px; line-height: 1.65; }
.catalog-series-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; margin:14px 0 0; }
.catalog-series-fact { margin:0; padding:12px 14px; border:1px solid var(--steel-200); border-radius:var(--r); background:#fff; }
.catalog-series-fact dt { margin:0 0 4px; color:var(--steel-700); font-size:12px; line-height:1.35; }
.catalog-series-fact dd { margin:0; color:var(--ink); font-size:14px; font-weight:700; line-height:1.35; }
.catalog-series-fact small { display:block; margin-top:4px; color:var(--steel-600); font-size:11px; font-weight:500; }
.catalog-series-source-note { margin:12px 0 0; color:var(--steel-700); font-size:12px; line-height:1.55; }

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding-bottom: 64px; }
.catalog-layout > div { min-width: 0; }

.filter-card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  padding: 0;
  position: sticky;
  top: calc(var(--header-h) + 60px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 80px);
  overflow-y: auto;
}
.filter-section { padding: 18px 20px; border-bottom: 1px solid var(--steel-200); }
.filter-section:last-child { border-bottom: none; }
.filter-section h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--steel-700);
  margin: 0 0 12px;
}
.filter-section .check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 13.5px; }
.filter-section .check input { accent-color: var(--red); width: 16px; height: 16px; }
.filter-section .check .ct { color: var(--steel-500); margin-left: auto; font-size: 12px; }
.filter-section .check:hover { color: var(--red); }
.filter-section .check:hover .ct { color: var(--red); }

.range-row { display: flex; gap: 8px; margin-bottom: 10px; }
.range-row input {
  width: 100%; height: 36px; padding: 0 10px;
  border: 1px solid var(--steel-200); border-radius: var(--r-sm);
  font: inherit; font-size: 13px; outline: none;
}
.range-row input:focus { border-color: var(--ink); }
.range-meta { font-size: 11px; color: var(--steel-500); }
.range-track {
  height: 4px; background: var(--steel-200); border-radius: 2px; position: relative;
  margin: 8px 4px 14px;
}
.range-track .fill { position: absolute; height: 100%; background: var(--red); border-radius: 2px; }
.range-track .h {
  position: absolute; top: 50%; transform: translate(-50%,-50%);
  width: 14px; height: 14px; background: #fff;
  border: 2px solid var(--red); border-radius: 50%;
  cursor: grab;
}

.filter-actions {
  padding: 16px 20px;
  display: flex; gap: 8px;
  border-top: 1px solid var(--steel-200);
  position: sticky; bottom: 0; background: #fff;
}
.filter-actions button {
  flex: 1; padding: 10px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 13px;
}
.filter-actions .apply { background: var(--red); color: #fff; }
.filter-actions .reset { background: var(--steel-100); color: var(--ink); }

.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  gap: 16px;
}
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.active-filters .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--steel-100);
  padding: 5px 8px 5px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.active-filters .chip button { color: var(--steel-500); display: grid; place-items: center; }
.active-filters .chip button:hover { color: var(--red); }
.active-filters .clear-all { font-size: 12px; color: var(--red); font-weight: 600; padding-left: 6px; }

.sort-row { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--steel-700); }
.sort-row select {
  height: 36px; padding: 0 32px 0 12px;
  border: 1px solid var(--steel-200); border-radius: var(--r-sm);
  font: inherit; font-size: 13px;
  background: #fff;
  cursor: pointer;
}
.view-toggle { display: inline-flex; border: 1px solid var(--steel-200); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { padding: 7px 10px; color: var(--steel-700); }
.view-toggle button.active { background: var(--ink); color: #fff; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}

/* Lightweight complete catalogue relationship. Rich cards stay paginated,
   while every canonical product remains reachable after React replaces SSR. */
.catalog-model-index {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  background: var(--steel-50);
}
.catalog-model-index h2 { margin: 0 0 4px; font-size: 18px; }
.catalog-model-index > p { margin: 0 0 14px; color: var(--steel-700); font-size: 13px; }
.catalog-model-index details {
  border-top: 1px solid var(--steel-200);
  padding-top: 12px;
}
.catalog-model-index summary {
  width: fit-content;
  color: var(--red-dark);
  font-weight: 700;
  cursor: pointer;
}
.catalog-model-index-list {
  columns: 3 260px;
  column-gap: 28px;
  max-height: 480px;
  overflow: auto;
  margin: 16px 0 0;
  padding: 0 8px 0 20px;
}
.catalog-model-index-list li {
  break-inside: avoid;
  margin: 0 0 7px;
  padding-right: 8px;
  font-size: 13px;
}
.catalog-model-index-list a {
  color: var(--steel-900);
  text-decoration: underline;
  text-decoration-color: var(--steel-300);
  text-underline-offset: 2px;
}
.catalog-model-index-list a:hover { color: var(--red-dark); }

/* ============ PRODUCT PAGE ============ */
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr 360px; gap: 36px; padding: 0 0 24px; }
/* средние экраны: три колонки не помещаются — галерея + инфо в два столбца, панель покупки ниже во всю ширину */
@media (max-width: 1280px) and (min-width: 769px) {
  .pdp-layout { grid-template-columns: 1fr 1.1fr 300px; gap: 20px; }
  .pdp-info h1 { font-size: 18px; }
}
.pdp-gallery { }
.pdp-main-img {
  background: var(--steel-50);
  border-radius: var(--r-md);
  aspect-ratio: 1;
  display: grid; place-items: center;
  /* Bound the grid track to the frame, not the drawing's intrinsic height. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  position: relative;
  overflow: hidden;
}
.pdp-main-img > img { min-width: 0; min-height: 0; width: 90%; height: 90%; object-fit: contain; }
.pdp-main-img svg { width: 70%; height: 70%; }
.pdp-tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.pdp-thumb {
  background: var(--steel-50);
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.pdp-thumb svg { width: 60%; height: 60%; }
.pdp-thumb.active { border-color: var(--red); }
.pdp-thumb.video::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.55) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>') center/24px no-repeat;
}

.pdp-info .sku-line { font-size: 12px; color: var(--steel-700); display: flex; gap: 16px; margin-bottom: 8px; }
.pdp-info .sku-line .copy { color: var(--red); cursor: pointer; }
.pdp-info h1 {
  font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.012em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.pdp-info .rating-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 13px; color: var(--steel-700); }
.pdp-info .stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.pdp-info .badges { display: flex; gap: 6px; margin-bottom: 18px; }
.pdp-info .short-desc { font-size: 14px; color: var(--steel-700); margin-bottom: 22px; line-height: 1.55; }

.spec-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--steel-50);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--steel-200);
}
.spec-grid .spec {
  padding: 12px 16px;
  border-bottom: 1px solid var(--steel-200);
  font-size: 13px;
}
.spec-grid .spec:nth-child(odd) { border-right: 1px solid var(--steel-200); }
.spec-grid .spec:nth-last-child(-n+2) { border-bottom: none; }
.spec-grid .spec .l { color: var(--steel-700); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; margin-bottom: 4px; }
.spec-grid .spec .v { color: var(--ink); font-weight: 600; font-size: 14px; }

.options-block { margin-top: 22px; }
.options-block .ol { font-size: 12px; color: var(--steel-700); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; margin-bottom: 8px; }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.opt-pill {
  border: 1.5px solid var(--steel-200);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex; flex-direction: column; align-items: start;
  min-width: 90px;
}
.opt-pill:hover { border-color: var(--ink); }
.opt-pill.active { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.opt-pill .opt-sub { font-size: 11px; color: var(--steel-500); font-weight: 500; margin-top: 1px; }
.opt-pill.active .opt-sub { color: var(--red-dark); }

/* ============ PURCHASE PANEL ============ */
.buy-panel {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  box-shadow: var(--shadow-sm);
}
.buy-panel .price-block { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.buy-panel .price-block .old { font-size: 14px; color: var(--steel-500); text-decoration: line-through; }
.buy-panel .price-block .now { font-size: clamp(21px, 2.3vw, 32px); font-weight: 800; letter-spacing: -0.015em; white-space: nowrap; }
.buy-panel .price-block .now .cur { font-size: clamp(13px, 1.3vw, 18px); color: var(--steel-700); margin-left: 4px; }
.buy-panel .save-row {
  background: var(--green-soft);
  color: var(--green);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  display: flex; justify-content: space-between;
  margin-bottom: 16px;
}
.buy-panel .stock-status {
  display: flex; align-items: center; gap: 4px 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 12px;
  background: var(--green-soft, #E5F4EC);
  border: 1px solid #C8E0BD;
  border-radius: var(--r-md);
  padding: 10px 12px;
  overflow: hidden;
}
.buy-panel .stock-status .when { color: var(--steel-700); flex-basis: 100%; margin-left: 16px; margin-top: 2px; }
.buy-panel .stock-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.buy-panel .stock-status .stxt { font-weight: 600; color: var(--green); white-space: nowrap; }
.buy-panel .stock-status .when span { white-space: nowrap; }

.qty-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}
.qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.qty button { padding: 0 12px; color: var(--steel-700); font-size: 18px; font-weight: 600; }
.qty button:hover { background: var(--steel-100); }
.qty input {
  width: 56px; text-align: center;
  border: none; font: inherit; font-weight: 700; font-size: 14px;
  outline: none;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-hint { font-size: 12px; color: var(--steel-500); }
.qty-hint strong { color: var(--green); }

.buy-actions { display: grid; gap: 8px; margin-bottom: 16px; }
.buy-actions .primary {
  background: var(--red); color: #fff;
  padding: 14px; border-radius: var(--r);
  font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.04em;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.buy-actions .primary:hover { background: var(--red-dark); }
.buy-actions .secondary {
  background: var(--ink); color: #fff;
  padding: 12px; border-radius: var(--r);
  font-weight: 600; font-size: 13px;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
}
.buy-actions .secondary:hover { background: var(--steel-900); }
.buy-actions .ghost {
  background: transparent; color: var(--ink);
  padding: 10px; border-radius: var(--r);
  font-weight: 600; font-size: 13px;
  border: 1px solid var(--steel-200);
}
.buy-actions .ghost:hover { border-color: var(--ink); }

.dealer-promo {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 14px;
  margin-bottom: 16px;
}
.dealer-promo .h { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.dealer-promo .b { font-size: 12.5px; color: var(--steel-300); line-height: 1.4; }
.dealer-promo a { color: var(--gold); font-weight: 600; }

.delivery-row {
  display: grid; gap: 10px;
  font-size: 12.5px;
  border-top: 1px solid var(--steel-200);
  padding-top: 14px;
}
.delivery-row .dr { display: flex; gap: 10px; align-items: start; color: var(--steel-700); }
.delivery-row .dr svg { color: var(--ink); flex-shrink: 0; margin-top: 1px; }
.delivery-row .dr strong { color: var(--ink); display: block; }

/* ============ PDP TABS ============ */
.pdp-tabs {
  border-top: 1px solid var(--steel-200);
  margin-top: 32px;
}
.pdp-tabs .tab-bar {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--steel-200);
}
.pdp-tabs .tab-bar button {
  padding: 16px 22px;
  font-weight: 600; font-size: 14px;
  color: var(--steel-700);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pdp-tabs .tab-bar button.active { color: var(--ink); border-color: var(--red); }
.pdp-tabs .tab-bar button:hover { color: var(--ink); }
.pdp-tabs .tab-content { padding: 32px 0 16px; }
.pdp-tabs .tab-content h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }

.tech-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pdp-spec-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.pdp-spec-groups > div { min-width: 0; }
.sku-line > span { min-width: 0; overflow-wrap: anywhere; }
/* таблица серии на карточке товара: без переносов в ячейках */
.series-table td { white-space: nowrap; }
.series-table td:first-child { width: 1%; padding-right: 24px; }
.tech-table tr { border-bottom: 1px solid var(--steel-200); }
.tech-table td { padding: 12px 16px; }
.tech-table td:first-child { color: var(--steel-700); width: 40%; }
.tech-table td:last-child { color: var(--ink); font-weight: 600; }
.tech-table tr:hover { background: var(--steel-50); }

.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.doc-tile {
  border: 1px solid var(--steel-200);
  border-radius: var(--r-sm);
  padding: 16px;
  display: flex; gap: 12px; align-items: center;
  cursor: pointer;
  transition: all .15s;
}
.doc-tile:hover { border-color: var(--red); background: var(--red-soft); }
.doc-tile .d-ic {
  width: 40px; height: 40px;
  background: var(--steel-100);
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--red);
  flex-shrink: 0;
}
.doc-tile .d-name { font-weight: 600; font-size: 13px; }
.doc-tile .d-meta { font-size: 11px; color: var(--steel-500); margin-top: 2px; }

/* ============ TWEAKS ============ */
.tweaks-toggle {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--ink); color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.tweaks-panel {
  position: fixed; bottom: 80px; right: 20px;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  padding: 18px;
  width: 280px;
  z-index: 100;
  box-shadow: var(--shadow-lg);
}
.tweaks-panel h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; }
.tweaks-panel .row { margin-bottom: 12px; font-size: 13px; }
.tweaks-panel .row label { display: block; margin-bottom: 6px; color: var(--steel-700); }
.tweaks-panel .swatches { display: flex; gap: 8px; }
.tweaks-panel .swatch {
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; border: 2px solid #fff; outline: 2px solid transparent;
}
.tweaks-panel .swatch.active { outline-color: var(--ink); }

/* density compact */
body[data-density="compact"] .section { padding: 44px 0; }
body[data-density="compact"] .hero { padding: 24px 0 18px; }
body[data-density="compact"] .hero-headline h1 { font-size: 30px; }
body[data-density="compact"] .cat-card { padding: 16px; min-height: 180px; }

/* ============ RESPONSIVE: visibility helpers ============ */
.mobile-only { display: none !important; }
.search-trigger { display: none; }
.burger { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--ink); }
.mobile-drawer-bg { display: none; }

/* ============ TABLET (≤ 1024px) ============ */
@media (max-width: 1024px) {
  :root { --header-h: 72px; --container: 100%; }
  .container { padding: 0 20px; }
  .header .container { gap: 16px; }
  .brand-text .sub { display: none; }
  .brand-text .name { font-size: 18px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .header-search { max-width: none; }
  .header-search input { height: 42px; padding-right: 90px; }
  .icon-btn span { display: none; }
  .cta-btn { padding: 10px 14px; font-size: 13px; }
  .hero-headline { grid-template-columns: 1fr; gap: 24px; }
  .hero-headline h1 { font-size: 29px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .catalog-list .product-card .pcard-img { width: 120px !important; }
  .catalog-list .product-card .pcard-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px !important;
    align-items: center !important;
    min-width: 0;
    padding: 14px 16px 16px;
  }
  .catalog-list .product-card .pcard-body > a:first-child {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .catalog-list .product-card .pcard-price { grid-column: 1; }
  .catalog-list .product-card .pcard-body > div:last-child { grid-column: 2; }
  .catalog-list .product-card .pcard-spec { margin-bottom: 0; gap: 4px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ MOBILE (≤ 768px) ============ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  body { font-size: 14px; }
  .container { padding: 0 14px; }

  /* Utility bar — оставляем «Склады РФ» и телефон, прочее скрываем */
  .utility-bar { font-size: 11.5px; }
  .utility-bar .container { height: auto; min-height: 32px; padding-top: 5px; padding-bottom: 5px; flex-wrap: wrap; row-gap: 0; column-gap: 12px; justify-content: space-between; }
  .utility-bar .left a, .utility-bar .left .divider, .utility-bar .right > span:not(.divider), .utility-bar .right .divider { display: none; }
  .utility-bar .left { flex: 1 1 auto; min-width: 0; }
  .utility-bar .left .pin { display: inline-flex; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  @media (max-width: 460px) { .utility-bar .left { display: none; } }
  .utility-bar .right { width: auto; flex: 0 0 auto; justify-content: flex-end; gap: 12px; }
  .utility-bar .right a[href^="tel:"] { display: inline-flex !important; align-items: center; gap: 5px; white-space: nowrap; font-weight: 700; color: #fff; }
  .utility-bar .right a:not([href^="tel:"]) { display: none; }

  /* Header — burger + compact */
  .mobile-only { display: inline-flex !important; }
  .burger { display: inline-flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; }
  .header .container { gap: 10px; height: 60px; }
  .header-search { display: none; }
  .search-trigger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    color: var(--ink);
    margin-left: auto;
    background: none; border: none; cursor: pointer;
  }
  .header-nav-actions { gap: 0; }
  .header-nav-actions .icon-btn:not([data-keep]) { display: none; }
  /* Кнопка остаётся в шапке только там, где помещается без горизонтального overflow. */
  @media (min-width: 481px) {
    .header-nav-actions .cta-btn { display: inline-flex; padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }
  }
  .icon-btn { padding: 8px; }

  /* Main nav — остаётся видимой с приоритетными пунктами (Каталог/Онлайн-заказ/Контакты);
     полный список — в бургере. На очень узких (≤560) — полностью в бургер. */
  .main-nav .container { padding-left: 12px; padding-right: 12px; }
  .main-nav a, .main-nav .nav-link { padding: 12px 10px; }
  .cat-mega-trigger { font-size: 13px; }

  /* Mobile drawer */
  .mobile-drawer-bg {
    display: block;
    position: fixed; inset: 0; background: rgba(14,15,18,0.5);
    z-index: 200;
    animation: fadeIn .15s ease;
  }
  .mobile-drawer {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: 86vw; max-width: 360px;
    background: #fff;
    display: flex; flex-direction: column;
    animation: slideR .22s ease;
    overflow-y: auto;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes slideR { from { transform: translateX(-100%); } to { transform: translateX(0); } }
  .md-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px; border-bottom: 1px solid var(--steel-200);
  }
  .md-head button { background: none; border: none; cursor: pointer; padding: 4px; color: var(--ink); }
  .md-search { padding: 14px 16px; position: relative; }
  .md-search input {
    width: 100%; height: 42px;
    border: 1.5px solid var(--steel-200); border-radius: var(--r);
    padding: 0 14px 0 40px;
    font: inherit; font-size: 14px; outline: none;
  }
  .md-search .ico { position: absolute; left: 28px; top: 50%; transform: translateY(-50%); color: var(--steel-500); }
  .md-list { list-style: none; margin: 0; padding: 8px 0; flex: 1; }
  .md-list li {
    font-size: 15px; font-weight: 500;
    border-bottom: 1px solid var(--steel-100);
    cursor: pointer;
  }
  .md-list li a { display: block; padding: 14px 20px; }
  .md-list li:hover { background: var(--steel-50); color: var(--red); }
  .md-foot { padding: 16px; border-top: 1px solid var(--steel-200); }
  .md-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }

  /* Hero — single column, smaller type */
  .hero { padding: 20px 0 16px; }
  .hero-headline { gap: 16px; margin-bottom: 18px; }
  .hero-headline h1 { font-size: 24px; letter-spacing: -0.02em; word-break: normal; overflow-wrap: break-word; }
  .hero-headline .meta { font-size: 14px; }
  .hero-headline .meta-row { gap: 16px; padding-top: 12px; margin-top: 12px; flex-wrap: wrap; }
  .hero-headline .meta-row .stat .n { font-size: 19px; }
  .hero-headline .meta-row .stat .l { font-size: 11px; }

  /* Categories — 1 column, grid layout */
  .cat-grid { grid-template-columns: 1fr; gap: 10px; }
  .cat-card {
    min-height: auto;
    padding: 14px;
    display: grid !important;
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
  }
  .cat-card .cat-img {
    grid-row: 1 / span 2;
    width: 76px; height: 76px;
    margin: 0; flex-shrink: 0;
    align-self: center;
  }
  .cat-card .cat-img svg { width: 56px; height: 56px; }
  .cat-card h3 {
    grid-column: 2;
    margin: 0; font-size: 15px;
    align-self: end;
    line-height: 1.15;
  }
  .cat-card .desc {
    grid-column: 2;
    font-size: 12px;
    line-height: 1.35;
    color: var(--steel-700);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
  .cat-card .cat-meta {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--steel-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
  }
  .cat-card .promo-pill {
    position: absolute;
    top: 6px; right: 6px;
    font-size: 9.5px !important;
    padding: 3px 7px !important;
    line-height: 1.2;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cat-card.featured .cat-meta { border-top-color: rgba(255,255,255,0.12); }

  /* Sections — tighter padding */
  .section { padding: 32px 0 !important; }
  .section-head h2 { font-size: 24px !important; }
  .section-head { flex-direction: column; align-items: flex-start !important; gap: 8px; margin-bottom: 18px !important; }

  /* Trust strip — horizontal scroll */
  .trust-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trust-strip .container {
    display: flex !important; flex-wrap: nowrap !important;
    gap: 14px; padding: 16px;
  }
  .trust-strip .item { flex-shrink: 0; min-width: 200px; padding: 0 8px !important; border-right: 1px solid rgba(255,255,255,0.08) !important; }
  .trust-strip .item:last-child { border-right: none !important; }

  /* Stocked products grid */
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .product-card { padding: 0 !important; }
  .product-card .p-img { height: 120px !important; }
  .product-card h4 { font-size: 13px !important; }
  .product-card .p-price { font-size: 16px !important; }

  /* Warehouses — horizontal scroll */
  .warehouses-grid { display: flex !important; overflow-x: auto; gap: 12px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .warehouses-grid .wh-card { flex: 0 0 260px !important; }

  /* Dealer block */
  .dealer-tier-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }

  /* CATALOG page */
  .catalog-layout { grid-template-columns: 1fr !important; gap: 0 !important; }
  .catalog-layout aside.filters {
    position: fixed !important;
    inset: 0;
    background: #fff;
    z-index: 250;
    overflow-y: auto;
    padding: 16px !important;
    transform: translateX(-100%);
    transition: transform .22s ease;
  }
  .catalog-layout aside.filters.open { transform: translateX(0); }
  .filters-mobile-bar {
    display: flex !important;
    gap: 8px; padding: 10px 14px;
    border-bottom: 1px solid var(--steel-200);
    background: #fff;
    position: sticky; top: 60px; z-index: 30;
  }
  .filters-mobile-bar button {
    flex: 1; padding: 10px 14px;
    border: 1.5px solid var(--steel-200);
    border-radius: var(--r);
    font-weight: 600; font-size: 13px;
    background: #fff; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  }
  .filters-mobile-close {
    position: sticky; top: 0;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; background: #fff;
    border-bottom: 1px solid var(--steel-200);
    margin-bottom: 12px;
  }
  .catalog-head h1 { font-size: 22px !important; }
  .catalog-head .meta { font-size: 12px !important; flex-wrap: wrap; gap: 6px !important; }
  .catalog-toolbar { flex-wrap: wrap; gap: 8px !important; }
  .catalog-toolbar .view-toggle { display: none; }
  .catalog-grid { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)) !important; gap: 10px !important; }
  .pagination { flex-wrap: wrap; gap: 4px; }

  /* PDP — product page */
  .pdp-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
  .pdp-gallery { position: static !important; }
  .pdp-gallery .main-img { height: 280px !important; }
  .pdp-gallery .thumbs { gap: 6px !important; }
  .pdp-gallery .thumbs .thumb { width: 56px !important; height: 56px !important; }
  .pdp-buy-panel { position: static !important; padding: 16px !important; }
  .pdp-title h1 { font-size: 22px !important; }
  .pdp-info h1 { font-size: 21px !important; }
  .pdp-title .meta { flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .pdp-tabs .tab-bar {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .pdp-tabs .tab-bar button { padding: 14px 16px !important; flex-shrink: 0; font-size: 13px !important; }
  .pdp-tabs .tab-content { padding: 20px 0 !important; }
  .docs-grid { grid-template-columns: 1fr !important; }
  .pdp-options-grid { grid-template-columns: 1fr !important; }
  .pdp-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }

  /* Mobile sticky bottom bar for PDP */
  .pdp-bottom-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 80;
    background: #fff;
    border-top: 1px solid var(--steel-200);
    padding: 10px 14px;
    display: flex !important;
    gap: 10px; align-items: center;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  }
  .pdp-bottom-bar .pb-price { flex: 1; }
  .pdp-bottom-bar .pb-price .now { font-weight: 800; font-size: 18px; color: var(--ink); }
  .pdp-bottom-bar .pb-price .was { font-size: 11px; color: var(--steel-500); text-decoration: line-through; }
  .pdp-bottom-bar .cta-btn { padding: 12px 20px; }
  body.has-bottom-bar { padding-bottom: 70px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-solutions-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start !important; font-size: 12px; }
  .footer-bottom .pay { flex-wrap: wrap; gap: 8px !important; }

  /* Tweaks panel — position adjust */
  .tweaks-panel { right: 12px !important; left: 12px !important; width: auto !important; bottom: 76px !important; }
  .tweaks-toggle { right: 12px !important; bottom: 12px !important; }

  /* Tech table compact */
  .sku-line > span { white-space: normal !important; }
  .pdp-spec-groups { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tech-table td { padding: 10px 8px; font-size: 13px; }
  .tech-table td { overflow-wrap: anywhere; }
  .tech-table td:first-child { width: 50%; }
}

/* Hidden on desktop */
.filters-mobile-bar { display: none; }
.pdp-bottom-bar { display: none; }


/* ===== Q-H Chart ===== */
.qh-chart { background: var(--paper); border:1px solid var(--steel-200); border-radius: var(--r-md); padding: 20px; }
.qh-controls { display:flex; justify-content:space-between; gap:16px; align-items:center; flex-wrap:wrap; margin-bottom:16px; }
.qh-tabs { display:flex; gap:4px; background:var(--steel-50); border:1px solid var(--steel-200); border-radius:var(--r); padding:3px; }
.qh-tabs button { background:transparent; border:0; padding:7px 14px; font-size:12px; font-weight:600; color:var(--steel-700); cursor:pointer; border-radius:var(--r-sm); letter-spacing:0.02em; }
.qh-tabs button.active { background:var(--ink); color:#fff; }
.qh-toggles { display:flex; gap:14px; font-size:12px; color:var(--steel-700); }
.qh-toggles label { display:flex; gap:6px; align-items:center; cursor:pointer; user-select:none; }
.qh-toggles input { accent-color: var(--red); }

.qh-svg-wrap { position:relative; }
.qh-svg { width:100%; height:auto; display:block; font-family: inherit; }
.qh-grid line { stroke: var(--steel-200); stroke-width: 1; stroke-dasharray: 2 3; }
.qh-axes line { stroke: var(--steel-700); stroke-width: 1.2; }
.qh-axis-aux { stroke: var(--steel-300); stroke-width: 1; }
.qh-tick { font-size: 11px; fill: var(--steel-500); font-feature-settings:"tnum"; }
.qh-tick-power { fill: #B7791F; }
.qh-axis-label { font-size: 12px; fill: var(--steel-700); font-weight:500; }
.qh-axis-label-power { fill: #B7791F; }

.qh-curve { fill:none; stroke-linecap:round; stroke-linejoin:round; }
.qh-curve-main { stroke: var(--red); stroke-width: 2.4; }
.qh-curve-power { stroke: #B7791F; stroke-width: 1.6; stroke-dasharray: 5 4; }
.qh-curve-rpm { stroke: var(--steel-700); stroke-width: 1.4; stroke-dasharray: 2 3; }

.qh-dot { fill:#fff; stroke: var(--red); stroke-width:1.6; }
.qh-bep-ring { fill:none; stroke: var(--green); stroke-width:1.5; }
.qh-bep-dot { fill: var(--green); }

.qh-cross { stroke: var(--steel-500); stroke-width: 1; stroke-dasharray: 3 3; pointer-events:none; }
.qh-hover-dot { fill: var(--ink); stroke:#fff; stroke-width:2; }

.qh-tooltip { position:absolute; top:12px; right:12px; background: rgba(14,15,18,0.94); color:#fff; padding:10px 14px; border-radius:var(--r); font-size:12px; min-width:140px; backdrop-filter: blur(6px); pointer-events:none; }
.qh-tooltip-row { display:flex; justify-content:space-between; gap:14px; padding:2px 0; }
.qh-tooltip-row span { color: var(--steel-300); }
.qh-tooltip-row b { font-feature-settings:"tnum"; font-weight:600; }

.qh-legend { display:flex; gap:18px; flex-wrap:wrap; margin-top:14px; padding-top:14px; border-top:1px solid var(--steel-200); font-size:12px; color:var(--steel-700); }
.qh-legend-item { display:flex; gap:8px; align-items:center; }
.qh-sw { width:24px; height:3px; border-radius:2px; display:inline-block; }
.qh-sw-main { background: var(--red); }
.qh-sw-bep { background: var(--green); width:10px; height:10px; border-radius:50%; }
.qh-sw-power { background: repeating-linear-gradient(90deg, #B7791F 0 5px, transparent 5px 9px); }
.qh-sw-rpm { background: repeating-linear-gradient(90deg, var(--steel-700) 0 2px, transparent 2px 5px); }

.qh-meta { margin-top:14px; padding:12px 14px; background:var(--steel-50); border-radius:var(--r); font-size:11.5px; color:var(--steel-500); display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; }

.main-nav .container { position: relative; }
.cat-mega-bg { position: fixed; inset: 0; z-index: 55; }
.cat-mega { position: absolute; top: 100%; left: 32px; z-index: 60; background:#fff; border:1px solid var(--steel-200); border-radius:0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-lg); width: 420px; max-width: calc(100vw - 40px); padding: 8px; max-height: 70vh; overflow-y: auto; }
.cat-mega-item { display:flex; flex-direction:row; align-items:center; gap:12px; padding:10px 14px; border-radius:var(--r); cursor:pointer; text-decoration:none; }
.cat-mega-item .cmi-thumb { flex:0 0 auto; width:48px; height:48px; border-radius:var(--r); background:var(--steel-50); border:1px solid var(--steel-200); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cat-mega-item .cmi-thumb img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.cat-mega-item .cmi-text { display:flex; flex-direction:column; gap:2px; min-width:0; }
.cat-mega-item:hover { background: var(--steel-50); }
.cat-mega-item .cmi-name { font-weight:700; font-size:14px; color:var(--ink); }
.cat-mega-item .cmi-meta { font-size:12px; color:var(--steel-500); }
@media (max-width: 768px){ .cat-mega { left: 12px; right:12px; width:auto; } }
/* Очень узкие экраны — вся навигация в бургер */
@media (max-width: 440px){ .main-nav { display: none; } }


/* ===== Страница «Наличие на складе» ===== */
.stockpg { padding-bottom: 56px; }
.stockpg .crumbs { font-size: 12.5px; color: var(--steel-500); padding: 18px 0 0; }
.stockpg .crumbs span { cursor: pointer; }
.stockpg .crumbs span:hover { color: var(--red); }
.stockpg-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 14px 0 6px; }
.stockpg-sub { color: var(--steel-700); font-size: 14px; max-width: 76ch; margin: 0 0 4px; }
.stockpg-sub .sync-note { color: var(--steel-500); }
.stockpg-note { color: var(--steel-700); font-size: 13px; margin: -4px 0 12px; }
.stock-sum { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.stock-sum .chip { font-size: 12.5px; color: var(--steel-700); background: #fff; border: 1px solid var(--steel-200); border-radius: 20px; padding: 6px 13px; }
.stock-sum .chip b { color: var(--ink); }
.stock-sum .chip.green { background: #E5F4EC; border-color: #BFE3CF; color: #14683A; }
.stock-sum .chip.green b { color: #14683A; }
.stock-sum .chip.amber { background: var(--warn-soft); border-color: #EED9AE; color: #8A5A12; }
.stock-sum .chip.amber b { color: #8A5A12; }
.stock-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin: 18px 0 20px; flex-wrap: wrap; }
.stock-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.stock-cats button { font: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 13px; border: 1.5px solid var(--steel-200); background: #fff; border-radius: var(--r); cursor: pointer; color: var(--steel-900); }
.stock-cats button .ct { color: var(--steel-500); font-weight: 500; margin-left: 3px; }
.stock-cats button:hover { border-color: var(--steel-300); }
.stock-cats button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.stock-cats button.active .ct { color: rgba(255,255,255,0.6); }
.stock-search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--steel-200); background: #fff; border-radius: var(--r); padding: 8px 12px; min-width: 230px; }
.stock-search .ico { color: var(--steel-500); display: flex; }
.stock-search input { border: none; outline: none; font: inherit; font-size: 13px; width: 100%; background: transparent; }
.stock-h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; margin: 8px 0 12px; }
.stock-h2 .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.stock-h2 .dot.green { background: var(--green); }
.stock-h2 .dot.amber { background: var(--warn); }
.stock-table-wrap { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); overflow: hidden; overflow-x: auto; }
.stock-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.stock-table th { background: var(--steel-100); text-align: left; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-700); padding: 10px 14px; border-bottom: 1px solid var(--steel-200); white-space: nowrap; }
.stock-table td { padding: 11px 14px; border-bottom: 1px solid var(--steel-100); vertical-align: middle; }
.stock-table tbody tr { cursor: pointer; }
.stock-table tbody tr:hover { background: var(--steel-50); }
.stock-table tbody tr:last-child td { border-bottom: none; }
.stock-table .num { text-align: right; white-space: nowrap; }
.stock-table th.num { text-align: right; }
.stock-table .act { width: 56px; text-align: right; }
.st-model { font-weight: 700; color: var(--ink); }
.st-art { font-size: 11.5px; color: var(--steel-500); margin-top: 1px; }
.st-cat { color: var(--steel-700); font-size: 12.5px; }
.st-spec { color: var(--steel-700); font-size: 12.5px; }
.wh-qty { display: inline-block; font-weight: 700; color: #14683A; background: #E5F4EC; border-radius: 4px; padding: 3px 9px; font-size: 12.5px; }
.wh-none { color: var(--steel-300); }
.eta-pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: var(--warn-soft); color: #8A5A12; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.st-eta { font-weight: 600; color: var(--steel-900); white-space: nowrap; }
.st-add { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; border: none; border-radius: var(--r); cursor: pointer; }
.st-add:hover { background: var(--red-dark); }
.st-add.ghost { width: auto; padding: 0 13px; height: 34px; background: #fff; color: var(--red); border: 1.5px solid var(--red); font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st-add.ghost:hover { background: var(--red-soft); }
.stock-empty { background: #fff; border: 1px dashed var(--steel-300); border-radius: var(--r-md); padding: 26px; text-align: center; color: var(--steel-500); font-size: 13.5px; }
.stock-more { width: 100%; min-height: 44px; border: 0; border-top: 1px solid var(--steel-200); background: var(--steel-50); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.stock-more:hover { background: var(--steel-100); color: var(--red); }
.stock-link-index { margin: 10px 0 20px; border: 1px solid var(--steel-200); border-radius: var(--r); background: #fff; }
.stock-link-index summary { padding: 10px 13px; color: var(--steel-700); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.stock-link-index nav { display: flex; flex-wrap: wrap; gap: 7px 12px; max-height: 260px; overflow: auto; padding: 0 13px 13px; }
.stock-link-index a { color: var(--steel-700); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.stock-link-index a:hover { color: var(--red); }
.stock-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 24px 28px; margin-top: 36px; }
.stock-cta h3 { margin: 0 0 4px; font-size: 17px; }
.stock-cta p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.75); max-width: 56ch; }
.stock-cta .primary { font: inherit; font-weight: 700; font-size: 14px; background: var(--red); color: #fff; border: none; border-radius: var(--r); padding: 13px 24px; cursor: pointer; }
.stock-cta .primary:hover { background: var(--red-dark); }
.nav-link.stock-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-link .stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
@media (max-width: 760px) {
  .stock-table .hide-m { display: none; }
  .stock-toolbar { flex-direction: column; align-items: stretch; }
  .stock-search { min-width: 0; }
}


/* миниатюры в таблицах наличия */
.stock-table .th-thumb { width: 56px; }
.stock-table .td-thumb { width: 56px; padding: 6px 6px 6px 12px; }
.st-thumb { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--steel-50); border: 1px solid var(--steel-100); border-radius: var(--r); overflow: hidden; flex: none; }
.st-thumb img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.st-thumb-ico { align-items: center; justify-content: center; }

/* Онлайн-заказ: адаптивная таблица — колонки тех. характеристик показываются,
   пока для них есть место (контейнерные запросы по ширине обёртки таблицы);
   всегда остаются: фото, модель, наличие, цена, шт, сумма */
.ord-table { min-width: 0; width: 100%; }
.ord-table td { padding: 8px 7px; }
.ord-table td:first-child { padding-left: 10px; }
.ord-wrap { container-type: inline-size; }
@container (max-width: 920px) { .ord-table .ord-spec2 { display: none; } }
@container (max-width: 760px) { .ord-table .ord-spec { display: none; } }
@media (max-width: 640px) {
  .ord-table td { padding: 8px 8px; font-size: 12px; }
}


/* ===== Подкатегории (серии) на главной ===== */
.subcat-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.subcat-group { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 14px; content-visibility: auto; contain-intrinsic-size: 0 560px; box-shadow: var(--shadow-sm); min-width: 0; }
.subcat-head { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 0 2px 12px; margin-bottom: 12px; border-bottom: 1px solid var(--steel-100); min-width: 0; }
.subcat-ico { flex: none; display: flex; }
.subcat-head h3 { margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: 0; min-width: 0; overflow-wrap: anywhere; }
.subcat-head .subcat-count { font-size: 12px; color: var(--steel-500); font-weight: 600; }
.subcat-head .subcat-all { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; color: var(--steel-500); display: inline-flex; align-items: center; gap: 5px; transition: color .15s; white-space: nowrap; }
.subcat-head .subcat-all svg { width: 13px; height: 13px; transition: transform .15s; }
.subcat-head:hover h3 { color: var(--red); }
.subcat-head:hover .subcat-all { color: var(--red); }
.subcat-head:hover .subcat-all svg { transform: translateX(3px); }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.subcat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.subcat-card { border: 1px solid var(--steel-200); border-radius: var(--r); overflow: hidden; cursor: pointer; background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
.subcat-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,15,18,0.08); }
.subcat-card-img { position: relative; height: 82px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff 0%, var(--steel-50) 100%); border-bottom: 1px solid var(--steel-100); }
.subcat-card-img img { max-width: 74%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity .18s ease; }
.subcat-card-img img.is-loaded { opacity: 1; }
.subcat-card-ico { position: absolute; inset: 0; align-items: center; justify-content: center; }
.subcat-card-ico.has-photo { background: linear-gradient(110deg, #f4f5f7 8%, #fafafa 18%, #f4f5f7 33%); background-size: 200% 100%; animation: subcat-skeleton 1.4s linear infinite; }
@keyframes subcat-skeleton { to { background-position-x: -200%; } }
.subcat-card-tag { position: absolute; top: 6px; left: 6px; font-size: 9px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; color: #14683A; background: var(--green-soft, #E5F4EC); border: 1px solid #BFE3CF; border-radius: 4px; padding: 2px 5px; }
.subcat-card-body { padding: 8px 10px 9px; display: flex; flex-direction: column; gap: 1px; }
.subcat-card-body b { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.subcat-card:hover .subcat-card-body b { color: var(--red); }
.subcat-card-body span { font-size: 11px; color: var(--steel-500); }
@media (max-width: 1100px) { .subcat-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .subcat-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .subcat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subcat-head { flex-wrap: wrap; }
  .subcat-head .subcat-all { margin-left: 40px; }
}

/* официальный знак BVN (с сайта завода) в шапке/футере */
.brand-mark { background: #fff; border: 1px solid var(--steel-200); }
.brand-mark .brand-logo-img { width: 40px; height: 40px; object-fit: contain; display: block; }
@media (max-width: 760px) { .brand-mark .brand-logo-img { width: 30px; height: 30px; } }
.footer .brand-mark { border-color: rgba(255,255,255,0.15); }
/* тёмный футер: белая подложка под чёрный логотип, чтобы читался */
.footer-brand .brand { background:#fff; border-radius:8px; padding:8px 12px; display:inline-block; }
.footer-brand .brand-logo-svg { height:40px; }


/* ===== Информационные страницы (О заводе, Как купить, Дилерам, FAQ, Документация, Контакты) ===== */
.ip-page { padding-bottom: 64px; }
.ip-page .crumbs { font-size: 12.5px; color: var(--steel-500); padding: 18px 0 0; }
.ip-page .crumbs span { cursor: pointer; }
.ip-page .crumbs span:hover { color: var(--red); }
.ip-hero { max-width: 860px; padding: 18px 0 8px; }
.ip-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; margin: 10px 0 10px; line-height: 1.15; }
.ip-lead { font-size: 15.5px; line-height: 1.6; color: var(--steel-700); margin: 0; text-wrap: pretty; }
.ip-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 8px; }
.ip-stat { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 18px 18px 14px; border-top: 3px solid var(--red); }
.ip-stat .n { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.ip-stat .l { font-size: 12.5px; color: var(--steel-700); margin-top: 3px; line-height: 1.4; }
.ip-section { margin-top: 34px; max-width: 980px; }
.ip-section h2 { font-size: 20px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.ip-section p { font-size: 14.5px; line-height: 1.65; color: var(--steel-900); max-width: 82ch; text-wrap: pretty; }
.ip-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.ip-cols.wh4 { grid-template-columns: repeat(4, 1fr); }
.ip-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 16px 18px; }
.ip-card h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.ip-card p { font-size: 13px; line-height: 1.55; color: var(--steel-700); margin: 0 0 6px; }
.ip-card p:last-child { margin-bottom: 0; }
.ip-list { margin: 8px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--steel-900); max-width: 84ch; }
.ip-list li { margin-bottom: 8px; }
.ip-note { font-size: 13px; color: var(--steel-500); }
.ip-link { color: var(--red); font-weight: 600; cursor: pointer; text-decoration: none; }
.ip-link:hover { text-decoration: underline; }
.ip-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 6px; }
.ip-step { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 18px; }
.ip-step .num { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: 0.08em; }
.ip-step h4 { margin: 8px 0 6px; font-size: 15px; }
.ip-step p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--steel-700); }
.ip-details { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r); margin-top: 12px; }
.ip-details summary { cursor: pointer; font-weight: 700; font-size: 14px; padding: 13px 16px; list-style-position: inside; }
.ip-details[open] summary { border-bottom: 1px solid var(--steel-100); }
.ip-details > *:not(summary) { padding: 4px 18px 8px; }
.ip-details .ip-note { padding-bottom: 14px; }
.ip-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 24px 28px; margin-top: 38px; }
.ip-cta h3 { margin: 0 0 4px; font-size: 17px; }
.ip-cta p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.75); max-width: 60ch; }
.ip-cta .primary { font: inherit; font-weight: 700; font-size: 14px; background: var(--red); color: #fff; border: none; border-radius: var(--r); padding: 13px 24px; cursor: pointer; text-decoration: none; display: inline-block; }
.ip-cta .primary:hover { background: var(--red-dark); }
/* FAQ */
.kb-faq-title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 8px 0 4px; }
.kb-faq .faq-h:first-of-type { margin-top: 18px; }
.faq-h { font-size: 17px; font-weight: 800; margin: 30px 0 8px; display: flex; align-items: center; gap: 9px; }
.faq-h::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.faq-item summary { font-size: 14.5px; }
.faq-a p { font-size: 14px; line-height: 1.6; color: var(--steel-900); margin: 6px 0 12px; max-width: 84ch; }
/* Документация */
.docs-list { display: grid; gap: 10px; margin: 22px 0 4px; max-width: 760px; }
.doc-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 14px 18px; cursor: pointer; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.doc-row:hover { border-color: var(--red); transform: translateX(2px); }
.doc-ico { color: var(--red); display: flex; flex: none; }
.doc-body { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.doc-body b { font-size: 14.5px; }
.doc-body span { font-size: 12.5px; color: var(--steel-700); }
.doc-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--steel-100); color: var(--steel-700); border-radius: 4px; padding: 4px 9px; white-space: nowrap; }
@media (max-width: 860px) {
  .ip-stats, .ip-cols, .ip-cols.wh4, .ip-steps { grid-template-columns: 1fr 1fr; }
  .ip-hero h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .ip-stats, .ip-cols, .ip-cols.wh4, .ip-steps { grid-template-columns: 1fr; }
}


/* SEO-блок категории внизу каталога */
.cat-seo { margin: 44px auto 56px; max-width: 1020px; }
.cat-seo h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 10px; }
.cat-seo .cs-intro { font-size: 14.5px; line-height: 1.65; color: var(--steel-900); max-width: 86ch; text-wrap: pretty; }
.cs-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 8px; }
.cs-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 16px 18px; }
.cs-card h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cs-card h4::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
.cs-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--steel-700); }
.cs-faq-h { font-size: 16px; font-weight: 800; margin: 26px 0 6px; }
@media (max-width: 760px) { .cs-cols { grid-template-columns: 1fr; } }


/* ===== Описание модели (SEO, генератор) ===== */
.pdp-mdesc { max-width: 1060px; padding: 40px 0 8px; border-top: 1px solid var(--steel-200); margin-top: 40px; }
.pdp-mdesc h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 12px; }
.pdp-mdesc-lead { font-size: 15.5px; line-height: 1.7; color: var(--steel-900); margin: 0 0 20px; max-width: 860px; text-wrap: pretty; }
.pdp-mdesc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pdp-mdesc-block { background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 16px 20px; }
.pdp-mdesc-block h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel-700); margin: 0 0 8px; }
.pdp-mdesc-block p { font-size: 13.8px; line-height: 1.65; color: var(--steel-900); margin: 0; }
.pdp-mdesc-note { font-size: 12px; line-height: 1.6; color: var(--steel-500); margin: 14px 0 0; max-width: 860px; }
@media (max-width: 760px) { .pdp-mdesc-grid { grid-template-columns: 1fr; } }

/* ===== Договор поставки (оферта) ===== */
.of-page { padding-bottom: 64px; }
.of-head { max-width: 820px; padding: 18px 0 6px; }
.of-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 10px 0 10px; text-wrap: balance; }
.of-rev { font-size: 13px; font-weight: 600; color: var(--steel-500); }
.of-accept { background: var(--steel-50); border: 1px solid var(--steel-200); border-left: 4px solid var(--red); border-radius: var(--r-md); padding: 16px 20px; margin: 20px 0 4px; max-width: 980px; }
.of-accept .of-p { font-size: 14px; line-height: 1.65; color: var(--steel-900); margin: 0; }
.of-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 44px; align-items: start; margin-top: 26px; }
.of-body { max-width: 820px; min-width: 0; }
.of-preamble { padding-bottom: 18px; border-bottom: 1px solid var(--steel-200); margin-bottom: 8px; }
.of-preamble .of-p { font-size: 14.5px; line-height: 1.7; color: var(--steel-900); }
.of-h2 { font-size: 17px; font-weight: 800; letter-spacing: 0.01em; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); scroll-margin-top: 90px; }
.of-h3 { font-size: 15px; font-weight: 800; margin: 22px 0 8px; color: var(--ink); }
.of-clause { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px; margin-bottom: 14px; }
.of-clause-body { min-width: 0; grid-column: 2; }
.of-num { font-size: 13px; font-weight: 800; color: var(--red); padding-top: 1px; font-variant-numeric: tabular-nums; }
.of-p { font-size: 14.5px; line-height: 1.7; color: var(--steel-900); margin: 0 0 10px; text-wrap: pretty; }
.of-p:last-child { margin-bottom: 0; }
.of-list { margin: 6px 0 10px; padding-left: 20px; }
.of-list li { margin-bottom: 6px; }
.of-list li .of-p { margin: 0; font-size: 14px; }
.of-req { border: 1px solid var(--steel-200); border-radius: var(--r-md); overflow: hidden; background: #fff; margin: 10px 0 6px; }
.of-req-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--steel-100); font-size: 13.5px; }
.of-req-row:last-child { border-bottom: none; }
.of-req-row .k { color: var(--steel-700); }
.of-req-row .v { color: var(--ink); font-weight: 600; }
.of-foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--steel-200); font-size: 12.5px; color: var(--steel-500); line-height: 1.6; }
.of-body a.ip-link, .of-accept a.ip-link { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(211,32,39,0.4); text-underline-offset: 2px; word-break: break-word; }
.of-body a.ip-link:hover, .of-accept a.ip-link:hover { text-decoration-color: var(--red); }
/* Реестр редакций договора */
.ov-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 22px 0 8px; }
.ov-item { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 16px 18px; }
.ov-item.cur { border-color: var(--red); border-left-width: 4px; }
.ov-main { flex: 1 1 240px; min-width: 0; }
.ov-date { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.ov-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 5px; }
.ov-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-700); background: var(--steel-100); border-radius: 4px; padding: 3px 8px; }
.ov-tag.cur { color: var(--red); background: var(--red-soft, #FFE9EA); }
.ov-sub { font-size: 12.5px; color: var(--steel-500); }
.ov-btn { flex: none; font-size: 13px; padding: 9px 16px; }
.ov-btn-ghost { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--steel-200); border-radius: var(--r); color: var(--steel-900); font-weight: 700; text-decoration: none; transition: border-color .15s, color .15s; }
.ov-btn-ghost:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 560px) { .ov-btn, .ov-btn-ghost { width: 100%; } }

/* Плашка архивной редакции */
.of-archived { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--steel-100); border: 1px solid var(--steel-300, #C2C7D0); border-radius: var(--r-md); padding: 14px 18px; margin: 20px 0 0; max-width: 980px; }
.of-archived .of-p { font-size: 13.5px; line-height: 1.6; color: var(--steel-900); margin: 0; flex: 1 1 320px; min-width: 0; }

.of-toc { position: sticky; top: 84px; }
.of-toc-h { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 10px; }
.of-toc nav { display: flex; flex-direction: column; gap: 1px; border-left: 2px solid var(--steel-200); }
.of-toc nav a { font-size: 12.5px; line-height: 1.35; color: var(--steel-700); text-decoration: none; padding: 6px 0 6px 13px; margin-left: -2px; border-left: 2px solid transparent; transition: color .12s, border-color .12s; }
.of-toc nav a:hover { color: var(--red); border-left-color: var(--red); }
.of-print { margin-top: 16px; width: 100%; justify-content: center; }
@media (max-width: 920px) { .of-wrap { grid-template-columns: 1fr; gap: 0; } .of-toc { display: none; } }
@media (max-width: 560px) {
  .of-head h1 { font-size: 24px; }
  .of-clause { grid-template-columns: 46px minmax(0, 1fr); }
  .of-req-row { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  .header, .utility-bar, .footer, .crumbs, .of-toc, .of-print { display: none !important; }
  .of-wrap { grid-template-columns: 1fr; }
  .of-body { max-width: none; }
  .of-h2 { page-break-after: avoid; }
  .of-clause { page-break-inside: avoid; }
  /* собственный колонтитул документа — повторяется на каждой странице */
  .of-page::after {
    content: 'bahcivan.ru';
    position: fixed; bottom: 0; left: 0; right: 0;
    text-align: center; font-size: 9pt; color: #6B7280;
    padding-bottom: 4mm;
  }
  @page { margin: 16mm 14mm 20mm; }
}

/* ===== Информационный центр / База знаний ===== */
.kb-cat { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--red); background: var(--red-soft); border-radius: 4px; padding: 3px 9px; }

/* Избранная статья */
.kb-feat { display: flex; align-items: stretch; gap: 0; margin: 26px 0 8px; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); overflow: hidden; cursor: pointer; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.kb-feat:hover { border-color: var(--red); box-shadow: 0 6px 24px rgba(14,15,18,0.07); }
.kb-feat-body { padding: 28px 30px; flex: 1; min-width: 0; }
.kb-feat-body h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin: 12px 0 8px; color: var(--ink); }
.kb-feat-body p { font-size: 14.5px; line-height: 1.6; color: var(--steel-700); margin: 0 0 16px; max-width: 60ch; text-wrap: pretty; }
.kb-feat-cta { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--red); }
.kb-feat-cta .kb-read { color: var(--steel-500); font-weight: 600; }
.kb-feat-art { flex: none; width: 230px; display: flex; align-items: center; justify-content: center; background: var(--steel-50); border-left: 1px solid var(--steel-200); }

/* Сетка карточек статей */
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 8px; }
.kb-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 9px; }
.kb-card h3 { font-size: 15px; font-weight: 700; line-height: 1.3; margin: 4px 0 0; letter-spacing: -0.005em; }
.kb-card p { font-size: 12.8px; line-height: 1.5; color: var(--steel-700); margin: 0; flex: 1; }
.kb-card.soon { background: var(--steel-50); }
.kb-soon-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel-500); }
.kb-card .kb-cat { align-self: flex-start; }

/* Компактные ссылки на разделы */
.kb-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.kb-link { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 14px 18px; cursor: pointer; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.kb-link:hover { border-color: var(--red); transform: translateX(2px); }
.kb-link-ico { color: var(--red); display: flex; flex: none; }
.kb-link-body { display: flex; flex-direction: column; gap: 2px; }
.kb-link-body b { font-size: 14px; font-weight: 700; color: var(--ink); }
.kb-link-body span { font-size: 12.5px; color: var(--steel-700); line-height: 1.4; }

/* ===== Страница статьи ===== */
.art-page { padding-bottom: 64px; }
.art-head { max-width: 820px; padding: 18px 0 6px; }
.art-head h1 { font-size: 31px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; margin: 12px 0 12px; text-wrap: balance; }
.art-lead { font-size: 16px; line-height: 1.6; color: var(--steel-700); margin: 0 0 16px; text-wrap: pretty; }
.art-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--steel-500); font-weight: 600; }
.art-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--steel-300); }

.art-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 44px; align-items: start; margin-top: 24px; }
.art-body { max-width: 760px; min-width: 0; }
.art-body h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 38px 0 12px; scroll-margin-top: 90px; }
.art-body h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.art-body p { font-size: 15.5px; line-height: 1.72; color: var(--steel-900); margin: 0 0 14px; text-wrap: pretty; }
.art-body ul, .art-body ol { margin: 0 0 16px; padding-left: 22px; }
.art-body li { font-size: 15.5px; line-height: 1.65; color: var(--steel-900); margin-bottom: 8px; }
.art-body code { background: var(--steel-100); border: 1px solid var(--steel-200); padding: 1px 7px; border-radius: 4px; font-size: 14px; font-family: 'SFMono-Regular', ui-monospace, monospace; }
.art-body a.ip-link { color: var(--red); font-weight: 600; }
/* CTA внутри статьи: вернуть белый текст (перебивает .art-body p) */
.art-body .ip-cta p { color: rgba(255,255,255,0.78); }
.art-body .ip-cta h3 { color: #fff; }

/* Блок «коротко» */
.art-key { background: var(--steel-50); border: 1px solid var(--steel-200); border-left: 4px solid var(--red); border-radius: var(--r-md); padding: 20px 24px; margin: 8px 0 26px; }
.art-key h4 { margin: 0 0 12px; font-size: 15px; font-weight: 800; }
.art-key ol { margin: 0; padding-left: 20px; }
.art-key li { font-size: 14.5px; line-height: 1.75; margin-bottom: 8px; }
.art-key li:last-child { margin-bottom: 0; }
.art-key code { padding: 0 5px; }

/* Таблицы в статье */
.art-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); overflow: hidden; margin: 6px 0 18px; font-size: 14px; }
.art-table th { background: var(--steel-100); text-align: left; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steel-700); padding: 10px 16px; border-bottom: 1px solid var(--steel-200); }
.art-table td { padding: 11px 16px; border-bottom: 1px solid var(--steel-100); color: var(--steel-900); vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }
.art-table td:last-child { font-weight: 600; white-space: nowrap; }

/* Подсказка-врезка */
.art-tip { background: var(--green-soft, #E5F4EC); border: 1px solid #BFE3CF; border-radius: var(--r-md); padding: 14px 18px; font-size: 14px !important; line-height: 1.6 !important; color: var(--steel-900); margin: 4px 0 18px !important; }
/* Оговорка / уточнение по фактам */
.art-cav { font-size: 13px !important; line-height: 1.55 !important; color: var(--steel-700) !important; background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: var(--r); padding: 10px 14px; margin: -2px 0 18px !important; }
/* Правовая оговорка в конце статьи */
.art-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--steel-200); }
.art-legal h5 { margin: 0 0 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-500); }
.art-legal p { font-size: 12px !important; line-height: 1.62 !important; color: var(--steel-500) !important; margin: 0 !important; max-width: none !important; }

/* ===== Поступления и новинки ===== */
.upd-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 22px; }
.upd-stat { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 13px 18px; display: flex; align-items: center; gap: 9px; cursor: pointer; transition: border-color 0.15s; }
.upd-stat:hover { border-color: var(--red); }
.upd-stat .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.upd-stat b { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.upd-stat span:last-child { font-size: 13px; color: var(--steel-700); }
.upd-feed { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; max-width: 880px; }
.upd-item { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 18px 22px; display: grid; grid-template-columns: 124px 1fr; gap: 20px; cursor: pointer; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.upd-item:hover { border-color: var(--red); transform: translateX(2px); }
.upd-meta { display: flex; flex-direction: column; gap: 9px; }
.upd-date { font-size: 12px; color: var(--steel-500); font-weight: 600; }
.upd-tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.upd-tag.postup { background: var(--green-soft); color: #14683A; }
.upd-tag.novinka { background: var(--red-soft); color: var(--red); }
.upd-tag.predzakaz { background: var(--warn-soft); color: #8A5A12; }
.upd-tag.assort { background: var(--steel-100); color: var(--steel-700); }
.upd-body h3 { margin: 0 0 5px; font-size: 16px; font-weight: 700; letter-spacing: -0.005em; }
.upd-body p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--steel-700); max-width: 78ch; text-wrap: pretty; }
.upd-body .upd-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--red); }
@media (max-width: 640px) { .upd-item { grid-template-columns: 1fr; gap: 10px; } .upd-meta { flex-direction: row; align-items: center; gap: 12px; } }

/* Сейчас на складе — сетка серий */
.upd-stockgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 4px; }
.upd-scard { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 14px 16px; text-decoration: none; cursor: pointer; transition: border-color 0.15s, transform 0.15s; display: block; }
.upd-scard:hover { border-color: var(--red); transform: translateY(-2px); }
.upd-scard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.upd-scard-top b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.upd-scard-qty { font-size: 12px; font-weight: 700; color: #14683A; background: var(--green-soft); border-radius: 4px; padding: 2px 8px; white-space: nowrap; flex: none; }
.upd-scard-meta { font-size: 12px; color: var(--steel-500); margin-top: 5px; }
.upd-scard-wh { display: flex; flex-direction: column; gap: 2px; margin-top: 9px; font-size: 12px; color: var(--steel-700); }
@media (max-width: 880px) { .upd-stockgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .upd-stockgrid { grid-template-columns: 1fr; } }

/* Иконки отделов на странице контактов */
.contact-ico { width: 56px; height: 56px; border-radius: 13px; background: linear-gradient(135deg, #FFF3F3, #FFDCDE); display: flex; align-items: center; justify-content: center; margin-bottom: 13px; flex: none; box-shadow: inset 0 0 0 1px rgba(211,32,39,0.15), 0 10px 18px -12px rgba(211,32,39,0.5); transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1); }
.ip-card:hover .contact-ico { transform: translateY(-3px); }
.contact-ico svg { overflow: visible; }
.fanspin { transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); transform-origin: 24px 19px; }
.ip-card:hover .fanspin { transform: rotate(180deg); }

/* ===== Сравнение товаров ===== */
.cmp-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 34px; height: 34px; background: #fff; border: 1.5px solid var(--steel-200); border-radius: var(--r); color: var(--steel-500); cursor: pointer; transition: border-color .13s, color .13s, background .13s; flex: none; }

/* Мгновенная подсказка при наведении */
.cmp-toggle[data-tip]::after, .icon-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute; z-index: 40;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  padding: 4px 9px; border-radius: 4px; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .12s;
}
.cmp-toggle[data-tip]::after { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.cmp-toggle[data-tip]:hover::after { opacity: 1; visibility: visible; }
.icon-btn[data-tip] { position: relative; }
.icon-btn[data-tip]::after { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
.icon-btn[data-tip]:hover::after { opacity: 1; visibility: visible; }
.cmp-toggle:hover { border-color: var(--red); color: var(--red); }
.cmp-toggle.on { background: var(--red); border-color: var(--red); color: #fff; }
.pcard-img .cmp-toggle { position: absolute; top: 44px; right: 8px; z-index: 2; width: 30px; height: 30px; }
.cmp-toggle.lbl { width: auto; height: 48px; padding: 0 18px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); }
.cmp-toggle.lbl:hover { color: var(--red); }
.cmp-toggle.lbl.on { background: var(--red-soft); border-color: var(--red); color: var(--red); }

.cmp-head-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0 18px; flex-wrap: wrap; }
.cmp-h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.cmp-tools { display: flex; align-items: center; gap: 18px; }
.cmp-diff-toggle { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--steel-700); cursor: pointer; }
.cmp-diff-toggle input { accent-color: var(--red); width: 15px; height: 15px; }
.cmp-clear { background: none; border: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--steel-500); cursor: pointer; text-decoration: underline; }
.cmp-clear:hover { color: var(--red); }

.cmp-scroll { overflow-x: auto; border: 1px solid var(--steel-200); border-radius: var(--r-md); background: #fff; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 13.5px; }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--steel-100); padding: 10px 16px; text-align: left; vertical-align: top; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-corner { width: 210px; min-width: 160px; }
.cmp-label { font-weight: 600; color: var(--steel-700); background: var(--steel-50); position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--steel-100); }
.cmp-table tr.diff .cmp-label { box-shadow: inset 3px 0 0 var(--red); }
.cmp-prod { min-width: 185px; position: relative; padding-bottom: 14px; vertical-align: bottom; }
.cmp-prod-img { height: 92px; display: flex; align-items: center; justify-content: center; background: var(--steel-50); border-radius: var(--r); cursor: pointer; margin: 14px 0 9px; }
.cmp-prod-sku { font-size: 15px; font-weight: 800; cursor: pointer; letter-spacing: -0.005em; }
.cmp-prod-sku:hover { color: var(--red); }
.cmp-prod-stock { font-size: 11.5px; font-weight: 700; color: var(--steel-500); margin-top: 3px; }
.cmp-prod-stock.in { color: #16A34A; }
.cmp-prod-price { font-size: 13px; font-weight: 700; margin-top: 4px; }
.cmp-add { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border: none; border-radius: var(--r); padding: 8px 13px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.cmp-add:hover { background: var(--red); }
.cmp-remove { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 20px; line-height: 1; color: var(--steel-300); cursor: pointer; padding: 2px; }
.cmp-remove:hover { color: var(--red); }

.cmp-empty { text-align: center; padding: 54px 20px 50px; border: 1.5px dashed var(--steel-200); border-radius: var(--r-md); background: #fff; margin-top: 6px; }
.cmp-empty-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--steel-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--steel-500); }
.cmp-empty h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.cmp-empty p { font-size: 14px; color: var(--steel-700); max-width: 54ch; margin: 0 auto 20px; line-height: 1.6; }
@media (max-width: 640px) { .cmp-corner { min-width: 120px; } .cmp-label { font-size: 12px; } }

/* Personal quote and printable/PDF version; no inline style element needed. */
.kp-sheet { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); max-width: 900px; margin: 0 auto; padding: 40px 44px; }
.kp-wm { position: absolute; inset: 0; pointer-events: none; z-index: 0; display: flex; flex-direction: column; justify-content: space-around; transform: rotate(-24deg) scale(1.4); }
.kp-wm span { white-space: nowrap; font-weight: 800; font-size: 22px; color: rgba(211,32,39,0.055); letter-spacing: .06em; text-align: center; }
.kp-body { position: relative; z-index: 1; }
.kp-note { font-size: 11.5px; color: var(--steel-500); }
@media (max-width: 640px) {
  .kp-sheet { padding: 22px 14px; }
  .kp-sheet .tech-table { font-size: 11px; }
  .kp-sheet .tech-table td { padding: 8px 4px; overflow-wrap: anywhere; }
}
@media print {
  body:has(.kp-sheet) * { visibility: hidden; }
  body .kp-sheet, body .kp-sheet * { visibility: visible; }
  .kp-sheet { position: absolute; inset: 0; border: none; border-radius: 0; max-width: none; overflow: visible; }
  .kp-sheet tr { break-inside: avoid; }
  .kp-noprint { display: none !important; }
}

/* Ошибки */
.art-mistakes { list-style: none; padding-left: 0 !important; }
.art-mistakes li { position: relative; padding-left: 28px; }
.art-mistakes li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; font-size: 14px; }

/* Содержание (sticky) */
.art-toc { position: sticky; top: 84px; }
.art-toc-h { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 10px; }
.art-toc nav { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--steel-200); }
.art-toc nav a { font-size: 13px; line-height: 1.4; color: var(--steel-700); text-decoration: none; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; transition: color 0.12s, border-color 0.12s; }
.art-toc nav a:hover { color: var(--red); border-left-color: var(--red); }

@media (max-width: 920px) {
  .art-wrap { grid-template-columns: 1fr; gap: 0; }
  .art-toc { display: none; }
}
@media (max-width: 760px) {
  .kb-grid, .kb-links { grid-template-columns: 1fr; }
  .kb-feat { flex-direction: column; }
  .kb-feat-art { width: 100%; height: 150px; border-left: none; border-top: 1px solid var(--steel-200); }
  .art-head h1 { font-size: 25px; }
}
/* Static PDP promotion styles: no inline style element under CSP. */
@keyframes bvnPromoIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media print{.bvn-ship-promo{display:none}}
/* Technical series index: keep wide engineering tables inside the viewport. */
.catalog-model-guide{padding-top:32px;padding-bottom:28px;min-width:0}
.catalog-model-guide h2{font-size:clamp(20px,2.2vw,28px);line-height:1.3;margin:20px 0 14px}
.catalog-model-guide p{line-height:1.6;color:var(--steel-700)}
.catalog-model-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--steel-200);border-radius:6px;margin:20px 0 28px}
.catalog-model-table-scroll:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.catalog-model-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}
.catalog-model-table caption{text-align:left;font-weight:700;padding:14px;background:var(--steel-50)}
.catalog-model-table th,.catalog-model-table td{padding:12px;border-bottom:1px solid var(--steel-200);vertical-align:top;min-width:95px}
.catalog-model-table thead{background:var(--steel-50)}
.catalog-model-table th:first-child{min-width:160px}
.catalog-model-table a,.catalog-series-navigation a,.catalog-reading-links a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.catalog-series-navigation{margin:20px 0}
.catalog-series-navigation summary{cursor:pointer;font-weight:700;padding:12px 0}
.catalog-series-navigation ul,.catalog-reading-links ul{display:flex;flex-wrap:wrap;gap:12px 24px;padding:0;list-style:none}
.catalog-reading-links{padding-top:20px;padding-bottom:28px}
#pdp-documents{scroll-margin-top:180px}
#series-model-table-title,#series-faq{scroll-margin-top:180px}
.docs-series-index,.docs-model-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 20px;list-style:none;padding:0}
.series-docs-page{min-width:0}
.series-docs-page h1{font-size:clamp(25px,3vw,40px);line-height:1.2}
.series-docs-page a,.docs-series-index a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.series-docs-page p{line-height:1.6}
.docs-type-nav{display:flex;flex-wrap:wrap;gap:12px 20px;margin:24px 0}
.series-docs-group,.docs-model{scroll-margin-top:180px}
.series-docs-group{margin:32px 0}
.series-doc-file-list{list-style:none;padding:0}
.series-doc-file{border:1px solid var(--steel-200);border-radius:6px;margin:12px 0;padding:16px;overflow-wrap:anywhere}
.series-doc-download{display:block;font-weight:700;margin-bottom:12px}
.series-doc-download span{font-size:12px;color:var(--steel-700);font-weight:400}
.series-doc-file summary{cursor:pointer}
.series-doc-file ul{display:flex;flex-wrap:wrap;gap:8px 22px}
