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

:root {
  --color-bg: #ffffff;
  --color-bg-2: #f4f5f8;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 255, 255, 255;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(12,52,232,0.03);
  --color-surface-hover: rgba(12,52,232,0.06);
  --color-text: #0b0d18;
  --color-text-secondary: #45495c;
  --color-text-muted: #8a8fa3;

  --color-accent: #0c34e8;
  --color-accent-2: #ed107f;
  --color-accent-3: #d2e922;
  --color-accent-warm: #e8c628;
  --color-accent-soft: #e3e5f1;
  --color-accent-2-soft: #f1e3ea;
  --color-accent-3-soft: #eff1e3;
  --color-accent-warm-soft: #f1eee3;

  --color-star: #e8c628;
  --color-success: #0c9d5a;
  --color-badge: #ed107f;
  --color-info: #0c34e8;
  --color-border: #e4e6ee;
  --color-border-light: #eef0f5;

  --color-footer-bg: #0b0d18;
  --color-footer-text: #f4f5f8;
  --color-footer-muted: #8a8fa3;
  --color-footer-link: #c5c8d6;
  --color-footer-border: rgba(255,255,255,0.1);
  --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: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

  /* Flat design — no shadows, color blocks only */
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
}

/* ── Bold typographic hierarchy ─────────────────────────────────────────── */
.hero-title,
.section-title,
.page-title,
.product-title {
  font-weight: 900;
  letter-spacing: -1.5px;
}
.logo-text { font-weight: 900; letter-spacing: -0.5px; }
.hero-badge {
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
}

/* ── Underline-on-hover links ───────────────────────────────────────────── */
.nav-link:hover,
.footer-col a:hover,
.breadcrumb a:hover,
.product-brand-link:hover,
.card-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  background: transparent;
}
.nav-link.active {
  background: transparent;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* ── HERO — centered stack, flat color block + decorative grid ──────────── */
.hero {
  text-align: center;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-text);
}
.hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.hero-subtitle { max-width: 520px; margin-left: auto; margin-right: auto; }
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: -20%;
  width: 140%; height: 100%;
  background-image:
    linear-gradient(rgba(12,52,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,52,232,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

/* ── Flat buttons — solid color blocks, no shadow ───────────────────────── */
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: none;
  border-radius: var(--radius-sm);
}
.btn-primary:hover {
  transform: none;
  box-shadow: none;
  background: #ed107f;
  filter: none;
}
.btn-outline {
  border: 2px 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-accent);
  box-shadow: none;
  border-radius: var(--radius-sm);
}
.btn-cta:hover { transform: none; box-shadow: none; background: #ed107f; filter: none; }

/* ── Product cards — flat, hard border, block accent on hover ───────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: border-color var(--transition), transform var(--transition);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
  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-accent); }

/* ── Categories — flat blocks ───────────────────────────────────────────── */
.category-card { border: 1.5px solid var(--color-border); box-shadow: none; }
.category-card:hover { box-shadow: none; border-color: var(--color-accent-2); transform: translateY(-3px); }
.category-icon { background: var(--color-accent-2-soft); color: var(--color-accent-2); }

/* ── Newsletter block ───────────────────────────────────────────────────── */
.newsletter-section { background: var(--color-accent-soft); }
.newsletter-form button { background: var(--color-accent-2); box-shadow: none; }
.newsletter-form button:hover { transform: none; background: #c40e6b; }

/* ── Stats bar — bold flat gradient block ───────────────────────────────── */
.stats-section {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
}

/* ── New widgets ────────────────────────────────────────────────────────── */
.price-history-section,
.user-reviews-section {
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.price-history-section .section-title,
.user-reviews-section .section-title { text-align: left; }
.chart-bar {
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-accent) 100%);
  border-radius: 4px 4px 0 0;
}
.chart-bar-current {
  background: linear-gradient(180deg, #f47ab5 0%, var(--color-accent-2) 100%);
  box-shadow: none;
}
.review-bar-fill { background: var(--color-star); }
.review-avatar { background: var(--color-accent); }

.pros-cons-widget {
  background: var(--color-bg-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
}
.pros-heading { color: var(--color-success); }
.cons-heading { color: var(--color-accent-2); }
.cross-icon { color: var(--color-accent-2); }

.delivery-widget {
  background: var(--color-accent-3-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
}
.delivery-item svg { color: var(--color-accent); }

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

/* ── FAQ / guide / testimonials accents stay distinct ───────────────────── */
.guide-number { background: var(--color-accent-warm); color: #0b0d18; }
.guide-card:hover { box-shadow: none; border-color: var(--color-accent-warm); }
.top-pick-rank { color: var(--color-accent-warm); }
.top-pick-tag { background: var(--color-accent-warm-soft); color: #9a7c00; }
.faq-item[open] .faq-question::after { color: var(--color-accent-2); }
.faq-item[open] { border-color: var(--color-accent-2); }

/* ── Flat surfaces elsewhere ────────────────────────────────────────────── */
.banner-link { box-shadow: none; border: 1.5px solid var(--color-border); }
.banner-link:hover { box-shadow: none; transform: translateY(-2px); }
.testimonial-card,
.guide-card,
.top-pick-item,
.brand-card,
.faq-item { box-shadow: none; }
.cookie-banner { box-shadow: none; border-top: 2px solid var(--color-text); }
.brand-initial { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2)); }
.trending-rank { color: var(--color-accent); }