/* ================= SUBCATEGORY PILL NAV — Premium Glassmorphism (v=85) ================= */

.subcategory-nav {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 20px 15px;
    margin-bottom: 5px;
    align-items: center;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Visual hint: degradado que revela scroll */
    mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
    animation: slideDownFade 0.3s ease-out forwards;
}

.subcategory-nav::-webkit-scrollbar {
    display: none;
}

.subcategory-pill {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 22px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.subcategory-pill:hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.subcategory-pill.active {
    background: linear-gradient(135deg, var(--brand-gold), #e09f00);
    color: var(--brand-blue);
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 183, 3, 0.35);
    transform: translateY(-1px);
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}