.s-product-card-content-subtitle {
 display: none;
}



/* تنسيق خاص بالجوال لعرض كل بطاقتين في صف */
@media (max-width: 768px) {
  .s-block--statistics .statistics-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important; /* يمكنك تعديل الرقم لزيادة أو تقليل المسافة بين المربعات */
  }
  
  /* تصغير حجم الخط قليلاً في الجوال ليناسب المساحة الجديدة */
  .s-block--statistics .statistics-list strong {
    font-size: 1.25rem !important;
  }
  
  .s-block--statistics .statistics-list p {
    font-size: 0.875rem !important;
  }
}





/* 1. تغيير لون وشكل تاريخ انتهاء الحملة (إزالة اللون الأحمر) */
salla-progress-bar .s-progress-bar-message {
    color: #64748b !important; /* لون رمادي هادئ وأنيق */
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    display: block !important;
    margin-top: 10px !important;
    background: #f1f5f9 !important; /* خلفية خفيفة للتاريخ */
    padding: 4px 8px !important;
    border-radius: 6px !important;
}

/* 2. تحسين شكل الكارت الثابت (بدون انتظار التمرير) */
salla-product-card .s-product-card-entry {
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important; /* ظل ثابت وناعم */
    transition: all 0.3s ease-in-out !important;
    padding-bottom: 12px !important;
}

/* إضافة تأثير رفع الكارت عند التمرير (للأجهزة المكتبية) */
salla-product-card .s-product-card-entry:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(15, 92, 99, 0.12) !important;
    border-color: #0f5c63 !important;
}

/* 3. تحسين شكل حقل التبرع ليكون أكثر وضوحاً */
.s-product-card-donation-input label {
    font-weight: 600 !important;
    color: #334155 !important;
}

.s-product-card-donation-input .s-form-control {
    border-radius: 8px !important;
    border: 2px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    text-align: center !important; /* توسيط النص داخل مربع التبرع */
}

.s-product-card-donation-input .s-form-control:focus {
    border-color: #0f5c63 !important;
    background-color: #ffffff !important;
}

/* 4. إبراز زر "أضف إلى السلة" بشكل دائم */
.s-product-card-content-footer .s-button-btn {
    border-radius: 8px !important;
    border: 1.5px solid #0f5c63 !important;
    color: #0f5c63 !important;
    font-weight: 700 !important;
}

.s-product-card-content-footer .s-button-btn:hover {
    background-color: #0f5c63 !important;
    color: #ffffff !important;
}

/* 5. ترتيب الأرقام في شريط التقدم */
.s-progress-bar-target-section span {
    font-weight: 700 !important;
    color: #1e293b !important;
}







/* 1. ضبط الحاوية الرئيسية لتكون موزعة بشكل صحيح (يمين ويسار) */
.s-progress-bar-target-section {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    direction: rtl !important;
    margin-bottom: 12px !important;
}

/* 2. تنسيق الجهة اليمنى (المبلغ المجمع) */
.s-progress-bar-target-section span:first-child {
    display: flex !important;
    flex-direction: column !important;
    text-align: right !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f5c63 !important;
}

/* إضافة نص "المبلغ المجمع:" فوق الرقم مباشرة */
.s-progress-bar-target-section span:first-child::before {
    content: "المبلغ المجمع" !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-bottom: 2px !important;
}

/* 3. تنسيق الجهة اليسرى (القيمة المستهدفة) */
.s-progress-bar-target-section span:last-child {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

/* إضافة نص "القيمة المستهدفة" فوق الرقم مباشرة */
.s-progress-bar-target-section span:last-child::before {
    content: "القيمة المستهدفة" !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-bottom: 2px !important;
}

/* 4. تنظيف شكل تاريخ انتهاء الحملة ليكون مرتباً */
salla-progress-bar .s-progress-bar-message {
    color: #64748b !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    display: block !important;
    margin-top: 12px !important;
    background: #f8fafc !important;
    padding: 6px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
}












/* =========================================
   CUSTOM SERVICES SECTION
========================================= */

.custom-services-section {
  width: 100%;
  direction: rtl;
  padding: 70px 20px;
  background: #f8f8f8;
  overflow: hidden;
  box-sizing: border-box;
}

.custom-services-container {
  width: min(1240px, 100%);
  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  gap: 14px;

  direction: rtl;
}


/* =========================================
   SERVICE CARD
========================================= */

.custom-service-card {
  position: relative;

  width: 238px;
  min-width: 238px;

  overflow: hidden;

  display: block;

  border-radius: 25px;

  text-decoration: none;

  background: #dfe5e3;

  box-sizing: border-box;

  isolation: isolate;
}


/* =========================================
   TALL CARDS
========================================= */

.custom-service-tall {
  height: 375px;
}


/* =========================================
   MEDIUM CARDS
========================================= */

.custom-service-medium {
  height: 300px;

  margin-top: 48px;
}


/* =========================================
   IMAGE
========================================= */

.custom-service-card img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transform: scale(1);

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}


