/* ============================================================
   German Orbit — Midnight Blue · Quiet Luxury · Exa-class Minimal
   Clean dark surfaces, restrained blue accent, zero glow noise.
   ============================================================ */

:root {
  /* ── Surfaces — pure dark, no tint bleed ── */
  --bg: #070809;
  --bg-raised: #0d0f12;
  --bg-card: #111318;
  --surface: #181b21;
  --surface-hover: #1e2129;
  --surface-glass: rgba(10, 11, 14, 0.88);

  /* ── Borders — monochrome, very quiet ── */
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.10);
  --line-glass: rgba(255, 255, 255, 0.07);

  /* ── Typography ── */
  --text: #e8eaf0;
  --text-dim: #8891a8;
  --muted: #4a5268;

  /* ── Primary accent — electric blue, used sparingly ── */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --accent-glow: rgba(37, 99, 235, 0.18);
  --accent-mid: rgba(37, 99, 235, 0.14);

  /* ── Luxury gold ── */
  --gold: #c9a96e;
  --gold-soft: rgba(201, 169, 110, 0.08);
  --gold-glow: rgba(201, 169, 110, 0.12);

  /* ── Status ── */
  --red: #ef4444;
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.10);

  /* ── Glass — header only, nowhere else ── */
  --glass-bg: rgba(10, 11, 14, 0.80);
  --glass-bg-heavy: rgba(10, 11, 14, 0.92);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-inset: rgba(255, 255, 255, 0.03);
  --glass-blur: blur(20px) saturate(1.6);
  --glass-blur-heavy: blur(32px) saturate(1.8);

  /* ── Shadows — depth only, no color ── */
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-glass: 0 4px 24px rgba(0, 0, 0, 0.4);
  --glow-accent: none;

  /* ── Geometry ── */
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 5px;
  --radius-pill: 100px;
  --max-width: 1320px;
  --header-h: 64px;
  --announce-h: 38px;

  /* ── Fonts ── */
  --font-display: "Merriweather", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  /* Legacy aliases kept for compatibility */
  --font-heading: var(--font-display);
  --font-body: var(--font-sans);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; background: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ---- LAYOUT ---- */
.page-width {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section-spacer { padding: 72px 0; }
.section-spacer-sm { padding: 48px 0; }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* Display headings — Merriweather for editorial gravitas */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

/* UI headings — Inter for clarity */
h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

/* Code / mono elements */
code, pre, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--text-dim);
  background: var(--surface);
}

.btn-white {
  background: #fff;
  color: #0a0b0e;
}
.btn-white:hover { background: #f0f1f5; }

.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 0.92rem; }
.btn-pill { border-radius: var(--radius-pill); }

/* ---- ANNOUNCEMENT BAR ---- */
.announce-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--announce-h);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  padding: 0 20px;
  letter-spacing: 0.03em;
}

.announce-bar a { text-decoration: underline; color: var(--accent); }
.announce-bar strong { color: var(--text); }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Brand mark — SVG logo replaces text square */
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Logo image */
.brand-logo-img {
  flex-shrink: 0;
  display: block;
  height: 80px;
  width: 80px;
  object-fit: contain;
}
/* light mode: 显示彩色logo，隐藏黑色logo */
[data-theme="light"] .brand-logo-dark  { display: none; }
[data-theme="light"] .brand-logo-light { display: block; }
/* dark mode: 显示黑色logo，隐藏彩色logo */
[data-theme="dark"]  .brand-logo-light { display: none; }
[data-theme="dark"]  .brand-logo-dark  { display: block; }

.brand-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.site-nav a, .site-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.site-nav a:hover, .site-nav .nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-actions .btn { padding: 9px 18px; font-size: 0.82rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  transition: all 0.15s;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  position: absolute;
  top: 2px;
  right: 2px;
}

