.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  position: relative;
  border-radius: 2px;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-link {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* text-align: center; */
  text-decoration: none;
  width: 100%;
}

.product-image {
  width: 22rem;
  height: 22rem;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1rem;
  text-align: left;
  color: black;
  transition: color 0.3s;
}

.product-link:hover .product-title {
  color: #2874f0;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.product-rating {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-badge {
  font-size: 1rem;
  padding: 0.125rem 0.375rem;
  background-color: #388e3c;
  border-radius: 2px;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reviews-count {
  font-size: 1rem;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 500;
}

.price-strike {
  color: #6b7280;
  text-decoration: line-through;
  font-size: 1rem;
}

.price-discount {
  font-size: 0.9rem;
  color: #388e3c;
}

.stock-text{
  color: #ef4444;
  font-weight: 500;
}

.wishlist-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  color: #d1d5db;
  transition: color 0.3s;
}

.wishlist-icon:hover,
.wishlist-icon.active {
  color: #ef4444;
}
