.elementor-12 .elementor-element.elementor-element-72326b0{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-154473f *//* تنسيق صفحة سلة التسوق */
.elementor-shortcode .woocommerce {
    font-family: "Cairo", sans-serif;
    direction: rtl;
    text-align: right;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* جدول المنتجات */
.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* رأس الجدول */
.shop_table thead {
    background: #f0f0f0;
}

.shop_table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #97161B;
}

/* صفوف المنتجات */
.shop_table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.shop_table tbody tr:hover {
    background-color: #f9f9f9;
}

/* صورة المنتج */
.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* اسم المنتج */
.product-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #97161B;
}

/* سعر المنتج */
.product-price {
    font-weight: 600;
    color: #000;
    font-size: 16px;
}

/* حقل الكمية */
.quantity input {
    width: 70px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* زر الإزالة */
.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #FF5722;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.remove:hover {
    background: #e64a19;
    color: white;
}

/* المجموع الفرعي */
.product-subtotal {
    font-weight: 600;
    color: #97161B;
    font-size: 16px;
}

/* قسم الإجراءات */
.actions {
    padding: 20px;
    text-align: center;
}

/* قسم القسيمة */
.coupon {
    margin-bottom: 15px;
}

.coupon input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-left: 10px;
    width: 200px;
}

/* الأزرار */
.button {
    background: #97161B;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: #7a1116;
    color: white;
}

.button[name="update_cart"] {
    background: #6c757d;
    margin-right: 10px;
}

.button[name="update_cart"]:hover {
    background: #5a6268;
}

/* قسم الإجماليات */
.cart-collaterals {
    margin-top: 30px;
}

.cart_totals {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    max-width: 400px;
    float: left;
}

.cart_totals h2 {
    color: #97161B;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #97161B;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals th {
    text-align: right;
    padding: 10px 0;
    font-weight: 600;
    color: #333;
}

.cart_totals td {
    text-align: left;
    padding: 10px 0;
    font-weight: 600;
    color: #97161B;
}

.order-total td {
    font-size: 18px;
    color: #97161B;
}

/* زر المتابعة للدفع */
.wc-proceed-to-checkout {
    margin-top: 20px;
    text-align: center;
}

/* --- تم التعديل هنا --- */
/* استخدام محدد أكثر تحديدًا لضمان تطبيق اللون */
.wc-proceed-to-checkout .checkout-button {
    background: #97161B !important; /* تمت إضافة !important للتأكد */
    color: white !important;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #7a1116 !important; /* تمت إضافة !important للتأكد */
    color: white !important;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .elementor-shortcode .woocommerce {
        padding: 10px;
        margin: 10px 0;
        max-width: 100%;
    }
    
    .shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart_totals {
        max-width: 100%;
        float: none;
        margin-top: 20px;
    }
    
    .coupon input {
        width: 100%;
        margin-bottom: 10px;
        margin-left: 0;
    }
    
    .button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .button[name="update_cart"] {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .elementor-shortcode .woocommerce {
        padding: 5px;
        margin: 5px 0;
    }
    
    .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .quantity input {
        width: 60px;
        height: 35px;
    }
    
    .cart_totals {
        padding: 15px;
    }
    
    .cart_totals h2 {
        font-size: 18px;
    }
    
    .wc-proceed-to-checkout .checkout-button {
        padding: 12px;
        font-size: 14px;
    }
}/* End custom CSS */