/* Add custom CSS styles below */ 
(function () {
  "use strict";

  // عرض البطاقات في صفحات المنتجات فقط
  if (!/\/p\d+(?:[/?#]|$)/.test(location.href)) return;

  const cards = [
    {
      icon: "clock",
      line1: "تنفيذ العمرة",
      line2: "حسب الباقة"
    },
    {
      icon: "video",
      line1: "توثيق مرئي",
      line2: "لمناسك العمرة"
    },
    {
      icon: "award",
      line1: "شهادة إتمام",
      line2: "وبطاقة إهداء"
    }
  ];

  const icons = {
    clock: `<circle cx="24" cy="24" r="19"/>
      <path d="M24 12v13l9 5"/>
      <path d="M24 5v4M43 24h-4M24 43v-4M5 24h4"/>`,

    video: `<rect x="5" y="11" width="31"
      height="27" rx="4"/>
      <path d="m36 19 10-6v23l-10-6"/>
      <path d="m17 19 11 6-11 6z"/>`,

    award: `<rect x="9" y="7" width="30"
      height="34" rx="3"/>
      <path d="M16 16h16M16 23h11"/>
      <circle cx="32" cy="34" r="8"/>
      <path d="m27 40-2 8 7-4 7 4-2-8"/>`
  };

  const css = `
    #thawab-benefits {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      width: 100%;
      margin: 24px 0;
      direction: rtl;
      font-family: inherit;
    }

    #thawab-benefits .thawab-benefit {
      background: #fffcf9;
      border: 1px solid #f0dfcd;
      border-radius: 16px;
      padding: 18px 8px;
      min-height: 145px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      text-align: center;
      box-sizing: border-box;
    }

    #thawab-benefits svg {
      width: 46px;
      height: 46px;
      fill: none;
      stroke: #c08748;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    #thawab-benefits .thawab-label {
      color: #242424;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.7;
    }

    @media (max-width: 480px) {
      #thawab-benefits {
        gap: 7px;
      }

      #thawab-benefits .thawab-benefit {
        padding: 14px 4px;
        min-height: 122px;
        gap: 10px;
        border-radius: 13px;
      }

      #thawab-benefits svg {
        width: 35px;
        height: 35px;
      }

      #thawab-benefits .thawab-label {
        font-size: 11px;
      }
    }
  `;

  function mount() {
    if (document.getElementById("thawab-benefits")) {
      return true;
    }

    const target = document.querySelector(
      ".product-single__info, " +
      ".product-single__details, " +
      ".product-single .product-details, " +
      ".product-single"
    );

    if (!target) return false;

    if (!document.getElementById("thawab-benefits-css")) {
      const style = document.createElement("style");
      style.id = "thawab-benefits-css";
      style.textContent = css;
      document.head.appendChild(style);
    }

    const container = document.createElement("section");
    container.id = "thawab-benefits";
    container.setAttribute("aria-label", "مميزات الخدمة");

    container.innerHTML = cards.map(card => `
      <div class="thawab-benefit">
        <svg viewBox="0 0 50 50"
             aria-hidden="true">
          ${icons[card.icon]}
        </svg>
        <div class="thawab-label">
          <div>${card.line1}</div>
          <div>${card.line2}</div>
        </div>
      </div>
    `).join("");

    target.appendChild(container);
    return true;
  }

  if (!mount()) {
    const observer = new MutationObserver(() => {
      if (mount()) observer.disconnect();
    });

    observer.observe(document.documentElement, {
      childList: true,
      subtree: true
    });
  }
})();

/* تنسيق زر طلب الخدمة */
salla-add-product-button .s-button-primary,
salla-add-product-button button,
.product-single .s-button-primary {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* تغيير لون النص والأيقونات */
salla-add-product-button button *,
.product-single .s-button-primary * {
    color: #FFFFFF !important;
    fill: currentColor;
}

/* عند تمرير المؤشر */
salla-add-product-button button:hover,
.product-single .s-button-primary:hover {
    background-color: #222222 !important;
    border-color: #222222 !important;
}


/* تقريب اسم المنتج من الصورة لأقصى حد */

#thawab-product-info-position {
    margin-top: 24px !important;
    padding-top: 0 !important;
    row-gap: 3px !important;
}

/* إزالة الفراغات أعلى اسم المنتج */
#thawab-product-info-position h1,
#thawab-product-info-position .product-single__title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* تقليل المسافة بين الاسم والعنوان الفرعي */
#thawab-product-info-position .product-subtitle,
#thawab-product-info-position .product-single__subtitle {
    margin: 0 !important;
    padding: 0 !important;
}

/* الجوال */
@media (max-width: 767px) {
    #thawab-product-info-position {
        margin-top: -24px !important;
        padding-top: 0 !important;
        gap: 2px !important;
    }
}

/* إزالة المسافة العلوية من معلومات المنتج */
.product-single__info {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* إزالة المسافة بين الصورة والاسم على الجوال */
@media (max-width: 767px) {
    .product-single__info,
    .product-single__info.mt-5,
    .product-single__info.sm\:mt-0 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* صندوق الاسم والعنوان والسعر */
    #thawab-product-info-position {
        margin-top: 0 !important;
        padding-top: 0 !important;
        gap: 3px !important;
    }
}


/* =====================================
   إهداء ثواب | تصميم تقييمات الخدمة
===================================== */

/* قسم التقييمات */
.product-single .comments,
.product-single .product-reviews,
.product-single .product-comments,
.product-single .reviews-section {
  background: #fff !important;
  direction: rtl;
}

/* عنوان التقييمات */
.product-single .comments h2,
.product-single .product-reviews h2,
.product-single .product-comments h2 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-align: center;
}

/* بطاقة كل تقييم */
.product-single .comment,
.product-single .comment-item,
.product-single .comments-item,
.product-single .review-item,
.product-single .s-reviews-item {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e5e8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 22px 5px !important;
  margin-bottom: 0 !important;
}

/* أسماء العملاء */
.product-single .comment-author,
.product-single .review-author,
.product-single .comment-user-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* تاريخ التقييم */
.product-single .comment-date,
.product-single .review-date {
  font-size: 13px !important;
  color: #333 !important;
}

/* النجوم */
.product-single .sicon-star,
.product-single .sicon-star2,
.product-single .sicon-star-fill {
  color: #ffb517 !important;
}

/* التعليق */
.product-single .comment-content,
.product-single .review-content,
.product-single .comment-text {
  color: #222 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
}

/* الجوال */
@media(max-width:767px) {
  .product-single .comment,
  .product-single .comment-item,
  .product-single .review-item {
    padding: 18px 3px !important;
  }
}


/* ==================================
   إهداء ثواب | قائمة وصف الخدمة
================================== */

#thawab-description-accordion {
    width: 100%;
    margin: 10px 0 18px !important;
    background: #ffffff;
    border: 1px solid #a99a89;
    border-radius: 12px;
    overflow: hidden;
    direction: rtl;
}

/* عنوان وصف الخدمة */
#thawab-description-accordion > summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f7f3ee !important;
    color: #000000 !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

/* إخفاء السهم الافتراضي */
#thawab-description-accordion > summary::-webkit-details-marker {
    display: none;
}

/* السهم الذهبي */
#thawab-description-accordion > summary::after {
    content: "⌄";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #b49268;
    color: #ffffff;
    font-size: 21px;
    transition: transform .2s ease;
}

/* تغيير اتجاه السهم عند الفتح */
#thawab-description-accordion[open] > summary::after {
    transform: rotate(180deg);
}

/* محتوى الوصف الأصلي */
#thawab-description-accordion #more-content {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
    padding: 16px !important;
    margin: 0 !important;
    background: #ffffff;
    line-height: 2;
}

/* الحفاظ على الصور */
#thawab-description-accordion img {
    max-width: 100%;
    height: auto;
}

/* إخفاء زر اقرأ المزيد القديم */
.product-single-top-description #btn-show-more {
    display: none !important;
}

/* الجوال */
@media (max-width: 767px) {
    #thawab-description-accordion > summary {
        padding: 12px 14px;
        font-size: 14px;
    }

    #thawab-description-accordion #more-content {
        padding: 14px !important;
    }
}


/* ===================================
  إهداء ثواب | تنسيق خيارات الخدمة
=================================== */

/* جميع مربعات الاختيارات */
.s-product-options-grid-mode-span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 34px;
    padding: 12px 15px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    color: #3a3028;
    background: #fff !important;
    border-radius: 12px !important;
    transition: all .2s ease;
}

/* المربع المحيط بالاختيار */
label:has(> .s-product-options-grid-mode-span),
label:has(.s-product-options-grid-mode-span) {
    border: 1px solid #e7d9c8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s ease;
}

/* عند تمرير الماوس */
label:has(.s-product-options-grid-mode-span):hover {
    border-color: #b49268 !important;
    box-shadow: 0 3px 12px rgba(180,146,104,.12);
    transform: translateY(-1px);
}

/* الاختيار المحدد */
label:has(input:checked)
.s-product-options-grid-mode-span {
    color: #fff !important;
    background: #b49268 !important;
}

/* إطار الاختيار المحدد */
label:has(input:checked):has(
.s-product-options-grid-mode-span) {
    border-color: #b49268 !important;
    background: #b49268 !important;
    box-shadow: 0 3px 12px rgba(180,146,104,.18);
}

/* تحسين العرض على الجوال */
@media(max-width:767px) {
    .s-product-options-grid-mode-span {
        font-size: 12px !important;
        min-height: 40px;
        padding: 10px 8px !important;
        border-radius: 10px !important;
    }
}


/* تكبير خط اختيارات المنتج */

/* الكمبيوتر */
.s-product-options-grid-mode-span {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
}

/* الجوال */
@media (max-width: 767px) {
    .s-product-options-grid-mode-span {
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.6 !important;
    }
}


/* إهداء ثواب - الحواف الدائرية لحقول الخدمة */

/* حقل الاسم المحدد */
html body input#option-533249944,
html body input.s-form-control[id^="option-"],
html body .s-product-options-wrapper input.s-form-control,
html body .s-product-options input[type="text"] {
    border-radius: 16px !important;
    -webkit-border-radius: 16px !important;
    border: 1px solid #D8C5AD !important;
    background-color: #FFFFFF !important;
    overflow: hidden !important;
    min-height: 44px !important;
    box-shadow: none !important;
}

/* عند الكتابة داخل الحقل */
html body input#option-533249944:focus,
html body input.s-form-control[id^="option-"]:focus {
    border-color: #B49268 !important;
    box-shadow: 0 0 0 3px rgba(180,146,104,.12) !important;
    outline: none !important;
}




/* إهداء ثواب | إخفاء مربع السعر السفلي فقط */

.product-single .product-price.product-price-bottom,
.product-price.product-price-bottom {
    display: none !important;
}



/* ======================================
   إهداء ثواب | عرض صورة المنتج كاملة
====================================== */

/* حاوية الصورة */
custom-salla-product-card .product-card__image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* رابط صورة المنتج */
custom-salla-product-card .product-card__image > a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
}

/* عرض الصورة بالكامل دون قص */
custom-salla-product-card .product-card__image img.main-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* الجوال */
@media (max-width: 767px) {
    custom-salla-product-card .product-card__image {
        aspect-ratio: 1 / 1 !important;
    }

    custom-salla-product-card .product-card__image img.main-image {
        object-fit: contain !important;
    }
}






/* إهداء ثواب | تدوير حواف زر إضافة الخدمة */

