/* ═══════════════════════════════════════════════════
   ТВОЄ СВІТЛО — головний stylesheet
   Тема: преміум, світло-зелена, як sun-prosto.com.ua
═══════════════════════════════════════════════════ */

/* ──────────────── ЗМІННІ */
:root {
  --green-900: #144d26;
  --green-800: #1a6130;
  --green-700: #22763b;
  --green-600: #2e8b47;   /* основний бренд */
  --green-500: #3aa656;   /* кнопки */
  --green-400: #55c070;
  --green-100: #c6e8d0;
  --green-50:  #e8f5ec;
  --green-25:  #f4faf6;

  --orange:    #e65100;
  --orange-bg: #fff3e0;

  --white:  #ffffff;
  --text-1: #192a1e;   /* майже чорний зі зеленим відтінком */
  --text-2: #4a5e50;
  --text-3: #7a907e;
  --border: #d4e8da;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.13);

  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ──────────────── РЕСЕТ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ──────────────── КОНТЕЙНЕР */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────── КНОПКИ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  min-height: 44px;          /* touch target iOS/Android */
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 8px 24px rgba(46,139,71,.4);
  transform: translateY(-2px) scale(1.03);
}

.btn-outline {
  background: transparent;
  color: var(--green-600);
  border-color: var(--green-600);
}
.btn-outline:hover {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(46,139,71,.3);
  transform: translateY(-2px) scale(1.03);
}

.btn-white {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--green-25);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform: translateY(-2px) scale(1.03);
}

.btn-sm { font-size: 13px; padding: 9px 20px; }
.btn-lg { font-size: 17px; padding: 16px 36px; border-radius: 10px; }
.btn-full { width: 100%; }

/* ──────────────── TOP BAR */
.top-bar {
  background: var(--green-800);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar__info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar a {
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.top-bar a:hover { color: var(--white); }
.top-bar a { transition: color .3s; }
.top-bar__icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
.top-bar .role-label {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  margin-right: 2px;
}

/* ──────────────── ШАПКА */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.logo__sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ──────────────── НАВІГАЦІЯ */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .3s, background .3s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: var(--green-700);
  background: var(--green-25);
}
.nav a.active {
  font-weight: 600;
}

/* ── Підменю Каталогу ── */
.nav-catalog-wrap { position: relative; }

.nav-catalog-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .3s, background .3s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.nav-catalog-btn:hover,
.nav-catalog-btn.active { color: var(--green-700); background: var(--green-25); }
.nav-catalog-btn.active { font-weight: 600; }

.nav-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform .2s;
}
.nav-catalog-wrap.open .nav-arrow { transform: rotate(180deg); }

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 200px;
  padding: 8px;
  z-index: 200;
}
.nav-catalog-wrap.open .nav-submenu { display: flex; }
.nav-submenu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-600) !important;
  padding: 10px 14px 10px 20px !important;
  border-radius: 6px;
  background: transparent !important;
}
.nav-submenu a:hover { background: var(--green-50) !important; color: var(--green-700) !important; }

.header__cta {
  margin-left: 8px;
  flex-shrink: 0;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.header.menu-open .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.menu-open .header__burger span:nth-child(2) { opacity: 0; }
.header.menu-open .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────── ГЕРОЙ */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%);
  padding: 60px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 52px;
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}
.hero__title {
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.hero__title span { color: #a8e6bc; }
.hero__accent { color: #4CAF50 !important; }
.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero__perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  letter-spacing: .01em;
}
.hero__perks__sep {
  color: rgba(255,255,255,.25);
  font-size: 11px;
}

/* Анімація появи hero-елементів при завантаженні */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge   { animation: heroFadeUp .55s ease both; }
.hero__title   { animation: heroFadeUp .55s ease both; animation-delay: .2s; }
.hero__sub     { animation: heroFadeUp .55s ease both; animation-delay: .4s; }
.hero__actions { animation: heroFadeUp .55s ease both; animation-delay: .6s; }
.hero__perks   { animation: heroFadeUp .55s ease both; animation-delay: .8s; }

/* Стрілка ↓ bounce */
@keyframes heroArrowBounce {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50%       { transform: translateY(10px); opacity: .75; }
}
.hero__scroll-down {
  margin-top: 18px;
  font-size: 22px;
  color: rgba(255,255,255,.5);
  animation: heroArrowBounce 1.8s ease-in-out 1.2s infinite;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  display: block;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* ──────────────── ОПТ-КАРТКИ */
.opt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.opt-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.opt-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 56px rgba(0,0,0,.22);
}
.opt-card__hot {
  background: linear-gradient(90deg, var(--orange) 0%, #ff6d00 100%);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.opt-card__img-wrap {
  background: var(--green-25);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.opt-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.opt-card:hover .opt-card__img { transform: scale(1.04); }
.opt-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.opt-card__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 6px;
}
.opt-card__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text-1);
  margin-bottom: 12px;
  line-height: 1.2;
}
.opt-card__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.opt-card__spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
}
.opt-card__spec::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
}
.opt-card__pricing {
  background: var(--green-25);
  border: 1px solid var(--green-100);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.opt-card__price {
  font-size: 38px;
  font-weight: 800;
  color: #16a34a;
  letter-spacing: -.03em;
  line-height: 1;
}
.opt-card__price-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}
.opt-card__min {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.opt-card__min b { color: var(--text-2); }
.opt-card__cta { margin-top: auto; }

/* ──────────────── СЕКЦІЇ */
.section { padding: 80px 0; }
.section-alt { background: var(--green-25); }
.section-dark {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--white);
}

