/* ==========================================================
   MERCI BOKKU — CART PAGE
   MOBILE-FIRST REDESIGN
   ========================================================== */

.mbk-cart-page {
    background: #f7f8f7;
    color: #172033;
    font-family: inherit;
    min-height: 100vh;
}

.mbk-cart-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 20px 16px 110px;
    box-sizing: border-box;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.mbk-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #7b858c;
    font-size: 12px;
}

.mbk-cart-breadcrumb a {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================
   HEADER
   ========================================================== */

.mbk-cart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.mbk-cart-heading h1 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #075b43;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.mbk-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ff6508;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.mbk-clear-cart {
    appearance: none;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    color: #7a2f20;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.mbk-cart-action-icon {
    font-size: 16px;
}


/* ==========================================================
   DELIVERY PROGRESS
   ========================================================== */

.mbk-delivery-progress {
    margin-bottom: 18px;
    padding: 15px;
    border: 1px solid #dcebe4;
    border-radius: 14px;
    background: #fff;
}

.mbk-delivery-progress strong {
    display: block;
    margin-bottom: 11px;
    color: #075b43;
    font-size: 13px;
    line-height: 1.45;
}

.mbk-progress-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mbk-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #edf0ee;
    overflow: hidden;
}

.mbk-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #075b43,
        #159268
    );
}

.mbk-progress-label {
    color: #6f777d;
    font-size: 11px;
}


/* ==========================================================
   MAIN LAYOUT
   ========================================================== */

.mbk-cart-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mbk-cart-products {
    min-width: 0;
}


/* ==========================================================
   CART FORM / PRODUCT CARDS
   ========================================================== */

.mbk-cart-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mbk-cart-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 15px;
    border: 1px solid #e6e9e7;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0 2px 5px rgba(18, 35, 29, 0.025);
}

.mbk-cart-product {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

.mbk-cart-image {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8f9f8;
    overflow: hidden;
}

.mbk-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mbk-cart-product-info {
    flex: 1;
    min-width: 0;
}

.mbk-cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.mbk-cart-product-name {
    display: block;
    color: #172033;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.42;
    font-weight: 800;
}

.mbk-cart-product-info dl {
    margin: 5px 0 0;
    color: #778087;
    font-size: 11px;
}

.mbk-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: #07834d;
    font-size: 11px;
    font-weight: 700;
}

.mbk-stock::before {
    content: "●";
    font-size: 8px;
}

.mbk-sale-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 7px;
    padding: 4px 7px;
    border-radius: 7px;
    background: #fff0e8;
    color: #e54d00;
    font-size: 10px;
    font-weight: 800;
}

.mbk-remove-item-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f1ef;
    color: #a34331 !important;
    font-size: 23px !important;
    line-height: 1;
}


/* ==========================================================
   PRICE / QUANTITY / TOTAL
   ========================================================== */

.mbk-cart-unit-price,
.mbk-cart-line-total {
    color: #172033;
    font-size: 13px;
    font-weight: 800;
}

.mbk-cart-unit-price {
    display: none;
}

.mbk-cart-line-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #edf0ee;
    color: #075b43;
}

.mbk-cart-line-total::before {
    content: "Total";
    color: #7b8388;
    font-size: 11px;
    font-weight: 700;
}

.mbk-cart-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 40px;
    border: 1px solid #dfe5e1;
    border-radius: 12px;
    background: #f9faf9;
    overflow: hidden;
}

.mbk-cart-quantity button {
    width: 36px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #075b43;
    cursor: pointer;
    font-size: 19px;
    font-weight: 700;
}

.mbk-cart-quantity input {
    width: 40px;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    outline: none;
}

.mbk-cart-quantity input::-webkit-inner-spin-button,
.mbk-cart-quantity input::-webkit-outer-spin-button {
    appearance: none;
}

.mbk-cart-remove {
    display: none;
}

.mbk-cart-remove a {
    color: #8b392a;
    text-decoration: none;
}


/* ==========================================================
   FORM ACTIONS
   ========================================================== */

.mbk-cart-actions {
    display: flex;
    padding: 4px 0 0;
}

.mbk-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #075b43;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.mbk-update-cart {
    display: none;
}


/* ==========================================================
   ORDER NOTE
   ========================================================== */

.mbk-order-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 15px;
    border-radius: 14px;
    background: #eef7f2;
}

.mbk-order-note-icon {
    font-size: 22px;
}

.mbk-order-note strong {
    color: #075b43;
    font-size: 12px;
}

.mbk-order-note p {
    margin: 3px 0 0;
    color: #6e777d;
    font-size: 11px;
}


/* ==========================================================
   ORDER SUMMARY
   ========================================================== */

.mbk-cart-summary {
    padding: 19px;
    border: 1px solid #e3e8e5;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
}

.mbk-cart-summary h2 {
    margin: 0 0 20px;
    color: #172033;
    font-size: 18px;
    font-weight: 850;
}

.mbk-summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
    color: #687178;
    font-size: 13px;
}

.mbk-summary-row strong {
    color: #172033;
    white-space: nowrap;
}

