/* Styles pour le checkout personnalisé - Version ultra-simplifiée */
.custom-checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.checkout-title {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

/* Structure de base */
.woocommerce form.checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.woocommerce form.checkout .col2-set {
    flex: 1 1 60%;
    min-width: 300px;
}

.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #order_review {
    flex: 1 1 30%;
    min-width: 300px;
}

/* Style des champs */
.woocommerce form .form-row label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Style du récapitulatif de commande */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
}

/* Style du bouton de commande */
#place_order {
    background-color: #3d9cd2;
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    width: 100%;
    cursor: pointer;
}

#place_order:hover {
    background-color: #2980b9;
}

/* Message d'erreur WooCommerce */
.woocommerce-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Message de succès WooCommerce */
.woocommerce-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Message WooCommerce non actif */
.woocommerce-not-active {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1.5rem;
    border-radius: 4px;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce form.checkout {
        flex-direction: column;
    }
    
    .woocommerce form.checkout #order_review_heading,
    .woocommerce form.checkout #order_review {
        order: -1;
    }
}
