@keyframes arrow-pulse {
  0%,
  to {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  80% {
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
  }
}
body,
div,
form,
h2,
h3,
html,
img,
label,
span {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
body {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #4b3e30;
  line-height: 1.33;
  overflow: hidden;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
button,
button:focus,
input,
input:focus {
  outline: 0;
}
button {
  border: 0;
  display: block;
  padding: 0;
  overflow: visible;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
* {
  -webkit-tap-highlight-color: transparent;
}
html {
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
button::-moz-focus-inner {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
input:-moz-submit-invalid {
  box-shadow: none;
}
input:-moz-ui-invalid {
  box-shadow: none;
}
.btn {
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.btn {
  border-radius: 10px;
  border-bottom: 3px solid #872113;
  background-color: #f12535;
  width: 100%;
  font-size: 20px;
  line-height: 1;
  padding: 10px 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  cursor: pointer;
  background: -webkit-gradient(linear, left top, left bottom, from(#e3331b), to(#c52a15));
  background: linear-gradient(180deg, #e3331b 0, #c52a15 100%);
}
.btn__small {
  display: block;
}
.btn:hover {
  background: -webkit-gradient(linear, left top, right top, from(#e3331b), to(#c52a15));
  background: linear-gradient(90deg, #e3331b 0, #c52a15 100%);
}
.form {
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
  border-radius: 15px;
  width: 270px;
  text-align: center;
  padding: 15px;
  margin: 13px;
  position: relative;
  z-index: 0;
}
.form__toptitle {
  margin-bottom: 5px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}
.form__title {
  text-align: center;
  line-height: 1.1;
  position: relative;
  z-index: 0;
  border-radius: 3px 3px 0 0;
  margin-bottom: 15px;
}
.form::after {
  content: "";
  width: calc(100% - 8px);
  height: 5px;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #f90;
  border-radius: 15px 15px 0 0;
}
.form::before {
  content: "-100%";
  top: -30px;
  right: -20px;
  letter-spacing: -0.5px;
  width: 81px;
  height: 59px;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  background: url(../img/discont-bg.png) no-repeat center/contain;
  z-index: 5;
}
.form__input {
  width: 100%;
  height: 60px;
  padding-right: 15px;
  padding-left: 52px;
  background: #f3f3f3;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
  -webkit-box-shadow: inset 1px 2px 7px rgba(0, 0, 0, 0.04);
  box-shadow: inset 1px 2px 7px rgba(0, 0, 0, 0.04);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #444;
  font-size: 16px;
}
.form::before {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.form__input:active,
.form__input:focus,
.form__input:hover {
  background-color: #fafafa;
}
.label,
.price {
  margin-bottom: 15px;
  position: relative;
}
.label {
  display: block;
}
.price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  text-align: center;
}
.price .x_price_previous:before,
.price::before {
  content: "";
  width: 1px;
  height: 60px;
  opacity: 0.3;
  background-color: #c4c4c4;
  position: absolute;
  left:0;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.price .x_price_previous {
  position: relative;
  font-size: 40px;
  line-height: 1;
}
.price .x_price_previous:before {
  content: "";
  opacity: 0.8;
  background-color: #e3331b;
  height: 2px;
  width: 100%;
}
.price .x_currency {
  font-size: 14px;
  font-weight: 700;
}
.price .x_price_current {
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
  color: #f54646;
}
.price-old {
  width: 50%;
  color: #666;
}
.price-old__title {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 22px;
  color: #666;
}
.price-new {
  width: 50%;
  position: relative;
}
.price-new .x_currency {
  color: #f54646;
}
.price-new__title {
  font-size: 12px;
  line-height: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.form__online {
  font-size: 14px;
  line-height: 1;
  color: #31363e;
}
.form__btn {
  margin-bottom: 20px;
  padding: 10px 20px;
  text-align: left;
  position: relative;
}
.form__btn:hover .btn__arrow {
  -webkit-animation: arrow-pulse 0.9s ease infinite reverse;
  animation: arrow-pulse 0.9s ease infinite reverse;
}
.form__btn:hover .btn__circle {
  -webkit-transform: rotate(180deg) translate(0, 50%);
  transform: rotate(180deg) translate(0, 50%);
}
.btn__circle,
.label--name:before,
.label--phone:before {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.btn__circle {
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  width: 30px;
  height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 30px;
  background-color: #fff;
  right: 20px;
}
.label--name,
.label--phone {
  position: relative;
}
.label--name:before,
.label--phone:before {
  content: "";
  left: 20px;
}
.label--name:before {
  width: 16px;
  height: 18px;
  background: url(../img/icon-name.png) no-repeat center/contain;
}
.label--phone:before {
  width: 20px;
  height: 20px;
  background: url(../img/icon-tel.png) no-repeat center/contain;
}
.form-online__count {
  color: #f12535;
  font-weight: 700;
}
.popup {
  background: #f4f0f2;
  border-radius: 20px;
}
.popup__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 15px;
}
.popup__left {
  display: none;
}
.popup__logo {
  width: 240px;
  margin: 0 auto 15px;
}
.popup__title {
  margin-bottom: 40px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 16px;
  border-bottom: 2px solid #474747;
}
.popup__prod {
  width: 300px;
  margin: 0 auto;
}
.popup__form {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 1px solid #fff;
}
.popup__form::before {
  top: -23px;
  left: -15px;
  right: auto;
}
.popup .price {
  margin-bottom: 10px;
}
.popup .form__title {
  margin-bottom: 8px;
}
.popup .label {
  margin-bottom: 10px;
}
.popup .form__input {
  height: 50px;
}
.popup .form__btn,
.popup .form__online {
  margin-bottom: 10px;
}
@media screen and (min-width: 1024px) {
  .form::before {
    right: -10px;
  }
  .popup__content {
    padding: 25px 30px 25px 40px;
    border-radius: 20px;
    position: relative;
    z-index: 0;
  }
  .popup__left {
    max-width: 400px;
    width: 300px;
    margin-right: 50px;
    display: block;
    position: relative;
  }
}
@media screen and (min-width: 1044px) {
  .form::before {
    right: -20px;
  }
}