.mbk-discount-row strong,
.mbk-free-shipping {
    color: #07834d !important;
}

.mbk-summary-divider {
    height: 1px;
    margin: 7px 0 17px;
    background: #edf0ee;
}

.mbk-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mbk-summary-total strong:first-child {
    color: #172033;
    font-size: 15px;
}

.mbk-summary-total strong:last-child {
    color: #075b43;
    font-size: 22px;
    font-weight: 850;
}

.mbk-tax-note {
    margin: 9px 0 18px;
    color: #8a9296;
    font-size: 10px;
}


/* ==========================================================
   PRIMARY ACTION
   ========================================================== */

.mbk-checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    background: #ff6508;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    box-shadow:
        0 9px 20px rgba(255, 101, 8, 0.18);
}

.mbk-whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    border: 1px solid #cfe3d9;
    border-radius: 13px;
    background: #fff;
    color: #075b43;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}


/* ==========================================================
   DELIVERY / PAYMENT
   ========================================================== */

.mbk-delivery-card {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 15px;
    border-radius: 14px;
    background: #f4f7f5;
}

.mbk-delivery-icon {
    font-size: 24px;
}

.mbk-delivery-card strong,
.mbk-delivery-card span {
    display: block;
}

.mbk-delivery-card strong {
    color: #075b43;
    font-size: 12px;
}

.mbk-delivery-card span {
    margin-top: 5px;
    color: #687178;
    font-size: 11px;
}

.mbk-payment-secure {
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid #edf0ee;
}

.mbk-payment-secure strong {
    color: #075b43;
    font-size: 12px;
}

.mbk-payment-methods {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
}

.mbk-payment-methods span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 29px;
    padding: 0 6px;
    border: 1px solid #e3e7e5;
    border-radius: 7px;
    background: #fff;
    color: #394249;
    font-size: 9px;
    font-weight: 850;
}


/* ==========================================================
   BENEFITS
   ========================================================== */

.mbk-cart-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.mbk-cart-benefits div {
    padding: 14px;
    border: 1px solid #e4e9e6;
    border-radius: 14px;
    background: #fff;
}

.mbk-cart-benefits strong {
    display: block;
    color: #075b43;
    font-size: 11px;
}

.mbk-cart-benefits span {
    display: block;
    margin-top: 5px;
    color: #788187;
    font-size: 10px;
    line-height: 1.4;
}


/* ==========================================================
   RECOMMENDATIONS
   ========================================================== */

.mbk-cart-recommendations {
    margin-top: 32px;
    padding-bottom: 8px;
}

.mbk-recommendation-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.mbk-recommendation-heading h2 {
    margin: 0;
    color: #075b43;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.mbk-recommendation-heading a {
    flex-shrink: 0;
    color: #075b43;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}


/* ==========================================================
   MOBILE RECOMMENDATION SCROLLER
   ========================================================== */

.mbk-recommendation-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 72vw);
    grid-template-columns: none;

    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    padding:
        2px
        2px
        14px;

    margin:
        0
        -2px;

    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.mbk-recommendation-grid::-webkit-scrollbar {
    display: none;
}


/* ==========================================================
   RECOMMENDATION CARD
   ========================================================== */

.mbk-cart-recommendation {
    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 10px;

    background: #ffffff;

    border:
        1px solid
        #e5ebe7;

    border-radius: 16px;

    box-shadow:
        0 6px 20px
        rgba(
            9,
            59,
            44,
            0.06
        );

    overflow: hidden;

    scroll-snap-align: start;

    transition:
        transform
        0.2s ease,
        box-shadow
        0.2s ease;
}

.mbk-cart-recommendation:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 10px 28px
        rgba(
            9,
            59,
            44,
            0.10
        );
}


/* ==========================================================
   PRODUCT IMAGE
   ========================================================== */

.mbk-recommendation-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #f8faf9,
            #eef3f0
        );

    text-decoration: none;
}

.mbk-recommendation-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform
        0.3s ease;
}

.mbk-cart-recommendation:hover
.mbk-recommendation-image img {
    transform:
        scale(1.04);
}


/* ==========================================================
   PRODUCT TITLE
   ========================================================== */

.mbk-recommendation-title {
    display: -webkit-box;

    margin-top: 10px;

    overflow: hidden;

    color: #17342b;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    min-height: 35px;
}

.mbk-recommendation-title:hover {
    color: #ff6b00;
}


/* ==========================================================
   RATING
   ========================================================== */

.mbk-recommendation-rating {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-top: 7px;

    color: #f6a400;

    font-size: 10px;
    letter-spacing: 1px;

    white-space: nowrap;
}

.mbk-recommendation-rating span {
    color: #7b8782;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0;
}


/* ==========================================================
   PRICE
   ========================================================== */

.mbk-recommendation-price {
    display: block;

    margin-top: 8px;

    color: #075b43;

    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
}

.mbk-recommendation-price del {
    margin-right: 4px;

    color: #9aa49f;

    font-size: 10px;
    font-weight: 600;
}

