:root {
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --paper: #ffffff;
  --paper-soft: #f7f8fa;
  --card: #ffffff;
  --navy: #040f3d;
  --navy-mid: #1a2757;
  --blue: #4b65bf;
  --blue-deep: #3a52a8;
  --gold: #dea14b;
  --gold-soft: #fff8ee;
  --gold-border: #e8b86a;
  --star: #dea14b;
  --shadow: 0 2px 10px rgba(4, 15, 61, 0.06);
  --shadow-lg: 0 10px 28px rgba(4, 15, 61, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 720px;
  --wide: 1080px;
  --font-display: "Montserrat", Verdana, sans-serif;
  --font-body: "Montserrat", Verdana, sans-serif;
  --header-h: 4.5rem;
  --pad: clamp(1rem, 4vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; height: auto; display: block; }
button, .btn, summary, .nav-toggle { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(var(--wide), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
.wrap-narrow { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }

/* ===== Header (BestReviews-style) ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--line);
}
.site-header .topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: 4rem; padding: 0.55rem 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.15rem;
}
.brand span {
  color: var(--gold);
  font-size: 0.85em;
  transform: translateY(-0.15em);
}
.header-actions {
  display: flex; align-items: center; gap: 0.55rem; flex: 1;
  justify-content: flex-end; max-width: 520px;
}
.search-pill {
  display: none;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #d0d5e0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: #fff;
  text-decoration: none;
  min-width: 0;
}
.search-pill:hover { color: var(--navy); border-color: #b8c0d4; }
.nav-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid #d0d5e0;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); cursor: pointer;
}
.btn-ask {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-ask:hover { background: var(--navy-mid); color: #fff !important; }

.cat-bar {
  background: var(--navy);
  color: #fff;
}
.cat-bar .wrap {
  display: flex; gap: 0.15rem 1.1rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.55rem 0;
  scrollbar-width: none;
}
.cat-bar .wrap::-webkit-scrollbar { display: none; }
.cat-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.92;
  padding: 0.15rem 0;
}
.cat-bar a:hover { opacity: 1; text-decoration: underline; }
.cat-bar a.hot { color: var(--gold); }

.disclose {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-soft);
  padding: 0.65rem 0;
}
.disclose a { font-weight: 600; }

#nav-open { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: var(--pad); right: var(--pad);
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.nav a {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a:hover { background: var(--paper-soft); }
#nav-open:checked ~ .topbar .nav { display: flex; }
.site-header .topbar { position: relative; }

/* ===== Hero / titles ===== */
.hero {
  padding: clamp(1.4rem, 4vw, 2.4rem) 0 1rem;
  animation: rise 0.55s ease both;
}
.hero h1, .guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ink);
  max-width: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.hero p.deck {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 2.5vw, 1.08rem);
  line-height: 1.55;
  font-weight: 400;
}
.hero-row {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 0.5rem 1.5rem;
}
.updated {
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
}
.meta-bar {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 1.1rem;
}
.meta-bar > span {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.7rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}
.kicker {
  display: none;
}
.crumbs {
  font-size: 0.88rem; color: var(--muted); margin-bottom: 0.65rem;
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.35rem;
}
.crumbs a { color: var(--blue); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }

.section { padding: clamp(1.25rem, 3vw, 2.25rem) 0; }
.section h2, .prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; margin: 1.45rem 0 0.45rem; font-weight: 700;
}
.section .lede, .prose > p, .prose li { color: var(--ink-soft); }
.prose p, .prose li { font-size: 1rem; }
.prose ul { padding-left: 1.15rem; }
.prose a { font-weight: 600; }

.guide-layout {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  align-items: start;
}
.toc { padding: 0; background: transparent; border: 0; }
.toc p {
  margin: 0 0 0.5rem; font-weight: 700; color: var(--ink);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.toc ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0.4rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.2rem;
}
.toc li { flex: none; }
.toc a {
  display: inline-flex; align-items: center;
  padding: 0.4rem 0.8rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
}
.toc a:hover { background: #eef1f8; border-color: #c9d2ea; }
.guide-body > * + * { margin-top: 1.75rem; }
.guide-steps { padding-left: 1.15rem; color: var(--ink-soft); }
.guide-steps li { margin-bottom: 0.8rem; }
.guide-steps strong { color: var(--ink); }

/* Picks / ranking cards */
.pick-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.pick-grid-4 { grid-template-columns: 1fr; }
.pick {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: none;
  position: relative;
}
.pick:first-child,
.pick.featured {
  border: 2px solid var(--gold-border);
  box-shadow: var(--shadow);
}
.pick:hover { transform: none; box-shadow: var(--shadow); }
.pick-label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border-radius: 4px;
}
.pick-label::before {
  content: "♛";
  font-size: 0.85em;
}
.pick h3 {
  font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.35rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
}
.pick h3 a { color: var(--navy); text-decoration: none; }
.pick h3 a:hover { color: var(--blue); }
.pick p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.pick-note { margin-top: 0.55rem !important; }
.pick .for-label {
  color: var(--gold);
  font-weight: 700;
  margin: 0.35rem 0 0.25rem;
  font-size: 0.95rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.55rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--ink); list-style: none;
  padding: 0.9rem 1rem; padding-right: 2.4rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "▾";
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--navy); font-size: 0.9rem;
}
.faq-item[open] summary::after { content: "▴"; }
.faq-item p { margin: 0; padding: 0 1rem 1rem; color: var(--ink-soft); }

