/* Carrusel de Categorías Innovador */
.categories-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
}

.categories-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px 8px;
    flex-wrap: wrap;
    padding: 10px 0;
    transition: all 0.3s;
}

.category-label {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 700;
    margin-right: 4px;
}

.category-pill {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 8px 18px;
    color: #E2E8F0;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s, border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.05);
}

.category-pill.active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-color: #3B82F6;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.category-pill.coupon-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-color: #F59E0B;
    color: #FBBF24;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.category-pill.coupon-pill:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(245, 158, 11, 0.2) 100%);
    border-color: #FBBF24;
}

/* ============================
   RESPONSIVE — DESKTOP
   ============================ */
@media (min-width: 992px) {
    .categories-carousel {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 20px;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.2) transparent;
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    .categories-carousel::-webkit-scrollbar {
        height: 4px;
    }
    
    .categories-carousel::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }
}
