/* =============================================
   ГЛОБАЛЬНЫЕ СТИЛИ
   ============================================= */

   :root {
    --c-bg:         #0d0d0f;
    --c-surface:    #141416;
    --c-surface2:   #1c1c20;
    --c-border:     #2a2a30;
    --c-text:       #e8e8ea;
    --c-muted:      #888890;
    --c-accent:     #c8a96e;
    --c-accent2:    #4a9eff;
    --c-white:      #ffffff;
  
    --font-display: 'Geologica', sans-serif;
    --font-body:    'Geologica', sans-serif;
  
    --header-h:     100px;
    --nav2-h:       52px;
    --nav3-h:       48px;
    --radius:       6px;
    --transition:   0.22s ease;
    --container:    1280px;
  }
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  
  body {
    background-color: var(--c-bg);
    background-image:
      linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
    background-size: 48px 48px;
    background-attachment: fixed;
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; }
  
  .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* ─── ШАПКА ─── */
  #site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1002;
    isolation: isolate;
    background:
      linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
      url('/images/footer-wood.jpg') center center / cover no-repeat;
    border-bottom: none;
    height: var(--header-h);
    transition: background var(--transition);
  }
  /* Градиент вниз — скрывает границу между шапкой и мегаменю */
  #site-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0; right: 0;
    height: 20px;
    background: linear-gradient(to bottom,
      rgba(0,0,0,0.45) 0%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 1003;
  }
  #site-header.scrolled {
    background:
      linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
      url('/images/footer-wood.jpg') center center / cover no-repeat;
    backdrop-filter: blur(8px);
  }
  
  .nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .logo {
    font-family: var(--font-display); font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.05em;
    color: var(--c-white);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .logo-accent { color: var(--c-accent); margin: 0 4px; }
  .logo-img { height: 86px; width: auto; object-fit: contain; display: block; }
  
  /* ─── УРОВЕНЬ 1 ─── */
  .nav-level-1 {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 15px;
    color: rgba(230,220,200,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
  }
  .nav-link:hover,
  .has-mega:hover > .nav-link {
    color: var(--c-accent);
    background: rgba(255,255,255,0.07);
  }
  .nav-link .arrow { transition: transform var(--transition); opacity: 0.5; }
  .has-mega:hover > .nav-link .arrow { transform: rotate(180deg); opacity: 1; }
  
  /* ─── МЕГАМЕНЮ ─── */
  .has-mega { position: relative; }
  
  .mega-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: #0a0500;
    background-image:
      linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
      url('/images/footer-wood.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    mix-blend-mode: normal;
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 1001;
    pointer-events: none;
  }
  /* Мост для hover — не даёт меню закрыться при переходе курсора */
  .mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0; right: 0;
    height: 12px;
    pointer-events: auto;
  }
  .has-mega:hover > .mega-menu,
  .mega-menu.mega-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  /* ─── УРОВЕНЬ 2 ─── */
  .nav-level-2 {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: var(--nav2-h);
  }
  .nav-level-2 li { position: relative; }
  .nav-level-2 a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,1);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
  }
  .nav-level-2 li:hover > a,
  .nav-level-2 li.active > a {
    color: var(--c-accent);
    border-bottom-color: var(--c-accent);
    text-shadow: 0 0 10px rgba(200,169,110,0.4);
  }
  
  /* ─── УРОВЕНЬ 3 ─── */
  .sub-panels {
    background-color: #0a0500;
    background-image:
      linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
      url('/images/footer-wood.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  .sub-panel {
    position: relative;
    z-index: 1;
    display: none;
    max-width: var(--container);
    margin: 0 auto;
    padding: 8px 14px;
    min-height: var(--nav3-h);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
  }
  .sub-panel.active { display: flex; }
  
  .sub-panel a {
    padding: 8px 14px;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,1);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
  }
  .sub-panel a:hover {
    color: var(--c-accent);
    border-bottom-color: var(--c-accent);
  }
  .sub-panel li.active > a {
    color: var(--c-accent);
    border-bottom-color: var(--c-accent);
  }
  
  /* ─── КОНТАКТЫ В ШАПКЕ ─── */
  .nav-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .messenger-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.85;
  }
  .messenger-btn:hover { transform: scale(1.15); opacity: 1; }
  .whatsapp  { background: #25D366; color: #fff; }
  .telegram  { background: #229ED9; color: #fff; }
  .vkontakte { background: #0077FF; color: #fff; }
  
  .nav-phone {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-accent);
    white-space: nowrap;
    padding: 6px 12px;
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: var(--radius);
    transition: background var(--transition), border-color var(--transition);
    flex-shrink: 0;
  }
  .nav-phone:hover {
    background: rgba(200, 169, 110, 0.1);
    border-color: var(--c-accent);
  }
  
  .btn-callback {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--c-accent);
    color: #1a1206;
    white-space: nowrap;
    transition: background 0.2s;
    text-decoration: none;
  }
  .btn-callback:hover { background: #dbbe7e; }
  
  /* ─── БУРГЕР ─── */
  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
  }
  .burger span {
    display: block;
    width: 22px; height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
  }
  
  /* ─── КОНТЕНТ ─── */
  main { padding-top: var(--header-h); }
  
  .section { padding: 80px 0; }
  .section-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: 0.03em;
    color: var(--c-white);
    margin-bottom: 8px;
  }
  .section-subtitle {
    font-size: 16px;
    color: var(--c-muted);
    margin-bottom: 48px;
  }
  
  /* ─── КНОПКИ ─── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
  }
  .btn-primary { background: var(--c-accent); color: #1a1206; }
  .btn-primary:hover { background: #dbbe7e; transform: translateY(-1px); }
  .btn-outline { background: transparent; color: var(--c-text); border: 1px solid var(--c-border); }
  .btn-outline:hover { border-color: var(--c-muted); background: var(--c-surface2); }
  
  /* ─── КАРТОЧКА ТОВАРА ─── */
  .product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
  }
  .product-card:hover { border-color: var(--c-accent); transform: translateY(-3px); }
  .product-card__img { aspect-ratio: 4/3; background: var(--c-surface2); overflow: hidden; }
  .product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
  .product-card:hover .product-card__img img { transform: scale(1.04); }
  .product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .product-card__name { font-size: 16px; font-weight: 500; color: var(--c-text); }
  .product-card__price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--c-accent); }
  .product-card__badge { display: inline-block; padding: 3px 8px; font-size: 11px; font-weight: 600; border-radius: 3px; text-transform: uppercase; width: fit-content; }
  .badge-new  { background: rgba(74, 158, 255, 0.15); color: var(--c-accent2); }
  .badge-sale { background: rgba(255, 80, 80, 0.15); color: #ff5050; }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 45%), 1fr));
    gap: 20px;
  }
  
  /* ─── ФУТЕР ─── */
  .site-footer {
    background: url('/images/footer-wood.jpg') center center / cover no-repeat;
    border-top: none;
    margin-top: -1px;
    position: relative;
    overflow: visible;
  }
  /* Оверлей + размытие границ сверху и снизу */
  .site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to bottom,
        rgba(13,13,15,1) 0%,
        rgba(0,0,0,0.62) 10%,
        rgba(0,0,0,0.62) 90%,
        rgba(13,13,15,1) 100%
      );
    pointer-events: none;
    z-index: 0;
  }
  .site-footer::after { content: none; }
  .footer-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .footer-logo-link { display: inline-block; margin-bottom: 16px; }
  .footer-col-logo { height: 90px; width: auto; object-fit: contain; display: block; }
  .footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 16px; text-shadow: 0 0 12px rgba(200,169,110,0.5), 0 2px 8px rgba(0,0,0,1); }
  .footer-col p, .footer-col ul li { font-size: 14px; color: #fff; margin-bottom: 8px; text-shadow: 0 1px 6px rgba(0,0,0,1), 0 2px 12px rgba(0,0,0,0.9); font-weight: 400; }
  .footer-col a:hover { color: var(--c-accent); }
  .footer-bottom {
    position: relative;
    z-index: 1;
    border-top: none;
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(210,195,170,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,1);
  }
  
  /* ─── ВК кнопка ─── */
  #vk-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 52px; height: 52px;
    background: #0077FF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    box-shadow: 0 4px 16px rgba(0,119,255,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  #vk-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,119,255,0.6); }
  
  /* ─── АДАПТИВ ─── */
  @media (max-width: 1100px) {
    .btn-callback { display: none; }
  }
  
  @media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
  }
  
  @media (max-width: 768px) {
    .section { padding: 32px 0; }
    .nav-level-1, .nav-contacts { display: none; }
    .burger { display: flex; }
  
    .nav-level-1.mobile-open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: var(--header-h);
      left: 0; right: 0;
      background-color: #0a0500;
      background-image:
        linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
        url('/images/footer-wood.jpg');
      background-position: center center;
      background-size: cover;
      background-attachment: fixed;
      border-top: none;
      padding: 16px;
      gap: 2px;
      align-items: stretch;
      max-height: calc(100vh - var(--header-h));
      overflow-y: auto;
      z-index: 998;
    }
  
    /* Мобильное мегаменю */
    .mega-menu {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      background-color: #150a02;
      background-image:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url('/images/footer-wood.jpg');
      background-position: center top;
      background-size: cover;
      background-attachment: scroll;
      border: none;
      pointer-events: auto;
      display: none;
    }
    .nav-level-1.mobile-open .has-mega.mobile-expanded > .mega-menu { display: block; }
  
    /* Подкатегории — горизонтальный скролл */
    .mega-menu .nav-level-2 {
      height: auto;
      overflow-x: auto;
      flex-wrap: nowrap;
      justify-content: flex-start;
      padding: 8px 12px;
      gap: 4px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .mega-menu .nav-level-2::-webkit-scrollbar { display: none; }
    .mega-menu .nav-level-2 a {
      white-space: nowrap;
      padding: 8px 12px;
      border-bottom: none;
      background: rgba(255,255,255,0.08);
      border-radius: var(--radius);
      font-size: 13px;
    }
  
    .sub-panels { display: none; }
  
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  }
  
  @media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
  }
  /* ── Фиксированная кнопка на мобиле ── */
