/* ══════════════════════════════════════════════
       DECADE NAV BAR — Unified floating pill bar
       Visible on ALL screen sizes (desktop + mobile).
       z-index: 850 — above pinned GSAP element & overlays.

       Desktop: chips centered, slightly larger, no overflow
       Mobile:  horizontally scrollable, safe-area aware
    ══════════════════════════════════════════════ */

/* Lift the progress bar on desktop so the nav bar doesn't cover it */
@media (min-width: 1101px) {
    .coleccion__progress { bottom: 66px !important; }
}

.decade-chips {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 850;
    background: rgba(6, 8, 14, 0.93);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.decade-chips__track {
    display: flex;
    gap: 6px;
    padding: 10px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
}

.decade-chips__track::-webkit-scrollbar { display: none; }

.decade-chips__chip {
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: transparent;
    color: rgba(255, 255, 255, 0.36);
    font-family: 'AloeveraDisplay', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 220ms ease, border-color 220ms ease,
    color 220ms ease, transform 130ms ease;
}

.decade-chips__chip:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);
}

/* Active: white pill — premium, high contrast, no yellow */
.decade-chips__chip.is-active {
    background: #ffffff;
    border-color: transparent;
    color: #0a0a0a;
}

.decade-chips__chip:active { transform: scale(0.93); }

/* Desktop enhancements: center the track, wider chips */
@media (min-width: 1101px) {
    .decade-chips__track {
        justify-content: center;
        padding: 12px clamp(24px, 5.5vw, 96px);
        gap: 8px;
        overflow-x: auto;
    }
    .decade-chips__chip {
        font-size: 11.5px;
        padding: 7px 20px;
    }
}

/* Reserve space so content isn't hidden behind the fixed bar */
.coleccion__mobile { padding-bottom: 80px !important; }