﻿/* ============================================================================
   lap-components.css - componentes reutilizables y lo propio de cada pagina.
   Indice: 1 tarjeta  2 grilla  3 carrusel  4 chips de rubro  5 hero
           6 planes / app  7 catalogo (filtros)  8 ficha del beneficio
           9 mapa  10 seccion privada  11 varios
   ============================================================================ */

/* ---------- 1. Tarjeta de beneficio ---------- */
.lap-card {
    height: 100%;
    background: var(--lap-surface);
    border: 1px solid var(--lap-line);
    border-radius: var(--lap-radius);
    box-shadow: var(--lap-shadow);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lap-card:hover,
.lap-card:focus-within { transform: translateY(-3px); box-shadow: var(--lap-shadow-hover); border-color: var(--lap-blue-line); }
.lap-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.lap-card__link:focus-visible { outline-offset: -3px; border-radius: var(--lap-radius); }
.lap-card__media { position: relative; aspect-ratio: 255 / 174; background: #eef2f8; }
.lap-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lap-card__badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 10px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--lap-blue-deep);
    background: var(--lap-coral);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(6, 42, 94, .25);
}
.lap-card__body { display: flex; flex-direction: column; flex: 1; gap: 2px; padding: 12px 14px 14px; }
.lap-card__rubro {
    margin: 0;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lap-ink-soft);
}
.lap-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lap-card__comercio { margin: 0; font-size: .82rem; color: var(--lap-ink-soft); }
.lap-card__offer {
    margin: 4px 0 8px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lap-blue);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lap-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    margin: auto 0 0;
    padding: 8px 0 0;
    list-style: none;
    font-size: .78rem;
    color: var(--lap-ink-soft);
    border-top: 1px solid var(--lap-line);
}
.lap-card__meta i { margin-right: 3px; color: var(--lap-blue); }

.lap-card--skeleton .lap-card__media,
.lap-card--skeleton .lap-card__body span {
    background: linear-gradient(90deg, #eef2f8 25%, #f7f9fc 50%, #eef2f8 75%);
    background-size: 200% 100%;
    animation: lap-shimmer 1.2s linear infinite;
}
.lap-card--skeleton .lap-card__body span { display: block; height: 12px; margin: 5px 0; border-radius: 6px; }
.lap-card--skeleton .lap-card__body span:nth-child(2) { width: 70%; }
.lap-card--skeleton .lap-card__body span:nth-child(3) { width: 45%; }
@keyframes lap-shimmer { to { background-position: -200% 0; } }

/* ---------- 2. Grilla ---------- */
.lap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 576px) { .lap-grid { gap: 16px; } }
@media (min-width: 768px) { .lap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.lap-grid--3 { }
@media (min-width: 1200px) { .lap-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 3. Carrusel (scroll nativo con snap) ---------- */
.lap-rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lap-rail__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lap-rail__arrow {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--lap-blue);
    background: #fff;
    border: 1px solid var(--lap-blue-line);
    border-radius: 50%;
}
.lap-rail__arrow:hover:not(:disabled) { color: #fff; background: var(--lap-blue); border-color: var(--lap-blue); }
.lap-rail__arrow:disabled { opacity: .35; }
@media (min-width: 768px) { .lap-rail__arrow { display: grid; } }
.lap-rail__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: 12px;
    margin: 0 -12px;
    padding: 4px 12px 14px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.lap-rail__track::-webkit-scrollbar { display: none; }
.lap-rail__item { scroll-snap-align: start; }
@media (min-width: 576px) { .lap-rail__track { grid-auto-columns: 38%; gap: 16px; } }
@media (min-width: 768px) { .lap-rail__track { grid-auto-columns: calc((100% - 32px) / 3); margin: 0; padding: 4px 2px 14px; scroll-padding-left: 2px; } }
@media (min-width: 1200px) { .lap-rail__track { grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; } }
.lap-link-more { font-weight: 600; white-space: nowrap; text-decoration: none; }
.lap-link-more:hover { text-decoration: underline; }

/* ---------- 4. Chips de rubro ---------- */
.lap-chips {
    display: flex;
    gap: 10px;
    margin: 0 -12px;
    padding: 4px 12px 10px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.lap-chips::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .lap-chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; } }
.lap-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 16px 6px 8px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--lap-ink);
    background: #fff;
    border: 1px solid var(--lap-line);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--lap-shadow);
    transition: border-color .15s ease, transform .15s ease;
}
.lap-chip i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    font-size: .85rem;
    color: var(--lap-blue);
    background: var(--lap-blue-soft);
    border-radius: 50%;
}
.lap-chip small { font-size: .78rem; font-weight: 500; color: var(--lap-ink-soft); }
.lap-chip:hover { color: var(--lap-blue-dark); border-color: var(--lap-blue); transform: translateY(-2px); }