/* =========================================
   DARK GRADIENT
========================================= */

.custom-service-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(24, 70, 65, 0.92) 0%,
      rgba(24, 70, 65, 0.68) 22%,
      rgba(24, 70, 65, 0.25) 48%,
      rgba(24, 70, 65, 0) 75%
    );
}


/* =========================================
   SERVICE TITLE
========================================= */

.custom-service-title {
  position: absolute;

  z-index: 2;

  right: 18px;
  left: 18px;
  bottom: 18px;

  color: #ffffff;

  font-size: 18px;
  font-weight: 700;

  line-height: 1.45;

  text-align: center;

  direction: rtl;

  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.25);
}


/* =========================================
   CENTER TITLE CARD
========================================= */

.custom-services-heading {
  width: 238px;
  min-width: 238px;

  height: 157px;

  margin-top: 123px;

  border-radius: 25px;

  background: #d9dedc;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;
}


/* =========================================
   "خدماتنا"
========================================= */

.custom-services-heading span {
  color: #285c57;

  font-size: 21px;

  font-weight: 700;

  line-height: 1.4;

  text-align: center;
}


/* =========================================
   HOVER
========================================= */

.custom-service-card:hover img {
  transform: scale(1.045);
}

.custom-service-card:hover .custom-service-overlay {
  background:
    linear-gradient(
      to top,
      rgba(24, 70, 65, 0.96) 0%,
      rgba(24, 70, 65, 0.72) 24%,
      rgba(24, 70, 65, 0.28) 50%,
      rgba(24, 70, 65, 0) 75%
    );
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

  .custom-services-container {
    gap: 10px;
  }

  .custom-service-card,
  .custom-services-heading {
    width: calc((100vw - 80px) / 5);
    min-width: 0;
  }

  .custom-service-tall {
    height: 330px;
  }

  .custom-service-medium {
    height: 265px;
    margin-top: 42px;
  }

  .custom-services-heading {
    height: 140px;
    margin-top: 105px;
  }

  .custom-service-title {
    font-size: 16px;
    right: 12px;
    left: 12px;
    bottom: 15px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

  .custom-services-section {
    padding: 45px 15px;
  }

  .custom-services-container {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
  }


  /* العنوان */

  .custom-services-heading {

    width: 100%;
    min-width: 0;

    height: 125px;

    margin-top: 0;

    grid-column: 1 / -1;

    order: -1;
  }


  /* الكروت */

  .custom-service-card {

    width: 100%;
    min-width: 0;

    margin-top: 0;

    height: 280px;
  }


  .custom-service-tall {
    height: 320px;
  }


  .custom-service-medium {
    height: 280px;
  }


  .custom-service-title {

    font-size: 15px;

    line-height: 1.5;

    right: 12px;
    left: 12px;
    bottom: 15px;
  }


  .custom-services-heading span {
    font-size: 20px;
  }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .custom-services-section {
    padding: 35px 12px;
  }

  .custom-services-container {
    gap: 10px;
  }

  .custom-service-card {
    border-radius: 20px;
  }

  .custom-services-heading {
    height: 110px;
    border-radius: 20px;
  }

  .custom-service-tall {
    height: 270px;
  }

  .custom-service-medium {
    height: 240px;
  }

  .custom-service-title {
    font-size: 14px;
    line-height: 1.45;
  }
}