/* ─────────────────────────────────────────────────────────────
   Notify Me — Out of Stock UX
   Used on single-product.php when product is out of stock.
   ───────────────────────────────────────────────────────────── */

.fe-notify-me {
  margin-top: 0;
}

/* ── "THIS PIECE IS CURRENTLY UNAVAILABLE" eyebrow ── */

.fe-notify-me__label {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fe-warm-gray);
  margin: 0 0 8px;
}

/* ── Supporting copy ── */

.fe-notify-me__subtext {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--fe-warm-gray);
  margin: 0 0 20px;
  line-height: 1.6;
}

/* ── Primary NOTIFY ME button — outline variant ── */

.fe-btn-notify-me {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  background: transparent;
  color: var(--fe-black);
  border: 1px solid var(--fe-black);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.fe-btn-notify-me:hover:not(:disabled) {
  background: var(--fe-black);
  color: var(--fe-white);
}

.fe-btn-notify-me:disabled {
  cursor: default;
}

/* ── Active / "on the list" state — gris cálido, no negro ── */

.fe-btn-notify-me--active {
  background: var(--fe-warm-gray);
  color: var(--fe-white);
  border-color: var(--fe-warm-gray);
}

.fe-btn-notify-me--active:hover:not(:disabled) {
  background: transparent;
  color: var(--fe-warm-gray);
  border-color: var(--fe-warm-gray);
}

/* ── Guest options: sign-in OR email row ── */

.fe-notify-me__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fe-notify-me__or {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--fe-warm-gray);
  text-align: center;
  letter-spacing: 0.06em;
}

.fe-notify-me__email-form {
  display: flex;
  gap: 0;
}

.fe-notify-me__input {
  flex: 1;
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--fe-black);
  background: var(--fe-white);
  border: 1px solid var(--fe-border);
  border-right: none;
  padding: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.fe-notify-me__input:focus {
  border-color: var(--fe-black);
}

.fe-notify-me__input::placeholder {
  color: var(--fe-warm-gray);
}

.fe-notify-me__email-form .fe-btn-notify-me {
  width: auto;
  white-space: nowrap;
  padding: 14px 18px;
  border-left: none;
  font-size: 0.625rem;
}

/* ── Response message ── */

.fe-notify-me__message {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-top: 12px;
  padding: 8px 0;
  line-height: 1.5;
}

.fe-notify-me__message.success { color: var(--fe-success, #2e7d32); }
.fe-notify-me__message.error   { color: var(--fe-error,   #b94a4a); }

/* ─────────────────────────────────────────────────────────────
   Variation-level Notify Me (.fe-notify)
   Shown/hidden dynamically when switching to an OOS variation.
   ───────────────────────────────────────────────────────────── */

.fe-notify {
  margin-top: 0;
}

/* Notify Me button styled like the Add to Cart — outline variant */
.fe-product__add-btn--notify {
  background: transparent;
  color: var(--fe-black);
  border: 1px solid var(--fe-black);
}

.fe-product__add-btn--notify:hover {
  background: var(--fe-black);
  color: var(--fe-white);
}

.fe-notify__text {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--fe-black);
  line-height: 1.6;
  margin: 0 0 16px;
}

.fe-notify__text strong {
  font-weight: 600;
}

.fe-notify__input-row {
  display: flex;
  gap: 0;
}

.fe-notify__input {
  flex: 1;
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--fe-black);
  background: var(--fe-white);
  border: 1px solid var(--fe-border);
  border-right: none;
  padding: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.fe-notify__input:focus {
  border-color: var(--fe-black);
}

.fe-notify__input::placeholder {
  color: var(--fe-warm-gray);
}

.fe-notify__btn {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 14px 18px;
  background: transparent;
  color: var(--fe-black);
  border: 1px solid var(--fe-black);
  border-left: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.fe-notify__btn:hover {
  background: var(--fe-black);
  color: var(--fe-white);
}

.fe-notify__success {
  font-family: var(--fe-font-body), sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--fe-success, #2e7d32);
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Mobile ── */

@media (max-width: 480px) {
  .fe-notify-me__email-form {
    flex-direction: column;
    gap: 8px;
  }

  .fe-notify-me__input {
    border-right: 1px solid var(--fe-border);
  }

  .fe-notify-me__email-form .fe-btn-notify-me {
    width: 100%;
    border-left: 1px solid var(--fe-black);
    padding: 14px 24px;
  }

  .fe-notify__input-row {
    flex-direction: column;
    gap: 8px;
  }

  .fe-notify__input {
    border-right: 1px solid var(--fe-border);
  }

  .fe-notify__btn {
    width: 100%;
    border-left: 1px solid var(--fe-black);
    padding: 14px 24px;
  }
}
