/* MEC Checkout Premium Styles */

.mec-checkout-wrapper.premium-layout {
    font-family: 'Inter', sans-serif;
    background: #fdfdfd;
    min-height: 100vh;
    padding-bottom: 80px;
}

.mec-checkout-banner-premium {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -100px;
}

.mec-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.mec-banner-content {
    position: relative;
    z-index: 2;
}

.mec-checkout-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.checkout-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--mec-checkout-text);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.checkout-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 20px;
}

.checkout-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 40px;
}

.checkout-badges span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Step Indicator */
.mec-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.mec-step {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    background: #fff;
}

.step-label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 14px;
}

.mec-step.done .step-icon {
    border-color: var(--mec-checkout-accent);
    color: var(--mec-checkout-accent);
}

.mec-step.done .step-label {
    color: var(--mec-checkout-text);
}

.mec-step.active .step-icon {
    background: var(--mec-checkout-accent);
    border-color: var(--mec-checkout-accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 138, 138, 0.3);
}

.mec-step.active .step-label {
    color: var(--mec-checkout-text);
}

.step-line {
    flex: 0 0 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 20px;
}

.step-line.active {
    background: var(--mec-checkout-accent);
}

/* Form Card */
.mec-checkout-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

/* WooCommerce Overrides */
.woocommerce-billing-fields h3 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--mec-checkout-text) !important;
    margin-bottom: 30px !important;
}

.woocommerce-checkout #order_review_heading {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--mec-checkout-text) !important;
    margin-top: 40px !important;
}

/* Field Styles */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="date"],
.woocommerce-checkout select {
    padding: 15px 20px !important;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 15px !important;
    transition: all 0.2s !important;
    width: 100%;
}

.woocommerce-checkout input:focus {
    border-color: var(--mec-checkout-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(255, 138, 138, 0.1) !important;
}

/* Button Styling */
.woocommerce-checkout #place_order {
    background: var(--mec-checkout-primary) !important;
    color: #fff !important;
    padding: 20px !important;
    border-radius: 16px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    transition: all 0.3s !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 138, 138, 0.3) !important;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 138, 138, 0.4) !important;
}

/* Hide redundant stuff */
.woocommerce-form-coupon-toggle,
.woocommerce-checkout-payment .payment_method_paypal .about_paypal {
    display: none !important;
}

/* Hide Additional Information section aggressively */
.woocommerce-additional-fields,
.woocommerce-additional-fields__field-wrapper,
#order_comments_field,
.woocommerce-billing-fields+h3,
.woocommerce-billing-fields+div>h3 {
    display: none !important;
}

/* Address Fields Logic: Hide auto-filled ones if needed */
.mec-hidden-field {
    display: none !important;
}

.mec-half-width {
    width: 48% !important;
    float: left !important;
}

.mec-half-width.form-row-last {
    float: right !important;
}

@media (max-width: 768px) {
    .mec-checkout-form-card {
        padding: 30px 20px;
    }

    .checkout-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .mec-steps-indicator {
        padding: 15px;
    }

    .step-line {
        margin: 0 10px;
        flex: 0 0 20px;
    }
}