@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg: #fbfcfb;
  --color-bg-2: #f3f6f3;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 251, 252, 251;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(22,163,74,0.03);
  --color-surface-hover: rgba(22,163,74,0.06);

  --color-text: #14201a;
  --color-text-secondary: #4b5a52;
  --color-text-muted: #9aa79f;

  --color-accent: #19eb69;
  --color-accent-2: #2619eb;
  --color-accent-3: #ea1f60;
  --color-accent-warm: #e8b925;
  --color-accent-soft: #e3f1e8;
  --color-accent-2-soft: #e4e3f1;
  --color-accent-3-soft: #f1e3e8;
  --color-accent-warm-soft: #f1eee3;

  --color-star: #e8b925;
  --color-success: #16a34a;
  --color-badge: #ea1f60;
  --color-info: #2619eb;

  --color-border: #e6ebe7;
  --color-border-light: #f1f4f1;

  --color-footer-bg: #10201a;
  --color-footer-text: #eef3ef;
  --color-footer-muted: #8a9992;
  --color-footer-link: #c3cec8;
  --color-footer-border: rgba(255,255,255,0.08);
  --color-footer-social-bg: rgba(255,255,255,0.06);
  --color-footer-social-border: rgba(255,255,255,0.12);

  --font-heading: 'Fraunces', 'Georgia', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

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

  --shadow-xs: 0 1px 2px rgba(20,32,26,0.04);
  --shadow-sm: 0 1px 3px rgba(20,32,26,0.05);
  --shadow-md: 0 4px 10px rgba(20,32,26,0.06);
  --shadow-lg: 0 12px 28px rgba(20,32,26,0.08);
  --shadow-xl: 0 24px 48px rgba(20,32,26,0.10);

  --container-max: 1180px;
}

/* ── Editorial typography — oversized serif headings ─────────────────────── */
.hero-title {
  font-weight: 900;
  letter-spacing: -1.5px;
  font-optical-sizing: auto;
}
.section-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.logo-text { font-weight: 700; letter-spacing: -0.6px; }

/* ── Thin rules between sections (editorial dividers) ────────────────────── */
.section { border-bottom: 1px solid var(--color-border-light); }
.section:last-of-type { border-bottom: none; }
.categories-section,
.trending-section,
.brand-showcase-section { border-bottom: 1px solid var(--color-border-light); }

/* ── Hero — centered stack, understated + decorative accent lines ────────── */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  text-align: center;
}
.hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.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 at 30% 20%, rgba(25,235,105,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 40%, rgba(38,25,235,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.hero-badge {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-success);
  letter-spacing: 1.4px;
}

/* ── Understated flat CTAs ───────────────────────────────────────────────── */
.btn-primary {
  background: var(--color-success);
  color: #fff;
  box-shadow: none;
  border-radius: var(--radius-sm);
}
.btn-primary:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  background: #12833c;
}
.btn-outline {
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
  background: transparent;
  border-radius: var(--radius-sm);
}
.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}
.btn-cta {
  background: var(--color-success);
  box-shadow: none;
  border-radius: var(--radius-sm);
}
.btn-cta:hover { transform: none; filter: none; box-shadow: none; background: #12833c; }

/* ── Header — compact, flat ──────────────────────────────────────────────── */
.nav-link.active { color: var(--color-success); background: var(--color-accent-soft); }
.nav-link:hover { color: var(--color-success); }

/* ── Product cards — clean, thin-ruled, subtle rugged lift ───────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-cta { margin-top: auto; }
.card-brand { color: var(--color-success); }
.card-title a:hover { color: var(--color-success); }

/* ── Category cards — flat with accent-2 hover ───────────────────────────── */
.category-card { border-radius: var(--radius-md); }
.category-card:hover { border-color: var(--color-accent-2); box-shadow: var(--shadow-sm); }
.category-icon { background: var(--color-accent-2-soft); color: var(--color-accent-2); }

/* ── Newsletter (accent-2) ───────────────────────────────────────────────── */
.newsletter-form button { background: var(--color-accent-2); box-shadow: none; }
.newsletter-form button:hover { transform: none; background: #1c12c9; }
.newsletter-form input:focus { border-color: var(--color-accent-2); }

/* ── Stats bar — green→blue gradient ─────────────────────────────────────── */
.stats-section { background: linear-gradient(120deg, var(--color-success), var(--color-accent-2)); }

/* ── Decorative underline accent on section headers ──────────────────────── */
.section-header .section-title { position: relative; display: inline-block; }
.section-header .section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-success), var(--color-accent-warm));
}

/* ── New widgets ─────────────────────────────────────────────────────────── */
.price-history-section {
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-success);
  box-shadow: none;
}
.chart-bar { background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-success) 100%); }
.chart-bar-current { background: linear-gradient(180deg, #4bd67f 0%, var(--color-success) 100%); box-shadow: none; }

.user-reviews-section {
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent-2);
  box-shadow: none;
}
.review-avatar { background: var(--color-accent-2); }
.review-bar-fill { background: var(--color-star); }

.pros-cons-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent-warm);
}

.delivery-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-success);
}
.delivery-item svg { color: var(--color-success); }

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

/* ── Testimonials / top picks / guide / faq accents ──────────────────────── */
.faq-item[open] { border-color: var(--color-accent-2); }
.faq-item[open] .faq-question::after { color: var(--color-accent-2); }
.testimonial-avatar { background: var(--color-accent-3-soft); color: var(--color-accent-3); }
.guide-card:hover { border-color: var(--color-accent-warm); }
.guide-number { background: var(--color-accent-warm); }
.top-pick-rank { color: var(--color-accent-warm); }

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