:root {
  --bg: #f0f5fc;
  --bg-alt: #e5edf8;
  --surface: #fff;
  --card: #fff;
  --border: #c8d8f0;
  --accent: #0e4bd3;
  --accent-hover: #1240b8;
  --accent-light: #dce8fb;
  --red: #ff0000;
  --text: #111827;
  --muted: #4b5e7a;
  --white: #fff;
  --shadow-sm: 0 2px 10px rgba(26, 86, 219, 0.07);
  --shadow-md: 0 6px 28px rgba(26, 86, 219, 0.13);
  --shadow-lg: 0 16px 48px rgba(26, 86, 219, 0.18);
  --radius: 10px;
  --font-head: "Oswald", sans-serif;
  --font-body: "Nunito", sans-serif;
  --tr: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  /* --tr: 0.1s linear; */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  padding-inline: 16px;
  margin-inline: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ── Performance: layout containment ── */
.prod-card,
.cat-card,
.why-card,
.review-card,
.blog-card {
  contain: layout style;
}
.prod-img,
.blog-img {
  content-visibility: auto;
  contain-intrinsic-size: 600px 450px;
}

/* ── Mobile nav hidden on desktop ── */
.mobile-nav,
.mobile-nav-overlay {
  display: none;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Top bar */
.header-top {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.8rem;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 20px;
}
.header-top a {
  color: var(--muted);
  transition: color var(--tr);
}
.header-top a:hover {
  color: var(--accent);
}
.header-top-left,
.header-top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-top-phone {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent) !important;
  letter-spacing: 0.03em;
}

/* ==========================================================
   АДАПТАЦИЯ ВЕРХНЕЙ ПАНЕЛИ (HEADER-TOP-RIGHT) ДЛЯ МОБИЛОК
========================================================== */
@media (max-width: 991px) {
  /* 1. Возвращаем видимость верхней полосы и задаем ей компактные отступы */
  .header-top {
    display: block !important;
    padding: 6px 0;
  }

  /* 2. Делаем контейнер гибким и центрируем содержимое */
  .header-top-inner {
    height: auto;
    justify-content: center;
  }

  /* 3. Скрываем левое навигационное меню (О компании, Доставка), чтобы освободить ширину экрана */
  .header-top-left {
    display: none;
  }

  /* 4. Настраиваем правый блок: растягиваем на 100% и распределяем элементы */
  .header-top-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  /* 5. Кнопка обратного звонка: скрываем длинный текст, оставляем иконку и добавляем короткое слово */
  .header-callback-btn {
    display: flex !important;
    font-size: 0; /* Скрываем оригинальный текст "Заказать звонок" */
    gap: 4px;
    padding: 4px 0;
  }
  .header-callback-btn svg {
    width: 16px;
    height: 16px;
  }

  /* 6. Скрываем текстовую ссылку "Контакты", так как она есть в бургер-меню и футере */
  .header-top-right > a[href="contacts"] {
    display: none;
  }

  /* 7. Телефон: немного уменьшаем размер шрифта для узких экранов (например, iPhone SE) */
  .header-top-phone {
    font-size: 0.9rem;
    margin-left: auto; /* Прижимаем телефон ближе к правому краю */
  }

  /* 8. Возвращаем кнопку выпадающего списка контактов (мессенджеры, режим работы) */
  .contact-drop-wrap {
    display: block !important;
  }

  /* 9. Корректируем позиционирование выпадающей панели контактов под мобильный экран */
  .contact-drop-panel {
    position: fixed; /* Фиксируем относительно окна браузера, а не родителя */
    top: 90px; /* Отступ сверху, чтобы панель не перекрывала саму шапку */
    right: 16px;
    width: calc(100vw - 32px); /* Растягиваем почти на всю ширину экрана */
    max-width: 320px; /* Ограничиваем максимальную ширину для планшетов */
    z-index: 1001;
  }

  /* Сдвигаем уголок-стрелочку вправо, чтобы она визуально указывала на кнопку-триггер */
  .contact-drop-panel::before {
    right: 18px;
  }

  /* 10. Компенсируем отступ основного слайдера (hero-swiper), так как шапка стала двухэтажной */
  .hero-swiper {
    margin-top: 100px; /* Увеличиваем отступ, чтобы контент не уезжал под шапку */
  }

  /* Также корректируем отступ для мобильного дропдауна поиска, если он используется */
  .mob-search-dropdown {
    top: 95px;
  }
}

/* Main nav row */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 8px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  flex-shrink: 0;
  text-transform: uppercase;
}
.logo span {
  color: var(--accent);
}

/* Nav list */
.main-nav {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2px;
}
.main-nav > li {
  position: relative;
}
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--tr), background var(--tr);
}
.main-nav > li.active > a,
.main-nav > li > a:hover,
.main-nav > li.has-mega:hover > a {
  color: var(--accent);
  background: var(--accent-light);
}
.main-nav > li > a svg {
  flex-shrink: 0;
  transition: transform var(--tr);
}
.main-nav > li.has-mega:hover > a svg {
  transform: rotate(180deg);
}

.nav-cta-btn {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius) !important;
  transition: background var(--tr) !important;
}
.nav-cta-btn:hover {
  background: var(--accent-hover) !important;
  color: var(--white) !important;
}

/* ── Mega Menu Panel ── */
.mega-panel {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(26, 86, 219, 0.14);
  padding: 22px 20px;
  min-width: 860px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  /* transition: opacity var(--tr), transform var(--tr); */
  z-index: 200;
}
.main-nav > li.has-mega::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.main-nav > li.has-mega:hover .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Catalog mega — wider */
.mega-panel--catalog {
  min-width: 960px;
}
/* Producers mega — medium */
.mega-panel--producers {
  min-width: 960px;
}

.mega-panel__title {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mega-grid--3 {
  grid-template-columns: repeat(5, 1fr);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text);
  transition: background var(--tr), color var(--tr);
  cursor: pointer;
}
.mega-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.mega-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-alt);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.mega-item span {
  line-height: 1.3;
}

/* ══════════════════════════════════════════
       SEARCH
    ══════════════════════════════════════════ */
