/* تلوين الهيدر بالكامل (الشريط العلوي والأساسي) */
#salla-header, 
.site-header, 
.top-navbar, 
.main-nav-container, 
.header-wrapper,
.main-nav-container .container,
.top-navbar .container {
    background-color: #0b1c3d !important; /* اللون الأزرق الكحلي */
    background: #0b1c3d !important;
}

/* توحيد ألوان النصوص والأيقونات لتكون واضحة (أبيض) */
#salla-header a, 
#salla-header span, 
#salla-header i, 
#salla-header .nav-link,
#salla-header .header-btn__icon {
    color: #ffffff !important;
}

/* إزالة أي حدود أو ظلال قديمة لتنظيف المظهر */
#salla-header, 
.main-nav-container {
    border: none !important;
    box-shadow: none !important;
}

/* إجبار الهيدر على عدم قص أي محتوى */
#salla-header, 
.header-wrapper {
    overflow: visible !important;
}



/* تلوين نصوص التصنيفات الرئيسية باللون الأبيض فقط */
.main-menu li.root-level > a {
    color: #ffffff !important;
}

/* حاوية الأقسام الرئيسية */
.luxury-categories-section {
    padding: 60px 20px;
    background: transparent;
    direction: rtl;
    position: relative;
    z-index: 99;
    display: block !important;
    clear: both;
}

.luxury-categories-title {
    text-align: center;
    color: #091B3C;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
}

.luxury-categories-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FFD400;
    margin: 10px auto;
}

/* شبكة الأقسام */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* كارت القسم */
.cat-card-item {
    position: relative;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid #FFD400;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none !important;
}

.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 27, 60, 0.9) 0%, rgba(9, 27, 60, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: all 0.4s ease;
}

.cat-card-name {
    color: #FFFFFF !important;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cat-card-btn {
    color: #FFD400 !important;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

/* تأثيرات التمرير */
.cat-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(9, 27, 60, 0.3);
}

.cat-card-item:hover .cat-card-img {
    transform: scale(1.15);
}

.cat-card-item:hover .cat-card-overlay {
    background: linear-gradient(to top, rgba(9, 27, 60, 0.95) 0%, rgba(255, 212, 0, 0.1) 100%);
}


/* تلوين أيقونة المنيو (الهامبرغر) بالأبيض */
.sicon-menu:before {
    color: #ffffff !important;
}





/* حاوية البنر الرئيسية */
.luxury-hero-banner {
    position: relative;
    width: 100%;
    height: 500px; /* طول البنر مثالي للسيارات */
    background: #091b3c; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid #FFD400; /* الخط الذهبي السفلي */
}

/* صورة البنر */
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* دمج الصورة مع الكحلي */
    z-index: 1;
    transition: transform 0.1s ease-out; /* حركة ناعمة مع الماوس */
}

/* طبقة التدرج اللوني فوق الصورة لإبراز النص */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 27, 60, 0.7) 0%, rgba(9, 27, 60, 0.4) 100%);
    z-index: 2;
}

/* محتوى البنر (النصوص والأزرار) */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    color: #FFFFFF !important;
    font-size: clamp(30px, 6vw, 55px) !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-subtitle {
    color: #FFD400 !important; /* لون ذهبي للمستند الفرعي */
    font-size: clamp(16px, 2vw, 22px) !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    margin-bottom: 35px !important;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

/* زر "تسوق الآن" الفخم */
.hero-btn {
    display: inline-block !important;
    padding: 16px 50px !important;
    background: #FFD400 !important;
    color: #091b3c !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    box-shadow: 0 8px 25px rgba(255, 212, 0, 0.4);
    transition: all 0.3s ease !important;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.7s;
}

.hero-btn:hover {
    transform: scale(1.05) translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(255, 212, 0, 0.6);
}

/* أنيميشن الظهور من الأسفل للأعلى */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين العرض على الجوال */
@media (max-width: 768px) {
    .luxury-hero-banner {
        height: 350px;
    }
    .hero-title {
        font-size: 24px !important;
    }
}





/* تجهيز الكرت لاستقبال الإطار */
.s-product-card-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    z-index: 1;
    transition: transform 0.4s ease;
    overflow: hidden; /* لضمان بقاء التأثير داخل الحواف */
    border: 1px solid rgba(11, 28, 61, 0.1); /* إطار خفيف جداً في الحالة العادية */
}

