/* ==========================================================================
   Kerr — app.css  (shared design system)
   Design tokens from ARCHITECTURE §13. Never add colours or fonts not listed there.
   ========================================================================== */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── Tokens ── */
:root {
  --navy:      #162847;
  --navy-dark: #0f1c32;
  --blue:      #2563EB;
  --blue-dark: #1D4ED8;
  --blue-soft: #4A90E2;

  --text:      #111827;
  --text-mid:  #374151;
  --text-gray: #6B7280;

  --bg-light:  #F6F6F6;
  --card-bg:   #EFEFEF;
  --border:    #E5E7EB;
  --white:     #FFFFFF;

  --success:   #10B981;
}

/* ── Body ── */
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  height: 72px;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
#site-nav.scrolled, #site-nav.solid {
  background: #fff;
  box-shadow: 0 1px 0 rgba(17,24,39,.06);
}

.nav-logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav-logo img { height: 54px; width: auto; }
/* Show the white logo over the transparent nav; swap to the blue logo once the
   nav bar turns white (scrolled or solid pages). */
.nav-logo .nav-logo-dark { display: none; }
#site-nav.scrolled .nav-logo-light, #site-nav.solid .nav-logo-light { display: none; }
#site-nav.scrolled .nav-logo-dark, #site-nav.solid .nav-logo-dark { display: block; }

/* Nav menu (links + search + icons) */
.nav-menu { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; min-width: 0; }

.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: 28px;
  flex: 0 0 auto;
}

.nav-link {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0;
}
.nav-link:hover, .nav-link.active { color: #fff; }
#site-nav.scrolled .nav-link, #site-nav.solid .nav-link { color: var(--text-mid); }
#site-nav.scrolled .nav-link:hover, #site-nav.solid .nav-link:hover,
#site-nav.scrolled .nav-link.active, #site-nav.solid .nav-link.active { color: var(--text); }

/* Inline search bar */
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 24px; padding: 8px 16px;
  flex: 0 1 300px; min-width: 0;
  transition: background .2s;
}
#site-nav.scrolled .nav-search, #site-nav.solid .nav-search { background: var(--bg-light); }
.nav-search-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  display: flex; color: rgba(255,255,255,0.9); flex: 0 0 auto;
}
.nav-search-btn svg { width: 18px; height: 18px; }
#site-nav.scrolled .nav-search-btn, #site-nav.solid .nav-search-btn { color: var(--text-gray); }
.nav-search input {
  border: none; background: none; outline: none; width: 100%; min-width: 0;
  font-family: inherit; font-size: 0.85rem; color: rgba(255,255,255,0.95);
}
.nav-search input::placeholder { color: rgba(255,255,255,0.7); }
#site-nav.scrolled .nav-search input, #site-nav.solid .nav-search input { color: var(--text); }
#site-nav.scrolled .nav-search input::placeholder, #site-nav.solid .nav-search input::placeholder { color: var(--text-gray); }

/* Icon buttons (cart / account) */
.nav-icons { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.nav-icon-btn { display: flex; color: rgba(255,255,255,0.9); transition: color .2s; }
.nav-icon-btn svg { width: 22px; height: 22px; }
.nav-icon-btn:hover, .nav-icon-btn.active { color: #fff; }
#site-nav.scrolled .nav-icon-btn, #site-nav.solid .nav-icon-btn { color: var(--text-mid); }
#site-nav.scrolled .nav-icon-btn:hover, #site-nav.solid .nav-icon-btn:hover,
#site-nav.scrolled .nav-icon-btn.active, #site-nav.solid .nav-icon-btn.active { color: var(--blue); }

.nav-cart-btn { position: relative; }
.nav-cart-badge {
  position: absolute; top: -8px; right: -10px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 10px;
  background: var(--blue); color: #fff; font-size: 0.62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* Contact link uses .nav-link styling; kept as plain text like IKEA's top-level items */

/* Categories mega menu */
.nav-has-dropdown { position: relative; }

.nav-dropdown-btn { display: flex; align-items: center; gap: 6px; }
.nav-caret { font-size: 0.6rem; transition: transform 0.2s; }
.nav-has-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-mega {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  padding: 28px 32px;
  width: min(880px, 86vw);
  z-index: 300;
}
.nav-has-mega.open .nav-mega { display: block; }

/* Simple (non-mega) dropdown — e.g. the temporary "Pages" preview-links menu */
.nav-simple-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 12px; list-style: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  padding: 10px; min-width: 220px; z-index: 300;
}
.nav-has-dropdown.open .nav-simple-menu { display: block; }
.nav-simple-menu li a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 0.86rem; color: var(--text-mid); transition: background .15s, color .15s;
}
.nav-simple-menu li a:hover { background: var(--bg-light); color: var(--text); }
.nav-mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.nav-mega-col { min-width: 0; }
.nav-mega-tile { display: block; }
.nav-mega-tile-img {
  display: block; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  background: var(--bg-light); margin-bottom: 10px;
}
.nav-mega-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.nav-mega-tile-name { display: block; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.nav-mega-sublist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.nav-mega-sublist a { font-size: 0.84rem; color: var(--text-mid); transition: color .15s; }
.nav-mega-sublist a:hover { color: var(--blue); }

/* Hamburger (hidden on desktop) */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,0.9);
  transition: transform 0.25s, opacity 0.25s;
}
#site-nav.scrolled .nav-hamburger span, #site-nav.solid .nav-hamburger span { background: var(--text); }

/* ==========================================================================
   HERO (home page full-screen video hero)
   ========================================================================== */
#hero { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }

#hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.62) 35%, rgba(0,0,0,.18) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 56px 72px;
}
.hero-heading {
  font-size: 3rem; font-weight: 700; color: #fff;
  line-height: 1.08; letter-spacing: -1px; margin-bottom: 24px;
}
.hero-rule { width: 100%; height: 1px; background: rgba(255,255,255,.3); margin-bottom: 28px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.hero-sub { color: rgba(255,255,255,.8); font-size: 0.95rem; max-width: 470px; line-height: 1.65; }

/* ==========================================================================
   PAGE HERO (About / Contact inner-page banner)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 42vh;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,28,60,.7) 0%, rgba(14,28,60,.55) 100%);
}
.page-hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 64px 56px;
}
.page-hero-title {
  font-size: 3rem; font-weight: 700; color: #fff;
  letter-spacing: -0.8px; margin-bottom: 12px;
}
.page-hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.82); font-weight: 400;
}

/* ==========================================================================
   SHARED UTILITIES
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
  display: block;
}
.section-heading {
  font-size: 2.5rem; font-weight: 700; line-height: 1.15;
  letter-spacing: -0.6px; color: var(--text);
}

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 15px 36px; border-radius: 40px;
  font-size: 1rem; font-weight: 500;
  white-space: nowrap; border: none; cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  display: inline-block; background: #fff; color: var(--text-mid);
  padding: 15px 36px; border-radius: 40px; border: 1px solid var(--border);
  font-family: inherit; font-size: 1rem; font-weight: 500;
  white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s;
}
.btn-secondary:hover { background: var(--bg-light); border-color: var(--text-gray); }

.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start; background: var(--navy); color: #fff;
  padding: 14px 42px; border-radius: 40px; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.97rem; font-weight: 500; transition: background .2s;
}
.btn-submit:hover { background: var(--navy-dark); }

.btn-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 500;
  color: var(--text-gray); text-decoration: underline; transition: color .2s;
}
.btn-link:hover { color: var(--blue); }
.btn-submit.loading, .btn-primary.loading { opacity: 0.75; pointer-events: none; }
.btn-submit.loading .btn-spinner, .btn-primary.loading .btn-spinner { display: inline-block; }
.btn-primary.loading .btn-spinner { margin-left: 8px; vertical-align: -2px; }

/* Spinner */
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-spinner {
  display: none; flex-shrink: 0;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
}

/* Cards */
.card-blue { background: var(--navy); color: #fff; padding: 28px 24px; border-radius: 16px; }
.card-blue h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.card-blue p  { font-size: 0.88rem; line-height: 1.62; color: rgba(255,255,255,.83); }

.card-white { background: #fff; padding: 28px 24px; border-radius: 16px; border: 1px solid var(--border); }
.card-white h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.card-white p  { font-size: 0.88rem; line-height: 1.62; color: var(--text-gray); }

.stat-card { background: var(--bg-light); border-radius: 16px; padding: 30px; }
.stat-card .num { font-size: 3.2rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.stat-card h3   { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.stat-card p    { font-size: 0.88rem; line-height: 1.62; color: var(--text-gray); }

/* Flash messages */
.flash { padding: 14px 20px; border-radius: 8px; margin: 16px 0; font-size: 0.9rem; }
.flash--success { background: #d1fae5; color: #065f46; }
.flash--error   { background: #fee2e2; color: #991b1b; }
.flash--info    { background: #dbeafe; color: #1e40af; }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 0.93rem;
  color: var(--text); outline: none; background: #fff; transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: 0.78rem; color: #DC2626; margin-top: 6px; }

/* ==========================================================================
   AUTH PAGES (login / register / OTP / password reset)
   ========================================================================== */
.auth-main {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); padding: 120px 24px 56px;
}
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 20px;
  border: 1px solid var(--border); padding: 44px 40px;
}
.auth-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 6px; }
.auth-sub { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 28px; line-height: 1.5; }

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form .btn-submit { align-self: stretch; justify-content: center; margin-top: 6px; }
.auth-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.auth-form-link-right { text-align: right; margin-top: -8px; }
.auth-form-link-right a { font-size: 0.82rem; color: var(--blue); }

.auth-footer-link { text-align: center; font-size: 0.88rem; color: var(--text-gray); margin-top: 24px; }
.auth-footer-link a { color: var(--blue); font-weight: 500; }

.auth-resend-form { margin: 0; }
.auth-resend-form .auth-footer-link { margin-top: 16px; }
.auth-link-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; font-size: 0.88rem; color: var(--blue); font-weight: 500;
  text-decoration: underline;
}

.otp-input { letter-spacing: 8px; font-size: 1.3rem; font-weight: 600; text-align: center; }

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
#why-us { background: var(--bg-light); padding: 100px 56px; }

.why-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; margin-bottom: 48px;
}
.why-header p { padding-top: 52px; color: var(--text-mid); line-height: 1.72; font-size: 0.97rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.why-img-left { border-radius: 16px; overflow: hidden; min-height: 420px; }
.why-right { display: flex; flex-direction: column; gap: 20px; }
.why-img-top { border-radius: 16px; overflow: hidden; height: 260px; flex-shrink: 0; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.why-img-left img, .why-img-top img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ==========================================================================
   SMART CURTAINS SECTION
   ========================================================================== */
#smart-curtains {
  padding: 100px 56px; background: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.curtains-img { border-radius: 20px; overflow: hidden; }
.curtains-img img { width: 100%; height: auto; object-fit: contain; }
.curtains-text .section-heading { font-size: 2.9rem; margin-bottom: 22px; }
.curtains-text p { color: var(--text-mid); line-height: 1.72; font-size: 0.97rem; margin-bottom: 16px; }

/* ==========================================================================
   ABOUT SECTION (home page)
   ========================================================================== */
#about { padding: 100px 56px; background: #fff; }

.about-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 48px; }
.about-header p { padding-top: 52px; color: var(--text-mid); line-height: 1.72; font-size: 0.97rem; }

.about-body { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 22px; align-items: stretch; min-height: 540px; }
.about-img-tall { border-radius: 16px; overflow: hidden; }
.about-col-mid  { display: flex; flex-direction: column; gap: 20px; }
.about-img-sm   { border-radius: 16px; overflow: hidden; flex: 1; min-height: 180px; }

.about-img-tall img, .about-img-sm img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ==========================================================================
   ABOUT PAGE — dedicated sections
   ========================================================================== */
.about-section {
  padding: 100px 56px;
  background: #fff;
}

.about-section-inner-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}
.about-section-inner-header > .right-desc {
  padding-top: 60px;
  color: var(--text-mid); line-height: 1.72; font-size: 0.97rem;
}

/* Image grid below the header */
.about-body-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  align-items: stretch;
  min-height: 480px;
}
.about-body-left {
  display: flex; flex-direction: column; gap: 20px;
}
.about-body-img-sm {
  border-radius: 16px; overflow: hidden; flex: 1; min-height: 220px;
}
.about-body-img-sm img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-body-img-lg {
  border-radius: 16px; overflow: hidden;
}
.about-body-img-lg img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ==========================================================================
   ABOUT PAGE — CATEGORIES SECTION
   ========================================================================== */
.about-categories {
  padding: 100px 56px;
  background: var(--bg-light);
}

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

.about-cat-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.about-cat-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.about-cat-link {
  display: block; color: inherit;
}

.about-cat-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-cat-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.about-cat-card:hover .about-cat-img img {
  transform: scale(1.04);
}

.about-cat-label {
  padding: 18px 24px 14px;
  font-size: 1.1rem; font-weight: 500; color: var(--text);
}

.about-cat-divider {
  height: 1px; background: var(--border); margin: 0 24px;
}

/* ==========================================================================
   ABOUT PAGE — dark testimonials variant
   ========================================================================== */
.about-testimonials {
  background: #fff;
}

.testi-card--dark {
  background: var(--navy) !important;
}
.testi-card--dark > p   { color: rgba(255,255,255,.82) !important; }
.testi-card--dark .testi-name { color: #fff !important; }

/* ==========================================================================
   CONTACT SECTION (home + contact page shared)
   ========================================================================== */
#contact-section { padding: 100px 56px; background: #fff; }
.contact-section-header { text-align: center; margin-bottom: 56px; }
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card { background: var(--bg-light); border-radius: 16px; padding: 28px 24px; }

.contact-icon-wrap {
  width: 52px; height: 52px; background: var(--navy); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.contact-icon-wrap svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.contact-info-card p  { font-size: 0.9rem; color: var(--text-gray); line-height: 1.65; margin: 0; }
.contact-info-card p a { color: var(--text-gray); }
.contact-info-card p a:hover { color: var(--blue); }

.social-row { display: flex; align-items: center; justify-content: space-between; }
.social-row h3 { margin-bottom: 0; }
.social-btns { display: flex; gap: 10px; }

.social-btn {
  width: 38px; height: 38px; background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.social-btn:hover { background: var(--blue); }
.social-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.contact-form-card { background: var(--bg-light); border-radius: 20px; padding: 40px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
#testimonials { padding: 100px 56px; background: #fff; }
.testi-header  { text-align: center; margin-bottom: 56px; }
.testi-header .section-heading { max-width: 580px; margin: 0 auto; }
.testi-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.testi-card {
  background: var(--card-bg); border-radius: 16px; padding: 38px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.testi-card > p { color: var(--text-gray); line-height: 1.72; font-size: 0.95rem; flex: 1; margin-bottom: 24px; }
.testi-divider  { width: 34px; height: 2px; background: var(--blue); margin-bottom: 18px; }
.testi-name     { font-size: 1.05rem; font-weight: 600; color: var(--blue); }

/* ==========================================================================
   CATEGORIES (legacy hidden block on home page)
   ========================================================================== */
.cat-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; }
.cat-bg   { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,60,.92) 0%, transparent 55%); }
.cat-label { position: absolute; bottom: 0; left: 0; right: 0; color: #fff; font-size: 1.4rem; font-weight: 600; padding: 28px; }

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.anim {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
}
.anim.from-left  { transform: translateX(-48px); }
.anim.from-right { transform: translateX(48px); }
.anim.scale-up   { transform: translateY(20px) scale(0.97); }
.anim.in-view    { opacity: 1; transform: translate(0, 0) scale(1); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); background: #fff; }

.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  padding: 56px 56px 40px;
  align-items: start;
}

.footer-brand {}
.footer-logo-img { height: 54px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 0.95rem; font-weight: 500; color: var(--text); line-height: 1.5; }

.footer-col-heading {
  font-size: 0.88rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.5px; margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: var(--text-gray); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-copy { font-size: 0.78rem; color: var(--text-gray); line-height: 1.5; }

.social-icons { display: flex; gap: 16px; }
.social-icon {
  width: 36px; height: 36px; background: var(--text); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.social-icon:hover { background: var(--blue); }
.social-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   CATALOG — shared (breadcrumb, grid, card, badges, pagination, empty state)
   ========================================================================== */
.page-hero--plain { background-color: var(--navy); }

.catalog-section { padding: 48px 56px 100px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 0.85rem; }
.breadcrumb-link { color: var(--text-gray); transition: color 0.2s; }
.breadcrumb-link:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.catalog-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-filter-chip {
  padding: 9px 20px; border-radius: 30px; border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 500; color: var(--text-mid); transition: all 0.2s;
}
.catalog-filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.catalog-filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.catalog-sort { display: flex; align-items: center; gap: 10px; }
.catalog-sort label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-gray); }
.catalog-sort select {
  padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.88rem; color: var(--text); background: #fff; cursor: pointer;
}

.catalog-empty {
  padding: 80px 20px; text-align: center; color: var(--text-gray);
  background: var(--bg-light); border-radius: 16px;
}

/* ── Shop (all products) page ── */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }

.shop-filters { background: none; border: none; }
.shop-filters-summary {
  display: none; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--text);
  list-style: none; padding: 14px 0;
}
.shop-filters-summary::-webkit-details-marker { display: none; }
.shop-filters-caret { font-size: 0.65rem; margin-left: 6px; transition: transform 0.2s; }
.shop-filters[open] .shop-filters-caret { transform: rotate(180deg); }

.shop-toolbar-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.shop-search { display: flex; gap: 8px; }
.shop-search input {
  flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.88rem; outline: none; transition: border-color .2s;
}
.shop-search input:focus { border-color: var(--blue); }
.shop-search--inline input { width: 220px; }

.shop-filter-group h3 {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-gray); margin-bottom: 14px;
}
.shop-filter-list, .shop-filter-sublist { list-style: none; }
.shop-filter-list > li { margin-bottom: 4px; }
.shop-filter-list a {
  display: block; padding: 8px 0; font-size: 0.92rem; color: var(--text-mid); transition: color 0.15s;
}
.shop-filter-list a:hover { color: var(--blue); }
.shop-filter-list a.active { color: var(--blue); font-weight: 600; }
.shop-filter-sublist { padding-left: 16px; }
.shop-filter-sublist a { font-size: 0.87rem; padding: 6px 0; }

.shop-load-more { display: flex; justify-content: center; margin-top: 48px; }

@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .shop-filters {
    border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; margin-bottom: 8px;
  }
  .shop-filters-summary { display: flex; align-items: center; }
  .shop-filters:not([open]) .shop-filters-summary { border-bottom: none; }
  .shop-filters[open] .shop-filters-summary { border-bottom: 1px solid var(--border); }
  .shop-filters-body { padding: 20px 0; }
}

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