.search-wrap {
  position: relative;
  margin-left: auto;
  margin-right: 12px;
}
.search-toggle {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
  color: var(--muted);
}
.search-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}
.search-toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(26, 86, 219, 0.14);
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  /* transition: opacity var(--tr), transform var(--tr); */
  z-index: 500;
}
.search-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.search-field {
  display: flex;
  gap: 8px;
}
.search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr);
  background: var(--bg-alt);
}
.search-input:focus {
  border-color: var(--accent);
  background: var(--white);
}
.search-input::placeholder {
  color: var(--muted);
}
.search-btn {
  padding: 10px 16px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr);
  white-space: nowrap;
}
.search-btn:hover {
  background: var(--accent-hover);
}
.search-hints {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.search-hints-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.search-hints-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.search-hint-tag {
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
  border: none;
  font-family: var(--font-body);
}
.search-hint-tag:hover {
  background: var(--accent);
  color: var(--white);
}






.search-toggle .icon-close {
  display: none;
  /*opacity: 0;
  transform: rotate(0deg);*/
}

.search-toggle.is-open .icon-search {
  display: none;
  /*opacity: 0;
  transform: rotate(90deg);*/
}
.search-toggle.is-open .icon-close {
  display: block;
  /*opacity: 1;
  transform: rotate(0deg);*/
}


@media (max-width: 991px) {
  .search-wrap {
    /* display: none; */
  }
}
@media (max-width: 767px) {
  .search-dropdown {
    position: fixed;
    top: calc(100% + 0px);
    right: 0px;
    width: 360px;
  }
  .mob-search-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
@media (max-width: 320px) {
  .search-dropdown {
    width: 320px;
  }
}

/* ══════════════════════════════════════════
       PRODUCT FILTERS
    ══════════════════════════════════════════ */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.filter-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
  flex-shrink: 0;
}
.filter-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--tr), color var(--tr), background var(--tr);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.filter-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}
.filter-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-sort select {
  padding: 7px 30px 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234b5e7a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--tr);
}
.filter-sort select:focus {
  border-color: var(--accent);
}
.prod-card.hidden {
  display: none;
}
.filter-sort2 {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 575px) {
  .filters-bar {
    gap: 8px;
  }
  .filter-sort {
    margin-left: 0;
    width: 100%;
  }
  .filter-sort select {
    flex: 1;
  }
}

/* ══════════════════════════════════════════
       FAQ
    ══════════════════════════════════════════ */
.faq-section {
  background: var(--bg-alt);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 767px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  transition: color var(--tr), background var(--tr);
}
.faq-question:hover {
  color: var(--accent);
  background: var(--accent-light);
}
.faq-item.open .faq-question {
  color: var(--accent);
  background: var(--accent-light);
}
.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--muted);
  transition: background var(--tr), color var(--tr), transform var(--tr);
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding var(--tr);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════
       BLOG / НОВОСТИ
    ══════════════════════════════════════════ */
.blog-section {
  background: var(--bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img {
  transform: scale(1.06);
}
.blog-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.blog-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--border);
  border-radius: 50%;
}
.blog-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color var(--tr);
}
.blog-card:hover .blog-title {
  color: var(--accent);
}
.blog-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.blog-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-read-more {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--tr);
}
.blog-card:hover .blog-read-more {
  gap: 9px;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
}
.blog-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Load More ── */
.load-more-wrap {
  text-align: center;
  margin-top: 36px;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--tr), color var(--tr), transform var(--tr);
}
.btn-load-more:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-load-more .lm-icon {
  font-size: 1rem;
  transition: transform 0.4s ease;
}
.btn-load-more:hover .lm-icon {
  transform: rotate(180deg);
}
.btn-load-more.loading {
  pointer-events: none;
  opacity: 0.7;
}
.prod-card.extra {
  display: none;
}
.prod-card.extra.visible {
  display: block;
}

/* ══════════════════════════════════════════
       CHAT WIDGET
    ══════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  bottom: 88px;
  right: 15px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.chat-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  display: none;
  /* opacity: 0; */
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.chat-menu.open {
  display: flex;
  /* opacity: 1; */
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.chat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 9px 16px 9px 10px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  white-space: nowrap;
}
.chat-link:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-lg);
}
.chat-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
/* colours per channel */
.chat-link--phone .chat-link-icon {
  background: #e8f0fd;
  color: var(--accent);
}
.chat-link--wa .chat-link-icon {
  background: #e8f9f0;
  color: #25d366;
}
.chat-link--tg .chat-link-icon {
  background: #e8f5fd;
  color: #229ed9;
}
.chat-link--vb .chat-link-icon {
  background: #f3eafd;
  color: #7360f2;
}
.chat-link--phone:hover {
  border-color: var(--accent);
}
.chat-link--wa:hover {
  border-color: #25d366;
}
.chat-link--tg:hover {
  border-color: #229ed9;
}
.chat-link--vb:hover {
  border-color: #7360f2;
}

.chat-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.35);
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  position: relative;
  flex-shrink: 0;
}
.chat-fab:hover {
  background: var(--accent-hover);
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(26, 86, 219, 0.45);
}
.chat-fab svg {
  transition: transform 0.3s ease;
}
.chat-fab.open svg.icon-chat {
  display: none;
}
.chat-fab.open svg.icon-close {
  display: block !important;
}
.chat-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(26, 86, 219, 0.35);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
.chat-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: var(--white);
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--tr);
}
.chat-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text);
}
.chat-fab:hover .chat-tooltip {
  opacity: 1;
}

/* ══════════════════════════════════════════
       POP-UP АКЦИИ
    ══════════════════════════════════════════ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 60, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  max-width: 680px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 32px 80px rgba(26, 86, 219, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.popup-overlay.open .popup-box {
  transform: scale(1) translateY(0);
}
@media (max-width: 575px) {
  .popup-box {
    grid-template-columns: 1fr;
  }
}

.popup-visual {
  background: linear-gradient(140deg, #0e2d85, #1a56db 60%, #3b72f0);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.popup-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}
.popup-visual::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -40px;
  left: -40px;
}
.popup-discount {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.popup-discount sup {
  font-size: 2rem;
  vertical-align: super;
}
.popup-visual-text {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.popup-visual-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.popup-form-side {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: background var(--tr), color var(--tr);
  z-index: 10;
}
.popup-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.popup-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.popup-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}
.popup-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr);
}
.popup-input:focus {
  border-color: var(--accent);
}
.popup-input::placeholder {
  color: var(--muted);
}
.popup-btn {
  margin-top: 4px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.popup-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.popup-agree {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.popup-agree a {
  color: var(--accent);
}
.popup-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.popup-timer-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: blink 1s ease infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.popup-timer strong {
  color: #ef4444;
  font-family: var(--font-head);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════
       ФОРМА ОБРАТНОГО ЗВОНКА
    ══════════════════════════════════════════ */
