/* ===== Fix Elementor: títulos blancos siempre ===== */
h1,
h2,
h3,
h4,
h5,
h6,
.section-head h2,
.hero h1,
#mas-buscados-title,
#top10-title,
#nuevos-title,
#ArtículosEscolares-title,
#Celulares-title,
#Manipulacion-title,
#Empoderamiento-title,
#Relaciones-title,
#Filosofía-title,
#Misterios-title,
#Negocios-title,
#Económico-title,
#Gratis-title,
.footer-section h4,
.elementor-widget-heading .elementor-heading-title {
  color: #e9eef7 !important;
}
/* Subtítulo del héroe */
.kicker {
  color: #9aa4b2 !important;
}

/* ===== Fix Elementor: quita paddings heredados ===== */
.elementor .elementor-widget-html > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}
.elementor .elementor-container,
.elementor .e-con {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.elementor-section
  .elementor-container
  > .elementor-column
  > .elementor-widget-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===== Base mejorada (100% responsive) ===== */
:root {
  /* Colores */
  --bg: #0a0b10;
  --bg2: #0f1117;
  --panel: #12131a;
  --text: #e9eef7;
  --muted: #9aa4b2;
  --accent: #e50914;
  --accent-2: #22d3ee;
  --badge: #ef4444;
  --success: #10b981;

  /* Layout fluido */
  --radius: 16px;
  --gap: clamp(0.8rem, 1.2vw, 1.2rem);
  --pad-x: clamp(0.75rem, 3vw, 1.25rem);

  /* Card width fluida: 140–196px según viewport */
  --card-w: clamp(140px, 22vw, 196px);

  /* Decoración */
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  --ring: #5b9cff;

  /* Contenedor principal */
  --container: max(92vw, min(1200px, 92vw));
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    var(--nox-font-body),
    Inter,
    system-ui,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0a0b10 0%, #0a0b10 40%, #0e1016 100%)
    fixed;

  /* Tamaño de fuente global fluido */
  font-size: clamp(14px, 1.1vw + 0.25rem, 16px);
  line-height: 1.45;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
}
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

/* Safe areas (iOS notch) */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* ===== NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(6px);
  background: linear-gradient(
    180deg,
    rgba(10, 11, 16, 0.95),
    rgba(10, 11, 16, 0.65) 70%,
    transparent
  );
  border-bottom: 1px solid rgba(42, 49, 70, 0.3);
  padding-top: max(0.25rem, env(safe-area-inset-top));
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem var(--pad-x) 0 var(--pad-x);
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
  flex-wrap: wrap; /* se parte en 2 líneas en móvil */
}
.brand {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}
.brand b {
  color: var(--accent);
}
.pill {
  background: #171a25;
  color: #cdd6e8;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid #23283a;
  white-space: nowrap;
}
.pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.nav .right {
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #151826;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #23283a;
  min-width: 0;
}
.search input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  width: clamp(110px, 24vw, 240px);
  font-size: 0.9rem;
  min-width: 0;
}
.icon {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

/* ===== HERO grande ===== */
.hero {
  max-width: 2560px;
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
}
.hero-card {
  position: relative;
  border-radius: clamp(18px, 2vw, 24px);
  overflow: hidden;
  min-height: clamp(56svh, 68vh, 76vh);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #2b2f4a, #141726);
  isolation: isolate;
}
/* colores de hero */
.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: contrast(1.05) saturate(1.05) brightness(0.9);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.kicker {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4.2vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
}
.tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #cdd6e8;
  font-size: clamp(0.88rem, 1vw, 0.95rem);
}
.hero .btns {
  display: none !important;
}

/* Tablets/desktop altos: permite más altura sin romper */
@media (min-width: 900px) {
  .hero-card {
    min-height: clamp(60svh, 72vh, 82vh);
  }
}

