.ny-offer[hidden],
.ny-lead[hidden],
.ny-offer-fab[hidden],
.ny-lead__success[hidden],
.ny-lead__form[hidden] {
  display: none !important;
}

body.ny-offer-lock {
  overflow: hidden !important;
}

.ny-offer,
.ny-lead,
.ny-offer *,
.ny-lead *,
.ny-offer-fab,
.ny-offer-fab * {
  box-sizing: border-box;
}

.ny-nowrap {
  white-space: nowrap;
}

.ny-offer,
.ny-lead {
  align-items: center;
  background: rgba(11, 18, 37, 0.7);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  position: fixed;
  z-index: 2147482000;
}

.ny-lead {
  z-index: 2147482100;
}

.ny-alyans__dialog {
  background: #f8f2ff;
  border-radius: 14px;
  box-shadow: 0 28px 76px rgba(20, 9, 42, 0.4);
  color: #34234c;
  display: grid;
  font-family: "Open Sans", sans-serif;
  grid-template-areas: "copy visual";
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  max-height: calc(100vh - 48px);
  max-width: 850px;
  overflow: auto;
  position: relative;
  width: calc(100vw - 48px);
}

.ny-alyans__close,
.ny-lead__close {
  align-items: center;
  background: #fff;
  border: 1px solid #ded7e8;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(38, 19, 66, 0.12);
  color: #34234c;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  z-index: 5;
}

.ny-alyans__close svg,
.ny-lead__close svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 18px;
}

.ny-alyans__copy {
  display: flex;
  flex-direction: column;
  grid-area: copy;
  min-height: 370px;
  padding: 32px 27px 22px;
}

.ny-alyans h2,
.ny-lead h2 {
  color: #34234c;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin: 0;
  text-transform: none;
}

.ny-alyans h2 {
  margin-bottom: 12px;
  max-width: 13ch;
}

.ny-alyans__amount-line {
  align-items: baseline;
  color: #7043bd;
  display: flex;
  flex-wrap: nowrap;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-weight: 800;
  gap: 9px;
  margin: 0 0 12px;
  white-space: nowrap;
}

.ny-alyans__amount {
  font-size: 41px;
  letter-spacing: -0.035em;
  line-height: 1;
}

.ny-alyans__amount-note {
  font-size: 16px;
  line-height: 1;
}

.ny-alyans__description {
  color: #4a3a5f;
  font-size: 16px;
  line-height: 1.42;
  margin: 0 0 16px;
  max-width: 35ch;
}

.ny-alyans__button,
.ny-lead__submit {
  align-items: center;
  background: #7144c0;
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  gap: 19px;
  justify-content: center;
  line-height: 1;
  min-height: 45px;
  padding: 0 18px;
}

.ny-alyans__button {
  align-self: flex-start;
}

.ny-alyans__button::after,
.ny-lead__submit::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.ny-alyans__button:hover,
.ny-lead__submit:hover {
  background: #5f32ab;
}

.ny-alyans__terms {
  color: #756a81;
  font-size: 10px;
  line-height: 1.35;
  margin: auto 0 0;
  padding-top: 13px;
}

.ny-alyans__visual {
  background: #dce7f2;
  grid-area: visual;
  min-height: 370px;
  overflow: hidden;
  position: relative;
}

.ny-alyans__visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  width: 100%;
}

.ny-alyans__bubble {
  background: #fff;
  border-radius: 7px;
  bottom: 51px;
  box-shadow: 0 4px 15px rgba(22, 18, 35, 0.12);
  color: #34234c;
  font-size: 11px;
  font-weight: 700;
  left: 18px;
  line-height: 1.2;
  padding: 7px 10px;
  position: absolute;
}

.ny-alyans__bubble--reply {
  background: #e6f5df;
  bottom: 17px;
  left: 39px;
}

.ny-lead__dialog {
  background: #fffdfd;
  border-radius: 14px;
  border-top: 4px solid #8d5bd2;
  box-shadow: 0 28px 76px rgba(20, 9, 42, 0.42);
  color: #34234c;
  font-family: "Open Sans", sans-serif;
  max-height: calc(100vh - 48px);
  max-width: 430px;
  overflow: auto;
  padding: 27px 27px 20px;
  position: relative;
  width: calc(100vw - 48px);
}

.ny-lead__icon {
  background: #f1e8ff;
  border-radius: 8px;
  display: block;
  height: 38px;
  margin: 0 0 12px;
  object-fit: contain;
  padding: 6px;
  width: 38px;
}

.ny-lead h2 {
  font-size: 30px;
  margin: 0 44px 9px 0;
}

.ny-lead__description {
  color: #574665;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.ny-lead__form {
  display: grid;
  gap: 11px;
}

.ny-lead__field {
  display: grid;
  gap: 5px;
  margin: 0;
}

.ny-lead__field span {
  color: #433152;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.ny-lead .ny-lead__field input {
  appearance: none;
  background: #fff;
  border: 1px solid #b5aabd;
  border-radius: 6px;
  color: #34234c;
  font: 400 16px/1.2 "Open Sans", sans-serif;
  height: 45px;
  margin: 0;
  padding: 0 12px;
  width: 100%;
}

