.cypress-financing__trigger {
  position: fixed;
  z-index: 9990;
  right: 125px;
  bottom: calc(322px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  appearance: none;
  background: #315f9f;
  box-shadow: 0 4px 14px rgba(22, 45, 78, 0.2);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.cypress-financing__trigger:hover {
  background: #274f88;
}

.cypress-financing__trigger:focus-visible,
.cypress-financing__close:focus-visible,
.cypress-financing__apply:focus-visible {
  outline: 3px solid #8eb7ed;
  outline-offset: 3px;
}

.cypress-financing__icon {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 14px;
  fill: currentColor;
}

.cypress-financing__dialog {
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #27384d;
}

.cypress-financing__dialog::backdrop {
  background: rgba(19, 30, 46, 0.58);
}

.cypress-financing__panel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 28px 28px 26px;
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(12, 27, 48, 0.28);
  text-align: center;
}

.cypress-financing__close {
  position: absolute;
  top: 10px;
  right: 11px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background: transparent;
  color: #526176;
  cursor: pointer;
  font-family: inherit;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}

.cypress-financing__close:hover {
  background: #f0f3f7;
  color: #263b58;
}

.cypress-financing__title {
  margin: 0 24px 9px;
  color: #274f83;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.cypress-financing__subtitle {
  margin: 0;
  color: #536175;
  font-size: 15px;
  line-height: 1.5;
}

.cypress-financing__image {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 18px auto 20px;
  border-radius: 5px;
}

.cypress-financing__apply {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  padding: 11px 22px;
  border: 1px solid #c83e35;
  border-radius: 6px;
  background: #d74439;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.cypress-financing__apply:hover {
  border-color: #b6372f;
  background: #b6372f;
  color: #fff;
}

body.cypress-financing-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .cypress-financing__trigger {
    top: 64px;
    right: 10px;
    bottom: auto;
    padding: 10px 14px;
    font-size: 13px;
  }

  .cypress-financing__icon {
    display: none;
  }

  .cypress-financing__panel {
    padding: 25px 20px 21px;
    border-radius: 14px;
  }

  .cypress-financing__title {
    font-size: 21px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .cypress-financing__trigger {
    top: 158px;
    right: 10px;
    bottom: auto;
  }
}
