@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* Warm homely neutrals */
  --color-bg: #faf6f0;
  --color-bg-2: #f3ece2;
  --color-bg-white: #fffdfa;
  --color-bg-rgb: 250, 246, 240;
  --color-bg-white-rgb: 255, 253, 250;
  --color-surface: rgba(120, 72, 20, 0.03);
  --color-surface-hover: rgba(120, 72, 20, 0.06);

  --color-text: #2b2620;
  --color-text-secondary: #5f574c;
  --color-text-muted: #a79c8d;

  --color-border: #e6ddd0;
  --color-border-light: #f0e9dd;

  /* Mandated accent palette — exact */
  --color-accent: #eb0ec6;
  --color-accent-2: #e7cb2a;
  --color-accent-3: #42e38d;
  --color-accent-warm: #ea950d;
  --color-accent-soft: #f1e3ef;
  --color-accent-2-soft: #f1efe4;
  --color-accent-3-soft: #e4f0ea;
  --color-accent-warm-soft: #f1ece3;

  --color-star: #ea950d;
  --color-success: #2fa96a;
  --color-badge: #eb0ec6;
  --color-info: #ea950d;

  /* Footer — warm deep espresso */
  --color-footer-bg: #241f19;
  --color-footer-text: #f3ece2;
  --color-footer-muted: #a79c8d;
  --color-footer-link: #cabfae;
  --color-footer-border: rgba(255, 255, 255, 0.09);
  --color-footer-social-bg: rgba(255, 255, 255, 0.07);
  --color-footer-social-border: rgba(255, 255, 255, 0.12);

  --font-heading: 'Spectral', 'Georgia', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Understated, tactile shadows */
  --shadow-xs: 0 1px 2px rgba(80, 50, 15, 0.05);
  --shadow-sm: 0 1px 3px rgba(80, 50, 15, 0.06);
  --shadow-md: 0 4px 10px rgba(80, 50, 15, 0.07);
  --shadow-lg: 0 12px 28px rgba(80, 50, 15, 0.09);
  --shadow-xl: 0 20px 44px rgba(80, 50, 15, 0.11);
}

/* ── Editorial headings — oversized serif ─────────────────────── */
.hero-title { letter-spacing: -1.5px; font-weight: 700; }
.section-title { font-size: 38px; letter-spacing: -0.8px; }
.section-header { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Thin rules between sections ──────────────────────────────── */
.section { border-bottom: 1px solid var(--color-border-light); }
.section:last-of-type { border-bottom: none; }
.section-header { position: relative; padding-bottom: 20px; }
.section-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: var(--color-accent);
}

/* ── HERO — centered stack + decorative warm layers ──────────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-2) 100%);
}
.hero-content { text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 540px; margin-left: auto; margin-right: auto; }
.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 140%; height: 120%;
  background:
    radial-gradient(ellipse 40% 50% at 30% 30%, rgba(234, 149, 13, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 72% 40%, rgba(235, 14, 198, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  background: var(--color-bg-white);
  border: 1px solid var(--color-accent-warm);
  color: var(--color-accent-warm);
  box-shadow: var(--shadow-xs);
}

/* ── Understated flat CTAs ────────────────────────────────────── */
.btn-primary {
  background: var(--color-accent);
  box-shadow: none;
  border-radius: var(--radius-sm);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  filter: brightness(0.94);
}
.btn-outline {
  border-radius: var(--radius-sm);
  border-color: var(--color-text);
  color: var(--color-text);
}
.btn-outline:hover {
  background: var(--color-accent-warm-soft);
  border-color: var(--color-accent-warm);
  color: var(--color-text);
}
.btn-cta {
  background: var(--color-accent);
  box-shadow: none;
  border-radius: var(--radius-sm);
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); filter: brightness(0.94); }

/* ── Tactile product cards ────────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-warm);
}
.card-body { flex: 1; display: flex; flex-direction: column; }
.card-body .btn-cta { margin-top: auto; }
.card-brand { color: var(--color-accent-warm); }
.card-image-wrapper { background: var(--color-bg-2); }

/* ── Category cards ───────────────────────────────────────────── */
.category-card:hover { border-color: var(--color-accent-2); }
.category-icon { background: var(--color-accent-2-soft); color: #9a8712; }

/* ── Newsletter ───────────────────────────────────────────────── */
.newsletter-form button { background: var(--color-accent-2); color: #2b2620; border-radius: var(--radius-sm); }
.newsletter-form button:hover { background: #d4bb1f; transform: translateY(-1px); }

/* ── Section accents ──────────────────────────────────────────── */
.guide-number { background: var(--color-accent-warm); }
.top-pick-rank { color: var(--color-accent-warm); }
.testimonial-avatar { background: var(--color-accent-3-soft); color: #1f8d54; }
.stats-section { background: linear-gradient(135deg, var(--color-accent-warm), var(--color-accent)); }

/* ── New widgets — warm editorial framing ────────────────────── */
.price-history-section,
.user-reviews-section {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.chart-bar { background: linear-gradient(180deg, var(--color-accent-warm-soft) 0%, var(--color-accent-warm) 100%); }
.chart-bar-current {
  background: linear-gradient(180deg, #6fd8a3 0%, var(--color-success) 100%);
  box-shadow: 0 0 12px rgba(47, 169, 106, 0.25);
}
.chart-note { background: var(--color-accent-3-soft); color: var(--color-success); }
.review-avatar { background: var(--color-accent); }
.review-bar-fill { background: var(--color-star); }

.pros-cons-widget,
.delivery-widget {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.pros-cons-widget h3 { color: var(--color-text); }
.delivery-item svg { color: var(--color-accent-warm); }

.social-proof-popup {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent-warm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.popup-icon { background: var(--color-success); }

/* ── Footer social hover ──────────────────────────────────────── */
.social-links a:hover { background: var(--color-accent-warm); border-color: var(--color-accent-warm); }

@media (max-width: 768px) {
  .section-title { font-size: 30px; }
  .hero::before { display: none; }
}