@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap');

:root {
  /* Mandated multi-hue palette */
  --color-accent: #ecd40f;
  --color-accent-2: #08e384;
  --color-accent-3: #5c3ce4;
  --color-accent-warm: #e56309;
  --color-accent-soft: #f1f0e3;
  --color-accent-2-soft: #e3f2eb;
  --color-accent-3-soft: #e6e4f0;
  --color-accent-warm-soft: #f2e9e3;

  /* Brand working tone — warm, tactile, homely (#a16207) */
  --brand: #a16207;
  --brand-dark: #7d4c04;
  --brand-soft: #f4ecdc;

  /* Soft tonal, warm neutral surfaces */
  --color-bg: #faf6ef;
  --color-bg-2: #f3ece1;
  --color-bg-white: #fffdf9;
  --color-bg-rgb: 250, 246, 239;
  --color-bg-white-rgb: 255, 253, 249;
  --color-surface: rgba(161,98,7,0.03);
  --color-surface-hover: rgba(161,98,7,0.06);

  --color-text: #2b2118;
  --color-text-secondary: #6b5d4d;
  --color-text-muted: #a99a86;

  --color-border: #e8ddca;
  --color-border-light: #f2ebdd;

  --color-footer-bg: #2b2118;
  --color-footer-text: #f4ecdc;
  --color-footer-muted: #b6a68f;
  --color-footer-link: #d8c8ac;
  --color-footer-border: rgba(255,255,255,0.1);
  --color-footer-social-bg: rgba(255,255,255,0.07);
  --color-footer-social-border: rgba(255,255,255,0.12);

  --color-star: #e56309;
  --color-info: #5c3ce4;

  --font-heading: 'Newsreader', 'Georgia', serif;
  --font-body: 'Epilogue', -apple-system, BlinkMacSystemFont, sans-serif;

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

  --shadow-sm: 0 1px 3px rgba(74,49,10,0.07), 0 1px 2px rgba(74,49,10,0.04);
  --shadow-md: 0 4px 10px rgba(74,49,10,0.08), 0 2px 4px rgba(74,49,10,0.04);
  --shadow-lg: 0 12px 28px rgba(74,49,10,0.10), 0 4px 10px rgba(74,49,10,0.05);
  --shadow-xl: 0 22px 44px rgba(74,49,10,0.12), 0 8px 16px rgba(74,49,10,0.05);
}

/* ── Gentle gradient hero (compact — no extra top padding) ─────────────── */
.hero {
  text-align: center;
  background: linear-gradient(170deg, #fffdf9 0%, #f7efe2 55%, #f1e6d2 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 140%; height: 120%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(161,98,7,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 30%, rgba(229,99,9,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 520px; margin-left: auto; margin-right: auto; }

.hero-badge {
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(161,98,7,0.18);
}

/* ── Buttons — medium weight, warm, light lift on hover ───────────────── */
.btn-primary,
.btn-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #b5761a 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(161,98,7,0.22);
}
.btn-primary:hover,
.btn-cta:hover {
  transform: translateY(-2px);
  filter: none;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #a5680f 100%);
  box-shadow: 0 8px 20px rgba(161,98,7,0.28);
}
.btn-outline {
  border: 1.5px solid var(--brand);
  color: var(--brand);
  background: var(--color-bg-white);
}
.btn-outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand-dark);
}

/* Brand-tone accents where bright yellow would fail contrast */
.card-brand,
.product-brand-link,
.nav-link.active,
.card-title a:hover,
.prose a,
.breadcrumb a:hover { color: var(--brand); }
.nav-link.active { background: var(--brand-soft); }
.announcement-bar strong { color: var(--color-accent-warm); }

/* ── Rounded 16px tactile cards with gentle lift ──────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(161,98,7,0.28);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-cta { margin-top: auto; }

.category-card:hover { border-color: var(--brand); }
.category-icon { background: var(--brand-soft); color: var(--brand); }

/* Decorative warm top rule on section headings */
.section-header .section-title { position: relative; }
.section-header .section-title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-accent-warm), var(--brand));
}

/* ── New widgets — warm, uncluttered ──────────────────────────────────── */
.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(--brand-soft) 0%, var(--brand) 100%);
}
.review-avatar { background: var(--brand); }

.pros-cons-widget,
.delivery-widget {
  background: var(--brand-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.delivery-item svg { color: var(--brand); }

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

/* Newsletter uses accent-2 (green) — keep readable */
.newsletter-form button:hover { background: #059c5c; }