/* Wishlist Page Additional Styles */

/* Responsive Grid */
@media (max-width: 1200px) {
  .wish-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .wish-header {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  
  .wish-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .wish-main {
    padding: 30px 20px;
  }
  
  .wish-title {
    font-size: 2rem;
  }
  
  .wish-grid {
    grid-template-columns: 1fr !important;
  }
  
  .wish-card-body {
    padding: 20px;
  }
}

/* Card Animations */
.wish-card {
  animation: cardFadeIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-card:nth-child(1) { animation-delay: 0.1s; }
.wish-card:nth-child(2) { animation-delay: 0.2s; }
.wish-card:nth-child(3) { animation-delay: 0.3s; }
.wish-card:nth-child(4) { animation-delay: 0.4s; }
.wish-card:nth-child(5) { animation-delay: 0.5s; }
.wish-card:nth-child(6) { animation-delay: 0.6s; }

/* Remove Animation */
.wish-card.removing {
  animation: cardRemove 0.3s ease forwards;
}

@keyframes cardRemove {
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Share Button */
.wish-share {
  position: absolute;
  top: 15px;
  left: 50px;
  width: 40px;
  height: 40px;
  background: rgba(10,10,12,0.8);
  border: 1px solid rgba(240,235,224,0.3);
  color: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.wish-share:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Quick View Modal */
.quick-view-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,10,12,0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.quick-view-overlay.active {
  display: flex;
}

.quick-view-content {
  background: var(--ink-soft);
  border: 1px solid rgba(201,168,76,0.3);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.quick-view-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

.quick-view-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.quick-view-body {
  padding: 30px;
}

/* Empty State Animation */
.empty-state {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-soft);
  border: 1px solid var(--gold);
  padding: 15px 30px;
  z-index: 1000;
  animation: toastIn 0.3s ease;
}

.toast.hiding {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}