/* ---- MOBILE NAV ---- */
.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ---- VEHICLE SELECTOR (YMM) ---- */
.ymm-section {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.ymm-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ymm-form label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ymm-form select {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.86rem;
  min-width: 160px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%236e6e80' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.ymm-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.ymm-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* ---- HERO SLIDESHOW ---- */
.hero-slideshow {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--bg-raised);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: grid;
  place-items: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 14, 0.82) 0%, rgba(3, 8, 22, 0.45) 60%, transparent 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
  padding: 0 0 0 0;
}

.hero-slide-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  max-width: 600px;
  margin-bottom: 12px;
}

.hero-slide-content p {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.hero-dot.active { background: rgba(255, 255, 255, 0.3); }

.hero-dot-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.hero-dot.active .hero-dot-fill {
  animation: dot-progress 10s linear forwards;
}

@keyframes dot-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---- BRAND LOGOS ---- */
.brand-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-logos img {
  height: 36px;
  opacity: 0.5;
  filter: grayscale(100%) brightness(2);
  transition: all 0.3s;
}

.brand-logos img:hover { opacity: 1; filter: none; }

.brand-bar-more {
  text-align: center;
  margin-top: 20px;
}

.brand-bar-more span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-right: 12px;
}

/* ---- PROMO GRID (2x2) ---- */
.promo-grid {
  width: 100%;
}

.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: all 0.3s;
}

.promo-card:hover { border-color: var(--line-strong); }

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.promo-card:hover img { transform: scale(1.03); }

.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 12, 16, 0.85) 100%);
}

.promo-card-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}

.promo-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.promo-card-body p {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* ---- PRODUCT GRID ---- */
.product-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.product-section-header h2 { font-size: 1.4rem; }

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-badge-new { background: var(--accent); }

.product-card-body {
  padding: 16px;
}

.product-card-brand {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  font-size: 0.92rem;
  font-weight: 700;
}

.product-card-price .old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--gold);
}

/* ---- PRODUCT CAROUSEL (HORIZONTAL SCROLL) ---- */
.product-scroll-wrap {
  position: relative;
  overflow: hidden;
}

.product-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.product-scroll::-webkit-scrollbar { display: none; }

.product-scroll .product-card {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
}

/* ---- COLLECTION / CATALOG PAGE ---- */
.collection-hero {
  padding: 40px 0 24px;
}

.collection-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

.collection-hero p { color: var(--text-dim); }

.collection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.collection-count { font-size: 0.86rem; color: var(--muted); }

.collection-sort select {
  padding: 8px 32px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.84rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%236e6e80' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.collection-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  transition: all 0.15s;
}

.filter-chip:hover, .filter-chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ---- MODEL CARDS ---- */
.model-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.model-hero-grid .model-card:first-child {
  grid-row: span 2;
  min-height: 500px;
}

.model-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}

.model-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.model-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.model-card:hover img { transform: scale(1.03); }

.model-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 12, 16, 0.9) 100%);
}

.model-card-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  width: 100%;
}

.model-card-body .eyebrow { margin-bottom: 6px; }

.model-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.model-card-body p {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.model-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.model-card-tags span {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
}

/* ---- APPOINTMENT / SCHEDULING ---- */
.schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.schedule-card h3 {
  margin-bottom: 8px;
}

.schedule-card p {
  color: var(--text-dim);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%236e6e80' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

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

/* ---- GALLERY (MASONRY) ---- */
.gallery-masonry {
  columns: 4;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 16, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
  display: grid;
  place-items: center;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  place-items: center;
  padding: 40px;
}

.lightbox.open { display: grid; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
}

/* ---- FAQ ---- */
.faq-list { max-width: 800px; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: none;
  cursor: pointer;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-chevron { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---- PROCESS STEPS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: border-color 0.2s;
}
.process-step:hover {
  border-color: var(--line-strong);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 50%;
  margin-bottom: 14px;
}

.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- GLOBAL SOL-CTA COMPONENT ---- */
.sol-cta { padding: 72px 0 80px; }

.sol-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  position: relative;
  overflow: hidden;
}
.sol-cta-inner::before {
  display: none;
}

.sol-cta-left { position: relative; }
.sol-cta-left .eyebrow { margin-bottom: 12px; }
.sol-cta-inner h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.15;
}
.sol-cta-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 24px;
}
.sol-cta-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.sol-cta-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}
.sol-cta-badges li svg { color: var(--accent); flex-shrink: 0; }

