/* Popup "Notifica disponibilità" dei bundle. Usa i token del tema Flamigni con fallback. */
.JmpBundleWaitlist {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 2rem 1.5rem 1.5rem;
  border: 0;
  border-radius: 4px;
  background: var(--neutral-white, #fff);
  color: var(--neutral-primary, #1d1d1b);
  font-family: var(--ff-primary, inherit);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.25);
}

.JmpBundleWaitlist::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.JmpBundleWaitlist__Close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.JmpBundleWaitlist__Title {
  margin: 0 2rem 0.5rem 0;
  font-family: var(--ff-heading, inherit);
  font-size: var(--fs-550, 1.5rem);
  line-height: 1.2;
}

.JmpBundleWaitlist__Bundle {
  margin: 0 0 0.75rem;
  color: var(--primary-standard, #b6861f);
  font-weight: 700;
}

.JmpBundleWaitlist__Bundle:empty {
  display: none;
}

.JmpBundleWaitlist__Subtitle {
  margin: 0 0 1.25rem;
  font-size: var(--fs-400, 1rem);
}

.JmpBundleWaitlist__Form {
  display: grid;
  gap: 0.75rem;
}

.JmpBundleWaitlist__Label {
  font-size: var(--fs-300, 0.875rem);
  font-weight: 700;
}

.JmpBundleWaitlist__Input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-grey-secondary, #bbb);
  border-radius: 3px;
  font: inherit;
}

.JmpBundleWaitlist__Input:focus-visible,
.JmpBundleWaitlist__Privacy input:focus-visible,
.JmpBundleWaitlist__Submit:focus-visible,
.JmpBundleWaitlist__Close:focus-visible {
  outline: 2px solid var(--primary-standard, #b6861f);
  outline-offset: 2px;
}

.JmpBundleWaitlist__Trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.JmpBundleWaitlist__Privacy {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: var(--fs-300, 0.875rem);
  line-height: 1.4;
}

.JmpBundleWaitlist__Privacy input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  accent-color: var(--primary-standard, #b6861f);
}

.JmpBundleWaitlist__Privacy a {
  color: inherit;
  text-decoration: underline;
}

/* Prefisso .JmpBundleWaitlist: il reset dei pulsanti del tema (Tailwind) è
   caricato dopo questo file e altrimenti rende lo sfondo trasparente. */
.JmpBundleWaitlist .JmpBundleWaitlist__Submit {
  justify-self: start;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 3px;
  background: var(--primary-standard, #b6861f);
  color: var(--neutral-white, #fff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.JmpBundleWaitlist .JmpBundleWaitlist__Submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.JmpBundleWaitlist__Message {
  margin: 0;
  font-size: var(--fs-300, 0.875rem);
}

.JmpBundleWaitlist__Message--error {
  color: #b00020;
}

.JmpBundleWaitlist__Message--success {
  color: #1e7a34;
  font-size: var(--fs-400, 1rem);
}

.JmpBundleWaitlist [hidden] {
  display: none !important;
}

/* Pulsante nella pagina del bundle non disponibile. */
.BundleWaitlistButton {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
