:root {
  --navy: #141b2e;
  --navy-light: #1c2540;
  --navy-lighter: #263153;
  --blue: #4a90e2;
  --blue-light: #6ea8ec;
  --white: #ffffff;
  --gray-100: #f5f7fa;
  --gray-200: #e7ebf1;
  --gray-400: #9aa5b8;
  --gray-600: #5c6b85;
  --text-dark: #1a2033;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 27, 46, 0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1440px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.35);
}
.btn-primary:hover { background: var(--blue-light); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-call {
  background: transparent;
  border: 1.5px solid var(--blue-light);
  color: var(--blue-light);
  border-radius: 8px;
  padding: 12px 22px;
}
.btn-call:hover { background: rgba(74, 144, 226, 0.12); color: var(--white); border-color: var(--white); }

.btn-dark-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark-outline:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo img { height: 30px; width: auto; }
.logo { flex-shrink: 0; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--gray-400);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-color: var(--blue);
}
.nav-icon { display: none; }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover,
.nav-toggle:focus-visible { background: rgba(255,255,255,0.1); }

.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}
.cart-icon-btn:hover { background: rgba(255,255,255,0.1); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge.empty { display: none; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 22px 16px;
    gap: 2px;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(0,0,0,0.3);
    z-index: 210;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    width: 100%;
    padding: 13px 12px;
    border-bottom: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .main-nav a.active { background: rgba(74, 144, 226, 0.16); }
  .nav-icon { display: block; flex-shrink: 0; color: var(--gray-400); }
  .main-nav a.active .nav-icon { color: var(--blue); }
  .main-nav a.nav-cta {
    display: block;
    margin-top: 12px;
    padding: 13px;
    text-align: center;
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    font-weight: 700;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 24, 0.5);
    z-index: 205;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-phone { display: none !important; }
  .header-actions .btn-primary,
  .header-actions .btn-call { display: none; }
}
@media (max-width: 480px) {
  .header-inner { padding: 14px 16px; }
  .logo img { height: 24px; }
}
@media (min-width: 901px) { .header-phone { display: inline; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}
@media (max-width: 760px) {
  .hero-bg { background-position: 72% 20%; }
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,27,46,0.75) 15%, rgba(20,27,46,0.35) 55%, rgba(20,27,46,0.15) 100%);
}
.hero-content {
  position: relative;
  margin: 0;
  padding: 100px 24px 110px 250px;
  max-width: 866px;
}
@media (max-width: 760px) {
  .hero-content {
    padding-top: 200px;
    padding-left: 24px;
    max-width: 640px;
  }
  .hero-actions { margin-top: 260px; }
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.3;
  margin: 0 0 20px;
  font-weight: 800;
  color: #fff;
}
.hero h1 .hero-plus {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: var(--blue-light);
}
.hero p {
  font-size: 18px;
  color: var(--gray-200);
  margin: 0 0 34px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: var(--gray-400); margin: 0; font-size: 16px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-tight { padding: 24px 0; }
.shop-page .page-hero { padding: 36px 24px 24px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--gray-600); margin: 0; }

.bg-alt { background: var(--gray-100); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-head p { color: var(--gray-400); }

/* ---------- Services grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(74,144,226,0.12);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--gray-600); font-size: 15px; }
.card a.more { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 14px; }

/* ---------- Why us ---------- */
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.why-item h3 { margin: 0 0 6px; font-size: 17px; }
.why-item p { margin: 0; color: var(--gray-600); font-size: 15px; }

/* ---------- Brands strip ---------- */
.brands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.brand-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.brand-pill img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* ---------- Partners ---------- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}
.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 150px;
}
.partner-circle {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.partner-circle img { width: 100%; height: 100%; object-fit: contain; }
.partner-name { font-weight: 700; font-size: 14px; text-align: center; }
.partner-badge-featured .partner-circle {
  width: 152px;
  height: 152px;
  border: 3px solid var(--blue);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.35);
}
.partner-flag {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(74, 144, 226, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
}

/* ---------- Process cards ---------- */
.process-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.process-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.process-card h3 { margin: 18px 20px 8px; font-size: 17px; }
.process-card p { margin: 0 20px 20px; color: var(--gray-600); font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 1 / 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-lighter));
  color: var(--white);
  border-radius: var(--radius);
  padding: 46px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin: 0 0 8px; font-size: 24px; }
