/* NOIR Wishlist styles — mirrors cart.css so the two drawers feel like
   one system. Adjust colors/fonts to match your site if needed. */

.noir-wishlist-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}
.noir-wishlist-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.noir-wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 380px;
  background: #111;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}
.noir-wishlist-drawer.open {
  transform: translateX(0);
}

.noir-wishlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #333;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.noir-wishlist-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.noir-wishlist-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.noir-wishlist-empty {
  color: #888;
  text-align: center;
  margin-top: 40px;
}

.noir-wishlist-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #222;
}
.noir-wishlist-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #222;
}
.noir-wishlist-item-info {
  flex: 1;
}
.noir-wishlist-item-name {
  font-size: 14px;
  text-transform: lowercase;
}
.noir-wishlist-item-price {
  font-size: 13px;
  color: #aaa;
  margin: 4px 0;
}
.noir-wishlist-item-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.noir-wishlist-add-cart {
  background: #fff;
  color: #111;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.noir-wishlist-add-cart:hover { background: #ddd; }
.noir-wishlist-remove {
  background: none;
  border: none;
  color: #888;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
}
.noir-wishlist-remove:hover { color: #fff; }

/* ---- Reusable heart toggle button ----
   Used both for the header icon and any per-product heart button. */
.noir-wishlist-heart {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.15s ease;
}
.noir-wishlist-heart:active {
  transform: scale(0.85);
}
.noir-wishlist-heart i {
  pointer-events: none;
}

/* Heart button overlaid on a product image, e.g. on product detail pages */
.carousel-wishlist-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  z-index: 3;
  font-size: 1.1rem;
}
.carousel-wishlist-btn:hover {
  background: #fff;
}
