/* ==========================================================================
   Tarifarios: tipografía propia en TODAS las secciones de precios y planes.
   Dónde aparece: portada (comparador con palomitas), membresias.html, tienda (planes y
   resumen), anunciate.html (tarifario de publicidad), red/membresia.html, tarjetas de
   precio de ediciones, eventos y catálogos de la Red, y la ficha "solo miembros" de video.
   Fuente: Plus Jakarta Sans (se carga desde shell.js). Se aplica con !important a propósito:
   esta hoja es una capa de sobreescritura y las hojas de cada página (que se cargan antes
   o después, según la página) declaran su propia fuente condensada.
   Para cambiar la tipografía de los tarifarios en todo el sitio basta cambiar --font-tarifa.
   ========================================================================== */
:root {
  --font-tarifa: "Plus Jakarta Sans", "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.price, .price *,
.card-plan, .card-plan *,
.red-plan, .red-plan *,
[data-membresias], [data-membresias] *,
.hb-tarifa, .hb-tarifa *,
.mb-table-wrap, .mb-table-wrap *,
.mb-cards, .mb-cards *,
.mb-tar, .mb-tar *,
.mb-kit, .mb-kit *,
.mb-prox, .mb-prox *,
.mb-lanza, .mb-lanza *,
.mb-promo, .mb-promo *,
.mb-res, .mb-res *,
.com-plan, .com-plan *,
.com-planrow, .com-planrow *,
.com-plans-plus, .com-plans-plus *,
.com-brand__price,
.com-rates, .com-rates *,
.rate-table, .rate-table *,
.rate-input, .rate-input * {
  font-family: var(--font-tarifa) !important;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Precios: grandes, firmes y sin el interlineado apretado de la fuente condensada */
.price, .mb-price, .mb-card__price, .mb-tar__price, .com-brand__price, .red-item__price {
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.05 !important;
  text-transform: none !important;
}
.price--lg { font-weight: 800 !important; }
.price small, .mb-mes, .mb-card__mes, .mb-tar__mes, .red-plan__mes {
  font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
}
.price--was, .mb-regular, .red-plan__was { font-weight: 600 !important; letter-spacing: 0 !important; }

/* Nombres de plan y títulos de los bloques: ya no van en mayúsculas condensadas */
.card-plan h1, .card-plan h2, .card-plan h3, .card-plan h4, .card-plan__name,
.red-plan h2, .red-plan h3, .red-plan h4,
.mb-card__name, .mb-tar__head, .mb-tar__head *, .mb-promo__t, .mb-prox__t, .mb-lanza-t, .mb-kit__t,
.hb-tarifa__t, .hb-tarifa h2, .hb-tarifa h3,
.com-plan h2, .com-plan h3, .com-plan h4, .com-rates h2, .com-rates h3, .rate-table__group {
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
  line-height: 1.12 !important;
}

/* Encabezados de las tablas del comparador y del tarifario de publicidad */
.mb-table th, .mb-table thead th, .rate-table th, .rate-table thead th {
  font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important;
}
.rate-table td, .mb-table td { font-weight: 500; }
.rate-table__size { font-weight: 700 !important; }

/* Etiquetas pequeñas (RECOMENDADO, PROMOCIÓN…): mayúsculas discretas */
.cintillo, .card-plan__flag, .mb-tag, .red-plan__tag, .mb-prox__k, .kicker {
  font-weight: 700 !important; letter-spacing: 0.08em !important; font-size: 0.72rem;
}
.card-plan .kicker, .hb-tarifa .kicker, [data-membresias] .kicker { text-transform: uppercase; }

/* Listas, notas y textos corridos dentro de los planes */
.card-plan p, .card-plan li, .mb-card__list, .mb-tar__list, .mb-card__lema, .mb-tar__lema, .red-plan__lema,
.card-plan__note, .mb-foot, .mb-ast, .rate-table__note {
  font-weight: 500; letter-spacing: 0; line-height: 1.5;
}
/* Botones dentro de los planes: misma voz que los precios */
.card-plan .btn, .mb-card__cta, .mb-tar__cta, .hb-tarifa__cta, .red-plan .btn, .com-plan .btn, [data-membresias] .btn {
  font-weight: 700 !important; letter-spacing: 0.01em !important; text-transform: none !important;
}

/* Tarifario de publicidad: el precio de cada renglón, firme (columna de la derecha) */
.rate-table td:last-child, .rate-table td:last-child * { font-weight: 800 !important; letter-spacing: -0.015em; }