.cta-banner p { margin: 0; color: var(--gray-400); max-width: 440px; }
.cta-banner .cta-address { margin-top: 12px; font-size: 14px; color: var(--blue-light); font-weight: 600; }

/* ---------- Price list ---------- */
.price-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.price-card-best { border-color: var(--blue); box-shadow: 0 10px 30px rgba(74, 144, 226, 0.18); }
.price-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
}
.price-card-best .price-icon { background: var(--blue); color: var(--white); }
.price-value { display: block; font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.price-label { font-size: 13.5px; color: var(--gray-600); line-height: 1.4; }
.price-note {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--gray-600);
  font-size: 14px;
  text-align: center;
}
.price-note-icon { color: var(--blue); vertical-align: -3px; margin-right: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--gray-400); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 15px; margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-logo img { height: 26px; margin-bottom: 14px; }
.footer-faith {
  padding-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--white);
  font-size: 14px;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note { font-size: 13px; color: var(--gray-600); margin-top: 14px; }
.form-success {
  display: none;
  background: #e7f6ec;
  color: #1c7a3d;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  margin-top: 14px;
}
.form-success.show { display: block; }

/* ---------- Power calculator ---------- */
.calc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin: 40px 0;
}
.calc-head { margin-bottom: 22px; }
.calc-head h2 { margin: 0 0 8px; font-size: 22px; }
.calc-head p { margin: 0; color: var(--gray-600); font-size: 15px; }
.calc-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
}
.calc-field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--gray-600);
}
.calc-field input,
.calc-field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--text-dark);
}
.calc-field input:focus,
.calc-field select:focus { outline: none; border-color: var(--blue); }
.calc-submit { grid-column: span 4; justify-self: start; margin-top: 4px; }
@media (max-width: 860px) {
  .calc-form { grid-template-columns: repeat(2, 1fr); }
  .calc-submit { grid-column: span 2; }
}
@media (max-width: 500px) {
  .calc-form { grid-template-columns: 1fr; }
  .calc-submit { grid-column: span 1; width: 100%; }
  .calc-card { padding: 22px; }
}

