@media only screen and (max-width: 768px)  {
    html, body {
        font-size: 10px; /* Réduit la taille de la police globale */
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden; /* Évite le défilement horizontal */
    }

    .container {
        overflow: scroll; /* Permet le défilement */
        -ms-overflow-style: none;  /* Pour Internet Explorer et Edge */
        scrollbar-width: none;  /* Pour Firefox */
        width:100%;
        margin-top: 20%;
        
    }
    
    .container::-webkit-scrollbar {
        display: none; /* Masque la barre de défilement sur Chrome, Safari et Opera */
    }

    h1 {
        font-size: 10px; /* Réduit la taille des titres h1 */
    }
    header {
        position: fixed; 
        top: 0;
        left: 0;
        width: 100%; 
        z-index: 1000;
    }

    .product{
        width: 100%;
        margin:auto;
        margin-top: 10px;
    }


    .main-container {
        display: flex;
        flex-direction: column;
        margin: auto;
        width: 100%; 
        margin-left: 0;
        margin: auto;
    }

    .btn-success{
        display: none;
    }

    .btn-phone{
        
        display: flex;
        justify-content: center;
        margin: auto;
    }

    #form-button{
        display: flex;
        justify-content: center;
    }

    .container{
        font-size: 15px;
    }
    .sizes{
        font-size: 1.5rem;
        height:5rem;
        width : 6rem;
    }


    .boutons-store{
        font-size: 15px;
        display: flex;
        flex-direction: column;
        margin: auto;
        gap: 1.5rem;
    }

    .ajouter-panier .ajouter-panier a{
        font-size: 15px;
    }

    #color-button{
        height:4rem;
        width: 3rem;
    }
    #color-options{
        height:11rem;
        width:3rem;
        margin-bottom: 20px;
        margin-right:1px;
        
    }

    #color-circle{
        height:2.5rem;
        width:2.5rem;
        margin-bottom:1rem;
    }

    .carousel-button {
        font-size: 14px; /* Taille de police spécifique pour iPhone */
        background-color: #f5f5f5; /* Couleur de fond spécifique pour iPhone */
        color: #333; /* Couleur du texte spécifique pour iPhone */
        padding: 10px; /* Padding ajusté pour iPhone */
    }
}
