/* ===== Wishlist (capas sobre styles.css) ===== */

.field .req { color: var(--red-500); margin-left: 2px; }

/* ---------- Stars selector ---------- */
.stars {
  display: inline-flex;
  gap: 4px;
  background: var(--navy-50);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
}
.star {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy-200);
  padding: 4px 2px;
  font-family: inherit;
  transition: color 0.12s, transform 0.1s;
}
.star:hover { transform: scale(1.1); }
.star.active { color: #f5a623; }
.star:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 2px; border-radius: 4px; }

.hint {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Inline "Me interesa" modal en catálogo ---------- */
.interest-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 66, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.interest-backdrop[hidden] { display: none; }
.interest-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.2s ease-out;
}
.interest-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-700);
}
.interest-card .sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.interest-card .field { margin-bottom: 12px; }
.interest-card .actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.interest-card .btn-primary {
  flex: 1;
  background: var(--red-500);
  margin: 0;
  padding: 12px;
  box-shadow: none;
}
.interest-card .btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.interest-success {
  text-align: center;
  padding: 12px 0;
}
.interest-success .check {
  font-size: 42px;
  color: #1ebe5d;
  line-height: 1;
}

/* ---------- Botón "Me interesa" en card del catálogo ---------- */
.card-cta-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.card-cta-row .card-cta {
  flex: 1;
  margin-top: 0;
}
.btn-interest {
  background: var(--surface);
  color: var(--red-500);
  border: 1.5px solid var(--red-500);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s;
  min-width: 48px;
}
.btn-interest:hover { background: var(--red-50); }
.btn-interest.done {
  background: #e7f8ef;
  color: #1ebe5d;
  border-color: #1ebe5d;
  cursor: default;
}
.btn-interest svg { width: 16px; height: 16px; }
