/**
 * NÜMO — "avísame cuando esté disponible" sign-up card.
 *
 * Lives directly under the pricing cards on both the desktop (index.html) and
 * mobile (mobile/index.html) templates. Self-contained and themed only with the
 * shared CSS custom properties (--accent, --ink, …) that BOTH stylesheets define
 * in :root, so this single file styles it identically on either page.
 */
.stock-alert {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(197, 112, 77, 0.07), rgba(197, 112, 77, 0.02));
  border: 1px solid rgba(197, 112, 77, 0.28);
  border-radius: 16px;
  text-align: center;
}

.stock-alert__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot, #d88a63);
}

.stock-alert__title {
  margin: 0 0 8px;
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink, #f4ece4);
}

.stock-alert__lead {
  margin: 0 auto 20px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute, #8e827a);
}

.stock-alert__form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.stock-alert__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink, #f4ece4);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.14));
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.stock-alert__input::placeholder { color: var(--ink-mute, #8e827a); }
.stock-alert__input:focus {
  border-color: var(--accent, #c5704d);
  box-shadow: 0 0 0 3px rgba(197, 112, 77, 0.18);
}

.stock-alert__submit {
  flex: 0 0 auto;
  padding: 14px 22px;
  font-family: var(--font-display, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-hot, #d88a63), var(--accent, #c5704d));
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  /* Same top-edge highlight as the other brand CTAs. */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.stock-alert__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px -12px rgba(197, 112, 77, 0.5);
}
.stock-alert__submit:disabled { opacity: 0.65; cursor: default; }

/* Honeypot — visually removed but still in the DOM for bots to fill */
.stock-alert__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.stock-alert__status {
  margin: 14px 0 0;
  min-height: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft, #c8bdb1);
}
.stock-alert__status[data-kind="ok"] { color: var(--accent-hot, #d88a63); font-weight: 600; }
.stock-alert__status[data-kind="error"] { color: #e08a7a; }

.stock-alert__note {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--ink-mute, #8e827a);
}

@media (max-width: 540px) {
  .stock-alert { padding: 24px 18px; margin-top: 32px; }
  .stock-alert__form { flex-direction: column; }
  .stock-alert__submit { width: 100%; }
}
