/* products.css — Styles for the /products catalog page.
   Owns: layout, product cards, tier toggle, pricing display.
   Does NOT own: global brand tokens (see theme.css). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #0B1F3A;
  color: #FAFAF8;
  font-family: 'Figtree', sans-serif;
  min-height: 100vh;
}

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,58,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,132,10,0.1);
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #FAFAF8;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: #D4840A; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.85rem;
  color: rgba(250,250,248,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #D4840A; }

/* ── Page header ── */
.page-hero {
  padding: clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,4rem) 0;
  max-width: 1200px;
  margin: 0 auto;
}
.page-eyebrow {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #D4840A; margin-bottom: 1rem;
}
.page-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-sub {
  font-size: 1rem; color: rgba(250,250,248,0.55);
  line-height: 1.7; max-width: 560px; margin-bottom: 2rem;
}

/* ── Tier toggle ── */
.tier-toggle {
  display: inline-flex;
  background: rgba(250,250,248,0.04);
  border: 1px solid rgba(212,132,10,0.15);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 3rem;
}
.tier-btn {
  padding: 0.55rem 1.25rem;
  font-family: 'Figtree', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  background: transparent;
  color: rgba(250,250,248,0.45);
  transition: all 0.2s;
}
.tier-btn.active { background: #D4840A; color: #0B1F3A; }
.tier-btn:hover:not(.active) { color: #D4840A; }

/* ── Product grid ── */
.catalog-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,4rem) clamp(4rem,8vw,8rem);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: rgba(250,250,248,0.025);
  border: 1px solid rgba(212,132,10,0.1);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.2s;
}
.product-card:hover { border-color: rgba(212,132,10,0.3); transform: translateY(-2px); }
.product-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #FAFAF8;
}
.product-category {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(212,132,10,0.7);
  background: rgba(212,132,10,0.07);
  border: 1px solid rgba(212,132,10,0.15);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.product-dose { font-size: 0.78rem; color: rgba(250,250,248,0.35); letter-spacing: 0.05em; }
.product-desc { font-size: 0.85rem; color: rgba(250,250,248,0.5); line-height: 1.65; flex: 1; }
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.25rem; }
.price-main {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #FAFAF8;
  letter-spacing: -0.03em;
}
.price-suffix { font-size: 0.82rem; color: rgba(250,250,248,0.4); }
.price-badge {
  font-size: 0.72rem; font-weight: 700;
  color: #D4840A;
  background: rgba(212,132,10,0.1);
  border: 1px solid rgba(212,132,10,0.2);
  border-radius: 4px;
  padding: 2px 7px;
}
.tier-section { display: none; }
.tier-section.visible { display: block; }
.cta-btn {
  display: block; width: 100%;
  padding: 0.85rem 1.5rem;
  background: #D4840A;
  color: #0B1F3A;
  font-family: 'Figtree', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  border-radius: 9px; text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin-top: auto;
}
.cta-btn:hover { background: #e09012; transform: scale(1.01); }
.cta-btn-ghost {
  background: rgba(212,132,10,0.08);
  color: #D4840A;
  border: 1px solid rgba(212,132,10,0.25);
}
.cta-btn-ghost:hover { background: rgba(212,132,10,0.15); transform: scale(1.01); }
.tier-intro {
  background: rgba(212,132,10,0.05);
  border: 1px solid rgba(212,132,10,0.12);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1rem;
}
.tier-intro-icon { font-size: 1.4rem; flex-shrink: 0; }
.tier-intro-text { font-size: 0.85rem; color: rgba(250,250,248,0.6); line-height: 1.6; }
.tier-intro-text strong { color: #D4840A; }
.disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(250,250,248,0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212,132,10,0.08);
}
@media (max-width: 640px) {
  .tier-toggle { flex-wrap: wrap; }
  .product-grid { grid-template-columns: 1fr; }
}
