/*
 * Neovolt theme — редизайн 2026 (макет: themes-src/design/glavnaya.dc.html)
 * Подключается ПОСЛЕ {$css_files} и перекрывает global.css только в рамках
 * шапки (.nv-header), футера (.nv-footer) и главной (body#index .nv-*).
 */

/* ==== Шрифты (self-host, cyrillic+latin) ==== */
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-text-v7-cyrillic_latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-text-v7-cyrillic_latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-text-v7-cyrillic_latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-text-v7-cyrillic_latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/golos-text-v7-cyrillic_latin-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-v24-cyrillic_latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-v24-cyrillic_latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ==== Токены ==== */
:root {
  --nv-red: #C7000C;
  --nv-red-hover: #8F0009;
  --nv-text: #17191E;
  --nv-text-2: #3C424B;
  --nv-muted: #8A919C;
  --nv-border: #E3E6EA;
  --nv-bg-alt: #F9FAFB;
  --nv-dark: #17191E;
  --nv-dark-link: #B9BEC7;
  --nv-font: 'Golos Text', system-ui, Arial, sans-serif;
  --nv-mono: 'JetBrains Mono', Consolas, monospace;
}

body {
  font-family: var(--nv-font);
  color: var(--nv-text);
}

/* Компактная корзина blockcart в шапке (обёртка модуля — col-sm-4, гасим грид) */
.nv-header__right > .col-sm-4 {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: none;
}
.nv-header .shopping_cart {
  position: relative;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.nv-header .shopping_cart > a:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px 10px;
  color: var(--nv-text-2);
  font-size: 14px;
  font-family: var(--nv-font);
  text-transform: none;
  white-space: nowrap;
}
.nv-header .shopping_cart > a:first-child b {
  font-weight: 600;
  color: var(--nv-text);
  text-transform: none;
  font-family: var(--nv-font);
}
.nv-header .shopping_cart > a:first-child:hover { color: var(--nv-red); }
.nv-header .cart_block {
  left: auto;
  right: 0;
  top: 100%;
}
@media (max-width: 767px) {
  .nv-header__right > .col-sm-4, .nv-header .shopping_cart { display: none; }
}

/* Демо-баннеры themeconfigurator (default-bootstrap) — скрыть до решения по контенту */
#htmlcontent_top, #htmlcontent_home { display: none; }

/* ==== Кнопки ==== */
.nv-btn {
  display: inline-block;
  background: var(--nv-red);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 6px;
  border: 0;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s;
}
.nv-btn:hover, .nv-btn:focus { background: var(--nv-red-hover); color: #fff; }
.nv-btn--lg { font-weight: 700; font-size: 16px; padding: 13px 26px; }
.nv-btn--outline {
  background: transparent;
  border: 2px solid var(--nv-red);
  color: var(--nv-red) !important;
}
.nv-btn--outline:hover { background: var(--nv-red); color: #fff !important; }

/* ==== Шапка ==== */
.nv-header { background: #fff; border-bottom: 1px solid var(--nv-border); }
.nv-header a { text-decoration: none; }
.nv-header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid var(--nv-border);
}
.nv-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nv-text) !important;
  flex: none;
}
.nv-header__logo img { width: 34px; height: 34px; object-fit: contain; display: block; }
.nv-header__logo-name { font-weight: 800; font-size: 19px; letter-spacing: .02em; }

.nv-search { flex: 1 1 auto; max-width: 520px; }
.nv-search form { display: flex; align-items: center; margin: 0; }
.nv-search input[type="text"] {
  flex: 1;
  border: 1px solid #D6DAE0;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--nv-font);
  background: var(--nv-bg-alt);
  color: var(--nv-text);
  height: 42px;
  outline: none;
}
.nv-search input[type="text"]:focus { border-color: var(--nv-muted); background: #fff; }
.nv-search button {
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--nv-red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--nv-font);
  padding: 0 18px;
  height: 42px;
  cursor: pointer;
}
.nv-search button:hover { background: var(--nv-red-hover); }

.nv-header__nav { display: flex; gap: 22px; font-size: 15px; }
.nv-header__nav a { color: var(--nv-text-2) !important; }
.nv-header__nav a:hover { color: var(--nv-red) !important; }

