/* --- Estilos para Filtro de Categorías --- */

/* Base para el círculo */
.category-icon-circle {
    width: 70px;
    height: 70px;
    border: 2px solid #27ADCB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

/* Contenedor del item completo (círculo + texto) */
.category-item {
    transition: transform 0.25s ease-out;
}

/* --- EFECTO HOVER (SIN CLICK) --- */
.category-item:hover {
    transform: translateY(-5px); /* Sube ligeramente el item entero */
}

.category-item:hover .category-icon-circle {
    box-shadow: 0 8px 20px rgba(39, 173, 203, 0.3); /* Sombra más pronunciada */
    transform: scale(1.1);
}

.category-item:hover small {
    color: #27ADCB !important; /* Usando color directo por si la variable --primary no está disponible */
}


/* --- EFECTO ACTIVO (CON CLICK) --- */
.category-item.active {
    transform: translateY(-5px); /* Lo mantiene elevado */
}

.category-item.active .category-icon-circle {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4C3D84 0%, #27ADCB 100%) !important; /* Gradiente principal */
    box-shadow: 0 8px 20px rgba(39, 173, 203, 0.4);
    border-color: #4C3D84 !important;
}

.category-item.active .category-icon-circle i {
    color: white !important;
}

.category-item.active small {
    color: #4C3D84 !important;
    font-weight: 700;
}

/* --- RESPONSIVE PARA CATEGORÍAS EN MÓVIL --- */
/* NOTA: Los estilos responsive están definidos inline en index.php
   para asegurar que se apliquen correctamente. Este archivo solo
   contiene los estilos base y de hover/active. */