.bossgoo-index-product-trending1 {
  padding-bottom: 100px;
}

.bossgoo-index-product-trending1 .first-title {
  color: var(--themeColor);
}

.bossgoo-index-product-trending1 .trending1-box {
  display: flex;
  flex-wrap: wrap;
}

.bossgoo-index-product-trending1 .trending1-box-item {
  width: 18%;
  margin-right: 2.5%;
}

.bossgoo-index-product-trending1 .trending1-box-item .imgBox {
  position: relative;
}

.bossgoo-index-product-trending1 .trending1-box-item:nth-child(5n) {
  margin-right: 0;
}

.bossgoo-index-product-trending1 .trending1-box-img {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
  /* 设置图片容器保持在一定高度，可以去掉 */
  height: 0;
  padding-bottom: 100%;
}

.bossgoo-index-product-trending1 .trending1-box-img span {
  display: block;
}

.bossgoo-index-product-trending1 .trending1-box-span {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
}

.bossgoo-index-product-trending1 .trending1-box-span img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bossgoo-index-product-trending1 .trending1-box-img-shade {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all .5s;
  background-color: var(--themeColor);
  position: absolute;
  left: 0;
  top: 0;
}

.bossgoo-index-product-trending1 .trending1-box-link a {
  width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 18px;
  font-size: 18px;
  background-color: #f5f5f5;
  opacity: 0;
  transition: all .5s;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0);
}

.bossgoo-index-product-trending1 .trending1-box-text {
  padding: 15px 0;
}

.bossgoo-index-product-trending1 .trending1-box-text p {
  /* font-size: 18px; */
  font-size: 16px;
  /* font-weight: bold; */
  line-height: 24px;
}

.bossgoo-index-product-trending1 .trending1-box-text-name {
  color: #000;
}

.bossgoo-index-product-trending1 .trending1-box-text-price a,
.bossgoo-index-product-trending1 .trending1-box-text-price {
  color: var(--themeColor);
}

.bossgoo-index-product-trending1 .imgBox:hover .trending1-box-img .trending1-box-img-shade {
  opacity: .35;
}

.bossgoo-index-product-trending1 .imgBox:hover .trending1-box-link>a {
  opacity: 1;
  z-index: 999;
}

@media only screen and (max-width:1440px) {
  .bossgoo-index-product-trending1 .wrap {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width:1040px) {
  .bossgoo-index-product-trending1 {
    padding: .6rem 0 .2rem;
  }
  .bossgoo-index-product-trending1 .trending1-box {
    margin-top: .6rem;
  }
  .bossgoo-index-product-trending1 .trending1-title {
    font-size: .6rem;
  }
  .bossgoo-index-product-trending1 .trending1-box-item {
    width: 23.5%;
    margin-right: 2%;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(4n) {
    margin-right: 0;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(5n) {
    margin-right: 2%;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(9),
  .trending1-box-item:nth-child(10) {
    display: none;
  }
  .bossgoo-index-product-trending1 .trending1-box-text p,
  .bossgoo-index-product-trending1 .trending1-box-text p a {
    /* font-size: .36rem; */
    line-height: 1;
  }
  .bossgoo-index-product-trending1 .trending1-box-text-name {
    margin-bottom: .2rem;
  }
  .bossgoo-index-product-trending1 .trending1-box-text {
    padding: .4rem 0;
  }
}

@media only screen and (max-width:767px) {
  .bossgoo-index-product-trending1 {
    padding: .3rem 0 0;
  }
  .bossgoo-index-product-trending1 .trending1-box {
    margin-top: .3rem;
  }
  .bossgoo-index-product-trending1 .trending1-title {
    font-size: .4rem;
  }
  .bossgoo-index-product-trending1 .trending1-box-item {
    width: 30%;
    margin-right: 5%;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(3n) {
    margin-right: 0;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(4n),
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(5n) {
    margin-right: 5%;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(7),
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(8) {
    display: none;
  }
  .bossgoo-index-product-trending1 .trending1-box-text p,
  .bossgoo-index-product-trending1 .trending1-box-text p a {
    font-size: .28rem;
  }
  .bossgoo-index-product-trending1 .trending1-box-text-name {
    margin-bottom: .15rem;
  }
  .bossgoo-index-product-trending1 .trending1-box-text {
    padding: .3rem 0;
  }
}

@media only screen and (max-width:480px) {
  .bossgoo-index-product-trending1 .trending1-box-item {
    width: 48%;
    margin-right: 4%;
  }
  .bossgoo-index-product-trending1 .trending1-box-img {
    border-radius: .15rem;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(3n),
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(5n) {
    margin-right: 4%;
  }
  .bossgoo-index-product-trending1 .trending1-box-item:nth-child(2n) {
    margin-right: 0;
  }
}


.bossgoo-index-product-trending1 {
  padding-bottom: 30px;
}
@media only screen and (max-width:1040px) {
  .bossgoo-index-product-trending1 {
    padding-bottom: .2rem;
  }
}
@media only screen and (max-width:767px) {
  .bossgoo-index-product-trending1 {
    padding-bottom: 0;
  }
}