.mbk-recommendation-price ins {
    color: #ff6b00;

    text-decoration: none;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 600px) {

    .mbk-recommendation-grid {
        grid-auto-columns:
            minmax(180px, 30vw);
    }

}


/* ==========================================================
   DESKTOP RECOMMENDATIONS
   ========================================================== */

@media (min-width: 900px) {

    .mbk-recommendation-grid {
        display: grid;

        grid-auto-flow: initial;
        grid-auto-columns: initial;

        grid-template-columns:
            repeat(
                5,
                minmax(0, 1fr)
            );

        gap: 18px;

        overflow: visible;

        padding: 0;

        margin: 0;

        scroll-snap-type: none;
    }

    .mbk-cart-recommendation {
        padding: 12px;
    }

    .mbk-recommendation-title {
        font-size: 12px;
    }

    .mbk-recommendation-price {
        font-size: 15px;
    }

}


/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 900px) {

    .mbk-cart-container {
        padding: 28px 32px 80px;
    }

    .mbk-cart-heading h1 {
        font-size: 36px;
    }

    .mbk-delivery-progress {
        max-width: 650px;
    }

    .mbk-progress-row {
        flex-direction: row;
        align-items: center;
    }

    .mbk-progress-bar {
        max-width: 430px;
    }

    .mbk-cart-layout {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            360px;
        align-items: start;
        gap: 24px;
    }

    .mbk-cart-products {
        border: 1px solid #e3e8e5;
        border-radius: 18px;
        padding: 8px;
        background: #fff;
    }

    .mbk-cart-item {
        grid-template-columns:
            minmax(0, 1fr)
            125px
            130px
            115px
            38px;
        align-items: center;
        gap: 14px;
        padding: 18px;
        border: 0;
        border-bottom: 1px solid #edf0ee;
        border-radius: 0;
        box-shadow: none;
    }

    .mbk-cart-product {
        gap: 17px;
    }

    .mbk-cart-image {
        width: 100px;
        height: 88px;
        flex-basis: 100px;
    }

    .mbk-remove-item-mobile {
        display: none;
    }

    .mbk-cart-unit-price {
        display: block;
    }

    .mbk-cart-line-total {
        display: block;
        padding: 0;
        border: 0;
    }

    .mbk-cart-line-total::before {
        display: none;
    }

    .mbk-cart-remove {
        display: flex;
        justify-content: center;
    }

    .mbk-cart-remove a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f8f1ef;
        font-size: 21px;
    }

    .mbk-cart-benefits {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .mbk-cart-summary {
        position: sticky;
        top: 20px;
    }

}



/* ==========================================================
   MERCI BOKKU PREMIUM CART REFERENCE UI
   ========================================================== */

.mbk-cart-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mbk-cart-heading-main {
    min-width: 0;
}

.mbk-cart-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mbk-cart-heading h1 {
    margin: 0;
    color: #172033;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.mbk-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8f5ef;
    color: #075b43;
    font-size: 12px;
    font-weight: 850;
}

.mbk-cart-heading-subtitle {
    margin: 8px 0 0;
    color: #8a9296;
    font-size: 12px;
    line-height: 1.5;
}

.mbk-clear-cart {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #f0dfdc;
    border-radius: 11px;
    background: #fffafa;
    color: #a94b42;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.mbk-cart-action-icon {
    font-size: 13px;
    line-height: 1;
}


/* ==========================================================
   PRODUCT CARD REFINEMENT
   ========================================================== */

.mbk-cart-item {
    position: relative;
}

.mbk-cart-product-content {
    min-width: 0;
}

.mbk-cart-product-name {
    color: #172033;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.mbk-stock {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf8f0;
    color: #07834d;
    font-size: 9px;
    font-weight: 850;
}

.mbk-sale-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    margin-left: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff0e7;
    color: #e35a08;
    font-size: 9px;
    font-weight: 850;
}

.mbk-cart-image {
    background: #f7f8f7;
}


/* ==========================================================
   PREMIUM ORDER SUMMARY
   ========================================================== */

.mbk-cart-summary {
    border: 1px solid #e5ebe7;
    border-radius: 20px;
    box-shadow:
        0 12px 36px
        rgba(15, 46, 37, 0.07);
}

.mbk-summary-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf1ef;
}