/* إنشاء طبقة الضوء الكحلي المتحرك خلف الكرت */
.s-product-card-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 160%; /* زيادة العرض لضمان تغطية الزوايا */
    height: 160%;
    /* تدرج لوني يعتمد على لونك المخصص #0b1c3d */
    background-image: conic-gradient(
        transparent, 
        #0b1c3d, 
        #0b1c3d,
        transparent 40%
    );
    transition: opacity 0.5s ease;
    opacity: 0;
    z-index: -1;
}

/* الطبقة الداخلية للحفاظ على بياض الكرت */
.s-product-card-content::after {
    content: '';
    position: absolute;
    inset: 3px; /* سمك الحواف المتحركة */
    background: white;
    border-radius: 17px;
    z-index: -1;
}

/* التأثير عند التحويم (Hover) */
.s-product-card-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(11, 28, 61, 0.15);
}

.s-product-card-content:hover::before {
    opacity: 1;
    animation: rotateDeepBlue 2.5s linear infinite; /* حركة دوران أهدأ وأفخم */
}

/* حركة دوران الليزر الكحلي */
@keyframes rotateDeepBlue {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}





/* 1. الحاوية الرئيسية - المحافظة على اللون الكحلي */
.footer-is-light .store-footer {
    background-color: #0b1c3d !important;
    border-top: 4px solid #FFD400 !important;
    padding: 50px 0 20px 0 !important;
    direction: rtl;
}

/* 2. توزيع الكلام في أعمدة مرتبة */
.footer-is-light .store-footer .store-footer__inner {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent !important; /* تأكيد عدم وجود خلفية بيضاء */
}

/* 3. ترتيب محاذاة النصوص */
.store-footer__inner > div {
    flex: 1;
    min-width: 220px;
    text-align: right !important;
    background: transparent !important;
}

/* 4. فخامة العناوين والروابط */
.store-footer .footer-title, 
.store-footer h3, 
.store-footer h4 {
    color: #FFD400 !important; /* العناوين ذهبي */
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    border-right: 3px solid #FFD400; /* خط ذهبي جانبي للعنوان */
    padding-right: 15px;
}

.store-footer a, 
.store-footer p, 
.store-footer span, 
.store-footer li {
    color: #ffffff !important; /* النصوص بيضاء ناصعة */
    text-decoration: none !important;
    line-height: 2 !important;
    transition: 0.3s;
}

/* 5. تنسيق الايقونات (الاتصال والتواصل) */
.store-footer i, 
.store-footer svg {
    color: #FFD400 !important; /* الايقونات ذهبي */
    margin-left: 10px;
    vertical-align: middle;
}

/* تحريك الروابط عند اللمس */
.store-footer a:hover {
    color: #FFD400 !important;
    padding-right: 10px;
}

/* 6. ترتيب أيقونات السوشيال ميديا */
.store-footer .social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.store-footer .social__item a {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #FFD400 !important;
    border-radius: 8px !important;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}











/* 1. توحيد خلفية المتجر كاملة */
body, #main-content, main, .luxury-categories-section {
    background-color: #0b1c3d !important;
}

/* 2. تعديل قسم الأقسام ليتناسب مع الخلفية الجديدة */
.luxury-categories-section {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

/* العنوان فوق الخلفية الزرقاء */
.luxury-categories-title {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 212, 0, 0.3);
}

/* 3. كارت القسم مع تأثير الظل الرهيب */
.cat-card-item {
    position: relative;
    background: #0b1c3d;
    border: 1px solid rgba(255, 212, 0, 0.2); /* إطار ذهبي نحيف جداً */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(255, 212, 0, 0); /* الظل مخفي في البداية */
}

/* التأثير الرهيب عند تمرير الماوس */
.cat-card-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFD400 !important;
    /* ظل ذهبي متوهج (Glow Effect) */
    box-shadow: 0 15px 45px rgba(255, 212, 0, 0.2), 0 0 20px rgba(11, 28, 61, 0.8);
}

