@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;700;900&display=swap');

:root {
    --bg-body: #F3F5F9;       /* جراي فاتح جداً "مودرن" */
    --card-white: #FFFFFF;    /* أبيض ناصع للكروت */
    --text-main: #1F2937;     /* كحلي غامق للنصوص */
    --text-muted: #6B7280;    /* رمادي للنصوص الفرعية */
    --brand-color: #6366F1;   /* لون البراند (بنفسجي أزرق) */
    --accent-color: #10B981;  /* أخضر للنجاح */
    --border-light: rgba(229, 231, 235, 0.8);
    --glass-shine: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --radius-md: 16px;
    --radius-lg: 24px;
}

 /* body {
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    font-family: 'Cairo', sans-serif !important;
    overflow-x: hidden;
} */

/* --- 1. إعادة البادي للوضع الصافي --- */

body {
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    font-family: 'Cairo', sans-serif !important;
    overflow-x: hidden;
    position: relative;
}

/* --- كشاف الماوس العالمي (The Vibrant Global Glow) --- */
.global-mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px; /* صغرنا الحجم سنة عشان اللون يتركز ويظهر */
    height: 600px;
    /* زيادة الشفافية واللون عشان يظهر بوضوح */
    background: radial-gradient(
        circle, 
        rgba(99, 102, 241, 0.18) 0%, 
        rgba(99, 102, 241, 0.05) 30%, 
        transparent 70%
    ) !important;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: opacity 0.5s ease;
    opacity: 0;
    /* إضافة فلاتر لزيادة حيوية اللون */
    filter: saturate(150%);
}
/* سكرول بار مودرن */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-color);
}

/* =================================================================
   2. الناف بار (Ultra-Glass Header)
   ================================================================= */
.store-header {
    border: none !important;
    background: transparent !important;
}


#mainnav {
    background: rgba(255, 255, 255, 0.75) !important; /* أبيض شفاف */
    backdrop-filter: blur(20px) saturate(180%) !important; /* بلور قوي */
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
    position: sticky !important;
    top: 15px; /* مسافة من فوق */
    margin: 0 15px !important; /* مسافة من الجوانب */
    border-radius: var(--radius-md);
    width: auto !important;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* اللوجو */