.mbk-summary-kicker {
    display: block;
    margin-bottom: 5px;
    color: #8a9690;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.mbk-cart-summary h2 {
    margin: 0;
    color: #172033;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.mbk-summary-item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #075b43;
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

.mbk-summary-row {
    margin-bottom: 17px;
}

.mbk-summary-row span {
    color: #687178;
}

.mbk-summary-row strong {
    font-weight: 800;
}

.mbk-summary-divider {
    margin: 12px 0 18px;
}

.mbk-summary-total {
    padding: 15px;
    border-radius: 14px;
    background: #f4f8f6;
}

.mbk-summary-total strong:first-child {
    font-size: 14px;
}

.mbk-summary-total strong:last-child {
    color: #075b43;
    font-size: 23px;
}

.mbk-tax-note {
    margin: 10px 0 19px;
}


/* ==========================================================
   PREMIUM CHECKOUT CTA
   ========================================================== */

.mbk-checkout-button {
    position: relative;
    min-height: 58px;
    padding: 0 17px;
    border-radius: 16px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.mbk-checkout-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 13px 26px
        rgba(255, 101, 8, 0.25);
}

.mbk-checkout-lock {
    font-size: 14px;
}

.mbk-checkout-arrow {
    position: absolute;
    right: 17px;
    font-size: 20px;
    line-height: 1;
}

.mbk-whatsapp-button {
    min-height: 50px;
    border-radius: 15px;
}


/* ==========================================================
   DELIVERY TRUST BLOCK
   ========================================================== */

.mbk-delivery-card {
    align-items: flex-start;
    margin-top: 19px;
    padding: 16px;
    border: 1px solid #e2eee7;
    border-radius: 16px;
    background: #f4f8f6;
}

.mbk-delivery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e3f2ea;
    font-size: 18px;
}

.mbk-delivery-card strong {
    color: #172033;
    font-size: 12px;
}

.mbk-delivery-card span {
    line-height: 1.55;
}

.mbk-payment-secure {
    margin-top: 18px;
}

.mbk-payment-secure strong {
    display: block;
    color: #172033;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 599px) {

    .mbk-cart-heading {
        align-items: flex-start;
    }

    .mbk-cart-heading h1 {
        font-size: 25px;
    }

    .mbk-cart-heading-subtitle {
        max-width: 220px;
        font-size: 11px;
    }

    .mbk-clear-cart {
        min-height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .mbk-clear-cart span:last-child {
        display: none;
    }

    .mbk-clear-cart .mbk-cart-action-icon {
        font-size: 15px;
    }

    .mbk-cart-summary {
        border-radius: 18px;
    }

    .mbk-summary-heading {
        margin-bottom: 18px;
    }

    .mbk-summary-total {
        padding: 14px;
    }

    .mbk-checkout-button {
        min-height: 56px;
    }

}


/* ==========================================================
   DESKTOP PREMIUM REFINEMENT
   ========================================================== */

@media (min-width: 900px) {

    .mbk-cart-heading h1 {
        font-size: 38px;
    }

    .mbk-cart-summary {
        padding: 22px;
    }

}


/* ==========================================================
   MBK CART – PRODUCT IMAGE EMERGENCY FIX
   ========================================================== */

.mbk-cart-image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;

    background:
        linear-gradient(
            145deg,
            #f8faf9,
            #eef3f0
        ) !important;
}


/*
 * WooCommerce product thumbnails may carry inline dimensions
 * or plugin-generated markup.
 *
 * Force every image inside the cart thumbnail container into
 * the premium contained-image layout.
 */
.mbk-cart-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    position: relative !important;
    inset: auto !important;

    transform: none !important;

    float: none !important;
}


/*
 * Prevent plugin-generated thumbnail wrappers/content
 * from escaping the image card.
 */
.mbk-cart-image *,
.mbk-cart-image img {
    box-sizing: border-box !important;
}


@media (min-width: 900px) {

    .mbk-cart-image {
        width: 125px !important;
        height: 125px !important;
        flex: 0 0 125px !important;

        border-radius: 14px !important;
    }

}


@media (max-width: 899px) {

    .mbk-cart-image {
        width: 96px !important;
        height: 96px !important;
        flex: 0 0 96px !important;

        border-radius: 14px !important;
    }

}



/* ==========================================================
   MERCI BOKKU CART
   PRODUCT PAGE DESIGN LANGUAGE OVERRIDE
   ========================================================== */

:root {
    --mbk-orange: #ff6508;
    --mbk-orange-dark: #e95500;

    --mbk-green: #08724c;
    --mbk-green-dark: #075b3e;
    --mbk-green-soft: #eef8f3;

    --mbk-ink: #1d2939;
    --mbk-text: #475467;
    --mbk-muted: #667085;

    --mbk-bg: #f8faf9;
    --mbk-card: #ffffff;

    --mbk-border: #e3e9e6;
    --mbk-border-strong: #d7e1dc;

    --mbk-radius-sm: 10px;
    --mbk-radius: 14px;
    --mbk-radius-lg: 18px;

    --mbk-shadow:
        0 8px 30px rgba(16, 24, 40, .05);

    --mbk-shadow-hover:
        0 16px 38px rgba(16, 24, 40, .09);
}


/* ==========================================================
   PAGE
   ========================================================== */

.mbk-cart-page,
.mbk-cart-wrapper,
.mbk-cart-container {
    color: var(--mbk-ink);
}


.mbk-cart-page {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--mbk-bg) 55%,
            #ffffff 100%
        );
}