.sol-cta-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 220px;
}
.sol-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 32px;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}
.sol-cta-primary:hover {
  transform: translateY(-1px);
}
.sol-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.18s, gap 0.18s;
}
.sol-cta-secondary:hover { color: var(--text); gap: 11px; }

@media (max-width: 900px) {
  .sol-cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 32px;
    border-left: 1px solid var(--line-strong);
    border-top: 4px solid var(--accent);
  }
  .sol-cta-inner::before {
    background: none;
  }
  .sol-cta-right { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; min-width: unset; }
  .sol-cta-primary { width: auto; }
}
@media (max-width: 480px) {
  .sol-cta-inner { padding: 32px 20px; }
  .sol-cta-right { flex-direction: column; align-items: stretch; }
  .sol-cta-primary { width: 100%; }
}

/* ---- CTA / CONTACT ---- */
.cta-banner {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--text-dim); margin-bottom: 24px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- NEWSLETTER ---- */
.newsletter-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.newsletter-strip h3 { font-size: 1.2rem; margin-bottom: 4px; }
.newsletter-strip p { color: var(--text-dim); font-size: 0.86rem; }

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 16px;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.88rem;
}

.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 300px;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: all 0.15s;
}

.footer-social a:hover { color: var(--text); background: var(--surface-hover); }

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

.payment-icons {
  display: flex;
  gap: 8px;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  background: var(--surface);
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-dim);
}

/* ---- CART DRAWER ---- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: var(--bg-raised);
  border-left: 1px solid var(--line);
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.4);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header h3 { font-size: 1.1rem; }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-title { font-size: 0.86rem; font-weight: 600; }
.cart-item-price { font-size: 0.86rem; font-weight: 700; }

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2999;
  display: none;
}

.cart-backdrop.open { display: block; }

/* ---- SUBPAGE SHARED ---- */
.subpage-hero {
  padding: 48px 0 24px;
}

.subpage-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

.subpage-hero p { color: var(--text-dim); max-width: 600px; }

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.content-card h2 { margin-bottom: 12px; }
.content-card h3 { margin: 20px 0 8px; }
.content-card p, .content-card li {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 8px;
}

.content-card ul { padding-left: 18px; }
.content-card ul li { list-style: disc; }
.content-card ol { padding-left: 18px; }
.content-card ol li { list-style: decimal; }