.navbar-brand img {
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 300px !important;
}
.navbar-brand:hover img {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* روابط القائمة */
.main-menu a {
    color: var(--text-main) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}
.main-menu a:hover {
    color: var(--brand-color) !important;
    background: rgba(99, 102, 241, 0.08); /* خلفية خفيفة جداً */
}

/* أيقونات (البحث - السلة) */
.s-user-menu-trigger, .s-cart-summary-wrapper {
    background: #fff !important;
    border-raظdius: 50% !important;
     transition: 0.3s;
}
.s-user-menu-trigger:hover, .s-cart-summary-wrapper:hover {
    transform: translateY(-3px);
     color: var(--brand-color) !important;
}

/* =================================================================
   3. كارد المنتج (The Illusion Card -  )
   ================================================================= */
.s-product-card-entry {
    background: var(--card-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 
                0 0 0 1px rgba(0,0,0,0.01) !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    overflow: hidden;  
    position: relative;
    z-index: 1;
}

/* لمعة الضوء (Shine Effect) */
.s-product-card-entry::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(
        120deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: 10;
    pointer-events: none;
    opacity: 0.7;
}

/* تشغيل اللمعة عند الهوفر */
.s-product-card-entry:hover::before {
    animation: shinePass 0.7s forwards;
}

@keyframes shinePass {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* حركة الكارد   */
.s-product-card-entry:hover {
     box-shadow: var(--shadow-xl) !important;
    border-color: var(--brand-color) !important;
}

/* الصورة */
.s-product-card-image {
    padding: 8px;
    background: transparent;
}
.s-product-card-image img {
    border-radius: 0px !important;
    transition: transform 0.6s ease;
}
.s-product-card-entry:hover .s-product-card-image img {
    transform: scale(1.08);
}

/* المحتوى النصي */
.s-product-card-content-title a {
    color: var(--text-main) !important;
    font-weight: 700;
    font-size: 16px;
}

.s-product-card-price {
    color: var(--brand-color) !important;
    font-weight: 900 !important;
    font-size: 18px !important;
}

/* زر الإضافة للسلة */
salla-button button {
    background: #8494FF  !important; /* زر     */
    color: #fff !important;
    border-radius: 50px !important; /* دائري */
    font-weight: bold;
    border: none !important;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
salla-button button:hover {
    background: var(--brand-color) !important;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* =================================================================
   4. التصنيفات (Glass Pills -    )
   ================================================================= */
.slide--cat-entry {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px);
    border: 1px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border-radius: 50px !important;
    padding: 15px 25px !important;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide--cat-entry:hover {
    background: #fff !important;
     box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15); /* ضل ملون */
    border-color: var(--brand-color);
}

.slide--cat-entry h2 {
    color: var(--text-main) !important;
    font-size: 14px !important;
    font-weight: 700;
}
.slide--cat-entry i {
    color: var(--brand-color) !important;
    font-size: 26px;
    margin-bottom: 8px;
    display: inline-block;
}

/* =================================================================
   5. العناوين (Headings)
   ================================================================= */
.s-block__title h2, .s-slider-block__title h2 {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: var(--brand-color) !important;
    position: relative;
    display: inline-block;
}

/* نقطة ملونة جنب العنوان */
.s-block__title h2::after, .s-slider-block__title h2::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--brand-color);
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 4px;
}

/* =================================================================
   6. السكاشن الإضافية (Features & Promo) - تجميل الـ JS
   ================================================================= */
.custom-features-section {
    padding: 60px 20px;
    background: #fff;
    margin: 60px 0;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-box {
    text-align: center;
    padding: 30px;
    transition: 0.4s;
    border-radius: 20px;
}
.feature-box:hover {
    background: #F9FAFB;
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 35px;
    color: var(--brand-color);
    background: #EEF2FF;
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 25px;  
    margin: 0 auto 20px auto;
    transition: 0.3s;
}
.feature-box:hover .feature-icon {
    background: var(--brand-color);
    color: #fff;
    transform: rotate(10deg);
}

.feature-box h3 { font-weight: 800; margin-bottom: 10px; color: var(--text-main); }
.feature-box p { color: var(--text-muted); font-size: 14px; }

/* بانر العرض */
.custom-promo-banner {
    background: linear-gradient(135deg, #4F46E5, #8B5CF6);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 30px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.custom-promo-btn {
    background: #fff;
    color: #4F46E5;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 16px;
    margin-top: 25px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.custom-promo-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: #4F46E5 !important;
}

/* =================================================================
   7. الفوتر (Dark Anchor - قاعدة الموقع)
   ================================================================= */
.store-footer {
    background-color: #0F172A !important; /* كحلي غامق جداً */
    color: #fff !important;
    border-radius: 40px 40px 0 0;
    margin-top: 60px;
    padding-top: 70px !important;
    position: relative;
    overflow: hidden;
}

 .store-footer::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.store-footer h3 {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
}

.store-footer p {
    color: #94A3B8 !important; /* رمادي أزرق فاتح */
}

.footer-menu-item a, .s-menu-footer-list li a {
    color: #CBD5E1 !important;
    transition: 0.3s;
}
.footer-menu-item a:hover, .s-menu-footer-list li a:hover {
    color: #fff !important;
    padding-right: 10px;
    color: var(--brand-color) !important;
}

/* أيقونات السوشيال */
.s-social-link a {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 12px;
    transition: 0.3s;
}
.s-social-link a:hover {
    background: var(--brand-color) !important;
    transform: translateY(-5px);
}

/* =========================================
     سكشن التقييمات (Glass Testimonials)
   ========================================= */

/* 1. الحاوية الرئيسية للكارت */
.s-reviews-testimonial__inner {
    background: rgba(255, 255, 255, 0.6) !important;  
    backdrop-filter: blur(15px) !important;  
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid #fff !important;  
    border-radius: 24px !important;
    padding: 30px 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;  
    z-index: 1;
    margin: 10px;  
}

 .s-reviews-testimonial__inner::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(
        120deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: -1;
    pointer-events: none;
}

.s-reviews-testimonial__inner:hover::before {
    animation: shinePass 0.7s forwards;
}

 .s-reviews-testimonial__inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15) !important; /* ضل ملون خفيف */
    border-color: var(--brand-color) !important;
}

/* 4. صورة العميل (Avatar) */
.s-reviews-testimonial__avatar {
    width: 70px !important;
    height: 70px !important;
    border: 3px solid #fff !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px !important;
    position: relative;
    z-index: 2;
}

.s-reviews-testimonial__avatar img {
    border-radius: 50% !important;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* 5. النصوص والأسماء */
.s-reviews-testimonial__info h2 {
    color: var(--text-main) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin-bottom: 5px !important;
}

.s-reviews-testimonial__text p {
    color: var(--text-muted) !important;
    font-size: 14px !important;
    line-height: 1.6;
    font-style: italic;
}

/* 6. النجوم (Stars) */
.s-rating-stars-selected svg {
    fill: #FBBF24 !important; /* لون ذهبي */
    width: 18px !important;
    height: 18px !important;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

 .s-reviews-testimonial__icon {
    position: absolute !important;
    top: -10px !important;
    left: 10px !important;
    font-size: 80px !important;
    opacity: 0.05 !important; /* شفافة جداً كخلفية */
    color: var(--brand-color) !important;
    transform: rotate(180deg);
    z-index: 0;
    pointer-events: none;
}

.s-reviews-testimonial__inner:hover .s-reviews-testimonial__icon {
    transform: rotate(180deg) scale(1.2); /* تكبر لما تعمل هوفر */
    opacity: 0.1 !important;
    transition: 0.4s;
}

 .s-block--testimonials {
    background: transparent !important;
}


 
/* 1. الحاوية الرئيسية (The Base) */
.store-footer {
    background: #ffffff !important; /* أبيض ناصع */
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* حد خفيف جداً */
    border-radius: 50px 50px 0 0; /* كيرف قوي من فوق */
    margin-top: 80px; /* يبعد عن المحتوى */
    padding-top: 80px !important;
    padding-bottom: 30px !important;
    position: relative;
    box-shadow: 0 -20px 60px rgba(99, 102, 241, 0.05); /* ضل بنفسجي خفيف جداً لفوق */
    overflow: hidden;
    z-index: 10;
}

 .store-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#6366f1 0.5px, transparent 0.5px), radial-gradient(#6366f1 0.5px, #ffffff 0.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.03; /* شفاف جداً */
    pointer-events: none;
    z-index: 0;
}

.store-footer__inner {
    position: relative;
    z-index: 2;
}

/* 2. العناوين (Headings) */
.store-footer h3 {
    color: #111827 !important; /* أسود فحمي */
    font-size: 20px !important;
    font-weight: 900 !important;
    margin-bottom: 25px !important;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* خط ملون تحت العنوان */
.store-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0; /*   عربي */
    width: 40px;
    height: 4px;
    background: var(--brand-color); /* اللون البنفسجي */
    border-radius: 10px;
    transition: width 0.3s ease;
}

.store-footer h3:hover::after {
    width: 100%; 
}

/* 3. النصوص الوصفية */
.store-footer p {
    color: #4B5563 !important; /* رمادي   */
    line-height: 1.8;
    font-size: 15px;
    font-weight: 500;
}

/* 4. الروابط (Links Animation) */
.s-menu-footer-list li a,
.footer-menu-item a {
    color: #6B7280 !important; /* رمادي فاتح */
    font-size: 15px !important;
    padding: 8px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* حركة السهم والنور */
.s-menu-footer-list li a::before,
.footer-menu-item a::before {
    content: '←'; /* سهم لليسار */
    opacity: 0;
    margin-left: -10px;
    transition: all 0.3s;
    color: var(--brand-color);
    font-weight: bold;
}

.s-menu-footer-list li a:hover,
.footer-menu-item a:hover {
    color: var(--brand-color) !important;
    padding-right: 15px; /* يتحرك لليسار */
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05), transparent);
    border-radius: 8px;
}

.s-menu-footer-list li a:hover::before,
.footer-menu-item a:hover::before {
    opacity: 1;
    margin-left: 10px;
}

/* 5. التواصل (Contact Items) - تحويلها لكروت صغيرة */
.s-contacts-item {
    display: flex;
    align-items: center;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.s-contacts-item:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--brand-color);
}

.s-contacts-icon {
    background: #EEF2FF !important;
    color: var(--brand-color) !important;
    width: 35px; height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 12px;
}

.unicode {
    color: #374151 !important;
    font-weight: 700;
    font-family: 'Cairo', sans-serif; /* عشان الأرقام */
}

/* 6. السوشيال ميديا (Floating Orbs) */
.s-social-link a {
    background: #fff !important;
    border: 1px solid #E5E7EB;
    color: #6B7280 !important;
    width: 45px; height: 45px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.s-social-link a:hover {
    background: var(--brand-color) !important;
    color: #fff !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border-color: var(--brand-color);
}

/* 7. حقوق النشر والدفع (The Bottom Bar) */
.store-footer .md\:flex {
    border-top: 1px solid #F3F4F6;
    margin-top: 40px;
    padding-top: 30px;
    background: #F9FAFB; /* لون مختلف شوية للقاعدة */
    border-radius: 20px;
    padding: 20px;
}

.copyright-text p {
    font-size: 13px;
    color: #9CA3AF !important;
}

/* أيقونات الدفع (Grayscale to Color) */
.s-payments-list-item img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.4s;
    transform: scale(0.9);
}

.s-payments-list-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Trust Badges (السجل التجاري) */
.s-trust-badges-wrapper {
    background: #F9FAFB;
    padding: 10px;
    border-radius: 12px;
    border: 1px dashed #E5E7EB;
}
.s-trust-badges-label { color: #6B7280 !important; }
.s-trust-badges-number { color: #111 !important; font-weight: bold; }
 
 .s-contacts-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;  
    flex-wrap: nowrap !important;  
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important; 
    gap: 10px;  
}

/* 2. ضبط النص (الإيميل والأرقام) */
.s-contacts-item a, 
.s-contacts-item span.unicode {
    font-size: 13px !important; 
    white-space: nowrap !important;  
    overflow: hidden !important;  
    text-overflow: ellipsis !important;  
    direction: ltr !important;  
    flex: 1 !important; 
}

/* 3. تثبيت الأيقونة عشان متصغرش */
.s-contacts-icon {
    flex-shrink: 0 !important;  
    margin-left: 0 !important; 
}
 
 .s-product-card-wishlist-btn.un-favorited i,
.s-product-card-wishlist-btn.not-added i {
    color: #9CA3AF !important; /* لون رمادي     */
    transition: color 0.3s ease;
}

  .s-product-card-wishlist-btn:not(.un-favorited) i,
.s-product-card-wishlist-added i {
    color: #ef4444 !important; /* أحمر */
}

 .s-product-card-wishlist-btn.un-favorited:hover i {
    color: #ef4444 !important;
}
    .main-menu li.root-level>a {
        font-weight: 700;
        padding-bottom: 6px;
        padding-top: 6px
    }




/* =========================================
   سكشن العروض المميزة (Interactive Promo Cards)
   ========================================= */
.custom-promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 60px 20px;
    margin: 60px 0;
}

.custom-promo-card {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
    border-radius: 24px;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.custom-promo-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(99,102,241,0.15);
}

.custom-promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 50%);
    transition: transform 0.6s;
    transform: rotate(0deg);
}

