/* ============================================================
   Dveri Eko-opt — глобальные стили (финал v22)
   Тёмно-синий + 12px скругление + бордовые ссылки + фикс главной
   ============================================================ */

:root {
  --blue: #1e3a8a;
  --blue-dark: #172554;
  --blue-light: #e0e7ff;
  --blue-soft: #eef2ff;

  --primary: #1e3a8a;
  --primary-dark: #172554;

  --burgundy: #7f1d1d;
  --burgundy-hover: #991b1b;

  --navy: #0b1f3a;
  --gold: #d4a373;
  --gold-dark: #c4956a;
  --dark: #0b0b0f;
  --white: #fff;
  --muted: #4a4a4a;
  --border: #e5e7eb;
  --container: 1280px;
  --header-height: 80px;
  --header-height-mobile: 60px;
  --breadcrumbs-height: 44px;
  --breadcrumbs-height-mobile: 40px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 20px;
  --radius-btn: 12px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #000; background: var(--white); line-height: 1.6;
  margin: 0; overflow-x: hidden; max-width: 100%; width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; color: #000; margin: 0 0 16px; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; }

/* ============================================================
   ОРГАНИЧНЫЕ ССЫЛКИ В ТЕКСТЕ — ТЁМНО-БОРДОВЫЕ
   ============================================================ */
p a,
.seo-block p a,
.seo-block li a,
.faq-answer a,
.faq-item .a a,
.how-to-choose li a,
.review-item p a,
.advantages .item a,
article a,
.text-block a,
.article-content a {
  color: var(--burgundy) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
  transition: color .2s ease, text-decoration-thickness .2s ease !important;
}
p a:hover,
.seo-block p a:hover,
.seo-block li a:hover,
.faq-answer a:hover,
.faq-item .a a:hover,
.how-to-choose li a:hover,
.review-item p a:hover,
.advantages .item a:hover,
article a:hover,
.text-block a:hover,
.article-content a:hover {
  color: var(--burgundy-hover) !important;
  text-decoration-thickness: 2px !important;
}
p a:focus-visible,
.seo-block p a:focus-visible,
.faq-answer a:focus-visible,
.how-to-choose li a:focus-visible {
  outline: 2px solid var(--burgundy) !important;
  outline-offset: 2px !important;
}

/* НЕ трогаем ссылки-кнопки, навигацию, крошки, футер */
.btn a, a.btn,
.breadcrumbs a,
.nav-menu a,
.has-dropdown a,
.footer-col a,
.catalog-item a,
.card a,
.card-item a,
.presets a,
.service-group a,
.fixed-panel a,
.nav-modal a,
.sale-item > a {
  color: inherit !important;
  text-decoration: none !important;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px;
}

/* Компенсация фиксированной шапки + крошек */
html body { padding-top: 124px !important; }
html body #allrecords,
html body .t-body {
  padding-top: 0 !important;
  overflow-x: hidden !important;
}
@media (max-width: 768px) {
  html body { padding-top: 100px !important; }
  html body #allrecords,
  html body .t-body { padding-top: 0 !important; }
}

/* ============================================================
   КНОПКИ — ТЁМНО-СИНИЙ + 12px СКРУГЛЕНИЕ
   ============================================================ */
.btn {
  display: inline-block; padding: 14px 36px;
  border-radius: var(--radius-btn) !important;
  font-weight: 700; border: none; cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }

.btn-green, .btn-blue, .btn-gold {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: var(--radius-btn) !important;
}
.btn-green:hover, .btn-blue:hover, .btn-gold:hover {
  background: var(--blue-dark) !important;
  color: #fff !important;
}

.btn-sm { padding: 10px 24px; font-size: 14px; border-radius: var(--radius-btn) !important; }
.btn-block { display: block; width: 100%; margin-top: 12px; border-radius: var(--radius-btn) !important; }

.btn.call-consent-trigger,
a.btn.btn-green.call-consent-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 28px !important;
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(30,58,138,.25) !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  height: auto !important;
}
.btn.call-consent-trigger:hover,
a.btn.btn-green.call-consent-trigger:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-2px) !important;
  opacity: 1 !important;
}

/* Сетки */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }

/* Карточки общие */
.card, .card-item, .service-item,
.advantage-item, .review, .contact-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  transition: all var(--transition);
  max-width: 100%; min-width: 0;
}
.card:hover, .card-item:hover,
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card img, .card-item img {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 12px; margin-bottom: 12px;
}
.card h3, .card-item h3 { font-size: 18px; margin: 10px 0; }
.card p, .card-item p { font-size: 14px; color: var(--muted); }

.card-item { text-align: center; display: flex; flex-direction: column; }
.card-item .card-link { flex: 1 1 auto; display: flex; flex-direction: column; color: inherit; }
.card-item .card-link > .price { margin-top: auto; }
.card-item > .btn-block { margin-top: 14px; flex-shrink: 0; }
.card-item .features {
  list-style: none; padding: 0; margin: 0 0 14px;
  font-size: 14px; line-height: 1.6; color: #333; text-align: left;
}
.card-item .features li { margin-bottom: 3px; }
.card-item .price {
  margin: 14px 0; font-size: 20px; font-weight: 700;
  color: var(--blue); text-align: center;
}
.card-item .old-price {
  text-decoration: line-through; color: #767676;
  font-size: 16px; font-weight: 400; margin-right: 8px;
}
.card-item .new-price { color: #b91c1c; font-weight: 800; }

.product-desc {
  font-size: 13px; color: var(--muted); line-height: 1.5;
  margin: 8px 0 12px; text-align: left;
}

/* ============================================================
   ГЛАВНАЯ — БЛОК «СКИДКИ» (sale-block / grid-sale / sale-item)
   ============================================================ */

/* Заголовок блока */
.sale-block {
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 20px;
}
.sale-block .title,
.sale-block > h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 24px;
  color: #000;
  text-align: center;
}

/* Сетка карточек */
.grid-sale {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

/* Карточка */
.sale-item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.06) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden !important;
  transition: transform .2s, box-shadow .2s !important;
  padding: 0 !important;
  text-align: left !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.sale-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-hover) !important;
}

/* Обёртка ссылки внутри карточки */
.sale-item > a {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* Картинка — 4:3, не растянута */
.sale-item img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Текстовый блок внутри карточки */
.sale-item .descr,
.sale-item .sale-descr,
.sale-item > div:not(.sale-img) {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
}

/* Название */
.sale-item h3,
.sale-item .title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 4px 0 !important;
  line-height: 1.3 !important;
  color: #000 !important;
}

/* Цена */
.sale-item .price,
.sale-item .sale-price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--blue) !important;
  margin: 0 !important;
}

/* Описание */
.sale-item p {
  font-size: .9rem !important;
  color: var(--muted) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  flex: 1 1 auto !important;
}

