/* ══════════════════════════════════════════════════════════
   APPLE-STYLE DESIGN UPGRADE
   Overlay on existing style.css — elevates quality without
   removing sections. Inter + Lora, frosted nav, scroll
   animations, premium spacing, minimal color palette.
   ══════════════════════════════════════════════════════════ */

/* ── Upgraded Design Tokens ────────────────────────────── */
:root {
  --color-primary: #2a6b6b;
  --color-secondary: #9B7E4F;
  --color-accent: #2a6b6b;
  --color-accent-dark: #1f5252;
  --color-bg: #ffffff;
  --color-surface: #f5f5f7;
  --color-surface-warm: #faf8f5;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-text-light: #86868b;
  --color-border: rgba(0,0,0,0.08);
  --color-white: #ffffff;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --size-hero: clamp(2.8rem, 6vw, 5rem);
  --size-section: clamp(2rem, 4vw, 3rem);
  --size-body: 1rem;
  --line-height: 1.65;
  --letter-display: -0.035em;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 980px;
  --max-width: 1200px;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-cover: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-cover-hover: 0 30px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Global Refinements ────────────────────────────────── */
body {
  font-family: var(--font-display);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: var(--letter-display);
  font-weight: 700;
}

p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

section {
  padding: 100px 24px;
}

.container {
  max-width: var(--max-width);
}

/* ── Nav — Frosted Glass ───────────────────────────────── */
.nav {
  background: rgba(255,255,255,0.72) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--color-border) !important;
  box-shadow: none !important;
}

.nav.scrolled,
.nav-scrolled {
  background: rgba(255,255,255,0.92) !important;
}

.nav-inner {
  max-width: var(--max-width);
  height: 52px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo span {
  font-weight: 300;
  color: var(--color-text-muted);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

/* ── Seasonal Banner — Subtle dark bar ─────────────────── */
.seasonal-banner {
  background: var(--color-accent) !important;
  color: #f5f5f7 !important;
  padding: 12px 24px !important;
  font-size: 0.82rem !important;
}
.seasonal-banner a { color: #ffffff !important; }
.seasonal-banner a[style*="background:#fff"],
.seasonal-banner a[style*="background: #fff"] {
  color: #1d1d1f !important;
  background: #ffffff !important;
}

/* ── Hero — Apple Keynote Feel ─────────────────────────── */
.hero {
  background: var(--color-bg) !important;
  padding: 100px 24px 60px !important;
  text-align: center !important;
}

.hero-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content {
  text-align: center !important;
  max-width: 820px !important;
  margin: 0 auto 48px !important;
}

.hero-content h1 {
  font-size: var(--size-hero) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
  color: var(--color-text) !important;
  margin-bottom: 20px !important;
}

.hero-content p {
  font-family: var(--font-serif) !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  color: var(--color-text-muted) !important;
  max-width: 580px !important;
  margin: 0 auto 36px !important;
}

.hero-ctas {
  display: flex !important;
  gap: 14px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

/* ── Buttons — Pill Style ──────────────────────────────── */
.btn {
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-display) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  padding: 14px 28px !important;
  transition: all 0.25s !important;
  letter-spacing: -0.01em !important;
}

.btn-primary,
.btn.btn-primary {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: none !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--color-accent-dark) !important;
  transform: scale(1.02) !important;
}

.btn-outline-gold,
.btn-secondary,
.btn.btn-secondary,
.btn.btn-outline-gold {
  background: transparent !important;
  color: var(--color-accent) !important;
  border: 1.5px solid #d2d2d7 !important;
  border-radius: var(--radius-pill) !important;
}

.btn-outline-gold:hover,
.btn-secondary:hover {
  border-color: var(--color-accent) !important;
}

/* ── Hero Grid — Horizontal Scroll ─────────────────────── */
.hero-grid {
  display: flex !important;
  gap: 28px !important;
  overflow-x: auto !important;
  padding: 20px 0 40px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch;
  width: 100vw !important;
  max-width: 100vw !important;
  padding-left: max(24px, calc((100vw - 1200px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1200px) / 2)) !important;
  grid-template-columns: unset !important;
}

.hero-grid::-webkit-scrollbar { display: none; }

.hero-grid a {
  flex-shrink: 0 !important;
  width: 220px !important;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  display: block !important;
}

.hero-grid a:hover {
  transform: translateY(-10px) scale(1.03) !important;
}

.hero-grid img {
  border-radius: 4px !important;
  box-shadow: var(--shadow-cover) !important;
  transition: box-shadow 0.4s !important;
}

.hero-grid a:hover img {
  box-shadow: var(--shadow-cover-hover) !important;
}

/* ── Condition Tiles — Clean Cards ─────────────────────── */
.condition-tile,
[style*="font-size:1.6rem"] + [style*="font-size:0.82rem"] {
  /* These get restyled via inline override in HTML */
}

/* ── Brand Cards — Elevated ────────────────────────────── */
.brand-card {
  border-radius: var(--radius) !important;
  border: none !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  overflow: hidden !important;
}

.brand-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-card-hover) !important;
}

