/* assets/wishlist.css — Wish List add-icon (.wish-icon) + Wish List page rows (.wl-*) */

.wish-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft, #888);
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
  transition: color 0.15s ease, background 0.15s ease;
}

.wish-icon::before {
  content: '♡';
  display: block;
}

.wish-icon:hover {
  color: var(--royal, #e05);
  background: rgba(84, 32, 132, 0.08);
}

.wish-icon.is-wished {
  color: var(--royal, #e05);
}

.wish-icon.is-wished::before {
  content: '♥';
}

.wish-icon:focus-visible {
  outline: 2px solid var(--royal, #e05);
  outline-offset: 2px;
}

/* ── Wish List page rows ────────────────────────────────────────────────── */
.wl-line { margin: 0 0 22px; }
.wl-line-name {
  font-family: 'Archivo', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--ink); margin: 0 0 6px; padding-bottom: 5px;
  border-bottom: 1px solid var(--line-dark);
}
.wl-items { list-style: none; margin: 0; padding: 0; }
.wl-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 4px; border-bottom: 1px solid #ece6d8; min-width: 0;
}
.wl-item:hover { background: #faf8f1; }
.wl-swatch {
  width: 44px; height: 22px; border-radius: 5px;
  border: 1px solid var(--line-dark); flex: 0 0 auto;
}
.wl-info { display: flex; align-items: baseline; gap: 10px; flex: 1 1 auto; min-width: 0; }
.wl-name { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-code { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-soft); flex: 0 0 auto; }
.wl-pigments { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-soft); opacity: .7; flex: 0 0 auto; white-space: nowrap; }
.wl-remove {
  margin-left: auto; flex: 0 0 auto; border: none; background: transparent;
  color: var(--ink-soft); font-size: 14px; cursor: pointer; padding: 2px 6px;
  border-radius: 6px; line-height: 1;
}
.wl-remove:hover { color: #b3261e; background: rgba(179, 38, 30, 0.08); }
.wl-empty { color: var(--ink-soft); font-size: 14px; margin: 12px 0; }