@media(max-width:768px) {
  .mobile-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 8000;
    padding: 12px 16px;
    background: linear-gradient(to top, #0d0d0f 60%, transparent);
    display: flex;
    gap: 10px;
  }
  .mobile-cta a {
    flex: 1;
    display: block;
    text-align: center;
    padding: 14px 16px;
    background: var(--c-accent);
    color: #1a1206;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: .03em;
  }
  .mobile-cta a:hover { background: #dbbe7e; }

  /* Отступ снизу чтобы кнопка не перекрывала контент */
  main { padding-bottom: 80px; }
}
/* ─── ВК кнопка — мобиль: выше sticky кнопки ─── */
@media(max-width:768px) {
  #vk-btn { bottom: 90px; right: 16px; width: 48px; height: 48px; }

  /* mobile-cta: flex для иконки + текста */
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  /* Глобальная защита от горизонтального скролла */
  .container { padding: 0 16px; }
}
/* Стили для секции подоконников */
.parts-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: #0d0d0f;
  background-image: 
    linear-gradient(rgba(13, 13, 15, 0.45), rgba(13, 13, 15, 0.45)),
    url('/images/windowsill-bg.jpg');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: 1px solid var(--c-border);
  z-index: 1;
}

/* Читаемость основного текста — только для основного контента, не карточек */
main > .container p:not([class]) {
  color: #cccccc;
}

