/* Add custom CSS styles below */ 
/* ═══════════════════════════════════════════════ */
/* 🎯 1 - عناوين السيكشنز (h2 + الخط الفاصل)       */
/* ═══════════════════════════════════════════════ */

/* الحاوية: العنوان في النص */
.s-block__title,
.s-slider-block__title {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 32px !important;
  padding: 0 0 30px !important;
  text-align: center !important;
}

.s-slider-block__title-right {
  display: block !important;
  flex: none !important;
  width: 100% !important;
}

/* الـh2 */
.s-block__title h2,
.s-slider-block__title h2 {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* إلغاء ::before و::after الخاصة بالـh2 (الخط على الحاوية) */
.s-block__title h2::after,
.s-slider-block__title h2::after {
  display: none !important;
}

.s-block__title h2::before,
.s-slider-block__title h2::before {
  background-color: transparent !important;
}

/* الخط الفاصل (خط - دايرة - خط) على الحاوية */
.s-block__title::after,
.s-slider-block__title::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 6px !important;
  transform: translateX(-50%) !important;
  width: 190px !important;
  height: 12px !important;
  background:
    linear-gradient(currentColor, currentColor) left center / calc(50% - 12px) 1px no-repeat,
    linear-gradient(currentColor, currentColor) right center / calc(50% - 12px) 1px no-repeat,
    radial-gradient(circle, transparent 0 2.5px, currentColor 2.5px 4px, transparent 4.5px) center / 12px 12px no-repeat !important;
}

/* أسهم السلايدر على جنب */
.s-slider-block__title-left {
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: auto !important;
}

/* إخفاء العنوان المكرر في سلايدر المنتجات */
.s-slider-has-notitle .s-slider-block__title:nth-child(1) {
  display: none !important;
}

/* زر "عرض الكل" */
.s-block__title .view-all {
  position: absolute !important;
  inset-inline-end: 0 !important;
  top: 8px !important;
  white-space: nowrap !important;
}

/* 📱 الموبايل */
@media (max-width: 768px) {
  .s-block__title,
  .s-slider-block__title {
    margin-bottom: 20px !important;
  }

  .s-block__title h2,
  .s-slider-block__title h2 {
    font-size: 22px !important;
  }

  .s-block__title::after,
  .s-slider-block__title::after {
    width: 150px !important;
  }
}

/* ═══════════════════════════════════════════════ */
/* ✅ نهاية: عناوين السيكشنز                        */
/* ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════ */
/* 🖼️ 2 - سيكشن التصنيفات (categories-style-2)    */
/* ═══════════════════════════════════════════════ */

/* الجريد: 4 أعمدة PC */
#categories-style-2 .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  transform: none !important;
  transition: none !important;
}

/* العناصر في نص الديف */
#categories-style-2 .swiper-slide {
  width: 100% !important;
  margin: 0 !important;
}

#categories-style-2 .category-item-box,
#categories-style-2 .img-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: auto !important;
}

/* حجم الصور (كبّر الرقم لو عايز أكتر) */
#categories-style-2 .img-container img {
  width: 100% !important;
  max-width: 280px !important;
}

/* 🔒 إيقاف السلايدر: إخفاء الأسهم ومنع السحب */
#categories-style-2 .s-slider-block__title-nav {
  display: none !important;
}

#categories-style-2 .swiper {
  touch-action: auto !important;
  pointer-events: auto !important;
}

/* 📱 الموبايل: 2 عمود × 2 صف */
@media (max-width: 768px) {
  #categories-style-2 .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* حجم أصغر للصور (غيّر 85% براحتك) */
  #categories-style-2 .img-container img {
    max-width: 85% !important;
  }
}

/* ═══════════════════════════════════════════════ */
/* ✅ نهاية: سيكشن التصنيفات                        */
/* ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════ */
/* 🎬 البانر الثابت (صورة محددة فقط)               */
/* ═══════════════════════════════════════════════ */

.s-block--fixed-banner:has(img[src*="1af5b69d-c6a1-49ac-865b-e7c0500e3848"]) {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 40px auto 0 !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

.s-block--fixed-banner:has(img[src*="1af5b69d-c6a1-49ac-865b-e7c0500e3848"]) .banner {
  display: block !important;
  width: 100% !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.s-block--fixed-banner:has(img[src*="1af5b69d-c6a1-49ac-865b-e7c0500e3848"]) .banner img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* 📱 الموبايل */
@media (max-width: 768px) {
  .s-block--fixed-banner:has(img[src*="1af5b69d-c6a1-49ac-865b-e7c0500e3848"]) {
    margin-top: 24px !important;
    padding: 0 12px !important;
  }

  .s-block--fixed-banner:has(img[src*="1af5b69d-c6a1-49ac-865b-e7c0500e3848"]) .banner {
    border-radius: 8px !important;
  }
}

/* ═══════════════════════════════════════════════ */
/* ✅ نهاية: البانر الثابت                          */
/* ═══════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════ */
/* ❓ 4 - الأسئلة الشائعة (common-questions)       */
/* ═══════════════════════════════════════════════ */

/* الحاوية: العرض كامل + إخفاء الصورة */
.s-block--common-questions .common-questions {
  display: block !important;
  width: 100% !important;
}

.s-block--common-questions .svg-box {
  display: none !important;
}

/* الجريد: عمودين */
.s-block--common-questions .accordion-box {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.s-block--common-questions .item-box {
  width: 100% !important;
  background: transparent !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

/* الهيدر: خلفية + نص أبيض */
.s-block--common-questions .header-accordion {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 62px !important;
  padding: 10px 14px !important;
  background: #9e6a68 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  direction: rtl !important;
}

/* إخفاء الأرقام 01 02 ... */
.s-block--common-questions .header-accordion > span {
  display: none !important;
}

.s-block--common-questions .header-accordion h3 {
  flex: 1 !important;
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #fff !important;
  text-align: right !important;
}

/* دايرة السهم */
.s-block--common-questions .header-accordion > i {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #f1ebeb !important;
}

/* نص الإجابة لما يتفتح */
.s-block--common-questions .body-accordion {
  padding: 14px 16px !important;
  background: #f1ebeb !important;
  color: #5a3a39 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  text-align: right !important;
  border-radius: 0 0 6px 6px !important;
}

/* 📱 الموبايل: عمود واحد */
@media (max-width: 768px) {
  .s-block--common-questions .accordion-box {
    grid-template-columns: 1fr !important;
  }

  .s-block--common-questions .header-accordion h3 {
    font-size: 16px !important;
  }
}
footer.ps-footer.center-footer {
    margin-top:0px !important;
    padding-top:0px !important;
    border: none;
}
/* ═══════════════════════════════════════════════ */
/* ✅ نهاية: الأسئلة الشائعة                        */
/* ═══════════════════════════════════════════════ */