.nv-header__right { margin-left: auto; display: flex; align-items: center; gap: 20px; flex: none; }
.nv-header__phone { font-size: 15px; color: var(--nv-text-2) !important; white-space: nowrap; }
.nv-header__phone b { font-weight: 600; color: var(--nv-text); }

.nv-catrow {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 48px;
  height: 52px;
  font-size: 15px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nv-catrow a { color: var(--nv-text-2) !important; white-space: nowrap; }
.nv-catrow a:hover { color: var(--nv-red) !important; }

/* Бургер (мобайл) */
.nv-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  flex: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
.nv-burger span { height: 2px; background: var(--nv-text); display: block; }
.nv-mobnav { display: none; }
.nv-mobnav.nv-open {
  display: block;
  background: #fff;
  border-bottom: 1px solid var(--nv-border);
  padding: 8px 16px 16px;
}
.nv-mobnav a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--nv-text-2) !important;
  border-bottom: 1px solid var(--nv-border);
}
.nv-mobnav a:last-child { border-bottom: 0; }

/* ==== Hero (главная) ==== */
body#index .nv-hero {
  position: relative;
  min-height: 640px;
  background: var(--nv-dark);
  overflow: hidden;
}
body#index .nv-hero__media,
body#index .nv-hero__media video,
body#index .nv-hero__media img {
  position: absolute;
  inset: 0;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body#index .nv-hero__shade {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(10,11,14,.86) 0%, rgba(10,11,14,.62) 55%, rgba(10,11,14,.38) 100%);
}
body#index .nv-hero__inner {
  position: relative;
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 64px 48px;
  min-height: 640px;
  box-sizing: border-box;
}
body#index .nv-hero__main { flex: 1 1 auto; max-width: 780px; }
body#index .nv-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  font-family: var(--nv-font);
  text-transform: none;
}
body#index .nv-hero__sub {
  margin: 0 0 20px;
  color: rgba(255,255,255,.88);
  font-size: 19px;
  line-height: 1.55;
  max-width: 640px;
}
body#index .nv-hero .nv-search { max-width: 640px; }
body#index .nv-hero .nv-search input[type="text"] {
  height: 54px;
  font-size: 15px;
  background: #fff;
  border-color: #fff;
}
body#index .nv-hero .nv-search button { height: 54px; font-size: 16px; font-weight: 700; padding: 0 28px; }

body#index .nv-medcard {
  flex: 0 0 460px;
  background: #fff;
  border-radius: 8px;
  border-top: 4px solid var(--nv-red);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
body#index .nv-medcard__title { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
body#index .nv-medcard p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--nv-text-2); }
body#index .nv-medcard .nv-mono-mark {
  font-family: var(--nv-mono);
  font-size: .9em;
  background: #FFF3C9;
  border-bottom: 1px dashed #C9A227;
  padding: 0 3px;
  border-radius: 2px;
}

/* ==== Полоса цифр ==== */
body#index .nv-stats { display: flex; border-bottom: 1px solid var(--nv-border); }
body#index .nv-stats__item {
  flex: 1;
  padding: 36px 48px;
  border-right: 1px solid var(--nv-border);
}
body#index .nv-stats__item:last-child { border-right: 0; }
body#index .nv-stats__num {
  font-size: 46px;
  font-weight: 800;
  color: var(--nv-red);
  line-height: 1;
  margin-bottom: 6px;
}
body#index .nv-stats__txt { font-size: 15px; color: var(--nv-text-2); }
body#index .nv-stats__more { font-size: 14px; font-weight: 600; color: var(--nv-red) !important; display: inline-block; margin-top: 6px; }

/* ==== Каталог (2 карты) ==== */
body#index .nv-section { padding: 40px 48px; border-bottom: 1px solid var(--nv-border); }
body#index .nv-section__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
body#index .nv-section__title { font-size: 28px; font-weight: 800; margin: 0; text-transform: none; }
body#index .nv-section__note { font-size: 14px; color: var(--nv-muted); }

body#index .nv-cats { display: flex; gap: 24px; }
body#index .nv-cat-card {
  flex: 1;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