/* ---- BRANDS GRID ---- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
  cursor: pointer;
}

.brand-tile:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.brand-tile img {
  max-height: 48px;
  filter: grayscale(100%) brightness(2);
  opacity: 0.6;
  transition: all 0.3s;
}

.brand-tile:hover img { filter: none; opacity: 1; }

.brand-tile span {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* ---- ACCOUNT / ORDER LOOKUP ---- */
.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card > p { text-align: center; color: var(--text-dim); margin-bottom: 28px; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-scroll .product-card { flex: 0 0 calc(33.33% - 14px); }
  .promo-grid-inner { grid-template-columns: 1fr 1fr; }
  .model-hero-grid { grid-template-columns: 1fr; }
  .model-hero-grid .model-card:first-child { grid-row: span 1; min-height: 300px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .gallery-masonry { columns: 3; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-slideshow { height: 450px; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-toggle { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-scroll .product-card { flex: 0 0 calc(50% - 10px); }
  .promo-grid-inner { grid-template-columns: 1fr; }
  .promo-card { min-height: 260px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 2; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-slideshow { height: 380px; }
  .hero-slide-content h1 { font-size: 2rem; }
  .ymm-form { flex-direction: column; }
  .ymm-form select { min-width: 100%; }
  .ymm-actions { margin-left: 0; width: 100%; }
  .ymm-actions .btn { flex: 1; }
  .newsletter-strip { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .collection-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .announce-bar { font-size: 0.72rem; padding: 0 12px; height: auto; min-height: 36px; text-align: center; }
  .site-header { --header-h: 56px; }
  .header-inner { gap: 12px; }
  .btn-lg { padding: 14px 24px; font-size: 0.88rem; }
}

@media (max-width: 375px) {
  .product-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slideshow { height: 320px; }
  .announce-bar { display: none; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Focus and scrollbar moved to Glassmorphism Utility section below */

/* ============================================================
   AGENT CLASS COMPATIBILITY LAYER
   Maps class names used by generated HTML to the design system
   ============================================================ */

/* Container alias */
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

/* Screen reader only */
.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;
}

/* ---- HEADER: agent class names ---- */
.brand-link {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: inherit;
}
.brand-name { display: flex; flex-direction: column; gap: 1px; }
.brand-primary {
  font-size: 1rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.01em;
}
/* "ORBIT" word in the name gets blue color via JS split trick below;
   fallback: entire name is white on dark */
.brand-primary .brand-accent { color: var(--accent); }
.brand-sub {
  font-size: 0.62rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 500;
}
.brand-mark--sm { width: 32px; height: 32px; font-size: 0.72rem; }

/* Footer brand */
.footer-brand-link {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit;
}
.footer-brand-name { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }

.primary-nav ul {
  display: flex; gap: 2px; list-style: none; margin: 0; padding: 0;
}
.primary-nav ul li { margin: 0; }
.primary-nav a {
  display: flex; align-items: center; padding: 8px 14px;
  font-size: 0.84rem; font-weight: 500; color: var(--text-dim);
  border-radius: var(--radius-sm); transition: all 0.15s;
}
.primary-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.header-inner {
  display: flex; align-items: center; height: 100%; gap: 32px;
  width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto;
}

.primary-nav { margin-left: auto; }

.cart-btn { position: relative; }

/* ---- YMM: agent class names ---- */
.ymm-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto;
}
.ymm-label {
  font-size: 0.82rem; font-weight: 700; color: var(--text-dim);
  white-space: nowrap; margin-right: 8px;
}
.ymm-controls {
  display: flex; gap: 10px; align-items: center; flex: 1; flex-wrap: wrap;
}
.ymm-select {
  padding: 10px 36px 10px 14px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.86rem; min-width: 140px;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%236e6e80' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.ymm-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ymm-select:disabled { opacity: 0.45; cursor: not-allowed; }
.ymm-search, .ymm-reset { flex-shrink: 0; }

/* ---- HERO SLIDESHOW: agent class names ---- */
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
  display: flex; align-items: center;
}
.slide--active { opacity: 1; z-index: 1; }

.slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

.slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(3,5,14,0.85) 0%, rgba(3,8,22,0.5) 55%, transparent 100%);
}

.slide-content {
  position: relative; z-index: 2; padding: 0;
}

.slide-eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px;
}

.slide-heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.05; max-width: 600px; margin-bottom: 12px;
}

.slide-body {
  font-size: 1.1rem; color: var(--text-dim); max-width: 480px;
  margin-bottom: 28px; line-height: 1.6;
}

.slide-cta { position: relative; z-index: 2; }

.slide-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}

.slide-dot {
  width: 40px; height: 3px; background: rgba(255,255,255,0.25);
  border-radius: 2px; cursor: pointer; overflow: hidden; position: relative;
  padding: 0; border: none;
}

.dot--active { background: rgba(255,255,255,0.25); }

.dot-progress {
  display: block; position: absolute; inset: 0;
  background: #fff; transform-origin: left; transform: scaleX(0);
}

.dot--active .dot-progress {
  animation: dot-fill 10s linear forwards;
}

@keyframes dot-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---- BRAND BAR: agent class names ---- */
.brand-bar-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.brand-bar-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted);
}
.brand-logo-item {
  font-size: 0.92rem; font-weight: 700; color: var(--text-dim);
  opacity: 0.5; transition: all 0.2s; cursor: default;
  list-style: none;
}
.brand-logo-item:hover { opacity: 1; color: var(--text); }
.brand-logo-more {
  font-size: 0.86rem; color: var(--muted); font-style: italic;
  list-style: none;
}
.brand-bar-cta { margin-top: 4px; }