/* ===== Filter Bar (categorías) ===== */
.filter-bar {
  max-width: 2560px;
  margin: 1rem auto 0;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.filter-chip {
  background: #151826;
  color: #cdd6e8;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid #23283a;
  white-space: nowrap;
}
.filter-chip.active {
  background: var(--accent-2);
  color: #03161a;
  border-color: var(--accent-2);
}

/* ===== Filtros superiores ===== */
.filters {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem auto 1.5rem auto;
  max-width: 2560px;
  padding: 0 var(--pad-x);
}
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #151826;
  border: 1px solid #2a3044;
  font-size: 0.9rem;
  color: #cdd6e8;
  cursor: pointer;
  transition:
    0.15s background ease,
    0.15s border-color ease;
}
.filter-btn:hover {
  background: #1e2436;
  border-color: #3a4666;
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.filter-btn .count {
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #0f1320;
  border: 1px solid #2a3044;
  font-weight: 800;
  font-size: 0.8rem;
}
.filter-btn.active .count {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

/* =======================
   Carruseles y Cards (versión mejorada)
   -----------------------
   • Cards cuadradas y más grandes
   • Separación uniforme entre items
   • Bordes y sombras limpias (sin “salto” al hover)
   • Desvanecido en los bordes del carrusel
   • Scroll suave + snap
   ======================= */

/* Fallbacks por si faltan variables globales */
:root {
  --pad-x: clamp(12px, 3vw, 32px);
  --card-w: clamp(180px, 22vw, 260px); /* ancho visual del ítem */
  --gap: clamp(10px, 1.6vw, 18px); /* separación entre cards */
}

/* ===== Rows & cabeceras ===== */
.rows {
  max-width: 2560px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 2.2rem var(--pad-x);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 0.6rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 800;
}
.section-head .rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #2a3146, transparent);
}

/* ===== Scroller ===== */
.scroller {
  position: relative;
  --gutter: var(--pad-x);
  padding-inline: var(--gutter);
}

/* Bordes con desvanecido para indicar scroll */
.scroller::before,
.scroller::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(12vw, 80px);
  pointer-events: none;
}
.scroller::before {
  left: 0;
  background: linear-gradient(90deg, #0b0e17, rgba(11, 14, 23, 0));
}
.scroller::after {
  right: 0;
  background: linear-gradient(270deg, #0b0e17, rgba(11, 14, 23, 0));
}

/* Pista en columnas auto + gap uniforme */
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(var(--card-w) + 12px); /* ancho de cada “columna” */
  gap: var(--gap);
  overflow-x: auto;
  padding: 0.25rem 0 1.1rem 0; /* el gutter ya va en .scroller */
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.track::-webkit-scrollbar {
  height: 10px;
}
.track::-webkit-scrollbar-thumb {
  background: #202433;
  border-radius: 999px;
}

/* ===== Card ===== */
.card {
  position: relative;
  scroll-snap-align: start;
  border-radius: 16px;
  padding: 0.55rem;
  background: #0f1320;
  border: 1px solid #1f263a;
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  width: calc(var(--card-w) + 12px); /* encaja con grid-auto-columns */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.02) inset,
    0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Hover sin “separarse” (sin translateY) */
.card:hover {
  transform: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  border-color: #2a3453;
}

/* ===== Imagen cuadrada ===== */
.thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  background: #0f1117;
}
.cover {
  width: 100%;
  aspect-ratio: 1 / 1; /* cuadrado perfecto */
  object-fit: cover;
  display: block;
}

/* ===== Badge & CTA fantasma ===== */
.badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: var(--badge);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.badge.teal {
  background: var(--accent-2);
  color: white;
}

.btn-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65));
  pointer-events: none;
}
.card:hover .btn-ghost {
  opacity: 1;
  pointer-events: auto;
}
.btn-ghost .g {
  background: var(--accent);
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ===== Meta & texto ===== */
.meta {
  padding: 0.6rem 0.1rem 0 0.1rem;
}
.title {
  font-weight: 800;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.3;
  color: #e9edf7;
}
.muted {
  font-size: 0.8rem;
  color: #9aa4b2;
  margin-top: 0.25rem;
}
.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

/* ===== Botón “Más detalles” ===== */
.btn-more {
  background: #111;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background 0.15s ease,
    transform 0.12s ease;
}
.btn-more:hover {
  background: #171a27;
  transform: translateY(-1px);
}

/* ===== Icon buttons ===== */
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #151826;
  border: 1px solid #23283a;
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
  color: #cdd6e8;
}
.icon-btn:hover {
  transform: translateY(-1px);
  background: #1c2233;
  border-color: #2e3650;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.icon-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.icon-btn.read.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
}
.hidden {
  display: none;
}
.modal-content {
  background: #000;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
}
.close-modal {
  float: right;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (min-width: 900px) {
  :root {
    --card-w: clamp(220px, 20vw, 300px);
  }
}

@media (max-width: 700px) {
  :root {
    --gap: 12px;
  }
  .btn-ghost .g {
    font-size: 0.8rem;
    padding: 0.45rem 0.7rem;
  }
}

/* Accesibilidad: respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .track {
    scroll-behavior: auto;
  }
  .card,
  .icon-btn,
  .btn-more {
    transition: none;
  }
}

/* === BLACK NOVEMBER badge (cards) === */
.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.04;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  max-width: 68%;
}
.promo-badge .promo-lines {
  font-size: 12px;
  letter-spacing: 0.6px;
}
.promo-badge .promo-discount {
  font-size: 16px;
  letter-spacing: 0.2px;
  color: #ff2a2a;
}

