/* =====================================================
   MURAT BISEN - MODERN CHECKOUT
===================================================== */

body.mb-modern-checkout-page {
    background: #ffffff !important;
}

body.mb-modern-checkout-page .main-page-wrapper,
body.mb-modern-checkout-page .site-content,
body.mb-modern-checkout-page .woocommerce {
    background: #ffffff !important;
}

body.mb-modern-checkout-page .woocommerce {
    max-width: 1460px !important;
    margin: 0 auto !important;
    padding: 34px 28px 70px !important;
}

/* Eski başlıkları yumuşat */
body.mb-modern-checkout-page .page-title,
body.mb-modern-checkout-page .entry-title {
    display: none !important;
}

/* =====================================================
   HERO + STEPS
===================================================== */

.mb-checkout-hero {
    margin-bottom: 26px;
}

.mb-checkout-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 58, 45, .10);
    box-shadow: 0 18px 44px rgba(15, 58, 45, .07);
}

.mb-checkout-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px 14px;
    border-radius: 17px;
    background: #fafafa;
    color: #8a8a8a;
}

.mb-checkout-step span {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 999px;
    border: 1px solid rgba(15, 58, 45, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #8a8a8a;
    background: #fff;
}

.mb-checkout-step strong {
    display: block;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.2;
}

.mb-checkout-step small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #7b7b7b;
}

.mb-checkout-step.is-active {
    background: #f7fbf8;
}

.mb-checkout-step.is-active span,
.mb-checkout-step.is-done span {
    background: #0f3a2d;
    border-color: #0f3a2d;
    color: #ffffff;
}

.mb-checkout-title {
    margin-bottom: 22px;
}

.mb-checkout-title span {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #b88945;
}

.mb-checkout-title h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    color: #0f3a2d;
}

.mb-checkout-title p {
    margin: 10px 0 0;
    color: #6d6d6d;
    font-size: 15px;
}

/* =====================================================
   MAIN CHECKOUT GRID
===================================================== */

body.mb-modern-checkout-page form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 430px !important;
    gap: 30px !important;
    align-items: start !important;
}

body.mb-modern-checkout-page .woocommerce-NoticeGroup-checkout,
body.mb-modern-checkout-page .woocommerce-error,
body.mb-modern-checkout-page .woocommerce-message,
body.mb-modern-checkout-page .woocommerce-info {
    grid-column: 1 / -1 !important;
}

body.mb-modern-checkout-page form.checkout > .col2-set {
    grid-column: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.mb-modern-checkout-page form.checkout > .col2-set .col-1,
body.mb-modern-checkout-page form.checkout > .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fatura kartı */
body.mb-modern-checkout-page .woocommerce-billing-fields,
body.mb-modern-checkout-page .woocommerce-shipping-fields,
body.mb-modern-checkout-page .woocommerce-additional-fields {
    border-radius: 24px;
    border: 1px solid rgba(15, 58, 45, .12);
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 58, 45, .07);
    overflow: hidden;
}

body.mb-modern-checkout-page .woocommerce-billing-fields {
    padding: 0 0 22px;
}

body.mb-modern-checkout-page .woocommerce-billing-fields > h3 {
    margin: 0 !important;
    padding: 24px 26px 16px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 24px !important;
    color: #0f3a2d !important;
    border-bottom: 1px solid rgba(15, 58, 45, .09);
}

body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    padding: 8px 26px 0;
}

/* Form section titles */
.mb-checkout-form-section-title,
.mb-address-type-panel {
    margin: 0 0 16px;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(15, 58, 45, .12);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 58, 45, .06);
}

.mb-checkout-form-section-title {
    padding: 0 26px 4px;
    margin-top: 18px;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.mb-checkout-form-section-title span,
.mb-panel-title span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.1;
    color: #0f3a2d;
    font-weight: 700;
}

.mb-checkout-form-section-title small,
.mb-panel-title small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 13px;
}

/* Address type cards */
.mb-address-type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.mb-address-type-card {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(15, 58, 45, .13);
    background: #ffffff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition: all .22s ease;
}

.mb-address-type-card span {
    color: #0f3a2d;
    font-size: 17px;
}

.mb-address-type-card strong {
    font-size: 14px;
    font-weight: 800;
}