.callback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 60, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.callback-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.callback-box {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(26, 86, 219, 0.22);
  position: relative;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.callback-overlay.open .callback-box {
  transform: scale(1) translateY(0);
}
.callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
  transition: background var(--tr), color var(--tr);
}
.callback-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.callback-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.callback-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.callback-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}
.callback-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.callback-input {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr);
}
.callback-input:focus {
  border-color: var(--accent);
}
.callback-input::placeholder {
  color: var(--muted);
}
.callback-time-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}
.callback-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.callback-btn {
  margin-top: 6px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.callback-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.callback-agree {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.callback-agree a {
  color: var(--accent);
}

/* Кнопка обратного звонка в шапке */
.header-callback-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  transition: color var(--tr);
}
.header-callback-btn:hover {
  color: var(--accent-hover);
}
.header-callback-btn svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 991px) {
  .header-callback-btn {
    display: none;
  }
}

/* ══════════════════════════════════════════
       КАРТА
    ══════════════════════════════════════════ */
.map-section {
  background: var(--bg-alt);
  padding-block: 0;
}
.map-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 420px;
}
@media (max-width: 991px) {
  .map-inner {
    grid-template-columns: 1fr;
  }
}
.map-frame {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
}
@media (max-width: 991px) {
  .map-frame {
    order: 2;
  }
}
.map-info {
  background: var(--accent);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
@media (max-width: 991px) {
  .map-info {
    order: 1;
    padding: 32px 24px;
  }
}
.map-info-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.map-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.map-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.map-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.map-contacts svg {
    color: var(--white);
}
.map-contact-text {
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.5;
}
.map-contact-text strong {
  color: var(--white);
  display: block;
  font-size: 0.9rem;
}
.map-route-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* background: rgba(255, 255, 255, 0.18); */
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background var(--tr), border-color var(--tr);
  text-decoration: none;
  align-self: flex-start;
}
.map-route-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ══════════════════════════════════════════
       ПАГИНАЦИЯ
    ══════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  list-style: none;
}
.page-link {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--tr), color var(--tr), background var(--tr),
    transform var(--tr);
  padding: 0 6px;
}
.page-link:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.page-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.page-link.active:hover {
  color: var(--white);
}
.page-link.dots {
  cursor: default;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.page-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-link.arrow {
  font-size: 1rem;
}

/* ── Top-bar contact dropdown ── */
.contact-drop-wrap {
  position: relative;
}
.contact-drop-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  color: var(--accent);
  transition: background var(--tr), transform var(--tr);
  flex-shrink: 0;
}
.contact-drop-btn:hover,
.contact-drop-btn.open {
  background: var(--accent);
  color: var(--white);
}
.contact-drop-btn svg {
  display: block;
}

.contact-drop-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(26, 86, 219, 0.15);
  padding: 18px;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.97);
  /* transition: opacity var(--tr), transform var(--tr); */
}
.contact-drop-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
/* Arrow */
.contact-drop-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 10px;
  width: 13px;
  height: 13px;
  background: var(--white);
  border-left: 1.5px solid var(--border);
  border-top: 1.5px solid var(--border);
  transform: rotate(45deg);
}

.cdp-section {
  margin-bottom: 14px;
}
.cdp-section:last-of-type {
  margin-bottom: 0;
}
.cdp-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.cdp-phone {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
  transition: color var(--tr);
}
.cdp-phone:hover {
  color: var(--accent-hover);
}
.cdp-email {
  font-size: 0.88rem;
  color: var(--text);
  display: block;
  transition: color var(--tr);
}
.cdp-email:hover {
  color: var(--accent);
}
.cdp-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.cdp-hours {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}
.cdp-hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  animation: pulse-green 2s ease infinite;
}
@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.06);
  }
}
.cdp-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0 12px;
}
.cdp-socials {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cdp-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color var(--tr), background var(--tr), transform var(--tr);
}
.cdp-social:hover {
  transform: translateX(3px);
}
.cdp-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cdp-social-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* Per-channel colours */
.cdp-social--wa {
  border-color: rgba(37, 211, 102, 0.3);
}
.cdp-social--wa:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.06);
}
.cdp-social--wa .cdp-social-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}
.cdp-social--wa .cdp-social-name {
  color: #16a34a;
}

.cdp-social--tg {
  border-color: rgba(34, 158, 217, 0.3);
}
.cdp-social--tg:hover {
  border-color: #229ed9;
  background: rgba(34, 158, 217, 0.06);
}
.cdp-social--tg .cdp-social-icon {
  background: rgba(34, 158, 217, 0.12);
  color: #229ed9;
}
.cdp-social--tg .cdp-social-name {
  color: #1278a8;
}

.cdp-social--vb {
  border-color: rgba(115, 96, 242, 0.3);
}
.cdp-social--vb:hover {
  border-color: #7360f2;
  background: rgba(115, 96, 242, 0.06);
}
.cdp-social--vb .cdp-social-icon {
  background: rgba(115, 96, 242, 0.12);
  color: #7360f2;
}
.cdp-social--vb .cdp-social-name {
  color: #5b45d4;
}

@media (max-width: 991px) {
  .contact-drop-wrap {
    display: none;
  }
}

/* ── Top-bar social icons ── */
.header-top-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-top-socials a {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition: opacity var(--tr), transform var(--tr); */
  flex-shrink: 0;
}
.header-top-socials a:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}
.header-top-socials svg {
  display: block;
}

/* ── Nav alignment — push nav to right ── */
.nav-inner {
  justify-content: space-between;
}
.main-nav {
  margin-left: auto;
}