/* زر الشراء داخل بطاقة المنتج */
custom-salla-product-card
.product-card__enhanced-mini-cart
button.s-button-element {
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

/* تدوير حواف المكون الخارجي أيضًا */
custom-salla-product-card
.product-card__enhanced-mini-cart
salla-add-product-button,
custom-salla-product-card
.product-card__enhanced-mini-cart
salla-button {
    border-radius: 14px !important;
}

/* تأثير عند مرور المؤشر */
custom-salla-product-card
.product-card__enhanced-mini-cart
button.s-button-element:hover {
    border-radius: 14px !important;
}






/* إهداء ثواب | تنسيق السعر الحالي */

/* السعر الحالي بعد الخصم */
custom-salla-product-card
.product-card__price
.price_is_on_sale .total-price {
    color: #DC2626 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
}

/* تكبير رمز الريال مع السعر */
custom-salla-product-card
.product-card__price
.price_is_on_sale .total-price i {
    color: #DC2626 !important;
    font-size: 21px !important;
}

/* السعر السابق */
custom-salla-product-card
.product-card__price .before-price {
    color: #999999 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
}

/* للجوال */
@media (max-width: 767px) {
    custom-salla-product-card
    .product-card__price
    .price_is_on_sale .total-price {
        font-size: 21px !important;
    }

    custom-salla-product-card
    .product-card__price
    .price_is_on_sale .total-price i {
        font-size: 18px !important;
    }
}




/* إهداء ثواب | تكبير اسم المنتج باللون الأسود */

/* اسم المنتج داخل البطاقة */
custom-salla-product-card .product-card__title,
custom-salla-product-card .product-card__title a {
    color: #000000 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
}

/* عند تمرير المؤشر */
custom-salla-product-card .product-card__title a:hover {
    color: #000000 !important;
}

/* حجم مناسب للجوال */
@media (max-width: 767px) {
    custom-salla-product-card .product-card__title,
    custom-salla-product-card .product-card__title a {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}





/* ==========================================
   إهداء ثواب | توحيد بطاقات سطح المكتب
   مع تصميم بطاقات الجوال
========================================== */

@media (min-width: 768px) {

  /* عرض أربع بطاقات في الصف */
  salla-products-list
  .s-products-list-wrapper.s-products-list-vertical-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  /* إزالة الارتفاع الكبير للبطاقات */
  salla-products-list
  custom-salla-product-card.product-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #E8DAC8 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  /* حاوية صورة المنتج */
  salla-products-list
  custom-salla-product-card .product-card__image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #FFFFFF !important;
  }

  /* رابط الصورة */
  salla-products-list
  custom-salla-product-card .product-card__image > a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* إظهار الصورة كاملة */
  salla-products-list
  custom-salla-product-card .product-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* محتوى البطاقة */
  salla-products-list
  custom-salla-product-card .product-card__content {
    display: block !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 10px 5px !important;
    background: #FFFFFF !important;
  }

  /* ترتيب التفاصيل */
  salla-products-list
  custom-salla-product-card .product-card__content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  /* اسم المنتج */
  salla-products-list
  custom-salla-product-card .product-card__title,
  salla-products-list
  custom-salla-product-card .product-card__title a {
    color: #000000 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  /* العنوان الفرعي */
  salla-products-list
  custom-salla-product-card .product-card__subtitle {
    color: #777777 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  /* الأسعار */
  salla-products-list
  custom-salla-product-card .product-card__price {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 8px 0 2px !important;
  }

  /* السعر الحالي باللون الأحمر */
  salla-products-list
  custom-salla-product-card
  .product-card__price .total-price {
    color: #DC2626 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
  }

  /* السعر السابق */
  salla-products-list
  custom-salla-product-card
  .product-card__price .before-price {
    color: #999999 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
  }

  /* إخفاء الأزرار الإضافية */
  salla-products-list
  custom-salla-product-card .product-card__buttons,
  salla-products-list
  custom-salla-product-card .product-card__actions,
  salla-products-list
  custom-salla-product-card #thawab-service-benefits {
    display: none !important;
  }

  /* زر الخدمة مباشرة أسفل السعر */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart {
    display: block !important;
    position: static !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 6px 0 0 !important;
    padding: 5px 10px 12px !important;
    background: #FFFFFF !important;
  }

  /* إزالة الخط الفاصل */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart-divider {
    display: none !important;
  }

  /* زر أضف الخدمة */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart button.s-button-element {
    display: flex !important;
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
    align-items: center !important;
    background: #B49268 !important;
    border: 1px solid #B49268 !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  /* لون النص والأيقونة */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart button *,
  salla-products-list
  custom-salla-product-card .enhanced-label {
    color: #FFFFFF !important;
  }

  /* تحسين محاذاة النص والأيقونة */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart__btn--inner {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

}

/* الشاشات المتوسطة - 3 بطاقات */
@media (min-width: 768px) and (max-width: 1100px) {
  salla-products-list
  .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}


/* ==========================================
   إهداء ثواب | إصلاح قص زر أضف الخدمة
   على سطح المكتب
========================================== */

@media (min-width: 768px) {

  /* السماح لقائمة المنتجات بالتمدد عموديًا */
  salla-products-list,
  salla-products-list
  .s-products-list-wrapper.s-products-list-vertical-cards {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    align-items: start !important;
  }

  /* إزالة ارتفاع البطاقة المفروض من القالب */
  salla-products-list
  custom-salla-product-card.product-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    align-self: start !important;
  }

  /* منع ضغط المحتوى */
  salla-products-list
  custom-salla-product-card .product-card__content,
  salla-products-list
  custom-salla-product-card .product-card__content-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
  }

  /* منطقة زر الشراء */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-shrink: 0 !important;
    margin: 8px 0 0 !important;
    padding: 0 12px 12px !important;
    overflow: visible !important;
  }

  /* زر أضف الخدمة */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart
  button.s-button-element {
    display: flex !important;
    width: 100% !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    background: #B49268 !important;
    color: #FFFFFF !important;
    border: 1px solid #B49268 !important;
  }

}



/* ==========================================
   إهداء ثواب | إلغاء حركة بطاقات سيليا
   وإظهار زر أضف الخدمة دائمًا
========================================== */

@media (min-width: 768px) {

  /* إلغاء حركة البطاقة بالكامل */
  salla-products-list
  custom-salla-product-card.product-card,
  salla-products-list
  custom-salla-product-card.product-card:hover {
    transform: none !important;
    translate: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* إلغاء حركة عناصر البطاقة الداخلية */
  salla-products-list
  custom-salla-product-card .product-card__content,
  salla-products-list
  custom-salla-product-card .product-card__content-wrapper,
  salla-products-list
  custom-salla-product-card .product-card__enhanced-mini-cart {
    transform: none !important;
    translate: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* إلغاء حركة البطاقة عند تمرير الماوس */
  salla-products-list
  custom-salla-product-card:hover .product-card__content,
  salla-products-list
  custom-salla-product-card:hover .product-card__content-wrapper,
  salla-products-list
  custom-salla-product-card:hover .product-card__enhanced-mini-cart {
    transform: none !important;
    translate: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* إلغاء نظام الإخفاء والحركة لزر الشراء */
  salla-products-list
  custom-salla-product-card.product-card
  .product-card__enhanced-mini-cart,
  salla-products-list
  custom-salla-product-card.product-card:hover
  .product-card__enhanced-mini-cart {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    bottom: auto !important;
    top: auto !important;
    margin: 8px 0 0 !important;
    padding: 0 10px 12px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* جعل محتوى البطاقة بارتفاع تلقائي */
  salla-products-list
  custom-salla-product-card .product-card__content,
  salla-products-list
  custom-salla-product-card .product-card__content-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* التأكد من ظهور زر أضف الخدمة */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart
  salla-add-product-button,
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart
  salla-button,
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart
  button.s-button-element {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  /* تثبيت مظهر الزر الذهبي */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart
  button.s-button-element {
    width: 100% !important;
    min-height: 42px !important;
    background: #B49268 !important;
    border: 1px solid #B49268 !important;
    border-radius: 12px !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
  }

  /* إلغاء تكبير الصورة عند المرور */
  salla-products-list
  custom-salla-product-card:hover
  .product-card__image img {
    transform: none !important;
  }

}


/* ======================================
   إهداء ثواب | إصلاح قص زر أضف الخدمة
   قالب سيليا - سطح المكتب
====================================== */

@media (min-width: 768px) {

  /* إلغاء الارتفاع الثابت للبطاقة */
  salla-products-list
  custom-salla-product-card.product-card--fit-height {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
  }

  /* الحفاظ على الحواف الدائرية للصورة */
  salla-products-list
  custom-salla-product-card .product-card__image {
    border-radius: 14px 14px 0 0 !important;
    overflow: hidden !important;
  }

  /* السماح للمحتوى بالتمدد */
  salla-products-list
  custom-salla-product-card .product-card__content,
  salla-products-list
  custom-salla-product-card .product-card__content-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    transform: none !important;
  }

  /* منع أي إخفاء لزر الخدمة */
  salla-products-list
  custom-salla-product-card .product-card__enhanced-mini-cart {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 54px !important;
    margin: 8px 0 0 !important;
    padding: 0 10px 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    transition: none !important;
  }

  /* إظهار مكوّن الزر بكامل العرض */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart salla-add-product-button,
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart salla-button,
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart .s-button-wrap {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* الزر الذهبي */
  salla-products-list
  custom-salla-product-card
  .product-card__enhanced-mini-cart button.s-button-element {
    display: flex !important;
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    background: #B49268 !important;
    border: 1px solid #B49268 !important;
    color: #FFFFFF !important;
    transform: none !important;
  }

  /* تثبيت جميع البطاقات */
  salla-products-list
  custom-salla-product-card.product-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}





/* إهداء ثواب | إخفاء أيقونة البحث في الجوال فقط */

@media (max-width: 767px) {
    .header-btn__icon.sicon-search {
        display: none !important;
    }
}



/* إخفاء زر القائمة وحاويته في الجوال */
@media (max-width: 767px) {
    button:has(> .sicon-menu.text-2xl),
    a:has(> .sicon-menu.text-2xl) {
        display: none !important;
    }
}




/* إهداء ثواب | السجل التجاري وتوثيق الأعمال */

.thawab-footer-verifications {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 15px auto !important;
}

.thawab-footer-verifications > * {
    flex: 0 1 220px !important;
    min-width: 0 !important;
    text-align: center !important;
}

/* السجل التجاري - اليمين */
.thawab-footer-verifications salla-trust-badges {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

.thawab-footer-verifications .s-trust-badges-image {
    width: 55px !important;
    height: 55px !important;
    object-fit: contain !important;
}

/* المركز السعودي للأعمال - اليسار */
.thawab-footer-verifications
.store-footer__sbc-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
}

.thawab-footer-verifications
.store-footer__sbc-link img {
    width: 70px !important;
    height: 55px !important;
    margin: 0 auto 5px !important;
    object-fit: contain !important;
}

/* أرقام التوثيق */
.thawab-footer-verifications
.s-trust-badges-number,
.thawab-footer-verifications
.store-footer__sbc-number {
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* الجوال */
@media (max-width: 767px) {
    .thawab-footer-verifications {
        gap: 10px !important;
        padding: 10px 5px !important;
    }

    .thawab-footer-verifications > * {
        flex: 1 1 0 !important;
    }

    .thawab-footer-verifications
    .s-trust-badges-label,
    .thawab-footer-verifications
    .store-footer__sbc-link {
        font-size: 11px !important;
    }

    .thawab-footer-verifications
    .s-trust-badges-number,
    .thawab-footer-verifications
    .store-footer__sbc-number {
        font-size: 11px !important;
    }
}




/* إخفاء قسم التطبيقات من الفوتر بالكامل */
[data-selia="footer-apps-section"] {
    display: none !important;
}





/* ==========================================
   إهداء ثواب | تقليل المسافات في الفوتر
   قالب سيليا - الجوال والكمبيوتر
========================================== */

/* تقليل المسافات بين أعمدة الفوتر */
.store-footer__grid {
    gap: 12px !important;
    row-gap: 12px !important;
    align-items: start !important;
}

/* إزالة الإزاحة السالبة للشعار */
.store-footer__brand {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* تقريب الشعار من الوصف */
.store-footer__logo-link {
    margin: 0 auto !important;
    padding: 0 !important;
}

.store-footer__logo-link img {
    display: block !important;
    max-height: 100px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* تقليل المسافة حول الوصف */
.store-footer__brand .footer-description {
    margin: 6px auto 8px !important;
    padding: 0 !important;
    line-height: 1.7 !important;
    max-width: 400px !important;
}

/* تقريب شهادات التوثيق من الوصف */
.store-footer__brand .footer-badges {
    margin: 0 !important;
    padding: 0 !important;
}

/* السجل التجاري والتوثيق في صف واحد */
.store-footer__brand .thawab-footer-verifications {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    width: 70% !important;
    margin: 4px 0 !important;
    padding: 0 !important;
}

.store-footer__brand .thawab-footer-verifications > * {
    flex: 0 1 180px !important;
    min-width: 0 !important;
}

/* تصغير المسافات داخل شهادات التوثيق */
.store-footer__brand salla-trust-badges,
.store-footer__brand [data-selia="footer-sbc-number"] {
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* تصغير هوامش صورة التوثيق */
.store-footer__brand
[data-selia="footer-sbc-number"] img {
    margin: 0 auto 3px !important;
}

/* إزالة الصف الفارغ تحت التوثيق */
.store-footer__brand .store-footer__locale-row:empty {
    display: none !important;
}

/* إخفاء قسم التطبيقات الفارغ */
.store-footer__grid
[data-selia="footer-apps-section"]:not(:has(*:not(.store-footer__sbc))) {
    display: none !important;
}

/* إخفاء قسم التطبيقات إذا كانت حاوية التوثيق فارغة */
.store-footer__grid
[data-selia="footer-apps-section"]:has(.store-footer__sbc:empty) {
    display: none !important;
}

/* روابط الفوتر */
.store-footer__menu {
    margin: 0 !important;
    padding: 0 !important;
}

.store-footer__menu-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

/* تقليل المسافات بين الروابط */
.store-footer__menu .store-links-items {
    margin: 0 !important;
    padding: 0 !important;
}

.store-footer__menu .store-links-items li {
    margin: 0 0 7px !important;
    padding: 0 !important;
}

.store-footer__menu .store-footer__menu-link {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

/* إخفاء رابط المدونة الفارغ */
.store-footer__menu
.store-links-items li:has(a[href$="/blog"]:empty) {
    display: none !important;
}

/* الجوال */
@media (max-width: 767px) {

    .store-footer__grid {
        gap: 10px !important;
        row-gap: 10px !important;
    }

    .store-footer__brand .footer-description {
        margin: 5px auto 7px !important;
        line-height: 1.6 !important;
    }

    .store-footer__brand
    .thawab-footer-verifications {
        gap: 10px !important;
        margin: 0 !important;
    }

    .store-footer__menu-title {
        margin-bottom: 6px !important;
    }

    .store-footer__menu .store-links-items li {
        margin-bottom: 5px !important;
    }
}




/* زيادة المسافة بين الشعار والوصف */
.store-footer__brand .footer-description {
    margin-top: 50px !important;
    margin-bottom: 8px !important;
}

/* للجوال */
@media (max-width: 767px) {
    .store-footer__brand .footer-description {
        margin-top: 50px !important;
    }
}



/* تقريب شعار المتجر من الوصف */
.store-footer__brand
a[data-selia="footer-logo-link"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* إزالة أي فراغ إضافي أسفل صورة الشعار */
.store-footer__brand
a[data-selia="footer-logo-link"] img {
    display: block !important;
    margin: 0 auto !important;
}

/* ضبط المسافة بين الشعار والوصف والتوثيق */
.store-footer__brand
p.footer-description {
    margin: 8px auto 12px !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

/* إزالة الفراغات الإضافية حول التوثيق */
.store-footer__brand .footer-badges {
    margin: 0 !important;
    padding: 0 !important;
}







/* =====================================
   إهداء ثواب | قائمة روابط مهمة المنسدلة
===================================== */

/* صندوق القائمة */
.store-footer__menu[data-selia="footer-links-column"] {
    width: 100% !important;
    max-width: 450px !important;
    margin: 10px auto !important;
    padding: 0 !important;
    border: 1px solid #888888 !important;
    border-radius: 10px !important;
    background: transparent !important;
    overflow: hidden !important;
}

/* عنوان القائمة */
.store-footer__menu .footer-collapse__header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 12px 50px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    background: transparent !important;
    cursor: pointer !important;
    text-align: center !important;
    border: 0 !important;
}

/* السهم داخل دائرة ذهبية على اليسار */
.store-footer__menu .footer-collapse__arrow {
    position: absolute !important;
    left: 18px !important;
    right: auto !important;
    top: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #B49268 !important;
    color: #333333 !important;
    font-size: 15px !important;
    transform: translateY(-50%) !important;
    transition: none !important;
}

/* الفاصل عند فتح القائمة */
.store-footer__menu
.footer-collapse__header[aria-expanded="true"] {
    border-bottom: 1px solid #E5D9CB !important;
}

/* منطقة الروابط */
.store-footer__menu .footer-collapse__body {
    padding: 8px 15px 12px !important;
    text-align: center !important;
}

/* الروابط */
.store-footer__menu .store-footer__menu-link {
    display: block !important;
    margin: 0 !important;
    padding: 9px 6px !important;
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* فواصل بين الروابط */
.store-footer__menu .store-links-items li + li {
    border-top: 1px solid #EBE4DB !important;
}

/* إخفاء رابط المدونة الفارغ */
.store-footer__menu
.store-links-items li:has(a[href$="/blog"]:empty) {
    display: none !important;
}

/* للجوال */
@media (max-width: 767px) {
    .store-footer__menu[data-selia="footer-links-column"] {
        max-width: 100% !important;
    }

    .store-footer__menu .footer-collapse__header {
        font-size: 14px !important;
        min-height: 48px !important;
    }
}






/* إهداء ثواب | تنسيق النجوم الزخرفية */

custom-salla-product-card .thawab-stars {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    color: #F5B301 !important;
    font-size: 21px !important;
    font-weight: bold !important;
    letter-spacing: 3px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 6px 0 4px !important;
    padding: 0 !important;
}

/* الجوال */
@media (max-width: 767px) {
    custom-salla-product-card .thawab-stars {
        font-size: 16px !important;
        letter-spacing: 2px !important;
        margin: 4px 0 !important;
    }
}



/* تصغير أزرار التسجيل الصوتي */
#thawab-voice-recorder button {
  padding: 7px 12px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  border-radius: 7px !important;
  width: auto !important;
  min-height: 32px !important;
  flex: 0 0 auto !important;
}

/* توسيط أزرار بدء وإيقاف التسجيل */
#thawab-voice-recorder .thawab-voice-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

/* تصغير زر حفظ التسجيل */
#thawab-upload {
  display: block !important;
  width: fit-content !important;
  margin: 10px auto !important;
  padding: 8px 14px !important;
}


/* توسيط عنوان التسجيل الصوتي */
#thawab-voice-recorder .s-product-options-option-label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  gap: 5px !important;
}

#thawab-voice-recorder .s-product-options-option-label b {
  display: block !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

#thawab-voice-recorder .s-product-options-option-label small {
  display: block !important;
  text-align: center !important;
}


/* توسيط وصف التسجيل الصوتي */
#thawab-voice-recorder .thawab-voice-box p {
  text-align: center !important;
  width: 100% !important;
  margin: 10px auto !important;
  font-size: 13px !important;
  color: #64748b !important;
}

/* جعل الأزرار في صف واحد */
#thawab-voice-recorder .thawab-voice-box {
  text-align: center !important;
}

/* وضع أزرار البدء والإيقاف في صف */
#thawab-voice-recorder .thawab-voice-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: nowrap !important;
}

/* تصغير الأزرار */
#thawab-voice-recorder button {
  padding: 7px 10px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
  min-height: 32px !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

/* زر الحفظ يظهر بجانب أزرار التسجيل */
#thawab-upload {
  display: inline-block !important;
  width: auto !important;
  margin: 8px auto !important;
}


/* تنسيق زر إرسال الصوتية */
#thawab-voice-recorder #thawab-upload {
  background-color: var(--color-primary, #176b57) !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 14px !important;
}

/* لون النص والأيقونة داخل الزر */
#thawab-voice-recorder #thawab-upload * {
  color: #000000 !important;
}

/* عند تمرير الماوس */
#thawab-voice-recorder #thawab-upload:hover:not(:disabled) {
  filter: brightness(0.95);
}






/* ====================================
   إهداء ثواب | إزالة الفراغ العلوي
   لقسم منتجات عمرة البدل
==================================== */

/* إزالة المسافة أعلى القسم */
section[component-id="1940213584"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* إزالة أي فراغ أعلى عنوان القسم */
section[component-id="1940213584"]
.home-block-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ضبط المسافة بين العنوان والمنتجات */
section[component-id="1940213584"]
.home-block-title {
    margin-bottom: 15px !important;
}

/* إزالة المسافات العلوية من قائمة المنتجات */
section[component-id="1940213584"]
salla-products-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* الجوال */
@media (max-width: 767px) {
    section[component-id="1940213584"] {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    section[component-id="1940213584"]
    .home-block-title {
        margin-bottom: 1px !important;
    }
}







/* ======================================
   إهداء ثواب | تحويل السلة إلى زر ذهبي
====================================== */

/* إزالة الهوامش الخارجية الزائدة */
salla-cart-summary.header__cart-summary {
    margin-inline: 0 !important;
}

/* زر السلة */
salla-cart-summary .s-cart-summary-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;

    background: #B49268 !important;
    color: #FFFFFF !important;
    border: 1px solid #B49268 !important;
    border-radius: 12px !important;

    padding: 10px 16px !important;
    min-height: 40px !important;
    width: auto !important;

    text-decoration: none !important;
    transition: background 0.2s ease !important;
}

/* لون الزر عند المرور */
salla-cart-summary .s-cart-summary-wrapper:hover {
    background: #9A7850 !important;
    border-color: #9A7850 !important;
}

/* حاوية الأيقونة */
salla-cart-summary #s-cart-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* أيقونة السلة باللون الأبيض */
salla-cart-summary .sicon-cart,
salla-cart-summary .s-cart-summary-icon,
salla-cart-summary #s-cart-icon svg {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    font-size: 21px !important;
}

/* إظهار كلمة السلة */
salla-cart-summary .thawab-cart-label {
    display: inline-block !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

/* إخفاء إجمالي المبلغ فقط */
salla-cart-summary .s-cart-summary-content {
    display: none !important;
}

/* تنسيق عداد السلة */
salla-cart-summary .s-cart-summary-count {
    background: #FFFFFF !important;
    color: #B49268 !important;
    border-radius: 50% !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    text-align: center !important;
}

/* الجوال */
@media (max-width: 767px) {
    salla-cart-summary .s-cart-summary-wrapper {
        padding: 8px 11px !important;
        min-height: 38px !important;
        gap: 6px !important;
        border-radius: 10px !important;
    }

    salla-cart-summary .thawab-cart-label {
        font-size: 12px !important;
    }

    salla-cart-summary .sicon-cart {
        font-size: 18px !important;
    }
}


/* تصغير ارتفاع زر السلة */
salla-cart-summary .s-cart-summary-wrapper {
    min-height: 32px !important;
    height: 32px !important;
    padding: 4px 12px !important;
    gap: 6px !important;
    border-radius: 8px !important;
}

/* ضبط حجم الأيقونة */
salla-cart-summary .sicon-cart {
    font-size: 17px !important;
}

/* ضبط حجم النص */
salla-cart-summary .thawab-cart-label {
    font-size: 13px !important;
}

/* الجوال */
@media (max-width: 767px) {
    salla-cart-summary .s-cart-summary-wrapper {
        min-height: 30px !important;
        height: 30px !important;
        padding: 3px 10px !important;
    }
}






/* إهداء ثواب | إلغاء شريط الشراء الثابت */

section.sticky-product-bar.thawab-inline-purchase,
section.sticky-product-bar.thawab-inline-purchase:hover {
    display: block !important;

    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    top: auto !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;

    transform: none !important;
    translate: none !important;
    transition: none !important;
    animation: none !important;

    visibility: visible !important;
    opacity: 1 !important;

    margin: 14px 0 0 !important;
    padding: 15px !important;

    border-radius: 12px !important;
    box-shadow: none !important;
    z-index: auto !important;
}

/* ترتيب الكمية */
.thawab-inline-purchase
.sticky-product-bar__quantity {
    margin-bottom: 12px !important;
}

/* زر إضافة الخدمة */
.thawab-inline-purchase
.sticky-product-bar__btn {
    margin-top: 10px !important;
}

/* منع شريط الشراء من الالتصاق بأسفل الجوال */
@media (max-width: 767px) {
    section.sticky-product-bar.thawab-inline-purchase {
        position: static !important;
        bottom: auto !important;
        margin-top: 12px !important;
        padding: 12px !important;
    }
}







/* ==========================================
   إهداء ثواب | شريط التنقل السفلي
   الرئيسية - حسابي - سلة الطلبات
========================================== */

@media (max-width: 767px) {

  /* إخفاء الأقسام والمفضلة والبحث */
  .selia-bottom-nav .selia-bottom-nav-menu,
  .selia-bottom-nav .selia-bottom-nav-wishlist,
  .selia-bottom-nav .selia-bottom-nav-search {
    display: none !important;
  }

  /* توزيع العناصر الثلاثة */
  .selia-bottom-nav .selia-bottom-nav-items {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 100% !important;
    gap: 0 !important;
    padding: 5px 8px !important;
  }

  /* عرض متساوٍ لكل عنصر */
  .selia-bottom-nav .selia-bottom-nav-home,
  .selia-bottom-nav .selia-bottom-nav-user,
  .selia-bottom-nav .selia-bottom-nav-cart {
    display: flex !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* الأيقونات والعناوين */
  .selia-bottom-nav .selia-bottom-nav-icon {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 5px 2px !important;
  }

  /* إظهار أيقونة الحساب */
  .selia-bottom-nav .selia-bottom-nav-user
  .s-user-menu-trigger-avatar {
    width: 23px !important;
    height: 23px !important;
    object-fit: cover !important;
  }

  /* اسم السلة في الشريط السفلي */
  .selia-bottom-nav .selia-bottom-nav-cart
  .thawab-cart-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }

  /* منع ظهور تصميم زر السلة الذهبي داخل الشريط السفلي */
  .selia-bottom-nav .selia-bottom-nav-cart
  .s-cart-summary-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 5px 2px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    gap: 4px !important;
  }

  /* تنسيق أيقونة السلة */
  .selia-bottom-nav .selia-bottom-nav-cart
  .sicon-cart {
    color: #B49268 !important;
    font-size: 21px !important;
  }

  /* تنسيق عنوان السلة */
  .selia-bottom-nav .selia-bottom-nav-cart
  .thawab-cart-label {
    color: inherit !important;
  }

  /* إزالة إجمالي السعر من الشريط السفلي */
  .selia-bottom-nav .selia-bottom-nav-cart
  .s-cart-summary-content {
    display: none !important;
  }
}



















/* ========================================
   إهداء ثواب | إصلاح نص زر أضف إلى السلة
======================================== */

/* إظهار النص المخفي */
.sticky-product-bar
.s-add-product-button-main
.s-add-product-button-sr-only {
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ترتيب أيقونة السلة والعبارة */
.sticky-product-bar
.s-add-product-button-main
.s-button-text {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
}

/* أيقونة السلة */
.sticky-product-bar
.s-add-product-button-main
.s-button-text > svg {
    display: inline-block !important;
    width: 19px !important;
    height: 19px !important;
    fill: #FFFFFF !important;
    flex-shrink: 0 !important;
}

/* إظهار النص باللون الأبيض */
.sticky-product-bar
.s-add-product-button-main
.thawab-cart-button-label {
    display: inline-block !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* زر إضافة السلة العريض */
.sticky-product-bar
.s-add-product-button-main > salla-button
button.s-button-element {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    color: #FFFFFF !important;
}

/* الجوال */
@media (max-width: 767px) {
    .sticky-product-bar
    .s-add-product-button-main
    .s-add-product-button-sr-only,
    .sticky-product-bar
    .s-add-product-button-main
    .thawab-cart-button-label {
        font-size: 12px !important;
    }

    .sticky-product-bar
    .s-add-product-button-main
    .s-button-text {
        gap: 5px !important;
    }
}





/* ==========================================
   إهداء ثواب | إزالة الفراغ أسفل صفحة المنتج
========================================== */

@media (max-width: 767px) {

    /* إزالة المساحة الإضافية أسفل الفوتر */
    body.product-single .store-footer {
        margin-bottom: 0 !important;
    }

    /* إلغاء المساحة المحجوزة لشريط الشراء القديم */
    body.product-single.is-sticky-product-bar {
        padding-bottom: 0 !important;
    }

    /* إزالة الحشوة الإضافية لحاوية الصفحة */
    body.product-single .app-inner {
        padding-bottom: 0 !important;
    }

    /* الحفاظ على شريط التنقل السفلي ثابتًا */
    body.product-single .selia-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
    }
}


/* =========================================
   إهداء ثواب | منع تداخل الفوتر مع القائمة
========================================= */

@media (max-width: 767px) {

    /* عدم إنشاء فراغ خارج الفوتر */
    body.product-single footer.store-footer {
        margin-bottom: 0 !important;
    }

    /* توفير مساحة داخل الفوتر لشريط التنقل */
    body.product-single
    .footer-bottom
    .store-footer__bottom-inner {
        padding-top: 12px !important;
        padding-bottom: calc(
            82px + env(safe-area-inset-bottom, 0px)
        ) !important;
    }

    /* إبقاء شريط التنقل ثابتًا */
    body.product-single .selia-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
    }
}




/* إهداء ثواب | تنسيق عدد مرات الشراء */

.thawab-demo-sold {
    width: 100%;
    margin: 12px 0 !important;
    padding: 12px 14px !important;
    background: #fff8f5;
    border: 1px solid #fee2e2;
    border-radius: 10px;
    direction: rtl;
}

.thawab-demo-sold .details__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.thawab-demo-sold .details__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    font-size: 14px;
    font-weight: 700;
}

.thawab-demo-sold .sicon-fire {
    font-size: 18px;
    color: #ef4444;
}

.thawab-demo-sold .details__title small {
    display: block;
    color: #888;
    font-size: 10px;
    font-weight: 400;
}

.thawab-demo-sold .sold-count {
    color: #ef4444;
    font-size: 15px;
    font-weight: 800;
    direction: ltr;
}





/* ==========================================
   إهداء ثواب | إخفاء وسوم المقالات
   دون حذف الروابط من HTML
========================================== */

/* إخفاء حاوية الوسوم بالكامل */
div.p-4.flex.flex-wrap.items-center.border-t.border-gray-200:has(
    > a[href*="/tag-"]
) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}





/* إهداء ثواب | إخفاء كاتب المقال فقط */

/* إخفاء اسم الكاتب وأيقونته */
body a[href*="/blog/author/"] {
    display: none !important;
}

/* منع ترك مسافة فارغة مكان الكاتب */
body a[href*="/blog/author/"] {
    margin: 0 !important;
    padding: 0 !important;
}







/* ==========================================
   إهداء ثواب | آراء العملاء بأسلوب تعليقات سلة
   يعتمد على التقييمات الأصلية
========================================== */

/* السلايدر */
salla-slider.reviews-slider {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 25px !important;
}

/* مساواة ارتفاع البطاقات */
.reviews-slider .swiper-wrapper {
    align-items: stretch !important;
}

.reviews-slider .review.swiper-slide {
    display: flex !important;
    height: auto !important;
    padding: 5px 3px 12px !important;
    box-sizing: border-box !important;
}

/* بطاقة التقييم */
.reviews-slider .reviews__card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 210px !important;
    padding: 20px !important;
    background: #FFFFFF !important;
    border: 1px solid #E8E3DC !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.04) !important;
    direction: rtl !important;
    text-align: right !important;
    overflow: hidden !important;
}