.mb-address-type-card.is-active {
    background: #0f3a2d;
    border-color: #0f3a2d;
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 58, 45, .20);
}

.mb-address-type-card.is-active span {
    color: #fff;
}

/* =====================================================
   FORM FIELDS
===================================================== */

body.mb-modern-checkout-page .form-row {
    margin: 0 0 18px !important;
}

body.mb-modern-checkout-page .form-row.mb-field-half,
body.mb-modern-checkout-page .form-row.form-row-first,
body.mb-modern-checkout-page .form-row.form-row-last {
    width: calc(50% - 9px) !important;
    float: none !important;
    clear: none !important;
}

body.mb-modern-checkout-page .form-row.mb-field-wide,
body.mb-modern-checkout-page .form-row.form-row-wide {
    width: 100% !important;
    clear: both !important;
}

body.mb-modern-checkout-page .form-row label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #222 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.mb-modern-checkout-page .form-row label .required {
    color: #c0392b !important;
}

body.mb-modern-checkout-page input.input-text,
body.mb-modern-checkout-page textarea,
body.mb-modern-checkout-page select,
body.mb-modern-checkout-page .select2-container--default .select2-selection--single {
    min-height: 48px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 58, 45, .14) !important;
    background: #ffffff !important;
    color: #1f1f1f !important;
    box-shadow: none !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.mb-modern-checkout-page textarea {
    min-height: 108px !important;
    padding: 14px 16px !important;
}

body.mb-modern-checkout-page input.input-text:focus,
body.mb-modern-checkout-page textarea:focus,
body.mb-modern-checkout-page select:focus,
body.mb-modern-checkout-page .select2-container--open .select2-selection--single {
    border-color: rgba(15, 58, 45, .55) !important;
    box-shadow: 0 0 0 4px rgba(15, 58, 45, .08) !important;
    outline: none !important;
}

body.mb-modern-checkout-page .form-row.mb-is-filled input.input-text,
body.mb-modern-checkout-page .form-row.mb-is-filled textarea,
body.mb-modern-checkout-page .form-row.mb-is-filled select,
body.mb-modern-checkout-page .form-row.mb-is-filled .select2-selection--single {
    border-color: rgba(15, 58, 45, .32) !important;
    background: #fbfdfb !important;
}

body.mb-modern-checkout-page .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 0 !important;
    color: #1f1f1f !important;
}

body.mb-modern-checkout-page .select2-container .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px !important;
}

/* Shipping / additional */
body.mb-modern-checkout-page .woocommerce-shipping-fields,
body.mb-modern-checkout-page .woocommerce-additional-fields {
    margin-top: 18px;
    padding: 24px 26px;
}

body.mb-modern-checkout-page .woocommerce-shipping-fields h3,
body.mb-modern-checkout-page .woocommerce-additional-fields h3 {
    margin-top: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    color: #0f3a2d !important;
}

/* =====================================================
   ADDRESS SUMMARY
===================================================== */

.mb-address-summary-card {
    margin: 20px 26px 0;
    padding: 20px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(184, 137, 69, .10), rgba(15, 58, 45, .05));
    border: 1px solid rgba(184, 137, 69, .20);
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
}

.mb-address-summary-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(15, 58, 45, .10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f3a2d;
    font-size: 34px;
}

.mb-address-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.mb-address-summary-top strong {
    font-family: Georgia, "Times New Roman", serif;
    color: #0f3a2d;
    font-size: 21px;
}

.mb-address-summary-top span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 58, 45, .08);
    color: #0f3a2d;
    font-size: 11px;
    font-weight: 800;
}

.mb-address-summary-card p {
    margin: 4px 0;
    color: #4f4f4f;
    font-size: 13.5px;
    line-height: 1.45;
}

/* =====================================================
   ORDER REVIEW
===================================================== */

body.mb-modern-checkout-page #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding: 26px 26px 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 58, 45, .12) !important;
    border-bottom: 0 !important;
    box-shadow: 0 20px 50px rgba(15, 58, 45, .07) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    color: #0f3a2d !important;
    font-size: 26px !important;
}

