﻿.bossgoo-index-product-trending3 {
  background-color: #f2f2f2;
}

.bossgoo-index-product-trending3 .maintitle {
  text-transform: uppercase;
  color: var(--themeColor);
}

.bossgoo-index-product-trending3 .prolist {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

.bossgoo-index-product-trending3 .prolist .probox {
  width: 24.4%;
  height: auto;
  margin-right: 0.8%;
  position: relative;
  margin-bottom: 20px;
}

.bossgoo-index-product-trending3 .prolist .probox .imgbox {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
}

.bossgoo-index-product-trending3 .prolist .probox .imgbox .innerbox {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bossgoo-index-product-trending3 .prolist .probox .imgbox .innerbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bossgoo-index-product-trending3 .prolist .probox .name {
  display: block;
  padding: 10px 30px;
  width: 100%;
  height: 80px;
  line-height: 60px;
  background-color: white;
}

.bossgoo-index-product-trending3 .prolist .probox .name span {
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
  text-align: center;
  line-height: 30px;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bossgoo-index-product-trending3 .prolist .probox .contact {
  position: absolute;
  left: 50%;
  bottom: calc(50% - 40px);
  transform: translate(-50%, -50%);
  width: 60%;
  border-radius: 10px;
  height: 50px;
  line-height: 50px;
  color: white;
  background-color: var(--themeColor);
  text-align: center;
  font-size: 20px;
  display: none;
}

.bossgoo-index-product-trending3 .prolist .probox:hover .contact {
  display: block;
}

.bossgoo-index-product-trending3 .prolist .probox:hover .name {
  background-color: var(--themeColor);
}

.bossgoo-index-product-trending3 .prolist .probox:hover .name span {
  color: white;
}

.bossgoo-index-product-trending3 .prolist .probox:nth-child(4n) {
  margin-right: 0%;
}

.bossgoo-index-product-trending3 .prolist .probox:nth-child(4 - n) {
  margin-bottom: 0%;
}

@media only screen and (max-width: 1040px) {
  .bossgoo-index-product-trending3 .prolist {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    padding-bottom: 0.4rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox {
    width: 24.4%;
    margin-right: 0.8%;
    margin-bottom: 0.4px;
  }
  .bossgoo-index-product-trending3 .prolist .probox .name {
    background-color: #f2f2f2;
    padding: .1rem 0.4rem;
    height: 1rem;
    line-height: 0.6rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox .name span {
    width: 100%;
    display: inline-block;
    line-height: 0.4rem;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .bossgoo-index-product-trending3 .prolist .probox .contact {
    display: none;
  }
  .bossgoo-index-product-trending3 .prolist .probox:hover .contact {
    display: none;
  }
  .bossgoo-index-product-trending3 .prolist .probox:hover .name {
    background-color: #f2f2f2;
  }
  .bossgoo-index-product-trending3 .prolist .probox:hover .name span {
    color: #666;
  }
}

@media only screen and (max-width: 767px) {
  .bossgoo-index-product-trending3 .prolist {
    padding-bottom: 0.5rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox {
    width: 49.5%;
    margin-right: 1%;
    margin-bottom: 0.2rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox .name {
    padding: 0.05rem 0.3rem;
    height: 0.7rem;
    line-height: 0.7rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox .name span {
    line-height: 0.3rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox .contact {
    display: none;
  }
  .bossgoo-index-product-trending3 .prolist .probox:nth-child(2n) {
    margin-right: 0%;
  }
  .bossgoo-index-product-trending3 .prolist .probox:nth-child(4 - n) {
    margin-bottom: 0.2rem;
  }
  .bossgoo-index-product-trending3 .prolist .probox:nth-child(2 - n) {
    margin-bottom: 0%;
  }
}