/* ============================================================
   German Orbit — Soft Structuralism · Deep Presidential Navy
   White canvas, midnight black-blue #0C1B33 accent, zero visual noise.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ── Surfaces ── */
  --bg: #FFFFFF;
  --bg-raised: #FFFFFF;
  --bg-card: #FFFFFF;
  --surface: #F2F2F2;
  --surface-hover: #E8E8E8;
  --surface-glass: rgba(255, 255, 255, 0.92);

  /* ── Borders ── */
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.18);
  --line-glass: rgba(0, 0, 0, 0.11);

  /* ── Typography ── */
  --text: #0A0A0A;
  --text-dim: #333333;
  --muted: #777777;

  /* ── Primary accent — Electric Blue ── */
  --accent: #0A0A0A;
  --accent-hover: #000000;
  --accent-bright: #1246E6;
  --accent-soft: rgba(18, 70, 230, 0.07);
  --accent-glow: rgba(18, 70, 230, 0.18);
  --accent-mid: rgba(18, 70, 230, 0.12);

  /* ── Luxury gold ── */
  --gold: #A8710C;
  --gold-soft: rgba(168, 113, 12, 0.10);
  --gold-glow: rgba(168, 113, 12, 0.14);

  /* ── Status ── */
  --red: #DC2626;
  --green: #15803D;
  --green-soft: rgba(21, 128, 61, 0.08);

  /* ── Glass — header island only ── */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-bg-heavy: rgba(255, 255, 255, 0.97);
  --glass-border: rgba(10, 24, 48, 0.13);
  --glass-inset: rgba(255, 255, 255, 0.95);
  --glass-blur: blur(20px) saturate(1.6);
  --glass-blur-heavy: blur(32px) saturate(1.8);

  /* ── Shadows — soft diffused ambient, no harsh drops ── */
  --shadow: 0 8px 40px rgba(11, 15, 30, 0.10), 0 2px 8px rgba(11, 15, 30, 0.06);
  --shadow-sm: 0 2px 14px rgba(11, 15, 30, 0.07);
  --shadow-glass: 0 4px 24px rgba(10, 24, 48, 0.10);
  --shadow-card:
    0 0 0 1px rgba(10, 24, 48, 0.07),
    0 0 0 6px rgba(10, 24, 48, 0.025),
    0 4px 28px rgba(8, 13, 24, 0.08);
  --glow-accent: none;

  /* ── Geometry ── */
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-pill: 100px;
  --max-width: 1320px;
  --header-h: 80px;
  --announce-h: 0px;

  /* ── Fonts ── */
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-sans:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  --font-heading: var(--font-display);
  --font-body:    var(--font-sans);
}

/* ============================================================
   DARK MODE — override tokens only
   ============================================================ */
[data-theme="dark"] {
  --bg: #070809;
  --bg-raised: #0d0f12;
  --bg-card: #111318;
  --surface: #181b21;
  --surface-hover: #1e2129;
  --surface-glass: rgba(10, 11, 14, 0.88);

  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.10);
  --line-glass: rgba(255, 255, 255, 0.07);

  --text: #e8eaf0;
  --text-dim: #8891a8;
  --muted: #4a5268;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-bright: #3b82f6;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --accent-glow: rgba(37, 99, 235, 0.18);
  --accent-mid: rgba(37, 99, 235, 0.14);

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

  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.10);

  --glass-bg: rgba(10, 11, 14, 0.80);
  --glass-bg-heavy: rgba(10, 11, 14, 0.94);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-inset: rgba(255, 255, 255, 0.03);

  --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);
  --shadow-card:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 4px 24px rgba(0, 0, 0, 0.35);
}

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

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: clip;
}

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: 96px 0; }
.section-spacer-sm { padding: 60px 0; }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(12, 27, 51, 0.20);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--accent);
}

[data-theme="dark"] .eyebrow {
  border-color: rgba(37, 99, 235, 0.25);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

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 26px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  transition: all 550ms cubic-bezier(0.32, 0.72, 0, 1);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(12, 27, 51, 0.28);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 22px rgba(12, 27, 51, 0.38);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.98); }

[data-theme="dark"] .btn-primary {
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.30);
}
[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.40);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { background: var(--bg); box-shadow: var(--shadow); }

