/* ==========================================
   BREEZY HOME - Climate Equipment
   Pure HTML/CSS/JS
   ========================================== */

/* CSS Variables */
:root {
  --orange: #F58220;
  --orange-hover: #E07318;
  --dark-text: #1F2937;
  --body-text: #4B5563;
  --light-text: #6B7280;
  --lighter-text: #9CA3AF;
  --top-bar-bg: #F3F4F6;
  --section-bg: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --success: #22C55E;
  --star: #FBBF24;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
  background: var(--top-bar-bg);
  font-size: 12px;
  color: var(--light-text);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.top-bar-links {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .top-bar-links { display: flex; }
}
.top-bar-links a {
  color: var(--light-text);
  transition: color 0.2s;
  white-space: nowrap;
}
.top-bar-links a:hover { color: var(--orange); }
.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.top-bar-contacts a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--light-text);
  transition: color 0.2s;
  white-space: nowrap;
}
.top-bar-contacts a:hover { color: var(--orange); }
.top-bar-icon { width: 12px; height: 12px; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--orange);
}
.logo-text-top {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark-text);
  line-height: 1;
}
.logo-text-bottom {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--lighter-text);
  text-transform: uppercase;
  line-height: 1;
}

/* Nav */
.nav {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-top: 5px;
}
@media (min-width: 1024px) {
  .nav { display: flex; }
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--orange); }

/* Header Right */
.header-right {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-top: 5px;
}
@media (min-width: 768px) {
  .header-right { display: flex; }
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-text);
  transition: color 0.2s;
  flex-shrink: 0;
}
.search-toggle:hover { color: var(--orange); }
.search-toggle svg { width: 18px; height: 18px; }
.search-input {
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  opacity: 0;
  overflow: hidden;
  transition: width 0.25s ease, padding 0.25s ease, opacity 0.25s ease, border-color 0.2s;
}
.search-box.is-open .search-input {
  width: 180px;
  padding: 8px 12px;
  border-color: var(--border);
  opacity: 1;
}
.search-box.is-open .search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}
.search-input::placeholder { color: var(--lighter-text); }
.search-box .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--lighter-text);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--dark-text);
  transition: color 0.2s;
  white-space: nowrap;
}
.header-phone:hover { color: var(--orange); }
.header-phone svg { width: 16px; height: 16px; }
.header-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #25D366;
  transition: color 0.2s, transform 0.2s;
}
.header-whatsapp:hover { color: #1DA851; transform: scale(1.08); }
.header-whatsapp svg { width: 22px; height: 22px; }

/* Cart */
.cart-link {
  position: relative;
  padding: 8px;
  margin-top: 7px;
  margin-left: -6px;
  color: var(--dark-text);
  transition: color 0.2s;
}
.cart-link:hover { color: var(--orange); }
.cart-link svg { width: 20px; height: 20px; }

/* Account */
.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f58220;
  border-radius: 9px;
  color: #fff;
  margin-left: 1rem;
  transition: opacity 0.2s;
}
.account-link:hover { opacity: 0.85; }
.account-link svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -1px;
  right: -6px;
  min-width: 15px;
  height: 15px;
  padding: 0px 4px;
  background: #186bae;
  color: white;
  font-size: 10px;
  font-weight: 400;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 15px;
  text-align: center;
}

/* Mobile Menu */
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .mobile-actions { display: none; }
}
.menu-btn {
  padding: 8px;
  color: var(--dark-text);
}
.menu-btn svg { width: 24px; height: 24px; }

/* Мобильный аккаунт (без фона) */
.mob-account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--dark-text);
  transition: color 0.2s;
}
.mob-account-link:hover { color: var(--orange); }
.mob-account-link svg { width: 22px; height: 22px; }

/* Overlay */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,35,0.45);
  z-index: 998;
}
.mob-overlay.active { display: block; }

/* Slide Panel */
.mob-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 75vw;
  max-width: 360px;
  height: 100%;
  background: var(--white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mob-panel.open { transform: translateX(0); }

/* Panel header */
.mob-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mob-panel-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
}
.mob-panel-phone svg { width: 16px; height: 16px; color: var(--orange); }
.mob-panel-contacts { display: flex; align-items: center; gap: 14px; }
.mob-panel-whatsapp { display: flex; align-items: center; color: #25D366; }
.mob-panel-whatsapp svg { width: 20px; height: 20px; }
.mob-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--dark-text);
  transition: background 0.15s, color 0.15s;
}
.mob-close-btn:hover { background: #F3F4F6; color: var(--orange); }
.mob-close-btn svg { width: 20px; height: 20px; }

/* Nav items */
.mob-nav { flex: 1; padding: 8px 0; }
.mob-nav-link {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
  border-bottom: 1px solid #F3F4F6;
  transition: color 0.15s;
}
.mob-nav-link:hover { color: var(--orange); }

/* Поиск как пункт меню */
.mob-search-item {
  padding: 12px 20px;
  border-top: 1px solid #F3F4F6;
  margin-top: 4px;
}
.mob-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
}
.mob-search-wrap svg { width: 16px; height: 16px; color: var(--lighter-text); flex-shrink: 0; }
.mob-search-wrap input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: var(--dark-text);
}
.mob-search-wrap input::placeholder { color: var(--lighter-text); }

/* ==========================================
   HERO SECTION - 1в1 КАК НА СКРИНШОТЕ
   ========================================== */
.hero-wrap {
  margin-top: 15px;
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* hero поверх декораций wrapper */
.hero { position: relative; z-index: 1; }
.hero {
  position: relative;
  height: 650px;
  overflow: hidden;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  border-radius: 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1223 0%, #142240 55%, #1c3157 100%);
}
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.hero-slider:active { cursor: grabbing; }
.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.hero-slide-link { display: block; width: 100%; height: 100%; }
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }
@media (max-width: 768px) {
  .hero-slider-dots { bottom: 14px; gap: 8px; }
  .hero-dot { width: 8px; height: 8px; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,18,35,0.35) 0%, rgba(10,18,35,0.55) 50%, rgba(10,18,35,0.72) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  pointer-events: none;
}
/* Адаптив hero */
@media (max-width: 1740px) {
  .hero-wrap { padding: 0 16px; }
}
@media (max-width: 1024px) {
  .hero { height: 520px; border-radius: 30px; }
}
@media (max-width: 768px) {
  .hero { height: 440px; border-radius: 22px; }
  .hero-wrap { padding: 0 10px; margin-top: 10px; }
}
@media (max-width: 480px) {
  .hero { height: 360px; border-radius: 16px; }
  .hero-wrap { padding: 0 8px; margin-top: 8px; }
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  text-align: center;
}
.hero-title span {
  display: block;
}
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.95);
  margin-top: 15px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  text-align: center;
}
.hero-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 16px 38px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  letter-spacing: 0.02em;
  pointer-events: auto;
  position: relative;
  z-index: 3;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow:
    0 0 14px rgba(245,130,32,0.75),
    0 0 30px rgba(245,130,32,0.45),
    0 0 60px rgba(245,130,32,0.25),
    0 6px 20px rgba(0,0,0,0.3);
}
.hero-btn:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
  box-shadow:
    0 0 20px rgba(245,130,32,0.95),
    0 0 45px rgba(245,130,32,0.65),
    0 0 90px rgba(245,130,32,0.35),
    0 10px 30px rgba(0,0,0,0.35);
}
@media (min-width: 640px) {
  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 19px; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 46px; }
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section { padding: 48px 0; }
.section-videos { padding-bottom: 24px; }
@media (min-width: 1024px) { .section { padding: 64px 0; } }
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}
@media (min-width: 640px) { .section-title { font-size: 30px; } }
.section-subtitle {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 32px;
}
@media (min-width: 640px) { .section-subtitle { font-size: 16px; } }
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-link:hover { color: var(--orange-hover); }
.section-link svg { width: 16px; height: 16px; }