.brand-color-bar {
  height: 3px !important;
}

.brand-card h3 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em !important;
}

.brand-card-personality {
  font-size: 0.72rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ── Section Headers — Apple Style ─────────────────────── */
.section-header h2 {
  font-family: var(--font-display) !important;
  font-size: var(--size-section) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: var(--color-text) !important;
}

.section-header p {
  font-family: var(--font-serif) !important;
  color: var(--color-text-muted) !important;
  font-size: 1.05rem !important;
}

/* ── Trust Badges — Subtle ─────────────────────────────── */
.trust-badges {
  border-radius: var(--radius) !important;
}

/* ── Amazon CTA Buttons — Keep Orange but Refine ───────── */
.amazon-btn,
a[style*="background:#e8762a"],
a[style*="background: #e8762a"] {
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
}

/* ── Footer — Clean ────────────────────────────────────── */
footer, .footer {
  background: var(--color-accent) !important;
  color: rgba(255,255,255,0.7) !important;
  border-top: none !important;
}

.footer-tagline {
  color: rgba(255,255,255,0.6) !important;
}

.footer-links a {
  color: rgba(255,255,255,0.7) !important;
}

.footer-links a:hover {
  color: #ffffff !important;
}

.footer-copy {
  color: rgba(255,255,255,0.5) !important;
}

/* ══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════════ */
/* Scroll animations — only for elements explicitly marked by JS */
.scroll-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Override any existing fade-up to ensure visibility */
.fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays for grid items */
.fade-up:nth-child(2) { transition-delay: 0.05s; }
.fade-up:nth-child(3) { transition-delay: 0.1s; }
.fade-up:nth-child(4) { transition-delay: 0.15s; }
.fade-up:nth-child(5) { transition-delay: 0.2s; }
.fade-up:nth-child(6) { transition-delay: 0.25s; }
.fade-up:nth-child(7) { transition-delay: 0.3s; }
.fade-up:nth-child(8) { transition-delay: 0.35s; }
.fade-up:nth-child(9) { transition-delay: 0.4s; }
.fade-up:nth-child(10) { transition-delay: 0.45s; }

/* ══════════════════════════════════════════════════════════
   CONDITION ICON CARDS — Premium
   ══════════════════════════════════════════════════════════ */
.condition-icon-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.condition-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0,128,128,0.15);
}

.condition-icon-card .icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-icon-card .icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.condition-icon-card .card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════════════════
   MOBILE REFINEMENTS
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero {
    padding: 24px 16px 40px !important;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-grid a {
    width: 150px !important;
  }

  section {
    padding: 72px 16px;
  }
}