.product-card { display: block; color: inherit; }
.product-card-img {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 1/1; background: var(--bg-light); margin-bottom: 14px;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-name { font-size: 0.95rem; font-weight: 500; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.product-card-price { font-size: 0.95rem; font-weight: 600; color: var(--blue); }

.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: rgba(255,255,255,.5);
  font-size: 1rem; font-weight: 600; letter-spacing: 1px;
}
.img-placeholder-lg { border-radius: 20px; min-height: 460px; font-size: 1.4rem; }

.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 20px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-oos { background: rgba(17,24,39,.85); color: #fff; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 56px; }
.pagination-link { font-size: 0.9rem; font-weight: 600; color: var(--blue); }
.pagination-link:hover { color: var(--blue-dark); }
.pagination-status { font-size: 0.85rem; color: var(--text-gray); }

/* Search */
.search-form { display: flex; gap: 12px; margin-bottom: 40px; max-width: 520px; }
.search-form input {
  flex: 1; padding: 13px 18px; border: 1px solid var(--border); border-radius: 30px;
  font-family: inherit; font-size: 0.93rem; outline: none; transition: border-color .2s;
}
.search-form input:focus { border-color: var(--blue); }
.search-result-count { color: var(--text-gray); font-size: 0.88rem; margin-bottom: 24px; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.product-page { padding: 120px 56px 0; }

.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; margin-bottom: 80px; }

.product-gallery { display: flex; align-items: flex-start; gap: 16px; }
.product-gallery-main {
  flex: 1; min-width: 0;
  border-radius: 20px; overflow: hidden; aspect-ratio: 1/1; background: var(--bg-light);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
  display: flex; flex-direction: column; flex-wrap: nowrap; gap: 12px;
  flex: 0 0 76px; order: -1; margin-top: 0;
}
.gallery-thumb {
  width: 76px; height: 76px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: none; cursor: pointer; padding: 0; opacity: 0.7; transition: all 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--blue); opacity: 1; }

.product-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; }
.product-sku { font-size: 0.82rem; color: var(--text-gray); margin-bottom: 18px; }
.product-price { font-size: 1.6rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.product-price-tax-note { font-size: 0.78rem; color: var(--text-gray); margin-bottom: 16px; }

.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.product-rating .stars { display: flex; gap: 2px; color: var(--border); }
.product-rating .stars svg { width: 16px; height: 16px; }
.product-rating .stars svg.filled { color: #F5A623; }
.product-rating .rating-count { font-size: 0.82rem; color: var(--text-gray); }

.delivery-block {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 22px;
}
.delivery-block svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--text-mid); margin-top: 2px; }
.delivery-block-title { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.delivery-block-sub { font-size: 0.8rem; color: var(--text-gray); }

.variant-axis { margin-bottom: 20px; }
.variant-axis-label {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text); margin-bottom: 10px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-option {
  padding: 10px 20px; border: 1px solid var(--border); border-radius: 30px;
  font-family: inherit; font-size: 0.85rem; font-weight: 500; color: var(--text-mid);
  background: #fff; cursor: pointer; transition: all 0.2s;
}
.variant-option:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.variant-option.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.variant-option:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.product-stock { font-size: 0.9rem; font-weight: 600; color: var(--success); margin-bottom: 24px; }
.product-stock.out-of-stock { color: #DC2626; }

#add-to-cart-form { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-selector {
  display: flex; align-items: center; flex: 0 0 auto;
  border: 1px solid var(--border); border-radius: 30px; overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px; border: none; background: none; cursor: pointer;
  font-size: 1.1rem; color: var(--text-mid); transition: background .15s;
}
.qty-btn:hover { background: var(--bg-light); }
.qty-selector input {
  width: 44px; height: 44px; padding: 0; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  font-family: inherit; font-size: 0.93rem; text-align: center; -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#add-to-cart-btn { flex: 1; }
#add-to-cart-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.product-short-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }

.product-description-section { padding-bottom: 80px; border-top: 1px solid var(--border); padding-top: 56px; }
.product-description-section .section-heading { margin-bottom: 24px; font-size: 1.8rem; }
.product-description { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; max-width: 820px; }
.product-description p { margin-bottom: 16px; }
.product-description ul, .product-description ol { padding-left: 22px; margin-bottom: 16px; }
.product-description li { margin-bottom: 6px; }
.product-description h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.product-description h3:first-child { margin-top: 0; }
.product-description h4 { font-size: 1.02rem; font-weight: 700; color: var(--text); margin: 18px 0 8px; }

.related-section { padding-bottom: 100px; }
.related-section .section-heading { margin-bottom: 32px; font-size: 1.8rem; }

/* ==========================================================================
   CART PAGE
   ========================================================================== */
.cart-page { padding: 120px 56px 100px; }
.cart-page .section-heading { margin-bottom: 32px; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.cart-items { display: flex; flex-direction: column; gap: 20px; }
.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.cart-line-img {
  width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--bg-light);
}
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-line-name { font-size: 0.98rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cart-line-price { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 10px; }
.cart-line-notice { font-size: 0.82rem; color: #B45309; margin-bottom: 10px; }

.cart-line-qty { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cart-line-qty input {
  width: 64px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.88rem; text-align: center;
}
.cart-line-qty .btn-secondary { padding: 8px 18px; font-size: 0.82rem; }

.cart-line-total { font-size: 1rem; font-weight: 700; color: var(--text); white-space: nowrap; }

.cart-summary {
  background: var(--bg-light); border-radius: 16px; padding: 28px; position: sticky; top: 100px;
}

.cart-coupon { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.cart-coupon-form { display: flex; gap: 8px; }
.cart-coupon-form input {
  flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.88rem;
}
.cart-coupon-applied { font-size: 0.9rem; color: var(--text); margin-bottom: 8px; }

.cart-totals-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--text-mid); margin-bottom: 12px; }
.cart-totals-discount span:last-child { color: var(--success); }
.cart-totals-note { font-size: 0.78rem; color: var(--text-gray); margin: 8px 0 16px; }
.cart-totals-final {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  padding-top: 16px; border-top: 1px solid var(--border); margin-bottom: 24px;
}

.cart-checkout-btn { display: block; width: 100%; text-align: center; }

@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 640px) {
  .cart-page { padding: 100px 20px 64px; }
  .cart-line { grid-template-columns: 76px 1fr; }
  .cart-line-total { grid-column: 1 / -1; text-align: right; }
}

/* ==========================================================================
   CHECKOUT + ORDER CONFIRMATION
   ========================================================================== */
.checkout-page { padding: 120px 56px 100px; }
.checkout-page .section-heading { margin-bottom: 32px; }

.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.checkout-section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.checkout-section:last-of-type { border-bottom: none; }
.checkout-section-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }

.checkout-form label {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-mid);
  margin-bottom: 14px;
}
.checkout-form input[type="text"], .checkout-form input[type="email"] {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.92rem; font-weight: 400; color: var(--text);
}
.checkout-form input:focus { outline: none; border-color: var(--blue); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.checkout-checkbox {
  display: flex !important; align-items: center; gap: 8px;
  font-weight: 500 !important; margin-bottom: 16px;
}
.checkout-checkbox input { margin: 0; }
.checkout-billing-fields { padding-top: 8px; }

.checkout-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.checkout-address-card {
  display: block; position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 16px 16px 40px; font-size: 0.85rem; line-height: 1.55;
  color: var(--text-mid); cursor: pointer; margin: 0; font-weight: 400; transition: border-color .15s;
}
.checkout-address-card input[type="radio"] { position: absolute; top: 18px; left: 16px; margin: 0; width: auto; }
.checkout-address-card:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.checkout-address-card strong { display: block; color: var(--text); margin-bottom: 4px; }
.checkout-address-card .badge-default { position: absolute; top: 14px; right: 14px; }

.checkout-submit-btn { width: 100%; text-align: center; }

.checkout-summary-lines { margin-bottom: 20px; }
.checkout-summary-line {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.88rem; color: var(--text-mid); margin-bottom: 10px;
}

.checkout-pay { display: flex; justify-content: center; padding-top: 140px; }
.checkout-pay-card {
  text-align: center; max-width: 420px; background: var(--bg-light);
  border-radius: 16px; padding: 48px 40px;
}
.checkout-pay-amount { font-size: 2rem; font-weight: 700; color: var(--text); margin: 12px 0; }
.checkout-pay-note { font-size: 0.88rem; color: var(--text-gray); margin-bottom: 24px; }

.order-confirmation-header { margin-bottom: 32px; }
.order-confirmation-header p { font-size: 0.95rem; color: var(--text-mid); }
.order-confirmation-note { color: #B45309 !important; margin-top: 6px; }

.order-item-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}

.status-badge {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.status-badge--paid, .status-badge--delivered { background: #d1fae5; color: #065f46; }
.status-badge--pending, .status-badge--refunded { background: var(--card-bg); color: var(--text-gray); }
.status-badge--cancelled { background: #fee2e2; color: #991b1b; }
.status-badge--processing, .status-badge--shipped { background: #dbeafe; color: #1e40af; }

@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .checkout-page { padding: 100px 20px 64px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .checkout-pay { padding-top: 100px; }
}

/* ==========================================================================
   ERROR PAGES
   ========================================================================== */
.error-page {
  min-height: 80vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.error-code { font-size: 6rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 8px; }
.error-heading { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.error-message { color: var(--text-gray); font-size: 1rem; margin-bottom: 32px; max-width: 460px; }

/* ==========================================================================
   GRID OVERFLOW GUARD
   ========================================================================== */
.why-header > *, .why-grid > *, .why-cards > *,
.about-header > *, .about-body > *,
.contact-layout > *, .testi-grid > *,
.footer-top > *, .about-cat-grid > *,
.about-body-grid > *, .about-section-inner-header > *,
.product-grid > *, .product-layout > * { min-width: 0; }

/* ==========================================================================
   RESPONSIVE — Tablet (641px – 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  #site-nav { padding: 0 32px; }

  .hero-content { padding: 0 32px 56px; }
  .hero-heading { font-size: 2.4rem; }

  #why-us          { padding: 80px 32px; }
  #about           { padding: 80px 32px; }
  #smart-curtains  { padding: 80px 32px; gap: 48px; }
  #contact-section { padding: 80px 32px; }
  #testimonials    { padding: 80px 32px; }
  .about-section   { padding: 80px 32px; }
  .about-categories { padding: 80px 32px; }
  .about-testimonials { padding: 80px 32px; }

  .footer-top { padding: 40px 32px 32px; }
  .footer-bottom { padding: 20px 32px; }

  .page-hero-content { padding: 56px 32px; }
  .page-hero-title { font-size: 2.4rem; }

  .about-body {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }
  .about-body > div:last-child { grid-column: 1 / -1; }

  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1.5fr; }

  .about-section-inner-header { gap: 40px; }
  .about-cat-grid { gap: 16px; }

  .catalog-section { padding: 40px 32px 80px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .product-page { padding: 112px 32px 0; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-description-section, .related-section { padding-left: 0; padding-right: 0; }
}

/* ==========================================================================
   RESPONSIVE — Mobile (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Nav */
  #site-nav { padding: 0 20px; height: 64px; }
  .nav-logo img { height: 44px; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }

  .nav-menu {
    position: fixed; inset: 0; top: 64px;
    background: rgba(22, 40, 71, 0.97); backdrop-filter: blur(8px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 0;
    display: flex; /* always rendered, just hidden via transform */
    z-index: 150;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-link {
    display: block; padding: 16px 0; font-size: 1rem;
    width: 100%;
  }

  .nav-mega {
    position: static; transform: none; box-shadow: none; width: auto;
    background: rgba(255,255,255,0.05); border-radius: 8px; margin: 4px 0 8px; padding: 16px;
  }
  .nav-mega-grid { grid-template-columns: 1fr; gap: 20px; }
  .nav-mega-tile-name { color: #fff; }
  .nav-mega-sublist a { color: rgba(255,255,255,0.8); }

  .nav-simple-menu {
    position: static; transform: none; box-shadow: none; min-width: auto;
    background: rgba(255,255,255,0.05); border-radius: 8px; margin: 4px 0 8px; padding: 6px;
  }
  .nav-simple-menu li a { color: rgba(255,255,255,0.8); }
  .nav-simple-menu li a:hover { background: rgba(255,255,255,0.1); color: #fff; }

  .nav-search { margin-top: 20px; background: rgba(255,255,255,0.1); flex: none; }
  .nav-search input, .nav-search-btn { color: rgba(255,255,255,0.95); }
  .nav-search input::placeholder { color: rgba(255,255,255,0.6); }

  .nav-icons { margin-top: 20px; gap: 24px; }
  .nav-icon-btn { color: rgba(255,255,255,0.9); }

  /* Hero */
  .hero-content { padding: 0 20px 56px; }
  .hero-heading { font-size: 2rem; letter-spacing: -0.5px; margin-bottom: 18px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-sub { max-width: 100%; font-size: 0.9rem; }

  .section-heading { font-size: 1.85rem; }

  /* Sections */
  #why-us, #about, #contact-section, #testimonials { padding: 64px 20px; }
  #smart-curtains { padding: 64px 20px; grid-template-columns: 1fr; gap: 32px; }
  .about-section { padding: 64px 20px; }
  .about-categories { padding: 64px 20px; }
  .about-testimonials { padding: 64px 20px; }

  /* Why Us */
  .why-header { grid-template-columns: 1fr; gap: 16px; }
  .why-header p { padding-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-img-left { min-height: 260px; }
  .why-img-top { height: 200px; }
  .why-cards { grid-template-columns: 1fr; }

  /* About (home) */
  .about-header { grid-template-columns: 1fr; gap: 16px; }
  .about-header p { padding-top: 0; }
  .about-body { grid-template-columns: 1fr; min-height: auto; }
  .about-img-tall { min-height: 260px; }
  .about-img-sm { flex: none; height: 220px; }
  .about-body > div:last-child { grid-column: auto; }

  /* About page */
  .about-section-inner-header { grid-template-columns: 1fr; gap: 16px; }
  .about-section-inner-header > .right-desc { padding-top: 0; }
  .about-body-grid { grid-template-columns: 1fr; min-height: auto; }
  .about-body-img-sm { flex: none; height: 240px; }
  .about-cat-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { min-height: 35vh; }
  .page-hero-content { padding: 48px 20px; }
  .page-hero-title { font-size: 2rem; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }
  .curtains-text .section-heading { font-size: 1.85rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 16px; padding: 20px; }
  .footer-copy { text-align: center; }

  /* Catalog / product page */
  .catalog-section { padding: 32px 20px 64px; }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; }
  .shop-toolbar-controls { width: 100%; }
  .shop-search--inline { flex: 1; }
  .shop-search--inline input { width: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .auth-main { padding: 96px 16px 40px; }
  .auth-card { padding: 32px 24px; }
  .auth-form-row { grid-template-columns: 1fr; gap: 18px; }

  .product-page { padding: 96px 20px 0; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .product-gallery { flex-direction: column; }
  .product-gallery-thumbs { flex-direction: row; flex-wrap: wrap; order: 0; flex: none; margin-top: 14px; }
  .product-title { font-size: 1.6rem; }
  .product-description-section, .related-section { padding-left: 0; padding-right: 0; }
  .search-form { max-width: 100%; }
}

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin-guest {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); padding: 24px;
}
.admin-guest-card {
  width: 100%; max-width: 380px; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 40px 36px;
}
.admin-guest-header { text-align: center; margin-bottom: 28px; }
.admin-guest-header p { color: var(--text-gray); font-size: 0.9rem; margin-top: 6px; }
.admin-login-form { display: flex; flex-direction: column; gap: 18px; }
.admin-login-form .btn-submit { align-self: stretch; justify-content: center; }

.admin-logo { font-size: 1.15rem; color: var(--navy); }
.admin-logo strong { color: var(--blue); }

.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 24px 0;
}
.admin-sidebar .admin-logo { padding: 0 24px 24px; color: #fff; }
.admin-nav { display: flex; flex-direction: column; flex: 1; }
.admin-nav a {
  padding: 12px 24px; font-size: 0.9rem; color: rgba(255,255,255,0.8); transition: background .15s, color .15s;
}
.admin-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.admin-logout-form { padding: 0 24px; }
.admin-logout-btn {
  width: 100%; padding: 10px 0; background: none; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; color: rgba(255,255,255,0.8); font-family: inherit; font-size: 0.85rem; cursor: pointer;
  transition: background .15s, color .15s;
}
.admin-logout-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }

.admin-content { flex: 1; padding: 32px 40px; background: var(--bg-light); }
.admin-page-header { margin-bottom: 24px; }
.admin-page-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.admin-page-header p { color: var(--text-gray); font-size: 0.9rem; margin-top: 4px; }
.admin-page-header--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── Cards / generic containers ── */
.admin-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; margin-bottom: 24px;
}
.admin-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 16px; }
.admin-card-title:not(:first-child) { margin-top: 28px; }

/* ── Dashboard stat cards ── */
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.admin-stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 8px;
}
.admin-stat-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-gray); }
.admin-stat-value { font-size: 1.8rem; font-weight: 700; color: var(--text); }
@media (max-width: 1024px) { .admin-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.admin-empty {
  background: #fff; border: 1px dashed var(--border); border-radius: 16px;
  padding: 48px 24px; text-align: center; color: var(--text-gray);
}
.admin-muted { color: var(--text-gray); font-size: 0.85rem; }
.admin-hint { color: var(--text-gray); font-size: 0.8rem; margin: -6px 0 10px; }

/* ── Filter bar / inputs shared across list pages ── */
.admin-filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-input {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.9rem; color: var(--text); background: #fff;
}
.admin-input:focus { outline: none; border-color: var(--blue); }
.admin-link { color: var(--blue); font-size: 0.85rem; font-weight: 500; background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.admin-link:hover { color: var(--blue-dark); text-decoration: underline; }
.admin-link-muted { color: var(--text-gray); font-size: 0.85rem; }
.admin-link-muted:hover { color: var(--text); }
.admin-link--danger { color: #991b1b; }
.admin-link--danger:hover { color: #7a1616; }

/* ── Tables ── */
.admin-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th {
  text-align: left; padding: 14px 16px; background: var(--bg-light); color: var(--text-gray);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.admin-table-thumb img, .admin-thumb-placeholder {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--card-bg);
}
.admin-thumb-placeholder { display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: var(--text-gray); }
.admin-table-actions { display: flex; align-items: center; gap: 14px; white-space: nowrap; }

/* ── Badges ── */
.admin-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem;
  font-weight: 600; margin-right: 4px; white-space: nowrap;
}
.admin-badge--success, .admin-badge--status-paid, .admin-badge--status-delivered { background: #d1fae5; color: #065f46; }
.admin-badge--muted, .admin-badge--status-pending, .admin-badge--status-refunded { background: var(--card-bg); color: var(--text-gray); }
.admin-badge--danger, .admin-badge--status-cancelled { background: #fee2e2; color: #991b1b; }
.admin-badge--info, .admin-badge--status-processing, .admin-badge--status-shipped { background: #dbeafe; color: #1e40af; }

/* ── Forms ── */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-span2 { grid-column: 1 / -1; }
.admin-form-grid .form-group textarea { min-height: 100px; }

/* ── Rich text editor (contenteditable + execCommand, no library) ── */
.rte { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.rte-toolbar {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 8px;
  background: var(--bg-light); border-bottom: 1px solid var(--border);
}
.rte-toolbar button {
  padding: 6px 12px; border: 1px solid transparent; border-radius: 6px; background: none;
  color: var(--text-mid); font-family: inherit; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.rte-toolbar button:hover { background: #fff; border-color: var(--border); }
.rte-editor {
  min-height: 180px; max-height: 480px; overflow-y: auto; padding: 14px 16px;
  font-family: inherit; font-size: 0.92rem; color: var(--text); line-height: 1.6; outline: none;
}
.rte-editor:focus { box-shadow: inset 0 0 0 2px rgba(37,99,235,.15); }
.rte-editor:empty::before { content: attr(data-placeholder); color: var(--text-gray); }
.rte-editor h3 { font-size: 1.15rem; font-weight: 700; margin: 8px 0 6px; color: var(--text); }
.rte-editor h4 { font-size: 1rem; font-weight: 700; margin: 8px 0 6px; color: var(--text); }
.rte-editor p { margin: 0 0 10px; }
.rte-editor p:last-child { margin-bottom: 0; }
.rte-editor ul, .rte-editor ol { margin: 0 0 10px 22px; }

.admin-toggle-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.admin-toggle { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-mid); cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: 0; }
.admin-toggle input { width: auto; }
.admin-form-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }

/* ── Images (product/category media manager) ── */
.admin-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-bottom: 20px; }
.admin-image-card { position: relative; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-light); }
.admin-image-card img { width: 100%; height: 120px; object-fit: cover; }
.admin-image-card .admin-badge { position: absolute; top: 8px; left: 8px; }
.admin-image-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; }
.admin-image-card--inline { max-width: 200px; margin-bottom: 12px; }
.admin-image-card--inline img { height: 100px; }
.admin-image-card--inline .admin-toggle { padding: 8px 10px; font-size: 0.78rem; }
.admin-upload-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-upload-form input[type="file"] { font-size: 0.85rem; color: var(--text-gray); }
.admin-upload-form input[type="file"]::file-selector-button {
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-family: inherit;
  font-size: 0.82rem; font-weight: 500; cursor: pointer; margin-right: 10px;
  transition: background .15s;
}
.admin-upload-form input[type="file"]::file-selector-button:hover { background: var(--bg-light); }

/* ── Variant editor ── */
.admin-variant-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 12px; background: var(--bg-light);
}
.admin-variant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }

.admin-variant-options {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0; margin-bottom: 16px;
}
.admin-variant-options > label {
  display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-mid); margin-bottom: 10px;
}
.variant-axis-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.variant-axis-row { display: flex; gap: 10px; align-items: center; }
.variant-axis-row input { flex: 1; }
.admin-row-remove {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: #991b1b;
  font-size: 1.2rem; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; padding: 0;
  transition: background .15s, border-color .15s;
}
.admin-row-remove:hover { background: #fee2e2; border-color: #991b1b; }

/* ── Variant combination generator ── */
.admin-variant-generator { margin-top: 8px; }
.admin-form-error { color: #991b1b; font-size: 0.85rem; margin: 8px 0 0; }
.admin-generator-preview:not(:empty) { margin-top: 20px; }
.admin-generator-table-wrap { margin: 12px 0 20px; }
.admin-generator-table-wrap .admin-input { width: 100%; min-width: 90px; padding: 7px 10px; font-size: 0.85rem; }
.admin-generator-table-wrap td { vertical-align: middle; }
.admin-generator-table-wrap input[type="checkbox"] { width: auto; }

.admin-variant-image { margin: 0 0 16px; }
.admin-variant-image > label {
  display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-mid); margin-bottom: 10px;
}
.admin-variant-image-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-variant-image-row img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.admin-variant-image-row input[type="file"] { font-size: 0.85rem; color: var(--text-gray); }
.admin-variant-image-row input[type="file"]::file-selector-button {
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-family: inherit;
  font-size: 0.82rem; font-weight: 500; cursor: pointer; margin-right: 10px;
  transition: background .15s;
}
.admin-variant-image-row input[type="file"]::file-selector-button:hover { background: var(--bg-light); }
.admin-variant-delete { text-align: right; margin: -4px 0 20px; }

/* ── Order detail ── */
.admin-order-layout { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; align-items: start; }
.admin-order-layout .admin-card { margin-bottom: 0; }
.admin-totals { width: 100%; margin-top: 16px; font-size: 0.88rem; }
.admin-totals td { padding: 4px 0; border: none; }
.admin-totals td:last-child { text-align: right; }
.admin-totals-final td { font-weight: 700; border-top: 1px solid var(--border) !important; padding-top: 10px !important; }
.admin-status-form { display: flex; align-items: center; gap: 12px; margin-top: 14px; }

@media (max-width: 1024px) {
  .admin-order-layout { grid-template-columns: 1fr; }
  .admin-form-grid, .admin-variant-grid { grid-template-columns: 1fr; }
}

/* ── Product wizard: step indicator ── */
.admin-steps { display: flex; align-items: center; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-step {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-gray);
  text-decoration: none; background: #fff; border: 1px solid var(--border);
}
a.admin-step:hover { border-color: var(--blue); color: var(--text); }
.admin-step-num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; background: var(--card-bg); color: var(--text-gray);
}
.admin-step--done { color: var(--text); border-color: var(--border); }
.admin-step--done .admin-step-num { background: var(--success); color: #fff; }
.admin-step--current { color: var(--text); border-color: var(--blue); }
.admin-step--current .admin-step-num { background: var(--blue); color: #fff; }
.admin-step--todo .admin-step-num { background: var(--card-bg); color: var(--text-gray); }
.admin-step--locked { opacity: 0.5; cursor: not-allowed; }
.admin-step-connector { width: 24px; height: 1px; background: var(--border); flex-shrink: 0; }

/* ── Modal (variant prompt) ── */
.admin-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15,28,50,0.55);
  align-items: center; justify-content: center; z-index: 500; padding: 20px;
}
.admin-modal-overlay.is-open { display: flex; }
.admin-modal-card {
  background: #fff; border-radius: 16px; padding: 32px; max-width: 380px; width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.18); text-align: center;
}
.admin-modal-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.admin-modal-card p { color: var(--text-gray); font-size: 0.88rem; margin-bottom: 24px; line-height: 1.5; }
.admin-modal-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.admin-modal-actions .btn-primary, .admin-modal-actions .btn-secondary { width: 100%; text-align: center; }

/* ── Product card: wishlist heart overlay ── */
.product-card { position: relative; }
.product-card-link { display: block; color: inherit; }
.product-card-wishlist { position: absolute; top: 12px; right: 12px; z-index: 2; }
.wishlist-heart-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  font-size: 1.05rem; color: var(--navy); line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.wishlist-heart-btn:hover { color: var(--blue); }
.wishlist-heart-btn--login { position: absolute; top: 12px; right: 12px; z-index: 2; text-decoration: none; }
.product-wishlist-form { margin-top: 12px; }
.product-wishlist-link { font-size: 0.88rem; }

/* ── Account area ── */
.account-main { padding: 48px 56px 96px; }
.account-container { max-width: 1120px; margin: 0 auto; }
.account-header { margin-bottom: 32px; }
.account-sub { color: var(--text-gray); font-size: 0.92rem; margin-top: 4px; }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.account-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.account-card--wide { grid-column: 1 / -1; }
.account-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.account-card-header h2 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.account-empty { color: var(--text-gray); font-size: 0.9rem; }
.account-hint { color: var(--text-gray); font-size: 0.78rem; margin-top: 6px; }
.account-address { font-size: 0.9rem; line-height: 1.6; color: var(--text-mid); }
.account-list { display: flex; flex-direction: column; gap: 14px; }
.account-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.account-list-row:last-child { border-bottom: none; padding-bottom: 0; }
.account-list-row a { display: flex; align-items: center; gap: 10px; }
.account-muted { color: var(--text-gray); font-size: 0.85rem; }
.account-form .form-group { margin-bottom: 16px; }

.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 24px; }
.address-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; font-size: 0.88rem; line-height: 1.6; color: var(--text-mid);
}
.address-card-label { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.address-card-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.address-card--editing { border-color: var(--blue); }
.badge-default {
  position: absolute; top: 16px; right: 16px; background: var(--blue); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-mid); margin: 12px 0 20px; }
.checkbox-label input { width: auto; }

.btn-link--danger { color: #DC2626; }
.btn-link--danger:hover { color: #991b1b; }

.wishlist-card-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }

@media (max-width: 1024px) {
  .account-main { padding: 40px 32px 72px; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .account-main { padding: 32px 20px 56px; }
}

/* ==========================================================================
   LEGAL PAGES (privacy / terms / refund policy)
   ========================================================================== */
.legal-page { padding: 120px 56px 100px; max-width: 860px; margin: 0 auto; }
.legal-page .section-heading { margin-bottom: 24px; }
.legal-placeholder-notice {
  border: 1px dashed var(--blue); border-radius: 12px; padding: 16px 20px;
  margin-bottom: 28px; background: var(--bg-light); font-size: 0.9rem; color: var(--text-mid);
}
.legal-placeholder-notice strong { display: block; color: var(--text); margin-bottom: 4px; }
.legal-body { font-size: 0.92rem; line-height: 1.7; color: var(--text-mid); }

@media (max-width: 640px) {
  .legal-page { padding: 90px 20px 64px; }
}

/* ==========================================================================
   HOME V2 — preview redesign (/home-v2), inspired by the Lumen Architects
   Suite reference. All new selectors are "hv2-" namespaced so they cannot
   affect the live home page. Dark sections use --navy/--navy-dark in place
   of the reference's black, --blue/--blue-soft in place of its gold accent.
   ========================================================================== */

.hv2-heading-light { font-size: 2.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.6px; color: #fff; }

.hv2-section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }

.hv2-btn-outline {
  display: inline-block; background: transparent; color: #fff;
  padding: 14px 34px; border-radius: 40px; border: 1px solid rgba(255,255,255,.55);
  font-size: 1rem; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s;
}
.hv2-btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hv2-btn-outline--light { color: var(--navy); background: #fff; border-color: #fff; }
.hv2-btn-outline--light:hover { background: rgba(255,255,255,.85); }

/* ── Hero ── */
.hv2-hero { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.hv2-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hv2-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,28,50,.75) 0%, rgba(15,28,50,.45) 45%, rgba(15,28,50,.88) 100%);
}
.hv2-hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; max-width: 900px; margin: 0 auto;
}
.hv2-hero-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-soft); margin-bottom: 20px;
}
.hv2-hero-heading { font-size: 4rem; font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 22px; }
.hv2-hero-sub { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 560px; line-height: 1.65; margin-bottom: 36px; }
.hv2-hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hv2-hero-scroll {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px;
}
.hv2-hero-scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: #fff;
  animation: hv2-scroll-cue 1.8s ease-in-out infinite;
}
@keyframes hv2-scroll-cue {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ── Trust strip (marquee) ── */
.hv2-trust { background: var(--navy-dark); padding: 44px 0; text-align: center; }
.hv2-trust-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 24px;
}
.hv2-trust-marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.hv2-trust-track {
  display: flex; align-items: center; gap: 20px; width: max-content;
  animation: hv2-marquee 26s linear infinite;
}
.hv2-trust-item {
  font-size: 1.5rem; font-weight: 500; letter-spacing: 0.3px; white-space: nowrap;
  color: rgba(255,255,255,.78); transition: color .25s ease;
  cursor: default;
}
.hv2-trust-item:hover { color: var(--blue-soft); }
.hv2-trust-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.28); flex-shrink: 0; }

@keyframes hv2-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-trust-track { animation: none; overflow-x: auto; }
}