/* لمعة ضوئية داخل الكارت عند التحويم */
.cat-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 212, 0, 0.1), 
        transparent
    );
    transition: 0.5s;
    z-index: 2;
}

.cat-card-item:hover::before {
    left: 100%;
}





/* تنسيق عنوان القسم الاحترافي */
.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *) {
    color: #ffffff !important; /* لون النص أبيض ناصع */
    font-size: 24px !important;
    font-weight: 800 !important;
    padding-right: 15px !important; /* مسافة للخط الجانبي */
    margin-right: 5px !important;
    position: relative !important;
    display: block !important;
    line-height: 1.4 !important;
    text-align: right !important;
}

/* إضافة الخط العمودي الذهبي جهة اليمين */
.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px; /* سمك الخط */
    height: 80%; /* طول الخط بالنسبة للنص */
    background: #FFD400 !important; /* اللون الذهبي */
    border-radius: 10px; /* جعل زوايا الخط دائرية وناعمة */
    box-shadow: 0 0 10px rgba(255, 212, 0, 0.4); /* توهج خفيف للخط */
}

/* تحسين حاوية العنوان بالكامل */
.s-slider-block__header {
    margin-bottom: 30px !important;
    border: none !important;
}




/* 1. تنظيف حاوية التقييمات وتجهيزها */
.s-reviews-testimonial:where([dir=rtl],[dir=rtl] *) {
    background-color: rgba(11, 28, 61, 0.5) !important; /* خلفية كحلية شفافة زجاجية */
    backdrop-filter: blur(10px); /* تأثير التغبيش الزجاجي */
    border: 1px solid rgba(255, 212, 0, 0.1) !important; /* إطار ذهبي خافت جداً للكل */
    border-radius: 20px !important;
    padding: 25px !important;
    transition: all 0.5s ease-in-out !important;
}

/* 2. تمييز التقييم النشط (Active) بالإطار الذهبي المتوهج */
.s-reviews-container .swiper-slide-active .s-reviews-testimonial:where([dir=rtl],[dir=rtl] *) {
    background-color: #0b1c3d !important; /* لون كحلي صريح للنشط */
    border: 2px solid #FFD400 !important; /* إطار ذهبي واضح */
    box-shadow: 0 0 20px rgba(255, 212, 0, 0.15) !important; /* توهج ذهبي ناعم */
    transform: scale(1.05) !important; /* تكبير خفيف للتمييز */
}

/* 3. تعديل ألوان النصوص داخل التقييم */
.s-reviews-testimonial .s-reviews-testimonial-content,
.s-reviews-testimonial .s-reviews-testimonial-author,
.s-reviews-testimonial p,
.s-reviews-testimonial span {
    color: #ffffff !important; /* كل النصوص أبيض */
}

/* 4. تعديل لون النجوم لتكون ذهبية متوهجة */
.s-reviews-testimonial .s-rating-stars i,
.s-reviews-testimonial .s-rating-stars span {
    color: #FFD400 !important;
    text-shadow: 0 0 8px rgba(255, 212, 0, 0.6);
}

/* 5. أيقونة الاقتباس (لو موجودة) */
.s-reviews-testimonial::before {
    color: rgba(255, 212, 0, 0.2) !important;
}




/* 1. ضبط الحاوية الكبيرة للقسم */
.s-reviews-header-wrapper {
    background: transparent !important;
    padding: 30px 0 10px 0 !important;
    margin-bottom: 20px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

/* 2. جعل النص أبيض وتصميم الخط الجانبي */
.s-reviews-header-wrapper h2, 
.s-reviews-header-wrapper .s-reviews-title,
.s-reviews-header-wrapper h2:where([dir=rtl],[dir=rtl] *) {
    color: #ffffff !important; /* النص أبيض ناصع */
    font-size: 26px !important;
    font-weight: 900 !important;
    padding-right: 20px !important; /* مسافة للخط */
    position: relative !important;
    display: inline-block !important;
    text-align: right !important;
    margin: 0 !important;
}

/* 3. الخط الذهبي اليميني (علامة القسم الفخم) */
.s-reviews-header-wrapper h2::before,
.s-reviews-header-wrapper .s-reviews-title::before,
.s-reviews-header-wrapper h2:where([dir=rtl],[dir=rtl] *)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px; /* سمك الخط الجانبي */
    height: 35px; /* طول الخط */
    background: #FFD400 !important; /* اللون الذهبي */
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(255, 212, 0, 0.4);
}

