/* ==========================================================================
   LUMI BABY - ДЕТСКАЯ ИНТЕРНЕТ-ВИТРИНА (LIGHT THEME)
   Строгое соблюдение Spike Standard:
   - Исключительно светлая палитра
   - Никаких запрещенных шрифтов (Unbounded, JetBrains Mono)
   - Никаких градиентов без запроса
   - Никаких псевдостатусов и мигающих точек
   - Высокий контраст и четкая аффорданс-доступность кнопок
   ========================================================================== */

:root {
  --bg-page: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3F1EC;
  --border-color: #E8E5DF;
  --border-focus: #D5D1C7;
  
  --text-main: #1C1D1F;
  --text-muted: #666970;
  --text-light: #8E929B;
  
  --color-primary: #D95D39; /* Теплый благородный терракот */
  --color-primary-hover: #C54E2C;
  --color-primary-active: #AB3E1F;
  --color-primary-contrast: #FFFFFF;

  --color-wa: #25D366;
  --color-wa-hover: #20BD5A;
  --color-wa-dark: #128C7E;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.07);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   ВЕРХНИЙ ИНФО-БАР
   ========================================================================== */
.top-announcement {
  background-color: #ECE9E2;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-inline {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.announcement-link {
  font-weight: 500;
  color: var(--text-main);
}

.announcement-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ШАПКА (HEADER)
   ========================================================================== */
.header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background-color: #F8ECE7;
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-wa);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-whatsapp-header:hover {
  background-color: var(--color-wa-hover);
}

.btn-whatsapp-header:active {
  transform: scale(0.98);
}

.icon-wa {
  width: 18px;
  height: 18px;
  transform: translateY(-0.5px);
}

/* ==========================================================================
   ГЛАВНЫЙ ЭКРАН (HERO)
   ========================================================================== */
.hero-section {
  padding: 64px 0 56px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.icon-btn {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #E8E5DF;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-feature-item svg {
  width: 18px;
  height: 18px;
  color: #2E8540;
  flex-shrink: 0;
}

.hero-media-wrapper {
  position: relative;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 229, 223, 0.8);
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.badge-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   СЕКЦИИ И ЗАГОЛОВКИ
   ========================================================================== */
section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   БЛОК ПРЕИМУЩЕСТВ
   ========================================================================== */
.section-advantages {
  background-color: #F4F1EA;
  border-radius: 28px;
  padding: 72px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
  border: none;
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 190px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adv-card:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-md);
}

.adv-card:hover .adv-icon {
  transform: scale(1.08);
}

.adv-icon {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 90px;
  height: 90px;
  background-color: #F8ECE7;
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.2s ease;
}

.adv-icon svg {
  width: 32px;
  height: 32px;
  transform: translate(-8px, -8px);
}

.adv-title {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.adv-desc {
  position: relative;
  z-index: 2;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   КАТАЛОГ ТОВАРОВ
   ========================================================================== */
.section-catalog {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   КАТАЛОГ: ДВУХКОЛОНОЧНЫЙ ЛЕЙАУТ С САЙДБАРОМ
   ========================================================================== */
.catalog-list-section {
  padding: 40px 0 72px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: start;
}

/* САЙДБАР */
.catalog-sidebar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-header-mobile {
  display: none;
}

.sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-block:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* СОРТИРОВКА В САЙДБАРЕ */
.sidebar-sort-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sort-option:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  transform: scale(1.01);
}

.sort-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sort-custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #D1CAC3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.sort-custom-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.sort-option input[type="radio"]:checked ~ .sort-custom-radio {
  border-color: var(--color-primary);
}

.sort-option input[type="radio"]:checked ~ .sort-custom-radio::after {
  transform: scale(1);
}

.sort-option input[type="radio"]:checked ~ .sort-option-text {
  font-weight: 600;
  color: var(--text-main);
}

/* КАТЕГОРИИ В САЙДБАРЕ */
.sidebar-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  text-align: left;
}

.sidebar-cat-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  transform: scale(1.015);
}

.sidebar-cat-btn.active {
  background-color: var(--bg-subtle);
  border: none;
  color: var(--text-main);
  font-weight: 700;
}