body#index .nv-cat-card__title { font-size: 21px; font-weight: 800; margin: 0 0 14px; }
body#index .nv-cat-card__list { font-size: 15px; line-height: 1.7; color: var(--nv-text-2); margin-bottom: 14px; }
body#index .nv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
body#index .nv-chips span {
  border: 1px solid var(--nv-border);
  border-radius: 4px;
  padding: 6px 11px;
  font-size: 13px;
  color: var(--nv-text);
}
body#index .nv-cat-card .nv-btn { align-self: flex-start; margin-top: auto; }

/* ==== Шаги ==== */
body#index .nv-steps { display: flex; gap: 24px; }
body#index .nv-step {
  flex: 1;
  border-top: 3px solid var(--nv-border);
  padding-top: 14px;
}
body#index .nv-step:first-child { border-top-color: var(--nv-red); }
body#index .nv-step__num {
  font-family: var(--nv-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--nv-red);
  margin-bottom: 8px;
}
body#index .nv-step__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
body#index .nv-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--nv-text-2); }

/* ==== Футер ==== */
.nv-footer {
  background: var(--nv-dark);
  color: #fff;
  padding: 40px 48px 24px;
  font-family: var(--nv-font);
}
.nv-footer__cols {
  display: flex;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.nv-footer__col { flex: 1 1 200px; min-width: 180px; }
.nv-footer__col--brand { flex: 1.4 1 260px; }
.nv-footer__col--contact { flex: 1.2 1 220px; }
.nv-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.nv-footer__logo img { width: 30px; height: 30px; object-fit: contain; border-radius: 4px; }
.nv-footer__logo-name { font-weight: 800; font-size: 17px; color: #fff; }
.nv-footer__req { font-size: 13px; line-height: 1.6; color: var(--nv-dark-link); }
.nv-footer__head {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 9px;
  text-transform: uppercase;
}
.nv-footer__col a {
  display: block;
  font-size: 14px;
  color: var(--nv-dark-link) !important;
  margin-bottom: 9px;
  text-decoration: none;
}
.nv-footer__col a:hover { color: #fff !important; }
.nv-footer__phone { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.nv-footer__note { font-size: 13px; color: var(--nv-dark-link); margin-bottom: 12px; }
.nv-footer__pay { font-size: 12px; color: var(--nv-dark-link); margin-top: 12px; }
.nv-footer__bottom { padding-top: 16px; font-size: 12px; color: var(--nv-muted); }
.nv-footer__bottom a { color: var(--nv-muted) !important; text-decoration: none; }
.nv-footer__bottom a:hover { color: #fff !important; }

/* Скрыть стандартные модульные блоки футера default-bootstrap (переезжают в .nv-footer) */
.footer-container { display: none; }

/* ==== Главная: полноширинная сетка ==== */
body#index #columns.nv-fullwidth {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
body#index #columns.nv-fullwidth .row { margin: 0; }
body#index #columns.nv-fullwidth #center_column {
  padding: 0;
  float: none;
  width: 100%;
}
body#index #columns.nv-fullwidth #left_column,
body#index #columns.nv-fullwidth #right_column { display: none; }
body#index #columns.nv-fullwidth #top_column { padding: 0; }

/* ==== Медкатегория: вводный блок + плитки (ТЗ §4) ==== */
.nv-catintro {
  display: flex;
  gap: 40px;
  margin: 8px 0 20px;
}
.nv-catintro__text { flex: 1 1 auto; font-size: 16px; line-height: 1.6; color: #2A2E35; }
.nv-catintro__text p { margin: 0 0 14px; }
.nv-catintro__photo {
  flex: 0 0 400px;
  min-height: 220px;
  border-radius: 8px;
  background: #ECEEF1 center/cover no-repeat;
}
.nv-tiles {
  display: flex;
  gap: 16px;
  margin: 0 0 24px;
}
.nv-tile {
  flex: 1;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  padding: 22px;
}
.nv-tile svg { display: block; margin-bottom: 10px; }
.nv-tile__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.nv-tile__num { font-size: 32px; font-weight: 800; color: var(--nv-red); line-height: 1; margin-bottom: 10px; }
.nv-tile p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nv-text-2); }

/* ==== Карточка товара (ТЗ §5) ==== */
.nv-product-kp { margin: 10px 0 0; }
.nv-product-kp .nv-btn { display: block; text-align: center; }
.nv-product-b2b { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--nv-text-2); }
.nv-prodphoto { margin: 24px 0 0; }
.nv-prodphoto__img { height: 300px; border-radius: 8px; background: #ECEEF1 center/cover no-repeat; }
.nv-prodphoto p { margin: 10px 0 0; font-size: 14px; color: var(--nv-text-2); }
.nv-band {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--nv-dark);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}
.nv-band svg { flex: none; }
.nv-band a { color: #fff !important; text-decoration: underline; white-space: nowrap; margin-left: auto; font-weight: 600; }
.nv-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0 0;
  border: 1px solid var(--nv-border);
  border-left: 4px solid var(--nv-red);
  border-radius: 8px;
  padding: 18px 22px;
}
.nv-trust__num { font-size: 34px; font-weight: 800; color: var(--nv-red); line-height: 1; white-space: nowrap; }
.nv-trust p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--nv-text-2); }
.nv-sticky {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid var(--nv-border);
  box-shadow: 0 -6px 20px rgba(23,25,30,.12);
  padding: 10px 12px;
  gap: 10px;
}
.nv-sticky .nv-btn { flex: 1; text-align: center; }
@media (max-width: 767px) {
  body#product .nv-sticky { display: flex; }
  body#product { padding-bottom: 70px; }
}