/* 4. التأكد من أن أي نصوص فرعية (مثل عدد التقييمات) بالأبيض */
.s-reviews-header-wrapper * {
    color: #ffffff !important;
}

/* استثناء الأزرار (إضافة تقييم) لتبقى بستايلها الخاص */
.s-reviews-header-wrapper .s-button-btn,
.s-reviews-header-wrapper .s-button-btn * {
    color: #0b1c3d !important;
    background-color: #FFD400 !important;
}






/* 1. إعادة أسماء العملاء للون الأبيض الفخم */
.s-reviews-testimonial__name_wrapper, 
.s-reviews-testimonial__name_wrapper h4, 
.s-reviews-testimonial__name_wrapper span,
.s-reviews-testimonial__name_wrapper a {
    color: #ffffff !important; /* رجعنا للأبيض الناصع */
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-shadow: none !important; /* إلغاء التوهج عن الأسماء */
    margin-bottom: 5px !important;
    display: block !important;
}

/* 2. ضبط النجوم: تغيير اللون فقط مع الحفاظ على المكان */
.s-reviews-testimonial .s-rating-stars {
    display: flex !important;
    gap: 2px;
    margin-bottom: 10px !important;
    /* الحفاظ على الموقع الطبيعي للنجوم */
}

.s-reviews-testimonial .s-rating-stars i,
.s-reviews-testimonial .s-rating-stars span {
    color: #FFD400 !important; /* لون ذهبي للنجوم فقط */
    font-size: 14px !important;
    text-shadow: 0 0 8px rgba(255, 212, 0, 0.5); /* توهج للنجوم عشان تبرز */
}

/* 3. التأكد من أن نص التقييم (الكلام) أبيض */
.s-reviews-testimonial-content {
    color: #ffffff !important;
    line-height: 1.6;
    opacity: 0.9;
}

/* 4. إلغاء أي تأثيرات حركية كانت على الأسماء */
.swiper-slide-active .s-reviews-testimonial__name_wrapper {
    transform: none !important;
    text-shadow: none !important;
}








/* حاوية شاشة التحميل */
#luxury-loader {
    position: fixed;
    inset: 0;
    background-color: #0b1c3d; /* خلفيتنا الزرقاء */
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

/* الشعار */
.loader-logo {
    width: 150px; /* يمكنك تعديل المقاس */
    margin-bottom: 30px;
    animation: pulseLogo 2s infinite ease-in-out;
}

/* خط التحميل */
.loader-bar-container {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FFD400, #fff); /* خط ذهبي متوهج */
    box-shadow: 0 0 15px #FFD400;
    animation: fillProgress 2.5s forwards ease-in-out;
}

/* الجملة الترحيبية */
.loader-text {
    color: #ffffff;
    font-family: inherit;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInText 1s forwards 0.5s;
}

/* الأنيميشن */
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeInText {
    to { opacity: 1; transform: translateY(-5px); }
}

/* تأثير دخول المتجر بعد التحميل */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* انيميشن خفيف للمتجر عند الظهور */
body.loaded-content {
    animation: contentReveal 1.2s ease-out;
}

@keyframes contentReveal {
    from { opacity: 0; filter: blur(10px); }
    to { opacity: 1; filter: blur(0); }
}



/* إجبار القائمة المنسدلة على الظهور عند وضع الماوس على كلمة المزيد */
#more-menu-dropdown:hover > .dropdown-menu,
#more-menu-dropdown:hover > ul,
.main-menu li.dropdown:hover > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    top: 100% !important; /* لضمان ظهورها تحت الكلمة مباشرة */
    transform: translateY(0) !important;
    transition: all 0.3s ease-in-out;
}

/* تنسيق شكل القائمة المنسدلة لتكون فخمة */
#more-menu-dropdown .dropdown-menu {
    background-color: #0b1c3d !important; /* كحلي */
    border-top: 2px solid #FFD400 !important; /* خط ذهبي علوي */
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 0 0 8px 8px;
}