/* ══════════════════════════════════════════
   ФОНОВАЯ СЕТКА
   ══════════════════════════════════════════ */

/* Сетка встроена в body выше через background-image */

/* 2. CSS-переменные для секций со своим background-color */
:root {
  --grid-img:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  --grid-overlay:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  --grid-size: 48px 48px;
}

/* 3. Единая сетка: используется ТОЛЬКО базовый слой на body (без наложения),
   чтобы яркость сетки была одинаковой на всех страницах и не удваивалась
   на прозрачных секциях. */

/* Сетка НЕ рисуется поверх карточек — они чистые (оверлей ::after убран) */

.series-card,
.feature-card,
.adv-item,
.other-card,
.why-card,
.cta-block,
.cta-card,
.perk,
.step,
.glass-card,
.type-card,
.advisor-card,
.portal-card,
.door-card,
.product-card,
.service-card,
.system-card,
.item-card,
.kit-panel,
.type-item {
  position: relative;
}

.series-card > *,
.feature-card > *,
.adv-item > *,
.other-card > *,
.why-card > *,
.cta-block > *,
.cat-item > *,
.cta-card > *,
.perk > *,
.step > *,
.glass-card > *,
.type-card > *,
.advisor-card > *,
.portal-card > *,
.door-card > *,
.product-card > *,
.service-card > *,
.system-card > *,
.item-card > *,
.kit-panel > *,
.type-item > * {
  position: relative;
  z-index: 1;
}

