/* Carmo "Back in stock" waitlist widget — auto-loaded (basename starts "style"). */

.stock-notify {
  margin: 14px 0 4px;
  max-width: 420px;
}
.stock-notify-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #e2001a;
  border: 2px solid #e2001a;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.stock-notify-toggle:hover,
.stock-notify-toggle:focus { background: #e2001a; color: #fff; outline: none; }
.stock-notify-toggle::before { content: "\1F514"; font-size: 15px; } /* bell */

.stock-notify-panel {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
}
.stock-notify-panel[hidden] { display: none; }

.stock-notify-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4b5563;
}
.stock-notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stock-notify-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #111;
}
.stock-notify-form input[type="email"]:focus {
  outline: none;
  border-color: #e2001a;
  box-shadow: 0 0 0 2px rgba(226,0,26,.15);
}
.stock-notify-submit {
  flex: 0 0 auto;
  background: #e2001a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.stock-notify-submit:hover { background: #c00017; }
.stock-notify-submit[disabled] { opacity: .6; cursor: default; }

/* Honeypot — visually hidden but present for bots. */
.stock-notify-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.stock-notify-msg {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  min-height: 1px;
}
.stock-notify-msg.is-ok    { color: #157347; }
.stock-notify-msg.is-error { color: #e2001a; }

.stock-notify-privacy {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #9ca3af;
}
.stock-notify.is-done .stock-notify-form,
.stock-notify.is-done .stock-notify-lead { display: none; }

@media (max-width: 480px) {
  .stock-notify, .stock-notify-toggle { width: 100%; }
  .stock-notify-toggle { justify-content: center; }
  .stock-notify-submit { flex: 1 1 100%; }
}
