/* Bhadrakali Jewellers - Persistent Wishlist Drawer Styling */

.wishlist-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.wishlist-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wishlist-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10601;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wishlist-drawer.active {
  right: 0;
}

.wishlist-header {
  padding: 18px 24px;
  background: linear-gradient(135deg, #1c0b2b, #32134a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wishlist-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin: 0;
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wishlist-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.wishlist-close-btn:hover {
  transform: rotate(90deg);
  color: #d4af37;
}

.wishlist-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.wishlist-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888888;
}

.wishlist-empty-icon {
  font-size: 3.5rem;
  color: #e0d5eb;
  margin-bottom: 15px;
}

.wishlist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #f0e6f7;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #faf8fc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(76, 29, 111, 0.08);
}

.wishlist-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #eee;
  padding: 4px;
}

.wishlist-item-info {
  flex: 1;
  min-width: 0;
}

.wishlist-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-meta {
  font-size: 0.75rem;
  color: #777777;
  display: flex;
  gap: 8px;
}

.wishlist-remove-btn {
  background: transparent;
  border: none;
  color: #c0392b;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  transition: color 0.2s;
}

.wishlist-remove-btn:hover {
  color: #e74c3c;
}

.wishlist-footer {
  padding: 18px 24px;
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
}

.wishlist-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #25d366;
  color: #ffffff;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.wishlist-wa-btn:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
}

.wishlist-nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #aa7c11;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}
