/* ✅ إجبار السلايدات على التوزيع المتساوي */
.swiper-wrapper.s-slider-swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
}

/* 🎨 السلايد الواحد (العنصر) */
.swiper-wrapper.s-slider-swiper-wrapper .swiper-slide {
  flex: 0 0 calc(35% - 20px) !important; /* 4 أعمدة في الديسكتوب */
  max-width: calc(25% - 20px) !important;
  margin: 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.swiper-wrapper.s-slider-swiper-wrapper .swiper-slide:hover {
  transform: translateY(-5px);
}

/* 🖼️ الصور المخصصة */
.slide--cat-entry img.custom-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}



/* ❌ إخفاء الأيقونات الأصلية */
.slide--cat-entry i {
  display: none !important;
}


/* 💻 تابلت - نفس عدد الأعمدة لكن مع تمرير */
@media (max-width: 1023px) {
  .swiper-wrapper.s-slider-swiper-wrapper .swiper-slide {
    flex: 0 0 40% !important; /* يعرض 2-3 أعمدة ويتيح السوابير */
    max-width: 40% !important;
  }
}

/* 📱 موبايل - يعرض عمود واحد ويتيح السوابير */
@media (max-width: 767px) {
  .swiper-wrapper.s-slider-swiper-wrapper .swiper-slide {
    flex: 0 0 50% !important; /* عمود واحد تقريبًا */
    max-width: 500% !important;
  }
}


.swiper-wrapper.s-slider-swiper-wrapper::-webkit-scrollbar {
  display: none;
}


/* 🏷️ توسيط عنوان السيكشن وتغيير لونه */
section.s-block.s-block--categories.merge-with-top-component .s-slider-block__title {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 30px;
}

section.s-block.s-block--categories.merge-with-top-component .s-slider-block__title h2 {
  color: #000000 !important; /* العنوان بالأبيض */
  font-size: 2rem;
  font-weight: 700;
  text-align: center !important;
  margin: 0;
  position: relative;
}

/* ✨ خط زخرفي صغير تحت العنوان */
section.s-block.s-block--categories.merge-with-top-component .s-slider-block__title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #ffffff;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 🧱 تحسين شكل العناصر داخل السيكشن */
section.s-block.s-block--categories.merge-with-top-component .swiper-slide {
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
  padding: 25px 15px;
  transition: transform 0.3s ease;
}

section.s-block.s-block--categories.merge-with-top-component .swiper-slide:hover {
  transform: translateY(-8px);
}