.mbk-cart-container {
    max-width: 1320px !important;
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.mbk-cart-breadcrumb,
.mbk-cart-page nav {
    font-size: 12px;
    color: var(--mbk-muted);
}


.mbk-cart-breadcrumb a,
.mbk-cart-page nav a {
    color: var(--mbk-muted);
    text-decoration: none;
}


.mbk-cart-breadcrumb a:hover,
.mbk-cart-page nav a:hover {
    color: var(--mbk-green);
}


/* ==========================================================
   CART HEADER
   ========================================================== */

.mbk-cart-heading {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 24px !important;

    margin: 12px 0 20px !important;
}


.mbk-cart-heading-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.mbk-cart-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}


.mbk-cart-heading h1,
.mbk-cart-title-row h1 {
    margin: 0 !important;

    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -.035em !important;

    color: var(--mbk-ink);
}


.mbk-cart-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 28px !important;
    height: 28px !important;
    padding: 0 9px !important;

    border-radius: 999px !important;

    background: var(--mbk-green-soft) !important;
    color: var(--mbk-green) !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    vertical-align: middle;
}


.mbk-cart-heading-subtitle {
    margin: 0 !important;

    color: var(--mbk-muted) !important;

    font-size: 13px !important;
    line-height: 1.5 !important;
}


.mbk-clear-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    min-height: 40px !important;
    padding: 0 16px !important;

    border: 1px solid #e8b5b5 !important;
    border-radius: 8px !important;

    background: #fff !important;
    color: #b54747 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.mbk-clear-cart:hover {
    background: #fff5f5 !important;
    border-color: #d98d8d !important;
    transform: translateY(-1px);
}


/* ==========================================================
   FREE DELIVERY PROGRESS
   ========================================================== */

.mbk-delivery-progress {
    max-width: 620px !important;

    padding: 14px 18px !important;

    border: 1px solid var(--mbk-border) !important;
    border-radius: var(--mbk-radius) !important;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f6fbf8
        ) !important;

    box-shadow: var(--mbk-shadow) !important;

    margin-bottom: 18px !important;
}


.mbk-delivery-progress strong {
    color: var(--mbk-green) !important;

    font-size: 13px !important;
    font-weight: 800 !important;
}


.mbk-progress-row {
    margin-top: 12px !important;
}


.mbk-progress-bar {
    height: 7px !important;

    border-radius: 999px !important;

    background: #e9efec !important;
    overflow: hidden !important;
}


.mbk-progress-bar span {
    display: block !important;

    height: 100% !important;

    border-radius: inherit !important;

    background:
        linear-gradient(
            90deg,
            var(--mbk-green),
            #18a66d
        ) !important;
}


.mbk-progress-label {
    color: var(--mbk-muted) !important;
    font-size: 11px !important;
}


/* ==========================================================
   MAIN LAYOUT
   ========================================================== */

.mbk-cart-layout {
    align-items: start !important;
    gap: 22px !important;
}


/* ==========================================================
   PRODUCT LIST
   ========================================================== */

.mbk-cart-products {
    border: 1px solid var(--mbk-border) !important;
    border-radius: var(--mbk-radius-lg) !important;

    background: var(--mbk-card) !important;

    box-shadow: var(--mbk-shadow) !important;

    overflow: hidden !important;
}


.mbk-cart-item {
    padding: 22px !important;

    border-bottom: 1px solid #edf1ef !important;

    transition:
        background .2s ease,
        transform .2s ease;
}


.mbk-cart-item:hover {
    background: #fcfdfc !important;
}


.mbk-cart-item:last-of-type {
    border-bottom: 0 !important;
}


/* ==========================================================
   PRODUCT INFORMATION
   ========================================================== */

.mbk-cart-product {
    gap: 18px !important;
}


.mbk-cart-image {
    width: 112px !important;
    height: 112px !important;

    flex: 0 0 112px !important;

    border: 1px solid var(--mbk-border) !important;
    border-radius: 12px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f8f7
        ) !important;
}


.mbk-cart-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    padding: 6px !important;
}


.mbk-cart-product-info {
    min-width: 0 !important;
}


.mbk-cart-item-top {
    gap: 12px !important;
}


.mbk-cart-product-name {
    color: var(--mbk-ink) !important;

    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;

    text-decoration: none !important;
}


.mbk-cart-product-name:hover {
    color: var(--mbk-green) !important;
}


.mbk-stock {
    display: inline-flex !important;
    align-items: center !important;

    margin-top: 8px !important;
    padding: 5px 12px !important;

    border-radius: 999px !important;

    background: var(--mbk-green-soft) !important;
    color: var(--mbk-green) !important;

    font-size: 11px !important;
    font-weight: 800 !important;
}


.mbk-stock::before {
    content: "✓";
    margin-right: 6px;
}


.mbk-sale-badge {
    display: inline-flex !important;

    margin-top: 8px !important;
    margin-left: 6px !important;

    padding: 5px 10px !important;

    border-radius: 7px !important;

    background: #fff1e9 !important;
    color: var(--mbk-orange-dark) !important;

    font-size: 11px !important;
    font-weight: 800 !important;
}


/* ==========================================================
   PRICES
   ========================================================== */

.mbk-cart-unit-price,
.mbk-cart-line-total {
    color: var(--mbk-ink) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}


.mbk-cart-line-total {
    color: var(--mbk-green) !important;
    font-weight: 800 !important;
}