.section__head {
  text-align: center;
  margin-bottom: 52px;
}
.section__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section-dark .section__tag { color: var(--green-400); }
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text-1);
}
.section-dark .section__title { color: var(--white); }
.section__sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.6;
}
.section-dark .section__sub { color: rgba(255,255,255,.65); }

/* ──────────────── КАЛЬКУЛЯТОР */
.calc-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 56px;
  border: 1px solid var(--border);
}
.calc-wrap .section__head { margin-bottom: 36px; }
.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.field input, .field select {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-1);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.field input:focus, .field select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(58,166,86,.12);
}
/* ── Вибір класу обладнання ── */
.calc-class-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.calc-class-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.calc-class-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-class-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 120px;
  height: 58px;
  padding: 0 20px;
  border: 2px solid var(--green-600);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-600);
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.calc-class-btn span {
  font-size: 11px;
  font-weight: 400;
  color: var(--green-500);
  transition: color .2s;
}
.calc-class-btn:hover {
  background: var(--green-50);
  border-color: var(--green-700);
  color: var(--green-700);
}
.calc-class-btn.active {
  background: #1a6b3a;
  border-color: #1a6b3a;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,107,58,.28);
}
.calc-class-btn.active span { color: rgba(255,255,255,.75); }

/* ── Результат калькулятора ── */
@keyframes calcFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.calc-result { display: none; }
.calc-result.visible {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: calcFadeIn .4s ease;
}

/* 4 картки результату */
.calc-result__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.calc-result__card {
  background: var(--green-25);
  border: 1px solid var(--green-100);
  border-radius: var(--r);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.calc-result__icon { font-size: 26px; line-height: 1; margin-bottom: 2px; }
.calc-result__label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.3;
}
.calc-result__val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.calc-result__val.green { color: #16a34a; }
.calc-result__sub { font-size: 11px; color: var(--text-3); line-height: 1.35; }

/* Прогрес-бар окупності */
.calc-payback-bar {
  background: var(--green-25);
  border: 1px solid var(--green-100);
  border-radius: var(--r);
  padding: 14px 20px;
}
.calc-payback-bar__labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.calc-payback-bar__track {
  height: 12px;
  background: var(--green-100);
  border-radius: 6px;
  overflow: hidden;
}
.calc-payback-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--green-600));
  border-radius: 6px;
  width: 0%;
}

/* CTA внизу результату */
.calc-result__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.calc-result__footer p {
  font-size: 13px;
  color: var(--text-3);
  flex: 1;
  min-width: 200px;
}