.sidebar-cat-count {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

.sidebar-cat-btn.active .sidebar-cat-count {
  background-color: var(--text-main);
  color: #FFFFFF;
}

/* КНОПКА СБРОСА */
.sidebar-reset-block {
  padding-top: 4px;
}

.btn-reset-filters {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background-color: #ECE7DF;
  color: var(--text-main);
  transform: scale(1.015);
}

/* ПРАВАЯ ЧАСТЬ КАТАЛОГА */
.catalog-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-content-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.content-header-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.catalog-mobile-bar {
  display: none;
}

/* АДАПТИВНОСТЬ КАТАЛОГА ДЛЯ ПЛАНШЕТОВ И МОБИЛЬНЫХ */
@media (max-width: 860px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

  .btn-toggle-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    background: none;
    cursor: pointer;
  }

  .btn-toggle-filters svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
  }

  /* ВЫЕЗЖАЮЩИЙ САЙДБАР НА МОБИЛЬНЫХ */
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background-color: var(--bg-surface);
    z-index: 1000;
    padding: 24px;
    border-radius: 0 16px 16px 0;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
  }

  .btn-close-sidebar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-subtle);
    color: var(--text-main);
    cursor: pointer;
  }

  .btn-close-sidebar svg {
    width: 20px;
    height: 20px;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* КАРТОЧКА ТОВАРА */
.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.product-media-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  background-color: #EFECE6;
  overflow: hidden;
  cursor: pointer;
}

.product-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-media {
  transform: scale(1.03);
}

