/* ============================================================
   AFFILITYPRIME — COMPONENTS CSS
   ============================================================ */

/* ── HEADER / NAVBAR ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.header-spacer { height: 74px; }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.site-logo { text-decoration: none; }
.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.5px;
}
.logo-accent { color: var(--pu); }
.nav-links { flex: 1; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  justify-content: center;
}
.nav-menu li a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
  text-decoration: none;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--pu);
  background: var(--pu-bg);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO SECTION ── */
.hero-section {
  background: linear-gradient(135deg, #FAF8FF 0%, #F0EBFF 50%, #F8F4FF 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .pill { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-accent { color: var(--pu); display: block; }
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

/* Hero Cards */
.hero-cards { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(124,58,237,.08);
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hero-card-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.hero-deal-list { display: flex; flex-direction: column; gap: 10px; }
.hero-deal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  background: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
}
.deal-icon { font-size: 18px; }
.deal-text { flex: 1; font-weight: 500; }
.deal-save { background: #DCFCE7; color: #166534; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.hero-cat-list { display: flex; flex-direction: column; gap: 8px; }
.hero-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg);
  text-decoration: none;
  transition: all .2s;
}
.hero-cat-item:hover { background: var(--pu-bg); color: var(--pu); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--pu);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── TRUST CARDS ── */
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all .25s;
}
.trust-card:hover { border-color: var(--pu); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-icon { font-size: 40px; margin-bottom: 16px; }
.trust-card h3 { font-size: 18px; margin-bottom: 10px; }
.trust-mini { text-align: left; }
.trust-mini:hover { border-color: var(--pu); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ── CATEGORY BLOCKS ── */
.cat-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all .25s;
  display: block;
}
.cat-block:hover { border-color: var(--pu); transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--pu-bg); }
.cat-icon { font-size: 40px; margin-bottom: 12px; }
.cat-name { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.cat-desc { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cat-comm { font-size: 11px; color: var(--pu); font-weight: 700; }

/* ── FOOTER ── */
.site-footer {
  background: #1A1A2E;
  color: #fff;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--pu3); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.social-link:hover { background: var(--pu); color: #fff; }
.footer-widget-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(124,58,237,.4);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--pu3); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--pu3); }

/* ── AMAZON DISCLOSURE ── */
.amazon-disclosure {
  background: #FFF9EB;
  border-top: 1px solid #FDE68A;
  padding: 12px 24px;
  text-align: center;
  font-size: 12px;
  color: #92400E;
}

/* ── SINGLE PAGE LAYOUT ── */
.single-page { padding: 48px 0 80px; }
.single-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.single-main {}
.review-hero { margin-bottom: 24px; }
.review-hero-inner { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.review-product-img {
  background: var(--pu-bg);
  border-radius: var(--radius);
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  overflow: hidden;
}
.review-product-img img { width: 100%; height: 200px; object-fit: cover; }
.article-body { font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.article-body h2 { margin: 32px 0 16px; }
.article-body h3 { margin: 24px 0 12px; }
.article-body p  { margin-bottom: 16px; color: var(--text); }
.article-body ul { margin: 16px 0 16px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: var(--radius); margin: 24px 0; }
.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--pu-bg);
  border: 1px solid rgba(124,58,237,.2);
}
.author-avatar { font-size: 32px; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.author-bio { font-size: 13px; color: var(--muted); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--pu); }

/* ── ARCHIVE PAGE ── */
.page-hero {
  background: linear-gradient(135deg, #FAF8FF, #F0EBFF);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; }
.archive-main {}
.archive-sidebar {}

/* ── PAGE TEMPLATE ── */
.page-template .page-hero { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  background: var(--pu);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 16px;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .single-sidebar { display: none; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: block; position: fixed; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-toggle { display: flex; }
  .review-hero-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .stats-bar .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(2n) { border-right: none; }
}
