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

.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;
  border-radius: 10px;
  box-sizing: border-box;
}

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

.wheel {
  width: 380px !important;
  margin: 0 auto;
  position: relative;
}

.wheel-cursor {
  position: absolute;
  width: 35% !important;
  height: 35%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.cursor-text {
  font-size: 14px;
  z-index: 2;
  display: inline-block;
  width: 45% !important;
  height: 45%;
  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: rgba(255, 255, 255, 1) 0 -2px 0 inset,
    rgba(255, 255, 255, 1) 0 2px 0 inset, rgba(0, 0, 0, 0.4) 0 0 5px;
  box-shadow: rgba(255, 255, 255, 1) 0 -2px 0 inset,
    rgba(255, 255, 255, 1) 0 2px 0 inset, rgba(0, 0, 0, 0.4) 0 0 5px;
  background: #fff;
  background: -webkit-gradient(
    radial,
    center center,
    0,
    center center,
    100%,
    color-stop(0, rgba(255, 255, 255, 1)),
    color-stop(100%, rgba(234, 234, 234, 1))
  );
  background: -webkit-radial-gradient(
    center,
    ellipse cover,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  background: -o-radial-gradient(
    center,
    ellipse cover,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  background: -webkit-radial-gradient(
    center,
    ellipse,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  background: -o-radial-gradient(
    center,
    ellipse,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=1);
}

.wheel-img {
  -webkit-transition: 4s;
  -o-transition: 4s;
  transition: 4s;
}

.close-popup {
  width: 30px;
  height: 30px;
  background-image: url(../img/cross.svg?v=1);
  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-layer {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  z-index: 99 !important;
}

.pop-up-layer-show {
  display: block;
}

.pop-up-window {
  position: relative;
  max-width: 400px;
  right: 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  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;
}

.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;
  font-size: 24px !important;
  line-height: 30px !important;
  text-align: center !important;
  color: #414141 !important;
  font-weight: 400;
}

.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 {
  max-width: 100%;
}

@media all and (max-width: 520px) {
  .wheel {
    width: 240px !important;
  }
  .pop-up-heading {
    font-size: 33px !important;
  }
  .pop-up-text {
    margin-bottom: 15px !important;
  }
  .cursor-text {
    line-height: 40px;
    font-size: 9px;
  }
  .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;
  }
}

.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;
}

@-webkit-keyframes super-rotation {
  70% {
    -webkit-transform: rotate(1783deg);
    transform: rotate(1783deg);
  }
  100% {
    -webkit-transform: rotate(1774deg);
    transform: rotate(1774deg);
  }
}

@keyframes super-rotation {
  70% {
    -webkit-transform: rotate(1783deg);
    transform: rotate(1783deg);
  }
  100% {
    -webkit-transform: rotate(1774deg);
    transform: rotate(1774deg);
  }
}

.time_remains {
  font-size: 1.1em;
  color: red;
  font-weight: 700;
}

.time_remains_title {
  padding-top: 15px;
  text-align: center;
  font-size: 22px;
}

/* FORM */

.order_block {
  display: none;
  text-align: center;
  font-family: "Arial", sans-serif;
  margin: auto;
}

.order__text {
  margin-bottom: 22px;
  margin: 0 0 30px;
  font-weight: 700;
}

.order_block__wrapper {
  display: table;
  margin: 0 auto;
  border: 1px solid #cdcdcd;
  padding: 20px 10px;
  border-radius: 10px;
  width: 100%;
}

.prod_img_wrapper {
  max-width: 100%;
  margin: 15px auto;
  position: relative;
}

.prod_img_wrapper {
  margin: 30px auto;
}

.form,
.prod_img_wrapper {
  display: table-cell;
}

.prod_img_wrapper {
  float: left;
  margin-right: 10%;
}

.prod_img {
  max-width: 100%;
  max-height: 300px;
}

.priceс {
  position: absolute;
  font-family: Arial, sans-serif;
  left: -35px;
  top: -65px;
  color: rgb(0, 0, 0);
  box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 30px;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
  transform: rotateZ(-7deg);
  text-align: center !important;
  padding: 10px 15px;
  margin: 0px auto;
  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-image: initial;
  border-radius: 19%;
}

@media (max-width: 755px) {
  .priceс {
    left: 0px;
    box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 6px;
  }
}

span.discountс {
  display: block;
  margin-top: 9px;
  font-size: 18px;
}

.price-block {
  display: none;
}

.price-block--active {
  display: block;
}

.js_old_price {
  display: block;
  margin: 0 auto;
}

.price_main {
  border-bottom: 2px solid #d31812;
  font-size: 24px;
  line-height: 15px;
  margin: 0 auto;
}

.js_old_price {
  display: block;
  margin: 0 auto;
}

.price_main {
  border-bottom: 2px solid #d31812;
  font-size: 24px;
  line-height: 15px;
  margin: 0 auto;
}

.js_old_price {
  display: block;
  margin: 0 auto;
}

.price_main {
  border-bottom: 2px solid #d31812;
  font-size: 24px;
  line-height: 15px;
  margin: 0 auto;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.order_block__time {
  margin-bottom: 0px;
  padding: 5px 30px;
  color: white;
  border-radius: 8px;
  -webkit-box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 31%);
  box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 31%);
  background-color: red;
  background-color: #f50000;
}

.order_block__time-wiggle {
  animation: wiggle 1s;
  animation-iteration-count: 2;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }
  80% {
    transform: rotate(0deg);
  }
  85% {
    transform: rotate(5deg);
  }
  95% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.form {
  max-width: 400px;
  margin: 0 auto;
  padding-top: 45px;
  vertical-align: top;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none !important;
  background: #fff url(../img/select.png?v=1) no-repeat 96% 50%;
}

.form__input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #cdcdcd;
  box-sizing: border-box;
  margin-bottom: 20px;
  min-height: 50px;
  border-radius: 10px;
}

