/* ═══════════════════════════════════════════════════════════════════
   MOTORIZATION SYSTEM — Shared Stylesheet (style.css)
   Used by: index.html, catalog.html, get-quote.html, login.html, talk-to-rep.html
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink: #1a1a1a;
  --ink2: #3d3d3d;
  --sur: #fff;
  --bg: #faf9f7;
  --bg2: #f0ede6;
  --mu: #999;
  --line: #e8e5df;
  --gold: #9b7520;
  --gl: #f5efdf;
  --accent: #1e5fd9;
  --al: #e8effd;
  --green: #16a34a;
  --red: #dc2626;
  --r: 12px;
  --rl: 18px;
  --rxl: 28px;
  --sh: 0 1px 3px rgba(0,0,0,.04);
  --sh2: 0 4px 24px rgba(0,0,0,.05);
  --sh3: 0 16px 48px rgba(0,0,0,.08);
  --e: cubic-bezier(.16,1,.3,1);
  --sp: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══ ANIMATIONS ═══ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(155,117,32,.08); }
  50% { box-shadow: 0 0 0 18px rgba(155,117,32,0); }
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes toastUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══ SCROLL REVEAL SYSTEM — premium staggered section animations ═══ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delay classes — chain them on consecutive children */
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.10s; }
.reveal-d3 { transition-delay: 0.15s; }
.reveal-d4 { transition-delay: 0.20s; }
.reveal-d5 { transition-delay: 0.25s; }
.reveal-d6 { transition-delay: 0.30s; }
.reveal-d7 { transition-delay: 0.35s; }
.reveal-d8 { transition-delay: 0.40s; }

