/* ═══════════════════════════════════════════════════════
   TECHNOMANIA — RETAIL EDITION
   Плотный современный e-commerce. Красно-чёрный фирменный.
   ═══════════════════════════════════════════════════════ */

:root {
  /* ───── ПАЛИТРА ───── */
  --red:        #E30613;
  --red-dark:   #B30410;
  --red-light:  #FFF0F1;
  --red-soft:   #FFE5E7;
  --red-deep:   #8B040C;

  --black:      #0E0E10;
  --ink:        #1A1B1F;
  --ink-2:      #2E3035;
  --text:       #15161A;
  --text-2:     #45474D;
  --text-3:     #6B6E76;
  --muted:      #9296A0;

  --gray-50:    #FAFBFC;
  --gray-100:   #F4F5F7;
  --gray-150:   #EBECEF;
  --gray-200:   #E0E2E6;
  --gray-300:   #C9CCD2;

  --white:      #FFFFFF;
  --bg:         #FFFFFF;
  --surface:    #F4F5F7;

  --yellow:     #FFC107;  /* для акций "Хит" */
  --green:      #1FA257;  /* для "в наличии" */

  /* ───── ТЕНИ ───── */
  --shadow-xs:  0 1px 2px rgba(14, 14, 16, 0.04);
  --shadow-sm:  0 2px 8px rgba(14, 14, 16, 0.06);
  --shadow-md:  0 4px 16px rgba(14, 14, 16, 0.08);
  --shadow-lg:  0 12px 32px rgba(14, 14, 16, 0.10);
  --shadow-red: 0 4px 14px rgba(227, 6, 19, 0.25);

  /* ───── РАЗМЕРЫ ───── */
  --container: 1440px;
  --gutter: 24px;
  --header-h: 64px;
  --header-mid-h: 72px;

  /* ───── РАДИУСЫ ───── */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-pill: 999px;

  /* ───── АНИМАЦИИ ───── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--red); color: var(--white); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ───── REVEAL ───── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   TOPBAR (тонкая чёрная полоса)
   ═══════════════════════════════════════════════════════ */
.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  gap: 24px;
}
.topbar a {
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover { color: var(--white); }
.topbar-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
}
.topbar-city svg { color: var(--red); }

/* ═══════════════════════════════════════════════════════
   ШАПКА — главный ряд (лого, поиск, телефон, корзина)
   ═══════════════════════════════════════════════════════ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-150);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--t-base);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-main {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── Логотип ─── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--red);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  transition: transform var(--t-base);
}
/* hover-эффект отключён — был для текстового лого */
.logo-text-accent { color: var(--red); }

/* ─── Кнопка каталога ─── */
.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--t-base);
  box-shadow: var(--shadow-red);
}
.catalog-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.catalog-btn-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.catalog-btn-bars span {
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all var(--t-base);
}
.catalog-btn.active .catalog-btn-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.catalog-btn.active .catalog-btn-bars span:nth-child(2) { opacity: 0; }
.catalog-btn.active .catalog-btn-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ─── Поиск ─── */
.search {
  position: relative;
  display: flex;
}
.search input {
  width: 100%;
  padding: 12px 56px 12px 20px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  transition: all var(--t-fast);
}
.search input::placeholder { color: var(--text-3); }
.search input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--red);
}
.search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.search button:hover { background: var(--red-dark); }

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-150);
  max-height: 440px;
  overflow-y: auto;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
  padding: 6px;
}
.search-results.active { opacity: 1; pointer-events: auto; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.search-result-item:hover { background: var(--gray-100); }
.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  padding: 4px;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-price {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

/* ─── Иконки справа (избранное / корзина) ─── */
.header-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  padding: 4px 8px;
  position: relative;
  transition: color var(--t-fast);
  min-width: 56px;
}
.header-action:hover { color: var(--red); }
.header-action-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  transition: all var(--t-fast);
}
.header-action:hover .header-action-icon {
  background: var(--red-light);
  color: var(--red);
  transform: translateY(-1px);
}
.header-action.cart-btn .header-action-icon {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.header-action.cart-btn:hover .header-action-icon {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.header-action.cart-btn { color: var(--text); }
.header-action.cart-btn:hover { color: var(--red); }
.header-action .badge-count {
  position: absolute;
  top: -2px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--t-base);
}
.header-action .badge-count.visible { opacity: 1; transform: scale(1); }

/* ─── Телефон с анимацией звонка ─── */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--t-fast);
}
.phone-icon-ring {
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  animation: phone-pulse 2.4s ease-in-out infinite;
}
.phone-icon-ring svg {
  animation: phone-shake 2.4s ease-in-out infinite;
  transform-origin: center;
}
/* Пульсирующие "волны" звонка */
.phone-icon-ring::before,
.phone-icon-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: phone-wave 2.4s ease-out infinite;
}
.phone-icon-ring::after {
  animation-delay: 0.6s;
}

@keyframes phone-pulse {
  0%, 50%, 100% { transform: scale(1); box-shadow: var(--shadow-red); }
  10%, 30% { transform: scale(1.06); box-shadow: 0 4px 18px rgba(227, 6, 19, 0.45); }
  20% { transform: scale(1.04); }
}
@keyframes phone-shake {
  0%, 40%, 100% { transform: rotate(0deg); }
  5%, 15%, 25%, 35% { transform: rotate(-14deg); }
  10%, 20%, 30% { transform: rotate(14deg); }
}
@keyframes phone-wave {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.phone-info {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.phone-number {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}
.phone-link:hover .phone-number { color: var(--red); }
.phone-hours {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   CATALOG DROPDOWN
   ═══════════════════════════════════════════════════════ */
.catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-150);
  box-shadow: var(--shadow-lg);
  padding: 28px 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-base);
  z-index: 50;
}
.catalog-dropdown.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.catalog-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.catalog-item:hover {
  background: var(--red-light);
  color: var(--red);
}
.catalog-icon {
  font-size: 26px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.catalog-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.catalog-name { font-weight: 500; font-size: 14.5px; }

.catalog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 16, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  z-index: 40;
}
.catalog-overlay.active { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════
   ПОЛОСА КАТЕГОРИЙ ПОД ШАПКОЙ
   ═══════════════════════════════════════════════════════ */
.cats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-150);
  overflow: hidden;
}
.cats-strip-inner {
  display: flex;
  gap: 4px;
  padding: 10px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-strip-inner::-webkit-scrollbar { display: none; }
.cats-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.cats-strip-item:hover {
  background: var(--red-light);
  color: var(--red);
}
.cats-strip-icon {
  font-size: 18px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cats-strip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   HERO — основной баннер + 2 справа (ЧИСТЫЕ КАРТИНКИ)
   ═══════════════════════════════════════════════════════ */
.hero-section {
  padding: 16px 0;
  background: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero-main {
  display: block;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  width: 100%;
}
.hero-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.hero-side-item {
  display: block;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  width: 100%;
}
.hero-side-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
}

/* ═══════════════════════════════════════════════════════
   SECTION / SECTION HEADER
   ═══════════════════════════════════════════════════════ */
.section { padding: 40px 0; }
.section-tight { padding: 28px 0; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-title-badge {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.section-link:hover { color: var(--red); gap: 8px; }

/* ═══════════════════════════════════════════════════════
   АКЦИЯ "ТОЛЬКО СЕГОДНЯ" — красная панель
   ═══════════════════════════════════════════════════════ */
.deal-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin: 16px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.deal-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.deal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.deal-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.deal-title-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--red);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}
.deal-title h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.deal-title p {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}
.deal-timer {
  display: inline-flex;
  gap: 8px;
  font-family: 'Inter', monospace;
}
.deal-timer-unit {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 18px;
  min-width: 48px;
  text-align: center;
}
.deal-timer-unit small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   ТОВАРНАЯ СЕТКА — карточки магазина техники
   ═══════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  height: 100%;
}
.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 28px rgba(14, 14, 16, 0.08), 0 0 0 1px var(--red);
  transform: translateY(-2px);
  z-index: 2;
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--r-md);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t-base);
  padding: 12px;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-badges {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-sale {
  background: var(--red);
  color: var(--white);
}
.badge-new {
  background: var(--black);
  color: var(--white);
}
.badge-hit {
  background: var(--yellow);
  color: var(--black);
}

.product-fav {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all var(--t-fast);
  z-index: 2;
}
.product-fav:hover { background: var(--red-light); color: var(--red); }
.product-fav.active { color: var(--red); background: var(--red-light); }

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.product-brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.product-card:hover .product-name { color: var(--red); }

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-3);
}
.product-rating-stars { color: var(--yellow); letter-spacing: 1px; font-size: 13px; }