.bg-white { background: var(--white); }
.bg-gray { background: var(--section-bg); }

/* ---- Декоративные иконки секции категорий ---- */
.section-cats {
  position: relative;
  overflow: hidden;
}
.cats-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Снежинки */
.cats-deco-flake { color: #1B75BB; }
.cats-deco-flake--1 {
  width: 72px; height: 72px;
  top: 18px; right: 7%;
  opacity: 0.10;
  animation: cta-spin 22s linear infinite;
}
.cats-deco-flake--2 {
  width: 42px; height: 42px;
  bottom: 28px; left: 5%;
  opacity: 0.09;
  animation: cta-spin 30s linear infinite reverse;
}
.cats-deco-flake--3 {
  width: 30px; height: 30px;
  top: 48%; right: 24%;
  opacity: 0.08;
  animation: cta-spin 18s linear infinite;
}

/* Солнышки */
.cats-deco-sun { color: #F5A623; }
.cats-deco-sun--1 {
  width: 80px; height: 80px;
  top: 14px; left: 9%;
  opacity: 0.10;
  animation: cta-spin 40s linear infinite;
}
.cats-deco-sun--2 {
  width: 50px; height: 50px;
  bottom: 24px; right: 16%;
  opacity: 0.09;
  animation: cta-spin 32s linear infinite reverse;
}

/* Кондиционеры */
.cats-deco-ac { color: #1F2937; }
.cats-deco-ac--1 {
  width: 300px; height: auto;
  top: 50%; left: -30px;
  transform: translateY(-50%);
  opacity: 0.05;
}
.cats-deco-ac--2 {
  width: 200px; height: auto;
  bottom: -10px; right: -20px;
  opacity: 0.05;
}

/* ==========================================
   CATEGORIES - 3×2 СЕТКА КАК НА СКРИНШОТЕ
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
.categories-grid--full {
  margin-top: 24px;
  margin-bottom: 48px;
}
.category-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  background: linear-gradient(135deg, #14315c 0%, #1B75BB 60%, #1460A0 100%);
}
.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.category-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}
.category-card:hover .category-img img {
  transform: scale(1.08);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(245,130,32,0.60) 0%, rgba(217,90,8,0.42) 40%, rgba(20,49,92,0.30) 75%, rgba(10,20,40,0.20) 100%);
  z-index: 1;
  transition: opacity 0.35s;
}
.category-card:hover::before {
  opacity: 0.8;
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,14,28,0.88) 0%, rgba(8,14,28,0.62) 45%, rgba(8,14,28,0.34) 100%);
  z-index: 1;
  transition: opacity 0.35s;
}
.category-card:hover::after {
  opacity: 0.9;
}
.category-name {
  position: relative;
  z-index: 2;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  padding: 16px 18px 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  letter-spacing: 0.01em;
}
.category-card-flake {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.45;
  animation: cta-spin 14s linear infinite;
  transition: opacity 0.35s;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}
.category-card-flake--1 { top: 14px; right: 14px; }
.category-card-flake--2 {
  top: 40px;
  left: 16px;
  width: 16px;
  height: 16px;
  opacity: 0.3;
  animation-duration: 18s;
  animation-direction: reverse;
}
.category-card-flake--3 {
  bottom: 54px;
  right: 26px;
  width: 19px;
  height: 19px;
  opacity: 0.3;
  animation-duration: 20s;
}
.category-card:hover .category-card-flake { opacity: 0.9; }
.category-card:hover .category-card-flake--2,
.category-card:hover .category-card-flake--3 { opacity: 0.65; }

/* CTA Card - "Весь каталог" */
.category-cta {
  background: linear-gradient(145deg, #F79C3A 0%, #F07420 40%, #D95A08 100%);
  border-radius: 14px;
  padding: 22px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s;
  cursor: pointer;
  min-height: 240px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(215,85,15,0.38), inset 0 1px 0 rgba(255,255,255,0.18);
}
.category-cta:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(215,85,15,0.48), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* --- Декоративные кольца --- */
.cta-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-ring--1 {
  width: 180px;
  height: 180px;
  top: -60px;
  right: -60px;
  background: rgba(255,255,255,0.10);
}
.cta-ring--2 {
  width: 110px;
  height: 110px;
  top: -20px;
  right: -20px;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: transparent;
}
.cta-ring--3 {
  width: 220px;
  height: 220px;
  bottom: -100px;
  left: -80px;
  border: 1.5px solid rgba(255,255,255,0.10);
  background: transparent;
}

/* --- Точечный паттерн --- */
.cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* --- Снежинки --- */
.cta-flake {
  position: absolute;
  pointer-events: none;
}
.cta-flake--1 {
  width: 32px;
  height: 32px;
  top: 14px;
  right: 18px;
  animation: cta-spin 18s linear infinite;
}
.cta-flake--2 {
  width: 20px;
  height: 20px;
  top: 52px;
  right: 54px;
  animation: cta-spin 24s linear infinite reverse;
}
@keyframes cta-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Силуэт кондиционера --- */
.cta-ac-silhouette {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s;
}
.category-cta:hover .cta-ac-silhouette {
  opacity: 0.20;
}

/* --- Кнопка-стрелка --- */
.category-cta-icon {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.3s cubic-bezier(.22,.68,0,1.2), border-color 0.25s;
  flex-shrink: 0;
}
.category-cta:hover .category-cta-icon {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.55);
  transform: translateX(6px);
}
.category-cta-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

/* --- Текст --- */
.category-cta-text {
  position: relative;
  z-index: 2;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ==========================================
   FEATURES - МЫ ПРЕДЛАГАЕМ (3×2 сетка + фон)
   ========================================== */
.features-section {
  position: relative;
  overflow: hidden;
}
.features-section .container {
  overflow: visible;
}
.features-section .features-grid {
  overflow: visible;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: relative;
  z-index: 2;
}
.features-grid > .feature-card { min-width: 0; }
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  padding: 16px 8px;
}
@media (max-width: 639px) {
  .feature-card { padding: 12px 8px; }
  .feature-icon { width: 36px; height: 36px; margin-bottom: 8px; }
  .feature-icon svg { width: 16px; height: 16px; }
  .feature-title { font-size: 13px; margin-bottom: 4px; }
  .feature-desc { font-size: 12px; line-height: 1.5; }
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: #1E3A5F;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 12px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.6;
}

/* --- 6-я ячейка: кондиционер --- */
.feature-ac-showcase {
  position: relative;
  min-height: 220px;
  overflow: visible;
}
@media (max-width: 639px) {
  .feature-ac-showcase { display: none; }
}
.fac-img {
  position: absolute;
  bottom: 0px;
  left: 75%;
  transform: translateX(-50%);
  width: 145%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.15));
  pointer-events: none;
}

/* ==========================================
   SERVICES
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.services-grid > .service-card { min-width: 0; }
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) {
  .service-body { padding: 12px; }
  .service-title { font-size: 13px; margin-bottom: 4px; }
  .service-desc { font-size: 11px; margin-bottom: 10px; }
  .service-btn { font-size: 13px; }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.service-card:hover .service-img img {
  transform: scale(1.05);
}
.service-body { padding: 20px; }
.service-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-footer {
  display: flex;
  align-items: center;
}
.service-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.service-btn:hover { color: var(--orange-hover); }

/* ==========================================
   МОДАЛКА ЗАКАЗА УСЛУГИ
   ========================================== */
.svc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,35,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.svc-modal-overlay.active { display: flex; }
.svc-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  margin: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.svc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--light-text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.svc-modal-close:hover { background: #F3F4F6; color: var(--dark-text); }
.svc-modal-close svg { width: 18px; height: 18px; }
.svc-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 4px;
}
.svc-modal-service {
  font-size: 14px;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 20px;
}
.svc-form-group { margin-bottom: 14px; }
.svc-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--light-text);
  margin-bottom: 6px;
}
.svc-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.svc-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,130,32,0.12);
}
.svc-submit {
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
  transition: background 0.2s;
}
.svc-submit:hover { background: var(--orange-hover); }
.svc-modal-note {
  text-align: center;
  font-size: 12px;
  color: var(--lighter-text);
  margin-top: 10px;
  margin-bottom: 0;
}
.svc-modal-success {
  text-align: center;
  padding: 20px 0;
}
.svc-modal-success svg { width: 48px; height: 48px; margin-bottom: 12px; }
.svc-modal-success p { font-size: 16px; font-weight: 500; color: var(--dark-text); }