/* Scale-in variant — cards, panels, feature blocks */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Slide-in from left variant */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from right variant */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Legacy compat — keep old fade-up working */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.vis,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ ANIMATED COUNTER ═══ */
.counter-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ═══ MARQUEE — infinite scroll logo strip ═══ */
.marquee-sec {
  padding: 48px 0;
  background: #fff;
  overflow: hidden;
  border-top: 1px solid #f0ede6;
  border-bottom: 1px solid #f0ede6;
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.marquee-track img:hover {
  opacity: 0.85;
  filter: grayscale(0%);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ CARD HOVER ENHANCEMENTS ═══ */
/* Premium card lift with glow */
.card-lift {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
  border-color: transparent;
}

/* ═══ BUTTON ARROW SLIDE ═══ */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-arrow .arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-arrow:hover {
  gap: 14px;
}
.btn-arrow:hover .arrow {
  transform: translateX(3px);
}

/* ═══ NAV UNDERLINE ANIMATION ═══ */
.nav-link-underline {
  position: relative;
}
.nav-link-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ═══ GLASS PANEL REVEAL ═══ */
.glass-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: opacity 0.7s ease,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.7s ease;
}
.glass-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══ SMOOTH IMAGE ZOOM-IN ═══ */
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom:hover img {
  transform: scale(1.06);
}

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: box-shadow .3s;
  height: 110px;
}
.nav.scrolled {
  border-bottom-color: #eee;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 100%; gap: 20px;
}
.nav-brand {
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; color: #111; text-decoration: none;
  position: relative;
}
.nav-logo {
  width: 130px; height: 130px;
  border-radius: 0;
  transition: none;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-brand:hover .nav-logo {
  transform: none;
  box-shadow: none;
}
.nav-brand h1 {
  font-size: 22px; font-weight: 800; letter-spacing: -.5px; line-height: 1;
}
.nav-brand span {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.8px;
  color: #b8860b; font-weight: 600; line-height: 1; margin-top: 2px;
}

/* ═══ FLOATING HOME BUTTON (non-home pages only) ═══ */
.float-home {
  position: fixed; top: 122px; left: 18px; z-index: 101;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  background: #fff; border: 1px solid #e8e5df;
  border-radius: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  text-decoration: none; color: #3d3d3d;
  font-size: 12px; font-weight: 600;
  transition: all .25s;
}
.float-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  border-color: #111;
  color: #111;
}
.float-home-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: #111; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s;
}
.float-home:hover .float-home-icon {
  transform: translateX(-2px);
}
.nav-brand .back-hint {
  display: none;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 13px; border-radius: 4px; font-size: 12.5px; font-weight: 500;
  color: #555; cursor: pointer; border: none; background: none;
  font-family: inherit; text-decoration: none; white-space: nowrap;
  transition: color .15s;
}
.nav-link:hover { background: none; color: #111; }
.nav-cta {
  margin-left: 8px; padding: 9px 22px; border-radius: 4px;
  background: #111; color: #fff; font-size: 12.5px; font-weight: 600;
  border: none; cursor: pointer; font-family: inherit; text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: #333; transform: none; }
.nav-cta:active { transform: none; }

/* Language switcher */
.lang-g {
  display: flex; gap: 1px; background: var(--bg2);
  border-radius: 7px; padding: 2px; margin-left: 6px;
}
.lang-o {
  padding: 5px 10px; border-radius: 6px; border: none;
  font-size: 10px; font-weight: 600; cursor: pointer; font-family: inherit;
  background: transparent; color: var(--mu); transition: all .2s;
}
.lang-o.active {
  background: var(--sur); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
  .nav-logo { width: 90px; height: 90px; }
  .nav-brand h1 { font-size: 17px; }
  .float-home { left: 10px; top: 118px; font-size: 11px; padding: 7px 12px 7px 10px; }
}

/* ═══ BUTTONS ═══ */
.btn {
  padding: 14px 30px; border-radius: 26px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; border: none;
  transition: all .25s var(--sp);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none;
}
.btn-p {
  background: var(--ink); color: #fff;
}
.btn-p:hover {
  background: var(--ink2); transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.btn-p:active { transform: scale(.97); }

.btn-s {
  background: var(--sur); color: var(--ink);
  border: 1px solid var(--line);
}
.btn-s:hover { border-color: var(--gold); transform: scale(1.03); }
.btn-s:active { transform: scale(.97); }

.btn-gold {
  background: var(--gold); color: #fff;
}
.btn-gold:hover {
  background: #7d5f1a; transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(155,117,32,.25);
}

.btn-sm { padding: 8px 18px; font-size: 12px; border-radius: 20px; }

/* ═══ HERO SECTION ═══ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 32px 80px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #faf9f7 0%, #f5f0e8 40%, #ebe4d6 100%);
}
.hero::after {
  pointer-events: none; content: '';
  position: absolute; top: -20%; right: -15%; width: 60%; height: 130%;
  background: radial-gradient(ellipse, rgba(155,117,32,.05) 0%, transparent 65%);
}
.hero-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; position: relative; z-index: 1;
}
.hero-txt { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.8px; color: var(--gold); margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 1px;
  background: var(--gold); opacity: .35;
}
.hero-txt h1 {
  font-size: clamp(34px, 5vw, 58px); font-weight: 800;
  line-height: 1.05; letter-spacing: -1.4px; margin-bottom: 18px;
}
.hero-txt h1 em { font-style: italic; font-weight: 400; color: var(--gold); }

.hero-pill-main {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 16px; background: var(--gl);
  border: 1.5px solid rgba(155,117,32,.15); margin-bottom: 16px;
  animation: pulse 3s ease-in-out infinite;
  font-size: 14px; font-weight: 700; color: var(--gold);
}
.hero-pill-main .icon { font-size: 22px; }
.hero-pill-main em { color: var(--ink); font-style: normal; }

.hero-pills { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink2);
  padding: 10px 16px; background: rgba(255,255,255,.7);
  border-radius: 10px; border: 1px solid var(--line);
  max-width: fit-content; transition: all .3s var(--e);
}
.hero-pill:hover {
  transform: translateX(4px); border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(155,117,32,.08);
}
.hero-pill .check { color: var(--green); font-size: 16px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-vis { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.hero-vis img {
  width: 100%; max-width: 520px; aspect-ratio: 4/3;
  object-fit: cover; border-radius: var(--rxl);
  box-shadow: 0 28px 70px rgba(0,0,0,.08);
  animation: float 6s ease-in-out infinite;
}
.hero-img-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 28px;
  background: var(--sur); border: 1.5px solid var(--line);
  color: var(--ink); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: all .3s var(--sp);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  animation: float 6s ease-in-out infinite;
  animation-delay: .4s;
}
.hero-img-cta:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--ink);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.hero-img-cta:active { transform: scale(.96); }
.hero-img-cta-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  transition: transform .3s var(--sp);
}
.hero-img-cta:hover .hero-img-cta-arrow {
  transform: translateX(3px);
}
.hero-badge {
  position: absolute; bottom: 18px; right: -10px;
  background: var(--sur); padding: 13px 22px; border-radius: 18px;
  box-shadow: var(--sh3); font-size: 12px; font-weight: 700;
  animation: fadeUp .6s .3s var(--e) both;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-badge .big { font-size: 22px; color: var(--gold); font-weight: 800; }
.hero-badge .sub { font-size: 11px; color: var(--mu); }

@media (max-width: 860px) {
  .hero { min-height: auto; padding: 90px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-txt h1 { font-size: 30px; }
  .hero-badge { right: 0; }
}

/* ═══ FULLSCREEN SHOWCASE ═══ */
.fshero {
  position: relative; height: 72vh; min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #0a0d14;
}
.fshero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s var(--e);
}
.fshero-slide.active { opacity: 1; }
.fshero-slide img, .fshero-slide video {
  width: 100%; height: 100%; object-fit: cover;
}
.fshero-slide::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.45) 100%),
              linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