.btn-sm  { padding: 9px 18px; font-size: 0.80rem; }
.btn-lg  { padding: 16px 34px; 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);
  overflow: hidden;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  padding: 0 20px;
  letter-spacing: 0.03em;
}
.announce-bar a { text-decoration: underline; color: #fff; }
.announce-bar strong { color: #fff; }

/* ---- HEADER — Floating Pill Island ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  overflow: visible; /* allow .nav-dropdown to extend below */
  /* Gradient fade masks page content behind the floating pill */
  background: linear-gradient(180deg, var(--bg) 52%, rgba(245, 247, 251, 0) 100%);
  display: flex;
  align-items: flex-start;
  padding-top: 12px;
}

[data-theme="dark"] .site-header {
  background: linear-gradient(180deg, var(--bg) 52%, rgba(7, 8, 9, 0) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 56px;
  gap: 24px;
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow:
    0 2px 20px rgba(12, 27, 51, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 0 8px 0 20px;
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

[data-theme="dark"] .header-inner {
  box-shadow:
    0 2px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.76rem;
  border-radius: 8px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-logo-img {
  flex-shrink: 0;
  display: block;
  height: 40px;
  width: 40px;
  object-fit: contain;
}
[data-theme="light"] .brand-logo-dark  { display: none; }
[data-theme="light"] .brand-logo-light { display: block; }
[data-theme="dark"]  .brand-logo-light { display: none; }
[data-theme="dark"]  .brand-logo-dark  { display: block; }

.brand-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
}
.brand-text span {
  font-size: 0.60rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.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: 7px 13px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}
.site-nav a:hover, .site-nav .nav-item:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 8px;
}
.header-actions .btn { padding: 8px 16px; font-size: 0.80rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.icon-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

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

/* ---- MOBILE NAV — Hamburger Morph ---- */
.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-pill);
  transition: background 300ms ease;
  background: none;
  border: 0;
  cursor: pointer;
}
.mobile-toggle:hover { background: var(--accent-soft); }

.mobile-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 400ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity   300ms ease,
    width     300ms ease;
  transform-origin: center;
  display: block;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── NAV DROPDOWN (mobile only, drops below pill island) ──────────────── */
.nav-dropdown { display: none; }

@media (max-width: 768px) {
  .nav-dropdown {
    display: block;
    position: absolute;
    top: calc(var(--header-h) - 4px);
    left: 50%;
    width: min(calc(100% - 40px), var(--max-width));
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transform-origin: top center;
    transition:
      opacity   240ms cubic-bezier(0.32, 0.72, 0, 1),
      transform 240ms cubic-bezier(0.32, 0.72, 0, 1);
  }
  .nav-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dd-inner {
    background: var(--glass-bg-heavy);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow:
      0 8px 40px rgba(11, 15, 30, 0.13),
      0 2px 8px rgba(11, 15, 30, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
  }
  [data-theme="dark"] .nav-dd-inner {
    box-shadow:
      0 8px 40px rgba(0, 0, 0, 0.50),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  .nav-dd-list {
    list-style: none; padding: 6px; margin: 0;
    display: flex; flex-direction: column; gap: 2px;
  }
  .nav-dd-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 18px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--text);
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
  }
  .nav-dd-list a::after {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .nav-dd-list a:hover { background: var(--accent-soft); color: var(--accent); }
  .nav-dd-list a:hover::after { opacity: 1; transform: translateX(0); }
}

/* ---- 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: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ymm-form select {
  padding: 10px 14px;
  background: var(--bg-raised);
  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='%238895B0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
  transition: border-color 300ms ease;
}
.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(--surface);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1);
  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;
}
.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;
  color: #fff;
}
.hero-slide-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.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.25);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.hero-dot.active { background: rgba(255, 255, 255, 0.25); }
.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);
  background: var(--bg-raised);
}
.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.brand-logos img {
  height: 32px;
  opacity: 0.30;
  filter: grayscale(100%) brightness(0.3) contrast(1.2);
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
}
[data-theme="dark"] .brand-logos img {
  filter: grayscale(100%) brightness(2);
  opacity: 0.45;
}
.brand-logos img:hover { opacity: 0.90; 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 (2×2) ---- */
.promo-grid { width: 100%; }
.promo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: var(--shadow-sm);
}
.promo-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.promo-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}
.promo-card:hover img { transform: scale(1.04); }
.promo-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(11, 15, 30, 0.88) 100%);
}
.promo-card-body {
  position: relative; z-index: 2;
  padding: 28px; width: 100%;
}
.promo-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.promo-card-body p { font-size: 0.86rem; color: rgba(255,255,255,0.70); margin-bottom: 16px; }