/* ==========================================
   QUIZ
   ========================================== */
.quiz-progress {
  text-align: center;
  margin-bottom: 32px;
}
.quiz-progress-text {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 16px;
}
.quiz-progress-text span {
  font-weight: 600;
  color: var(--dark-text);
}
.quiz-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.quiz-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.quiz-step.completed {
  background: var(--success);
  color: white;
}
.quiz-step.current {
  background: var(--success);
  color: white;
}
.quiz-step.pending {
  background: #E5E7EB;
  color: var(--lighter-text);
}
.quiz-step svg { width: 20px; height: 20px; }

.quiz-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .quiz-title { font-size: 24px; }
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .quiz-grid { grid-template-columns: repeat(4, 1fr); }
}
.quiz-option {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quiz-option:hover { border-color: #D1D5DB; }
.quiz-option.selected {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}
.quiz-option-img {
  aspect-ratio: 4/3;
}
.quiz-option-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quiz-option-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-size: 13px;
  font-weight: 500;
}
.quiz-option-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--orange);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.quiz-option.selected .quiz-option-check { display: flex; }
.quiz-option-check svg {
  width: 14px;
  height: 14px;
  color: white;
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.quiz-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--light-text);
  margin-top: -16px;
  margin-bottom: 28px;
}

/* Тайлы квадратуры (шаг 2) */
.quiz-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
@media (min-width: 480px) { .quiz-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .quiz-tiles { grid-template-columns: repeat(4, 1fr); } }
.quiz-tile {
  padding: 18px 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.quiz-tile:hover { border-color: #D1D5DB; }
.quiz-tile.selected {
  border-color: var(--orange);
  background: #FFF7EE;
  color: var(--orange);
}

/* Чекбоксы приоритетов (шаг 3) */
.quiz-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 8px;
}
@media (min-width: 480px) { .quiz-checks { grid-template-columns: repeat(2, 1fr); } }
.quiz-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.quiz-check-item:hover { border-color: #D1D5DB; }
.quiz-check-item input { display: none; }
.quiz-check-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='2 7 5.5 10.5 12 4'/%3E%3C/svg%3E") center/12px no-repeat;
}
.quiz-check-item input:checked ~ .quiz-check-box {
  background-color: var(--orange);
  border-color: var(--orange);
}
.quiz-check-item input:checked ~ .quiz-check-label { color: var(--orange); font-weight: 500; }
.quiz-check-label { font-size: 15px; color: var(--dark-text); }
.quiz-check-item:has(input:checked) { border-color: var(--orange); background: #FFF7EE; }

/* Контактная форма квиза */
.quiz-contact-form {
  max-width: 420px;
  margin: 0 auto;
}

/* Кнопка назад */
.btn-quiz-back {
  padding: 12px 24px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--light-text);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s;
}
.btn-quiz-back:hover { border-color: var(--dark-text); color: var(--dark-text); }

/* Успех квиза */
.quiz-success {
  text-align: center;
  padding: 40px 0;
}
.quiz-success svg { width: 56px; height: 56px; margin-bottom: 16px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:disabled {
  background: #D1D5DB;
  cursor: not-allowed;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .pricing-layout { flex-direction: row; }
}
.pricing-main { flex: 1; }
.pricing-side {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .pricing-side { width: 320px; flex-shrink: 0; }
}
.pricing-side img {
  max-height: 360px;
  object-fit: contain;
}

.pricing-block {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 24px;
}
.pricing-block + .pricing-block { margin-top: 24px; }
.pricing-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.pricing-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row-text { color: var(--body-text); }
.pricing-row-muted { color: var(--light-text); }
.pricing-row-price {
  font-weight: 700;
  color: var(--orange);
  margin-left: 16px;
  white-space: nowrap;
}

.pricing-extra-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--body-text);
}
.pricing-extra-item svg {
  width: 16px;
  height: 16px;
  color: var(--lighter-text);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================
   INSTALLATION
   ========================================== */
.install-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .install-layout { flex-direction: row; }
}
.install-content {
  flex: 1;
  space-y: 24px;
}
.install-block { margin-bottom: 24px; }
.install-block:last-child { margin-bottom: 0; }
.install-block-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.install-block-text {
  font-size: 14px;
  color: var(--light-text);
  line-height: 1.7;
}

.install-tools {
  width: 100%;
}
@media (min-width: 1024px) {
  .install-tools { width: 280px; flex-shrink: 0; }
}
.install-tools-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.tool-card:hover { box-shadow: var(--shadow-sm); }
.tool-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.tool-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tool-name {
  font-size: 12px;
  color: var(--body-text);
}

/* ==========================================
   VIDEO
   ========================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.videos-grid > .video-card { min-width: 0; }
@media (min-width: 640px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .videos-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) {
  .video-thumb { border-radius: 10px; margin-bottom: 8px; }
  .video-play { width: 40px; height: 40px; }
  .video-play svg { width: 15px; height: 15px; }
  .video-title { font-size: 12px; }
}
.video-card {
  cursor: pointer;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.video-card:hover .video-thumb img {
  transform: scale(1.05);
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-card:hover .video-overlay {
  background: rgba(0,0,0,0.3);
}
.video-play {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}
.video-card:hover .video-play {
  transform: scale(1.1);
}
.video-play svg {
  width: 20px;
  height: 20px;
  color: var(--dark-text);
  margin-left: 4px;
}
.video-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
  transition: color 0.2s;
  line-height: 1.4;
}
.video-card:hover .video-title {
  color: var(--orange);
}

/* ==========================================
   MAP
   ========================================== */
