/* ═══════════════════════════════════════════════════
   TiO₂ DESIGNS — GLOBAL DESIGN SYSTEM
   Raw Titanium Concept · Option B
   ═══════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=Instrument+Serif:ital@0;1&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #F5F2EE;
  color: #1a1a1a;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: 'DM Sans', sans-serif; cursor: pointer; }

/* ── CSS VARIABLES ── */
:root {
  /* Colors */
  --chalk:      #F5F2EE;
  --chalk2:     #EDE9E3;
  --chalk3:     #E4DFD8;
  --ink:        #1a1a1a;
  --ink2:       #3d3d3a;
  --muted:      #888880;
  --border:     rgba(0,0,0,0.08);
  --border2:    rgba(0,0,0,0.12);

  /* Brand accent */
  --purple:     #7B5FFF;
  --purple-lt:  rgba(123,95,255,0.12);
  --teal:       #00D4AA;
  --teal-lt:    rgba(0,212,170,0.12);
  --coral:      #FF6B35;
  --gold:       #D4A843;
  --gold-dk:    #A07C1E;

  /* Gradients */
  --grad-main:  linear-gradient(135deg, #00D4AA 0%, #7B5FFF 60%, #FF6B35 100%);
  --grad-hero:  linear-gradient(135deg, #7B5FFF 0%, #00D4AA 100%);

  /* Spacing */
  --section-pad: 96px 48px;
  --section-pad-sm: 64px 32px;

  /* Radii */
  --r:    14px;
  --r-sm: 8px;
  --r-xs: 4px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.1);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.12);

  /* Transitions */
  --trans: all .25s ease;
  --trans-slow: all .4s ease;
}

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════ */
.raleway       { font-family: 'Source Sans 3', sans-serif; }
.syne          { font-family: 'Source Sans 3', sans-serif; } /* alias kept for compatibility */
.serif-i       { font-family: 'Instrument Serif', serif; font-style: italic; }

.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3, h4 { font-family: 'Source Sans 3', sans-serif; line-height: 1.1; }

/* ═══════════════════════════════════════════════════
   UTILITY BAR
   ═══════════════════════════════════════════════════ */
.utility-bar {
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 48px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.utility-bar-left { color: rgba(255,255,255,0.4); }
.utility-bar-left strong { color: rgba(255,255,255,0.7); font-weight: 400; }
.utility-bar-right { display: flex; gap: 24px; }
.utility-bar-right a { color: rgba(255,255,255,0.35); transition: color .2s; }
.utility-bar-right a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,242,238,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav-logo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad-hero); flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  font-size: 13px; color: var(--muted); font-weight: 400;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--purple);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%);
  background: var(--chalk);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(-6px);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0; right: 0;
  height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block; padding: 10px 14px;
  font-size: 13px; color: var(--muted);
  border-radius: var(--r-sm);
  transition: all .15s;
}
.nav-dropdown-item:hover { background: var(--chalk2); color: var(--ink); }

.nav-cta {
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500;
  padding: 10px 22px; border-radius: var(--r-pill);
  border: none; transition: var(--trans);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.nav-cta:hover { background: var(--purple); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(123,95,255,0.3); }
.nav-cta svg { width: 12px; height: 12px; }

/* Mobile hamburger (simplified) */
.nav-mobile-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--ink); }
/* Item that only appears inside the mobile dropdown menu */
.nav-mobile-only { display: none; }

/* ═══════════════════════════════════════════════════
   COLOR SPECTRUM STRIP
   ═══════════════════════════════════════════════════ */
.spectrum-strip {
  height: 6px;
  background: linear-gradient(
    90deg,
    #9d8a61 0%,    /* Copper 10V */
    #614b80 11%,   /* Purple 17.5V */
    #1f78d2 22%,   /* Blue 22.5V */
    #76bee2 33%,   /* Light Blue 30V */
    #cab35f 44%,   /* Gold 55V */
    #cb849c 56%,   /* Pink 62.5V */
    #ca69cc 67%,   /* Violet 67.5V */
    #1ea8d6 78%,   /* Cyan 80V */
    #3ac2cc 89%,   /* Aqua 85V */
    #adca80 100%   /* Green 95V */
  );
}

/* ═══════════════════════════════════════════════════
   MARQUEE BAR
   ═══════════════════════════════════════════════════ */
.marquee-bar { background: var(--ink); padding: 11px 0; overflow: hidden; }
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); padding: 0 32px;
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.marquee-item strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn-primary {
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: none; transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--purple); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,95,255,0.3); }
.btn-primary.purple { background: var(--purple); }
.btn-primary.purple:hover { background: #6a4dee; }

.btn-outline {
  background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 500;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ink); transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }

.btn-text {
  background: none; border: none; color: var(--ink);
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border2); padding-bottom: 2px;
  transition: var(--trans);
}
.btn-text:hover { color: var(--purple); border-color: var(--purple); }
.btn-text.gold { color: var(--gold-dk); border-color: rgba(160,124,30,0.3); }
.btn-text.gold:hover { color: var(--ink); border-color: var(--ink); }

.btn-white {
  background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 500;
  padding: 14px 32px; border-radius: var(--r-pill);
  border: none; transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { background: var(--purple); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,95,255,0.4); }

.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.6);
  font-size: 14px; font-weight: 400;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.2); transition: var(--trans);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ═══════════════════════════════════════════════════
   SECTION LAYOUT HELPERS
   ═══════════════════════════════════════════════════ */
section { padding: var(--section-pad); }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.section-eyebrow-line { width: 20px; height: 1px; background: var(--muted); }

.section-title {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink); line-height: 1.15;
}
.section-sub {
  font-size: 16px; color: var(--muted);
  line-height: 1.75; max-width: 480px; margin-top: 12px;
}

/* ═══════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════ */
.page-hero {
  background: var(--ink);
  padding: 80px 48px 72px;
  position: relative; overflow: hidden;
}
.page-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.page-hero-orb1 { width: 400px; height: 400px; background: var(--purple); opacity: 0.18; top: -100px; right: -80px; }
.page-hero-orb2 { width: 280px; height: 280px; background: var(--teal); opacity: 0.12; bottom: -60px; left: -40px; }
.page-hero-breadcrumb {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.3); transition: color .2s; }
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.6); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.15); }
.page-hero-eyebrow {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--teal); }
.page-hero h1 {
  font-family: 'Source Sans 3', sans-serif; font-weight: 300;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff;
  line-height: 1.15; margin-bottom: 16px;
}
.page-hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  letter-spacing: 0; text-transform: none;
}
.page-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 500px;
}
.page-hero-meta {
  display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap;
}
.page-hero-meta-item {
  display: flex; flex-direction: column; gap: 2px;
}
.page-hero-meta-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.page-hero-meta-val { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════ */
.card {
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden; transition: var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ═══════════════════════════════════════════════════
   TESTIMONIAL CARD
   ═══════════════════════════════════════════════════ */
.testi-card {
  background: var(--chalk); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-star { width: 13px; height: 13px; fill: var(--gold); }
.testi-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 16px; font-style: italic;
  color: var(--ink2); line-height: 1.75; margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 13px;
  color: #fff; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.testi-bike { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border2); }
.faq-item:first-child { border-top: 1px solid var(--border2); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer;
  font-family: 'Source Sans 3', sans-serif; font-size: 15px;
  font-weight: 600; color: var(--ink); letter-spacing: 0.04em;
  background: none; border: none; width: 100%; text-align: left;
  transition: color .2s;
}
.faq-question:hover { color: var(--purple); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--trans); font-size: 16px; color: var(--muted);
}
.faq-item.open .faq-icon { background: var(--purple); border-color: var(--purple); color: #fff; transform: rotate(45deg); }
.faq-answer {
  font-size: 15px; color: var(--muted); line-height: 1.75;
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* ═══════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════ */
.cta-band {
  background: var(--ink);
  padding: 96px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band-orb1 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--purple); opacity: 0.12; filter: blur(80px); top: -100px; left: -100px; pointer-events: none; }
.cta-band-orb2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--teal); opacity: 0.1; filter: blur(60px); bottom: -80px; right: -60px; pointer-events: none; }
.cta-band-eyebrow { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-band h2 {
  font-family: 'Source Sans 3', sans-serif; font-weight: 300;
  font-size: clamp(34px, 4.5vw, 56px); letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff; line-height: 1.15; margin-bottom: 16px; position: relative; z-index: 1;
}
.cta-band h2 em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 400px; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: #111;
  color: rgba(255,255,255,0.4);
}
.footer-spectrum {
  height: 4px;
  background: linear-gradient(
    90deg,
    #9d8a61 0%,    /* Copper 10V */
    #614b80 11%,   /* Purple 17.5V */
    #1f78d2 22%,   /* Blue 22.5V */
    #76bee2 33%,   /* Light Blue 30V */
    #cab35f 44%,   /* Gold 55V */
    #cb849c 56%,   /* Pink 62.5V */
    #ca69cc 67%,   /* Violet 67.5V */
    #1ea8d6 78%,   /* Cyan 80V */
    #3ac2cc 89%,   /* Aqua 85V */
    #adca80 100%   /* Green 95V */
  );
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding: 56px 48px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 16px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.footer-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-hero); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.footer-email a { font-size: 13px; color: var(--teal); transition: color .2s; }
.footer-email a:hover { color: #fff; }
.footer-col-title {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 18px; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color .2s; }
.footer-social a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════
   GALLERY FILLS (shared across pages)
   ═══════════════════════════════════════════════════ */
.gf-purple  { background: linear-gradient(135deg, #1a0050 0%, #7B5FFF 40%, #00D4AA 100%); }
.gf-teal    { background: linear-gradient(135deg, #0d2b1a 0%, #00D4AA 60%); }
.gf-sunrise { background: linear-gradient(135deg, #3d0a00 0%, #FF6B35 50%, #FFD700 100%); }
.gf-navy    { background: linear-gradient(160deg, #001a2e 0%, #1565C0 50%, #7B5FFF 100%); }
.gf-rose    { background: linear-gradient(135deg, #1a0020 0%, #E91E63 50%, #FF6B35 100%); }
.gf-forest  { background: linear-gradient(135deg, #0a1f00 0%, #2d7a1f 50%, #40E0D0 100%); }
.gf-gold    { background: linear-gradient(135deg, #2a1800 0%, #D4A843 50%, #FFD700 100%); }
.gf-copper  { background: linear-gradient(135deg, #1a0800 0%, #b87333 60%, #cd9b4a 100%); }

/* ═══════════════════════════════════════════════════
   NAV ACTIONS + CART BUTTON
   ═══════════════════════════════════════════════════ */
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cart {
  position: relative; background: none; border: none; padding: 6px;
  color: var(--ink2); display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: var(--trans);
}
.nav-cart svg { width: 21px; height: 21px; display: block; }
.nav-cart:hover { color: var(--purple); transform: translateY(-1px); }
.nav-cart-badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--purple); color: #fff;
  font-family: 'Source Sans 3', sans-serif; font-size: 10px; font-weight: 700;
  line-height: 17px; text-align: center; border-radius: 100px;
  border: 2px solid var(--chalk);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-cart-badge.is-empty { opacity: 0; transform: scale(0.4); }

/* ═══════════════════════════════════════════════════
   QUANTITY STEPPER (shared: drawer, cart, product)
   ═══════════════════════════════════════════════════ */
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border2); border-radius: var(--r-pill);
  background: var(--chalk); overflow: hidden;
}
.qty-btn {
  width: 34px; height: 34px; background: none; border: none;
  font-size: 17px; color: var(--ink2); line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: var(--trans);
}
.qty-btn:hover { background: var(--chalk2); color: var(--purple); }
.qty-val {
  min-width: 30px; text-align: center;
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink);
}
.qty-stepper-sm .qty-btn { width: 26px; height: 26px; font-size: 14px; }
.qty-stepper-sm .qty-val { min-width: 24px; font-size: 12px; }

/* ═══════════════════════════════════════════════════
   SIDE-PANEL CART (drawer + overlay)
   ═══════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,18,16,0.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
body.cart-open { overflow: hidden; }

.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 310;
  width: 400px; max-width: 92vw; height: 100%;
  background: var(--chalk);
  display: flex; flex-direction: column;
  box-shadow: -18px 0 60px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--border);
}
.cart-drawer-title {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.cart-drawer-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 100px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 700;
  line-height: 22px; text-align: center;
}
.cart-drawer-close {
  background: none; border: none; font-size: 18px; color: var(--muted);
  width: 34px; height: 34px; border-radius: 50%; transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.cart-drawer-close:hover { background: var(--chalk2); color: var(--ink); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-drawer-foot {
  border-top: 1px solid var(--border); padding: 20px 24px 24px;
  background: var(--chalk2);
}
.cart-drawer-foot:empty { display: none; }

/* Cart line item */
.cart-line {
  display: grid; grid-template-columns: 68px 1fr auto; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.cart-line:last-child { border-bottom: none; }
.cart-line-thumb {
  width: 68px; height: 68px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--chalk3); flex-shrink: 0;
}
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-body { min-width: 0; }
.cart-line-brand { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.cart-line-name {
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--ink); line-height: 1.3; display: block; transition: color .15s;
}
.cart-line-name:hover { color: var(--purple); }
.cart-line-opts { font-size: 11px; color: var(--muted); margin-top: 3px; }
.cart-line-unavail {
  display: inline-block; margin-top: 5px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #a23c10; background: rgba(255,107,53,0.12);
  padding: 2px 8px; border-radius: var(--r-pill);
}

/* Store-level "online ordering not live yet" notice */
.store-notice {
  background: rgba(255,107,53,0.09); border: 1px solid rgba(255,107,53,0.22);
  border-radius: var(--r); padding: 14px 18px; margin-bottom: 20px;
  font-size: 13px; color: var(--ink2); line-height: 1.6;
}
.store-notice a { color: var(--coral); font-weight: 500; border-bottom: 1px solid currentColor; }
.cart-line-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-line-price { font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; }
.cart-line-remove {
  position: absolute; top: 16px; right: 0;
  background: none; border: none; color: var(--muted); font-size: 12px;
  width: 22px; height: 22px; border-radius: 50%; transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.cart-line-remove:hover { background: var(--chalk3); color: var(--coral); }

/* Empty state */
.cart-empty { text-align: center; padding: 64px 20px; }
.cart-empty-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--chalk2); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.cart-empty-title { font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.cart-empty-sub { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 240px; margin: 0 auto 22px; }

/* Drawer footer bits */
.cart-ship-note { font-size: 12px; color: var(--muted); margin-bottom: 14px; text-align: center; }
.cart-ship-note strong { color: var(--purple); font-weight: 600; }
.cart-ship-note.free { color: var(--teal); }
.cart-subtotal-row {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px;
  font-family: 'Source Sans 3', sans-serif;
}
.cart-subtotal-row span:first-child { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cart-subtotal-val { font-size: 22px; font-weight: 700; color: var(--ink); }
.cart-drawer-actions { display: flex; flex-direction: column; gap: 10px; }

/* ═══════════════════════════════════════════════════
   FULL CART PAGE
   ═══════════════════════════════════════════════════ */
.cart-page { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.cart-items-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--border2); margin-bottom: 6px;
}
.cart-items-head h2 { font-family: 'Source Sans 3', sans-serif; font-weight: 300; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.cart-clear { background: none; border: none; font-size: 12px; color: var(--muted); border-bottom: 1px solid transparent; transition: var(--trans); }
.cart-clear:hover { color: var(--coral); border-color: var(--coral); }

.cart-row {
  display: grid; grid-template-columns: 96px 1fr auto auto; gap: 20px;
  align-items: center; padding: 22px 0; border-bottom: 1px solid var(--border);
}
.cart-row-thumb { width: 96px; height: 96px; border-radius: var(--r-sm); overflow: hidden; background: var(--chalk3); }
.cart-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-brand { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cart-row-name { font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); transition: color .15s; }
.cart-row-name:hover { color: var(--purple); }
.cart-row-opts { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cart-row-remove { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; font-size: 12px; color: var(--muted); margin-top: 10px; transition: var(--trans); }
.cart-row-remove:hover { color: var(--coral); }
.cart-row-price { font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); text-align: right; white-space: nowrap; }
.cart-row-unit { font-size: 11px; color: var(--muted); font-weight: 400; }

.cart-summary {
  position: sticky; top: 88px;
  background: var(--chalk); border: 1px solid var(--border); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.cart-summary-title { font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink2); padding: 9px 0; }
.cart-summary-row .muted { color: var(--muted); }
.cart-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--border2);
  font-family: 'Source Sans 3', sans-serif;
}
.cart-summary-total span:first-child { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cart-summary-total .total-val { font-size: 26px; font-weight: 700; color: var(--ink); }
.cart-summary .btn-primary { width: 100%; justify-content: center; margin-top: 22px; }
.cart-summary-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.6; }
.cart-page-empty { text-align: center; padding: 60px 20px 40px; }

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════ */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: 88px; }
.product-media {
  border-radius: var(--r); overflow: hidden; background: var(--chalk3);
  border: 1px solid var(--border); position: relative; aspect-ratio: 1 / 1;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(0,0,0,0.7); color: #fff; padding: 5px 12px; border-radius: var(--r-pill);
}
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-thumb {
  width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden;
  border: 1.5px solid var(--border2); cursor: pointer; transition: var(--trans); background: var(--chalk3);
}
.product-thumb.active { border-color: var(--ink); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-brand { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.product-title {
  font-family: 'Source Sans 3', sans-serif; font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px); letter-spacing: 0.02em; color: var(--ink);
  line-height: 1.12; margin-bottom: 14px;
}
.product-price-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-price { font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 26px; color: var(--ink); }
.product-stock { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.product-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.product-stock.in { color: var(--teal); }
.product-stock.in::before { background: var(--teal); }
.product-stock.out { color: var(--muted); }
.product-stock.out::before { background: var(--muted); }
.product-desc { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 28px; }

.product-opt { margin-bottom: 24px; }
.product-opt-label { font-family: 'Source Sans 3', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; display: flex; gap: 8px; }
.product-opt-label .chosen { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.product-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.product-color {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; box-shadow: 0 0 0 1px var(--border2); transition: var(--trans);
}
.product-color:hover { transform: scale(1.08); }
.product-color.active { border-color: var(--chalk); box-shadow: 0 0 0 2px var(--ink); }
.product-finishes { display: flex; flex-wrap: wrap; gap: 8px; }
.product-finish {
  font-size: 13px; padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border2); background: var(--chalk); color: var(--ink2); transition: var(--trans);
}
.product-finish:hover { border-color: var(--ink); }
.product-finish.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-buy { display: flex; gap: 12px; align-items: stretch; margin: 28px 0 8px; }
.product-buy .qty-stepper { height: 52px; }
.product-buy .qty-stepper .qty-btn { width: 44px; height: 100%; }
.product-add {
  flex: 1; background: var(--ink); color: #fff; border: none; border-radius: var(--r-pill);
  font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: var(--trans);
}
.product-add:hover:not(:disabled) { background: var(--purple); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(123,95,255,0.32); }
.product-add:disabled { background: var(--border2); color: var(--muted); cursor: not-allowed; }
.product-add.added { background: var(--teal); }
.product-buy-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }

.product-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.product-meta-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink2); }
.product-meta-item svg { width: 16px; height: 16px; color: var(--purple); flex-shrink: 0; }

/* Detail accordion */
.product-accordion { margin-top: 28px; }

/* Related products */
.product-related { margin-top: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  :root { --section-pad: 64px 24px; }
  .nav { padding: 0 20px; }
  .nav-mobile-toggle {
    display: flex; align-items: center; justify-content: center;
    order: 3; width: 42px; height: 42px; margin-right: -8px; line-height: 1;
  }
  .nav-actions { gap: 8px; }

  /* ── MOBILE DROPDOWN MENU (hidden until toggled open) ── */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--chalk);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 26px 44px rgba(0,0,0,0.16);
    padding: 6px 0 12px;
    max-height: calc(100vh - 116px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a {
    display: flex; align-items: center; min-height: 52px;
    padding: 6px 22px; font-size: 15px; color: var(--ink2); font-weight: 500;
  }
  .nav-links > li > a.active { color: var(--purple); }
  .nav-links a::after { display: none; }

  /* Services submenu shown inline & indented (no hover needed on touch) */
  .nav-dropdown-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; border: none; box-shadow: none;
    padding: 0 0 6px; min-width: 0;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-item {
    display: flex; align-items: center; min-height: 44px;
    padding: 6px 22px 6px 38px; font-size: 14px; border-radius: 0;
  }
  .nav-dropdown-item::before { content: '›'; margin-right: 10px; color: var(--muted); }

  /* "Get a Quote" CTA row inside the mobile menu */
  .nav-mobile-only { display: block; border-bottom: none; padding: 12px 22px 4px; }
  .nav-menu-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
    padding: 14px; border-radius: var(--r-pill); min-height: 50px;
  }
  .nav-menu-cta svg { width: 12px; height: 12px; }

  .utility-bar { padding: 8px 24px; }
  .utility-bar-right { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 10px; text-align: center; }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .cart-page { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 24px; }
  .nav-cta { display: none; }
  .cart-row { grid-template-columns: 72px 1fr auto; column-gap: 14px; }
  .cart-row-thumb { width: 72px; height: 72px; }  /* match the 72px track (was 96px → overflowed into the text) */
  .cart-row-price { grid-column: 2 / -1; text-align: left; margin-top: 4px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════
   MOBILE — inline-grid collapses + small-phone polish
   Body inline style="" grids can't be reached by the
   class-based media queries above, so they're forced
   to stack here with !important (inline beats specificity).
   ═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  /* two-column section layouts (image + text) stack on tablet/phone */
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="gap:64px"] { gap: 40px !important; }
  /* recent-work image gallery: 4 → 2 up */
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  :root { --section-pad: 56px 20px; }
  /* color-name legend under the spectrum bar: 10 → 5 across */
  [style*="grid-template-columns:repeat(10,1fr)"] {
    grid-template-columns: repeat(5,1fr) !important; row-gap: 8px !important;
  }
  /* stacked, full-width CTAs read better than wrapped rows on a phone */
  .cta-band-btns { flex-direction: column; align-items: stretch; }
  .cta-band-btns .btn-white,
  .cta-band-btns .btn-ghost,
  .cta-band-btns .btn-primary,
  .cta-band-btns .btn-outline { width: 100%; justify-content: center; }
  .page-hero-meta { gap: 18px 28px; }
}