/* Animated scene backgrounds — curtain/blind motion for each series */
.fshero-slide .scene { position: absolute; inset: 0; overflow: hidden; }
.fshero-slide .scene-roller { background: linear-gradient(180deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%); }
.fshero-slide .scene-shutter { background: linear-gradient(180deg, #2d1f1a 0%, #3e251a 40%, #1a0f0a 100%); }
.fshero-slide .scene-drapery { background: linear-gradient(180deg, #111922 0%, #1a2a3a 40%, #0d1520 100%); }
.fshero-slide .scene-venetian { background: linear-gradient(180deg, #1a201a 0%, #242f22 40%, #121812 100%); }
.fshero-slide .scene-exterior { background: linear-gradient(180deg, #1e1e2e 0%, #252540 40%, #101020 100%); }

/* Curtain/blind animated layers */
.fshero-slide .curtain-panel {
  position: absolute; top: 0; height: 100%; width: 52%;
  transition: transform 8s ease-in-out;
}
.fshero-slide.active .curtain-panel { animation: curtainOpen 6s ease-in-out forwards; }
@keyframes curtainOpen {
  0% { transform: translateX(0); }
  60% { transform: translateX(-92%); }
  100% { transform: translateX(-88%); }
}

/* Roller shade animation — fabric rolling down */
.fshero-slide .roller-fabric {
  position: absolute; top: 0; left: 15%; right: 15%; height: 0%;
  transition: height 6s ease-in-out;
}
.fshero-slide.active .roller-fabric { animation: rollerDrop 6s ease-in-out forwards; }
@keyframes rollerDrop {
  0% { height: 0%; }
  100% { height: 75%; }
}

/* Venetian blinds — slats tilting */
.fshero-slide .venetian-slat {
  position: absolute; left: 10%; right: 10%; height: 8px;
  transition: transform 1.5s ease-in-out;
}
.fshero-slide.active .venetian-slat { animation: slatTilt 3s ease-in-out infinite; }
@keyframes slatTilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(80deg); }
}

/* Exterior shutter — rolling shutter going down */
.fshero-slide .shutter-segment {
  position: absolute; left: 10%; right: 10%; height: 12px;
  background: rgba(255,255,255,.06);
  transition: opacity .3s;
}
.fshero-slide .shutter-roll {
  position: absolute; top: -20%; left: 20%; right: 20%; height: 120%;
  transition: transform 6s ease-in-out;
}
.fshero-slide.active .shutter-roll { animation: shutterRoll 6s ease-in-out forwards; }
@keyframes shutterRoll {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0%); }
}

/* Light beam effect for all scenes */
.fshero-slide .light-beam {
  position: absolute; top: 15%; bottom: 15%; left: 50%;
  width: 0; opacity: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.04), transparent);
  transition: width 8s ease-in-out, opacity 8s ease-in-out;
}
.fshero-slide.active .light-beam { animation: beamGrow 6s 1s ease-in-out forwards; }
@keyframes beamGrow {
  0% { width: 0%; opacity: 0; left: 50%; }
  100% { width: 60%; opacity: 1; left: 20%; }
}

.fshero-content {
  position: relative; z-index: 2; text-align: center;
  color: #fff; max-width: 700px; padding: 0 24px;
}
.fshero-content h2 {
  font-size: clamp(28px, 4vw, 52px); font-weight: 800;
  margin-bottom: 12px; letter-spacing: -1px;
}
.fshero-content p {
  font-size: 15px; color: rgba(255,255,255,.6);
  margin-bottom: 24px; line-height: 1.7;
}
.fshero-content .btn { margin: 0 auto; max-width: 300px; }
.fshero-dots {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.fshero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px; z-index: 3;
}
.fshero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer; border: none;
  transition: all .3s;
}
.fshero-dot.active { background: #fff; width: 24px; border-radius: 5px; }
.fshero-arrows {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: space-between; padding: 0 24px; z-index: 3;
  pointer-events: none;
}
.fshero-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; pointer-events: auto;
}
.fshero-arrow:hover { background: rgba(255,255,255,.22); }

/* ═══ CATALOG LAYOUT ═══ */
.cat-layout { display: flex; gap: 24px; min-height: 50vh; }
.cat-sidebar {
  width: 280px; min-width: 280px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 2px;
  user-select: none;
}
.cat-sb-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink2);
  cursor: pointer; transition: all .15s var(--e);
  border: none; background: none; font-family: inherit;
  text-align: left; width: 100%;
}
.cat-sb-item:hover { background: var(--bg2); color: var(--ink); }
.cat-sb-item.active { background: var(--ink); color: #fff; font-weight: 600; }
.cat-sb-item .cnt {
  font-size: 11px; opacity: .6; margin-left: auto;
  background: rgba(0,0,0,.04); padding: 2px 10px; border-radius: 10px;
}
.cat-sb-item.active .cnt { background: rgba(255,255,255,.15); }

/* ═══ SIDEBAR TREE ═══ */
.cat-tree-group {
  display: flex; flex-direction: column;
}
.cat-tree-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; font-size: 9px;
  color: var(--mu); transition: transform .2s var(--e);
  flex-shrink: 0;
}
.cat-tree-arrow.open {
  transform: rotate(90deg);
}
.cat-tree-arrow-spacer {
  width: 18px; height: 18px; flex-shrink: 0;
}
.cat-tree-parent {
  font-weight: 600 !important;
  font-size: 15px !important;
}
.cat-tree-child {
  font-size: 14px !important;
  padding-left: 48px !important;
  font-weight: 400 !important;
}
.cat-tree-child:hover {
  background: var(--bg2) !important;
}
.cat-tree-children {
  display: none;
  flex-direction: column;
}
.cat-tree-children.open {
  display: flex;
}

