/* ============================================================
   AFFILIATE ENGINE — Stylesheet
   Niche-agnostic. Fast. Conversion-focused.
   ============================================================ */

/* ── CSS Variables (Light Mode) ── */
:root {
  --color-bg:            #ffffff;
  --color-surface:       #f8f9fa;
  --color-border:        #e2e5e9;
  --color-text:          #1a1a2e;
  --color-text-muted:    #5a6270;
  --color-primary:       #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-accent:        #f59e0b;
  --color-success:       #10b981;
  --color-danger:        #ef4444;
  --color-cta-bg:        #2563eb;
  --color-cta-text:      #ffffff;
  --color-info-bg:       #eff6ff;
  --color-info-border:   #bfdbfe;
  --color-info-text:     #1e40af;
  --color-cta-gradient:  linear-gradient(135deg, #eff6ff, #f0fdf4);
  --color-th-bg:         #2563eb;
  --color-th-text:       #ffffff;
  --color-tr-stripe:     #f8f9fa;
  --color-tr-hover:      rgba(37, 99, 235, 0.05);

  --font-body:           'Georgia', 'Times New Roman', serif;
  --font-heading:        system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:           'SFMono-Regular', Consolas, monospace;

  --max-width:           1140px;
  --max-width-narrow:    720px;
  --radius:              6px;
  --shadow-sm:           0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:           0 4px 12px rgba(0,0,0,0.1);
  --transition:          0.2s ease;
}

/* ── Dark Mode: explicit toggle ── */
[data-theme="dark"] {
  --color-bg:            #0f172a;
  --color-surface:       #1e293b;
  --color-border:        #334155;
  --color-text:          #e2e8f0;
  --color-text-muted:    #94a3b8;
  --color-primary:       #3b82f6;
  --color-primary-hover: #60a5fa;
  --color-success:       #34d399;
  --color-danger:        #f87171;
  --color-cta-bg:        #3b82f6;
  --color-info-bg:       #1e3a5f;
  --color-info-border:   #1d4ed8;
  --color-info-text:     #93c5fd;
  --color-cta-gradient:  linear-gradient(135deg, #1e3a5f, #14332a);
  --color-th-bg:         #1d4ed8;
  --color-th-text:       #ffffff;
  --color-tr-stripe:     #1e293b;
  --color-tr-hover:      rgba(59, 130, 246, 0.08);
  --shadow-sm:           0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:           0 4px 12px rgba(0,0,0,0.4);
}

/* ── Dark Mode: system preference (auto, no saved preference) ── */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --color-bg:            #0f172a;
    --color-surface:       #1e293b;
    --color-border:        #334155;
    --color-text:          #e2e8f0;
    --color-text-muted:    #94a3b8;
    --color-primary:       #3b82f6;
    --color-primary-hover: #60a5fa;
    --color-success:       #34d399;
    --color-danger:        #f87171;
    --color-cta-bg:        #3b82f6;
    --color-info-bg:       #1e3a5f;
    --color-info-border:   #1d4ed8;
    --color-info-text:     #93c5fd;
    --color-cta-gradient:  linear-gradient(135deg, #1e3a5f, #14332a);
    --color-th-bg:         #1d4ed8;
    --color-th-text:       #ffffff;
    --color-tr-stripe:     #1e293b;
    --color-tr-hover:      rgba(59, 130, 246, 0.08);
    --shadow-sm:           0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:           0 4px 12px rgba(0,0,0,0.4);
  }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 1.25rem; }

/* ── Grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.site-logo:hover { color: var(--color-primary); }

/* Right-side group: nav links + actions */
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-actions { display: flex; align-items: center; gap: 0.25rem; }

.site-nav { display: flex; gap: 1.5rem; }
.site-nav__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--color-primary); }

/* ── Dark mode toggle ── */
.dark-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  line-height: 1;
}
.dark-toggle:hover { color: var(--color-text); background: var(--color-surface); }
.dark-toggle svg { width: 18px; height: 18px; }