/* ── Three Disciplines ── */
.hv2-disciplines { background: var(--navy-dark); padding: 100px 56px; }
.hv2-disciplines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1240px; margin: 0 auto; }
.hv2-discipline-card {
  position: relative; display: block; background: var(--navy); border-radius: 20px; overflow: hidden;
  padding: 28px; transition: transform .3s ease, box-shadow .3s ease;
}
.hv2-discipline-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hv2-discipline-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--blue-soft); display: block; margin-bottom: 16px; }
.hv2-discipline-img { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.hv2-discipline-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hv2-discipline-card:hover .hv2-discipline-img img { transform: scale(1.05); }
.hv2-discipline-card h3 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.hv2-discipline-card p { font-size: 0.9rem; line-height: 1.65; color: rgba(255,255,255,.7); }

/* ── Why Kerr (differentiators) ── */
.hv2-why { background: #fff; padding: 100px 56px; }
.hv2-why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; max-width: 1240px; margin: 0 auto; }
.hv2-why-item { text-align: center; }
.hv2-why-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 14px;
  background: var(--bg-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.hv2-why-icon svg { width: 26px; height: 26px; }
.hv2-why-item h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.hv2-why-item p { font-size: 0.85rem; line-height: 1.6; color: var(--text-gray); }

/* ── Featured Work ── */
.hv2-work { background: var(--bg-light); padding: 100px 56px; }
.hv2-work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.hv2-work-tile { position: relative; display: block; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; }
.hv2-work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hv2-work-tile:hover img { transform: scale(1.06); }
.hv2-work-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 22px; background: linear-gradient(to top, rgba(14,28,60,.92) 0%, transparent 55%);
}
.hv2-work-tag { color: #fff; font-size: 0.95rem; font-weight: 600; }
.hv2-work-desc { color: rgba(255,255,255,.75); font-size: 0.78rem; }

/* ── Ecosystems ── */
.hv2-eco { background: var(--navy); padding: 100px 56px; }
.hv2-eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.hv2-eco-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 30px 26px; }
.hv2-eco-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--blue-soft); margin-bottom: 10px; }
.hv2-eco-card p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,.75); }