/* ==========================================================
   QUANTITY CONTROL
   ========================================================== */

.mbk-cart-quantity {
    display: inline-flex !important;
    align-items: center !important;

    border: 1px solid var(--mbk-border-strong) !important;
    border-radius: 9px !important;

    background: #fff !important;

    overflow: hidden !important;
}


.mbk-cart-quantity button {
    width: 38px !important;
    height: 38px !important;

    border: 0 !important;

    background: #f8faf9 !important;
    color: var(--mbk-ink) !important;

    font-size: 18px !important;

    cursor: pointer !important;

    transition: background .2s ease;
}


.mbk-cart-quantity button:hover {
    background: var(--mbk-green-soft) !important;
    color: var(--mbk-green) !important;
}


.mbk-cart-quantity input {
    width: 42px !important;
    height: 38px !important;

    border: 0 !important;
    border-left: 1px solid var(--mbk-border) !important;
    border-right: 1px solid var(--mbk-border) !important;

    background: #fff !important;

    color: var(--mbk-ink) !important;

    font-weight: 800 !important;
    text-align: center !important;

    outline: 0 !important;
}


/* ==========================================================
   REMOVE
   ========================================================== */

.mbk-remove-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;

    border-radius: 50% !important;

    background: #fff7f6 !important;
    color: #b54747 !important;

    font-size: 19px !important;
    line-height: 1 !important;

    text-decoration: none !important;

    transition:
        background .2s ease,
        transform .2s ease;
}


.mbk-remove-item:hover {
    background: #ffe9e7 !important;
    transform: scale(1.05);
}


/* ==========================================================
   CART ACTIONS
   ========================================================== */

.mbk-cart-actions {
    padding: 18px 22px !important;

    border-top: 1px solid var(--mbk-border) !important;

    background: #fbfcfb !important;
}


.mbk-continue-shopping {
    color: var(--mbk-green) !important;

    font-size: 13px !important;
    font-weight: 800 !important;

    text-decoration: none !important;
}


.mbk-update-cart {
    min-height: 42px !important;
    padding: 0 18px !important;

    border: 1px solid #e6a4a4 !important;
    border-radius: 8px !important;

    background: #fff !important;
    color: #c05757 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    cursor: pointer !important;
}


/* ==========================================================
   ORDER NOTE
   ========================================================== */

.mbk-cart-note,
.mbk-order-note {
    border: 1px solid #dcebe5 !important;
    border-radius: 12px !important;

    background:
        linear-gradient(
            135deg,
            #f6fbf8,
            #eef7f2
        ) !important;
}


/* ==========================================================
   ORDER SUMMARY
   ========================================================== */

.mbk-cart-summary {
    position: sticky !important;
    top: 22px !important;

    padding: 0 !important;

    border: 1px solid var(--mbk-border) !important;
    border-radius: var(--mbk-radius-lg) !important;

    background: var(--mbk-card) !important;

    box-shadow:
        0 16px 45px rgba(16, 24, 40, .08) !important;

    overflow: hidden !important;
}


.mbk-summary-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 20px 20px 15px !important;

    border-bottom: 1px solid var(--mbk-border) !important;
}


.mbk-summary-kicker {
    display: block !important;

    margin-bottom: 5px !important;

    color: var(--mbk-muted) !important;

    font-size: 9px !important;
    font-weight: 800 !important;

    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}


.mbk-summary-heading h2,
.mbk-cart-summary > h2 {
    margin: 0 !important;

    color: var(--mbk-ink) !important;

    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}


.mbk-summary-item-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 28px !important;
    height: 28px !important;

    border-radius: 50% !important;

    background: var(--mbk-green) !important;
    color: #fff !important;

    font-size: 11px !important;
    font-weight: 800 !important;
}


/* Summary content */

.mbk-summary-row,
.mbk-summary-divider,
.mbk-summary-total,
.mbk-tax-note,
.mbk-checkout-button,
.mbk-whatsapp-button,
.mbk-delivery-card,
.mbk-payment-secure {
    margin-left: 20px !important;
    margin-right: 20px !important;
}


.mbk-summary-row {
    padding: 13px 0 !important;

    color: var(--mbk-muted) !important;

    font-size: 13px !important;
}


.mbk-summary-row strong {
    color: var(--mbk-ink) !important;
    font-weight: 800 !important;
}


.mbk-free-shipping {
    color: var(--mbk-green) !important;
}


.mbk-discount-row strong {
    color: var(--mbk-green) !important;
}


.mbk-summary-divider {
    height: 1px !important;

    background: var(--mbk-border) !important;
}


.mbk-summary-total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 16px !important;

    border-radius: 12px !important;

    background:
        linear-gradient(
            135deg,
            #f5f8f7,
            #edf3f0
        ) !important;
}


.mbk-summary-total strong:first-child {
    color: var(--mbk-ink) !important;
    font-size: 14px !important;
}


.mbk-summary-total strong:last-child {
    color: var(--mbk-green) !important;

    font-size: 20px !important;
    font-weight: 900 !important;
}