/* ── Scroll Progress Bar ───────────────────────────────── */
.scroll-progress {
  background: var(--color-text) !important;
  height: 2px !important;
}

/* ══════════════════════════════════════════════════════════
   APPLE-LEVEL ANIMATIONS
   ══════════════════════════════════════════════════════════ */

/* Scroll reveal — elements start hidden, animate in */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Word-by-word hero text reveal */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: wordIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero grid scroll shrink effect */
.hero-grid {
  transition: transform 0.1s linear, opacity 0.1s linear !important;
  will-change: transform, opacity;
}

/* Hero cover items — subtle 3D hover */
.hero-grid a {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.5s ease !important;
  will-change: transform;
}

/* Image load reveal */
.product-card img,
.brand-card img,
.hero-grid img {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease !important;
  transform: scale(0.97);
}

.product-card img.img-loaded,
.brand-card img.img-loaded,
.hero-grid img.img-loaded,
.product-card img[src],
.brand-card img[src],
.hero-grid img[src] {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Nav auto-hide */
.nav {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              background 0.3s ease !important;
}

/* Section parallax */
.brand-showcase,
.social-proof {
  transition: transform 0.1s linear !important;
  will-change: transform;
}

/* Smooth hover lifts everywhere */
.condition-icon-card,
.brand-card,
.product-card {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s ease !important;
}

.condition-icon-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important;
}

/* Counter number animation smoothness */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════════════
   BRAND PAGES — Wellside, CCP, DPP, BLP hero headers
   Remove gradient backgrounds, go clean white/cream
   ══════════════════════════════════════════════════════════ */
.brand-hero,
.brand-page-hero,
[class*="brand-hero"],
section[style*="background:linear-gradient"],
section[style*="background: linear-gradient"] {
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
}

.brand-hero h1,
.brand-hero h2,
.brand-page-hero h1,
.brand-page-hero h2 {
  color: var(--color-text) !important;
  font-family: var(--font-display) !important;
}

.brand-hero p,
.brand-page-hero p {
  color: var(--color-text-muted) !important;
}

.brand-hero .brand-personality,
.brand-page-hero .brand-personality,
[class*="personality"] {
  color: var(--color-accent) !important;
}

/* ══════════════════════════════════════════════════════════
   PRODUCT PAGES — Clean up colors and spacing
   ══════════════════════════════════════════════════════════ */
.product-page,
.product-hero-section {
  background: var(--color-bg) !important;
}

.product-page-inner {
  max-width: var(--max-width) !important;
}

/* Product cover shadow */
.product-cover-main img,
.product-cover-col img,
.gallery-wrapper img {
  border-radius: 4px !important;
  box-shadow: var(--shadow-cover) !important;
}

/* Product info typography */
.product-title,
.product-page h1 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.03em !important;
  color: var(--color-text) !important;
}

.product-subtitle-text,
.product-tagline {
  font-family: var(--font-serif) !important;
  color: var(--color-text-muted) !important;
}

/* Product category badges — pill style, subtle */
.product-badge,
.product-category-badge,
.product-brand-badge,
.badge-medical,
.badge-outdoor,
.badge-wellness,
.badge-beauty,
.badge-faith {
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-display) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  background: #f0f0f0 !important;
  color: var(--color-text) !important;
  padding: 4px 12px !important;
}

/* Live on Amazon badge gets accent color */
.badge-live,
.badge-new {
  background: var(--color-accent) !important;
  color: white !important;
}

/* Product tabs — cleaner */
.product-tabs {
  border-bottom: 1px solid var(--color-border) !important;
}

.product-tab {
  font-family: var(--font-display) !important;
  font-size: 0.85rem !important;
}

