#tires-hero {
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('../../images/pages/tires/bg-hero.jpg');
  background-image: -webkit-image-set(url("../../images/pages/tires/bg-hero.jpg") 1x, url("../../images/pages/tires/bg-hero@2x.jpg") 2x);
}

#tires-hero h1 {
  font-weight: 800;
  font-size: 55px;
  margin-top: -60px;
}

#tires-hero h1 span {
  font-size: 82px;
  font-weight: 900;
  padding-right: 15px;
  padding-left: 5px;
}

#tires-hero h1 span:after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: -14px;
  width: 173px;
  height: 11px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('../../images/pages/tires/underline.png');
  background-image: -webkit-image-set(url("../../images/pages/tires/underline.png") 1x, url("../../images/pages/tires/underline@2x.png") 2x);
}

#tires-form {
  padding-bottom: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('../../images/pages/tires/tires-form-back.jpg');
  background-image: -webkit-image-set(url("../../images/pages/tires/tires-form-back.jpg") 1x, url("../../images/pages/tires/tires-form-back@2x.jpg") 2x);
}

#tires-form .container {
  width: 100%;
  max-width: 768px;
}

#tires-form .tires-form {
  margin-top: -123px;
  padding: 50px 65px;
}

#tires-form .form-field {
  padding: 7.5px 9.5px;
  flex-basis: 50%;
  flex-grow: 1;
}

#tires-form .form-field label {
  left: 17px;
  font-size: 1.125em;
  margin-bottom: 0;
  line-height: 1;
  margin-top: 0.1em;
  transition: all 0.3s;
  font-weight: normal;
}

#tires-form .form-field input,
#tires-form .form-field select {
  font-size: 1.125em;
  height: 60px;
  background-color: #fff;
  width: 100%;
  text-indent: 17px;
  padding-top: 18px;
  border-radius: 10px;
  padding-left: 0;
}

#tires-form .form-field select {
  background-image: none;
}

#tires-form .form-field .select_box:after {
  content: '';
  display: block;
  width: 17px;
  height: 10px;
  position: absolute;
  right: 17px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../images/pages/tires/down-arrow.png);
  background-image: -webkit-image-set(url("../../images/pages/tires/down-arrow.png") 1x, url("../../images/pages/tires/down-arrow@2x.png") 2x);
  background-size: cover;
  pointer-events: none;
}

@-moz-document url-prefix() {
  #tires-form .form-field select {
    text-indent: 8.5px;
  }
}

#tires-form .form-field select.selected,
#tires-form .form-field input {
  color: var(--black);
}

#tires-form .form-field select,
#tires-form .form-field ::placeholder {
  opacity: 1;
  color: #262626;
}

#tires-form .form-field input:-internal-autofill-selected,
#tires-form .form-field input:-webkit-autofill,
#tires-form .form-field input:-webkit-autofill:focus {
  background-color: #fff !important;
  transition: background-color 0s 600000s, color 0s 600000s !important;
}

#tires-form .form-action [type="submit"].button[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

#tires-form .form-field .validation-error:before,
#tires-form .form-field .incomplete-mask:before {
  content: '';
  display: block;
  width: 23px;
  height: 23px;
  position: absolute;
  z-index: 2;
  right: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../images/error.png);
  background-image: -webkit-image-set(url("../../images/error.png") 1x, url("../../images/error@2x.png") 2x);
  background-size: cover;
  pointer-events: none;
}

#tires-form .form-field .validation-error select,
#tires-form .form-field .validation-error input,
#tires-form .form-field .incomplete-mask input {
  border-color: var(--error-border);
  border-width: 2px;
}

#tires-form .form-field .validation-error label,
#tires-form .form-field .incomplete-mask label {
  color: var(--error-color);
}

#tires-form .form-field .select_box.focused:after {
  transform: scaleY(-1);
}

#tires-form .form-field .focused label,
#tires-form .form-field .has-value label {
  font-size: 0.84375em;
  margin-top: calc(-2.9em + 24px);
  color: var(--focus-color);
}

#tires-form .form-field .focused select,
#tires-form .form-field .focused input {
  border-color: var(--focus-border);
  border-width: 2px;
}

