@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 palette — exact */
  --color-accent: #d643e2;
  --color-accent-2: #ed9510;
  --color-accent-3: #13ed44;
  --color-accent-warm: #e19d4a;
  --color-accent-soft: #efe4f0;
  --color-accent-2-soft: #f1ece3;
  --color-accent-3-soft: #e3f1e6;
  --color-accent-warm-soft: #f0ebe4;

  /* Warm paper editorial backgrounds */
  --color-bg: #f6f1e8;
  --color-bg-2: #efe7d9;
  --color-bg-white: #fffdf8;
  --color-bg-rgb: 246, 241, 232;
  --color-bg-white-rgb: 255, 253, 248;
  --color-surface: rgba(124, 45, 18, 0.03);
  --color-surface-hover: rgba(124, 45, 18, 0.06);

  --color-text: #2a1c14;
  --color-text-secondary: #6b5647;
  --color-text-muted: #a4917f;

  --color-border: #e2d7c6;
  --color-border-light: #eee6d8;

  /* Footer — deep warm brown */
  --color-footer-bg: #241610;
  --color-footer-text: #f3ece1;
  --color-footer-muted: #b0a08f;
  --color-footer-link: #d8ccbc;
  --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);

  --color-star: #e19d4a;
  --color-success: #059669;

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

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

  --shadow-sm: 0 1px 3px rgba(74,45,30,0.07), 0 1px 2px rgba(74,45,30,0.04);
  --shadow-md: 0 4px 10px rgba(74,45,30,0.07);
  --shadow-lg: 0 12px 28px rgba(74,45,30,0.09);
  --shadow-xl: 0 22px 44px rgba(74,45,30,0.12);
}

/* ── Tactile paper texture on the page ─────────────────────────────── */
body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(124,45,18,0.025) 0%, transparent 32%),
    radial-gradient(circle at 85% 65%, rgba(124,45,18,0.02) 0%, transparent 34%),
    repeating-linear-gradient(0deg, rgba(124,45,18,0.012) 0px, rgba(124,45,18,0.012) 1px, transparent 1px, transparent 3px);
  background-attachment: fixed;
}

/* ── Editorial small-caps labels ───────────────────────────────────── */
.hero-badge,
.card-brand,
.product-brand-link,
.footer-col h4,
.comparison-table th,
.top-pick-tag {
  font-variant: small-caps;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-badge {
  background: var(--color-bg-white);
  border: 1px solid var(--color-accent);
  color: #7c2d12;
  border-radius: 2px;
}

/* ── Hero — magazine intro, centered stack (mandatory) ─────────────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg) 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 at 30% 20%, rgba(214,67,226,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 72% 30%, rgba(237,149,16,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: normal;
}
/* Magazine-style rule beneath the headline */
.hero-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 2px;
  margin: 22px auto 0;
  background: #7c2d12;
}

.section-title { font-weight: 600; }
.logo-text { font-family: var(--font-heading); font-weight: 600; }

/* ── Boxed CTAs ────────────────────────────────────────────────────── */
.btn { border-radius: 2px; }
.btn-primary {
  background: #7c2d12;
  box-shadow: 0 4px 14px rgba(124,45,18,0.22);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline {
  border: 1.5px solid #7c2d12;
  color: #7c2d12;
}
.btn-outline:hover { background: var(--color-accent-warm-soft); border-color: #7c2d12; }
.btn-cta {
  border-radius: 2px;
  background: #7c2d12;
  box-shadow: none;
  border: 1px solid #7c2d12;
}
.btn-cta:hover { background: var(--color-accent); border-color: var(--color-accent); }
.card-body > .btn.btn-cta { border-radius: 2px !important; }

/* ── Product cards — tactile bordered tiles (preserve flex) ────────── */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-brand { color: #7c2d12; }

/* ── Section accents ───────────────────────────────────────────────── */
.category-card:hover { border-color: var(--color-accent-2); }
.newsletter-form button { background: var(--color-accent-2); }
.newsletter-form button:hover { background: #d67f06; }
.faq-item[open] { border-color: var(--color-accent-2); }

/* ── New widgets — editorial cards ─────────────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
}
.pros-cons-widget,
.delivery-widget {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent-warm);
}
.delivery-item svg { color: var(--color-accent-2); }
.social-proof-popup {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent-3);
  border-radius: 2px;
}
.review-avatar { background: #7c2d12; }
.chart-bar {
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-accent) 100%);
}