/* =========================
   DIGITAL & GEAR
   Affiliate Landing Page CSS
   Optimized for Western Audience
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Merriweather:wght@400;700;900&display=swap');

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --green: #16a34a;
  --green-dark: #15803d;
  --blue: #0ea5e9;
  --red: #dc2626;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin: auto;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', 'Poppins', serif;
  color: var(--dark);
  line-height: 1.25;
}

/* =========================
   Affiliate Top Bar
   ========================= */

.affiliate-bar {
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #92400e;
  border-bottom: 1px solid #fcd34d;
}

/* Auto-injected affiliate disclosure (JS components) */
.affiliate-disclosure {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 10px 20px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.5;
  position: relative;
  z-index: 1000;
}

.affiliate-disclosure .container {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  width: 92%;
}

.affiliate-disclosure .disclosure-icon {
  flex-shrink: 0;
  font-size: 14px;
}

.affiliate-disclosure .disclosure-text {
  flex: 1;
}

.affiliate-disclosure .disclosure-text a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .affiliate-disclosure {
    font-size: 11px;
    padding: 8px 16px;
  }
  .affiliate-disclosure .container {
    gap: 6px;
  }
}

/* Prevent CLS - image dimensions */
img {
  max-width: 100%;
  height: auto;
}

/* =========================
   Header
   ========================= */

.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  transition: top 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

/* Fallback for pages without .container wrapper */
.site-header > .logo,
.site-header > nav {
  display: inline-flex;
  align-items: center;
}

.site-header > .logo {
  float: left;
  padding: 0 20px;
  height: 72px;
}

.site-header > nav {
  float: right;
  height: 72px;
  padding: 0 20px;
}

.site-header > nav a {
  margin: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}

.site-header > nav a:hover {
  color: var(--primary);
}

/* Desktop Nav */
.site-header nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--dark);
  padding: 4px 8px;
  line-height: 1;
}

/* Mobile Nav Override */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}

.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
  overflow: visible;
}

nav > a,
nav .nav-dropdown > a {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
  display: inline-block;
  line-height: 1.4;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 998;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

/* =========================
   Dropdown Menu (Categories)
   ========================= */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-dropdown > a {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
  padding: 8px 0;
  display: inline-block;
  line-height: 1.4;
}

.nav-dropdown > a::after {
  content: '';
}

.nav-dropdown > a::before {
  content: '';
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 1000;
}

.nav-dropdown.active .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
  margin: 0;
}

.nav-dropdown .dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
  color: var(--primary);
  padding-left: 24px;
}

.nav-dropdown .dropdown-menu a::after {
  display: none;
}

.nav-dropdown .dropdown-menu a.disabled {
  color: #9ca3af;
  pointer-events: none;
  font-style: italic;
}

.nav-dropdown .dropdown-menu a.dropdown-view-all {
  display: block;
  padding: 12px 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg);
  transition: all 0.2s ease;
}

.nav-dropdown .dropdown-menu a.dropdown-view-all:hover {
  background: var(--primary);
  color: white;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: var(--border-light);
    top: auto;
    left: auto;
  }

  .nav-dropdown.active .dropdown-menu {
    display: flex;
  }

  .nav-dropdown .dropdown-menu a {
    padding: 12px 20px 12px 40px;
  }
}

/* =========================
   Hero Section
   ========================= */

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #eff6ff 100%);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.updated-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
}

.hero h1 span {
  display: block;
  color: var(--primary);
  margin-top: 8px;
  font-size: 38px;
}

.hero p {
  margin-top: 22px;
  font-size: 17px;
  color: #475569;
  max-width: 560px;
  line-height: 1.7;
}

.hero-rating {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-rating .stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 2px;
}

