@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap');

:root {
  /* Neutral editorial canvas */
  --color-bg: #faf9f7;
  --color-bg-2: #f3f1ee;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 250, 249, 247;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(28,25,23,0.02);
  --color-surface-hover: rgba(28,25,23,0.045);

  --color-text: #1c1917;
  --color-text-secondary: #57534e;
  --color-text-muted: #a8a29e;

  /* Hairline borders */
  --color-border: #e9e6e1;
  --color-border-light: #f2efeb;

  /* Mandatory palette — exact */
  --color-accent: #e06505;
  --color-accent-2: #07e121;
  --color-accent-3: #0e47ea;
  --color-accent-warm: #e87729;
  --color-accent-soft: #f2e9e2;
  --color-accent-2-soft: #e2f2e4;
  --color-accent-3-soft: #e3e7f1;
  --color-accent-warm-soft: #f1e9e4;

  --color-star: #e87729;
  --color-success: #059669;
  --color-badge: #dc2626;
  --color-info: #0e47ea;

  /* Footer — deep neutral */
  --color-footer-bg: #1c1917;
  --color-footer-text: #f2efeb;
  --color-footer-muted: #a8a29e;
  --color-footer-link: #d6d3d1;
  --color-footer-border: rgba(255,255,255,0.10);
  --color-footer-social-bg: rgba(255,255,255,0.07);
  --color-footer-social-border: rgba(255,255,255,0.12);

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

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

  /* Soft, tactile shadows */
  --shadow-xs: 0 1px 2px rgba(28,25,23,0.04);
  --shadow-sm: 0 1px 3px rgba(28,25,23,0.05), 0 1px 2px rgba(28,25,23,0.03);
  --shadow-md: 0 6px 18px rgba(28,25,23,0.06), 0 2px 6px rgba(28,25,23,0.04);
  --shadow-lg: 0 14px 34px rgba(28,25,23,0.08), 0 4px 12px rgba(28,25,23,0.04);
  --shadow-xl: 0 26px 54px rgba(28,25,23,0.10), 0 10px 20px rgba(28,25,23,0.05);
}

/* Editorial serif for display headings, grotesque for the rest */
.hero-title,
.section-title,
.product-title,
.page-title,
.newsletter-text h3,
.pros-cons-widget h3,
.footer-logo {
  font-family: 'Playfair Display', 'Georgia', serif;
  letter-spacing: -0.4px;
}

body { letter-spacing: 0.1px; }

/* Generous whitespace */
.section { padding: 88px 0; }
.section-header { margin-bottom: 56px; }

/* ── HERO — centered stack with subtle dot grid (hero only) ─────────────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}
.hero-content {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.hero--split .hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.hero-actions,
.hero--split .hero-actions { justify-content: center; }
.hero-subtitle {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(28,25,23,0.07) 1.1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 35%, transparent 78%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  box-shadow: var(--shadow-xs);
}

/* ── Header — compact hairline ──────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--color-border); }

/* ── Pill CTAs ──────────────────────────────────────────────────────────── */
.btn { border-radius: 50px; }
.btn-primary {
  background: var(--color-accent);
  box-shadow: 0 6px 18px rgba(224,101,5,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(224,101,5,0.28); filter: brightness(0.94); }
.btn-cta {
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(224,101,5,0.18);
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(224,101,5,0.24); filter: brightness(0.94); }

/* ── Product cards — hairline borders + soft lift (preserve flex layout) ── */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-soft);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-cta { margin-top: auto; }

/* ── Category cards ─────────────────────────────────────────────────────── */
.category-card { box-shadow: var(--shadow-xs); }
.category-card:hover { border-color: var(--color-accent-2); box-shadow: var(--shadow-md); }

/* ── New widgets ────────────────────────────────────────────────────────── */
.price-history-section {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.price-history-section .chart-bar {
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-accent) 100%);
}

.user-reviews-section {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.user-reviews-section .review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
}
.review-avatar { background: var(--color-accent); }

.pros-cons-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.delivery-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.delivery-item svg { color: var(--color-accent-3); }

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

/* ── Newsletter accent alignment ────────────────────────────────────────── */
.newsletter-form button { background: var(--color-accent-2); }
.newsletter-form button:hover { background: #06c41d; }

/* Keep mobile hero centered and uncluttered */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero::before { background-size: 18px 18px; opacity: 0.6; }
}