.map-section {
  position: relative;
  height: 400px;
}
@media (min-width: 640px) {
  .map-section { height: 450px; }
}
.map-section iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Оранжевое затемнение поверх карты */
.map-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 130, 32, 0.18);
  pointer-events: none;
  z-index: 2;
}
/* Блокировщик прокрутки — кликни на карту чтобы взаимодействовать */
.map-scroll-blocker {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: transparent;
  cursor: pointer;
}
.map-card-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.map-card {
  pointer-events: all;
  background: white;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 360px;
}
.map-card-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.map-card-logo .logo-text-top { font-size: 17px; }
.map-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 12px;
}
.map-card-item svg {
  width: 17px;
  height: 17px;
  color: var(--orange);
  margin-top: 1px;
  flex-shrink: 0;
}
.map-card-branches {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.map-card-branch { font-size: 13px; color: var(--light-text); margin-bottom: 8px; }
.map-card-branch svg { color: #9CA3AF; width: 15px; height: 15px; }
.map-card-branch b { color: var(--dark-text); font-weight: 600; }
.map-card-branch:last-child { margin-bottom: 0; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #111827;
  color: #D1D5DB;
}
.footer-inner {
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.footer-logo svg { width: 24px; height: 24px; color: var(--orange); }
.footer-desc {
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 16px;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-contact:hover { color: var(--orange); }
.footer-contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-branch {
  font-size: 12px;
  color: #9CA3AF;
  margin-left: 22px;
  margin-top: -4px;
}
.footer-branch svg { width: 11px; height: 11px; color: #6B7280; }
.footer-branch b { color: #D1D5DB; font-weight: 600; }
.footer-links a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--orange); }
.footer-all-categories {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s, gap 0.2s;
}
.footer-all-categories svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-all-categories:hover { color: var(--orange-hover); gap: 9px; }

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-payment {
  font-size: 14px;
  font-weight: 700;
  color: white;
}
.footer-mir {
  background: #DC2626;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.footer-copy {
  font-size: 12px;
  color: #6B7280;
}
@media (max-width: 639px) {
  .footer .container { padding-left: 22px; padding-right: 22px; }
}

/* ==========================================
   BREADCRUMBS
   ========================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 24px;
}
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs svg { width: 16px; height: 16px; }
.breadcrumbs span { color: var(--dark-text); font-weight: 500; }
@media (max-width: 767px) {
  .breadcrumbs--product { display: none; }
}

/* Кнопка "Назад" на странице подкатегории — ведёт в родительскую категорию */
.category-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
  text-decoration: none;
}
.category-back-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.category-back-link:hover { color: var(--orange); }

/* ==========================================
   PAGE TITLE
   ========================================== */
.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}
@media (min-width: 640px) { .page-title { font-size: 30px; } }
.page-subtitle {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 32px;
}
@media (min-width: 640px) { .page-subtitle { font-size: 16px; } }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  background: transparent;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--orange);
  color: white;
}
.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}
.btn-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--border);
  color: var(--body-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  background: transparent;
  transition: all 0.2s;
}
.btn-gray:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ==========================================
   FORMS
   ========================================== */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}
.form-input::placeholder { color: var(--lighter-text); }
textarea.form-input { resize: vertical; min-height: 80px; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 6px;
}
.form-group { margin-bottom: 16px; }

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--body-text);
}
.form-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}

/* Payment method card */
.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.payment-option:hover { border-color: #D1D5DB; }
.payment-option.selected {
  border-color: var(--orange);
  background: #FFF7ED;
}
.payment-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}
.payment-icon { color: var(--orange); }
.payment-icon svg { width: 20px; height: 20px; }

/* ==========================================
   CARDS
   ========================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow); }
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ==========================================
   FILTER SIDEBAR
   ========================================== */
.filter-sidebar {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 20px;
}
.filter-group { margin-bottom: 24px; }
.filter-group-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 12px;
}
.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--body-text);
}
.filter-item input { accent-color: var(--orange); }
.filter-items { display: flex; flex-direction: column; }
.filter-item-extra { display: none; }
.filter-group.is-expanded .filter-item-extra { display: flex; }
.filter-show-more {
  margin-top: 6px;
  padding: 4px 0;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  cursor: pointer;
}
.filter-show-more:hover { color: var(--orange-hover); }
.filter-reset {
  font-size: 13px;
  color: var(--orange);
  cursor: pointer;
  background: none;
  border: none;
}
.filter-reset:hover { color: var(--orange-hover); }
.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-price-input {
  width: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--dark-text);
}
.filter-price-input:focus {
  outline: none;
  border-color: var(--orange);
}
.filter-price-sep { color: var(--body-text); font-size: 13px; }

/* Hide native number spinners wherever a plain number input is still used */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }
.filter-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.15s; }

/* Mobile filter toggle */
.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--section-bg);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.filter-toggle svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }

/* ==========================================
   PRODUCT GRID & CARD
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.product-grid > .card { min-width: 0; }
@media (max-width: 639px) {
  .product-grid .card-body { padding: 12px; }
  .product-grid .product-card-title { font-size: 13px; margin-bottom: 3px; }
  .product-grid .product-card-brand { font-size: 11px; margin-bottom: 8px; }
  .product-grid .product-card-specs { font-size: 11px; margin-bottom: 8px; }
  .product-grid .product-card-price { font-size: 14px; }
  .product-grid .btn-cart-add { width: 30px; height: 30px; }
  .product-grid .btn-cart-add svg { width: 13px; height: 13px; }
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1280px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .search-product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-text);
  margin-bottom: 4px;
}
.product-card-brand {
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 4px;
}
.product-card-specs {
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 12px;
}
.product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}
.btn-cart-add {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #1460A0 0%, #E8401A 120%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}
.btn-cart-add:hover {
  opacity: 0.85;
}
.btn-cart-added {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: white !important;
}

/* ==========================================
   PRODUCT PAGE (NEW)
   ========================================== */
.product-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .product-detail { flex-direction: row; }
}
.product-gallery {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.product-gallery img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.product-info {
  width: 100%;
}
@media (min-width: 1024px) {
  .product-info { width: 420px; flex-shrink: 0; }
}
.product-info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
}
.product-info-brand {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 16px;
}
.product-info-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 24px;
}
.product-info-total {
  margin-top: -16px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
}
.product-info-total span { color: var(--orange); }
.product-specs-list {
  margin-bottom: 24px;
}
.product-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.product-spec-label { color: var(--light-text); }
.product-spec-value { color: var(--dark-text); font-weight: 500; }
.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.product-actions .btn-primary {
  flex: 1;
  padding: 14px 24px;
}
.product-delivery-info {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: var(--light-text);
}
.product-delivery-info svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  vertical-align: middle;
  margin-right: 6px;
}

/* ==========================================
   CART
   ========================================== */
