.close-popup,
.cursor-text {
  cursor: pointer;
  position: absolute;
}

.cursor-text {
  font-size: 80%;
}

.cursor-text,
.pop-up-window,
.spin-result-wrapper,
.spin-wrapper,
.wheel-wrapper {
  text-align: center;
}

.spin-wrapper {
  -webkit-box-shadow: 0 0 10px;
  box-shadow: 0 0 10px;
  border: 3px solid red;
  padding: 20px 10px 35px;
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.spin-wrapper p {
  text-align: center;
  font-size: 21px !important;
  line-height: 1.4 !important;
}

.wheel {
  max-width: 375px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.wheel-cursor {
    position: absolute;
    width: 24% !important;
    height: 24%;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
   
}
.wheel-cursor img {
   animation: scale .5s infinite;
    animation-direction: alternate;
    animation-name: scale;
}
@keyframes scale {
    0% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
    }
}
.cursor-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  width: 35% !important;
  height: 50%;
  line-height: 61px;
  border-radius: 50%;
  vertical-align: middle;
  border: 1px solid #ccc;
  top: 49%;
  left: 50%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-box-shadow: #fff 0 -2px 0 inset, #fff 0 2px 0 inset,
    rgba(0, 0, 0, 0.4) 0 0 5px;
  box-shadow: #fff 0 -2px 0 inset, #fff 0 2px 0 inset,
    rgba(0, 0, 0, 0.4) 0 0 5px;
  background: #fff;
}

.wheel-img {
  -webkit-transition: 4s;
  -o-transition: 4s;
  transition: 4s;
}
.wheel_wrapper {
      display: flex;
  position: relative;
}
.discount {
    position: absolute;
    text-align: center;
    width: 37%;
}
.discount-1 {
    top: 23px;
    left: 32%;
}
.discount-2 {
      transform: rotate(-120deg);
    top: 48%;
    left: 7%;
}
.discount-3 {
      transform: rotate(120deg);
    top: 49%;
    left: 56%;
}


.wheel img.img-product {
    width: 58%!important;
}
.discount-price {
display: inline-flex;
    background-color: #eb4e35;
    padding: 5px 5px;
    color: #fff;
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1;
    white-space: nowrap;
    font-weight: 700;

}
.close-popup {
  width: 30px;
  height: 30px;
  background-image: url("../img/cross.svg");
  background-size: 100%;
  top: -40px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow: 0 0 10px #fff;
  right: -40px;
}

.cursor-text:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 0 5px inset;
  box-shadow: rgba(0, 0, 0, 0.4) 0 0 5px inset;
}

.spin-result-wrapper {
  display: none;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  z-index: 999;
  left: 0;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
}

.pop-up-window {
  position: relative;
  max-width: 400px;
  right: 0;
  left: 0;
  top: 35%;
  margin: 0 auto !important;
  background: #fff;
  padding: 70px 10px 20px !important;
  border-radius: 10px;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}

.pop-up-window::after,
.pop-up-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.pop-up-window::before {
  width: 110px;
  height: 110px;
  top: -55px;
  background-color: #71c341;
  border-radius: 50%;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}