.mbk-tax-note {
    color: #98a2b3 !important;
    font-size: 10px !important;
}


/* ==========================================================
   PRIMARY CHECKOUT BUTTON
   ========================================================== */

.mbk-checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    min-height: 52px !important;

    border-radius: 10px !important;

    background:
        linear-gradient(
            135deg,
            #ff7518,
            var(--mbk-orange)
        ) !important;

    color: #fff !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    text-decoration: none !important;

    box-shadow:
        0 10px 22px rgba(255, 101, 8, .22) !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.mbk-checkout-button:hover {
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(255, 101, 8, .30) !important;
}


.mbk-checkout-arrow {
    margin-left: auto;
}


/* ==========================================================
   WHATSAPP BUTTON
   ========================================================== */

.mbk-whatsapp-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    min-height: 42px !important;

    border: 1px solid var(--mbk-border-strong) !important;
    border-radius: 10px !important;

    background: #fff !important;

    color: var(--mbk-green) !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    text-decoration: none !important;

    transition: background .2s ease;
}


.mbk-whatsapp-button:hover {
    background: var(--mbk-green-soft) !important;
}


/* ==========================================================
   DELIVERY TRUST CARD
   ========================================================== */

.mbk-delivery-card {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;

    padding: 15px !important;

    border: 1px solid #dce9e4 !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            135deg,
            #f7fbf9,
            #eef7f2
        ) !important;
}


.mbk-delivery-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    flex: 0 0 42px !important;

    border-radius: 10px !important;

    background: #e5f5ed !important;

    font-size: 20px !important;
}


.mbk-delivery-card strong {
    display: block !important;

    color: var(--mbk-ink) !important;

    font-size: 12px !important;
    font-weight: 800 !important;
}


.mbk-delivery-card span {
    display: block !important;

    margin-top: 4px !important;

    color: var(--mbk-muted) !important;

    font-size: 10px !important;
    line-height: 1.45 !important;
}


/* ==========================================================
   PAYMENT SECURITY
   ========================================================== */

.mbk-payment-secure {
    padding: 18px 0 20px !important;

    border-top: 1px solid var(--mbk-border) !important;

    color: var(--mbk-ink) !important;

    font-size: 11px !important;
}


.mbk-payment-secure strong {
    font-weight: 800 !important;
}


.mbk-payment-methods {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;

    margin-top: 10px !important;
}


.mbk-payment-methods span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 24px !important;
    padding: 0 9px !important;

    border: 1px solid var(--mbk-border) !important;
    border-radius: 6px !important;

    background: #fff !important;

    color: var(--mbk-text) !important;

    font-size: 9px !important;
    font-weight: 800 !important;
}


/* ==========================================================
   BENEFITS STRIP
   ========================================================== */

.mbk-cart-benefits {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;

    gap: 8px !important;

    margin-top: 24px !important;
}


.mbk-cart-benefits > div {
    min-height: 74px !important;

    padding: 15px 16px !important;

    border: 1px solid var(--mbk-border) !important;
    border-radius: 12px !important;

    background: #fff !important;

    box-shadow:
        0 5px 18px rgba(16, 24, 40, .025) !important;
}


.mbk-cart-benefits strong {
    display: block !important;

    color: var(--mbk-ink) !important;

    font-size: 12px !important;
    font-weight: 800 !important;
}


.mbk-cart-benefits span {
    display: block !important;

    margin-top: 5px !important;

    color: var(--mbk-muted) !important;

    font-size: 10px !important;
}


/* ==========================================================
   RECOMMENDATIONS
   ========================================================== */

.mbk-cart-recommendations,
.mbk-cart-related {
    margin-top: 28px !important;
}


.mbk-cart-recommendations h2,
.mbk-cart-related h2 {
    color: var(--mbk-ink) !important;

    font-size: 21px !important;
    font-weight: 800 !important;
}


/* Product recommendation cards */