/* نقل بيانات العميل إلى أعلى البطاقة بصريًا */
.reviews-slider .reviews__author {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #F1EBE4 !important;
}

/* صورة العميل */
.reviews-slider .reviews__avatar {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 1px solid #EADCCB !important;
    background: #F8F5F0 !important;
    margin: 0 !important;
}

/* بيانات العميل */
.reviews-slider .reviews__author-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* الاسم */
.reviews-slider .reviews__author-name {
    color: #292524 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
}

/* نجوم التقييم الفعلية */
.reviews-slider .comment__rating {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.reviews-slider .comment__rating i {
    color: #D5A24C !important;
    font-size: 15px !important;
    margin: 0 !important;
}

/* محتوى التعليق أسفل بيانات العميل */
.reviews-slider .reviews__text-wrap {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 16px 0 0 !important;
}

/* نص التعليق */
.reviews-slider .reviews__text {
    color: #44403C !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
    text-align: right !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    margin: 0 !important;
}

/* اقرأ المزيد */
.reviews-slider .reviews__read-more {
    color: #A47C50 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    cursor: pointer !important;
}

/* إخفاء زخرفة الاقتباس السابقة */
.reviews-slider .reviews__card > .sicon-quote {
    display: none !important;
}

/* شريط تمرير السلايدر */
.reviews-slider .swiper-scrollbar {
    height: 4px !important;
    background: #EDE8E1 !important;
    border-radius: 10px !important;
}

.reviews-slider .swiper-scrollbar-drag {
    background: #B49268 !important;
    border-radius: 10px !important;
}

/* تأثير مرور المؤشر */
@media (hover: hover) {
    .reviews-slider .reviews__card:hover {
        border-color: #D9C4A6 !important;
        box-shadow: 0 5px 18px rgba(0,0,0,.07) !important;
    }
}

/* الجوال */
@media (max-width: 767px) {

    .reviews-slider .reviews__card {
        min-height: 190px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .reviews-slider .reviews__author {
        gap: 10px !important;
        padding-bottom: 12px !important;
    }

    .reviews-slider .reviews__avatar {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    .reviews-slider .reviews__author-name {
        font-size: 13px !important;
    }

    .reviews-slider .comment__rating i {
        font-size: 13px !important;
    }

    .reviews-slider .reviews__text-wrap {
        padding-top: 12px !important;
    }

    .reviews-slider .reviews__text {
        font-size: 13px !important;
        line-height: 1.9 !important;
    }
}





/* ==========================================
   إهداء ثواب | تقليل فراغات آراء العملاء
========================================== */

/* المسافات أعلى وأسفل القسم */
.s-block--custom-reviews {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* تقليل المسافة تحت العنوان */
.s-block--custom-reviews .home-block-title {
    margin-bottom: 10px !important;
}

.s-block--custom-reviews .reviews__title {
    margin-top: 0 !important;
    margin-bottom: 2px !important;
}

.s-block--custom-reviews .reviews__subtitle {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
}

.s-block--custom-reviews .enhanced-title-border {
    margin: 7px auto 10px !important;
}

/* تقليل المساحة حول السلايدر */
salla-slider.reviews-slider {
    padding: 0 0 12px !important;
}

/* إلغاء فرض ارتفاع موحد للبطاقات */
.reviews-slider .swiper-wrapper {
    align-items: flex-start !important;
}

.reviews-slider .review.swiper-slide {
    height: auto !important;
    align-self: flex-start !important;
    padding: 2px 2px 6px !important;
}

/* حجم البطاقة حسب محتواها */
.reviews-slider .reviews__card {
    height: auto !important;
    min-height: 0 !important;
    padding: 15px !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

/* تقليل المسافات حول معلومات العميل */
.reviews-slider .reviews__author {
    margin: 0 !important;
    padding: 0 0 9px !important;
    gap: 9px !important;
}

/* تصغير الصورة قليلًا */
.reviews-slider .reviews__avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

/* تقليل الفراغ بين الاسم والنجوم */
.reviews-slider .reviews__author-info {
    gap: 3px !important;
}

.reviews-slider .reviews__author-name {
    margin: 0 !important;
    line-height: 1.4 !important;
}

.reviews-slider .comment__rating {
    margin: 0 !important;
    gap: 3px !important;
}

/* إزالة التمدد الذي يسبب الفراغ */
.reviews-slider .reviews__text-wrap {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
}

/* النص */
.reviews-slider .reviews__text {
    margin: 0 !important;
    line-height: 1.8 !important;
}

/* الجوال */
@media (max-width: 767px) {

    .s-block--custom-reviews {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    .reviews-slider .reviews__card {
        min-height: 0 !important;
        padding: 12px !important;
    }

    .reviews-slider .reviews__author {
        padding-bottom: 8px !important;
        gap: 8px !important;
    }

    .reviews-slider .reviews__avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .reviews-slider .reviews__text-wrap {
        padding-top: 8px !important;
    }

    .reviews-slider .reviews__text {
        font-size: 13px !important;
        line-height: 1.75 !important;
    }
}

/* ==========================================
   إهداء ثواب | آراء العملاء بشكل عمودي
========================================== */

/* القسم */
.s-block--custom-reviews.thawab-reviews-vertical {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* إزالة عرض السلايدر الأفقي */
.s-block--custom-reviews.thawab-reviews-vertical .reviews-slider,
.s-block--custom-reviews.thawab-reviews-vertical .reviews-slider .swiper,
.s-block--custom-reviews.thawab-reviews-vertical .reviews-slider .s-slider-container {
    width: 100% !important;
    overflow: visible !important;
}

/* جعل العناصر عمودية */
.s-block--custom-reviews.thawab-reviews-vertical .reviews-slider .swiper-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    transform: none !important;
    height: auto !important;
}

/* كل تقييم */
.s-block--custom-reviews.thawab-reviews-vertical .reviews-slider .review.swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
}

/* إخفاء شريط السحب */
.s-block--custom-reviews.thawab-reviews-vertical .reviews-slider .swiper-scrollbar {
    display: none !important;
}

/* البطاقة نفسها */
.s-block--custom-reviews.thawab-reviews-vertical .reviews__card {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.05) !important;
    border: 1px solid #eee7df !important;
    background: #ffffff !important;
}

/* تقليل المسافات */
.s-block--custom-reviews.thawab-reviews-vertical .reviews__author {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1ece6 !important;
    gap: 10px !important;
}

.s-block--custom-reviews.thawab-reviews-vertical .reviews__author-name {
    margin-bottom: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.s-block--custom-reviews.thawab-reviews-vertical .comment__rating {
    margin-bottom: 0 !important;
}

.s-block--custom-reviews.thawab-reviews-vertical .reviews__text-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.s-block--custom-reviews.thawab-reviews-vertical .reviews__text {
    margin: 0 !important;
    line-height: 1.9 !important;
    font-size: 14px !important;
}

/* إخفاء الاقتباس إن أردت شكل أنظف */
.s-block--custom-reviews.thawab-reviews-vertical .sicon-quote {
    display: none !important;
}

/* زر عرض المزيد */
.thawab-reviews-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.thawab-reviews-more-btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: var(--store-primary, #b49268);
    color: #fff;
    transition: opacity .2s ease;
}

.thawab-reviews-more-btn:hover {
    opacity: .9;
}

/* الجوال */
@media (max-width: 767px) {
    .s-block--custom-reviews.thawab-reviews-vertical .reviews-slider .swiper-wrapper {
        gap: 10px !important;
    }

    .s-block--custom-reviews.thawab-reviews-vertical .reviews__card {
        padding: 13px !important;
        border-radius: 12px !important;
    }

    .s-block--custom-reviews.thawab-reviews-vertical .reviews__text {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }

    .thawab-reviews-more-btn {
        font-size: 13px;
        padding: 9px 16px;
    }
}




/* ==========================================
   إهداء ثواب | تقليل مسافات قسم الفيديو
========================================== */

/* القسم الخاص بفيديو الحكم الشرعي فقط */
section.s-block--bundle-video-showcase[component-id="1767416566"] {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* إزالة المسافات الخارجية من عنصر الفيديو */
section.s-block--bundle-video-showcase[component-id="1767416566"]
salla-video-showcase-zj5uee {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* تقليل المسافة مع القسم التالي */
section.s-block--bundle-video-showcase[component-id="1767416566"]
+ .s-block {
    margin-top: 0 !important;
}

/* ضبط الجوال */
@media (max-width: 767px) {
    section.s-block--bundle-video-showcase[component-id="1767416566"] {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }
}





/* ==========================================
   إهداء ثواب | شريط واتساب فوق التنقل السفلي
========================================== */

.thawab-wa-above-nav {
    display: none;
}

@media (max-width: 767px) {

    .thawab-wa-above-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 998 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: #F0FAF4 !important;
        border-top: 1px solid #D5EEDD !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,.04);
        padding: 9px 12px !important;
        min-height: 48px !important;
        box-sizing: border-box !important;
        direction: rtl !important;
    }

    .thawab-wa-above-nav .thawab-wa-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 9px !important;
        color: #168F50 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        width: 100% !important;
    }

    .thawab-wa-above-nav svg {
        width: 23px !important;
        height: 23px !important;
        flex-shrink: 0 !important;
    }

    .thawab-wa-above-nav strong {
        color: #166534 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }
}



/* ==========================================
   إهداء ثواب | تصميم شريط واتساب
========================================== */

@media (max-width: 767px) {

    .thawab-wa-above-nav.thawab-wa-design {
        display: flex !important;
        position: fixed !important;
        bottom: var(--thawab-nav-bottom, 70px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 998 !important;

        width: 100% !important;
        min-height: 90px !important;
        padding: 13px 16px !important;
        margin: 0 !important;

        background: #F3FFF7 !important;
        border: none !important;
        border-radius: 44px 44px 0 0 !important;
        box-shadow: 0 -3px 16px rgba(0,0,0,.04) !important;
        box-sizing: border-box !important;
        direction: rtl !important;
    }

    .thawab-wa-card-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* اسم المتجر ورقم الجوال */
    .thawab-wa-business {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        min-width: 0 !important;
    }

    .thawab-wa-business-title {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        white-space: nowrap !important;
    }

    .thawab-wa-business-title strong {
        color: #4C4C4C !important;
        font-size: 19px !important;
        font-weight: 700 !important;
    }

    .thawab-wa-business-title svg {
        width: 25px !important;
        height: 25px !important;
        flex-shrink: 0 !important;
    }

    .thawab-wa-phone {
        color: #828282 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    /* زر واتساب */
    .thawab-wa-contact {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;

        min-height: 51px !important;
        padding: 10px 16px !important;

        background: #4CD360 !important;
        color: #FFFFFF !important;
        border-radius: 35px !important;
        text-decoration: none !important;

        font-size: 15px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .thawab-wa-contact svg {
        width: 27px !important;
        height: 27px !important;
        flex-shrink: 0 !important;
        fill: #FFFFFF !important;
    }

    .thawab-wa-contact span {
        color: #FFFFFF !important;
    }
}

/* الشاشات الصغيرة */
@media (max-width: 360px) {

    .thawab-wa-above-nav.thawab-wa-design {
        padding: 12px 10px !important;
        border-radius: 35px 35px 0 0 !important;
    }

    .thawab-wa-business-title strong {
        font-size: 16px !important;
    }

    .thawab-wa-phone {
        font-size: 12px !important;
    }

    .thawab-wa-contact {
        font-size: 13px !important;
        padding: 9px 11px !important;
        gap: 5px !important;
    }
}

@media (min-width: 768px) {
    .thawab-wa-above-nav.thawab-wa-design {
        display: none !important;
    }
}



/* تحريك رقم الواتساب إلى اليسار قليلاً */
@media (max-width: 767px) {
    .thawab-wa-business .thawab-wa-phone {
        position: relative !important;
        left: -30px !important;
    }
}



/* إهداء ثواب | تصغير شريط واتساب */

@media (max-width: 767px) {

    .thawab-wa-above-nav.thawab-wa-design {
        min-height: 80px !important;
        padding: 8px 14px !important;
        border-radius: 30px 30px 0 0 !important;
    }

    /* تصغير اسم المتجر */
    .thawab-wa-business-title strong {
        font-size: 17px !important;
    }

    /* تصغير رقم الجوال */
    .thawab-wa-phone {
        font-size: 15px !important;
    }

    /* تصغير زر التواصل */
    .thawab-wa-contact {
        min-height: 42px !important;
        padding: 7px 13px !important;
        font-size: 15px !important;
    }

    /* تصغير أيقونة واتساب */
    .thawab-wa-contact svg {
        width: 40px !important;
        height: 23px !important;
    }
}




/* ==========================================
   إهداء ثواب | تصميم زر التسجيل الصوتي
========================================== */

/* القسم */
#thawab-voice-recorder.thawab-voice-collapsible {
    width: 100% !important;
    margin: 12px 0 !important;
}

/* الزر الرئيسي */
#thawab-voice-recorder .thawab-voice-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 15px !important;

    background: #FAF8F5 !important;
    border: 1px solid #E7DAC9 !important;
    border-radius: 12px !important;

    color: #403A34 !important;
    font-size: 14px !important;
    font-weight: 700 !important;

    text-align: right !important;
    cursor: pointer !important;
    direction: rtl !important;
}

/* محتوى الزر */
#thawab-voice-recorder .thawab-voice-toggle-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* كلمة اختياري */
#thawab-voice-recorder .thawab-voice-toggle small {
    color: #91877B !important;
    font-size: 11px !important;
    font-weight: 400 !important;
}

/* السهم */
#thawab-voice-recorder .thawab-voice-arrow {
    color: #B49268 !important;
    font-size: 23px !important;
    line-height: 1 !important;
    transition: transform .2s ease !important;
}

/* إخفاء محتوى التسجيل افتراضيًا */
#thawab-voice-recorder.thawab-voice-collapsible
> .thawab-voice-box {
    display: none !important;
}

/* إظهار محتوى التسجيل عند الضغط */
#thawab-voice-recorder.thawab-voice-open
> .thawab-voice-box {
    display: block !important;
    margin-top: 10px !important;
}

/* تغيير اتجاه السهم عند الفتح */
#thawab-voice-recorder.thawab-voice-open
.thawab-voice-arrow {
    transform: rotate(180deg) !important;
}

/* تمييز الزر عند الفتح */
#thawab-voice-recorder.thawab-voice-open
.thawab-voice-toggle {
    background: #F5EFE7 !important;
    border-color: #B49268 !important;
}




/* ==========================================
   إهداء ثواب | إظهار أول سطرين من الوصف
========================================== */

/* معاينة تفاصيل الخدمة */
#thawab-description-accordion
.thawab-description-preview {

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    overflow: hidden !important;

    width: 100% !important;
    margin-top: 10px !important;

    color: #666666 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;

    text-align: right !important;
    direction: rtl !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* عند فتح القائمة، إخفاء المعاينة فقط */
#thawab-description-accordion[open]
.thawab-description-preview {
    display: none !important;
}

/* المسافة بين العنوان والوصف الكامل */
#thawab-description-accordion[open]
> article {
    margin-top: 12px !important;
}

/* تحسين العرض على الجوال */
@media (max-width: 767px) {

    #thawab-description-accordion
    .thawab-description-preview {
        font-size: 12.5px !important;
        line-height: 1.8 !important;
        margin-top: 8px !important;
    }
}


/* تصميم 2 | تفاصيل الخدمة البسيطة */

body.product-single #thawab-description-accordion {
    background: #FFFFFF !important;
    border: 1px solid #E8E8E8 !important;
    border-radius: 12px !important;
    margin: 10px 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

body.product-single #thawab-description-accordion > summary {
    display: block !important;
    position: relative !important;
    padding: 14px 22px 14px 40px !important;
    background: #FFFFFF !important;
    color: #404042 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: right !important;
    direction: rtl !important;
    cursor: pointer !important;
    list-style: none !important;
}

#thawab-description-accordion > summary::-webkit-details-marker {
    display: none !important;
}

#thawab-description-accordion > summary::marker {
    content: "" !important;
}

/* الخط الذهبي بجانب العنوان */
body.product-single #thawab-description-accordion > summary::before {
    content: "" !important;
    position: absolute !important;
    right: 11px !important;
    top: 15px !important;
    width: 3px !important;
    height: 20px !important;
    background: #B49268 !important;
    border-radius: 5px !important;
}

/* السهم */
body.product-single #thawab-description-accordion > summary::after {
    content: "⌄" !important;
    position: absolute !important;
    left: 15px !important;
    right: auto !important;
    top: 12px !important;
    font-size: 23px !important;
    line-height: 1 !important;
    color: #B49268 !important;
    transform: none !important;
    transition: none !important;
}

body.product-single #thawab-description-accordion[open]
> summary::after {
    content: "⌃" !important;
}

/* سطران من الوصف */
body.product-single #thawab-description-accordion
.thawab-description-preview {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    margin-top: 7px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: #777777 !important;
    text-align: right !important;
    white-space: normal !important;
}

body.product-single #thawab-description-accordion[open]
.thawab-description-preview {
    display: none !important;
}

/* عند فتح التفاصيل */
body.product-single #thawab-description-accordion[open]
> article {
    background: #FFFFFF !important;
    border-top: 1px solid #EEEEEE !important;
    padding: 12px 15px !important;
    margin: 0 !important;
}




/* ==========================================
   إهداء ثواب | توحيد لون أزرار صفحة المنتج
   اللون الجديد: #2E2E2E
========================================== */

/* أزرار خيارات المنتج غير المحددة */
body.product-single
.s-product-options-grid-mode label
.s-product-options-grid-mode-span {
    background: #FFFFFF !important;
    color: #2E2E2E !important;
    border-color: #D6D6D6 !important;
}

/* عند المرور فوق الخيارات */
body.product-single
.s-product-options-grid-mode label:hover
.s-product-options-grid-mode-span {
    border-color: #2E2E2E !important;
    color: #2E2E2E !important;
}

/* الخيار المحدد */
body.product-single
.s-product-options-grid-mode
input:checked + .s-product-options-grid-mode-span {
    background: #2E2E2E !important;
    color: #FFFFFF !important;
    border-color: #2E2E2E !important;
    box-shadow: none !important;
}



/* زر فتح التسجيل الصوتي */
body.product-single
#thawab-voice-recorder .thawab-voice-toggle {
    background: #2E2E2E !important;
    color: #FFFFFF !important;
    border-color: #2E2E2E !important;
}