/* ---- PRODUCT GRID ---- */
.product-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.product-section-header h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(12, 27, 51, 0.12),
    0 12px 40px rgba(11, 15, 30, 0.12);
}
.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 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

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

.product-card-body { padding: 16px; }
.product-card-brand {
  font-size: 0.70rem;
  font-weight: 700;
  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.95rem;
  font-weight: 800;
  color: var(--accent);
}
.product-card-price .old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
  font-size: 0.85rem;
}
.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: 18px;
  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% - 14px);
  scroll-snap-align: start;
}

/* ---- COLLECTION / CATALOG ---- */
.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(--bg-raised);
  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='%238895B0' 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.80rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.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-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.model-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.model-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}
.model-card:hover img { transform: scale(1.04); }
.model-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 30, 0.88) 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; color: #fff; }
.model-card-body p { font-size: 0.84rem; color: rgba(255,255,255,0.72); 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.68rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}

/* ---- APPOINTMENT / SCHEDULING ---- */
.schedule-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.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.76rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.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='%238895B0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
  background-color: var(--bg-raised);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- GALLERY (MASONRY) ---- */
.gallery-masonry { columns: 4; column-gap: 14px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(11, 15, 30, 0.55);
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.32, 0.72, 0, 1);
  display: grid; place-items: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(11, 15, 30, 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-lg);
  box-shadow: var(--shadow);
}
.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.12);
  border-radius: 50%; cursor: pointer;
  transition: background 300ms ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ---- 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 400ms cubic-bezier(0.32, 0.72, 0, 1);
}
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-item:not(details) .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item:not(details).open .faq-answer { max-height: 500px; }
details.faq-item .faq-answer { max-height: none; overflow: visible; }
.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: 14px; }
.process-step {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: var(--shadow-card);
}
.process-step:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(12, 27, 51, 0.10),
    0 8px 32px rgba(11, 15, 30, 0.10);
}
.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: 80px 0 88px; }
.sol-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  background: var(--accent);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  position: relative;
  overflow: hidden;
}
.sol-cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 85% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.sol-cta-left { position: relative; }
.sol-cta-left .eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}
.sol-cta-inner h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.12;
  color: #fff;
}
.sol-cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  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: rgba(255, 255, 255, 0.80);
}
.sol-cta-badges li svg { color: rgba(255,255,255,0.70); flex-shrink: 0; }
.sol-cta-right {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  min-width: 220px;
}
.sol-cta-primary {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px; width: 100%;
  font-size: 0.95rem; font-weight: 700;
  padding: 15px 32px; letter-spacing: 0.01em;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  background: #fff; color: var(--accent);
  border-radius: var(--radius-pill);
  border: none; cursor: pointer;
}
.sol-cta-primary:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.sol-cta-secondary {
  display: inline-flex;
  align-items: center; gap: 7px;
  font-size: 0.875rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}
.sol-cta-secondary:hover { color: #fff; gap: 11px; }

@media (max-width: 900px) {
  .sol-cta-inner { grid-template-columns: 1fr; gap: 36px; padding: 44px 36px; }
  .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: 36px 24px; }
  .sol-cta-right { flex-direction: column; align-items: stretch; }
  .sol-cta-primary { width: 100%; }
}