.custom-promo-card:hover::before {
    transform: rotate(45deg);
}

.custom-promo-card i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    color: #fff;
}

.custom-promo-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
}

.custom-promo-card p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

/* زر صغير داخل الكارد */
.custom-promo-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: #fff;
    color: #6366F1;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.custom-promo-card a:hover {
    background: #6366F1;
    color: #fff;
    transform: scale(1.05);
}
.custom-simple-banner {
    text-align: center;
    background: #f3f4f6;
    padding: 50px 20px;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.custom-simple-banner h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #111827;
}

.custom-simple-banner p {
    font-size: 16px;
    color: #4b5563;
}
.s-block--hero-slider .swiper-slide .overlay-bg:after  {
  width:0px !important;
}
#mainnav {
  margin:0 !important;
}.navbar-brand img {
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 200px !important;
}
.navbar-brand {
      max-height: 30px;
}
.main-menu {
        padding-top: 0 !important;
    }

@media (min-width: 1024px) {
    .main-nav-container {
        min-height: 70px;
    }
}
.main-nav-container .container > div {
 height:40px !important; 
}
.s-block--fixed-banner {
    max-height: 300px;
    padding: 30px 0 300px;
    margin-bottom: 200px;
}
.banner--fixed img {
  max-height:400px
}
@media (min-width: 640px) {
    .sm\:py-16 {
        padding-bottom: 1rem;
        padding-top: 0;
    }
}