.product-tab.active {
  border-bottom-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

/* "What's Inside" / interior preview — cleaner cards */
.product-whats-inside,
.product-about {
  background: var(--color-surface) !important;
  border-radius: var(--radius) !important;
  border: none !important;
}

/* Product tagline — no teal */
.product-tagline {
  color: var(--color-text-muted) !important;
  font-style: italic !important;
}

/* Force dark text on all product content areas */
.tabs,
.tab-panel,
.product-about,
.product-whats-inside,
.product-who-for,
.product-info-col,
.product-about h2,
.product-about p,
.product-whats-inside h2,
.product-whats-inside li,
.product-who-for h2,
.product-who-for li,
.faq-section,
.faq-section h2,
.faq-question,
.faq-answer,
.faq-answer p,
.reviews-placeholder,
.more-from-section,
.more-from-section h3 {
  color: #1d1d1f !important;
}

.product-about p,
.product-who-for li,
.faq-answer p,
.reviews-placeholder {
  color: #6e6e73 !important;
}

/* Amazon CTA buttons — brand teal pill */
.amazon-cta {
  background: var(--color-accent) !important;
  color: white !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 12px rgba(42,107,107,0.25) !important;
}

.amazon-cta:hover {
  background: var(--color-accent-dark) !important;
  box-shadow: 0 6px 18px rgba(42,107,107,0.35) !important;
}

/* Checkmarks and accents on product pages */
.product-whats-inside li::before {
  color: var(--color-accent) !important;
}

/* Tab active state */
.tab-btn.active {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

/* Gallery active border */
.product-gallery img:hover,
.product-gallery img.active {
  border-color: #d2d2d7 !important;
}

/* Sticky buy bar */
.sticky-buy-bar,
[class*="sticky-buy"],
[class*="buy-bar"] {
  background: var(--color-bg) !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06) !important;
}

.sticky-buy-bar .btn,
[class*="buy-bar"] .btn,
[class*="buy-bar"] a {
  background: var(--color-accent) !important;
  color: white !important;
  border-radius: var(--radius-pill) !important;
}

/* ══════════════════════════════════════════════════════════
   SHOP PAGE — Clean grid, remove colored overlay badges
   ══════════════════════════════════════════════════════════ */
.product-grid {
  gap: 24px !important;
}

.product-card {
  border-radius: var(--radius) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
  overflow: hidden !important;
  background: var(--color-white) !important;
}

.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-card-hover) !important;
}

.product-card img {
  border-radius: 0 !important;
}

/* SKU/category overlay badges on shop cards — hide or minimize */
.product-card .sku-badge,
.product-card .category-badge,
.product-card [class*="sku"],
.product-card [style*="position:absolute"][style*="background:"] {
  display: none !important;
}

.product-card h3,
.product-card .product-card-title {
  font-family: var(--font-display) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: var(--color-text) !important;
}

.product-card .product-card-brand,
.product-card .brand-label {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--color-accent) !important;
}

.product-card .product-card-meta,
.product-card .price {
  font-family: var(--font-display) !important;
  color: var(--color-text-muted) !important;
}

/* ══════════════════════════════════════════════════════════
   INSIDE SPREAD SECTION — Hide on home page
   ══════════════════════════════════════════════════════════ */