/* ── Mobile search icon (shown only on mobile) ── */
.mob-search-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  cursor: pointer;
  color: var(--muted);
  transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.mob-search-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.mob-search-btn svg {
  transition: opacity .2s, transform .2s;
}
.mob-search-btn .icon-close {
  display: block;
  opacity: 0;
  transform: rotate(-90deg);
  position: absolute;
}
.mob-search-btn {
  position: relative;
}
.mob-search-btn.is-open .icon-search {
  opacity: 0;
  transform: rotate(90deg);
}
.mob-search-btn.is-open .icon-close {
  opacity: 1;
  transform: rotate(0deg);
}


@media (max-width: 767px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none !important;
  }
  .mob-search-btn {
    display: flex;
  }

  .mob-search-dropdown {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 16px;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    /* transition: opacity var(--tr), transform var(--tr); */
  }
  .mob-search-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}



/* ── Burger ── */
.burger {
  display: none;
  flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 9px;
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
    border: 1.5px solid var(--border);
    border-radius: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--tr);
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════
       MOBILE NAV  (≤991px)
    ══════════════════════════════════════════ */
@media (max-width: 991px) {
  .header-top {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .burger {
    display: flex;
  }

  /* overlay */
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 998;
  }
  .mobile-nav-overlay.open {
    display: block;
  }

  /* drawer */
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 32px rgba(26, 86, 219, 0.15);
    transition: left 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
  }
  .mobile-nav.open {
    left: 0;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mobile-nav-head .logo {
    font-size: 1.3rem;
  }
  .mobile-nav-close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-alt);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--muted);
    transition: background var(--tr);
  }
  .mobile-nav-close:hover {
    background: var(--accent-light);
    color: var(--accent);
  }
  .mob-button-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
  }
  /* phone in drawer */
  .mobile-nav-phone {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  /* nav items */
  .mobile-nav-list {
    list-style: none;
    flex: 1;
  }
  .mobile-nav-list > li > a,
  .mobile-nav-list > li > button.mob-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background var(--tr), color var(--tr);
    text-align: left;
  }
  .mobile-nav-list > li > a:hover,
  .mobile-nav-list > li > button.mob-toggle:hover {
    background: var(--accent-light);
    color: var(--accent);
  }
  .mob-toggle svg {
    transition: transform var(--tr);
    flex-shrink: 0;
  }
  .mob-toggle.expanded svg {
    transform: rotate(180deg);
  }

  /* sub panel */
  .mob-sub {
    display: none;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .mob-sub.open {
    display: block;
  }
  .mob-sub a {
    display: block;
    padding: 10px 24px;
    font-size: 0.85rem;
    color: var(--muted);
    border-left: 3px solid transparent;
    transition: color var(--tr), border-color var(--tr), background var(--tr);
  }
  .mob-sub a:hover {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-light);
  }

  /* cta in drawer */
  .mobile-nav-cta {
    padding: 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
  }
  .mobile-nav-cta a {
    display: block;
    text-align: center;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px;
    border-radius: var(--radius);
    transition: background var(--tr);
  }
  .mobile-nav-cta a:hover {
    background: var(--accent-hover);
  }
}

/* ── Categories (новый вариант с картинками) ── */
.categories-section {
  background: var(--bg-alt);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 424px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

.cat-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
  text-decoration: none;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Картинка */
.cat-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.cat-card:hover .cat-img img {
  transform: scale(1.07);
}

/* Тонкий градиент поверх картинки снизу */
.cat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 60, 0.32) 0%,
    transparent 55%
  );
  transition: opacity var(--tr);
}
.cat-card:hover .cat-img::after {
  opacity: 0.55;
}

/* Счётчик товаров поверх картинки */
.cat-img-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  transition: background var(--tr);
}
.cat-card:hover .cat-img-count {
  background: var(--accent);
  border-color: var(--accent);
}

/* Текст под картинкой */
.cat-body {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.cat-name {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  transition: color var(--tr);
}
.cat-card:hover .cat-name {
  color: var(--accent);
}

.cat-arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background var(--tr), color var(--tr), transform var(--tr);
}
.cat-card:hover .cat-arrow {
  background: var(--accent);
  color: var(--white);
  transform: translateX(2px);
}

/* ── Page Hero ── */
.page-hero {
  margin-top: 85px;
  background: linear-gradient(120deg, #0e2d85 0%, #1a56db 55%, #3b72f0 100%);
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-top: 12px;
}
.page-hero-sub {
  margin-top: 10px;
  font-size: 0.97rem;
  color: rgba(215, 230, 255, 0.85);
  max-width: 520px;
  line-height: 1.65;
}
@media (max-width: 991px) {
  .page-hero {
    margin-top: 100px;
    padding: 28px 0 24px;
  }
}

/* ── Breadcrumbs (pdoCrumbs) ── */
.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
/* Разделитель › между элементами */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--tr);
}
.breadcrumb-item a:hover {
  color: var(--white);
}
.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Hero ── */
.hero-swiper {
  width: 100%;
  height: 100vh;
  min-height: 520px;
  margin-top: 100px;
  aspect-ratio: 16/9; /* ← добавить */
  contain: layout style; /* ← добавить */
}
@media (max-width: 991px) {
  .hero-swiper {
    margin-top: 62px;
  }
}
.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}
.hero-swiper .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top; /*center*/
  transition: transform 8s ease;
}
.hero-swiper .swiper-slide-active .slide-bg {
  transform: scale(1.03);
}
.hero-swiper .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8, 22, 70, 0.75) 0%,
    rgba(8, 22, 70, 0.4) 55%,
    rgba(8, 22, 70, 0.06) 100%
  );
}
.hero-swiper .slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px;
}

.hero-swiper .slide-eyebrow {
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s 0.1s, transform 0.6s 0.1s;
}
.hero-swiper .slide-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  max-width: 700px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s 0.25s, transform 0.6s 0.25s;
}
.hero-swiper .slide-desc {
  margin-top: 16px;
  font-size: 1rem;
  color: rgba(215, 230, 255, 0.82);
  max-width: 500px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s;
}
.hero-swiper .slide-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s 0.55s, transform 0.6s 0.55s;
}
.hero-swiper .swiper-slide-active .slide-eyebrow,
.hero-swiper .swiper-slide-active .slide-title,
.hero-swiper .swiper-slide-active .slide-desc,
.hero-swiper .swiper-slide-active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: border-color var(--tr), color var(--tr);
  display: inline-block;
}
.btn-outline:hover {
  border-color: #93c5fd;
  color: #93c5fd;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--white);
  background: var(--accent);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: background var(--tr);
  z-index: 9995;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--accent-hover);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 800;
}
.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scale(1.35);
}

