/* ---------------------FLASHSALE (include_home_flashsale.php)---------------------- */

.flashsale-heading-section {
  padding: 0 2%;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flashsale-title-img {
  width: 325px;
}
.home-flashsale-text {
}
.home-flashsale-text .timebox {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
}
.home-flashsale-text .timebox .box {
  width: 45px;
  height: 45px;

  background-color: black;
  margin: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-flashsale-2 .slide-box {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 1.5vw;
}

.home-flashsale-2 .alltag {
  position: absolute;
  left: 0;
  top: 4%;
  color: white;
}
.home-flashsale-2 .tag-discount {
  font-size: 18px;
  background-color: #c10000;
  border-radius: 0 50px 50px 0;
  width: 60px;
  height: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-flashsale-2 .tag-discount span {
  font-size: 14px;
}
.home-flashsale-2 .card-body {
  padding: 1rem;
}
.home-flashsale-2 a,
.home-flashsale-2 a:hover {
  color: black;
}
.home-flashsale-2 .card {
  padding: 0;
  border: none;
  border-radius: 0;
}

.home-flashsale-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-flashsale-2 .product-desc {
  font-size: 16px;
  height: 2.55rem;
  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;
  margin-bottom: 0.75rem;
}
.home-flashsale-2 .pricebox {
  display: flex;
  align-items: baseline;
}
.home-flashsale-2 .price-new {
  font-size: 20px;
  font-weight: 500;
  color: #c10000;
  line-height: 1;
  margin-right: 0.5rem;
}
.home-flashsale-2 .price-new span {
  font-size: 14px;
}
.home-flashsale-2 .price-old {
  line-height: 1;
  font-size: 14px;
  text-decoration: line-through;
  color: #808080;
}

@media (max-width: 991px) {
  .home-flashsale-2 {
    /*   padding: 0; */
  }

  .home-flashsale-2 .slide-flashsale {
    bottom: 0.5rem;
  }

  .home-flashsale-text .timebox {
    font-size: 16px;
  }
  .home-flashsale-text .timebox .box {
    width: 30px;
    height: 30px;
    border-radius: 0;
  }
  .slide-flashsale .card {
    width: 150px;
    height: auto;
  }
  .home-flashsale-2 .alltag {
    font-size: 12px;
    position: absolute;
    top: 5px;
    left: 0;
    color: white;
  }
  .home-flashsale-2 .tag-discount {
    width: 40px;
    height: 20px;
    font-size: 12px;
  }
  .home-flashsale-2 .tag-discount span {
    font-size: 8px;
  }

  .home-flashsale-2 .card-body {
    padding: 0.5rem;
  }
  .home-flashsale-2 .product-name {
    font-size: 10px;
    height: 0.75rem;
    line-height: 1;
    -webkit-line-clamp: 1;
  }
  .home-flashsale-2 .product-desc {
    font-size: 14px;
    line-height: 1.25;
    height: 2.15rem;
  }

  .home-flashsale-2 .pricebox {
    height: unset;
    margin-top: 0.25rem;
    display: block;
  }
  .home-flashsale-2 .pricebox .price-new {
    font-size: 20px;
    line-height: 1;
    line-height: 1rem;
  }
  .home-flashsale-2 .pricebox .price-new span {
    font-size: 10px;
  }
  .home-flashsale-2 .pricebox .price-old {
    font-size: 14px;
    line-height: 1.25;
  }
}
@media (min-width: 768px) and (max-width: 990px) {
  .slide-flashsale .card {
    width: 150px;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .home-flashsale-text {
    top: 200px;
  }
}
