.newModal .wheel-w {
  position: relative;
  width: 400px;
  height: 400px;
}
@media (max-width: 539px) {
  .newModal .wheel-w {
    width: 280px;
    height: 280px;
  }
}
.newModal.fortune .popup__content-form {
  margin-bottom: 20px;
}
.newModal.fortune .wheel-arrow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translate(0%, -50%);
  z-index: 5;
}
@media (max-width: 539px) {
  .newModal.fortune .wheel-arrow {
    right: 50%;
    transform: translate(50%, 0) rotate(-90deg);
    top: 0px;
    width: 54px;
    height: 29px;
  }
}
.newModal.fortune .bliks {
  position: absolute;
  z-index: 5;
}
.newModal.fortune .bliks:nth-child(1) {
  left: -30px;
  top: 67px;
}
.newModal.fortune .bliks:nth-child(2) {
  bottom: -64px;
  right: 44px;
}
@media (max-width: 539px) {
  .newModal.fortune .bliks:nth-child(2) {
    bottom: 8px;
    right: 52px;
    width: 66px;
    height: 75px;
  }
}
.newModal.fortune .bliks:nth-child(3) {
  left: 34px;
  top: 6px;
}
.newModal.fortune .bliks:nth-child(4) {
  right: -32px;
  top: 78px;
}
.newModal.fortune .bliks:nth-child(5) {
  bottom: -37px;
  left: 111px;
}
@media (max-width: 539px) {
  .newModal.fortune .bliks:nth-child(5) {
    bottom: 5px;
    left: 73px;
    width: 87px;
    height: 76px;
  }
}
.newModal.fortune .popup__content {
  background: #DAC5B3;
  border-radius: 8px;
  max-width: 1000px;
  display: flex;
  gap: 58px;
  padding: 64px 30px 15px;
}
@media (max-width: 1023px) {
  .newModal.fortune .popup__content {
    flex-direction: column-reverse;
    align-items: center;
    padding: 64px 30px 17px 30px;
    gap: 15px;
  }
}
@media (max-width: 539px) {
  .newModal.fortune .popup__content {
    padding: 70px 8px 13px;
  }
}
.newModal.fortune .popup__content-form-btn {
  background: #E3154E;
}
@media (max-width: 539px) {
  .newModal.fortune .popup__content-form-btn {
    max-width: 320px;
    margin: 0 auto;
  }
}
.newModal.fortune .popup__content-text {
  background: #fff;
  border-radius: 10px;
  padding: 13px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
@media (max-width: 539px) {
  .newModal.fortune .popup__content-text {
    padding: 10px 13px;
  }
}
.newModal.fortune .bg {
  position: absolute;
  width: 400px;
  height: 400px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 539px) {
  .newModal.fortune .bg {
    width: 280px;
    height: 280px;
  }
}
.newModal.fortune .pink {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
  background: radial-gradient(circle, #FFAD9D 32%, #e10644 75%);
  border-radius: 50%;
}
.newModal.fortune .center {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
}
@media (max-width: 539px) {
  .newModal.fortune .center {
    width: 70px;
    height: 70px;
  }
}
.newModal .win-prize {
  display: block;
  font-size: 32px;
}
.newModal .popup__content-text-prize.hidden {
  display: none;
}
.newModal .popup__content-text-getPrize.hidden {
  display: none;
}
.newModal .popup__content-text-letSpin.hidden {
  display: none;
}
.newModal .deal-wheel {
  /* задаём переменные блока */
  /* размеры колеса */
  --size: clamp(250px, 80vmin, 700px);
  /* настройки яркости и заливки фона секторов */
  --lg-hs: 0 3%;
  --lg-stop: 50%;
  --lg: linear-gradient(hsl(var(--lg-hs) 0%) 0 var(--lg-stop), hsl(var(--lg-hs) 20%) var(--lg-stop) 100%);
  /* добавляем позиционирование относительно других элементов */
  position: relative;
  /* подключаем сетку */
  display: flex;
  grid-gap: calc(var(--size) / 20);
  /* выравниваем содержимое блока по центру */
  align-items: center;
  /* задаём имена областей внутри сетки */
  grid-template-areas: "spinner" "trigger";
  font-size: calc(var(--size) / 21);
  /* устанавливаем размер шрифта */
  width: 400px;
  height: 400px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 539px) {
  .newModal .deal-wheel {
    width: 280px;
    height: 280px;
  }
}
.newModal .deal-wheel > * {
  grid-area: spinner;
}
.newModal .deal-wheel .btn-spin {
  grid-area: trigger;
  justify-self: center;
}
.newModal .spinner {
  /* добавляем относительное позиционирование */
  position: relative;
  /* подключаем сетку */
  display: grid;
  /* выравниваем всё по центру */
  align-items: center;
  /* добавляем элемент в сетку */
  grid-template-areas: "spinner";
  /* устанавливаем размеры */
  width: var(--size);
  height: var(--size);
  /* поворачиваем элемент  */
  transform: rotate(calc(var(--rotate, 25) * 1deg));
  /* рисуем круглую обводку, а всё, что не поместится, — будет скрыто за кругом */
  border-radius: 50%;
  width: 352px;
  height: 352px;
  z-index: 5;
}
@media (max-width: 539px) {
  .newModal .spinner {
    width: 238px;
    height: 238px;
  }
}
.newModal .spinner * {
  grid-area: spinner;
}
.newModal .prize {
  /* включаем «гибкую» вёрстку */
  display: flex;
  align-items: center;
  /* задаём отступы от краёв блока */
  /* устанавливаем размеры */
  width: 50%;
  height: 50%;
  /* устанавливаем координаты, относительно которых будем вращать текст */
  transform-origin: center right;
  /* поворачиваем текст */
  transform: rotate(var(--rotate));
  /* запрещаем пользователю выделять мышкой текст на секторах */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  line-height: normal;
  color: #621D0C;
  text-align: center;
  font-family: Rubik;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
@media (max-width: 539px) {
  .newModal .prize {
    font-size: 12.512px;
  }
}
.newModal .prize:nth-child(odd) {
  color: #FBEA78;
}
.newModal .prize span {
  max-width: 119px;
  padding-right: 10px;
  transform: rotate(180deg);
}
@media (max-width: 539px) {
  .newModal .prize span {
    max-width: 87px;
  }
}
.newModal .ticker {
  /* добавляем относительное позиционирование */
  position: relative;
  /* устанавливаем размеры */
  left: calc(var(--size) / -15);
  width: calc(var(--size) / 10);
  height: calc(var(--size) / 20);
  /* фон язычка */
  background: var(--lg);
  /* делаем так, чтобы язычок был выше колеса */
  z-index: 1;
  /* форма язычка */
  -webkit-clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
          clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
  /* устанавливаем точку, относительно которой будет вращаться язычок при движении колеса */
  transform-origin: center left;
  opacity: 0;
  position: absolute;
}
.newModal .btn-spin {
  color: white;
  background: black;
  border: none;
  /* берём размер шрифта такой же, как в колесе */
  font-size: inherit;
  /* добавляем отступы от текста внутри кнопки */
  padding: 0.9rem 2rem 1rem;
  /* скругляем углы */
  border-radius: 0.5rem;
  /* меняем внешний вид курсора над кнопкой на руку*/
  cursor: pointer;
  position: absolute;
  opacity: 0;
}
.newModal .btn-spin:disabled {
  /* меняем внешний вид курсора */
  cursor: progress;
  /* делаем кнопку полупрозрачной */
  opacity: 0.25;
}
.newModal .is-spinning .spinner {
  transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1);
}
.newModal .is-spinning .ticker {
  animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tick {
  40% {
    /* чуть поворачиваем язычок наверх в середине анимации */
    transform: rotate(-12deg);
  }
}
.newModal .prize.selected .text {
  /* делаем текст белым */
  color: white;
  /* настраиваем длительность анимации */
  animation: selected 800ms ease;
}
@keyframes selected {
  /* что происходит на 25% от начала анимации */
  25% {
    /* увеличиваем текст в 1,25 раза */
    transform: scale(1.25) rotate(180deg);
    /* добавляем тексту тень */
    text-shadow: 1vmin 1vmin 0 rgba(0, 0, 0, 0.1);
  }
  40% {
    transform: scale(0.92) rotate(180deg);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  }
  60% {
    transform: scale(1.02) rotate(180deg);
    text-shadow: 0.5vmin 0.5vmin 0 rgba(0, 0, 0, 0.1);
  }
  75% {
    transform: scale(0.98) rotate(180deg);
  }
  85% {
    transform: scale(1) rotate(180deg);
  }
}
.newModal.popup {
  display: none;
}
.newModal.popup .checkboxs {
  display: flex;
  gap: 40px;
  margin-bottom: 37px;
}
@media (max-width: 767px) {
  .newModal.popup .checkboxs {
    margin-bottom: 25px;
  }
}
.newModal.popup .custom-w {
  border: none;
  display: flex;
  row-gap: 0;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.newModal.popup .custom-w span {
  font-weight: 400;
  color: rgba(39, 39, 39, 0.9);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  line-height: normal;
  cursor: pointer;
}
@media (max-width: 767px) {
  .newModal.popup .custom-w span {
    font-size: 14px;
  }
}
.newModal.popup .custom-w input {
  display: none;
}
.newModal.popup .custom-w-btn {
  display: flex;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.newModal.popup .custom-checkbox {
  position: relative;
  display: block;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  transition: 0.2s;
  background: #F9F9F9;
  border-radius: 4px;
  cursor: pointer;
}
.newModal.popup .custom-checkbox_radio {
  border-radius: 50%;
  background: #fff;
  filter: drop-shadow(1px 1px 5px rgba(29, 29, 29, 0.1));
}
.newModal.popup .custom-checkbox::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 9px;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  opacity: 1;
  transition: 0.2s;
  background: url(./img/checkbox-custom.svg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
}
.newModal.popup .custom-checkbox_radio::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 1;
  transition: 0.2s;
  background: #BBB;
}
.newModal.popup .custom-w input:checked + .custom-checkbox::before {
  background: #1EDD53;
}
.newModal.popup .custom-w input:checked + .custom-checkbox {
  background: #fff;
}
.newModal.popup .custom-checkbox {
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
}
.newModal.popup.active {
  display: block;
}
.newModal.popup-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10000;
}
.newModal.popup-modal::before {
  content: "";
  background: #000;
  opacity: 0.45;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 104;
}
.newModal .popup__body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  min-height: 100%;
}
.newModal .popup__content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  width: 95%;
  max-width: 392px;
  padding: 33px 32px 32px 32px;
  z-index: 105;
}
.newModal .popup-close {
  border-radius: 50%;
  background: url(./img/close.svg), #e0e0e0;
  width: 29px;
  height: 29px;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  right: 23px;
  top: 27px;
  z-index: 105;
  position: absolute;
  cursor: pointer;
  transition: ease-out 0.3s;
}
.newModal .popup-close:hover {
  transform: rotate(360deg);
}
.newModal .popup-close_white {
  background: none;
}
.newModal .popup-close_white svg {
  width: 30px;
  height: 30px;
}
@media (max-width: 767px) {
  .newModal .popup-close_white svg {
    width: 26px;
    height: 30px;
  }
}
.newModal .popup-close_white svg path {
  stroke: #fff;
}
.newModal .popup-close_black {
  background: none;
}
.newModal .popup-close_black svg {
  width: 30px;
  height: 30px;
}
@media (max-width: 767px) {
  .newModal .popup-close_black svg {
    width: 26px;
    height: 30px;
  }
}
.newModal .popup-close_black svg path {
  stroke: #000;
}
.newModal.popup.need .popup__content {
  background: #CDCDD0;
  display: flex;
  max-width: 1000px;
  padding: 0;
  border-radius: 8px;
}
.newModal.popup.need .popup__content-text {
  padding: 60px 68px 60px 68px;
}
@media (max-width: 899px) {
  .newModal.popup.need .popup__content-text {
    padding: 57px 17px 0 17px;
  }
}
@media (max-width: 899px) {
  .newModal.popup.need .popup__content-pic {
    width: 100%;
    max-width: 50%;
    display: block;
    margin: 0 auto;
  }
}
.newModal.popup.money .popup__content {
  background: #fff;
  display: flex;
  max-width: 1000px;
  padding: 0;
  border-radius: 8px;
}
.newModal.popup.money .popup__content-text {
  padding: 60px 68px 60px 68px;
}
@media (max-width: 899px) {
  .newModal.popup.money .popup__content-text {
    padding: 55px 17px 0 17px;
  }
}
.newModal.popup.money .popup__content-pic {
  flex: 0 0 40%;
}
@media (max-width: 899px) {
  .newModal.popup.money .popup__content-pic {
    display: flex;
    align-items: flex-start;
  }
  .newModal.popup.money .popup__content-pic picture {
    height: 400px;
  }
  .newModal.popup.money .popup__content-pic img {
    height: 100%;
  }
}
@media (max-width: 539px) {
  .newModal.popup.money .popup__content-pic picture {
    height: 170px;
  }
}
@media (max-width: 899px) {
  .newModal.popup.money .popup__content-text-title span {
    display: block;
  }
}
.newModal.popup.car .popup__content-pic {
  flex: 0 0 43%;
}
@media (max-width: 899px) {
  .newModal.popup.car .popup__content-pic {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .newModal.popup.car .popup__content-pic picture {
    height: 400px;
  }
  .newModal.popup.car .popup__content-pic img {
    height: 100%;
  }
}
@media (max-width: 539px) {
  .newModal.popup.car .popup__content-pic picture {
    height: 171px;
  }
}
.newModal.popup.car .popup__content-text-title span {
  display: block;
}
.newModal.popup.car .popup__content-text {
  padding: 60px 60px 43px 60px;
  width: 100%;
}
@media (max-width: 899px) {
  .newModal.popup.car .popup__content-text {
    padding: 60px 20px 0px 20px;
  }
}
.newModal.popup-default {
  padding: 0px !important;
}
.newModal.popup-default .popup__content {
  display: flex;
  max-width: 1000px;
  padding: 0;
}
@media (max-width: 899px) {
  .newModal.popup-default .popup__content {
    flex-direction: column-reverse;
  }
}
.newModal.popup-default .popup__content-text {
  z-index: 2;
  position: relative;
}
.newModal .popup__content-pic {
  flex: 0 0 46%;
  height: auto;
}
.newModal .popup__content-pic picture {
  width: 100%;
  height: 100%;
}
.newModal .popup__content-pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px 0 0 8px;
}
@media (max-width: 899px) {
  .newModal .popup__content-pic img {
    height: auto;
    border-radius: 0 0 8px 8px;
  }
}
.newModal .popup__content-text {
  padding: 60px 68px 60px 27px;
}
@media (max-width: 899px) {
  .newModal .popup__content-text {
    padding: 52px 17px 0 17px;
  }
}
.newModal .popup__content-text-title {
  color: #272727;
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 12px;
  text-align: center;
}
@media (max-width: 767px) {
  .newModal .popup__content-text-title {
    font-size: 26px;
    font-weight: 700;
  }
}
.newModal .popup__content-text-subtitle {
  color: #272727;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media (max-width: 767px) {
  .newModal .popup__content-text-subtitle {
    font-size: 14px;
    font-weight: 400;
  }
}
.newModal .popup__content-form input {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  width: 100%;
  padding: 18px 26px;
  border-radius: 7.471px;
  background: #FFF;
  border: 0.8px solid #e2e2e2;
}
.newModal .popup__content-form input::-moz-placeholder {
  color: rgba(39, 39, 39, 0.5);
}
.newModal .popup__content-form input::placeholder {
  color: rgba(39, 39, 39, 0.5);
}
.newModal .popup__content-form input:not(:last-child) {
  margin-bottom: 17px;
}
@media (max-width: 767px) {
  .newModal .popup__content-form input {
    font-size: 12px;
    padding: 18px 15px;
  }
}
.newModal .popup__content-form-btn {
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7.471px;
  background: #2C64EE;
  width: 100%;
  padding: 17px 10px;
  margin-top: 21px;
}
.newModal .popup__car-range .irs--round .irs-bar {
  top: 0;
  height: 12px;
  background-color: #2c64ee;
  border-radius: 4px;
}
.newModal .popup__car-range .irs--round .irs-handle {
  top: -5px;
  width: 19px;
  height: 19px;
  border: 5px solid #fff;
  background: #2c64ee;
}
.newModal .popup__car-range .irs--round .irs-line {
  top: 0;
  height: 4px;
  background: rgba(44, 100, 238, 0.27);
  border-radius: 4px;
  height: 12px;
}
.newModal .popup__car-range .limits {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  margin-top: 15px;
}
.newModal .popup__car-range .limit {
  color: rgba(39, 39, 39, 0.6);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.newModal .popup__car-range .current-value {
  color: rgba(39, 39, 39, 0.9);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.newModal .popup__car-range {
  margin-bottom: 30px;
}
.newModal .popup__body .inputs input {
  height: 58px;
  font-size: 16px;
}
@media (max-width: 539px) {
  .newModal .popup__body .inputs input {
    /*font-size: 14px;*/
    height: 38px;
  }
}
.newModal .spinner {
  padding: 0px;
}
.newModal.popup-modal .auto-modal-privacy {
  margin-top: 10px;
}
.newModal.popup-modal .auto-modal-privacy a {
  text-decoration: underline;
  color: #000;
}
.newModal .irs--round {
  height: 5px !important;
}
.newModal .auto-modal-success-message {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newModal .auto-modal-success-message h1 {
  font-size: 53px;
  line-height: 54px;
  margin: 0;
}
.newModal .auto-modal-success-message p {
  font-size: 21px;
  margin: 0;
}
@media (max-width: 899px) {
  .newModal .auto-modal-success-message {
    padding-bottom: 50px;
  }
}
@media (max-width: 539px) {
  .newModal .auto-modal-success-message h1 {
    font-size: 40px;
  }
  .newModal .auto-modal-success-message p {
    font-size: 19px;
  }
}
.newModal.popup-modal .popup-close {
  background: none !important;
}
.popup__content-form-btn {
  cursor: pointer;
}