/* تنسيق الروابط داخل القائمة المنسدلة */
#more-menu-dropdown .dropdown-menu a {
    color: #ffffff !important;
    padding: 12px 20px !important;
    display: block !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#more-menu-dropdown .dropdown-menu a:hover {
    background-color: rgba(255, 212, 0, 0.1) !important;
    color: #FFD400 !important;
}





/* تحويل لون النصوص لهذه الكلاسات المحددة إلى الأبيض */
.text-gray-800, 
.text-xl {
    color: #ffffff !important;
}



/* تحويل لون نصوص مسار التنقل (Breadcrumb) والروابط داخله للأبيض */
.s-breadcrumb-wrapper, 
.s-breadcrumb-wrapper a, 
.s-breadcrumb-wrapper span, 
.s-breadcrumb-wrapper li {
    color: #ffffff !important;
}





/* تلوين رابط الاتصال الأخير بالأبيض */
.s-contacts-topnav-link:last-child:where([dir=rtl],[dir=rtl] *) {
    color: #ffffff !important;
}





/* تحويل كافة عناصر المحتوى والعناوين للون الأبيض */
blockquote, 
dd, 
dl, 
figure, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
hr, 
p, 
pre {
    color: #ffffff !important;
    border-color: #ffffff !important; /* لتلوين خط الـ hr والإطارات لو وجدت */
}





/* تحويل النصوص العريضة (Bold) للون الأبيض */
b, 
strong {
    color: #ffffff !important;
}




/* تلوين خلفية قسم تعليقات المنتج باللون الكحلي */
.s-comments-product {
    background-color: #0b1c3d !important;
    border-radius: 15px; /* لإضافة لمسة جمالية دائرية */
    padding: 20px;
}






/* إزالة خلفية صور البنرات والمدخلات */
.banner--fixed img, 
.banner-entry {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* إزالة أي إطارات أو خلفيات بيضاء قد تكون حول الصور */
.banner-entry img {
    background-color: transparent !important;
}





/* إظهار السعر باللون الأسود فقط وضمان ظهوره فوق الطبقات */
.s-product-card-content .s-product-card-price,
.s-product-card-content .s-product-card-price * {
    color: #000000 !important;
    position: relative !important;
    z-index: 10 !important;
    visibility: visible !important;
}



/* تلوين نصوص الـ leading-6 باللون الأبيض */
.leading-6 {
    color: #ffffff !important;
}





/* حاوية القسم بالكامل */
.custom-payments-section {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    width: 100%;
    margin-top: 20px;
}

/* تنسيق الجملة (وفرنا لكم...) */
.payments-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 212, 0, 0.3);
    position: relative;
    display: inline-block;
}

.payments-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ffd400;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* حاوية الكروت لضمان ظهورهم جنب بعض */
.premium-payments-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* الكرت الأساسي */
.payment-card-premium {
    position: relative;
    width: 120px;
    height: 75px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حركة مرنة */
    z-index: 1;
    cursor: pointer;
}

/* تأثير الليزر اللي يظهر عند اللمس فقط */
.payment-card-premium::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #ffd400, #00c3ff, transparent);
    animation: rotateLaser 2s linear infinite;
    opacity: 0; /* مخفي في الحالة العادية */
    transition: opacity 0.3s ease;
}

.payment-card-premium::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0b1c3d;
    border-radius: 13px;
    z-index: 1;
}

.payment-card-premium img {
    max-width: 85% !important;
    max-height: 85% !important;
    z-index: 2;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

/* ========================================= */
/* إضافات اللمس الرهيبة (التعديل الجديد) */
/* ========================================= */


.payment-card-premium:hover::before {
    opacity: 1; /* إظهار الليزر عند اللمس */
}

.payment-card-premium:hover img {
    transform: scale(1.1) rotate(-3deg); /* تحريك الصورة عكس الكرت لمظهر احترافي */
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

/* أنيميشن الدوران */
@keyframes rotateLaser {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}








/* حاوية الخلفية الشفافة */
.ronaq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 61, 0.85); /* خلفية كحلية شفافة */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px); /* زيادة التغبيش للفخامة */
    font-family: 'Cairo', sans-serif;
}

