#main {
    width: calc(95% - 10px);
    border-radius: 10px;
    margin-bottom: 10px;
}

#miniatures img {
    margin: 0 10px 10px 0;
    width: calc(19% - 10px);
}

#miniatures.count1 {
    display: none;
}


#miniatures img {
    margin-bottom: 10px;
}

a.disabled {
    filter: grayscale(100%);
    opacity: 0.5;
    pointer-events: none;
}

.slider-meuble {
    width: 90%;
}
#preview h4
{
    display: none;
}
#preview p
    {
        display: block;
    }
h2 > span   
    {
    line-height: 1em;
    display: block;
    }
.echantillons .selection-echantillons .colors .color:hover {

        border: 3px solid var(--Red);
    }
@media only screen and (max-width: 767px) {

    .slider-meuble {
        width: 100%;
    }
    #main {
        display: none !important;
    }

    #miniatures {
        display: flex !important;
        height: 250px;
        overflow-x: auto;
        margin-bottom: 13px;
    }

    #miniatures img {
        margin: 0 10px 3px 0;
        width: 250px !important;
    }

    .echantillons .selection-echantillons .colors .color img {
        width: 100%;
        height: 100%;
    }
    #preview h4
        {
        display: block;
        font-weight: bold;
        margin-bottom: 15px;
        }
        #preview p
            {
            display: none;
            }
    .echantillons {
        grid-template-rows: none;
        display: flex;
        flex-direction: column;
    }
    .echantillons .selection-echantillons .colors
        {
        gap: 10px;
        }
    .echantillons .selection-echantillons .colors .color {
        padding: 0;
        width:  calc(20% - 8px);
        height: 60px;
        border: 3px solid transparent;
    
    }

    .configurateur .content .choix p {
        margin-top: -20px;
        margin-bottom: -20px;
    }
}