/* ==== «О производстве» (CMS 42, ТЗ §6) ==== */
.nv-prod__head h1 { font-size: 38px; font-weight: 800; margin: 0 0 12px; text-transform: none; }
.nv-prod__sub { font-size: 17px; line-height: 1.55; color: var(--nv-text-2); max-width: 820px; margin: 0 0 16px; }
.nv-prod__facts { display: flex; gap: 64px; padding: 8px 0 28px; flex-wrap: wrap; }
.nv-prod__facts > div { font-size: 14px; color: #5C636E; }
.nv-prod__num { font-size: 36px; font-weight: 800; color: var(--nv-red); line-height: 1; margin-bottom: 6px; }
.nv-steppr__item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.nv-steppr__rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; flex: none; width: 44px; }
.nv-steppr__dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--nv-red);
  color: #fff;
  font-family: var(--nv-mono);
  font-size: 17px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.nv-steppr__line { width: 2px; flex: 1; background: var(--nv-border); }
.nv-steppr__text { flex: 0 0 38%; padding: 6px 0 40px; }
.nv-steppr__text h2 { font-size: 24px; font-weight: 800; margin: 0 0 10px; text-transform: none; }
.nv-steppr__text p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--nv-text-2); }
.nv-steppr__media {
  flex: 1;
  height: 300px;
  margin-bottom: 40px;
  border-radius: 8px;
  border: 1px solid var(--nv-border);
  background: #ECEEF1 center/cover no-repeat;
}
.nv-steppr__item--rev .nv-steppr__text { order: 2; }
.nv-steppr__item--rev .nv-steppr__media { order: 1; }
.nv-cadex {
  display: flex;
  gap: 48px;
  align-items: center;
  background: var(--nv-dark);
  color: #fff;
  border-radius: 8px;
  padding: 48px;
  margin: 8px 0 0;
}
.nv-cadex__photo { flex: 0 0 45%; height: 340px; border-radius: 8px; background: #3C424B center/cover no-repeat; }
.nv-cadex__label { font-family: var(--nv-mono); font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.55); text-transform: uppercase; margin-bottom: 16px; }
.nv-cadex__num { font-size: 72px; font-weight: 800; color: #FF4B55; line-height: 1; }
.nv-cadex__sub { font-size: 20px; font-weight: 700; margin: 8px 0 16px; }
.nv-cadex p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.85); }
.nv-prod__cta { display: flex; align-items: center; gap: 28px; padding: 40px 0; }
.nv-prod__cta p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--nv-text-2); max-width: 560px; }
.nv-prod__extra { padding-bottom: 24px; }

/* ==== Адаптив ==== */
@media (max-width: 991px) {
  .nv-header__nav, .nv-header__phone { display: none; }
  .nv-header__row { gap: 16px; padding: 0 16px; }
  body#index .nv-hero__inner { flex-direction: column; align-items: stretch; padding: 40px 16px; }
  body#index .nv-medcard { flex: none; }
  body#index .nv-stats { flex-direction: column; }
  body#index .nv-stats__item { border-right: 0; border-top: 1px solid var(--nv-border); padding: 20px 16px; }
  body#index .nv-cats, body#index .nv-steps { flex-direction: column; }
  body#index .nv-section { padding: 24px 16px; }
  .nv-footer { padding: 24px 16px 16px; }
}

