/* Add custom CSS styles below */ 
/* =========================
   موبايل: تخصيص الهيدر
   ========================= */
@media (max-width: 768px) {

  /* أيقونة إضافة للسلة في الهيدر */
  .header-btn.btn i.sicon-add {
    color: #BB0C0C !important;
    font-size: 18px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
  }

  .header-btn.btn::before,
  .header-btn.btn::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .header-btn.btn {
    background: transparent !important;
    background-image: none !important;
  }

  /* عداد السلة */
  span.s-cart-summary-count,
  .s-cart-summary-count,
  .header-btn .s-cart-summary-count,
  .btn .s-cart-summary-count {
    background: #EADCCF !important;
    background-color: #EADCCF !important;
    color: #7F2521 !important;
    -webkit-text-fill-color: #7F2521 !important;
    border: 1px solid #ffffff !important;
    border-radius: 999px !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    padding: 0 4px !important;
  }

  /* الصف الرئيسي للهيدر */
  .flex.items-stretch.justify-between.relative {
    min-height: 54px !important;
    height: 54px !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* أعمدة اليمين والوسط واليسار */
  .flex.items-center.justify-start.w-1\/3,
  .flex.items-center.justify-end.w-1\/3,
  .flex.items-center.flex-col.justify-center {
    min-height: 54px !important;
    height: 54px !important;
    align-items: center !important;
  }

  /* الشعار في الموبايل */
  .navbar-brand img {
    height: 2.2rem !important;
    width: auto !important;
    max-height: 35px !important;
  }

  /* زر القائمة */
  .mburger {
    margin: 0 !important;
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .mburger i {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .mburger p {
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  /* أزرار الهيدر */
  .header-btn,
  .search-btn,
  .header-cart .btn,
  .header-cart .header-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* الأيقونات في الهيدر */
  .header-btn i,
  .search-btn i,
  .header-cart i,
  .sicon-user,
  .sicon-search,
  .sicon-menu {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  /* السلة في الهيدر */
  .s-cart-summary-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  /* إخفاء السعر من الهيدر في الجوال */
  .s-cart-summary-content {
    display: none !important;
  }

  /* موقع العداد */
  .s-cart-summary-count {
    top: -2px !important;
  }
}

/* =========================
   موبايل: كروت المنتجات
   ========================= */
@media (max-width: 768px) {
  .product-card,
  .s-product-card,
  .product {
    background: #ffffff !important;
    border: 1px solid rgba(187, 12, 12, 0.18) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
  }
}

/* =========================
   موبايل: خدمة العملاء (إيميل + واتساب)
   تقليل المسافة بين الأيقونتين فقط
   ========================= */
@media (max-width: 768px) {
  /* نتأكد أن الاتجاه أفقي */
  .s-contacts .s-contacts-list-horizontal {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* تحريك كل أيقونة قليلاً للداخل لتصغير الفراغ بينهما بدون لمس الجافاسكربت */
  .s-contacts .s-contacts-list-horizontal > *:first-child {
    transform: translateX(4px);
  }

  .s-contacts .s-contacts-list-horizontal > *:last-child {
    transform: translateX(-4px);
  }
}

@media (max-width: 1024px) {
  /* إخفاء صف خدمة العملاء القديم في الموبايل والإبقاء على الصف الجديد فقط */
  .s-contacts .s-contacts-list-horizontal {
    display: none !important;
  }

  /* نتأكد أن الصف الجديد ظاهر */
  .s-contacts .footer-contact-icons {
    display: flex !important;
  }
}
<div class="s-slider-blocktitle">
  <div class="s-slider-blocktitle-right">
    <h2>آراء عملائنا</h2>
  </div>

  <div class="s-slider-blocktitle-left">
    <div class="s-slider-blocktitle-nav" dir="rtl">
      <!-- Previous slide button -->
      <button
        aria-label="Previous slide"
        class="s-slider-prev s-slider-nav-arrow"
        tabindex="0"
        aria-controls="swiper-wrapper-1b2eaa9c61f651a3"
        aria-disabled="false"
      >
        <span class="s-slider-button-icon">
          <!-- Generated by IcoMoon.io -->
          <svg
            version="1.1"
            xmlns="http://www.w3.org/2000/svg"
            width="32"
            height="32"
            viewBox="0 0 32 32"
          >
            <title>keyboard_arrow_right</title>
            <path
              d="M11.438 22.479l6.125-6.125-6.125-6.125 1.875-1.875 8 8-8 8z"
            ></path>
          </svg>
        </span>
      </button>

      <!-- Next slide button -->
      <button
        aria-label="Next slide"
        class="s-slider-next s-slider-nav-arrow"
        tabindex="0"
        aria-controls="swiper-wrapper-1b2eaa9c61f651a3"
        aria-disabled="false"
      >
        <span class="s-slider-button-icon">
          <!-- Generated by IcoMoon.io -->
          <svg
            version="1.1"
            xmlns="http://www.w3.org/2000/svg"
            width="32"
            height="32"
            viewBox="0 0 32 32"
          >
            <title>keyboard_arrow_left</title>
            <path
              d="M20.563 22.104l-1.875 1.875-8-8 8-8 1.875 1.875-6.125 6.125z"
            ></path>
          </svg>
        </span>
      </button>
    </div>
  </div>
</div>
/* تنسيق عام لكل بطاقة تقييم */
.testimonials-slider .swiper-slide {
  padding: 14px 10px 22px;
  height: auto;
}

/* نجعل كل شريحة تتمدد بنفس الارتفاع */
.testimonials-slider .swiper-slide > div {
  height: 100%;
}

/* البطاقة نفسها */
.testimonials-slider .swiper-slide .da-bgg {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%) !important;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 26px !important;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.05),
    0 3px 10px rgba(15, 23, 42, 0.03);
  transform: scale(0.95);
  transform-origin: top center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  min-height: 320px !important;
  height: 100%;
  display: flex;
  align-items: stretch;
}

/* لمعة خفيفة أعلى البطاقة */
.testimonials-slider .swiper-slide .da-bgg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.38) 34%,
    rgba(255, 255, 255, 0) 62%
  );
  pointer-events: none;
}

/* البطاقة النشطة أو عند المرور عليها */
.testimonials-slider .swiper-slide:hover .da-bgg,
.testimonials-slider .swiper-slide.swiper-slide-active .da-bgg {
  transform: scale(1) translateY(-4px);
  border-color: rgba(201, 169, 97, 0.24);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.08),
    0 8px 18px rgba(201, 169, 97, 0.10);
}