input {
  outline: 0 none;
}

.form__btn {
  background-color: #4cad0e;
  color: #fff;
  padding: 15px 20px;
  border-radius: 35px;
  border: none;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  display: table;
  transition: transform 0.5s;
  outline: none;
}

@media (max-width: 600px) {
  .form,
  .prod_img_wrapper {
    display: block;
  }
}

@media (max-width: 600px) {
  .prod_img_wrapper {
    float: none;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .prod_img {
    max-height: 200px;
  }
}

.pulse-button-wrapper {
  height: 100%;
  margin: 0 auto 0;
  -webkit-perspective: 1000;
  -webkit-backface-visibility: hidden;
  background: #fff;
  border: unset;
  outline: none;
  text-decoration: none !important;
}

.pulse-button,
.pulse-button-no-animation {
  position: relative;
  display: block;
  font-size: 22px;
  font-weight: light;
  font-family: "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 10px;
  color: white;
  border: none;
  border-radius: 10px;
  background: red;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgb(97, 16, 16);
  animation: pulse 1.5s infinite;
  -webkit-animation: pulse 1.5s infinite;
  text-decoration: none;
}

.pulse-button-no-animation {
  animation: none;
  -webkit-animation: none;
}

.pulse-button:hover {
  animation: none;
  -webkit-animation: none;
}

@-webkit-keyframes pulse {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  70% {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }
  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
}

.form-cupone {
  border: 2px red dashed !important;
  background-color: #ededed;
}

.order_block__quantity {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #cdcdcd;
  box-sizing: border-box;
  margin-bottom: 20px;
  min-height: 50px;
  border-radius: 10px;
  background-color: #f0f8ff;
  font-size: 18px;
}

.order_block__quantity-left {
  color: white;
  font-weight: 600;
  border: 1px solid #f50000;
  padding: 2px;
  background: red;
  border-radius: 7px;
  margin-left: 5px;
  margin-right: 5px;
  width: 30px;
  display: inline-block;
}

.order_block__quantity-left-wiggle {
  animation: wiggle 1s;
  animation-iteration-count: 2;
}

.custom-push-note-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  overflow: hidden;
  padding: 20px;
  z-index: 99999;
}

.custom-push-note {
  position: relative;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 3px 3px 4px -1px #00000073;
  font-size: 16px;
  max-width: 200px;
  right: -500px;
  transition: all 0.5s ease;
}

.custom-push-note-active {
  right: 0;
}