/* Show moon in light mode, sun in dark mode */
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .icon-sun { display: block; }
  html:not([data-theme="light"]) .icon-moon { display: none; }
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  margin: 4px 0;
  transition: var(--transition);
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 3rem 0;
  text-align: center;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.hero__tagline {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.posts-grid { padding: 2.5rem 0; }
.categories-strip {
  padding: 2rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.cat-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cat-pill--sm { font-size: 0.75rem; padding: 0.25rem 0.65rem; }
.cat-count {
  background: var(--color-surface);
  padding: 0.1rem 0.4rem;
  border-radius: 50px;
  font-size: 0.7rem;
}

.load-more { text-align: center; margin-top: 2rem; }

/* ============================================================
   POST CARD
   ============================================================ */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__link { display: block; color: inherit; }
.card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--color-surface); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.25rem; }
.card__cat {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.4rem 0 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card__excerpt { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.5; }
.card__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post { padding: 2.5rem 0 3rem; }
.post__header { margin-bottom: 2rem; }
.post__cats { margin-bottom: 0.75rem; display: flex; gap: 0.4rem; }
.post__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.post__excerpt { font-size: 1.1rem; color: var(--color-text-muted); margin-top: 0.75rem; line-height: 1.5; }
.post__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}
.post__hero-img { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }

/* ── Trust Bar (Stage 1) ── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.78rem;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-text-muted);
}
.trust-bar__item svg { color: var(--color-success); flex-shrink: 0; }
.trust-bar__disclosure { margin-left: auto; opacity: 0.7; font-style: italic; }

/* ── Top-Pick Jump Bar (Stage 2) ── */
.top-pick-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.1rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.88rem;
}
[data-theme="dark"] .top-pick-bar { background: linear-gradient(135deg, #1e3a5f, #14332a); }
.top-pick-bar__label { font-weight: 600; color: var(--color-text-muted); white-space: nowrap; }
.top-pick-bar__name { font-weight: 700; color: var(--color-text); flex: 1; }
.top-pick-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.top-pick-bar__link svg { transition: transform 0.2s ease; }
.top-pick-bar__link:hover svg { transform: translateY(3px); }

/* ── Soft CTA link (Stage 2 — early article) ── */
.cta-soft { margin: 1.25rem 0; }
.cta-soft__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--color-primary);
  padding-bottom: 1px;
}
.cta-soft__link:hover { border-bottom-style: solid; }

/* ── Final CTA Block (Stage 5 — conclusion) ── */
.cta-final {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  text-align: center;
}
.cta-final__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.cta-final__btn {
  display: inline-block;
  background: linear-gradient(to bottom, #ffb84d, #FF9900);
  color: #111 !important;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,153,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
}
.cta-final__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,153,0,0.45);
  color: #111 !important;
}
.cta-final__trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--color-success);
  font-weight: 600;
}
.cta-final__trust span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── Verdict Box CTA (Stage 4) ── */
.verdict-box__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.08);
}
.verdict-box__btn {
  display: inline-block;
  background: linear-gradient(to bottom, #ffb84d, #FF9900);
  color: #111 !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,153,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.verdict-box__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,153,0,0.42);
  color: #111 !important;
}
.verdict-box__trust {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ── Affiliate Disclosure Banner ── */
.affiliate-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--color-info-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.affiliate-notice svg { flex-shrink: 0; margin-top: 2px; }

/* ── Table of Contents ── */
.toc {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.toc__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.toc__title::marker { content: ''; }
.toc__title::before { content: '☰ '; }
.toc nav { margin-top: 0.75rem; }
.toc ul { list-style: disc; padding-left: 1.25rem; }
.toc ul ul { list-style: circle; padding-left: 1.25rem; }
.toc ul ul ul { list-style: square; }
.toc li { margin: 0.3rem 0; }
.toc a { font-family: var(--font-heading); font-size: 0.85rem; color: var(--color-text-muted); }
.toc a:hover { color: var(--color-primary); }

/* ── Prose / Article Body ── */
.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.75rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
  letter-spacing: -0.02em;
}
.prose h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1.5rem; }
.prose h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--color-primary);
}
.prose p { margin-bottom: 1.25rem; }

/* Highlighted test-result callout — wraps bold key stats in articles */
.prose strong { color: var(--color-text); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }
.prose ul { list-style: disc; margin: 1rem 0 1.25rem 0; padding-left: 1.5rem; }
.prose ol { list-style: decimal; margin: 1rem 0 1.25rem 0; padding-left: 1.5rem; }
.prose ul ul { list-style: circle; }
.prose ul ul ul { list-style: square; }
.prose ol ol { list-style: lower-alpha; }
.prose li { margin-bottom: 0.35rem; }
.prose blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--color-text-muted);
  font-style: italic;
}
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }

/* ── Tables ── */
.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  -webkit-overflow-scrolling: touch;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  margin: 0;
}

.prose thead tr { background: var(--color-th-bg); }

.prose th {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-th-text);
  text-align: left;
  white-space: nowrap;
  border: none;
}

.prose td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.prose tbody tr:first-child td { border-top: none; }
.prose tbody tr:nth-child(even) { background: var(--color-tr-stripe); }
.prose tbody tr:hover { background: var(--color-tr-hover); }
.prose td:first-child { font-weight: 600; white-space: nowrap; }

.table-scroll::-webkit-scrollbar { height: 4px; }
.table-scroll::-webkit-scrollbar-track { background: var(--color-surface); }
.table-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
.table-scroll::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* ── Tags ── */
.post__tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.post__faq { margin: 2.5rem 0; }
.post__faq-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
.tag-pill {
  padding: 0.25rem 0.65rem;
  background: var(--color-surface);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.tag-pill:hover { background: var(--color-border); }

/* ── Related Posts ── */
.related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }

/* ============================================================
   ARCHIVE / LIST
   ============================================================ */
.archive { padding: 2.5rem 0; }
.archive__header { margin-bottom: 2rem; }
.archive__title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; }
.archive__count { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.35rem; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  list-style: none;
}
.pagination .page-item a,
.pagination .page-item span {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
}
.pagination .page-item.active span {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ============================================================
   AFFILIATE COMPONENTS
   ============================================================ */

/* ── Product Card (info display — no button) ── */
.product-card {
  display: flex;
  gap: 0;
  margin: 2rem 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .product-card { background: var(--color-surface); }

.product-card__img {
  flex: 0 0 200px;
  background: #ffffff;
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  min-height: 190px;
}
.product-card__img img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-card__info { flex: 1; padding: 1.25rem 1.5rem; }
.product-card__name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--color-text); }

.product-card__rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.stars { display: inline-flex; font-size: 1.1rem; line-height: 1; letter-spacing: 0.05em; }
.star-full  { color: var(--color-accent); }
.star-empty { color: var(--color-border); }
.star-half  { position: relative; display: inline-block; color: var(--color-border); }
.star-half::before { content: '★'; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--color-accent); }
.product-card__rating-num { font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); }
.product-card__score-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.product-card__pros-cons { display: flex; gap: 1.5rem; font-size: 0.85rem; margin-bottom: 1.1rem; }
.product-card__pros ul, .product-card__cons ul { list-style: none; margin: 0.35rem 0 0 0; padding: 0; }
.product-card__pros li, .product-card__cons li { margin-bottom: 0.2rem; line-height: 1.5; }
.product-card__pros li::before { content: '✓ '; color: var(--color-success); font-weight: 700; }
.product-card__cons li::before { content: '✗ '; color: var(--color-danger); font-weight: 700; }
.product-card__cta-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #ffb84d, #FF9900);
  color: #111 !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,153,0,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.product-card__cta-btn:hover {
  background: linear-gradient(to bottom, #ffad33, #e68900);
  color: #111 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,153,0,0.4);
}

@media (max-width: 640px) {
  .product-card { flex-direction: column; }
  .product-card__img { flex: none; width: 100%; min-height: 180px; border-right: none; border-bottom: 1px solid var(--color-border); padding: 1rem 2rem; }
  .product-card__img img { height: 180px; }
  .product-card__pros-cons { flex-direction: column; gap: 0.75rem; }
}