.cat-grid, .guide-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 0.75rem;
}
.cat-grid a, .guide-cards a {
  display: block; padding: 1.1rem 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cat-grid a:hover, .guide-cards a:hover {
  border-color: #c9d2ea; box-shadow: var(--shadow); transform: none;
}
.cat-grid strong, .guide-cards strong {
  display: block; font-size: 1rem; margin-bottom: 0.25rem;
  font-weight: 700; color: var(--navy);
}
.cat-grid span, .guide-cards span { color: var(--muted); font-size: 0.88rem; display: block; }
.guide-cards .blurb { margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.9rem; }

.product-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem;
}
.product-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.product-tile:hover { transform: none; box-shadow: var(--shadow); }
.product-tile a { color: inherit; text-decoration: none; display: block; height: 100%; }
.product-tile .img-wrap {
  aspect-ratio: 1; background: var(--paper-soft);
  display: grid; place-items: center; padding: 0.85rem;
}
.product-tile img { max-height: 140px; object-fit: contain; }
.product-tile .body { padding: 0.75rem 0.85rem 1rem; }
.product-tile h3 {
  font-size: 0.86rem; line-height: 1.35; margin: 0 0 0.45rem;
  font-weight: 600; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.stats { display: flex; flex-wrap: wrap; gap: 0.35rem 0.65rem; font-size: 0.82rem; color: var(--ink-soft); }
.price { font-weight: 700; color: var(--ink); }
.rating { color: var(--gold); font-weight: 700; }

/* Comparison */
.compare-table-wrap {
  display: none;
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%; border-collapse: collapse; min-width: 680px; font-size: 0.92rem;
}
table.compare th, table.compare td {
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle;
}
table.compare th {
  background: var(--paper-soft); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); font-weight: 700;
}
table.compare tr:last-child td { border-bottom: 0; }
table.compare tr:hover td { background: #fafbfe; }
table.compare .rank { color: var(--muted); font-weight: 700; width: 2.5rem; }
.prod-cell { display: flex; gap: 0.75rem; align-items: center; max-width: 400px; }
.prod-cell img {
  width: 52px; height: 52px; object-fit: contain; background: var(--paper-soft); border-radius: 8px; flex: none;
}
.prod-cell a { font-weight: 600; text-decoration: none; color: var(--navy); }
.prod-cell a:hover { color: var(--blue); }

.compare-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.9rem;
}
.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.75rem 0.85rem;
  align-items: start;
}
.compare-card.best {
  border: 2px solid var(--gold-border);
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-card .rank-badge {
  width: 2rem; height: 2rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--paper-soft); color: var(--muted);
  font-weight: 700; font-size: 0.85rem;
}
.compare-card.best .rank-badge { background: var(--gold); color: #fff; }
.compare-card img, .compare-card .thumb {
  width: 72px; height: 72px; object-fit: contain;
  background: var(--paper-soft); border-radius: 8px;
}
.compare-card .info { min-width: 0; }
.compare-card h3 {
  margin: 0 0 0.35rem; font-size: 0.95rem; line-height: 1.3;
  font-weight: 700;
}
.compare-card h3 a { color: var(--navy); text-decoration: none; }
.compare-card h3 a:hover { color: var(--blue); }
.compare-card .row-stats {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem;
  font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.7rem;
}
.compare-card .actions-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.7rem;
  padding: 0.6rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  background: var(--blue); color: #fff; text-decoration: none; border: 0;
  box-shadow: none;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; transform: none; box-shadow: none; }