/* ---------- 5. Hero ---------- */
.lap-hero { position: relative; z-index: 2; background: var(--lap-blue); color: #fff; } /* sin overflow:hidden: las sugerencias del buscador salen por debajo */
.lap-hero__art {
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 160% at 100% 100%, rgba(6, 42, 94, .32) 0 24%, transparent 25%);
}
.lap-hero .container { position: relative; padding-top: 22px; padding-bottom: 22px; }
.lap-hero__title { margin: 0 0 8px; font-size: clamp(1.9rem, 1.2rem + 3.6vw, 3.6rem); font-weight: 800; line-height: 1.02; color: #fff; text-transform: uppercase; }
.lap-hero__title span { display: block; }
.lap-hero__text { max-width: 46ch; margin: 0 0 20px; font-size: 1.05rem; color: #eef4ff; }
.lap-hero .lap-search { max-width: none; }
.lap-hero .lap-search__input { height: 56px; padding-left: 22px; font-size: 1.05rem; box-shadow: 0 10px 30px rgba(6, 42, 94, .35); }
.lap-hero .lap-search__btn { top: 6px; right: 6px; width: 44px; height: 44px; }
.lap-hero__stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0 0; padding: 0; list-style: none; }
.lap-hero__stats strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.lap-hero__stats span { font-size: .85rem; color: #dbe8fb; }
@media (min-width: 992px) {
    .lap-hero .container { padding-top: 32px; padding-bottom: 32px; }
}

/* ---------- 6. Planes y app ---------- */
.lap-plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    color: var(--lap-ink);
    background: #fff;
    border-radius: var(--lap-radius);
    box-shadow: 0 16px 40px rgba(6, 42, 94, .3);
}
.lap-plan img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 12px; }
.lap-plan h3 { font-size: 1.15rem; color: var(--lap-blue-dark); margin: 0 0 10px; }
.lap-plan ul { margin: 0 0 16px; padding: 0; list-style: none; font-size: .92rem; }
.lap-plan li { display: flex; gap: 8px; padding: 3px 0; }
.lap-plan li i { margin-top: 4px; color: var(--lap-success); }
.lap-plan .btn { margin-top: auto; }

