@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #faf6f1;
  --color-bg-2: #f3ece1;
  --color-bg-white: #fffdf9;
  --color-bg-rgb: 250, 246, 241;
  --color-bg-white-rgb: 255, 253, 249;
  --color-surface: rgba(154,52,18,0.03);
  --color-surface-hover: rgba(154,52,18,0.06);
  --color-text: #2a1c10;
  --color-text-secondary: #5a4632;
  --color-text-muted: #9b8775;
  --color-border: #e6dccb;
  --color-border-light: #f0e6d5;

  --color-accent: #c5eb1a;
  --color-accent-2: #1deace;
  --color-accent-3: #7b10ee;
  --color-accent-warm: #edbe13;
  --color-accent-soft: #eff1e3;
  --color-accent-2-soft: #e3f1ef;
  --color-accent-3-soft: #eae3f1;
  --color-accent-warm-soft: #f1eee3;

  --color-footer-bg: #2a1c10;
  --color-footer-text: #f3ece1;
  --color-footer-muted: #b8a48d;
  --color-footer-link: #e6dccb;
  --color-footer-border: rgba(255,253,249,0.1);
  --color-footer-social-bg: rgba(255,253,249,0.08);
  --color-footer-social-border: rgba(255,253,249,0.14);

  --font-heading: 'Source Serif 4', 'Georgia', serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

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

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

/* Wood-grain texture overlay (4% opacity) */
body {
  background-color: var(--color-bg);
  background-image:
    repeating-linear-gradient(90deg,
      rgba(154,52,18,0.04) 0px,
      rgba(154,52,18,0.04) 1px,
      transparent 1px,
      transparent 3px),
    repeating-linear-gradient(90deg,
      rgba(63,98,18,0.025) 0px,
      rgba(63,98,18,0.025) 2px,
      transparent 2px,
      transparent 7px),
    radial-gradient(ellipse 1200px 60px at 20% 20%, rgba(154,52,18,0.04), transparent 60%),
    radial-gradient(ellipse 1400px 80px at 80% 70%, rgba(63,98,18,0.04), transparent 60%);
}