@media (max-width: 991px) {
  .nv-catintro { flex-direction: column; }
  .nv-catintro__photo { flex: none; height: 200px; }
  .nv-tiles { flex-wrap: wrap; }
  .nv-tiles .nv-tile { flex: 1 1 40%; }
  .nv-steppr__item, .nv-cadex { flex-direction: column; gap: 16px; }
  .nv-steppr__rail { flex-direction: row; width: auto; align-self: flex-start; }
  .nv-steppr__line { display: none; }
  .nv-steppr__text { flex: none; padding-bottom: 0; }
  .nv-steppr__item--rev .nv-steppr__text { order: 0; }
  .nv-steppr__item--rev .nv-steppr__media { order: 0; }
  .nv-steppr__media { width: 100%; height: 220px; margin-bottom: 8px; }
  .nv-cadex { padding: 24px 16px; }
  .nv-cadex__photo { flex: none; width: 100%; height: 220px; }
  .nv-cadex__num { font-size: 48px; }
  .nv-prod__facts { gap: 24px; }
  .nv-prod__head h1 { font-size: 26px; }
  .nv-prod__cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
  .nv-band { flex-wrap: wrap; font-size: 14px; }
  .nv-band a { margin-left: 0; }
}

@media (max-width: 767px) {
  .nv-tiles .nv-tile { flex: 1 1 100%; }
  .nv-burger { display: flex; }
  .nv-header__row { height: 56px; }
  .nv-header__row .nv-search { display: none; }
  .nv-search--mobile { display: block; margin: 12px 16px; max-width: none; }
  .nv-catrow { display: none; }
  body#index .nv-hero { min-height: 480px; }
  body#index .nv-hero__inner { min-height: 480px; justify-content: flex-end; padding: 20px 16px 24px; }
  body#index .nv-hero h1 { font-size: 29px; line-height: 1.2; }
  body#index .nv-hero__sub { font-size: 14px; }
  body#index .nv-hero__shade {
    background: linear-gradient(180deg, rgba(10,11,14,.55) 0%, rgba(10,11,14,.85) 100%);
  }
  body#index .nv-hero .nv-search { display: none; }
  body#index .nv-stats__num { font-size: 30px; }
  body#index .nv-section__title { font-size: 20px; }
}
@media (min-width: 768px) {
  .nv-search--mobile { display: none; }
}

