.header-all-cat-toggle:hover .header-all-cat-label, .top-level-link.header-cat-item:hover {
    box-shadow: 0 2px 0 0 var(--footer-primary-color) !important;
    color: var(--footer-primary-color) !important;
}
/* إخفاء النقاط المكتسبة في السلة */
.cart-sidebar-card.earned-points-card {
    display: none !important;
}

/* إخفاء شريط المزايا (الضمان - متوفر في المخزن - التوصيل) */
.cart-benefits-strip {
    display: none !important;
}
.cart-checkout-section,
.cart-checkout-btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-checkout-btn {
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 30px !important;
    padding: 14px !important;
    text-align: center !important;
    font-weight: bold !important;
    margin-top: 15px !important;
    text-decoration: none !important;
}
/* تثبيت لون نص التصنيفات */
.header-all-cat-item,
.header-all-cat-item a,
.header-all-cat-item span,
.header-all-cat-subcontent,
.header-all-cat-subcontent a,
.header-all-cat-subcontent span {
    color: #222 !important;
    opacity: 1 !important;
}

/* عند الضغط أو اختيار التصنيف */
.header-all-cat-item.active,
.header-all-cat-item.active a,
.header-all-cat-item:hover,
.header-all-cat-item:hover a,
.header-all-cat-subcontent.active,
.header-all-cat-subcontent.active a {
    color: #222 !important;
    opacity: 1 !important;
}
/* تثبيت لون نص التصنيفات الرئيسية */
.header-all-cat-content,
.header-all-cat-content a,
.header-all-cat-content span,
.header-all-cat-item,
.header-all-cat-item a,
.header-all-cat-item span,
.header-all-cat-label {
    color: #222 !important;
    opacity: 1 !important;
}

/* عند الضغط أو المرور على التصنيف الرئيسي */
.header-all-cat-content:hover,
.header-all-cat-content:hover a,
.header-all-cat-content:hover span,
.header-all-cat-item:hover,
.header-all-cat-item:hover a,
.header-all-cat-item:hover span,
.header-all-cat-item.active,
.header-all-cat-item.active a,
.header-all-cat-item.active span,
.header-all-cat-label:hover {
    color: #222 !important;
    opacity: 1 !important;
}
/* تثبيت لون القائمة الرئيسية عند التحريك بالماوس */
.header-all-cat-menu:hover,
.header-all-cat-menu:hover *,
.header-all-cat-panel:hover,
.header-all-cat-panel:hover *,
.header-all-cat-panel-inner:hover,
.header-all-cat-panel-inner:hover *,
.header-all-cat-content:hover,
.header-all-cat-content:hover *,
.header-all-cat-item:hover,
.header-all-cat-item:hover *,
.header-all-cat-label:hover,
.header-all-cat-label:hover * {
    color: #222 !important;
    opacity: 1 !important;
}
/* تثبيت لون أسماء الأصناف عند المرور بالماوس */
.product-title:hover,
.product-title a:hover,
.product-name:hover,
.product-name a:hover,
.product-item:hover .product-title,
.product-item:hover .product-title a,
.product-item:hover .product-name,
.product-item:hover .product-name a,
.product-card:hover .product-title,
.product-card:hover .product-title a,
.product-card:hover .product-name,
.product-card:hover .product-name a,
.card-title:hover,
.card-title a:hover {
    color: #222 !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
/* تثبيت لون اسم المنتج عند المرور بالماوس */
a[href*="/products/"],
a[href*="/products/"] *,
a[href*="/products/"]:hover,
a[href*="/products/"]:hover *,
.product-card a,
.product-card a *,
.product-card a:hover,
.product-card a:hover *,
.product-item a,
.product-item a *,
.product-item a:hover,
.product-item a:hover * {
    color: #222 !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
/* تثبيت لون نص القائمة الرئيسية أثناء فتح القائمة والتحرك على الشريط العلوي */
.header-all-cat-panel,
.header-all-cat-panel *,
.header-all-cat-panel-inner,
.header-all-cat-panel-inner *,
.header-all-cat-menu,
.header-all-cat-menu *,
.header-all-cat-content,
.header-all-cat-content *,
.header-all-cat-item,
.header-all-cat-item *,
.header-all-cat-label,
.header-all-cat-label *,
.header-all-cat-title,
.header-all-cat-title * {
    color: #222 !important;
    opacity: 1 !important;
}


/* تحسين عنوان "جميع المنتجات" أعلى القائمة الفرعية */
.header-all-cat-col-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 15px 12px 15px !important;
    margin-bottom: 10px !important;
    color: #222 !important;
    text-decoration: none !important;
}

.header-all-cat-col-header span {
    color: #222 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.header-all-cat-col-header svg {
    flex-shrink: 0;
}
.custom-logout-btn {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 99999 !important;
    background: #000 !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 30px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
/* إظهار رابط تسجيل الخروج على الجوال فقط */
@media (max-width: 768px) {
    .custom-mobile-logout-btn {
        display: block !important;
        width: calc(100% - 32px) !important;
        margin: 16px auto !important;
        padding: 14px !important;
        background: #000 !important;
        color: #fff !important;
        text-align: center !important;
        border-radius: 30px !important;
        font-weight: bold !important;
        text-decoration: none !important;
        z-index: 9999 !important;
    }
}

@media (min-width: 769px) {
    .custom-mobile-logout-btn {
        display: none !important;
    }
}
.custom-mobile-logout-link {
    color: #222 !important;
    font-weight: 700 !important;
}
.ak-mobile-logout-link {
    display: block !important;
    padding: 14px 20px !important;
    color: #222 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-top: 1px solid #eee !important;
}
.ak-force-logout-link {
    display: block !important;
    padding: 14px 20px !important;
    color: #222 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-top: 1px solid #eee !important;
}
/* تحسين وضوح الأزرار المعطلة في صفحة الدفع على الجوال */
button:disabled,
button[disabled],
.MuiButton-root.Mui-disabled,
.MuiButtonBase-root.Mui-disabled {
    color: #555 !important;
    background-color: #e5e5e5 !important;
    opacity: 1 !important;
}

/* زر متابعة المعطل */
button:disabled span,
button[disabled] span,
.MuiButton-root.Mui-disabled span,
.MuiButtonBase-root.Mui-disabled span {
    color: #555 !important;
    opacity: 1 !important;
}

/* زر تعديل الموقع على الخريطة */
button[disabled] *,
.Mui-disabled * {
    color: #555 !important;
    opacity: 1 !important;
}
/* تحسين مظهر الأزرار المعطلة */
button:disabled,
.btn:disabled,
.btn.disabled,
button[disabled],
input[type="submit"]:disabled {
    background: #E5E5E5 !important;
    color: #555555 !important;
    border-color: #D0D0D0 !important;
    opacity: 1 !important;
    cursor: not-allowed;
}