/* --- تعديل الحاوية الكبيرة (التراك) --- */
.tabs.hide-scroll {
    display: inline-flex;
    background: #ffffff; /* خليتها أبيض صريح عشان تظهر فوق الـ bg-body */
    padding: 12px; /* زودنا البادينج هنا عشان التابات تتنفس */
    border-radius: 50px; /* دائرية كاملة لشكل أنيق */
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); /* ظل ناعم جداً */
    margin: 30px auto;
    gap: 15px; /* مسافة محترمة بين كل تاب وتاب */
    max-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- تعديل الزرار (التاب) --- */
.tabs .tab-trigger.s-button-wrap {
    margin: 0 !important;
    --s-button-height: 52px; 
}

.tabs .tab-trigger .s-button-element {
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    border-radius: 40px !important;  
    font-weight: 700 !important;  
    font-size: 16px !important; 
     transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* حركة فيها Elasticity */
    position: relative;
    letter-spacing: 0.3px;
}

/* --- تأثير الهوفر --- */
.tabs .tab-trigger .s-button-element:hover {
    color: var(--brand-color) !important;
    background: rgba(99, 102, 241, 0.08) !important;
    transform: translateY(-2px);
}

/* --- التاب النشط (Active) - اللمسة السحرية --- */
.tabs .tab-trigger.is-active .s-button-element {
    /* تدرج لوني فخم بدل اللون السادة */
    background: linear-gradient(135deg, var(--brand-color) 0%, #4F46E5 100%) !important;
    color: #FFFFFF !important;
    /* ظل لوني خلف الزرار المختار */
    box-shadow: 0 8px 20px -6px var(--brand-color);
    transform: scale(1.05); /* تكبير بسيط جداً للتاب المختار */
}

/* النقطة اللي تحت التاب - خليناها Glowy أكتر */
.tabs .tab-trigger.is-active .s-button-element::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--brand-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--brand-color), 0 0 4px var(--brand-color);
    animation: bounceIn 0.6s ease;
}

 @keyframes bounceIn {
    0% { opacity: 0; transform: translate(-50%, 10px) scale(0); }
    100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

 @media (max-width: 768px) {
    .tabs.hide-scroll {
        padding: 8px;
        gap: 8px;
        margin: 15px 10px;
    }
    
    .tabs .tab-trigger .s-button-element {
        padding: 0 25px !important; /* بادينج أقل للموبايل عشان العرض */
        font-size: 14px !important;
        --s-button-height: 44px;
    }
}

/* --- 1. حاوية الكارت العرضي   --- */
.s-product-card-horizontal {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-light) !important;
    padding: 0 !important;  
    overflow: hidden;  
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;  
    gap: 0 !important;
    box-shadow: var(--shadow-soft) !important;
    height: 160px;  
}