.cart-empty {
  text-align: center;
  padding: 64px 0;
}
.cart-empty-icon {
  width: 96px;
  height: 96px;
  background: var(--section-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.cart-empty-icon svg { width: 48px; height: 48px; color: var(--lighter-text); }
.cart-empty-title { font-size: 24px; font-weight: 700; color: var(--dark-text); margin-bottom: 8px; }
.cart-empty-text { color: var(--light-text); margin-bottom: 24px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--section-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.cart-item-info { flex: 1; min-width: 150px; }
.cart-item-name { font-size: 15px; font-weight: 600; color: var(--dark-text); margin-bottom: 4px; }
.cart-item-price-unit { font-size: 13px; color: var(--light-text); }

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-qty button:hover { background: var(--section-bg); }
.cart-qty button svg { width: 14px; height: 14px; }
.cart-qty span { font-size: 14px; font-weight: 500; width: 24px; text-align: center; }

.cart-item-total { font-size: 18px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.cart-item-remove {
  padding: 8px;
  color: var(--lighter-text);
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #EF4444; }
.cart-item-remove svg { width: 18px; height: 18px; }

/* Cart Summary */
.cart-summary {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}
.cart-summary-title { font-size: 18px; font-weight: 600; color: var(--dark-text); margin-bottom: 16px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
}
.cart-summary-label { color: var(--light-text); }
.cart-summary-value { font-weight: 500; }
.cart-summary-value.free { color: var(--success); }
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-bottom: 24px;
}
.cart-summary-total-label { font-weight: 600; color: var(--dark-text); }
.cart-summary-total-value { font-size: 24px; font-weight: 700; color: var(--orange); }

/* Cart page layout */
.cart-items-col {
  margin-top: 24px;
  margin-bottom: 24px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 280px 1fr; }
}

/* Checkout sidebar item */
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--light-text);
  margin-bottom: 10px;
}

/* ==========================================
   CHECKOUT
   ========================================== */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto 48px;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.checkout-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.checkout-step-circle.done { background: var(--success); color: white; }
.checkout-step-circle.active { background: var(--orange); color: white; }
.checkout-step-circle.wait { background: #E5E7EB; color: var(--lighter-text); }
.checkout-step-circle svg { width: 20px; height: 20px; }
.checkout-step-label {
  font-size: 12px;
  color: var(--light-text);
  display: none;
}
@media (min-width: 640px) { .checkout-step-label { display: block; } }
.checkout-line {
  flex: 1;
  height: 2px;
  background: #E5E7EB;
  margin: 0 8px;
  margin-bottom: 24px;
}
.checkout-line.done { background: var(--success); }

.checkout-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.checkout-form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 24px;
}

.checkout-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

/* Order confirm block */
.confirm-block {
  background: var(--section-bg);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.confirm-block-title { font-weight: 600; color: var(--dark-text); margin-bottom: 8px; }
.confirm-block-text { font-size: 14px; color: var(--body-text); }

/* Order complete */
.order-complete {
  text-align: center;
  padding: 64px 0;
}
.order-complete-icon {
  width: 80px;
  height: 80px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.order-complete-icon svg { width: 40px; height: 40px; color: var(--success); }
.order-complete-title { font-size: 24px; font-weight: 700; color: var(--dark-text); margin-bottom: 8px; }
.order-complete-text { color: var(--light-text); margin-bottom: 8px; }
.order-complete-info {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto 32px;
  text-align: left;
}

/* Checkout layout */
.checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .checkout-layout { flex-direction: row; }
}
.checkout-main { flex: 1; }
.checkout-side {
  width: 100%;
}
@media (min-width: 1024px) {
  .checkout-side { width: 320px; flex-shrink: 0; }
}

/* ==========================================
   SERVICES PAGE
   ========================================== */
.service-detail-block {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 24px 32px;
}
.service-detail-list {
  margin-bottom: 24px;
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--body-text);
}
.service-detail-list li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Service card price + footer */
.service-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}
.service-footer {
  justify-content: space-between;
}

/* Service nav (sidebar on detail pages) */
.service-nav-list { display: flex; flex-direction: column; gap: 4px; }
.service-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--body-text);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
}
.service-nav-item:hover { background: var(--section-bg); color: var(--orange); }
.service-nav-item.active {
  background: #FFF7ED;
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 500;
}
.service-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Service detail page layout */
.service-detail-hero {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 50%, #F0FDF4 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-price { font-size: 28px; font-weight: 700; color: var(--orange); margin-bottom: 16px; }
.service-detail-section { margin-bottom: 32px; }
.service-detail-section h3 { font-size: 18px; font-weight: 700; color: var(--dark-text); margin-bottom: 12px; }
.service-detail-section p { font-size: 14px; color: var(--body-text); line-height: 1.7; margin-bottom: 10px; }
.service-detail-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .service-detail-grid { grid-template-columns: repeat(2, 1fr); } }
.service-detail-card { background: var(--section-bg); border-radius: 10px; padding: 20px; }
.service-detail-card h4 { font-size: 15px; font-weight: 600; color: var(--dark-text); margin-bottom: 8px; }
.service-detail-card p { font-size: 13px; color: var(--light-text); line-height: 1.6; }
.service-cta { background: var(--section-bg); border-radius: 12px; padding: 24px; text-align: center; }
.service-cta h3 { font-size: 18px; font-weight: 600; color: var(--dark-text); margin-bottom: 8px; }
.service-cta p { font-size: 14px; color: var(--light-text); margin-bottom: 16px; }

