/* Add custom CSS styles below */ 

.s-block .s-block--fixed-banner .wide-placeholder
.container
{
  max-width: 100% !important;
    width: 100% !important;
}

@media (min-width: 1280px) {
 .s-block--fixed-banner .container {
    max-width: 100%;
    width: 100% !important;
  }
}


.s-block__title {
 
  justify-content: center !important;
 color: var(--color-primary);

  padding-bottom: 1rem;
  padding-top: 1rem;
}

.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {

padding-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.s-block--banners  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem
}

.slide--cat-entry
{
  overflow: auto;
  height: 100%;
  background: #fff0;
  border: 0px;
    box-shadow: none;
    padding: 0px;
}

.slide--cat-entry img
{
  height: 10.5rem;
  width: 10rem;
    border-radius: 0 0 50% 50%;
  margin-bottom: 0rem;
  
}

.slide--cat-entry h2 {
  font-size: .875rem;
  font-weight: 900;
  line-height: 1.25rem;
 background: var(--color-primary);
  padding: 0.8rem;
  min-width: 100%;
  border-radius: 0px;
  /* width: 12rem */
  text-wrap: nowrap;
    color: white;
  
}


#main-content > section:nth-child(1) .s-block {
    margin-top: 0rem !important;
}

.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
    /* تنسيق القسم الرئيسي */
    margin: 0rem;
    padding: 0;
    position: relative;
}

#main-links-1 .swiper-wrapper {
  display: grid;
  margin-top: 0 !important;
  
  /* للأجهزة الصغيرة (الهواتف) - عمود واحد */
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  
  /* للأجهزة المتوسطة (تابت عمودي) - عمودين */
  @media (min-width: 640px) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  
  /* للأجهزة المتوسطة (تابت أفقي) - 3 أعمدة */
  @media (min-width: 768px) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  
  /* للأجهزة الكبيرة (لابتوب) - 4 أعمدة */
  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  
  /* للأجهزة الكبيرة جداً (شاشات عريضة) - 5 أعمدة */
  @media (min-width: 1280px) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  
  /* إضافة مسافات بين العناصر */
  gap: 1rem;
  
  /* تحسين العرض على الشاشات الصغيرة */
  @media (max-width: 639px) {
    gap: 0.75rem;
  }
}


#main-links-1 .swiper-slide {
  /* جعل العنصر يأخذ العرض الكامل */
  width: 100% !important;
  
  /* تحسين التباعد الداخلي */
  padding: 1rem;
  
  /* للأجهزة الصغيرة */
  @media (max-width: 640px) {
    padding: 0.5rem;
  }
  
  /* محتوى الشريحة */
  .slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    
    /* تحسين الصور */
    img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 8px;
        border-radius: 0 0 4rem 4rem;
      
      /* أحجام مختلفة للصور حسب الشاشة */
      @media (min-width: 640px) {
        height: 150px;
      }
      
      @media (min-width: 768px) {
        height: 180px;
      }
      
      @media (min-width: 1024px) {
        height: 200px;
      }
    }
    
    /* تحسين النصوص */
    .title, h3, h4 {
      font-size: 1rem;
      margin: 0.5rem 0;
      
      @media (min-width: 768px) {
        font-size: 1.1rem;
      }
      
      @media (min-width: 1024px) {
        font-size: 1.2rem;
      }
    }
    
    /* تحسين الوصف */
    .description, p {
      font-size: 0.875rem;
      line-height: 1.4;
      
      @media (min-width: 768px) {
        font-size: 1rem;
      }
    }
    
    /* تحسين الأزرار */
    .button, button {
      width: 100%;
      padding: 0.5rem;
      font-size: 0.875rem;
      
      @media (min-width: 640px) {
        width: auto;
        padding: 0.5rem 1rem;
      }
    }
  }
}

/* تحسين محاذاة العناصر */
#main-links-1 .swiper-slide {
  display: flex;
  flex-direction: column;
  
  /* التأكد من أن جميع الشرائح بنفس الارتفاع */
  .slide-content {
    flex: 1;
  }
}

