/* ==========================================================================
   FitMotion Lab — Design System v2
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* Colors */
  --ink: #0b0f17;
  --ink-2: #1a2233;
  --ink-3: #2a3447;
  --paper: #fafbfc;
  --paper-2: #ffffff;
  --paper-3: #f1f5f9;
  --line: #e6ecf2;
  --line-2: #d6dee8;
  --muted: #64748b;
  --muted-2: #475569;
  --text: #0f172a;
  --accent: #10b981;
  --accent-2: #059669;
  --accent-soft: #d1fae5;
  --warn: #f59e0b;
  --warn-soft: #fef3c7;
  --gold: #d4a72c;
  --silver: #a8b3c5;
  --bronze: #c4794d;
  --rose: #e11d48;
  --rose-soft: #fee2e2;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout */
  --maxw: 1280px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(15,23,42,.06);
  --sh: 0 4px 14px rgba(15,23,42,.07), 0 1px 3px rgba(15,23,42,.05);
  --sh-md: 0 10px 30px rgba(15,23,42,.09), 0 2px 6px rgba(15,23,42,.05);
  --sh-lg: 0 24px 50px rgba(15,23,42,.16), 0 4px 14px rgba(15,23,42,.08);

  --tr: 220ms cubic-bezier(.4,.2,.2,1);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01","cv11","tnum";
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--ink); }
button { font-family: inherit; cursor: pointer; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.018em;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); letter-spacing: -.022em; }
h3 { font-size: 1.18rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.022em;
  color: var(--ink) !important;
  white-space: nowrap;
}
.logo:hover { color: var(--accent-2) !important; }
.logo-img {
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  /* The source logo has transparent corners, so no wrapper background. */
}
.brand-mark { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.08rem; font-weight: 700; letter-spacing: -.022em; }
.brand-tag {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-top: 4px;
}

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  color: var(--muted-2);
  font-weight: 500;
  font-size: .94rem;
  padding: 9px 14px;
  border-radius: 9px;
  transition: all var(--tr);
  position: relative;
}
nav a:hover { color: var(--ink); background: var(--paper-3); }
nav a.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  margin-left: 8px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(11,15,23,.18);
}
nav a.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--tr);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--sh-md);
    border-bottom: 1px solid var(--line);
  }
  nav.is-open { display: flex; }
  nav a { padding: 12px 14px; }
  nav a.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  padding: 110px 0 96px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: .92;
  filter: saturate(1) contrast(1.06);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 70% at 80% 25%, rgba(16,185,129,.22), transparent 65%),
    linear-gradient(135deg, rgba(11,15,23,.78) 0%, rgba(11,15,23,.30) 50%, rgba(11,15,23,.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero { padding: 70px 0 70px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,.13);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.34);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16,185,129,.25);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -.034em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero h1 span {
  background: linear-gradient(120deg, #34d399 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 1.13rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  transition: all var(--tr);
}
.hero-cta.primary {
  background: var(--accent);
  color: var(--ink) !important;
  box-shadow: 0 10px 30px rgba(16,185,129,.35);
}
.hero-cta.primary:hover { transform: translateY(-2px); background: #34d399; }
.hero-cta.ghost {
  background: rgba(255,255,255,.07);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-cta.ghost:hover { background: rgba(255,255,255,.13); }

/* Hero feature panel (replaces stats) */
.hero-panel {
  position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16,185,129,.4), transparent 40%, rgba(34,211,238,.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px dashed rgba(255,255,255,.13);
}
.hero-logo-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(52,211,153,.55), transparent 70%),
    linear-gradient(160deg, #f4fff9 0%, #cdeede 60%, #b6e6c7 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 24px 48px rgba(16,185,129,.4),
    0 0 0 1px rgba(255,255,255,.55),
    inset 0 -10px 24px rgba(11,15,23,.06);
  position: relative;
  flex-shrink: 0;
}
.hero-logo-circle::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px dashed rgba(16,185,129,.32);
  border-radius: 50%;
  animation: spin 22s linear infinite;
  pointer-events: none;
}
.hero-logo-circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px solid rgba(16,185,129,.42);
  border-radius: 50%;
  animation: spin 14s linear infinite reverse;
  border-top-color: rgba(52,211,153,.95);
  border-right-color: rgba(34,211,238,.7);
  pointer-events: none;
}
.hero-logo-circle img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  background: transparent;
  /* No drop-shadow — that traces the alpha and creates a card outline if the
     source image has a non-transparent background. */
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-brand-block { line-height: 1.2; }
.hero-brand-block .name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
.hero-brand-block .tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-brand-block .desc {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  line-height: 1.45;
  margin-top: 6px;
}

