/* Style général du formulaire WooEcom Inline COD */
#wicod-order-form {
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
}

.wicod-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.wicod-field {
    flex: 1;
    margin-right: 10px;
    min-width: 200px;
}

.wicod-field.full-width {
    flex: 100%;
}

.wicod-field label {
    display: block;
    margin-bottom: 5px;
}

.wicod-field input[type="text"],
.wicod-field input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Gestion de la quantité */
.quantity-field .wicod-quantity {
    display: flex;
    align-items: center;
}

.wicod-quantity button {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    background: #e91e63;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
    text-align: center;
}

.wicod-quantity input {
    text-align: center;
    width: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0 5px;
    height: 40px;
}

/* Conteneur du bouton de commande modifié pour occuper toute la largeur */
.order-button-field {
    width: 100%;
    margin-top: 10px;
}

/* Bouton de commande modifié avec animation de zoom */
.wicod-order-button {
    background-color: #e91e63;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    animation: zoomEffect 2s infinite;
}

/* Récapitulatif de commande */
#wicod-order-summary {
    border: 1px solid #e91e63;
    background-color: #ffe6f0;
    padding: 10px;
    margin-top: 20px;
}

.wicod-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #e91e63;
}

.wicod-summary-header .wicod-chevron {
    transition: transform 0.3s;
}

.wicod-summary-header .wicod-chevron.rotated {
    transform: rotate(180deg);
}

/* Styles responsives */
@media (max-width: 768px) {
    .wicod-row {
        flex-direction: column;
    }
    .order-button-field {
        margin-top: 10px;
    }
}

/* Animation de zoom léger sur le bouton */
@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