.brand-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0;
}

/* ---- PROMO GRID: agent class names ---- */
.promo-grid-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto;
  padding: 48px 0;
}

.promo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  border: 1px solid var(--line); transition: all 0.3s; cursor: pointer;
}
.promo-card:hover { border-color: var(--line-strong); }

.promo-card-img-wrap {
  position: absolute; inset: 0; display: block;
}
.promo-card-img-wrap img,
img.promo-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s;
}
.promo-card:hover img { transform: scale(1.03); }

.promo-card-body {
  position: relative; z-index: 2; padding: 28px; width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(12,12,16,0.85) 100%);
  margin-top: auto;
}
.promo-card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.promo-cta { font-size: 0.82rem; }

/* ---- PRODUCT CARDS: agent class names ---- */
.product-card-img-link {
  display: block; aspect-ratio: 1; background: var(--surface); overflow: hidden;
}
.product-card-img-link img,
img.product-card-img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s;
}
.product-card:hover .product-card-img-link img,
.product-card:hover img.product-card-img { transform: scale(1.04); }

.product-brand, .product-card-brand {
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
}
.product-title, .product-card-title {
  font-size: 0.92rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px;
}
.product-title a, .product-card-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: var(--accent); }
.product-price, .product-card-price { font-size: 0.92rem; font-weight: 700; }

/* Section header */
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.section-title { font-size: 1.4rem; font-weight: 700; }
.section-view-all {
  font-size: 0.86rem; font-weight: 600; color: var(--accent);
  transition: color 0.15s;
}
.section-view-all:hover { color: var(--text); }
.section-spacer--alt { /* no diff for now */ }

/* Product scroll overrides */
.product-scroll {
  list-style: none; padding: 0 calc((100% - min(calc(100% - 40px), var(--max-width))) / 2);
  margin: 0;
}
.product-scroll .product-card {
  flex: 0 0 280px; min-width: 0;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}

/* ---- NEWSLETTER: agent class names ---- */
.newsletter-strip {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 40px; margin: 48px auto;
  width: min(calc(100% - 40px), var(--max-width));
}
.newsletter-strip .container { width: 100%; max-width: 100%; }

