/* Your custom css */

/* ===== 3 colonnes toutes tailles ===== */
.category-card-wrapper {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  padding: 8px !important;
}
@media (max-width: 991px) {
  .category-card-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 424px) {
  .category-card-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}

/* ===== Carte categorie redesign ===== */
.category-card-wrapper .small-card-item {
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
  border: none !important;
  overflow: hidden;
  padding: 0 !important;
  transition: transform .28s ease, box-shadow .28s ease;
  background: #fff;
}
.category-card-wrapper .small-card-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(58,150,57,.2) !important;
}

/* Lien intérieur */
.category-card-wrapper .small-card-item a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px !important;
  text-decoration: none;
}

/* IMAGE RONDE */
.category-card-wrapper .small-card-item img {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #e8f5e8 !important;
  margin-bottom: 12px !important;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  box-shadow: 0 2px 10px rgba(58,150,57,.15);
}
.category-card-wrapper .small-card-item:hover img {
  transform: scale(1.1);
  border-color: #3a9639 !important;
  box-shadow: 0 4px 16px rgba(58,150,57,.35);
}

/* Nom de la categorie */
.category-card-wrapper .small-card-item .title {
  font-size: 13px !important;
  font-weight: 700;
  color: #2d2d2d;
  text-align: center;
  margin-top: 4px;
  line-height: 1.3;
  transition: color .2s;
}
.category-card-wrapper .small-card-item:hover .title {
  color: #3a9639;
}
