.elementor-168 .elementor-element.elementor-element-7e0aec3d{--display:flex;}/* Start custom CSS *//* ==========================================================================
   طراحی مینیمال، دو ستونه و بدون فضای خالی برگه سبد خرید (Cart) - چیکن هچ
   (نسخه نهایی با اصلاح کامل بیرون‌زدگی باکس جمع کل سبد خرید در موبایل)
   ========================================================================== */

/* ۱. تنظیم پس‌زمینه و حذف عناوین و فاصله‌های اضافی بالای صفحه */
body.woocommerce-cart {
    background-color: #FAF6F3 !important;
    overflow-x: hidden !important;
}

body.woocommerce-cart .page-header,
body.woocommerce-cart .entry-header,
body.woocommerce-cart .elementor-page-title,
body.woocommerce-cart .elementor-element-ca966a9 {
    display: none !important;
}

/* ۲. واید کردن کانتینر المنتور در دسکتاپ */
body.woocommerce-cart .e-con-boxed > .e-con-inner,
body.woocommerce-cart .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1280px !important;
    width: 100% !important;
    padding: 16px 16px 30px 16px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .elementor-widget-shortcode > .elementor-widget-container,
body.woocommerce-cart .e-con {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ==========================================================================
   ۳. چیدمان دو ستونه هم‌تراز در دسکتاپ (جدول محصولات در راست + جمع کل در چپ)
   ========================================================================== */
body.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper:empty {
    display: none !important;
}

body.woocommerce-cart .woocommerce:has(.cart-empty) {
    display: block !important;
}

/* -----------------------------------------
   ستون اول (راست): کادر جدول محصولات سبد خرید
----------------------------------------- */
body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1 / 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border: 1px solid #EAD8D1 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: 0 4px 16px rgba(96, 36, 30, 0.04) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table.cart {
    width: 100% !important;
    border: 1px solid #EAD8D1 !important;
    border-radius: 10px !important;
    border-collapse: collapse !important;
    overflow: hidden !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart table.shop_table.cart thead th {
    background-color: #FAF3F0 !important;
    color: #60241E !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #EAD8D1 !important;
    border-left: 1px solid #F3E9E4 !important;
    text-align: center !important;
}

body.woocommerce-cart table.shop_table.cart thead th.product-name {
    text-align: right !important;
}

body.woocommerce-cart table.shop_table.cart tbody td {
    padding: 12px 10px !important;
    font-size: 13px !important;
    color: #60241E !important;
    border-bottom: 1px solid #F3E9E4 !important;
    border-left: 1px solid #F3E9E4 !important;
    vertical-align: middle !important;
    text-align: center !important;
}

body.woocommerce-cart table.shop_table.cart th:last-child,
body.woocommerce-cart table.shop_table.cart td:last-child {
    border-left: none !important;
}

/* نام محصول و تصویر */
body.woocommerce-cart table.shop_table.cart td.product-name {
    text-align: right !important;
    font-weight: 700 !important;
}

body.woocommerce-cart table.shop_table.cart td.product-name a {
    color: #60241E !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

body.woocommerce-cart table.shop_table.cart td.product-name a:hover {
    color: #95271D !important;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 54px !important;
    height: 54px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid #EAD8D1 !important;
    padding: 2px !important;
    background: #ffffff !important;
    display: block !important;
    margin: 0 auto !important;
}

/* دکمه ضربدر حذف محصول */
body.woocommerce-cart table.shop_table.cart a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #FDF3F2 !important;
    color: #95271D !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: 1px solid #EAD8D1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

body.woocommerce-cart table.shop_table.cart a.remove:hover {
    background: #95271D !important;
    color: #ffffff !important;
    border-color: #95271D !important;
}

/* فیلد تعداد (Quantity) */
body.woocommerce-cart table.shop_table.cart .quantity .qty {
    width: 58px !important;
    height: 36px !important;
    border: 1px solid #DECBC3 !important;
    border-radius: 8px !important;
    background: #FDFBFA !important;
    color: #60241E !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 4px !important;
    outline: none !important;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty:focus {
    border-color: #E77B49 !important;
    background: #ffffff !important;
}

/* ردیف اکشن‌ها (بروزرسانی سبد خرید) */
body.woocommerce-cart table.shop_table.cart td.actions {
    background: #FDFBFA !important;
    padding: 10px 14px !important;
    text-align: left !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button {
    background: #F7EBE6 !important;
    color: #60241E !important;
    border: 1px solid #DECBC3 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.woocommerce-cart table.shop_table.cart td.actions button.button:hover:not(:disabled) {
    background: #E77B49 !important;
    color: #ffffff !important;
    border-color: #E77B49 !important;
}

/* -----------------------------------------
   ستون دوم (چپ): کادر جمع کل سبد خرید (هم‌تراز و فشرده)
----------------------------------------- */
body.woocommerce-cart .cart-collaterals {
    grid-column: 2 / 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: #ffffff !important;
    border: 1px solid #EAD8D1 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: 0 4px 16px rgba(96, 36, 30, 0.04) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #60241E !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #EAD8D1 !important;
    border-radius: 0 !important;
    padding: 0 0 10px 0 !important;
    margin: 0 0 14px 0 !important;
    position: relative !important;
    text-align: right !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2::before {
    display: none !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1.5px !important;
    right: 0 !important;
    width: 45px !important;
    height: 2.5px !important;
    background-color: #E77B49 !important;
    border-radius: 2px !important;
}

body.woocommerce-cart .cart_totals table.shop_table {
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #EAD8D1 !important;
    border-radius: 10px !important;
    border-collapse: collapse !important;
    overflow: hidden !important;
    margin: 0 0 14px 0 !important;
    background: #ffffff !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal {
    display: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #60241E !important;
    border-bottom: 1px solid #F3E9E4 !important;
    border-left: 1px solid #F3E9E4 !important;
    vertical-align: middle !important;
    text-align: right !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

body.woocommerce-cart .cart_totals table.shop_table th {
    background: #FAF3F0 !important;
    font-weight: 700 !important;
    width: 30% !important;
}

body.woocommerce-cart .cart_totals table.shop_table td {
    border-left: none !important;
    text-align: left !important;
    width: 70% !important;
}

body.woocommerce-cart .cart_totals table.shop_table ul#shipping_method {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.shipping td p.woocommerce-shipping-destination {
    margin: 4px 0 0 0 !important;
    font-size: 11px !important;
    color: #8c7875 !important;
    line-height: 1.4 !important;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
    display: none !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    background-color: #F7EBE6 !important;
    color: #95271D !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
}

/* دکمه «ادامه جهت تسویه حساب» */
body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: linear-gradient(135deg, #F58A4E 0%, #E05A3B 55%, #C83E2B 100%) !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    padding: 13px 20px !important;
    border-radius: 10px !important;
    width: 100% !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(224, 90, 59, 0.32) !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, #FA975C 0%, #E76445 50%, #D14532 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(224, 90, 59, 0.42) !important;
}

/* ==========================================================================
   ۴. ریسپانسیو تبلت و موبایل (رفع کامل بیرون‌زدگی هر دو باکس)
   ========================================================================== */
@media (max-width: 991px) {
    body.woocommerce-cart .elementor,
    body.woocommerce-cart .e-con,
    body.woocommerce-cart .e-con-inner,
    body.woocommerce-cart .elementor-section,
    body.woocommerce-cart .elementor-container,
    body.woocommerce-cart .elementor-column,
    body.woocommerce-cart .elementor-widget-wrap,
    body.woocommerce-cart .elementor-widget,
    body.woocommerce-cart .elementor-widget-container,
    body.woocommerce-cart .elementor-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .woocommerce {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 10px 24px 10px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 14px 12px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .cart-collaterals {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 14px 12px !important;
        border-radius: 12px !important;
        float: none !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    /* الف) جدول محصولات سبد خرید در موبایل */
    body.woocommerce-cart table.shop_table.cart,
    body.woocommerce-cart table.shop_table.cart tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart table.shop_table.cart thead {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table.cart tr.cart_item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        border: 1px solid #EAD8D1 !important;
        border-radius: 10px !important;
        margin: 0 0 12px 0 !important;
        padding: 6px 12px !important;
        background: #FDFBFA !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 9px 2px !important;
        border: none !important;
        border-bottom: 1px dashed #EAD8D1 !important;
        text-align: left !important;
        font-size: 12.5px !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td:last-child {
        border-bottom: none !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td::before {
        content: attr(data-title) ": " !important;
        float: none !important;
        font-weight: 800 !important;
        color: #60241E !important;
        margin-left: 10px !important;
        text-align: right !important;
        flex-shrink: 0 !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td.product-remove {
        justify-content: flex-start !important;
        padding: 4px 0 8px 0 !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td.product-remove::before {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td.product-name a {
        text-align: left !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody tr:last-child,
    body.woocommerce-cart table.shop_table.cart tbody td.actions {
        display: block !important;
        width: 100% !important;
        border: none !important;
        padding: 4px 0 0 0 !important;
        background: transparent !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody td.actions::before {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table.cart td.actions button.button {
        width: 100% !important;
        padding: 10px !important;
        font-size: 13px !important;
    }

    /* ب) اصلاح کامل جدول جمع کل سبد خرید (پایین صفحه) در موبایل بدون بیرون‌زدگی */
    body.woocommerce-cart .cart_totals table.shop_table,
    body.woocommerce-cart .cart_totals table.shop_table tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 0 14px 0 !important;
    }

    body.woocommerce-cart .cart_totals table.shop_table tr {
        display: flex !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        border-bottom: 1px solid #F3E9E4 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .cart_totals table.shop_table tr:last-child {
        border-bottom: none !important;
    }

    body.woocommerce-cart .cart_totals table.shop_table th {
        display: flex !important;
        align-items: center !important;
        width: 30% !important;
        min-width: 75px !important;
        padding: 10px 10px !important;
        margin: 0 !important;
        border: none !important;
        border-left: 1px solid #F3E9E4 !important;
        background: #FAF3F0 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-align: right !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .cart_totals table.shop_table td {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        width: 70% !important;
        min-width: 0 !important;
        padding: 10px 10px !important;
        margin: 0 !important;
        border: none !important;
        font-size: 12px !important;
        text-align: left !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
    }

    /* حذف کامل عنوان تکراری ووکامرس در موبایل که باعث سرریز عرض جدول می‌شد */
    body.woocommerce-cart .cart_totals table.shop_table td::before {
        display: none !important;
        content: none !important;
    }

    body.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
    body.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
        background-color: #F7EBE6 !important;
        color: #95271D !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
    }
}/* End custom CSS */