/* Styles pour la carte produit */
.product-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Galerie d'images */
.product-image-gallery {
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9;
  /*
  padding: 20px;
  */
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge de type de produit */
.product-type-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #3cbfae; /* Couleur turquoise comme dans l'image */
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Conteneur des images */
.gallery-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Éléments de la galerie (images) */
.gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item.active {
  opacity: 1;
  z-index: 1;
}

.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Coins décoratifs */
.corner-decoration {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #3cbfae;
}

.corner-decoration.top-right {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}

.corner-decoration.bottom-left {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}

/* Navigation de la galerie */
.gallery-nav {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.gallery-prev,
.gallery-next {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 5px;
  transition: background-color 0.3s;
  color: #333;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Points indicateurs */
.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.gallery-dot.active {
  background-color: #333;
  transform: scale(1.2);
}

/* Informations du produit */
.product-info {
  padding: 20px;
  text-align: left;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
}

.product-price {
  font-size: 1.1rem;
  color: #6a1b9a; /* Couleur violette comme dans l'image */
  font-weight: 600;
  margin-bottom: 15px;
}

/* Bouton d'ajout au panier */
.btn-add-cart {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.btn-add-cart:hover {
  background-color: #333;
}

/* Styles responsifs */
@media (max-width: 768px) {
  .product-image-gallery {
    height: 200px;
  }

  .product-type-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .product-info h3 {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1rem;
  }
}
