/* Reset fond */
body {
  background: white !important;
}

/* Conteneur principal */
.babou-produits-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  padding: 20px;
}

/* Carte produit */
.babou-produit-slide {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #0002;
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.2s;
}

/* Image */
.babou-produit-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

/* Titre */
.babou-produit-slide h3 {
  font-size: 1.05em;
  font-weight: 500;
  text-align: center;
  margin: 0 0 0 0; /* ZÉRO ESPACE, PARTOUT */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.babou-produit-slide h3 a {
  color: inherit;
  text-decoration: none; /* ⛔ supprime soulignement */
}

/* Prix */
.babou-produit-slide p {
  font-size: 1.05em;
  font-weight: normal;
  margin-bottom: 0.4em; /* réduit l'espace avec promo */
}

/* Promo */
.babou-produit-slide .promo-label {
  color: #1d8f3f; /* vert doux */
  font-weight: 500;
  font-size: 1em;
  margin-bottom: 0.5em;
  text-transform: none;
}

/* Bouton */
.babou-produit-slide .button {
  background: #eee;
  color: #111;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 0.6em 1.2em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}

.babou-produit-slide .button:hover {
  background: #ddd;
}
@media screen and (max-width: 768px) {
  .babou-produits-slider {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px;
    padding: 10px;
  }
}
.babou-slider-wrapper button.babou-load-more,
.babou-slider-wrapper button.babou-reset-slider {
    display: inline-block;
    margin: 20px auto 10px;
    padding: 12px 20px;
    font-size: 1.1em;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.babou-slider-wrapper button.babou-load-more:hover,
.babou-slider-wrapper button.babou-reset-slider:hover {
    background: #333;
}

.babou-slider-wrapper {
    text-align: center;
}
.babou-slider-buttons {
    text-align: center;
    margin-top: 20px;
}

.babou-slider-buttons button {
    display: inline-block;
    margin: 0 8px 10px;
    padding: 12px 22px;
    font-size: 1.1em;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.babou-slider-buttons button:hover {
    background: #444;
}