/* móvil compacto */
@media (max-width: 420px) {
  .promo-badge {
    top: 8px;
    left: 8px;
    padding: 8px 10px 7px;
    border-radius: 8px;
  }
  .promo-badge .promo-lines {
    font-size: 11px;
  }
  .promo-badge .promo-discount {
    font-size: 14px;
  }
}

/* === (opcional) variante para el HERO === */
#hero .promo-badge {
  top: 16px;
  left: 16px;
  padding: 12px 14px 11px;
  border-radius: 12px;
  font-weight: 1000;
}
#hero .promo-badge .promo-lines {
  font-size: 14px;
  letter-spacing: 0.8px;
}
#hero .promo-badge .promo-discount {
  font-size: 20px;
}
@media (max-width: 480px) {
  #hero .promo-badge {
    top: 10px;
    left: 10px;
    padding: 10px 12px 9px;
    border-radius: 10px;
  }
  #hero .promo-badge .promo-lines {
    font-size: 12px;
  }
  #hero .promo-badge .promo-discount {
    font-size: 16px;
  }
}

/* (opcional) un glow sutil para destacar sin molestar */
@media (hover: hover) {
  .promo-badge {
    animation: bnGlow 2.8s ease-in-out infinite;
  }
  @keyframes bnGlow {
    0%,
    100% {
      box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.35),
        0 0 0 rgba(255, 42, 42, 0);
    }
    50% {
      box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.35),
        0 0 22px rgba(255, 42, 42, 0.22);
    }
  }
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(14, 16, 24, 0.9);
  border: 1px solid #2a3146;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.arrow[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Top10 fluido */
