/*   Add custom CSS styles below */ 
.store-header,.s-block--about-charity{
   background: #faf0e4;     
}
body.index{
  background: #faf0e4;
}
. s-block--categories .s-slider-block__title{
      gap: 0;
}

/* ===== سلايدر الديسكتوب vs سلايدر الجوال ===== */

/* شاشات كبيرة: إخفاء السلايدر الثاني (الجوال) */
@media (min-width: 769px) {
  .s-block--photos-slider.repeated-block {
    display: none !important;
  }
}

/* الجوال: إخفاء السلايدر الأول (الديسكتوب) */
@media (max-width: 768px) {
  .s-block--photos-slider:not(.repeated-block) {
    display: none !important;
  }
}
/* ===== قسم الإحصائيات — خلفية كريمي #faf0e4 ===== */
.s-block--statistics,
section[class*="statistics"],
div[class*="home-statistics"] {
  background: #faf0e4 !important;
  margin-top: 0 !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* ===== إلغاء المسافة بين الهيرو (معرض المميزات) والإحصائيات ===== */
.s-block--main-slider,
section[class*="main-slider"],
div[class*="main-slider"] {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section[class*="main-slider"] + section,
section[class*="main-slider"] + div {
  margin-top: 0 !important;
}

/* ===== موبايل ===== */
@media (max-width: 640px) {
  section[class*="statistics"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

/* ===== روابط التصنيفات على الجوال — 3 عناصر ===== */
@media (max-width: 768px) {
  /* كل عنصر ياخذ ثلث العرض بدل المقاس الافتراضي */
  #main-links-2 .swiper-slide.slide--one-sixth {
    width: 100% !important;
    padding: 0 4px !important;
  }

  /* تقليل مسافات القسم */
  .s-block--categories {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  /* تصغير المحتوى ليناسب ثلث الشاشة */
  #main-links-2 .slide--cat-entry h2 {
    font-size: 13px !important;
    margin-top: 8px !important;
  }

  #main-links-2 .slide--cat-entry span {
    font-size: 11px !important;
  }

  #main-links-2 .slide--cat-entry i.bg-contain {
    width: 64px !important;
    height: 64px !important;
  }

  /* إخفاء أسهم التنقل على الجوال — التمرير باللمس يكفي */
  #main-links-2 .s-slider-block__title-nav {
    display: none !important;
  }
}





/* ===== الإحصائيات على الجوال — عمودين ===== */
@media (max-width: 640px) {
  /* الحاوية grid بعمودين */
  section[class*="statistics"] ul,
  section[class*="statistics"] .s-block__items,
  section[class*="statistics"] [class*="grid"],
  section[class*="statistics"] [class*="items"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* الكرت ياخذ عرض عموده كامل ويلغي أي عرض ثابت من الثيم */
  section[class*="statistics"] li,
  section[class*="statistics"] .s-block__item {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
  }
}



/* ===== فوتر مكنون ===== */
footer {
background: linear-gradient(rgba(22, 69, 58, .85), rgba(22, 69, 58, .85)), url(https://apps.maknon.org.sa/images/footer.svg) center bottom / auto repeat #16453a !important;  color: #e8f2ee !important;
  margin-top: 0 !important;
}

/* العناوين */
footer h2, footer h3, footer h4 {
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* الروابط والنصوص */
footer a { color: #c8ddd6 !important; font-size: 14.5px; transition: .25s; }
footer a:hover { color: #fff !important; padding-right: 6px; }
footer p, footer span, footer li { color: #b5cfc7; font-size: 14px; line-height: 1.9; }

/* السوشيال */
footer [class*="social"] a i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #faf0e4 !important; transition: .3s;
}
footer [class*="social"] a:hover i { background: #3fa88a; color: #fff !important; transform: translateY(-3px); }

/* النشرة البريدية */
footer input {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 10px !important; color: #fff !important;
}
footer input::placeholder { color: #9dbfb4 !important; }
footer button[type="submit"] { background: #faf0e4 !important; color: #16453a !important; border-radius: 10px !important; font-weight: 700; }

/* الحقوق + الدفع */
footer [class*="copyright"] { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: 13px; color: #8fb3a8 !important; }
.footer-is-light .store-footer__info-bar{
  background-color: rgb(22 69 58);
}
.footer-is-light .store-footer__info-bar .text-gray-400, .footer-is-light .store-footer__info-bar p, .footer-is-light .store-footer__info-bar span{
      color: #fff !important;
}
/* موبايل */
@media (max-width: 768px) {
  footer h3, footer h4 { font-size: 16px; }
  footer [class*="social"] a i { width: 38px; height: 38px; }
}


salla-button .s-button-outline,.product-details salla-add-product-button salla-button .s-button-primary{
 background-color: #2a7f67;
      color: #fff;
}




/* Mobile Only */
@media (max-width:768px){

#main-links-2 .s-slider-container{
    overflow: visible !important;
}

#main-links-2 .swiper-wrapper{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100% !important;
    transform: none !important;
}

#main-links-2 .swiper-slide{
    width: auto !important;
    margin: 0 !important;
    flex: unset !important;
    transform: none !important;
}

#main-links-2 .slide--cat-entry{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    padding: 14px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    text-align: center;
    height: 100%;
}

#main-links-2 .slide--cat-entry i{
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#main-links-2 .slide--cat-entry h2{
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 6px;
}

#main-links-2 .slide--cat-entry span{
    font-size: 12px;
}

#main-links-2 .swiper-button-next,
#main-links-2 .swiper-button-prev,
#main-links-2 .swiper-pagination{
    display:none !important;
}
#main-links-2 .carousel-slider .swiper:where([dir=rtl],[dir=rtl] *){
      padding-left: 1rem;
}
}
.s-block--tabs-produtcs .tabs{
  display: flex !important;
}