/* --- Contenedor del Slider general --- */
.custom-cat-slider {
    padding: 32px 10px;
    position: relative;
    --primary-color: #6a11cb; /* Color púrpura de la imagen */
    overflow: hidden;
}

/* --- La Tarjeta de Categoría (Horizontal y Limpia) --- */
.custom-cat-card {
    display: flex; /* Activa diseño horizontal */
    align-items: flex-start; /* Alinea arriba */
    background: #ffffff;
    border-radius: 16px; /* Bordes redondeados de la imagen */
    padding: 24px;
    text-decoration: none;
    color: #333333;
    border: 1px solid #eaeaea; /* Borde sutil */
    box-shadow: 0 5px 20px rgba(0,0,0,0.02); /* Sombra muy sutil */
    transition: all 0.3s ease;
    width: 100%;
}

.custom-cat-card:hover {
    border-color: #d1d1d1;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/** icono contenedor*/
.cat-icon-wrapper {
    flex: 0 0 70px; 
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 12px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    overflow: hidden;
}


.cat-icon-wrapper .cat-icon-image {
    width: 70%;
    height: 70%;
    object-fit: contain;
}


.cat-icon-wrapper .cat-icon-fallback {
    font-size: 30px;
    color: #ffffff;
}


.cat-content-wrapper {
    flex: 1;
}
/****
titulo
***/
.cat-content-wrapper .cat-title {
    font-size: 1.1rem;
    font-weight: 700; 
    margin: 0 0 8px 0;
    color: #000000;
}

/***
descripcion
**/
.cat-content-wrapper .cat-description {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.4;
    margin: 0 0 12px 0;
}
/***
contador
*/
.cat-content-wrapper .cat-count {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000; 
}

/* Ajuste responsive */
@media (max-width: 480px) {
    .custom-cat-card {
        padding: 16px;
    }
    .cat-icon-wrapper {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    .custom-cat-card .cat-title {
        font-size: 1rem;
    }
}