html,
body {
  min-height: 101vh;
}

.warranty {
  min-width: 1200px;
  position: relative;
  width: 100%;
  height: 10.8rem;
  min-height: 100vh;
  background: url(../images/pic1.jpg) no-repeat;
  background-size: cover;
  display: flex;
  justify-content: space-between;
  padding: 0 1.2rem 0 1.26rem;
  box-sizing: border-box;
  align-items: center;
  font-size: 0;
}

.warranty h3,
.warranty p {
  margin: 0;
}

.warranty .logo {
  margin-left: 0.05rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.warranty .logo img {
  width: 0.56rem;
  height: auto;
}

.warranty .icon1 {
  margin-top: 1.6rem;
  display: inline-block;
}

.warranty .icon1 img {
  width: 0.67rem;
  height: auto;
}

.warranty .title-box {
  width: 9.8rem;
}

.warranty .title-box .title {
  font-size: 0.64rem;
  font-family: kb;
  color: #ffffff;
  line-height: 0.8rem;
  margin: 0;
  margin-bottom: 0.66rem;
}

.warranty .title-box .p1 {
  margin-bottom: 0.2rem;
}

.warranty .title-box p {
  font-size: 0.2rem;
  font-family: k;
  font-weight: 400;
  color: #ffffff;
  line-height: 0.33rem;
}

.warranty .confirm-box {
  width: 6.4rem;
  height: 7.5rem;
  background: #ffffff;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 1.2rem 0.7rem 0.8rem 0.7rem;
}

.warranty .confirm-box .title {
  font-size: 0.34rem;
  font-family: kb;
  color: #222222;
  line-height: 0.34rem;
  margin-bottom: 0.61rem;
  text-align: center;
}

.warranty .confirm-box .input-box {
  width: 100%;
  height: 0.69rem;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
  box-sizing: border-box;
  position: relative;
}

.warranty .confirm-box .input-box label {
  padding: 0 0.25rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.warranty .confirm-box .input-box label img {
  width: 0.19rem;
  height: 0.19rem;
}

.warranty .confirm-box .input-box input {
  width: 4.3rem;
  font-size: 0.16rem;
  font-family: k;
  font-weight: 400;
  color: #222222;
  line-height: 0.16rem;
  height: 100%;
  padding: 0.28rem 0;
  box-sizing: border-box;
  padding-left: 0.18rem;
  background-color: transparent;
  border: none;
  outline: none;
}

.warranty .confirm-box .input-box.err {
  border: 1px solid red;
}

.warranty .confirm-box .input-box.err input::-webkit-input-placeholder {
  color: red;
}

.warranty .confirm-box .input-box.err input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: red;
}

.warranty .confirm-box .input-box.err input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: red;
}

.warranty .confirm-box .input-box.err input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: red;
}

.warranty .confirm-box .input-box.err::after {
  content: "*";
  position: absolute;
  right: -0.3rem;
  font-size: 0.22rem;
  color: red;
}

.warranty .confirm-box .confirm {
  width: 5rem;
  height: 0.69rem;
  background: #2836c8;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.22rem;
  font-family: kb;
  color: #ffffff;
  cursor: pointer;
}

.warranty .confirm-box .prompt {
  font-size: 0.18rem;
  font-family: k;
  font-weight: 400;
  color: #7f7f7f;
  line-height: 0.18rem;
  margin-top: 1.01rem;
  text-align: center;
}

.warranty .confirm-box .email {
  margin-top: 0.15rem;
  font-size: 0.18rem;
  font-family: kb;
  text-decoration: underline;
  color: #2836c8;
  line-height: 0.18rem;
  text-align: center;
}

