/* ==========================================================================
   FRZN — ALO-INSPIRED WARM LUXURY THEME  (2026-08-15)
   Loaded AFTER styles.css + editorial-plus.css.
   Overrides the var-driven design system with a warm, airy, premium wellness
   aesthetic (Alo-style): ivory/oat base, terracotta accent, sage secondary,
   clean display type + serif italic accents, soft cards, pill buttons.
   `:root[data-theme]` beats any tweak theme so the warm look is the default.
   ========================================================================== */

:root, :root[data-theme] {
  /* palette — warm luxury wellness */
  --bg: #FAF7F1;
  --bg-2: #F2EADF;
  --bg-3: #EBE1D2;
  --bg-dark: #2C2721;
  --bg-dark-2: #3A322A;
  --ink: #23201B;
  --ink-2: #4C4439;
  --ink-3: #8A7E6E;
  --ink-4: #B6AA98;
  --line: #E7DECD;
  --line-2: #3B332A;
  --paper: #FFFFFF;
  --glacier: #7A8A6B;      /* sage secondary */
  --glacier-deep: #46573A;
  --accent: #C2703D;       /* terracotta */
  --accent-2: #D9A06B;     /* clay gold */
  --ice: #DCE2CF;          /* pale sage */
  --ok: #5F8A63;

  /* type + rhythm */
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter Tight', 'Geist', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --section-y: 128px;
  --pad-x: 40px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  color-scheme: light;
}

/* ---------- base ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(194,112,61,.22); }
h1, h2, h3, .hero-headline { font-family: var(--font-display); letter-spacing: -0.02em; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
a { color: var(--accent); }
.mono, .label, .num { color: var(--ink-3); letter-spacing: 0.04em; }

/* ---------- nav — airy warm ---------- */
.nav {
  background: rgba(250,247,241,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { color: var(--ink); letter-spacing: -0.01em; }
.nav-brand sup { color: var(--ink-3); }
.nav-links a { color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-right .live-temp, .live-temp { color: var(--ink-3); }
.urgency { background: var(--bg-dark); color: #EDE4D6; }

/* ---------- buttons — pill + terracotta ---------- */
.btn, .btn-primary, .btn-accent, .btn-ghost, .add-btn, .cart-btn, .filter-tab {
  border-radius: 999px !important;
  font-family: var(--font-body);
  font-weight: 600;
}
.btn-primary, .btn-accent, .add-btn {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #FFFDF9 !important;
}
.btn-primary:hover, .btn-accent:hover, .add-btn:hover { background: #AE5E31 !important; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }

/* ---------- hero — warm, airy ---------- */
.hero {
  background: linear-gradient(180deg, #FDFAF4 0%, var(--bg) 55%, var(--bg-2) 100%) !important;
}
.hero-headline {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.hero-headline .accent { color: var(--accent); }
.hero-sub { color: var(--ink-2); }
.hero-meta { color: var(--ink-3); }
.hero-meta .label { color: var(--ink-4); }
.hero-bottom-col p { color: var(--ink-2); }

/* thermal stage → warm product card (keeps FRZN tech identity, warm skin) */
.thermal-stage {
  background: linear-gradient(160deg, #FFFDF8 0%, #F4EBDE 100%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(70,55,30,0.12);
}
.thermal-card-meta { color: var(--ink-2); }
.thermal-card-meta div { color: var(--ink); }
.thermal-gauge { color: var(--ink-2); }
.thermal-spectrum {
  background: linear-gradient(90deg, #8FB6C9 0%, #F2C88D 50%, #D85C4B 100%) !important;
}

/* ---------- sections + cards — soft warm ---------- */
.section { color: var(--ink); }
.section-head h2 { color: var(--ink); letter-spacing: -0.02em; }
.guarantee-cell,
.faq-item,
.waitlist-block,
[class*="card"] {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.guarantee-cell:hover, [class*="card"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(70,55,30,0.12);
}
.faq-item, .faq-q { border-radius: var(--r-sm); }
.waitlist-block { box-shadow: 0 18px 50px rgba(70,55,30,0.10); }

/* ---------- footer — warm dark ---------- */
.footer { background: var(--bg-dark); color: #EDE4D6; }
.footer a, .footer-col a, .footer-bottom { color: #D8CFC0; }
.footer-wordmark { color: rgba(237,228,214,0.06); }
.footer-copy em { color: var(--accent-2); }

/* marquee */
.marquee { color: var(--ink-3); }

/* ---------- shop ---------- */
.shop-hero { background: linear-gradient(180deg, #FDFAF4 0%, var(--bg) 100%); }
.filter-tab.active { background: var(--accent); color: #FFF; }

/* ---------- FRZN WELLNESS hub ---------- */
.wellness-hero {
  padding: calc(var(--section-y) * 1.1) var(--pad-x) calc(var(--section-y) * 0.9);
  background: linear-gradient(180deg, #FDFAF4 0%, var(--bg) 50%, var(--bg-2) 100%);
}
.wellness-hero .container { max-width: 1160px; margin: 0 auto; }
.wellness-eyebrow { font-family: var(--font-mono); color: var(--accent); letter-spacing: .14em; font-size: 11px; margin-bottom: 18px; }
.wellness-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 20px; }
.wellness-sub { font-size: 19px; color: var(--ink-2); max-width: 640px; line-height: 1.5; }

.well-img {
  width: 100%;
  max-width: 960px;
  height: auto;
  border-radius: var(--r-lg);
  display: block;
  margin: -12px auto 52px;
  box-shadow: 0 24px 60px rgba(70,55,30,0.14);
}

.wellness-section { padding: 0 var(--pad-x) var(--section-y); }
.wellness-section .container { max-width: 1160px; margin: 0 auto; }
.wellness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.well-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.well-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(70,55,30,0.12); }
.well-card .well-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-2); color: var(--accent);
  font-size: 20px;
}
.well-card h3 { font-family: var(--font-display); font-size: 22px; margin: 4px 0 0; letter-spacing: -0.01em; }
.well-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0; }
.well-card .well-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: .08em; margin-top: auto; }
.well-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; color: var(--glacier-deep);
  background: var(--ice); padding: 4px 10px; border-radius: 999px;
}

/* featured protocol strip */
.well-feature {
  margin-top: 48px;
  background: var(--bg-dark);
  color: #EDE4D6;
  border-radius: var(--r-lg);
  padding: 44px 44px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.well-feature h3 { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; margin: 0 0 14px; color: #F7F0E6; }
.well-feature p { color: #CFC5B4; line-height: 1.6; margin: 0 0 18px; }
.well-feature .btn-accent { background: var(--accent-2) !important; border-color: var(--accent-2) !important; color: #2C2721 !important; }
.well-feature .well-protocol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.well-feature .well-protocol li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  padding: 12px 16px; border-radius: 12px; font-size: 14px;
}
.well-feature .well-protocol .ph { font-family: var(--font-mono); color: var(--accent-2); letter-spacing: .08em; font-size: 11px; width: 74px; flex: none; }

@media (max-width: 900px) {
  .wellness-grid { grid-template-columns: 1fr 1fr; }
  .well-feature { grid-template-columns: 1fr; padding: 32px 24px; }
}
@media (max-width: 560px) {
  .wellness-grid { grid-template-columns: 1fr; }
  :root { --pad-x: 20px; }
}