/* ──────────────── ПЕРЕВАГИ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.adv-card:hover {
  border-color: var(--green-400);
  box-shadow: 0 10px 32px rgba(0,0,0,.1);
  transform: translateY(-6px);
}
.adv-card__icon {
  width: 56px;
  height: 56px;
  background: var(--green-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green-600);
}
.adv-card__icon svg { width: 28px; height: 28px; }
.adv-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -.015em;
}
.adv-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ──────────────── КРОКИ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  counter-reset: steps;
}
.step-card {
  background: rgba(255,255,255,.07);
  border-radius: 0;
  padding: 40px 28px;
  position: relative;
}
.step-card:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.step-card:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.step-card::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,.1);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -.04em;
}
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ──────────────── CTA БАНЕР */
.cta-band {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
  padding: 60px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band__text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.cta-band__text p { font-size: 16px; color: rgba(255,255,255,.75); }
.cta-band__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ──────────────── ФУТЕР */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand .logo__text {
  background: linear-gradient(135deg, #ffffff 20%, var(--green-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer__brand .logo__sub { color: rgba(255,255,255,.45); }
.footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col a:hover { color: var(--white); }
.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer__contact-item .role {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer__contact-item a {
  font-size: 16px;
  font-weight: 700;
  color: var(--white) !important;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer__bottom a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer__bottom a:hover { color: rgba(255,255,255,.7); }

/* ──────────────── КАТАЛОГ */
.page-banner {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  padding: 52px 0 44px;
}
.page-banner h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.page-banner p { font-size: 16px; color: rgba(255,255,255,.7); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.35); }

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-600);
  padding: 12px 22px;
  border: 2px solid var(--green-600);
  border-radius: 8px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
  background: #fff;
  font-family: var(--font);
}
.cat-tab:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.cat-tab.active {
  background: #1a6b3a;
  color: #fff;
  border-color: #1a6b3a;
}
.cat-tab__icon { width: 20px; height: 20px; flex-shrink: 0; }

.cat-section { display: none; }
.cat-section.active { display: block; }

.cat-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.cat-section__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.025em;
}
.cat-section__sub { font-size: 14px; color: var(--text-3); margin-top: 4px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 14px 44px rgba(0,0,0,.14);
  transform: translateY(-7px);
  border-color: var(--green-100);
}
.product-card__img-wrap {
  background: var(--green-25);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform .3s var(--ease);
}
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__placeholder {
  width: 80px;
  height: 80px;
  color: var(--green-100);
}
.product-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 6px;
}
.product-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -.015em;
  margin-bottom: 8px;
}
.product-card__desc { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.product-card__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-card__price { font-size: 22px; font-weight: 800; color: #16a34a; letter-spacing: -.025em; }
.product-card__price span { font-size: 13px; font-weight: 400; color: var(--text-3); }

.placeholder-product {
  opacity: .5;
  pointer-events: none;
}
.placeholder-product .product-card__img-wrap {
  background: #f5f5f5;
}

/* ──────────────── ПРО НАС */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro__text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.about-intro__text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-intro__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-intro__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--green-400);
  font-size: 14px;
}
.about-img-placeholder svg { width: 64px; height: 64px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-box {
  background: var(--green-700);
  padding: 40px 32px;
  text-align: center;
}
.stat-box:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.stat-box:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.stat-box__num {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box__num span { font-size: 24px; font-weight: 500; color: var(--green-400); }
.stat-box__lbl { font-size: 14px; color: rgba(255,255,255,.65); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  border-left: 3px solid var(--green-500);
  padding: 24px 24px 24px 28px;
  background: var(--white);
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ──────────────── КОНТАКТИ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.contact-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
  border-color: var(--green-100);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-card__val { font-size: 18px; font-weight: 700; color: var(--text-1); }
.contact-card__val a { color: var(--text-1); transition: color .2s; }
.contact-card__val a:hover { color: var(--green-700); }
.contact-card__sub { font-size: 13px; color: var(--text-3); margin-top: 4px; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.contact-form-wrap > p { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field-full { grid-column: 1 / -1; }
.field textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-1);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
  resize: vertical;
  min-height: 100px;
}
.field textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(58,166,86,.12);
}

/* ──────────────── МОДАЛЬНЕ ВІКНО */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  transform: translateY(16px) scale(.97);
  transition: transform .3s var(--ease);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.modal__close:hover { background: var(--green-25); color: var(--text-1); }
.modal__close svg { width: 16px; height: 16px; }
.modal__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.modal__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.modal__product {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--green-25);
  border-radius: 8px;
  border-left: 3px solid var(--green-500);
}
.modal__product strong { color: var(--text-1); }
.modal__fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.modal__note {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
}
.modal__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.modal__success.visible { display: block; }
.modal__success__icon {
  width: 64px;
  height: 64px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green-600);
}
.modal__success h3 { font-size: 22px; font-weight: 800; color: var(--text-1); margin-bottom: 10px; }
.modal__success p  { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* ──────────────── УТИЛІТИ */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.gap-2 { gap: 8px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ──────────────── АНІМАЦІЯ ПОЯВИ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal][data-delay="1"].visible { transition-delay: .1s; }
[data-reveal][data-delay="2"].visible { transition-delay: .2s; }
[data-reveal][data-delay="3"].visible { transition-delay: .3s; }
[data-reveal][data-delay="4"].visible { transition-delay: .4s; }

/* ──────────────── КАРТКИ КАТЕГОРІЙ (аксесуари) */
.acc-cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.acc-cat-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.1);
  transform: translateY(-5px);
  border-color: var(--green-100);
}

