* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #8B4513;
  --accent-light: #A0522D;
  --cta: #FF6B35;
  --cta-light: #FF8E53;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- NAVIGATION ---------- */
.main-navigation {
  background: #fdf6ec;
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.nav-logo {
  display: block;
  height: 61px;
  width: 140px;
  overflow: hidden;
  position: relative;
}

.logo-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 90px;
  width: auto;
  object-fit: cover;
  object-position: top;
}
.nav-links { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.nav-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  background: #fff3e0;
  color: var(--cta);
}
.nav-cta { background: linear-gradient(135deg, var(--cta) 0%, var(--cta-light) 100%); color: white !important; padding: 10px 20px; border-radius: 25px; font-weight: 600; }
.mobile-menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .nav-links { display: none; width: 100%; flex-direction: column; background: rgba(139, 69, 19, 0.95); position: absolute; top: 100%; left: 0; padding: 20px; }
  .nav-links.mobile-open { display: flex; }
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.page-header h1 { font-size: 3rem; font-weight: 700; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* ---------- CARDS / SECTIONS ---------- */
section {
  background: white;
  margin: 40px 0;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
section h2 { color: var(--accent); text-align: center; margin-bottom: 30px; font-size: 2rem; }

.stats-grid, .picks-grid, .pros-cons, .guide-grid {
  display: grid;
  gap: 25px;
  margin-top: 20px;
}
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: bold; color: var(--accent); }
.stat-label { color: #666; font-size: 0.95rem; }

.picks-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pick-card { background: #f8f9fa; padding: 30px; border-radius: 15px; border-left: 5px solid var(--accent); text-align: center; }
.pick-card h3 { color: var(--accent); margin-bottom: 15px; }
.pick-card .brand { font-weight: bold; margin-bottom: 15px; }

/* ---------- PRODUCT REVIEWS ---------- */
.product-review { border-bottom: 1px solid #eee; padding: 30px 0; }
.product-review:last-child { border-bottom: none; }
.product-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.rank-badge {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: white; width: 55px; height: 55px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: bold; flex-shrink: 0;
}
.product-info h3 { font-size: 1.6rem; color: #333; }
.product-info .subtitle { color: #666; font-style: italic; }
.stars { color: #FFD700; font-size: 1.2rem; }
.meta-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 12px 0; font-size: 0.9rem; color: #555; }
.meta-row span { background: #f8f9fa; padding: 6px 12px; border-radius: 20px; }

.pros-cons { grid-template-columns: 1fr 1fr; margin: 20px 0; }
.pros, .cons { padding: 18px; border-radius: 10px; }
.pros { background: #e8f5e8; border-left: 4px solid #4CAF50; }
.cons { background: #ffeaea; border-left: 4px solid #f44336; }
.pros h4 { color: #2E7D32; margin-bottom: 10px; }
.cons h4 { color: #C62828; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li { margin-bottom: 6px; padding-left: 22px; position: relative; font-size: 0.92rem; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: #4CAF50; font-weight: bold; }
.cons li::before { content: "✗"; position: absolute; left: 0; color: #f44336; font-weight: bold; }

.best-for { background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 4px solid var(--accent); margin-top: 15px; font-size: 0.95rem; }

/* ---------- BUTTONS ---------- */
.cta-button {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-light) 100%);
  color: white !important;
  padding: 12px 25px; border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.3s ease;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3); }

/* ---------- NEWSLETTER / FOOTER ---------- */
.newsletter-signup {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 50px 20px; text-align: center; border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
}
.newsletter-signup h2 { color: var(--accent); margin-bottom: 10px; }
.newsletter-form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.newsletter-form input[type="email"] { padding: 12px 15px; border: 2px solid #ddd; border-radius: 6px; font-size: 1rem; min-width: 260px; }
.newsletter-form button {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-light) 100%);
  color: white; border: none; padding: 12px 25px; border-radius: 6px; font-weight: 600; cursor: pointer;
}

.site-footer { background: #333; color: white; padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-section h4 { color: #FFD700; margin-bottom: 15px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #ccc; text-decoration: none; }
.footer-links a:hover { color: #FFD700; }
.footer-bottom { border-top: 1px solid #555; padding-top: 20px; text-align: center; color: #ccc; font-size: 0.9rem; }

.disclaimer {
  background: #fff3cd; border: 1px solid #ffeaa7; padding: 20px; border-radius: 10px;
  margin: 40px 0; font-size: 0.9rem; color: #856404;
}

/* ---------- CATEGORY PAGE ACCENT OVERRIDES ---------- */
body.category-spicy { --accent: #DC143C; --accent-light: #FF4500; }
body.category-sweet { --accent: #D2691E; --accent-light: #F4A460; }
body.category-budget { --accent: #228B22; --accent-light: #32CD32; }
body.category-ribs { --accent: #8B4513; --accent-light: #CD853F; }

@media (max-width: 768px) {
  .page-header h1 { font-size: 2rem; }
  .pros-cons { grid-template-columns: 1fr; }
  .product-header { flex-direction: column; text-align: center; }
}
