/* Sección de categorías */
.categories-section {
    background: #f9fafb;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

/* Botones de filtro */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background: #e5e7eb;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #2563eb;
    color: #fff;
}

.filter-btn.active {
    background: #2563eb;
    color: #fff;
}

/* Card de categoría */
.category-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}

/* Icono */
.category-icon {
    margin-bottom: 20px;
}

.flat-icon-large {
    width: 80px;
    height: 80px;
}

/* Títulos y textos */
.category-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.category-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 20px;
}

/* Stats dentro de la card */
.category-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.85rem;
    color: #374151;
}

.stat-item i {
    color: #2563eb;
    margin-right: 5px;
}

/* Botón Ver Todos */
.pulse-btn {
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,99,235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,99,235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,99,235, 0);
    }
}