/* ── Breadcrumb (global) ── */
.g-breadcrumb,
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.g-breadcrumb a,
.breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s;
}
.g-breadcrumb a:hover,
.breadcrumb a:hover {
  color: #fff;
}
.g-breadcrumb span:last-child,
.breadcrumb span:last-child {
  color: #fff;
  font-weight: 500;
}
.bc-sep,
.breadcrumb span:not(:last-child) {
  color: rgba(255,255,255,.25);
  font-size: 11px;
  margin: 0 2px;
}

/* ─── Табы категорий каталога (двери и т.п.) ─── */
.cat-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border, #2a2a30);
  border-radius: 10px;
}
.cat-tab {
  flex: 1 1 auto;
  text-align: center;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.7);
  background: transparent;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.cat-tab:hover { background: rgba(255,255,255,.06); color: #fff; }
.cat-tab.active {
  background: var(--c-accent, #c8a96e);
  color: #1a1206;
  font-weight: 700;
}
@media (max-width: 768px) {
  .cat-tabs { padding: 4px; gap: 4px; }
  .cat-tab { padding: 9px 10px; font-size: 12px; flex: 1 1 calc(50% - 4px); }
}

/* ── Золотая плашка со статистикой (единая для всех страниц) ── */
.balc-stats-bar {
  background: var(--c-accent, #c8a96e);
}
.balc-stats-bar__grid {
  display: flex;
}
.balc-stats-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 4px;
  border-right: 1px solid rgba(0,0,0,.12);
}
.balc-stats-bar__item:last-child { border-right: none; }
.balc-stats-bar__num {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #1a1206;
  line-height: 1;
}
.balc-stats-bar__label {
  font-size: 13px;
  color: rgba(26,18,6,.65);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .balc-stats-bar__grid { flex-direction: column; }
  .balc-stats-bar__item {
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,.12);
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    padding: 14px 16px;
  }
  .balc-stats-bar__item:last-child { border-bottom: none; }
  .balc-stats-bar__num { font-size: 22px; }
}


/* === Unified category hero (shared across all product pages) === */
.cat-hero {
  position: relative;
  height: 660px;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.cat-hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--c-bg);
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.cat-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,13,15,0.88) 0%,
    rgba(13,13,15,0.70) 50%,
    rgba(13,13,15,0.40) 100%
  );
  z-index: 1;
}
.cat-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}
.cat-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid rgba(200,163,97,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.cat-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.cat-hero__sub {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 48px;
}
.cat-hero__stats {
  display: flex;
  gap: 48px;
}
.cat-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.cat-stat__label {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cat-breadcrumb {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}
.cat-breadcrumb a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color var(--transition);
}
.cat-breadcrumb a:hover { color: var(--c-accent); }
.cat-breadcrumb span:last-child { color: var(--c-accent); }
@media (max-width: 768px) {
  .cat-hero { height: auto; min-height: 420px; }
  .cat-hero__stats { gap: 28px; flex-wrap: wrap; }
  .cat-hero__title { font-size: clamp(40px, 10vw, 64px); }
}


/* ══════════════════════════════════════════
   ПОДЛОЖКА ПОД КОНТЕНТ СТРАНИЦЫ ДВЕРИ (вариант B)
   Правый блок с описанием двери и «Другие модели серии»
   лежат на сплошной панели — фоновая сетка за текстом
   больше не просвечивает. Работает на всех страницах дверей
   (межкомнатные + входные/противопожарные), классы общие.
   ══════════════════════════════════════════ */
.door-detail__info {
  background: var(--c-surface2, #1a1a1a);
  border: 1px solid #222;
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
}

.related-section {
  background: var(--c-surface2, #1a1a1a);
  border: 1px solid #222 !important;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px) !important;
  margin-top: 32px;
}
