/* My Wishlist Page Styles */

/* Reuse variables from main style.css */

.my-wishlist-page {
  padding: 140px 5% 60px; /* Account for fixed header */
  background-color: var(--floral-white);
  min-height: 80vh;
}

.wishlist-container-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.wishlist-header {
  text-align: center;
  margin-bottom: 40px;
}

.wishlist-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-dark-brown);
  margin-bottom: 10px;
}

.wishlist-header p {
  color: var(--text-light-brown);
  font-size: 1.1rem;
}

/* Wishlist Grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Wishlist Card */
.wishlist-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid rgba(139, 69, 19, 0.05);
}

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

.wishlist-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.wishlist-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wishlist-card:hover .wishlist-card-img img {
  transform: scale(1.05);
}

/* Delete Button */
.btn-delete-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* color: #ff4d4d; */
  color: #999;
  font-size: 1rem;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-delete-wishlist:hover {
  background: #ff4d4d;
  color: white;
  transform: scale(1.1);
}

/* Card Content */
.wishlist-card-content {
  padding: 20px;
  text-align: center;
}

.wishlist-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark-brown);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.wishlist-current-price {
  font-weight: 700;
  color: var(--text-dark-brown);
  font-size: 1.1rem;
}

.wishlist-old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}

.btn-move-cart {
  width: 100%;
  padding: 10px 0;
  background: var(--text-dark-brown);
  /* color: var(--accent-gold); */
  color: white;
  border: 1px solid var(--text-dark-brown);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-move-cart:hover {
  background: transparent;
  color: var(--text-dark-brown);
}

/* Empty State */
.empty-wishlist-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-wishlist-state h3 {
  font-size: 1.8rem;
  color: var(--text-dark-brown);
  margin-bottom: 10px;
}

.empty-wishlist-state p {
  color: var(--text-light-brown);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
    .my-wishlist-page {
        padding-top: 120px;
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .wishlist-card-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
}
