/* Wishlist Page Styles */

.wishlist-page {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 70vh;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.breadcrumb span {
  color: #999;
}

/* Page Heading */
.page-heading {
  margin-bottom: 40px;
}

.page-heading h1 {
  font-size: 36px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.wishlist-count {
  font-size: 16px;
  color: #777;
}

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

.wishlist-empty .empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.wishlist-empty h2 {
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 15px;
}

.wishlist-empty p {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.browse-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.browse-btn:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

/* Wishlist Grid - matches products-row pattern */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Wishlist Card Overrides */
.wishlist-card {
  position: relative;
}

.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  color: #e74c3c;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .wishlist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .wishlist-page {
    padding-top: 140px;
  }

  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .page-heading h1 {
    font-size: 28px;
  }
}

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

  .page-heading h1 {
    font-size: 24px;
  }

  .wishlist-empty {
    padding: 60px 15px;
  }

  .wishlist-empty h2 {
    font-size: 22px;
  }
}