.newsletter-heading { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.newsletter-sub { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 20px; }
.newsletter-input {
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.9rem; flex: 1; min-width: 200px;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.newsletter-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

/* ---- FOOTER: agent class names ---- */
.footer-brand-col { display: flex; flex-direction: column; gap: 8px; }
.footer-desc {
  font-size: 0.86rem; color: var(--text-dim); line-height: 1.7; max-width: 300px;
}
.footer-col-heading {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a {
  display: block; padding: 4px 0; font-size: 0.86rem; color: var(--muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; background: var(--surface); border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: 0.82rem; transition: all 0.15s;
}
.social-link:hover { color: var(--text); background: var(--surface-hover); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto;
}
.footer-copyright { font-size: 0.78rem; color: var(--muted); }

/* ---- CART DRAWER: agent class names ---- */
.cart-drawer-title { font-size: 1.1rem; font-weight: 700; }
.cart-close { /* uses icon-btn */ }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; height: 100%;
  color: var(--muted); text-align: center; padding: 40px 0;
}
.cart-empty svg { opacity: 0.3; }
.cart-subtotal {
  display: flex; justify-content: space-between; font-weight: 700;
  margin-bottom: 8px;
}
.cart-subtotal-amount { color: var(--text); }
.cart-shipping-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.cart-checkout-btn { width: 100%; text-align: center; }

/* ---- MOBILE OVERRIDES ---- */
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .primary-nav.open {
    display: block; position: fixed; top: calc(var(--announce-h) + var(--header-h));
    left: 0; right: 0; background: var(--bg-raised);
    border-bottom: 1px solid var(--line); padding: 16px 20px; z-index: 999;
  }
  .primary-nav.open ul { flex-direction: column; gap: 4px; }
  .primary-nav.open a { padding: 12px 16px; font-size: 1rem; }
  .mobile-toggle { display: flex !important; }

  .ymm-inner { flex-direction: column; align-items: stretch; }
  .ymm-controls { flex-direction: column; }
  .ymm-select { min-width: 100%; }

  .hero-slideshow { height: 380px; }
  .slide-heading { font-size: 2rem !important; }

  .promo-grid-inner { grid-template-columns: 1fr; }
  .promo-card { min-height: 260px; }

  .product-scroll .product-card { flex: 0 0 200px; }

  .newsletter-form { flex-direction: column; }
  .newsletter-input { min-width: 0; }

  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 1024px) {
  .promo-grid-inner { grid-template-columns: 1fr 1fr; }
  .hero-slideshow { height: 450px; }
}

/* ============================================================
   LIVE CHAT WIDGET
   ============================================================ */

.lc-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Trigger button */
.lc-trigger {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  position: relative;
}
.lc-trigger:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
}
.lc-trigger--open { background: var(--accent-hover); }

.lc-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  background: #22c55e;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

/* Panel */
.lc-panel {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 340px;
  max-height: min(580px, calc(100vh - 110px));
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: all 0.22s ease;
  transform-origin: bottom right;
}
.lc-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.lc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--accent);
  flex-shrink: 0;
}
.lc-header-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.lc-header-info { flex: 1; }
.lc-header-name { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.lc-online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.lc-header-status { font-size: 0.72rem; color: rgba(255,255,255,0.75); display: flex; align-items: center; }
.lc-close {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: background 0.15s;
  flex-shrink: 0;
}
.lc-close:hover { background: rgba(255,255,255,0.25); }

/* Contact strip */
.lc-contacts {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg-card);
}
.lc-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.15s;
}
.lc-contact-btn:hover { border-color: var(--accent); color: var(--accent); }
.lc-contact-btn--wa { border-color: rgba(37,211,102,0.4); color: #25d366; }
.lc-contact-btn--wa:hover { border-color: #25d366; background: rgba(37,211,102,0.08); color: #25d366; }

/* Messages */
.lc-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
  min-height: 80px;
}
.lc-messages::-webkit-scrollbar { display: none; }

.lc-msg { display: flex; }
.lc-msg--user { justify-content: flex-end; }
.lc-msg--bot  { justify-content: flex-start; }

.lc-msg-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.84rem;
  line-height: 1.55;
}
.lc-msg--bot .lc-msg-bubble {
  background: var(--surface);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.lc-msg--user .lc-msg-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.lc-typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}
.lc-typing-bubble span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease infinite;
}
.lc-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.lc-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Preset questions */
.lc-presets {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg-card);
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.lc-presets-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.lc-preset-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}
.lc-preset-btn:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.lc-preset-btn:last-child { margin-bottom: 0; }

/* Input row */
.lc-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--bg-raised);
}
.lc-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.lc-input:focus { border-color: var(--accent); }
.lc-input::placeholder { color: var(--muted); }
.lc-send {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.lc-send:hover { background: var(--accent-hover); }

@media (max-width: 480px) {
  .lc-widget { bottom: 20px; right: 16px; }
  .lc-panel { width: calc(100vw - 32px); right: 0; }
}

/* ---- NO SCROLL ---- */
body.no-scroll { overflow: hidden; }

/* ============================================================
   LIGHT MODE — Clean white, editorial
   ============================================================ */

[data-theme="light"] {
  --bg: #ffffff;
  --bg-raised: #f8f8f9;
  --bg-card: #f2f3f5;
  --surface: #ebebed;
  --surface-hover: #e0e1e4;
  --surface-glass: rgba(255, 255, 255, 0.92);

  --line: rgba(0, 0, 0, 0.07);
  --line-strong: rgba(0, 0, 0, 0.12);
  --line-glass: rgba(0, 0, 0, 0.07);

  --text: #0a0b0e;
  --text-dim: #4a5065;
  --muted: #8a90a2;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(37, 99, 235, 0.14);
  --accent-mid: rgba(37, 99, 235, 0.12);

  --gold: #92681a;
  --gold-soft: rgba(146, 104, 26, 0.08);
  --gold-glow: rgba(146, 104, 26, 0.10);

  --green: #16a34a;
  --green-soft: rgba(22, 163, 74, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-heavy: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-inset: rgba(255, 255, 255, 0.9);

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-glass: 0 4px 24px rgba(0, 0, 0, 0.07);
  --glow-accent: none;
}

/* Smooth theme transitions (applied temporarily by JS) */
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.18s ease,
    box-shadow 0.28s ease !important;
}

/* ── Light mode overrides ── */

[data-theme="light"] .site-nav a:hover,
[data-theme="light"] .site-nav .nav-item:hover,
[data-theme="light"] .primary-nav a:hover { background: rgba(0, 0, 0, 0.04); }

[data-theme="light"] .icon-btn:hover { background: rgba(0, 0, 0, 0.05); color: var(--text); }

[data-theme="light"] .model-card-tags span { background: rgba(0, 0, 0, 0.07); color: var(--text-dim); }

[data-theme="light"] .brand-logos img,
[data-theme="light"] .brand-tile img { filter: grayscale(100%) brightness(0.35) contrast(1.1); }

[data-theme="light"] .lc-panel { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); }