.cat-main { flex: 1; min-width: 0; }
.cat-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.cat-search {
  flex: 1; min-width: 180px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--sur); color: var(--ink);
  font-size: 13.5px; font-family: inherit; outline: none; transition: all .2s;
}
.cat-search:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
.cat-search::placeholder { color: var(--mu); }
.cat-pill {
  padding: 8px 16px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--sur);
  color: var(--ink2); font-size: 12.5px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all .15s var(--e);
  white-space: nowrap;
}
.cat-pill:hover { background: var(--bg2); border-color: #ccc; }
.cat-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.motor-grid { gap: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}
@media (max-width: 860px) {
  .cat-layout { flex-direction: column; }
  .cat-sidebar { width: 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .cat-sb-item { width: auto; font-size: 13px; padding: 8px 14px; }
  .motor-grid { gap: 14px; grid-template-columns: 1fr; }
}

/* ═══ MOTOR CARDS ═══ */
.mcard {
  background: var(--sur); border-radius: var(--rl);
  border: 1px solid var(--line); overflow: hidden;
  transition: all .3s var(--e); cursor: pointer;
}
.mcard:hover { transform: translateY(-2px); box-shadow: var(--sh3); border-color: #d8d5cf; }
.mcard:active { transform: scale(.99); }
.mcard-inner { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; }
.mcard-thumb {
  width: 56px; height: 56px; border-radius: 10px;
  background: var(--bg2); object-fit: contain; padding: 4px; flex-shrink: 0;
}
.mcard-noimg {
  width: 56px; height: 56px; border-radius: 10px; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--mu); flex-shrink: 0;
  text-align: center; line-height: 1.2;
}
.mcard-info { flex: 1; min-width: 0; }
.mcard-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; color: var(--ink); line-height: 1.3; }
.mcard-sku { font-size: 10.5px; color: var(--mu); font-family: 'SF Mono', Consolas, monospace; margin-bottom: 4px; }
.mcard-tags { display: flex; flex-wrap: wrap; gap: 3px; max-height: 44px; overflow: hidden; }
.mtag {
  padding: 2px 8px; border-radius: 3px; font-size: 9.5px; font-weight: 600;
  background: var(--bg2); color: var(--ink2);
}
.mtag.bt { background: var(--al); color: var(--accent); }
.mtag.hl { background: var(--gl); color: var(--gold); }

/* ═══ SLIDE PANEL ═══ */
.slide-ov {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.4); display: flex; justify-content: flex-end;
  opacity: 0; pointer-events: none; transition: opacity .25s;
  backdrop-filter: blur(4px);
}
.slide-ov.open { opacity: 1; pointer-events: auto; }
.slide-pn {
  width: 520px; max-width: 100vw; background: var(--sur);
  overflow-y: auto; display: flex; flex-direction: column;
  height: 100vh; animation: slideIn .35s var(--e);
}
.slide-hd {
  position: sticky; top: 0; z-index: 2; background: var(--sur);
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.slide-cl {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--sur);
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.slide-cl:hover { background: var(--bg2); }
.slide-bd { padding: 24px; flex: 1; }
.slide-bd img {
  width: 100%; aspect-ratio: 16/10; object-fit: contain;
  background: var(--bg); border-radius: var(--rl); margin-bottom: 20px;
}
.slide-sku { font-size: 12px; font-family: 'SF Mono', Consolas, monospace; color: var(--mu); margin-bottom: 6px; }
.slide-section { margin-bottom: 18px; }
.slide-section h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--mu); margin-bottom: 8px;
}
.slide-ft {
  position: sticky; bottom: 0; background: var(--sur);
  padding: 16px 24px; border-top: 1px solid var(--line);
  display: flex; gap: 10px;
}

