.mm-newsletter-optin {
  display: grid;
  grid-template-columns: minmax(13rem, .72fr) minmax(20rem, 1.28fr);
  margin: 2.2rem 0 1.5rem;
  border-top: .45rem solid var(--cta-color);
  background: #222;
  color: #fff;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .12);
}

.mm-newsletter-optin__intro {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: #f1f1f1;
  color: #111;
}

.mm-newsletter-optin__intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.mm-newsletter-optin__intro p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.mm-newsletter-optin__zoho,
.mm-newsletter-optin__body {
  min-width: 0;
}

.mm-newsletter-optin__body {
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.mm-newsletter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.mm-newsletter-field--email {
  grid-column: 1 / -1;
}

.mm-newsletter-field {
  display: grid;
  gap: .5rem;
}

.mm-newsletter-field label {
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

.mm-newsletter-field label small {
  color: #c7c7c7;
  font-size: .82em;
  font-weight: 400;
}

.mm-newsletter-field label span {
  color: #ff9a8b;
}

.mm-newsletter-field input {
  width: 100% !important;
  min-height: 3.25rem !important;
  box-sizing: border-box !important;
  padding: .75rem .9rem !important;
  border: 1px solid #777 !important;
  border-radius: 0 !important;
  outline: none !important;
  background: #181818 !important;
  color: #fff !important;
  font: inherit !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mm-newsletter-field input::placeholder {
  color: #9e9e9e;
  opacity: 1;
}

.mm-newsletter-field input:focus {
  border-color: var(--cta-color) !important;
  background: #111 !important;
  box-shadow: 0 0 0 3px rgba(133, 167, 0, .2);
}

.mm-newsletter-field input[aria-invalid="true"] {
  border-color: #ff7c6e !important;
}

.mm-newsletter-consent {
  margin: 1.25rem 0;
  color: #d3d3d3;
  font-size: .88rem;
  line-height: 1.5;
}

.mm-newsletter-consent a {
  color: #cce85b;
  text-decoration: underline;
}

.mm-newsletter-submit {
  display: flex !important;
  width: 100% !important;
  min-height: 3.65rem !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.25rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--cta-color) !important;
  color: #fff !important;
  font: inherit !important;
  font-weight: 700 !important;
  text-align: left;
  cursor: pointer;
}

.mm-newsletter-submit:hover {
  filter: brightness(1.08);
}

.mm-newsletter-submit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.mm-newsletter-submit svg {
  width: 2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.mm-newsletter-double-optin {
  margin: .9rem 0 0;
  color: #bdbdbd;
  font-size: .82rem;
  line-height: 1.45;
}

.mm-newsletter-message {
  display: none;
  margin: 0 0 1.15rem;
  padding: .9rem 1rem;
  border-left: 4px solid;
  font-size: .94rem;
  line-height: 1.45;
}

.mm-newsletter-message--error {
  border-color: #ff7c6e;
  background: #3a2725;
  color: #fff;
}

.mm-newsletter-message--success {
  border-color: var(--cta-color);
  background: #eff7d2;
  color: #1b2500;
}

#zcOptinOverLay {
  position: fixed;
  z-index: 9998;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

#zcOptinSuccessPopup {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  width: min(38rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 2rem;
  transform: translate(-50%, -50%);
  border-top: .4rem solid var(--cta-color);
  background: #fff;
  color: #111;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .3);
}

#closeSuccess {
  position: absolute;
  top: .5rem;
  right: .7rem;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 800px) {
  .mm-newsletter-optin {
    grid-template-columns: 1fr;
  }

  .mm-newsletter-fields {
    grid-template-columns: 1fr;
  }

  .mm-newsletter-field--email {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-newsletter-field input {
    transition: none;
  }

}
