.home-product-2 .card {
  border-radius: 0;
  border-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  overflow: hidden;
  padding: 0.5rem;
}
.home-product-2 .card a:hover {
  color: black;
}
.home-product-2 .card:hover {
  transition: 0.3s ease;
  box-shadow: 0 0 5px #00000015;
}
.home-product-2 .icon-type {
  display: none;
}
.home-product-2 .card-img-top {
  position: relative;
}
.home-product-2 .alltag {
  color: white;
  font-size: 12px;
  position: absolute;
  left: 0;
  top: 3%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-product-2 .alltag .tag {
  margin: 0.2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 50px 50px 0;
  padding: 0.2rem 0.75rem;
}
.home-product-2 .tag.freeshipping {
  background-color: #00b050;
}
.home-product-2 .tag.discount {
  background-color: #e00000;
}
.home-product-2 .tag.new {
  background-color: #422b7e;
}
.home-product-2 .tag.hot {
  background-color: #ff6a00;
}

.home-product-2 .addtocart {
  font-size: 14px;
  background-color: #d52926;
  color: white;
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.home-product-2 .addtocart path {
  fill: white;
}
.home-product-2 .card:hover .addtocart {
  opacity: 1;
  transition: 0.3s ease-in-out;
}
.home-product-2 .addtocart:hover {
  background-color: #bb1916;
  transition: 0.3s ease-in-out;
}
.home-product-2 .addtocart:hover path {
  fill: #ffffff;
  transition: 0.3s ease-in-out;
}
.home-product-2 .addtocart.outofstock {
  background-color: #707070;
}
.home-product-2 .addtocart.outofstock a {
  color: white;
}
.home-product-2 .card-body {
  padding: 0.25rem 0;
  position: relative;
}
.home-product-2 .btnaddfav {
  width: 40px;
  height: 40px;
  border: 1px #c10000 solid;
  border-radius: 100px;
  display: grid;
  place-items: center;
}
.home-product-2 .btnaddfav img {
  width: 20px;
}
.home-product-2 .product-name {
  font-size: 12px;
  font-weight: 300;
  height: 1rem;
  overflow: hidden;
  color: #9b9794;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
}
.home-product-2 .sku-no {
  font-weight: 300;
  color: #9b9794;
  font-size: 12px;
  height: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
}
.home-product-2 .product-desc {
  font-size: 16px;
  height: 2.5rem;
  line-height: 1.25;
  font-weight: 300;
  display: -webkit-box;
  overflow: hidden;
  cursor: pointer;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}
.home-product-2 .pricebox {
  height: 3.25rem;
  line-height: 1;
  margin-top: 0.5rem;
}
.home-product-2 .pricebox .price-new {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  color: #c10000;
}
.home-product-2 .pricebox .price-new span {
  font-size: 14px;
  margin-right: 0.25rem;
}

.home-product-2 .pricebox .price-old {
  font-size: 14px;
  text-decoration: line-through;
  line-height: 1.25;
  color: gray;
  display: flex;
  align-items: center;
}
.home-product-2 .star-group {
  display: flex;
}
.home-product-2 .star-group img {
  margin-right: 0.15rem;
  width: 17px;
}
.home-product-2 .star {
  font-size: 16px;
  height: 1.75rem;
  display: flex;
  align-items: center;
}

.slide-addtocart .home-product-2 .card {
  margin: 0;
}
.slide-addtocart .home-product-2 .product-desc {
  font-size: 12px;
  height: 1.85rem;
}
.slide-addtocart .home-product-2 .pricebox .price-new {
  font-size: 16px;
}
.slide-addtocart .home-product-2 .pricebox {
  height: fit-content;
  margin: 0.5rem 0;
}
.slide-addtocart .home-product-2 .addtocart {
  opacity: 1;
}

@media (max-width: 991px) {
  .home-product-2 .card {
    width: 150px;
  }
  .home-product-2 .addtocart {
    opacity: 1;
  }
  .home-product-2 .product-desc {
    font-size: 14px;
    height: 2.15rem;
  }

  .home-product-2 .pricebox .price-old {
    font-size: 14px;
  }
  .home-product-2 .star {
    font-size: 14px;
  }
  .slide-addtocart .home-product-2 .card {
    margin: 0;
    width: auto;
  }
}
