.elementor-8 .elementor-element.elementor-element-478d4fea{--display:flex;}.elementor-8 .elementor-element.elementor-element-65b6032{--display:flex;}.elementor-8 .elementor-element.elementor-element-91ef406{--display:flex;--padding-top:35px;--padding-bottom:35px;--padding-left:35px;--padding-right:35px;}/* Start custom CSS for container, class: .elementor-element-478d4fea */@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

/* 1. إخفاء الجدول الافتراضي */
.woocommerce-cart-form table.shop_table {
    display: none !important;
}

/* 2. توسيط عنوان الصفحة */
.page-header, .entry-title {
    text-align: center !important;
    margin-bottom: 32px !important;
}

/* 3. تخطيط الصفحة (فصل السلة عن الفاتورة) */
.woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    direction: rtl !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.woocommerce-cart-form {
    flex: 1 1 60% !important;
}
.cart-collaterals {
    flex: 1 1 300px !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* 4. تصميم البطاقات الحديثة للمنتجات */
.hk-custom-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hk-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.05);
    border: 1px solid #f2f4f6;
    display: flex;
    gap: 24px;
    align-items: center;
    transition: transform 0.3s ease;
}
.hk-card:hover {
    transform: translateY(-4px);
}
.hk-card-img-wrap {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: #f2f4f6;
    border-radius: 12px;
    overflow: hidden;
}
.hk-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hk-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hk-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.hk-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.hk-card-title a {
    color: #1e3a8a !important;
    text-decoration: none !important;
}
.hk-card-remove {
    color: #757682;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.hk-card-remove:hover {
    color: #ba1a1a;
}
.hk-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 16px;
}
.hk-qty-ctrl {
    display: flex;
    align-items: center;
    background: #f2f4f6;
    border-radius: 9999px;
    padding: 4px 8px;
    gap: 16px;
}
.hk-qty-btn {
    background: transparent;
    border: none;
    color: #1e3a8a;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    line-height: 1;
}
.hk-qty-btn:hover {
    background: #e0e3e5;
}
.hk-qty-val {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
}
.hk-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
}

/* 5. تصميم الفاتورة (ملخص الطلب الافتراضي لووكومرس) */
.cart-collaterals .cart_totals {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0px 4px 20px rgba(30, 58, 138, 0.05) !important;
    border: 1px solid #f2f4f6 !important;
    width: 100% !important;
}
.cart_totals h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    text-align: right !important;
    border-bottom: 1px solid #f2f4f6 !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}
.cart_totals table {
    width: 100% !important;
    border: none !important;
}
.cart_totals table th, .cart_totals table td {
    border: none !important;
    background: transparent !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #f2f4f6 !important;
}
.cart_totals table th {
    text-align: right !important;
    font-weight: normal !important;
    color: #444651 !important;
}
.cart_totals table td {
    text-align: left !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
}
.cart_totals table tr.order-total th, 
.cart_totals table tr.order-total td {
    border-bottom: none !important;
    padding-top: 24px !important;
}
.cart_totals table tr.order-total td strong {
    font-size: 24px !important;
}

/* 6. زر إتمام الشراء */
.wc-proceed-to-checkout .checkout-button {
    background-color: #f97316 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: center !important;
    margin-top: 24px !important;
    transition: transform 0.2s, background-color 0.2s !important;
}
.wc-proceed-to-checkout .checkout-button:hover {
    background-color: #ea580c !important;
    transform: scale(0.98) !important;
}

/* التجاوب مع الموبايل */
@media (max-width: 640px) {
    .hk-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hk-card-img-wrap { width: 100%; height: 200px; }
    .hk-card-header { flex-direction: column; align-items: center; gap: 12px; }
    .hk-card-remove { position: absolute; top: 16px; left: 16px; background: #fff; border-radius: 50%; width: 32px; height: 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
    .hk-card-footer { flex-direction: column; align-items: center; gap: 16px; }
}/* End custom CSS */