/* --- 2. قسم الصورة (تعديل المقاس) --- */
.s-product-card-horizontal .s-product-card-image {
    width: 160px !important;
    min-width: 160px !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important; /* شيلنا نص القطر عشان تبقى فلاش مع الكارت */
}

.s-product-card-horizontal .s-product-card-image img {
    height: 100% !important;
    object-fit: cover !important;
}

/* --- 3. محتوى الكلام (إضافة بادينج بسيط هنا بس عشان النص ميزنقش) --- */
.s-product-card-horizontal .s-product-card-content {
    padding: 15px !important; /* بادينج خفيف للكلام فقط */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex-grow: 1 !important;
}

/* --- 4. زرار إضافة للسلة (اللون الأزرق) --- */
.s-product-card-horizontal .s-add-product-button .s-button-element {
    background: #2563eb !important; /* أزرق صريح ومودرن */
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important; /* زوايا أقل حدة شوية */
    height: 40px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2) !important;
}

.s-product-card-horizontal .s-add-product-button .s-button-element:hover {
    background: #1d4ed8 !important; /* درجة أغمق عند الهوفر */
    transform: translateY(-1px);
}

/* --- 5. زرار الفيفوريت (الجراي) --- */
.s-product-card-horizontal .s-product-card-wishlist-btn .s-button-element {
    background-color: #f3f4f6 !important; /* جراي فاتح */
    color: #6b7280 !important;
    border: none !important;
    border-radius: 10px !important;
    width: 40px !important;
    height: 40px !important;
}

