@import url('../../css/variables.css');

.categorias-container {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    overflow-x: auto;
    padding: 10px;
}

.categoria-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary-color);
    background: white;
    border-radius: 8px;
    padding: 10px;
    min-width: 120px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categoria-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.categoria-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.categoria-card span {
    font-size: 14px;
    text-align: center;
}

/* ESTILO SELECCIONADO */
.categoria-card.selected {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.categoria-card.selected span {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.categoria-card.selected  img{
    filter: brightness(0) invert(1);
    width: 40px;
    height: 40px;
};

.automotores{
    stroke-width: 1;
}