.lap-app { display: grid; gap: 24px; align-items: center; }
.lap-app__phone { display: block; width: min(260px, 60vw); height: auto; margin: 0 auto -36px; }
.lap-app__qrs { display: flex; gap: 16px; justify-content: center; }
.lap-app__qrs figure { margin: 0; text-align: center; font-size: .82rem; }
.lap-app__qrs img { display: block; width: 104px; height: 104px; padding: 6px; background: #fff; border-radius: 10px; }
.lap-app__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lap-app__badges img { display: block; height: 42px; width: auto; }
@media (min-width: 992px) {
    .lap-app { grid-template-columns: 1.2fr auto auto; gap: 40px; }
    .lap-app__phone { margin: -24px 0 -56px; }
    .lap-app__qrs { flex-direction: column; }
}

/* ---------- 7. Catalogo: filtros + resultados ---------- */
.lap-catalog { display: grid; gap: 20px; align-items: start; }
@media (min-width: 992px) { .lap-catalog { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; } }

.lap-filters { --bs-offcanvas-width: min(90vw, 360px); }
@media (min-width: 992px) {
    .lap-filters {
        position: sticky;
        top: calc(var(--lap-header-h) + 16px);
        max-height: calc(100vh - var(--lap-header-h) - 32px);
        overflow-y: auto;
        padding: 20px;
        background: #fff;
        border: 1px solid var(--lap-line);
        border-radius: var(--lap-radius);
        box-shadow: var(--lap-shadow);
    }
    .lap-filters .offcanvas-body { padding: 0; overflow: visible; }
}
.lap-filters__group { margin: 0 0 20px; padding: 0; border: 0; }
.lap-filters__group > legend,
.lap-filters__label { float: none; width: 100%; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lap-ink-soft); }
.lap-filters__rubros { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lap-rubro-option { position: relative; display: block; }
.lap-rubro-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lap-rubro-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 6px 10px;
    font-size: .93rem;
    border-radius: 10px;
}
.lap-rubro-option span i { width: 1.25em; text-align: center; color: var(--lap-blue); }
.lap-rubro-option span small { margin-left: auto; color: var(--lap-ink-soft); }
.lap-rubro-option:hover span { background: var(--lap-blue-soft); }
.lap-rubro-option input:checked + span { font-weight: 700; color: #fff; background: var(--lap-blue); }
.lap-rubro-option input:checked + span i,
.lap-rubro-option input:checked + span small { color: #fff; }
.lap-rubro-option input:focus-visible + span { outline: 3px solid var(--lap-coral); outline-offset: 1px; }

.lap-results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.lap-results__count { margin: 0; font-weight: 600; }
.lap-results__tools { display: flex; align-items: center; gap: 8px; }
.lap-results__tools .form-select { min-height: 44px; width: auto; border-radius: 999px; border: 1px solid var(--lap-line); background-color: #fff; font-size: .92rem; padding-left: 1rem; }
.lap-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.lap-active-filters:empty { display: none; }
.lap-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 4px 12px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--lap-blue-dark);
    background: var(--lap-blue-soft);
    border: 1px solid var(--lap-blue-line);
    border-radius: 999px;
}
.lap-tag-btn:hover { background: #d9e7fa; }
.lap-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.lap-more__progress { width: min(260px, 70%); height: 4px; background: var(--lap-line); border-radius: 4px; overflow: hidden; }
.lap-more__progress span { display: block; height: 100%; background: var(--lap-blue); border-radius: 4px; transition: width .3s ease; }

.lap-empty { padding: 48px 20px; text-align: center; background: #fff; border: 1px dashed var(--lap-blue-line); border-radius: var(--lap-radius); }
.lap-empty > i { font-size: 2rem; color: var(--lap-blue-line); }
.lap-empty__title { margin: 12px 0 6px; font-size: 1.2rem; }
.lap-empty p { color: var(--lap-ink-soft); }

/* ---------- 8. Ficha del beneficio ---------- */
.lap-detail { display: grid; gap: 20px; align-items: start; }
@media (min-width: 992px) { .lap-detail { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; } }
.lap-detail__media { position: relative; border-radius: var(--lap-radius); overflow: hidden; background: #fff; border: 1px solid var(--lap-line); box-shadow: var(--lap-shadow); aspect-ratio: 800 / 545; }
.lap-detail__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lap-detail__badge {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 16px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lap-blue-deep);
    background: var(--lap-coral);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(6, 42, 94, .3);
}
.lap-detail__rubros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.lap-detail__rubros a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: .8rem; font-weight: 600; color: var(--lap-blue-dark); background: var(--lap-blue-soft); border-radius: 999px; text-decoration: none; }
.lap-detail__rubros a:hover { background: #d9e7fa; }
.lap-detail__title { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); margin: 0 0 4px; }
.lap-detail__comercio { margin: 0 0 14px; color: var(--lap-ink-soft); }
.lap-detail__offer { margin: 0 0 16px; padding: 14px 18px; font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--lap-blue-deep); background: var(--lap-coral-soft); border-left: 5px solid var(--lap-coral); border-radius: 0 var(--lap-radius-sm) var(--lap-radius-sm) 0; }
.lap-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.lap-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lap-facts li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.lap-facts li > i { display: grid; place-items: center; width: 40px; height: 40px; color: var(--lap-blue); background: var(--lap-blue-soft); border-radius: 12px; }
.lap-facts strong { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lap-ink-soft); }
.lap-weekdays { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.lap-weekdays li { display: grid; place-items: center; min-width: 42px; height: 32px; padding: 0 8px; font-size: .8rem; font-weight: 700; border-radius: 8px; color: #7a889c; background: #eef1f6; text-decoration: line-through; }
.lap-weekdays li.is-on { color: #fff; background: var(--lap-blue); text-decoration: none; }
.lap-weekdays li.is-today { box-shadow: 0 0 0 3px var(--lap-coral); }

.lap-panel { padding: 20px; background: #fff; border: 1px solid var(--lap-line); border-radius: var(--lap-radius); box-shadow: var(--lap-shadow); }
.lap-panel + .lap-panel { margin-top: 20px; }
.lap-panel__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.15rem; }
.lap-panel__title i { color: var(--lap-blue); }
.lap-prose { white-space: pre-line; overflow-wrap: anywhere; }
.lap-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: lap-step; }
@media (min-width: 768px) { .lap-steps { grid-template-columns: repeat(3, 1fr); } }
.lap-steps li { position: relative; padding-left: 48px; counter-increment: lap-step; }
.lap-steps li::before { content: counter(lap-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; font-weight: 800; color: #fff; background: var(--lap-blue); border-radius: 50%; }
.lap-steps strong { display: block; }
.lap-steps span { font-size: .92rem; color: var(--lap-ink-soft); }

.lap-branches { display: grid; gap: 16px; }
@media (min-width: 992px) { .lap-branches { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.lap-branch-list { display: grid; align-content: start; gap: 8px; max-height: 420px; margin: 0; padding: 2px; list-style: none; overflow-y: auto; }
.lap-branch { display: grid; align-content: start; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--lap-line); border-radius: var(--lap-radius-sm); background: #fff; }
.lap-branch.is-active { border-color: var(--lap-blue); background: var(--lap-blue-soft); }
.lap-branch__name { margin: 0; font-size: .98rem; font-weight: 700; }
.lap-branch__address { margin: 0; font-size: .88rem; color: var(--lap-ink-soft); grid-column: 1; }
.lap-branch__links { display: flex; flex-wrap: wrap; gap: 6px 14px; grid-column: 1 / -1; font-size: .88rem; font-weight: 600; }
.lap-branch__links a, .lap-branch__links button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; color: var(--lap-blue); background: none; border: 0; text-decoration: none; font-weight: 600; }
.lap-branch__links a:hover, .lap-branch__links button:hover { text-decoration: underline; }
.lap-map { width: 100%; height: 320px; border-radius: var(--lap-radius-sm); border: 1px solid var(--lap-line); z-index: 0; background: #e8eef6; }
@media (min-width: 992px) { .lap-map { height: 420px; } }
.lap-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* ---------- 9. Mapa ---------- */
.lap-mapbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 14px; margin-bottom: 14px; background: #fff; border: 1px solid var(--lap-line); border-radius: var(--lap-radius); box-shadow: var(--lap-shadow); }
.lap-mapbar > div { flex: 1 1 180px; min-width: 0; }
.lap-mapbar > .lap-mapbar__btn { flex: 0 0 auto; }
.lap-maplayout { display: grid; gap: 14px; }
@media (min-width: 992px) { .lap-maplayout { grid-template-columns: 380px minmax(0, 1fr); height: calc(100vh - var(--lap-header-h) - 210px); min-height: 480px; } }
.lap-maplayout .lap-map { height: 56vh; }
@media (min-width: 992px) { .lap-maplayout .lap-map { height: 100%; order: 2; } }
.lap-maplist { display: flex; flex-direction: column; min-height: 0; background: #fff; border: 1px solid var(--lap-line); border-radius: var(--lap-radius); box-shadow: var(--lap-shadow); overflow: hidden; }
.lap-maplist__head { padding: 12px 16px; font-weight: 600; border-bottom: 1px solid var(--lap-line); }
.lap-maplist__items { margin: 0; padding: 8px; list-style: none; overflow-y: auto; max-height: 60vh; }
@media (min-width: 992px) { .lap-maplist__items { max-height: none; flex: 1; } }
.lap-maplist__btn { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; width: 100%; padding: 8px; text-align: left; color: var(--lap-ink); background: none; border: 1px solid transparent; border-radius: 12px; }
.lap-maplist__btn img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; background: #eef2f8; }
.lap-maplist__btn strong { display: block; font-size: .95rem; line-height: 1.2; }
.lap-maplist__btn span { display: block; font-size: .82rem; color: var(--lap-ink-soft); }
.lap-maplist__btn em { display: block; font-size: .82rem; font-style: normal; font-weight: 600; color: var(--lap-blue); }
.lap-maplist__btn:hover { background: var(--lap-blue-soft); }
.lap-maplist__btn.is-active { background: var(--lap-blue-soft); border-color: var(--lap-blue); }

.lap-pin span { display: block; width: 28px; height: 28px; background: var(--lap-blue); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(6, 42, 94, .45); }
.lap-pin--active span { background: var(--lap-coral-dark); transform: rotate(-45deg) scale(1.2); }
.lap-popup { display: grid; gap: 4px; min-width: 190px; font-family: var(--bs-body-font-family); font-size: .88rem; }
.lap-popup strong { font-size: 1rem; }
.lap-popup span { color: var(--lap-ink-soft); }
.lap-popup ul { margin: 4px 0; padding-left: 18px; }
.lap-popup__go { font-weight: 700; }
.leaflet-container { font-family: var(--bs-body-font-family); }
.leaflet-container a { color: var(--lap-blue); }

/* ---------- 10. Seccion privada ---------- */
.lap-auth { max-width: 460px; margin: 0 auto; }
.lap-credential {
    position: relative;
    aspect-ratio: 1.586;
    max-width: 400px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--lap-blue) 0%, var(--lap-blue-deep) 100%);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(6, 42, 94, .35);
    overflow: hidden;
}
.lap-credential::after { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; background: var(--lap-coral); border-radius: 50%; opacity: .9; }
.lap-credential > * { position: relative; z-index: 1; }
.lap-credential img { display: block; height: 30px; width: auto; }
.lap-credential__number { margin: 22% 0 0; font-size: clamp(1.05rem, 4.6vw, 1.4rem); font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.lap-credential__name { margin: 8px 0 0; font-weight: 700; text-transform: uppercase; }
.lap-credential__type { margin: 0; font-size: .82rem; color: #dbe8fb; }

.lap-savings { padding: 20px; color: var(--lap-success); background: var(--lap-success-soft); border: 2px solid #9fd7b7; border-radius: var(--lap-radius); text-align: center; }
.lap-savings strong { display: block; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.lap-savings span { font-weight: 600; }
.lap-data { display: grid; gap: 14px 24px; margin: 0; }
@media (min-width: 576px) { .lap-data { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lap-data dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lap-ink-soft); }
.lap-data dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Tabla que en celular se vuelve lista de fichas (sin scroll horizontal) */
.lap-table { width: 100%; margin: 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lap-table caption { caption-side: top; padding: 0 0 10px; font-weight: 600; color: var(--lap-ink); }
.lap-table th { padding: 10px 12px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lap-ink-soft); background: #f1f5fb; text-align: left; }
.lap-table td { padding: 10px 12px; border-top: 1px solid var(--lap-line); }
.lap-table .is-num { text-align: right; }
.lap-table .is-save { font-weight: 700; color: var(--lap-success); }
@media (max-width: 575.98px) {
    .lap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .lap-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--lap-line); }
    .lap-table td { display: block; padding: 0; border: 0; text-align: left !important; }
    .lap-table td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lap-ink-soft); }
    .lap-table td:first-child { grid-column: 1 / -1; }
}

/* ---------- 11. Varios ---------- */
.lap-suggest__item strong { color: var(--lap-ink); }
.lap-form-errors ul { padding-left: 1.2rem; }
.lap-form-errors a { color: inherit; font-weight: 700; }
.lap-form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lap-side-help { padding: 20px; background: var(--lap-blue-soft); border: 1px solid var(--lap-blue-line); border-radius: var(--lap-radius); }
.lap-side-help h2 { font-size: 1.05rem; }
.lap-side-help ul { margin: 0; padding: 0; list-style: none; }
.lap-side-help li { display: flex; gap: 10px; padding: 6px 0; }
.lap-side-help li i { margin-top: 4px; color: var(--lap-blue); }
.lap-price { font-size: 1.4rem; font-weight: 800; color: var(--lap-blue-dark); }
.lap-list-plain { margin: 0; padding: 0; list-style: none; }
.lap-faq .accordion { --bs-accordion-border-color: var(--lap-line); --bs-accordion-border-radius: var(--lap-radius-sm); --bs-accordion-inner-border-radius: var(--lap-radius-sm); --bs-accordion-active-bg: var(--lap-blue-soft); --bs-accordion-active-color: var(--lap-blue-dark); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(239, 126, 132, .55); }
.lap-faq .accordion-button { font-weight: 600; }
.lap-faq .accordion-item + .accordion-item { margin-top: 8px; border-top: 1px solid var(--lap-line); border-radius: var(--lap-radius-sm); }
.lap-faq .accordion-item { border-radius: var(--lap-radius-sm); overflow: hidden; }

/* Los contenedores con scroll horizontal tienen que ser el bloque contenedor de sus hijos
   absolutos (.visually-hidden): si no, esos hijos escapan del recorte y la pagina entera
   gana scroll horizontal en celulares. */
.lap-chips,
.lap-rail__track,
.lap-maplist__items,
.lap-branch-list { position: relative; }

/* ---------- 12. Slider de novedades (portada) ---------- */
/* a todo el ancho de la pantalla, pegado al header: es lo primero que se ve */
.lap-slider { position: relative; overflow: hidden; background: #0156c0; }
.lap-slider__img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 415; object-fit: cover; }
.lap-slider a { display: block; }
.lap-slider a:focus-visible { outline-offset: -4px; }
.lap-slider__arrow { position: absolute; top: calc(50% - 16px); z-index: 2; display: none; place-items: center; width: 44px; height: 44px; margin-top: -22px; color: var(--lap-blue); background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; box-shadow: 0 2px 8px rgba(6, 42, 94, .3); }
.lap-slider__arrow:hover { color: #fff; background: var(--lap-blue); }
.lap-slider__arrow--prev { left: 12px; }
.lap-slider__arrow--next { right: 12px; }
@media (min-width: 1200px) {
    .lap-slider__arrow { width: 56px; height: 56px; margin-top: -28px; font-size: 1.2rem; }
    .lap-slider__arrow--prev { left: 28px; }
    .lap-slider__arrow--next { right: 28px; }
}
@media (min-width: 576px) { .lap-slider__arrow { display: grid; } }
/* en celular la imagen mide menos de 100 px de alto: los puntos van DEBAJO, no encima */
.lap-slider__bar { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 0; pointer-events: none; }
@media (min-width: 576px) { .lap-slider__bar { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; padding: 0; } .lap-slider__arrow { top: 50%; } }
.lap-slider__bar > * { pointer-events: auto; }
.lap-slider__dots { display: flex; gap: 2px; padding: 0 6px; background: rgba(6, 42, 94, .55); border-radius: 999px; }
/* el punto se ve de 8 px pero el boton mide 24: se puede tocar con el dedo */
.lap-slider__dots button { position: relative; width: 24px; height: 24px; padding: 0; background: none; border: 0; }
.lap-slider__dots button::before { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; background: rgba(255, 255, 255, .6); border-radius: 50%; transition: all .2s ease; }
.lap-slider__dots button.active::before { left: 4px; width: 16px; background: #fff; }
.lap-slider__pause { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; font-size: .6rem; color: #fff; background: rgba(6, 42, 94, .55); border: 0; border-radius: 50%; }