/* المحتوى الداخلي */
.testimonials-slider .swiper-slide .flex.flex-col.w-full {
  padding-inline: 1.15rem !important;
  padding-bottom: 1.9rem !important;
  min-height: 320px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* منطقة الصورة والاسم */
.testimonials-slider .swiper-slide .s-testimonials--slider--img {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* صورة العميل */
.testimonials-slider .swiper-slide .testimonialavatar {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  min-height: 76px !important;
  border-radius: 999px !important;
  border: 3px solid #ffffff;
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(201, 169, 97, 0.14);
  margin-bottom: 10px;
  background: #fff;
}

/* اسم العميل */
.testimonials-slider .swiper-slide h4.text-lg.leading-6.da-tm {
  font-size: 1rem !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin-top: 4px;
  margin-bottom: 5px;
  letter-spacing: 0;
  min-height: 30px;
}

/* النجوم */
.testimonials-slider .swiper-slide .testimonialrating {
  margin-bottom: 12px;
  transform: scale(0.94);
  min-height: 24px;
}

/* نص التقييم */
.testimonials-slider .swiper-slide p.text-base.da-tm.leading-6.w-full.text-center.my-2,
.testimonials-slider .swiper-slide p.text-base.da-tm.leading-6.w-full.da-tm.text-center.my-2 {
  font-size: 0.93rem !important;
  line-height: 1.95 !important;
  color: #4b5563 !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  max-width: 92%;
  margin-inline: auto;
  min-height: 88px;
}

/* أيقونة الاقتباس */
.testimonials-slider .swiper-slide .testimonialicon {
  font-size: 2rem !important;
  opacity: 0.06 !important;
  color: #c9a961 !important;
  top: 18px !important;
  left: 18px !important;
}

/* تحسين للموبايل */
@media (max-width: 768px) {
  .testimonials-slider .swiper-slide {
    padding: 10px 6px 18px;
  }

  .testimonials-slider .swiper-slide .da-bgg,
  .testimonials-slider .swiper-slide:hover .da-bgg,
  .testimonials-slider .swiper-slide.swiper-slide-active .da-bgg {
    transform: scale(0.985);
    border-radius: 20px !important;
    min-height: 280px !important;
  }

  .testimonials-slider .swiper-slide .flex.flex-col.w-full {
    padding-inline: 0.9rem !important;
    padding-bottom: 1.45rem !important;
    min-height: 280px !important;
  }

  .testimonials-slider .swiper-slide .s-testimonials--slider--img {
    min-height: 138px;
  }

  .testimonials-slider .swiper-slide .testimonialavatar {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
  }

  .testimonials-slider .swiper-slide h4.text-lg.leading-6.da-tm {
    font-size: 0.95rem !important;
    min-height: 28px;
  }

  .testimonials-slider .swiper-slide .testimonialrating {
    margin-bottom: 10px;
    transform: scale(0.9);
    min-height: 22px;
  }

  .testimonials-slider .swiper-slide p.text-base.da-tm.leading-6.w-full.text-center.my-2,
  .testimonials-slider .swiper-slide p.text-base.da-tm.leading-6.w-full.da-tm.text-center.my-2 {
    font-size: 0.875rem !important;
    line-height: 1.82 !important;
    max-width: 100%;
    min-height: 76px;
  }

  .testimonials-slider .swiper-slide .testimonialicon {
    font-size: 1.7rem !important;
    top: 14px !important;
    left: 14px !important;
  }
}
/* توسيط كل محتوى البطاقة عمودياً وأفقياً */
.testimonials-slider .swiper-slide .da-bgg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-slider .swiper-slide .flex.flex-col.w-full {
  min-height: 320px !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  align-items: center;
  text-align: center;
  padding-top: 1.2rem !important;
  padding-bottom: 1.2rem !important;
}

/* منطقة الصورة والاسم */
.testimonials-slider .swiper-slide .s-testimonials--slider--img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: auto !important;
}

/* نص التقييم */
.testimonials-slider .swiper-slide p.text-base.da-tm.leading-6.w-full.text-center.my-2,
.testimonials-slider .swiper-slide p.text-base.da-tm.leading-6.w-full.da-tm.text-center.my-2 {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

/* موبايل */
@media (max-width: 768px) {
  .testimonials-slider .swiper-slide .flex.flex-col.w-full {
    min-height: 280px !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}
/* تصغير صورة العميل بشكل مؤكد */
.testimonials-slider .swiper-slide .testimonialavatar {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin-inline: auto !important;
  margin-bottom: 10px !important;
  flex: 0 0 58px !important;
}

/* هذا هو الجزء الأهم: ضبط الصورة نفسها داخل الإطار */
.testimonials-slider .swiper-slide .testimonialavatar img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50% !important;
}

/* لو القالب يطبق حجم h-24 w-24 على العنصر أو الصورة، هذا يلغي أثره */
.testimonials-slider .swiper-slide .testimonialavatar.w-8,
.testimonials-slider .swiper-slide .testimonialavatar.h-8,
.testimonials-slider .swiper-slide .testimonialavatar img.w-full,
.testimonials-slider .swiper-slide .testimonialavatar img.h-full {
  width: 58px !important;
  height: 58px !important;
}

/* موبايل */
@media (max-width: 768px) {
  .testimonials-slider .swiper-slide .testimonialavatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    flex: 0 0 52px !important;
  }

  .testimonials-slider .swiper-slide .testimonialavatar img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}
/* =========================
   توحيد بطاقة المنتج في كل صفحات المتجر
   آمن - يستهدف بطاقة ملاك فقط
   ========================= */
@media (max-width: 768px) {

  custom-salla-product-card.s-product-card-entry {
    background: #ffffff !important;
    border: 1px solid #BB0C0C !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
  }

  custom-salla-product-card.s-product-card-entry .s-product-card-content-footer {
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  custom-salla-product-card.s-product-card-entry .s-button-btn {
    border-radius: 999px !important;
  }
}

/* ==========================================
   Product Card Actions - Apple Style
   ========================================== */

.s-product-card-actions .s-button-element {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(187,12,12,.12) !important;
  border-radius: 999px !important;

  color: #BB0C0C !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  padding: 0 !important;
  transition: all .2s ease;
}

.s-product-card-actions .s-button-element i {
  color: #BB0C0C !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

.s-product-card-actions .s-button-element:hover {
  background: #BB0C0C !important;
  border-color: #BB0C0C !important;
  box-shadow: 0 6px 14px rgba(187,12,12,.18) !important;
}

.s-product-card-actions .s-button-element:hover i {
  color: #ffffff !important;
}

.s-product-card-actions .favorited .s-button-element,
.s-product-card-actions .added .s-button-element {
  background: #BB0C0C !important;
  border-color: #BB0C0C !important;
}

.s-product-card-actions .favorited .s-button-element i,
.s-product-card-actions .added .s-button-element i {
  color: #ffffff !important;
}
.s-product-card-actions .s-button-element:hover{
    background:#BB0C0C !important;
    border-color:#BB0C0C !important;
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(187,12,12,.18);
}

/* تغيير لون الأيقونة عند المرور */
.s-product-card-actions .s-button-element:hover i{
    color:#ffffff !important;
}

/* المنتج المضاف للمفضلة */
.s-product-card-actions .favorited .s-button-element,
.s-product-card-actions .added .s-button-element{
    background:#BB0C0C !important;
    border-color:#BB0C0C !important;
}

.s-product-card-actions .favorited .s-button-element i,
.s-product-card-actions .added .s-button-element i{
    color:#ffffff !important;
}

/* ==========================================
   Product Actions - Premium Interaction
   ========================================== */

/* انتقال أنعم */
.s-product-card-actions .s-button-element{
    transition:
        background-color .22s ease,
        border-color .22s ease,
        color .22s ease,
        transform .16s ease,
        box-shadow .22s ease;
}

/* الكمبيوتر */
@media (hover:hover){

.s-product-card-actions .s-button-element:hover{
    background:#BB0C0C !important;
    border-color:#BB0C0C !important;

    transform:translateY(-1px) scale(1.06);

    box-shadow:0 8px 18px rgba(187,12,12,.18);
}

.s-product-card-actions .s-button-element:hover i{
    color:#fff !important;
}

}

/* الجوال - إحساس الضغط */
.s-product-card-actions .s-button-element:active{
    background:#BB0C0C !important;
    border-color:#BB0C0C !important;

    transform:scale(.94);

    transition-duration:.08s;
}

.s-product-card-actions .s-button-element:active i{
    color:#fff !important;
}

/* ==========================================
   Product Actions - Soft Ripple Effect
   ========================================== */

.s-product-card-actions .s-button-element {
  position: relative !important;
  overflow: hidden !important;
}

.s-product-card-actions .s-button-element::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 0;
  height: 0;
  background: rgba(187, 12, 12, .16);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.s-product-card-actions .s-button-element:active::after {
  width: 42px;
  height: 42px;
  opacity: 1;
  transition:
    width .28s ease,
    height .28s ease,
    opacity .38s ease;
}

.s-product-card-actions .s-button-element:active {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(187,12,12,.22) !important;
}

.s-product-card-actions .s-button-element:active i {
  color: #BB0C0C !important;
}

/* ==========================================
   Product Page - Wishlist & Share Apple Style
   ========================================== */

.wish-share .s-button-element {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(187,12,12,.12) !important;
  border-radius: 999px !important;

  color: #BB0C0C !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  padding: 0 !important;
  transition:
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .16s ease,
    box-shadow .22s ease;
}

.wish-share .s-button-element i,
.wish-share .s-button-element svg,
.wish-share .s-button-element path {
  color: #BB0C0C !important;
  fill: #BB0C0C !important;
}

@media (hover:hover) {
  .wish-share .s-button-element:hover {
    background: #BB0C0C !important;
    border-color: #BB0C0C !important;
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 8px 18px rgba(187,12,12,.18) !important;
  }

  .wish-share .s-button-element:hover i,
  .wish-share .s-button-element:hover svg,
  .wish-share .s-button-element:hover path {
    color: #fff !important;
    fill: #fff !important;
  }
}

.wish-share .s-button-element:active {
  background: #BB0C0C !important;
  border-color: #BB0C0C !important;
  transform: scale(.94);
  transition-duration: .08s;
}

.wish-share .s-button-element:active i,
.wish-share .s-button-element:active svg,
.wish-share .s-button-element:active path {
  color: #fff !important;
  fill: #fff !important;
}