/* ── Stats ── */
.stats-bar {
  background: var(--accent);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
@media (max-width: 767px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .stat-item:nth-child(4) {
    border-right: none;
  }
}

/* ── Sections ── */
section {
  padding-block: 80px;
}
.section-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}
.section-title span {
  color: var(--accent);
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
.section-head {
  margin-bottom: 48px;
}

/* ── Categories ── */
.categories-section {
  background: var(--bg-alt);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1199px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 424px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

.cat-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background var(--tr);
}
.cat-card:hover .cat-icon {
  background: var(--accent);
}
.cat-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.cat-count {
  margin-top: 3px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Products ── */
.products-section {
  background: var(--bg);
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) {
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 424px) {
  .prod-grid {
    grid-template-columns: 1fr;
  }
}

.prod-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.prod-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prod-card:hover .prod-img img {
  transform: scale(1.07);
}
.prod-badge {
  position: absolute;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-popular {
  top: 10px;
  right: 10px;
  background: var(--accent);
}
.badge-sale {
  top: 10px;
  left: 10px;
  background: var(--red);
}

.prod-body {
  padding: 16px;
}
.prod-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
  min-height: 45px;
}
.prod-meta {
  font-size: 0.77rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.prod-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}
.prod-price small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.btn-cart {
  /* background: var(--accent-light); */
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  padding: 8px 13px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0em;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
  white-space: nowrap;
}
.btn-cart:hover {
  background: var(--accent);
  color: var(--white);
}

span.price.no_price {
  font-size: 14px;
  line-height: 1.10;
}
.sale-item span.price {
  color: var(--red);
}

@media (min-width: 992px) and (max-width: 1399px) {
  .prod-price {
    font-size: 0.95rem;
  }
  .price_desc {
    font-size: 0.8rem;
  }
}
@media (min-width: 425px) and (max-width: 991px) {
  .prod-price {
      display: flex;
      flex-direction: column;
  }
  .price_desc {
    font-size: 0.8rem;
  }
}
@media (min-width: 425px) and (max-width: 460px) {
  .prod-price {
    font-size: 0.85rem;
  }
  .btn-cart {
    padding: 8px 5px;
  }
}
/* ══════════════════════════════════════════
     PRODUCT PAGE
  ══════════════════════════════════════════ */
.product-section {
  background: var(--bg);
  padding-block: 52px;
}

/* ── Верхний блок: галерея + покупка ── */
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px; /*1fr 440px*/
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
@media (max-width: 1199px) {
  .product-top {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
  }
}
@media (max-width: 991px) {
  .product-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ── Галерея ── */
.product-gallery {
  position: relative /*sticky*/;
  top: 0px;
}
@media (max-width: 991px) {
  .product-gallery {
    position: static;
  }
}

.gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
  border: 1.5px solid var(--border);
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-main:hover img {
}

.gallery-badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.g-badge {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 5px;
  font-weight: 600;
}
.g-badge--hot {
  background: #ef4444;
  color: var(--white);
}
.g-badge--new {
  background: var(--accent);
  color: var(--white);
}
.g-badge--sale {
  background: #f59e0b;
  color: var(--white);
}
.g-badge--stock {
  background: #22c55e;
  color: var(--white);
}

.gallery-wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: border-color var(--tr), color var(--tr), transform var(--tr);
}
.gallery-wish:hover {
  border-color: #ef4444;
  color: #ef4444;
  transform: scale(1.1);
}
.gallery-wish.active {
  color: #ef4444;
  border-color: #ef4444;
  background: var(--white)1f2;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  max-width: 800px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 72px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--tr), transform var(--tr);
  background: var(--bg-alt);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.gallery-thumb.active {
  border-color: var(--accent);
}

/* ── Панель покупки ── */
.product-buy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-brand {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-brand::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.product-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.rating-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.rating-val {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.rating-count {
  font-size: 0.82rem;
  color: var(--muted);
}
.rating-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

.product-price-block {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1.5px solid var(--border);
}
.product-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.price_from {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1;
}
.price_desc {
  color: var(--red);
}
.product-no_price {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.product-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.product-price-old {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1;
}
.product-price-save {
  font-family: var(--font-head);
  font-size: 0.78rem;
  background: #fef9c3;
  color: #854d0e;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.product-price-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-price-note svg {
  flex-shrink: 0;
  color: #22c55e;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.product-stock--yes {
  background: #dcfce7;
  color: #16a34a;
}
.product-stock--no {
  background: #fee2e2;
  color: #dc2626;
}
.product-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* Характеристики-пилюли */
.product-specs-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
}
.spec-pill svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Цвет / комплектация */
.product-option-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-variants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.product-variant {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--tr), color var(--tr), background var(--tr);
}
.product-variant:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.product-variant.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

/* Кнопки действий */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-buy {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.3);
}
.btn-buy:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(26, 86, 219, 0.38);
}

.btn-cart-full {
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background var(--tr), color var(--tr);
}
.btn-cart-full:hover {
  background: var(--accent-light);
}

.product-actions-row {
  display: flex;
  gap: 10px;
}
.btn-callback-prod {
  flex: 1;
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.btn-callback-prod:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* Гарантии под кнопками */
.product-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}
.guarantee-item svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* ── ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КАРТОЧКИ ТОВАРА ── */

/* 1. Артикул */
.product-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-sku {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}
.product-sku strong {
  color: var(--text);
  font-weight: 600;
}

/* ── СТИЛЬНЫЙ ИНФОРМАЦИОННЫЙ БЛОК (ДИСКЛЕЙМЕР) ── */

.product-disclaimer {
  margin: 0px 0 20px 0;
  padding: 9px;
  background-color: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  line-height: 1.5;
}

.product-disclaimer svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-disclaimer p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text);
  font-weight: 500;
}
@media (max-width: 480px) {
  .product-disclaimer {
    padding: 12px;
    gap: 10px;
  }
  .product-disclaimer p {
    font-size: 0.7rem;
  }
}