/* نص وأيقونة التسجيل الصوتي */
body.product-single
#thawab-voice-recorder
.thawab-voice-toggle :is(span, i, small) {
    color: #FFFFFF !important;
}

/* أزرار التسجيل الصوتي المفعلة */
body.product-single
#thawab-voice-recorder
.thawab-voice-buttons button:not(:disabled) {
    background: #2E2E2E !important;
    color: #FFFFFF !important;
    border-color: #2E2E2E !important;
}

/* إبقاء الأزرار المعطلة بلون محايد */
body.product-single
#thawab-voice-recorder
.thawab-voice-buttons button:disabled {
    background: #E5E5E5 !important;
    color: #888888 !important;
    border-color: #E5E5E5 !important;
}




/* ==========================================
   إهداء ثواب | تصميم التسجيل الصوتي الفاخر
   مطابق لتصميم تفاصيل الخدمة الأول
========================================== */

/* البطاقة الرئيسية */
body.product-single #thawab-voice-recorder {
    background: #FBF8F3 !important;
    border: 1px solid #E4D3BC !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin: 12px 0 !important;
    padding: 0 !important;
    box-shadow: 0 3px 14px rgba(105,75,36,.05) !important;
}

/* زر فتح التسجيل */
body.product-single
#thawab-voice-recorder .thawab-voice-toggle {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    position: relative !important;
    width: 100% !important;
    min-height: 86px !important;
    padding: 16px 44px 40px 45px !important;

    background: #FBF8F3 !important;
    border: none !important;
    border-radius: 0 !important;

    color: #302D29 !important;
    text-align: right !important;
    direction: rtl !important;

    box-shadow: none !important;
    transform: none !important;
}

