:root {
    --blanco: #f2f2f2;
    --boton: #ff6600;
    --fondo: #282e39;
    --margen: #2f3440;
}

.filtros-marcas {
    background-color: var(--fondo);
    border-bottom: 3px solid var(--margen);
    border-top: 3px solid var(--margen);
    padding: 20px 0;
}

#brand-slider {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 70px;
}

#brand-slider .splide__track {
    padding: 10px 0;
}

#brand-slider .splide__slide {
    width: auto;
}

.boton {
    align-items: center;
    background: var(--blanco);
    border: 3px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    height: 100px;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    width: 100px;
}

.boton img {
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    width: 100%;
}

.boton:hover {
    transform: scale(1.05);
}

.boton:focus {
    outline: none;
}

.boton:active,
.boton.activo {
    border-color: var(--boton);
}

/* Estilos para las flechas del slider de marcas */
#brand-slider .splide__arrow {
    background-color: var(--boton);
    border: none;
    border-radius: 50%;
    color: var(--blanco);
    cursor: pointer;
    font-family: monospace;
    font-size: 30px;
    font-weight: bold;
    height: 50px;
    opacity: 1;
    outline: none;
    transition: .5s;
    width: 50px;
    z-index: 20; /* Asegura que la flecha esté siempre encima de las marcas */
}

/* Estado inactivo cuando no hay más elementos hacia ese lado */
#brand-slider .splide__arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none; /* Evita que reciba clicks involuntarios */
}

#brand-slider .splide__arrow svg {
    display: none;
}

#brand-slider .splide__arrow--prev {
    left: 2px;
}

#brand-slider .splide__arrow--prev::before {
    content: "<";
}

#brand-slider .splide__arrow--next {
    right: 2px;
}

#brand-slider .splide__arrow--next::before {
    content: ">";
}

#brand-slider .splide__arrow:hover {
    background: var(--blanco);
    color: var(--amarillo);
}

@media (max-width: 768px) {
    #brand-slider {
        padding: 0 60px;
    }

    #brand-slider .splide__arrow {
        height: 40px;
        width: 40px;
        font-size: 24px;
    }

    #brand-slider .splide__arrow--prev {
        left: 10px;
    }

    #brand-slider .splide__arrow--next {
        right: 10px;
    }

    .boton {
        border-radius: 10px;
        height: 80px;
        width: 80px;
    }

    .boton span {
        font-size: 1.3rem;
    }

    .filtros-marcas-wrapper {
        gap: 10px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    #brand-slider {
        padding: 0 50px;
    }

    #brand-slider .splide__arrow {
        height: 35px;
        width: 35px;
        font-size: 20px;
    }

    #brand-slider .splide__arrow--prev {
        left: 8px;
    }

    #brand-slider .splide__arrow--next {
        right: 8px;
    }

    .boton {
        border-radius: 8px;
        height: 70px;
        width: 70px;
    }

    .boton span {
        font-size: 1.1rem;
    }

    .boton img {
        padding: 6px;
    }

    .filtros-marcas-wrapper {
        gap: 8px;
        padding: 6px 10px;
    }
}