/* Sections - Style Shopify - Electro World Checkout */

/* Sections principales - Clean comme Shopify */
.ew-section {
    background: var(--ew-bg) !important;
    margin-bottom: var(--ew-spacing-lg) !important;
    position: relative !important;
}

/* Pas de bordures/ombres lourdes comme tu l'as vu sur Shopify */
.ew-section:not(.ew-cart-section):not(.ew-order-summary) {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.wc-payment-gateway-fields.wc-payment-form, .wc-payment-gateway-fields.wc-payment-form label {
    font-size: 14px;
    padding: 10px 0 !important;
}

label.ew-payment-option {
    gap: 10px;
}

.ew-billing-different {
    padding: 20px 0 20px !important;
}

.ew-contact-fields, .ew-delivery-fields, .ew-shipping-methods, .ew-payment-methods {
    padding: 15px 0 0 0 !important;
}

div#ew-billing-address-fields h4 {
    padding-bottom: 10px !important;
}


.ew-section.ew-shipping-section, .ew-section.ew-delivery-section, .ew-section.ew-payment-section {
    margin-top: 30px !important;
}

.ew-section-header {
    margin-bottom: var(--ew-spacing-md) !important;
    padding-bottom: var(--ew-spacing-sm) !important;
    border-bottom: 1px solid var(--ew-border) !important;
}

.ew-section-header h3 {
    font-size: var(--ew-text-lg) !important;
    font-weight: 600 !important;
    color: var(--ew-text) !important;
    letter-spacing: -0.01em !important;
}

/* Section Contact */
.ew-contact-section .ew-section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.ew-login-link {
    color: var(--ew-primary) !important;
    font-size: var(--ew-text-sm) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: var(--ew-transition) !important;
}

.ew-login-link:hover {
    color: var(--ew-primary-hover) !important;
    text-decoration: underline !important;
}

/* Section Livraison */
.ew-delivery-section {
    margin-top: var(--ew-spacing-xl) !important;
}

/* Section Expédition */
.ew-shipping-section {
    margin-top: var(--ew-spacing-xl) !important;
}

/* Section Paiement */
.ew-payment-section {
    margin-top: var(--ew-spacing-xl) !important;
    padding-bottom: var(--ew-spacing-xl) !important;
}

/* Actions du checkout */
.ew-checkout-actions {
    margin-top: var(--ew-spacing-xl) !important;
    padding-top: var(--ew-spacing-lg) !important;
    border-top: 1px solid var(--ew-border) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: var(--ew-spacing-md) !important;
}

/* Responsive sections */
@media (max-width: 768px) {
    .ew-section {
        margin-bottom: var(--ew-spacing-md) !important;
    }

    .ew-contact-section .ew-section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: var(--ew-spacing-xs) !important;
    }

    .ew-delivery-section,
    .ew-shipping-section,
    .ew-payment-section {
        margin-top: var(--ew-spacing-lg) !important;
    }

    .ew-checkout-actions {
        flex-direction: column !important;
        gap: var(--ew-spacing-sm) !important;
    }
}

@media (max-width: 480px) {
    .ew-section-header h3 {
        font-size: var(--ew-text-md) !important;
    }

    .ew-section {
        margin-bottom: var(--ew-spacing-sm) !important;
    }
}
