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

:root {
  --color-bg: #fbfbfa;
  --color-bg-2: #f4f5f5;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 251, 251, 250;
  --color-bg-white-rgb: 255, 255, 255;
  --color-surface: rgba(21,94,117,0.03);
  --color-surface-hover: rgba(21,94,117,0.06);
  --color-text: #14202b;
  --color-text-secondary: #4a5a63;
  --color-text-muted: #8a97a0;

  --color-accent: #e27507;
  --color-accent-2: #32e653;
  --color-accent-3: #4867e1;
  --color-accent-warm: #e79929;
  --color-accent-soft: #f2eae2;
  --color-accent-2-soft: #e4f0e6;
  --color-accent-3-soft: #e4e7f0;
  --color-accent-warm-soft: #f1ebe4;

  --color-star: #e79929;
  --color-success: #1f8f45;
  --color-badge: #155e75;
  --color-info: #155e75;
  --color-border: #e3e6e7;
  --color-border-light: #eff1f1;

  --color-footer-bg: #0d1b24;
  --color-footer-text: #e6edf0;
  --color-footer-muted: #7e8f98;
  --color-footer-link: #b6c3ca;
  --color-footer-border: rgba(255,255,255,0.08);
  --color-footer-social-bg: rgba(255,255,255,0.06);
  --color-footer-social-border: rgba(255,255,255,0.12);

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;

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

  --shadow-xs: 0 1px 2px rgba(20,32,43,0.04);
  --shadow-sm: 0 1px 2px rgba(20,32,43,0.05);
  --shadow-md: 0 4px 10px rgba(20,32,43,0.06);
  --shadow-lg: 0 10px 26px rgba(20,32,43,0.07);
  --shadow-xl: 0 20px 44px rgba(20,32,43,0.09);

  --container-max: 1180px;
}

/* Editorial base rhythm ---------------------------------------------------- */
body { letter-spacing: 0.1px; }
.container { padding: 0 40px; }

/* Oversized editorial serif headings */
.hero-title { font-weight: 600; letter-spacing: -1.5px; line-height: 1.03; }
.section-title { font-weight: 600; font-size: 38px; letter-spacing: -0.8px; }
.product-title,
.page-title { font-weight: 600; }
.logo-text { font-weight: 600; letter-spacing: 0; }

/* Thin rules between sections --------------------------------------------- */
.section { border-bottom: 1px solid var(--color-border-light); }
.section:last-of-type { border-bottom: none; }
.categories-section,
.trending-section,
.brand-showcase-section { border-top: 1px solid var(--color-border-light); }

/* Header — compact, precise, techy underline on active nav ---------------- */
.site-header { border-bottom: 1px solid var(--color-border); }
.nav-link { border-radius: var(--radius-sm); font-weight: 500; }
.nav-link.active {
  color: #155e75;
  background: transparent;
  box-shadow: inset 0 -2px 0 #155e75;
  border-radius: 0;
}

/* Announcement bar — cool teal ground */
.announcement-bar { background: #0d3b49; }
.announcement-bar strong { color: var(--color-accent-warm); }

/* ── HERO — centered editorial stack + subtle teal grid decoration ──────── */
.hero {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border-light);
}
.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;
  inset: 0;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(21,94,117,0.08) 0%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(21,94,117,0.035) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(21,94,117,0.035) 0 1px, transparent 1px 88px);
  pointer-events: none;
}
.hero-badge {
  color: #155e75;
  background: transparent;
  border: 1px solid rgba(21,94,117,0.35);
  border-radius: var(--radius-sm);
  letter-spacing: 1.6px;
}

/* ── Buttons — understated flat CTAs ─────────────────────────────────────── */
.btn { border-radius: var(--radius-sm); letter-spacing: 0.3px; }
.btn-primary {
  background: #155e75;
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  transform: none;
  filter: none;
  background: #0f4a5c;
  box-shadow: none;
}
.btn-outline {
  border: 1px solid var(--color-border);
  color: #155e75;
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-surface-hover);
  border-color: #155e75;
}
.btn-cta {
  background: #155e75;
  border-radius: var(--radius-sm);
  box-shadow: none;
  font-weight: 600;
}
.btn-cta:hover {
  transform: none;
  filter: none;
  background: #0f4a5c;
  box-shadow: none;
}

/* ── Product cards — flat, thin border, quiet lift ───────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21,94,117,0.35);
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-brand { color: #155e75; letter-spacing: 1.4px; }
.card-quick-view { background: rgba(13,27,36,0.85); }

/* Categories */
.category-icon { background: var(--color-accent-3-soft); color: var(--color-accent-3); }
.category-card:hover { border-color: var(--color-accent-3); }

/* Stats bar — cool teal gradient */
.stats-section { background: linear-gradient(135deg, #155e75, #4867e1); }

/* ── New widgets ─────────────────────────────────────────────────────────── */
.price-history-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.price-history-section .section-title { text-align: left; }
.chart-bar {
  background: linear-gradient(180deg, rgba(21,94,117,0.25) 0%, #155e75 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.user-reviews-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.review-avatar { background: #155e75; }
.review-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}
.review-bar-fill { background: var(--color-accent-warm); }

.pros-cons-widget {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.pros-cons-widget h3 { color: #155e75; }

.delivery-widget {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.delivery-item svg { color: #155e75; }

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

/* FAQ / newsletter accent alignment with mandated palette */
.newsletter-form button:hover { background: #26c043; }
.newsletter-section { border-top: 1px solid var(--color-border-light); border-bottom: 1px solid var(--color-border-light); }

/* Section titles that were left-aligned stay editorial-left where base sets them */
.related-section .section-title { letter-spacing: -0.8px; }

/* Footer — deep cool ground with teal social hover */
.social-links a:hover { background: #155e75; border-color: #155e75; }

/* Mobile — keep hero centered, lighten decorative grid */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { text-align: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero::before { background: radial-gradient(ellipse at 50% -10%, rgba(21,94,117,0.08) 0%, transparent 55%); }
  .section-title { font-size: 30px; }
}