/* ==========================================
   DELIVERY PAGE
   ========================================== */
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
}
.delivery-block {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 32px;
}
.delivery-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.delivery-icon {
  width: 48px;
  height: 48px;
  background: #FFF7ED;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.delivery-icon svg { width: 24px; height: 24px; }
.delivery-icon.green { background: #DCFCE7; color: var(--success); }
.delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.delivery-item svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}
.delivery-item-title { font-weight: 500; color: var(--dark-text); margin-bottom: 2px; }
.delivery-item-text { font-size: 14px; color: var(--light-text); }
.delivery-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ==========================================
   CONTACTS PAGE
   ========================================== */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .contacts-layout { grid-template-columns: 1fr 1fr; }
}
.contact-card {
  background: var(--section-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: #FFF7ED;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-icon.blue { background: #EFF6FF; color: #2563EB; }
.contact-icon.green { background: #DCFCE7; color: var(--success); }
.contact-icon.purple { background: #F3E8FF; color: #9333EA; }
.contact-card-title { font-size: 16px; font-weight: 600; color: var(--dark-text); }
.contact-card-text { font-size: 15px; color: var(--body-text); line-height: 1.7; }
.contact-card-text a { color: var(--orange); font-weight: 500; transition: color 0.2s; }
.contact-card-text a:hover { color: var(--orange-hover); }
.contact-hours-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.contact-hours-row:last-child { border-bottom: none; }
.contact-hours-day { color: var(--body-text); }
.contact-hours-time { color: var(--dark-text); font-weight: 500; }
.contacts-form-wrapper { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.contacts-form-title { font-size: 20px; font-weight: 700; color: var(--dark-text); margin-bottom: 8px; }
.contacts-form-subtitle { font-size: 14px; color: var(--light-text); margin-bottom: 24px; }
.contacts-form .form-group { margin-bottom: 16px; }
.contacts-form .form-input { padding: 14px 16px; font-size: 15px; }
.contacts-map-section { margin-top: 48px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.contacts-map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* Филиалы */
.branches-section { margin-top: 48px; }
.branches-title { font-size: 24px; font-weight: 700; color: var(--dark-text); margin-bottom: 20px; }
.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
}
.branch-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.branch-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.branch-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: #FFF7ED;
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.branch-icon svg { width: 24px; height: 24px; }
.branch-city { font-size: 17px; font-weight: 700; color: var(--dark-text); margin-bottom: 6px; }
.branch-address { font-size: 14px; color: var(--light-text); line-height: 1.5; }

.contacts-requisites { margin-top: 48px; }
.contacts-requisites h2 { font-size: 24px; font-weight: 700; color: var(--dark-text); margin-bottom: 20px; }
.requisites-table { width: 100%; max-width: 700px; }
.requisites-table .product-spec-item:last-child { border-bottom: none; }
.messengers { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.messenger-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; color: white; transition: opacity 0.2s; text-decoration: none; }
.messenger-btn:hover { opacity: 0.85; color: white; }
.messenger-btn svg { width: 16px; height: 16px; }
.msg-telegram { background: #0088CC; }
.msg-whatsapp { background: #25D366; }
.contact-card-text .messenger-btn,
.contact-card-text .messenger-btn:hover { color: #fff; }

/* ==========================================
   GRID LAYOUT HELPERS
   ========================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 280px 1fr; }
}
/* Не даём широкому содержимому сайдбара фильтров растягивать всю
   сетку шире вьюпорта на мобильных (классическая проблема min-width:auto) */
.two-col > * { min-width: 0; }

/* ==========================================
   UTILITIES
   ========================================== */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-6 { margin-top: 24px; }
.hidden { display: none; }
@media (min-width: 1024px) { .lg-block { display: block !important; } }

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ==========================================
   PRODUCT OPTIONS - AREA SELECTOR
   ========================================== */
.product-options-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 12px;
}
.area-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (min-width: 480px) {
  .area-options { grid-template-columns: repeat(3, 1fr); }
}
.area-option {
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}
.area-option:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.area-option.active {
  border-color: var(--orange);
  background: #FFF7ED;
  color: var(--orange);
}

/* Product stock */
.product-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--success);
  margin-bottom: 16px;
}
.product-stock svg { width: 16px; height: 16px; }

/* Product quantity */
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product-qty-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
}
.product-qty {
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-qty button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark-text);
  background: white;
  transition: background 0.2s;
}
.product-qty button:hover { background: var(--section-bg); }
.product-qty span {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  width: 32px;
  text-align: center;
}

/* ==========================================
   PRODUCT TABS
   ========================================== */
.product-tabs {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.tabs-header {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--light-text);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
}
.tab-btn:hover { color: var(--dark-text); }
.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 12px;
}
.tab-specs-table {
  width: 100%;
  max-width: 600px;
}
.tab-specs-table .product-spec-item:last-child {
  border-bottom: none;
}

/* ===== PROMO BAR ===== */
@keyframes promoGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes promoPulse {
  0%, 100% { opacity: 1; letter-spacing: 0.04em; }
  50%       { opacity: 0.85; letter-spacing: 0.07em; }
}
@keyframes promoIconSpin {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(-15deg) scale(1.2); }
  75%  { transform: rotate(15deg) scale(1.2); }
  100% { transform: rotate(0deg) scale(1); }
}
.promo-bar {
  background: linear-gradient(270deg, #E8401A, #1B75BB, #E8401A, #1B75BB);
  background-size: 400% 400%;
  animation: promoGradient 6s ease infinite;
  padding: 10px 0;
  text-align: center;
  overflow: hidden;
}
.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.promo-bar-text {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.promo-bar-icon {
  font-size: 18px;
  animation: promoIconSpin 3s ease-in-out infinite;
  display: inline-block;
}
.promo-bar-icon:last-child {
  animation-delay: 1.5s;
}
@media (max-width: 600px) {
  .promo-bar-text { font-size: 13px; }
  .promo-bar-icon { font-size: 15px; }
}

/* ============================================
   НОВОЕ НАВИГАЦИОННОЕ МЕНЮ
   ============================================ */

/* --- Общие nav стили --- */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  color: #1E3A5F;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: none;
}
.nav-link:hover,
.nav-services-wrap:hover > .nav-link {
  background: #EFF6FF;
  color: #1B75BB;
}
.nav-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform 0.22s;
  opacity: 0.6;
}
.nav-link--arrow:hover .nav-chevron,
.nav-services-wrap:hover .nav-chevron { opacity: 1; transform: rotate(180deg); }

/* --- Кнопка "Каталог" --- */
.nav-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  margin-right: 40px;
  background: linear-gradient(135deg, #1B75BB 0%, #1460A0 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 10px rgba(27,117,187,0.30);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.nav-catalog-btn:hover {
  background: linear-gradient(135deg, #1460A0 0%, #E8401A 120%);
  box-shadow: 0 5px 18px rgba(27,117,187,0.40);
  transform: translateY(-1px);
}
.nav-catalog-wrap.is-open .nav-catalog-btn {
  background: linear-gradient(135deg, #1460A0 0%, #1B75BB 100%);
}
.nav-catalog-wrap.is-open .nav-chevron { transform: rotate(180deg); opacity: 1; }
.nav-grid-icon { width: 14px; height: 14px; flex-shrink: 0; }

/* --- Dropdown базовые стили --- */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.13), 0 2px 10px rgba(0,0,0,0.07);
  padding: 7px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 999;
}
/* Стрелочка-треугольник сверху */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
  box-shadow: -2px -2px 5px rgba(0,0,0,0.04);
}

/* Каталог — открывается по клику */
.nav-catalog-wrap.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Услуги — открывается по hover */
.nav-services-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
/* Задержка скрытия — курсор успевает дойти до дропдауна */
.nav-services-wrap .nav-dropdown {
  top: calc(100% + 4px);
  transition: opacity 0.2s ease 0.2s, transform 0.2s ease 0.2s, visibility 0s 0.4s;
}

/* --- Элемент дропдауна --- */
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #1E3A5F;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.nav-dd-item:hover {
  background: #EFF6FF;
  color: #1B75BB;
  padding-left: 17px;
}
.nav-dd-caret { width: 6px; height: 10px; flex-shrink: 0; opacity: 0.45; margin-left: auto; }

/* --- Вложенные подкатегории (флайаут) --- */
.nav-dd-row { position: relative; }
.nav-dd-flyout {
  position: absolute;
  top: -7px;
  left: 100%;
  margin-left: 6px;
  min-width: 230px;
  overflow: visible;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.13), 0 2px 10px rgba(0,0,0,0.07);
  padding: 7px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1000;
}
.nav-dd-row.has-children:hover > .nav-dd-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
}
.nav-dd-row.flyout-left > .nav-dd-flyout {
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 6px;
}
.nav-dd-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}
.nav-dd-item:hover .nav-dd-icon { opacity: 1; }

.nav-dd-divider {
  height: 1px;
  background: #E8F0FE;
  margin: 5px 7px;
}
.nav-dd-all { color: #E8401A; font-weight: 600; }
.nav-dd-all:hover { background: #FFF5F2; color: #E8401A; }

/* ============================================
   МОБИЛЬНАЯ НАВИГАЦИЯ (drill-down по экранам)
   ============================================ */
.mob-drill {
  position: relative;
  overflow: hidden;
}
.mob-drill-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
  pointer-events: none;
}
.mob-drill-screen.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mob-drill-list { padding: 4px 0 8px; }

/* Простые пункты в одну строку: корневые триггеры и листовые ссылки */
a.mob-drill-row,
button.mob-drill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 1px solid #F3F4F6;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
a.mob-drill-row:hover,
button.mob-drill-row:hover { color: var(--orange); background: #FAFBFC; }
.mob-drill-row--parent svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: #9CA3AF;
  transition: color 0.15s;
}
.mob-drill-row--parent:hover svg { color: var(--orange); }

/* Категории с подкатегориями: ссылка + отдельная кнопка-стрелка */
.mob-drill-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #F3F4F6;
}
.mob-drill-row-link {
  flex: 1;
  min-width: 0;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.15s;
}
.mob-drill-row-link:hover { color: var(--orange); }
.mob-drill-expand {
  flex-shrink: 0;
  width: 46px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
}
.mob-drill-expand svg { width: 18px; height: 18px; }
.mob-drill-expand:hover { color: var(--orange); }

