* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --gold: #d4af37;
  --black: #111;
  --white: #fff;
}

body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #111;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
}

.container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  color: #111;
}

.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}

.wishlist-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  width: 100%;
  max-width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.wishlist-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.wishlist-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  text-align: center;
}

.wishlist-details h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 40px;
  color: #111;
}

.wishlist-details p {
  font-size: 0.95rem;
  font-weight: 700;
  color: #c79a00;
  margin-bottom: 12px;
}

.wishlist-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.wishlist-actions button {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.add-cart-btn {
  background: #111;
  color: #fff;
}

.add-cart-btn:hover {
  background: #c79a00;
  color: #111;
}

.remove-wishlist-btn {
  background: #ececec;
  color: #111;
}

.remove-wishlist-btn:hover {
  background: #d9534f;
  color: #fff;
}

.empty-wishlist {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  font-size: 1rem;
  color: #666;
  background: #fff;
  border-radius: 12px;
  width: 100%;
}

.footer {
  margin-top: 60px;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}

.footer-bottom1 p {
  margin: 0;
}

.toast-container{
  position: fixed;
  top: 95px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

.toast{
  min-width: 220px;
  max-width: 320px;
  background: #111;
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  font-size: 14px;
  line-height: 1.4;
  border-left: 4px solid #d4af37;
  animation: slideInToast 0.3s ease, fadeOutToast 0.3s ease 2.2s forwards;
}

.toast.success{
  border-left-color: #d4af37;
}

.toast.info{
  border-left-color: #3b82f6;
}

.toast.error{
  border-left-color: crimson;
}

@keyframes slideInToast{
  from{
    opacity: 0;
    transform: translateX(30px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutToast{
  to{
    opacity: 0;
    transform: translateX(20px);
  }
}

@media (max-width: 768px){
  .toast-container{
    top: 88px;
    right: 14px;
    left: 14px;
  }

  .toast{
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
    margin: 20px auto;
  }

  .container h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .arrivals-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wishlist-card {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    min-height: 380px;
  }

  .wishlist-card img {
    height: 220px;
  }

  .wishlist-details {
    padding: 14px;
  }

  .wishlist-details h3 {
    font-size: 1rem;
    min-height: auto;
  }

  .wishlist-details p {
    font-size: 0.95rem;
  }

  .wishlist-actions button {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 14px;
    margin: 18px auto;
  }

  .container h2 {
    font-size: 1.5rem;
  }

  .wishlist-card {
    max-width: 280px;
  }

  .wishlist-card img {
    height: 205px;
  }

  .wishlist-details h3 {
    font-size: 0.95rem;
  }

  .wishlist-details p {
    font-size: 0.9rem;
  }

  .wishlist-actions button {
    font-size: 0.88rem;
  }
}