.elementor-9 .elementor-element.elementor-element-38e5b9d0{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-6c3cf5f9 *//* =====================================================
   WOOCOMMERCE CART — GOLD & WOOD
   Gold:  #ddb01d
   Brown: #8B5A2B
===================================================== */

body.woocommerce-cart {
    --gold: #ddb01d;
    --gold-dark: #c4970d;
    --gold-light: #fff6d9;

    --brown: #8B5A2B;
    --brown-dark: #67401f;
    --brown-light: #f5ede5;

    --background: #fbfaf7;
    --card: #ffffff;
    --border: #e8dfd5;
    --text: #40352c;
    --muted: #82756a;
    --danger: #b34242;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(221, 176, 29, 0.08),
            transparent 28%
        ),
        var(--background);
}

body.woocommerce-cart *,
body.woocommerce-cart *::before,
body.woocommerce-cart *::after {
    box-sizing: border-box;
}

/* =====================================================
   ساختار اصلی صفحه
===================================================== */

body.woocommerce-cart .cart-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    grid-template-areas:
        "notices notices"
        "cart totals";
    align-items: start;
    gap: 26px;

    width: 100%;
    margin-top: 20px;
    margin-bottom: 50px;

    direction: rtl;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
    grid-area: notices;
    width: 100%;
    min-width: 0;
}

body.woocommerce-cart .woocommerce-cart-form {
    grid-area: cart;
    width: 100%;
    min-width: 0;
    margin: 0;
}

body.woocommerce-cart .cart_totals {
    grid-area: totals;
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* =====================================================
   پیام‌های ووکامرس
===================================================== */

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    position: relative;

    width: 100%;
    margin: 0 0 18px !important;
    padding: 16px 18px !important;

    color: var(--text);
    font-size: 13px;
    line-height: 1.9;
    text-align: right;

    background: #ffffff;
    border: 1px solid var(--border);
    border-right: 5px solid var(--gold);
    border-radius: 13px;

    box-shadow: 0 8px 24px rgba(103, 64, 31, 0.06);
}

body.woocommerce-cart .woocommerce-error {
    color: #7c3434;
    background: #fff8f8;
    border-color: #efd3d3;
    border-right-color: var(--danger);
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
    display: none !important;
}

/* =====================================================
   جدول محصولات
===================================================== */

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table {
    width: 100%;
    margin: 0;

    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 16px 40px rgba(103, 64, 31, 0.08),
        0 4px 12px rgba(103, 64, 31, 0.04);
}