.product-price-block {
  margin-top: auto;
  padding-top: 8px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.product-old-price {
  font-size: 12.5px;
  color: var(--text-3);
  text-decoration: line-through;
}
.product-installment {
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 4px;
}
.product-installment strong {
  color: var(--red);
  font-weight: 700;
}

.product-cart-btn {
  margin-top: 10px;
  padding: 10px;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--t-fast);
}
.product-cart-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.product-cart-btn.added {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ═══════════════════════════════════════════════════════
   КАТЕГОРИИ-ПЛИТКИ
   ═══════════════════════════════════════════════════════ */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.category-tile {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-lg);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 150px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.category-tile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width var(--t-base) var(--ease);
}
.category-tile:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.12);
}
.category-tile:hover::after { width: 100%; }
.category-tile-visual {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
  transition: all var(--t-base);
}
.category-tile:hover .category-tile-visual {
  background: var(--red-light);
  transform: scale(1.06);
}
.category-tile-visual img {
  width: 100%; height: 100%; object-fit: contain;
}
.category-tile-name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.category-tile:hover .category-tile-name { color: var(--red); }

/* ═══════════════════════════════════════════════════════
   БРЕНДЫ — карусель с автопрокруткой
   ═══════════════════════════════════════════════════════ */
.brands-marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.brands-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: brands-scroll 40s linear infinite;
}
.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand-item {
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-150);
  border-radius: var(--r-md);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: all var(--t-fast);
  min-width: 160px;
  min-height: 64px;
  position: relative;
  overflow: hidden;
}
.brand-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateY(100%);
  transition: transform var(--t-base);
  z-index: 0;
}
.brand-item:hover::before {
  transform: translateY(0);
}
.brand-item:hover {
  color: var(--white);
  border-color: var(--red);
}
.brand-item > * {
  position: relative;
  z-index: 1;
}
/* Текст бренда тоже над оверлеем */
.brand-item {
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   ПОЛОСА ПРЕИМУЩЕСТВ
   ═══════════════════════════════════════════════════════ */
.benefits-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-150);
  border-bottom: 1px solid var(--gray-150);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter);
}
.benefit-item-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-right: 1px solid var(--gray-200);
}
.benefit-item-strip:last-child { border-right: none; }
.benefit-strip-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--red);
  flex-shrink: 0;
}
.benefit-strip-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.benefit-strip-text small {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   ПОДПИСКА
   ═══════════════════════════════════════════════════════ */
.subscribe-section {
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.subscribe-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.subscribe-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  max-width: 480px;
}
.subscribe-form {
  display: flex;
  gap: 8px;
}
.subscribe-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--white);
  transition: all var(--t-fast);
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.subscribe-form input:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, 0.12); }
.subscribe-form button {
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.subscribe-form button:hover { background: var(--red-dark); }

/* ═══════════════════════════════════════════════════════
   КНОПКИ
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--t-base);
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--gray-200);
}
.btn-ghost:hover { border-color: var(--text); background: var(--gray-100); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--ink-2); }
.btn-wa {
  background: #25D366;
  color: var(--white);
}
.btn-wa:hover { background: #1FB855; }
.btn-large { padding: 16px 28px; font-size: 15px; }
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════
   КАТАЛОГ — фильтры и сортировка
   ═══════════════════════════════════════════════════════ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 0 8px;
  font-size: 12.5px;
  color: var(--text-3);
}
.breadcrumbs a { transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--red); }

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.catalog-header h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.catalog-count {
  font-size: 14px;
  color: var(--text-3);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding-bottom: 60px;
}

.filters-mobile-toggle { display: none; }
.filters {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-lg);
  padding: 4px 12px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + var(--header-mid-h) + 12px);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.filters::-webkit-scrollbar { width: 4px; }
.filters::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }

.filter-block {
  border-bottom: 1px solid var(--gray-150);
}
.filter-block:last-of-type { border-bottom: none; }
.filter-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: color var(--t-fast);
}
.filter-head:hover { color: var(--red); }
.filter-head em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-3);
  font-size: 12px;
  margin-left: 4px;
}
.filter-chevron {
  color: var(--text-3);
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.filter-block.open .filter-chevron { transform: rotate(180deg); }
.filter-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-body > div {
  overflow: hidden;
  min-height: 0;
}
.filter-block.open .filter-body {
  grid-template-rows: 1fr;
}
.filter-block.open .filter-body > div {
  padding: 0 4px 14px;
}

.filter-search {
  width: 100%;
  padding: 8px 12px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-family: inherit;
  margin-bottom: 10px;
}
.filter-search:focus { outline: none; background: var(--white); border-color: var(--red); }

.filter-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.price-input {
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 0 10px;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}
.price-input:focus-within { background: var(--white); border-color: var(--red); }
.price-input label {
  color: var(--text-3);
  font-size: 12px;
  flex-shrink: 0;
}
.price-input input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  background: transparent;
  border: none;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
}
.price-input input:focus { outline: none; }
.price-input input::placeholder { color: var(--muted); font-weight: 400; }
.price-input input::-webkit-outer-spin-button,
.price-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-input input[type=number] { -moz-appearance: textfield; }

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 260px;
  overflow-y: auto;
}
.filter-options::-webkit-scrollbar { width: 3px; }
.filter-options::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 4px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.filter-option:hover { background: var(--gray-100); }
.filter-option input { display: none; }
.filter-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: 5px;
  flex-shrink: 0;
  transition: all var(--t-fast);
  position: relative;
  background: var(--white);
}
.filter-option input:checked + .filter-checkbox {
  background: var(--red);
  border-color: var(--red);
}
.filter-option input:checked + .filter-checkbox::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.filter-label-text { flex: 1; }
.filter-count {
  color: var(--text-3);
  font-size: 11px;
  background: var(--gray-100);
  padding: 1px 7px;
  border-radius: var(--r-pill);
}
.filter-option input:checked ~ .filter-label-text { font-weight: 600; }

.filters-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--gray-150);
  margin-top: 4px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-md);
}
.sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort label { color: var(--text-3); font-size: 13px; }
.sort select {
  padding: 6px 26px 6px 12px;
  background: var(--gray-100) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3e%3cpath d='M1 1l4 4 4-4' stroke='%2315161A' fill='none' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e") no-repeat right 10px center;
  border: none;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.catalog-grid { grid-template-columns: repeat(4, 1fr); }

.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--text-3); margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════
   СТРАНИЦА ТОВАРА
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   СТРАНИЦА ТОВАРА — десктоп
   ═══════════════════════════════════════════════════════ */
.product-main { padding-bottom: 32px; }

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  padding: 12px 0 32px;
  align-items: start;
}

/* ─── Галерея (адаптивная — сама перестраивается на мобильных) ─── */
.product-gallery {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + var(--header-mid-h, 0) + 20px);
  max-width: 100%;
  min-width: 0;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.gallery-thumb {
  width: 88px;
  height: 88px;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  background: var(--gray-100);
  padding: 8px;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover { border-color: var(--gray-300); }
.gallery-thumb.active { border-color: var(--red); }
.gallery-main {
  background: var(--gray-100);
  border-radius: var(--r-lg);
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery-discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
}

/* ─── Инфо ─── */
.product-info-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.product-info-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.product-info-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-150);
}
.product-status.in-stock {
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-status.in-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.product-status.out-stock { color: var(--text-3); }
.product-views { color: var(--text-3); }

/* ─── Блок покупки ─── */
.product-buy-block { margin-bottom: 24px; }
.product-info-price {
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.price-main {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}
.price-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.price-old {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: line-through;
}
.price-save {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-info-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

/* ─── Преимущества ─── */
.product-info-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-150);
}
.benefit-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast);
}
.benefit-item:hover { border-color: var(--red); }
.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
  border: 1px solid var(--gray-150);
}
.benefit-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}
.benefit-text small {
  display: block;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ─── Описание и характеристики ─── */
.product-tabs {
  padding: 32px 0 0;
  border-top: 1px solid var(--gray-150);
  margin-top: 32px;
}
.tab-section { margin-bottom: 36px; }
.tab-section:last-child { margin-bottom: 0; }
.tab-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.tab-section p {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 15px;
  max-width: 880px;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-150);
}
.spec-name { color: var(--text-3); white-space: nowrap; font-size: 13px; }
.spec-dots { flex: 1; border-bottom: 1px dotted var(--gray-300); height: 1px; }
.spec-value { font-weight: 600; white-space: nowrap; font-size: 13px; }

