.md\:text-4xl {
  font-size: 1.5rem;
  background: linear-gradient(45deg, #f65618, #ffc000);
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
  display: block;
  margin: 0 auto;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .md\:text-4xl {
    font-size: 1rem;
    background: linear-gradient(45deg, #f65618, #ffc000);
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    display: block;
    margin: 0 auto;
    line-height: 1.2;
    padding: 0;
  }
}

.text-sm {
  font-size: 1rem;
  line-height: 1.5;
}

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

p.text-sm.mb-8.line-clamp-2.max-w-lg {
  color: black;
  font-size: 1.2rem;
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  p.text-sm.mb-8.line-clamp-2.max-w-lg {
    font-size: 1.5rem;
  }
}

.s-slider-block__display-all {
  display: none !important;
}

.s-block--slider-with-bg .s-slider-block__title-left {
  display: none !important;
}

.s-block--best-offers .s-slider-block__title,
.salla-products-slider .s-slider-block__title {
  display: none !important;
}

.s-block--slider-with-bg .s-slider-block__title {
  display: none !important;
}
/* تعديل خاصية التحويل لتصبح أكثر سلاسة */
.s-products-slider-card.swiper-slide {
    margin: 0 auto;
    text-align: center;
    width: 90%; /* عرض أقل قليلاً للتركيز على العنصر */
    padding: 0 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* تحسين التأثير عند السحب أو التفاعل */
.s-products-slider-card.swiper-slide.swiper-slide-active {
    transform: translateY(-3px); /* تغيير الاتجاه لجعل التأثير أكثر نعومة */
 
/* تحسين عند التفاعل (hover) */
.s-products-slider-card.swiper-slide.swiper-slide-active:hover {
    transform: translateY(-5px); /* تأثير أكبر عند التفاعل */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* لتقليل المسافة بين الشرائح وتعزيز السلاسة */
.s-products-slider-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ضبط الاتجاه في الأجهزة الصغيرة والمتوسطة */
@media (max-width: 768px) {
    .s-products-slider-card.swiper-slide {
        width: 95%; /* زيادة العرض في الشاشات الصغيرة */
        padding: 0 8px; /* زيادة التباعد الداخلي */
    }
}

/* تحسين العرض للأجهزة الكبيرة */
@media (min-width: 1024px) {
    .s-products-slider-card.swiper-slide {
        width: 80%; /* تقليص العرض للأجهزة الكبيرة */
        padding: 0 15px;
    }
}

/* إضافة التوجيه من اليمين لليسار إذا كان لديك محتوى باللغة العربية */
.s-products-slider-card {
    direction: rtl;
}

.swiper-wrapper {
    flex-direction: row-reverse;
}

}

.section-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 2rem;
  max-width: 100%;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.2rem;
  }
}



#karzoun-widget-send-button {
  display: none;
}


.advanced-slider .swiper .swiper-slide-active a {
    border-radius: 25px;
    animation-name: fadeInDown;
    animation-duration: .6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: backwards;
    animation-iteration-count: none;
    animation-delay: .5s;
    position: relative;
    display: inline-block;
    font-size: 1.2em;
    padding: 10px 20px;
    border: 1px solid #f6561a;
    background-color: #f6561a;
    color: #;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden; /* للتأكد من أن التأثير لا يتجاوز حدود الزر */
    transition: all 0.3s ease;
}



.advanced-slider .swiper .swiper-slide-active a {
    position: relative;
    display: inline-block;
    font-size: 1.2em;
    padding: 10px 20px;
    color: #ffffff; /* النص أبيض افتراضيًا */
    border: 1px solid #f6561a; /* الإطار برتقالي */
    background-color: #f6561a; /* الخلفية برتقالية افتراضيًا */
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease; /* تأثير سلس للتغيير */
}

.advanced-slider .swiper .swiper-slide-active a:hover {
    background-color: #f6561a; /* الخلفية تصبح بيضاء عند الهوفر */
    color: #000000; /* النص يصبح أسود عند الهوفر */
    border-color: #f6561a; /* الإطار يبقى برتقاليًا */
}

.advanced-slider .swiper .swiper-slide-active a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f6561A; /* تأثير الخلفية البيضاء */
    transition: all 0.3s ease;
    z-index: -1; /* لجعل الخلفية تظل وراء النص */
    transform: scaleX(0); /* البداية من الداخل */
    transform-origin: bottom right;
}

.advanced-slider .swiper .swiper-slide-active a:hover:before {
    transform: scaleX(1); /* تمدد الخلفية عند الهوفر */
    transform-origin: bottom left;
}

.advanced-slider .swiper .swiper-slide-active a:hover {
    color: #000000; /* النص يصبح أسود عند الهوفر */
}




.carousel-slider .swiper[dir="rtl"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.carousel-slider .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .md\:text-4xl {
        margin-bottom: 10px;
    }

    p.text-sm.mb-8.line-clamp-2.max-w-lg {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .s-products-slider-card {
        margin-top: 10px;
        margin-bottom: 10px;
        position: relative;
    }

    .s-block--slider-with-bg .slider-bg,
    .carousel-slider .swiper-wrapper {
        margin-top: -5px;
        margin-bottom: 10px;
    }
}


@media (min-width: 1024px) {
    .md\:text-4xl {
        font-size: 2rem;
        
        }
        
        
        
.\!rounded-none {
    border-radius: 25px !important; /* لجعل الأطراف مدورة */
}

/* تأثير الجوال */
@media (max-width: 768px) {
    .\!rounded-none {
        border-radius: 25px !important; /* نفس التأثير للجوال */
    }
}

/* التأثير العام */
.rounded-none {
    border-radius: 25px !important;
}

/* تأثير الجوال */
@media (max-width: 768px) {
    .rounded-none {
        border-radius: 25px !important;
    }
}



@media (min-width: 1024px) {
    .md\:text-4xl {
        max-width: 100%;
        word-wrap: break-word; /* يضمن كسر الكلمات الطويلة */
        overflow-wrap: break-word; /* يعمل نفس الشيء */
    }
}