.hero-features { display: flex; flex-direction: column; gap: 14px; }
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hero-feature .icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(16,185,129,.13);
  border: 1px solid rgba(16,185,129,.32);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.hero-feature .icon svg { width: 18px; height: 18px; }
.hero-feature .text { color: rgba(255,255,255,.92); font-size: .92rem; line-height: 1.45; }
.hero-feature .text b { color: #fff; font-weight: 600; }
.hero-feature .text small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  margin-top: 2px;
}

/* ==========================================================================
   AFFILIATE BAR
   ========================================================================== */
.aff-bar {
  background: var(--paper-3);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted-2);
  padding: 11px 0;
  text-align: center;
}
.aff-bar strong { color: var(--ink); margin-right: 6px; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 78px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, #fff 0%, var(--paper-3) 100%); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.04rem; max-width: 640px; margin: 0 auto; }
.section-head .divider {
  width: 64px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
}

/* ==========================================================================
   EDITOR'S TOP PICKS — Magazine layout
   ========================================================================== */
.featured-strip { padding: 78px 0 50px; background: linear-gradient(180deg, var(--paper-3), var(--paper)); }

.toppicks-mag {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .toppicks-mag { grid-template-columns: 1fr; } }

.toppicks-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  min-height: 460px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  isolation: isolate;
  box-shadow: var(--sh-md);
  transition: transform var(--tr), box-shadow var(--tr);
}
.toppicks-hero:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.toppicks-hero img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.6,.2,1);
}
.toppicks-hero:hover img { transform: scale(1.04); }
.toppicks-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,15,23,0) 30%, rgba(11,15,23,.85) 100%);
}
.toppicks-hero-body {
  position: relative;
  z-index: 2;
  padding: 36px;
  width: 100%;
}
.toppicks-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .76rem;
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: .08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.toppicks-rank-pill svg { width: 14px; height: 14px; }
.toppicks-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 12px;
}
.toppicks-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  flex-wrap: wrap;
}
.toppicks-meta .stars-mini { color: var(--warn); letter-spacing: .04em; }
.toppicks-meta .score-pill {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .82rem;
}

.toppicks-side { display: flex; flex-direction: column; gap: 18px; }
.toppicks-side-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--tr);
  flex: 1;
  min-height: 220px;
}
.toppicks-side-card:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--sh-md); }
.toppicks-side-img {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}
.toppicks-side-img img { width: 100%; height: 100%; object-fit: cover; }
.toppicks-side-img-rank {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .8rem;
  background: var(--ink);
  color: #fff;
  padding: 5px 9px;
  border-radius: 6px;
  letter-spacing: .05em;
}
.toppicks-side-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.toppicks-side-rank {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.toppicks-side-title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.014em;
  color: var(--ink);
  line-height: 1.25;
}
.toppicks-side-meta { font-size: .82rem; color: var(--muted); }
.toppicks-side-stars { color: var(--warn); margin-right: 6px; }
.toppicks-side-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-top: 4px;
}

@media (max-width: 540px) {
  .toppicks-side-card { grid-template-columns: 1fr; min-height: auto; }
  .toppicks-side-img { aspect-ratio: 16/9; }
}

/* ==========================================================================
   PRODUCT GRID (cards)
   ========================================================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 1080px) { .content-with-sidebar { grid-template-columns: 1fr; } }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 460px)  { .products-grid { grid-template-columns: 1fr; } }

/* When sidebar is present, fewer columns to fit width */
.content-with-sidebar .products-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1280px) { .content-with-sidebar .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1080px) { .content-with-sidebar .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px)  { .content-with-sidebar .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 460px)  { .content-with-sidebar .products-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--sh-md);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--paper-3) 0%, #e9eef5 100%);
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.6,.2,1);
}
.product-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.card-rating-badge {
  position: absolute;
  top: 12px; right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .76rem;
  padding: 5px 9px;
  border-radius: 6px;
}
.card-rating-badge .si { color: var(--warn); }