/* ──────────────── ПРАЙС-ТАБЛИЦЯ КОМПЛЕКТУЮЧИХ */
.price-table-section {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.price-table-section__head {
  padding: 20px 24px;
  background: var(--green-25);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.price-table-section__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.price-table-section__sub {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.price-table thead th {
  padding: 13px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--green-50);
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.price-table thead th.col-price { text-align: right; }
.price-table thead th.col-dist {
  background: #fef9c3;
  color: #854d0e;
  text-align: right;
}
.price-table tbody tr {
  transition: background .2s;
}
.price-table tbody tr:not(.price-table__group-row):nth-child(even) td { background: #fafcfb; }
.price-table tbody tr:not(.price-table__group-row):hover td { background: var(--green-25) !important; }
.price-table tbody tr:not(.price-table__group-row):hover td.col-dist { background: #fef3c7 !important; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.price-table td.col-price {
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-700);
  white-space: nowrap;
}
.price-table td.col-dist {
  text-align: right;
  background: #fffbeb;
  color: #92400e;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.price-table__name { font-weight: 600; color: var(--text-1); display: block; }
.price-table__desc {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 3px;
  line-height: 1.45;
  font-weight: 400;
}
.price-table-footer {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-3);
  background: var(--green-25);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
.price-table__group-row td {
  background: var(--green-900) !important;
  color: rgba(255,255,255,.75) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-bottom: none;
}
.price-table tbody tr:hover .price-table__group-row td,
.price-table__group-row:hover td { background: var(--green-900) !important; }
.col-req { opacity: .75; }
.price-table__req-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-600);
  text-decoration: none;
  transition: color .2s;
}
.price-table__req-link:hover { color: var(--green-700); }

/* ──────────────── АДАПТИВ 1024px */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:first-child { border-radius: var(--r-lg) 0 0 0; }
  .step-card:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  .step-card:nth-child(3) { border-radius: 0 0 0 var(--r-lg); }
  .step-card:last-child   { border-radius: 0 0 var(--r-lg) 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .calc-wrap { padding: 36px 40px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-box:first-child { border-radius: var(--r-lg) 0 0 0; }
  .stat-box:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
  .stat-box:nth-child(3) { border-radius: 0 0 0 var(--r-lg); }
  .stat-box:last-child   { border-radius: 0 0 var(--r-lg) 0; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──────────────── АДАПТИВ 768px */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .top-bar__info { display: none; }

  /* Top bar contacts на мобільному */
  .top-bar__contacts { gap: 12px; }
  .top-bar .role-label { display: none; }
  .top-bar a strong { font-size: 13px; }

  /* Прибираємо будь-який логотип із мобільного меню — лишаємо лише у header */
  .nav .logo { display: none !important; }

  /* Nav mobile — повноекранне меню */
  .nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    border-bottom: none;
    min-height: 50px;
    display: flex;
    align-items: center;
  }
  .nav a.active {
    background: var(--green-50);
    color: var(--green-700);
  }
  .header__cta { display: none; }
  .header__burger { display: flex; }
  .header__inner { gap: 8px; }

  /* Підменю Каталогу — мобільне */
  .nav-catalog-btn {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    min-height: 50px;
    justify-content: space-between;
    text-align: left;
  }
  .nav-submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--green-100);
    border-radius: 0;
    margin-left: 20px;
    padding: 4px 0;
    background: transparent;
    min-width: unset;
  }
  .nav-submenu a {
    font-size: 15px !important;
    padding: 10px 16px 10px 20px !important;
    min-height: 44px;
    display: flex !important;
    align-items: center;
  }

  /* Hero */
  .hero { padding: 40px 0 44px; }
  .opt-cards { grid-template-columns: 1fr; gap: 16px; }
  .opt-card__price { font-size: 30px; }

  /* Calc */
  .calc-wrap { padding: 28px 20px; }
  .calc-form { grid-template-columns: 1fr; }
  .calc-result__cards { grid-template-columns: 1fr 1fr; }
  .calc-class-row { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 2px; }
  .step-card { border-radius: 0 !important; }
  .step-card:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
  .step-card:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg) !important; }

  /* CTA */
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { flex-wrap: wrap; justify-content: center; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* About */
  .about-intro { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* Contacts */
  .contacts-grid { grid-template-columns: 1fr; }

  /* Catalog */
  .product-grid { grid-template-columns: 1fr; }
  .cat-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }

  /* Modal */
  .modal { padding: 28px 20px; }
}

