.reg-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.reg-popup[hidden] {
  display: none;
}
.reg-popup--visible {
  opacity: 1;
  pointer-events: auto;
}
.reg-popup--visible .reg-popup__window {
  transform: translateY(0);
}
.reg-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.reg-popup__window {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 330px;
  max-height: calc(100vh - 30px);
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 8px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.reg-popup__content {
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.reg-popup__logo {
  margin-bottom: 24px;
}
.reg-popup__logo img {
  display: block;
  width: 89px;
  height: auto;
}
.reg-popup__title {
  margin-bottom: 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
}
.reg-popup__title-accent {
  color: #cc0e2d;
}
.reg-popup__text {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #000;
}
.reg-popup__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 19px;
  margin-bottom: 24px;
  border-radius: 5px;
  background-color: #8a917c;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.21;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease-in, color 0.3s ease-in;
}
.reg-popup__btn:hover {
  background-color: #c5debe;
  color: #000;
}
.reg-popup__dismiss {
  align-self: flex-start;
  padding: 0;
  border: none;
  background-color: transparent;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.21;
  color: #757575;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease-in;
}
.reg-popup__dismiss:hover {
  color: #000;
}
.reg-popup__image {
  display: block;
  flex: 0 0 221px;
  height: 221px;
  overflow: hidden;
}
.reg-popup__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.reg-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: none;
  background-color: transparent;
  color: #000;
  cursor: pointer;
}

body.reg-popup-lock {
  overflow: hidden;
}

@media (min-width: 760px) {
  .reg-popup__window {
    flex-direction: row;
    max-width: 900px;
    min-height: 476px;
    overflow: hidden;
  }
  .reg-popup__content {
    flex: 0 1 452px;
    min-width: 0;
    max-width: 452px;
    padding: 36px 16px 36px 36px;
  }
  .reg-popup__logo {
    margin-bottom: 68px;
  }
  .reg-popup__logo img {
    width: 71px;
  }
  .reg-popup__title {
    font-size: 32px;
    line-height: 1;
  }
  .reg-popup__btn {
    align-self: flex-start;
    margin-bottom: 0;
  }
  .reg-popup__dismiss {
    margin-top: auto;
    padding-top: 24px;
  }
  .reg-popup__image {
    flex: 1 3 448px;
    min-width: 0;
    height: auto;
  }
}
@media (min-width: 930px) {
  .reg-popup__window {
    height: 476px;
  }
  .reg-popup__content {
    flex: 0 0 452px;
    padding-right: 0;
  }
  .reg-popup__title {
    font-size: 40px;
  }
}

/*# sourceMappingURL=style.css.map */
