/* سكشن */
.sectionTitle{
  margin:14px 0 10px;
  font-size:18px;
  font-weight:800;
}

/* =========================
   Slideshow (Auto)
   ========================= */
.hero{
  background:#fff;
  /*border:1px solid #eee;*/
  border-radius:12px;
  /*padding:10px;*/
  margin-bottom:5px; 
  margin-top: 5px;
}

.heroCarousel{
  position:relative;
  overflow:hidden;
  border-radius:10px;
}

.heroTrack{
  display:flex;
  transition:transform .45s ease;
  will-change:transform;
}

.heroSlide{
  min-width:100%;
}

.heroSlide img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:10px;
  display:block;
}

.heroDots{
  position:absolute;
  left:0; right:0;
  bottom:8px;
  display:flex;
  justify-content:center;
  gap:6px;
}

.heroDot{
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  border:1px solid rgba(0,0,0,.1);
}

.heroDot.active{
  background:#fff;
}

/* =========================
   Smart Carousel Grid
   ========================= */
.bannerGridWrap{
  margin:0px;
}

.bannerGridScroll{
  overflow-x:auto;
  padding-bottom:5px;
  -webkit-overflow-scrolling:touch;
}

.bannerGrid{
  --rows:2;
  --colw:120px;
  display:grid;
  grid-auto-flow:column;
  grid-template-rows:repeat(var(--rows), auto);
  grid-auto-columns:var(--colw);
  gap:5px;
}

.bannerItem{
  padding:5px;
  text-align:center;
}

.bannerItem img{
  width:100%;
  height:130px;
  object-fit:contain;
  display:block;
  
}

.bannerItemTitle{
  margin-top:5px;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* =========================
   Normal Banner (type: banner)
   ========================= */
.bannerNormalGrid{
  display:grid;
  gap:10px;
}

.bannerNormalItem{
  background:#fff;
  /*border:1px solid #eee;*/
  border-radius:12px;
  margin-top: 5px;
  margin-bottom: 5px;
/*  padding:10px;*/
  text-align:center;
}

.bannerNormalItem img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  background:#fff;
}

.bannerNormalItem.square img{
  aspect-ratio:1 / 1;
  object-fit:contain;
}

.bannerNormalItem.rect img{
  object-fit:contain;
}

/* =========================
   Products horizontal scroll
   ========================= */
.hScroll{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
}
/* الافتراضي: كارد مرن */
.pCard{
  width:100%;
  min-width:0;
  max-width:none;
}

/* فقط بالـ Home (scroll أفقي) */
/*.productsMini .pCard,
.hScroll .pCard{
  min-width:170px;
  max-width:170px;
}*/
/* .pCard{
  min-width:170px;
  max-width:170px;
  scroll-snap-align:start;
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:10px;
}*/

.pCard img{
  width:100%;
  height:150px;
  object-fit:contain;
 
}



.pPrice{
  font-weight:900;
}

.sectionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:14px 0 10px;
}

.sectionHead .sectionTitle{
  margin:0 !important;
}

.viewAll{
  font-size:12px;
  font-weight:900;
  color:#111;
  text-decoration:none;
  opacity:.85;
}

.viewAll.ghost{
  opacity:0;           /* يحجز مكانه حتى لو ما في category_id */
  pointer-events:none;
}
زبطلي carousel banner هون ما عم يستغل صح