/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f4f1ea;
  --bg-2: #ebe6db;
  --card: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #3a3a3a;
  --muted: #6a6a6a;
  --line: #d8d3c6;
  --accent: #b8532a;
  --accent-2: #8a3f1f;
  --gold: #a67c3d;
  --green: #4a7a3a;
  --red: #a83a3a;
  --shadow: 0 6px 24px rgba(20, 15, 5, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 15, 5, 0.10);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1rem, 4vw, 2rem);
  --max: 1280px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* =============================================================
   3. Header + nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.nav-menu { display: none; gap: 1.5rem; align-items: center; }
.nav-menu a { font-size: 0.92rem; color: var(--ink-2); transition: color 0.2s var(--ease-out); }
.nav-menu a:hover { color: var(--accent); }
.nav-menu .cta {
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  transition: background 0.2s var(--ease-out);
}
.nav-menu .cta:hover { background: var(--accent); color: #fff; }
.nav-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.nav-mobile a:last-child { border-bottom: 0; }

@media (min-width: 900px) {
  .nav-menu { display: flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   4. Hero
   ============================================================= */
.hero {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-2);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}
.hero-visual svg { width: 100%; height: 100%; }

/* Hero mosaic — real product photos in a 3x2 grid */
.hero-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  aspect-ratio: 4/3;
  padding: 0;
}
.mosaic-item {
  background: linear-gradient(135deg, #f7f4ed 0%, #e8e2d3 100%);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  box-shadow: 0 4px 14px rgba(20, 15, 5, 0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
}
.mosaic-item img,
.mosaic-item svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}
.mosaic-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 15, 5, 0.12); }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-item.m1 { grid-column: 1 / 3; grid-row: 1; }  /* wide hero */
.mosaic-item.m2 { grid-column: 3; grid-row: 1; }
.mosaic-item.m3 { grid-column: 1; grid-row: 2; }
.mosaic-item.m4 { grid-column: 2; grid-row: 2; }
.mosaic-item.m5 { grid-column: 3; grid-row: 2; }
.mosaic-item.m6 { display: none; }  /* hidden on desktop, reserve for future */
.mosaic-badge {
  position: absolute;
  bottom: -14px;
  right: 12px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(20, 15, 5, 0.18);
  z-index: 3;
}
.mosaic-badge::before { content: "◐ "; color: var(--accent); }
@media (max-width: 720px) {
  .hero-mosaic { aspect-ratio: 3/2; gap: 6px; }
  .mosaic-item { padding: 0.5rem; border-radius: 10px; }
  .mosaic-badge { font-size: 0.72rem; padding: 0.5rem 0.9rem; bottom: -10px; }
}

/* Blog cards on home */
.blog-featured-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.blog-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  display: grid;
  place-items: center;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.blog-card-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.blog-card h3 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.blog-card-meta {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.15s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-amazon {
  background: linear-gradient(180deg, #ff9500 0%, #ff8000 100%);
  color: #1a1a1a;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  box-shadow: 0 4px 12px rgba(255, 128, 0, 0.25);
}
.btn-amazon:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 128, 0, 0.35); }
.btn svg { width: 16px; height: 16px; }

/* =============================================================
   6. Sections
   ============================================================= */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}
.section-title p { color: var(--muted); max-width: 60ch; margin: 0.8rem auto 0; }

/* =============================================================
   7. Product cards
   ============================================================= */
