.eco-nl {
  position: fixed;
  z-index: 9990;
  left: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 40px));
  padding: 20px 20px 14px;
  background: #fff;
  color: var(--ink, #172019);
  border: 1px solid var(--line, #dee7e0);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(11, 43, 27, 0.18);
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.eco-nl.is-open {
  opacity: 1;
  transform: none;
}
.eco-nl[hidden] {
  display: none;
}
/* The theme styles every button with !important colours; the close control stays quiet. */
.eco-nl .eco-nl__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none;
  color: var(--muted, #5b675f) !important;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.eco-nl .eco-nl__close:hover,
.eco-nl .eco-nl__close:focus-visible {
  background: var(--pale, #f2f6f1) !important;
  color: var(--ink, #172019) !important;
}
.eco-nl__title {
  margin: 0 36px 8px 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--green, #003d27);
}
.eco-nl__text {
  margin: 0 0 12px;
  color: var(--muted, #5b675f);
  font-size: 14px;
}
.eco-nl-form__row {
  display: flex;
  gap: 8px;
}
.eco-nl-form__email {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line, #dee7e0);
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #172019);
  font: inherit;
}
.eco-nl-form__submit {
  text-transform: none;
  letter-spacing: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--green, #003d27);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.eco-nl-form__submit:hover,
.eco-nl-form__submit:focus-visible {
  background: var(--green-dark, #003d27);
  filter: brightness(1.15);
}
.eco-nl-form__submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.eco-nl-form__consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted, #5b675f);
  cursor: pointer;
}
.eco-nl-form__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green, #003d27);
}
.eco-nl-form__consent a {
  color: inherit;
  text-decoration: underline;
}
.eco-nl-form__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.eco-nl-form__message {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--green, #003d27);
}
.eco-nl-form__message:empty {
  display: none;
}
.eco-nl-form__message.is-error {
  color: #a4262c;
}
.eco-nl-form.is-done .eco-nl-form__row,
.eco-nl-form.is-done .eco-nl-form__consent {
  display: none;
}
.eco-nl-form.is-done .eco-nl-form__message {
  margin-top: 0;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .eco-nl {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 45vh;
    overflow-y: auto;
    padding: 14px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    border-width: 1px 0 0;
  }
  .eco-nl__title {
    font-size: 23px;
    margin-bottom: 6px;
  }
  .eco-nl__text {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .eco-nl-form__email {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eco-nl {
    transition: none;
  }
}

/* Confirmation and unsubscribe pages. */
.eco-promo-page .eco-promo-code {
  display: inline-block;
  margin: 4px 0;
  padding: 10px 18px;
  border: 2px dashed var(--green, #003d27);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  letter-spacing: 2px;
}
.eco-promo-page .eco-promo-terms {
  color: var(--muted, #5b675f);
  font-size: 14px;
}