[data-theme="light"] .cart-backdrop { background: rgba(0, 0, 0, 0.4); }

[data-theme="light"] .primary-nav.open { border-bottom: 1px solid var(--line); }

[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--surface-hover); }

[data-theme="light"] .sol-cta-primary { box-shadow: none; }

/* Light mode: flip nav rgba(white) → rgba(black) */
[data-theme="light"] .slide-overlay,
[data-theme="light"] .hero-slide-overlay {
  background: linear-gradient(90deg, rgba(10,10,14,0.80) 0%, rgba(10,10,14,0.40) 55%, transparent 100%);
}

/* ── Theme toggle button ── */
.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}
/* Dark mode: show SUN (click to go light) */
.theme-icon--sun  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }
.theme-icon--moon { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

/* Light mode: show MOON (click to go dark) */
[data-theme="light"] .theme-icon--sun  { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg); }
[data-theme="light"] .theme-icon--moon { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }

/* ============================================================
   UTILITY OVERRIDES
   ============================================================ */

/* Brand tile */
.brand-tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.brand-tile:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

/* Overlays */
.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(7, 8, 9, 0.75) 80%, rgba(7, 8, 9, 0.93) 100%);
}
.model-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 9, 0.8) 80%, rgba(7, 8, 9, 0.96) 100%);
}

/* Eyebrow */
.eyebrow { color: var(--accent); }
.eyebrow-gold { color: var(--gold); }

/* Process number */
.process-num {
  background: var(--accent-soft);
  border: 1px solid var(--accent-mid);
  color: var(--accent);
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-hover); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   BLOG POST HERO — IMAGE BACKGROUND
   ============================================================ */

.post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.post-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 6s ease;
  display: block;
}
.post-hero:hover .post-hero-bg img { transform: scale(1.03); }

.post-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(3, 5, 14, 0.60) 0%,
    rgba(3, 8, 22, 0.80) 60%,
    rgba(3, 5, 14, 0.94) 100%
  );
}

/* Force the content above overlay */
.post-hero .container { position: relative; z-index: 2; }

/* Always use light text on the hero image regardless of theme */
.post-hero h1 { color: #f0f0f4 !important; }
.post-hero .eyebrow { color: var(--accent) !important; }
.post-hero .post-meta,
.post-hero .blog-date { color: rgba(240, 240, 244, 0.70) !important; }
.post-hero .blog-tag {
  background: rgba(26, 111, 255, 0.25) !important;
  color: #fff !important;
  border: 1px solid rgba(26, 111, 255, 0.5);
}
.post-hero .blog-tag--gold {
  background: rgba(201, 169, 110, 0.25) !important;
  color: #e8c97a !important;
  border-color: rgba(201, 169, 110, 0.4);
}

/* Remove the plain gradient pseudo-element now that we have a real photo */
.post-hero::before { display: none !important; }