body.mb-modern-checkout-page #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: sticky !important;
    top: 24px !important;
    padding: 18px 26px 26px !important;
    border-radius: 0 0 24px 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 58, 45, .12) !important;
    border-top: 0 !important;
    box-shadow: 0 20px 50px rgba(15, 58, 45, .07) !important;
}

.mb-order-summary-eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mb-order-summary-eyebrow span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #f3f5f2;
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.mb-order-summary-eyebrow strong {
    color: #0f3a2d;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table {
    border: 0 !important;
    margin: 0 0 18px !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table th,
body.mb-modern-checkout-page .woocommerce-checkout-review-order-table td {
    border-color: rgba(15, 58, 45, .08) !important;
    padding: 14px 0 !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table thead th {
    color: #1f1f1f !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table .product-name {
    color: #333 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table .product-total,
body.mb-modern-checkout-page .woocommerce-checkout-review-order-table tfoot td {
    color: #0f3a2d !important;
    font-weight: 800 !important;
}

body.mb-modern-checkout-page .order-total th,
body.mb-modern-checkout-page .order-total td {
    font-size: 20px !important;
    color: #0f3a2d !important;
}

/* Payment */
.mb-payment-title {
    margin: 18px 0 12px;
}

.mb-payment-title span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    color: #0f3a2d;
    font-size: 22px;
    font-weight: 700;
}

.mb-payment-title small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 12px;
}

body.mb-modern-checkout-page #payment {
    background: transparent !important;
    border: 0 !important;
}

body.mb-modern-checkout-page #payment ul.payment_methods {
    border: 0 !important;
    padding: 0 !important;
}

body.mb-modern-checkout-page #payment ul.payment_methods li {
    margin: 0 0 10px !important;
    padding: 14px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 58, 45, .12) !important;
    background: #ffffff !important;
}

body.mb-modern-checkout-page #payment div.payment_box {
    margin: 10px 0 0 !important;
    border-radius: 12px !important;
    background: #f8faf8 !important;
    color: #666 !important;
    font-size: 12.5px !important;
}

body.mb-modern-checkout-page #payment div.payment_box::before {
    display: none !important;
}

body.mb-modern-checkout-page .place-order {
    padding: 0 !important;
    margin-top: 18px !important;
}

body.mb-modern-checkout-page #place_order {
    width: 100% !important;
    min-height: 56px !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #0f3a2d, #0a2b21) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    box-shadow: 0 18px 34px rgba(15, 58, 45, .22) !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1199px) {
    body.mb-modern-checkout-page form.checkout {
        grid-template-columns: minmax(0, 1fr) 390px !important;
        gap: 22px !important;
    }
}

@media (max-width: 991px) {
    body.mb-modern-checkout-page .woocommerce {
        padding: 24px 18px 90px !important;
    }

    body.mb-modern-checkout-page form.checkout {
        display: block !important;
    }

    body.mb-modern-checkout-page #order_review_heading,
    body.mb-modern-checkout-page #order_review {
        position: relative !important;
        top: auto !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
    }

    body.mb-modern-checkout-page #order_review_heading {
        margin-top: 22px !important;
    }

    .mb-checkout-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    body.mb-modern-checkout-page .woocommerce {
        padding: 18px 12px 96px !important;
    }

    .mb-checkout-steps {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 10px;
        border-radius: 18px;
        scrollbar-width: none;
    }

    .mb-checkout-steps::-webkit-scrollbar {
        display: none;
    }

    .mb-checkout-step {
        flex: 0 0 210px;
        min-height: 62px;
        padding: 10px;
    }

    .mb-checkout-title h1 {
        font-size: 32px;
    }

    .mb-checkout-title p {
        font-size: 13px;
    }

    .mb-address-type-panel,
    body.mb-modern-checkout-page .woocommerce-billing-fields,
    body.mb-modern-checkout-page .woocommerce-shipping-fields,
    body.mb-modern-checkout-page .woocommerce-additional-fields,
    body.mb-modern-checkout-page #order_review_heading,
    body.mb-modern-checkout-page #order_review {
        border-radius: 20px !important;
    }

    .mb-address-type-cards {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    body.mb-modern-checkout-page .form-row.mb-field-half,
    body.mb-modern-checkout-page .form-row.form-row-first,
    body.mb-modern-checkout-page .form-row.form-row-last,
    body.mb-modern-checkout-page .form-row.mb-field-wide,
    body.mb-modern-checkout-page .form-row.form-row-wide {
        width: 100% !important;
    }

    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper {
        padding: 8px 18px 0;
    }

    .mb-address-type-panel {
        padding: 20px 18px;
    }

    body.mb-modern-checkout-page .woocommerce-billing-fields > h3 {
        padding: 20px 18px 14px !important;
        font-size: 22px !important;
    }

    .mb-checkout-form-section-title {
        padding: 0 18px 4px;
    }

    .mb-address-summary-card {
        margin: 18px 18px 0;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px;
    }

    .mb-address-summary-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 25px;
    }

    .mb-address-summary-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
