/* 🧸 Styles pour les galeries statiques Bébé Isabelle */

.babou-produits-slider {
  display: grid;
  gap: 28px;
  padding: 20px;
}

.babou-produits-slider.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.babou-produits-slider.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.babou-produits-slider.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.babou-product-card {
  background: #f9f9f9;
  border-radius: 18px;
  box-shadow: 0 2px 12px #0002;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.babou-product-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.babou-product-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.babou-product-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


.babou-product-image .hover-image {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .babou-product-image .hover-image {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s ease;
  }

  .babou-product-image:hover .hover-image {
    opacity: 1;
  }

  .babou-product-image:hover .main-image {
    opacity: 0;
  }
}

.babou-product-content {
  padding: 16px;
}

.babou-product-content .product-title {
  font-size: 14px;
  margin: 0 0 5px;
  color: #222;
}

.babou-product-content .product-price {
  font-weight: bold;
  margin-bottom: 10px;
}

.babou-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 25px;
  background: #fff;
  color: #000;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 2px 4px #0001;
  transition: all 0.2s ease;
}

.babou-btn:hover {
  background: #f2f2f2;
}
.babou-buttons-wrapper {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.babou-load-more,
.babou-reset-slider {
  background: #eee;
  border: none;
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.babou-load-more:hover,
.babou-reset-slider:hover {
  background: #ddd;
}
