

/* ------ bouton de commande ------ */

#quentin-commande-button {
    background-color: #000; 
    color: #fff; 
    border: 2px solid #fff; 
    border-radius: 8px; 
    padding: 12px 20px; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-transform: uppercase; 
}

#quentin-commande-button:hover {
    background-color: #fff; 
    color: #000; 
    border-color: #000; 
    transform: scale(1.05); 
}


/* ------ overlay ------ */
#quentin-commande-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.0); 
    visibility: hidden;
    transition: background-color 0.6s ease, visibility 0.8s ease;
    z-index: 1020;
}

#quentin-commande-overlay.active {
    background-color: rgba(0, 0, 0, 0.8);
    visibility: visible; 
}

/* ------ Contenu de l'overlay ------ */
.quentin-overlay-content {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fff;
    padding: 40px;
    /* border-radius: 12px; */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 50%;
    height: 100%;
    text-align: center;
    position: absolute;
    right: -51%;
    /* border: 4px solid red;*/
    overflow: auto;

    transition: right 0.7s ease;
}

.active .quentin-overlay-content {
    right: 0%;
}

@media (max-width: 768px) {
    .quentin-overlay-content {
        right: -100%;
        width: 100%;
    }
    .active .quentin-overlay-content {
        right: 0%;
    }

}

/* Bouton de fermeture */
#close-overlay {
    background: none;
    border: none;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}


/* hidden stuff, mettre à la fin ? */
.hidden {
    display: none;
}


/* ---------- formulaire ------------- */

/* Titre du formulaire */
#quentin-commande-form h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Détails produit */
#product-details {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.quentin-overlay-content label {
    /*border: 1px solid red;*/
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px 10px 10px;
}

.quentin-overlay-content select {
    /*border: 1px solid blue;*/
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 50px;
}

/* Zone de texte */
#quentin-commande-form textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    resize: none;
}

/* Paragraphe d'informations */
#quentin-commande-form p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Bouton d'envoi */
#quentin-commande-form button[type="submit"] {
    background-color: #000; 
    color: #fff; 
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#quentin-commande-form button[type="submit"]:hover {
    background-color: #555; 
    transform: scale(1.05); 
}

/* Message de confirmation */
#confirmation-message {
    font-size: 16px;
    color: #28a745;
    margin-top: 20px;
}

/* Styles lorsque le message est visible */
#confirmation-message.hidden {
    display: none;
}



