@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #fff1f2;
  --color-bg-2: #ffe4e6;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 255, 241, 242;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(0,0,0,0.02);
  --color-surface-hover: rgba(0,0,0,0.04);
  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #fecdd3;
  --color-border-light: #ffe4e6;
  --color-accent: #dfc005;
  --color-accent-2: #09e57f;
  --color-accent-3: #5e46e2;
  --color-accent-warm: #e79c2b;
  --color-accent-soft: #f2f0e2;
  --color-accent-2-soft: #e3f2eb;
  --color-accent-3-soft: #e6e4f0;
  --color-accent-warm-soft: #f1ebe4;
  --color-star: #e79c2b;
  --color-footer-bg: #1e293b;
  --color-footer-text: #f1f5f9;
  --color-footer-muted: #94a3b8;
  --color-footer-link: #cbd5e1;
  --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.1);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(30,41,59,0.06), 0 1px 2px rgba(30,41,59,0.04);
  --shadow-md: 0 4px 6px rgba(30,41,59,0.06), 0 2px 4px rgba(30,41,59,0.03);
  --shadow-lg: 0 10px 25px rgba(30,41,59,0.08), 0 4px 10px rgba(30,41,59,0.04);
  --shadow-xl: 0 20px 40px rgba(30,41,59,0.1), 0 8px 16px rgba(30,41,59,0.05);
}

/* ── Wave Section Dividers ────────────────────────────────────────────────── */
.categories-section,
.faq-section,
.testimonials-section,
.guide-section,
.top-picks-section,
.brand-showcase-section,
.newsletter-section,
.stats-section {
  position: relative;
  margin-top: 40px;
  padding-top: 96px;
}

.categories-section::before,
.faq-section::before,
.testimonials-section::before,
.guide-section::before,
.top-picks-section::before,
.brand-showcase-section::before,
.newsletter-section::before,
.stats-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
  pointer-events: none;
}

.faq-section::before,
.testimonials-section::before,
.top-picks-section::before {
  background: var(--color-bg-white);
}

.newsletter-section::before {
  background: var(--color-bg);
}

/* ── Announcement Bar ─────────────────────────────────────────────────────── */
.announcement-bar {
  background: #1e293b;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fff1f2 60%, #ffe4e6 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(223,192,5,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(94,70,226,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(9,229,127,0.04) 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 {
  background: var(--color-accent-soft);
  color: #b8a004;
  border: 1px solid rgba(223,192,5,0.25);
}

/* ── Product Cards — rounded-2xl + inner glow ─────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid #fecdd3;
  background: #ffffff;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223,192,5,0.3);
  box-shadow:
    0 16px 40px rgba(30,41,59,0.08),
    inset 0 0 20px rgba(223,192,5,0.06),
    inset 0 0 40px rgba(9,229,127,0.04);
}

.card-image-wrapper {
  border-radius: 20px 20px 0 0;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--color-accent);
  color: #1e293b;
  box-shadow: 0 4px 14px rgba(223,192,5,0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(223,192,5,0.35);
}

.btn-cta {
  background: var(--color-accent);
  color: #1e293b;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(223,192,5,0.2);
}

.btn-cta:hover {
  box-shadow: 0 4px 16px rgba(223,192,5,0.3);
}

.btn-outline {
  border-color: var(--color-accent-2);
  color: #07b866;
}

.btn-outline:hover {
  background: var(--color-accent-2-soft);
}

/* ── Category Cards ───────────────────────────────────────────────────────── */
.category-card {
  border-radius: 20px;
  border: 1px solid #fecdd3;
}

.category-card:hover {
  border-color: var(--color-accent-2);
  box-shadow: 0 12px 32px rgba(9,229,127,0.1);
}

/* ── Stats Section ────────────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
}

/* ── Newsletter ───────────────────────────────────────────────────────────── */
.newsletter-section {
  background: var(--color-accent-2-soft);
  border-top: 1px solid rgba(9,229,127,0.15);
  border-bottom: 1px solid rgba(9,229,127,0.15);
}

.newsletter-form button {
  background: var(--color-accent-2);
  color: #fff;
}

.newsletter-form button:hover {
  background: #07b866;
}

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--color-accent-2-soft);
}

.faq-item {
  border-radius: 16px;
}

.faq-item[open] {
  border-color: var(--color-accent-2);
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonials-section {
  background: var(--color-accent-3-soft);
}

.testimonial-card {
  border-radius: 20px;
}

.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(94,70,226,0.08);
}

.testimonial-avatar {
  background: var(--color-accent-3-soft);
  color: var(--color-accent-3);
}