.mbk-cart-recommendations .product,
.mbk-cart-related .product,
.mbk-cart-recommendations li,
.mbk-cart-related li {
    border: 1px solid var(--mbk-border) !important;
    border-radius: 14px !important;

    background: #fff !important;

    box-shadow:
        0 6px 20px rgba(16, 24, 40, .035) !important;

    overflow: hidden !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.mbk-cart-recommendations .product:hover,
.mbk-cart-related .product:hover,
.mbk-cart-recommendations li:hover,
.mbk-cart-related li:hover {
    transform: translateY(-3px);

    box-shadow: var(--mbk-shadow-hover) !important;
}


/* ==========================================================
   EMPTY CART
   ========================================================== */

.mbk-empty-cart {
    padding: 70px 25px !important;

    border: 1px solid var(--mbk-border) !important;
    border-radius: var(--mbk-radius-lg) !important;

    background: #fff !important;

    box-shadow: var(--mbk-shadow) !important;

    text-align: center !important;
}


.mbk-empty-cart-icon {
    margin-bottom: 18px !important;

    font-size: 48px !important;
}


.mbk-empty-cart h2 {
    color: var(--mbk-ink) !important;
    font-weight: 800 !important;
}


.mbk-empty-cart p {
    color: var(--mbk-muted) !important;
}


.mbk-primary-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 48px !important;
    padding: 0 24px !important;

    border-radius: 10px !important;

    background: var(--mbk-orange) !important;
    color: #fff !important;

    font-weight: 800 !important;
    text-decoration: none !important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 980px) {

    .mbk-cart-layout {
        grid-template-columns: 1fr !important;
    }


    .mbk-cart-summary {
        position: relative !important;
        top: auto !important;
    }


    .mbk-cart-benefits {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


@media (max-width: 700px) {

    .mbk-cart-heading {
        align-items: stretch !important;
        flex-direction: column !important;
    }


    .mbk-clear-cart {
        width: 100% !important;
    }


    .mbk-cart-item {
        padding: 16px !important;
    }


    .mbk-cart-product {
        gap: 12px !important;
    }


    .mbk-cart-image {
        width: 88px !important;
        height: 88px !important;

        flex-basis: 88px !important;
    }


    .mbk-cart-product-name {
        font-size: 14px !important;
    }


    .mbk-cart-benefits {
        grid-template-columns: 1fr !important;
    }


    .mbk-delivery-progress {
        width: 100% !important;
    }
}


@media (max-width: 480px) {

    .mbk-cart-heading h1,
    .mbk-cart-title-row h1 {
        font-size: 29px !important;
    }


    .mbk-cart-item {
        border-radius: 0 !important;
    }


    .mbk-cart-products {
        border-radius: 14px !important;
    }


    .mbk-summary-heading,
    .mbk-summary-row,
    .mbk-summary-total,
    .mbk-checkout-button,
    .mbk-whatsapp-button,
    .mbk-delivery-card,
    .mbk-payment-secure,
    .mbk-tax-note,
    .mbk-summary-divider {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }
}


/* ==========================================================
   END – PRODUCT PAGE DESIGN LANGUAGE
   ========================================================== */



/* ==========================================================
   MBK CART – DESKTOP LAYOUT FOUNDATION FIX
   This must remain LAST in the stylesheet.
   ========================================================== */


/* ----------------------------------------------------------
   RESET ANY OLD NARROW CART WRAPPER CONSTRAINT
   ---------------------------------------------------------- */

.mbk-cart-page,
.mbk-cart-wrapper,
.mbk-cart-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}


/* ----------------------------------------------------------
   MAIN CONTENT CONTAINER
   ---------------------------------------------------------- */

.mbk-cart-container {
    width: calc(100% - 64px) !important;
    max-width: 1320px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* ----------------------------------------------------------
   ENSURE ALL MAJOR CART SECTIONS USE AVAILABLE WIDTH
   ---------------------------------------------------------- */

.mbk-cart-heading,
.mbk-delivery-progress,
.mbk-cart-layout,
.mbk-cart-benefits,
.mbk-cart-recommendations,
.mbk-cart-products {
    width: 100% !important;
    min-width: 0 !important;
}


/* ----------------------------------------------------------
   DESKTOP CART GRID
   Products remain the primary area.
   Summary remains fixed and premium.
   ---------------------------------------------------------- */

@media (min-width: 981px) {

    .mbk-cart-layout {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 360px) !important;

        align-items: start !important;

        gap: 24px !important;

        width: 100% !important;

        max-width: none !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .mbk-cart-products {
        width: 100% !important;

        min-width: 0 !important;

        max-width: none !important;
    }


    .mbk-cart-summary {
        width: 100% !important;

        min-width: 0 !important;

        max-width: 360px !important;

        justify-self: stretch !important;
    }
}


/* ----------------------------------------------------------
   PREVENT CHILDREN FROM COLLAPSING THE GRID
   ---------------------------------------------------------- */

.mbk-cart-layout > *,
.mbk-cart-products > *,
.mbk-cart-form,
.mbk-cart-item,
.mbk-cart-product {
    min-width: 0 !important;
}


/* ----------------------------------------------------------
   PRODUCT LIST SHOULD NEVER INHERIT A MOBILE WIDTH
   ---------------------------------------------------------- */

@media (min-width: 981px) {

    .mbk-cart-products,
    .mbk-cart-form {
        max-width: none !important;
        width: 100% !important;
    }


    .mbk-cart-item {
        width: 100% !important;
        max-width: none !important;
    }
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 980px) {

    .mbk-cart-container {
        width: calc(100% - 40px) !important;
        max-width: none !important;
    }


    .mbk-cart-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
    }


    .mbk-cart-summary {
        width: 100% !important;
        max-width: none !important;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 700px) {

    .mbk-cart-container {
        width: calc(100% - 24px) !important;
    }


    .mbk-cart-page,
    .mbk-cart-wrapper,
    .mbk-cart-container,
    .mbk-cart-layout,
    .mbk-cart-products,
    .mbk-cart-summary {
        min-width: 0 !important;
    }
}


/* ==========================================================
   END MBK CART DESKTOP LAYOUT FOUNDATION FIX
   ========================================================== */

