.bestdeal {
    position: absolute;
    padding: 3px;
    width: 100%;
    height: 100%;
    margin-left: 1px;
    margin-top: 10px;
    margin-bottom: 5px;
    border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
border-radius:5px;

    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.3s;
    animation-name: animatetop;
    animation-duration: 0.3s;
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-1px; opacity:0}
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-3px; opacity:0}
    to {top:0; opacity:1}
}

.bestdeal-labele{
    position: absolute;
    z-index: 1;
    margin: 0 auto;
    right: -3px;   
    opacity: 1!important;
}

.bestdeal-labele .hot{
    max-width: 50px;
}

.bestdeal .product-thumb {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.bestdeal .product-filter{
    margin-top: 10px;
}
.group-deals > *,.group-deals .deal_detail{
    padding-top: 10px;
}
.group-deals .item-countdown{
    text-align: center;
}
.sidebar .is-hidden{
    display: none;
}

.sidebar .bestdeal .product-block{
    padding: 1px;
    border-bottom: 1px solid #f8ded9;
}

.bestdeal .last .product-block{
    border: 0;
}

.sidebar .bestdeal .name{
    padding: 10px 0;
}

.sidebar .bestdeal .name a{
    padding: 0;    
}

.sidebar .bestdeal .name a:after{
    display: none;
}

.sidebar .bestdeal .image{
    margin: 1px;
    padding-top: 10px;
    padding-bottom: 5px;
    width: 100%;
}

.sidebar .bestdeal .price{
    margin: 0;
    display: none;
}

.sidebar .deal{
    padding-top: 5px;
}

.sidebar .deal_detail .price {
    display: inline;
}

.deal_detail {
    clear: both;
    font-style: normal;
    padding: 0;
    text-align: center;
}
.bestdeal .deal_detail {
    margin: 1px;    
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1px;    
}
.bestdeal ul {
    padding:1px!important;
}
.bestdeal ul li {
    display: inline-table;
    margin: 0 3px;
    border: 0;
    line-height: 20px;
}
.bestdeal{font-size: 12px;padding-top: 8px;}
.bestdeal ul li span {
    display: block; 
    font-size: 12px;
    color: #858585;
}
.bestdeal ul li .price{
    color: #000000;
    min-height: 20px;
}
.bestdeal-qty-box {
    clear: both;    
    text-align: center;
}

.item-detail{
    text-align: center;
}

.bestdeal .product-block .deal_detail_num{
    margin: 0 10px 0 0;
}

.bestdeal .product-block .deal_detail_num .price{
    margin:1px;
}
/* Countdown */
.bestdeal .timeleft {
    background-color: #3b5871;
    background-image: linear-gradient(to bottom, #3b5871, #0A263D);
    background-image: -webkit-linear-gradient(to bottom, #3b5871, #0A263D);
    background-image:    -moz-linear-gradient(to bottom, #3b5871, #0A263D);
    background-image:     -ms-linear-gradient(to bottom, #3b5871, #0A263D);
    background-image:      -o-linear-gradient(to bottom, #3b5871, #0A263D);
    min-height: 40px;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    text-align: center;
}
.bestdeal .timeleft h3{
    color: #FFFFFF!important;
    padding:0; 
    margin:0; 
    line-height:40px;
    font-family: verdana,arial;
    font-size: 19px;
    font-weight: normal;
}
.bestdeal .item-countdown{
    padding: 5px 0;
}
.bestdeal .item-countdown ul{
    text-align: center;
}
.bestdeal .item-countdown ul li{
    display: inline-block; 
    margin: 0px 8px 0 0;
    line-height: normal;
    border: 0;
}
.bestdeal .item-countdown ul li.first{}
.bestdeal .item-countdown ul li.last{ 
    margin: 0px;
}
.bestdeal .item-countdown ul li div{
    text-transform: lowercase; 
    clear: both;
    text-align:center;
    width:100%;
    font-size:12px;
}
.bestdeal .item-countdown ul li div.countdown_num{}
.bestdeal .item-countdown ul li div.countdown_num span.mw_dld_detail_num{}
.bestdeal .timeleft{
    background-color: #6B9E1B; 
    background-image: linear-gradient(to bottom, #7aa832, #4b6f13);
}
.bestdeal .item-countdown ul li div.countdown_num span{
    display: inline-block; 
    font-size: 14px; 
    font-weight: bold; 
    color: #000;
    border: 1px solid #ebebeb;
    padding: 4px 6px;

    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #f8f8f8 51%, #f8f8f8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#f8f8f8), color-stop(100%,#f8f8f8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#f8f8f8 51%,#f8f8f8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#f8f8f8 51%,#f8f8f8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#f8f8f8 51%,#f8f8f8 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#f8f8f8 51%,#f8f8f8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f8f8f8',GradientType=0 ); /* IE6-9 */

}
.bestdeal .item-countdown ul li div.countdown_num span + span{
    border-left: 0;
}

/*Carousel css*/

.bestdeal .product-block .group-item {
    display: inline-block;
}

.bestdeal .group-action .cart {
    float: none;
}
.bestdeal .group-action .cart input {
    background-color: #7eac22;
    display: inline-block;
    height: auto;
    overflow: hidden;
    padding: 1px;
    text-indent: 0;
    width: auto;
}
.bestdeal .group-action .group-action-inner {
    background-color: #7eac22;
    bottom: 30px;
    height: 33px;
    margin: 0 ;
    position: absolute;
    width: 100%;
    right: -100%;
    opacity:0;
    transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
}
.bestdeal .product-block:hover .group-action .group-action-inner {
    right: 0;
    opacity:1;
    transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    -ms-transition: all 1s ease 0s;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
}
.bestdeal .group-action .wishlist, 
.bestdeal .group-action .compare {
    float: left;
    width: 19.5%;
    border-left: 1px solid #8cbc2b;
    border-right: 1px solid #6d951d;
}
.bestdeal .group-action .cart {
    float: left;
    border-left: 1px solid #8cbc2b;
    width: 56%;
}
.bestdeal .group-action .wishlist:hover, 
.bestdeal .group-action .compare:hover, 
.bestdeal .group-action .cart:hover {
}
.bestdeal .group-action .wishlist a,
.bestdeal .group-action .compare a, 
.bestdeal .group-action .cart .button {
    background-image: url("../image/default/icon-action.png");
    background-repeat: no-repeat;
    height: 32px;
    width: 100%;
}
.bestdeal .group-action .wishlist a, 
.bestdeal .group-action .compare a {
    overflow: hidden;
    text-indent: -9999em;
    padding: 0;
}
.bestdeal .group-action .wishlist a {
    background-position: 55% 12px;
}
.bestdeal .group-action .compare a {
    background-position: 58% -52px;
}
.bestdeal .group-action .cart .button {
    background-position: 14% -125px;
    color: #FFFFFF;
    font-weight: 400;
    padding-left: 30px;
}
.bestdeal .group-action .icon-plus {
    background-color: #F2711F;
    bottom: 1px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    width: 30px;
}

.bestdeal .product-block:hover .group-action .icon-plus {
    background-color: #7eac22;
}

.bestdeal .product-block .rating {
     display: none;
}

.bestdeal .carousel-controls {
    position: absolute;
    right: 0;
    top: 10px;
    width: 80px;
}
.bestdeal .carousel-control {
    border-radius: 15px;
    font-size: 24px;
    height: 20px;
    line-height: 15px;
    margin-top: 1px;
    width: 20px;
    opacity: 0.5;
}


/* #1 start edit code */
/* css filter */
.bestdeal .limit{
    float: right;
    margin-left: 15px;
}
.bestdeal .sort{
    float: right;
    margin-left: 15px;
}
.bestdeal .category{
    float: right;
    margin-left: 15px;
}
/* css row-fluid */
.product-grid .row-fluid {
    width: 100%;
}

.product-lst {
    margin-top: 10px;
    text-align: center;
    margin-bottom: 2px;
}

.bestdeal .product-lst .product-inner .name {
    background-color: #42442;
    margin: 1px 1px 1px;
    line-height: 30px;
    position: relative;
}

.product-empty {
    color: red;
    margin: 20px 0;    
    text-align: center;
}

 <script>
  document.addEventListener("DOMContentLoaded", function() {
  let lazyImages = [].slice.call(document.querySelectorAll("img.lazy"));
  let active = false;

  const lazyLoad = function() {
    if (active === false) {
      active = true;

      setTimeout(function() {
        lazyImages.forEach(function(lazyImage) {
          if ((lazyImage.getBoundingClientRect().top <= window.innerHeight && lazyImage.getBoundingClientRect().bottom >= 0) && getComputedStyle(lazyImage).display !== "none") {
            lazyImage.src = lazyImage.dataset.src;
            lazyImage.srcset = lazyImage.dataset.srcset;
            lazyImage.classList.remove("lazy");

            lazyImages = lazyImages.filter(function(image) {
              return image !== lazyImage;
            });

            if (lazyImages.length === 0) {
              document.removeEventListener("scroll", lazyLoad);
              window.removeEventListener("resize", lazyLoad);
              window.removeEventListener("orientationchange", lazyLoad);
            }
          }
        });

        active = false;
      }, 200);
    }
  };

  document.addEventListener("scroll", lazyLoad);
  window.addEventListener("resize", lazyLoad);
  window.addEventListener("orientationchange", lazyLoad);
});

</script>
