/**
 * 收藏清單 — Neway t4
 */
.mldi-wish, .nw-wish {
  --w-ink: var(--nw-ink, #181818);
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 72px;
  font-family: var(--nw-font, system-ui, Inter, "PingFang TC", "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC", sans-serif);
  color: var(--w-ink);
}
.nw-wish-intro-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin-bottom: 22px;
}
.mldi-wish-eyebrow, .nw-eyebrow { color: var(--nw-brand-600, #A85A16); font-weight: 600; font-size: .875rem; margin: 0 0 8px; }
.mldi-wish .nw-section-title, .nw-wish .nw-section-title { margin: 0 0 8px; }
.mldi-wish-sub { color: var(--nw-ink-muted, #5a5a5a); font-size: .9375rem; margin: 0; max-width: 36em; }
.nw-wish-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nw-wish-count { margin: 0; font-size: .875rem; color: #777; }
.nw-wish-count strong { color: #181818; }

.mldi-wish-empty, .nw-empty {
  text-align: center;
  border: 1px solid rgba(24,24,24,.08);
  background: #fafafa;
  border-radius: 1rem;
  padding: 64px 24px;
}
.mldi-wish-empty .nw-empty-ico {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 1rem; background: #fff; color: #aaa;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(24,24,24,.06);
}
.mldi-wish-empty .nw-empty-ico svg { width: 28px; height: 28px; }
.mldi-wish-empty h2 { font-size: 1.25rem; font-weight: 600; margin: 0 0 8px; }
.mldi-wish-empty p { color: #666; font-size: .9375rem; margin: 0 auto 22px; max-width: 28em; }

.mldi-wish-grid, .nw-wish .nw-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 768px) {
  .mldi-wish-grid, .nw-wish .nw-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1100px) {
  .mldi-wish-grid, .nw-wish .nw-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mldi-wish-card, .nw-pcard-static {
  position: relative;
  border: 1px solid rgba(24,24,24,.08);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24,24,24,.05);
  display: flex; flex-direction: column;
}
.mldi-wish-card .nw-pcard-media, .mldi-wish-card a.thumb {
  display: block; aspect-ratio: 4 / 5; background: #f3f3f1; overflow: hidden;
}
.mldi-wish-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mldi-wish-card .nw-pcard-body, .mldi-wish-card .body {
  padding: 12px 14px 16px; display: grid; gap: 6px; flex: 1;
}
.mldi-wish-card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mldi-wish-card .actions .nw-btn, .mldi-wish-card .actions .nw-btn-outline {
  min-height: 40px; padding: 0 14px; font-size: .8125rem;
}
.mldi-wish-remove {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(24,24,24,.1);
  background: rgba(255,255,255,.95); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(24,24,24,.08);
}
.mldi-wish-remove:hover { background: var(--nw-brand-50); border-color: var(--nw-brand-200); }
.mldi-wish-remove svg { width: 16px; height: 16px; fill: var(--nw-brand-600); color: var(--nw-brand-600); }

.mldi-wish-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; min-width: 48px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid rgba(24,24,24,.12);
  background: rgba(255,255,255,.95); color: var(--nw-ink);
  font: 600 .8125rem/1 var(--nw-font); cursor: pointer;
}
.mldi-wish-toggle[aria-pressed="true"] {
  background: var(--nw-brand-600); border-color: var(--nw-brand-600); color: #fff;
}
.mldi-wish-toggle svg { width: 16px; height: 16px; }
.mldi-wish-toggle[aria-pressed="true"] svg { fill: #fff; color: #fff; }
