.owl-item .product-wrap{
  padding-bottom: 20px;
  margin-left: 1px;
  margin-right: 1px;
}
.wrap-product {
  margin-bottom: 50px;
}
.product-wrap{
    height: 100%;
    /* border: 1px solid #cccccc80; */
    border-radius: 20px;
    overflow: hidden;
}
.product .percent{
    z-index: 3;
    color: red;
    text-align: center;
    border-radius: 100%;
    font-size: 13px;
    top: 10px;
    right: 10px;
    display: block;
    font-weight: bold;
}

.rating[data-rating="1"]::after {
  width: 20%;
}
.rating[data-rating="2"]::after {
  width: 40%;
}
.rating[data-rating="3"]::after {
  width: 60%;
}
.rating[data-rating="4"]::after {
  width: 80%;
}
.rating[data-rating="5"]::after {
  width: 100%;
}
.rating::after {
  content: "★★★★★";
  letter-spacing: 3px;
  color: #f8ba00;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.rating::before {
  content: "★★★★★";
  letter-spacing: 3px;
}
.rating{position: relative;color: #ccc;display: inline-block;}
.product:hover {}
.product {
  transition: 0.4s ease;
  overflow: hidden;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.product .info-product .link{
    text-align: center;
}
.product .info-product .link a:after{content:"";background: #333;width: 80%;height: 1px;position: absolute;top: 0;left: 10%;}
.product .info-product .link a{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    color: #333;
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding-top: 10px;
    margin-top: 10px;
}
.product .info-product{padding: 0 5px;padding: 10px;}
.product .info-product .attr{}
.product .info-product .attr span{}
.product .info-product .attr .status{background: url(../images/new.svg) no-repeat center left;padding-left: 20px;}
.product .info-product .attr .brand{
    background: url(../images/conf.svg) no-repeat center left;
    padding-left: 11px;
}
.product .info-product .attr .location{
    background: url(../images/location.svg) no-repeat center left;
    padding-left: 10px;
}
.product .link{
    padding: 10px;
    padding-top: 0;
}
.product .link a{
    color: var(--primary);
    text-decoration: none;
}



.product:nth-child(4n) {
  margin-right: 0px;
}
.product:hover .box-product .view{opacity: 1;
    left: calc(50% - 45px);}
.product:hover .box-product .cart-add{
    opacity: 1;
    bottom: 0;
}
.box-product .view{
       display: block;
       background: var(--primary);
       color: #fff;
       left: calc(50% - 60px);
       position: absolute;
       bottom: calc(50% - 20px);
       opacity: 0;
       width: 40px;
       height: 40px;
       text-align: center;
       line-height: 40px;
       border-radius: 50%;
}
.box-product .cart-add{
    display: block;
    background: red;
    color: #fff;
    left: 0;
    position: absolute;
    bottom: -15px;
    opacity: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
}
.box-product .cart-add span{
    background: url(../images/cart-add.png) no-repeat;
    width: 18px;
    height: 16px;
    display: inline-block;
}
.box-product {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 2px;
  background: #fff;
  border-radius: 5px;
}
.box-product .stic {
  color: transparent;
  font-size: 15px;
  position: absolute;
  top: 10px;
  right: 3px;
}
.box-product .stic .hot {
  background: url(../images/stick-hot.png) no-repeat;
  background-size: cover;
  display: inline-block;
  width: 30px;
}
.box-product .stic .new {
  background: url(../images/stick-new.png) no-repeat;
  background-size: cover;
  display: inline-block;
  margin-left: 10px;
  width: 30px;
}

.product-wrap:hover .pic-product{
  background-size: 110%;

}
.pic-product {
  background: #fff;
  padding: 0;
  transition: 0.4s ease;
  margin-bottom: 0;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 110%;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.5s ease !important;
  -webkit-transition: all 0.5s ease !important;
  -moz-transition: all 0.5s ease !important;
  -ms-transition: all 0.5s ease !important;
  -o-transition: all 0.5s ease !important;
}

.pic-product img {
  width: 100%;
  margin: 0 !important;
}
.product:hover .name-product a{color: red;}
.name-product a{
  transition:0.5s ease;
  color: #111;
  font-weight: 600;
}
  .name-product span{
    position: relative;
    display: block;
}
  .name-product span i{
    position: absolute;
    right: -29px;
    top: calc(50% - 10px);
}
.name-product {
  font-size: 16px;
  margin: 5px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-height: 20px; /* fallback */ /* fallback */
  font-size: 0.9rem;
  bottom: 40px;
  left: 0;
  width: 100%;
  font-weight: bold;
  font-weight: 500;
}
.pagination-home {
    padding-bottom: 15px;
}
.name-product.text-split {
  -webkit-line-clamp: 1;
}
.price-product a{
    background: var(--primary);
    color: #fff;
    font-weight: normal;
    font-size: 1rem;
    padding: 5px 20px;
    transition: 0.4s ease;
    border-radius: 30px;
    text-decoration: none;
    border: 2px solid var(--primary);
}
.price-product a:hover{
    background: transparent;
    color: var(--primary);
    transform: scale(1.05);
}
.price-product {
  margin-bottom: 0px;
  font-weight: normal;
  font-size: 1.2rem;
  color: #D40000;
  font-weight: bolder;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-product span span{
  color: #254daf;
  font-weight:500;
}
  .price-old-1 {
    display: inline-block;
    padding: 0 4px;
    font-weight: 500;
    text-decoration: line-through;
    font-size: 12px;
}
.price-new-1 {display: inline-block;padding: 0 4px;font-weight: 500;}
.price-old {
  padding-left: 10px;
  font-size: 14px;
  color: var(--second);
  text-decoration: line-through;
}
.price-per {
  position: absolute;
  top: 5px;
  left: 0px;
  color: #111;
  background: #ffd200;
  font-size: 13px;
  border-radius: 2px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-size: cover;
  border-radius: 50%;
  font-weight: bold;
}

.grid-pro-detail {
  margin-bottom: 20px;
}
.left-pro-detail {
  position: relative;
  float: left;
  width: 40%;
  text-align: center;
  margin-right: 2%;
  background: white;
}
.left-pro-detail .next-sli {
  position: absolute;
  top: calc(50% - 30px);
  right: 0;
  z-index: 123;
  font-size: 26px;
  color: #c06615;
  cursor: pointer;
}
.left-pro-detail .prev-sli {
  position: absolute;
  top: calc(50% - 30px);
  left: 0;
  z-index: 123;
  font-size: 26px;
  color: #c06615;
  cursor: pointer;
}
.left-pro-detail .MagicZoom {
}
.right-pro-detail {
  width: calc(100% - 42%);
  float: left;
  padding: 15px;
  border-radius: 5px;
  padding-bottom: 0;
  background: #fff;
}
.gallery-thumb-pro {
  position: relative;
  margin-top: 10px;
}
.owl-thumb-pro {
  padding: 0px 40px;
}

.thumb-pro-detail.mz-thumb.mz-thumb-selected {
  border-color: #cecfd2;
}
.thumb-pro-detail img {
  box-shadow: none !important;
  filter: brightness(100%) !important;
  border-bottom: 0px !important;
  padding-bottom: 0px !important;
}
.title-pro-detail {
  display: block;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.has-hover [class*=image-] img {
  transition: filter .6s, opacity .6s, transform .6s, box-shadow .3s;
}
img.back-image {
  bottom: 0;
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  opacity: 0;
}
.has-hover:hover img.show-on-hover {
  opacity: 1;
}
@media(min-width:1200px){
  .col-product{
    width: 20%;
    flex: 0 0 20%;
  }
}
.thumb-pro-detail.mz-thumb{
    padding: 2px;
    border: 1px solid var(--primary);
    opacity: 0.4;
    transition: 0.4s ease;
}
.thumb-pro-detail.mz-thumb.mz-thumb-selected{
    opacity: 1;
}
@media(max-width:768px){
  .name-product{
    font-size: 1rem;
    bottom: 10px;
 }
 
  .price-product a{
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}
  .name-product a{}
  .product .rating ~ p{
    font-size: 0.9rem;
  }
}