/* ── Instruments ── */
.hv2-instruments { background: #fff; padding: 100px 56px; }
.hv2-instruments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; }
.hv2-instrument-card { background: var(--bg-light); border-radius: 16px; overflow: hidden; text-align: center; padding-bottom: 20px; }
.hv2-instrument-img { aspect-ratio: 4/3; }
.hv2-instrument-img img { width: 100%; height: 100%; object-fit: cover; }
.hv2-instrument-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-top: 18px; }
.hv2-instrument-card--text { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; padding: 20px; }
.hv2-instrument-card--text h3 { margin-top: 0; margin-bottom: 6px; }
.hv2-instrument-card--text p { font-size: 0.82rem; color: var(--text-gray); }

/* ── Architects & Developers ── */
.hv2-services {
  background: var(--bg-light); padding: 100px 56px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  max-width: 1240px; margin: 0 auto;
}
.hv2-services-copy p { color: var(--text-mid); line-height: 1.72; font-size: 0.97rem; margin: 18px 0 8px; }
.hv2-services-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
}
.hv2-services-list li {
  position: relative; padding-left: 26px; font-size: 0.94rem; font-weight: 500; color: var(--text);
}
.hv2-services-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--blue);
}

/* ── CTA — Begin ── */
.hv2-cta { background: var(--navy); padding: 120px 56px; text-align: center; }
.hv2-cta-inner { max-width: 640px; margin: 0 auto; }
.hv2-cta h2 { font-size: 3.2rem; font-weight: 700; color: #fff; letter-spacing: -1px; margin-bottom: 18px; }
.hv2-cta p { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.65; margin-bottom: 32px; }

@media (max-width: 1120px) {
  .hv2-disciplines-grid, .hv2-work-grid, .hv2-instruments-grid { grid-template-columns: repeat(2, 1fr); }
  .hv2-why-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  .hv2-services { grid-template-columns: 1fr; gap: 32px; }
  .hv2-hero-heading { font-size: 3rem; }
}
@media (max-width: 640px) {
  .hv2-hero-heading { font-size: 2.2rem; }
  .hv2-hero-sub { font-size: 0.95rem; }
  .hv2-disciplines, .hv2-why, .hv2-work, .hv2-eco, .hv2-instruments, .hv2-services, .hv2-cta {
    padding-left: 20px; padding-right: 20px;
  }
  .hv2-trust-item { font-size: 1.2rem; }
  .hv2-disciplines-grid, .hv2-work-grid, .hv2-instruments-grid, .hv2-eco-grid { grid-template-columns: 1fr; }
  .hv2-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hv2-services-list { grid-template-columns: 1fr; }
  .hv2-cta h2 { font-size: 2.2rem; }
  .hv2-heading-light, .section-heading { font-size: 1.85rem; }
}

/* ==========================================================================
   PRODUCT V2 — single-product page preview (/smart-curtain-system), "pv2-" namespaced
   so it cannot affect the live /product/{slug} template.
   ========================================================================== */

.pv2-page { max-width: 1240px; margin: 0 auto; }

/* ── Hero ── */
.pv2-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; margin-bottom: 88px; }