/* ---- CTA BANNER ---- */
.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;
  box-shadow: var(--shadow-card);
}
.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 — Deep Navy Inverted Section ---- */
.newsletter-strip {
  background: var(--accent);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  margin: 48px auto;
  width: min(calc(100% - 40px), var(--max-width));
  position: relative;
  overflow: hidden;
}
.newsletter-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 92% 50%, rgba(255,255,255,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 30% 50% at 5% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.newsletter-strip .container { width: 100%; max-width: 100%; position: relative; }
.newsletter-heading {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.newsletter-sub { color: rgba(255,255,255,0.68); font-size: 0.9rem; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-input {
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.9rem;
  flex: 1; min-width: 200px;
  transition: border-color 300ms ease, background 300ms ease;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.48); }
.newsletter-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.17);
}
.newsletter-btn {
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 13px 28px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: rgba(255,255,255,0.91);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.newsletter-disclaimer { font-size: 0.76rem; color: rgba(255,255,255,0.42); margin-top: 12px; }

/* ---- FOOTER ---- */
.site-footer {
  background: #080D18;
  color: rgba(255,255,255,0.85);
  padding: 40px 0 0;
}
.site-footer .brand-logo-light { display: none !important; }
.site-footer .brand-logo-dark  { display: block !important; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end;
}
.footer-nav a {
  display: block; padding: 7px 12px;
  font-family: var(--font-display);
  font-size: 0.80rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color 200ms ease, background 200ms ease;
}
.footer-nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: center; }
.footer-copyright { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ---- 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: -8px 0 40px rgba(11, 15, 30, 0.10);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
  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; font-weight: 700; }
.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-md);
  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; color: var(--accent); }

.cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 15, 30, 0.40);
  z-index: 2999; display: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-backdrop.open { display: block; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.cart-subtotal-amount { color: var(--accent); }
.cart-shipping-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.cart-checkout-btn { width: 100%; text-align: center; }
.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.25; }

/* ---- SUBPAGE SHARED ---- */
.subpage-hero { padding: 56px 0 28px; }
.subpage-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 10px; }
.subpage-hero p { color: var(--text-dim); max-width: 600px; }

.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.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: 14px; }
.brand-tile {
  display: grid; place-items: center;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.brand-tile:hover {
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow);
  transform: translateY(-2px);
}
.brand-tile img {
  max-height: 44px;
  filter: grayscale(100%) brightness(0.4) contrast(1.1);
  opacity: 0.55;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}
[data-theme="dark"] .brand-tile img { filter: grayscale(100%) brightness(2); opacity: 0.45; }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile span { margin-top: 8px; font-size: 0.80rem; font-weight: 700; color: var(--text-dim); }

/* ---- AUTH / ORDER LOOKUP ---- */
.auth-card {
  max-width: 480px; margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.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);
}

/* ---- SCROLL REVEAL SYSTEM ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity  700ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 700ms cubic-bezier(0.32, 0.72, 0, 1),
    filter   500ms cubic-bezier(0.32, 0.72, 0, 1);
}
.reveal.in-view { opacity: 1; transform: none; filter: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-scroll .product-card { flex: 0 0 calc(33.33% - 12px); }
  .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; }
  .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% - 9px); }
  .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 { padding: 40px 28px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { min-width: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav ul { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .collection-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cta-banner { padding: 32px 24px; }
}

@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: 70px; padding-top: 8px; }
  .header-inner { padding: 0 6px 0 16px; gap: 16px; height: 50px; }
  .brand-logo-img { height: 34px; width: 34px; }
  .brand-name { display: none; }
  .btn-lg { padding: 14px 24px; font-size: 0.88rem; }
  .newsletter-strip { padding: 32px 20px; border-radius: var(--radius-lg); }
  .sol-cta-inner { border-radius: var(--radius-lg); }
  /* announce bar is visible (~36px) on small phones — push mob-nav items down further */
  .mob-nav { padding-top: 116px; }
}

@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; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---- FOCUS ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============================================================
   AGENT CLASS COMPATIBILITY LAYER
   ============================================================ */

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

.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 classes ---- */
.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: 0.95rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.01em;
}
.brand-primary .brand-accent { color: var(--accent); }
.brand-sub {
  font-size: 0.60rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.brand-mark--sm { width: 30px; height: 30px; font-size: 0.68rem; }

.footer-brand-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.footer-brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.site-footer .brand-accent { color: #4a8ef5; }

.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: 7px 13px;
  font-family: var(--font-display);
  font-size: 0.80rem; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}
.primary-nav { margin-left: auto; }
.cart-btn { position: relative; }

/* ---- YMM agent classes ---- */
.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(--bg-raised);
  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='%238895B0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color 300ms ease;
}
.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 classes ---- */
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1);
  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 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}