/* Price badge — special floating badge */
.card-price-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .04em;
  padding: 6px 11px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(16,185,129,.32);
  text-transform: uppercase;
}
.card-price-badge.warn { background: linear-gradient(135deg, var(--warn), #d97706); box-shadow: 0 8px 18px rgba(245,158,11,.3); }
.card-price-badge.rose { background: linear-gradient(135deg, var(--rose), #be123c); box-shadow: 0 8px 18px rgba(225,29,72,.3); }
.card-price-badge.ink  { background: var(--ink); box-shadow: 0 8px 18px rgba(11,15,23,.3); }

.card-body {
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-brand {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--muted);
  text-transform: uppercase;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.stars-row { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.stars-char { color: var(--warn); letter-spacing: .04em; }
.rating-num { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.rating-count { color: var(--muted); }

.card-snippet { color: var(--muted-2); font-size: .87rem; line-height: 1.55; margin: 4px 0 0; }

/* Price row */
.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.card-price .amount {
  font-family: var(--font-mono);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.card-price .est-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  font-weight: 600;
}
.card-price .crossed {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.card-footer {
  padding: 0 18px 18px;
}
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-2);
  transition: gap var(--tr);
}
.product-card:hover .btn-review { gap: 10px; }

/* Trust note replacing reviews count */
.trust-note {
  background: linear-gradient(135deg, var(--accent-soft) 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: .92rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-note .icon { font-size: 1.2rem; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sidebar { position: sticky; top: 110px; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
}
.sidebar-widget h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-item {
  display: grid;
  grid-template-columns: 32px 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background var(--tr);
}
.sidebar-item:hover { background: var(--paper-3); }
.sidebar-rank {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent-2);
  text-align: center;
}
.sidebar-img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.sidebar-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sidebar-name {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-stars { font-size: .76rem; color: var(--muted); }
.sidebar-link { display: none; }

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.pagination button, .pagination a {
  font-family: var(--font-mono);
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all var(--tr);
}
.pagination button:hover { background: var(--paper-3); }
.pagination button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination button[disabled] { opacity: .4; cursor: not-allowed; }

/* ==========================================================================
   COMPARE TABLE
   ========================================================================== */
.compare-section { background: linear-gradient(180deg, var(--paper-3) 0%, #fff 100%); }
.compare-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}
.compare-table th {
  text-align: left;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 18px 18px;
}
.compare-table td {
  padding: 18px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: .92rem;
}
.compare-row { transition: background var(--tr); cursor: pointer; }
.compare-row:hover { background: var(--paper-3); }
.compare-rank { font-size: 1.4rem; text-align: center; font-weight: 700; }
.compare-img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.compare-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.compare-brand-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.compare-score { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.compare-bar {
  width: 100%;
  height: 5px;
  background: var(--line);
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}
.compare-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
  border-radius: 4px;
}
.compare-link {
  display: inline-flex;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
}
.compare-link:hover { background: var(--accent-2); color: #fff; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--paper-3), var(--paper));
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .84rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb sep { color: var(--line-2); }
.breadcrumb span:last-child { color: var(--ink); font-weight: 500; }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  margin: 36px 0 28px;
  align-items: start;
}
@media (max-width: 920px) { .product-layout { grid-template-columns: 1fr; gap: 32px; } }

.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-thumb {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--paper-3);
  transition: all var(--tr);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--accent); transform: scale(.97); }
.gallery-thumb:hover { border-color: var(--line-2); }

.product-info {}
.p-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--accent-2);
  text-transform: uppercase;
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.p-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.022em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.p-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.p-rating .stars-char { font-size: 1.05rem; }
.p-rating .score { font-family: var(--font-mono); font-weight: 700; color: var(--ink); font-size: 1rem; }
.p-rating .reviews-ct { color: var(--muted); font-size: .85rem; }

/* Price block on product page */
.p-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
}
.p-price-amounts { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.p-price-est-label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; color: var(--accent-2); text-transform: uppercase; font-weight: 700; }
.p-price-amount { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.p-price-old { font-family: var(--font-mono); font-size: .96rem; color: var(--muted); text-decoration: line-through; }
.p-price-save {
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
}

.score-bar-wrap { margin-bottom: 22px; }
.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--muted-2);
  margin-bottom: 6px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.score-bar-track { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #22d3ee); border-radius: 8px; }

.verdict-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.verdict-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}
.verdict-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.verdict-text { color: rgba(255,255,255,.92); font-size: .94rem; line-height: 1.6; margin: 0; }

.cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--ink) !important;
  font-weight: 700;
  font-size: .96rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--tr);
  box-shadow: 0 10px 26px rgba(16,185,129,.3);
}
.btn-buy:hover { transform: translateY(-2px); background: #34d399; }
.btn-buy.alt { background: var(--ink); color: #fff !important; box-shadow: 0 10px 26px rgba(11,15,23,.25); }
.btn-buy.alt:hover { background: var(--ink-2); }
.btn-buy.outline { background: transparent; color: var(--ink) !important; border: 2px solid var(--ink); box-shadow: none; }
.btn-buy.outline:hover { background: var(--ink); color: #fff !important; }
.btn-read-reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 600;
  font-size: .94rem;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  transition: all var(--tr);
}
.btn-read-reviews:hover { border-color: var(--ink); }

.cta-disclosure { font-size: .76rem; color: var(--muted); margin: 6px 0 22px; }

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.features-list li {
  position: relative;
  padding: 10px 14px 10px 38px;
  background: var(--paper-3);
  border-radius: 10px;
  font-size: .91rem;
  color: var(--ink);
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 32px 0;
}
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-box, .cons-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.pros-box { border-top: 4px solid var(--accent); }
.cons-box { border-top: 4px solid var(--rose); }
.box-head {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.pros-box .box-head { color: var(--accent-2); }
.cons-box .box-head { color: var(--rose); }
.pros-box ul, .cons-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: .92rem;
  color: var(--ink);
}
.pros-box li, .cons-box li {
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.pros-box li::before, .cons-box li::before {
  position: absolute;
  left: 0; top: 1px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.pros-box li::before { content: "✓"; color: var(--accent-2); }
.cons-box li::before { content: "✕"; color: var(--rose); }

/* Diagram block on product page */
.product-diagram {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}
.product-diagram h2 { font-size: 1.4rem; margin-bottom: 6px; }
.product-diagram .diagram-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.diagram-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 720px) { .diagram-grid { grid-template-columns: 1fr; } }
.diagram-svg { width: 100%; height: auto; max-width: 360px; margin: 0 auto; display: block; }

.metric-bars { display: flex; flex-direction: column; gap: 14px; }
.metric-row { display: grid; grid-template-columns: 130px 1fr 38px; align-items: center; gap: 14px; font-size: .88rem; }
.metric-name { font-weight: 600; color: var(--ink-2); }
.metric-track { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.metric-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #22d3ee); border-radius: 8px; }
.metric-val { font-family: var(--font-mono); font-weight: 700; color: var(--ink); text-align: right; }

.product-desc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}
.product-desc h2 { font-size: 1.4rem; margin-bottom: 18px; }
.product-desc p { color: var(--ink-2); line-height: 1.7; }

.reviews-section { margin: 50px 0; }
.reviews-section h2 { font-size: 1.5rem; margin-bottom: 24px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.reviewer-name { font-weight: 700; color: var(--ink); }
.review-date { color: var(--muted); font-family: var(--font-mono); font-size: .76rem; }
.review-stars { color: var(--warn); font-size: .94rem; }
.review-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.review-text { font-size: .9rem; color: var(--muted-2); line-height: 1.6; }

/* Related */
.related-section { padding: 60px 0 80px; background: var(--paper-3); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--tr);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--accent); }
.related-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 16px; }
.related-brand { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.related-title { font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.related-stars { color: var(--warn); font-size: .8rem; }
.related-link { display: block; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--accent-2); }

/* ==========================================================================
   STATIC PAGES
   ========================================================================== */
.static-hero {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.static-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 80% 30%, rgba(16,185,129,.18), transparent 60%);
}
.static-hero h1 { color: #fff; position: relative; }
.static-hero p { color: rgba(255,255,255,.7); font-size: 1.04rem; max-width: 640px; position: relative; }
.static-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.static-content h2 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.35rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.static-content p { margin-bottom: 18px; }
.static-content ul, .static-content ol { margin-bottom: 18px; padding-left: 24px; }
.static-content li { margin-bottom: 6px; }
.static-content strong { color: var(--ink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 70px 0 30px;
  margin-top: 0;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #22d3ee, var(--accent));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { max-width: 380px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo-img {
  width: 40px; height: 40px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  object-fit: contain;
}
.footer-brand p { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.footer-disclaimer {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 14px;
}
footer h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--tr);
}
footer ul a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.08);
  display: none;
}
#cookie-banner.show { display: block; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-text { margin: 0; font-size: .88rem; color: rgba(255,255,255,.78); flex: 1 1 320px; }
.cookie-text a { color: var(--accent); }
.cookie-btns { display: flex; gap: 8px; }
.cookie-accept {
  background: var(--accent);
  color: var(--ink);
  border: 0;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
}
.cookie-accept:hover { background: #34d399; }
.cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
}
.cookie-decline:hover { border-color: rgba(255,255,255,.4); }

/* ==========================================================================
   ADS
   ========================================================================== */
.ad-placement {
  margin: 30px auto;
  max-width: var(--maxw);
  padding: 0 24px;
}
.ad-placement-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  background: var(--paper-3);
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
}
.ad-unit { min-width: 300px; min-height: 250px; }

/* ==========================================================================
   UTIL
   ========================================================================== */
.divider {
  width: 64px; height: 4px;
  margin: 22px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
}
.row-click { cursor: pointer; }
.row-click:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
