.ytht_hot-products {
  padding: 100px 0;
  background: url(https://okki-shop.oss-cn-hangzhou.aliyuncs.com/category/432085/3433/0759c975a99ece70e7508acf9046de56/ibg1.jpg) no-repeat center top;
  position: relative;
}

.ytht_hot-products::before {
  content: "";
  background: url(./pics/ibg2.png) no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  width: 320px;
  height: 334px;
  background-size: 320px 334px;
}

.ytht_hot-products::after {
  content: "";
  background: url(./pics/ibg3.png) no-repeat;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;
  height: 328px;
  background-size: 320px 328px;
}

.ytht_hot-products .tit {
  text-align: center;
  position: relative;
  z-index: 20;
}

.ytht_hot-products .tit h3 {
  font-size: 58px;
  line-height: 1;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
}

.ytht_hot-products .tit h3 span {
  color: var(--color-primary);
}

.ytht_hot-products .tit p {
  font-size: 18px;
  color: #373737;
  max-width: 920px;
  margin: 25px auto 0;
}

.ytht_hot-products .tit .more {
  margin: 60px auto 0;
  min-width: 200px;
  height: 50px;
  line-height: 50px;
  background: var(--color-second);
  display: inline-block;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  border-radius: var(--button-radius);
}

.ytht_hot-products .tit .more:hover {
  background: var(--btn-hover);
}

.ytht_hot-products .list {
  position: relative;
  z-index: 20;
  margin: 70px 0 0;
}

.ytht_hot-products .swiper-slide {
  box-sizing: border-box;
  padding: 30px 0 44px;
  position: relative;
}

.ytht_hot-products .swiper-slide {
}

.ytht_hot-products .swiper-slide .box {
  padding: 0 26px 50px;
  position: relative;
  z-index: 20;
}

.ytht_hot-products .swiper-slide .box::after {
  content: "";
  background: #1c1c1d;
  position: absolute;
  right: 0;
  left: 0;
  top: 30px;
  width: 100%;
  height: calc(100% - 30px);
  z-index: -1;
}

.ytht_hot-products .swiper-slide .pic {
  margin-top: -30px;
  width: 100%;
  overflow: hidden;
  height: 370px;
  background: #fff;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.ytht_hot-products .swiper-slide .pic img {
  box-sizing: border-box;
  display: block;
  transition: all 0.5s ease 0s;
  max-width: 95%;
  max-height: 95%;
}

.ytht_hot-products .swiper-slide h6 {
  margin: 10px 0 0;
  font-size: 18px;
  color: #fff;
  text-align: center;
  font-weight: 300;
  height: 70px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.ytht_hot-products .swiper-slide .more {
  position: absolute;
  left: calc(50% - 44px);
  bottom: -44px;
  width: 88px;
  height: 88px;
  line-height: 88px;
  background: var(--color-primary);
  border-radius: 50%;
  display: block;
  text-align: center;
  font-size: 18px;
  color: #fff;
}

.ytht_hot-products .swiper-slide .more i {
  color: #fff;
  font-size: 30px;
  vertical-align: middle;
}

.ytht_hot-products .swiper-slide .more:hover {
  background: var(--color-primary);
}

.ytht_hot-products .swiper-slide:hover .pic img {
  transform: scale(1.04);
  -webkit-transform: scale(1.04);
}

.ytht_hot-products .swiper-pagination {
  position: relative;
  width: 80%;
  height: 8px;
  margin: 120px auto 0;
}

.ytht_hot-products .swiper-pagination::after {
  width: 100%;
  content: "";
  height: 2px;
  background: #aaa;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
}

.ytht_hot-products .swiper-pagination-bullet {
  height: 8px;
  width: 200px;
  margin: 0;
  background: transparent;
  border-radius: 0;
  opacity: 1;
  box-sizing: border-box;
  vertical-align: top;
  position: relative;
  z-index: 20;
}

.ytht_hot-products .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

@media screen and (max-width: 1500px) {
  .ytht_hot-products .swiper-slide .pic {
    height: 300px;
  }

 
}

@media screen and (max-width: 1150px) {
  .ytht_hot-products .swiper-slide h6 {
    font-size: 16px;
  }
}

@media screen and (max-width: 991px) {
  .ytht_hot-products {
    padding: 30px 0;
  }

  .ytht_hot-products::before {
    width: 200px;
    height: 209px;
    background-size: 200px 209px;
  }

  .ytht_hot-products::after {
    width: 200px;
    height: 205px;
    background-size: 200px 205px;
  }



  .ytht_hot-products .tit p {
    font-size: 16px;
    margin: 15px auto 0;
  }

  .ytht_hot-products .tit .more {
    margin: 20px auto 0;
    width: 170px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

  .ytht_hot-products .list {
    margin: 30px 0 0;
  }

  .ytht_hot-products .swiper-slide {
    padding: 0;
  }

  .ytht_hot-products .swiper-slide .box {
    padding: 0;
    position: relative;
    z-index: 20;
  }

  .ytht_hot-products .swiper-slide .box::after {
    display: none;
  }

  .ytht_hot-products .swiper-slide .pic {
    margin-top: 0;
  }

  .ytht_hot-products .swiper-slide h6 {
    margin: 10px 0 0;
    font-size: 18px;
    color: #333;
    text-align: center;
    font-weight: 300;
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .ytht_hot-products .swiper-slide h6 a {
    line-height: 22px;
  }

  .ytht_hot-products .swiper-slide .more {
    display: none;
  }

  .ytht_hot-products .swiper-pagination {
    width: 100%;
    margin: 30px auto 0;
  }

  .ytht_hot-products .swiper-pagination::after {
    display: none;
  }

  .ytht_hot-products .swiper-pagination-bullet {
    height: 8px;
    width: 20px;
    margin: 0 3px;
    background: #ccc;
  }

  .ytht_hot-products .swiper-pagination-bullet-active {
    background: var(--color-primary);
  }
}



@media screen and (max-width: 480px) {


  .ytht_hot-products .swiper-slide h6 {
    font-size: 14px;
  }

  .ytht_hot-products .swiper-slide h6 a {
    line-height: 18px;
  }
}



@media screen and (max-width: 1440px) {
  .ytht_hot-products .tit h3 {font-size: 50px;}
}
@media screen and (max-width: 1367px) {
  .ytht_hot-products .tit h3 {font-size: 40px;}
}
@media screen and (max-width: 1281px) {
  .ytht_hot-products .tit h3 {font-size: 36px;}
}
@media screen and (max-width: 1171px) {
  .ytht_hot-products .tit h3 {font-size: 30px;}
}
@media screen and (max-width: 992px) {
  .ytht_hot-products .tit h3 {font-size: 26px;}
}
@media screen and (max-width: 768px) {
  .ytht_hot-products .tit h3 {font-size: 24px;}
}
@media screen and (max-width: 480px) {
  .ytht_hot-products .tit h3 {font-size: 22px;}
}