/* ==== Контакты (макет «Контакты») ==== */
.nv-contact { display: flex; gap: 48px; align-items: flex-start; margin: 8px 0 32px; }
.nv-contact__info { flex: 0 0 520px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.nv-contact__h1 { font-size: 36px; font-weight: 800; margin: 0; text-transform: none; }
.nv-contact__label {
  font-family: var(--nv-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--nv-muted); margin-bottom: 6px;
}
.nv-contact__phone { font-size: 30px; font-weight: 800; color: var(--nv-text) !important; }
.nv-contact__mail { font-size: 17px; font-weight: 600; }
.nv-contact__addr { font-size: 17px; font-weight: 600; line-height: 1.5; }
.nv-contact__note { font-size: 13px; color: #5C636E; margin-top: 4px; line-height: 1.6; }
.nv-contact__req { background: #F4F5F7; border-radius: 8px; padding: 18px 22px; font-size: 14px; line-height: 1.7; color: var(--nv-text-2); }
.nv-contact__req-title { font-size: 15px; font-weight: 700; color: var(--nv-text); margin-bottom: 4px; }
.nv-contact__form { border: 1px solid var(--nv-border); border-radius: 8px; padding: 20px 24px; }
.nv-contact__form fieldset { border: 0; padding: 0; margin: 0; }
.nv-contact__form-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.nv-contact__form .form-group { margin-bottom: 10px; }
.nv-contact__form .form-control {
  width: 100%;
  border: 1px solid #D6DAE0;
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 14px;
  font-family: var(--nv-font);
  height: auto;
  box-shadow: none;
}
.nv-contact__form textarea.form-control { min-height: 90px; }
.nv-contact__form .desc_contact { font-size: 13px; color: var(--nv-muted); }
.nv-contact__map { flex: 1; position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nv-contact__map iframe { width: 100%; height: 560px; border: 1px solid var(--nv-border); border-radius: 8px; display: block; }
.nv-contact__route { text-align: center; }

/* ==== Оформление заказа: скин поверх стокового OPC ==== */
body#order-opc #center_column h1,
body#order-opc #cart_title { font-size: 30px; font-weight: 800; text-transform: none; }
body#order-opc .opc-main-block,
body#order-opc #opc_new_account,
body#order-opc #carrier_area,
body#order-opc #opc_payment_methods {
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 24px;
  background: #fff;
}
body#order-opc #opc_new_account h3.page-subheading,
body#order-opc #carrier_area h3.page-subheading,
body#order-opc #opc_payment_methods h3.page-subheading,
body#order-opc .page-subheading {
  font-size: 18px; font-weight: 800;
  text-transform: none;
  border-bottom: 0;
  color: var(--nv-text);
}
body#order-opc .form-control {
  border: 1px solid #D6DAE0;
  border-radius: 6px;
  padding: 10px 13px;
  height: auto;
  font-family: var(--nv-font);
  box-shadow: none;
}
body#order-opc .table { border: 0; }
body#order-opc .cart_navigation .button,
body#order-opc button.button,
body#order-opc .payment_module a {
  border-radius: 6px;
}
body#order-opc #order-detail-content { border: 1px solid var(--nv-border); border-radius: 8px; overflow: hidden; }
body#order-opc .delivery_option > div { border: 1px solid var(--nv-border); border-radius: 8px; }
body#order-opc .delivery_option.item { background: #fff; }
body#order-opc .payment_module a { border: 1px solid var(--nv-border); border-radius: 8px; }
body#order-opc .payment_module a:hover { border-color: var(--nv-red); background: #FBF4F4; }