.top10 {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(var(--card-w) + 44px);
  gap: var(--gap);
  overflow-x: auto;
  padding-bottom: 1.1rem;
  scroll-snap-type: x mandatory;
  padding-inline: clamp(16px, 3vw, 32px);
}
.big-num {
  position: absolute;
  right: -0.35rem;
  bottom: -0.8rem;
  font-weight: 900;
  font-size: clamp(72px, 9vw, 108px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px #3a425a;
  opacity: 0.6;
  pointer-events: none;
}

/* ===== TIP (Lottie) ===== */
#swipe-tip {
  position: fixed;
  right: clamp(8px, 4vw, 32px);
  bottom: clamp(72px, 8vh, 120px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(20, 22, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 60;
  backdrop-filter: blur(6px);
  animation: tip-in 0.35s ease-out;
}
#swipe-tip .txt {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
}
#swipe-tip dotlottie-wc {
  width: clamp(52px, 7vw, 72px);
  height: clamp(52px, 7vw, 72px);
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: reduce) {
  #swipe-tip {
    display: none;
  }
}
@keyframes tip-in {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.tip-hide {
  animation: tip-out 0.25s ease-in forwards;
}
@keyframes tip-out {
  to {
    transform: translateY(8px);
    opacity: 0;
  }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid #1c2233;
  background: #0b0c12;
}
.footer-content {
  max-width: 2560px;
  margin: 0 auto;
  padding: 2rem var(--pad-x);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 800px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-section h4 {
  margin: 0.3rem 0 0.6rem 0;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}
.footer-link {
  display: block;
  color: #cdd6e8;
  font-size: clamp(0.9rem, 1vw, 0.95rem);
  margin: 0.3rem 0;
}
.footer-bottom {
  max-width: 2560px;
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  color: #98a2b3;
  border-top: 1px solid #151a26;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
}
/* mover Ayuda un poco a la derecha */
.footer-sub .ayuda {
  margin-left: 16px;
} /* desktop */
@media (max-width: 640px) {
  .footer-sub .ayuda {
    margin-left: 8px;
  }
} /* móvil */

/* ===== Hero responsivo (móvil) — FIX centrado imagen ===== */
@media (max-width: 640px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0.9rem 0.9rem 0;
    justify-items: center;
  }
  .hero-card {
    width: 100%;
    margin: 0;
    border-radius: 18px;
    min-height: 70svh;
    max-height: none;
    box-shadow: none;
    overflow: hidden;
  }
  .hero-card img {
    /* imagen del hero grande */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 9, 14, 0.85) 0%,
      rgba(8, 9, 14, 0.55) 45%,
      rgba(0, 0, 0, 0) 75%
    );
  }
  .hero .hero-content {
    padding: 1.25rem 1rem 1.4rem;
    gap: 0.5rem;
  }
  .hero .kicker {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .hero h1 {
    font-size: clamp(1.35rem, 6vw, 2.1rem);
    line-height: 1.08;
    margin: 0;
  }
  .hero .tags {
    font-size: 0.9rem;
    margin-top: 0.15rem;
  }
}

/* Tablets pequeñas */
@media (min-width: 641px) and (max-width: 900px) {
  .hero-card {
    min-height: 65vh;
    max-height: none;
  }
}

/* ===== Micro-breakpoints XS ===== */
@media (max-width: 380px) {
  .pill {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }
  .search input {
    width: 120px;
  }
  .hero-content {
    padding: 1rem;
  }
  .title {
    font-size: 0.86rem;
  }
}

/* Alto muy chico (móvil landscape) */
@media (max-height: 520px) {
  .hero-card {
    min-height: 58svh;
  }
}

/* util */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
}

/* ===== Audience (hombre / mujer) ===== */
.audience {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.audience .ico {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.72);
  border: 1px solid #2a3146;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.audience svg {
  width: 14px;
  height: 14px;
  color: #e9eef7;
  opacity: 0.95;
}
.audience .ico.male {
  border-color: #2b6cb0;
}
.audience .ico.female {
  border-color: #b83280;
}

/* ==== GRID Tienda ==== */
/* Oculto por defecto, visible cuando se navega a la ancla (#slug) */
#catalogo-stores .store {
  display: none;
}

/* Si llegan con #slug (o haces click en un link al ancla), se muestra SOLO esa */
#catalogo-stores .store:target {
  display: block;
  margin: 20px 0;
}

/* Estilo mínimo para cuando se muestra una .store */
#catalogo-stores .store h2 {
  font-size: 1rem;
  margin: 0.5rem 0;
}
#catalogo-stores .store img {
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  display: block;
}
#catalogo-stores .store a.btn {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
}

/* El bloque de índice es pequeño y colapsado */
#intro-libros {
  display: none !important;
}
#indice-stores {
  display: none !important;
}
#catalogo-indice {
  font-size: 0.9rem;
  opacity: 0.85;
}
#catalogo-indice summary {
  cursor: pointer;
}
#catalogo-indice a {
  color: inherit;
  text-decoration: underline;
}

/* Tipografía de marca unificada (Fase diseño). */
h1, h2, h3, .hero h1, .section-head h2 { font-family: var(--nox-font-display) /* headings */; }