.inside-spread,
.interior-spread-section,
section:has(> .inside-spread),
section:has(img[alt*="inside"]):has(img[alt*="spread"]) {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════
   EMPTY SPACE FIXES
   ══════════════════════════════════════════════════════════ */
/* Stats counters — tighter spacing */
.stats-section,
.numbers-section {
  padding: 60px 24px !important;
}

.stat-card,
.number-card {
  padding: 24px 16px !important;
}

/* Trust badges — compact */
.trust-section {
  padding: 40px 24px !important;
}

/* Reduce excessive padding on all sections */
.content-section,
.features-section {
  padding: 80px 24px !important;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL OVERRIDES — Kill old brand colors from headers
   ══════════════════════════════════════════════════════════ */
/* Page hero — clean light background with dark text */
.page-hero,
div.page-hero,
.page-hero[style] {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  padding: 120px 24px 60px !important;
  text-align: center !important;
}

.page-hero h1,
.page-hero h1.fade-up,
div.page-hero h1,
.page-hero[style] h1 {
  font-family: 'Inter', -apple-system, sans-serif !important;
  color: #1d1d1f !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
}

.page-hero p,
.page-hero p.fade-up,
div.page-hero p,
.page-hero[style] p {
  color: #6e6e73 !important;
  font-family: 'Lora', Georgia, serif !important;
  font-size: 1.05rem !important;
  max-width: 560px !important;
  margin: 16px auto 0 !important;
}

.page-hero .brand-page-personality,
.brand-page-personality {
  color: var(--color-accent) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Category sections on brand pages */
.category-header h2 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em !important;
}

.category-header p {
  font-family: var(--font-serif) !important;
  color: var(--color-text-muted) !important;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL — Kill ALL teal/gradient backgrounds site-wide
   ══════════════════════════════════════════════════════════ */

/* Email signup / newsletter sections */
.email-capture,
.newsletter-section,
.email-signup,
[class*="email-capture"],
[class*="newsletter"] {
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
  border-radius: var(--radius) !important;
}

.email-capture h2,
.email-capture h3,
.newsletter-section h2,
.newsletter-section h3,
[class*="email-capture"] h2,
[class*="email-capture"] h3 {
  color: var(--color-text) !important;
}

.email-capture p,
.newsletter-section p,
[class*="email-capture"] p {
  color: var(--color-text-muted) !important;
}

/* Bottom CTA bands */
.cta-section,
.bottom-cta {
  background: var(--color-accent) !important;
  color: white !important;
}

/* Product page breadcrumb bar */
.breadcrumb-bar,
.product-breadcrumb,
[class*="breadcrumb"] {
  background: var(--color-surface) !important;
  color: var(--color-text-muted) !important;
}

[class*="breadcrumb"] a {
  color: var(--color-text-muted) !important;
}

[class*="breadcrumb"] a:hover {
  color: var(--color-accent) !important;
}

/* Product page email capture section override */
.product-email-capture {
  background: var(--color-surface) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: var(--radius) !important;
  color: var(--color-text) !important;
}

.product-email-capture h3,
.product-email-capture h4 {
  color: var(--color-text) !important;
}

.product-email-capture p {
  color: var(--color-text-muted) !important;
}

/* Email input styling */
.product-email-capture input[type="email"],
.email-capture input[type="email"],
.newsletter input[type="email"],
.newsletter-form input[type="email"] {
  border-radius: var(--radius-pill) !important;
  border: 1px solid #d2d2d7 !important;
  font-family: var(--font-display) !important;
  background: #ffffff !important;
  color: #1d1d1f !important;
}

.product-email-capture button,
.email-capture button,
.newsletter button,
.newsletter-form button {
  border-radius: var(--radius-pill) !important;
  background: var(--color-accent) !important;
  font-family: var(--font-display) !important;
  color: #ffffff !important;
}

/* Related products section */
.more-from-section,
[class*="more-from"],
[class*="related-products"] {
  background: var(--color-bg) !important;
}

/* Medical disclaimer bar at bottom */
.disclaimer-bar,
[class*="disclaimer"] {
  background: var(--color-surface) !important;
  color: var(--color-text-muted) !important;
  font-size: 0.78rem !important;
}

/* ══════════════════════════════════════════════════════════
   PARALLAX FLOATING COVERS — Hero section
   Each cover floats at different depth and speed
   ══════════════════════════════════════════════════════════ */
.hero-grid {
  perspective: 1000px !important;
  perspective-origin: center center !important;
}

.hero-grid a {
  animation: gentleFloat 4s ease-in-out infinite !important;
}

.hero-grid a:nth-child(1) { animation-delay: 0s !important; }
.hero-grid a:nth-child(2) { animation-delay: 0.8s !important; }
.hero-grid a:nth-child(3) { animation-delay: 1.6s !important; }
.hero-grid a:nth-child(4) { animation-delay: 2.4s !important; }

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Parallax depth on scroll — controlled by JS */
.hero-grid a[data-depth="1"] { --parallax-speed: 0.02; }
.hero-grid a[data-depth="2"] { --parallax-speed: 0.04; }
.hero-grid a[data-depth="3"] { --parallax-speed: 0.06; }
.hero-grid a[data-depth="4"] { --parallax-speed: 0.08; }

/* Cover 3D tilt on hover — perspective depth effect */
.hero-grid a img,
.product-card img,
.about-covers-grid a img,
.related-card img {
  transition: box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.hero-grid a:hover img {
  box-shadow: 0 30px 80px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.12) !important;
  transform: scale(1.05) !important;
}

/* 3D tilt container */
.tilt-card {
  perspective: 800px;
  transform-style: preserve-3d;
}

.tilt-card img {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s ease !important;
  will-change: transform;
}

/* Product card 3D tilt */
.product-card {
  perspective: 600px !important;
}

.product-card:hover img {
  transform: rotateY(-4deg) rotateX(2deg) scale(1.02) !important;
  box-shadow: 12px 12px 30px rgba(0,0,0,0.15) !important;
}

/* About section cover grid tilt */
.about-covers-grid a {
  perspective: 500px;
  display: block;
}

.about-covers-grid a:hover img {
  transform: rotateY(-5deg) rotateX(3deg) scale(1.04) !important;
  box-shadow: 8px 8px 24px rgba(0,0,0,0.18) !important;
}

/* Smooth button press micro-interaction */
.btn:active,
.amazon-cta:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease !important;
}

/* Condition icon card hover lift + subtle rotate */
.condition-icon-card:hover .icon-wrap svg {
  transform: scale(1.15) rotate(-5deg);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Brand card color bar expand on hover */
.brand-card .brand-color-bar {
  transition: height 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.brand-card:hover .brand-color-bar {
  height: 5px !important;
}

/* ══════════════════════════════════════════════════════════
   NAV — Pure Apple: dark text on white, no teal anywhere
   ══════════════════════════════════════════════════════════ */
.nav,
.nav.scrolled,
.nav-scrolled,
nav.nav {
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
}

.nav-logo,
.nav-links a,
.nav-links a.active {
  color: #1d1d1f !important;
}

.nav-links a:hover {
  color: #6e6e73 !important;
}

/* ══════════════════════════════════════════════════════════
   SMOOTH SECTION TRANSITIONS — gradient fades between sections
   ══════════════════════════════════════════════════════════ */
.brand-showcase {
  background: var(--color-bg) !important;
}

.social-proof {
  /* background set per-section inline */
}

/* Numbers section — brand teal band */
.numbers {
  background: var(--color-accent) !important;
  color: white !important;
}

.numbers h3,
.number-item h3 {
  color: white !important;
}

.numbers p,
.number-item p {
  color: rgba(255,255,255,0.7) !important;
}

/* Newsletter section — warm cream background */
.newsletter {
  background: #faf8f5 !important;
  color: #1d1d1f !important;
}

.newsletter h2 {
  color: #1d1d1f !important;
}

.newsletter p {
  color: #6e6e73 !important;
}

.newsletter .btn-primary {
  background: var(--color-accent) !important;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS — Brand teal primary, clean secondary
   ══════════════════════════════════════════════════════════ */
.btn-primary,
.btn.btn-primary,
button.btn-primary {
  background: var(--color-accent) !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--color-accent-dark) !important;
}

.btn-outline-gold,
.btn-secondary,
.btn.btn-secondary,
.btn.btn-outline-gold {
  color: var(--color-text) !important;
  border-color: #d2d2d7 !important;
}

.btn-outline-gold:hover,
.btn-secondary:hover {
  border-color: var(--color-accent) !important;
  background: rgba(42,107,107,0.04) !important;
}

/* ══════════════════════════════════════════════════════════
   CONDITION ICON CARDS — Brand teal strokes
   ══════════════════════════════════════════════════════════ */
.condition-icon-card .icon-wrap svg {
  stroke: var(--color-accent) !important;
}

.condition-icon-card:hover {
  border-color: rgba(42,107,107,0.2) !important;
}

/* ══════════════════════════════════════════════════════════
   SCROLL PROGRESS — Brand accent line
   ══════════════════════════════════════════════════════════ */
.scroll-progress {
  background: var(--color-accent) !important;
}

.back-to-top {
  background: var(--color-accent) !important;
  color: white !important;
}

/* ══════════════════════════════════════════════════════════
   ABOUT TEASER — Clean layout
   ══════════════════════════════════════════════════════════ */
.about-teaser {
  background: var(--color-surface-warm) !important;
  border-top: 1px solid rgba(0,0,0,0.04) !important;
}

.about-teaser h2 {
  color: #1d1d1f !important;
}

.about-teaser p {
  color: #6e6e73 !important;
}

/* ══════════════════════════════════════════════════════════
   MOBILE — Hero simplification
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-ctas .btn:nth-child(3) {
    display: none !important;
  }
  
  .hero-content p {
    font-size: 1rem !important;
  }

  @keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
  }
}


/* ══════════════════════════════════════════════════════════
   HOMEPAGE APRIL 2026 — Distinct brand color system + shipped icon set
   ══════════════════════════════════════════════════════════ */

.condition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.condition-icon-card {
  min-height: 140px;
  border-radius: 18px;
  padding: 22px 14px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfa 100%);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.condition-icon-card .icon-wrap {
  width: 64px;
  height: 64px;
}

.condition-icon-card .icon-wrap img {
  width: 40px;
  height: 40px;
  display: block;
  color: #111111;
  opacity: 0.98;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
}

.condition-icon-card:hover .icon-wrap img {
  transform: scale(1.08);
  opacity: 1;
}

.condition-icon-card .card-label {
  font-size: 0.84rem;
  line-height: 1.35;
}

.brand-card {
  background: linear-gradient(180deg, var(--brand-surface, #ffffff) 0%, #ffffff 100%) !important;
  border: 1px solid var(--brand-edge, rgba(17, 17, 17, 0.06)) !important;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06) !important;
}

.brand-card:hover {
  box-shadow: 0 24px 54px rgba(17, 17, 17, 0.10) !important;
}

.brand-card .brand-color-bar {
  width: 100% !important;
  height: 6px !important;
  background: linear-gradient(90deg, var(--brand-accent, var(--color-accent)) 0%, color-mix(in srgb, var(--brand-accent, var(--color-accent)) 55%, white) 100%) !important;
}

.brand-card .brand-card-content {
  position: relative;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-surface-strong, #f5f5f5) 72%, white) 0%, transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.72) 100%);
}

.brand-card .brand-card-content::after {
  content: '';
  position: absolute;
  inset: auto 32px 24px 32px;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand-accent, var(--color-accent)) 28%, transparent) 0%, transparent 100%);
}

.brand-card .brand-card-personality,
.brand-card .brand-card-cta {
  color: var(--brand-accent, var(--color-accent)) !important;
}

.brand-card .brand-card-content h3 {
  color: #1a1a1a !important;
}

.brand-card .brand-card-content p {
  color: #565a5c !important;
}

@media (max-width: 768px) {
  .condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .condition-icon-card {
    min-height: 128px;
    padding: 20px 12px 16px;
  }

  .condition-icon-card .icon-wrap {
    width: 58px;
    height: 58px;
  }

  .condition-icon-card .icon-wrap img {
    width: 36px;
    height: 36px;
  }

  .brand-card .brand-card-content {
    padding: 36px 28px;
  }
}
