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

:root {
  --color-accent: #dfeb0e;
  --color-accent-2: #05dfa5;
  --color-accent-3: #580be7;
  --color-accent-warm: #e38c3d;
  --color-accent-soft: #f1f1e3;
  --color-accent-2-soft: #e2f2ee;
  --color-accent-3-soft: #e8e3f2;
  --color-accent-warm-soft: #f0eae4;

  --color-bg: #f5ecd9;
  --color-bg-2: #ebe0c7;
  --color-bg-white: #fbf5e6;
  --color-bg-rgb: 245, 236, 217;
  --color-bg-white-rgb: 251, 245, 230;
  --color-surface: rgba(67, 20, 7, 0.03);
  --color-surface-hover: rgba(67, 20, 7, 0.06);

  --color-text: #431407;
  --color-text-secondary: #6b3a1f;
  --color-text-muted: #9c7250;

  --color-border: #d9c9a3;
  --color-border-light: #e8dcc0;

  --color-footer-bg: #2a0d04;
  --color-footer-text: #f5ecd9;
  --color-footer-muted: #a98a6a;
  --color-footer-link: #d9c9a3;
  --color-footer-border: rgba(245, 236, 217, 0.12);
  --color-footer-social-bg: rgba(245, 236, 217, 0.08);
  --color-footer-social-border: rgba(245, 236, 217, 0.15);

  --font-heading: 'Spectral', 'Georgia', serif;
  --font-body: 'Karla', -apple-system, sans-serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;

  --shadow-sm: 0 1px 2px rgba(67, 20, 7, 0.08), 0 1px 1px rgba(67, 20, 7, 0.04);
  --shadow-md: 0 3px 6px rgba(67, 20, 7, 0.1), 0 1px 3px rgba(67, 20, 7, 0.06);
  --shadow-lg: 0 8px 20px rgba(67, 20, 7, 0.12), 0 3px 8px rgba(67, 20, 7, 0.06);
  --shadow-xl: 0 16px 36px rgba(67, 20, 7, 0.15), 0 6px 14px rgba(67, 20, 7, 0.08);
}

body {
  background:
    radial-gradient(circle at 20% 15%, rgba(67, 20, 7, 0.04) 0%, transparent 35%),
    radial-gradient(circle at 80% 85%, rgba(67, 20, 7, 0.04) 0%, transparent 35%),
    var(--color-bg);
}

.announcement-bar {
  background: #431407;
  color: #f5ecd9;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  border-bottom: 2px double #6b3a1f;
}
.announcement-bar strong { color: var(--color-accent-warm); }

.site-header {
  border-bottom: 2px double #c9b58a;
  background: rgba(251, 245, 230, 0.94);
}

.logo-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  color: #431407;
  letter-spacing: -0.5px;
}

.nav-link {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
}

.hero {
  background:
    linear-gradient(180deg, rgba(251, 245, 230, 0.95) 0%, rgba(245, 236, 217, 0.95) 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 28px, rgba(67, 20, 7, 0.04) 28px, rgba(67, 20, 7, 0.04) 29px);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 2px double #8a5a2a;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0%, transparent 49%, rgba(67, 20, 7, 0.05) 50%, transparent 51%, transparent 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  bottom: 32px;
  border: 1px solid #b89464;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle { margin-left: auto; margin-right: auto; font-style: italic; }

.hero-badge {
  background: #fbf5e6;
  color: #431407;
  border: 1px solid #8a5a2a;
  font-family: var(--font-heading);
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 2px #fbf5e6, 0 0 0 1px #8a5a2a;
}

.hero-title {
  font-weight: 700;
  color: #431407;
  font-style: italic;
  letter-spacing: -1px;
  text-shadow: 1px 1px 0 rgba(251, 245, 230, 0.6);
}

.section-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: #431407;
  position: relative;
  display: inline-block;
}

.section-header { position: relative; }
.section-header::after {
  content: '❦';
  display: block;
  text-align: center;
  color: #8a5a2a;
  font-size: 18px;
  margin-top: 8px;
}

.btn-primary {
  background: #431407;
  color: #f5ecd9;
  border: 1px solid #2a0d04;
  box-shadow: 0 2px 0 #2a0d04, inset 0 0 0 2px #6b3a1f;
  font-family: var(--font-heading);
  font-style: italic;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  background: #6b3a1f;
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 #2a0d04, inset 0 0 0 2px #8a5a2a;
}

