/**
 * Style pour les boutons de commande WhatsApp
 */

.wowc-product-action-wrapper {
    margin-top: 12px;
    margin-bottom: 12px;
}

.wowc-cart-action-wrapper {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.wowc-order-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 22px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
    line-height: 1.2 !important;
}

.wowc-cart-action-wrapper .wowc-order-btn {
    width: 100%;
    padding: 15px 24px !important;
    font-size: 16px !important;
}

.wowc-order-btn:hover {
    background-color: #1EBE5D !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
    transform: translateY(-1px);
}

.wowc-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2) !important;
}

.wowc-wa-icon {
    flex-shrink: 0;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* État de chargement */
.wowc-order-btn.is-loading {
    opacity: 0.85;
    pointer-events: none;
    cursor: not-allowed !important;
}

.wowc-order-btn.is-loading .wowc-wa-icon {
    animation: wowc-spin 1s linear infinite;
}

@keyframes wowc-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Modal Popup Coordonnées Client */
.wowc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.wowc-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 28px 24px 24px;
    box-sizing: border-box;
    animation: wowc-fade-in 0.25s ease-out;
}

@keyframes wowc-fade-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wowc-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: color 0.2s;
}

.wowc-modal-close:hover {
    color: #111;
}

.wowc-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.wowc-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #e8f8ee;
    color: #25D366;
    border-radius: 50%;
    margin-bottom: 12px;
}

.wowc-modal-icon svg {
    width: 28px;
    height: 28px;
}

.wowc-modal-header h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    color: #1f2937;
}

.wowc-modal-header p {
    margin: 0;
    font-size: 13.5px;
    color: #6b7280;
}

.wowc-form-group {
    margin-bottom: 16px;
    text-align: left;
}

.wowc-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.wowc-form-group label .required {
    color: #e11d48;
}

.wowc-form-group input,
.wowc-form-group textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa !important;
}

.wowc-form-group input:focus,
.wowc-form-group textarea:focus {
    border-color: #25D366 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2) !important;
    background: #ffffff !important;
}

.wowc-hint {
    display: block;
    font-size: 11.5px;
    color: #9ca3af;
    margin-top: 4px;
}

.wowc-modal-footer {
    margin-top: 22px;
}

.wowc-modal-footer .wowc-confirm-btn {
    width: 100%;
    padding: 13px !important;
    font-size: 15px !important;
}