/* ==== О компании (CMS 4) ==== */
.nv-about { display: flex; flex-direction: column; gap: 36px; margin: 8px 0 32px; }
.nv-about__intro { display: flex; gap: 48px; align-items: flex-start; }
.nv-about__lead { flex: 1; }
.nv-about__lead h1 { font-size: 38px; line-height: 1.15; font-weight: 800; margin: 0 0 18px; text-transform: none; }
.nv-about__lead p { font-size: 17px; line-height: 1.6; color: var(--nv-text-2); max-width: 640px; margin: 0 0 16px; }
.nv-about__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nv-about__photo { flex: 0 0 480px; height: 360px; border-radius: 8px; border: 1px solid var(--nv-border); background: #ECEEF1 center/cover no-repeat; }
.nv-about__facts { display: flex; gap: 24px; }
.nv-about__facts > div { flex: 1; border-left: 2px solid var(--nv-border); padding-left: 24px; font-size: 14px; color: var(--nv-text-2); }
.nv-about__num { font-size: 40px; font-weight: 800; color: var(--nv-red); line-height: 1; margin-bottom: 6px; }
.nv-about__clients h2 { font-size: 28px; font-weight: 800; margin: 0 0 20px; text-transform: none; }
.nv-about__logos { display: flex; gap: 16px; flex-wrap: wrap; }
.nv-about__logos span {
  flex: 1 1 140px;
  height: 72px;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #5C636E;
}
.nv-about__why {
  display: flex; gap: 48px;
  background: var(--nv-dark); color: #fff;
  border-radius: 8px; padding: 48px;
}
.nv-about__why-lead { flex: 1; }
.nv-about__why h2 { font-size: 28px; font-weight: 800; margin: 0 0 16px; color: #fff; text-transform: none; }
.nv-about__why p { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.85); margin: 0 0 18px; }
.nv-about__why-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.nv-about__why-grid > div {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.nv-about__why-grid b { font-size: 15px; font-weight: 700; }
.nv-about__why-grid span { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }
.nv-about__bottom { display: flex; gap: 48px; align-items: flex-start; }
.nv-about__legal { flex: 1; }
.nv-about__legal h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; text-transform: none; }
.nv-about__legal p { font-size: 14px; line-height: 1.7; color: var(--nv-text-2); margin: 0; }
.nv-about__cta { flex: 0 0 440px; background: #F4F5F7; border-radius: 8px; padding: 24px; }
.nv-about__cta-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.nv-about__cta p { font-size: 14px; line-height: 1.55; color: var(--nv-text-2); margin: 0 0 12px; }
.nv-about__cta .nv-btn { display: block; text-align: center; }
.nv-about__cta-note { font-size: 13px; color: #5C636E; text-align: center; margin-top: 10px; }

@media (max-width: 991px) {
  .nv-contact { flex-direction: column; }
  .nv-contact__info { flex: none; width: 100%; }
  .nv-contact__map { position: static; width: 100%; }
  .nv-contact__map iframe { height: 320px; }
  .nv-about__intro, .nv-about__why, .nv-about__bottom { flex-direction: column; gap: 20px; }
  .nv-about__photo { flex: none; width: 100%; height: 220px; }
  .nv-about__facts { flex-wrap: wrap; }
  .nv-about__facts > div { flex: 1 1 40%; margin-bottom: 12px; }
  .nv-about__lead h1 { font-size: 27px; }
  .nv-about__why { padding: 24px 16px; }
  .nv-about__why-grid { grid-template-columns: 1fr; }
  .nv-about__cta { flex: none; width: 100%; }
  body#order-opc .opc-main-block,
  body#order-opc #opc_new_account,
  body#order-opc #carrier_area,
  body#order-opc #opc_payment_methods { padding: 16px; }
}

/* ============================================================
   Правки по ревизии 2026-07-18 (ночь): глобальные перекрытия
   default-bootstrap global.css (Open Sans/Arial, старые стили)
   ============================================================ */

/* Шрифты: перебиваем специфичные селекторы global.css */
body, h1, h2, h3, h4, h5, h6,
.btn, .button, input, select, textarea, label,
.page-heading, .page-subheading, .product-name, .price,
.breadcrumb, .cart_block, .block .title_block, .footer-container,
.ajax_block_product, .alert {
  font-family: var(--nv-font) !important;
}

/* Заголовки страниц */
h1.page-heading, .page-heading {
  font-size: 28px;
  font-weight: 800;
  text-transform: none;
  color: var(--nv-text);
  border-bottom: 0;
  padding: 0;
  margin: 6px 0 18px;
}
.page-heading .heading-counter { display: none; }
.page-subheading {
  text-transform: none;
  font-weight: 700;
  color: var(--nv-text);
}
/* Заголовок карточки товара */
body#product h1[itemprop="name"], body#product .pb-center-column h1 {
  font-size: 22px;
  font-weight: 700;
  text-transform: none;
  color: var(--nv-text);
}

/* Левая колонка: в дизайне её нет — контент на всю ширину */
#left_column { display: none !important; }
#center_column { width: 100% !important; }

/* Хлебные крошки */
.breadcrumb {
  background: none !important;
  border: 0 !important;
  box-shadow: none;
  padding: 10px 0 0;
  margin: 0;
  font-size: 13px;
  color: var(--nv-muted);
  min-height: 0;
}
.breadcrumb a { color: var(--nv-muted) !important; }
.breadcrumb a:hover { color: var(--nv-red) !important; }
.breadcrumb .navigation-pipe { width: auto; text-indent: 0; margin: 0 4px; }

/* Корзина в шапке: выпадашка только по hover, не распирает шапку */
.nv-header .shopping_cart > a:first-child { height: 38px; }
.nv-header .cart_block {
  display: none !important;
  position: absolute !important;
  right: 0; left: auto; top: 100%;
  width: 300px;
  background: #fff;
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23,25,30,.15);
  z-index: 1000;
  padding: 12px;
}
.nv-header .shopping_cart:hover .cart_block { display: block !important; }

/* Подкатегории: компактные чипы вместо плиток с картинками */
#subcategories { border: 0; padding: 0; margin: 0 0 18px; }
#subcategories .subcategory-heading {
  font-size: 15px; font-weight: 700;
  text-transform: none; color: var(--nv-text);
  margin: 0 0 10px; padding: 0; border: 0;
}
#subcategories ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
#subcategories ul li {
  width: auto !important; height: auto !important;
  float: none !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; background: none !important; text-align: left;
}
#subcategories .subcategory-image, #subcategories .cat_desc { display: none !important; }
#subcategories h5 { margin: 0; padding: 0; }
#subcategories .subcategory-name {
  display: block;
  border: 1px solid #D6DAE0;
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--nv-text-2) !important;
  text-transform: none;
}
#subcategories .subcategory-name:hover { border-color: var(--nv-red); color: var(--nv-red) !important; }

