body {
    background-color: #f8f8f8 !important;
    background-image: none !important;
    font-family: 'Tajawal', sans-serif;
    opacity: 1 !important;
    transition: none !important;
}


/* ✅ تحسين سرعة تحميل الصفحة */
* {
    will-change: auto;
}

/* ✅ إزالة تأثيرات عن الهيدر والأيقونات */
.icon.account-icon, 
.icon.search-icon, 
.icon.cart-icon {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    border: none !important;
}

/* ✅ تحسين وضوح الشعار في الهيدر */
.logo img {
    max-width: 180px !important;
    height: auto !important;
    image-rendering: crisp-edges;
    object-fit: contain;
}

/* ✅ تخصيص قائمة التنقل */
.navbar {
    background-color: #222 !important;
    padding: 12px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
}

/* ✅ تحسين عرض المنتجات */
.product-card {
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    border: 2px solid #4A9DA5;
    padding: 12px;
    background: white;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* ✅ تصغير حجم المنتجات */
.product-card {
    width: 220px !important;
    height: auto !important;
    margin: 10px !important;
}

/* ✅ تصغير الصور داخل المنتجات */
.product-card img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 10px 10px 0 0 !important;
}

/* ✅ تصغير حجم العناوين */
.product-card h3 {
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin: 5px 0 !important;
    color: #222 !important;
}

/* ✅ تصغير أزرار التبرع */
.product-card .btn {
    font-size: 13px !important;
    padding: 6px 10px !important;
    width: 90% !important;
    text-align: center !important;
}

/* ✅ تحسين ترتيب المنتجات على الصفحة */
.product-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* ✅ تحسين عرض المنتجات على الجوال */
@media (max-width: 768px) {
    .product-card {
        width: 180px !important;
    }

    .product-card img {
        height: 120px !important;
    }

    .product-card h3 {
        font-size: 12px !important;
    }

    .product-card .btn {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
}

/* ✅ تحسين لون اسم المنتج ليكون متدرج */
.product-card h3 {
    background: linear-gradient(135deg, #4A9DA5, #A52A2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease-in-out;
}

/* ✅ تأثير الوميض عند التمرير */
.product-card h3:hover {
    transform: scale(1.08);
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.6);
}

/* ✅ تحسين الإطار المتحرك حول البنر */
.banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* ✅ إنشاء الإطار المتحرك */
.banner::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(270deg, #4A9DA5, #A52A2A, #FFD700, #4A9DA5);
    border-radius: 15px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    animation: border-glow 5s linear infinite;
}


/* ✅ تأثير الحركة المتدرجة */
@keyframes border-glow {
    0% { transform: rotate(0deg); filter: blur(1px); }
    50% { transform: rotate(180deg); filter: blur(3px); }
    100% { transform: rotate(360deg); filter: blur(1px); }
}

/* ✅ تحسين مظهر الفوتر */
.footer {
    background: #ffffff !important;
    color: #333 !important;
    padding: 30px 15px;
    text-align: center;
    border-top: 3px solid #4A9DA5;
    box-shadow: 0px -3px 10px rgba(0, 0, 0, 0.05);
}

/* ✅ تحسين الروابط داخل الفوتر */
.footer a {
    color: #4A9DA5 !important;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.footer a:hover {
    color: #A52A2A !important;
    text-decoration: underline;
}

/* ✅ تحسين تحميل الصفحة دون شاشة بيضاء */
body.loading {
    opacity: 1 !important;
    transition: none !important;
}