/* Wishlist heart icon on product cards */
.wishlist-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wishlist-heart:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
}

.wishlist-heart svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #333;
  stroke-width: 2;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.wishlist-heart.active svg {
  fill: #e91e63;
  stroke: #e91e63;
}

.wishlist-heart.active {
  animation: wishlist-pulse 0.4s ease;
}

@keyframes wishlist-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Item wrapper needs relative positioning for heart */
.item-wrapper {
  position: relative;
}

/* Wishlist page */
.wishlist-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 60vh;
}

.wishlist-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
}

.wishlist-empty p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
}

.wishlist-empty a {
  display: inline-block;
  padding: 12px 32px;
  background: #000;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.wishlist-empty a:hover {
  opacity: 0.8;
}

.wishlist-item {
  position: relative;
}

.wishlist-item .wishlist-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #999;
  transition: color 0.2s, background 0.2s;
}

.wishlist-item .wishlist-remove:hover {
  color: #e91e63;
  background: #fff;
}

.wishlist-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.wishlist-item .product-info {
  padding: 10px 0;
}

.wishlist-item .product-name {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.wishlist-item .product-price {
  font-size: 0.85rem;
  color: #666;
}
