/* ============================================================
   Nobo Deal — Wishlist hearts (nd-wishlist.css)
   ------------------------------------------------------------
   • .nd-wish-card  — overlay heart on product cards (bottom-right
                      of .product-media, which is position:relative)
   • .nd-wish-inline — heart + label in the product detail action row
   • Header badge (#wishlist-count-badge) reuses .nd-cart-badge look
   ============================================================ */

.nd-wish {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #647b74;
  background: #fff;
  box-shadow: 0 6px 16px rgba(5, 45, 35, 0.18);
  transition: transform .18s var(--nd-ease, ease), color .18s ease, background .18s ease, box-shadow .18s ease;
}
.nd-wish:hover { transform: scale(1.1); }
.nd-wish.active { color: #e74c3c !important; }
.nd-wish.busy { opacity: .6; pointer-events: none; }

/* Card overlay heart */
.nd-wish-card {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nd-wish-card:hover { box-shadow: 0 10px 22px rgba(5, 45, 35, .26); }
.nd-wish-card.active { background: #fff0f0; box-shadow: 0 6px 16px rgba(231, 76, 60, .25); }

/* Detail-page inline heart (next to Add to Cart / Buy Now) */
.nd-wish-inline {
  position: relative;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 30px;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--nd-emerald-deep, #0b5c43);
  border: 1.5px solid rgba(11, 92, 67, .35);
  background: #fff;
  vertical-align: middle;
  margin: 0 8px 8px 0;
}
.nd-wish-inline.active { border-color: #e74c3c; background: #fff5f5; }
.nd-wish-inline-label { font-size: 13.5px; }
.nd-wish-inline i { font-size: 16px; }

@media (max-width: 575.98px) {
  .nd-wish-card { width: 32px; height: 32px; font-size: 13px; right: 8px; bottom: 8px; }
  .nd-wish-inline { min-height: 44px; padding: 0 14px; }
}

/* Header wishlist badge — white chip with a red heart number */
.nd-wish-count-badge {
  background: #fff !important;
  color: #e74c3c !important;
  border: 1.5px solid #f3c1bd !important;
  box-shadow: 0 3px 8px rgba(231, 76, 60, 0.28) !important;
}

/* Mobile: no wishlist heart inside the product detail page (client request) */
@media (max-width: 767.98px) {
  .product-detail-action .nd-wish-inline { display: none !important; }
}
