/* Add custom CSS styles below */ 


/* Footer Logo Resize: works for img and svg */
footer.store-footer-wrap .store-footer__inner a img,
footer.store-footer-wrap .store-footer__inner a svg {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

/* If Tailwind max-h-44 is forcing size */
footer.store-footer-wrap .store-footer__inner img.max-h-44 {
  height: 44px !important;
  max-height: 44px !important;
}

/* تصغير أيقونات أقسام المتجر فقط داخل main-links-1 */
section.s-block--categories salla-slider#main-links-1 a.slide-cat-entry .item-img,
section.s-block--categories salla-slider#main-links-1 a.slide-cat-entry .item-img span{
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  margin: 0 auto 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* تصغير الصورة نفسها + إلغاء أي تكبير (scale) من الثيم */
section.s-block--categories salla-slider#main-links-1 a.slide-cat-entry img{
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;

  transform: none !important;
  --tw-scale-x: 1 !important;
  --tw-scale-y: 1 !important;
}

/* تقليل عرض السلايد نفسه في هذا البلوك فقط */
section.s-block--categories salla-slider#main-links-1 .swiper-slide{
  width: 78px !important;
}

/* تقليل الحشو داخل بطاقة القسم */
section.s-block--categories salla-slider#main-links-1 a.slide-cat-entry{
  padding: 8px 6px !important;
}