.product-badge-video {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(28, 29, 31, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-badge-video svg {
  width: 12px;
  height: 12px;
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 10px;
  cursor: pointer;
}

.product-name:hover {
  color: var(--color-primary);
}

.product-features {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.product-feature-item {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  flex-shrink: 0;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.product-old-price {
  font-size: 15px;
  color: var(--text-light);
  text-decoration: line-through;
}

.btn-order-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: var(--color-wa);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-order-wa:hover {
  background-color: var(--color-wa-hover);
}

.btn-order-wa:active {
  transform: scale(0.98);
}

.btn-order-wa svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   ПАГИНАЦИЯ КАТАЛОГА (ПО 6 ТОВАРОВ)
   ========================================================================== */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 0;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pagination-num {
  padding: 0;
  width: 40px;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.pagination-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.pagination-btn.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  cursor: default;
  font-weight: 700;
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-nav {
  gap: 6px;
  padding: 0 14px;
  font-size: 13px;
}

.pagination-nav svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   СЕКЦИЯ ОТЗЫВОВ
   ========================================================================== */
.section-reviews {
  background-color: var(--bg-page);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.review-author-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #E5A100;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-media-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 200px;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.review-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-badge-screenshot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(28, 29, 31, 0.85);
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
}

/* ==========================================================================
   О МАГАЗИНЕ И КОНТАКТЫ
   ========================================================================== */
.section-about-contacts {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.about-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.about-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-badge-item {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.badge-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.badge-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.contacts-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.contacts-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contacts-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.contact-value.highlight {
  color: var(--color-primary);
}

.btn-whatsapp-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background-color: var(--color-wa);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-whatsapp-large:hover {
  background-color: var(--color-wa-hover);
}

.btn-whatsapp-large:active {
  transform: scale(0.98);
}

/* ==========================================================================
   ФУТЕР
   ========================================================================== */
.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 44px 0 36px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   МОДАЛЬНЫЕ ОКНА
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 29, 31, 0.6);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  z-index: 1;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

.modal.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  cursor: pointer;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 0;
}

.modal-media-container {
  width: 100%;
  max-height: 400px;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-media-container img,
.modal-media-container video {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.modal-info-padding {
  padding: 24px;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* МОДАЛКА МЕДИА ОТЗЫВА */
.modal-dialog-media {
  max-width: 500px;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.modal-body-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
}

/* ==========================================================================
   ПЛАВАЮЩАЯ КНОПКА WHATSAPP (ДЛЯ МОБИЛЬНЫХ)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--color-wa);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp:hover {
  background-color: var(--color-wa-hover);
  transform: scale(1.06);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  transform: translateY(-2px);
}

/* ==========================================================================
   ЗАТЕМНЕНИЕ САЙДБАРА (MOBILE)
   ========================================================================== */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 29, 31, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   НИЖНЯЯ ПАНЕЛЬ НАВИГАЦИИ (MOBILE BOTTOM BAR)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  z-index: 950;
  align-items: center;
  justify-content: space-around;
  padding-left: 8px;
  padding-right: 8px;
  box-shadow: 0 -2px 12px rgba(28, 29, 31, 0.05);
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  min-width: 52px;
  height: 100%;
  transition: color 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-bar-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.bottom-bar-item:hover,
.bottom-bar-item:focus-visible {
  color: var(--text-main);
}

.bottom-bar-item.active {
  color: var(--color-primary);
  font-weight: 600;
}

.bottom-bar-item.active svg {
  color: var(--color-primary);
  stroke-width: 2.3;
}

.bottom-bar-item.item-wa {
  color: var(--color-wa);
  position: relative;
}

.bottom-wa-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-wa);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
  margin-bottom: -1px;
}

.bottom-wa-icon svg {
  width: 20px;
  height: 20px;
  transform: translateY(-1px);
}

.bottom-bar-item.item-wa:hover .bottom-wa-icon {
  transform: scale(1.06);
  background-color: var(--color-wa-hover);
}

.bottom-bar-item.item-wa:active .bottom-wa-icon {
  transform: scale(0.94);
}

.bottom-bar-item.item-wa span {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-wa);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   ОТДЕЛЬНЫЕ СТРАНИЦЫ (КАТАЛОГ / ОТЗЫВЫ)
   ========================================================================== */
.page-title-section {
  padding: 48px 0 24px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header-content {
  max-width: 720px;
  margin: 0 auto 32px;
}

.page-main-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.page-main-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

.catalog-list-section,
.reviews-list-section {
  padding: 48px 0 64px;
  background-color: var(--bg-page);
}

.section-center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.consultation-banner-section {
  padding: 0 0 64px;
  background-color: var(--bg-page);
}

.consultation-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.consultation-info {
  max-width: 600px;
}

.consultation-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.consultation-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* СТРАНИЦА О НАС */
.section-about-story {
  padding: 48px 0;
  background-color: var(--bg-page);
}

.about-story-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  box-shadow: var(--shadow-sm);
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-badges-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

/* СТРАНИЦА КОНТАКТОВ */
.contacts-grid-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
}

.contact-details-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-faq-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   СОСТОЯНИЕ ЗАГРУЗКИ
   ========================================================================== */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   АДАПТИВНОСТЬ (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 34px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-contacts-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none; /* Упрощенное мобильное отображение */
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-bar {
    display: flex !important;
  }

  .floating-whatsapp {
    display: none !important;
  }

  .header-inner {
    height: 60px;
  }

  .logo-title {
    font-size: 18px;
  }

  .logo-subtitle {
    font-size: 11px;
  }

  .btn-whatsapp-header {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .mobile-bottom-bar {
    display: flex !important;
  }

  .floating-whatsapp {
    display: none !important;
  }

  .logo-subtitle {
    display: none;
  }

  .btn-whatsapp-header span {
    display: none;
  }

  .btn-whatsapp-header {
    width: 38px;
    height: 38px;
    padding: 0;
    gap: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .btn-whatsapp-header .icon-wa {
    width: 18px;
    height: 18px;
    margin: 0;
    transform: translateY(-1px);
  }

  .hero-section {
    padding: 40px 0 36px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-img {
    height: 260px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .contacts-card {
    padding: 24px 20px;
  }

  .about-badges {
    grid-template-columns: 1fr;
  }

  .top-announcement {
    display: none;
  }

  .catalog-mobile-bar {
    padding: 10px 14px;
    gap: 12px;
  }

  .btn-toggle-filters {
    font-size: 13px;
  }

  .catalog-results-count {
    font-size: 13px;
  }

  .catalog-pagination {
    gap: 6px;
    margin-top: 36px;
    padding-top: 0;
  }

  .pagination-btn {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .pagination-num {
    width: 38px;
  }

  .pagination-nav {
    padding: 0 10px;
    font-size: 12px;
  }

  .about-story-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 24px;
  }

  .contacts-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-details-box,
  .contact-faq-box {
    padding: 28px 20px;
  }

  .consultation-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 20px;
  }

  .consultation-title {
    font-size: 19px;
  }

  .consultation-box .btn-whatsapp-header {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 12px 20px;
  }

  .consultation-box .btn-whatsapp-header span {
    display: inline;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-right {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-media-wrapper {
    height: 220px;
  }

  .modal-dialog {
    width: 94%;
    margin: 12px auto;
  }

  .modal-info-padding {
    padding: 18px;
  }
}
