.oo-popin {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  height: 100dvh;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.oo-popin.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.oo-popin__dialog {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 50px;
  width: 100%;
  max-width: 1180px;
  height: 621px;
  max-height: calc(100dvh - 40px);
  background: #fff;
  overflow: hidden;
  padding-right: 40px;
}

.oo-popin__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.oo-popin__close img {
  display: block;
}

.oo-popin__media {
  flex: 0 0 350px;
  width: 350px;
  align-self: stretch;
}

.oo-popin__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.oo-popin__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 50px 0;
  overflow: auto;
}

.oo-popin__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.oo-popin h2.oo-popin__title,
.oo-popin .oo-popin__subtitle,
.oo-popin .oo-popin__thanks {
  margin: 0;
  width: 100%;
  color: #14355d;
  font-family: Exo, sans-serif;
  font-weight: 700;
  line-height: normal;
  text-transform: none;
}

.oo-popin h2.oo-popin__title {
  font-size: 27px;
}

.oo-popin__subtitle,
.oo-popin__thanks {
  font-size: 16px;
}

.oo-popin__body {
  width: 100%;
  color: #353535;
  font-family: Exo, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
}

.oo-popin__body p {
  margin: 0 0 23px;
}

.oo-popin__body p:last-child {
  margin-bottom: 0;
}

.oo-popin__body strong {
  font-weight: 700;
}

.oo-popin__body .oo-popin__semibold {
  font-weight: 600;
}

.oo-popin__body a,
.oo-popin__body .oo-popin__details {
  color: #14355d;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: from-font;
  text-decoration-skip-ink: none;
}

.oo-popin a.oo-popin__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 30px 8px;
  margin: 0;
  background: #b9ce5d;
  border-radius: 80px;
  color: #fff;
  font-family: Exo, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 31px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.oo-popin a.oo-popin__cta:hover,
.oo-popin a.oo-popin__cta:focus {
  color: #fff;
  opacity: 0.92;
}

body.oo-popin-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .oo-popin__dialog {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 0 0 28px;
    max-width: 640px;
    overflow: auto;
  }

  .oo-popin__media {
    flex: none;
    width: 100%;
    min-height: 220px;
    height: 220px;
  }

  .oo-popin__content {
    width: 100%;
    padding: 24px 24px 0;
    gap: 20px;
  }

  .oo-popin__title {
    font-size: 22px;
  }

  .oo-popin a.oo-popin__cta {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .oo-popin {
    padding: 12px;
    align-items: flex-start;
  }

  .oo-popin__dialog {
    max-height: calc(100vh - 24px);
  }

  .oo-popin__content {
    padding: 20px 16px 0;
  }
}
