/* Container grid for products */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  /* padding: 20px; */
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

/* Image container */
.imgb {
  height: 230px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.imgb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.imgb img:hover {
  transform: scale(1.05);
}

/* Product Name */
.name {
  font-size: 16px;
  font-weight: bold;
  margin: 6px 0;
  color: #333;
  text-align: left;
  padding-left: 5px;
}

/* Price */
.price {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin: 8px 4px;
  text-align: left;
}

/* Stars */
.stars {
  text-align: left;
  padding-left: 5px;
  font-size: 14px;
  color: #ffc107;
  margin: 5px 0;
}

/* Action Buttons */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* Add to Cart */
.add-to-cart {
  background: #6a0dad;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background: #6a0dad;
}

/* Wishlist Button */
.wishlist-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
}

.wishlist-btn:hover {
  color: red;
}