/* Announcement bar */
.announcement-bar {
  background: #3f6212;
  color: #faf6f1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 11px;
}
.announcement-bar strong { color: #fbd38d; }

/* Header */
.site-header {
  border-bottom: 1px solid #d9c9b1;
  background: rgba(255,253,249,0.94);
}
.logo-text {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  letter-spacing: -0.5px;
  color: #9a3412;
}
.nav-link.active {
  background: rgba(154,52,18,0.10);
  color: #9a3412;
}

/* Hero */
.hero {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(154,52,18,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #fffdf9 0%, #faf6f1 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(92deg,
      rgba(120,53,15,0.05) 0px,
      rgba(120,53,15,0.05) 1px,
      transparent 1px,
      transparent 4px),
    repeating-linear-gradient(88deg,
      rgba(63,98,18,0.035) 0px,
      rgba(63,98,18,0.035) 2px,
      transparent 2px,
      transparent 9px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { margin-left: auto; margin-right: auto; max-width: 560px; }

.hero-badge {
  background: transparent;
  color: #9a3412;
  border: 1.5px solid #9a3412;
  border-radius: 999px;
  letter-spacing: 1.8px;
  font-size: 11px;
}
.hero-title {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  letter-spacing: -1.2px;
  color: #2a1c10;
}
.hero-title em, .hero-title i { color: #9a3412; font-style: italic; }

/* Buttons — outlined pills with sienna fill on hover */
.btn {
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}
.btn-primary {
  background: transparent;
  color: #9a3412;
  border: 1.5px solid #9a3412;
  box-shadow: none;
  padding: 13px 30px;
}
.btn-primary:hover {
  background: #9a3412;
  color: #faf6f1;
  filter: none;
  box-shadow: 0 6px 18px rgba(154,52,18,0.25);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid #3f6212;
  color: #3f6212;
  background: transparent;
}
.btn-outline:hover {
  background: #3f6212;
  border-color: #3f6212;
  color: #faf6f1;
}
.btn-cta {
  background: transparent;
  color: #9a3412;
  border: 1.5px solid #9a3412;
  box-shadow: none;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 12px;
}
.btn-cta:hover {
  background: #9a3412;
  color: #faf6f1;
  filter: none;
  box-shadow: 0 4px 14px rgba(154,52,18,0.30);
}

/* Section titles */
.section-title {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  letter-spacing: -0.6px;
  font-size: 36px;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: #9a3412;
  margin: 14px auto 0;
}

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border: 1px solid #e6dccb;
  border-radius: var(--radius-lg);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-cta { margin-top: auto; }
.product-card:hover {
  border-color: #9a3412;
  box-shadow: 0 14px 32px rgba(154,52,18,0.12);
}
.card-brand { color: #3f6212; letter-spacing: 1.5px; }
.card-title { font-family: 'Source Serif 4', serif; font-weight: 600; font-size: 16px; }
.card-image-wrapper { background: #f3ece1; }

/* Filters */
.filter-btn.active {
  background: #9a3412;
  border-color: #9a3412;
  color: #faf6f1;
}
.filter-btn:hover { border-color: #9a3412; color: #9a3412; }

/* Categories */
.category-card { background: var(--color-bg-white); border: 1px solid #e6dccb; }
.category-card:hover { border-color: #3f6212; box-shadow: 0 10px 24px rgba(63,98,18,0.10); }
.category-icon { background: rgba(63,98,18,0.10); color: #3f6212; }

/* Newsletter */
.newsletter-section {
  background: #f3ece1;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(154,52,18,0.04) 0px,
      rgba(154,52,18,0.04) 1px,
      transparent 1px,
      transparent 5px);
  border-top: 1px solid #d9c9b1;
  border-bottom: 1px solid #d9c9b1;
}
.newsletter-form button {
  background: transparent;
  color: #3f6212;
  border: 1.5px solid #3f6212;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.newsletter-form button:hover {
  background: #3f6212;
  color: #faf6f1;
}

/* FAQ */
.faq-section { background: rgba(63,98,18,0.06); }
.faq-item { background: var(--color-bg-white); border-color: #e6dccb; }
.faq-item[open] { border-color: #3f6212; }
.faq-item[open] .faq-question::after { color: #3f6212; }

/* Guide */
.guide-card { background: var(--color-bg-white); border-color: #e6dccb; }
.guide-card:hover { border-color: #9a3412; }
.guide-number {
  background: #9a3412;
  color: #faf6f1;
  font-family: 'Source Serif 4', serif;
  font-style: italic;
}
.guide-card-title { font-family: 'Source Serif 4', serif; }

/* Testimonials */
.testimonials-section { background: rgba(154,52,18,0.06); }
.testimonial-card { background: var(--color-bg-white); border-color: #e6dccb; }
.testimonial-avatar { background: rgba(154,52,18,0.12); color: #9a3412; }
.testimonial-text { font-family: 'Source Serif 4', serif; font-style: italic; font-size: 15px; }

/* Stats */
.stats-section {
  background: linear-gradient(135deg, #9a3412 0%, #3f6212 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(255,253,249,0.05) 0px,
    rgba(255,253,249,0.05) 1px,
    transparent 1px,
    transparent 4px);
  pointer-events: none;
}
.stat-number { color: #faf6f1; font-family: 'Source Serif 4', serif; font-style: italic; }
.stat-label { color: rgba(250,246,241,0.85); letter-spacing: 1px; text-transform: uppercase; font-size: 11px; }

/* Top Picks */
.top-picks-section { background: #f3ece1; }
.top-pick-item { background: var(--color-bg-white); border-color: #e6dccb; }
.top-pick-item:hover { border-color: #edbe13; }
.top-pick-rank { color: #9a3412; font-family: 'Source Serif 4', serif; font-style: italic; font-size: 28px; }
.top-pick-name { font-family: 'Source Serif 4', serif; }
.top-pick-tag {
  background: rgba(154,52,18,0.10);
  color: #9a3412;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Product page */
.product-title { font-family: 'Source Serif 4', serif; font-weight: 600; }
.product-brand-link { color: #3f6212; }
.product-price-block {
  background: #f3ece1;
  border-color: #e6dccb;
}
.price-big { font-family: 'Source Serif 4', serif; }
.price-save { background: rgba(63,98,18,0.12); color: #3f6212; }

/* Widgets */
.delivery-widget {
  background: #f3ece1;
  border-color: #e6dccb;
}
.delivery-item svg { color: #9a3412; }

.pros-cons-widget {
  background: #f3ece1;
  border-color: #e6dccb;
}
.pros-cons-widget h3 { font-family: 'Source Serif 4', serif; color: #2a1c10; }
.pros-heading { color: #3f6212; }
.check-icon { color: #3f6212; }

.price-history-section {
  background: var(--color-bg-white);
  border-color: #e6dccb;
}
.price-history-section .section-title::after { margin-left: 0; margin-right: 0; }
.chart-bar {
  background: linear-gradient(180deg, rgba(154,52,18,0.25) 0%, #9a3412 100%);
}
.chart-bar-current {
  background: linear-gradient(180deg, rgba(63,98,18,0.40) 0%, #3f6212 100%);
  box-shadow: 0 0 14px rgba(63,98,18,0.30);
}
.chart-note {
  background: rgba(63,98,18,0.10);
  color: #3f6212;
}

.user-reviews-section {
  background: var(--color-bg-white);
  border-color: #e6dccb;
}
.reviews-big-number { font-family: 'Source Serif 4', serif; color: #9a3412; }
.review-card { background: #f3ece1; border-color: #e6dccb; }
.review-avatar { background: #9a3412; }
.review-bar-fill { background: #edbe13; }

.social-proof-popup {
  background: var(--color-bg-white);
  border-color: #e6dccb;
  border-left: 3px solid #9a3412;
}
.popup-icon { background: #3f6212; }

/* Brand showcase */
.brand-showcase-section { background: #f3ece1; }
.brand-card { background: var(--color-bg-white); border-color: #e6dccb; }
.brand-initial {
  background: linear-gradient(135deg, #9a3412, #3f6212);
  font-family: 'Source Serif 4', serif;
}
.brand-name { font-family: 'Source Serif 4', serif; }

/* Trending */
.trending-item { background: #f3ece1; border-color: #e6dccb; }
.trending-rank { color: #9a3412; font-family: 'Source Serif 4', serif; font-style: italic; }
.trending-hot { background: rgba(154,52,18,0.12); color: #9a3412; }

/* Footer */
.site-footer {
  background: #2a1c10;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255,253,249,0.025) 0px,
      rgba(255,253,249,0.025) 1px,
      transparent 1px,
      transparent 5px);
}
.footer-logo { font-family: 'Source Serif 4', serif; font-style: italic; color: #f3ece1; }
.social-links a:hover { background: #9a3412; border-color: #9a3412; }

/* Decorative paper-edge divider on section transitions */
.faq-section,
.testimonials-section,
.top-picks-section,
.newsletter-section {
  position: relative;
}
.faq-section::before,
.testimonials-section::before,
.top-picks-section::before,
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(154,52,18,0.20) 25%,
    rgba(63,98,18,0.20) 75%,
    transparent 100%);
}

@media (max-width: 768px) {
  .hero::before { opacity: 0.35; }
}