.warranty .cover {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.warranty .cover .suc,
.warranty .cover .pro {
  background: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 3.8rem;
  height: 4rem;
  box-sizing: border-box;
  padding: 0 0.46rem;
  border-radius: 5px;
}

.warranty .cover .suc {
  display: none;
  padding-top: 0.62rem;
}

.warranty .cover .suc img {
  width: 1.81rem;
  height: auto;
}

.warranty .cover .suc .title {
  font-size: 0.32rem;
  font-family: kb;
  color: #2b2b2b;
  line-height: 0.4rem;
  margin-top: 0.3rem;
  text-align: center;
}

.warranty .cover .suc p {
  font-size: 0.16rem;
  font-family: k;
  font-weight: 400;
  color: #7e7e7e;
  line-height: 0.22rem;
  margin-top: 0.12rem;
  text-align: center;
}

.warranty .cover .pro {
  display: none;
  padding-top: 0.7rem;
}

.warranty .cover .pro img {
  width: 1.32rem;
  height: auto;
}

.warranty .cover .pro .title {
  font-size: 0.28rem;
  font-family: kb;
  color: #2b2b2b;
  line-height: 0.33rem;
  margin-top: 0.43rem;
  text-align: center;
}

.warranty .cover.sucshow .suc {
  display: flex;
}

.warranty .cover.proshow .pro {
  display: flex;
}

.warranty .mb {
  display: none;
}

@media screen and (max-width: 769px) {
  body {
    background-color: #f6f6f6;
  }
  .warranty {
    min-width: 320px;
    position: relative;
    width: 100%;
    height: 5.14rem;
    min-height: auto;
    background: url(../images/pic1_mb.jpg) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.93rem 0.38rem 0 0.38rem;
    box-sizing: border-box;
    align-items: center;
  }
  .warranty .pc {
    display: none;
  }
  .warranty .mb {
    display: block;
  }
  .warranty h3,
  .warranty p {
    margin: 0;
  }
  .warranty .logo {
    margin-left: 0;
    margin-bottom: 0.44rem;
    display: inline-block;
  }
  .warranty .logo img {
    width: 0.25rem;
    height: auto;
  }
  .warranty .icon1 {
    width: 0.67rem;
    height: auto;
    margin-top: 1.6rem;
    display: none;
  }
  .warranty .title-box {
    width: 100%;
  }
  .warranty .title-box .title {
    font-size: 0.2rem;
    font-family: kb;
    font-weight: bold;
    color: #ffffff;
    line-height: 0.26rem;
    margin: 0;
  }
  .warranty .title-box p {
    font-size: 0.08rem;
    font-family: k;
    font-weight: 400;
    color: #ffffff;
    line-height: 0.15rem;
    margin-top: 0.22rem;
  }
  .warranty .confirm-box {
    width: 100%;
    height: 4.25rem;
    background: #ffffff;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 0.58rem 0.33rem 0.42rem 0.33rem;
    margin-top: 0.36rem;
    margin-bottom: 0.56rem;
  }
  .warranty .confirm-box .title {
    font-size: 0.16rem;
    font-family: kb;
    font-weight: bold;
    color: #222222;
    line-height: 0.19rem;
    margin-bottom: 0.33rem;
    text-align: center;
  }
  .warranty .confirm-box .input-box {
    width: 100%;
    height: 0.38rem;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    margin-bottom: 0.11rem;
    box-sizing: border-box;
    position: relative;
  }
  .warranty .confirm-box .input-box label {
    padding: 0 0.12rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .warranty .confirm-box .input-box label img {
    width: 0.08rem;
    height: 0.08rem;
  }
  .warranty .confirm-box .input-box input {
    width: 1.4rem;
    font-size: 0.08rem;
    font-family: k;
    font-weight: 400;
    color: #222222;
    line-height: 0.19rem;
    height: 100%;
    padding: 0.12rem 0;
    box-sizing: border-box;
    padding-left: 0.07rem;
    background-color: transparent;
    border: none;
    outline: none;
  }
  .warranty .confirm-box .input-box.err {
    border: 1px solid red;
  }
  .warranty .confirm-box .input-box.err input::-webkit-input-placeholder {
    color: red;
  }
  .warranty .confirm-box .input-box.err input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: red;
  }
  .warranty .confirm-box .input-box.err input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: red;
  }
  .warranty .confirm-box .input-box.err input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: red;
  }
  .warranty .confirm-box .input-box.err::after {
    content: "*";
    position: absolute;
    right: -0.12rem;
    font-size: 0.1rem;
    color: red;
  }
  .warranty .confirm-box .confirm {
    width: 100%;
    height: 0.32rem;
    background: #2836c8;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.1rem;
    font-family: kb;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
  }
  .warranty .confirm-box .prompt {
    font-size: 0.09rem;
    font-family: k;
    font-weight: 400;
    color: #7f7f7f;
    line-height: 0.18rem;
    margin-top: 0.36rem;
    text-align: center;
  }
  .warranty .confirm-box .email {
    margin-top: 0.02rem;
    font-size: 0.09rem;
    font-family: kb;
    text-decoration: underline;
    color: #2836c8;
    line-height: 0.18rem;
    text-align: center;
  }
  .warranty .cover {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .warranty .cover .suc,
  .warranty .cover .pro {
    background: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 2rem;
    height: 2rem;
    box-sizing: border-box;
    padding: 0 0.2rem;
    padding-top: 0px;
    border-radius: 5px;
  }
  .warranty .cover .suc {
    display: none;
    padding-top: 0.3rem;
  }
  .warranty .cover .suc img {
    width: 0.81rem;
    height: auto;
  }
  .warranty .cover .suc .title {
    font-size: 0.2rem;
    font-family: kb;
    font-weight: bold;
    color: #2b2b2b;
    line-height: 0.4rem;
    margin-top: 0.05rem;
    text-align: center;
  }
  .warranty .cover .suc p {
    font-size: 0.1rem;
    font-family: k;
    font-weight: 400;
    color: #7e7e7e;
    line-height: 0.13rem;
    margin-top: 0;
    text-align: center;
  }
  .warranty .cover .pro {
    display: none;
    padding-top: 0.4rem;
  }
  .warranty .cover .pro img {
    width: 0.7rem;
    height: auto;
  }
  .warranty .cover .pro .title {
    font-size: 0.14rem;
    font-family: kb;
    font-weight: bold;
    color: #2b2b2b;
    line-height: 0.2rem;
    margin-top: 0.1rem;
    text-align: center;
  }
  .warranty .cover.sucshow .suc {
    display: flex;
  }
  .warranty .cover.proshow .pro {
    display: flex;
  }
  .warranty .link {
    background: #ffffff;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0.1rem 0.17rem;
    justify-content: space-between;
    text-decoration: none;
    margin-bottom: 0.6rem;
  }
  .warranty .link img {
    width: 0.11rem;
    height: 0.09rem;
  }
  .warranty .link span {
    font-size: 0.08rem;
    font-family: kb;
    color: #474747;
    line-height: 0.09rem;
    margin-left: 0.11rem;
  }
}