/* تحسين العرض على الشاشات الصغيرة جداً */
@media (max-width: 480px) {
  #main-links-1 .swiper-slide {
    .slide-content {
      img {
        height: 120px;
      }
      
      .title, h3, h4 {
        font-size: 0.9rem;
      }
      
      .description, p {
        font-size: 0.8rem;
      }
    }
  }
}

/* تحسينات للشاشات الكبيرة */
@media (min-width: 1440px) {
  #main-links-1 .swiper-slide {
    .slide-content {
      img {
        height: 220px;
      }
    }
  }
}

/* إضافة تأثيرات hover للشرائح */
#main-links-1 .swiper-slide {
  transition: transform 0.3s ease;
  
  &:hover {
    transform: translateY(-5px);
    
    @media (max-width: 768px) {
      transform: translateY(-2px); /* تأثير أقل على المحمول */
    }
  }
}


.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *), salla-slider[type]:not(.hydrated) .swiper > div > div:where([dir="rtl"], [dir="rtl"] *), salla-slider[type]:not(.hydrated) > div:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0rem;
   margin: 0rem;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0rem;
}

.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0rem !important;
}

.s-block--features__item:first-child {
  grid-column: span 1/span 2;
}
.grid-cols-\[repeat\(2\,minmax\(0\,1fr\)\)\] {
  grid-template-columns: repeat(3,minmax(0,1fr));
}





/* تنسيقات القسم الرئيسي */
.s-block--features {
  padding: 60px 20px;
  /* max-width: 1200px; */
  margin: 0 auto;
  direction: rtl;
  text-align: center; /* توسيط كل النصوص */
}

/* تنسيق الشبكة - للتوسيط */
.s-block--features .grid {
  display: flex;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  justify-content: center; /* توسيط الشبكة أفقياً */
  align-items: center; /* توسيط العناصر عمودياً */
}

@media (min-width: 768px) {
  .s-block--features .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  .s-block--features .grid {
    gap: 20px;
  }
}

/* تنسيق عناصر الميزات - بدون خلفية */
.s-block--features__item {
  background: transparent; /* إزالة الخلفية */
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* توسيط المحتوى أفقياً */
  justify-content: center; /* توسيط المحتوى عمودياً */
  transition: transform 0.3s ease;
  box-shadow: none;
}

.s-block--features__item:hover {
  transform: translateY(-5px);
}

/* تنسيق الأيقونة - باللون الأسود */
.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon i {
  font-size: 48px;
  color: #000000; /* اللون الأسود الأساسي */
  line-height: 1;
  transition: opacity 0.3s ease;
}

.feature-icon i:hover {
  opacity: 0.7; /* تأثير خفيف عند التمرير */
}

/* تنسيق العنوان */
.s-block--features__item h2 {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 12px 0;
  line-height: 1.3;
  text-align: center; /* توسيط النص */
}

/* تنسيق النص */
.s-block--features__item p {
  font-size: 14px;
  color: #333333; /* أسود فاتح قليلاً للنص */
  margin: 0;
  line-height: 1.6;
  text-align: center; /* توسيط النص */
  max-width: 250px; /* للتحكم في عرض النص */
}

/* دعم الشاشات الصغيرة */
@media (max-width: 768px) {
  .s-block--features {
    padding: 40px 16px;
  }
  
  .s-block--features__item {
    padding: 20px 10px;
  }
  
  .feature-icon i {
    font-size: 42px;
  }
  
  .s-block--features__item h2 {
    font-size: 18px;
  }
  
  .s-block--features__item p {
    font-size: 13px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .s-block--features__item p {
    max-width: 100%; /* على الشاشات الصغيرة يأخذ العرض كاملاً */
  }
}
.s-block--features__item .feature-icon {
  align-items: center;
  background-color: transparent;
  color: var(--color-primary);
  border-radius: 9999px;
  display: flex;
  height: 5rem;
  justify-content: center;
  margin-bottom: .75rem;
  overflow: hidden;
  width: 4rem;
}

.s-block--features__item .feature-icon i {
 
  color: var(--color-primary);
  font-size: 2.875rem;
  line-height: 2.25rem;
}



.store-footer
{
  /* text-align: center; */
}


.swiper-wrapper {
 
  width: auto;

  margin-left: auto;
  margin-right: auto;
}