/* ──────────────── АДАПТИВ 480px */
@media (max-width: 480px) {
  .adv-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-result__cards { grid-template-columns: 1fr 1fr; }
  .calc-result__footer { flex-direction: column; align-items: flex-start; }
  .opt-card__body { padding: 20px 16px; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }
}

/* ──────────────── АДАПТИВ 390px (iPhone SE / Android 360-390px) */
@media (max-width: 390px) {
  .container { padding: 0 12px; }

  /* Hero */
  .hero { padding: 28px 0 36px; }
  .hero__title { font-size: 28px; letter-spacing: -.025em; }
  .hero__sub { font-size: 14px; }
  .hero__badge { font-size: 11px; padding: 5px 12px; }

  /* OPT Cards */
  .opt-card__name { font-size: 18px; }
  .opt-card__price { font-size: 26px; }
  .opt-card__body { padding: 16px 12px; }
  .opt-card__pricing { padding: 12px 14px; }
  .opt-card__spec { font-size: 13px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section__title { font-size: 24px; }

  /* Calc */
  .calc-wrap { padding: 20px 14px; }
  .calc-result__val { font-size: 22px; }

  /* Buttons */
  .btn-lg { font-size: 15px; padding: 14px 24px; }

  /* Header */
  .logo__text { font-size: 18px; }
  .header__inner { height: 60px; }
  .nav { top: 60px; }

  /* Top bar */
  .top-bar { padding: 6px 0; }
  .top-bar a strong { font-size: 12px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer__grid { gap: 20px; }

  /* Modal */
  .modal { padding: 24px 16px; margin: 8px; max-width: calc(100vw - 16px); }
  .modal__title { font-size: 20px; }

  /* Steps */
  .step-card { padding: 28px 20px; }
}

/* ──────────────── СОЦМЕРЕЖІ (ФУТЕР) */
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: .85;
  transition: transform .25s var(--ease), opacity .25s, box-shadow .25s;
  flex-shrink: 0;
}
.footer__social-link:hover {
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.footer__social-link--ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer__social-link--tg { background: #229ED9; }
.footer__social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ──────────────── СОЦМЕРЕЖІ (СТОРІНКА КОНТАКТІВ) */
.contact-socials {
  display: flex;
  gap: 12px;
  padding: 12px 0 4px;
  flex-wrap: wrap;
}
.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-50);
  border: 1px solid var(--border);
  padding: 11px 20px;
  border-radius: var(--r);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.contact-social-btn:hover {
  background: var(--green-100);
  border-color: var(--green-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-1);
}
.contact-social-btn__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-social-btn__icon--ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.contact-social-btn__icon--tg { background: #229ED9; }
.contact-social-btn__icon svg { width: 15px; height: 15px; }

/* ──────────────── CALLBACK POPUP */
.callback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(4px);
}
.callback-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.callback-modal {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px 40px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 28px 72px rgba(0,0,0,.28);
  transform: scale(.92) translateY(20px);
  transition: transform .35s var(--ease);
  position: relative;
}
.callback-overlay.open .callback-modal {
  transform: scale(1) translateY(0);
}
.callback-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-3);
  transition: color .2s, background .2s;
}
.callback-modal__close:hover { background: var(--green-25); color: var(--text-1); }
.callback-modal__close svg { width: 14px; height: 14px; }
.callback-modal__accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.callback-modal h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.025em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.callback-modal__sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.55;
}
.callback-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.callback-modal__note {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.55;
}
.callback-success {
  display: none;
  text-align: center;
  padding: 20px 0 8px;
}
.callback-success.visible { display: block; }
.callback-success__icon {
  width: 60px; height: 60px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green-600);
}
.callback-success h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 8px;
}
.callback-success p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ──────────────── ПЛАВАЮЧА КНОПКА */
.float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 950;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(46,139,71,.5);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: floatPulse 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.float-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.float-btn:hover {
  background: var(--green-700);
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(46,139,71,.6);
}