.result_1 .pop-up-window::after {
 background-image: url("../img/rebook_icon.png");
    background-size: cover;
    width: 75px;
    height: 75px;
    top: -38px;
    border: 0;
    transform: rotate(0);
}
.pop-up-window::after {
  width: 50px;
  height: 20px;
  top: -20px;
  border-width: medium medium 4px 4px;
  border-style: none none solid solid;
  border-color: currentcolor currentcolor #fff #fff;
  -moz-border-top-colors: none;
  -moz-border-right-colors: none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  border-image: none;
  transform: rotate(-45deg);
  transition: opacity 1s ease 0s;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.pop-up-heading {
  font-size: 40px !important;
  margin-bottom: 20px !important;
}

.pop-up-text {
  margin-bottom: 25px !important;
  margin-top: 10px !important;
  font-size: 24px !important;
  line-height: 30px !important;
  text-align: center !important;
  color: #414141 !important;
  font-weight: 400;
  padding: 0 !important;
}

.pop-up-button,
.pop-up-button:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.pop-up-button {
  text-transform: uppercase !important;
  padding: 10px 20% !important;
  font-size: 20px !important;
  border-radius: 5px !important;
  background-color: #71c341 !important;
  border: none !important;
  cursor: pointer !important;
  outline: 0 !important;
}

.wheel img {
  width: 100%!important;
}

.super-rotation {
  -webkit-animation-name: super-rotation;
  animation-name: super-rotation;
  -webkit-animation-duration: 7s;
  animation-duration: 7s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

@keyframes super-rotation {
  0% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    80% {
        -webkit-transform: rotate(4740deg);
        -moz-transform: rotate(4740deg);
        -ms-transform: rotate(4740deg);
        -o-transform: rotate(4740deg);
        transform: rotate(4740deg);
    }
    100% {
        -webkit-transform: rotate(4680deg);
        -moz-transform: rotate(46809deg);
        -ms-transform: rotate(4680deg);
        -o-transform: rotate(4680deg);
        transform: rotate(4680deg);
    }
}

.super-rotation2 {
  animation-name: super-rotation2;
}

@keyframes super-rotation2 {
  0% {
        -webkit-transform: rotate(4739deg);
        -moz-transform: rotate(4739deg);
        -ms-transform: rotate(4739deg);
        -o-transform: rotate(4739deg);
        transform: rotate(4739deg);
    }
    90% {
        -webkit-transform: rotate(7456deg);
        -moz-transform: rotate(7456deg);
        -ms-transform: rotate(7456deg);
        -o-transform: rotate(7456deg);
        transform: rotate(7456deg);
    }
    95% {
        -webkit-transform: rotate(7454deg);
        -moz-transform: rotate(7454deg);
        -ms-transform: rotate(7454deg);
        -o-transform: rotate(7454deg);
        transform: rotate(7454deg);
    }
    100% {
        -webkit-transform: rotate(7453deg);
        -moz-transform: rotate(7453deg);
        -ms-transform: rotate(7453deg);
        -o-transform: rotate(7453deg);
        transform: rotate(7453deg);
    }
}

.product {
  max-width: 290px;
  width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
}

.product img {
  width: 100%;
}

p.priceс {
  position: relative;
  right: -70px;
  bottom: -80px;
  color: rgb(0, 0, 0);
  box-shadow: rgb(0 0 0 / 80%) 0px 3px 30px;
  width: 128px;
  height: 95px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  transform: rotateZ(-9deg);
  text-align: center !important;
  margin: -160px auto 30px;
  background: linear-gradient(to right, rgb(238, 165, 19) 0%, rgb(253, 237, 19) 100%);
  border-width: 2px;
  border-style: solid;
  border-color: rgb(255, 255, 255);
  border-radius: 19%;
  padding: 0px 5px 10px;
}

.priceс span {
  font-size: 21px;
}

.priceс .old_price {
  text-decoration: line-through;
}

.new_price {
  border-bottom: 2px solid #f00;
  margin: 0 auto;
  width: 100px;
}

@media (max-width: 767px) {
  .cursor-text {
    font-size: 14px;
    padding-top: 5px;
    width: 50% !important;
  }
}

@media (max-width: 520px) {
  

  .pop-up-window {
    top: 30%;
  }

  .pop-up-heading {
    font-size: 33px !important;
  }

  .pop-up-text {
    margin-bottom: 15px !important;
  }

  .cursor-text {
    font-size: 12px;
    line-height: 40px;
  }

  .close-popup {
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: 100%;
    top: -40px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
    right: -10px;
    cursor: pointer;
  }

  .cursor-text {
    font-size: 8px;
    padding-top: 0;
  }
  .wheel img.img-product {
    width: 53%!important;
}
.discount-price {
    font-size: 14px;
}
}

@media (max-width: 320px) {
  .discount-price {
    font-size: 11px;
}
.discount-1 {
    top: 13px;
}
}

.pulse {
  animation: pulse 2s infinite;
  margin-top: 30px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
  }

  50% {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
  }

  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
  }
}

.nw {
display: flex;
justify-content: center;
align-items: center;
column-gap: 10px; 
font-size: 14px;
text-align: left;
margin-top: 30px;
}


.com-img {
  display: block;
  width: 100% !important;
  max-width: 360px !important;
  float: none !important;
  margin-top: 15px !important;
}