/* ── Standalone CTA Strip ── */
.cta-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, #fff8ee 0%, #fff3e0 100%);
  border: 2px solid #FF9900;
  border-radius: var(--radius);
  text-align: center;
}
[data-theme="dark"] .cta-strip { background: linear-gradient(135deg, #2a1f00 0%, #1e1800 100%); }
.cta-strip__btn {
  display: inline-block;
  background: linear-gradient(to bottom, #ffb84d, #FF9900);
  color: #111 !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(255,153,0,0.35);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-strip__btn:hover {
  background: linear-gradient(to bottom, #ffad33, #e68900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,153,0,0.45);
  color: #111 !important;
}
.cta-strip__trust {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--color-success);
  font-weight: 600;
}

/* .cta-box removed — replaced by .cta-strip */

/* ── Verdict Box ── */
.verdict-box { margin: 2rem 0; border: 2px solid var(--color-primary); border-radius: var(--radius); overflow: hidden; }
.verdict-box__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: white;
}
.verdict-box__label { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
.verdict-box__score { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.verdict-box__score small { font-weight: 400; opacity: 0.7; }
.verdict-box__body { padding: 1.25rem; font-size: 0.95rem; }

/* ── Comparison Table ── */
.comparison-table { margin: 2rem 0; overflow-x: auto; }
.comparison-table table { min-width: 500px; }
.comparison-table th:first-child { width: 30%; }

/* ── FAQ Accordion ── */
.faq-item {
  margin: 0.5rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--color-primary); }

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--color-surface);
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}
.faq-item__q:hover { background: var(--color-bg); }
.faq-item__q::marker { content: ''; }
.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__text { flex: 1; }
.faq-item__text::before {
  content: '•';
  color: var(--color-primary);
  font-size: 1.1em;
  margin-right: 0.5rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }

.faq-item__a {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  animation: faq-open 0.2s ease;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn--primary { background: var(--color-cta-bg); color: var(--color-cta-text); }
.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-cta-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn--outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text); }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Amazon CTA button — high-conversion affiliate action */
.btn--amazon {
  background: linear-gradient(to bottom, #ffb84d, #FF9900);
  color: #111111;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.30);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn--amazon:hover {
  background: linear-gradient(to bottom, #ffad33, #e68900);
  color: #111111;
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.45);
  transform: translateY(-2px);
}
.btn--amazon:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(255, 153, 0, 0.25); }

/* Amazon CTA wrapper — button + trust line */
.amazon-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin: 1.25rem 0; }
.amazon-cta--center { align-items: center; text-align: center; }
.amazon-cta__trust { font-family: var(--font-heading); font-size: 0.75rem; color: var(--color-text-muted); }
.amazon-cta__trust strong { color: var(--color-success); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { margin-top: 3rem; padding: 2rem 0; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.site-footer__inner { text-align: center; }
.site-footer__disclosure { max-width: 600px; margin: 0 auto 1.25rem; font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.6; }
.site-footer__links { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1rem; }
.site-footer__links a { font-family: var(--font-heading); font-size: 0.8rem; color: var(--color-text-muted); }
.site-footer__links a:hover { color: var(--color-primary); }
.site-footer__copy { font-size: 0.75rem; color: var(--color-text-muted); }

/* ============================================================
   SPECS TABLE
   ============================================================ */
.specs-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; border-radius: var(--radius); }
.specs-table table { width: 100%; border-collapse: collapse; font-family: var(--font-heading); font-size: 0.9rem; margin: 0; }
.specs-table thead th { background: var(--color-surface); color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; padding: 0.6rem 1rem; border-bottom: 2px solid var(--color-border); text-align: left; white-space: nowrap; }
.specs-table tbody tr { border-bottom: 1px solid var(--color-border); }
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody tr:nth-child(even) { background: var(--color-surface); }
.specs-table tbody td { padding: 0.6rem 1rem; color: var(--color-text); vertical-align: top; }
.specs-table tbody td:first-child { color: var(--color-text-muted); font-weight: 600; white-space: nowrap; width: 1%; }
@media (max-width: 480px) { .specs-table tbody td:first-child { white-space: normal; } }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found { display: flex; align-items: center; justify-content: center; min-height: 60vh; text-align: center; }
.not-found__inner { padding: 2rem; }
.not-found__code { font-family: var(--font-heading); font-size: 7rem; font-weight: 700; line-height: 1; color: var(--color-primary); opacity: 0.15; }
.not-found__title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; margin: 0 0 0.75rem; color: var(--color-text); }
.not-found__msg { color: var(--color-text-muted); margin-bottom: 2rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
}

/* ── Scroll-to-top button ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.scroll-top:hover { background: var(--color-primary-hover); transform: translateY(10px); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