@keyframes floatPulse {
  0%   { box-shadow: 0 8px 24px rgba(46,139,71,.5), 0 0 0 0   rgba(46,139,71,.45); }
  65%  { box-shadow: 0 8px 24px rgba(46,139,71,.5), 0 0 0 20px rgba(46,139,71,.0);  }
  100% { box-shadow: 0 8px 24px rgba(46,139,71,.5), 0 0 0 0   rgba(46,139,71,.0);   }
}

@media (max-width: 768px) {
  .float-btn { width: 54px; height: 54px; bottom: 20px; right: 16px; }
  .float-btn svg { width: 22px; height: 22px; }
  .callback-modal { padding: 36px 24px 32px; }
  .callback-modal h2 { font-size: 20px; }
}
@media (max-width: 390px) {
  .float-btn { width: 50px; height: 50px; bottom: 16px; right: 12px; }
  .callback-modal { padding: 28px 16px 24px; margin: 8px; max-width: calc(100vw - 16px); }
}

/* ──────────────── КОМПЛЕКТУЮЧІ (СІТКА НА ГОЛОВНІЙ) */
.accs-section { padding: 64px 0; }

.accs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.accs-card .product-card__name { font-size: 14px; line-height: 1.35; }
.accs-card .product-card__desc {
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.accs-card .product-card__price { font-size: 18px; }
.accs-card .product-card__body { padding: 14px 16px; }
.accs-card .product-card__footer { flex-wrap: wrap; gap: 8px; }
.accs-card .price-old { font-size: 12px; }

@media (max-width: 1100px) { .accs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .accs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .accs-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .float-btn { animation: none; }
}

/* ──────────────── АКЦІЙНІ БЕЙДЖИКИ */
.promo-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 5px;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.badge--sale { background: #d32f2f; }
.badge--hit  { background: var(--green-600); }
.badge--discount {
  background: #e53e3e;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 20px;
}
.promo-badges .badge--discount { display: none; }

/* Рядок стара ціна + бейдж -10% */
.price-header {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

/* Бейдж економії */
.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 6px;
}

/* Перекреслена стара ціна */
.opt-card__old-price {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  font-weight: 400;
  margin-bottom: 0;
}

.price-old {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.3;
}

/* ──────────────── ТАКОЖ ПРОПОНУЄМО */
.also-section { padding: 64px 0; }

.also-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.also-card {
  flex: 0 0 360px;
  max-width: 100%;
}

@media (max-width: 480px) {
  .badge { font-size: 9px; padding: 3px 7px; }
  .badge--discount { font-size: 10px; padding: 3px 8px; }
  .also-card { flex: 1 1 100%; }
}

/* ──────────────── МОДАЛЬНЕ ВІКНО ДЕТАЛЕЙ ТОВАРУ */
.prod-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(4px);
}
.prod-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.prod-modal {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,.32);
  transform: scale(.93) translateY(24px);
  transition: transform .35s var(--ease);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--green-100) transparent;
}
.prod-modal-overlay.open .prod-modal {
  transform: scale(1) translateY(0);
}
.prod-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-3);
  z-index: 10;
  transition: color .2s, background .2s, border-color .2s;
  flex-shrink: 0;
}
.prod-modal__close:hover { background: var(--green-25); color: var(--text-1); border-color: var(--green-100); }
.prod-modal__close svg { width: 14px; height: 14px; }