section.s-block.s-block--categories.merge-with-top-component .swiper-slide h2 {
  color: #231f20;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}





/* 🟡 العمود الذي يحتوي على اللوجو */
.lg\:col-span-2.rtl\:lg\:pr-20.ltr\:lg\:pl-20.hydrated {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; /* لجعل الصورة في المنتصف */
  justify-content: flex-start;
}

/* ✨ الشعار */
.lg\:col-span-2.rtl\:lg\:pr-20.ltr\:lg\:pl-20.hydrated::before {
  content: "";
  display: block;
  width: 100%; /* 🔸 ياخد 70% من عرض السيكشن */
  height: 160px; /* يمكنك تعديله مثلاً إلى 160px لو أردت تكبير أكثر */
  margin-bottom: 25px;
  background-image: url('https://i.postimg.cc/Fzs9DLnH/logo-vector.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 📱 تحسين للموبايل */
@media (max-width: 767px) {
  .lg\:col-span-2.rtl\:lg\:pr-20.ltr\:lg\:pl-20.hydrated::before {
    width: 85%; /* يظهر أكبر في الموبايل */
    height: 120px;
  }
}







.store-footer__inner {
  background-color: #000000 !important; /* لون الخلفية */
  color: #fff; /* يخلي النص أبيض لو الخلفية غامقة */
  padding: 40px 0; /* مسافة من فوق وتحت */
}

.store-footer__inner {
  color: #ffffff; /* النص أبيض */
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* توسيط أفقي */
  justify-content: center; /* توسيط عمودي لو فيه ارتفاع محدد */
  text-align: center; /* توسيط النصوص */
}

.store-footer__inner .container {
  max-width: 1200px; /* عرض أقصى للمحتوى */
  margin: 0 auto; /* توسيط الحاوية */
}


/* ✨ جعل النصوص داخل الفوتر باللون الأبيض */
.footer-main .container,
.footer-bottom .container,
.footer-a .container,
.main-footer .container,
.footer-top .container {  background-color: #231f20 !important;
}



/* ✨ جعل النصوص داخل الفوتر باللون الأبيض */
footer,
footer a,
footer p,
footer span,
footer li,
footer h2,
footer h3,
footer h4,
.footer-main a,
.footer-bottom a {
  color: #ffffff !important;
}
/* ✨ لمسة أنيقة عند تمرير الماوس على الروابط */
.footer-main a:hover,
.footer-bottom a:hover {
  color: #bb9233 !important; /* ذهبي أفتح */
  transition: color 0.3s ease;
}

/* ✅ ضبط عرض المحتوى ليبقى في المنتصف */

.footer-main .container,
.footer-bottom .container,
.footer-a .container,
.main-footer .container,
.footer-top .container {
  max-width: 1200px; /* عرض ثابت أنيق */
  margin: 0 auto; /* توسيط أفقي */
  text-align: center;
}



/* تغيير لون الأيقونات إن وُجدت */
.footer-main svg path {
  fill: #ffffff !important;
}

/* ✨ تنسيق محاذاة المنتصف للفوتر العلوي */
.footer-main {
  text-align: center;
  padding: 2rem 0;
}




/* النصوص والروابط داخل الفوتر السفلي */
.footer-bottom a,
.footer-bottom p,
.footer-bottom span {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}


/* ============================= */
/* ✨ توحيد الشكل العام */
/* ============================= */
footer * {
  font-family: 'Cairo', sans-serif;
  line-height: 1.6;
}


/* ============================= */
/* ⚙️ Header Code */
/* ============================= */
/* 🎨 تنسيق منطقة الأيقونات في الهيدر */
.header-icons-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem; /* المسافة بين الأيقونات */
}

/* 🎯 إخفاء أيقونة السلة الأصلية */
salla-cart-summary .s-cart-summary-wrapper svg,
salla-cart-summary .s-cart-summary-wrapper i {
  display: none !important;
}

/* 🧾 أيقونة السلة (الفواتير) */
salla-cart-summary .s-cart-summary-wrapper::before {
  content: "\eec0"; /* رمز أيقونة الفواتير */
  font-family: "sallaicons" !important;
  font-size: 1.4rem;
  color: #231f20;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

salla-cart-summary .s-cart-summary-wrapper:hover::before {
  color: #bb9233;
  transform: scale(1.1);
}




/* ✨ لمسة خفيفة لتوحيد المحاذاة */
.header-icons-custom * {
  vertical-align: middle;
}

.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 {
  display: flex;
  flex-direction: column; /* يجعل العناصر تحت بعض */
  justify-content: center; /* توسيط عمودي داخل البلوك */
  align-items: center; /* توسيط أفقي داخل البلوك */
  text-align: center; /* توسيط النصوص */
  height: 100%; /* حتى يتوسّط بناءً على ارتفاع البلوك الأب */
}


/* ====== قائمة المدن والرحلات في سطح المكتب ====== */
.main-menu li.root-level.relative {
  position: relative;
}

/* إخفاء القوائم الفرعية افتراضياً */
.main-menu li.root-level.relative ul {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 9999;
  padding: 10px 0;
  text-align: right;
}

/* إظهار القوائم عند المرور */
.main-menu li.root-level.relative:hover > ul {
  display: block;
}

/* تنسيق الروابط داخل القوائم الفرعية */
.main-menu li.root-level.relative ul li a {
  display: block;
  padding: 8px 15px;
  color: #333;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* تأثير تمرير جميل */
.main-menu li.root-level.relative ul li a:hover {
  background: #f5f5f5;
  color: #bb9233; /* لون الهوية */
}

/* ====== للجوال: تحسين شكل القوائم الفرعية ====== */
.accordion-item .accordion-btn {
  background: #fff;
  border-top: 1px solid #eee;
  font-weight: bold;
}

.accordion-content {
  background: #fafafa;
}

.accordion-content a:hover {
  color: #bb9233;
}