.calc-result { margin-top: 24px; }
.calc-result:empty { margin-top: 0; }
.calc-result-box {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.calc-result-btu {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  line-height: 1.2;
}
.calc-result-btu span { display: block; font-size: 11px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.calc-result-text { flex: 1; min-width: 240px; margin: 0; color: var(--text-dark); font-size: 14.5px; line-height: 1.6; }
.calc-result-actions { flex-shrink: 0; }

.calc-recommend-banner:empty { display: none; }
.calc-recommend-banner {
  background: #eaf2fd;
  border: 1px solid #cfe0f7;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dark);
}
.calc-recommend-banner button {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Premium teaser ---------- */
.premium-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin: 0;
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.premium-teaser:hover { background: #10141f; }
.premium-teaser-text { max-width: 620px; }
.premium-teaser-tag {
  display: inline-block;
  color: #d4af6a;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.premium-teaser-text h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.35; }
.premium-teaser-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #d4af6a;
  border-bottom: 1.5px solid #d4af6a;
  padding-bottom: 2px;
}
.premium-teaser-photos { flex-shrink: 0; display: flex; gap: 10px; }
.premium-teaser-photos img {
  width: 130px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 106, 0.4);
}
@media (max-width: 760px) {
  .premium-teaser { flex-direction: column; align-items: flex-start; padding: 28px; }
  .premium-teaser-photos img { width: 100px; height: 120px; }
}

/* ---------- Catalog ---------- */
.type-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.type-tab, .type-tab-calc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.type-tab svg, .type-tab-calc svg { color: var(--gray-600); flex-shrink: 0; transition: color 0.15s ease; }
.type-tab-calc {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  margin-left: 12px;
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3);
}
.type-tab-calc svg { color: var(--white); }
.type-tab-calc:hover { background: var(--blue-light); border-color: var(--blue-light); }
.type-tab:hover { border-color: var(--blue-light); color: var(--blue); }
.type-tab:hover svg { color: var(--blue); }
.type-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.type-tab.active svg { color: var(--blue-light); }
.type-tab-count {
  font-size: 11.5px;
  font-weight: 800;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 3px 9px;
  border-radius: 999px;
}
.type-tab.active .type-tab-count { background: rgba(255, 255, 255, 0.15); color: var(--white); }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) {
  .catalog-layout { grid-template-columns: 1fr; }
}

.filters {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: auto;
}
.catalog-main {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: auto;
}
@media (max-width: 860px) {
  .filters, .catalog-main {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}
.filters h3 { font-size: 15px; margin: 0 0 20px; }
.filters-toggle { display: none; }
.filters-close { display: none; }
@media (max-width: 860px) {
  .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    margin-bottom: 16px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    cursor: pointer;
  }
  .filters {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    border-radius: 0;
    border: none;
    padding: 16px 20px 90px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .filters.open { display: block; }
  .filters h3 {
    position: sticky;
    top: -16px;
    margin: -16px -20px 16px;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    z-index: 2;
  }
  .filters-close {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0;
  }
}
.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group legend {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  margin-bottom: 12px;
  padding: 0;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  padding: 5px 0;
  cursor: pointer;
  color: var(--text-dark);
}
.filter-check input { accent-color: var(--blue); width: 16px; height: 16px; }
.filter-check-color { justify-content: space-between; }
.filter-check-color-left { display: flex; align-items: center; gap: 10px; }
.color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(125deg, var(--swatch-1) 0%, var(--swatch-2) 20%, var(--swatch-1) 40%, var(--swatch-2) 60%, var(--swatch-1) 80%, var(--swatch-2) 100%);
  box-shadow: 0 1px 3px rgba(20, 27, 46, 0.25);
}
.filter-check-color input:checked ~ .color-swatch,
.filter-check-color .color-swatch.is-checked { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue), 0 1px 3px rgba(20, 27, 46, 0.25); }
.color-count { font-size: 12px; color: var(--gray-600); }
.brand-search {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
}
.brand-search:focus { outline: none; border-color: var(--blue); }
.brand-toggle {
  display: none;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}
.brand-toggle:hover { color: var(--blue-light); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input[type="number"] {
  width: 100%;
  padding: 9px 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
}
.filter-reset {
  width: 100%;
  margin-top: 6px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--gray-600);
}
.filter-reset:hover { border-color: var(--blue); color: var(--blue); }

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-count { color: var(--gray-600); font-size: 14px; }
.sort-select {
  padding: 8px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--blue); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1280px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-photo {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-photo img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.product-photo--wall { aspect-ratio: 2.2 / 1; }
.product-photo--duct { aspect-ratio: 2.3 / 1; }
.product-photo--cassette { aspect-ratio: 1.4 / 1; }
.product-photo--multisplit { aspect-ratio: 1.6 / 1; }
.photo-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  font-size: 26px;
}
.photo-pending span { font-size: 12px; font-weight: 600; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue); margin-bottom: 6px; }
.product-name { font-size: 16px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--gray-600);
}
.spec-wifi {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: var(--blue);
  font-weight: 700;
  background: rgba(74, 144, 226, 0.12);
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
}
.spec-wifi svg { flex-shrink: 0; display: block; }
.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price { font-size: 19px; font-weight: 800; color: var(--navy); }
.product-note { font-size: 11.5px; color: var(--gray-600); margin: 8px 0 0; }
.product-price.on-request { font-size: 14px; color: var(--gray-600); font-weight: 700; }