/* ── Guide ─────────────────────────────────────────────────────────────────── */
.guide-card {
  border-radius: 20px;
}

.guide-card:hover {
  border-color: var(--color-accent-warm);
  box-shadow: 0 10px 30px rgba(231,156,43,0.1);
}

/* ── Top Picks ─────────────────────────────────────────────────────────────── */
.top-picks-section {
  background: var(--color-accent-warm-soft);
}

.top-pick-item {
  border-radius: 16px;
}

.top-pick-item:hover {
  border-color: var(--color-accent-warm);
}

/* ── Brand Showcase ───────────────────────────────────────────────────────── */
.brand-showcase-section {
  background: var(--color-bg-2);
}

.brand-card {
  border-radius: 20px;
}

/* ── Price History ─────────────────────────────────────────────────────────── */
.price-history-section {
  border-radius: 20px;
  border: 1px solid #fecdd3;
}

.chart-bar {
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-accent) 100%);
  border-radius: 8px 8px 0 0;
}

.chart-bar-current {
  background: linear-gradient(180deg, rgba(9,229,127,0.4) 0%, var(--color-accent-2) 100%);
  box-shadow: 0 0 12px rgba(9,229,127,0.25);
}

.chart-note {
  color: #07b866;
  background: rgba(9,229,127,0.08);
  border-radius: var(--radius-md);
}

/* ── User Reviews ──────────────────────────────────────────────────────────── */
.user-reviews-section {
  border-radius: 20px;
  border: 1px solid #fecdd3;
}

.review-card {
  border-radius: 16px;
  background: var(--color-bg);
  border: 1px solid #fecdd3;
}

.review-avatar {
  background: var(--color-accent-3);
}

/* ── Pros & Cons ───────────────────────────────────────────────────────────── */
.pros-cons-widget {
  border-radius: 20px;
  background: var(--color-bg);
  border: 1px solid #fecdd3;
}

/* ── Delivery Widget ───────────────────────────────────────────────────────── */
.delivery-widget {
  border-radius: 16px;
  background: var(--color-bg);
  border: 1px solid #fecdd3;
}

.delivery-item svg {
  color: var(--color-accent);
}

/* ── Social Proof Popup ───────────────────────────────────────────────────── */
.social-proof-popup {
  border-radius: 20px;
  border: 1px solid #fecdd3;
  box-shadow: 0 16px 40px rgba(30,41,59,0.12);
}

.popup-icon {
  background: var(--color-accent-2);
}

/* ── Banner Row ───────────────────────────────────────────────────────────── */
.banner-row-3 .banner-link {
  border-radius: 20px;
  border: 1px solid #fecdd3;
}

.banner-link {
  border-radius: 20px;
  border: 1px solid #fecdd3;
}

/* ── Comparison Table ─────────────────────────────────────────────────────── */
.comparison-table {
  border-radius: 16px;
}

.comparison-table th {
  background: var(--color-bg);
}

/* ── Section Titles Accent Underline ──────────────────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
}

.section-header .section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ── Price Save Badge ─────────────────────────────────────────────────────── */
.price-save {
  background: var(--color-accent-2-soft);
  color: #07b866;
}

/* ── Filter / Nav Active States ───────────────────────────────────────────── */
.nav-link.active {
  color: #b8a004;
  background: var(--color-accent-soft);
}

.filter-btn.active {
  background: var(--color-accent);
  color: #1e293b;
  border-color: var(--color-accent);
}

/* ── Trending Section ─────────────────────────────────────────────────────── */
.trending-item {
  border-radius: 16px;
  background: var(--color-bg);
  border: 1px solid #fecdd3;
}

.trending-rank {
  color: var(--color-accent);
}

/* ── Subtle Coral Texture on Body ─────────────────────────────────────────── */
body {
  background-image:
    radial-gradient(circle at 15% 25%, rgba(223,192,5,0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(94,70,226,0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(9,229,127,0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ── Cookie Banner ────────────────────────────────────────────────────────── */
.cookie-banner {
  border-top: 1px solid #fecdd3;
}

.cookie-banner button {
  background: var(--color-accent);
  color: #1e293b;
}

/* ── Mobile Adjustments ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .categories-section::before,
  .faq-section::before,
  .testimonials-section::before,
  .guide-section::before,
  .top-picks-section::before,
  .brand-showcase-section::before,
  .newsletter-section::before,
  .stats-section::before {
    height: 36px;
  }

  .categories-section,
  .faq-section,
  .testimonials-section,
  .guide-section,
  .top-picks-section,
  .brand-showcase-section,
  .newsletter-section,
  .stats-section {
    padding-top: 64px;
    margin-top: 24px;
  }
}