/* ═══════════════════════════════════════════════════════
   КОРЗИНА (БОКОВАЯ)
   ═══════════════════════════════════════════════════════ */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-base);
  box-shadow: -16px 0 48px rgba(14, 14, 16, 0.12);
}
.cart-sidebar.active { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-150);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 20px; font-weight: 800; }
.cart-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.cart-close:hover { background: var(--red); color: var(--white); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.cart-empty p { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cart-empty span { font-size: 13px; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-150);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 72px; height: 72px;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  padding: 6px;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { min-width: 0; display: flex; flex-direction: column; }
.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}
.qty-btn {
  width: 26px; height: 26px;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.qty-btn:hover { background: var(--red); color: var(--white); }
.qty-val { min-width: 26px; text-align: center; font-weight: 700; font-size: 13px; }
.cart-item-remove {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-3);
  transition: all var(--t-fast);
}
.cart-item-remove:hover { color: var(--red); background: var(--red-light); }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-150);
  background: var(--gray-50);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.cart-total span { color: var(--text-3); font-size: 14px; }
.cart-total strong { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.btn-checkout {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--t-base);
  margin-bottom: 8px;
}
.btn-checkout:hover { background: #1FB855; }
.btn-clear {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-3);
  font-size: 12.5px;
  transition: color var(--t-fast);
}
.btn-clear:hover { color: var(--red); }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 16, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  z-index: 150;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-desc {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 13px;
  transition: all var(--t-fast);
}
.footer-wa:hover { background: #1FB855; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul a {
  font-size: 13.5px;
  transition: color var(--t-fast);
}
.footer-col ul a:hover { color: var(--white); }
.footer-phone {
  display: block;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}