.btn-outline {
  border: 2px solid #431407;
  color: #431407;
  background: #fbf5e6;
  font-family: var(--font-heading);
  font-style: italic;
}
.btn-outline:hover {
  background: #431407;
  color: #f5ecd9;
  border-color: #431407;
}

.btn-cta {
  background: #431407;
  color: #f5ecd9;
  font-family: var(--font-heading);
  font-style: italic;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 0 #2a0d04;
}
.btn-cta:hover { background: #6b3a1f; filter: none; }

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #b89464;
  background: #fbf5e6;
  box-shadow:
    inset 0 0 0 1px #fbf5e6,
    inset 0 0 0 3px #b89464,
    0 1px 2px rgba(67, 20, 7, 0.06);
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px #fbf5e6,
    inset 0 0 0 3px #8a5a2a,
    0 8px 20px rgba(67, 20, 7, 0.15);
  border-color: #8a5a2a;
}

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

.card-brand {
  font-family: var(--font-heading);
  font-style: italic;
  color: #6b3a1f;
}

.card-title {
  font-family: var(--font-heading);
  color: #431407;
}

.category-card {
  background: #fbf5e6;
  border: 1px solid #b89464;
  box-shadow: inset 0 0 0 1px #fbf5e6, inset 0 0 0 3px #b89464;
}
.category-card:hover { border-color: #8a5a2a; }
.category-card h3 { font-family: var(--font-heading); font-style: italic; }
.category-icon { background: #f0eae4; color: #6b3a1f; border: 1px solid #c9b58a; }

.faq-section { background: #ebe0c7; }
.faq-item { background: #fbf5e6; border: 1px solid #b89464; }
.faq-question { font-family: var(--font-heading); font-style: italic; }

.guide-card {
  background: #fbf5e6;
  border: 1px solid #b89464;
  box-shadow: inset 0 0 0 1px #fbf5e6, inset 0 0 0 3px #c9b58a;
}
.guide-number {
  background: #e38c3d;
  color: #fbf5e6;
  font-family: var(--font-heading);
  border: 2px solid #8a5a2a;
}
.guide-card-title { font-family: var(--font-heading); font-style: italic; color: #431407; }

.testimonials-section { background: #ebe0c7; }
.testimonial-card {
  background: #fbf5e6;
  border: 1px solid #b89464;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 16px;
  font-family: var(--font-heading);
  font-size: 60px;
  color: #c9b58a;
  line-height: 1;
}
.testimonial-text { font-family: var(--font-heading); font-style: italic; font-size: 15px; }
.testimonial-avatar { background: #6b3a1f; color: #fbf5e6; }

.newsletter-section {
  background: #ebe0c7;
  border-top: 2px double #8a5a2a;
  border-bottom: 2px double #8a5a2a;
}
.newsletter-text h3 { font-family: var(--font-heading); font-style: italic; }
.newsletter-form input { background: #fbf5e6; border-color: #b89464; }
.newsletter-form button {
  background: #431407;
  color: #f5ecd9;
  font-family: var(--font-heading);
  font-style: italic;
}
.newsletter-form button:hover { background: #6b3a1f; }

.stats-section {
  background:
    linear-gradient(135deg, #431407 0%, #6b3a1f 100%);
  border-top: 1px solid #8a5a2a;
  border-bottom: 1px solid #8a5a2a;
}
.stat-number { color: #fbf5e6; font-style: italic; }
.stat-label { color: rgba(251, 245, 230, 0.85); font-family: var(--font-heading); font-style: italic; letter-spacing: 1px; }

.top-picks-section { background: #f0eae4; }
.top-pick-item { background: #fbf5e6; border: 1px solid #b89464; }
.top-pick-rank { color: #e38c3d; font-style: italic; }
.top-pick-name { font-family: var(--font-heading); font-style: italic; color: #431407; }
.top-pick-tag {
  background: #e38c3d;
  color: #fbf5e6;
  font-family: var(--font-heading);
  font-style: italic;
}

.product-title { font-family: var(--font-heading); font-style: italic; color: #431407; }
.product-brand-link { font-family: var(--font-heading); font-style: italic; color: #6b3a1f; }
.product-price-block { background: #f5ecd9; border-color: #b89464; }
.price-save { background: #e2f2ee; color: #047857; }

.delivery-widget {
  background: #f5ecd9;
  border: 1px solid #b89464;
  position: relative;
}
.delivery-widget::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #d9c9a3;
  pointer-events: none;
}
.delivery-item strong { font-family: var(--font-heading); font-style: italic; color: #431407; }
.delivery-item svg { color: #6b3a1f; }

.pros-cons-widget {
  background: #f5ecd9;
  border: 1px solid #b89464;
  position: relative;
}
.pros-cons-widget::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #d9c9a3;
  pointer-events: none;
}
.pros-cons-widget h3 {
  font-family: var(--font-heading);
  font-style: italic;
  color: #431407;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pros-cons-grid { position: relative; z-index: 1; }
.pros-heading, .cons-heading { font-family: var(--font-heading); font-style: italic; letter-spacing: 0.5px; }

.price-history-section {
  background: #fbf5e6;
  border: 1px solid #b89464;
  box-shadow: inset 0 0 0 1px #fbf5e6, inset 0 0 0 3px #c9b58a, var(--shadow-sm);
  position: relative;
}
.price-history-section .section-title { color: #431407; }
.chart-bar {
  background: linear-gradient(180deg, #d9c9a3 0%, #8a5a2a 100%);
  border-radius: 2px 2px 0 0;
}
.chart-bar-current {
  background: linear-gradient(180deg, #e38c3d 0%, #b96821 100%);
  box-shadow: 0 0 8px rgba(227, 140, 61, 0.4);
}
.chart-note { background: rgba(67, 20, 7, 0.06); color: #6b3a1f; font-style: italic; }

.user-reviews-section {
  background: #fbf5e6;
  border: 1px solid #b89464;
  box-shadow: inset 0 0 0 1px #fbf5e6, inset 0 0 0 3px #c9b58a, var(--shadow-sm);
}
.reviews-big-number { font-family: var(--font-heading); font-style: italic; color: #431407; }
.review-card {
  background: #f5ecd9;
  border: 1px solid #d9c9a3;
  border-left: 3px solid #8a5a2a;
}
.review-avatar { background: #6b3a1f; }
.review-text { font-family: var(--font-heading); font-style: italic; font-size: 14px; }

.social-proof-popup {
  background: #fbf5e6;
  border: 1px solid #8a5a2a;
  box-shadow: 0 8px 20px rgba(67, 20, 7, 0.2), inset 0 0 0 1px #fbf5e6, inset 0 0 0 3px #c9b58a;
}
.popup-icon { background: #431407; color: #f5ecd9; }
.popup-text strong { font-family: var(--font-heading); font-style: italic; color: #431407; }

.brand-showcase-section { background: #ebe0c7; }
.brand-card { background: #fbf5e6; border: 1px solid #b89464; }
.brand-initial {
  background: linear-gradient(135deg, #431407, #6b3a1f);
  font-family: var(--font-heading);
  font-style: italic;
  border: 1px solid #8a5a2a;
}
.brand-name { font-family: var(--font-heading); font-style: italic; color: #431407; }

.trending-section { background: #fbf5e6; }
.trending-item { background: #f5ecd9; border: 1px solid #d9c9a3; }
.trending-rank { color: #e38c3d; font-family: var(--font-heading); font-style: italic; }
.trending-name { font-family: var(--font-heading); font-style: italic; }

.filter-btn { background: #fbf5e6; border-color: #b89464; font-family: var(--font-heading); font-style: italic; }
.filter-btn:hover { border-color: #431407; color: #431407; }
.filter-btn.active {
  background: #431407;
  color: #f5ecd9;
  border-color: #431407;
}

.page-num.active, .page-btn:hover { color: #431407; border-color: #431407; }
.page-num.active { background: #431407; color: #f5ecd9; }

.site-footer {
  background: #2a0d04;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 30px, rgba(245, 236, 217, 0.03) 30px, rgba(245, 236, 217, 0.03) 31px);
  border-top: 4px double #8a5a2a;
}
.footer-logo { font-style: italic; color: #f5ecd9; }
.footer-col h4 { font-family: var(--font-heading); font-style: italic; letter-spacing: 2px; }

.page-title { font-family: var(--font-heading); font-style: italic; color: #431407; }
.prose h2, .prose h3 { font-family: var(--font-heading); font-style: italic; color: #431407; }

@keyframes inkdraw {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@media (max-width: 768px) {
  .hero::before { top: 12px; left: 12px; right: 12px; bottom: 12px; }
  .hero::after { display: none; }
}