/* النجمة الذهبية */
body.product-single
#thawab-voice-recorder .thawab-voice-toggle::before {
    content: "✦";
    position: absolute;
    right: 17px;
    top: 17px;
    color: #B49268;
    font-size: 17px;
}

/* ترتيب العنوان */
body.product-single
#thawab-voice-recorder .thawab-voice-toggle-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* إخفاء الأيقونة المكررة */
#thawab-voice-recorder
.thawab-voice-toggle-label > i {
    display: none !important;
}

/* عنوان تسجيل صوتي */
body.product-single
#thawab-voice-recorder
.thawab-voice-toggle-label > span {
    color: #302D29 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* كلمة اختياري */
body.product-single
#thawab-voice-recorder
.thawab-voice-toggle-label > small {
    color: #A17C50 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
}

/* الوصف المختصر أسفل العنوان */
body.product-single
#thawab-voice-recorder .thawab-voice-toggle::after {
    content: "يمكنك تسجيل رسالة صوتية لتوضيح النطق الصحيح للاسم";
    position: absolute;
    right: 44px;
    left: 25px;
    bottom: 14px;

    color: #71685F;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    text-align: right;
    direction: rtl;
}

/* السهم */
body.product-single
#thawab-voice-recorder .thawab-voice-arrow {
    position: absolute !important;
    left: 16px !important;
    top: 15px !important;

    color: #96754E !important;
    font-size: 24px !important;
    line-height: 1 !important;
    transform: none !important;
}