/* ── СТИЛЬНЫЙ БЛОК ТЕЛЕФОНА В КАРТОЧКЕ ТОВАРА ── */

.product-phone-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-phone-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.product-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color var(--tr), transform var(--tr);
}

.product-phone-link svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-phone-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.product-phone-link:hover svg {
  transform: scale(1.15) rotate(10deg);
}

.product-phone-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-online-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.phone-online-dot {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* 2. Кнопки мессенджеров в карточке */
.product-actions-row--messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-actions-row--messengers .btn-callback-prod {
  width: 100%;
  flex: none;
}
/* Группа мессенджеров располагается в один ряд */
.messengers-group {
  display: flex;
  gap: 8px;
  width: 100%;
}
.btn-msg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-alt);
  color: var(--text);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 10px 4px;
  text-decoration: none;
  transition: border-color var(--tr), background var(--tr), color var(--tr),
    transform var(--tr);
}

.btn-msg span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.btn-msg svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn-msg:hover {
  transform: translateY(-2px);
}
.btn-msg--wa:hover {
  border-color: #25d366;
  color: #128a43;
  background: #e8f9f0;
}
.btn-msg--tg:hover {
  border-color: #229ed9;
  color: #1278a8;
  background: #e8f5fd;
}
.btn-msg--vb:hover {
  border-color: #7360f2;
  color: #5544c8;
  background: #f3eafd;
}

@media (max-width: 480px) {
  .messengers-group {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-msg {
    flex: 1 1 calc(50% - 5px);
    padding: 12px 8px;
  }

  .btn-msg:nth-child(3) {
    flex: 1 1 100%;
  }
}
@media (max-width: 380px) {
  .messengers-group {
    flex-direction: column;
  }
  .btn-msg {
    flex: none;
    width: 100%;
  }
}

/* ── Нижний блок: вкладки + сайдбар ── */
.product-bottom {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1199px) {
  .product-bottom {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
}
@media (max-width: 991px) {
  .product-bottom {
    grid-template-columns: 1fr;
  }
}

/* ── Tabs ── */
.product-tabs {
}
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--tr), border-color var(--tr);
}
.tab-btn:hover {
  color: var(--accent);
}
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* Описание */
.tab-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.tab-text p:last-child {
  margin-bottom: 0;
}
.tab-text strong {
  color: var(--text);
}

/* Характеристики */
.specs-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border);
}
.specs-row:last-child {
  border-bottom: none;
}
.specs-row:nth-child(even) {
  background: var(--bg-alt);
}
.specs-key {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-right: 1px solid var(--border);
}
.specs-val {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 575px) {
  .specs-row {
    grid-template-columns: 1fr;
  }
  .specs-key {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
  }
  .specs-val {
    padding-top: 6px;
  }
}

/* Отзывы */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.reviews-big-score {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.reviews-big-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-top: 4px;
}
.reviews-big-count {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}
.reviews-bars {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.review-bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.review-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 3px;
}
.review-bar-num {
  width: 14px;
  text-align: right;
  flex-shrink: 0;
}

.review-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  transition: border-color var(--tr);
}
.review-item:hover {
  border-color: var(--accent);
}
.review-item:last-child {
  margin-bottom: 0;
}
.review-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.review-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name-date {
}
.review-uname {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text);
}
.review-udate {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1px;
}
.review-item-stars {
  color: #f59e0b;
  font-size: 0.9rem;
}
.review-item-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 10px;
}

/* ── Сайдбар ── */
.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.psb-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.psb-head {
  padding: 15px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.psb-head svg {
  color: var(--accent);
}
.psb-body {
  padding: 18px;
}

.psb-delivery-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.psb-delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.psb-d-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.psb-d-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.psb-d-text strong {
  color: var(--text);
  display: block;
}

.psb-credit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.psb-credit-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.psb-credit-label {
  color: var(--muted);
}
.psb-credit-val {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-head);
}
.psb-credit-val--accent {
  color: var(--accent);
}

.psb-btn {
  display: block;
  text-align: center;
  width: 100%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 14px;
  transition: background var(--tr), transform var(--tr);
}
.psb-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-color: #dee2e6;
}
td {
  border: 1px solid #ccc;
  padding: 3px 3px;
}
tbody,
td,
tfoot,
th,
thead,
tr {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}
.table-hover > tbody > tr:hover > * {
  background-color: rgba(0, 0, 0, 0.075);
}
.table > :not(caption) > * > * {
  border-bottom-width: 1px;
}

.table > tbody {
  vertical-align: inherit;
}

.table > thead {
  vertical-align: bottom;
}
/* Рамки */
.table-bordered > :not(caption) > * {
  border-width: 1px 0;
}

.table-bordered > :not(caption) > * > * {
  border-width: 0 1px;
}

/* Без рамок */
.table-borderless > :not(caption) > * > * {
  border-bottom-width: 0;
}

.table-borderless > :not(:first-child) {
  border-top-width: 0;
}
/* Адаптивность */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Why Us ── */
.why-section {
  background: var(--bg-alt);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.why-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: background var(--tr);
}
.why-card:hover .why-icon-wrap {
  background: var(--accent);
}
.why-title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.why-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── About ── */
.about-section {
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 767px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.about-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 22px;
  border-radius: 12px;
  line-height: 1.2;
  box-shadow: 0 8px 28px rgba(26, 86, 219, 0.35);
}
@media (max-width: 767px) {
  .about-badge {
    display: none;
  }
}
.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.about-text strong {
  color: var(--text);
}
.check-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  background: var(--accent);
  color: var(--white);
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── Brands ── */
.brands-section {
  background: var(--bg-alt);
  padding-block: 52px;
}
.brands-inner {
  text-align: center;
}
.brands-inner .section-label {
  margin-bottom: 28px;
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 44px;
}
.brand-item {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #b0c4e0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--tr);
  cursor: default;
}
.brand-item:hover {
  color: var(--accent);
}