.slide-heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.05; max-width: 600px; margin-bottom: 12px; color: #fff;
}
.slide-body {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  max-width: 480px; margin-bottom: 28px; line-height: 1.65;
}
.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 classes ---- */
.brand-bar-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.brand-bar-label {
  font-size: 0.70rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted);
}
.brand-logo-item {
  font-size: 0.92rem; font-weight: 700; color: var(--text-dim);
  opacity: 0.42; transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  cursor: default; list-style: none;
}
.brand-logo-item:hover { opacity: 1; color: var(--accent); }
.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 classes ---- */
.promo-grid-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto;
  padding: 48px 0;
}
.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 700ms cubic-bezier(0.32, 0.72, 0, 1);
}
.promo-card:hover img { transform: scale(1.04); }
.promo-card-body {
  position: relative; z-index: 2; padding: 28px; width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(11,15,30,0.90) 100%);
  margin-top: auto;
}
.promo-card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.promo-cta { font-size: 0.82rem; }

/* ---- PRODUCT CARDS agent classes ---- */
.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 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
.product-card:hover .product-card-img-link img,
.product-card:hover img.product-card-img { transform: scale(1.05); }
.product-brand, .product-card-brand {
  font-size: 0.70rem; font-weight: 700; 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.95rem; font-weight: 800; color: var(--accent); }

/* Section header */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.section-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.section-view-all {
  font-size: 0.84rem; font-weight: 700; color: var(--accent);
  transition: all 300ms ease;
}
.section-view-all:hover { color: var(--accent-hover); }

/* 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-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ---- NEWSLETTER agent classes ---- */
.newsletter-strip .container { width: 100%; max-width: 100%; position: relative; }

/* ---- FOOTER agent classes ---- */
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; background: var(--surface);
  border-radius: var(--radius-pill); color: var(--text-dim);
  font-size: 0.82rem; border: 1px solid var(--line);
  transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.social-link:hover { color: var(--accent); background: var(--accent-soft); border-color: rgba(27,58,111,0.25); }

/* ---- CART agent classes ---- */
.cart-drawer-title { font-size: 1.1rem; font-weight: 700; }


/* ---- MOBILE OVERRIDES ---- */
@media (max-width: 768px) {
  .primary-nav { display: none !important; }
  .mobile-toggle { display: flex !important; }
  .header-actions { margin-left: auto; flex-shrink: 0; }
  #mobile-toggle { position: static; transform: none; }
  .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; }
}

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

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

/* ---- THEME TOGGLE ---- */
.theme-toggle { position: relative; width: 36px; height: 36px; 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;
}
/* Light mode: show moon */
.theme-icon--sun  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }
.theme-icon--moon { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
[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); }

/* Smooth theme transition */
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;
}

/* ============================================================
   LIVE CHAT WIDGET
   ============================================================ */
.lc-widget { position: fixed; bottom: 28px; right: 28px; z-index: 9999; font-family: var(--font-body); }
.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 20px rgba(12, 27, 51, 0.32);
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
}
.lc-trigger:hover { background: var(--accent-hover); transform: scale(1.05); }
.lc-trigger--open { background: var(--accent-hover); }
.lc-badge {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px;
  background: var(--green); border-radius: 50%;
  font-size: 0.62rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-raised); color: #fff;
}
.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 20px 60px rgba(12, 27, 51, 0.16), 0 4px 16px rgba(11,15,30,0.08);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  transform-origin: bottom right;
}
.lc-panel--open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.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.20);
  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 200ms ease; flex-shrink: 0;
}
.lc-close:hover { background: rgba(255,255,255,0.28); }

.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 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.lc-contact-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.lc-contact-btn--wa { border-color: rgba(37,211,102,0.35); color: #25d366; }
.lc-contact-btn--wa:hover { border-color: #25d366; background: rgba(37,211,102,0.08); color: #25d366; }

.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;
}

.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); }
}

.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.80rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--text-dim);
  cursor: pointer; transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
  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; }

.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 300ms ease; 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 300ms ease;
}
.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; }
}
