/* Add custom CSS styles below */ 
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

*{
font-family:Tajawal;

}

body {
  background: url(https://i.ibb.co/YdFZFZN/freepik-retouch-55281.png) center center fixed;
margin:0px;
padding:0px;
 
}

.s-block--slider-with-bg .slider-bg:before{
background: none !important;

}

.s-reviews-testimonial{
border: #D4AF37 5px solid;
}

salla-slider.photos-slider .swiper[dir="rtl"] {
    padding: 0px;
}

.s-product-card-vertical {
    border-right : 1px solid gold;
    border-left : 1px solid gold;
}

/*
salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"], *){
padding:0px;
}
*/

.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *){
padding-left:0px;
}

.s-block__title{
display: flex;
align-items: center;
justify-content: center;

}

/* الحاوية الرئيسية */
.s-block--features {
  padding: 2rem 1rem;
  background-color: #fdfdfd; /* خلفية فاتحة */
  border-radius: 10px; /* زوايا مستديرة */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}

/* العناصر داخل الشبكة */
.s-block--features__item {
  text-align: center;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 1rem; /* تقليل الحشو لتناسب الهواتف */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 5px 1px 1px goldenrod;
}

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

/* الأيقونات */
.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px; /* حجم أصغر */
  height: 60px; /* حجم أصغر */
  margin: 0 auto 0.75rem; /* تقليل المسافة */
  border-radius: 50%;
  background-color: goldenrod; /* خلفية دائرية باللون الذهبي */
  color: #fff;
  font-size: 24px; /* حجم الأيقونة أصغر */
}

/* النصوص */
.s-block--features__item h2 {
  font-size: 1.25rem; /* تصغير الخط */
  margin: 0.5rem 0;
  color: #333;
}

.s-block--features__item p {
  font-size: 0.9rem; /* تصغير الخط */
  color: #666;
  line-height: 1.4;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .s-block--features {
    padding: 1.5rem 0.5rem;
  }

  .s-block--features__item {
    padding: 1rem; /* تقليل الحشو أكثر */
  }

  .feature-icon {
    width: 50px; /* حجم أصغر للشاشة الصغيرة */
    height: 50px;
    font-size: 20px; /* حجم أصغر للأيقونة */
  }

  .s-block--features__item h2 {
    font-size: 1.1rem; /* حجم أصغر للعنوان */
  }

  .s-block--features__item p {
    font-size: 0.8rem; /* حجم أصغر للوصف */
  }
}

.brand-item {
  flex: 0 0 25%; /* عرض كل عنصر 25% من الحاوية */
}

.s-product-card-image img{
object-fit: cover;
}

/* إزالة الخلفية من العناصر التي تحتوي على الأيقونات */
.s-block--features__item .feature-icon {
    background-color: transparent; /* إزالة الخلفية */
    padding: 0; /* إزالة الحواف إذا كانت موجودة */
}

/* اضافة خلفية للنصوص في صفحة المنتج Ali */
.main-content:has(.product__description) {
  background: #ffffff9e;
  border: 1px solid #d0d00042;
  padding: 1rem;
}

/* إعداد الحاوية التي تحتوي على العلامات التجارية */
.s-block--logos-slider .container {
  overflow: hidden; /* منع التمرير العمودي */
}

.s-block--logos-slider .grid {
  display: flex;
  overflow: scroll;
}

/* التأثير الذي يجعل العلامات التجارية تتحرك */
@keyframes scrollBrands {
  0% {
    transform: translateX(0); /* البداية */
  }
  100% {
    transform: translateX(-100%); /* النهاية: تحريك العناصر بالكامل */
  }
}

/* تأكيد تناسق حجم العناصر */
.brand-item {
  flex-shrink: 0; /* منع التقلص */
  margin-right: 15px; /* المسافة بين العلامات التجارية */
  width: 100%; /* تعيين العرض ليكون 100% */
}

.s-block--tabs-produtcs .tab-trigger.is-active button{
background:none;
border: none;
padding: 10px;
font-size: 20px;
border-bottom:5px #D4AF37  solid;
color:black;
}

.s-slider-block__title{
    align-items: center;
    justify-content: center;
}

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

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

}



/* تنسيق الإطار الذهبي حول كل قسم */
.slide--cat-entry {
    border: 2px solid gold; /* إطار ذهبي */
    border-radius: 10px; /* حواف مستديرة */
    padding: 10px; /* مساحة داخلية */
    text-align: center; /* توسيط المحتوى */
    margin: 10px; /* مسافة بين الأقسام */
    transition: transform 0.3s, box-shadow 0.3s; /* تأثير على الحركة */
}

/* تأثير عند تمرير الماوس */
.slide--cat-entry:hover {
    transform: scale(1.05); /* تكبير خفيف */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* إضافة ظل */
}

/* تنسيق الصور */
.slide--cat-entry img {
    width: 80px; /* حجم الصورة */
    height: auto; /* الحفاظ على النسبة */
    margin-bottom: 10px; /* مسافة بين الصورة والنص */
    border-radius: 50%; /* إذا أردت الصورة دائرية */
}

/* تنسيق النص تحت الصورة */
.slide--cat-entry p {
    font-size: 16px; /* حجم النص */
    color: #333; /* لون النص */
    font-weight: bold; /* النص عريض */
    margin: 0; /* إزالة المسافات العلوية والسفلية */
}

.s-block--slider-with-bg .s-slider-block__display-all{
color:rgb(0 0 0) !important;

}