.btn-ghost {
  background: #fff; color: var(--blue);
  border: 1px solid #c5cee8; box-shadow: none;
  min-height: 2.45rem; padding: 0.45rem 0.95rem;
}
.btn-ghost:hover { background: #f3f5fb; color: var(--blue-deep); }

.product-hero {
  display: grid; grid-template-columns: 1fr; gap: 1.15rem; align-items: start;
  padding: clamp(1.2rem, 3vw, 2rem) 0 0.5rem;
  animation: rise 0.5s ease both;
}
.product-hero .media {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem; display: grid; place-items: center; min-height: 220px;
}
.product-hero .media img { max-height: 280px; object-fit: contain; }
.product-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 0.85rem;
  color: var(--ink); text-transform: none; font-weight: 700;
  background: none;
}
.fact-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem;
  margin: 0.9rem 0 1.15rem;
}
.fact {
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.7rem 0.55rem;
  text-align: center;
}
.fact .label {
  display: block; font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); font-weight: 700;
}
.fact .value { font-size: clamp(0.92rem, 3vw, 1.1rem); font-weight: 700; margin-top: 0.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.actions .btn { flex: 1 1 auto; min-width: min(100%, 10.5rem); }
.disclosure { margin-top: 0.9rem; font-size: 0.84rem; color: var(--muted); max-width: 40rem; }
.callout {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem; color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  margin-top: 1.5rem;
  color: var(--muted); font-size: 0.88rem;
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
.site-footer .wrap { display: grid; gap: 0.4rem; }
.site-footer strong { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin: 0.35rem 0 0.55rem; }
.footer-nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--gold); }
.best { background: #fff8ee !important; }
.home-intro { max-width: 42rem; }
.home-intro p { color: var(--ink-soft); font-size: 1.02rem; }

/* Collections / gift guides */
.collection-section { margin-top: 2rem; }
.collection-list { display: grid; gap: 1rem; }
.collection-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.collection-item.featured {
  border: 2px solid var(--gold-border);
  box-shadow: var(--shadow);
}
.collection-media {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  background: var(--paper-soft);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  padding: 0.65rem;
}
.collection-media img {
  max-height: 130px;
  object-fit: contain;
}
.card-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
@media (min-width: 700px) {
  .collection-item {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 560px) {
  .search-pill { display: inline-flex; }
  .pick-grid, .pick-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid, .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-tile img { max-height: 160px; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none !important; }
  .nav {
    display: none !important; /* desktop uses cat-bar instead */
  }
  .guide-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 2.25rem; }
  .toc {
    position: sticky; top: 6.5rem;
    padding: 1rem;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .toc ol { display: grid; gap: 0.4rem; overflow: visible; }
  .toc a {
    display: block; padding: 0.2rem 0; background: none; border: 0;
    border-radius: 0; white-space: normal; color: var(--blue);
  }
  .toc a:hover { background: none; text-decoration: underline; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid, .guide-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
  .compare-cards { display: none; }
  .compare-table-wrap { display: block; }
  .product-hero { grid-template-columns: 0.9fr 1.25fr; gap: 2rem; }
  .product-hero .media { min-height: 300px; }
  .fact { text-align: left; padding: 0.85rem 1rem; }
  .actions .btn { flex: 0 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