.grid-productos {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media {
  aspect-ratio: 1;
  background: var(--bg-2);
  overflow: hidden;
  display: grid; place-items: center;
}
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-brand { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 1.15rem; line-height: 1.2; }
.card-stars { color: var(--gold); font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.card-stars span { color: var(--muted); font-size: 0.82rem; }
.card-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: auto; padding-top: 0.4rem; }
.card-price .now { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.card-price .was { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  z-index: 2;
}
.card-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.card-actions .btn { flex: 1; justify-content: center; padding: 0.65rem 0.8rem; font-size: 0.85rem; }
.card-compare-toggle {
  border: 1.5px solid var(--line);
  background: transparent;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink-2);
  transition: all 0.2s var(--ease-out);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.card-compare-toggle:hover { border-color: var(--ink); }
.card-compare-toggle.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-compare-toggle.on::before { content: "✓"; }

/* =============================================================
   8. Categories strip
   ============================================================= */
.categorias {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cat-card {
  background: var(--card);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  transition: all 0.2s var(--ease-out);
  display: block;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow); }
.cat-card .emoji { font-size: 1.8rem; display: block; margin-bottom: 0.6rem; }
.cat-card strong { font-family: var(--serif); font-size: 1.1rem; display: block; margin-bottom: 0.2rem; }
.cat-card span { color: var(--muted); font-size: 0.85rem; }

/* =============================================================
   9. Trust block ("cómo elegimos")
   ============================================================= */
.trust {
  background: var(--ink);
  color: #f4f1ea;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
}
.trust h2 { color: #fff; margin-bottom: 1rem; }
.trust p { color: #d0cdc4; max-width: 62ch; }
.trust-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 2rem;
}
.trust-grid > div h4 { font-family: var(--sans); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; font-weight: 600; }
.trust-grid > div p { color: #b8b5ac; font-size: 0.9rem; }

/* =============================================================
   10. Ficha (product page)
   ============================================================= */
.ficha-hero {
  padding-block: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.ficha-grid {
  display: grid; gap: 3rem;
}
.ficha-gallery-wrap { display: flex; flex-direction: column; gap: 0.75rem; }
.ficha-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ficha-gallery-main {
  position: relative;
  background: var(--card);
  border-radius: 20px;
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.ficha-gallery-main img,
.ficha-gallery-main svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s var(--ease-out);
}
.ficha-gallery-main img.swapping { opacity: 0; }
.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
  z-index: 2;
  font-family: var(--serif);
}
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.gallery-nav.gallery-prev { left: 12px; }
.gallery-nav.gallery-next { right: 12px; }
.ficha-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.thumb {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out), transform 0.15s var(--ease-out);
  display: grid; place-items: center;
}
.thumb:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.thumb.active { border-color: var(--accent); }
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.ficha-info h1 { margin-bottom: 0.5rem; }
.ficha-brand { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.5rem; }
.ficha-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; color: var(--muted); }
.stars-inline { color: var(--gold); letter-spacing: 2px; }
.ficha-price {
  padding: 1.2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 1.5rem;
}
.ficha-price .price-row { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 0.3rem; }
.ficha-price .now { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--ink); }
.ficha-price .was { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.ficha-price .save { background: var(--green); color: #fff; padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.ficha-price .disclaimer { color: var(--muted); font-size: 0.8rem; }
.ficha-buy { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ficha-ideal {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-style: italic;
  color: var(--ink-2);
}
.ficha-ideal strong { font-style: normal; color: var(--ink); display: block; margin-bottom: 0.3rem; }
@media (min-width: 900px) {
  .ficha-grid { grid-template-columns: 1fr 1fr; }
}

/* Ficha body sections */
.ficha-section { padding-block: clamp(2rem, 4vw, 3rem); }
.ficha-section h2 { margin-bottom: 1.5rem; }
.ficha-editorial p { margin-bottom: 1rem; font-size: 1.05rem; color: var(--ink-2); }
.ficha-editorial p:last-child { margin-bottom: 0; }

.pros-contras { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .pros-contras { grid-template-columns: 1fr 1fr; } }
.pros-contras > div {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.pros-contras h3 { font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.pros-contras ul { list-style: none; padding: 0; }
.pros-contras li { padding: 0.5rem 0 0.5rem 1.8rem; position: relative; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.pros-contras li:last-child { border-bottom: 0; }
.pros h3 { color: var(--green); }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; top: 0.5rem; }
.contras h3 { color: var(--red); }
.contras li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; top: 0.5rem; }

/* Spec table */
.specs-table {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.specs-group { border-bottom: 1px solid var(--line); }
.specs-group:last-child { border-bottom: 0; }
.specs-group-title {
  padding: 1rem 1.5rem;
  background: var(--bg-2);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.8rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  gap: 1rem;
}
.specs-row .label { color: var(--muted); }
.specs-row .value { color: var(--ink); font-weight: 500; text-align: right; }
.specs-row .value.yes { color: var(--green); }
.specs-row .value.no { color: var(--red); opacity: 0.7; }
.specs-row .value.na { color: var(--muted); }

/* Radar chart */
.radar-block {
  background: var(--card);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.radar-block h3 { margin-bottom: 1rem; }
.radar-note { color: var(--muted); font-size: 0.82rem; margin-top: 0.8rem; font-style: italic; }
.radar-canvas-wrap { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1; }

/* =============================================================
   10b. Variants section (ficha)
   ============================================================= */
.variants-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.variant-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.variant-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow); }
.variant-card.current { border-color: var(--accent); border-width: 2px; }
.variant-media {
  aspect-ratio: 1;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.variant-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.variant-body {
  padding: 1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  position: relative;
}
.variant-badge {
  position: absolute;
  top: -12px; right: 12px;
  background: var(--accent); color: #fff;
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.variant-body strong { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
.variant-model { color: var(--muted); font-size: .78rem; letter-spacing: .05em; }
.variant-price { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin: .3rem 0 .6rem; }
.variant-card .btn { justify-content: center; padding: .6rem .9rem; font-size: .85rem; }

/* =============================================================
   11. Comparator page
   ============================================================= */
.comp-toolbar {
  background: var(--card);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.comp-toolbar h3 { margin-bottom: 1rem; }
.comp-search {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  background: var(--bg);
  transition: border-color 0.2s var(--ease-out);
}
.comp-search:focus { outline: none; border-color: var(--accent); }
.comp-results {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1rem;
}
.comp-chip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: all 0.15s var(--ease-out);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.comp-chip:hover { border-color: var(--ink); }
.comp-chip.selected { background: var(--ink); color: #fff; border-color: var(--ink); }

.comp-empty {
  text-align: center; padding: 3rem 1rem;
  background: var(--card);
  border-radius: 14px;
  color: var(--muted);
}

.comp-table-wrap { overflow-x: auto; background: var(--card); border-radius: 14px; box-shadow: var(--shadow); }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.comp-table th, .comp-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.comp-table thead th {
  background: var(--bg-2);
  font-family: var(--serif);
  font-weight: 600;
  vertical-align: bottom;
  position: sticky;
  top: 0;
}
.comp-table thead .prod-head {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; padding: 1rem 0;
}
.comp-table thead .prod-head img,
.comp-table thead .prod-head svg { width: 90px; height: 90px; }
.comp-table thead .prod-head span.brand { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.comp-table thead .prod-head strong { font-size: 0.95rem; line-height: 1.2; }
.comp-table thead .prod-head .close {
  background: transparent; border: 1px solid var(--line);
  padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.75rem; color: var(--muted);
}
.comp-table thead .prod-head .close:hover { border-color: var(--red); color: var(--red); }
.comp-table .row-group td {
  background: var(--bg-2);
  font-family: var(--serif); font-weight: 600;
  font-size: 0.95rem;
}
.comp-table td.spec-label { color: var(--muted); }
.comp-table td.spec-value { text-align: center; font-weight: 500; }
.comp-table td.best {
  background: rgba(74, 122, 58, 0.10);
  position: relative;
}
.comp-table td.best::before {
  content: "★"; color: var(--green); font-size: 0.7rem; position: absolute; top: 6px; right: 6px;
}
.comp-buy-row td { text-align: center; padding: 1rem 0.5rem; }

/* Radar overlay in comparator */
.comp-radar-wrap { background: var(--card); border-radius: 14px; padding: 1.5rem; box-shadow: var(--shadow); margin-top: 2rem; }
.comp-radar-wrap h3 { margin-bottom: 0.5rem; }
.comp-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; justify-content: center; }
.comp-legend > span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--ink-2); }
.comp-legend > span .swatch { width: 14px; height: 14px; border-radius: 3px; }

/* Floating compare bar */
.compare-bar {
  position: fixed;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--ink); color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  display: inline-flex; align-items: center; gap: 1rem;
  z-index: 90;
  transition: transform 0.3s var(--ease-out);
  max-width: calc(100% - 2rem);
}
.compare-bar.show { transform: translateX(-50%) translateY(0); }
.compare-bar .count { background: var(--accent); border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.85rem; font-weight: 600; }
.compare-bar a { color: #fff; font-weight: 500; font-size: 0.9rem; padding: 0.4rem 0.9rem; background: var(--accent); border-radius: 999px; }
.compare-bar button.clear { color: #b8b5ac; font-size: 0.85rem; }

/* =============================================================
   12. Catalog filters
   ============================================================= */
.filters {
  background: var(--card);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  display: grid; gap: 1rem;
}
@media (min-width: 720px) {
  .filters { grid-template-columns: 2fr repeat(3, 1fr); align-items: end; }
}
.filter-field label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 0.4rem; }
.filter-field input, .filter-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  background: var(--bg);
  font-family: inherit;
  color: inherit;
}
.filter-field input:focus, .filter-field select:focus { outline: none; border-color: var(--accent); }
.filter-summary { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* =============================================================
   13. Guide / blog / articles
   ============================================================= */
.article {
  background: var(--card);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 0 auto;
}
.article h1 { margin-bottom: 0.4rem; }
.article .meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }
.article h2 { margin: 2.2rem 0 1rem; }
.article h3 { margin: 1.8rem 0 0.8rem; font-family: var(--serif); font-size: 1.3rem; }
.article p { margin-bottom: 1rem; color: var(--ink-2); font-size: 1.02rem; }
.article ul { margin: 0 0 1rem 1.2rem; color: var(--ink-2); }
.article li { margin-bottom: 0.4rem; }
.article strong { color: var(--ink); }
.article .callout {
  background: var(--bg-2);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}

/* =============================================================
   13b. Blog index + article pages
   ============================================================= */
.blog-hero {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.blog-hero h1 { margin-bottom: 0.6rem; }
.blog-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.blog-hero p { color: var(--muted); max-width: 60ch; margin: 0 auto; font-size: 1.05rem; }
.blog-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
.blog-tag {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}
.blog-tag:hover { border-color: var(--ink); }
.blog-tag.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Article page */
.article-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.article-hero .container { max-width: 820px; text-align: center; }
.article-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.article-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.article-hero .lead { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch; margin: 0 auto 1.5rem; line-height: 1.55; }
.article-hero .meta { color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.article-hero .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article-cover {
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem auto 0;
  max-width: 960px;
  box-shadow: var(--shadow-lg);
  background: var(--card);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.article-cover img { max-width: 100%; max-height: 100%; object-fit: contain; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.article-body p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.2rem; }
.article-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4rem;
  float: left;
  line-height: 0.9;
  padding-right: 0.6rem;
  padding-top: 0.4rem;
  color: var(--accent);
  font-weight: 600;
}
.article-body h2 { font-size: 1.8rem; margin: 2.5rem 0 1.2rem; padding-top: 0.5rem; }
.article-body h3 { font-family: var(--serif); font-size: 1.35rem; margin: 2rem 0 0.8rem; font-weight: 500; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.4rem; }
.article-body li { font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); margin-bottom: 0.5rem; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:not(.btn):hover { color: var(--accent-2); }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.6rem 1.4rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--ink-2);
  background: var(--bg-2);
  border-radius: 0 8px 8px 0;
}
.article-body .callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.6rem;
  border-radius: 6px;
  margin: 2rem 0;
}
.article-body .callout h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.article-toc {
  background: var(--card);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border: 1px solid var(--line);
}
.article-toc strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: 0.6rem; }
.article-toc ol { margin: 0 0 0 1.2rem; }
.article-toc li { font-size: 0.95rem; margin-bottom: 0.35rem; }
.article-toc a { color: var(--ink-2); text-decoration: none; }
.article-toc a:hover { color: var(--accent); }

/* In-article product pick block */
.pick-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem;
  margin: 2rem 0;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 120px 1fr;
  align-items: center;
}
.pick-block .pick-media {
  background: var(--bg-2);
  border-radius: 12px;
  aspect-ratio: 1;
  padding: 0.6rem;
  display: grid;
  place-items: center;
}
.pick-block .pick-media img { width: 100%; height: 100%; object-fit: contain; }
.pick-block .pick-body { display: flex; flex-direction: column; gap: 0.4rem; }
.pick-block .pick-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.pick-block h4 { font-family: var(--serif); font-size: 1.15rem; margin: 0; font-weight: 500; }
.pick-block p { font-size: 0.92rem; color: var(--muted); margin: 0.2rem 0; }
.pick-block .pick-price { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.pick-block .pick-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.pick-block .pick-actions .btn { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
@media (max-width: 560px) {
  .pick-block { grid-template-columns: 1fr; text-align: center; }
  .pick-block .pick-media { max-width: 160px; margin: 0 auto; }
  .pick-block .pick-actions { justify-content: center; }
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 0.2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding-top: 0.9rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* Related articles at bottom */
.article-related {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.article-related h2 { text-align: center; margin-bottom: 2rem; }

/* =============================================================
   14. Footer + disclosure
   ============================================================= */
.disclosure {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.disclosure a { color: var(--ink-2); text-decoration: underline; }
.site-footer {
  background: var(--ink);
  color: #d0cdc4;
  padding-block: 3rem 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { font-size: 0.9rem; transition: color 0.2s var(--ease-out); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #888;
  text-align: center;
}
.footer-bottom .brand { color: #fff; }

/* =============================================================
   15. Utilities
   ============================================================= */
.pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: var(--bg-2);
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.pill-brand { background: var(--ink); color: #fff; }
.pill-accent { background: var(--accent); color: #fff; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