/* ── Reviews ── */
.reviews-section {
  background: var(--bg);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.65;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.review-name {
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--text);
}
.review-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(120deg, #0e2d85 0%, #1a56db 55%, #3b72f0 100%);
  padding-block: 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
}
.cta-title {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-sub {
  position: relative;
  font-size: 1rem;
  color: rgba(215, 230, 255, 0.88);
  margin-bottom: 38px;
  max-width: 560px;
  margin-inline: auto;
}
.cta-form {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-form input {
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  min-width: 210px;
  outline: none;
  transition: background var(--tr), border-color var(--tr);
}
.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.cta-form input:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
}
.cta-section .form-agree,
.cta-section .form-agree a {
  color: var(--white);
  position: relative;
  z-index: 1;
}
.btn-white {
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.btn-white:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  background: #091a44;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 56px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}
.footer-logo span {
  color: #93c5fd;
}
.footer-brand p {
  color: var(--white);
  font-size: 0.88rem;
  margin-top: 14px;
  line-height: 1.7;
}



.footer-brand-desc {
  color: var(--white);
  font-size: .87rem;
  margin-top: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.fb-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.fb-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
a.fb-contact-item:hover { opacity: .8; }

.fb-contact-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background .2s;
}
a.fb-contact-item:hover .fb-contact-icon {
  background: rgba(255,255,255,.13);
}

.fb-contact-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fb-contact-label {
  font-size: .72rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--font-head);
}
.fb-contact-value {
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Мессенджеры */
.fb-messengers {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
}

.fb-messengers-label {
  display: block;
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.fb-messenger-btns {
  display: flex;
  gap: 8px;
}

.fb-msg-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background .22s, border-color .22s, color .22s, transform .22s;
}
.fb-msg-btn:hover {
  transform: translateY(-2px);
}
.fb-msg-btn--viber:hover {
  background: rgba(115,96,242,.25);
  border-color: #7360f2;
  color: #c4b8ff;
}
.fb-msg-btn--telegram:hover {
  background: rgba(34,158,217,.2);
  border-color: #229ed9;
  color: #93d9f7;
}
.fb-msg-btn--whatsapp:hover {
  background: rgba(37,211,102,.18);
  border-color: #25d366;
  color: #7df7b0;
}



.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.87rem;
  color: var(--white);
  transition: color var(--tr);
}
.footer-links a:hover {
  color: var(--white);
}
.footer-contact p {
  font-size: 0.87rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-medium {
    color: var(--white);
    font-size: 0.88rem;
    margin: 15px 0;
    line-height: 1.7;
}
.footer_text_custom {
    text-align: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--white);
}
.footer-policy  {
  font-size: 0.8rem;
  color: var(--white);
  transition: color var(--tr);
}
.footer-policy a:hover {
  color: var(--white);
}

/* ── Brands Swiper ── */
.brands-section {
  background: var(--bg-alt);
  padding-block: 52px 0;
}
.brands-inner {
  text-align: center;
  margin-bottom: 28px;
}
.brands-swiper {
  padding-bottom: 52px;
  overflow: hidden;
}
.brands-swiper .swiper-wrapper {
  align-items: center;
}
.brand-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
}
.brand-svg {
  width: 140px;
  height: 60px;
  opacity: 0.7;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.brand-slide:hover .brand-svg {
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(26, 86, 219, 0.18));
}

/* ── FAQ two-column ── */
.faq-two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 991px) {
  .faq-two-col {
    grid-template-columns: 1fr;
  }
}

.faq-left {
  position: sticky;
  top: 100px;
}
@media (max-width: 991px) {
  .faq-left {
    position: static;
  }
}

.faq-left-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/4;
  position: relative;
  box-shadow: var(--shadow-md);
}
.faq-left-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.faq-left-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}
.faq-left-cta {
  margin-top: 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.faq-left-cta-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
  font-weight: 600;
}
.faq-ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.faq-ask-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.faq-right {
  /*max-height: 620px;
  overflow-y: auto;*/
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.faq-right::-webkit-scrollbar {
  width: 5px;
}
.faq-right::-webkit-scrollbar-track {
  background: transparent;
}
.faq-right::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
@media (max-width: 991px) {
  .faq-right {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

/* ── FAQ Modal ── */
.faq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 60, 0.52);
  backdrop-filter: blur(5px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.faq-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.faq-modal-box {
  background: var(--white);
  border-radius: 20px;
  padding: 38px 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(26, 86, 219, 0.22);
  position: relative;
  transform: scale(0.93) translateY(18px);
  transition: transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-modal-overlay.open .faq-modal-box {
  transform: scale(1) translateY(0);
}

.faq-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background var(--tr), color var(--tr);
}
.faq-modal-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.faq-modal-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.faq-modal-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.faq-modal-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}
.faq-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-modal-input,
.faq-modal-textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr);
  resize: vertical;
}
.faq-modal-input:focus,
.faq-modal-textarea:focus {
  border-color: var(--accent);
}
.faq-modal-input::placeholder,
.faq-modal-textarea::placeholder {
  color: var(--muted);
}
.faq-modal-btn {
  margin-top: 4px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.faq-modal-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.faq-modal-agree {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.faq-modal-agree a {
  color: var(--accent);
}

/* ── Filter-btn as links ── */
.filter-btn {
  display: inline-block;
}

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 15px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  /* transition: opacity var(--tr), transform var(--tr); */
  z-index: 888;
  font-size: 1.1rem;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-md);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--accent-hover);
}

/* ── Content Section ── */
.content-section {
  background: var(--bg);
  padding-block: 64px;
}
.content-body {
  /*max-width: 780px;*/
}
.content-p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.content-p:last-child {
  margin-bottom: 0;
}

.field2 {
  display: none;
}

/* ── Contacts grid ── */
.contacts-section {
  background: var(--bg);
  padding-block: 64px;
}
.contacts-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 991px) {
  .contacts-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .contacts-top-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--tr);
}
.contact-card:hover .contact-card-icon {
  background: var(--accent);
  color: var(--white);
}
.contact-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.contact-card-body {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}
.contact-card-body strong {
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}
.contact-card-body a {
  color: var(--accent);
  transition: color var(--tr);
}
.contact-card-body a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Messengers row ── */
.messengers-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--tr), background var(--tr), transform var(--tr),
    box-shadow var(--tr);
  text-decoration: none;
}
.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.messenger-btn--wa:hover {
  border-color: #25d366;
  background: #e8f9f0;
  color: #128a43;
}
.messenger-btn--tg:hover {
  border-color: #229ed9;
  background: #e8f5fd;
  color: #1278a8;
}
.messenger-btn--vb:hover {
  border-color: #7360f2;
  background: #f3eafd;
  color: #5544c8;
}
.messenger-btn--ph:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}
.messenger-btn svg {
  flex-shrink: 0;
}

