﻿/* ============================================================================
   lap-type.css - PRUEBA de tipografia (2026-12-01). Se carga al final y pisa lo
   tipografico de los otros tres archivos; no toca colores ni estructura.

   Idea: Inter (neutra y fina) para leer; Parkinsans queda solo en los titulos,
   en peso medio, mas chicos y sin mayusculas. Nada en peso 800.

   Volver atras: sacar el <link> de este archivo en _src/layout.html y correr build.py.
   Si la prueba queda, estas reglas se pasan a lap-base / lap-layout / lap-components
   y este archivo se borra.
   ============================================================================ */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --lap-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --lap-font-display: "Parkinsans", "Inter", system-ui, sans-serif;
    --bs-body-font-family: var(--lap-font-body);
}

body {
    font-family: var(--lap-font-body);
    font-weight: 400;
    letter-spacing: -.006em;
    font-feature-settings: "calt", "case";
}

/* ---------- Titulos: Parkinsans, peso medio ---------- */
h1, h2, h3, h4,
.lap-title,
.lap-page-title,
.lap-detail__title,
.lap-box__title,
.lap-panel__title,
.lap-empty__title {
    font-family: var(--lap-font-display);
    font-weight: 500;
    letter-spacing: -.01em;
}

.lap-hero__title {
    font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.015em;
    text-transform: none;
}
.lap-page-title { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem); }
.lap-title { font-size: clamp(1.3rem, 1.12rem + .8vw, 1.65rem); }
.lap-detail__title { font-size: clamp(1.45rem, 1.2rem + 1.2vw, 1.9rem); }
.lap-box__title { font-size: 1.05rem; }
.lap-panel__title { font-size: 1.1rem; }
.lap-lead { font-size: 1rem; }
.lap-hero__text { font-size: 1rem; }

/* Los titulos de las tarjetas y listas se leen: van en Inter */
.lap-card__title,
.lap-branch__name,
.lap-plan h3,
.lap-side-help h2,
.accordion-header {
    font-family: var(--lap-font-body);
    font-weight: 600;
    letter-spacing: -.01em;
}
.lap-card__title { font-size: .97rem; }
.lap-card__offer { font-size: .9rem; font-weight: 500; }
.lap-card__comercio { font-size: .8rem; }

/* ---------- Etiquetas chicas en mayusculas: menos peso y menos aire ---------- */
.lap-eyebrow,
.lap-card__rubro,
.lap-filters__group > legend,
.lap-filters__label,
.lap-facts strong,
.lap-data dt,
.lap-table th,
.lap-table td::before,
.lap-footer__title {
    font-family: var(--lap-font-body);
    font-weight: 600;
    letter-spacing: .05em;
}
.lap-brand__tag { font-weight: 600; letter-spacing: .05em; }

/* ---------- Numeros grandes: nada en 800 ---------- */
.lap-hero__stats strong,
.lap-savings strong,
.lap-price {
    font-family: var(--lap-font-display);
    font-weight: 600;
    letter-spacing: -.01em;
}
.lap-hero__stats strong { font-size: 1.45rem; }
.lap-card__badge { font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.lap-detail__badge { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; }
.lap-detail__offer { font-size: 1.15rem; font-weight: 600; }
.lap-steps li::before { font-weight: 600; }
.lap-credential__name { font-weight: 600; letter-spacing: .02em; }

/* ---------- Interfaz ---------- */
.btn { --bs-btn-font-weight: 500; }
.form-label,
.lap-days legend { font-weight: 500; }
.lap-nav .nav-link { font-weight: 500; }
.lap-nav .nav-link[aria-current="page"],
.lap-dropdown .dropdown-item[aria-current="page"],
.lap-rubro-option input:checked + span { font-weight: 600; }
.lap-chip,
.lap-link-more,
.lap-tag-btn,
.lap-results__count,
.lap-maplist__head,
.lap-breadcrumb .breadcrumb-item.active { font-weight: 500; }
.lap-results__count strong,
.lap-maplist__head strong { font-weight: 600; }
.lap-tabbar a { font-weight: 500; }
.lap-data dd { font-weight: 400; }

/* Cifras alineadas en tablas y credencial */
.lap-table,
.lap-credential__number { font-feature-settings: "tnum", "calt"; }