/* Заголовок вложенного экрана и кнопка «Назад» */
.mob-drill-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px 2px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
}
.mob-drill-back svg { width: 16px; height: 16px; flex-shrink: 0; }
.mob-drill-title {
  padding: 6px 20px 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-text);
}

/* Адаптив — скрываем desktop nav */
@media (max-width: 992px) {
  .nav { display: none; }
}


/* ============================================
   HERO VIDEO BACKGROUND
   ============================================ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
/* На мобиле — останавливаем воспроизведение через CSS для экономии трафика */
@media (max-width: 480px) {
  .hero-video { display: none; }
  .hero-bg { background: url('../images/hero/hero-banner.jpg') center/cover no-repeat; }
}

/* ============================================
   YOUTUBE MODAL
   ============================================ */
.yt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.yt-modal-overlay.active { display: flex; }
.yt-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.yt-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 4px;
  z-index: 2;
}
.yt-modal-close svg { width: 28px; height: 28px; }
.yt-modal-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.yt-modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================
   CATALOG & PRODUCT PAGES
   ========================================== */
.catalog-page {
  padding: 32px 0 48px;
  min-height: 460px;
}

/* No-sidebar modifier for two-col */
.two-col.no-sidebar {
  display: block;
}

/* Filter sidebar mobile collapse */
#filterPanel {
  display: none;
}
#filterPanel.open {
  display: block;
}
@media (min-width: 1024px) {
  #filterPanel { display: block; }
  .filter-toggle { display: none; }
}

/* Sort toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.catalog-toolbar-results {
  font-size: 13px;
  color: var(--light-text);
}
.catalog-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.catalog-toolbar-sort label {
  font-size: 13px;
  color: var(--body-text);
  white-space: nowrap;
}
.sort-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 30px 8px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--dark-text);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--orange); }
@media (max-width: 639px) {
  .catalog-toolbar-sort { margin-left: 0; width: 100%; }
  .sort-select { flex: 1 1 auto; }
}

/* Pagination */
.catalog-pagination {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.catalog-pagination ul li a,
.catalog-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--body-text);
  transition: all 0.2s;
}
.catalog-pagination ul li.active span,
.catalog-pagination ul li a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

/* Empty state */
.catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 0;
  color: var(--light-text);
}
.catalog-empty p { margin-bottom: 20px; font-size: 16px; }

/* Product card image link */
.product-card-img-link {
  display: block;
  text-decoration: none;
}

/* Product card title as link */
.product-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  text-decoration: none;
}
.product-card-title:hover { color: var(--orange); }

/* Special price in card */
.price-old-sm {
  font-size: 13px;
  color: var(--lighter-text);
  text-decoration: line-through;
  margin-right: 6px;
}
.price-new-sm {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

/* Product page old price */
.product-price-old {
  font-size: 20px;
  color: var(--lighter-text);
  text-decoration: line-through;
  margin-right: 10px;
  font-weight: 400;
}

/* Product option group spacing */
.product-option-group {
  margin-bottom: 20px;
}

/* Quantity input (replaces span in design) */
.product-qty-input {
  width: 44px;
  height: 36px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  padding: 0;
  background: white;
  outline: none;
}
.product-qty-input:focus { border-color: var(--orange); }

/* Gallery thumbnails */
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}
.product-thumb-item {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  background: white;
}
.product-thumb-item:hover { border-color: var(--orange); }
.product-thumb-item.active { border-color: var(--orange); }

/* Cart success alert on product page */
/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #1460A0;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  min-width: 280px;
  max-width: 360px;
  pointer-events: all;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast.hide {
  opacity: 0;
  transform: translateX(-40px);
}
@media (max-width: 640px) {
  .toast-container { left: 12px; right: 12px; bottom: 12px; }
  .toast { min-width: 0; max-width: none; width: 100%; }
}
.toast-icon {
  width: 36px;
  height: 36px;
  background: #EFF6FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1460A0;
}
.toast-icon svg { width: 18px; height: 18px; }
.toast-text {
  flex: 1;
  font-size: 14px;
  color: var(--dark-text);
  line-height: 1.4;
}

.product-cart-alert { display: none; }

/* Related products section */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 24px;
}

/* Category intro */
.category-intro {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.category-intro-img {
  max-width: 120px;
  border-radius: 8px;
  flex-shrink: 0;
}
.category-intro-desc {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.7;
}

/* Subcategories nav */
.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.subcategory-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 96px;
  padding: 18px 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(155deg, var(--white) 0%, var(--section-bg) 100%);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
.subcategory-card::before {
  content: '❄';
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  color: var(--orange);
  opacity: 0.18;
  transition: opacity 0.2s, transform 0.3s;
}
.subcategory-card::after {
  content: '❆';
  position: absolute;
  bottom: -14px;
  left: -10px;
  font-size: 40px;
  color: var(--orange);
  opacity: 0.06;
  transition: opacity 0.2s;
}
.subcategory-card:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.subcategory-card:hover::before {
  opacity: 0.4;
  transform: rotate(20deg) scale(1.15);
}
.subcategory-card:hover::after {
  opacity: 0.12;
}

@media (max-width: 1024px) {
  .subcategories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .subcategories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .subcategory-card { min-height: 78px; font-size: 13px; padding: 12px 10px; }
}

/* ==========================================
   BRAND CAROUSEL (страница категории "Бытовые
   кондиционеры" — заменяет плашки подкатегорий)
   ========================================== */
.brand-slider-wrap {
  position: relative;
  margin-bottom: 28px;
}
.brand-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.brand-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.brand-slider::-webkit-scrollbar { display: none; }
.brand-track {
  display: flex;
  gap: 14px;
}
.brand-card {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc((100% - 4 * 14px) / 5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 96px;
  padding: 14px 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(155deg, var(--white) 0%, var(--section-bg) 100%);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-text);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s, background 0.2s;
}
.brand-card:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.brand-card.is-active {
  border-color: var(--orange);
  background: linear-gradient(155deg, #FFF4EA 0%, #FFEBD9 100%);
  color: var(--orange-hover);
  box-shadow: var(--shadow);
}
.brand-card-logo {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
}
.brand-card-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .brand-card { width: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 640px) {
  .brand-track { gap: 10px; }
  .brand-card { width: calc((100% - 10px) / 2); min-height: 78px; font-size: 13px; padding: 12px 10px; }
}

/* Стрелки — визуально идентичны .recommend-arrow */
.brand-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-text);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.brand-arrow:hover { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(245,130,32,0.35); }
.brand-arrow svg { width: 18px; height: 18px; }
.brand-arrow--prev { left: -12px; }
.brand-arrow--next { right: -12px; }
.brand-arrow.is-disabled { opacity: 0.35; pointer-events: none; }
@media (max-width: 767px) {
  .brand-arrow { display: none; }
}

/* Скрытый на странице "Бытовые кондиционеры" блок "Производитель" в левом
   фильтре — чекбоксы остаются в DOM для AJAX-фильтра, см. brand-carousel.js */
.filter-group-hidden {
  display: none;
}

/* "Тип кондиционера" — ссылки на подкатегории в левом фильтре */
.filter-type-link {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--body-text);
  text-decoration: none;
}
.filter-type-link:hover { color: var(--orange); }

/* Product tags */
.product-tags {
  margin-top: 24px;
  font-size: 13px;
}
.product-tag {
  color: var(--orange);
  text-decoration: none;
}
.product-tag:hover { text-decoration: underline; }