.ny-lead .ny-lead__field input:focus {
  border-color: #7144c0;
  box-shadow: 0 0 0 2px rgba(113, 68, 192, 0.16);
  outline: none;
}

.ny-lead .ny-lead__field input::placeholder {
  color: #766c7d;
  opacity: 1;
}

.ny-lead__consent {
  align-items: flex-start;
  color: #6b6072;
  display: flex;
  font-size: 11px;
  gap: 7px;
  line-height: 1.4;
  margin: 0;
}

.ny-lead__consent input {
  accent-color: #7144c0;
  height: 17px;
  margin: 1px 0 0;
  min-width: 17px;
  width: 17px;
}

.ny-lead__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ny-lead__submit {
  justify-self: start;
}

.ny-lead .ny-lead__submit {
  background: #7144c0 !important;
  color: #fff !important;
  direction: ltr !important;
  display: inline-flex !important;
  flex-direction: row !important;
  font-family: "Open Sans", sans-serif !important;
  gap: 19px !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  min-width: 185px;
  text-transform: none !important;
}

.ny-lead .ny-lead__submit::before {
  content: none !important;
  display: none !important;
}

.ny-lead .ny-lead__submit::after {
  border-right: 2px solid currentColor !important;
  border-top: 2px solid currentColor !important;
  content: "" !important;
  order: 2 !important;
  display: block !important;
  flex: 0 0 7px;
  float: none !important;
  height: 7px !important;
  inset: auto !important;
  margin: 0 !important;
  position: static !important;
  transform: rotate(45deg) !important;
  width: 7px !important;
}

.ny-lead .ny-lead__submit:hover {
  background: #5f32ab !important;
}

.ny-lead__submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.ny-lead__status {
  color: #6b6072;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  min-height: 17px;
}

.ny-lead__status.is-error {
  color: #a12f24;
}

.ny-lead__terms {
  border-top: 1px solid #e2dbe8;
  color: #756a81;
  font-size: 10px;
  line-height: 1.35;
  margin: 13px 0 0;
  padding-top: 9px;
}

.ny-lead__success {
  background: #f0e7ff;
  border-radius: 8px;
  color: #3c2757;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  padding: 18px;
}

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

.ny-offer-fab {
  background: #fff;
  border: 1px solid #7144c0;
  border-radius: 14px;
  bottom: max(22px, env(safe-area-inset-bottom));
  box-shadow: 0 10px 28px rgba(28, 16, 47, 0.3);
  cursor: pointer;
  height: 56px;
  padding: 5px;
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  width: 56px;
  z-index: 2147481000;
}

.ny-offer-fab img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ny-alyans button:focus-visible,
.ny-lead button:focus-visible,
.ny-lead input:focus-visible,
.ny-offer-fab:focus-visible {
  outline: 3px solid #a981df;
  outline-offset: 3px;
}

.ny-alyans ::selection,
.ny-lead ::selection {
  background: #decaff;
  color: #2c1946;
}

@media (max-width: 640px) {
  .ny-offer,
  .ny-lead {
    align-items: flex-start;
    padding: 12px;
  }

  .ny-alyans__dialog {
    grid-template-areas: "visual" "copy";
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 24px);
    width: 100%;
  }

  .ny-alyans__visual {
    min-height: 190px;
  }

  .ny-alyans__visual img {
    object-position: center 43%;
  }

  .ny-alyans__copy {
    min-height: 342px;
    padding: 18px 18px 16px;
  }

  .ny-alyans h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .ny-alyans__amount {
    font-size: 38px;
  }

  .ny-alyans__amount-note {
    font-size: 14px;
  }

  .ny-alyans__description {
    font-size: 15px;
    margin-bottom: 13px;
  }

  .ny-alyans__bubble {
    bottom: 43px;
    left: 12px;
  }

  .ny-alyans__bubble--reply {
    bottom: 10px;
    left: 29px;
  }

  .ny-alyans__close,
  .ny-lead__close {
    height: 38px;
    right: 10px;
    top: 10px;
    width: 38px;
  }

  .ny-lead__dialog {
    max-height: calc(100dvh - 24px);
    padding: 24px 18px 18px;
    width: 100%;
  }

  .ny-lead h2 {
    font-size: 27px;
  }

  .ny-offer-fab {
    bottom: max(16px, env(safe-area-inset-bottom));
    height: 52px;
    right: max(16px, env(safe-area-inset-right));
    width: 52px;
  }
}

@media (max-width: 340px) {
  .ny-alyans__visual {
    min-height: 168px;
  }

  .ny-alyans__copy {
    min-height: 350px;
    padding: 16px 14px 14px;
  }

  .ny-alyans h2 {
    font-size: 27px;
  }

  .ny-alyans__amount {
    font-size: 34px;
  }

  .ny-alyans__amount-note {
    font-size: 13px;
  }
}
