.elementor-131 .elementor-element.elementor-element-d2817e8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-f00bdac *//* ۱. استایل کلی بدنه سبد خرید */
.woocommerce-cart .woocommerce {
    background: #fcfcfc;
    padding: 25px;
    border-radius: 20px;
}

/* ۲. استایل جدول محصولات */
table.shop_table {
    border: none !important;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    background: #fff !important;
    border-collapse: separate !important;
    margin-bottom: 30px !important;
}

table.shop_table thead {
    background-color: #f8f9fa !important;
}

table.shop_table thead th {
    padding: 20px !important;
    font-weight: 600;
    color: #333;
    border: none !important;
}

table.shop_table td {
    padding: 20px !important;
    border-top: 1px solid #f3f3f3 !important;
    vertical-align: middle;
}

/* ۳. تصویر محصول */
.product-thumbnail img {
    border-radius: 12px;
    width: 70px !important;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ۴. شخصی‌سازی ردیف محصول هدیه (آی‌دی ۱۷۶) */
.cart_item:has(.product-remove a[data-product_id="176"]) {
    background-color: #f4fff4 !important; /* پس‌زمینه سبز ملایم */
}

.cart_item:has(.product-remove a[data-product_id="176"]) td {
    border-right: 4px solid #4caf50 !important; /* نوار سبز سمت راست */
}

.cart_item:has(.product-remove a[data-product_id="176"]) .product-name a::after {
    content: " (هدیه ویژه ✨)";
    color: #2e7d32;
    font-size: 13px;
    font-weight: bold;
    margin-right: 8px;
}

/* غیرفعال کردن کلیک روی محصول هدیه */
.cart_item:has(.product-remove a[data-product_id="176"]) .product-thumbnail,
.cart_item:has(.product-remove a[data-product_id="176"]) .product-name {
    pointer-events: none;
}

/* ۵. بخش کوپن و دکمه‌های عملیاتی */
.actions {
    background: #fff !important;
    padding: 20px !important;
    border-top: 1px solid #eee !important;
}

#coupon_code {
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    padding: 12px 15px !important;
    width: 180px !important;
    transition: all 0.3s;
}

#coupon_code:focus {
    border-color: #673ab7 !important;
    box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.1);
}

button[name="apply_coupon"], button[name="update_cart"] {
    border-radius: 10px !important;
    background-color: #f4f4f4 !important;
    color: #444 !important;
    border: 1px solid #eee !important;
    padding: 12px 25px !important;
    font-weight: 600;
}

button[name="apply_coupon"]:hover {
    background-color: #673ab7 !important;
    color: #fff !important;
}

/* ۶. بخش مجموع کل سبد خرید */
.cart-collaterals {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 100% !important;
    max-width: 450px;
    background: #fff !important;
    padding: 35px !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.cart_totals h2 {
    font-size: 22px;
    color: #333;
    border-bottom: 3px solid #673ab7;
    padding-bottom: 8px;
    margin-bottom: 25px;
}

/* ۷. دکمه نهایی تسویه حساب */
.wc-proceed-to-checkout a.checkout-button {
    background: linear-gradient(135deg, #8e44ad, #673ab7) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    box-shadow: 0 10px 25px rgba(103, 58, 183, 0.3) !important;
    transition: all 0.4s !important;
    margin-top: 15px;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(103, 58, 183, 0.4) !important;
}

/* ۸. حذف بخش حمل و نقل از سبد خرید */
tr.shipping, .woocommerce-shipping-totals, .shipping__table {
    display: none !important;
}

/* ۹. ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .cart_totals {
        max-width: 100%;
    }
    #coupon_code {
        width: 100% !important;
        margin-bottom: 10px;
    }
    button[name="apply_coupon"] {
        width: 100%;
    }
}/* End custom CSS */