.elementor-408 .elementor-element.elementor-element-4361221{--display:flex;}.elementor-408 .elementor-element.elementor-element-7ab9c46 > .elementor-widget-container{margin:45px 0px 0px 0px;}/* Start custom CSS for woocommerce-cart, class: .elementor-element-7ab9c46 *//* --- ۱. استایل کلی محفظه سبد خرید --- */
.woocommerce-cart-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

/* --- ۲. خوشگل‌سازی جدول محصولات --- */
.shop_table.cart {
    border: none !important;
    border-radius: 15px;
}

.shop_table.cart thead {
    display: none; /* مخفی کردن سرتیتر برای ظاهر مدرن‌تر */
}

.cart_item {
    border-bottom: 1px solid #f5f5f5 !important;
    transition: all 0.3s ease;
}

.cart_item:hover {
    background-color: #fafafa;
}

/* تصویر محصول */
.product-thumbnail img {
    border-radius: 12px !important;
    width: 80px !important;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

/* نام محصول */
.product-name a {
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 1.1rem;
    text-decoration: none !important;
}

/* --- ۳. دکمه‌های کنترلی (تعداد و حذف) --- */
.product-remove a {
    color: #ff4d4d !important;
    background: #fff5f5;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px !important;
}

.quantity input {
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    background: #f9f9f9 !important;
}

/* --- ۴. باکس مجموع کل (Totals) --- */
.cart-collaterals {
    background: #f8faff;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #e1e8f5;
}

.cart-subtotal, .order-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #cfd9ed;
}

.order-total {
    border-bottom: none;
    color: #2ecc71;
    font-size: 1.3rem;
}

/* --- ۵. دکمه تسویه حساب (فوق جذاب) --- */
.checkout-button {
    background: linear-gradient(135deg, #4a90e2 0%, #2980b9 100%) !important;
    color: #fff !important;
    padding: 20px !important;
    border-radius: 15px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-align: center;
    display: block;
    box-shadow: 0 10px 20px rgba(41, 128, 185, 0.3) !important;
    transition: all 0.3s ease !important;
}

.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(41, 128, 185, 0.4) !important;
}

/* --- ۶. فوق رسپانسیو برای موبایل --- */
@media (max-width: 768px) {
    .shop_table.cart tr {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
    }

    .shop_table.cart td {
        border: none !important;
        padding: 5px 0 !important;
    }

    .product-thumbnail {
        order: 1;
    }

    .product-name {
        order: 2;
    }

    .product-price, .product-quantity, .product-subtotal {
        order: 3;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .product-remove {
        position: absolute;
        left: 10px;
    }
    
    .coupon {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .coupon input {
        width: 100% !important;
        margin: 0 !important;
    }
}/* End custom CSS */