/* ========= Smoky AI — Flat Gold Icons ========= */
:root{
  --gold:#D4AF37;          /* الذهبي الفاخر */
  --gold-light:#E6C675;    /* درجة ثانية للتدرّج */
  --gold-dark:#B08A27;
  --black:#000;
}
.owl-theme .owl-nav{
    justify-self: center !important;
}
.feather, .feather.icon:before{
      font-size: 23px;
}
.panel--search .panel__close i {
    color: gold !important;
}


/* الغلاف العام */
.sai-flat{
  padding:80px 20px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  background:transparent;   /* بلا خلفية */
}

/* عنوان وتاغلاين */
.sai-title{
  font:800 56px "Tajawal",sans-serif;
  margin:0 0 12px;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold-light));
  -webkit-background-clip:text;
  color:transparent;
}
.sai-tag{
  font:500 22px "Noto Kufi Arabic",sans-serif;
  color:var(--black);
  margin-bottom:48px;
  line-height:1.5;
}

/* صف الميزات */
.sai-row{
  display:flex;
  gap:40px;
  justify-content:center;
  overflow-x:auto;         /* يحافظ على صف واحد بالموبايل */
  scrollbar-width:none;    /* Firefox */
}
.sai-row::-webkit-scrollbar{display:none;} /* Chrome */

/* كل ميزة */
.sai-feature{
  flex:0 0 240px;          /* عرض ثابت حتى يبقى صف واحد */
}

/* الدائرة الذهبية */
.sai-circle{
  width:140px;
  height:140px;
  margin:0 auto 20px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold-dark) 0%, var(--gold-light) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  transition:box-shadow .25s;
}
.sai-circle:hover{
  box-shadow:0 0 12px 4px rgba(207,168,6,.6); /* توهج عند المرور */
}
.sai-circle i{
  font-size:56px;
  color:var(--black);
}

/* تسمية الميزة */
.sai-label{
  font:500 20px "Tajawal",sans-serif;
  color:var(--black);
  line-height:1.4;
}

/* زر CTA */
.sai-btn{
  margin:50px auto 0;
  padding:18px 60px;
  font:700 20px "Tajawal",sans-serif;
  color:var(--black);
  background:linear-gradient(135deg,var(--gold-light),var(--gold-dark));
  border-radius:50px;
  text-decoration:none;
  transition:transform .3s;
}
.sai-btn:hover{ transform:translateY(-6px); }

/* ===== تحجيم للموبايل بدون فقدان صف واحد ===== */
@media(max-width:480px){
  .sai-title{font-size:40px;}
  .sai-tag{font-size:18px;}
  .sai-feature{flex:0 0 180px;}
  .sai-circle{width:110px;height:110px;}
  .sai-circle i{font-size:40px;}
  .sai-label{font-size:16px;}
  .sai-btn{font-size:18px;padding:16px 40px;}
}





/* ---------- متغيّرات الوضع الفاتح ---------- */
:root{
  --color-success:  #000000;
  --color-info:     #96ed89;
  --color-warning:  #faa806;
  --color-danger:   #db1d2c;

  --color-border:   #e4e4e4;
  --color-text:     #707070;
  --color-heading:  #282828;
  --color-contrast: #ffffff;   /* خلفيات صناديق */
  --color-dark:     #8a8a8a; 
   --footer-bg: #f8f9fa;   /* نص ثانوي */
 
  --breadcrumb-bg: #f6f6f8;   /* رمادي فاتح */
  --filter-bg: #ffffff;   /* الوضع الفاتح */
  --color-border: #ededed;   /* فاتح */

}

/* ---------- متغيّرات الوضع الليلي ---------- */
.dark{
  --color-success:  #ffffff;
  --color-info:     #8ef37d;
  --color-warning:  #ffb623;
  --color-danger:   #ff4a5a;

  --color-border:   #333333;
  --color-text:     #d1d1d1;
  --color-heading:  #ffffff;
  --color-contrast: #0d0d0d;
  --color-dark:     #aaaaaa;
  --footer-bg: #1c1a1a; 
   --breadcrumb-bg: #0d0d0d;/* ← اللون اللي طلبته */
    --filter-bg: #1c1a1a;   /* الوضع الداكن – غيّره إذا تبي أغمق */
  --color-border: #474747;   

}

.breadcrumb-wrapper{
  background: var(--breadcrumb-bg) !important;
  padding: 15px;
}