/* =====================================================
   CHECKOUT LAYOUT FIX - DESKTOP WIDTH / COLUMN SYSTEM
===================================================== */

@media (min-width: 992px) {

    body.mb-modern-checkout-page .woocommerce {
        width: min(1280px, calc(100% - 48px)) !important;
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 34px 0 70px !important;
    }

    body.mb-modern-checkout-page form.checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 760px) minmax(360px, 430px) !important;
        gap: 34px !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.mb-modern-checkout-page form.checkout > .col2-set,
    body.mb-modern-checkout-page form.checkout #customer_details,
    body.mb-modern-checkout-page form.checkout .customer-details {
        grid-column: 1 !important;
        grid-row: 1 / span 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    body.mb-modern-checkout-page form.checkout > .col2-set .col-1,
    body.mb-modern-checkout-page form.checkout > .col2-set .col-2,
    body.mb-modern-checkout-page form.checkout #customer_details .col-1,
    body.mb-modern-checkout-page form.checkout #customer_details .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.mb-modern-checkout-page form.checkout > h3#order_review_heading {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 24px 24px 0 !important;
    }

    body.mb-modern-checkout-page form.checkout > #order_review {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 18px 24px 24px !important;
    }

    body.mb-modern-checkout-page form.checkout .checkout-order-review,
    body.mb-modern-checkout-page form.checkout .wd-checkout-order-review {
        grid-column: 2 !important;
        grid-row: 1 / span 3 !important;
        width: 100% !important;
        max-width: 430px !important;
        min-width: 0 !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: sticky !important;
        top: 24px !important;
    }

    body.mb-modern-checkout-page form.checkout .checkout-order-review #order_review_heading,
    body.mb-modern-checkout-page form.checkout .wd-checkout-order-review #order_review_heading {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 24px 24px 0 !important;
    }

    body.mb-modern-checkout-page form.checkout .checkout-order-review #order_review,
    body.mb-modern-checkout-page form.checkout .wd-checkout-order-review #order_review {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 18px 24px 24px !important;
    }
}

/* Sol form kartını genişlet */
body.mb-modern-checkout-page .woocommerce-billing-fields {
    width: 100% !important;
    max-width: 100% !important;
}

body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper {
    width: 100% !important;
}

/* Alanlar masaüstünde düzgün iki kolon */
@media (min-width: 768px) {
    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
    }

    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper .form-row-wide,
    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper #billing_company_field,
    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper #billing_country_field,
    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper #billing_address_2_field,
    body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper #billing_postcode_field {
        grid-column: 1 / -1 !important;
    }
}

