/* Start custom CSS for text-editor, class: .elementor-element-5454d232 */.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 119px !important; /* Augmente la largeur à 300px et force l'application */
    float: left;
    box-sizing: border-box;
    border: 1px solid #cfc8d8;
    padding: 6px 6px 5px;
    margin: 0 4px 0 0;
    outline: 0;
}

@media (max-width: 768px) { /* Version mobile */
    .woocommerce-cart table.cart td.actions .coupon .button {
        font-size: 0.9rem; /* Réduit la taille du texte */
        padding: 0.5rem 0.8rem; /* Ajuste les marges internes */
        white-space: normal; /* Permet au texte de passer à la ligne */
        width: auto; /* Permet au bouton de s'adapter à son contenu */
        text-align: center; /* Centre le texte */
    }
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
    border: 2px solid #2a7221; /* Bordure verte */
    border-radius: 5px; /* Coins arrondis */
    padding: 1em; /* Maintient le padding */
    font-size: 1.25em; /* Taille de la police */
    text-align: center; /* Centre le texte */
    display: block; /* Garde le bouton en block */
    margin: 1em auto; /* Centrage horizontal et espacement vertical */
    width: 50%; /* Réduit la largeur à 50% du conteneur */
    max-width: 300px; /* Limite maximale de largeur */
    text-decoration: none; /* Supprime les soulignements */
    color: white; /* Texte blanc par défaut */
    background-color: #2a7221; /* Fond vert par défaut */
    transition: all 0.3s ease-in-out; /* Ajoute un effet fluide */
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: white; /* Fond blanc au survol */
    color: #2a7221; /* Texte vert au survol */
    border-color: #2a7221; /* Bordure reste verte */
}/* End custom CSS */