/* ── Map + info block ── */
.contacts-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  display: grid;
  /* grid-template-columns: 1fr 380px; */
  min-height: 550px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 991px) {
  .contacts-map-wrap {
    grid-template-columns: 1fr;
  }
}

.contacts-map-frame {
  position: relative;
  background: var(--bg-alt);
}
.contacts-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}
@media (max-width: 991px) {
  .contacts-map-frame {
    order: 2;
  }
}

.contacts-map-info {
  background: var(--accent);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
@media (max-width: 991px) {
  .contacts-map-info {
    order: 1;
    padding: 32px 24px;
  }
}
.contacts-map-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.contacts-map-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contacts-map-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contacts-map-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contacts-map-text {
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.55;
}
.contacts-map-text strong {
  color: var(--white);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contacts-map-text a {
  color: var(--white);
}


/* ── Work hours table ── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}
.hours-table td {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}
.hours-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}
.hours-dot-open {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  vertical-align: middle;
}
.hours-dot-close {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e7eb;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Callback form ── */
.contacts-cta-section {
  background: var(--bg-alt);
  padding-block: 64px;
}
.contacts-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 767px) {
  .contacts-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.contacts-cta-text .section-label {
  margin-bottom: 16px;
}
.contacts-cta-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 575px) {
  .contacts-cta-form {
    padding: 28px 20px;
  }
}
.contacts-cta-form-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.contacts-cta-form-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.55;
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-input,
.form-select,
.form-textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr);
  background: var(--bg-alt);
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234b5e7a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 479px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-submit {
  margin-top: 6px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background var(--tr), transform var(--tr);
}
.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.form-agree {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.form-agree a {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 32px);
  max-width: 780px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(26, 86, 219, 0.16);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner.hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}
.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}
.cookie-body {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.cookie-text {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--tr);
}
.cookie-text a:hover {
  color: var(--accent-hover);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--tr), transform var(--tr);
}
.cookie-btn-accept:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.cookie-btn-decline {
  background: var(--bg-alt);
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.cookie-btn-decline:hover {
  background: var(--border);
  color: var(--text);
  border-color: var(--muted);
}

@media (max-width: 575px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .cookie-icon {
    display: none;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
  }
}

/* ── Post Section ── */
.post-section {
  background: var(--bg);
  padding-block: 56px;
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
}
@media (max-width: 1199px) {
  .post-layout {
    grid-template-columns: 1fr 260px;
    gap: 36px;
  }
}
@media (max-width: 991px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Обложка ── */
.post-cover {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  margin-bottom: 32px;
  position: relative;
}
.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-cover-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

/* ── Мета ── */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 14px;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
}
.post-meta-item svg {
  flex-shrink: 0;
  color: var(--accent);
}
.post-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
}

/* ── Лид ── */
.post-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0 36px;
}

/* ══════════════════════════════════════════
     POST BODY — типографика для редактора
  ══════════════════════════════════════════ */
.post-body {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.85;
}

.post-body p {
  margin: 0 0 20px;
}
.post-body p:last-child {
  margin-bottom: 0;
}

.post-body strong,
.post-body b {
  color: var(--text);
  font-weight: 700;
}

.post-body h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.post-body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 32px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-body h3::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}
.post-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-body h5 {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.post-body h6 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  margin: 16px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.post-body > h2:first-child,
.post-body > h3:first-child,
.post-body > h4:first-child {
  margin-top: 0;
}

.post-body ul,
.post-body ol {
  margin: 0 0 0 35px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-body a {
  text-decoration: underline;
}
.post-body a:hover {
  color: var(--accent);
}

.post-body ul li,
.post-body ol li {
  /*display: flex;
  align-items: flex-start;
  gap: 10px;*/
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
}
.post-body ul li::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 4px;
}
.post-body ol {
  counter-reset: ol-counter;
}
.post-body ol li::before {
  counter-increment: ol-counter;
  content: counter(ol-counter);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.post-body ul ul,
.post-body ol ol,
.post-body ul ol,
.post-body ol ul {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 30px;
}
.post-body ul ul li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  background-image: none;
  margin-top: 9px;
}

.post-body blockquote {
  margin: 32px 0;
  padding: 22px 24px 22px 22px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.75;
  position: relative;
}
.post-body blockquote::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 18px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
}
.post-body blockquote p {
  margin: 0;
  padding-left: 20px;
}
.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  padding-left: 20px;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}
.post-body blockquote cite::before {
  content: "— ";
}

/* ── Навигация пост ── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 2px solid var(--border);
}
@media (max-width: 575px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
}
.post-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.post-nav-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.post-nav-item--next {
  flex-direction: row-reverse;
  text-align: right;
}
.post-nav-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr), color var(--tr);
}
.post-nav-item:hover .post-nav-icon {
  background: var(--accent);
  color: var(--white);
}
.post-nav-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
}
.post-nav-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.3;
  margin-top: 2px;
}

/* ══════════════════════
     SIDEBAR
  ══════════════════════ */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 112px;
}
@media (max-width: 991px) {
  .post-sidebar {
    position: static;
  }
}

.psb-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.psb-head {
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.psb-head svg {
  color: var(--accent);
}
.psb-body {
  padding: 18px;
}

.psb-cta {
  background: linear-gradient(135deg, #0e2d85, #1a56db);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.psb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
}
.psb-cta-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
}
.psb-cta-text {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  color: rgba(215, 230, 255, 0.85);
  line-height: 1.55;
  margin-bottom: 16px;
}
.psb-cta-btn {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.psb-cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.catalog-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.catalog-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  gap: 8px;
  transition: background var(--tr), color var(--tr);
}
.catalog-links a:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.catalog-links a span {
  line-height: 1.3;
}
.catalog-links a svg {
  flex-shrink: 0;
  color: var(--border);
  transition: color var(--tr);
}
.catalog-links a:hover svg {
  color: var(--accent);
}





.swal2-container {
    z-index: 10000;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 10px);
}
.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 15px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 15px));
}