.prod-modal__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 420px;
}
.prod-modal__img-col {
  background: var(--green-25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 32px;
  position: relative;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  overflow: hidden;
}
.prod-modal__img-col .promo-badges {
  top: 16px;
  left: 16px;
}
.prod-modal__img {
  width: 100%;
  max-width: 260px;
  max-height: 320px;
  object-fit: contain;
}
.prod-modal__info-col {
  padding: 44px 44px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prod-modal__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
}
.prod-modal__name {
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.025em;
  line-height: 1.25;
  margin: 0;
}
.prod-modal__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}
.prod-modal__specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: var(--r);
  overflow: hidden;
}
.prod-modal__specs tr { border-bottom: 1px solid var(--border); }
.prod-modal__specs tr:last-child { border-bottom: none; }
.prod-modal__specs td { padding: 9px 14px; vertical-align: middle; }
.prod-modal__specs td:first-child {
  color: var(--text-3);
  font-size: 13px;
  width: 50%;
  background: var(--green-25);
}
.prod-modal__specs td:last-child {
  color: var(--text-1);
  font-weight: 600;
}
.prod-modal__price-wrap {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.prod-modal__old-price {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  margin-bottom: 0;
}
.prod-modal__price {
  font-size: 32px;
  font-weight: 800;
  color: #16a34a;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.prod-modal__price-unit {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-2);
}
.prod-modal__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prod-modal__btns .btn {
  flex: 1;
  min-width: 130px;
  text-align: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .prod-modal__inner { grid-template-columns: 1fr; min-height: auto; }
  .prod-modal__img-col {
    min-height: 200px;
    padding: 28px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .prod-modal__info-col { padding: 24px 20px 28px; }
  .prod-modal__name { font-size: 18px; }
  .prod-modal__price { font-size: 24px; }
}
@media (max-width: 390px) {
  .prod-modal { border-radius: var(--r); max-height: 96vh; }
  .prod-modal__info-col { padding: 20px 16px 24px; }
  .prod-modal__price { font-size: 22px; }
}

/* ══════════════════════════════════════════════════════
   VIEWERS BADGE — "X людей переглядають зараз"
══════════════════════════════════════════════════════ */
.viewers-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,.48);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   COMPARE — Порівняння панелей
══════════════════════════════════════════════════════ */

/* Чекбокс на картці */
.compare-check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: background .2s, border-color .2s, color .2s;
  user-select: none;
  backdrop-filter: blur(4px);
}
.compare-check:hover { background: var(--green-25); border-color: var(--green-600); color: var(--green-700); }
.compare-check__input { width: 14px; height: 14px; cursor: pointer; accent-color: var(--green-600); }