/* عند فتح القائمة */
body.product-single
#thawab-voice-recorder.thawab-voice-open
.thawab-voice-toggle {
    min-height: 52px !important;
    padding-bottom: 16px !important;
    background: #FBF8F3 !important;
    border: none !important;
}

/* إخفاء الوصف المختصر عند الفتح */
body.product-single
#thawab-voice-recorder.thawab-voice-open
.thawab-voice-toggle::after {
    display: none !important;
}

/* تغيير اتجاه السهم */
body.product-single
#thawab-voice-recorder.thawab-voice-open
.thawab-voice-arrow {
    transform: rotate(180deg) !important;
}

/* المحتوى الداخلي */
body.product-single
#thawab-voice-recorder.thawab-voice-open
> .thawab-voice-box {
    display: block !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E4D3BC !important;
    margin: 0 !important;
    padding: 15px !important;
    border-radius: 0 !important;
}

/* الحفاظ على لون أزرار التسجيل الداكن */
body.product-single
#thawab-voice-recorder
.thawab-voice-buttons button:not(:disabled) {
    background: #2E2E2E !important;
    color: #FFFFFF !important;
    border-color: #2E2E2E !important;
}




/* صف اسم المنتج وعدد مرات الشراء */
.thawab-product-header-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    direction: rtl !important;
    margin-bottom: 12px !important;
}

/* اسم المنتج والعنوان الفرعي يمينًا */
.thawab-product-headings {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: right !important;
}

/* عداد المشتريات يسارًا */
.thawab-product-header-row .thawab-demo-sold {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 100px !important;
    max-width: 120px !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    background: #F7F7F7 !important;
    border: 1px solid #EAEAEA !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

/* ترتيب العدد والعنوان */
.thawab-product-header-row
.thawab-demo-sold .details__container {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* عنوان عدد مرات الشراء */
.thawab-product-header-row
.thawab-demo-sold .details__title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    color: #777 !important;
    white-space: nowrap !important;
}

/* العدد */
.thawab-product-header-row
.thawab-demo-sold .sold-count {
    color: #2E2E2E !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

/* أيقونة النار */
.thawab-product-header-row
.thawab-demo-sold .sicon-fire {
    color: #DC2626 !important;
    font-size: 13px !important;
}

/* الجوال */
@media (max-width: 767px) {
    .thawab-product-header-row {
        gap: 8px !important;
    }

    .thawab-product-header-row .thawab-demo-sold {
        min-width: 90px !important;
        max-width: 105px !important;
        padding: 8px !important;
    }

    .thawab-product-header-row
    .thawab-demo-sold .sold-count {
        font-size: 20px !important;
    }

    .thawab-product-header-row
    .thawab-demo-sold .details__title {
        font-size: 10px !important;
    }
}



/* اسم المنتج والعنوان الفرعي والعداد في صف واحد */

.thawab-product-header-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    direction: rtl !important;
    gap: 12px !important;
    width: 100% !important;
}

/* العناوين على اليمين */
.thawab-product-header-row .thawab-product-headings {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    gap: 4px !important;
    text-align: right !important;
}

/* اسم المنتج */
.thawab-product-headings .product-single__title {
    margin: 0 !important;
    width: 100% !important;
    line-height: 1.5 !important;
}

/* العنوان الفرعي مباشرة أسفل الاسم */
.thawab-product-headings .product-entry__sub-title {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #777777 !important;
    text-align: right !important;
}

/* عدد مرات الشراء على اليسار */
.thawab-product-header-row .thawab-demo-sold {
    flex: 0 0 auto !important;
    margin: 0 !important;
    align-self: center !important;
}

/* ضبط الشاشات الصغيرة */
@media (max-width: 767px) {
    .thawab-product-header-row {
        gap: 8px !important;
    }

    .thawab-product-headings .product-single__title {
        font-size: 17px !important;
    }

    .thawab-product-headings .product-entry__sub-title {
        font-size: 12px !important;
    }
}



/* تكبير اسم المنتج */
.thawab-product-header-row
.thawab-product-headings .product-single__title {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* تكبير العنوان الفرعي */
.thawab-product-header-row
.thawab-product-headings .product-entry__sub-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin: 4px 0 0 !important;
}

/* مقاسات متناسقة للجوال */
@media (max-width: 767px) {
    .thawab-product-header-row
    .thawab-product-headings .product-single__title {
        font-size: 21px !important;
    }

    .thawab-product-header-row
    .thawab-product-headings .product-entry__sub-title {
        font-size: 15px !important;
    }
}






/* ==========================================
   إهداء ثواب | التصميم النهائي لقسم الشراء
========================================== */

/* البطاقة الرئيسية */
html body section.thawab-inline-purchase {
    width: 100% !important;
    padding: 16px !important;
    margin: 14px 0 !important;

    background: #FFFFFF !important;
    border: 1px solid #E8E8E8 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.035) !important;

    box-sizing: border-box !important;
    direction: rtl !important;
}

/* صف السعر والكمية */
html body .thawab-inline-purchase
.sticky-product-bar__quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 8px !important;
    margin: 0 0 14px !important;
    padding: 0 0 14px !important;

    border-bottom: 1px solid #EEEEEE !important;
    background: transparent !important;
}

