
/* MiaTrust Stage 6.3 — Cart */
body.woocommerce-cart .mt-woo-main{
    padding:38px 0 64px;
    background:linear-gradient(180deg,#fff 0%,#fffafd 100%);
}
body.woocommerce-cart .mt-woo-content{max-width:1450px}
body.woocommerce-cart .entry-title,
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-cart main h1{
    color:#573160;
    font-size:34px;
    font-weight:800;
    margin:0 0 28px;
}
body.woocommerce-cart .wc-block-cart{
    gap:28px;
}
body.woocommerce-cart .wc-block-cart-items{
    border-collapse:separate;
    border-spacing:0 14px;
}
body.woocommerce-cart .wc-block-cart-items__row{
    background:#fff;
}
body.woocommerce-cart .wc-block-cart-items__row td{
    border-top:1px solid #f0e5ed !important;
    border-bottom:1px solid #f0e5ed !important;
    padding-top:22px !important;
    padding-bottom:22px !important;
}
body.woocommerce-cart .wc-block-cart-items__row td:first-child{
    border-radius:0 20px 20px 0;
}
body.woocommerce-cart .wc-block-cart-items__row td:last-child{
    border-radius:20px 0 0 20px;
}
body.woocommerce-cart .wc-block-cart-item__image img{
    border-radius:15px;
    background:#fff9fc;
    object-fit:contain;
}
body.woocommerce-cart .wc-block-components-product-name{
    color:#573160 !important;
    font-weight:800;
    line-height:1.8;
    text-decoration:none !important;
}
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-formatted-money-amount{
    color:#d24e8c;
    font-weight:800;
}
body.woocommerce-cart .wc-block-components-quantity-selector{
    border:1px solid #eadce7 !important;
    border-radius:12px !important;
    overflow:hidden;
}
body.woocommerce-cart .wc-block-cart-item__remove-link{
    color:#8c718d !important;
    text-decoration:none !important;
}
body.woocommerce-cart .wc-block-cart__sidebar{
    padding:24px !important;
    border:1px solid #ecdfE9;
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 38px rgba(91,49,96,.07);
}
body.woocommerce-cart .wc-block-cart__totals-title{
    color:#573160;
    font-weight:800 !important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper{
    border-color:#f0e5ed !important;
}
body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-totals-coupon__button:hover{
    color:#8e4da0;
}
body.woocommerce-cart .wc-block-cart__submit-button{
    min-height:58px;
    border-radius:15px !important;
    background:linear-gradient(90deg,#df68a6,#a953c7) !important;
    color:#fff !important;
    font-weight:800 !important;
    box-shadow:0 10px 28px rgba(180,79,177,.20);
    text-decoration:none !important;
}
body.woocommerce-cart .wc-block-cart__submit-button:hover{
    filter:brightness(.98);
    transform:translateY(-1px);
}
body.woocommerce-cart .wc-block-components-shipping-rates-control__package,
body.woocommerce-cart .wc-block-components-totals-shipping{
    color:#625365;
}

/* Classic Woo cart fallback */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals{
    background:#fff;
    border:1px solid #f0e5ed;
    border-radius:22px;
    padding:22px;
    box-shadow:0 12px 34px rgba(91,49,96,.06);
}
body.woocommerce-cart table.shop_table{border:0 !important}
body.woocommerce-cart table.shop_table th{color:#573160}
body.woocommerce-cart .checkout-button,
body.woocommerce-cart button.button,
body.woocommerce-cart .button.alt{
    border-radius:14px !important;
}
body.woocommerce-cart .checkout-button{
    background:linear-gradient(90deg,#df68a6,#a953c7) !important;
    color:#fff !important;
}

/* Empty cart */
body.woocommerce-cart .wc-block-cart__empty-cart__title,
body.woocommerce-cart .cart-empty{
    color:#573160;
}
@media(max-width:900px){
    body.woocommerce-cart .mt-woo-main{padding:24px 0 44px}
    body.woocommerce-cart .wc-block-cart{display:block}
    body.woocommerce-cart .wc-block-cart__sidebar{margin-top:22px}
}
@media(max-width:640px){
    body.woocommerce-cart .entry-title,
    body.woocommerce-cart .wp-block-post-title,
    body.woocommerce-cart main h1{font-size:27px}
    body.woocommerce-cart .wc-block-cart__sidebar{padding:16px !important}
}

/* ===== MiaTrust Stage 6.3.3 — Cart Refinement ===== */

body.woocommerce-cart .mt-woo-content{
    max-width:1380px;
}

body.woocommerce-cart .mt-commerce-title{
    color:#573160;
    font-size:34px;
    font-weight:800;
    margin:0 0 34px;
}

body.woocommerce-cart .mt-commerce-content{
    width:100%;
}

/* WooCommerce Cart Block */
body.woocommerce-cart .wp-block-woocommerce-cart{
    width:100%;
    max-width:1280px;
    margin:0 auto;
}

body.woocommerce-cart .wc-block-cart{
    display:grid !important;
    grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr) !important;
    gap:34px !important;
    align-items:start;
}

body.woocommerce-cart .wc-block-cart__main{
    width:100% !important;
    padding-left:0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar{
    width:100% !important;
    margin:0 !important;
    box-sizing:border-box;
}

body.woocommerce-cart .wc-block-cart-items{
    width:100%;
}

body.woocommerce-cart .wc-block-cart-items__row{
    box-shadow:0 10px 30px rgba(91,49,96,.045);
}

body.woocommerce-cart .wc-block-cart__submit-button{
    transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover{
    box-shadow:0 14px 32px rgba(180,79,177,.26);
}

/* Tablet / mobile */
@media (max-width:900px){
    body.woocommerce-cart .wc-block-cart{
        display:block !important;
    }

    body.woocommerce-cart .wc-block-cart__sidebar{
        margin-top:24px !important;
    }
}



/* MiaTrust Stage 11A — Cart UX */

body.woocommerce-cart .mt-cart-helper{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    max-width:1280px;
    margin:0 auto 18px;
}

body.woocommerce-cart .mt-cart-helper-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:12px 14px;
    border:1px solid rgba(87,49,96,.09);
    border-radius:15px;
    background:linear-gradient(145deg,#fff,#fffafd);
}

body.woocommerce-cart .mt-cart-helper-item > span{
    flex:0 0 26px;
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(135deg,#d85c9d,#7c3b9a);
    color:#fff;
    font-size:11px;
    font-weight:900;
}

body.woocommerce-cart .mt-cart-helper-item strong,
body.woocommerce-cart .mt-cart-helper-item small{
    display:block;
}

body.woocommerce-cart .mt-cart-helper-item strong{
    color:#573160;
    font-size:11.5px;
    margin-bottom:2px;
}

body.woocommerce-cart .mt-cart-helper-item small{
    color:#807283;
    font-size:10px;
    line-height:1.7;
}

body.woocommerce-cart .mt-empty-cart-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    margin:12px 0 24px;
    padding:8px 18px;
    border-radius:13px;
    background:linear-gradient(135deg,#d85c9d,#7c3b9a);
    color:#fff !important;
    font-size:11px;
    font-weight:900;
    text-decoration:none !important;
}

@media(max-width:640px){
    body.woocommerce-cart .mt-woo-main{
        padding-top:16px;
    }

    body.woocommerce-cart .mt-cart-helper{
        grid-template-columns:1fr;
        gap:7px;
        margin-bottom:13px;
    }

    body.woocommerce-cart .mt-cart-helper-item{
        padding:10px 11px;
        border-radius:13px;
    }

    body.woocommerce-cart .wc-block-cart-items__row td{
        padding-top:14px !important;
        padding-bottom:14px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image img{
        border-radius:12px;
    }

    body.woocommerce-cart .wc-block-cart__sidebar{
        border-radius:17px;
        margin-top:16px !important;
    }

    body.woocommerce-cart .wc-block-cart__submit-button{
        min-height:52px;
        border-radius:13px !important;
        font-size:13px !important;
    }
}