.hero-rating span {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.trust-pills {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 18px 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.primary-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.primary-btn:hover svg {
  transform: translateX(4px);
}

/* Hero Products */

.hero-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card {
  background: white;
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mini-card img {
  height: 120px;
  object-fit: contain;
  margin: 0 auto 12px;
  transition: transform 0.3s ease;
}

.mini-card:hover img {
  transform: scale(1.05);
}

.mini-card h3 {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
}

/* =========================
   Author Section
   ========================= */

.author-section {
  background: white;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 14px;
  color: var(--muted);
  max-width: 700px;
}

.author-info strong {
  color: var(--primary);
}

/* =========================
   Generic Section Styles
   ========================= */

.top-picks,
.comparison-section,
.selection-section,
.reviews-section,
.buying-guide,
.faq-section,
.disclosure {
  padding: 80px 0;
}

.section-desc {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 12px auto 50px;
  line-height: 1.7;
}

.top-picks h2,
.comparison-section h2,
.selection-section h2,
.reviews-section h2,
.buying-guide h2,
.faq-section h2 {
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* =========================
   Product Cards (Top Picks)
   ========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: white;
  padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -14px;
  left: 20px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.3px;
  font-family: 'Poppins', sans-serif;
  box-shadow: var(--shadow-sm);
}

.badge.orange {
  background: linear-gradient(135deg, var(--orange), #fb923c);
}

.badge.blue {
  background: linear-gradient(135deg, var(--blue), #38bdf8);
}

.badge.green {
  background: linear-gradient(135deg, var(--green), #4ade80);
}

.product-card img {
  height: 220px;
  width: 100%;
  object-fit: contain;
  margin: 24px auto 18px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  margin: 8px 0 14px;
  font-weight: 700;
  font-size: 15px;
}

.rating span {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.product-card > p {
  color: #475569;
  font-size: 14px;
  margin-bottom: 18px;
}

.product-card ul {
  list-style: none;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card li {
  font-size: 14px;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-card li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-card h4 strong {
  display: block;
  font-size: 24px;
  color: var(--dark);
  margin-top: 4px;
}

.best-for {
  background: var(--border-light);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 13px;
  color: #475569;
}

.best-for strong {
  color: var(--dark);
}

.amazon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #111;
  text-align: center;
  padding: 14px 20px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  margin-top: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
  letter-spacing: 0.2px;
}

.amazon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

/* =========================
   Comparison Table
   ========================= */

.comparison-section {
  background: white;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.table-wrapper table {
  min-width: 600px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 700px;
}

thead th {
  background: linear-gradient(135deg, var(--dark), #1e293b);
  color: white;
  padding: 20px 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

thead th:first-child {
  text-align: left;
}

tbody td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  font-size: 15px;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: #f8fafc;
}

td .stars-sm {
  color: var(--orange);
  font-weight: 700;
}

td .best-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-top: 4px;
}

td .best-badge.gold { background: var(--orange); }
td .best-badge.sky { background: var(--blue); }
td .best-badge.leaf { background: var(--green); }

td .check {
  color: var(--green);
  font-weight: 900;
  font-size: 18px;
}

td .cross {
  color: #cbd5e1;
  font-weight: 700;
}

/* =========================
   How We Selected
   ========================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 10px;
}

.feature-box {
  background: white;
  padding: 30px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 14px 0 10px;
}

.feature-box p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   Review Cards
   ========================= */

.reviews-section {
  background: white;
}

.review-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.review-card:last-child {
  margin-bottom: 0;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.review-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.review-rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 10px 18px;
  border-radius: 50px;
}

.review-rating-badge .stars {
  color: var(--orange);
  font-size: 16px;
}

.review-rating-badge .score {
  font-weight: 800;
  color: #92400e;
  font-size: 15px;
}

.review-card > p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Pros & Cons */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.pros-col,
.cons-col {
  padding: 26px;
  border-radius: var(--radius);
}

.pros-col {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
}

.cons-col {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid #fecaca;
}

.pros-col h5,
.cons-col h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros-col h5 { color: var(--green-dark); }
.cons-col h5 { color: #991b1b; }

.pros-col ul,
.cons-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pros-col li,
.cons-col li {
  font-size: 14px;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.pros-col li::before {
  content: '+';
  color: var(--green-dark);
  font-weight: 900;
  flex-shrink: 0;
}

.cons-col li::before {
  content: '−';
  color: #991b1b;
  font-weight: 900;
  flex-shrink: 0;
}

/* Who Should Buy / Skip */

.who-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0 32px;
}

.who-buy,
.who-skip {
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid;
  background: var(--border-light);
}

.who-buy {
  border-color: var(--primary);
  background: #eff6ff;
}

.who-skip {
  border-color: #6b7280;
  background: #f3f4f6;
}

.who-buy h5,
.who-skip h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.who-buy h5 { color: var(--primary); }
.who-skip h5 { color: #4b5563; }

.who-buy p,
.who-skip p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* Testing data callout */

.test-callout {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #fef9c3, #fef08a);
  border: 1px solid #fde047;
  padding: 22px 26px;
  border-radius: var(--radius);
  margin: 28px 0;
  flex-wrap: wrap;
}

.test-callout .label {
  font-weight: 800;
  color: #854d0e;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.test-callout .data {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.test-callout .data-item {
  font-size: 14px;
  color: #713f12;
  font-weight: 600;
}

.test-callout .data-item strong {
  font-size: 18px;
  color: #854d0e;
  margin-right: 4px;
}

/* Review footer actions */

.review-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.amazon-btn.big {
  padding: 18px 30px;
  font-size: 15px;
}

.amazon-btn.outline {
  background: white;
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  box-shadow: none;
}

.amazon-btn.outline:hover {
  background: #fff7ed;
  box-shadow: var(--shadow-sm);
}

/* =========================
   Buying Guide
   ========================= */

.guide-content {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

.guide-content > p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 36px;
}

.guide-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-content h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.guide-content > ul {
  list-style: none;
  margin: 0 0 10px 14px;
}

.guide-content li {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.guide-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* =========================
   FAQ
   ========================= */

.faq-section {
  background: white;
}

.faq-item {
  max-width: 820px;
  margin: 0 auto 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-item h3:hover {
  background: #f8fafc;
}

.faq-item h3 .arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border-light);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 14px;
}

.faq-item.open h3 .arrow {
  background: var(--primary);
  color: white;
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-item .faq-answer p {
  padding: 0 26px 22px;
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

/* FAQ Container (article page) */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

/* FAQ Question button (article page) */
.faq-question {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s ease;
  background: none;
  border: none;
  text-align: left;
  color: var(--dark);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question .faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border-light);
  border-radius: 50%;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 14px;
}

.faq-item.open .faq-question .faq-toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

/* =========================
   Share Section
   ========================= */

.share-section {
  padding: 40px 0 0;
}

.share-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.share-box p {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 15px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.share-btn:hover {
  transform: translateY(-3px);
}

.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.pin { background: #e60023; }
.share-btn.email { background: var(--muted); }

/* =========================
   Disclosure
   ========================= */

.disclosure {
  padding: 50px 0;
  background: var(--border-light);
}

.disclosure h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.disclosure p {
  font-size: 13px;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

/* =========================
   Footer
   ========================= */

.footer {
  background: linear-gradient(135deg, var(--dark), #1e293b);
  color: #94a3b8;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer h3 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer h3 span {
  color: var(--primary-light);
}

.footer > div p,
.footer-container > div:first-child p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 360px;
  margin-top: 8px;
}

.footer h4 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

.copyright {
  text-align: center;
  border-top: 1px solid #334155;
  margin-top: 50px;
  padding-top: 24px;
  font-size: 13px;
  color: #64748b;
}

/* =========================
   Sticky Mobile CTA Bar
   ========================= */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  z-index: 997;
  gap: 10px;
}

.mobile-cta.active {
  display: flex;
}

.mobile-cta .mini-cta {
  flex: 1;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #111;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.mobile-cta .compare-cta {
  background: var(--primary);
  color: white;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
}

/* =========================
   Animations
   ========================= */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h1 span {
    font-size: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pros-cons,
  .who-section {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-header .container {
    height: 64px;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h1 span {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .mini-card {
    padding: 14px 8px;
  }

  .mini-card img {
    height: 80px;
  }

  .mini-card h3 {
    font-size: 11px;
  }

  .top-picks,
  .comparison-section,
  .selection-section,
  .reviews-section,
  .buying-guide,
  .faq-section {
    padding: 56px 0;
  }

  .top-picks h2,
  .comparison-section h2,
  .selection-section h2,
  .reviews-section h2,
  .buying-guide h2,
  .faq-section h2 {
    font-size: 28px;
  }

  .section-desc {
    font-size: 15px;
    padding: 0 10px;
    margin-bottom: 36px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .review-card {
    padding: 28px 22px;
  }

  .review-header h3 {
    font-size: 20px;
  }

  .guide-content {
    padding: 30px 22px;
  }

  .guide-content h3 {
    font-size: 17px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .test-callout {
    padding: 18px 20px;
  }

  .share-box {
    padding: 22px;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .primary-btn {
    padding: 16px 28px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }

  .trust-pills {
    gap: 8px;
  }

  .trust-pill {
    font-size: 11px;
    padding: 6px 10px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .review-actions {
    flex-direction: column;
  }

  .amazon-btn.big,
  .amazon-btn.outline {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   Article / Review Page Styles
   ========================= */

.article-hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 60%, #60a5fa 100%);
  padding: 40px 0 30px;
  color: white;
  overflow: visible;
  position: relative;
}

.article-hero .hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-hero h1 {
  font-size: 40px;
  color: white;
  margin-bottom: 10px;
  line-height: 1.15;
}

.article-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.article-hero .hero-rating {
  color: #fde047;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.article-hero .hero-image {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 30px auto 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Content Sections */

.review-image {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  background: #f8fafc;
  padding: 12px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 600px) {
  .review-image {
    max-width: 320px;
  }
}

.hero-image {
  display: block;
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .hero-image {
    max-width: 260px;
  }
}

.content-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
}

.content-section:nth-child(even) {
  background: white;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.content-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--primary);
}

.content-section p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}

.content-section ul li {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.content-section ul li:last-child {
  border-bottom: none;
}

.content-section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.content-section ul li strong {
  color: var(--dark);
}

/* Pros & Cons Feature Boxes */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}

.feature-box {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.feature-box h3:first-child {
  margin-top: 0;
}

.feature-box:first-child h3 {
  border-bottom-color: var(--green);
  color: var(--green-dark);
}

.feature-box:last-child h3 {
  border-bottom-color: var(--red);
  color: var(--red);
}

.feature-box ul li {
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0 8px 0;
}

.feature-box:first-child ul li::before {
  content: '+';
  color: var(--green);
}

.feature-box:last-child ul li::before {
  content: '−';
  color: var(--red);
}

/* Comparison Table */

.comparison-table {
  margin: 24px 0;
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 500px;
}

.comparison-table th {
  background: linear-gradient(135deg, var(--dark), #1e293b);
  color: white;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: #475569;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: #f8fafc;
}

/* Final Rating */

.final-rating {
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
  text-align: center;
}

.final-rating h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 16px;
  border: none;
}

.final-rating ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
  max-width: 440px;
  margin: 0 auto;
  padding: 0;
}

.final-rating ul li {
  font-size: 14px;
  color: #475569;
  text-align: left;
  padding: 6px 0;
  border-bottom: none;
  position: static;
}

.final-rating ul li::before {
  content: none;
}

/* FAQ Section (article page) */

.faq-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px;
}

.faq-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}

/* Footer Columns (article page) */

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  font-family: 'Poppins', sans-serif;
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-column p {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin-top: 8px;
}

/* Review page CTA button variation */
.content-section .amazon-btn {
  max-width: 420px;
  margin: 24px auto 0;
}

/* Article hero mobile */
@media (max-width: 768px) {
  .article-hero {
    padding: 28px 0 22px;
  }

  .article-hero h1 {
    font-size: 28px;
  }

  .article-hero p {
    font-size: 14px;
  }

  .content-section {
    padding: 48px 20px;
  }

  .content-section h2 {
    font-size: 25px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .final-rating ul {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding: 48px 20px;
  }

  .faq-section h2 {
    font-size: 25px;
  }

  .amazon-btn {
    min-height: 48px;
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* =========================
   CTA Buttons (Guides & Pages)
   ========================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1.3;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.cta-blue-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.cta-blue-primary:hover {
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
}

.cta-blue-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 2px 10px rgba(30, 64, 175, 0.08);
}

.cta-blue-secondary:hover {
  background: var(--primary);
  color: white;
}

.cta-blue-tertiary {
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--border);
}

.cta-blue-tertiary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* =========================
   Pinterest Components
   ========================= */

.trending-ideas {
  padding: 60px 0;
  background: #fff;
}

.trending-ideas h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 8px;
}

.pinterest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.pin-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.pin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.pin-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.pin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-content {
  padding: 16px 18px 20px;
}

.pin-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--dark);
}

.pin-content p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pin-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.pin-link:hover {
  color: var(--primary-light);
}

/* Pin Save Button (hover overlay) */
.pin-save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e60023;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pin-card:hover .pin-save-btn {
  opacity: 1;
}

/* Pinterest Hero Image (Review pages) */
.pinterest-hero-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: block;
}

.pinterest-hero-image svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .pinterest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pin-content h3 {
    font-size: 14px;
  }

  .pin-content p {
    font-size: 12px;
  }

  .trending-ideas h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .pinterest-grid {
    grid-template-columns: 1fr;
  }
}
