.glite-hot-products {
  padding: 80px 0;
  background: #fff;
}
.glite-hot-products .title {
    display: flex;
    justify-content: space-between;
    text-align: left;
    align-items: center;
}
.glite-hot-products .title h3 {
  /* font-size: 56px;
  line-height: 1;
  color: #000;
  letter-spacing: 1px;
  text-align: center; */
}
.glite-hot-products .title p {
  font-size: 18px;
  /* color: #0a0a0a;
  margin: 28px 0 0; */
}
.glite-hot-products .title .more {
  /* margin: 55px 0 0; */
  display: inline-block;
  width: 190px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--button-radius);
  font-size: 18px;
}
.glite-hot-products .title .more:hover {
  background: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.glite-hot-products ul {
  margin: 40px 0 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.glite-hot-products ul li {
  width: 25%;
}
.glite-hot-products ul li a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 10px 10px 0;
}
.glite-hot-products ul li .pic {
  position: relative;
}
.glite-hot-products ul li .pic img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.glite-hot-products ul li .pic .pic2 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0;
  transition: all 0.5s ease 0s;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.glite-hot-products ul li .pic .pic2 h3{
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.glite-hot-products ul li .fun-btn {
  /* position: absolute; */
  /* background: rgba(3, 3, 3, 1); */
  transition: background 1s;
  -webkit-transition: background 1s;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 10%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  /* opacity: 0; */
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  text-align: center;
      margin-top: 20px;
}

.glite-hot-products ul li .fun-btn .add {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  font-size: 32px;
  line-height: 50px;
  text-align: center;
  display: none;
}

.glite-hot-products ul li .fun-btn img {
  display: inline-block;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  opacity: 0;
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}
.glite-hot-products ul li .fun-btn h5 {
  font-size: 18px;
  /* color: #fff; */
  /* margin: 50px 0 0; */
  /* -webkit-transform: translateY(10px);
  transform: translateY(10px); */
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  /* opacity: 0; */
      font-family: var(--font-family);
    font-weight: 600;
    text-transform: uppercase;
}
.glite-hot-products ul li .fun-btn p {
  font-size: 16px;
  color: #fff;
  line-height: 24px;
  margin: 10px 0 0;
  /* -webkit-transform: translateY(10px);
  transform: translateY(10px); */
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  opacity: 0;
}

@media screen and (min-width:768px) {
  .glite-hot-products ul li:hover .pic .pic2 {
    opacity: 1;
  }
  .glite-hot-products ul li:hover .fun-btn {
    /* opacity: 1;
    background: rgba(3, 3, 3, 0.53) */
  }
  .glite-hot-products ul li:hover .fun-btn h5 {
    /* opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0); */
  }
  .glite-hot-products ul li:hover .fun-btn p {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .glite-hot-products ul li:hover .fun-btn img {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@media screen and (max-width:1500px) {
  .glite-hot-products .title h3 {
    font-size: 52px;
  }
}

@media screen and (max-width:1441px) {
  .glite-hot-products {
    padding: 60px 0;
  }
  .glite-hot-products .title h3 {
    font-size: 48px;
  }

}

@media screen and (max-width:1367px) {
  .glite-hot-products .title .more {
    width: 170px;
    height: 45px;
    line-height: 45px;
    font-size: 17px;
  }
  .glite-hot-products .title h3 {
    font-size: 44px;
  }
 
}

@media screen and (max-width:1281px) {
  .glite-hot-products .title h3 {
    font-size: 40px;
  }
 
}

@media screen and (max-width:1171px) {
  .glite-hot-products .title h3 {
    font-size: 36px;
  }
}

@media screen and (max-width:992px) {
  .glite-hot-products .title h3 {
    font-size: 32px;
  }
 
}

@media screen and (max-width:768px) {
  .glite-hot-products .title .more {
    width: 150px!important;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    margin: 20px 0 0;
  }
  .glite-hot-products .title h3 {
    font-size: 28px;
  }
  .glite-hot-products {
    padding: 30px 0
  }
  .glite-hot-products ul li {
    width: 50%;
    margin: 0;
    padding: 0
  }
  .glite-hot-products ul li .fun-btn {
    margin: 15px 0 0;
    position: static;
    background: #fff;
    padding: 0;
    opacity: 1;
    display: block;
  }
  .glite-hot-products ul li .fun-btn img,
  .glite-hot-products ul li .fun-btn p {
    display: none;
  }
  
  .glite-hot-products ul li:hover .pic .pic2 {
    opacity: 1;
  }
  .glite-hot-products ul li:hover .fun-btn {
    opacity: 1;
    background: rgba(3, 3, 3, 0.53)
  }
  .glite-hot-products ul li:hover .fun-btn h5 {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .glite-hot-products ul li:hover .fun-btn p {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .glite-hot-products ul li:hover .fun-btn img {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