/* Sticky-бар знизу */
.compare-bar {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-1);
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 800;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  transition: bottom .35s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.compare-bar.visible { bottom: 24px; }
.compare-bar__count { font-size: 15px; font-weight: 600; }
.compare-bar__clear {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: color .2s;
}
.compare-bar__clear:hover { color: #fff; }
@keyframes compareShake {
  0%,100% { transform: translateX(-50%); }
  25%      { transform: translateX(calc(-50% - 6px)); }
  75%      { transform: translateX(calc(-50% + 6px)); }
}
.compare-bar.shake { animation: compareShake .4s ease; }

/* Модальне вікно порівняння */
.compare-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.compare-modal-overlay.open { opacity: 1; visibility: visible; }
.compare-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  overflow: hidden;
}
.compare-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.compare-modal__title { font-size: 18px; font-weight: 700; color: var(--text-1); }
.compare-modal__close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--text-2); padding: 4px 8px;
  border-radius: 6px; transition: background .2s, color .2s;
}
.compare-modal__close:hover { background: var(--green-50); color: var(--green-600); }
.compare-modal__body { overflow-x: auto; flex: 1; padding: 0; }
.compare-modal__footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* Таблиця порівняння */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th {
  padding: 20px 16px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  border-bottom: 2px solid var(--border);
  min-width: 160px;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody tr:nth-child(even) { background: var(--green-25); }
.compare-table tbody td {
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.compare-table__label {
  font-weight: 600;
  color: var(--text-2);
  text-align: left !important;
  font-size: 13px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   PARALLAX — Hero та inverter card
══════════════════════════════════════════════════════ */
.hero__parallax-bg {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  bottom: -30px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, var(--green-600) 100%);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
[data-parallax-img] {
  transition: transform .05s linear;
  will-change: transform;
}
@media (max-width: 767px) {
  .hero__parallax-bg { display: none; }
  [data-parallax-img] { transform: none !important; }
}

/* ══════════════════════════════════════════════════════
   PROMO TIMER — Таймер акції
══════════════════════════════════════════════════════ */
.promo-timer {
  background: rgba(255,107,53,.9);
  border-radius: 8px;
  padding: 4px 8px;
  margin: 2px 0;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: auto;
  align-self: flex-start;
  max-height: 50px;
  overflow: hidden;
}
.promo-timer__label {
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}
.promo-timer__digits {
  display: flex;
  align-items: center;
  gap: 2px;
}
.promo-timer__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.promo-timer__num {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 22px;
  text-align: center;
  transition: opacity .2s ease;
}
.promo-timer__num.fade-out { opacity: 0; }
.promo-timer__lbl {
  font-size: 8px;
  font-weight: 400;
  color: #ffe0c2;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.promo-timer__sep {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  padding-bottom: 12px;
  line-height: 1;
  align-self: flex-end;
}

/* opt-card: прибрати зайвий відступ */
.opt-card .promo-timer { margin-bottom: 10px; }

/* ══════════════════════════════════════════════════════
   ВІДГУКИ — Карусель
══════════════════════════════════════════════════════ */
.reviews-section { background: var(--green-25); }
.reviews-carousel { overflow: hidden; position: relative; }
.reviews-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 50%;
  padding: 0 10px;
  box-sizing: border-box;
}
.review-card__inner {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.review-card__top { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: #fff;
  flex-shrink: 0; letter-spacing: -.02em;
}
.review-meta { min-width: 0; }
.review-name { font-size: 15px; font-weight: 700; color: var(--text-1); }
.review-city { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.review-text { font-size: 14px; color: var(--text-2); line-height: 1.65; flex: 1; }
.review-product { font-size: 12px; color: var(--green-600); font-weight: 600; margin-top: 4px; }

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.reviews-prev,
.reviews-next {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  cursor: pointer; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: border-color .2s, color .2s, background .2s;
}
.reviews-prev:hover,
.reviews-next:hover { border-color: var(--green-600); color: var(--green-600); background: var(--green-25); }
.reviews-dots { display: flex; gap: 8px; align-items: center; }
.reviews-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background .25s, transform .25s;
  border: none;
  padding: 0;
}
.reviews-dot.active { background: var(--green-600); transform: scale(1.3); }

@media (max-width: 767px) {
  .review-card { flex: 0 0 100%; }
}

/* ══════════════════════════════════════════════════════
   БРЕНДИ — Смуга з логотипами
══════════════════════════════════════════════════════ */
.brands-strip {
  background: #f2f3f4;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  overflow: hidden;
  /* Градієнт-маска по краях — fade effect */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.brands-strip__inner {
  display: flex;
  overflow: hidden;
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: brandScroll 40s linear infinite;
  width: max-content;

  will-change: transform;
}
@keyframes brandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Пауза при наведенні — через strip щоб захопити весь hover-area */
.brands-strip:hover .brands-track { animation-play-state: paused; }
@media (min-width: 768px) {
  .brands-track { animation-duration: 60s; }
}
.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 40px;
  border-right: 1px solid #d8d8d8;
  flex-shrink: 0;
}
.brand-item:last-child { border-right: none; }
.brand-item__logo {
  font-size: 17px;
  font-weight: 800;
  color: #2a2a2a;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-item__badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   ЛІЧИЛЬНИК ПРОДАЖІВ
══════════════════════════════════════════════════════ */
.sold-counter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════
   CART FLY — Анімація «відліт до кошика»
══════════════════════════════════════════════════════ */
.cart-fly-clone {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 8px;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.55,0,.1,1), opacity .65s;
}
@keyframes cartIconBounce {
  0%,100% { transform: scale(1); }
  30%  { transform: scale(1.5) rotate(-8deg); }
  60%  { transform: scale(0.85) rotate(4deg); }
  80%  { transform: scale(1.1); }
}
.cart-icon-btn.cart-bounce { animation: cartIconBounce .55s ease !important; }
@keyframes badgePop {
  0%   { transform: translate(6px,-4px) scale(1); }
  40%  { transform: translate(6px,-4px) scale(1.7); }
  70%  { transform: translate(6px,-4px) scale(.85); }
  100% { transform: translate(6px,-4px) scale(1); }
}
.cart-badge.pop { animation: badgePop .4s ease; }

/* ══════════════════════════════════════════════════════
   НЕЩОДАВНО ПЕРЕГЛЯНУТІ
══════════════════════════════════════════════════════ */
.recently-section {
  padding: 32px 0 40px;
}
.recently-section__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recently-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.recently-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.recently-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.recently-card__img {
  width: 100%; height: 80px;
  object-fit: cover;
  display: block;
  background: var(--green-25);
}
.recently-card__body { padding: 8px 10px 10px; }
.recently-card__name {
  font-size: 12px; font-weight: 600;
  color: var(--text-1); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.recently-card__price { font-size: 13px; font-weight: 700; color: #16a34a; margin-top: 4px; }

@media (max-width: 768px) { .recently-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .recently-grid { grid-template-columns: repeat(2, 1fr); } }