/* Sipariş özeti tablo sıkışmasın */
body.mb-modern-checkout-page #order_review,
body.mb-modern-checkout-page .woocommerce-checkout-review-order {
    overflow: visible !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table {
    width: 100% !important;
    table-layout: auto !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table th,
body.mb-modern-checkout-page .woocommerce-checkout-review-order-table td {
    white-space: normal !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table .product-name {
    width: 68% !important;
}

body.mb-modern-checkout-page .woocommerce-checkout-review-order-table .product-total {
    width: 32% !important;
    text-align: right !important;
}

/* Kupon / kargo uyarıları tam genişlikte dursun */
body.mb-modern-checkout-page .woocommerce-form-coupon-toggle,
body.mb-modern-checkout-page .woocommerce-info,
body.mb-modern-checkout-page .cart-totals-inner,
body.mb-modern-checkout-page .wd-free-progress-bar {
    max-width: 760px !important;
}

/* Sağ özet fiş gibi daralmasın */
body.mb-modern-checkout-page #order_review_heading,
body.mb-modern-checkout-page #order_review {
    box-sizing: border-box !important;
}

/* Mobilde tekrar tek kolon */
@media (max-width: 991px) {
    body.mb-modern-checkout-page form.checkout {
        display: block !important;
        width: 100% !important;
    }

    body.mb-modern-checkout-page form.checkout > .col2-set,
    body.mb-modern-checkout-page form.checkout #customer_details,
    body.mb-modern-checkout-page form.checkout .customer-details,
    body.mb-modern-checkout-page form.checkout .checkout-order-review,
    body.mb-modern-checkout-page form.checkout .wd-checkout-order-review,
    body.mb-modern-checkout-page form.checkout > #order_review,
    body.mb-modern-checkout-page form.checkout > #order_review_heading {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        top: auto !important;
    }
}
/* =====================================================
   CHECKOUT POLISH FIXES
===================================================== */

/* Alan sıralaması */
body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper {
    align-items: start !important;
}

body.mb-modern-checkout-page #billing_first_name_field { order: 1 !important; }
body.mb-modern-checkout-page #billing_last_name_field  { order: 2 !important; }
body.mb-modern-checkout-page #billing_company_field    { order: 3 !important; }
body.mb-modern-checkout-page #billing_phone_field      { order: 4 !important; }
body.mb-modern-checkout-page #billing_email_field      { order: 5 !important; }
body.mb-modern-checkout-page #billing_country_field    { order: 6 !important; }
body.mb-modern-checkout-page #billing_state_field      { order: 7 !important; }
body.mb-modern-checkout-page #billing_city_field       { order: 8 !important; }
body.mb-modern-checkout-page #billing_address_1_field  { order: 9 !important; }
body.mb-modern-checkout-page #billing_address_2_field  { order: 10 !important; }
body.mb-modern-checkout-page #billing_postcode_field   { order: 11 !important; }

body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
    display: flex !important;
    flex-direction: column !important;
    align-self: start !important;
}

body.mb-modern-checkout-page .woocommerce-billing-fields__field-wrapper .form-row label {
    margin-bottom: 8px !important;
}

/* Ev / İş / Diğer modern oval buton */
.mb-address-type-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
}

.mb-address-type-card {
    min-height: 64px !important;
    border-radius: 999px !important;
    padding: 0 20px !important;
    justify-content: center !important;
    gap: 12px !important;
    background: #f7f7f5 !important;
    border: 1px solid rgba(15, 58, 45, .10) !important;
    box-shadow: none !important;
}

.mb-address-type-card:hover {
    border-color: rgba(15, 58, 45, .22) !important;
    transform: translateY(-1px);
}

.mb-address-type-card.is-active {
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0f3a2d, #123f31) !important;
    border-color: #0f3a2d !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(15, 58, 45, .18) !important;
}

.mb-address-type-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 58, 45, .07) !important;
    color: #0f3a2d !important;
}

.mb-address-type-card.is-active .mb-address-type-icon {
    background: rgba(255,255,255,.14) !important;
    color: #ffffff !important;
}

.mb-address-type-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.mb-address-type-card strong {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Adres özeti ikonu */
.mb-address-summary-card {
    align-items: center !important;
}

.mb-address-summary-icon {
    width: 84px !important;
    height: 84px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, #ffffff, #f8f7f3) !important;
    border: 1px solid rgba(15, 58, 45, .08) !important;
    color: #0f3a2d !important;
    box-shadow: 0 10px 24px rgba(15, 58, 45, .06) !important;
}

.mb-address-summary-icon svg {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
}

.mb-address-summary-top strong {
    font-size: 26px !important;
}

.mb-address-summary-top span {
    background: #eef4ef !important;
    color: #0f3a2d !important;
    font-weight: 800 !important;
}

/* Mobil */
@media (max-width: 767px) {
    .mb-address-type-cards {
        grid-template-columns: 1fr !important;
    }

    .mb-address-type-card {
        min-height: 56px !important;
        border-radius: 16px !important;
        justify-content: flex-start !important;
        padding: 0 16px !important;
    }

    .mb-address-summary-icon {
        width: 62px !important;
        height: 62px !important;
        border-radius: 18px !important;
    }

    .mb-address-summary-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
}