/* السعر الإجمالي */
html body .thawab-inline-purchase
.thawab-total-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px !important;

    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* عنوان السعر */
html body .thawab-inline-purchase
.thawab-total-box > span {
    color: #858585 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* قيمة السعر */
html body .thawab-inline-purchase
.thawab-total-price {
    color: #DC2626 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

/* كلمة الكمية */
html body .thawab-inline-purchase
.sticky-product-bar__quantity > .form-label {
    display: block !important;
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #555555 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

/* مكون التحكم بالكمية */
html body .thawab-inline-purchase
salla-quantity-input {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    box-shadow: none !important;
}

/* حاوية الكمية */
html body .thawab-inline-purchase
.s-quantity-input-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    padding: 4px !important;
    background: #F6F6F6 !important;

    border: 1px solid #EBEBEB !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

/* زر الزيادة والنقصان */
html body .thawab-inline-purchase
.s-quantity-input-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
    min-height: 29px !important;
    padding: 5px !important;

    background: #FFFFFF !important;
    color: #2E2E2E !important;

    border: none !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    transform: none !important;
}

/* حجم أيقونة الزيادة والنقصان */
html body .thawab-inline-purchase
.s-quantity-input-button svg {
    width: 15px !important;
    height: 15px !important;
    fill: #2E2E2E !important;
}

/* خانة العدد */
html body .thawab-inline-purchase
.s-quantity-input-input {
    width: 28px !important;
    min-width: 28px !important;
    height: 29px !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #2E2E2E !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* إزالة المسافات القديمة */
html body .thawab-inline-purchase
salla-add-product-button.sticky-product-bar__btn {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 0 !important;
}

/* صف زري السلة والدفع */
html body .thawab-inline-purchase
.s-add-product-button-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 9px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* مساحة زر إضافة السلة */
html body .thawab-inline-purchase
.s-add-product-button-main > salla-button {
    display: block !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
}

/* زر إضافة إلى السلة */
html body .thawab-inline-purchase
.s-add-product-button-main .s-button-element {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 12px !important;

    background: #2E2E2E !important;
    background-image: none !important;
    color: #FFFFFF !important;

    border: 1px solid #2E2E2E !important;
    border-radius: 10px !important;
    box-shadow: none !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;

    transform: none !important;
    transition: none !important;
}

/* نص وأيقونة السلة */
html body .thawab-inline-purchase
.s-add-product-button-main
.s-button-element .s-button-text {
    color: #FFFFFF !important;
}

html body .thawab-inline-purchase
.s-add-product-button-main
.s-button-element svg {
    width: 18px !important;
    height: 18px !important;
    fill: #FFFFFF !important;
}

/* زر ادفع الآن */
html body .thawab-inline-purchase
.s-add-product-button-main >
salla-mini-checkout-widget.s-mini-checkout {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 115px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #FFFFFF !important;
    background-image: none !important;
    color: #2E2E2E !important;

    border: 1px solid #2E2E2E !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden !important;

    box-sizing: border-box !important;
    transform: none !important;
}

/* إزالة أي لون أو إطار داخلي */
html body .thawab-inline-purchase
salla-mini-checkout-widget
.s-add-product-button-mini-checkout-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    width: 100% !important;
    min-height: 44px !important;
    padding: 8px 11px !important;
    margin: 0 !important;

    background: transparent !important;
    background-image: none !important;
    color: #2E2E2E !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* إزالة خلفية حاوية أيقونة الدفع */
html body .thawab-inline-purchase
.s-add-product-button-mini-checkout-content > span {
    display: inline-flex !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* أيقونة الدفع */
html body .thawab-inline-purchase
.s-add-product-button-mini-checkout-content svg {
    width: 18px !important;
    height: 18px !important;
    fill: #2E2E2E !important;
}

html body .thawab-inline-purchase
.s-add-product-button-mini-checkout-content svg path {
    fill: #2E2E2E !important;
}

/* Apple Pay بعرض كامل */
html body .thawab-inline-purchase
salla-quick-buy {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

html body .thawab-inline-purchase
apple-pay-button {
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    border-radius: 10px !important;
}

/* منع حركة الأزرار */
html body .thawab-inline-purchase
.s-button-element:is(:hover, :active),
html body .thawab-inline-purchase
salla-mini-checkout-widget:is(:hover, :active),
html body .thawab-inline-purchase
.s-quantity-input-button:is(:hover, :active) {
    transform: none !important;
    translate: none !important;
    scale: none !important;
}

/* تحسين الجوال */
@media (max-width: 767px) {
    html body section.thawab-inline-purchase {
        padding: 13px !important;
        border-radius: 14px !important;
    }

    html body .thawab-inline-purchase
    .thawab-total-price {
        font-size: 21px !important;
    }

    html body .thawab-inline-purchase
    .s-add-product-button-main .s-button-element,
    html body .thawab-inline-purchase
    .s-add-product-button-mini-checkout-content {
        font-size: 12px !important;
    }

    html body .thawab-inline-purchase
    .s-add-product-button-main >
    salla-mini-checkout-widget.s-mini-checkout {
        min-width: 105px !important;
    }
}




/* ========================================
   إهداء ثواب | شريط واتساب قابل للإخفاء
======================================== */

@media (max-width: 767px) {

    /* وضع الشريط أسفل النوافذ المنبثقة */
    html body
    .thawab-wa-above-nav.thawab-wa-design {
        z-index: 80 !important;
        overflow: visible !important;
        pointer-events: none !important;
    }

    /* إبقاء روابط واتساب قابلة للضغط */
    html body
    .thawab-wa-above-nav
    .thawab-wa-card-inner {
        pointer-events: auto !important;
    }

    /* زر إظهار وإخفاء الشريط */
    html body
    .thawab-wa-above-nav
    .thawab-wa-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        position: absolute !important;
        top: -35px !important;
        left: 12px !important;
        right: auto !important;

        width: auto !important;
        min-height: 30px !important;
        padding: 5px 12px !important;

        background: #F3FFF7 !important;
        color: #2E2E2E !important;

        border: 1px solid #D6E8DC !important;
        border-radius: 20px !important;

        font-size: 11px !important;
        font-weight: 700 !important;

        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 1 !important;

        box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
        transform: none !important;
    }

    /* إخفاء محتوى الشريط عند الإغلاق */
    html body
    .thawab-wa-above-nav.thawab-wa-collapsed
    .thawab-wa-card-inner {
        display: none !important;
    }

    /* إزالة مساحة الشريط عند الإغلاق */
    html body
    .thawab-wa-above-nav.thawab-wa-design.thawab-wa-collapsed {
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* إخفاء الشريط بالكامل عند ظهور نافذة */
    html body.thawab-wa-modal-open
    .thawab-wa-above-nav {
        display: none !important;
        pointer-events: none !important;
    }

    /* منع القائمة السفلية من تغطية النافذة */
    html body.thawab-wa-modal-open
    .selia-bottom-nav {
        z-index: 1 !important;
        pointer-events: none !important;
    }

}

/* إخفاء زر التحكم على الكمبيوتر */
@media (min-width: 768px) {
    .thawab-wa-toggle {
        display: none !important;
    }
}



/* زر إظهار وإخفاء واتساب - أيقونة فقط */

@media (max-width: 767px) {

    html body
    .thawab-wa-above-nav .thawab-wa-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;

        background: #25D366 !important;
        color: #FFFFFF !important;

        border: none !important;
        border-radius: 50% !important;

        top: -43px !important;
        left: 12px !important;

        box-shadow: 0 3px 10px rgba(0,0,0,.12) !important;
        transform: none !important;
    }

    html body
    .thawab-wa-toggle svg {
        width: 20px !important;
        height: 21px !important;
        fill: #FFFFFF !important;
    }
}



/* ==========================================
   إهداء ثواب | تكبير أيقونة واتساب ونقلها لليمين
========================================== */

@media (max-width: 767px) {

    /* زر واتساب الدائري */
    html body
    .thawab-wa-above-nav .thawab-wa-toggle {
        position: absolute !important;

        /* تثبيت الأيقونة على يمين الصفحة */
        right: 15px !important;
        left: auto !important;
        top: -70px !important;

        /* تكبير الزر */
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #25D366 !important;
        color: #FFFFFF !important;

        border: none !important;
        border-radius: 50% !important;

        box-shadow: 0 5px 16px rgba(0,0,0,.18) !important;

        z-index: 2 !important;
        transform: none !important;
    }

    /* تكبير شعار واتساب داخل الزر */
    html body
    .thawab-wa-above-nav .thawab-wa-toggle svg {
        width: 34px !important;
        height: 34px !important;
        fill: #FFFFFF !important;
    }

    /* منع حركة الأيقونة عند اللمس */
    html body
    .thawab-wa-above-nav .thawab-wa-toggle:is(:hover, :active) {
        transform: none !important;
        background: #25D366 !important;
    }
}





/* ==========================================
   إهداء ثواب | عبارة متحركة تحت أيقونة واتساب
========================================== */

@media (max-width: 767px) {

    /* ضبط مكان الزر لترك مساحة للعبارة */
    html body
    .thawab-wa-above-nav .thawab-wa-toggle {
        right: 15px !important;
        left: auto !important;
        top: -95px !important;

        width: 58px !important;
        height: 58px !important;
        min-height: 58px !important;

        overflow: visible !important;
    }

    /* عبارة تواصل معنا */
    html body
    .thawab-wa-above-nav
    .thawab-wa-toggle::after {
        content: "اضغط هنا" !important;

        position: absolute !important;
        top: 64px !important;
        left: 50% !important;

        transform: translateX(-50%) !important;

        width: max-content !important;
        padding: 3px 8px !important;

        background: #FFFFFF !important;
        color: #2E2E2E !important;

        border-radius: 20px !important;

        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.5 !important;

        text-align: center !important;
        white-space: nowrap !important;
        pointer-events: none !important;

        /* وميض متكرر */
        animation: thawab-wa-blink 1.8s infinite !important;
    }

    /* حركة الظهور والاختفاء */
    @keyframes thawab-wa-blink {
        0%, 45%, 100% {
            opacity: 1;
        }

        50%, 90% {
            opacity: 0;
        }
    }
}

/* مراعاة إعداد تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .thawab-wa-toggle::after {
        animation: none !important;
        opacity: 1 !important;
    }
}




/* ==========================================
   إهداء ثواب | تحسين نافذة تسجيل الدخول
========================================== */

/* إطار تسجيل الدخول */
html body iframe[title="Salla Login"] {
    display: block !important;

    width: 100% !important;
    max-width: 440px !important;
    height: 440px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    background: #FFFFFF !important;
    border: none !important;
    border-radius: 16px !important;

    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* الحاوية المباشرة للنافذة */
html body :is(div, section):has(
    > iframe[title="Salla Login"]
) {
    width: 100% !important;
    max-width: 470px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px !important;

    background: #FFFFFF !important;
    border: 1px solid #EEEEEE !important;
    border-radius: 20px !important;

    box-shadow: 0 12px 35px rgba(0,0,0,.08) !important;
    box-sizing: border-box !important;
}

/* تحسين النافذة على الجوال */
@media (max-width: 767px) {

    html body iframe[title="Salla Login"] {
        max-width: 100% !important;
        height: min(440px, calc(100dvh - 110px)) !important;
        border-radius: 12px !important;
    }

    html body :is(div, section):has(
        > iframe[title="Salla Login"]
    ) {
        max-width: calc(100% - 12px) !important;
        padding: 8px !important;
        border-radius: 16px !important;
    }
}



/* منع شريط واتساب من تغطية نوافذ سلة */

html body .thawab-wa-above-nav {
    z-index: 40 !important;
}

/* عند فتح نافذة تسجيل دخول مرئية */
html body.thawab-wa-modal-open
.thawab-wa-above-nav,
html body.thawab-wa-modal-open
.selia-bottom-nav {
    visibility: hidden !important;
    pointer-events: none !important;
}



/* =======================================
   إهداء ثواب | تنسيق خيارات الخدمة كجدول
   ======================================= */

/* صفوف النموذج */
salla-conditional-fields
> .s-product-options-option-container[data-option-id]:not(.hidden):not([data-option-id="1326493583"]) {

    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.025);
}

/* اسم الحقل يمينًا والإجابة يسارًا */
salla-conditional-fields
> .s-product-options-option-container[data-option-id]
> .s-product-options-option {

    display: grid !important;
    grid-template-columns: minmax(145px, 32%) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl;
}

/* عمود اسم الحقل */
salla-conditional-fields
.s-product-options-option > .s-product-options-option-label {

    background: #f7f7f7 !important;
    padding: 13px 15px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;

    border: 0 !important;
    color: #2e2e2e !important;
    text-align: right;
}

/* عنوان السؤال */
salla-conditional-fields
.s-product-options-option-label b {

    color: #2e2e2e !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}

/* الملاحظات أسفل السؤال */
salla-conditional-fields
.s-product-options-option-label small {

    color: #888888 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* عمود الإجابات */
salla-conditional-fields
.s-product-options-option > .s-product-options-option-content {

    min-width: 0 !important;
    padding: 10px 12px !important;

    display: flex !important;
    align-items: center;
    background: #ffffff !important;
}

/* حقول الكتابة */
salla-conditional-fields
.s-product-options-option-content .s-form-control {

    width: 100% !important;
    min-height: 43px !important;
    padding: 10px 13px !important;

    background: #fafafa !important;
    border: 1px solid #dedede !important;
    border-radius: 9px !important;

    color: #2e2e2e !important;
    font-size: 13px !important;
    box-shadow: none !important;
}

/* عند الكتابة داخل الحقل */
salla-conditional-fields
.s-product-options-option-content .s-form-control:focus {

    background: #ffffff !important;
    border-color: #2e2e2e !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(46,46,46,0.08) !important;
}

/* شبكة الاختيارات */
salla-conditional-fields
.s-product-options-grid-mode {

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
}

/* إطار كل اختيار */
salla-conditional-fields
.s-product-options-grid-mode > label {

    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    transform: none !important;
}

/* شكل أزرار الاختيارات */
salla-conditional-fields
.s-product-options-grid-mode-span {

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 39px !important;
    padding: 8px 10px !important;

    background: #fafafa !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 9px !important;

    color: #404042 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    text-align: center !important;

    transform: none !important;
    box-shadow: none !important;
}

/* عند اختيار الإجابة */
salla-conditional-fields
.s-product-options-grid-mode input:checked
+ .s-product-options-grid-mode-span {

    background: #2e2e2e !important;
    border-color: #2e2e2e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* تنسيق صلة القرابة: ثلاثة اختيارات في الصف */
@media (min-width: 768px) {
    salla-conditional-fields
    [data-option-id="2021574369"]
    .s-product-options-grid-mode {

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* فاصل خفيف بين البيانات الأساسية والإضافية */
salla-conditional-fields
[data-option-id="1326493583"] {

    margin: 12px 0 !important;
    padding: 0 !important;
}

/* =======================================
   تنسيق الجوال
   ======================================= */

@media (max-width: 767px) {

    /* يصبح اسم الحقل فوق مكان الإجابة */
    salla-conditional-fields
    > .s-product-options-option-container[data-option-id]
    > .s-product-options-option {

        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* اسم الحقل */
    salla-conditional-fields
    .s-product-options-option > .s-product-options-option-label {

        padding: 10px 12px !important;
        gap: 3px !important;
    }

    /* الإجابة */
    salla-conditional-fields
    .s-product-options-option > .s-product-options-option-content {

        padding: 10px 12px !important;
    }

    /* أزرار اختيار أصغر */
    salla-conditional-fields
    .s-product-options-grid-mode-span {

        min-height: 37px !important;
        padding: 7px 8px !important;
        font-size: 12px !important;
    }

    /* الحالات الطويلة تظهر بعرض كامل */
    salla-conditional-fields
    [data-option-id="49183206"] .s-product-options-grid-mode,
    salla-conditional-fields
    [data-option-id="1555339495"] .s-product-options-grid-mode,
    salla-conditional-fields
    [data-option-id="997391770"] .s-product-options-grid-mode,
    salla-conditional-fields
    [data-option-id="358554779"] .s-product-options-grid-mode {

        grid-template-columns: 1fr !important;
    }
}



/* توسيع خانة كتابة الاسم في خيارات عمرة البدل */

/* الحاوية الخاصة بالاسم */
salla-conditional-fields
[data-option-id="1730427876"] .s-product-options-option-content,
salla-conditional-fields
[data-option-id="533249944"] .s-product-options-option-content {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* جعل حاوية الكتابة تمتد بعرض الصف */
salla-conditional-fields
[data-option-id="1730427876"] .s-product-options-text,
salla-conditional-fields
[data-option-id="533249944"] .s-product-options-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

/* توسيع حقل الإدخال نفسه */
salla-conditional-fields
#option-1730427876,
salla-conditional-fields
#option-533249944 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    min-height: 45px !important;
    padding: 10px 15px !important;

    border: 1px solid #dedede !important;
    border-radius: 12px !important;
    background: #ffffff !important;

    font-size: 14px !important;
    text-align: right !important;
}





/* إظهار 4 اختيارات في كل سطر - صلة القرابة */

salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-grid-mode {

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
}

/* تنسيق الاختيارات لتناسب 4 أعمدة */

salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-grid-mode > label {

    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-grid-mode-span {

    width: 100% !important;
    min-height: 38px !important;
    padding: 6px 3px !important;

    font-size: 11px !important;
    line-height: 1.4 !important;
    text-align: center !important;

    border-radius: 9px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}




/* =====================================
   إهداء ثواب | قائمة صلة القرابة المنسدلة
   ===================================== */

/* ترتيب محتوى الحقل */
salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-option-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    min-width: 0 !important;
}

/* زر فتح وإغلاق القائمة */
salla-conditional-fields
.thawab-kinship-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 43px !important;
    padding: 10px 15px !important;

    background: #f8f8f8 !important;
    color: #2e2e2e !important;

    border: 1px solid #dedede !important;
    border-radius: 11px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: right !important;

    cursor: pointer !important;
    transition: background-color .2s ease !important;
    transform: none !important;
}

/* سهم القائمة */
salla-conditional-fields
.thawab-kinship-toggle::after {
    content: "⌄";
    display: inline-block;
    font-size: 21px;
    line-height: 1;
    margin-right: 10px;
    transition: transform .2s ease;
}

/* عند فتح القائمة */
salla-conditional-fields
.thawab-kinship-toggle[aria-expanded="true"] {
    background: #eeeeee !important;
    border-color: #cccccc !important;
}

/* تدوير السهم */
salla-conditional-fields
.thawab-kinship-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* إخفاء الاختيارات عند إغلاق القائمة */
salla-conditional-fields
[data-option-id="2021574369"][data-thawab-kinship-open="false"]
.s-product-options-grid-mode {
    display: none !important;
}

/* إظهار 4 اختيارات في السطر */
salla-conditional-fields
[data-option-id="2021574369"][data-thawab-kinship-open="true"]
.s-product-options-grid-mode {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
}

/* كل اختيار */
salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-grid-mode > label {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

/* شكل الاختيارات */
salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-grid-mode-span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 38px !important;
    padding: 6px 3px !important;

    background: #ffffff !important;
    color: #2e2e2e !important;

    border: 1px solid #dedede !important;
    border-radius: 9px !important;

    font-size: 11px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;

    transform: none !important;
}

/* لون الاختيار المحدد */
salla-conditional-fields
[data-option-id="2021574369"]
.s-product-options-grid-mode input:checked
+ .s-product-options-grid-mode-span {
    background: #2e2e2e !important;
    border-color: #2e2e2e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* المحافظة على أربعة أعمدة بالجوال */
@media (max-width: 767px) {
    salla-conditional-fields
    [data-option-id="2021574369"][data-thawab-kinship-open="true"]
    .s-product-options-grid-mode {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    salla-conditional-fields
    [data-option-id="2021574369"]
    .s-product-options-grid-mode-span {
        font-size: 10px !important;
        padding: 6px 2px !important;
    }
}




/* ======================================
   إهداء ثواب | علامات التحقق من الحقول
   ====================================== */

/* توفير مساحة للعلامة بجوار عنوان الحقل */
salla-conditional-fields
.s-product-options-option > .s-product-options-option-label {
    position: relative !important;
    padding-left: 45px !important;
}

/* الشكل الأساسي للعلامة */
salla-conditional-fields
.thawab-validation-mark {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 26px !important;
    height: 26px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* منع ظهور العلامة عند إخفائها */
salla-conditional-fields
.thawab-validation-mark[hidden] {
    display: none !important;
}

/* علامة الصح الخضراء */
salla-conditional-fields
.thawab-validation-mark[data-state="success"] {
    background: #e8f7ed !important;
    color: #159447 !important;
    border: 1px solid #bce5ca !important;
}

/* علامة الخطأ الحمراء */
salla-conditional-fields
.thawab-validation-mark[data-state="error"] {
    background: #fff0f0 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

/* تمييز خانة الكتابة الناقصة */
salla-conditional-fields
[data-thawab-validation="error"]
.s-form-control {
    border-color: #dc2626 !important;
    background: #fffafa !important;
}

/* تنسيق الجوال */
@media (max-width: 767px) {

    salla-conditional-fields
    .thawab-validation-mark {
        width: 24px !important;
        height: 24px !important;
        font-size: 16px !important;
        left: 10px !important;
    }
}