/* ═══ FORM ELEMENTS ═══ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--ink2); margin-bottom: 6px;
}
.form-input {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--sur);
  color: var(--ink); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}
.form-input::placeholder { color: var(--mu); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* ═══ PAGE SECTIONS ═══ */
.sec { padding: 70px 32px; }
.sec-in { max-width: 1440px; margin: 0 auto; }
.sec-eyebrow {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--gold); margin-bottom: 10px;
}
.sec-h2 {
  font-size: clamp(26px, 3.8vw, 40px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.7px; margin-bottom: 10px;
}
.sec-p {
  font-size: 14.5px; color: var(--mu); max-width: 580px;
  line-height: 1.7; margin-bottom: 32px;
}
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: all .7s var(--e);
}
.fade-up.vis,
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .sec { padding: 45px 20px; }
}

/* ═══ PAGE HEADER (for sub-pages) ═══ */
.page-header {
  position: relative;
  padding: 160px 32px 80px; text-align: center;
  /* background is set via page-specific class below */
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -.8px; margin-bottom: 8px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.page-header p {
  font-size: 14px; color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ═══ PAGE-SPECIFIC HEADER BACKGROUNDS ═══ */
/* Each page gets a unique background image via its own header class */

.cat-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/rs-roller-shade/rs-roller-shade_00.jpg');
}
.reviews-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/rs-roller-shade/rs-roller-shade_01.jpg');
}
.talk-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/dp-standard-drapery/dp-standard-drapery_01.jpg');
}
.quote-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/rs-roller-shade/rs-roller-shade_02.jpg');
}
.terms-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/dp-standard-drapery/dp-standard-drapery_02.jpg');
}
.about-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/rs-roller-shade/rs-roller-shade_03.jpg');
}
.compat-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/dp-standard-drapery/dp-standard-drapery_03.jpg');
}
.specs-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/rs-roller-shade/rs-roller-shade_04.jpg');
}
.pl-page-header {
  background-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 100%), url('../images/dp-standard-drapery/dp-standard-drapery_04.jpg');
}

/* ═══ NAV DROPDOWN ═══ */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  content: '▾'; font-size: 9px; margin-left: 2px;
  transition: transform .2s;
}
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.12);
  border: 1px solid var(--line); padding: 8px; opacity: 0;
  pointer-events: none; transform: translateY(8px);
  transition: all .25s var(--e); z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(4px);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink2);
  text-decoration: none; white-space: nowrap;
  transition: all .15s;
}
.nav-dropdown-menu a:hover {
  background: var(--bg2); color: var(--ink);
}
.nav-dropdown-menu a .dd-count {
  font-size: 10px; color: var(--mu); margin-left: auto;
  background: var(--bg2); padding: 2px 8px; border-radius: 8px;
}
.nav-dropdown-menu a:hover .dd-count {
  background: var(--sur); color: var(--gold);
}