/* Листинг товаров: карточки по макету */
.product_list .product-container {
  border: 1px solid var(--nv-border);
  border-radius: 8px;
  padding: 14px;
  transition: box-shadow .15s;
}
.product_list .product-container:hover { box-shadow: 0 8px 24px rgba(23,25,30,.08); }
.product_list .product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--nv-text) !important;
  text-transform: none;
}
.product_list .product-name:hover { color: var(--nv-red) !important; }
.product_list .price { font-weight: 800; color: var(--nv-text); }
.product_list .price.product-price { font-size: 17px; }
.product_list .ajax_add_to_cart_button,
.product_list .lnk_view {
  background: var(--nv-red) !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  text-shadow: none !important;
  font-weight: 600;
}
.product_list .ajax_add_to_cart_button:hover, .product_list .lnk_view:hover { background: var(--nv-red-hover) !important; }
.product_list .lnk_view { background: transparent !important; border: 1px solid #D6DAE0 !important; color: var(--nv-text-2) !important; }
.product_list .lnk_view:hover { border-color: var(--nv-red) !important; color: var(--nv-red) !important; background: transparent !important; }

/* Главные кнопки магазина (корзина, оформление) — красные вместо стоковых */
#add_to_cart .exclusive,
button.exclusive, .exclusive,
.cart_navigation .button.btn-default,
#cart_navigation .button {
  background: var(--nv-red) !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
#add_to_cart .exclusive:hover, button.exclusive:hover, .exclusive:hover,
.cart_navigation .button.btn-default:hover { background: var(--nv-red-hover) !important; }
.exclusive:after, .exclusive:before { display: none !important; }

/* Пагинация */
.pagination li > a, .pagination li > span {
  border-radius: 6px !important;
  color: var(--nv-text-2);
}
.pagination li.active > a, .pagination li.active > span,
.pagination li.current > a, .pagination li.current > span {
  background: var(--nv-dark) !important;
  border-color: var(--nv-dark) !important;
  color: #fff !important;
}

/* Форма «Написать нам»: грид имя/телефон + статус отправки */
.nv-contact__form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-form-status { border-radius: 6px; padding: 10px 14px; font-size: 14px; margin-bottom: 10px; }
.nv-form-status--ok { background: #E8F5E9; color: #1E8A3C; }
.nv-form-status--err { background: #FDECEA; color: var(--nv-red); }

@media (max-width: 767px) {
  .nv-contact__form-grid { grid-template-columns: 1fr; }
  h1.page-heading, .page-heading { font-size: 21px; }
}

/* Шапка: не влезала в 1440 — компактный режим и страховка от гор. скролла */
html, body { overflow-x: hidden; }
.nv-header__row { flex-wrap: nowrap; }
.nv-header .shopping_cart, .nv-header__right > .col-sm-4 { height: 38px; overflow: visible; }
.nv-header .shopping_cart > a:first-child { padding: 8px 6px; }
/* «Корзина» + количество; служебные слова и «(пусто)» — прячем */
.nv-header .ajax_cart_product_txt,
.nv-header .ajax_cart_product_txt_s,
.nv-header .ajax_cart_no_product,
.nv-header .ajax_cart_total { display: none !important; }
.nv-header .ajax_cart_quantity {
  background: var(--nv-red);
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  display: inline-block;
  padding: 0 5px;
}
.nv-header .ajax_cart_quantity.unvisible { display: none !important; }

@media (max-width: 1600px) {
  .nv-header__row { gap: 14px; padding: 0 24px; }
  .nv-catrow { padding: 0 24px; gap: 18px; }
  .nv-header__nav { gap: 14px; }
  .nv-header__right { gap: 12px; }
  .nv-search { max-width: 420px; }
  body#index .nv-hero__inner, body#index .nv-section { padding-left: 24px; padding-right: 24px; }
  body#index .nv-stats__item { padding: 28px 24px; }
  .nv-footer { padding: 32px 24px 20px; }
}
@media (max-width: 1240px) {
  .nv-header__phone { display: none; }
}
