/* ===================================================
   STEP 1: THE FOUNDATION (التأسيس الملكي)
=================================================== */

:root {
  --primary: #0a0a0a;        /* أسود عميق للخلفية */
  --bg-card: #161616;       /* رمادي فحمي للكروت */
  --gold: #bdc3c7;          /* ذهبي ملكي */
  --text-main: #ffffff;     /* نص أبيض */
  --radius-lg: 25px;
}

/* 1. استهداف الحاوية الكبرى والجسم لإبادة أي لون فاتح */
body#app, 
.app-inner, 
.theme-raed {
    background-color: var(--primary) !important;
    background: var(--primary) !important;
    color: var(--text-main) !important;
}

/* 2. استهداف شريط الإعلانات اللي طلع في كودك */
salla-advertisement .s-advertisement {
    background-color: #000000 !important;
    /* استبدال الذهبي بالفضي الشفاف (rgba(189, 195, 199, 0.3)) */
    border-bottom: 1px solid rgba(189, 195, 199, 0.3) !important;
}

/* 3. تنظيف أي فراغات بيضاء تظهر في الخلفية */
#main-content {
    background-color: transparent !important;
}
/* تنسيق كرت المنتج في سلة بأسلوب متجر راكان (الفضي الكروم) */
.s-product-card-entry {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important; /* الـ 25px اللي تحبها */
    /* استبدال الذهبي بالفضي الكروم الشفاف ليتناسق مع الشريط */
    border: 1px solid rgba(189, 195, 199, 0.2) !important; 
    padding: 15px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: hidden;
    position: relative;
}
/* تأثير الارتفاع عند تمرير الماوس */
.s-product-card-entry:hover {
    transform: translateY(-10px) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

/* تنعيم حواف صورة المنتج */
.s-product-card-image img {
    border-radius: 18px !important;
    transition: var(--transition);
}
/* ===================================================
   RAKAN STORE - BLACK GLASS EDITION (MOBILE ONLY) 📱✨
=================================================== */

/* 1. الخلفية الأساسية (سواد ليلي عميق) */
body#app.theme-raed, 
.app-inner, 
#main-content {
    background-color: #050505 !important;
    background-image: radial-gradient(circle at top right, #1a1a1a 0%, #050505 100%) !important;
    color: #ffffff !important;
}

/* 2. الهيدر (أسود قزازي شفاف 100%) */
.main-nav-container {
    background: rgba(10, 10, 10, 0.6) !important; /* شفافية عالية */
    backdrop-filter: blur(20px) !important; /* تضبيب قوي يعطي إيحاء القزاز */
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(189, 195, 199, 0.15) !important; 
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* 3. كروت المنتجات (قزاز مدخن فخم) */
.s-product-card-entry {
    background: rgba(25, 25, 25, 0.4) !important; /* شفافية للكروت */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* 4. لمسة فضية كروم للأيقونات (متناسقة مع شريط التحكم) */
.header-btn__icon, 
.sicon-user-circle, 
.sicon-shopping-bag,
.mburger i,
#s-cart-icon svg {
    color: #bdc3c7 !important;
    fill: #bdc3c7 !important;
    filter: drop-shadow(0 0 8px rgba(189, 195, 199, 0.3)); /* وهج فضي خفيف */
}
/* 5. تفاعل اللمس للجوال (إحساس الكروم) */
.s-product-card-entry:active, 
.header-btn:active {
    background: rgba(189, 195, 199, 0.1) !important; /* يلمع فضي خفيف عند اللمس */
    transform: scale(0.97) !important;
    transition: 0.2s ease;
}


/* 6. المنيو الجانبي (قزازي بالكامل بلمسة فضية) */
.mm-ocd__content, 
#mobile-menu {
    background: rgba(15, 15, 15, 0.8) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-left: 1px solid rgba(189, 195, 199, 0.2) !important;
}

/* 7. إخفاء أي خطوط أو حدود بيضاء افتراضية */
.bg-white, .shadow-default {
    background-color: transparent !important;
    box-shadow: none !important;
}
/* ===================================================
   CART SUMMARY - WHITE TEXT (RAKAN EDITION) ⚪
=================================================== */

/* تحويل السعر والعملة للون الأبيض */
.s-cart-summary-total, 
.s-cart-summary-total *, 
.sicon-sar {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* لضمان الثبات على الجوال */
    font-weight: 800 !important;
    font-size: 14px !important;
    opacity: 1 !important;
}

/* تنسيق أيقونة الريال (SAR) بشكل خاص */
.sicon-sar {
    margin-right: 4px !important;
    font-style: normal !important;
    color: #ffffff !important;
}

/* إظهار محتوى السلة (لأنه كان مخفي في الأكواد السابقة) */
.s-cart-summary-content {
    display: flex !important; /* تفعيل العرض بجانب الأيقونة */
    align-items: center !important;
    margin-right: 8px !important;
}/* تحويل العنوان وكلمة السعر للأبيض */
h1.text-gray-800, 
.form-label b {
    color: #ffffff !important;
}
.s-breadcrumb-arrow svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}
/* تحويل زر المشاركة لأسود قزازي */
.s-social-share-btn button {
    background-color: rgba(15, 15, 15, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important; /* يحافظ على شكله الدائري */
    color: #ffffff !important;
}

/* لون الأيقونة داخل الزر */
.s-social-share-btn svg {
    fill: #ffffff !important;
}
/* تحويل زر القلب لأسود قزازي والقلب للأحمر */
.btn--wishlist.s-button-element {
    background-color: rgba(15, 15, 15, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
}

/* تلوين أيقونة القلب باللون الأحمر */
.btn--wishlist i.sicon-heart,
.btn--wishlist i.sicon-heart:before {
    color: #ff0000 !important;
    -webkit-text-fill-color: #ff0000 !important;
}

/* تأثير عند الضغط لإضافة لمسة تفاعلية */
.btn--wishlist:active {
    transform: scale(0.9) !important;
    background-color: rgba(255, 0, 0, 0.1) !important; /* ومضة حمراء خفيفة */
}
/* ===================================================
   QUANTITY INPUT - BLACK GLASS EDITION 🧪
=================================================== */

/* 1. الحاوية الرئيسية (البوكس كامل) */
.s-quantity-input-container {
    background: rgba(15, 15, 15, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(189, 195, 199, 0.2) !important; /* حد فضي خفيف جداً */
    border-radius: 12px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 2. الرقم (المدخل) في المنتصف */
.s-quantity-input-input {
    background: transparent !important;
    color: #ffffff !important; /* الرقم أبيض */
    border: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-align: center !important;
}

/* 3. أزرار الزائد والناقص */
.s-quantity-input-button {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #bdc3c7 !important; /* أيقونات فضية */
    border: none !important;
    transition: all 0.2s ease !important;
    width: 40px !important;
    height: 40px !important;
}

/* لون الأيقونات (SVG) داخل الأزرار */
.s-quantity-input-button svg {
    fill: #bdc3c7 !important;
    width: 14px !important;
}

/* تفاعل اللمس (للموبايل) */
.s-quantity-input-button:active {
    background: rgba(189, 195, 199, 0.2) !important;
    transform: scale(0.9) !important;
}
/* ===================================================
   REFINED BUY NOW - مرونة، قزاز، ونص أبيض 💎⚪
=================================================== */

/* 1. جعل حاوية الأزرار الرئيسية مرنة (Flex) لضمان التناسق */
.s-add-product-button-main {
    display: flex !important;
    gap: 10px !important; /* مسافة متناسقة بين الأزرار */
    align-items: center !important;
}

/* 2. تحويل خلفية الزر لأسود قزازي شفاف ونحيف */
.s-add-product-button-mini-checkout,
.s-add-product-button-main salla-button[color="primary"] .s-button-element {
    background: rgba(15, 15, 15, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important; /* حواف أنعم وأقل دائرية */
    height: 38px !important; /* ارتفاع رشيق ونحيف */
    flex: 1 !important; /* يخليه يأخذ مساحة مرنة ويتناسق */
    box-shadow: none !important;
}

/* 3. تنسيق النص داخل الزر (أبيض، نحيف، ومتناسق) */
.s-add-product-button-mini-checkout-content,
.s-add-product-button-mini-checkout-content span,
.s-add-product-button-main .s-button-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 500 !important; /* خط نحيف وراقي */
    font-size: 14px !important; /* حجم متناسق */
}

/* 4. تنسيق أيقونة الشنطة للأبيض */
.s-add-product-button-mini-checkout-content i,
.s-add-product-button-main .s-button-text i {
    color: #ffffff !important;
}
/* تحويل العنوان والسعر للأبيض */
.space-y-1 a, 
.space-y-1 p {
    color: #ffffff !important;
}
/* تحويل نص المجموع والسعر للأبيض */
.item-total, 
.text-primary, 
.sicon-sar {
    color: #ffffff !important;
}
/* تحويل عنوان المنتج في الكروت للأبيض */
.s-product-card-content-title a {
    color: #ffffff !important;
}
/* ===================================================
   FULL WIDTH BANNER - بانر ممتد بكامل الشاشة 🖼️
=================================================== */

/* 1. إلغاء قيود الحاوية وتوسيع البانر */
.s-block--fixed-banner .container {
    max-width: 100% !important;
    padding-left: -1 !important;
    padding-right: -1 !important;
    width: 100% !important;
}

/* 2. إزالة أي هوامش أو انحناءات قديمة للبانر */
.s-block--fixed-banner .banner--fixed {
    border-radius: 0 !important; /* خله حاد مع حواف الشاشة لشكل متصل */
    margin: 0 !important;
}

/* 3. التأكد من أن الصورة تملأ المساحة بالكامل */
.s-block--fixed-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important; /* عشان ما تمط الصورة ويخرب شكلها */
}
/* ===================================================
   FORCE REMOVE BANNER WHITE SPACE - كود الحسم 🧹
=================================================== */

/* 1. استهداف كلاس الـ Placeholder اللي مسبب البياض */
.s-block--fixed-banner.wide-placeholder,
.wide-placeholder {
    background-color: transparent !important;
    background-image: none !important; /* إزالة أي لون خلفية افتراضي */
}

/* 2. تصفير الحاوية container داخل هذا القسم */
.s-block--fixed-banner .container {
    background-color: transparent !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* 3. إجبار الرابط والصورة على التمدد وإلغاء أي فراغات */
.s-block--fixed-banner a.banner,
.s-block--fixed-banner img {
    background-color: transparent !important;
    display: block !important; /* يمنع الفراغ الصغير اللي يجي تحت الصور */
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
}

/* 4. إزالة أي "Padding" علوي أو سفلي للسكشن */
section.s-block--fixed-banner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* ===================================================
   PHOTOS SLIDER FULL WIDTH - البانر ممتد بالكامل
=================================================== */

/* 1. استهداف السكشن بالكامل وإلغاء قيود المساحة */
.s-block--photos-slider .container, 
.s-block--photos-slider .swiper {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 2. إلغاء أي هوامش أو "تنصيص" للصور */
.s-block--photos-slider .swiper-wrapper, 
.s-block--photos-slider .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 3. التأكد من أن الصورة تملأ المكان وتلغي الانحناء */
.s-block--photos-slider img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 0 !important; /* إلغاء الزوايا المنحنية عشان يمسك في حواف الشاشة */
    object-fit: cover !important; /* عشان ما تمط الصورة ويخرب شكلها */
}
/* ===================================================
   TOTAL WHITE REMOVAL - تنظيف المتجر من البياض 🧹
=================================================== */

/* 1. تصفير خلفية كل الأقسام (السكشنات) */
section.s-block, 
.s-block--fixed-banner, 
.s-block--photos-slider,
.s-block--full-banner,
.wide-placeholder,
.s-block--full-bg {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 2. تنظيف الحاويات الداخلية (Containers) */
.s-block .container, 
.container-fluid, 
.s-slider-container {
    background-color: transparent !important;
    background: transparent !important;
    max-width: 100% !important; /* عشان الصور تلمس الأطراف */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 3. حذف "الأرضية" الرمادية أو البيضاء تحت البانرات */
.banner, 
.banner--fixed, 
.full-banner-entry,
.swiper-slide {
    background-color: transparent !important;
    border: none !important;
}

/* 4. إلغاء أي انحناء للزوايا يظهر بياض خلفه */
.s-block img, 
.s-block--photos-slider img {
    border-radius: 0 !important;
}
/* ===================================================
   REMOVE PRODUCT CARD FROM THIS SECTION ONLY 🚫📦
=================================================== */

/* إخفاء كرت المنتج داخل قسم السلايدر ذو الخلفية فقط */
.s-block--slider-with-bg .s-products-slider-wrapper,
.s-block--slider-with-bg .s-products-slider-card,
.s-block--slider-with-bg custom-salla-product-card {
    display: none !important;
}

/* إخفاء حاوية السلايدر لضمان عدم وجود مساحة فارغة */
.s-block--slider-with-bg .container.-mt-62 {
    display: none !important;
}
/* تنسيق الكرت العائم */
.rakans-custom-card {
    position: absolute; /* مرتبط بالحاوية اللي بنحطه فيها */
    top: 20px;          /* تحكم في الارتفاع من هنا */
    left: 85%;         /* تحكم في مكانه يمين أو يسار من هنا */
    transform: translateX(-50%);
    width: 220px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 12px;
    text-decoration: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    z-index: 999;
    transition: 0.3s ease-in-out;
    display: block;
}

.rakans-custom-card:hover {
    transform: translateX(-50%) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.rakans-custom-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.rakans-card-body {
    text-align: center;
    color: #fff;
}

.rakans-card-body h4 {
    font-size: 14px;
    margin: 5px 0;
    font-weight: bold;
}

.rakans-card-body .price {
    color: #00ffcc;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.rakans-btn {
    background: #fff;
    color: #000;
    padding: 8px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 12px;
    display: block;
}

/* تنسيق خاص للجوال */
@media (max-width: 767px) {
    .rakans-custom-card {
        width: 150px;
        top: 207px; /* ينزل تحت النص عشان ما يغطيه */
        left: 75%;
    }
}/* ===================================================
   HEADER & BANNERS CLEANUP - تنظيف الهيدر والبنرات 
=================================================== */

/* 1. جعل الهيدر شفاف ونحيف ودمجه مع الخلفية */
header.header-wrapper {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px); /* تأثير قزازي */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* 2. تصغير شريط البحث عشان ما يزحم الصفحة */
.header-search {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.header-search input {
    border-radius: 50px !important; /* شكل دائري أنيق */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* 3. تنسيق البنرات العلوية وإزالة الفراغات المزعجة */
.s-block--photos-slider, 
.s-block--fixed-banner {
    margin-top: 0 !important; /* إلغاء الفراغ بين الهيدر وأول بنر */
    padding: 0 !important;
}

/* 4. إلغاء الحواف الحادة في البنرات (اختياري: لو تبيها زوايا ناعمة) */
.s-block--photos-slider img, 
.s-block--fixed-banner img {
    border-radius: 0 !important; /* يخليها تفرش الشاشة بالكامل وتتصل بالهيدر */
}

/* 5. إخفاء أي حدود بيضاء أو رمادية تظهر بين الأقسام */
#main-content, .main-content {
    background-color: #000 !important;
}
/* حاوية شريط التحكم العائمة - نسخة فضي كروم */
.floating-control-bar {
    position: absolute; 
    
    /* --- 🕹️ لوحة تحكم الموقع --- */
    top: 340px;      /* عدله لين يضبط تحت الكرت بالضبط */
    left: 82%;       
    /* -------------------------- */

    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.85) !important; /* خلفية سوداء عميقة */
    backdrop-filter: blur(12px);
    border: 1px solid #bdc3c7; /* لون فضي كروم */
    border-radius: 12px;
    padding: 8px 15px;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9), 0 0 8px rgba(189, 195, 199, 0.3);
}

/* تنسيق الكمية */
.qty-container {
    display: flex;
    align-items: center;
    gap: 5px; /* تقليل المسافة بين الزائد والناقص */
    color: #fff;
    border-left: 1px solid rgba(189, 195, 199, 0.3); 
    padding-left: 8px;
}

.qty-btn {
    background: none;
    border: none;
    color: #ecf0f1; 
    font-size: 14px; /* تصغير حجم أرقام الكمية */
    cursor: pointer;
    font-weight: bold;
}

/* أزرار الأكشن */
.action-btn {
    border-radius: 6px; /* حواف أنعم للصندوق الصغير */
    padding: 3px 8px; /* تصغير الحجم الداخلي للأزرار */
    font-size: 11px; /* خط أصغر وأرشق */
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s all ease;
}

/* زر أضف (شفاف بحدود فضية) */
.btn-add-outline {
    background: transparent;
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
}

.btn-add-outline:hover {
    background: rgba(189, 195, 199, 0.1);
    color: #fff;
}

/* زر شراء (فضي لامع بنص أسود) */
.btn-buy-silver {
    background: linear-gradient(145deg, #bdc3c7, #7f8c8d); 
    color: #000;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* تعديل الجوال (توسيع العرض ليتناسب مع الخط) */
@media (max-width: 740px) {
    .floating-control-bar {
        /* حافظنا على الموقع */
        top: 380px; 
        left: 28%; /* توسيط البوكس بالنسبة للشاشة */
        transform: translateX(-50%); /* لضمان التوسيط الدقيق */
        
        /* تعديل الحجم ليمتد مثل الخط */
        width: 53%; /* يجعل العرض يغطي أغلب مساحة الشاشة بالعرض */
        max-width: 320px; /* سقف محدد عشان ما يطلع شكل الشاشة غلط */
        padding: 8px 12px !important; /* مساحة داخلية متوازنة */
        gap: 12px !important; /* مسافة واضحة بين الكمية والأزرار */
        
        display: flex;
        justify-content: space-between; /* توزيع العناصر على طول البوكس */
        align-items: center;
    }
    
    .action-btn {
        flex: 1; /* يخلي الأزرار تتوزع بالتساوي وتأخذ مساحة أوسع */
        padding: 8px 5px !important;
        font-size: 12px !important;
        text-align: center;
    }

    .qty-container {
        flex: 0.8; /* مساحة مخصصة للكمية */
        justify-content: center;
    }

    .qty-btn {
        font-size: 16px !important;
        padding: 0 5px;
    }
}
/* ===== التنبيه الزجاجي الفاخر المتحرك ===== */
.sales-popup {
    position: fixed;
    bottom: 150px;         /* مكانه النهائي */
    right: -220px;        /* مخفي خارج الشاشة من اليمين */
    width: 170px;
    padding: 5px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.8px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;

    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999999;
    overflow: hidden;
}

/* اللمعة */
.sales-popup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.05) 100%
    );
    transform: rotate(45deg) translateX(-200%);
    animation: shine 2.5s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-200%); }
    50% { transform: rotate(45deg) translateX(200%); }
    100% { transform: rotate(45deg) translateX(-200%); }
}

/* عند الظهور */
.sales-popup.show {
    right: 12px;      /* يدخل من اليمين */
    opacity: 1;
}

/* الأيقونة */
.sales-icon-circle {
    position: relative;
    min-width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    overflow: hidden;
}

.sales-icon-circle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%);
    animation: icon-shine 1.8s infinite;
}

@keyframes icon-shine {
    0%,100% { transform: rotate(0deg) translateX(-150%) rotate(0deg);}
    50% { transform: rotate(360deg) translateX(150%) rotate(-360deg);}
}

/* النص */
.sales-info p#r-name {
    margin: 0;
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.sales-info p#r-prod {
    margin: 0;
    font-size: 9px;
    color: rgba(255,255,255,0.75);
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.sales-info span#r-time { display: none; }

/* الجوال */
@media (max-width: 740px) {
    .sales-popup {
        width: 160px;
        right: -200px;
        bottom: 120px;
        padding: 4px 8px;
    }

    .sales-popup.show {
        right: 10px;
    }

    .sales-icon-circle {
        min-width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .sales-info p#r-name { font-size: 10px; }
    .sales-info p#r-prod { font-size: 8px; }
}

/* خلفية (اختياري) */
body { background: #111; }
.calc-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 0.3px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    direction: rtl;
    color: #fff;
    width: 100%;
}
.calc-title { font-size: 11px; font-weight: bold; margin-bottom: 8px; color: #fff; text-align: right; }
.calc-q { font-size: 9px; margin-bottom: 4px; color: #ccc; text-align: right; }
.calc-select {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 0.3px solid #666;
    color: #fff;
    border-radius: 5px;
    padding: 5px;
    font-size: 10px;
    margin-bottom: 8px;
}
.calc-btn {
    background: linear-gradient(135deg, #ffffff, #a1a1a1);
    color: #000;
    border: none;
    padding: 6px;
    border-radius: 5px;
    width: 100%;
    font-weight: bold;
    font-size: 10px;
    cursor: pointer;
}
.calc-result {
    display: none;
    margin-top: 8px;
    padding: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 9px;
    line-height: 1.4;
    border-right: 2px solid #00ff00;
    text-align: right;
}
/* 1. تدوير الصندوق الخارجي وقص الحواف الحادة */
.product-single .product__description {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    
    /* الزوايا الدائرية - زدتها لـ 20 عشان تبان النعومة */
    border-radius: 20px !important; 
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    
    /* أهم سطر لمنع الزوايا الحادة الداخلية من البروز */
    overflow: hidden !important; 
    
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    margin: 20px 0 !important;
}

/* 3. تنعيم حواف الحاسبة اللي داخل الصندوق */
.calc-container {
    border-radius: 15px !important;
    border: 0.5px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

.heat-alert-box {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.heat-icon {
    font-size: 18px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.heat-text {
    font-size: 11px;
    color: #eee;
    font-weight: bold;
}
/* تنسيق النصوص داخل البطاقة */
.s-trust-badges-label {
    color: #999 !important; /* رمادي هادئ */
    font-size: 11px !important;
    margin-bottom: 2px !important;
}

.s-trust-badges-number {
    color: #fff !important; /* الرقم باللون الأبيض الواضح */
    font-size: 13px !important;
    font-family: 'Courier New', Courier, monospace; /* خط يشبه الأرقام الرسمية */
    letter-spacing: 1px;
}
/* حركة الاهتزاز الناعم */
@keyframes soft-shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(1deg); }
  50% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}

/* تطبيقها على زر الشراء السريع */
salla-button[quick-buy], 
salla-quick-buy {
    /* الحركة تشتغل لمدة ثانية وتكرر نفسها كل 4 ثواني */
    animation: soft-shake 0.8s infinite alternate ease-in-out !important;
    animation-delay: 5s;
    display: inline-block !important;
}

/* تفاعل اللمس للجوال: يثبت الزر عند الضغط */
salla-button:active {
    transform: scale(0.96) !important;
    animation: none !important; /* يوقف الاهتزاز وقت الضغط */
}
/* تنسيق صندوق التنبيه اللي زرعناه بالجافا سكربت */
.heat-alert-box-js {
    background: rgba(255, 77, 77, 0.1) !important;
    border: 1px solid #ff4d4d !important;
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
    color: #fff;
    font-weight: bold;
    animation: pulse-red-js 2s infinite;
}

@keyframes pulse-red-js {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.heat-icon { font-size: 20px; }
.heat-text { font-size: 13px; }
/* تأثير التكبير عند الضغط على العنوان */
.clickable-title:active {
    transform: scale(1.1); /* يكبر بنسبة 10% */
    filter: brightness(1.3); /* يعطي لمعة خفيفة */
}
/* الكرت العائم - لوحة تحكم راكان 🕹️ */
.rakans-organizer-card {
    position: absolute; 
    
    /* --- 🕹️ غير الأرقام من هنا لتحريك الكرت --- */
    top: 100px;      /* كل ما زدت الرقم نزل الكرت لتحت */
    right: 15%;     /* كل ما زدت الرقم راح الكرت لليسار */
    /* -------------------------------------- */

    width: 200px;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    padding: 12px;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    text-decoration: none !important;
    transition: all 0.4s ease;
}

/* حركة العوام (Floating) تخليه يسبح فوق البانر */
.floating-effect {
    animation: floatAnim 3s ease-in-out infinite;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); } /* مقدار الارتفاع */
    100% { transform: translateY(0px); }
}

/* ضبط الجوال - تحكم مستقل تماماً */
@media (max-width: 767px) {
    .rakans-organizer-card {
        width: 140px;
        top: 1110px;   /* ارتفاعه في الجوال */
        right: 60%;    /* مكانه من اليمين في الجوال */
        animation: none; /* نوقف الحركة في الجوال للثبات */
    }
}
.floating-control-bar-organizer {
    position: absolute;
    /* --- 🕹️ لوحة التحكم في الموقع --- */
    top: 380px;           /* الارتفاع عن أعلى البانر */
    left: 50%;            /* توسيط في منتصف الشاشة */
    transform: translateX(-50%); /* موازنة دقيقة للمنتصف */
    
    /* --- 📏 التحكم في الحجم --- */
    width: 92%;           /* يأخذ أغلب عرض الشاشة */
    max-width: 1100px;    /* حد أقصى عشان ما يتمدد بزيادة في الشاشات الكبيرة */
    /* -------------------------- */

    display: flex;
    justify-content: space-between; /* توزيع العناصر (كمية، أضف، شراء) على كامل الشريط */
    align-items: center;
    gap: 15px;
    
    background: rgba(15, 15, 15, 0.88) !important; /* أسود أعمق */
    backdrop-filter: blur(15px);
    border: 1px solid #bdc3c7; 
    border-radius: 15px; /* حواف أنعم */
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* جعل الأزرار مرنة لتملأ المساحة */
.floating-control-bar-organizer .action-btn {
    flex: 1; 
    padding: 12px 5px;
    font-size: 13px;
    text-align: center;
}

/* --- 📱 تعديل الجوال ليكون كامل العرض بالملي --- */
@media (max-width: 740px) {
    .floating-control-bar-organizer {
        top: 1400px;       /* ارفعه أو انزله في الجوال من هنا */
        width: 95%;       /* عرض كامل تقريباً في الجوال */
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 12px !important;
        gap: 10px !important;
        max-width: 100%;  /* إلغاء الحد الأقصى في الجوال */
    }
    
    .floating-control-bar-organizer .action-btn {
        font-size: 12px !important;
        padding: 10px 5px !important;
    }
/* كود لإخفاء الحاسبة في صفحة الفراغ الذكي فقط */
.product-104854523 #calculater-section-id { 
    display: none !important; 
}
  /* تنسيق رابط العنوان */
.section-title-organizer {
    position: absolute;
    z-index: 10;
    width: auto;
    text-align: right;
    text-decoration: none !important; /* إزالة خط الرابط */
    display: block;

    /* --- 🕹️ لوحة التحكم (حرك العنوان من هنا) --- */
    top: 60px;      /* الارتفاع */
    right: 5%;     /* البعد عن اليمين */
    /* -------------------------------------- */
}

/* تأثير الأنيميشن عند ظهور الصفحة */
.animated-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards ease-out;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title-organizer h2 {
    color: #ffffff;
    font-size: clamp(22px, 5vw, 34px); /* حجم خط مرن */
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.section-title-organizer p {
    color: #bdc3c7;
    font-size: clamp(14px, 3vw, 18px);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* تأثير عند الحوم (Hover) */
.section-title-organizer:hover h2 {
    color: #bdc3c7; /* يتغير اللون للفضي عند التأشير */
    transition: 0.3s;
}

/* ضبط الجوال */
@media (max-width: 767px) {
    .section-title-organizer {
        top: 1000px;
        right: 0;
        left: 0;
        text-align: center; /* توسيط النص في الجوال */
        width: 100%;
    }
}
  /* ===================================================
   EMERGENCY FOOTER FIX - إظهار السياسات غصب 🛡️
=================================================== */

/* 1. إجبار الفوتر على الظهور بخلفية سوداء ونص أبيض */
.store-footer, 
.store-footer__inner, 
.store-footer .container {
    background-color: #0a0a0a !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
  /* ===================================================
   RAKAN STORE PREMIUM FOOTER - تنسيق الفوتر الملكي 🏁
=================================================== */

/* 1. القاعدة الأساسية (خلفية سوداء عميقة بحدود فضية) */
footer.store-footer {
    background-color: #080808 !important; 
    border-top: 1px solid rgba(189, 195, 199, 0.2) !important; /* حد فضي نحيف */
    padding-top: 60px !important;
    padding-bottom: 20px !important;
}

/* 2. تنسيق عناوين القوائم (السياسات، روابط هامة) */
footer.store-footer h3, 
footer.store-footer h4,
footer.store-footer .footer-title {
    color: #bdc3c7 !important; /* لون فضي كروم */
    font-size: 17px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    position: relative;
    display: block !important;
}

/* إضافة خط صغير تحت العنوان لزيادة الفخامة */
footer.store-footer h3::after, 
footer.store-footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 2px;
    background: #bdc3c7;
}

/* 3. تنسيق الروابط (السياسات والحساب) */
footer.store-footer a {
    color: #eeeeee !important; 
    font-size: 14px !important;
    margin-bottom: 12px !important;
    display: block !important;
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* تأثير عند تمرير الماوس على الروابط */
footer.store-footer a:hover {
    color: #ffffff !important;
    opacity: 1;
    transform: translateX(-5px); /* حركة بسيطة لليمين عند التأشير */
}

/* 4. تنسيق أيقونات التواصل الاجتماعي */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-links a {
    background: rgba(255, 255, 255, 0.05);
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(189, 195, 199, 0.2);
}

/* 5. أيقونات الدفع (مدى، فيزا) - نلمعها شوي */
.payment-methods {
    filter: grayscale(1) brightness(1.5) !important; /* توحيد الألوان للفضي والأبيض */
    opacity: 0.7;
    margin-top: 30px;
}

/* 6. حقوق الطبع والنشر (السطر الأخير) */
.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px !important;
    color: #666 !important;
}

/* ضبط المسافات في الجوال */
@media (max-width: 767px) {
    footer.store-footer {
        text-align: center !important;
        padding-top: 40px !important;
    }
    footer.store-footer h3::after, 
    footer.store-footer h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    footer.store-footer a:hover {
        transform: none;
    }
}
/* ===================================================
   FREELANCE BADGE - تنسيق وثيقة العمل الحر الملكية 🛡️
=================================================== */

/* 1. الحاوية الخارجية (توسيط وتنسيق المسافات) */
.flex.gap-4 {
    justify-content: center !important; /* توسيط البطاقة في الفوتر */
    margin: 25px 0 !important;
}

/* 2. جسم البطاقة (زجاجي مدخن) */
salla-trust-badges.s-trust-badges-wrapper.dark {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(189, 195, 199, 0.2) !important; /* حد فضي نحيف */
    border-radius: 16px !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

/* تأثير التوهج عند مرور الماوس */
salla-trust-badges.s-trust-badges-wrapper.dark:hover {
    border-color: #bdc3c7 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(189, 195, 199, 0.1) !important;
}

/* 3. تنسيق صورة الشعار */
.s-trust-badges-image {
    width: 45px !important; /* حجم متناسق */
    height: auto !important;
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 5px rgba(255,255,255,0.2)) !important;
}

/* 4. تنسيق النصوص داخل البطاقة */
.s-trust-badges-label {
    color: #bdc3c7 !important; /* فضي هادئ */
    font-size: 11px !important;
    margin-bottom: 2px !important;
    font-weight: normal !important;
    letter-spacing: 0.5px;
}

.s-trust-badges-number {
    color: #ffffff !important; /* الرقم أبيض صريح */
    font-size: 14px !important;
    font-family: 'monospace' !important; /* يعطي طابع رسمي للأرقام */
    letter-spacing: 1px;
    display: block !important;
}

/* ضبط الجوال */
@media (max-width: 767px) {
    salla-trust-badges.s-trust-badges-wrapper.dark {
        padding: 10px 15px !important;
        width: fit-content;
    }
    .s-trust-badges-number {
        font-size: 12px !important;
    }
}
 /* ===================================================
   MOVING GALAXY - المجرة المتحركة واللامعة 🌌✨
=================================================== */

footer.store-footer {
    position: relative !important;
    background-color: #050505 !important;
    
    /* توزيع النجوم */
    background-image: 
        radial-gradient(1.2px 1.2px at 5% 15%, #ffffff, transparent),
        radial-gradient(1px 1px at 15% 35%, #bdc3c7, transparent),
        radial-gradient(1.5px 1.5px at 25% 10%, #ffffff, transparent),
        radial-gradient(1px 1px at 35% 45%, #ffffff, transparent),
        radial-gradient(1.3px 1.3px at 45% 20%, #bdc3c7, transparent),
        radial-gradient(1px 1px at 55% 55%, #ffffff, transparent),
        radial-gradient(1.8px 1.8px at 65% 15%, #ffffff, transparent),
        radial-gradient(1px 1px at 75% 40%, #bdc3c7, transparent),
        radial-gradient(1.2px 1.2px at 85% 25%, #ffffff, transparent),
        radial-gradient(1px 1px at 95% 50%, #ffffff, transparent),
        radial-gradient(1.5px 1.5px at 10% 70%, #bdc3c7, transparent),
        radial-gradient(1px 1px at 20% 90%, #ffffff, transparent),
        radial-gradient(1.3px 1.3px at 30% 65%, #ffffff, transparent),
        radial-gradient(1.6px 1.6px at 50% 75%, #ffffff, transparent),
        radial-gradient(1.4px 1.4px at 70% 60%, #bdc3c7, transparent),
        radial-gradient(1.2px 1.2px at 90% 70%, #ffffff, transparent) !important;

    /* جعل الخلفية أكبر للسماح بالحركة */
    background-size: 110% 110% !important; 
    
    /* ربط حركة العوم واللمعان */
    animation: galaxyMotion 7s infinite ease-in-out !important;
}

/* انيميشن يجمع بين الحركة (العوم) وتغير الإضاءة (اللمعان) */
@keyframes galaxyMotion {
    0%, 100% { 
        background-position: 0% 0%; 
        opacity: 0; /* لمعان هادئ */
    }
    50% { 
        background-position: 15% 15%; 
        opacity: 1;   /* النجوم تقوى وترجع بدون ما تأثر على الأيقونات */
    }
}

/* رفع المحتوى لضمان الوضوح */
.store-footer__inner {
    position: relative !important;
    z-index: 5 !important;
}
/* تنظيف الحاويات عشان النجوم تبان من وراها */
.store-footer__inner, .store-footer .container {
    background: transparent !important;
}
  /* حركة بطيئة جداً تعطي إحساس بالعمق */
@keyframes galaxySlowMove {
    0% { background-position: 0% 0%; }
    50% { background-position: 2% 2%; }
    100% { background-position: 0% 0%; }
}
 /* ===================================================
   RAKAN LUXURY PRODUCT CARD - BLACK & SILVER 🖤🤍
=================================================== */

.s-product-card-entry {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.01)
    ) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.05) !important;
    transition: all .35s ease !important;
}

/* Hover */
.s-product-card-entry:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255,255,255,0.45) !important;
    box-shadow: 
        0 18px 40px rgba(0,0,0,0.75),
        0 0 25px rgba(255,255,255,0.15) !important;
}

/* Image */
.s-product-card-image {
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
}

.s-product-card-image img {
    width: 110% !important;
    height: 110% !important;
    object-fit: cover !important;
    transition: transform .5s ease !important;
}

.s-product-card-entry:hover .s-product-card-image img {
    transform: scale(1.06) !important;
}

/* Title */
.s-product-card-content-title a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: .3px;
}

/* Price */
.s-product-card-price {
    color: #e5e5e5 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
}

/* Button */
.s-button-element {
    background: linear-gradient(145deg,#0c0c0c,#000) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    transition: .3s !important;
}

.s-button-element:hover {
    background: #ffffff !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(255,255,255,.5) !important;
}

/* Wishlist */
.s-product-card-wishlist-btn {
    background: rgba(0,0,0,0.65) !important;
    backdrop-filter: blur(6px) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}
  /* ===================================================
   RAKAN GLASS TOAST - تنسيق إشعار السلة الزجاجي 🛒✨
=================================================== */

/* 1. الحاوية الرئيسية للإشعار */
.s-add-product-toast {
    background: rgba(15, 15, 15, 0.7) !important; /* خلفية داكنة شفافة */
    backdrop-filter: blur(15px) saturate(180%) !important; /* تضبيب زجاجي قوي */
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid rgba(189, 195, 199, 0.3) !important; /* إطار فضي نحيف */
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
}

/* 2. شريط التقدم (الخط اللي يمشي فوق) */
.s-add-product-toast__progress {
    background-color: #bdc3c7 !important; /* لونه فضي يطقم مع الهوية */
    height: 3px !important;
}

/* 4. جعل صورة المنتج داخل الإشعار دائرية وفخمة */
.s-add-product-toast__image img {
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 5. تنسيق الأزرار داخل الإشعار (إذا وجدت) */
.s-add-product-toast .s-button-element {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    color: #fff !important;
    border-radius: 50px !important;
}
.s-add-product-toast__name {
  color: #ffffff !important;
}
 /* عنوان التوست */
.s-add-product-toast__title {
    color: #ffffff !important;
}

/* السعر */
.s-add-product-toast__price,
.s-add-product-toast__price * {
    color: #ffffff !important;
}

/* رمز الريال */
.s-add-product-toast__price i,
.sicon-sar {
    color: #ffffff !important;
}
/* ===================================================
   ULTIMATE EMOJI FIX - حل نهائي لألوان الإيموجي 🚫📱
=================================================== */

.product__description strong:first-of-type {
    display: block !important;
    font-size: 1.4rem !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #ffffff !important; /* لون أبيض أساسي يضمن ظهور الإيموجي */
    background: none !important; /* إلغاء التدرج عن السطر كامل */
    -webkit-text-fill-color: initial !important; /* إرجاع الألوان الأصلية */
    text-shadow: 0px 0px 10px rgba(189, 195, 199, 0.3) !important; /* لمعة خفيفة حول الكل */
}

/* إذا كنت تبي "الكلام" بس يلمع فضي، سلة تحتاج كود معقد، 
   فالأفضل والأنظف لمتجرك حالياً هو هذا الكود عشان الإيموجي يرجع أحمر واضح 🚫 */

/* 2. تنسيق العنوان الرئيسي (أول سطر) */
.product__description strong:first-of-type {
    display: block !important;
    font-size: 1.5rem !important;
    text-align: center !important;
    background: linear-gradient(90deg, #fff, #bdc3c7, #fff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 20px !important;
    animation: silverGlow 3s infinite linear !important;
}

/* 3. تنسيق العناوين الفرعية (وش يسوي لك بالضبط؟ / ليه الناس تحبه؟) */
.product__description p strong {
    color: #bdc3c7 !important;
    font-size: 1.2rem !important;
    border-right: 4px solid #bdc3c7 !important; /* خط جانبي فخم */
    padding-right: 15px !important;
    margin: 25px 0 15px 0 !important;
    display: inline-block !important;
}

/* 4. تنسيق نقاط المميزات (✔) لتبدو كبطاقات زجاجية */
.product__description p:contains("✔") {
    background: rgba(189, 195, 199, 0.05) !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    border-right: 2px solid rgba(189, 195, 199, 0.2) !important;
}

/* 5. تنسيق الخاتمة (ركّبه مرة وتنسى...) */
.product__description p:last-child {
    text-align: center !important;
    font-style: italic !important;
    color: #ffffff !important;
    background: rgba(189, 195, 199, 0.1) !important;
    padding: 15px !important;
    border-radius: 15px !important;
    margin-top: 30px !important;
}

/* انيميشن اللمعة الفضية للعنوان */
@keyframes silverGlow {
    0% { background-position: -200%; }
    100% { background-position: 200%; }
}
/* ===================================================
   THE ULTIMATE SPACE DESCRIPTION - التنسيق النهائي ✨
=================================================== */

.product__description {
    position: relative !important;
    overflow: hidden !important;
    background: #0a0a0a !important; /* لون الفضاء العميق */
    padding: 30px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(189, 195, 199, 0.1) !important;
    z-index: 1;
}

/* طبقة النجوم والسديم (تتحكم بالخلفية فقط) */
.product__description::before {
    content: "" !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0 !important;
    
    /* دمج النجوم (كودك) مع لمسة سديم (غمام فضي) */
    background-image: 
        radial-gradient(circle at 20% 30%, #bdc3c7 0.5px, transparent 1px),
        radial-gradient(circle at 70% 60%, #bdc3c7 0.8px, transparent 1px),
        radial-gradient(circle, rgba(189, 195, 199, 0.05) 0%, transparent 70%) !important;
        
    background-size: 60px 60px, 100px 100px, 100% 100% !important;
    opacity: 0.4 !important; /* هنا الشفافية للخلفية فقط */
    z-index: -1 !important; /* تأكد أنها خلف النص */
    animation: spaceFloat 20s infinite linear !important;
}

/* حركة خفيفة جداً تحسس العميل أن المتجر "حي" */
@keyframes spaceFloat {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* نصيحة: خل الخط أبيض صريح عشان يبرز فوق سواد الفضاء */
.product__description p, .product__description span {
    color: #ffffff !important;
    position: relative !important;
    z-index: 2 !important;
}
  -webkit-text-stroke: 0.1px rgba(255,255,255,0.1); /* لمعة خفيفة تحمي /* تنسيق الدرع في الصفحة */
.royal-shield-wrapper {
    position: fixed; /* يطير فوق الصفحة */
    bottom: 100px; /* تحكم بالمكان: الارتفاع من تحت */
    right: 20px;   /* تحكم بالمكان: البعد عن اليمين */
    z-index: 999;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.shield-icon {
    font-size: 60px;
    filter: drop-shadow(0 0 15px rgba(252, 205, 77, 0.6));
    animation: pulseGold 2s infinite;
}

.shield-label {
    color: #fccd4d;
    font-weight: bold;
    display: block;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* تنسيق النافذة القزازية */
.shield-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(15px); /* تأثير قزازي فخم */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.shield-modal-overlay.is-active { display: flex; }

.shield-modal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(252, 205, 77, 0.3);
    padding: 40px;
    border-radius: 30px;
    max-width: 400px;
    text-align: center;
    color: #fff;
    position: relative;
}

.modal-action-btn {
    background: #fccd4d !important;
    color: #000 !important;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
}

@keyframes pulseGold {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* ===================================================
   HOME SHIELD STYLING - تنسيق درع الصفحة الرئيسية 👑
=================================================== */

/* مكان الدرع فوق السلايدر */
.custom-home-shield {
    position: absolute !important;
    bottom: 20px !important; /* رفعه من الأسفل */
    right: 70% !important;   /* بعده عن اليمين */
    z-index: 100 !important;
    cursor: pointer;
    text-align: center;
}

.shield-gold-icon {
    font-size: 50px !important;
    filter: drop-shadow(0 0 20px rgba(252, 205, 77, 0.7));
    animation: goldBounce 3s infinite ease-in-out;
}

.shield-gold-title {
    color: #fccd4d !important;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    display: block;
}

/* النافذة القزازية */
.shield-glass-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.shield-glass-overlay.active { display: flex !important; }

.shield-glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(252, 205, 77, 0.3) !important;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    color: #fff;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.shield-card-btn {
    background: #fccd4d !important;
    color: #000 !important;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

/* انيميشن نبض الدرع */
@keyframes goldBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
 /* ===================================================
   SHIELD POSITION CONTROL - لوحة التحكم في موقع الدرع 🛠️
=================================================== */

.adjustable-title-shield {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    cursor: pointer !important;
    
    /* 👇 --- غير الأرقام هنا للتحكم بالمكان "على كيفك" --- */
    right: 10px;    /* تحريك لليمين أو اليسار (استخدم أرقام سالبة للعكس) */
    top: 1px;      /* تحريك لفوق أو تحت (مثلاً 5px ينزله تحت) */
    margin-right: 15px; /* المسافة الفاصلة عن نص العنوان */
    /* -------------------------------------------------- */

    background: rgba(252, 205, 77, 0.1) !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    border: 0.5px solid rgba(252, 205, 77, 0.4) !important;
    transition: 0.3s ease;
}

.adjustable-title-shield:hover {
    transform: scale(1.1) !important;
    background: rgba(252, 205, 77, 0.2) !important;
}

.shield-icon {
    font-size: 18px !important;
    margin-left: 5px !important;
}

.shield-label {
    font-size: 11px !important;
    color: #fccd4d !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

/* لجعل العنوان والدرع في سطر واحد دائماً */
h1.text-xl.md\:text-2xl {
    display: block !important;
    line-height: 1.5 !important;
}
 /* ===================================================
   MOBILE MENU WHITE THEME - تحويل نصوص الجوال للأبيض ⚪
=================================================== */

/* استهداف الروابط والنصوص داخل قائمة الجوال */
.mobile-menu .main-menu li a, 
.mobile-menu .main-menu li span,
.mm-spn.mm-spn--navbar::before, 
.mm-spn.mm-spn--navbar::after {
    color: #ffffff !important; /* تحويل النص للأبيض */
    -webkit-text-fill-color: #ffffff !important; /* ضمان اللون في متصفحات آيفون */
    opacity: 1 !important; /* إلغاء البهتان */
}

/* استهداف العنوان الرئيسي "القائمة الرئيسية" */
.mm-spn--navbar::before {
    color: #ffffff !important;
}

/* استهداف العنصر المحدد بالـ ID اللي فيه النقطة */
#937378924 a, #937378924 span {
    color: #ffffff !important;
}
  /* ===================================================
   CRYSTAL PREMIUM STYLE - تنسيق الكريستال الفخم 💎
=================================================== */

.shield-glass-card {
    background: rgba(15, 15, 15, 0.9) !important; /* خلفية داكنة فخمة */
    backdrop-filter: blur(25px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(160%) !important;
    border: 1px solid rgba(252, 205, 77, 0.3) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(252, 205, 77, 0.1) !important;
    padding: 35px 25px !important;
    border-radius: 30px !important;
    position: relative;
    overflow: hidden;
}

/* تأثير لمعة ذهبية متحركة على طرف النافذة */
.shield-glass-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(252, 205, 77, 0.1), transparent 30%);
    animation: rotateGold 10s linear infinite;
    pointer-events: none;
}

@keyframes rotateGold {
    100% { transform: rotate(360deg); }
}

.shield-card-h {
    font-size: 1.6rem !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    margin-bottom: 5px !important;
}

.shield-card-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(252, 205, 77, 0.4) !important;
}
  /* ===================================================
   SILVER CHROME SELECTOR - إطار فضي عصري 🥈✨
=================================================== */

.flex.items-center.space-x-2 select, 
.flex.items-center.space-x-2 .custom-select,
.flex.items-center.space-x-2 div[class*="bg-white"] {
    background: rgba(255, 255, 255, 0.05) !important; /* خلفية قزازية داكنة */
    backdrop-filter: blur(12px) !important;
    
    /* 👇 --- الإطار الفضي الكروم --- */
    border: 1.5px solid #C0C0C0 !important; 
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.2) !important;
    
    color: #ffffff !important; 
    border-radius: 10px !important;
    padding: 6px 15px !important;
    outline: none !important;
}

/* تحويل السهم الصغير للون الفضي اللامع */
.flex.items-center.space-x-2 svg {
    color: #E5E4E2 !important; /* لون فضي بلاتيني */
}

/* إلغاء أي بقايا للبياض القديم في الحواف */
.flex.items-center.space-x-2 {
    background: transparent !important;
    border: none !important;
}
/* تصغير السعر ورفعه في نفس الوقت */
.gap-4.flex p.font-bold.text-xl {
    font-size: 9px !important;    /* كلما صغر الرقم (مثلاً 14px) صغر حجم السعر */
    position: relative !important;
    top: -100px !important;         /* للتحكم في الارتفاع للأعلى */
    display: inline-block !important;
}

/* لتصغير أيقونة العملة (ريال) لتناسب حجم السعر الجديد */
.gap-4.flex i.sicon-sar {
    font-size: 9px !important;    /* تصغير علامة الـ SAR */
    vertical-align: baseline !important;
}
/* ريموت التحكم بويدجت تمارا فقط مع خاصية الطبقات */
.gap-4.flex salla-installment {
    display: flex !important;
    justify-content: center !important; /* التوسط: center للوسط، flex-start لليمين، flex-end لليسار */
    
    /* خاصية الطبقات: تضمن ظهوره كأعلى طبقة في المتجر */
    z-index: 999999 !important;

    /* 1. التحكم في الحجم (نفس أرقامك) */
    transform: scale(1.05) !important; 
    
    /* 2. التحكم في الارتفاع (نفس أرقامك) */
    position: relative !important;
    top: -1px !important; 
    
    /* 3. التحكم في الإزاحة يمين أو يسار (نفس أرقامك) */
    left: 19px !important; 
    
    /* إضافات لضمان عدم تداخل العناصر */
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}
/* إخفاء صور المصغرات (Thumbs) تحت السلايدر */
.swiper.s-slider-thumbs-container {
    display: none !important;
}