/* ════════════════════════════════════════════════════════════
   East Texas Tactical Firearms Training — Tactical Operator Theme
   ════════════════════════════════════════════════════════════ */

:root {
  --bg:        #0c0a09;
  --card:      #171412;
  --alt:       #120f0d;
  --border:    #2a2520;
  --text:      #f0ece4;
  --muted:     #9a9080;
  --accent:    #c8382e;     /* tactical red — OK as a button/badge BACKGROUND (white text = 5.2:1) */
  --accent-text: #e0564e;   /* lighter red for accent TEXT on dark bg — #c8382e text is only ~3.5:1 (fails AA); this is ~4.9:1 */
  --accent-dark: #8a1f17;
  --tan:       #d8a84a;
  --success:   #557039;     /* darkened from #6b8e4e so white-on-green badges clear 4.5:1 (was ~3.7:1) */
  --danger:    #ef4444;

  --font-h: 'Oswald', 'Inter', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }            /* belt: prevent any descendant from forcing horizontal scroll */
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;                   /* suspenders: same, in case html clip is overridden */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.85; }

h1, h2, h3, h4, .uppercase {
  font-family: var(--font-h);
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
.kicker {
  font-family: var(--font-h);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.accent { color: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); opacity: 1; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 1rem 2rem; font-size: 0.95rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.75rem; }

/* ── Announcement bar ── */
.announce {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
}
.announce a { color: #fff; text-decoration: underline; }

/* ── Header ── */
.site-header {
  background: rgba(12, 10, 9, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 120px; height: 120px;
  background: #fff; border-radius: 50%;
  padding: 4px;
  object-fit: contain;
  /* Static ring + glow. We do NOT animate box-shadow (non-compositable → caused
     intermittent black-box GPU artifacts on the promoted layer). The "heartbeat"
     is a transform: scale pulse instead, which is GPU-safe. No will-change. */
  box-shadow: 0 0 0 3px var(--accent), 0 0 26px rgba(200,56,46,0.40);
  animation: brand-logo-pulse 3.6s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes brand-logo-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
/* Hover state on the brand link — pop the logo, brighten the ring */
.brand:hover .brand-logo {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 0 0 3px var(--tan), 0 0 34px rgba(200,56,46,0.6);
  animation-play-state: paused;
}
/* Honor reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .brand-logo { animation: none; }
  .brand:hover .brand-logo { transform: none; }
}
@media (max-width: 760px) { .brand-logo { width: 76px; height: 76px; } }
.brand-name {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 760px) { .brand-name { font-size: 1.05rem; } }
.brand-slogan {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 3px;
}
@media (max-width: 760px) { .brand-slogan { font-size: 0.65rem; padding: 0.2rem 0.55rem; letter-spacing: 0.2em; } }
.primary-nav {
  display: flex; gap: 0.25rem; align-items: center;
  margin-left: auto;
}
.primary-nav > a,
.nav-drop-trigger {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  transition: color 0.15s ease;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.3rem;
}
.primary-nav > a:hover, .primary-nav > a.active,
.nav-drop-trigger:hover, .nav-drop-trigger.active { color: var(--accent); opacity: 1; }
.nav-drop-caret { width: 8px; height: 5px; transition: transform 0.2s; flex-shrink: 0; }
.nav-drop.open .nav-drop-caret { transform: rotate(180deg); }

/* ── Dropdown panels ── */
.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: #1a1714; border: 1px solid var(--border);
  border-radius: 6px; padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
}
.nav-drop.open .nav-drop-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-drop-panel--wide {
  display: grid;
  /* Column count is data-driven (categories.json) — auto-fill so it works
     whether there are 3 groups or 8. Wraps to a second row if very wide. */
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  width: min(780px, calc(100vw - 2rem));
  padding: 1rem;
  gap: 0.6rem 0; left: 0;
}
/* The LE dropdown sits closer to the right edge of the nav — anchoring from
   `left: 0` pushes a 780px panel off-screen on 1100-1280px laptops. Anchor
   it from the right side of its trigger instead. */
#drop-le .nav-drop-panel--wide { left: auto; right: 0; }

/* ===== Law Enforcement landing page ===== */
.le-hero {
  background:
    radial-gradient(circle at 8% 0%, rgba(200,56,46,0.25), transparent 60%),
    radial-gradient(circle at 95% 100%, rgba(216,168,74,0.15), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0));
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
}
.le-hero .kicker { color: var(--tan); }
.le-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 1rem; line-height: 1.15; }
.le-hero-sub { font-size: 1.05rem; max-width: 720px; color: var(--muted); margin: 0 0 1.5rem; }
.le-hero-creds {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.8rem;
}
.le-cred {
  background: rgba(216,168,74,0.10); border: 1px solid rgba(216,168,74,0.35);
  color: var(--tan);
  padding: 0.35rem 0.7rem; border-radius: 4px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.le-hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.le-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.le-service {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.3rem;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.le-service:hover { border-color: rgba(216,168,74,0.5); transform: translateY(-2px); }
.le-service-icon { font-size: 2rem; margin-bottom: 0.4rem; }
.le-service h3 { margin: 0 0 0.4rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.le-service p { color: var(--muted); margin: 0 0 0.8rem; font-size: 0.92rem; flex: 1; }

.le-dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.le-dealer {
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--tan);
  border-radius: 4px; padding: 1rem 1.1rem;
}
.le-dealer h3 {
  margin: 0 0 0.3rem; font-family: var(--font-h);
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.le-dealer p { color: var(--muted); margin: 0; font-size: 0.88rem; line-height: 1.5; }

.form-status { padding: 0.7rem 1rem; border-radius: 4px; margin-top: 0.7rem; font-size: 0.9rem; }
.form-status--err { background: rgba(200,56,46,0.12); border: 1px solid rgba(200,56,46,0.35); color: #ff8a82; }
.form-success { background: rgba(107,142,78,0.12); border: 1px solid rgba(107,142,78,0.35); padding: 1.2rem 1.4rem; border-radius: 6px; }

/* ===== Resources / FAQ page ===== */
.resources-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) { .resources-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.resource-steps {
  counter-reset: step;
  padding-left: 0;
  list-style: none;
}
.resource-steps > li {
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  margin-bottom: 0.8rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  counter-increment: step;
}
.resource-steps > li::before {
  content: counter(step);
  position: absolute; top: 1rem; left: 0.9rem;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-h); font-weight: 700; font-size: 0.9rem;
  border-radius: 50%;
}
.resource-steps strong { color: var(--text); }
.resource-steps ul { margin: 0.4rem 0 0 1rem; padding-left: 1rem; color: var(--muted); }
.resource-bullets { padding-left: 1.2rem; color: var(--muted); line-height: 1.7; }
.resource-bullets li { margin-bottom: 0.2rem; }

.resource-faq {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; margin-bottom: 0.5rem;
}
.resource-faq summary {
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem;
  list-style: none;
}
.resource-faq summary::-webkit-details-marker { display: none; }
.resource-faq summary::after {
  content: '+'; margin-left: auto;
  font-size: 1.3rem; line-height: 1; color: var(--muted);
}
.resource-faq[open] summary::after { content: '−'; }
.resource-faq[open] { border-color: rgba(216,168,74,0.5); }
.resource-faq p, .resource-faq ul { padding: 0 1rem 0.9rem; color: var(--muted); margin: 0; }
.resource-faq ul { padding-left: 2rem; padding-bottom: 0.9rem; }

.resource-link-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem; margin-top: 1rem;
}
.resource-link-card {
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--tan);
  border-radius: 4px; padding: 0.9rem 1rem;
  text-decoration: none; color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
  display: block;
}
.resource-link-card:hover { border-color: var(--tan); transform: translateY(-2px); }
.resource-link-card strong { display: block; margin-bottom: 0.2rem; }
.resource-link-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* ===== Subcategory filter chips (gear page) ===== */
.subcat-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.subcat-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.subcat-chip:hover { border-color: var(--tan); color: var(--text); }
.subcat-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Curated testimonials (homepage) ===== */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.testimonial-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--tan);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: -0.3rem; left: 0.6rem;
  font-family: var(--font-h);
  font-size: 4rem;
  color: var(--tan);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-card p {
  margin: 0 0 0.7rem;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.testimonial-card cite {
  color: var(--tan);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ===== Vendor / Buy Factory Direct grid ===== */
.vendor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.vendor-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.2rem;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.vendor-card:hover { border-color: var(--tan); transform: translateY(-2px); }
.vendor-card-h {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.5rem; margin-bottom: 0.2rem;
}
.vendor-card-h h3 {
  margin: 0; font-family: var(--font-h);
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.vendor-arrow { color: var(--tan); font-size: 1.1rem; flex-shrink: 0; }
.vendor-card-cat {
  color: var(--tan); font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.vendor-card p { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.5; }
.vendor-card p a { color: var(--tan); }

.vendor-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 720px) { .vendor-compare { grid-template-columns: 1fr; } }
.vendor-compare-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.3rem 1.5rem;
}
.vendor-compare-card h3 {
  margin: 0 0 0.7rem; font-family: var(--font-h);
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.vendor-compare-card ul { padding-left: 1.1rem; color: var(--muted); line-height: 1.7; margin: 0; }
.vendor-compare-card strong { color: var(--text); }

/* ===== Author book card (about page) ===== */
.book-card {
  display: flex; align-items: center; gap: 1.5rem;
  background: linear-gradient(135deg, rgba(216,168,74,0.10), rgba(216,168,74,0.02));
  border: 1px solid rgba(216,168,74,0.4);
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  flex-wrap: wrap;
}
.book-card-icon { font-size: 3rem; line-height: 1; flex: 0 0 auto; }
.book-card-body { flex: 1; min-width: 240px; }
.book-card-body .kicker { color: var(--tan); margin: 0 0 0.3rem; }
.book-card-body h2 { font-size: 1.3rem; line-height: 1.25; }

/* ===== Agency quote builder ===== */
.agency-quote-layout {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
  align-items: start;
}
@media (max-width: 880px) {
  .agency-quote-layout { grid-template-columns: 1fr; }
}
.agency-quote-items { min-width: 0; }
.aq-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.8rem; margin-bottom: 0.6rem;
  align-items: center;
}
.aq-row-img { width: 90px; height: 70px; background: rgba(255,255,255,0.04); border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.aq-row-img img { width: 100%; height: 100%; object-fit: cover; }
.aq-row-body { min-width: 0; }
.aq-row-brand { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.aq-row-name { color: var(--text); text-decoration: none; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.aq-row-name:hover { color: var(--tan); }
.aq-row-price { color: var(--tan); font-weight: 700; font-family: var(--font-h); }
.aq-row-actions {
  display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end;
  font-size: 0.85rem;
}
.aq-row-actions .form-input--sm { padding: 0.3rem 0.4rem; }
.agency-quote-totals {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1rem;
  margin-top: 1rem;
}
.agency-quote-totals > div {
  display: flex; justify-content: space-between;
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 700;
  padding-bottom: 0.4rem; border-bottom: 1px solid var(--border);
}
.agency-quote-totals > div span:last-child { color: var(--tan); }
.agency-quote-form-wrap {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem;
  position: sticky; top: 110px;
}

/* Floating "Agency Quote (N) →" pill — shown on every page when 1+ items in quote.
   Hidden on the /agency-quote review page itself (handled in JS). */
.aq-floating-pill {
  position: fixed; bottom: 1.2rem; right: 1.2rem;
  z-index: 250;
  background: linear-gradient(135deg, var(--accent), #8b1f17);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 0 0 2px rgba(216,168,74,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.aq-floating-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.55), 0 0 0 3px rgba(216,168,74,0.5);
}
@media (max-width: 640px) {
  .aq-floating-pill { bottom: 0.7rem; right: 0.7rem; padding: 0.55rem 0.9rem; font-size: 0.8rem; }
}
.nav-drop-col { padding: 0 0.75rem; }
.nav-drop-col + .nav-drop-col { border-left: 1px solid var(--border); }
.nav-drop-group-h {
  font-family: var(--font-h); font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem; padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
.nav-drop-item {
  display: block; padding: 0.35rem 1rem;
  font-family: var(--font-h); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); transition: color 0.12s, background 0.12s;
  border-radius: 3px;
}
.nav-drop-col .nav-drop-item { padding: 0.3rem 0.25rem; }
.nav-drop-item:hover { color: var(--text); background: rgba(255,255,255,0.04); opacity: 1; }
.nav-drop-item--hi { color: var(--tan); }
.nav-drop-item--hi:hover { color: var(--tan); }
.nav-drop-sep { height: 1px; background: var(--border); margin: 0.4rem 0.75rem; }

/* ── Mobile hamburger ── */
.nav-close-row { display: none; }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 0.4rem; margin-left: auto;
}
.nav-hamburger svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-close-row { display: flex; }
  /* The header's backdrop-filter makes it a containing block for position:fixed,
     which traps the full-screen nav overlay at the header's height and clips the
     links. Drop the filter while the menu is open so the overlay fills the
     viewport. (Class toggle, not :has(), for older-iOS support.) */
  body.menu-open .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .primary-nav.nav-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12,10,9,0.98); z-index: 300;
    overflow-y: auto; padding: 1.5rem 1.5rem 3rem;
    gap: 0;
  }
  .nav-close-row {
    display: flex; justify-content: flex-end; margin-bottom: 1.5rem;
  }
  .nav-close-btn {
    background: none; border: none; cursor: pointer;
    color: var(--muted); font-size: 1.6rem; line-height: 1;
  }
  .primary-nav > a, .nav-drop-trigger {
    padding: 0.9rem 0; font-size: 1rem; border-bottom: 1px solid var(--border);
    width: 100%; justify-content: space-between;
  }
  .nav-drop-panel, .nav-drop-panel--wide {
    position: static; opacity: 1; pointer-events: auto;
    transform: none; box-shadow: none; border: none;
    background: rgba(255,255,255,0.03); border-radius: 0;
    display: none; min-width: 0; grid-template-columns: 1fr;
    padding: 0.25rem 0 0.25rem 1rem;
  }
  .nav-drop-col { padding: 0; border: none !important; }
  .nav-drop-col + .nav-drop-col { border: none; margin-top: 0.5rem; }
  .nav-drop-group-h { margin-top: 0.6rem; }
  .nav-drop.open .nav-drop-panel,
  .nav-drop.open .nav-drop-panel--wide { display: block; }
  .nav-drop-sep { display: none; }
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.nav-phone svg { width: 18px; height: 18px; }

/* ── Gear page category sidebar ── */
.gear-layout { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .gear-layout { grid-template-columns: 1fr; } }
.gear-sidebar { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 0; position: sticky; top: 90px; }
.gear-sidebar-h { font-family: var(--font-h); font-size: 0.65rem; letter-spacing: 0.25em; font-weight: 800; text-transform: uppercase; color: var(--muted); padding: 0.5rem 1rem 0.25rem; }
.gear-cat-link {
  display: block; padding: 0.38rem 1rem;
  font-family: var(--font-h); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); transition: color 0.12s, background 0.12s; border-left: 2px solid transparent;
}
.gear-cat-link:hover { color: var(--text); background: rgba(255,255,255,0.04); opacity: 1; }
.gear-cat-link.active { color: var(--accent); border-left-color: var(--accent); background: rgba(200,56,46,0.06); }
.gear-cat-sep { height: 1px; background: var(--border); margin: 0.5rem 0; }
.gear-mobile-filter { display: none; margin-bottom: 1.5rem; }
@media (max-width: 760px) {
  .gear-sidebar { display: none; }
  .gear-mobile-filter { display: block; }
  .gear-mobile-select { width: 100%; padding: 0.6rem 1rem; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 6px; font-family: var(--font-h); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
}

/* ── Checkout payment options ── */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.pay-opt { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.pay-opt:has(input:checked) { border-color: var(--accent); background: rgba(200,56,46,0.06); }
.pay-opt input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.pay-opt-label { font-family: var(--font-h); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.pay-opt-sub { font-size: 0.75rem; color: var(--muted); }
.pay-instructions { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; margin-bottom: 1rem; display: none; }
.pay-instructions.visible { display: block; }
.pay-instructions strong { color: var(--tan); }
.card-fields { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; margin-bottom: 1rem; }
.pay-secure-note { font-size: 0.78rem; color: var(--muted); margin: 0.6rem 0 0; }

/* ── Hero ── */
.hero {
  background: var(--bg);
  padding: 5rem 0 7rem;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(200,56,46,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(200,56,46,0.10) 0%, transparent 60%),
    linear-gradient(135deg, #0c0a09 0%, #1a1210 50%, #0c0a09 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 0h60v60H0z' fill='none'/><path d='M0 60L60 0M-10 10L10-10M50 70L70 50' stroke='rgba(255,255,255,0.018)' stroke-width='1'/></svg>");
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; position: relative; }
.hero-content { max-width: 720px; }
.hero h1 { margin-bottom: 0; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--muted); margin: 1.5rem 0 2rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.hero-stats > div .n {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1;
}
.hero-stats > div .l {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.trust-strip .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: center;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-h);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.trust-badge svg { width: 14px; height: 14px; fill: var(--accent); }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section--alt { background: var(--alt); }
.section--cta { padding: 4rem 0; background: var(--alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Why Train Here ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.15s ease;
}
.why-card:hover { border-color: var(--accent); }

/* Clickable variant — when a why-card has a url it renders as an <a>.
   Mirrors the .pillar treatment: pointer cursor, lift on hover,
   and a "→ See classes" affordance so it reads as tappable. */
.why-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.why-card--link::after {
  content: "→ See classes";
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.85;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.why-card--link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,56,46,0.15);
}
.why-card--link:hover::after { opacity: 1; transform: translateX(3px); }
.why-card--link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.why-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.why-card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--text); }
.why-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ── Instructor ── */
.instructor-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) { .instructor-grid { grid-template-columns: 1fr; } }
.instructor-photo {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--card);
}
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.instructor-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}
.instructor-name {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
}
.instructor-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}
.cred-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.5rem;
}
.cred-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--font-h);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cred-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tan);
  font-weight: 900;
}

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.pillar::after {
  content: "→ See classes";
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.85;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.pillar:hover { border-color: var(--accent); transform: translateY(-2px); opacity: 1; box-shadow: 0 6px 20px rgba(200,56,46,0.15); }
.pillar:hover::after { opacity: 1; transform: translateX(3px); }
.pillar:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pillar-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pillar-h { font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 0.4rem; }
.pillar-d { font-size: 0.85rem; color: var(--muted); }

/* ── LE / Agency block ── */
.le-block { background: linear-gradient(135deg, rgba(200,56,46,0.05), transparent); border-top: 1px solid var(--border); }
.le-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 760px) { .le-grid { grid-template-columns: 1fr; } }
.le-bullets { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.le-bullets li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem;
  font-size: 0.95rem; color: var(--text);
}
.le-bullets li::before {
  content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 900;
}
.le-suppliers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.supplier-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  padding: 1rem;
}
.supplier-name { font-family: var(--font-h); font-weight: 800; font-size: 0.95rem; color: var(--text); }
.supplier-role { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }

/* ── Final CTA ── */
.final-cta { text-align: center; }
.final-cta .hero-ctas { justify-content: center; margin-top: 1.5rem; }

/* ── Page hero (sub pages) ── */
.page-hero { background: var(--alt); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.6rem; }
.page-hero-sub { color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.page-hero--course .course-meta-row { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.page-hero--course .course-meta-row .dot { color: var(--border); }
.back-link { color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; display: inline-block; margin-bottom: 1rem; }
.back-link:hover { color: var(--accent); opacity: 1; }
.course-tags { margin-bottom: 0.6rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 4px; font-family: var(--font-h); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pill--tan { background: var(--tan); color: var(--bg); }
.pill--red { background: rgba(200,56,46,0.18); color: var(--accent); }
.pill--green { background: rgba(107,142,78,0.2); color: #94c465; }

/* ── Filter tabs ── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.filter-tab {
  padding: 0.5rem 1rem;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
}
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-tab:hover { color: var(--text); opacity: 1; }

/* ── Course grid ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.course-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.15s ease;
}
.course-card:hover { border-color: var(--accent); transform: translateY(-2px); opacity: 1; }
.course-card-media { aspect-ratio: 16/10; position: relative; background: var(--alt); overflow: hidden; }
.course-card-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.course-card-tag { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; padding: 3px 8px; background: rgba(0,0,0,0.7); border: 1px solid var(--accent); border-radius: 3px; font-family: var(--font-h); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--accent); font-weight: 800; }
.course-card-pill { position: absolute; top: 0.6rem; right: 0.6rem; padding: 3px 8px; background: rgba(107,142,78,0.85); color: #fff; border-radius: 3px; font-family: var(--font-h); font-size: 0.65rem; letter-spacing: 0.1em; font-weight: 800; }
.course-card-urgent { position: absolute; top: 0.6rem; right: 0.6rem; padding: 3px 8px; background: var(--accent); color: #fff; border-radius: 3px; font-family: var(--font-h); font-size: 0.65rem; letter-spacing: 0.1em; font-weight: 800; }
.course-card-body { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.course-card-h { font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; margin: 0 0 0.4rem; text-transform: uppercase; line-height: 1.2; }
.course-card-meta { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.6rem; }
.course-card-meta .dot { margin: 0 0.3rem; }
.course-card-desc { color: var(--muted); font-size: 0.85rem; flex: 1; margin: 0 0 0.8rem; }
.course-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 0.6rem; border-top: 1px solid var(--border); }
.course-card-price { font-family: var(--font-h); font-weight: 900; font-size: 1.2rem; color: var(--accent); }
.course-card-next { font-size: 0.75rem; color: var(--muted); text-align: right; }

/* ── Course detail ── */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) { .course-detail-grid { grid-template-columns: 1fr; } }
.course-main .prose { font-size: 1rem; color: var(--text); margin-bottom: 1.5rem; line-height: 1.7; }
.callout { padding: 1rem 1.2rem; border-radius: 6px; margin-bottom: 1.5rem; }
.callout--green { background: rgba(107,142,78,0.1); border: 1px solid rgba(107,142,78,0.4); }
.callout-h { font-weight: 700; margin-bottom: 0.4rem; color: #94c465; }
.callout-d { font-size: 0.9rem; color: var(--muted); }

.info-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.info-card-h { font-family: var(--font-h); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.info-card--tan { border-left: 3px solid var(--tan); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.4rem; font-size: 0.9rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--tan); font-weight: 900; }

.session-list { display: flex; flex-direction: column; gap: 0.4rem; }
.session-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0.9rem; background: var(--alt); border: 1px solid var(--border); border-radius: 5px; }
.session-date { font-weight: 700; }
.session-loc { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.session-seats { font-family: var(--font-h); font-size: 0.85rem; font-weight: 700; }
.session-seats--low { color: var(--accent); }

.course-aside { position: sticky; top: 110px; }
.aside-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.aside-price { font-family: var(--font-h); font-weight: 900; font-size: 2.5rem; color: var(--accent); line-height: 1; }
.aside-price-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; margin-bottom: 1.2rem; }
.aside-next { padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 1.2rem; }
.aside-next-h { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; }
.aside-next-date { font-family: var(--font-h); font-size: 1.2rem; font-weight: 800; }
.aside-next-seats { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.aside-next-seats.low { color: var(--accent); }
.aside-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }
.aside-trust { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.4rem; }
.aside-trust li { position: relative; padding-left: 1.5rem; font-size: 0.8rem; color: var(--muted); }
.aside-trust li::before { content: '✓'; position: absolute; left: 0; color: var(--tan); font-weight: 900; }

/* ── Modal (enrollment) ── */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.modal-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 12px; max-width: 560px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.02); }
.modal-h { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(200,56,46,0.06), transparent); }
.modal-kicker { font-family: var(--font-h); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 0.35rem; }
.modal-title { font-family: var(--font-h); font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
.modal-body { padding: 1.5rem 1.75rem; }
/* Form fields inside modals inherit the global .form-input / .form-label standard
   above. Only the top-of-modal grid spacing differs (no leading margin). */
.modal-card .form-grid-2 { margin-top: 0; }
.modal-card .form-grid-2 .form-label,
.modal-card .form-grid-3 .form-label { margin-top: 0; }
.addon-list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.4rem; }
.addon-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.8rem; background: var(--alt); border: 1px solid var(--border); border-radius: 5px; cursor: pointer; }
.addon-row:has(input:checked) { border-color: var(--accent); background: rgba(200,56,46,0.08); }
.addon-row input { accent-color: var(--accent); }
.addon-name { flex: 1; font-size: 0.9rem; }
.addon-price { font-family: var(--font-h); font-weight: 700; color: var(--muted); }
.addon-row:has(input:checked) .addon-price { color: var(--accent); }