.product-footer-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-cart-add {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-cart-add:hover { background: var(--blue); color: #fff; }
.btn-cart-add.added { background: #1c7a3d; border-color: #1c7a3d; color: #fff; }

/* ---------- Кошик ---------- */
.modal-box-cart { max-width: 560px; }
.cart-empty { text-align: center; padding: 20px 10px 4px; color: var(--gray-600); }
.cart-empty p { margin: 0 0 8px; }
.cart-empty-sub { font-size: 13px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-item-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.cart-item-row:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item-photo { width: 44px; height: 44px; border-radius: 8px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cart-item-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-item-info { display: flex; flex-direction: column; min-width: 0; }
.cart-item-brand { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue); }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.cart-item-price-each { font-size: 11.5px; color: var(--gray-600); margin-top: 2px; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty-btn {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.cart-qty-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-item-qty span { min-width: 16px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-item-sum { font-size: 13px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.cart-item-remove { background: none; border: none; color: var(--gray-400); font-size: 18px; cursor: pointer; line-height: 1; padding: 0 2px; }
.cart-item-remove:hover { color: #b02a2a; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1.5px solid var(--gray-200);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.cart-total-value { font-size: 20px; color: var(--blue); }
.cart-order-form { margin-top: 4px; }
.cart-order-form .form-field { margin-bottom: 14px; }
.cart-order-form .form-field:last-of-type { margin-bottom: 18px; }
.cart-or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  color: var(--gray-400);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-or-divider::before,
.cart-or-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray-200); }
.cart-success { text-align: center; padding: 24px 10px 8px; }
.cart-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(28, 122, 61, 0.1);
  color: #1c7a3d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.cart-success-title { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.cart-success-sub { font-size: 14px; color: var(--gray-600); margin: 0; line-height: 1.5; }
.cart-contact { background: var(--gray-100); border-radius: 12px; padding: 16px 18px; margin-top: 4px; }
.cart-contact-title { font-size: 13px; color: var(--gray-600); margin: 0 0 12px; line-height: 1.5; }
.cart-contact-links { display: flex; flex-direction: column; gap: 10px; }
.cart-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.cart-contact-link svg { flex-shrink: 0; color: var(--blue); }
.cart-contact-link:hover { color: var(--blue); }

@media (max-width: 480px) {
  .cart-item-row { grid-template-columns: 36px 1fr auto; grid-template-areas: "photo info remove" "photo qty sum"; row-gap: 6px; }
  .cart-item-photo { grid-area: photo; width: 36px; height: 36px; }
  .cart-item-info { grid-area: info; }
  .cart-item-remove { grid-area: remove; }
  .cart-item-qty { grid-area: qty; }
  .cart-item-sum { grid-area: sum; justify-self: end; }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
  grid-column: 1 / -1;
}

.seo-block {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 15px;
}
.seo-block h2 { color: var(--text-dark); font-size: 20px; }

.premium-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 30px; }
@media (max-width: 980px) { .premium-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .premium-grid { grid-template-columns: repeat(2, 1fr); } }
.premium-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.premium-card h4 { margin: 0 0 8px; font-size: 16px; }
.premium-card p { margin: 0; font-size: 13px; color: var(--gray-400); }

/* ---------- Modal (order form) ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20,27,46,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gray-600);
}
.modal-box h3 { margin: 0 0 6px; font-size: 20px; }
.modal-box .modal-sub { color: var(--gray-600); font-size: 14px; margin: 0 0 20px; }

.modal-box-details { max-width: 480px; padding: 0; overflow: hidden; }
.modal-box-details .modal-close {
  background: var(--white);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 6px rgba(20,27,46,0.18);
  z-index: 2;
}
.details-photo { aspect-ratio: 16 / 10; background: var(--gray-100); display: flex; align-items: center; justify-content: center; padding: 28px; }
.details-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.details-body { padding: 20px 28px 28px; }
.details-body h3 { margin: 4px 0 14px; font-size: 19px; }
.details-specs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.details-specs li { font-size: 13px; color: var(--gray-600); }
.details-specs li strong { color: var(--navy); font-weight: 600; }
.details-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.details-footer .product-price { font-size: 20px; }

.product-more {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  transition: background 0.15s ease, color 0.15s ease;
}
.product-more:hover { background: var(--gray-100); color: var(--navy); }

/* ---------- Reviews ---------- */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  flex-wrap: wrap;
}
.rating-score { text-align: center; }
.rating-score .num { font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1; }
.rating-score .stars { margin: 10px 0 6px; font-size: 20px; letter-spacing: 2px; }
.rating-score .count { color: var(--gray-600); font-size: 13px; }
.rating-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-600); }
.rating-bar-row .label { width: 40px; flex-shrink: 0; }
.rating-bar-track { flex: 1; height: 8px; border-radius: 999px; background: var(--gray-200); overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--blue); border-radius: 999px; }

.stars-filled { color: #f0ad2b; }
.stars-empty { color: var(--gray-200); }

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.review-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.review-name { font-weight: 700; }
.review-date { color: var(--gray-600); font-size: 13px; }
.review-stars { font-size: 15px; letter-spacing: 1px; margin-bottom: 10px; }
.review-text { color: var(--gray-600); font-size: 15px; margin: 0; }

.empty-reviews { text-align: center; padding: 40px 20px; color: var(--gray-600); }

.star-picker { display: flex; gap: 6px; font-size: 30px; }
.star-picker span { cursor: pointer; color: var(--gray-200); transition: color 0.1s ease; }
.star-picker span.active { color: #f0ad2b; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Premium page (чорна тема) ---------- */
body.premium-page { background: #0a0a0a; color: #e8e6df; }
body.premium-page .site-header { background: #000; border-bottom: 1px solid rgba(212, 175, 106, 0.25); }
body.premium-page .site-footer { background: #000; }

.premium-hero {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 64px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.premium-hero-photos { flex-shrink: 0; display: flex; gap: 16px; width: 620px; }
.premium-hero-photos img {
  width: 302px;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 106, 0.35);
}
.premium-hero-content { max-width: 600px; }
.premium-hero-content h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; margin: 0 0 18px; color: #fff; }
.premium-hero-content p { color: #b7b3a6; font-size: 16px; margin: 0 0 24px; }
.premium-delivery-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4af6a;
  font-size: 13px;
  font-weight: 600;
  margin: -8px 0 24px;
}
.premium-delivery-note::before { content: "✓"; }
body.premium-page .btn-outline { border-color: #d4af6a; color: #d4af6a; }
body.premium-page .btn-outline:hover { background: rgba(212, 175, 106, 0.1); border-color: #d4af6a; }
@media (max-width: 760px) {
  .premium-hero { flex-direction: column; padding: 40px 24px; }
  .premium-hero-photos { width: 100%; max-width: 320px; }
  .premium-hero-photos img { width: 50%; height: 180px; }
}

.premium-page-body { padding: 0 0 80px; }
.premium-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.premium-card {
  position: relative;
  background: #131313;
  border: 1px solid rgba(212, 175, 106, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.premium-card-photo {
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 2.2 / 1;
}
.premium-card-photo img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.premium-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.premium-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0a0a0a;
  background: #d4af6a;
  padding: 4px 9px;
  border-radius: 999px;
}
.premium-card-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.premium-card-tag { display: block; color: #d4af6a; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.premium-card-desc { color: #b7b3a6; font-size: 14px; margin: 0 0 16px; line-height: 1.6; }
.premium-card-models {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid rgba(212, 175, 106, 0.2);
  padding-top: 14px;
}
.premium-card-models li { color: #e8e6df; font-size: 13.5px; padding: 4px 0; }
.premium-card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.premium-card-price { color: #d4af6a; font-weight: 700; font-size: 14px; }
.btn-gold {
  background: #d4af6a;
  color: #0a0a0a;
  border-color: #d4af6a;
}
.btn-gold:hover { background: #e0c084; border-color: #e0c084; }

/* Модалка замовлення у чорно-золотому стилі — тільки на преміум-сторінці */
body.premium-page .modal-box {
  background: #131313;
  border: 1px solid rgba(212, 175, 106, 0.35);
}
body.premium-page .modal-box h3 { color: #fff; }
body.premium-page .modal-box .modal-sub { color: #b7b3a6; }
body.premium-page .modal-close { color: #b7b3a6; }
body.premium-page .modal-close:hover { color: #d4af6a; }
body.premium-page .form-field label { color: #e8e6df; }
body.premium-page .form-field input {
  background: #1c1c1c;
  border-color: rgba(212, 175, 106, 0.35);
  color: #fff;
}
body.premium-page .form-field input::placeholder { color: #74716a; }
body.premium-page .form-field input:focus { border-color: #d4af6a; }
body.premium-page #orderForm .btn-primary {
  background: #d4af6a;
  color: #0a0a0a;
  box-shadow: none;
}
body.premium-page #orderForm .btn-primary:hover { background: #e0c084; }
body.premium-page .form-success { background: rgba(212, 175, 106, 0.12); color: #d4af6a; }
