:root {
    --blanco: #fff;
    --boton: #ff6600;
    --fondo: #e6ebf6;
    --marco: #dedede;
    --texto: #2b2b2b;
    --activo: #0d6efd;
}

.filtros-marcas {
    padding: 16px 20px;
    background-color: var(--fondo);
    border-top: 1px solid var(--marco);
    border-bottom: 3px solid var(--marco);
}

/* scroll horizontal */
.filtros-marcas-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 10px 20px;
    -webkit-overflow-scrolling: touch;
}

/* ocultar scrollbar */
.filtros-marcas-wrapper::-webkit-scrollbar {
    display: none;
}

.boton {
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    background: var(--blanco);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.boton img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.boton span {
    font-size: 1rem;
    font-weight: bold;
    color: var(--texto);
}

.boton:hover {
    transform: scale(1.05);
}

.boton.activo {
    border-color: var(--activo);
    background-color: #e7f1ff;
}

@media (max-width: 768px) {
    .boton {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }

    .boton span {
        font-size: 1.3rem;
    }

    .filtros-marcas-wrapper {
        gap: 10px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .boton {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .boton span {
        font-size: 1.1rem;
    }

    .boton img {
        padding: 6px;
    }

    .filtros-marcas-wrapper {
        gap: 8px;
        padding: 6px 10px;
    }
}