#tires-form .form-field.select::after {
  display: none;
}

#tires-form button {
  width: 190px;
  height: 40px;
  border-radius: 20px;
  font-size: 18px;
  padding-top: 0.2em;
  margin-top: 21.5px;
}

#popup-thanks {
  font-size: 16px;
  z-index: 999999;
}

#popup-thanks .popup-overlay {
  background-color: rgba(0, 0, 0, .85);
}

#popup-thanks .popup-content {
  width: 700px;
  height: 500px;
  max-height: 100%;
  padding: 0 15px;
}

#popup-thanks .popup-content .popup-close:before,
#popup-thanks .popup-content .popup-close:after {
  display: none;
}

#popup-thanks .popup-content .popup-close {
  width: auto;
  height: auto;
  padding: 26px;
  top: 0;
  right: 0;
}

#popup-thanks .popup-content p {
  font-size: 1.34375em;
  line-height: 1.48837209;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: 471px;
  padding-top: 10px;
}

#popup-thanks .popup-content p.h1 {
  font-size: 62px;
  line-height: 1;
  margin-bottom: 0.675em;
  margin-top: 0;
  font-weight: 800;
}

#popup-thanks .popup-content p.h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  width: 375px;
  height: 23px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('../../images/pages/tires/popup-decor.png');
  background-image: -webkit-image-set(url("../../images/pages/tires/popup-decor.png") 1x, url("../../images/pages/tires/popup-decor@2x.png") 2x);
}

#popup-thanks .popup-content p.h2 {
  font-size: 1.46875em;
  line-height: 1.36170213;
  margin-bottom: 1em;
  margin-top: 3em;
}

#popup-thanks .popup-content a {
  width: 190px;
  height: 35px;
  border-radius: 18px;
  font-size: 1.0625em;
  margin-top: 50px;
  padding-top: 0.2em;
}

@media screen and (max-width: 1100px) {
  #tires-hero h1 {
    font-size: 50px;
  }

  #tires-hero h1 span {
    font-size: 66px;
  }

  #tires-hero h1 span:after {
    bottom: 8px;
    left: -5px;
    width: 133px;
    height: 8px;
  }

}

@media screen and (max-width: 576px) {
  #tires-hero {
    height: 250px;
  }

  #tires-hero h1 {
    font-size: 35px;
  }

  #tires-hero h1 span {
    font-size: 50px;
  }

  #tires-hero h1 span:after {
    bottom: 8px;
    left: -12px;
    width: 126px;
    height: 8px;
  }

  #popup-thanks .popup-content {
    width: 375px;
    max-width: 100%;
    height: 345px;
  }

  #popup-thanks .popup-content .popup-close {
    width: 42px;
    padding: 14px;
  }

  #popup-thanks .popup-content p {
    font-size: 18px;
    line-height: 28px;
    width: 280px;
  }

  #popup-thanks .popup-content p.h1 span::after {
    bottom: -21px;
    width: 200px;
    height: 12px;
  }

  #popup-thanks .popup-content p br {
    display: none;
  }

  #popup-thanks .popup-content p.h1 {
    font-size: 37px;
    margin-bottom: 0.65384615em;
  }

  #popup-thanks .popup-content p.h2 {
    margin-top: 2.5em;
    margin-bottom: 0.71875em;
  }

  #popup-thanks .popup-content a {
    width: 192px;
    height: 39px;
    border-radius: 18px;
    font-size: 17px;
    margin-top: 21px;
  }

  #tires-form {
    padding-bottom: 100px;
  }

  #tires-form .tires-form.active {
    transform: translateY(0);
  }

  #tires-form form {
    margin-top: 32.5px;
  }

  #tires-form form .form-row {
    flex-direction: column;
  }

  #tires-form .form-field {
    padding: 7.5px 20px;
  }

  #tires-form .tires-form {
    margin-top: -50px;
    padding: 10px 0 30px 0;
  }
}

@media screen and (max-height: 700px) {
  #tires-form {
    overflow: hidden;
  }

  #tires-form .tires-form {
    max-height: 75dvh;
    overflow: auto;
    padding-bottom: 60px;
  }
}