.text-success{
  color: var(--color-warning) !important;   /* يشتغل لايت & دارك */
}
/* تطبيق الخلفية على الفوتر */
.footer{
  background: var(--footer-bg) !important;
  padding: 45px 0;
}
/* ---------- تطبيق سريع على عناصر عامة ---------- */
body{background:var(--color-contrast); color:var(--color-text);}
a{color:var(--color-success);}
h1,h2,h3,h4,h5,h6{color:var(--color-heading);}

/* ---------- هيدر وفوتر يتبعان الثيم ---------- */
.top-header,
.site-footer{
  background:var(--color-contrast) !important;
  color:var(--color-text) !important;
}
.top-header a,
.site-footer a{color:var(--color-text) !important;}




/* 1️⃣ صندوق الفلترة */
.bb-product-filter{
  background: var(--filter-bg);   /* ← استعمل المتغيّر */
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 8px;             /* لمسة جمال اختيارية */
}

/* 2️⃣ نصوص داخل الفلتر (وأي ) */
.bb-product-filter,
.bb-product-filter p span{
  color: var(--color-text);       /* نص يتبدّل مع الثيم */
}


.panel--sidebar{
  background: var(--color-contrast) !important;
  /* ممكن تضيف: color: var(--color-text); لو النص ما ينعكس */
}


.menu--mobile > li{
  border-bottom: 1px dashed var(--color-border) !important;
}


  /* سويتش أنيق */
.theme-switch{width:60px;height:30px;border-radius:999px;background:#fef4c3;
 display:inline-flex;align-items:center;padding:3px;cursor:pointer;transition:.3s}
.theme-switch__knob{width:24px;height:24px;border-radius:50%;background:#f2c230;
 display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;
 transition:.3s}
.theme-switch.active{background:#2b2b2b;}
.theme-switch.active .theme-switch__knob{transform:translateX(30px);background:#4b5563;}

.navigation__right .theme-switch{margin-inline-end:12px;}
@media(min-width:768px){.theme-switch.desktop{display:inline-flex}
                        .theme-switch.mobile{display:none}}
@media(max-width:767.98px){.theme-switch.desktop{display:none}
                           .theme-switch.mobile{display:inline-flex}}

.header .navigation,
.header--mobile,
.navigation--mobile {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transition: background 0.3s, backdrop-filter 0.3s;
}

/* إلغاء أي خط أو بوردر تحت الهيدر بالموبايل */
.header--mobile, .navigation--mobile {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* في بعض الثيمات يضيفون بوردر للناف */
.navigation--mobile {
    border-bottom: none !important;
    box-shadow: none !important;
padding: 0px 1px;

}



/* قائمة البروفايل عصرية - تدعم RTL و LTR و الدارك/لايت مود */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown .profile-icon:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.16);
    opacity: .85;
}

.profile-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    min-width: 250px;
    right: 0; /* auto by direction js */
    left: unset;
    top: 46px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 28px rgba(60,60,80,0.18);
    padding: 12px 0;
    z-index: 99999;
    overflow: hidden;
    direction: inherit;
    text-align: start;
    transition: background .2s;
}
.profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px 14px 20px;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: background 0.18s;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
    font-family: var(--primary-font);
}
.profile-dropdown .dropdown-item:last-child { border-bottom: none; }
.profile-dropdown .dropdown-item a { color: inherit; text-decoration: none; flex: 1; }
.profile-dropdown .dropdown-item:hover { background: #f5f7fb; }

.choose-currency ul {
    margin: 0; padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.choose-currency li a {
    padding: 2px 12px;
    border-radius: 10px;
    background: #f4f4f6;
    color: #1c2244;
    font-size: 14px;
    transition: background .14s, color .14s;
    border: 1px solid transparent;
}
.choose-currency li a.active, .choose-currency li a:hover {
    background: var(--primary-color, #2185d0);
    color: #fff;
    border: 1px solid var(--primary-color, #2185d0);
}

.dark .profile-dropdown .dropdown-menu {
    background: #242535;
    color: #eee;
    box-shadow: 0 4px 28px rgba(20,20,50,0.22);
}
.dark .profile-dropdown .dropdown-item { color: #fff; border-bottom: 1px solid #33354a; }
.dark .profile-dropdown .dropdown-item a { color: #fff; }
.dark .profile-dropdown .dropdown-item:hover { background: #2d2e40; }
.dark .choose-currency li a { background: #292940; color: #eee; }
.dark .choose-currency li a.active, .dark .choose-currency li a:hover { background: var(--primary-color, #2185d0); color: #fff; }