/* بطاقة الكوبون */
.ronaq-card {
    background: #ffffff;
    width: 85%;
    max-width: 420px;
    padding: 40px 20px;
    border-radius: 30px; /* حواف أنعم */
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    direction: rtl;
    border-top: 10px solid #ffd400; /* اللون الذهبي الخاص بك */
    animation: fadeInScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* زر الإغلاق X */
.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #0b1c3d;
    transition: 0.3s;
    line-height: 1;
    opacity: 0.6;
}

.close-btn:hover {
    color: #cd1818;
    transform: rotate(90deg);
    opacity: 1;
}

.ronaq-title {
    color: #0b1c3d; /* اللون الكحلي */
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 900;
}

.ronaq-desc {
    color: #444;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* صندوق الكود */
.coupon-box {
    background: #fffcf0; /* خلفية ذهبية باهتة جداً */
    border: 3px dashed #ffd400; /* حدود ذهبية منقطة */
    padding: 18px;
    border-radius: 15px;
    font-size: 36px;
    font-weight: 900;
    color: #0b1c3d; /* نص كحلي داخل الصندوق الذهبي */
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: inset 0 0 10px rgba(255, 212, 0, 0.2);
}

.coupon-box:hover {
    background: #ffd400;
    color: #0b1c3d;
    transform: translateY(-3px);
}

.copy-hint {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #0b1c3d;
    font-weight: 600;
}

/* حركة ظهور النافذة */
@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}




/* تلوين أيقونة السلة باللون الأبيض */
.sicon-shopping-bag:before {
    color: #ffffff !important;
}



/* تلوين أيقونة الحساب باللون الأبيض */
.sicon-user-circle:before {
    color: #ffffff !important;
}



/* تلوين أول عنصر في القائمة العلوية اليمين باللون الأبيض */
.topnav-link-item.right-side:first-child:where([dir=rtl],[dir=rtl] *) {
    color: #ffffff !important;
}



/* توحيد لون جميع عناصر النصوص والعناوين للون الأسود */
blockquote, 
dd, 
dl, 
figure, 
h1, h2, h3, h4, h5, h6, 
p, 
pre {
    color: #000000 !important;
}

/* تحويل لون الخط الفاصل (hr) ليكون أسود خفيف */
hr {
    border-color: rgba(0, 0, 0, 0.1) !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}



/* تلوين عنوان خيارات الدفع بالأبيض */
.payments-title {
    color: #ffffff !important;
}

/* إذا كنت تبي الخط اللي تحت العنوان يتلون بالأبيض برضه */
.payments-title::after {
    background: #ffffff !important;
}



/* تلوين الخط اللي تحت العنوان باللون الذهبي الخاص بك */
.payments-title::after {
    background: #ffd400 !important;
    box-shadow: 0 0 8px rgba(255, 212, 0, 0.6); /* إضافة توهج ذهبي خفيف للخط */
}



/* تلوين أسماء العملاء في قسم التقييمات بالأبيض */
.s-reviews-testimonial__info h2 {
    color: #ffffff !important;
}


/* تلوين النصوص العريضة باللون الأسود */
b, 
strong {
    color: #000000 !important;
}


/* تلوين روابط القائمة العلوية باللون الأبيض */
.topnav-link-item:where([dir=rtl],[dir=rtl] *) {
    color: #ffffff !important;
}



/* تلوين النصوص الصغيرة باللون الأبيض */
.text-sm {
    color: #ffffff !important;
}




/* تلوين عناوين وأرقام مميزات المتجر (Trust Badges) بالأبيض */
.s-trust-badges-label, 
.s-trust-badges-number {
    color: #ffffff !important;
}

/* تلوين إجمالي السلة باللون الأبيض */
.s-cart-summary-total {
    color: #ffffff !important;
}



/* تلوين نصوص وروابط القائمة الجانبية للجوال بالأسود */
.mm-spn li a, 
.mm-spn li > span {
    color: #000000 !important;
}


/* استهداف الكلاسين معاً وتغيير لونهما للأبيض */
.text-gray-800, 
.text-xl {
    color: #fccb1a !important;
}