/* هدر جدول */

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table thead {
    display: table-header-group !important;

    background:
        linear-gradient(
            135deg,
            var(--brown),
            var(--brown-dark)
        );
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table thead tr {
    display: table-row !important;
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table thead th {
    display: table-cell !important;

    padding: 17px 10px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
    vertical-align: middle;
    text-align: center;

    border: none;
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table thead th.product-name {
    text-align: right;
}

/* عرض ستون‌ها */

body.woocommerce-cart
.woocommerce-cart-form
.product-remove {
    width: 54px;
}

body.woocommerce-cart
.woocommerce-cart-form
.product-thumbnail {
    width: 102px;
}

body.woocommerce-cart
.woocommerce-cart-form
.product-price {
    width: 135px;
}

body.woocommerce-cart
.woocommerce-cart-form
.product-quantity {
    width: 145px;
}

body.woocommerce-cart
.woocommerce-cart-form
.product-subtotal {
    width: 155px;
}

/* بدنه جدول */

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table tbody {
    display: table-row-group !important;
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table tr.cart_item {
    display: table-row !important;

    background: #ffffff;

    transition: background-color 0.2s ease;
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table tr.cart_item:hover {
    background: #fffdf7;
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table tr.cart_item td {
    display: table-cell !important;

    padding: 20px 10px;

    color: var(--text);
    vertical-align: middle;
    text-align: center;

    border: none;
    border-bottom: 1px solid var(--border);
}

/* تصویر محصول */

body.woocommerce-cart td.product-thumbnail {
    text-align: center !important;
}

body.woocommerce-cart td.product-thumbnail a {
    display: inline-block;
}

body.woocommerce-cart td.product-thumbnail img {
    display: block;

    width: 78px;
    height: 78px;
    max-width: 78px;
    margin: 0 auto;

    object-fit: cover;

    border: 1px solid rgba(139, 90, 43, 0.16);
    border-radius: 13px;

    box-shadow: 0 7px 18px rgba(103, 64, 31, 0.09);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.woocommerce-cart td.product-thumbnail a:hover img {
    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(103, 64, 31, 0.14);
}

/* نام محصول */

body.woocommerce-cart td.product-name {
    min-width: 0;
    text-align: right !important;
}

body.woocommerce-cart td.product-name a {
    display: block;

    color: var(--brown-dark);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.9;
    text-align: right;
    text-decoration: none;

    white-space: normal;
    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}

body.woocommerce-cart td.product-name a:hover {
    color: var(--gold-dark);
}

/* قیمت‌ها */

body.woocommerce-cart
.product-price .amount,
body.woocommerce-cart
.product-subtotal .amount {
    color: var(--brown);
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

body.woocommerce-cart
.product-subtotal .amount {
    color: var(--brown-dark);
}

/* =====================================================
   دکمه حذف — فقط یک ضربدر
===================================================== */

body.woocommerce-cart td.product-remove {
    position: static !important;
    text-align: center !important;
}

body.woocommerce-cart
td.product-remove
a.remove {
    position: static !important;
    inset: auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;

    margin: 0 auto !important;
    padding: 0 0 3px !important;

    color: var(--danger) !important;
    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;

    background: #fff3f3 !important;
    border: 1px solid #efcece !important;
    border-radius: 10px !important;

    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease !important;
}

/* حذف آیکون اضافه قالب */
body.woocommerce-cart
td.product-remove
a.remove::before,
body.woocommerce-cart
td.product-remove
a.remove::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-cart
td.product-remove
a.remove:hover {
    color: #ffffff !important;
    background: var(--danger) !important;
    border-color: var(--danger) !important;
}

/* =====================================================
   کنترل تعداد
===================================================== */

body.woocommerce-cart
.product-quantity
.quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    height: 43px;
    margin: 0 auto !important;

    background: #ffffff;
    border: 1px solid rgba(139, 90, 43, 0.22);
    border-radius: 11px;

    overflow: hidden;

    box-shadow: inset 0 1px 3px rgba(103, 64, 31, 0.04);
}

body.woocommerce-cart
.product-quantity
.quantity .minus,
body.woocommerce-cart
.product-quantity
.quantity .plus {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 37px !important;
    height: 41px !important;
    min-height: 41px !important;
    padding: 0 !important;

    color: var(--brown);
    font-size: 20px;
    font-weight: 700;

    background: var(--brown-light);
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

body.woocommerce-cart
.product-quantity
.quantity .minus:hover,
body.woocommerce-cart
.product-quantity
.quantity .plus:hover {
    color: #ffffff;
    background: var(--brown);
}

body.woocommerce-cart
.product-quantity
.quantity .qty {
    width: 47px !important;
    height: 41px !important;
    padding: 0 !important;

    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    text-align: center;

    background: #ffffff;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

body.woocommerce-cart
.product-quantity input[type="number"] {
    appearance: textfield;
}

body.woocommerce-cart
.product-quantity input[type="number"]::-webkit-inner-spin-button,
body.woocommerce-cart
.product-quantity input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/* =====================================================
   کد تخفیف و بروزرسانی
===================================================== */

body.woocommerce-cart
.woocommerce-cart-form
tr.wd-cart-action-row {
    display: table-row !important;
}

body.woocommerce-cart
.wd-cart-action-row
td.actions {
    display: table-cell !important;

    width: 100%;
    padding: 18px !important;

    background:
        linear-gradient(
            135deg,
            rgba(221, 176, 29, 0.08),
            rgba(139, 90, 43, 0.035)
        );

    border: none !important;
}

body.woocommerce-cart .cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    width: 100%;
}

body.woocommerce-cart .wd-coupon-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

body.woocommerce-cart
.wd-coupon-form
#coupon_code {
    width: 210px;
    height: 46px;
    margin: 0;
    padding: 0 14px;

    color: var(--text);
    font-size: 13px;
    text-align: right;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 11px;

    outline: none;
    box-shadow: none;
}

body.woocommerce-cart
.wd-coupon-form
#coupon_code:focus {
    border-color: var(--gold);

    box-shadow: 0 0 0 3px rgba(221, 176, 29, 0.13);
}

/* دکمه‌های عمومی */

body.woocommerce-cart
.cart-actions .button,
body.woocommerce-cart
.shipping-calculator-form .button {
    min-height: 46px;
    padding: 10px 19px;

    color: #ffffff !important;
    font-size: 13px;
    font-weight: 750;

    background:
        linear-gradient(
            135deg,
            var(--brown),
            var(--brown-dark)
        ) !important;

    border: 1px solid var(--brown) !important;
    border-radius: 11px !important;

    box-shadow: 0 7px 16px rgba(139, 90, 43, 0.17) !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

body.woocommerce-cart
.cart-actions .button:hover,
body.woocommerce-cart
.shipping-calculator-form .button:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-dark)
        ) !important;

    border-color: var(--gold-dark) !important;

    transform: translateY(-2px);
}

body.woocommerce-cart
.cart-actions .button:disabled,
body.woocommerce-cart
.cart-actions .button.disabled {
    color: #978d84 !important;
    background: #ebe7e2 !important;
    border-color: #ddd6cf !important;

    box-shadow: none !important;
    transform: none !important;

    opacity: 1 !important;
    cursor: not-allowed;
}

/* =====================================================
   جمع کل سبد خرید
===================================================== */

body.woocommerce-cart .cart_totals {
    position: sticky;
    top: 22px;
}

body.woocommerce-cart .cart-totals-inner {
    position: relative;

    width: 100%;
    padding: 23px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at top left,
            rgba(221, 176, 29, 0.14),
            transparent 38%
        ),
        #ffffff;

    border: 1px solid rgba(139, 90, 43, 0.18);
    border-radius: 20px;

    box-shadow:
        0 16px 40px rgba(103, 64, 31, 0.09),
        0 4px 12px rgba(103, 64, 31, 0.04);
}

body.woocommerce-cart .cart-totals-inner::before {
    content: "";

    position: absolute;
    top: 0;
    right: 24px;
    left: 24px;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            var(--brown),
            var(--gold),
            transparent
        );

    border-radius: 0 0 10px 10px;
}

body.woocommerce-cart
.cart_totals h2 {
    margin: 4px 0 18px;
    padding-bottom: 14px;

    color: var(--brown-dark);
    font-size: 19px;
    font-weight: 850;
    text-align: right;

    border-bottom: 1px solid var(--border);
}

/* جدول جمع کل؛ حتی در موبایل جدولی باقی می‌ماند */

body.woocommerce-cart
.cart_totals
table.shop_table {
    display: table !important;

    width: 100%;
    margin: 0;

    table-layout: fixed;
    border-collapse: collapse;

    background: transparent;
    border: none;

    box-shadow: none;
}

body.woocommerce-cart
.cart_totals
table.shop_table tbody {
    display: table-row-group !important;
}

body.woocommerce-cart
.cart_totals
table.shop_table tr {
    display: table-row !important;

    border-bottom: 1px solid var(--border);
}

body.woocommerce-cart
.cart_totals
table.shop_table th,
body.woocommerce-cart
.cart_totals
table.shop_table td {
    display: table-cell !important;

    padding: 14px 5px;

    color: var(--text);
    font-size: 13px;
    line-height: 1.9;
    vertical-align: top;

    background: transparent;
    border: none;
}

body.woocommerce-cart
.cart_totals
table.shop_table th {
    width: 36%;

    color: var(--brown);
    font-weight: 750;
    text-align: right;
}

body.woocommerce-cart
.cart_totals
table.shop_table td {
    width: 64%;
    text-align: left;
}

body.woocommerce-cart
.cart_totals
table.shop_table td::before {
    display: none !important;
}

body.woocommerce-cart
.cart_totals .amount {
    color: var(--brown-dark);
    font-weight: 850;
}

/* مبلغ نهایی */

body.woocommerce-cart
.cart_totals
.order-total {
    border-bottom: none !important;
}

body.woocommerce-cart
.cart_totals
.order-total th,
body.woocommerce-cart
.cart_totals
.order-total td {
    padding: 17px 10px;

    background:
        linear-gradient(
            135deg,
            rgba(221, 176, 29, 0.18),
            rgba(221, 176, 29, 0.07)
        );
}

body.woocommerce-cart
.cart_totals
.order-total th {
    border-radius: 0 11px 11px 0;
}

body.woocommerce-cart
.cart_totals
.order-total td {
    border-radius: 11px 0 0 11px;
}

body.woocommerce-cart
.cart_totals
.order-total .amount {
    color: var(--brown-dark);
    font-size: 17px;
    font-weight: 900;
}

/* =====================================================
   حمل‌ونقل
===================================================== */

body.woocommerce-cart
.woocommerce-shipping-methods {
    margin: 0;
    padding: 0;

    list-style: none;
}

body.woocommerce-cart
.woocommerce-shipping-methods li {
    margin: 0;
    padding: 0;
}

body.woocommerce-cart
.woocommerce-shipping-methods label {
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

body.woocommerce-cart
.woocommerce-shipping-destination {
    margin: 10px 0 0;
    padding: 9px 10px;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: right;

    background: var(--brown-light);
    border-radius: 9px;
}

body.woocommerce-cart
.shipping-calculator-button {
    display: inline-block;
    margin-top: 10px;

    color: var(--brown);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

body.woocommerce-cart
.shipping-calculator-button:hover {
    color: var(--gold-dark);
}

/* فرم تغییر آدرس */

body.woocommerce-cart
.shipping-calculator-form {
    margin-top: 14px;
    padding: 14px;

    background: #faf7f3;
    border: 1px solid var(--border);
    border-radius: 12px;
}

body.woocommerce-cart
.shipping-calculator-form .form-row {
    margin-bottom: 11px;
}

body.woocommerce-cart
.shipping-calculator-form label {
    display: block;
    margin-bottom: 5px;

    color: var(--brown);
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

body.woocommerce-cart
.shipping-calculator-form input,
body.woocommerce-cart
.shipping-calculator-form select,
body.woocommerce-cart
.shipping-calculator-form .select2-selection {
    width: 100%;
    min-height: 43px;

    color: var(--text);
    font-size: 13px;
    text-align: right;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 9px;

    outline: none;
    box-shadow: none;
}

body.woocommerce-cart
.shipping-calculator-form input {
    padding: 0 11px;
}

/* =====================================================
   دکمه تسویه حساب
===================================================== */

body.woocommerce-cart
.wc-proceed-to-checkout {
    margin-top: 19px;
    padding: 0;
}

body.woocommerce-cart
.wc-proceed-to-checkout
.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 55px;
    margin: 0;
    padding: 12px 18px;

    color: #ffffff !important;
    font-size: 15px;
    font-weight: 850;
    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-dark),
            var(--brown)
        ) !important;

    border: none !important;
    border-radius: 13px !important;

    box-shadow:
        0 12px 25px rgba(139, 90, 43, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

body.woocommerce-cart
.wc-proceed-to-checkout
.checkout-button:hover {
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(139, 90, 43, 0.29) !important;
}

/* =====================================================
   تبلت
===================================================== */

@media (max-width: 1100px) {

    body.woocommerce-cart .cart-content-wrapper {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 20px;
    }
}

@media (max-width: 900px) {

    body.woocommerce-cart .cart-content-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "notices"
            "cart"
            "totals";
    }

    body.woocommerce-cart .cart_totals {
        position: static;
    }
}

/* =====================================================
   موبایل
===================================================== */

@media (max-width: 768px) {

    body.woocommerce-cart .cart-content-wrapper {
        display: block !important;

        width: 100%;
        margin-top: 12px;
        margin-bottom: 30px;
    }

    body.woocommerce-cart .woocommerce-notices-wrapper {
        width: 100%;
        margin-bottom: 14px;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        display: block !important;

        width: 100%;
        margin: 0 0 20px;
    }

    /* ریست جدول اصلی */

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table {
        display: block !important;

        width: 100%;
        margin: 0;

        table-layout: auto;

        background: transparent;
        border: none;
        border-radius: 0;

        box-shadow: none;
        overflow: visible;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table thead {
        display: none !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table tbody {
        display: block !important;
        width: 100%;
    }

    /* کارت محصول موبایل */

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table
    tr.cart_item {
        direction: rtl;

        display: grid !important;
        grid-template-columns: 76px minmax(0, 1fr) 34px;
        grid-template-areas:
            "image name remove"
            "image price remove"
            "quantity quantity quantity"
            "subtotal subtotal subtotal";

        column-gap: 11px;
        row-gap: 10px;

        width: 100%;
        min-width: 0;
        margin: 0 0 15px;
        padding: 14px;

        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 16px;

        box-shadow: 0 8px 24px rgba(103, 64, 31, 0.08);

        overflow: hidden;
    }

    /* ریست سلول‌ها */

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table
    tr.cart_item
    td {
        position: static !important;

        display: block !important;
        float: none !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: right !important;

        border: none !important;
    }

    /* حذف عنوان‌های پیش‌فرض قالب */

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table
    tr.cart_item
    td::before {
        content: none !important;
        display: none !important;
    }

    /* تصویر */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail {
        grid-area: image;

        display: block !important;

        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;

        align-self: start;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail a {
        display: block !important;

        width: 76px;
        height: 76px;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail img {
        display: block !important;

        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;

        margin: 0 !important;

        object-fit: cover;

        border-radius: 11px;

        transform: none !important;
    }

    /* نام محصول */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name {
        grid-area: name;

        width: 100% !important;
        min-width: 0 !important;

        align-self: start;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name a {
        display: block;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        font-size: 13px;
        line-height: 1.75;
        text-align: right;

        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* قیمت */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-price {
        grid-area: price;

        align-self: start;
        text-align: right !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-price .amount {
        font-size: 12px;
    }

    /* دکمه حذف */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove {
        grid-area: remove;

        display: flex !important;
        align-items: flex-start;
        justify-content: flex-end;

        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;

        align-self: start;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove
    a.remove {
        position: static !important;

        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;

        margin: 0 !important;

        font-size: 22px !important;
    }

    /* تعداد */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity {
        grid-area: quantity;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        width: 100% !important;
        padding-top: 12px !important;

        border-top: 1px dashed var(--border) !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity::before {
        content: "تعداد" !important;
        display: block !important;

        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity
    .quantity {
        margin: 0 !important;
    }

    /* جمع جزء */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-subtotal {
        grid-area: subtotal;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        width: 100% !important;
        padding-top: 12px !important;

        border-top: 1px dashed var(--border) !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-subtotal::before {
        content: "جمع جزء" !important;
        display: block !important;

        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-subtotal .amount {
        font-size: 14px;
    }

    /* بخش کد تخفیف */

    body.woocommerce-cart
    .woocommerce-cart-form
    tr.wd-cart-action-row {
        display: block !important;

        width: 100%;
        margin-top: 4px;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    tr.wd-cart-action-row
    td.actions {
        display: block !important;

        width: 100%;
        padding: 14px !important;

        background:
            linear-gradient(
                135deg,
                rgba(221, 176, 29, 0.09),
                rgba(139, 90, 43, 0.04)
            );

        border: 1px solid var(--border) !important;
        border-radius: 15px;
    }

    body.woocommerce-cart .cart-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 10px;
    }

    body.woocommerce-cart .wd-coupon-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;

        width: 100%;
        gap: 8px;
    }

    body.woocommerce-cart
    .wd-coupon-form
    #coupon_code {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    body.woocommerce-cart
    .cart-actions > .button {
        width: 100%;
        margin: 0;
    }

    /* جمع کل موبایل */

    body.woocommerce-cart .cart_totals {
        position: static;

        display: block;
        width: 100%;
        margin: 0;
    }

    body.woocommerce-cart
    .cart-totals-inner {
        width: 100%;
        padding: 19px 15px;

        border-radius: 17px;
    }
}

/* =====================================================
   موبایل‌های کوچک
===================================================== */

@media (max-width: 430px) {

    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table
    tr.cart_item {
        grid-template-columns: 66px minmax(0, 1fr) 30px;
        grid-template-areas:
            "image name remove"
            "image price remove"
            "quantity quantity quantity"
            "subtotal subtotal subtotal";

        column-gap: 8px;
        padding: 11px;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail a,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail img {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        max-width: 66px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name a {
        font-size: 12px;
        line-height: 1.7;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove {
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove
    a.remove {
        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;

        font-size: 20px !important;
    }

    body.woocommerce-cart .wd-coupon-form {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart
    .wd-coupon-form button {
        width: 100%;
    }

    body.woocommerce-cart
    .cart_totals
    table.shop_table th {
        width: 34%;
        font-size: 12px;
    }

    body.woocommerce-cart
    .cart_totals
    table.shop_table td {
        width: 66%;
        font-size: 12px;
    }

    body.woocommerce-cart
    .cart_totals
    .order-total .amount {
        font-size: 15px;
    }
}



/* جلوگیری از کم شدن عرض جدول */
body.woocommerce-cart .woocommerce-cart-form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart
.woocommerce-cart-form
table.shop_table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    table-layout: auto !important;
    direction: rtl !important;
}

/* حذف فضای خالی اضافه ستون‌ها */
@media (min-width: 769px) {

    body.woocommerce-cart
    .woocommerce-cart-form
    th.product-remove,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    th.product-thumbnail,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail {
        width: 96px !important;
        min-width: 96px !important;
        max-width: 96px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    th.product-name,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name {
        width: auto !important;
        min-width: 180px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    th.product-price,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-price {
        width: 130px !important;
        min-width: 130px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    th.product-quantity,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity {
        width: 145px !important;
        min-width: 145px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    th.product-subtotal,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-subtotal {
        width: 145px !important;
        min-width: 145px !important;
    }
}

/* تراز عمودی صحیح تمام سلول‌ها */
body.woocommerce-cart
.woocommerce-cart-form
table.shop_table
tr.cart_item td {
    vertical-align: middle !important;
}

/* =====================================================
   اصلاح نام محصول
===================================================== */

body.woocommerce-cart
.woocommerce-cart-form
td.product-name {
    direction: rtl !important;
    text-align: right !important;

    padding-right: 14px !important;
    padding-left: 10px !important;
}

body.woocommerce-cart
.woocommerce-cart-form
td.product-name a {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #68401c !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* =====================================================
   اصلاح کامل کنترل تعداد
===================================================== */

/*
تگ‌های p اضافی اطراف دکمه منفی، عدد و مثبت
از نظر چیدمان حذف می‌شوند.
*/
body.woocommerce-cart
.product-quantity
.quantity > p {
    display: contents !important;
}

/* حذف br اضافی */
body.woocommerce-cart
.product-quantity
.quantity br {
    display: none !important;
}

/* خود کنترل تعداد */
body.woocommerce-cart
.product-quantity
.quantity {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 0 !important;

    width: auto !important;
    height: 43px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    line-height: 1 !important;
    vertical-align: middle !important;

    background: #ffffff !important;
    border: 1px solid rgba(139, 90, 43, 0.22) !important;
    border-radius: 11px !important;

    overflow: hidden !important;
}

/* حذف فاصله پیش‌فرض ورودی‌ها */
body.woocommerce-cart
.product-quantity
.quantity input {
    position: static !important;
    top: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    margin: 0 !important;
    vertical-align: middle !important;
}

/* مثبت و منفی */
body.woocommerce-cart
.product-quantity
.quantity .minus,
body.woocommerce-cart
.product-quantity
.quantity .plus {
    width: 37px !important;
    height: 41px !important;
    min-width: 37px !important;
    min-height: 41px !important;

    padding: 0 !important;

    color: #8B5A2B !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 41px !important;
    text-align: center !important;

    background: #f5ede5 !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    transform: none !important;
}

/* عدد وسط */
body.woocommerce-cart
.product-quantity
.quantity .qty {
    width: 47px !important;
    height: 41px !important;
    min-width: 47px !important;

    padding: 0 !important;

    color: #40352c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 41px !important;
    text-align: center !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* مخفی ماندن label دسترس‌پذیری */
body.woocommerce-cart
.product-quantity
.quantity label.screen-reader-text {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;

    border: 0 !important;
}

/* =====================================================
   اصلاح دکمه حذف
===================================================== */

body.woocommerce-cart
td.product-remove
a.remove::before,
body.woocommerce-cart
td.product-remove
a.remove::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-cart
td.product-remove
a.remove {
    position: static !important;
    inset: auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;

    margin: 0 auto !important;
    padding: 0 0 3px !important;

    color: #b34242 !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    background: #fff3f3 !important;
    border: 1px solid #efcece !important;
    border-radius: 10px !important;

    transform: none !important;
    box-shadow: none !important;
}

/* =====================================================
   اصلاح ردیف کد تخفیف و بروزرسانی
===================================================== */

/* حذف همه brهای اضافه */
body.woocommerce-cart
.wd-cart-action-row br,
body.woocommerce-cart
.cart-actions br,
body.woocommerce-cart
.wd-coupon-form br,
body.woocommerce-cart
.cart-actions button br {
    display: none !important;
}

/* حذف فاصله‌های p */
body.woocommerce-cart
.cart-actions > p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* پاراگراف آخر فقط فیلدهای hidden دارد */
body.woocommerce-cart
.cart-actions > p:last-child {
    display: none !important;
}

/* فرم تخفیف */
body.woocommerce-cart
.wd-coupon-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* حذف فاصله تمام فرزندان */
body.woocommerce-cart
.wd-coupon-form > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* خود ردیف */
body.woocommerce-cart
.wd-cart-action-row
td.actions {
    padding: 16px !important;
    vertical-align: middle !important;
}

/* چینش دکمه‌ها */
body.woocommerce-cart
.cart-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* رفع فاصله داخلی غیرعادی دکمه‌ها */
body.woocommerce-cart
.cart-actions button,
body.woocommerce-cart
.wd-coupon-form button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    line-height: 1.2 !important;
    vertical-align: middle !important;
}

/* فیلد کد تخفیف */
body.woocommerce-cart
.wd-coupon-form
#coupon_code {
    height: 44px !important;
    min-height: 44px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    line-height: 44px !important;
}

/* =====================================================
   موبایل
===================================================== */

@media (max-width: 768px) {

    /* جلوگیری از خروج محتوا */
    body.woocommerce-cart
    .woocommerce-cart-form,
    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table,
    body.woocommerce-cart
    .woocommerce-cart-form
    table.shop_table tbody {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* نام محصول */
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name {
        min-width: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name a {
        font-size: 13px !important;
        line-height: 1.75 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    /* تعداد */
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity {
        align-items: center !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity
    .quantity {
        position: static !important;

        align-self: center !important;

        margin: 0 !important;
        transform: none !important;
    }

    /* ردیف عملیات */
    body.woocommerce-cart
    .woocommerce-cart-form
    tr.wd-cart-action-row {
        display: block !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    tr.wd-cart-action-row
    td.actions {
        display: block !important;

        width: 100% !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 13px !important;
    }

    body.woocommerce-cart
    .cart-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-height: 0 !important;

        gap: 9px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* کد تخفیف در موبایل */
    body.woocommerce-cart
    .wd-coupon-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;

        width: 100% !important;
        min-height: 0 !important;

        gap: 8px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart
    .wd-coupon-form
    #coupon_code {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* دکمه بروزرسانی */
    body.woocommerce-cart
    .cart-actions > p {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    /* دوباره مخفی کردن پاراگراف hidden */
    body.woocommerce-cart
    .cart-actions > p:last-child {
        display: none !important;
    }

    body.woocommerce-cart
    .cart-actions > p button {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* گوشی کوچک */
@media (max-width: 430px) {

    body.woocommerce-cart
    .wd-coupon-form {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-cart
    .wd-coupon-form button {
        width: 100% !important;
    }
}

/* اصلاح فاصله دکمه تسویه حساب */
body.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 18px !important;
    padding: 0 !important;
}

/* حذف اثر تگ p اضافی */
body.woocommerce-cart .wc-proceed-to-checkout > p {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* حذف br ابتدای دکمه */
body.woocommerce-cart .wc-proceed-to-checkout br,
body.woocommerce-cart .checkout-button br {
    display: none !important;
}

/* تراز دقیق متن دکمه */
body.woocommerce-cart
.wc-proceed-to-checkout
.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 55px !important;
    min-height: 55px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;

    vertical-align: middle !important;
}/* End custom CSS */