.elementor-9 .elementor-element.elementor-element-7a36dbd6{--display:flex;}.elementor-9 .elementor-element.elementor-element-187ceeb9{color:#475569;}/* Start custom CSS *//* 1. اصلاح چیدمان کلی و حذف تداخلات */
.woocommerce-cart .woocommerce {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
    margin-top: 20px !important;
}

/* 2. استایل عمومی کارت‌ها (نئوگلس‌مورفیسم) */
.woocommerce-cart table.shop_table, 
.woocommerce-cart .cart_totals {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 25px !important;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1) !important;
    padding: 25px !important;
}

/* 3. اصلاح تصویر محصول و فاصله‌ها */
.woocommerce-cart table.shop_table img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 15px !important;
    margin: 12px 0 !important; /* فاصله 12 پیکسل از بالا و پایین */
}

/* 4. اصلاح متن‌های جدول (مرتب‌سازی عنوان‌ها) */
.woocommerce-cart table.shop_table thead th {
    color: #1E293B !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

/* 5. رنگ متن جمع جزء و مجموع */
.woocommerce-cart .cart_totals, 
.woocommerce-cart .cart_totals td, 
.woocommerce-cart .cart_totals th {
    color: #475569 !important;
}

/* 6. اصلاح دقیق فیلد تعداد و بردر آن */
.woocommerce-cart .quantity .input-text {
    border: 2px solid #94a3b8 !important; /* کمی تیره‌تر برای مشخص شدن */
    border-radius: 10px !important;
    background: transparent !important;
}

/* 7. استایل دکمه‌ها (سرمه‌ای و نارنجی) */
.woocommerce-cart .button {
    background: #1E3A8A !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    transition: 0.3s !important;
    margin-bottom: 35px !important;
    margin-inline-end: 12px;
}

.woocommerce-cart button[name="apply_coupon"] {
    background: #F97316 !important;
    
}

.woocommerce-cart .checkout-button {
    background: #F97316 !important;
    width: 100% !important;
    font-size: 16px !important;
    padding: 15px !important;
}

/* 8. ریسپانسیو کردن چیدمان */
@media (max-width: 992px) {
    .woocommerce-cart .woocommerce {
        flex-direction: column !important;
    }
    .woocommerce-cart-form, .cart_totals {
        width: 100% !important;
    }
}
/* اصلاح رنگ نام محصول و قیمت که سفید مانده بودند */
.woocommerce-cart table.shop_table .product-name a,
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-subtotal,
.woocommerce-cart table.shop_table .product-name {
    color: #475569 !important; /* رنگ متن اصلی */
    font-weight: 600 !important;
}

/* اصلاح رنگ قیمت در جدول (گاهی در تگ b یا span است) */
.woocommerce-cart table.shop_table .amount {
    color: #475569 !important;
}

/* اصلاح رنگ لینک‌های نام محصول در هاور */
.woocommerce-cart table.shop_table .product-name a:hover {
    color: #1E3A8A !important; /* سرمه‌ای در حالت هاور */
}



/* وسط چین شدن متن "جمع کل سبد خرید" */
.woocommerce-cart .cart_totals h2{
    text-align: center !important;
    width: 100%;
}

/* رنگ تیترهای جدول و تیترهای بخش جمع کل */
.woocommerce-cart table.shop_table th,
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals h2{
    color: #1E293B !important; /* رنگ تیتر سایت */
    font-weight: 700 !important;
}
.woocommerce-cart .coupon input#coupon_code,
.woocommerce-cart .coupon input.input-text{
    background-color: #ffffff !important;
    border: 1px solid #cfcfcf !important;
    color: #222222 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    margin-inline-start: 12px;
    
}
/* اصلاح کامل موبایل سبد خرید */
@media (max-width: 768px){

    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td{
        text-align: center !important;
    }

    .woocommerce-cart table.shop_table .product-name{
        text-align: center !important;
    }

    .woocommerce-cart table.shop_table .product-price,
    .woocommerce-cart table.shop_table .product-subtotal,
    .woocommerce-cart table.shop_table .product-quantity{
        text-align: center !important;
    }

    .woocommerce-cart table.shop_table img{
        margin: 10px auto !important;
        display: block;
    
    }

    .woocommerce-cart .coupon{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .woocommerce-cart .coupon input#coupon_code{
        width: 100% !important;
        margin: 0 !important;
    }

    .woocommerce-cart button[name="apply_coupon"]{
        width: 100% !important;
    }
}
/* باکس سبد خرید خالی */
.woocommerce-cart .cart-empty{
    text-align:center;
    background:#ffffff;
    border:1px solid #e5e7eb;
    padding:40px 30px;
    border-radius:12px;
    font-size:18px;
    color:#374151;
    margin:40px auto;
    max-width:500px;
}

/* دکمه بازگشت به فروشگاه */
.woocommerce-cart .return-to-shop{
    text-align:center;
    margin-top:20px;
}

.woocommerce-cart .return-to-shop .button{
    background:#F97316;
    color:#ffffff;
    padding:12px 28px;
    border-radius:8px;
    font-weight:600;
    transition:all .2s ease;
}

/* هاور دکمه */
.woocommerce-cart .return-to-shop .button:hover{
    background:#ea580c;
    transform:translateY(-2px);
}/* End custom CSS */