:root {
  --wish-bg: #fff7ef;
  --wish-surface: #ffffff;
  --wish-surface-soft: #fffaf4;
  --wish-border: #ffdcbf;
  --wish-border-strong: #f8bb84;
  --wish-title: #1f2937;
  --wish-text: #4b5563;
  --wish-muted: #6b7280;
  --wish-orange: #f97316;
  --wish-orange-strong: #ea580c;
  --wish-danger: #dc2626;
  --wish-success: #15803d;
}

.wish-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 14px 50px;
  color: var(--wish-text);
}

.wish-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 28px;
  background:
    radial-gradient(900px 220px at 5% 0%, rgba(251, 146, 60, 0.17), transparent 60%),
    radial-gradient(1000px 260px at 95% 0%, rgba(251, 191, 36, 0.14), transparent 58%),
    var(--wish-bg);
}

.wish-shell > * {
  position: relative;
  z-index: 1;
}

.wish-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--wish-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%);
  box-shadow: 0 18px 38px rgba(234, 88, 12, 0.11);
}

.wish-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #fdba74;
  background: #fff2e2;
  color: #9a3412;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.wish-title {
  margin: 10px 0 8px;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.2;
  color: var(--wish-title);
}

.wish-lead {
  margin: 0;
  max-width: 70ch;
  line-height: 1.6;
}

.wish-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.wish-metrics {
  display: grid;
  gap: 10px;
  align-content: start;
}

.wish-metric {
  border: 1px solid #ffe2c6;
  border-radius: 14px;
  background: var(--wish-surface);
  padding: 12px 13px;
  display: grid;
  gap: 4px;
}

.wish-metric small {
  font-size: 0.77rem;
  color: var(--wish-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.wish-metric strong {
  color: var(--wish-title);
  font-size: 1.28rem;
  line-height: 1.1;
}

.wish-urgency {
  margin-top: 14px;
  border: 1px solid #fdba74;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5e7, #ffe7cb);
  color: #9a3412;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  font-size: 0.92rem;
  font-weight: 600;
}

.wish-urgency i {
  color: var(--wish-orange-strong);
}

.wish-urgency p {
  margin: 0;
}

.wish-toolbar {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.wish-grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.wish-card {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--wish-border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--wish-surface) 0%, var(--wish-surface-soft) 100%);
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.09);
  padding: 13px;
  position: relative;
  overflow: hidden;
  animation: wishCardIn 0.38s ease both;
}

@keyframes wishCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-remove {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff5f5;
  color: var(--wish-danger);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.wish-remove:hover {
  background: #fee2e2;
}

.wish-media {
  position: relative;
  min-height: 180px;
  border: 1px solid #ffead4;
  border-radius: 14px;
  background: #fffefc;
  display: grid;
  place-items: center;
  padding: 8px;
  text-decoration: none;
}

.wish-media img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
}

.wish-body {
  display: grid;
  gap: 11px;
  align-content: start;
}

.wish-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-right: 44px;
}

.wish-signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #ffdcbc;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 6px 9px;
}

.wish-signal--hot {
  border-color: #f97316;
  background: linear-gradient(135deg, #fff0df, #ffe2bf);
}

.wish-product-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.wish-product-title a {
  text-decoration: none;
  color: var(--wish-title);
}

.wish-product-title a:hover {
  color: #9a3412;
}

.wish-description {
  margin: 0;
  line-height: 1.55;
  color: var(--wish-text);
}

.wish-price-wrap {
  display: grid;
  gap: 4px;
}

.wish-price {
  color: #111827;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.1;
}

.wish-note {
  color: #92400e;
  font-size: 0.84rem;
  font-weight: 600;
}

.wish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 2px;
}

.wish-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wish-btn:hover {
  transform: translateY(-1px);
}

.wish-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff8f1f, #f97316);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.wish-btn--warm {
  color: #7c2d12;
  background: linear-gradient(135deg, #ffd08a, #ffb85d);
  border-color: #fdba74;
  box-shadow: 0 10px 22px rgba(251, 146, 60, 0.2);
}

.wish-btn--ghost {
  color: #9a3412;
  border-color: #fdba74;
  background: #ffffff;
}

.wish-btn--ghost:hover {
  background: #fff7ec;
}

.wish-btn--danger {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff5f5;
}

.wish-btn--danger:hover {
  background: #fee2e2;
}

.wish-empty {
  margin-top: 18px;
  border: 1px dashed var(--wish-border-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.11);
  padding: 34px 18px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.wish-empty i {
  font-size: 2rem;
  color: #f97316;
}

.wish-empty h2 {
  margin: 0;
  color: var(--wish-title);
}

.wish-empty p {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
}

.wish-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .wish-hero {
    grid-template-columns: 1fr;
  }

  .wish-card {
    grid-template-columns: 1fr;
  }

  .wish-media {
    min-height: 210px;
  }

  .wish-media img {
    max-height: 250px;
  }
}

@media (max-width: 700px) {
  .wish-shell {
    padding: 18px 10px 38px;
  }

  .wish-hero {
    padding: 16px;
    border-radius: 16px;
  }

  .wish-title {
    font-size: clamp(1.3rem, 6vw, 1.75rem);
  }

  .wish-metrics {
    grid-template-columns: 1fr;
  }

  .wish-toolbar {
    justify-content: stretch;
  }

  .wish-toolbar .wish-btn {
    width: 100%;
  }

  .wish-signals {
    padding-right: 0;
  }

  .wish-actions .wish-btn {
    width: 100%;
  }
}
