.cat-box {
  width: 55px;
  height: 55px;
  margin: 0 auto;
  border-radius: 15px;
  background: #f5f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cat-box.more {
  background: #e9ecef;
  font-weight: bold;
  color: #000;
}

.artisan-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.artisan-item img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.info {
  flex: 1;
  margin-left: 12px;
}

.info h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.rating {
  font-size: 12px;
  color: #f39c12;
}

.rating span {
  color: #777;
  font-size: 11px;
}

.badge {
  display: inline-block;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 10px;
  margin-right: 4px;
  background: #f1f3f5;
  color: #333;
}

/* promo */

.ads-scroll {
  display: flex;
  flex-wrap: nowrap;              /* empêche retour à la ligne */
  overflow-x: auto;               /* active scroll horizontal */
  overflow-y: hidden;

  gap: 12px;
  padding-bottom: 10px;

  -webkit-overflow-scrolling: touch; /* scroll fluide iOS */

  scroll-snap-type: x mandatory;  /* effet swipe pro */
}

/* Cache la scrollbar (look app mobile propre) */
.ads-scroll::-webkit-scrollbar {
  display: none;
}

.ads-scroll {
  scrollbar-width: none; /* Firefox */
}

/* Carte pub */
.ad-card {
  flex: 0 0 auto;        /* IMPORTANT pour activer scroll */
  width: 140px;
  height: 110px;

  border-radius: 16px;
  overflow: hidden;
  position: relative;

  scroll-snap-align: start;

  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* Image */
.ad-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Texte sur image */
.ad-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background: rgba(0,0,0,0.55);
  color: #fff;

  font-size: 11px;
  padding: 5px;
  text-align: center;
}

/* Option wrapper (si tu utilises container Bootstrap) */
.ads-wrapper {
  width: 100%;
  padding-left: 15px;
  padding-right: 5px;
}