/* Quantity selector add-ons (replaces checkbox flow) */
.addon-row--qty {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6rem;
  align-items: center;
  cursor: default;
}
.addon-row--qty .addon-name   { grid-column: 1; font-size: 0.92rem; font-weight: 600; }
.addon-row--qty .addon-price  { grid-column: 2; font-size: 0.78rem; }
.addon-row--qty .addon-qty    { grid-column: 3; display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.addon-qty-btn {
  width: 30px; height: 30px;
  background: var(--card); color: var(--text);
  border: 0; cursor: pointer;
  font-size: 1.1rem; font-weight: 700;
  transition: background 0.1s;
}
.addon-qty-btn:hover { background: var(--accent); color: #fff; }
.addon-qty-input {
  width: 40px; height: 30px; text-align: center;
  background: var(--alt); border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  color: var(--text); font-weight: 700; font-family: inherit;
  -moz-appearance: textfield;
}
.addon-qty-input::-webkit-outer-spin-button,
.addon-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.addon-row--qty:has(.addon-qty-input:not([value="0"])) {
  border-color: var(--accent);
  background: rgba(200,56,46,0.08);
}
/* Inventory-linked add-on states */
.addon-row--oos { opacity: 0.5; }
.addon-stock { color: var(--tan); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; margin-left: 0.35rem; }
.addon-qty--disabled { display: flex; align-items: center; justify-content: center; }
.addon-qty-oos { color: var(--muted); padding: 0 0.9rem; font-weight: 700; }
.modal-foot { padding: 1.2rem 1.5rem; border-top: 1px solid var(--border); }
.modal-total-line { font-size: 0.85rem; color: var(--muted); }
.modal-total-final { font-family: var(--font-h); font-weight: 900; font-size: 1.4rem; margin: 0.3rem 0 1rem; }
.btn--full { width: 100%; }
.btn-cancel { display: block; width: 100%; margin-top: 0.4rem; background: none; border: 0; color: var(--muted); font-size: 0.85rem; cursor: pointer; padding: 0.4rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info .info-card p.muted { color: var(--muted); font-size: 0.85rem; margin: 0.5rem 0 0; }
.big-phone { display: block; font-family: var(--font-h); font-weight: 900; font-size: 1.8rem; color: var(--accent); }
.big-link { display: block; font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.contact-form-wrap form { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }

/* ===== Global form fields — ONE accessible standard for every form on the site
   (contact, checkout, login, enrollment/waitlist modals, agency quote, out-of-
   stock requests, cart save, etc.). Big, legible 17px inputs that are easy to
   read and tap for older eyes — and ≥16px also stops iOS Safari from zooming
   in when a field gets focus. Page wrappers below only override LAYOUT (grids),
   never the sizing. Previously these rules were copy-pasted scoped to each
   wrapper, so any form in an unlisted wrapper (the agency-quote page, the OOS
   request box) fell through to tiny unstyled browser inputs. Global fixes that
   for good and keeps every form consistent. ===== */
.form-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.1rem 0 0.4rem;
  font-weight: 700;
}
.form-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 7px;
  font-size: 1.05rem;          /* ~17px — legible for older eyes; ≥16px prevents iOS zoom-on-focus */
  line-height: 1.45;
  font-family: inherit;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
}
.form-input::placeholder { color: var(--muted); opacity: 0.75; }
.form-input:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.form-input:focus { outline: none; border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px rgba(200,56,46,0.18); }
select.form-input {
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d8a84a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
textarea.form-input, .form-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-context { background: rgba(216,168,74,0.1); border: 1px solid rgba(216,168,74,0.3); padding: 0.5rem 0.8rem; border-radius: 5px; font-size: 0.85rem; margin: 0.6rem 0; }
.form-context--waitlist { background: rgba(200,56,46,0.1); border-color: rgba(200,56,46,0.35); line-height: 1.5; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.8rem; }
.contact-form-wrap button { margin-top: 1.2rem; }
.contact-success { background: rgba(107,142,78,0.1); border: 1px solid rgba(107,142,78,0.4); padding: 1.5rem; border-radius: 8px; }
.contact-success h3 { color: #94c465; margin: 0 0 0.5rem; }

/* ── Dealer callouts (gear page) ── */
.dealer-callout {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: 8px;
  margin-bottom: 1.5rem;
}
.dealer-callout--red { border: 1px solid rgba(200,56,46,0.4); background: rgba(200,56,46,0.06); }
.dealer-callout--tan { border: 1px solid rgba(216,168,74,0.4); background: rgba(216,168,74,0.06); }
.dealer-icon { font-size: 1.6rem; flex-shrink: 0; }
.dealer-h { font-family: var(--font-h); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.dealer-callout--red .dealer-h { color: var(--accent); }
.dealer-callout--tan .dealer-h { color: var(--tan); }
.dealer-d { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ── Product cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.15s ease;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); opacity: 1; }
.product-card-media { aspect-ratio: 1/1; background: var(--alt); position: relative; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.product-badge { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; padding: 3px 8px; background: var(--success); color: #fff; border-radius: 3px; font-family: var(--font-h); font-size: 0.65rem; letter-spacing: 0.1em; font-weight: 800; }
.product-badge--lg { font-size: 0.8rem; padding: 5px 12px; top: 1rem; left: 1rem; }
.product-card-body { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; }
.product-name { font-family: var(--font-h); font-weight: 800; font-size: 0.95rem; line-height: 1.25; flex: 1; margin-bottom: 0.6rem; text-transform: uppercase; }
.product-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.product-price { font-family: var(--font-h); font-weight: 900; font-size: 1.2rem; color: var(--accent); }
.product-stock { font-size: 0.75rem; color: var(--muted); }
.product-stock .low-stock { color: var(--accent); font-weight: 700; }
.product-stock .ships-rts { color: var(--tan); font-weight: 700; }
/* Gear tile: quote action row (card is now a wrapper div; the link is the clickable area) */
.product-card-link { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; text-decoration: none; }
.product-card-action { padding: 0 1.2rem 1.1rem; margin-top: auto; }
.product-card-action .product-quote-btn { display: flex; width: 100%; justify-content: center; }

/* ── Product detail ── */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) { .product-detail { grid-template-columns: 1fr; } }
.product-image-frame {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.product-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.product-brand-lg { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; }
.product-h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 0.6rem; }
.product-price-lg { font-family: var(--font-h); font-weight: 900; font-size: 2.4rem; color: var(--accent); margin-bottom: 1rem; }
.product-desc { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin: 0; }
.spec-row dt { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.1rem; }
.spec-row dd { font-family: var(--font-h); font-weight: 700; margin: 0; }
.ships-rts-card {
  display: flex; gap: 0.8rem; align-items: flex-start;
  margin-top: 0.8rem; padding: 0.8rem 1rem;
  background: var(--alt); border: 1px solid var(--border);
  border-radius: 6px;
}
.ships-rts-badge { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-size: 0.6rem; font-weight: 800; color: var(--muted); }
.ships-rts-h { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.2rem; }
.ships-rts-d { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.cart-feedback { margin-top: 0.8rem; padding: 0.6rem 0.9rem; background: rgba(107,142,78,0.12); border: 1px solid rgba(107,142,78,0.4); border-radius: 5px; color: #94c465; font-size: 0.85rem; }
.cart-feedback a { color: #94c465; text-decoration: underline; }

/* ── Cart page ── */
.cart-empty { text-align: center; padding: 3rem 0; }
.cart-empty h3 { color: var(--text); }
.cart-empty p { color: var(--muted); }
.cart-empty a { color: var(--accent); }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
@media (max-width: 880px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items { display: flex; flex-direction: column; gap: 0.8rem; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto auto;
  gap: 1rem; padding: 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  align-items: center;
}
.cart-item-img { width: 80px; height: 80px; background: var(--alt); border-radius: 5px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-brand { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.cart-item-name { font-family: var(--font-h); font-weight: 700; font-size: 0.95rem; margin: 0.1rem 0; }
.cart-item-price { font-size: 0.8rem; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.qty-row button { width: 28px; height: 28px; background: var(--alt); border: 1px solid var(--border); color: var(--text); font-size: 1rem; cursor: pointer; border-radius: 4px; }
.qty-row span { min-width: 20px; text-align: center; font-weight: 700; }
.cart-item-line { font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; }
.cart-summary .info-card { position: sticky; top: 110px; }
/* The HTML `hidden` attribute must always win — author `display` rules (like
   .cart-line below) otherwise override it, leaving "hidden" rows visible at their
   $0 placeholders (e.g. Discount / Gift card / Amount due on checkout). */
[hidden] { display: none !important; }
/* Make the Gift Cards nav entry pop (tan accent) so it's easy to find. */
.nav-giftcards { color: var(--tan) !important; font-weight: 700; }
.cart-line { display: flex; justify-content: space-between; margin: 0.6rem 0; font-size: 0.9rem; }
.cart-line--total { padding-top: 0.6rem; margin-top: 0.6rem; border-top: 1px solid var(--border); font-family: var(--font-h); font-weight: 900; font-size: 1.2rem; }

/* ── Checkout ── */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 880px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-form { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.75rem; }
/* Checkout fields inherit the global .form-input / .form-label standard.
   .form-input--inline (the "use a saved address" picker) stays compact — see below. */
.checkout-section { margin-bottom: 2rem; }
.checkout-section h2 { font-family: var(--font-h); font-size: 1.2rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.checkout-section-h { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.checkout-section-h h2 { margin: 0 0 0.6rem !important; }
.form-input--inline { display: inline-block; width: auto; max-width: 280px; padding: 0.5rem 2.2rem 0.5rem 0.7rem; font-size: 0.95rem; }

.checkout-signed-in {
  background: linear-gradient(90deg, rgba(216,168,74,0.10), rgba(216,168,74,0.02));
  border: 1px solid rgba(216,168,74,0.4);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.4rem;
}
.csi-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.csi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #c8382e 0%, #8b1f17 100%);
  border: 2px solid rgba(216,168,74,0.6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-h); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.csi-text { flex: 1; min-width: 200px; }
.csi-title { font-size: 0.95rem; }
.csi-sub { color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }
.csi-sub a { color: var(--muted); }
.csi-sub a:hover { color: var(--accent); }
.csi-addr-tag {
  font-size: 0.78rem; color: var(--tan); letter-spacing: 0.04em;
  background: rgba(216,168,74,0.12); padding: 0.3rem 0.6rem; border-radius: 4px;
  border: 1px solid rgba(216,168,74,0.25);
}

.checkout-guest-cta {
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  margin-bottom: 1.4rem;
  font-size: 0.88rem; color: var(--muted);
}
.checkout-guest-cta a { font-weight: 600; }

.checkout-save-addr {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.8rem; font-size: 0.88rem; color: var(--muted);
  cursor: pointer;
}
.checkout-save-addr input { accent-color: var(--accent); }
.form-grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.6rem; }
@media (max-width: 600px) { .form-grid-3 { grid-template-columns: 1fr; } }
.auth-note { background: rgba(216,168,74,0.08); border: 1px solid rgba(216,168,74,0.3); padding: 0.8rem 1rem; border-radius: 5px; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.auth-note strong { color: var(--text); }
.checkout-summary .info-card { position: sticky; top: 110px; }
.checkout-item { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.85rem; }
.checkout-item-name { color: var(--text); }
.checkout-item-line { color: var(--muted); }

/* ── Order success ── */
.success-check { width: 80px; height: 80px; margin: 0 auto 1.5rem; background: rgba(107,142,78,0.2); border: 2px solid var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--success); font-weight: 900; }
.ref-code { background: var(--alt); padding: 4px 10px; border-radius: 4px; font-family: 'SF Mono', monospace; color: var(--tan); font-size: 0.95rem; }

/* ── Services page ── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 1.5rem;
  display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--accent); }
.service-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.service-card h2 { font-family: var(--font-h); font-size: 1.3rem; text-transform: uppercase; margin: 0 0 0.3rem; }
.service-price { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; font-weight: 700; margin-bottom: 0.8rem; }
.service-card .check-list { margin: 0.8rem 0; flex: 1; }
.service-card .check-list li { font-size: 0.85rem; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

/* ── Cart count badge in header ── */
.cart-count {
  margin-left: 0.4rem;
  background: var(--accent); color: #fff;
  padding: 1px 7px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 800;
  display: none;
}
.cart-count.visible { display: inline-block; }

/* ── Auth / login ── (fields inherit the global .form-input / .form-label standard) */
.auth-form { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.auth-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.4); color: #ff8888; padding: 0.6rem 0.9rem; border-radius: 5px; margin-bottom: 1rem; font-size: 0.85rem; }
.auth-switch { text-align: center; margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }
.auth-switch a { color: var(--accent); }

/* ── Account ── */
.account-hero { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 880px) { .account-grid { grid-template-columns: 1fr; } }
.account-grid h2 { font-family: var(--font-h); font-size: 1.4rem; text-transform: uppercase; margin: 0 0 1rem; }
.account-list { display: flex; flex-direction: column; gap: 0.6rem; }
.account-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.2rem; }
.account-card-h { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.account-card-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.account-card-foot { display: flex; justify-content: space-between; font-size: 0.85rem; }
.account-card-foot .ref-code { color: var(--tan); font-family: 'SF Mono', monospace; font-size: 0.75rem; }

/* ===== Account portal v2 — hero + snapshot ===== */
.account-main { background: var(--bg); }
.account-hero-v2 {
  background:
    radial-gradient(circle at 12% 0%, rgba(200,56,46,0.18), transparent 55%),
    radial-gradient(circle at 95% 100%, rgba(216,168,74,0.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0));
  border-bottom: 1px solid var(--border);
  padding: 2.4rem 0 1.6rem;
}
.account-hero-v2-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}
.account-hero-id { display: flex; gap: 1.2rem; align-items: center; flex: 1; min-width: 0; }
.account-avatar {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 800;
  font-size: 1.9rem; letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #c8382e 0%, #8b1f17 100%);
  border: 2px solid rgba(216,168,74,0.6);
  box-shadow: 0 0 0 4px rgba(200,56,46,0.18), 0 6px 14px rgba(0,0,0,0.4);
  text-transform: uppercase;
}
.account-hero-v2 .kicker { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--tan); margin: 0 0 0.25rem; }
.account-hero-v2 h1 { margin: 0 0 0.3rem; font-size: 2.1rem; }
.account-hero-meta {
  margin: 0; color: var(--muted); font-size: 0.92rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.account-hero-dot { opacity: 0.5; }
.account-hero-actions { display: flex; gap: 0.5rem; align-items: center; }

/* Snapshot stat cards */
.account-snapshot {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.7rem;
}
.snap-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-decoration: none; color: var(--text);
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.snap-card:hover:not(.snap-card--static) {
  transform: translateY(-2px);
  border-color: var(--tan);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.snap-card--static { cursor: default; opacity: 0.95; }
.snap-icon { font-size: 1.4rem; line-height: 1; margin-bottom: 0.3rem; }
.snap-num {
  font-family: var(--font-h); font-weight: 700;
  font-size: 1.7rem; line-height: 1.1; color: var(--tan);
}
.snap-lbl {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.2rem;
}

/* Section headers within panes */
.acct-section-h {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-h); font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0 0 1rem;
}
.acct-section-icon { font-size: 1.3rem; opacity: 0.85; }

/* v2 card polish — hover lift */
.account-card--v2 {
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.account-card--v2:hover {
  border-color: rgba(216,168,74,0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.acct-card-total {
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--tan);
  font-size: 1rem;
}

/* Tab icons + badge */
.account-tab .tab-icon { font-size: 1rem; margin-right: 0.3rem; opacity: 0.85; }
.account-tab .tab-badge {
  display: inline-block;
  background: rgba(216,168,74,0.18);
  color: var(--tan);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 0.3rem;
}

@media (max-width: 640px) {
  .account-hero-v2 { padding: 1.6rem 0 1.2rem; }
  .account-avatar { width: 60px; height: 60px; font-size: 1.5rem; }
  .account-hero-v2 h1 { font-size: 1.5rem; }
  .snap-num { font-size: 1.35rem; }
  .snap-icon { font-size: 1.15rem; }
  .account-snapshot { gap: 0.5rem; }
  .snap-card { padding: 0.7rem 0.5rem; }
}
.empty-state { background: var(--alt); border: 1px dashed var(--border); border-radius: 8px; padding: 2rem; text-align: center; }
.empty-state p { color: var(--muted); margin: 0 0 1rem; }

/* status pills shared with admin */
.status-pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.status-pending { background: rgba(216,168,74,0.18); color: var(--tan); }
.status-confirmed { background: rgba(107,142,78,0.18); color: #94c465; }
.status-paid { background: rgba(107,142,78,0.25); color: #b8e081; }
.status-cancelled { background: rgba(239,68,68,0.18); color: #ff7777; }
.status-pending_payment { background: rgba(216,168,74,0.18); color: var(--tan); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  transition: all 0.15s ease;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); opacity: 1; }
.blog-card-img { aspect-ratio: 16/9; background: var(--alt); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.2rem 1.4rem; }
.blog-card-meta { display: flex; justify-content: space-between; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.blog-card-cat { color: var(--accent); font-weight: 800; }
.blog-card-date { color: var(--muted); }
.blog-card-title { font-family: var(--font-h); font-weight: 800; font-size: 1.2rem; margin: 0 0 0.5rem; line-height: 1.2; text-transform: uppercase; }
.blog-card-excerpt { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.8rem; }
.blog-card-author { color: var(--muted); font-size: 0.75rem; }
.blog-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.blog-body { font-size: 1rem; line-height: 1.75; color: var(--text); }
.blog-body p { margin: 0 0 1.2rem; }
.blog-body h3 { font-family: var(--font-h); font-size: 1.4rem; margin: 1.5rem 0 0.8rem; text-transform: uppercase; }
.blog-body ul, .blog-body ol { padding-left: 1.5rem; margin: 0 0 1.2rem; color: var(--text); }
.blog-body a { color: var(--accent); border-bottom: 1px solid rgba(200,56,46,0.4); }
.blog-body a:hover { border-bottom-color: var(--accent); opacity: 1; }

/* ── Footer ── */
.site-footer {
  background: var(--alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo { width: 48px; height: 48px; background: #fff; border-radius: 50%; padding: 4px; object-fit: contain; }
.footer-brand-name { font-family: var(--font-h); font-weight: 900; font-size: 0.9rem; }
.footer-brand-tag { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-top: 2px; font-weight: 700; }
.footer-blurb { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.footer-blurb a { color: var(--text); }
.footer-h { font-family: var(--font-h); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.4rem; }
.footer-list a { font-size: 0.85rem; color: var(--muted); }
.footer-list a:hover { color: var(--accent); opacity: 1; }
@media (max-width: 760px) {
  /* Bigger, easier-to-tap footer links on phones (older-eyes audience). */
  .footer-list li { margin-bottom: 0.1rem; }
  .footer-list a { display: inline-block; padding: 0.4rem 0; font-size: 0.92rem; }
}
.footer-social {
  display: flex; gap: 0.6rem; margin-top: 0.7rem;
}
.footer-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-map {
  max-width: var(--maxw); margin: 1.5rem auto 0; padding: 0 1.5rem;
}
.footer-map iframe {
  border-radius: 6px;
  border: 1px solid var(--border);
  width: 100%;
}
.footer-bottom {
  max-width: var(--maxw); margin: 2rem auto 0; padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.75rem; color: var(--muted);
}
.footer-admin a {
  color: var(--muted); opacity: 0.6;
  border: 1px solid var(--border); padding: 0.25rem 0.7rem;
  border-radius: 3px; font-size: 0.7rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.footer-admin a:hover { color: var(--accent); border-color: var(--accent); opacity: 1; }

/* ===========================================
   GOOGLE REVIEWS — public block (homepage / about)
   =========================================== */
.reviews-section {
  background: linear-gradient(180deg, var(--bg) 0%, #14100e 100%);
}
.reviews-summary {
  display: flex; align-items: baseline; gap: 1.2rem;
  flex-wrap: wrap; margin: 0 0 2rem;
}
.reviews-summary-rating {
  display: flex; align-items: center; gap: 0.7rem;
}
.reviews-rating-num {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 2.6rem; line-height: 1; color: var(--accent);
}
.reviews-stars { font-size: 1.4rem; letter-spacing: 0.06em; }
.reviews-summary-meta {
  color: var(--muted); font-size: 0.95rem;
}
.reviews-summary-meta a { color: var(--accent); text-decoration: none; }
.reviews-summary-meta a:hover { text-decoration: underline; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.4rem; border-radius: 4px;
  display: flex; flex-direction: column;
}
.review-stars-row {
  font-size: 1.1rem; letter-spacing: 0.06em; margin-bottom: 0.7rem;
}
.r-star-on  { color: #fbbf24; }
.r-star-off { color: rgba(255,255,255,0.12); }
.review-text {
  flex: 1; font-size: 0.95rem; line-height: 1.6; margin: 0 0 1rem;
  color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-attribution {
  display: grid; grid-template-columns: 40px 1fr; gap: 0.7rem;
  align-items: center; padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}
.review-pic {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.review-pic-blank {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif; font-weight: 700;
  background: rgba(200,56,46,0.15); color: var(--accent);
  border: 1px solid rgba(200,56,46,0.3);
}
.review-author { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.review-when { font-size: 0.75rem; color: var(--muted); }

/* ===== Variant picker (PDP) ===== */
.variant-picker {
  margin: 1.2rem 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.variant-group {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.variant-label {
  display: flex; gap: 0.4rem; align-items: baseline;
  font-family: var(--font-h); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--muted);
}
.variant-label .variant-selected {
  color: var(--text); font-weight: 700; text-transform: none;
  letter-spacing: 0; font-size: 0.95rem;
}
.variant-options {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.variant-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font-family: var(--font-h); font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.15s ease;
  min-width: 3rem; text-align: center;
}
.variant-chip:hover {
  border-color: var(--accent);
  background: rgba(200,56,46,0.08);
}
.variant-chip.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.variant-availability {
  font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; min-height: 1.2em;
}
.variant-availability.is-low { color: var(--tan); font-weight: 600; }
.variant-availability.is-warn { color: var(--accent); font-weight: 600; }

/* ===== PDP add-ons / upgrades ===== */
.pdp-addons {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.pdp-addons-h {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 0.5rem;
}
.pdp-addon {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.7rem; margin-bottom: 0.4rem;
  background: var(--alt); border: 1px solid var(--border); border-radius: 6px;
  cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.pdp-addon:last-child { margin-bottom: 0; }
.pdp-addon:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.pdp-addon:has(input:checked) { border-color: var(--accent); background: rgba(200,56,46,0.08); }
.pdp-addon input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); flex-shrink: 0; }
.pdp-addon-name { flex: 1; font-weight: 600; }
.pdp-addon-plus { font-family: var(--font-h); font-weight: 700; color: var(--tan); }

/* ===== Cart variant labels ===== */
.cart-item-addon { font-size: 0.82rem; color: var(--tan); margin-top: 0.15rem; }
.checkout-item-addons { color: var(--muted); font-size: 0.85em; }
.cart-item-variant {
  font-size: 0.85rem; color: var(--tan);
  margin-top: 0.15rem; font-weight: 600;
}
.cart-item-sku {
  font-size: 0.7rem; color: var(--muted); letter-spacing: 0.06em;
  font-family: monospace; margin-top: 0.15rem;
}

/* ===== Account nav label ===== */
.nav-account-label {
  max-width: 6rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; display: inline-block; vertical-align: middle;
}

/* ===== Reviews (PDP) ===== */
.product-rating-row {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--text);
  margin: 0.5rem 0 1rem; padding: 0.3rem 0; cursor: pointer;
}
.product-rating-row:hover { color: var(--accent); }
.product-rating-text { font-size: 0.9rem; color: var(--muted); }
.star-row, .star-mini {
  display: inline-flex; gap: 1px; letter-spacing: 0.05em;
}
.star-row { font-size: 1.05rem; }
.star-mini { font-size: 0.85rem; }
.star-on { color: #fbbf24; }
.star-off { color: rgba(255,255,255,0.18); }
.star-half {
  background: linear-gradient(90deg, #fbbf24 50%, rgba(255,255,255,0.18) 50%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reviews-h { font-size: 1.4rem; margin: 0 0 1rem; }
.reviews-summary-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.2rem; margin-bottom: 1.2rem;
  display: inline-block;
}
.reviews-summary-big { display: flex; flex-direction: column; align-items: center; }
.reviews-summary-num {
  font-family: var(--font-h); font-size: 2.4rem; font-weight: 700;
  color: var(--tan); line-height: 1;
}
.reviews-summary-count { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }

.review-form-wrap {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.2rem; margin: 1rem 0;
}
.review-form { display: flex; flex-direction: column; gap: 0.4rem; }
.rating-input {
  display: inline-flex; flex-direction: row-reverse; gap: 0.3rem;
  align-items: center; justify-content: flex-end;
  margin: 0.3rem 0;
}
.rating-input input { display: none; }
.rating-input label {
  font-size: 1.8rem; cursor: pointer;
  color: rgba(255,255,255,0.18); transition: color 0.1s ease;
}
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: #fbbf24;
}

.reviews-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.2rem; }
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1rem 1.2rem;
}
.review-card-h {
  display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.review-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.verified-badge { color: var(--tan); font-weight: 600; }
.review-text { margin: 0.2rem 0 0; line-height: 1.6; }
.review-owner-reply {
  background: rgba(216,168,74,0.08); border-left: 3px solid var(--tan);
  padding: 0.7rem 0.9rem; margin-top: 0.8rem;
  border-radius: 0 4px 4px 0;
}
.review-owner-reply-h {
  color: var(--tan); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.3rem;
}
.review-owner-reply p { margin: 0; }

/* ===== Wishlist ===== */
.wishlist-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); cursor: pointer;
  padding: 0.5rem 0.9rem; border-radius: 4px;
  font-size: 0.88rem; font-weight: 600;
  margin: 0.6rem 0 0.4rem; transition: all 0.15s ease;
}
.wishlist-btn:hover { border-color: var(--accent); color: var(--accent); }
.wishlist-icon { font-size: 1.1rem; transition: color 0.15s; }
.wishlist-btn.is-saved { border-color: var(--accent); color: var(--accent); }
.wishlist-btn.is-saved .wishlist-icon { color: var(--accent); }

.wishlist-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.wishlist-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.wishlist-card-img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2, #1a1614); }
.wishlist-card-img img { width: 100%; height: 100%; object-fit: cover; }
.wishlist-card-body { padding: 0.7rem 0.9rem; flex: 1; }
.wishlist-card-brand { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.wishlist-card-name { color: var(--text); text-decoration: none; font-weight: 600; display: block; margin-bottom: 0.4rem; }
.wishlist-card-name:hover { color: var(--accent); }
.wishlist-card-price { color: var(--tan); font-family: var(--font-h); font-weight: 700; font-size: 1.1rem; }
.wishlist-card-actions { padding: 0 0.9rem 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.muted-count { color: var(--muted); font-weight: normal; font-size: 0.8em; }

/* ===== Multi-image gallery (PDP) ===== */
.product-thumb-strip {
  display: flex; gap: 0.5rem; margin-top: 0.7rem;
  flex-wrap: wrap;
}
.product-thumb {
  width: 64px; height: 64px;
  background: transparent; border: 2px solid var(--border);
  border-radius: 4px; padding: 0; cursor: pointer; overflow: hidden;
  transition: border-color 0.15s;
}
.product-thumb:hover { border-color: var(--tan); }
.product-thumb.active { border-color: var(--accent); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Coupon UI (cart) ===== */
.cart-line--discount { color: var(--tan); font-weight: 600; }
.coupon-row {
  display: flex; gap: 0.4rem; margin-top: 0.7rem; align-items: center;
}
.coupon-row .form-input--sm { flex: 1; padding: 0.4rem 0.6rem; font-size: 0.88rem; }
.coupon-applied {
  background: rgba(216,168,74,0.1); border: 1px solid rgba(216,168,74,0.3);
  color: var(--tan); padding: 0.5rem 0.7rem; border-radius: 4px;
  font-size: 0.85rem; margin-top: 0.7rem;
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
}
.coupon-applied .btn-link { color: var(--accent); padding: 0; }
.coupon-error {
  color: var(--accent); font-size: 0.85rem; margin-top: 0.5rem;
  background: rgba(200,56,46,0.08); padding: 0.45rem 0.7rem; border-radius: 4px;
}

/* ===== Range Days calendar (browse-only) ===== */
.range-cal-wrap {
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start;
}
@media (max-width: 880px) { .range-cal-wrap { grid-template-columns: 1fr; } }

.range-cal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.2rem;
}
.range-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.range-cal-month {
  font-family: var(--font-h); font-weight: 800; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.range-cal-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--alt);
  color: var(--text); font-size: 1.1rem; text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.range-cal-nav:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.range-cal-nav.is-disabled { opacity: 0.25; cursor: default; }

.range-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.range-cal-dow {
  text-align: center; font-family: var(--font-h); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 0.4rem 0;
}
.range-cal-day {
  min-height: 74px; border-radius: 5px; padding: 0.4rem;
  border: 1px solid var(--border); background: var(--alt);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.range-cal-day.is-blank { background: transparent; border: none; }
.range-cal-daynum { font-family: var(--font-h); font-weight: 700; font-size: 0.95rem; }
.range-cal-daylabel { font-size: 0.66rem; line-height: 1.25; color: var(--muted); }

/* Status coloring — a left accent bar + tint */
.range-cal-day.status-open     { border-left: 3px solid var(--success); }
.range-cal-day.status-limited  { border-left: 3px solid var(--tan); }
.range-cal-day.status-full     { border-left: 3px solid var(--accent); }
.range-cal-day.status-closed,
.range-cal-day.status-blackout { opacity: 0.45; }
.range-cal-day.status-past     { opacity: 0.25; }
.range-cal-day.status-open    .range-cal-daylabel { color: #94c465; }
.range-cal-day.status-limited .range-cal-daylabel { color: var(--tan); }
.range-cal-day.status-full    .range-cal-daylabel { color: var(--accent); }

.range-cal-day.is-today { box-shadow: inset 0 0 0 1px var(--tan); }
.range-cal-day.is-clickable { cursor: pointer; transition: transform 0.12s ease, border-color 0.12s ease; }
.range-cal-day.is-clickable:hover { transform: translateY(-2px); border-color: var(--accent); opacity: 1; }
.range-cal-day.is-clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.range-cal-day.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.range-cal-legend {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem;
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border);
  font-size: 0.74rem; color: var(--muted);
}
.range-cal-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.range-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.range-dot.status-open    { background: var(--success); }
.range-dot.status-limited { background: var(--tan); }
.range-dot.status-full    { background: var(--accent); }
.range-dot.status-closed  { background: var(--border); }

/* Day detail panel */
.range-cal-side .info-card-h { margin-bottom: 0.6rem; }
.range-day-slot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0.7rem; border-radius: 4px; margin-bottom: 0.4rem;
  background: var(--alt); border: 1px solid var(--border);
}
.range-day-slot.is-full { opacity: 0.55; }
.range-day-slot-time { font-family: var(--font-h); font-weight: 700; font-size: 0.88rem; }
.range-day-slot-avail { font-size: 0.72rem; color: var(--muted); }
.range-day-slot.is-open .range-day-slot-avail { color: #94c465; }
.range-day-slot.is-full .range-day-slot-avail { color: var(--accent); }

/* ===== Order tracking ===== */
.track-steps {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin: 1.5rem 0 0.5rem; gap: 0;
}
.track-step {
  display: flex; flex-direction: column; align-items: center;
  flex: 0 0 auto; min-width: 4rem; text-align: center;
}
.track-step-dot {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 2px solid var(--border);
  color: var(--muted); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-h);
}
.track-step.is-done .track-step-dot {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.track-step-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.4rem; max-width: 5rem; line-height: 1.2; }
.track-step.is-done .track-step-label { color: var(--text); font-weight: 600; }
.track-step-bar {
  flex: 1; height: 2px; background: var(--border); margin-top: 1rem;
}
.track-step-bar.has-progress { background: var(--accent); }

/* ===== Stock alert (out-of-stock notify-me) — legacy class, still used by status line ===== */
.stock-notify-status { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ===== Out-of-stock request form (lead-capture) =====
   Shown when a product OR a selected variant is out of stock. Goes straight
   into Capt. Walker's inquiry inbox so the customer isn't lost — beats a
   silent "Out of stock" dead-end every time. */
.oos-request {
  margin-top: 1rem; padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(216,168,74,0.10) 0%, rgba(216,168,74,0.04) 100%);
  border: 1px solid rgba(216,168,74,0.4);
  border-radius: 8px;
}
.oos-request-h {
  color: var(--tan); font-weight: 800; font-size: 1rem;
  margin-bottom: 0.35rem; letter-spacing: 0.01em;
}
.oos-request-p {
  margin: 0 0 0.8rem; font-size: 0.85rem; line-height: 1.45;
  color: var(--text);
}
.oos-request-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
@media (max-width: 540px) { .oos-request-grid { grid-template-columns: 1fr; } }
.oos-request-phone, .oos-request-msg { margin-top: 0.5rem; width: 100%; box-sizing: border-box; }
.oos-request-msg {
  font-family: inherit; line-height: 1.4; resize: vertical;
  min-height: 2.6rem;
}
.oos-request-notify {
  display: flex; align-items: flex-start; gap: 0.5rem;
  margin-top: 0.7rem; font-size: 0.83rem; color: var(--muted);
  cursor: pointer; line-height: 1.4;
}
.oos-request-notify input[type=checkbox] {
  margin-top: 0.15rem; accent-color: var(--accent);
}
.oos-request-submit { margin-top: 0.8rem; }

/* ===== Returns picker ===== */
.ret-item {
  display: block; padding: 0.7rem 0.9rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 4px; margin-bottom: 0.5rem; cursor: pointer;
}
.ret-item:has(input:checked) { border-color: var(--accent); background: rgba(200,56,46,0.06); }
.ret-item input[type=checkbox] { margin-right: 0.6rem; vertical-align: middle; }

/* ===== Cart-save (abandoned cart capture) ===== */
.cart-save {
  margin-top: 1rem; padding: 0.7rem 0.9rem;
  background: rgba(216,168,74,0.06);
  border: 1px solid rgba(216,168,74,0.2);
  border-radius: 4px;
}
.cart-save-h { font-size: 0.85rem; color: var(--tan); font-weight: 600; margin-bottom: 0.4rem; }
.cart-save .form-input--sm { flex: 1; padding: 0.4rem 0.6rem; font-size: 0.85rem; }
.cart-save-status { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }

/* ===== Armor sizing wizard ===== */
.armor-steps {
  display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; list-style: none;
  overflow-x: auto;
}
.armor-steps li {
  flex: 1; min-width: 7rem; padding: 0.5rem 0.7rem; text-align: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 4px; color: var(--muted); font-size: 0.85rem; font-weight: 600;
}
.armor-steps li.is-current { border-color: var(--accent); color: var(--text); background: rgba(200,56,46,0.08); }
.armor-steps li.is-done    { border-color: var(--tan); color: var(--tan); }
.armor-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.5rem;
}
.armor-panel h2 { margin-top: 0; }
.armor-measure {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin: 1rem 0;
}
@media (max-width: 720px) { .armor-measure { grid-template-columns: 1fr; } }
.armor-input-row { display: flex; gap: 0.4rem; }
.armor-input-row .form-input { flex: 1; }
.armor-radio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 1rem 0;
}
.armor-radio-grid--wide { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .armor-radio-grid, .armor-radio-grid--wide { grid-template-columns: 1fr; } }
.armor-radio-grid label {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 4px; padding: 0.8rem 1rem; cursor: pointer; font-size: 0.9rem;
}
.armor-radio-grid label:has(input:checked) {
  border-color: var(--accent); background: rgba(200,56,46,0.06);
}
.armor-actions { display: flex; gap: 0.6rem; justify-content: space-between; margin-top: 1.5rem; flex-wrap: wrap; }

.armor-result-summary {
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
  background: rgba(216,168,74,0.08); border: 1px solid rgba(216,168,74,0.3);
  border-radius: 6px; padding: 1.2rem;
}
.armor-result-size-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.armor-result-size-val { font-family: var(--font-h); font-size: 3rem; font-weight: 700; color: var(--tan); line-height: 1; }
.armor-result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.2rem; font-size: 0.9rem; }

.armor-rec-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; }
@media (max-width: 720px) { .armor-rec-grid { grid-template-columns: 1fr; } }
.armor-rec-card {
  background: var(--bg-2, var(--card)); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
}
.armor-rec-img { display: block; aspect-ratio: 4/3; background: rgba(255,255,255,0.04); overflow: hidden; }
.armor-rec-img img { width: 100%; height: 100%; object-fit: cover; }
.armor-rec-body { padding: 0.7rem 0.9rem; }
.armor-rec-brand { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.armor-rec-name {
  display: block; color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 0.95rem; margin: 0.3rem 0;
}
.armor-rec-name:hover { color: var(--accent); }
.armor-rec-desc { font-size: 0.78rem; color: var(--muted); margin: 0.4rem 0; line-height: 1.5; }

/* ===== Account tabs ===== */
.account-tabs {
  background: var(--card); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 5;
}
.account-tabs .container {
  display: flex; gap: 0; overflow-x: auto;
}
.account-tab {
  padding: 1rem 1.5rem; color: var(--muted); text-decoration: none;
  font-family: var(--font-h); font-weight: 600; letter-spacing: 0.04em;
  font-size: 0.9rem; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.account-tab:hover { color: var(--text); }
.account-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ===== Address book ===== */
.address-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.address-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1rem 1.2rem;
}
.address-card-h {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.5rem; margin-bottom: 0.5rem;
}
.address-badges { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.address-card-body { line-height: 1.6; color: var(--text); font-size: 0.9rem; }
.address-card-foot {
  display: flex; gap: 0.7rem; margin-top: 0.7rem;
  padding-top: 0.5rem; border-top: 1px solid var(--border);
}

/* ===== Fulfillment badge (In Stock / Drop-Ship) ===== */
.fulfillment-badge {
  margin: 1rem 0; padding: 0.8rem 1rem; border-radius: 4px;
  display: flex; flex-direction: column; gap: 0.2rem;
  font-size: 0.88rem;
}
.fulfillment-badge strong { font-family: var(--font-h); letter-spacing: 0.04em; }
.fulfillment-badge span { color: var(--muted); font-size: 0.85rem; }
.fulfillment-badge.is-stocked { background: rgba(148,196,101,0.08); border: 1px solid rgba(148,196,101,0.3); }
.fulfillment-badge.is-stocked strong { color: #a8d175; }
.fulfillment-badge.is-dropship { background: rgba(216,168,74,0.08); border: 1px solid rgba(216,168,74,0.3); }
.fulfillment-badge.is-dropship strong { color: var(--tan); }

/* ===== Find My Size button (Safe Life PDPs) ===== */
.find-size-btn {
  background: rgba(216,168,74,0.12); color: var(--tan);
  border: 1px solid rgba(216,168,74,0.4);
  padding: 0.2rem 0.6rem; border-radius: 14px;
  font-size: 0.78rem; font-family: var(--font-h); font-weight: 600;
  cursor: pointer; margin-left: auto; transition: all 0.15s;
}
.find-size-btn:hover { background: var(--tan); color: var(--bg); }
.fs-result {
  margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 4px;
}
.fs-result.is-good {
  background: rgba(148,196,101,0.12); border: 1px solid rgba(148,196,101,0.4);
  color: #a8d175;
}
.fs-result.is-warn {
  background: rgba(232,169,46,0.12); border: 1px solid rgba(232,169,46,0.4);
  color: var(--tan);
}

/* ===== Legal pages ===== */
.legal-doc { max-width: 800px; line-height: 1.7; }
.legal-doc h2 {
  font-family: var(--font-h); font-size: 1.15rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--tan); margin: 2rem 0 0.7rem;
  padding-bottom: 0.4rem; border-bottom: 1px solid var(--border);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc ul { padding-left: 1.4rem; margin: 0.5rem 0 1rem; }
.legal-doc li { margin-bottom: 0.4rem; }
.legal-doc p { margin: 0 0 1rem; }

/* ===== Cookie banner ===== */
.ett-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: rgba(12,10,9,0.97); border-top: 2px solid var(--accent);
  padding: 0.7rem 1rem; backdrop-filter: blur(8px);
}
.ett-cookie-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.ett-cookie-inner p { margin: 0; flex: 1; font-size: 0.85rem; color: var(--text); min-width: 280px; }
.ett-cookie-inner a { color: var(--tan); }

/* ===== Error pages ===== */
.error-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.error-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.5rem; text-decoration: none;
  display: block; text-align: center; transition: all 0.15s ease;
}
.error-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.error-card-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.error-card-h { font-family: var(--font-h); font-weight: 700; color: var(--text); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.error-card-p { color: var(--muted); font-size: 0.9rem; }


/* ════════════════════════════════════════════════════════════
   MOBILE POLISH — phone usability fixes (2026-05-07)
   Goal: site feels native on a phone, not "shrunk desktop".
   ════════════════════════════════════════════════════════════ */

/* Prevent iOS Safari from auto-zooming when an input gets focus.
   Trigger: input font-size < 16px. Apply on touch devices only so we
   don't bloat type at desktop. */
@media (max-width: 760px) {
  input, select, textarea, .form-input {
    font-size: 16px !important;
  }
  /* Don't blow up tiny inline number inputs (qty steppers etc.) too much */
  .addon-qty-input, .qty-input, input[type="number"].form-input--sm {
    font-size: 16px !important;
  }
}

/* Tap-target floor: 44×44px is Apple/WCAG minimum. Bump small buttons
   and nav icon links so a thumb tap lands cleanly. */
@media (max-width: 760px) {
  .btn { min-height: 44px; }
  .btn--sm { min-height: 40px; padding: 0.6rem 1.1rem; font-size: 0.8rem; }
  .btn--lg { min-height: 52px; }
  .nav-phone {
    padding: 0.6rem 0.4rem;
    min-height: 44px; min-width: 44px;
    justify-content: center;
    border-radius: 6px;
  }
  .nav-phone svg { width: 22px; height: 22px; }
  .nav-account-label,
  .nav-phone-label { display: none; } /* icon-only nav on phone */
  .nav-actions { gap: 0.3rem; }
  /* Compact "Register" CTA in header */
  .nav-actions .btn { padding: 0.55rem 0.85rem; font-size: 0.7rem; min-height: 38px; }
}
/* Narrow phones: logo + brand + cart + account + call + Register can't all fit
   on one row, so the Register CTA + Call get cut off. Move them into the
   slide-in menu (.nav-mobile-extra) and keep only Cart + account in the bar. */
.nav-mobile-extra { display: none; }
@media (max-width: 600px) {
  .nav-actions .btn--primary,
  .nav-actions a[href^="tel:"] { display: none; }
  .primary-nav.nav-open .nav-mobile-extra {
    display: flex; flex-direction: column; gap: 0.8rem;
    margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  }
  .nav-mobile-call { color: var(--tan); font-weight: 700; font-size: 1.05rem; text-align: center; padding: 0.4rem 0; }
}

/* Course detail aside — un-stick on mobile so it doesn't fight the page */
@media (max-width: 880px) {
  .course-aside { position: static; top: auto; }
  .course-detail-grid { gap: 1.5rem; }
}

/* Add-on qty buttons — bigger thumbs */
@media (max-width: 760px) {
  .addon-qty-btn { width: 40px; height: 40px; font-size: 1.3rem; }
  .addon-qty-input { width: 50px; height: 40px; }
  .addon-row--qty { padding: 0.8rem 0.7rem; }
}

/* Filter tabs (courses page) — wrap nicely, bigger touch targets */
@media (max-width: 760px) {
  .filter-tabs {
    flex-wrap: wrap; gap: 0.4rem;
  }
  .filter-tab {
    flex: 1 1 calc(50% - 0.2rem); /* 2 per row */
    min-height: 44px; padding: 0.7rem 0.9rem;
    text-align: center; font-size: 0.78rem;
  }
}

/* Hero — calm padding on phones (not too tight, not too tall) */
@media (max-width: 760px) {
  .hero { padding: 3.5rem 0 4.5rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15; }
  .hero p, .hero-sub, .hero-pre { line-height: 1.65; }
  .hero-ctas { gap: 0.8rem; margin-top: 1.6rem; }
  .page-hero { padding-top: 3rem; padding-bottom: 3rem; }
}

/* Pillars (who-we-train cards) — single column on small, 2 on medium */
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 880px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}

/* Course grid — cards stack to single column on phone with breathing room */
@media (max-width: 600px) {
  .course-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* Footer — stack neatly on phones */
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Cookie banner — never let it eat the screen on phones */
@media (max-width: 600px) {
  .ett-cookie-inner {
    flex-direction: column; gap: 0.6rem; padding: 0.8rem;
  }
  .ett-cookie-inner p { min-width: 0; font-size: 0.8rem; }
}

/* Modal: full-bleed friendly spacing on phones (was already padding 1rem) */
@media (max-width: 540px) {
  .modal { padding: 0.5rem; align-items: flex-end; } /* slide-up sheet feel */
  .modal-card { max-height: 95vh; border-radius: 10px 10px 0 0; }
  .modal-h, .modal-body, .modal-foot { padding-left: 1rem; padding-right: 1rem; }
}

/* Cart / checkout / account / quote tables — horizontal scroll instead of overflow */
@media (max-width: 760px) {
  .qd-table, .cart-table, .order-table {
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

/* Container side padding on phones — keep content off the edge */
@media (max-width: 540px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
}

/* Sections — calm vertical rhythm on phones (don't pile sections on top of each other) */
@media (max-width: 760px) {
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .section h2 { margin-bottom: 0.7em; }
  .section .kicker { margin-bottom: 0.5rem; }
}
@media (max-width: 540px) {
  .section { padding-top: 3.25rem; padding-bottom: 3.25rem; }
}

/* Product detail — stack image gallery and info */
@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* Address book / account tabs */
@media (max-width: 600px) {
  .account-tabs { flex-wrap: wrap; }
  .account-tab { flex: 1 1 calc(50% - 0.2rem); text-align: center; }
}

/* Cart-specific mobile polish */
@media (max-width: 540px) {
  .cart-item {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
    gap: 0.7rem;
  }
  .cart-item-img { width: 70px; height: 70px; }
  .cart-item-info { grid-column: 2; }
  .cart-item-controls { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 0.5rem; border-top: 1px solid var(--border); }
  .cart-item-line { font-size: 1.2rem; }
}
@media (max-width: 760px) {
  .qty-row button { width: 36px; height: 36px; font-size: 1.1rem; }
  .qty-row span { min-width: 26px; font-size: 1rem; }
  .cart-summary .info-card { position: static; top: auto; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE BREATHING ROOM (2026-05-07 patch)
   Counter-tighten: site felt congested with my over-aggressive
   spacing reduction. Give cards/grids/text room to breathe.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* Body text easier to read on phone */
  body { line-height: 1.65; }
  p { line-height: 1.7; }

  /* Card grids: more space between stacked cards (was 1.25rem, felt cramped) */
  .why-grid { gap: 1.5rem; margin-top: 2rem; }
  .pillars { gap: 1.5rem; margin-top: 2rem; }

  /* Why-card / pillar internal padding — give the words room */
  .why-card { padding: 1.5rem 1.3rem; }
  .pillar { padding: 1.6rem 1.4rem; }

  /* Hero CTAs stack with comfortable gap */
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn { flex: 1 1 100%; }

  /* Trust strip — phone reads better stacked compactly */
  .trust-strip { padding: 1.2rem 0; }
  .trust-strip .inner { gap: 0.8rem 1.2rem; }
  .trust-badge { font-size: 0.78rem; }

  /* Page heros (courses/about/etc.) — let the headline breathe */
  .page-hero h1 { line-height: 1.15; margin-bottom: 0.7rem; }
  .page-hero-sub { line-height: 1.65; max-width: 38ch; }

  /* Instructor section — bigger gap between photo + bio */
  .instructor-grid { gap: 1.8rem; }
  .instructor-bio h2 { line-height: 1.15; margin-bottom: 0.8rem; }

  /* LE section — comfortable vertical rhythm */
  .le-grid { gap: 2rem; }
  .le-suppliers { gap: 0.8rem; }

  /* Footer — comfortable padding */
  .footer-inner { padding: 2rem 0 1.5rem; }
}

/* Smaller phones — additional breathing tweaks */
@media (max-width: 540px) {
  .why-card { padding: 1.4rem 1.2rem; }
  .pillar { padding: 1.5rem 1.2rem; }
  .info-card { padding: 1.4rem 1.3rem; }
  .aside-card { padding: 1.4rem; }
  .course-card-body { padding: 1.2rem; }
  /* Tighter vertical rhythm for headings on small phones */
  h2 { margin-bottom: 0.5em; }
  h3 { margin-bottom: 0.4em; }
}

/* Headlines: softer letter-spacing on phone (cramped uppercase reads as a wall) */
@media (max-width: 540px) {
  h1, h2, h3 { letter-spacing: 0.01em; }
  .hero h1 { letter-spacing: 0; }
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL (lightweight, IO-based — see js/scroll-reveal.js)
   ════════════════════════════════════════════════════════════ */
.reveal-on-scroll,
.reveal-stagger .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed,
.reveal-stagger .reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Variant: slide-in from left for credential cards */
.reveal-stagger.reveal-from-left .reveal-item {
  transform: translateX(-32px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.reveal-from-left .reveal-item.is-revealed {
  transform: translateX(0) scale(1);
}
/* Reduced motion: show content immediately */
html.reveal-disabled .reveal-on-scroll,
html.reveal-disabled .reveal-stagger .reveal-item {
  opacity: 1; transform: none; transition: none;
}

/* ════════════════════════════════════════════════════════════
   CREDENTIAL CARDS (about page + instructor section)
   Replaces the bullet list with badge-style cards that include
   license numbers and stagger in on scroll.
   ════════════════════════════════════════════════════════════ */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.7rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.cred-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.cred-card::before {
  /* Subtle red gradient sweep on hover for tactical feel */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(200,56,46,0.06) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.cred-card:hover {
  border-color: var(--tan);
  border-left-color: var(--tan);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.cred-card:hover::before { opacity: 1; }
.cred-card-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,56,46,0.12);
  color: var(--accent);
  border-radius: 4px;
}
.cred-card-icon svg { width: 20px; height: 20px; }
.cred-card-body { flex: 1; min-width: 0; }
.cred-card-title {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--text);
  text-transform: uppercase;
}
.cred-card-license {
  display: block;
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 0.7rem;
  color: var(--tan);
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  font-weight: 600;
}
.cred-card-license::before {
  content: "Lic # ";
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 600px) {
  .cred-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .cred-card { padding: 0.75rem 0.85rem; }
  .cred-card-title { font-size: 0.82rem; }
}

/* ════════════════════════════════════════════════════════════
   CREDENTIALS MARQUEE — continuous horizontal scroll bar
   Bravo Defense-style: items animate left infinitely. Items are
   duplicated server-side so transform: translateX(-50%) loops
   seamlessly. Pure CSS — no JS needed.
   ════════════════════════════════════════════════════════════ */
.cred-marquee {
  background: linear-gradient(180deg, var(--alt) 0%, #0f0c0a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}
/* Soft fade at the edges so items dissolve in/out instead of clipping hard */
.cred-marquee::before,
.cred-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 90px; z-index: 2; pointer-events: none;
}
.cred-marquee::before { left: 0;  background: linear-gradient(to right, var(--alt), transparent); }
.cred-marquee::after  { right: 0; background: linear-gradient(to left,  var(--alt), transparent); }

.cred-marquee-track {
  display: flex; align-items: center; gap: 1.8rem;
  width: max-content;
  animation: cred-scroll 55s linear infinite;
  will-change: transform;
}
.cred-marquee:hover .cred-marquee-track,
.cred-marquee:focus-within .cred-marquee-track {
  animation-play-state: paused;
}

.cred-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  padding: 0.2rem 0;
}
.cred-pill-icon {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.cred-pill-license {
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--tan);
  font-weight: 600;
  margin-left: 0.15rem;
  padding: 0.15rem 0.5rem;
  background: rgba(216,168,74,0.08);
  border: 1px solid rgba(216,168,74,0.3);
  border-radius: 3px;
}
.cred-marquee-sep {
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
  opacity: 0.7;
}

@keyframes cred-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reduced motion: stop scrolling, wrap items into a static centered grid */
@media (prefers-reduced-motion: reduce) {
  .cred-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 1.5rem;
    gap: 1rem 1.4rem;
  }
  .cred-marquee::before,
  .cred-marquee::after { display: none; }
}

/* Mobile sizing */
@media (max-width: 760px) {
  .cred-marquee { padding: 0.85rem 0; }
  .cred-marquee-track { gap: 1.3rem; animation-duration: 45s; }
  .cred-marquee::before, .cred-marquee::after { width: 50px; }
  .cred-pill { font-size: 0.78rem; gap: 0.45rem; }
  .cred-pill-icon { width: 16px; height: 16px; }
  .cred-pill-license { font-size: 0.68rem; padding: 0.12rem 0.4rem; }
  .cred-marquee-sep { font-size: 0.55rem; }
}

/* ════════════════════════════════════════════════════════════
   NARROW-PHONE HEADER FIX (≤480px)
   Must come after all .brand-* rules above so source-order wins.
   Hides the wordmark + slogan and shrinks the logo so the header
   fits in 375px viewports without horizontal overflow.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .brand-name,
  .brand-slogan { display: none; }
  .brand-logo   { width: 58px; height: 58px; }
  .nav-actions .btn--primary { padding: 0.45rem 0.7rem; font-size: 0.65rem; }
}

/* Last line of defense: never let the page itself horizontal-scroll on phones.
   Inner scroll-containers (cred-marquee, tables) keep their own overflow. */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
}

/* ───────────────────────── Accessibility (a11y) ─────────────────────────
   Visible keyboard-focus ring on every interactive element. :focus-visible only
   triggers for keyboard navigation, so mouse users see no extra outline. Gives
   keyboard + screen-reader users a clear, consistent, branded focus indicator. */
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-to-content link — first focusable element; hidden until keyboard-focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ── a11y contrast fixes (WCAG 1.4.3) ─────────────────────────────────────── */
/* Placeholder text was muted (#9a9080) at opacity .75 ≈ 2.8:1 on the dark input
   bg — below 4.5:1. Full opacity + a slightly lighter tone clears it. */
.form-input::placeholder { color: #a89878; opacity: 1; }
/* Decorative imagery that was dimmed below a usable level. */
.testimonial-card::before { opacity: 0.45; }   /* was 0.2 — near-invisible */
.product-card-media img   { opacity: 1; }       /* was 0.85 — dimmed gear catalog images */
/* Small accent-red TEXT on the dark theme sat ~2.7:1. Lighten only these small-text
   uses — NOT the solid red buttons (which use --accent as a background w/ white text,
   and are fine). Shade is tunable if the brand wants it deeper. */
.kicker,
.nav-drop-group-h,
.blog-card-cat            { color: #e0564e; }
.pillar::after,
.why-card--link::after    { color: #e0564e; opacity: 1; }

/* ── a11y: fieldset groupings (WCAG 1.3.1) ────────────────────────────────── */
/* The armor-sizing radio steps are now <fieldset> (was <div>) so each group has a
   programmatic name. Strip the default UA fieldset chrome (border/padding/min-width)
   so the grid layout is unchanged. (checkout/product fieldsets carry an inline reset.) */
.armor-radio-grid {
  border: 0;
  padding: 0;
  min-width: 0;
}
/* Each fieldset's <legend> duplicates the visible <h2> step heading directly above
   it, so hide it visually while keeping it as the group's accessible name. */
.armor-radio-grid > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── a11y contrast wave 2 (WCAG 1.4.3) — found by axe-core audit 2026-06-18 ──────
   The brand red #c8382e as SMALL text on the dark theme is only ~3.5:1 (fails AA).
   Large display text (prices, hero) clears the 3:1 large-text bar and is left alone;
   these small-text uses are bumped to --accent-text (#e0564e ≈ 4.9:1). Buttons/badges
   that use --accent as a BACKGROUND with white text are unaffected (already pass). */
.kicker,
.why-num,
.pillar-num,
.info-card-h,
.footer-brand-tag,
.footer-h,
.dealer-callout--red .dealer-h,
.service-price,
.modal-kicker,
.course-card-tag,
.pill--red,
.product-stock .low-stock,
.variant-availability.is-warn,
.session-seats--low,
.aside-next-seats.low,
.reviews-summary-meta a,
.range-cal-day.status-full .range-cal-daylabel,
.range-day-slot.is-full .range-day-slot-avail,
.addon-row:has(input:checked) .addon-price,
.pdp-addon:has(input:checked) .addon-price { color: var(--accent-text); }