.pv2-gallery { display: flex; flex-direction: row; gap: 14px; }
.pv2-gallery-thumbs { display: flex; flex-direction: column; gap: 10px; width: 72px; flex-shrink: 0; }
.pv2-thumb {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-light);
  border: 2px solid transparent; padding: 0; cursor: pointer; transition: border-color .2s;
}
.pv2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv2-thumb.active, .pv2-thumb:hover { border-color: var(--blue); }

.pv2-gallery-main {
  position: relative; flex: 1; min-width: 0; aspect-ratio: 4/3.6; border-radius: 16px; overflow: hidden;
  background: var(--bg-light); border: 1px solid var(--border);
}
.pv2-gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.pv2-badge-new {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
}
.pv2-zoom-controls {
  position: absolute; bottom: 14px; right: 14px; z-index: 1;
  display: flex; background: #fff; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  overflow: hidden;
}
.pv2-zoom-controls button {
  width: 34px; height: 34px; border: none; background: none; cursor: pointer;
  font-size: 1.1rem; color: var(--text-mid); transition: background .15s, color .15s;
}
.pv2-zoom-controls button:hover { background: var(--bg-light); color: var(--blue); }
.pv2-zoom-controls button:first-child { border-right: 1px solid var(--border); }

.pv2-title { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 12px; }
.pv2-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; max-width: 46ch; }