/* Кнопка «Узнать цену» — на всю ширину, тёмно-синяя */
.sale-item .btn,
.sale-item .btn-green,
.sale-item .btn-gold,
.sale-item a.btn,
.sale-item button.btn {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: auto !important;
  padding: 14px 24px !important;
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.sale-item .btn:hover,
.sale-item .btn-green:hover,
.sale-item a.btn:hover,
.sale-item button.btn:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

/* Текст «Осталось мало» и подобное */
.sale-item .status,
.sale-item .stock,
.sale-item small {
  font-size: .85rem !important;
  color: #b45309 !important;
  font-weight: 600 !important;
  margin-top: 8px !important;
}

/* Адаптив */
@media (max-width: 768px) {
  .grid-sale {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .sale-block { padding: 0 16px; margin: 30px auto; }
}

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
.catalog-item {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
  padding: 0; text-align: center;
}
.catalog-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.catalog-item > a {
  display: flex; flex-direction: column;
  height: 100%; color: inherit; text-decoration: none;
}
.catalog-item > a > img,
.catalog-item > img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block; margin: 0; flex-shrink: 0;
}
.catalog-item .info {
  padding: 20px; display: flex; flex-direction: column;
  gap: 8px; flex: 1 1 auto; text-align: center;
}
.catalog-item .tag {
  display: inline-block;
  background: var(--blue-soft); color: var(--blue);
  font-size: .75rem; font-weight: 600;
  padding: 4px 14px; border-radius: 30px;
  margin: 0 auto 4px;
}
.catalog-item h3 { font-size: 1.15rem; font-weight: 700; margin: 4px 0; line-height: 1.3; }
.catalog-item p { font-size: .9rem; color: var(--muted); margin: 0; flex: 1 1 auto; }
.catalog-item .price {
  font-size: 20px; font-weight: 700;
  color: var(--blue); margin: 8px 0 0; margin-top: auto;
}
.catalog-item .old-price {
  font-size: 15px; color: #767676;
  text-decoration: line-through; margin-left: 8px;
}
.catalog-item .btn,
.catalog-item .btn-green,
.catalog-item .catalog-link {
  margin-top: 12px; flex-shrink: 0;
  border-radius: var(--radius-btn) !important;
}

/* ============================================================
   ЦЕНТРИРОВАНИЕ
   ============================================================ */
.page-wrap > h2, .page-wrap > h1,
.page-wrap > .section-title, .section-title { text-align: center; }
.page-wrap > p, .page-wrap > .subtitle, .page-wrap > .lead { text-align: center; }
h2 + p, h1 + p, .section-title + p { text-align: center; }

/* ============================================================
   БЛОК «КАК ВЫБРАТЬ»
   ============================================================ */
.how-to-choose {
  max-width: 900px; margin: 0 auto; padding: 0;
  counter-reset: step; list-style: none;
}
.how-to-choose li {
  counter-increment: step; position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px 20px 80px;
  margin-bottom: 14px;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  font-size: .95rem; line-height: 1.6; color: #374151;
}
.how-to-choose li:hover {
  transform: translateX(4px);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(30,58,138,.12);
}
.how-to-choose li::before {
  content: counter(step); position: absolute;
  left: 20px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #172554);
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(30,58,138,.3);
}
.how-to-choose li strong {
  display: block; font-size: 1.05rem;
  font-weight: 700; color: #000; margin-bottom: 4px;
}
@media (max-width: 768px) {
  .how-to-choose li { padding: 16px 16px 16px 68px; }
  .how-to-choose li::before { left: 14px; width: 40px; height: 40px; font-size: 1rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-block {
  max-width: var(--container);
  margin: 40px auto; padding: 0 20px;
}
.faq-block h2 { text-align: center; margin-bottom: 24px; }
.faq-block > p { text-align: center; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question, .faq-item .q {
  width: 100%; padding: 16px 20px;
  text-align: left; background: none; border: none;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
  color: #000; font-family: inherit; line-height: 1.4;
}
.faq-question:hover, .faq-item .q:hover { background: var(--blue-soft); }

.faq-question span, .faq-item .q span {
  transition: transform .25s ease;
  display: inline-block;
  color: var(--blue); font-size: 1rem; flex-shrink: 0;
}
.faq-question.open span,
.faq-item .q.open span,
.faq-question[aria-expanded="true"] span { transform: rotate(180deg); }

.faq-answer, .faq-item .a {
  max-height: 0; overflow: hidden;
  padding: 0 20px; color: #374151;
  font-size: .95rem; line-height: 1.7;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer.open, .faq-item .a.open {
  max-height: 800px;
  padding: 0 20px 16px;
}

/* ============================================================
   АНИМАЦИЯ
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ХЕДЕР */
.custom-header {
  position: fixed !important; top: 0 !important;
  left: 0 !important; right: 0 !important;
  height: var(--header-height);
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 99999 !important;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
  will-change: transform; max-width: 100%;
  overflow: visible !important;
}
.custom-header.header-hidden { transform: translateY(-100%); box-shadow: none; }

.header-container {
  max-width: var(--container); margin: 0 auto; height: 100%;
  padding: 0 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  position: relative !important; z-index: 99999 !important;
  overflow: visible !important;
}
.t-width { overflow: visible !important; z-index: 99999 !important; }
.logo a { font-size: 22px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.logo-accent { color: var(--navy); }

.nav-menu ul {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0;
  overflow: visible !important;
}
.nav-menu > ul > li { display: flex; align-items: center; }
.nav-menu a {
  font-weight: 600; font-size: 15px; color: #000;
  transition: color var(--transition);
  padding: 6px 2px; position: relative;
}
.nav-menu a.is-active { color: var(--blue); }
.nav-menu a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-menu a:hover { color: var(--blue); }

.has-dropdown {
  position: relative !important;
  display: flex; align-items: center;
  overflow: visible !important;
}
.has-dropdown > .dropdown-toggle {
  background: none; border: none; color: var(--muted);
  font-size: 12px; cursor: pointer; padding: 6px 8px;
  margin-left: 2px; transition: transform var(--transition); line-height: 1;
}
.has-dropdown:hover > .dropdown-toggle,
.has-dropdown.open > .dropdown-toggle { transform: rotate(180deg); color: var(--blue); }

.has-dropdown .dropdown {
  position: absolute !important;
  top: 100% !important; left: 0 !important;
  min-width: 240px !important; max-width: 320px !important;
  width: auto !important; background: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
  border-radius: 12px !important; padding: 8px 0 !important;
  list-style: none !important; margin: 0 !important;
  z-index: 9999999 !important;
  opacity: 0 !important; visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  overflow: visible !important;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1 !important; visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  z-index: 9999999 !important;
}
.has-dropdown .dropdown li {
  display: block !important; width: 100% !important;
  margin: 0 !important; padding: 0 !important;
}
.has-dropdown .dropdown a {
  display: block !important; padding: 8px 20px !important;
  font-weight: 500 !important; font-size: 14px !important;
  color: #000 !important; white-space: nowrap !important;
}
.has-dropdown .dropdown a:hover,
.has-dropdown .dropdown a.is-active {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
}

.header-right { display: flex; align-items: center; gap: 16px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 15px; color: var(--blue);
  white-space: nowrap; transition: color var(--transition);
}
.phone-link:hover { color: var(--blue-dark); }

.cart-icon {
  position: relative; background: none; border: none; font-size: 22px;
  cursor: pointer; padding: 6px; color: inherit;
  opacity: 0; transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
}
.cart-icon:not([hidden]) { opacity: 1; transform: scale(1); }
.cart-icon[hidden] { display: none; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-toggle {
  display: none; background: none; border: none;
  font-size: 26px; cursor: pointer; color: var(--blue);
  padding: 6px; position: relative !important;
  z-index: 100000 !important; pointer-events: auto !important;
}

/* КРОШКИ */
.breadcrumbs {
  position: fixed !important;
  left: 0 !important; right: 0 !important;
  top: var(--header-height) !important;
  z-index: 9998 !important;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--breadcrumbs-height);
  transition: top .35s cubic-bezier(.4,0,.2,1);
  will-change: top;
  display: flex; align-items: center;
  padding: 0 24px; font-size: .9rem; gap: 8px; max-width: 100%;
}
body.header-is-hidden .breadcrumbs { top: 0 !important; }
.breadcrumbs a {
  color: var(--muted); font-weight: 500;
  white-space: nowrap; transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs .sep { color: #767676; flex-shrink: 0; }
.breadcrumbs .current { color: #000; font-weight: 600; white-space: nowrap; }

.custom-header, .header-container, .breadcrumbs, .breadcrumbs-container {
  scrollbar-width: none; -ms-overflow-style: none;
}
.custom-header::-webkit-scrollbar, .header-container::-webkit-scrollbar,
.breadcrumbs::-webkit-scrollbar, .breadcrumbs-container::-webkit-scrollbar {
  display: none; width: 0; height: 0;
}

/* ГЕРОЙ */
.hero-main {
  position: relative; min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--dark);
  padding: 60px 20px; overflow: hidden; max-width: 100%;
}
.hero-main .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-main .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.hero-main .content { position: relative; z-index: 2; max-width: 800px; }
.hero-main h1 { color: #fff; margin-bottom: 20px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.hero-main p {
  color: #e5e5e5; font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8; margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.hero-catalog:has(.badge) {
  padding: 40px 0 60px; background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.hero-catalog:has(.badge) .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; max-width: var(--container);
  margin: 0 auto; padding: 0 20px;
}
.hero-catalog:has(.badge) .badge {
  display: inline-block; background: var(--blue-soft); color: var(--blue);
  font-size: .8rem; font-weight: 600; padding: 6px 16px;
  border-radius: 30px; margin-bottom: 16px;
}
.hero-catalog:has(.badge) h1 { margin-bottom: 16px; }
.hero-catalog:has(.badge) .subtitle { font-size: 1.25rem; color: #374151; margin-bottom: 20px; }
.hero-catalog:has(.badge) .stats { display: flex; gap: 32px; margin: 24px 0; }
.hero-catalog:has(.badge) .stats .num { font-size: 2rem; font-weight: 700; color: var(--blue); }

.hero-product { padding: 20px 0 40px; background: var(--white); }
.hero-product .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
}
.hero-product h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.hero-product .price { font-size: 28px; font-weight: 700; color: var(--blue); }

.seo-block {
  max-width: 900px; margin: 40px auto; padding: 24px 28px;
  background: #f8fafc; border-radius: 20px;
  border-left: 4px solid var(--blue);
  font-size: 1rem; line-height: 1.8; color: #374151;
}
.seo-block h2 { text-align: left; }
.seo-block p { margin-bottom: 14px; }
.seo-block strong { color: #000; }

.page-wrap { max-width: var(--container); margin: 0 auto; padding: 40px 20px; }

/* ============================================================
   КАРТОЧКА ТОВАРА
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px; padding: 24px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  max-width: var(--container);
  margin: 24px auto 0;
  align-items: start;
}
.product-grid .gallery {
  display: flex; flex-direction: column;
  gap: 16px; min-width: 0;
}
.product-grid .main-img {
  width: 100%; background: #f1f5f9;
  border-radius: 16px; overflow: hidden; position: relative;
}
.product-grid .main-img img {
  width: 100%; height: auto;
  max-height: 560px; object-fit: contain;
  cursor: zoom-in; display: block;
}
.product-grid .thumbnails { display: flex; gap: 10px; flex-wrap: wrap; }
.product-grid .thumbnails img {
  width: 72px !important; height: 72px !important;
  object-fit: cover; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color .2s ease; background: #f1f5f9;
}
.product-grid .thumbnails img.active,
.product-grid .thumbnails img:hover { border-color: var(--blue); }
.product-grid .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.product-grid .badges .in-stock {
  display: inline-block;
  background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 700; font-size: .85rem;
  padding: 6px 14px; border-radius: 30px;
}
.product-grid .badges .badge {
  display: inline-block;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: .85rem; font-weight: 500;
  padding: 6px 14px; border-radius: 30px;
}
.product-grid .color-info {
  display: flex; align-items: center; gap: 10px;
  font-size: .95rem; padding: 10px 14px;
  background: #f8fafc; border-radius: 12px;
}
.product-grid .config {
  display: flex; flex-direction: column;
  gap: 14px; min-width: 0;
}
.product-grid h1 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800; margin: 0 0 6px;
  line-height: 1.25; color: #000;
}
.product-grid .sub {
  font-size: .95rem; color: var(--muted); margin-bottom: 6px;
}
.product-grid .size-selector {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; background: #f8fafc;
  border-radius: 12px; font-weight: 600;
}
.product-grid .size-selector select {
  flex: 1 1 auto; padding: 10px 12px;
  font-size: 15px; border: 1.5px solid var(--border);
  border-radius: 10px; background: #fff;
  cursor: pointer; min-width: 140px;
}
.product-grid .price-block {
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--blue-soft);
  border: 1px dashed var(--blue);
  border-radius: 12px; font-weight: 700;
}
.product-grid .price-block .old {
  color: #555; text-decoration: line-through;
  margin-right: 8px; font-weight: 400;
}
.product-grid .price-block .new {
  font-size: 1.25rem; color: var(--blue-dark); font-weight: 800;
}

.product-grid .presets { display: flex; flex-wrap: wrap; gap: 8px; }
.product-grid .presets button {
  padding: 10px 18px; font-size: .9rem; font-weight: 600;
  background: var(--blue-soft); color: var(--blue-dark);
  border: 1.5px solid #c7d2fe;
  border-radius: var(--radius-btn);
  cursor: pointer; transition: all var(--transition);
}
.product-grid .presets button:hover {
  background: var(--blue-light); transform: translateY(-1px);
}
.product-grid .presets button.active,
.product-grid .presets button:hover { background: var(--blue-light); }
.product-grid .presets button:focus,
.product-grid .presets button:active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

.product-grid .total-line {
  display: flex; align-items: center;
  gap: 12px; padding: 12px 16px;
  background: #f8fafc; border-radius: 12px;
  font-weight: 700; flex-wrap: wrap;
}
.product-grid .total-line .price {
  color: var(--blue); font-size: 1.3rem;
  font-weight: 800; margin-left: auto;
}
.product-grid .total-line .reset-btn {
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
  font-size: .85rem; cursor: pointer; color: var(--muted);
}
.product-grid .color-selector {
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; font-weight: 600;
}
.product-grid .color-selector label {
  display: inline-flex; align-items: center;
  gap: 8px; cursor: pointer; font-weight: 500;
}
.product-grid .color-swatch {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid #ccc;
}
.product-grid .color-swatch.chrome { background: linear-gradient(135deg,#f0f0f0,#a8a8a8); }
.product-grid .color-swatch.black { background: linear-gradient(135deg,#4a4a4a,#000); border-color: #000; }

.product-grid .furniture-list {
  display: flex; flex-direction: column;
  gap: 10px; margin-top: 6px;
}
.product-grid .furniture-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}
.product-grid .furniture-group > div:first-child {
  font-size: .9rem; color: var(--muted);
  margin-bottom: 10px;
}
.product-grid .furniture-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
}
.product-grid .furniture-item:first-of-type {
  border-top: none; padding-top: 0;
}
.product-grid .furniture-item img {
  width: 56px !important; height: 56px !important;
  object-fit: cover; border-radius: 10px;
  background: #f8fafc;
}
.product-grid .furniture-item .info { min-width: 0; }
.product-grid .furniture-item .name {
  font-weight: 600; font-size: .95rem; margin-bottom: 4px;
}
.product-grid .furniture-item .price {
  font-weight: 700; color: var(--blue); font-size: 1rem;
}
.product-grid .furniture-item .actions {
  display: flex; gap: 6px; flex-shrink: 0;
}

/* Кнопки «С» / «Без» */
button.on, button.off {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 18px !important;
  min-width: 60px !important;
  height: 38px !important;
  border-radius: var(--radius-btn) !important;
  font-size: .85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: 1.5px solid var(--border) !important;
  background: #f8fafc !important;
  color: #333 !important;
  gap: 4px !important;
  line-height: 1 !important;
  font-family: inherit !important;
  transition: all var(--transition) !important;
}
button.on {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}
button.off {
  background: #f8fafc !important;
  color: #333 !important;
  border-color: var(--border) !important;
}
button.on:hover, button.off:hover { transform: translateY(-1px) !important; }

.product-grid .btn,
.product-grid .btn-primary,
.product-grid .btn-secondary {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  padding: 16px 24px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
  text-align: center !important;
}
.product-grid .btn:hover,
.product-grid .btn-primary:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px) !important;
}

.product-grid .services-grid {
  display: flex; flex-direction: column; gap: 12px;
}
.product-grid .service-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}
.product-grid .service-group .title {
  font-weight: 700; margin-bottom: 8px; font-size: .95rem;
}
.product-grid .service-group .options {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.product-grid .service-group button {
  padding: 10px 18px; font-size: .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: #f8fafc; color: #333;
  cursor: pointer; font-weight: 600;
  transition: all var(--transition);
}
.product-grid .service-group button.selected {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.product-grid .service-group button:hover {
  background: var(--blue-soft); color: var(--blue-dark);
  border-color: #c7d2fe;
}
.product-grid .service-group button.selected:hover {
  background: var(--blue-dark); color: #fff;
}

.product-grid .total-card {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--blue-soft);
  border-radius: 14px;
  font-weight: 800; font-size: 1.05rem;
}
.product-grid .total-card .price {
  color: var(--blue); font-size: 1.6rem; font-weight: 800;
}
.product-grid .btn-primary {
  display: block; width: 100%;
  padding: 16px 24px;
  background: var(--blue); color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 1.05rem; font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.product-grid .btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* Блок доверия */
.trust-block {
  max-width: var(--container);
  margin: 40px auto; padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  transition: all var(--transition);
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trust-item .icon { font-size: 1.8rem; margin-bottom: 6px; }
.trust-item .title { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.trust-item .desc { font-size: .8rem; color: var(--muted); }

/* Баннер */
.banner-call {
  max-width: var(--container);
  margin: 40px auto;
  padding: 32px 24px;
  background: linear-gradient(135deg, #1e3a8a, #172554);
  border-radius: 20px;
  text-align: center;
  color: #fff;
}
.banner-call h2 {
  color: #fff !important;
  margin: 0 0 16px !important;
  font-size: clamp(20px, 3vw, 28px) !important;
}
.banner-call .phone {
  display: inline-block;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800; color: #fff;
  text-decoration: none; margin-bottom: 10px;
}
.banner-call .sub { color: rgba(255,255,255,.85); font-size: .95rem; }

/* SEO-блок */
.seo-block table {
  width: 100%; border-collapse: collapse;
  margin: 14px 0; background: #fff;
  border-radius: 10px; overflow: hidden;
}
.seo-block table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.seo-block table tr:last-child td { border-bottom: none; }
.seo-block table td:first-child {
  font-weight: 600; color: #333; width: 40%;
  background: #f8fafc;
}
.seo-block .advantages {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px; margin: 14px 0 20px;
}
.seo-block .advantages .item {
  padding: 8px 12px; background: #fff;
  border-radius: 8px; font-size: .9rem;
}
.seo-block .similar-models {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 14px;
}
.seo-block .similar-item a {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 6px; padding: 10px;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  font-size: .85rem;
}
.seo-block .similar-item a:hover {
  border-color: var(--blue); transform: translateY(-2px);
}
.seo-block .similar-item img {
  width: 80px; height: 80px;
  object-fit: cover; border-radius: 8px;
}

/* Отзывы */
.reviews-block {
  max-width: var(--container);
  margin: 40px auto; padding: 0 20px;
}
.reviews-block h2 { text-align: center; margin-bottom: 24px; }
.reviews-block #reviewsList {
  display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 24px;
}
.reviews-block .review-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
}
.reviews-block .review-item .stars {
  color: var(--blue); font-size: 1.1rem; margin-bottom: 6px;
}
.reviews-block .review-item .author { font-weight: 700; font-size: .95rem; }
.reviews-block .review-item .date {
  font-size: .8rem; color: var(--muted); margin-bottom: 8px;
}
.reviews-block .review-item p { margin: 0; color: #333; line-height: 1.6; }
.reviews-block .write-review {
  background: #f8fafc; border-radius: 16px;
  padding: 20px; text-align: center;
}
.reviews-block .write-review h3 { margin-bottom: 12px; }
.reviews-block .rating-input {
  display: flex; justify-content: center;
  gap: 4px; margin-bottom: 12px;
  flex-direction: row-reverse;
}
.reviews-block .rating-input input { display: none; }
.reviews-block .rating-input label {
  font-size: 2rem; color: #ccc;
  cursor: pointer; transition: color .2s;
}
.reviews-block .rating-input label:hover,
.reviews-block .rating-input label:hover ~ label,
.reviews-block .rating-input input:checked ~ label { color: var(--blue); }
.reviews-block .write-review textarea {
  width: 100%; max-width: 500px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit; font-size: .95rem;
  margin-bottom: 10px; resize: vertical;
}
.reviews-block .write-review .btn-primary {
  background: var(--blue) !important;
  color: #fff !important;
  border: none; padding: 10px 28px;
  border-radius: var(--radius-btn) !important;
  font-weight: 700; cursor: pointer;
}

/* Фикс-панель */
.fixed-panel {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .3s ease;
  border-top: 2px solid var(--blue);
}
.fixed-panel.show { transform: translateY(0); }
.fixed-panel .inner {
  max-width: var(--container); margin: 0 auto;
  padding: 12px 20px; display: flex;
  align-items: center; gap: 16px;
}
.fixed-panel .inner span:first-child {
  font-weight: 600; color: var(--muted); font-size: .9rem;
}
.fixed-panel .inner .price {
  font-weight: 800; color: var(--blue);
  font-size: 1.4rem; margin-right: auto;
}
.fixed-panel .inner .btn {
  padding: 12px 24px; font-size: .95rem;
  border-radius: var(--radius-btn) !important;
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 700; border: none; cursor: pointer;
}

/* Кнопка-помощник */
.nav-trigger {
  position: fixed; right: 20px; bottom: 90px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #FFD93D;
  border: none; cursor: pointer;
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(255,217,61,.4);
  transition: all var(--transition);
}
.nav-trigger:hover { transform: scale(1.08); }
.nav-trigger svg { width: 30px; height: 30px; stroke: #333; }

.nav-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99999;
  align-items: center; justify-content: center;
  padding: 20px;
}
.nav-modal.open { display: flex; }
.nav-modal .modal-box {
  background: #fff; border-radius: 20px;
  padding: 28px; max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.nav-modal .close-modal {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none;
  font-size: 1.8rem; cursor: pointer;
  color: var(--muted); line-height: 1;
}
.nav-modal .nav-character { text-align: center; margin-bottom: 16px; }
.nav-modal .nav-character svg {
  width: 100px; height: 100px;
  margin: 0 auto; display: block; max-width: 100px;
}
.nav-modal .nav-character .bubble {
  background: var(--blue-soft); border-radius: 12px;
  padding: 12px 16px; margin-top: 10px;
  font-size: .95rem; line-height: 1.5;
}
.nav-modal .nav-progress {
  display: flex; justify-content: center;
  gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.nav-modal .nav-progress .step {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  font-size: .75rem; color: var(--muted);
}
.nav-modal .nav-progress .step .num {
  width: 28px; height: 28px; border-radius: 50%;
  background: #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #333;
}
.nav-modal .nav-progress .step.active .num { background: var(--blue); color: #fff; }
.nav-modal .nav-progress .step.done .num { background: #93c5fd; color: #fff; }
.nav-modal .nav-price-preview {
  text-align: center; font-size: .9rem;
  color: var(--muted); margin-bottom: 16px;
}
.nav-modal .nav-price-preview span { font-weight: 700; color: var(--blue); }
.nav-modal .nav-question .q-text {
  font-weight: 700; margin-bottom: 14px; font-size: 1.05rem;
}
.nav-modal .nav-question .options {
  display: flex; flex-direction: column; gap: 8px;
}
.nav-modal .nav-question .options .option {
  padding: 12px 16px; text-align: left;
  border: 1.5px solid var(--border);
  border-radius: 10px; background: #fff;
  cursor: pointer; font-size: .95rem; font-weight: 500;
  transition: all var(--transition); font-family: inherit;
}
.nav-modal .nav-question .options .option:hover {
  border-color: var(--blue); background: var(--blue-soft);
}
.nav-modal .nav-question .options .option.selected {
  border-color: var(--blue); background: var(--blue-light); font-weight: 700;
}
.nav-modal .nav-actions {
  display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap;
}
.nav-modal .nav-actions .btn-secondary,
.nav-modal .nav-actions .btn-primary,
.nav-modal .nav-actions .btn-outline {
  padding: 10px 20px; border-radius: var(--radius-btn);
  font-weight: 700; cursor: pointer;
  font-size: .95rem; border: none; font-family: inherit;
}
.nav-modal .nav-actions .btn-secondary { background: var(--blue-soft); color: var(--blue-dark); }
.nav-modal .nav-actions .btn-primary { background: var(--blue); color: #fff; flex: 1; }
.nav-modal .nav-actions .btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}

#imageModal img {
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto !important; height: auto !important;
  object-fit: contain !important;
}

/* ============================================================
   МОДАЛКА СОГЛАСИЯ — УДОБНЫЙ КРЕСТИК
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  height: 100dvh;
  background: rgba(0,0,0,.5);
  justify-content: center; align-items: center;
  z-index: 10000;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.open,
.modal-overlay[style*="display: flex"] { display: flex !important; }

.modal-window {
  background: #fff;
  padding: 32px;
  padding-top: 48px;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

/* Удобный крестик */
.modal-window .modal-close,
.modal-window .close,
.modal-close {
  position: absolute !important;
  top: 12px !important; right: 12px !important;
  width: 40px !important; height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  color: #333 !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  z-index: 10 !important;
  padding: 0 !important;
}
.modal-window .modal-close:hover,
.modal-window .close:hover,
.modal-close:hover {
  background: var(--blue) !important;
  color: #fff !important;
  transform: rotate(90deg) !important;
}
.modal-window .modal-close:focus-visible,
.modal-window .close:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid var(--blue) !important;
  outline-offset: 2px !important;
}

.modal-btn,
#confirmCall {
  background: var(--blue) !important;
  color: #fff !important;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-btn) !important;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition);
}
.modal-btn:hover,
#confirmCall:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
}

/* КОРЗИНА */
.cart-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 999999;
  justify-content: center; align-items: center; padding: 20px;
}
.cart-modal[aria-hidden="false"] { display: flex; }
.cart-modal-content {
  background: var(--white); border-radius: 20px;
  max-width: 500px; width: 100%; max-height: 90vh;
  overflow-y: auto; padding: 30px;
  position: relative; color: #000;
}
.close-cart-btn {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 24px;
  cursor: pointer; color: #000;
}
.cart-item { padding: 12px 0; border-bottom: 1px solid #eee; }
.cart-remove-btn {
  background: #b91c1c; color: var(--white); border: none;
  border-radius: 4px; padding: 4px 12px; font-size: 12px;
  cursor: pointer; margin-top: 4px;
}
.empty-cart { color: var(--muted); text-align: center; padding: 40px 0; }

.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-weight: 600; font-size: 14px;
  margin-bottom: 4px; color: #000;
}
.form-group input {
  width: 100%; padding: 10px 12px;
  border: 2px solid #767676; border-radius: 8px;
  font-size: 14px; font-family: inherit;
  background: var(--white); color: #000;
}
.form-group input:focus { outline: none; border-color: var(--blue); }
.submit-btn {
  background: var(--blue) !important; color: var(--white) !important;
  border: none; border-radius: var(--radius-btn);
  padding: 14px 24px;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.submit-btn:hover { background: var(--blue-dark) !important; }

.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  padding: 14px 28px; border-radius: 12px;
  font-weight: 600; z-index: 9999999;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  max-width: 90%; text-align: center;
}

/* ПОДВАЛ */
.custom-footer-global {
  background: var(--navy); color: var(--white);
  padding: 48px 0 24px; margin-top: 60px;
  border-top: 2px solid var(--blue);
  max-width: 100%;
}
.footer-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 40px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h2 {
  font-size: 16px; font-weight: 700; color: var(--white);
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: .5px;
}
.footer-col p, .footer-col ul li, .footer-col div, .footer-address div {
  color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.8;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a, .footer-col a {
  color: rgba(255,255,255,.85); transition: color var(--transition);
}
.footer-col a:hover, .footer-col ul li a:hover { color: #93c5fd; }
.footer-cta a { color: #93c5fd; font-weight: 700; }
.footer-mini {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-mini li a { font-size: 13px; }
.footer-address { font-style: normal; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-left { color: rgba(255,255,255,.75); font-size: 13px; }
.footer-bottom-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom-right a { color: rgba(255,255,255,.75); font-size: 13px; }
.footer-bottom-right a:hover { color: #93c5fd; }
.footer-bottom-right span { color: rgba(255,255,255,.5); }

.highlight { animation: pricePulse .4s ease; }
@keyframes pricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); color: var(--blue); }
  100% { transform: scale(1); }
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .nav-menu ul { gap: 14px; }
  .nav-menu a { font-size: 14px; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px; padding: 20px;
  }
  .trust-block { grid-template-columns: repeat(3, 1fr); }
  .seo-block .similar-models { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4,
  .grid-auto, .catalog-grid, .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hero-catalog:has(.badge) .grid, .hero-product .grid {
    grid-template-columns: 1fr !important; gap: 24px !important;
  }
  .hero-catalog:has(.badge) .stats { gap: 16px; flex-wrap: wrap; }

  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    z-index: 100000 !important;
  }
  .nav-menu.open { max-height: calc(100vh - var(--header-height-mobile)); overflow-y: auto; }
  .nav-menu > ul { display: block !important; padding: 8px 0 !important; margin: 0 !important; list-style: none !important; }
  .nav-menu > ul > li {
    display: block !important; width: 100% !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: relative !important;
    margin: 0 !important; padding: 0 !important;
  }
  .nav-menu > ul > li > a {
    display: block !important;
    padding: 14px 60px 14px 24px !important;
    font-size: 16px !important; font-weight: 600 !important; color: #000 !important;
  }
  .dropdown-toggle {
    position: absolute !important;
    top: 50% !important; right: 16px !important;
    transform: translateY(-50%) !important;
    padding: 8px 12px !important; font-size: 14px !important;
    background: transparent !important; border: none !important;
    z-index: 2 !important;
  }
  .has-dropdown.open > .dropdown-toggle {
    transform: translateY(-50%) rotate(180deg) !important;
    color: var(--blue) !important;
  }
  .has-dropdown .dropdown {
    position: static !important;
    display: block !important;
    opacity: 1 !important; visibility: visible !important;
    transform: none !important; box-shadow: none !important;
    background: #f8fafc !important; border-radius: 0 !important;
    margin: 0 !important; padding: 0 !important;
    min-width: 0 !important; max-width: none !important; width: 100% !important;
    max-height: 0 !important; overflow: hidden !important;
    transition: max-height .3s ease !important;
    pointer-events: auto !important; z-index: auto !important;
  }
  .has-dropdown.open .dropdown { max-height: 800px !important; }
  .has-dropdown .dropdown li {
    display: block !important; width: 100% !important;
    margin: 0 !important; padding: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
  }
  .has-dropdown .dropdown a {
    display: block !important;
    padding: 12px 24px 12px 40px !important;
    font-size: 14px !important; font-weight: 500 !important;
    color: #333 !important; background: #f8fafc !important;
  }

  .phone-text { display: none; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-right { justify-content: center; }

  .breadcrumbs { padding: 0 16px; font-size: .82rem; }
  .page-wrap { padding: 30px 16px; }

  .product-grid { padding: 16px; gap: 20px; }
  .product-grid h1 { font-size: 1.3rem; }
  .product-grid .total-card .price { font-size: 1.3rem; }
  .product-grid .btn-primary { font-size: 1rem; padding: 14px 20px; }

  .trust-block { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
  .banner-call { margin-left: 16px; margin-right: 16px; padding: 24px 16px; }
  .seo-block { padding: 20px; margin-left: 16px; margin-right: 16px; }
  .seo-block .advantages { grid-template-columns: 1fr; }
  .seo-block .similar-models { grid-template-columns: repeat(2, 1fr); }
  .reviews-block, .faq-block { padding: 0 16px; }

  .fixed-panel .inner { flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
  .fixed-panel .inner span:first-child { font-size: .8rem; }
  .fixed-panel .inner .price { font-size: 1.2rem; }
  .fixed-panel .inner .btn { padding: 10px 16px; font-size: .85rem; }

  .nav-trigger { bottom: 110px; right: 16px; width: 48px; height: 48px; }
  .nav-trigger svg { width: 26px; height: 26px; }
  .nav-modal .modal-box { padding: 20px; }
  .nav-modal .nav-character svg { width: 80px; height: 80px; max-width: 80px; }

  .modal-window { padding: 24px; border-radius: 20px; padding-top: 44px; }
  .modal-window .modal-close,
  .modal-window .close,
  .modal-close {
    width: 36px !important; height: 36px !important;
    font-size: 1.3rem !important;
    top: 8px !important; right: 8px !important;
  }
}

@media (max-width: 480px) {
  .grid-4, .grid-2, .grid-3, .catalog-grid { grid-template-columns: 1fr !important; }
  .product-grid .presets button { font-size: .8rem !important; padding: 8px 12px !important; }
  .product-grid .total-line .price { font-size: 1.1rem !important; }
  .trust-block { grid-template-columns: 1fr; }
  .seo-block .similar-models { grid-template-columns: 1fr; }
}

html, body { overflow-x: hidden; max-width: 100%; width: 100%; }
section, .page-wrap, .hero-main, .seo-block, .map-wrap,
.custom-header, .custom-footer-global, .breadcrumbs {
  max-width: 100%; overflow-x: hidden;
}
img, iframe, video, svg { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ФИКСЫ: карта Яндекс, кнопки — белый текст, убрать «жирную»
   ============================================================ */

/* ---------- 1. Яндекс.Карта — нормальный размер ---------- */
/* Обёртка карты Tilda */
.t-map,
.t-map__container,
.t-map__wrapper,
[class*="t-map"],
.map-wrap,
.map-block,
.ya-map,
#map,
.map {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 400px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Сам iframe карты */
.t-map iframe,
[class*="t-map"] iframe,
.map-wrap iframe,
.map-block iframe,
.ya-map iframe,
#map iframe,
iframe[src*="yandex"],
iframe[src*="maps.yandex"] {
  width: 100% !important;
  min-height: 400px !important;
  height: 400px !important;
  display: block !important;
  border: 0 !important;
  border-radius: 16px !important;
}

/* Внутренний контейнер Tilda — убираем ограничения */
.t-map .t-container,
.t-map .t-container_100,
.t-map .t-width,
.t-map .t-width_100,
.t-map .t-cover__wrapper,
[class*="t-map"] .t-container,
[class*="t-map"] .t-width {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Если карта в .t123 — тоже растягиваем */
.t123 .t-map,
.t123 iframe[src*="yandex"],
.t123 iframe[src*="maps.yandex"] {
  width: 100% !important;
  min-height: 400px !important;
  height: 400px !important;
}

/* На мобиле — компактнее */
@media (max-width: 768px) {
  .t-map iframe,
  [class*="t-map"] iframe,
  .map-wrap iframe,
  .ya-map iframe,
  iframe[src*="yandex"],
  iframe[src*="maps.yandex"] {
    height: 320px !important;
    min-height: 320px !important;
  }
  .t-map, .map-wrap, .map-block, .ya-map, #map, .map {
    min-height: 320px !important;
  }
}


/* ---------- 2. ВСЕ кнопки — белый текст ---------- */
/* Основные кнопки */
.btn,
.btn-green,
.btn-blue,
.btn-gold,
.btn-block,
.btn-sm,
.btn-primary,
.btn-secondary,
.call-consent-trigger,
button.btn,
a.btn,
input[type="submit"].btn,
.t-btn,
.t-submit,
.t-form__submit,
button[type="submit"],
input[type="submit"] {
  color: #fff !important;
}

/* Текст внутри ссылок-кнопок */
.btn *,
.btn-green *,
.btn-blue *,
.btn-gold *,
.btn-primary *,
.btn-secondary *,
.call-consent-trigger *,
a.btn * {
  color: #fff !important;
}

/* Карточки каталога и sale-item */
.catalog-item .btn,
.catalog-item .btn-green,
.catalog-item .btn-sm,
.sale-item .btn,
.sale-item .btn-green,
.sale-item a.btn,
.sale-item button.btn,
.card-item .btn,
.card-item .btn-block {
  color: #fff !important;
}
.catalog-item .btn *,
.sale-item .btn *,
.card-item .btn * {
  color: #fff !important;
}

/* Кнопки-помощники, модалки, корзины */
.modal-btn,
#confirmCall,
.fixed-panel .inner .btn,
.nav-modal .nav-actions .btn-primary,
.nav-modal .nav-actions .btn-secondary,
.nav-modal .nav-actions .btn-outline,
.submit-btn,
.cart-modal .submit-btn,
.reviews-block .write-review .btn-primary {
  color: #fff !important;
}

/* Кнопки в шапке и подвале — только если это btn */
.custom-header .btn,
.custom-footer-global .btn {
  color: #fff !important;
}


/* ---------- 3. Убрать «жирную» кнопку — единый размер ---------- */
/* Все кнопки одного размера */
.btn,
.btn-green,
.btn-blue,
.btn-gold,
button.btn,
a.btn {
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  min-height: auto !important;
  height: auto !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Маленькие кнопки — оставляем меньше */
.btn-sm,
button.btn-sm,
a.btn-sm {
  padding: 10px 22px !important;
  font-size: 14px !important;
}

/* Кнопки на всю ширину — оставляем ширину */
.btn-block,
.catalog-item .btn,
.sale-item .btn,
.card-item .btn-block,
.product-grid .btn-primary {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

/* Убираем возможные тени/жирность у отдельной кнопки */
.custom-footer-global .btn,
.banner-call .btn {
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

/* ============================================================
   СТРАНИЦА /catalog/entry/ — ВСЕ КЛАССЫ
   ============================================================ */

/* Общая обёртка */
.entry-page {
  max-width: 100%;
  overflow-x: hidden;
}

/* ----- ХЛЕБНЫЕ КРОШКИ ----- */
.entry-page .breadcrumbs {
  font-size: 0.95rem;
  padding: 16px 20px 8px;
  color: #555;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
  max-width: var(--container, 1280px);
  margin-left: auto;
  margin-right: auto;
}
.entry-page .breadcrumbs a {
  color: var(--blue, #1e3a8a);
  text-decoration: none;
  font-weight: 600;
}
.entry-page .breadcrumbs a:hover {
  text-decoration: underline;
}
.entry-page .breadcrumbs .sep {
  margin: 0 6px;
  color: #aaa;
}
.entry-page .breadcrumbs .current {
  color: #000;
  font-weight: 600;
}

/* ----- HERO ----- */
.entry-hero {
  padding: 40px 0;
  background: linear-gradient(120deg, #f8fafc, #fff);
}
.entry-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.entry-hero__badge {
  background: var(--blue-soft, #eef2ff);
  color: var(--blue, #1e3a8a);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.entry-hero__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #000;
}
.entry-hero__subtitle {
  font-size: 1.15rem;
  color: #374151;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-left: 3px solid var(--blue, #1e3a8a);
  padding-left: 20px;
  text-align: left;
}
.entry-hero__text {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 24px;
}
.entry-hero__text strong {
  color: #000;
  font-weight: 700;
}
.entry-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.entry-tag {
  background: var(--blue-soft, #eef2ff);
  color: var(--blue, #1e3a8a);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.entry-tag:hover {
  background: var(--blue, #1e3a8a);
  color: #fff;
  transform: translateY(-2px);
}
.entry-hero__stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 24px 0;
  flex-wrap: wrap;
}
.entry-stat {
  text-align: center;
}
.entry-stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue, #1e3a8a);
  margin-bottom: 4px;
}
.entry-stat__label {
  font-size: 0.85rem;
  color: #4b5563;
}
.entry-hero__cta {
  margin-top: 24px;
}

/* ----- КНОПКА-ОБВОДКА ----- */
.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent !important;
  border: 2px solid var(--blue, #1e3a8a) !important;
  color: var(--blue, #1e3a8a) !important;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 12px !important;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline-blue:hover {
  background: var(--blue, #1e3a8a) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ----- УТП ----- */
.entry-usp {
  padding: 20px 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-usp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.entry-usp__item {
  background: #f8fafc;
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid #edf2e9;
  transition: transform 0.2s ease;
}
.entry-usp__item:hover {
  transform: translateY(-4px);
}
.entry-usp__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.entry-usp__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
}
.entry-usp__desc {
  font-size: 0.85rem;
  color: #4b5563;
  margin: 0;
}

/* ----- ПОДНАВИГАЦИЯ ----- */
.entry-subnav {
  background: #f8fafc;
  border-radius: 40px;
  padding: 10px 20px;
  margin: 20px auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  max-width: 1280px;
  border: 1px solid #eef2e6;
  width: calc(100% - 40px);
}
.entry-subnav__item {
  color: var(--blue, #1e3a8a);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.entry-subnav__item:hover {
  text-decoration: underline;
}
.entry-subnav__item--active {
  color: #1f2937;
  font-weight: 700;
  cursor: default;
}

/* ----- ЗАГОЛОВКИ СЕКЦИЙ ----- */
.entry-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #000;
}
.entry-section-subtitle {
  text-align: center;
  color: #5a6874;
  margin: 0 auto 32px;
  font-size: 1rem;
  max-width: 680px;
  padding: 0 20px;
}

/* ----- КАТАЛОГ ----- */
.entry-catalog {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-rating {
  text-align: center;
  margin-bottom: 30px;
}
.entry-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef9e6;
  padding: 8px 16px;
  border-radius: 40px;
}
.entry-rating__stars {
  color: #f5b042;
  letter-spacing: 2px;
}
.entry-rating__text {
  color: #333;
  font-size: 0.9rem;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* ----- КАРТОЧКА ТОВАРА ----- */
.entry-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.08);
  border: 1px solid #edf2e9;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.entry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.15);
}
.entry-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.entry-card__img {
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.entry-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.entry-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.entry-card__tag {
  background: var(--blue-soft, #eef2ff);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 500;
  margin-bottom: 10px;
  align-self: flex-start;
  color: var(--blue, #1e3a8a);
}
.entry-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e3a8a;
  flex-grow: 1;
}
.entry-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 10px;
  flex-wrap: wrap;
}
.entry-card__price-new {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue, #1e3a8a);
}
.entry-card__price-old {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.entry-card__desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #4b5563;
  margin: 4px 0 8px;
}
.entry-card__btn {
  display: block;
  background: var(--blue, #1e3a8a);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: auto;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
.entry-card__btn:hover {
  background: var(--blue-dark, #172554);
  transform: translateY(-1px);
}

/* ----- ПРОИЗВОДИТЕЛИ ----- */
.entry-manufacturers {
  padding: 40px 20px;
}
.entry-manufacturers__inner {
  background: #f8fafc;
  border-radius: 32px;
  padding: 32px 20px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-manufacturers__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.entry-manufacturers__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-top: 12px;
  color: #000;
}
.entry-manufacturers__text {
  color: #4b5563;
  max-width: 680px;
  margin: 12px auto 0;
}
.entry-manufacturers__tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}
.entry-manufacturers__tag {
  background: #fff;
  padding: 12px 20px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.entry-manufacturers__note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: #4b5563;
}

/* ----- ОТЗЫВЫ ----- */
.entry-reviews {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-grid--reviews {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.entry-review {
  background: #f8fafc;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #edf2e9;
  transition: transform 0.2s;
}
.entry-review:hover {
  transform: translateY(-4px);
}
.entry-review__author {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e3a8a;
  margin-bottom: 4px;
}
.entry-review__meta {
  font-size: 0.75rem;
  color: #f5b042;
  margin-bottom: 8px;
}
.entry-review__date {
  font-size: 0.7rem;
  color: #8a9b6e;
  margin-bottom: 12px;
}
.entry-review__text {
  font-size: 0.85rem;
  color: #2d3e2a;
  line-height: 1.5;
  margin: 0;
}

/* ----- НАШИ РАБОТЫ ----- */
.entry-works {
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 24px;
  margin: 20px auto;
  max-width: 1280px;
}
.entry-works__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.entry-grid--works {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.entry-work {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.08);
  border: 1px solid #edf2e9;
  transition: transform 0.2s;
}
.entry-work:hover {
  transform: translateY(-4px);
}
.entry-work__img {
  background: #eef3ea;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.entry-work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.entry-work__caption {
  padding: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #1e3a8a;
  font-weight: 500;
  margin: 0;
}

/* ----- СРАВНИТЕЛЬНАЯ ТАБЛИЦА ----- */
.entry-compare {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-compare__wrap {
  overflow-x: auto;
  margin-top: 20px;
}
.entry-compare__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.08);
  min-width: 600px;
}
.entry-compare__table thead {
  background: #f8fafc;
}
.entry-compare__table th {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #edf2e9;
  font-weight: 700;
  color: #1e3a8a;
}
.entry-compare__table td {
  padding: 12px 16px;
  border-bottom: 1px solid #edf2e9;
  color: #000;
}
.entry-compare__table tr:last-child td {
  border-bottom: none;
}
.entry-compare__yes {
  color: #2e7d32 !important;
  font-weight: 700;
}
.entry-compare__no {
  color: #b91c1c !important;
}

/* ----- ДОСТАВКА ----- */
.entry-delivery {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-delivery__districts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 20px;
}
.entry-delivery__district {
  background: var(--blue-soft, #eef2ff);
  padding: 6px 14px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--blue, #1e3a8a);
}
.entry-delivery__info {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}
.entry-delivery__info p {
  margin: 8px 0;
  color: #333;
}
.entry-delivery__info strong {
  color: var(--blue, #1e3a8a);
}

/* ----- ФУРНИТУРА ----- */
.entry-fittings {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-fittings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  background: #f8fafc;
  border-radius: 48px;
  padding: 40px 24px;
}
.entry-fitting {
  text-align: center;
}
.entry-fitting__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}
.entry-fitting__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #000;
}
.entry-fitting__desc {
  font-size: 0.8rem;
  color: #4b5563;
}

/* ----- FAQ ----- */
.entry-faq {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.entry-faq__list {
  background: #f8fafc;
  border-radius: 24px;
  padding: 32px 24px;
  margin-top: 20px;
}

/* ----- SEO-БЛОК ----- */
.entry-seo {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-seo__inner {
  background: #f8fafc;
  border-radius: 24px;
  padding: 32px 24px;
  margin-top: 20px;
}
.entry-seo__title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #1e3a8a;
}
.entry-seo__subtitle {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  color: #1e3a8a;
}
.entry-seo__inner p {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 0.9rem;
  color: #4b5563;
}
.entry-seo__inner strong {
  color: #000;
}
.entry-seo__list {
  margin: 10px 0 20px 20px;
  line-height: 1.8;
  color: #4b5563;
  font-size: 0.9rem;
}
.entry-seo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.entry-seo__tag {
  background: var(--blue-soft, #eef2ff);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--blue, #1e3a8a);
}

/* ----- ПРЕИМУЩЕСТВА ----- */
.entry-benefits {
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.entry-grid--benefits {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.entry-benefit {
  background: #f8fafc;
  padding: 24px 16px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid #eef2e6;
}
.entry-benefit__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}
.entry-benefit__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #000;
}
.entry-benefit__desc {
  font-size: 0.8rem;
  color: #4b5563;
  margin: 0;
}

/* ----- АДАПТИВ ----- */
@media (max-width: 768px) {
  .entry-hero__subtitle {
    font-size: 1rem;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--blue, #1e3a8a);
    padding-left: 0;
    padding-top: 16px;
    max-width: 500px;
  }
  .entry-hero__stats {
    gap: 20px;
  }
  .entry-stat__num {
    font-size: 1.4rem;
  }
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .entry-catalog,
  .entry-reviews,
  .entry-works,
  .entry-compare,
  .entry-delivery,
  .entry-fittings,
  .entry-faq,
  .entry-seo,
  .entry-benefits {
    padding: 30px 16px;
  }
  .entry-manufacturers__inner,
  .entry-works,
  .entry-faq__list,
  .entry-seo__inner {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .entry-fittings__grid {
    padding: 24px 16px;
    border-radius: 24px;
  }
  .entry-subnav {
    gap: 12px;
    font-size: 0.8rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .entry-hero__title {
    font-size: 1.5rem;
  }
  .entry-hero__badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
  .entry-section-title {
    font-size: 1.4rem;
  }
}

/* ============================================================
   ГЛОБАЛЬНЫЕ ХЛЕБНЫЕ КРОШКИ — СТИЛИ
   ============================================================ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  color: #4a4a4a;
  background: transparent;
}

.breadcrumbs a {
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #1e3a8a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumbs .sep {
  color: #9ca3af;
  flex-shrink: 0;
  user-select: none;
}

.breadcrumbs .current {
  color: #000;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 0.82rem;
    padding: 12px 16px;
    gap: 6px;
  }
  .breadcrumbs .current {
    white-space: normal;
    overflow: visible;
  }
}