#carrusel {
    float: left;
    width: 300px;
    overflow: hidden;
    height: 100px;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

#carrusel .left-arrow {
    position: absolute;
    left: 10px;
    z-index: 1;
    top: 50%;
    margin-top: -9px;
}

#carrusel .right-arrow {
    position: absolute;
    right: 10px;
    z-index: 1;
    top: 50%;
    margin-top: -9px;
}

.carrusel {
    position: absolute;
    z-index: 0;
}

.carrusel > div {
    float: left;
    height: 103px;
    width: 195px;
    text-align: center;
    vertical-align: middle;
}

.product {
    vertical-align: middle;
    top: 50%;
    padding-left: 1rem;
    width: 200px;
}

.imagenes {
    width: 170px; /* Ajustado de 190px para compensar el padding */
    padding: 10px;
    box-sizing: border-box;
}

.carruselContenedor {
    background-color: rgba(200, 200, 200, 255);
}

.tituloMarcas {
    font-family: MontserratBold;
    color: white;
    text-align: center;
    padding: 1em 0em 0em 0em;
}

/* Ajustes para pantallas pequeñas (Breakpoints x-chico y chico) */
@media (min-width: 0px) and (max-width: 576px) {
    #carrusel {
        width: calc(100px * 3); /* Ancho del carrusel para mostrar 3 imágenes pequeñas */
    }

    .imagenes {
        width: 100px; /* Ajustamos el tamaño de las imágenes para pantallas pequeñas */
        padding: 5px;
        box-sizing: border-box;
    }
}

/* Ajustes para pantallas medianas (a partir de 576px) */
@media (min-width: 576px) and (max-width: 768px) {
    #carrusel {
        width: calc(80px * 6); /* Ancho del carrusel para mostrar 6 imágenes medianas */
    }

    .imagenes {
        width: 80px;
        padding: 5px;
        box-sizing: border-box;
    }
}

/* Ajustes para pantallas más grandes (superiores a 768px) */
@media (min-width: 768px) {
    #carrusel {
        width: calc(100px * 6); /* Ancho del carrusel para mostrar 6 imágenes medianas */
        height: 150px;
    }

    .imagenes {
        width: 100px;
        padding: 5px;
        box-sizing: border-box;
    }

    .carrusel > div {
        height: 153px;
    }
}

/* Breakpoint xl */
@media (min-width: 1200px) {
    #carrusel {
        width: calc(190px * 6); /* Ajuste el ancho del carrusel para mostrar 6 imágenes */
        height: 200px;
    }

    .imagenes {
        width: 190px;
        padding: 5px;
        box-sizing: border-box;
    }

    .carrusel > div {
        height: 203px;
    }
}