/* Review stars */
.review-stars {
  display: flex;
  gap: 16px;
  font-size: 14px;
}
.review-star-label { cursor: pointer; color: var(--body-text); }

/* ============================================
   СТРАНИЦА «О КОМПАНИИ»
   ============================================ */
.page-subtitle {
  font-size: 15px;
  color: var(--light-text);
  margin-bottom: 32px;
  margin-top: -8px;
}
.about-hero {
  background: linear-gradient(135deg, #1E3A5F 0%, #2D5A87 50%, #F58220 100%);
  border-radius: 16px;
  padding: 48px 32px;
  color: white;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.about-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.about-hero-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; position: relative; }
.about-hero-text  { font-size: 16px; line-height: 1.7; opacity: 0.95; max-width: 600px; position: relative; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-box { background: var(--section-bg); border-radius: 12px; padding: 24px; text-align: center; }
.stat-box-number { font-size: 32px; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.stat-box-label  { font-size: 14px; color: var(--light-text); }

.about-section { margin-bottom: 48px; }
.about-section h2 { font-size: 24px; font-weight: 700; color: var(--dark-text); margin-bottom: 16px; }
.about-section p  { font-size: 15px; color: var(--body-text); line-height: 1.8; margin-bottom: 12px; }

.two-col-equal { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .two-col-equal { grid-template-columns: 1fr 1fr; } }

.about-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.about-card:hover { box-shadow: var(--shadow); }
.about-card-icon {
  width: 48px; height: 48px;
  background: #FFF7ED;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 14px;
}
.about-card-icon svg { width: 22px; height: 22px; }
.about-card-title { font-size: 16px; font-weight: 600; color: var(--dark-text); margin-bottom: 8px; }
.about-card-text  { font-size: 14px; color: var(--light-text); line-height: 1.6; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -28px; top: 2px;
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline-year { font-size: 14px; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.timeline-text { font-size: 14px; color: var(--body-text); line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card  { text-align: center; }
.team-avatar {
  width: 80px; height: 80px;
  background: var(--section-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px; font-weight: 700;
  color: var(--orange);
}
.team-name { font-size: 15px; font-weight: 600; color: var(--dark-text); margin-bottom: 2px; }
.team-role { font-size: 13px; color: var(--light-text); }

.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-card { background: var(--section-bg); border-radius: 10px; padding: 20px; text-align: center; }
.cert-card svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: 10px; }
.cert-card-title { font-size: 13px; font-weight: 600; color: var(--dark-text); }

/* ============================================
   СТРАНИЦА БРЕНДОВ (ПРОИЗВОДИТЕЛИ)
   ============================================ */
.brands-page-title { font-size: 28px; font-weight: 700; color: var(--dark-text); margin-bottom: 8px; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 480px)  { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .brands-grid { grid-template-columns: repeat(5, 1fr); } }
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 120px;
  gap: 12px;
}
.brand-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.brand-card-logo {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.2s;
}
.brand-card:hover .brand-card-logo img { filter: grayscale(0); }
.brand-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  text-align: center;
}
.brands-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.brands-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.brands-alpha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
  text-decoration: none;
  transition: all 0.15s;
}
.brands-alpha-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #FFF7ED;
}

/* ============================================
   СТРАНИЦА ПОИСКА
   ============================================ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-bar-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.search-bar-input-wrap input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  color: var(--dark-text);
}
.search-bar-input-wrap:focus-within { border-color: var(--orange); }
.search-bar-btn {
  padding: 11px 20px;
  background: var(--orange);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.search-bar-btn:hover { background: var(--orange-hover); }
.search-results-info {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 20px;
}
.search-results-info strong { color: var(--dark-text); }
.search-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--light-text);
}
.search-empty svg { width: 56px; height: 56px; margin-bottom: 16px; opacity: 0.3; }
.search-empty h2 { font-size: 20px; font-weight: 600; color: var(--dark-text); margin-bottom: 8px; }
.search-empty p { font-size: 15px; margin-bottom: 24px; }

/* ==========================================
   ПЛАВАЮЩАЯ КНОПКА СВЯЗИ (FAB)
   ========================================== */
.fab-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fab-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.fab-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(14px) scale(0.5);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.fab-option svg { width: 22px; height: 22px; }
.fab-option--email { background: #1B75BB; }
.fab-option--whatsapp { background: #25D366; }
.fab-option--phone { background: var(--orange); }
.fab-contact.is-open .fab-option {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.fab-contact.is-open .fab-option--email { transition-delay: 0.02s; }
.fab-contact.is-open .fab-option--whatsapp { transition-delay: 0.07s; }
.fab-contact.is-open .fab-option--phone { transition-delay: 0.12s; }
.fab-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #E8401A 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245,130,32,0.45);
  animation: fabPulse 2.4s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fab-main:hover { transform: scale(1.06); }
.fab-main .fab-icon-plus { width: 26px; height: 26px; transition: transform 0.3s ease; }
.fab-contact.is-open .fab-main { animation: none; }
.fab-contact.is-open .fab-main .fab-icon-plus { transform: rotate(45deg); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(245,130,32,0.45), 0 0 0 0 rgba(245,130,32,0.4); }
  50% { box-shadow: 0 6px 20px rgba(245,130,32,0.45), 0 0 0 10px rgba(245,130,32,0); }
}
@media (max-width: 640px) {
  .fab-contact { right: 14px; bottom: 14px; }
  .fab-main { width: 54px; height: 54px; }
  .fab-option { width: 42px; height: 42px; }
}

/* ==========================================
   БРЕНДЫ (слайдер логотипов на главной)
   ========================================== */
.brands-section { overflow: hidden; padding-top: 4px; padding-bottom: 20px; }
.brands-slider {
  overflow: hidden;
  position: relative;
  cursor: grab;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.brands-slider.is-dragging { cursor: grabbing; }
.brands-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
}
.brand-item {
  flex: 0 0 auto;
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.brand-item:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  border-color: transparent;
  transform: translateY(-3px);
}
.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.brand-item:hover img {
  filter: grayscale(0) opacity(1);
}
@media (max-width: 639px) {
  .brand-item { width: 120px; height: 68px; padding: 10px 16px; }
  .brands-slider {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
}

/* ==========================================
   РЕКОМЕНДУЕМ (слайдер на главной)
   ========================================== */
.recommend-section { padding-top: 0; }
.recommend-section .section-title { margin-bottom: 32px; }
.recommend-slider-wrap {
  position: relative;
}
.recommend-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.recommend-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.recommend-slider::-webkit-scrollbar { display: none; }
.recommend-track {
  display: flex;
  gap: 20px;
}
.recommend-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 78%;
}
@media (min-width: 480px) {
  .recommend-item { width: calc((100% - 20px) / 2); }
}
@media (min-width: 768px) {
  .recommend-item { width: calc((100% - 2 * 20px) / 3); }
}
@media (min-width: 1024px) {
  .recommend-item { width: calc((100% - 3 * 20px) / 4); }
}
.recommend-item .product-card-img-link { display: block; }
.recommend-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.recommend-item .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.recommend-item .product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
}

/* Стрелки */
.recommend-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-text);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.recommend-arrow:hover { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(245,130,32,0.35); }
.recommend-arrow svg { width: 20px; height: 20px; }
.recommend-arrow--prev { left: -14px; }
.recommend-arrow--next { right: -14px; }
.recommend-arrow.is-disabled { opacity: 0.35; pointer-events: none; }
@media (max-width: 767px) {
  .recommend-arrow { display: none; }
}