/* --- 6. السعر والعنوان --- */
.s-product-card-horizontal .s-product-card-content-title a {
    font-size: 15px !important;
    color: var(--text-main) !important;
}

.s-product-card-horizontal .s-product-card-price {
    color: #2563eb !important; /* السعر بنفس لون الزرار عشان التناسق */
    font-weight: 800 !important;
    margin: 5px 0 !important;
}

/* ظبط المسافات في الفوتر */
.s-product-card-horizontal .s-product-card-content-footer {
    margin-top: 10px !important;
    display: flex !important;
    gap: 8px !important;
}





/*---------------------*/

/* .s-block--testimonials, 
.s-block--testimonials .s-block__body, 
.s-reviews-swiper-slide, 
.swiper, 
.swiper-wrapper, 
.s-reviews-testimonial {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
} */

/* =================================================================
   2. الكارت   (The Wide Floating Master Card)
   ================================================================= */
.s-reviews-testimonial__inner {
    background: #ffffff !important;
    border-radius: 40px !important;
    
    /* --- العرض والبادينج الجديد --- */
    max-width: 850px !important;    
    width: 95% !important;
    padding: 25px 45px !important; 
    /* ---------------------------- */

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(99, 102, 241, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    margin: 40px auto !important;
    position: relative;
}

/* حركة الكارت عند مرور الماوس */
.s-reviews-testimonial__inner:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: var(--brand-color) !important;
    box-shadow: 0 40px 90px rgba(99, 102, 241, 0.12) !important;
}

/* =================================================================
   3. صورة العميل (Gaming Squircle Avatar)
   ================================================================= */
.s-reviews-testimonial__avatar {
    width: 90px !important;
    height: 90px !important;
    border-radius: 28px !important;  
    border: 4px solid #fff !important;
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.15) !important;
    margin-bottom: 15px !important;
    background: #fff !important;
    overflow: hidden !important;
    position: relative;
}

.s-reviews-testimonial__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* =================================================================
   4. تنسيق النصوص (نص التقييم - الاسم - النجوم)
   ================================================================= */
 .s-reviews-testimonial__text p {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    font-style: italic;
    max-width: 90%; /*           */
}