.footer-phone:hover { color: var(--red); }
.footer-schedule { font-size: 13px; margin-bottom: 8px; }
.footer-address { font-size: 13px; line-height: 1.55; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.payments { display: flex; gap: 10px; }
.payments span {
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════ */
.page-404 { text-align: center; padding: 80px 20px; }
.page-404-num {
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.06em;
  margin-bottom: 12px;
}
.page-404 h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.page-404 p { color: var(--text-2); margin-bottom: 28px; font-size: 15px; }

/* ═══════════════════════════════════════════════════════
   АДАПТИВ — точная адаптация под все экраны
   Брейкпоинты:
   • 1441+ — десктоп
   • 1281-1440 — узкий десктоп
   • 1025-1280 — большой планшет / маленький десктоп
   • 769-1024  — планшет
   • 481-768   — большой смартфон
   • 361-480   — обычный смартфон
   • 320-360   — маленький смартфон
   ═══════════════════════════════════════════════════════ */

/* ════ 1281–1440px : узкий десктоп ════ */
@media (max-width: 1440px) {
  :root { --gutter: 20px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ════ 1025–1280px : большой планшет / маленький десктоп ════ */
@media (max-width: 1280px) {
  .header-main { gap: 12px; }
  .phone-info { display: none; }
  .phone-icon-ring { width: 38px; height: 38px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .category-tiles { grid-template-columns: repeat(4, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-top > :last-child { display: none; }
}

/* ════ 769–1024px : планшет (вертикальный + горизонтальный) ════ */
@media (max-width: 1024px) {
  /* Шапка: убираем лишние ссылки */
  .topbar-left a, .topbar-right a:nth-child(n+3) { display: none; }
  .topbar-left .topbar-city { display: inline-flex; }

  .header-main {
    grid-template-columns: auto auto 1fr auto auto;
    gap: 10px;
  }
  .phone-link { display: none; }
  .header-action span:not(.header-action-icon):not(.badge-count) { display: none; }
  .header-action { min-width: auto; }

  /* Полоса категорий — компактнее */
  .cats-strip-inner { gap: 2px; padding: 8px var(--gutter); }
  .cats-strip-item { padding: 7px 12px; font-size: 12.5px; }

  /* Hero: основной баннер на всю ширину, маленькие — снизу в 2 ряда */
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 10px; }
  

  /* Секции уменьшаем */
  .section { padding: 32px 0; }
  .section-title { font-size: 22px; }

  /* Акция "Только сегодня" */
  .deal-section { padding: 22px; }
  .deal-header { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Товары: 3 в ряд */
  .products-grid, .products-grid-4 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }

  /* Бренды-карусель */
  .brand-item { padding: 14px 24px; font-size: 14px; min-width: 140px; min-height: 56px; }

  /* Преимущества: 2 в ряд */
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px var(--gutter); }
  .benefit-item-strip { padding: 0 12px; }
  .benefit-item-strip:nth-child(2n) { border-right: none; }

  /* Подписка */
  .subscribe-section { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .subscribe-section h2 { font-size: 24px; }

  /* Каталог */
  .catalog-layout { grid-template-columns: 220px 1fr; gap: 18px; }

  /* Товар */
  .product-page { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-top > :last-child { display: block; }
}

/* ════ 481–768px : большой смартфон (включая лэндскейп) ════ */
@media (max-width: 768px) {
  :root {
    --gutter: 12px;
    --header-h: auto;
  }

  /* Topbar полностью убираем */
  .topbar { display: none; }

  /* ШАПКА ─ перестраиваем на 2 ряда */
  .header-main {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 8px;
    padding: 10px var(--gutter);
    align-items: center;
  }
  /* ряд 1: лого ─ ─ избранное корзина */
  .logo            { grid-row: 1; grid-column: 1; }
  .header-action[aria-label="Избранное"] { grid-row: 1; grid-column: 3; }
  .header-action.cart-btn                { grid-row: 1; grid-column: 4; }
  /* ряд 2: каталог поиск (полная ширина) */
  .catalog-btn { grid-row: 2; grid-column: 1; }
  .search      { grid-row: 2; grid-column: 2 / -1; }
  .phone-link  { display: none; }

  .logo { font-size: 16px; gap: 6px; }
  .logo-mark { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }
  .catalog-btn {
    padding: 0;
    width: 42px;
    height: 42px;
    justify-content: center;
  }
  .catalog-btn span:last-child { display: none; }
  .search input { padding: 11px 46px 11px 16px; font-size: 14px; }
  .search button { width: 36px; height: 36px; right: 4px; }

  .header-action {
    min-width: auto;
    padding: 0;
  }
  .header-action span:not(.header-action-icon):not(.badge-count) { display: none; }
  .header-action-icon { width: 38px; height: 38px; }
  .header-action-icon svg { width: 18px; height: 18px; }

  /* Полоса категорий — компактнее, скроллится */
  .cats-strip-inner { padding: 8px var(--gutter); gap: 3px; }
  .cats-strip-item { padding: 7px 12px; font-size: 12.5px; gap: 6px; }
  .cats-strip-icon { font-size: 16px; }

  /* Каталог dropdown — на весь экран */
  .catalog-dropdown { padding: 16px 0; max-height: 80vh; overflow-y: auto; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 2px; padding: 0 var(--gutter); }
  .catalog-item { padding: 10px 12px; gap: 10px; }
  .catalog-icon { font-size: 22px; width: 28px; }
  .catalog-name { font-size: 13.5px; }

  /* HERO ─ всё в столбик */
  .hero-section { padding: 12px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-main { border-radius: var(--r-lg); }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-side-item { border-radius: var(--r-lg); }

  /* СЕКЦИИ */
  .section { padding: 24px 0; }
  .section-tight { padding: 16px 0; }
  .section-header {
    margin-bottom: 14px;
    flex-direction: row;
    align-items: center;
  }
  .section-title { font-size: 19px; gap: 8px; }
  .section-title-badge { font-size: 9px; padding: 3px 7px; }
  .section-link { font-size: 12.5px; }
  .section-link svg, .section-link::after { display: none; }

  /* АКЦИЯ */
  .deal-section { padding: 18px 14px; border-radius: var(--r-lg); margin: 12px 0; }
  .deal-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .deal-title { gap: 10px; }
  .deal-title-icon { width: 36px; height: 36px; font-size: 18px; }
  .deal-title h2 { font-size: 17px; }
  .deal-title p { font-size: 12px; }
  .deal-timer { gap: 5px; flex-wrap: wrap; }
  .deal-timer-unit { padding: 5px 8px; font-size: 14px; min-width: 36px; }
  .deal-timer-unit small { font-size: 8px; }

  /* ТОВАРЫ ─ 2 в ряд */
  .products-grid,
  .products-grid-4,
  .products-grid-3,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .product-card { padding: 8px; border-radius: var(--r-md); }
  .product-card-img {
    aspect-ratio: 4 / 3 !important;
    margin-bottom: 6px;
    max-height: 140px;
  }
  .product-card-img img {
    padding: 4px;
    object-fit: contain;
  }
  .product-badges { top: 4px; left: 4px; gap: 3px; }
  .badge { font-size: 9px; padding: 2px 5px; }
  .product-fav { top: 4px; right: 4px; width: 24px; height: 24px; }
  .product-fav svg { width: 12px; height: 12px; }
  .product-brand { font-size: 9px; letter-spacing: 0.04em; }
  .product-name { font-size: 12px; min-height: 32px; line-height: 1.3; }
  .product-rating { font-size: 10.5px; gap: 4px; }
  .product-rating-stars { font-size: 11px; letter-spacing: 0; }
  .product-price { font-size: 15px; }
  .product-old-price { font-size: 11px; }
  .product-cart-btn { padding: 7px; font-size: 11.5px; margin-top: 6px; gap: 4px; }
  .product-cart-btn svg { width: 13px; height: 13px; }

  /* КАТЕГОРИИ-ПЛИТКИ ─ 2 в ряд */
  .category-tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-tile { padding: 14px 10px; min-height: 120px; }
  .category-tile-visual { width: 48px; height: 48px; font-size: 22px; }
  .category-tile-name { font-size: 12.5px; }

  /* БРЕНДЫ — карусель компактнее */
  .brand-item { padding: 12px 20px; font-size: 13px; min-width: 120px; min-height: 50px; }
  .brands-track { gap: 8px; animation-duration: 28s; }

  /* ПРЕИМУЩЕСТВА ─ в столбик */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px var(--gutter);
  }
  .benefit-item-strip {
    padding: 0 0 12px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .benefit-item-strip:last-child { border-bottom: none; padding-bottom: 0; }
  .benefit-strip-icon { width: 38px; height: 38px; font-size: 18px; }
  .benefit-strip-text strong { font-size: 13px; }
  .benefit-strip-text small { font-size: 11.5px; }

  /* ПОДПИСКА */
  .subscribe-section {
    padding: 20px 16px;
    margin: 24px 0;
    border-radius: var(--r-lg);
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .subscribe-section h2 { font-size: 19px; margin-bottom: 6px; }
  .subscribe-section p { font-size: 13px; }
  .subscribe-form { flex-direction: column; gap: 6px; }
  .subscribe-form input { padding: 12px 14px; font-size: 13px; width: 100%; }
  .subscribe-form button { padding: 12px; width: 100%; }

  /* КАТАЛОГ ─ фильтры в шторку */
  .breadcrumbs { padding: 12px 0 6px; font-size: 11.5px; flex-wrap: wrap; }
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
  }
  .catalog-header h1 { font-size: 22px; }
  .catalog-count { font-size: 12.5px; }
  .catalog-layout { grid-template-columns: 1fr !important; gap: 12px; }

  .filters {
    position: static;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    margin: 0;
    transition: max-height 0.3s var(--ease);
  }
  .filters.open {
    max-height: 2400px;
    padding: 6px 14px;
    border: 1px solid var(--gray-150);
    margin-bottom: 12px;
    overflow: visible;
  }
  .filters-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--red);
    color: var(--white);
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 12px;
    width: 100%;
    box-shadow: var(--shadow-red);
  }
  .filter-head { padding: 12px 4px; font-size: 13.5px; }
  .filter-option { font-size: 13px; padding: 7px 4px; }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }
  .sort { width: 100%; justify-content: space-between; }
  .sort label { font-size: 12.5px; }
  .sort select { font-size: 12.5px; padding: 6px 24px 6px 10px; }

  /* FOOTER */
  .footer { padding: 32px 0 16px; margin-top: 24px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
  .footer-col h4 { font-size: 14px; margin-bottom: 12px; }
  .footer-col ul a { font-size: 13px; }
  .footer-phone { font-size: 19px; }
  .footer-schedule, .footer-address { font-size: 12.5px; }
  .footer-desc { font-size: 12.5px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .payments { flex-wrap: wrap; justify-content: center; }

  /* КОРЗИНА (БОКОВАЯ) */
  .cart-sidebar { width: 100vw; }
  .cart-header { padding: 16px; }
  .cart-header h3 { font-size: 18px; }
  .cart-body { padding: 6px 16px; }
  .cart-footer { padding: 16px; }
  .cart-item { grid-template-columns: 56px 1fr auto; gap: 10px; padding: 12px 0; }
  .cart-item-img { width: 56px; height: 56px; padding: 5px; }
  .cart-item-name { font-size: 12.5px; }
  .cart-item-price { font-size: 14px; }
  .qty-btn { width: 24px; height: 24px; font-size: 12px; }
  .cart-total strong { font-size: 20px; }

  /* 404 */
  .page-404 { padding: 40px 16px; }
}

/* ════ 481-639px : смартфон лэндскейп и большой портрет ════ */
@media (max-width: 639px) {
  
  
}

/* ════ 361–480px : обычный смартфон портрет ════ */
@media (max-width: 480px) {
  :root { --gutter: 10px; }

  /* Шапка ещё компактнее */
  .header-main {
    column-gap: 6px;
    padding: 8px var(--gutter);
  }
  .logo { font-size: 15px; }
  .logo-mark { width: 28px; height: 28px; font-size: 15px; }
  .catalog-btn { width: 38px; height: 38px; }
  .header-action-icon { width: 34px; height: 34px; }
  .header-action-icon svg { width: 17px; height: 17px; }
  .badge-count {
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    padding: 0 4px;
    top: -3px;
    right: -3px;
  }
  .search input { padding: 10px 42px 10px 14px; font-size: 13px; }
  .search button { width: 32px; height: 32px; right: 3px; }

  /* HERO 4:3 — компактнее */
  
  

  /* Карточки товаров ─ ещё компактнее */
  .product-card { padding: 6px; }
  .product-card-img {
    aspect-ratio: 4 / 3 !important;
    max-height: 120px;
    margin-bottom: 5px;
  }
  .product-card-img img { padding: 3px; }
  .product-name { font-size: 11.5px; min-height: 30px; }
  .product-rating { font-size: 10px; }
  .product-rating-stars { font-size: 10px; }
  .product-price { font-size: 14px; }
  .product-old-price { font-size: 10px; }
  .product-brand { font-size: 8.5px; }
  .product-cart-btn { padding: 6px; font-size: 11px; margin-top: 5px; }
  .product-cart-btn svg { width: 11px; height: 11px; }
  .badge { font-size: 8.5px; padding: 2px 5px; }
  .product-fav { width: 22px; height: 22px; }
  .product-fav svg { width: 11px; height: 11px; }

  /* Категории — 2 колонки, ещё компактнее */
  .category-tile { min-height: 110px; padding: 12px 8px; }
  .category-tile-visual { width: 42px; height: 42px; font-size: 20px; }
  .category-tile-name { font-size: 11.5px; }

  /* Бренды-карусель */
  .brand-item { padding: 10px 18px; font-size: 12.5px; min-width: 100px; min-height: 44px; }

  /* Акция */
  .deal-section { padding: 14px 12px; }
  .deal-title h2 { font-size: 15px; }
  .deal-title-icon { width: 32px; height: 32px; font-size: 16px; }
  .deal-timer-unit { padding: 4px 6px; font-size: 12px; min-width: 32px; }
  .deal-timer-unit small { font-size: 7px; }

  /* Заголовки секций ─ компактнее */
  .section-title { font-size: 17px; }
  .section { padding: 20px 0; }

  /* Подписка */
  .subscribe-section h2 { font-size: 17px; }
  .subscribe-section p { font-size: 12.5px; }

  /* Каталог */
  .catalog-header h1 { font-size: 20px; }
  .filters-mobile-toggle { font-size: 13px; padding: 10px 16px; }

  /* Товар */
  .gallery-main { padding: 16px; }
  .product-info-title { font-size: 18px; }
  .price-main { font-size: 24px; }
}

/* ════ 320–360px : маленький смартфон ════ */
@media (max-width: 360px) {
  :root { --gutter: 8px; }

  .logo span:not(.logo-mark) { font-size: 14px; }
  .header-action-icon { width: 32px; height: 32px; }
  .header-action-icon svg { width: 16px; height: 16px; }
  .catalog-btn { width: 36px; height: 36px; }
  .search input { padding: 9px 38px 9px 12px; font-size: 12.5px; }

  /* Карточки совсем компактные */
  .product-card { padding: 5px; }
  .product-card-img {
    aspect-ratio: 4 / 3 !important;
    max-height: 100px;
    margin-bottom: 4px;
  }
  .product-card-img img { padding: 2px; }
  .product-brand { font-size: 8.5px; }
  .product-name { font-size: 11px; min-height: 28px; }
  .product-price { font-size: 13.5px; }
  .product-old-price { display: none; }
  .product-rating { font-size: 9.5px; }
  .product-rating-stars { font-size: 10px; }
  .product-cart-btn { padding: 5px; font-size: 10.5px; margin-top: 4px; }
  .product-cart-btn svg { width: 10px; height: 10px; }
  .badge { font-size: 8px; padding: 2px 4px; }
  .product-fav { width: 20px; height: 20px; }
  .product-fav svg { width: 10px; height: 10px; }

  /* Категории */
  .category-tile { min-height: 100px; padding: 10px 6px; }
  .category-tile-visual { width: 38px; height: 38px; font-size: 18px; }
  .category-tile-name { font-size: 11px; }

  /* Бренды */
  .brand-item { padding: 8px 14px; font-size: 11.5px; min-width: 90px; min-height: 40px; }

  /* Сетка плотнее */
  .products-grid, .catalog-grid, .category-tiles { gap: 6px; }

  /* Hero побольше высоты */
  
  

  /* Heading */
  .section-title { font-size: 16px; }
  .catalog-header h1 { font-size: 18px; }
  .price-main { font-size: 22px; }
}

/* ── Touch-устройства: убираем hover-стейты (избегаем "залипания") ── */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover { transform: none; box-shadow: none; }
  .category-tile:hover { transform: none; box-shadow: none; }
  .brand-item:hover { transform: none; }
  .hero-main:hover, .hero-side-item:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════
   STICKY BOTTOM BAR ДЛЯ СТРАНИЦЫ ТОВАРА (мобильное)
   ═══════════════════════════════════════════════════════ */
.product-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -8px 24px rgba(14, 14, 16, 0.10);
  padding: 12px 14px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.product-sticky-bar.visible {
  transform: translateY(0);
}
.product-sticky-info {
  flex: 1;
  min-width: 0;
}
.product-sticky-price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.product-sticky-old {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: line-through;
  margin-top: 4px;
}
.product-sticky-btn {
  flex-shrink: 0;
  padding: 13px 22px;
  white-space: nowrap;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   НОВЫЙ БЛОК ЦЕНЫ НА СТРАНИЦЕ ТОВАРА (price-row)
   ═══════════════════════════════════════════════════════ */
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER — АККОРДЕОН НА МОБИЛЬНЫХ
   ═══════════════════════════════════════════════════════ */
.footer-chevron {
  display: none;
  transition: transform var(--t-base) var(--ease);
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
}
.footer-col-content {
  /* На десктопе всегда видим */
}

/* ═══════════════════════════════════════════════════════
   ПЕРЕОПРЕДЕЛЕНИЕ МОБИЛЬНЫХ СТИЛЕЙ
   (более конкретные правила, чем в основном адаптиве)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ────────── СТРАНИЦА ТОВАРА — ПОЛНАЯ МОБИЛЬНАЯ ВЕРСИЯ ────────── */

  /* Контейнер товара — вертикально, всё на ширину экрана */
  .product-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
    padding: 8px 0 20px;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* ━━━━━━ ГАЛЕРЕЯ НА МОБИЛЬНОЙ — ЖЁСТКОЕ ПЕРЕОПРЕДЕЛЕНИЕ ━━━━━━ */
  .product-gallery {
    display: grid !important;
    grid-template-columns: 1fr 70px !important;
    grid-template-rows: 280px !important;
    gap: 8px !important;
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .gallery-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 12px !important;
    aspect-ratio: auto !important;
    height: 280px !important;
    max-height: 280px !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--r-md);
    background: var(--gray-100);
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
  }
  .gallery-main img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
  .gallery-discount-badge {
    position: absolute !important;
    top: 8px;
    left: 8px;
    font-size: 11px;
    padding: 3px 8px;
    z-index: 2;
  }
  .gallery-thumbs {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 280px !important;
    max-height: 280px !important;
    padding: 0 !important;
    scrollbar-width: none;
    width: 70px !important;
    max-width: 70px !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb {
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    padding: 4px !important;
    border-width: 2px !important;
    cursor: pointer;
    border-radius: var(--r-sm);
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .gallery-thumb img {
    pointer-events: none;
    object-fit: contain;
  }

  /* Информация */
  .product-info {
    width: 100%;
    max-width: 100%;
  }
  .product-info-brand { font-size: 11px; margin-bottom: 6px; }
  .product-info-title {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 8px;
    font-weight: 700;
    word-wrap: break-word;
  }
  .product-info-meta {
    gap: 12px;
    font-size: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
  }

  /* Блок цены и кнопки */
  .product-buy-block { margin-bottom: 16px; }
  .product-info-price {
    padding: 14px 16px;
    margin-bottom: 12px;
    background: var(--gray-50);
    border-radius: var(--r-md);
  }
  .price-row { gap: 10px; flex-wrap: wrap; }
  .price-main { font-size: 24px; }
  .price-side { flex-wrap: wrap; gap: 6px; }
  .price-old { font-size: 13px; margin-top: 0; }
  .price-save {
    font-size: 11px;
    padding: 3px 8px;
    margin: 0;
  }

  /* Кнопки */
  .product-info-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    margin-bottom: 16px;
  }
  .product-info-actions .btn-large {
    padding: 13px 12px;
    font-size: 13px;
    gap: 6px;
  }
  .product-info-actions .btn-large svg { width: 16px; height: 16px; }
  .product-info-actions .btn-large span { font-size: 13px; }

  /* Преимущества */
  .product-info-benefits {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }
  .benefit-item {
    padding: 12px;
    gap: 12px;
  }
  .benefit-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .benefit-item strong { font-size: 13px; }
  .benefit-item small { font-size: 11.5px; line-height: 1.4; }

  /* Описание и характеристики */
  .product-tabs {
    padding: 20px 0;
    border-top: 1px solid var(--gray-150);
  }
  .tab-section { margin-bottom: 24px; }
  .tab-section h2 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  .tab-section p {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .specs { grid-template-columns: 1fr !important; gap: 0; }
  .spec-row { padding: 10px 0; }
  .spec-name, .spec-value { font-size: 12.5px; }

  /* ────────── STICKY BOTTOM BAR — показывается ────────── */
  .product-sticky-bar { display: flex; }

  /* Body отступ снизу, чтобы sticky-bar не закрывал контент */
  body:has(.product-sticky-bar) { padding-bottom: 72px; }

  /* ────────── FOOTER — АККОРДЕОН ────────── */
  .footer {
    padding: 24px 0 16px;
    margin-top: 20px;
  }
  .footer-top {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  /* Бренд блок наверху, всегда раскрыт */
  .footer-brand {
    padding-bottom: 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-brand .logo { font-size: 18px; margin-bottom: 12px; }
  .footer-desc {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .footer-wa { padding: 10px 18px; font-size: 13px; }

  /* Колонки-аккордеоны */
  .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin: 0;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
    color: var(--white);
  }
  .footer-chevron {
    display: inline-block !important;
  }
  .footer-col.open .footer-chevron {
    transform: rotate(180deg);
  }
  .footer-col-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease);
  }
  .footer-col.open .footer-col-content {
    grid-template-rows: 1fr;
  }
  .footer-col-content > * {
    overflow: hidden;
    min-height: 0;
  }
  .footer-col.open .footer-col-content > * {
    padding-bottom: 16px;
  }
  .footer-col ul { gap: 10px; }
  .footer-col ul a { font-size: 13px; }

  /* Колонка "Связаться" — без аккордеона, всегда видна */
  .footer-contact h4 {
    cursor: default;
    pointer-events: none;
  }
  .footer-contact h4 .footer-chevron { display: none !important; }
  .footer-contact .footer-col-content {
    display: block;
    grid-template-rows: none;
  }
  .footer-contact .footer-col-content > * {
    overflow: visible;
    padding-bottom: 16px;
  }
  .footer-phone {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .footer-schedule { font-size: 12.5px; margin-bottom: 6px; }
  .footer-address { font-size: 12.5px; line-height: 1.5; }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 11px;
  }
  .payments {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .payments span {
    font-size: 10px;
    padding: 3px 7px;
  }
}

/* Самые маленькие экраны — ещё меньше */
@media (max-width: 380px) {
  .product-info-title { font-size: 17px; }
  .price-main { font-size: 22px; }
  .product-info-actions { grid-template-columns: 1fr; }
  .product-sticky-price { font-size: 18px; }
  .product-sticky-btn { padding: 11px 16px; font-size: 13px; }
  .footer-col h4 { font-size: 13.5px; padding: 14px 0; }
  .footer-col ul a { font-size: 12.5px; }
}

/* ═══════════════════════════════════════════════════════
   КАСТОМНОЕ ЛОГО (картинка вместо текста)
   ═══════════════════════════════════════════════════════ */
.logo-img {
  height: 80px;
  width: auto;
  display: block;
  max-width: 360px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .logo-img { height: 64px; max-width: 280px; }
}
@media (max-width: 768px) {
  .logo-img { height: 52px; max-width: 220px; }
}
@media (max-width: 380px) {
  .logo-img { height: 44px; max-width: 180px; }
}
/* ═══════════════════════════════════════════════════════
   СТРАНИЦА КОНТАКТОВ
   ═══════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.contacts-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-150);
  padding: 48px 0 40px;
}
.contacts-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.contacts-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-light);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.contacts-hero-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.contacts-hero-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.65;
}
.contacts-hero-stats {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}
.contacts-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.contacts-stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.contacts-stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-align: center;
}

/* ─── БЫСТРЫЕ КОНТАКТЫ ─── */
.contacts-quick-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-150);
}
.contacts-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.contacts-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-150);
  border-radius: var(--r-lg);
  transition: all var(--t-base);
  position: relative;
}
.contacts-quick-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contacts-quick-wa:hover {
  border-color: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.15);
}
.contacts-quick-icon {
  width: 46px;
  height: 46px;
  background: var(--red-light);
  color: var(--red);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}
.contacts-quick-wa .contacts-quick-icon {
  background: #e8faf0;
  color: #25D366;
}
.contacts-quick-item:hover .contacts-quick-icon {
  background: var(--red);
  color: var(--white);
}
.contacts-quick-wa:hover .contacts-quick-icon {
  background: #25D366;
  color: var(--white);
}
.contacts-quick-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contacts-quick-label {
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 500;
}
.contacts-quick-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.contacts-quick-arrow {
  margin-left: auto;
  color: var(--text-3);
  flex-shrink: 0;
  transition: all var(--t-base);
}
.contacts-quick-item:hover .contacts-quick-arrow {
  color: var(--red);
  transform: translate(2px, -2px);
}

/* ─── БЛОК ГОРОДА ─── */
.city-block {
  margin-bottom: 40px;
}
.city-block:last-child { margin-bottom: 0; }
.city-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-150);
}
.city-flag {
  font-size: 24px;
  line-height: 1;
}
.city-label h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.city-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--gray-100);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

/* ─── СЕТКА МАГАЗИНОВ ─── */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stores-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ─── КАРТОЧКА МАГАЗИНА ─── */
.store-card {
  background: var(--white);
  border: 1.5px solid var(--gray-150);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--t-base);
}
.store-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.store-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.store-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--gray-200);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color var(--t-base);
}
.store-card:hover .store-number { color: var(--red-soft); }
.store-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.store-badge-open {
  background: #e8faf0;
  color: var(--green);
}
.store-address,
.store-phone,
.store-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}
.store-address svg,
.store-phone svg,
.store-hours svg {
  color: var(--red);
  flex-shrink: 0;
}
.store-phone a {
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
}
.store-phone a:hover { color: var(--red); }
.store-hours { color: var(--text-3); }
.store-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.store-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--t-fast);
  border: 1.5px solid transparent;
}
.store-btn-map {
  background: var(--gray-100);
  color: var(--text-2);
  border-color: var(--gray-150);
}
.store-btn-map:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.store-btn-call {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.store-btn-call:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ─── CTA БЛОК ─── */
.contacts-cta {
  background: linear-gradient(135deg, var(--black) 0%, var(--ink-2) 100%);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.contacts-cta-text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.contacts-cta-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  max-width: 480px;
}
.contacts-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ─── АДАПТИВ ─── */
/* ─── АДАПТИВ КОНТАКТЫ ─── */
@media (max-width: 1024px) {
  .contacts-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .stores-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {

  /* HERO */
  .contacts-hero {
    padding: 24px 0 20px;
    background: var(--white);
    border-bottom: none;
  }
  .contacts-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contacts-hero-tag {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .contacts-hero-title {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .contacts-hero-desc {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .contacts-hero-stats {
    width: 100%;
    gap: 0;
    background: var(--gray-50);
    border: 1px solid var(--gray-150);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .contacts-stat {
    flex: 1;
    padding: 16px 8px;
    border-right: 1px solid var(--gray-150);
    gap: 2px;
  }
  .contacts-stat:last-child { border-right: none; }
  .contacts-stat-num {
    font-size: 24px;
    font-weight: 900;
  }
  .contacts-stat-label {
    font-size: 10.5px;
    color: var(--text-3);
  }

  /* БЫСТРЫЕ КОНТАКТЫ — вертикальный список */
  .contacts-quick-strip {
    padding: 16px 0;
    border-bottom: none;
  }
  .contacts-quick-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .contacts-quick-item {
    padding: 14px 16px;
    gap: 14px;
    border-radius: var(--r-md);
    background: var(--gray-50);
    border-color: var(--gray-150);
  }
  .contacts-quick-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    flex-shrink: 0;
  }
  .contacts-quick-label {
    font-size: 11px;
    color: var(--text-3);
  }
  .contacts-quick-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }
  .contacts-quick-arrow {
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1px solid var(--gray-150);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* ЗАГОЛОВОК СЕКЦИИ */
  .section-header { margin-bottom: 16px; }

  /* ГОРОД */
  .city-block { margin-bottom: 28px; }
  .city-label {
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-150);
  }
  .city-flag { font-size: 20px; }
  .city-label h3 { font-size: 18px; }
  .city-count {
    font-size: 11px;
    padding: 2px 8px;
  }

  /* КАРТОЧКИ МАГАЗИНОВ — 1 колонка, компактные */
  .stores-grid,
  .stores-grid-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .store-card {
    padding: 16px;
    gap: 8px;
    border-radius: var(--r-md);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-150);
  }
  .store-card-header {
    margin-bottom: 2px;
  }
  .store-number {
    font-size: 22px;
    color: var(--gray-200);
  }
  .store-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  .store-address,
  .store-phone,
  .store-hours {
    font-size: 13px;
    gap: 8px;
  }
  .store-address svg,
  .store-phone svg,
  .store-hours svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .store-actions {
    margin-top: 4px;
    gap: 8px;
  }
  .store-btn {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: var(--r-sm);
  }
  .store-btn-map {
    background: var(--white);
    border-color: var(--gray-200);
  }

  /* CTA */
  .contacts-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 16px;
    border-radius: var(--r-lg);
    margin: 20px 0;
  }
  .contacts-cta-text h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .contacts-cta-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
  }
  .contacts-cta-actions {
    flex-direction: row;
    width: 100%;
    gap: 8px;
  }
  .contacts-cta-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 480px) {
  .contacts-hero-title { font-size: 24px; }
  .contacts-hero-desc { font-size: 13px; }

  .contacts-quick-item { padding: 12px 14px; }
  .contacts-quick-icon { width: 36px; height: 36px; }
  .contacts-quick-value { font-size: 14px; }

  .store-card { padding: 14px; }
  .store-address,
  .store-phone,
  .store-hours { font-size: 12.5px; }

  .contacts-cta-actions {
    flex-direction: column;
  }
  .contacts-cta-actions .btn { width: 100%; }
}

@media (max-width: 360px) {
  .contacts-hero-title { font-size: 22px; }
  .contacts-stat-num { font-size: 20px; }
  .contacts-stat-label { font-size: 10px; }
  .store-btn { font-size: 12px; padding: 9px 8px; }
}
/* ═══ КОНТАКТЫ — МОБИЛЬНЫЙ ═══ */
.contacts-hero-tag { display:inline-flex; align-items:center; background:var(--red-light); color:var(--red); font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.contacts-hero-title { font-size:clamp(36px,4vw,56px); font-weight:900; letter-spacing:-.03em; margin-bottom:14px; }
.contacts-hero-desc { font-size:16px; color:var(--text-2); max-width:520px; line-height:1.65; }
.contacts-hero { background:var(--gray-50); border-bottom:1px solid var(--gray-150); padding:48px 0 40px; }
.contacts-hero-inner { display:flex; justify-content:space-between; align-items:center; gap:40px; }
.contacts-hero-stats { display:flex; gap:40px; flex-shrink:0; }
.contacts-stat { display:flex; flex-direction:column; align-items:center; gap:4px; }
.contacts-stat-num { font-size:40px; font-weight:900; color:var(--red); letter-spacing:-.03em; line-height:1; }
.contacts-stat-label { font-size:12px; color:var(--text-3); font-weight:500; text-align:center; }

.contacts-quick-strip { padding:28px 0; border-bottom:1px solid var(--gray-150); }
.contacts-quick-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.contacts-quick-item { display:flex; align-items:center; gap:14px; padding:18px 20px; background:var(--white); border:1.5px solid var(--gray-150); border-radius:var(--r-lg); transition:all var(--t-base); }
.contacts-quick-item:hover { border-color:var(--red); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.contacts-quick-wa:hover { border-color:#25D366; }
.contacts-quick-icon { width:46px; height:46px; background:var(--red-light); color:var(--red); border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all var(--t-base); }
.contacts-quick-wa .contacts-quick-icon { background:#e8faf0; color:#25D366; }
.contacts-quick-item:hover .contacts-quick-icon { background:var(--red); color:var(--white); }
.contacts-quick-wa:hover .contacts-quick-icon { background:#25D366; color:var(--white); }
.contacts-quick-text { display:flex; flex-direction:column; gap:2px; min-width:0; }
.contacts-quick-label { font-size:11.5px; color:var(--text-3); font-weight:500; }
.contacts-quick-value { font-size:15px; font-weight:700; color:var(--text); white-space:nowrap; }
.contacts-quick-arrow { margin-left:auto; color:var(--text-3); flex-shrink:0; transition:all var(--t-base); }

.city-block { margin-bottom:40px; }
.city-label { display:flex; align-items:center; gap:12px; margin-bottom:16px; padding-bottom:16px; border-bottom:2px solid var(--gray-150); }
.city-flag { font-size:24px; }
.city-label h3 { font-size:22px; font-weight:800; letter-spacing:-.02em; }
.city-count { font-size:12px; font-weight:600; color:var(--text-3); background:var(--gray-100); padding:3px 10px; border-radius:999px; }

.stores-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.stores-grid-3 { grid-template-columns:repeat(3,1fr); }
.store-card { background:var(--white); border:1.5px solid var(--gray-150); border-radius:var(--r-lg); padding:22px 24px; display:flex; flex-direction:column; gap:10px; transition:all var(--t-base); }
.store-card:hover { border-color:var(--red); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.store-card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.store-number { font-size:28px; font-weight:900; color:var(--gray-200); letter-spacing:-.04em; line-height:1; }
.store-badge { font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px; letter-spacing:.02em; }
.store-badge-open { background:#e8faf0; color:var(--green); }
.store-address, .store-phone, .store-hours { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-2); }
.store-address svg, .store-phone svg, .store-hours svg { color:var(--red); flex-shrink:0; }
.store-phone a { font-weight:600; color:var(--text); transition:color var(--t-fast); }
.store-phone a:hover { color:var(--red); }
.store-hours { color:var(--text-3); }
.store-actions { display:flex; gap:8px; margin-top:6px; }
.store-btn { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 14px; border-radius:var(--r-md); font-size:13px; font-weight:600; transition:all var(--t-fast); border:1.5px solid transparent; }
.store-btn-map { background:var(--gray-100); color:var(--text-2); border-color:var(--gray-150); }
.store-btn-map:hover { background:var(--black); color:var(--white); border-color:var(--black); }
.store-btn-call { background:var(--red); color:var(--white); box-shadow:var(--shadow-red); }
.store-btn-call:hover { background:var(--red-dark); }

.contacts-cta { background:linear-gradient(135deg,var(--black) 0%,var(--ink-2) 100%); border-radius:var(--r-xl); padding:40px 48px; margin:40px 0; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.contacts-cta-text h2 { font-size:clamp(22px,2.5vw,30px); font-weight:800; color:var(--white); letter-spacing:-.02em; margin-bottom:8px; }
.contacts-cta-text p { color:rgba(255,255,255,.6); font-size:14.5px; }
.contacts-cta-actions { display:flex; gap:10px; flex-shrink:0; }

@media (max-width:1024px) {
  .contacts-quick-grid { grid-template-columns:repeat(2,1fr); }
  .stores-grid-3 { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:768px) {
  .contacts-hero { padding:24px 0 20px; background:var(--white); border-bottom:none; }
  .contacts-hero-inner { flex-direction:column; align-items:flex-start; gap:20px; }
  .contacts-hero-title { font-size:26px; margin-bottom:8px; }
  .contacts-hero-desc { font-size:13.5px; }
  .contacts-hero-stats { width:100%; gap:0; background:var(--gray-50); border:1px solid var(--gray-150); border-radius:var(--r-lg); overflow:hidden; }
  .contacts-stat { flex:1; padding:16px 8px; border-right:1px solid var(--gray-150); gap:2px; }
  .contacts-stat:last-child { border-right:none; }
  .contacts-stat-num { font-size:22px; font-weight:900; }
  .contacts-stat-label { font-size:10px; }

  .contacts-quick-strip { padding:16px 0; border-bottom:none; }
  .contacts-quick-grid { display:flex; flex-direction:column; gap:8px; }
  .contacts-quick-item { padding:14px 16px; gap:12px; border-radius:var(--r-md); background:var(--gray-50); }
  .contacts-quick-icon { width:40px; height:40px; border-radius:var(--r-sm); }
  .contacts-quick-label { font-size:11px; }
  .contacts-quick-value { font-size:14px; }
  .contacts-quick-arrow { width:28px; height:28px; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:auto; }

  .city-block { margin-bottom:24px; }
  .city-label { gap:8px; margin-bottom:12px; padding-bottom:12px; }
  .city-flag { font-size:18px; }
  .city-label h3 { font-size:17px; }
  .city-count { font-size:11px; padding:2px 8px; }

  .stores-grid, .stores-grid-3 { grid-template-columns:1fr; gap:10px; }
  .store-card { padding:16px; gap:8px; border-radius:var(--r-md); background:var(--white); border:1.5px solid var(--gray-150); box-shadow:var(--shadow-xs); }
  .store-number { font-size:20px; }
  .store-badge { font-size:10px; padding:3px 8px; }
  .store-address, .store-phone, .store-hours { font-size:13px; gap:7px; }
  .store-actions { margin-top:6px; gap:8px; }
  .store-btn { padding:11px 12px; font-size:13px; border-radius:var(--r-sm); }
  .store-btn-map { background:var(--gray-100); border-color:var(--gray-200); }

  .contacts-cta { flex-direction:column; align-items:flex-start; padding:20px 16px; gap:16px; border-radius:var(--r-lg); margin:20px 0; }
  .contacts-cta-text h2 { font-size:19px; margin-bottom:6px; }
  .contacts-cta-text p { font-size:13px; }
  .contacts-cta-actions { flex-direction:row; width:100%; gap:8px; }
  .contacts-cta-actions .btn { flex:1; justify-content:center; padding:13px 10px; font-size:13.5px; }
}

@media (max-width:480px) {
  .contacts-hero-title { font-size:22px; }
  .contacts-quick-item { padding:12px 14px; }
  .contacts-quick-icon { width:36px; height:36px; }
  .contacts-quick-value { font-size:13.5px; }
  .store-card { padding:14px; }
  .store-address, .store-phone, .store-hours { font-size:12.5px; }
  .contacts-cta-actions { flex-direction:column; }
  .contacts-cta-actions .btn { width:100%; }
}

@media (max-width:360px) {
  .contacts-hero-title { font-size:20px; }
  .contacts-stat-num { font-size:18px; }
  .store-btn { font-size:11.5px; padding:9px 8px; }
}
/* ═══════════════════════════════════════════════════════
   СТРАНИЦА О КОМПАНИИ
   ═══════════════════════════════════════════════════════ */
.about-tag { display:inline-flex; align-items:center; background:var(--red-light); color:var(--red); font-size:12px; font-weight:700; padding:5px 12px; border-radius:var(--r-pill); text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.about-tag-white { background:rgba(255,255,255,.12); color:var(--white); }

.about-hero { background:var(--gray-50); border-bottom:1px solid var(--gray-150); padding:56px 0 48px; }
.about-hero-inner { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.about-title { font-size:clamp(32px,4vw,52px); font-weight:900; letter-spacing:-.03em; line-height:1.1; margin-bottom:16px; }
.about-desc { font-size:16px; color:var(--text-2); line-height:1.7; margin-bottom:28px; max-width:500px; }
.about-hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.about-hero-stats { display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--gray-150); border-radius:var(--r-xl); overflow:hidden; }
.about-stat { background:var(--white); padding:28px 24px; display:flex; flex-direction:column; gap:6px; }
.about-stat-num { font-size:36px; font-weight:900; color:var(--red); letter-spacing:-.03em; line-height:1; }
.about-stat-label { font-size:13px; color:var(--text-3); line-height:1.4; }

.about-advantages { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.about-adv-card { background:var(--white); border:1.5px solid var(--gray-150); border-radius:var(--r-lg); padding:28px 24px; transition:all var(--t-base); }
.about-adv-card:hover { border-color:var(--red); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.about-adv-icon { width:52px; height:52px; background:var(--red-light); color:var(--red); border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; margin-bottom:16px; transition:all var(--t-base); }
.about-adv-card:hover .about-adv-icon { background:var(--red); color:var(--white); }
.about-adv-card h3 { font-size:16px; font-weight:700; margin-bottom:8px; }
.about-adv-card p { font-size:13.5px; color:var(--text-3); line-height:1.6; }

.about-mission { background:var(--black); padding:72px 0; }
.about-mission-inner { display:grid; grid-template-columns:1.2fr 1fr; gap:80px; align-items:center; }
.about-mission-text h2 { font-size:clamp(28px,3.5vw,44px); font-weight:900; color:var(--white); letter-spacing:-.025em; line-height:1.15; margin-bottom:20px; }
.about-mission-text p { font-size:15px; color:rgba(255,255,255,.65); line-height:1.7; margin-bottom:14px; }
.about-mission-numbers { display:flex; flex-direction:column; gap:24px; }
.about-mission-num { display:flex; align-items:flex-start; gap:16px; padding-bottom:24px; border-bottom:1px solid rgba(255,255,255,.08); }
.about-mission-num:last-child { border-bottom:none; padding-bottom:0; }
.about-mission-num span { font-size:28px; font-weight:900; color:var(--red); letter-spacing:-.03em; line-height:1; flex-shrink:0; min-width:60px; }
.about-mission-num p { font-size:13.5px; color:rgba(255,255,255,.55); line-height:1.5; margin:0; padding-top:4px; }

.about-cities { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.about-city-card { display:flex; align-items:center; gap:16px; padding:22px 20px; background:var(--white); border:1.5px solid var(--gray-150); border-radius:var(--r-lg); transition:all var(--t-base); }
.about-city-card:hover { border-color:var(--red); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.about-city-icon { font-size:28px; flex-shrink:0; width:52px; height:52px; background:var(--gray-100); border-radius:var(--r-md); display:flex; align-items:center; justify-content:center; transition:background var(--t-base); }
.about-city-card:hover .about-city-icon { background:var(--red-light); }
.about-city-info { flex:1; min-width:0; }
.about-city-info h3 { font-size:16px; font-weight:700; margin-bottom:3px; }
.about-city-info p { font-size:12.5px; color:var(--text-3); line-height:1.4; margin-bottom:4px; }
.about-city-info span { font-size:11.5px; font-weight:600; color:var(--red); background:var(--red-light); padding:2px 8px; border-radius:var(--r-pill); }
.about-city-arrow { color:var(--text-3); flex-shrink:0; transition:all var(--t-base); }
.about-city-card:hover .about-city-arrow { color:var(--red); transform:translateX(3px); }

.about-cta { background:linear-gradient(135deg,var(--red) 0%,var(--red-dark) 100%); border-radius:var(--r-xl); padding:40px 48px; margin:40px 0; display:flex; align-items:center; justify-content:space-between; gap:32px; position:relative; overflow:hidden; }
.about-cta::before { content:''; position:absolute; top:-80px; right:-80px; width:300px; height:300px; background:rgba(255,255,255,.06); border-radius:50%; }
.about-cta-text { position:relative; z-index:1; }
.about-cta-text h2 { font-size:clamp(20px,2.5vw,28px); font-weight:800; color:var(--white); letter-spacing:-.02em; margin-bottom:8px; }
.about-cta-text p { color:rgba(255,255,255,.75); font-size:14.5px; }
.about-cta-actions { display:flex; gap:10px; flex-shrink:0; position:relative; z-index:1; }
.about-cta-actions .btn-primary { background:var(--white); color:var(--red); box-shadow:none; }
.about-cta-actions .btn-primary:hover { background:var(--gray-100); }

@media (max-width:1024px) {
  .about-advantages { grid-template-columns:repeat(2,1fr); }
  .about-mission-inner { gap:48px; }
  .about-cities { grid-template-columns:1fr; }
}

@media (max-width:768px) {
  .about-hero { padding:24px 0 20px; }
  .about-hero-inner { grid-template-columns:1fr; gap:24px; }
  .about-title { font-size:26px; }
  .about-desc { font-size:14px; margin-bottom:18px; }
  .about-hero-actions { gap:8px; }
  .about-hero-actions .btn { flex:1; justify-content:center; padding:13px 10px; font-size:14px; }
  .about-hero-stats { grid-template-columns:1fr 1fr; }
  .about-stat { padding:18px 14px; }
  .about-stat-num { font-size:24px; }
  .about-stat-label { font-size:11.5px; }

  .about-advantages { grid-template-columns:1fr; gap:10px; }
  .about-adv-card { padding:18px 16px; display:flex; flex-direction:row; align-items:flex-start; gap:14px; }
  .about-adv-icon { width:40px; height:40px; flex-shrink:0; margin-bottom:0; }
  .about-adv-card h3 { font-size:14px; margin-bottom:4px; }
  .about-adv-card p { font-size:13px; }

  .about-mission { padding:36px 0; }
  .about-mission-inner { grid-template-columns:1fr; gap:28px; }
  .about-mission-text h2 { font-size:22px; }
  .about-mission-text p { font-size:13.5px; }
  .about-mission-num { gap:12px; padding-bottom:16px; }
  .about-mission-num span { font-size:20px; min-width:44px; }
  .about-mission-num p { font-size:13px; }

  .about-cities { gap:10px; }
  .about-city-card { padding:14px 16px; gap:12px; }
  .about-city-icon { width:42px; height:42px; font-size:20px; }
  .about-city-info h3 { font-size:15px; }
  .about-city-info p { font-size:12px; }

  .about-cta { flex-direction:column; padding:22px 16px; gap:16px; border-radius:var(--r-lg); margin:20px 0; }
  .about-cta-text h2 { font-size:19px; }
  .about-cta-text p { font-size:13px; }
  .about-cta-actions { flex-direction:column; width:100%; }
  .about-cta-actions .btn { width:100%; justify-content:center; }
}

@media (max-width:480px) {
  .about-title { font-size:22px; }
  .about-stat-num { font-size:20px; }
  .about-stat { padding:14px 10px; }
}

@media (max-width:360px) {
  .about-title { font-size:20px; }
  .about-stat-num { font-size:17px; }
  .about-stat-label { font-size:10px; }
}