body.lcl-modal-open {
  overflow: hidden;
}

.lcl-overlay[hidden],
.lcl-fallback[hidden] {
  display: none !important;
}

.lcl-overlay {
  --lcl-navy: #172330;
  --lcl-steel: #647586;
  --lcl-border: #d7dee4;
  --lcl-red: #cc1b32;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(12 20 29 / 72%);
  opacity: 0;
  transition: opacity 180ms ease;
  box-sizing: border-box;
}

.lcl-overlay,
.lcl-overlay * {
  box-sizing: border-box;
}

.lcl-overlay.lcl-visible {
  opacity: 1;
}

.lcl-dialog {
  position: relative;
  width: min(100%, 490px);
  max-height: min(90vh, 760px);
  max-height: min(90dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 34px 36px 28px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 14px;
  background: #fff;
  color: var(--lcl-navy);
  box-shadow: 0 24px 80px rgb(0 0 0 / 32%);
  font-family: inherit;
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.lcl-visible .lcl-dialog {
  transform: translateY(0);
}

.lcl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px !important;
  height: 38px !important;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #66727c !important;
  cursor: pointer;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  box-shadow: none !important;
  appearance: none;
}

.lcl-close:hover,
.lcl-close:focus-visible {
  background: #f1f3f5;
  color: var(--lcl-navy);
}

.lcl-eyebrow {
  margin: 0 0 8px;
  color: var(--lcl-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.3;
}

.lcl-dialog h2 {
  max-width: calc(100% - 26px);
  margin: 0 0 9px;
  color: var(--lcl-navy);
  font-size: clamp(23px, 5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lcl-intro {
  margin: 0 0 16px;
  color: #586571;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.lcl-catalog {
  margin: 0 0 18px;
  padding: 11px 13px;
  border-left: 3px solid var(--lcl-red);
  background: #f3f5f6;
  color: #374452;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.lcl-form {
  display: grid;
  gap: 13px;
  margin: 0;
}

.lcl-form > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #273543;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.lcl-form input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cbd3d9;
  border-radius: 6px;
  background: #fff;
  color: #172330;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  box-shadow: none;
}

.lcl-form input:focus {
  border-color: var(--lcl-steel);
  outline: 2px solid rgb(100 117 134 / 20%);
  outline-offset: 1px;
}

.lcl-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.lcl-message {
  margin: 0;
  color: #a6192e;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.lcl-submit,
.lcl-skip {
  display: block !important;
  width: 100% !important;
  min-height: 47px !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border-radius: 6px !important;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  box-shadow: none !important;
  text-transform: none !important;
  appearance: none;
  transition: background-color 140ms ease, opacity 140ms ease;
}

.lcl-submit {
  border: 1px solid var(--lcl-red) !important;
  background: var(--lcl-red) !important;
  color: #fff !important;
}

.lcl-submit:hover:not(:disabled) {
  border-color: #ad172b !important;
  background: #ad172b !important;
}

.lcl-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.lcl-skip {
  margin-top: 12px;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #586571 !important;
  font-size: 13px;
  font-weight: 600;
}

.lcl-skip:hover {
  border-color: var(--lcl-border);
  background: #f7f8f9;
  color: var(--lcl-navy);
}

.lcl-fallback {
  display: inline-block;
  color: #a6192e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.lcl-dialog button:focus-visible,
.lcl-dialog a:focus-visible {
  outline: 3px solid rgb(204 27 50 / 28%);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .lcl-overlay {
    align-items: end;
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .lcl-dialog {
    width: 100%;
    max-height: min(92vh, 760px);
    max-height: min(92dvh, 760px);
    padding: 29px 21px 20px;
    border-radius: 13px;
  }

  .lcl-close {
    top: 8px;
    right: 8px;
  }

  .lcl-intro {
    max-width: 34ch;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcl-overlay,
  .lcl-dialog {
    transition: none;
  }
}