/* حاوية الاسم والنجوم */
.s-reviews-testimonial__name_wrapper {
    display: flex !important;
    flex-direction: column !important; /* الاسم فوق والنجوم تحت */
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

/* اسم العميل */
.s-reviews-testimonial__info h2 {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: var(--brand-color) !important;
    margin: 0 !important;
}

/* النجوم */
.s-rating-stars-wrapper {
    display: flex !important;
    justify-content: center !important;
    gap: 4px !important;
}

.s-rating-stars-selected svg {
    fill: #FFD700 !important;  
    width: 22px !important;
    height: 22px !important;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

/* أيقونة الاقتباس للزينة */
.s-reviews-testimonial__icon {
    position: absolute !important;
    bottom: 20px;
    right: 30px;
    opacity: 0.05 !important;
    color: var(--brand-color) !important;
    transform: rotate(180deg);
}





/*---------- سكشن الهيدر الجديد فوق-----------*/
/* --- سكشن الوصول السريع (Bento Lite) --- */
.bento-gaming-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    direction: rtl;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px; /* طول الكروت */
    gap: 15px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: default;
}

/* تأثير نور الماوس (Spotlight) */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        300px circle at var(--mouse-x) var(--mouse-y), 
        rgba(99, 102, 241, 0.15), 
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-color);
}

/* توزيع الكروت بشكل "بينتو" بسيط */
.bento-1 { grid-column: span 2; grid-row: span 1; } /* كارت عريض */
.bento-2 { grid-column: span 1; grid-row: span 2; } /* كارت طويل */
.bento-3 { grid-column: span 1; grid-row: span 1; } /* كارت صغير */
.bento-4 { grid-column: span 1; grid-row: span 1; } /* كارت صغير */

.bento-card i {
    font-size: 30px;
    color: var(--brand-color);
    margin-bottom: 15px;
}

.bento-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* للموبايل: نخليهم تحت بعض */
@media (max-width: 768px) {
    .bento-grid { display: flex; flex-direction: column; }
    .bento-card { min-height: 150px; }
}
/*----------الجديد-----------*/

/* --- Gaming Light Theme --- */
:root {
    --gaming-glass: rgba(255, 255, 255, 0.6);
    --gaming-border: rgba(99, 102, 241, 0.2);
    --glow-color: rgba(99, 102, 241, 0.5);
}

 .gaming-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.stat-item {
    background: var(--gaming-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gaming-border);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.4s;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-color);
    box-shadow: 0 15px 35px var(--glow-color);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: var(--brand-color); /* توحيد مع لون البراند */
    text-shadow: 2px 2px 0px rgba(99, 102, 241, 0.1);
}

.stat-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* سكشن المميزات - تنعيم الألوان */
.custom-features-section {
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 40px !important;
    padding: 60px 20px !important;
    box-shadow: var(--shadow-soft) !important;
}

.feature-box {
    background: var(--bg-body) !important; /* نفس خلفية الموقع عشان التناسق */
    border: 1px solid transparent !important;
    clip-path: polygon(10% 0, 100% 0, 100% 75%, 90% 100%, 0 100%, 0% 25%);
    transition: 0.4s !important;
}

.feature-box:hover {
    background: #ffffff !important;
    border-color: var(--brand-color) !important;
    transform: translateY(-10px);
}

.feature-icon {
    display: flex !important;  
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--brand-color) !important;
    color: var(--brand-color) !important;
    background: #fff !important;
    width: 80px !important;  
    height: 80px !important;
    border-radius: 20px !important;
    font-size: 35px !important;  
    margin: 0 auto 20px auto !important;  
    box-shadow: 0 10px 20px var(--glow-color) !important;
}

.feature-icon i {
    line-height: 1 !important;  
}

 .custom-simple-banner {
    background: linear-gradient(135deg, var(--brand-color) 0%, #4F46E5 100%) !important;
    border: none !important;
    box-shadow: 0 20px 40px var(--glow-color) !important;
}

.gaming-btn-ui {
    background: #fff !important;
    color: var(--brand-color) !important;
    clip-path: polygon(0 0, 85% 0, 100% 45%, 100% 100%, 15% 100%, 0 55%);
    padding: 12px 35px;
    font-weight: 900;
}
@media (max-width:768px) {
  .s-block--fixed-banner {

      max-height: 300px;
    padding: 30px 0 0px !important;
    margin-bottom: 0px !important;
}
}