/* ─── Legend ───────────────────────────────────────────────────────── */
.wishlist-legend {
  display: flex;
  gap: 24px;
  padding: 32px 0 40px;
  flex-wrap: wrap;
  align-items: center;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-600);
}

/* ─── Status badges ────────────────────────────────────────────────── */
.wl-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-booked  { background: #d1fae5; color: #065f46; }
.badge-planned { background: var(--ocean-lt); color: var(--ocean-dk); }
.badge-dream   { background: #ede9fe; color: #5b21b6; }

/* ─── Grid ─────────────────────────────────────────────────────────── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}

/* ─── Category card ────────────────────────────────────────────────── */
.wl-category {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.wl-category-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--ocean-dk), var(--ocean));
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.wl-category-icon { font-size: 1.2rem; }
.wl-category-name { font-weight: 600; font-size: .95rem; flex: 1; }
.wl-category-stats {
  display: flex;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
}
.stat-booked  { background: rgba(209,250,229,.25); color: #d1fae5; padding: 2px 7px; border-radius: 99px; }
.stat-planned { background: rgba(255,255,255,.15);  color: #fff;    padding: 2px 7px; border-radius: 99px; }

/* ─── Items ────────────────────────────────────────────────────────── */
.wl-items { padding: 8px 0; }
.wl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .1s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.wl-item:hover { background: var(--gray-50); }
.wl-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wl-item-label {
  font-size: .9rem;
  color: var(--gray-800);
  line-height: 1.3;
}
.wl-item-note {
  font-size: .78rem;
  color: var(--gray-400);
  font-style: italic;
}

@media (max-width: 640px) {
  .wishlist-legend { flex-direction: column; gap: 10px; }
  .wishlist-grid   { grid-template-columns: 1fr; }
}