.pv2-eco-pills { display: flex; gap: 8px; margin-bottom: 22px; }
.pv2-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 600; color: var(--blue); background: #EFF4FF;
  border: 1px solid #DCE6FC; border-radius: 20px; padding: 5px 14px 5px 10px;
}
.pv2-pill-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.pv2-pill-dot--zigbee { background: #7C3AED; }
.pv2-pill-dot--matter { background: var(--blue); }
.pv2-pill-dot--dali   { background: #16A34A; }

.pv2-price-block { margin-bottom: 16px; }
.pv2-price-label { display: block; font-size: 0.8rem; color: var(--text-gray); margin-bottom: 2px; }
.pv2-price { font-size: 2rem; font-weight: 700; color: var(--text); }
.pv2-price-note { font-size: 0.8rem; color: var(--text-gray); margin-top: 4px; }

.pv2-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pv2-rating .stars { display: flex; gap: 2px; color: #F5A623; }
.pv2-rating .stars svg { width: 16px; height: 16px; }
.pv2-rating-count { font-size: 0.85rem; color: var(--text-gray); }

.pv2-workswith { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pv2-workswith-chip {
  font-size: 0.76rem; font-weight: 500; color: var(--text-mid); background: var(--bg-light);
  border: 1px solid var(--border); border-radius: 20px; padding: 6px 12px;
}

.pv2-cta-row { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pv2-meta-links { display: flex; gap: 20px; }

/* ── Why choose Kerr ── */
.pv2-why { padding: 72px 0; border-top: 1px solid var(--border); }
.pv2-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.pv2-why-item { text-align: center; }
.pv2-why-icon {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--bg-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.pv2-why-icon svg { width: 24px; height: 24px; }
.pv2-why-item h3 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.pv2-why-item p { font-size: 0.8rem; line-height: 1.5; color: var(--text-gray); }

/* ── Product overview ── */
.pv2-overview {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  padding: 72px 0; border-top: 1px solid var(--border);
}
.pv2-overview-text .section-heading { font-size: 2.1rem; margin-bottom: 16px; }
.pv2-overview-text p { color: var(--text-mid); line-height: 1.72; font-size: 0.97rem; }
.pv2-overview-img { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
.pv2-overview-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Ecosystem selector ── */
.pv2-ecosystem { padding: 72px 0; border-top: 1px solid var(--border); }
.pv2-ecosystem .section-heading { margin-bottom: 6px; }
.pv2-ecosystem-sub { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 28px; }
.pv2-eco-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
.pv2-eco-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  border: 1.5px solid var(--border); border-radius: 14px; padding: 20px 22px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pv2-eco-card input { position: absolute; opacity: 0; }
.pv2-eco-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--bg-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.pv2-eco-icon svg { width: 19px; height: 19px; }
.pv2-eco-card strong { font-size: 1.05rem; color: var(--text); }
.pv2-eco-tag { font-size: 0.8rem; color: var(--text-gray); }
.pv2-eco-check {
  position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6); transition: opacity .15s, transform .15s;
}
.pv2-eco-card:has(input:checked) { border-color: var(--blue); background: #F5F8FF; }
.pv2-eco-card:has(input:checked) .pv2-eco-check { opacity: 1; transform: scale(1); }
.pv2-eco-card:has(input:checked) .pv2-eco-icon { background: var(--blue); color: #fff; }
.pv2-eco-help { font-size: 0.88rem; color: var(--text-gray); }
.pv2-eco-help a { color: var(--blue); font-weight: 500; }

/* ── Technical specifications ── */
.pv2-specs { padding: 72px 0; border-top: 1px solid var(--border); }
.pv2-specs-collapse summary {
  cursor: pointer; list-style: none; margin-bottom: 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.pv2-specs-collapse summary::-webkit-details-marker { display: none; }
.pv2-specs-collapse summary::after {
  content: ''; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--text-gray); border-bottom: 2px solid var(--text-gray);
  transform: rotate(45deg); transition: transform .2s; margin-left: 16px;
}
.pv2-specs-collapse[open] summary::after { transform: rotate(-135deg); }
.pv2-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; background: var(--bg-light); border-radius: 16px; padding: 8px 32px; }
.pv2-specs-col div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.pv2-specs-col div:last-child { border-bottom: none; }
.pv2-specs-col dt { font-size: 0.88rem; color: var(--text-gray); }
.pv2-specs-col dd { font-size: 0.88rem; font-weight: 600; color: var(--text); text-align: right; }

/* ── Compatibility ── */
.pv2-compat { padding: 40px 0; border-top: 1px solid var(--border); }
.pv2-compat-heading {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-gray); margin-bottom: 18px;
}
.pv2-compat-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--bg-light); border-radius: 14px; padding: 18px 24px;
}
.pv2-compat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv2-compat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-mid); background: #fff;
  border: 1px solid var(--border); border-radius: 20px; padding: 8px 18px;
}
.pv2-compat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.pv2-compat-note { font-size: 0.76rem; color: var(--text-gray); white-space: nowrap; }

/* ── Recommended products ── */
.pv2-recommended { padding: 72px 0; border-top: 1px solid var(--border); }
.pv2-recommended .section-heading { margin-bottom: 28px; }
.pv2-recommended-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pv2-rec-card {
  background: var(--bg-light); border-radius: 14px; padding: 26px 20px; text-align: center;
}
.pv2-rec-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 12px; background: #fff;
  border: 1px solid var(--border); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.pv2-rec-icon svg { width: 26px; height: 26px; }
.pv2-rec-card h3 { font-size: 0.85rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 8px; min-height: 2.8em; }
.pv2-rec-price { font-size: 0.9rem; font-weight: 700; color: var(--blue); }

/* ── Installation requirements ── */
.pv2-install { padding: 72px 0; border-top: 1px solid var(--border); }
.pv2-install .section-heading { margin-bottom: 28px; }
.pv2-install-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pv2-install-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--bg-light); border-radius: 14px; padding: 20px;
}
.pv2-install-item svg { width: 24px; height: 24px; color: var(--blue); }
.pv2-install-item strong { display: block; font-size: 0.86rem; color: var(--text); margin-bottom: 2px; }
.pv2-install-item span { font-size: 0.8rem; color: var(--text-gray); }