/* ═══ AUTH CARD ═══ */
.auth-container {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; padding: 40px 20px;
}
.auth-card {
  width: 100%; max-width: 420px; background: var(--sur);
  border-radius: var(--rxl); border: 1px solid var(--line);
  padding: 40px; box-shadow: var(--sh2);
}
.auth-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.auth-card .sub { font-size: 13px; color: var(--mu); margin-bottom: 28px; }
.auth-tabs {
  display: flex; gap: 1px; background: var(--bg2);
  border-radius: 10px; padding: 3px; margin-bottom: 24px;
}
.auth-tab {
  flex: 1; padding: 10px; border-radius: 8px; border: none;
  background: transparent; color: var(--mu); font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: inherit; transition: all .2s;
}
.auth-tab.active { background: var(--sur); color: var(--ink); box-shadow: var(--sh); }
.auth-link { font-size: 12px; color: var(--mu); text-align: center; margin-top: 12px; }
.auth-link a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

/* ═══ QUOTE CONFIGURATOR (get-quote.html) ═══ */
.quote-cta-section {
  padding: 40px 32px; text-align: center; background: var(--bg);
}
.quote-flow-steps {
  display: flex; justify-content: center; gap: 24px;
  max-width: 900px; margin: 0 auto 30px; flex-wrap: wrap;
}
.quote-step {
  flex: 1; min-width: 200px; max-width: 280px;
  background: var(--sur); padding: 28px 24px;
  border-radius: var(--rxl); border: 1px solid var(--line);
  text-align: center; transition: all .3s var(--e);
}
.quote-step:hover { transform: translateY(-4px); box-shadow: var(--sh3); }
.quote-step .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 16px;
}
.quote-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.quote-step p { font-size: 12px; color: var(--mu); line-height: 1.5; }
.quote-option-card {
  display: inline-block; padding: 16px 24px; margin: 6px;
  border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--sur); cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 600; color: var(--ink2);
  transition: all .2s var(--e); text-align: center;
}
.quote-option-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh2); }
.quote-option-card.selected {
  border-color: var(--gold); background: var(--gl); color: var(--gold);
}

.result-match {
  background: var(--gl); border-radius: var(--rl);
  padding: 24px; text-align: center; margin: 20px 0;
}
.result-match h3 { font-size: 20px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }

/* ═══ FOOTER ═══ */
.ft { background: #111; padding: 40px 32px 24px; color: rgba(255,255,255,.45); }
.ft-in {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.ft h4 {
  font-size: 10px; font-weight: 700; color: #fff;
  margin-bottom: 12px; text-transform: uppercase; letter-spacing: .6px;
}
.ft a {
  font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.9;
  text-decoration: none; display: block;
}
.ft a:hover { color: #fff; }
.ft-div {
  max-width: 1440px; margin: 20px auto 0; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; color: rgba(255,255,255,.3);
}
@media (max-width: 700px) {
  .ft-in { grid-template-columns: 1fr 1fr; }
}

/* ═══ TOAST ═══ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 9999; background: var(--ink); color: #fff;
  padding: 11px 20px; border-radius: 20px; font-size: 12px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  animation: toastUp .4s var(--e);
}

/* ═══ TALK-TO-REP ═══ */
.contact-layout {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}
.contact-info { font-size: 14px; line-height: 1.8; color: var(--ink2); }
.contact-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.contact-info .info-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.contact-card {
  background: var(--sur); border-radius: var(--rxl);
  border: 1px solid var(--line); padding: 36px; box-shadow: var(--sh2);
}
@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ═══ PRODUCT MATCHING RADIO ═══ */
.match-section { margin-bottom: 28px; }
.match-section h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--ink);
}
.match-section p {
  font-size: 12px; color: var(--mu); margin-bottom: 12px;
}
.match-options { display: flex; flex-wrap: wrap; gap: 8px; }
.match-opt {
  padding: 12px 20px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--sur);
  cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--ink2); transition: all .15s var(--e);
}
.match-opt:hover { border-color: var(--ink); }
.match-opt.selected { border-color: var(--gold); background: var(--gl); color: var(--gold); font-weight: 600; }