/* ── FAQ ── */
.pv2-faq { padding: 72px 0; border-top: 1px solid var(--border); }
.pv2-faq .section-heading { margin-bottom: 28px; }
.pv2-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.pv2-faq-item {
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; background: #fff;
}
.pv2-faq-item summary {
  cursor: pointer; font-size: 0.92rem; font-weight: 600; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.pv2-faq-item summary::-webkit-details-marker { display: none; }
.pv2-faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--blue); flex-shrink: 0; }
.pv2-faq-item[open] summary::after { content: '\2212'; }
.pv2-faq-item p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.6; margin-top: 12px; }

/* ── Customer support ── */
.pv2-support { padding: 64px 0 88px; border-top: 1px solid var(--border); text-align: center; }
.pv2-support h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pv2-support > p { color: var(--text-gray); font-size: 0.92rem; margin-bottom: 32px; }
.pv2-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pv2-support-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--bg-light); border-radius: 14px; padding: 20px 22px; transition: background .2s;
}
.pv2-support-card:hover { background: #EFF4FF; }
.pv2-support-card svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.pv2-support-card strong { display: block; font-size: 0.9rem; color: var(--text); }
.pv2-support-card span { font-size: 0.8rem; color: var(--text-gray); }

@media (max-width: 1120px) {
  .pv2-hero { grid-template-columns: 1fr; gap: 32px; }
  .pv2-why-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .pv2-overview { grid-template-columns: 1fr; gap: 28px; }
  .pv2-recommended-grid, .pv2-install-grid { grid-template-columns: repeat(2, 1fr); }
  .pv2-eco-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pv2-gallery { flex-direction: column-reverse; }
  .pv2-gallery-thumbs { flex-direction: row; width: auto; }
  .pv2-thumb { flex: 1; }
  .pv2-compat-bar { flex-direction: column; align-items: flex-start; }
  .pv2-why-grid { grid-template-columns: repeat(2, 1fr); }
  .pv2-specs-grid { grid-template-columns: 1fr; }
  .pv2-recommended-grid, .pv2-install-grid, .pv2-faq-grid, .pv2-support-grid { grid-template-columns: 1fr; }
  .pv2-title { font-size: 1.7rem; }
  .pv2-price { font-size: 1.6rem; }
}
