/* main product */

#main-product {
    padding: 30px 0px;
}

#icon-filter {
    max-width: 50px;
    margin: auto;
}
#amount,
#amountMB{
  outline:none;
  border:0;
  color:#a89842;
  font-weight:bold;
  width: 70%;
  text-align: right;
  display: flex;
  float: right;
  margin-top: -25px;
  font-size: 14px;
}
.product-filter {
    display: none;
}

.product-kq {
    font-size: 15px;
}

.orderby {
    outline: none;
    border: 1px solid #ddd;
    box-shadow: inset 0 -1.4em 1em 0 rgb(0 0 0 / 2%);
    margin-top: -10px;
    /*width: 100%;*/
    height: 40px;
    margin-left: 25px;
    background: #fff;
    box-shadow: inset 0 -1.4em 1em 0 rgb(0 0 0 / 2%);
}
.filter-prod{
     display: flex;
    justify-content: flex-end;flex;
  
}

.product-list strong {
    padding: 10px 0px;
    font-size: 16px;
}
.list-menu li{
  padding-bottom:8px;
}
.product-list ul li {
    /* height: 30px; */
    line-height: 25px;
    list-style: none;
    text-decoration: none;
}

.product-list ul li a {
    color: #004895;
}

.product-list ul li a:hover {
    color: yellowgreen;
}

.product-list ul li #icon-down-menu {
    float: right;
    margin-top: 2px;
}

#icon-down-menu.active {
    transition: all .3 ease;
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    -webkit-transition: all .3 ease;
    -moz-transition: all .3 ease;
    -ms-transition: all .3 ease;
    -o-transition: all .3 ease;
}

.btn-product-menu {
    color: #444;
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.product-down-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#down-menu {
    border-left: 1px solid #ced4da;
}

#down-menu a {
    font-size: 14px;
    margin-left: 10px;
    /*float: right;*/
}

.main-product-bottom {
    padding-top: 30px;
}

.product-list ul li a:hover {
    text-decoration: none;
}

.product-sp {
    padding: 0 10px 20px !important;
    /*padding-bottom: 30px;*/
}

.product-sp:hover .xuyensang-img,
.product-sp:hover .content-img{
  box-shadow: 0 3px 6px -4px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
}

.product-sp:hover .pr-img-hover {
    opacity:0;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}
.content-hr .pr-img-hover{
  position: absolute;
  opacity:1;
  transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}

/*.product-sp:hover .xemnhanh {*/
/*    display: block;*/
/*}*/

.product-list-sp {
    padding: 30px 0px;
}

.product-list-sp ul li {
    overflow: hidden;
    margin-top:10px;
    margin-bottom:15px;
}
.menu-blog{
  padding:10px 0;
}
.product-list-sp img {
    width: 60px;
    height: 60px;
    /* position: absolute; */
    background-size: cover;
}

.product-list-sp ul li a img:hover .title-product,
.title-product:hover {
    color: yellowgreen;
}

.product-list .gia-ao {
    font-size: 12px;
    text-align: center;
    margin-left: 10px;
    opacity: 0.8;
    color: black;
    position: absolute;
    margin-top: 40px;
}

.product-list .gia-sale {
    font-size: 12px;
    text-align: center;
    float: right;
    color: black;
    margin-top: 40px;
    position: absolute;
    margin-left: 78px;
}

.product-new-img {
    display: flex;
    justify-content: center;
    width: 45px;
    height: 55px;
    overflow: hidden;
    position: absolute;
    text-align:center;
    color: #fff;
    font-weight: bold;
    opacity: 0.9;
    text-shadow: 1px 1px 0px rgb(0 0 0 / 50%);
    border: 0;
}
.product-new-img img{
    z-index:-1;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}
.product-news-lich{
  margin-left:15px;
  z-index:1;
  justify-content: center;
  line-height: 20px;
  margin-top: 7px
}
.bgr-img-menu{
    background: black;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.5;
    z-index: 0;
}

.product-new-text p {
    font-size: 16px;
    font-family: Roboto;
    font-weight: 500;
    line-height:20px;
    margin-left: -3px;
    margin-top: -6px;
}

.product-new-text p a {
    color: #004895;
}

.product-new-text p a:hover {
    color: yellowgreen;
}

.xuyensang-img img {
    width: 100%;
}

.xuyensang-img .deal-sp {
    text-align: center;
    position: absolute;
    margin-left: 5px;
    margin-top: 5px;
    width: 45px;
    height: 45px;
    background: #fa9400;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.xuyensang-img .deal-sp .deal {
    line-height: 45px;
    color: white;
    font-weight:600;
}

/*.xuyensang-img .xemnhanh {*/
/*    background: #004895;*/
/*    text-align: center;*/
/*    position: absolute;*/
/*    margin-top: -23px;*/
/*    width: 100%;*/
/*    display: none;*/
/*}*/


/*slide*/

    .swiper-container {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      overflow: hidden;
      height:auto;
      position: relative;
    }

    .swiper-slide {
      background-size: cover;
      background-position: center;
    }
    
    .swiper-slide img{
      width:100%;
      height:100%;
    }
    
    .swiper-slide.modalProd{
      display:flex;
      justify-content:center;
      align-items:center;
    }
    
    .swiper-slide.modalProd img{
      width:45%;
      height:auto;
    }
    
    .gallery-thumbs .swiper-slide {
      opacity: 0.4;
      margin-top:10px;
    }

    .gallery-thumbs .swiper-slide-thumb-active {
      opacity: 1;
    }
    
    .swiper-container:hover .swiper-button-prev span i,
    .swiper-container:hover .swiper-button-next span i{
      display:block;
    }
    
    .swiper-button-prev span i,.swiper-button-next span i{
      font-size:40px;
      display:none;
    }
    
    .swiper-button-prev:after,
    .swiper-button-next:after{
      content:"" !important;
    }
    
    .modal{
      padding:10px !important;
    }
    
    .closeModal{
      z-index:9999;
      width:40px;
      height:40px;
      right:0;
      top:0;
      position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    .closeModal i{
      color:#fff;
    }
    
    #btnModal {
      width:40px;
      height:40px;
      border: 2px solid silver;
      background: transparent;
      position:absolute;
      border-radius:50%;
      bottom:10px;
      left:10px;
      z-index:10;
      display:flex;
      justify-content:center;
      align-items:center;
    }
    
    #btnModa:hover{
      background:#004895;
    }
    
    #btnModa:hover #btnModal i{
      color:white;
    }
    
    #btnModal i{
      color:silver;
      font-size:22px;
    } 
    
  /*end slide*/

.xuyensang-img .xemnhanh a {
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    color: white;
}

.xuyensang-img .deal-sp {
    z-index: 1;
    text-align: center;
    position: absolute;
    margin-left: 5px;
    margin-top: 5px;
    width: 45px;
    height: 45px;
    background: #fa9400;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.xuyensang-img .deal-sp .deal {
    line-height: 45px;
    color: white;
}

.content-hr {
    position: relative;
}

.content-img {
    position:relative;
    z-index:1;
    /*min-height:125px;*/
    background: white;
    width: 100%;
    padding: 10px;
}

.content-img ul {
    list-style: none;
    text-decoration: none;
}

.content-img ul li {
    text-align: left;
    font-size: 10px;
}

/*.content-img ul li p {*/
/*    margin-bottom: 0px !important;*/
/*    font-family: Roboto;*/
/*}*/

.product-page {
    margin: auto;
}

.product-page li {
    margin-left: 7px;
    list-style: none;
    text-decoration: none;
    width: 30px;
    height: 30px;
    text-align: center;
    border: 1px solid black;
    border-radius: 999px;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    -ms-border-radius: 999px;
    -o-border-radius: 999px;
    float: left;
    line-height: 30px;
}
.selectpage,.selectpage a{
    background: #004895;
    color: white !important;
    text-decoration: none;
}
.product-page li:hover,
.product-page li:hover a {
    background: #004895;
    color: white;
    text-decoration: none;
}

.product-page li a {
    color: #004895;
    font-weight:bold;
}

.btn-page {
    width: 30px;
    height: 30px;
    text-align: center;
    margin: auto;
    vertical-align: middle;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.btn-page span {
    vertical-align: middle;
}

@media(max-width: 999px) {
    .main-product-top {
        padding: 30px 0px;
        text-align: center;
    }
    .filter-prod{
      display:flex;
        justify-content: center;
    }
    .product-filter {
        padding-top: 20px;
        display: block;
    }
    .product-kq {
        padding-top: 20px;
        justify-content: center;
        margin-left: 0px !important;
    }
    .product-kq p {
        display: none;
    }
    .product-list {
        display: none;
    }
    .orderby {
        margin: 0px;
    }
}

.fillter-btn {
    width: 50px;
    height: 30px;
    background: green;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}
/* filter product mobile*/

.menu-product-mb {
    padding: 40px 20px;
}

.menu-product-mb .is-divider {
    background-color: #ddd;
}
.product-baiviet-new{
  overflow: hidden;
}
.menu-product-mb .btn-product-menu {
    display: inline-flex;
    float: right;
    margin-top:6px;
    margin-right:5px;
}

.menu-product-mb ul li a {
    color: #004895;
    font-size:16px;
}

.menu-product-mb ul li {
    list-style: none;
    text-decoration: none;
    line-height:35px;
}

.menu-product-mb ul li .gia-ao-mb {
    position: absolute;
    margin-left: 25%;
    margin-top: -20px;
    font-size: 13px;
    color: rgba(10, 10, 10, 0.6);
}

.menu-product-mb ul li .gia-mb {
    position: absolute;
    margin-left: 50%;
    margin-top: -20px;
    font-size: 13px;
    color: black;
}

.menu-product-mb .title-product {
    position: absolute;
    margin-top: -5px;
    font-size: 16px;
    margin-left: 10px;
    color: #004895;
    line-height:23px;
}
.title-product-pc {
    position: absolute;
    margin-left: 10px;
    margin-top: -5px;
    line-height: 23px;
    font-size:16px;
}
.menu-lich-prod{
  line-height:15px;
  margin-top:9px;
  z-index:1;
}
.menu-product-mb .product-new-img {
    width: 55px;
    height: 55px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgb(0 0 0 / 50%);
}
#fillter-btn {
    width: 50px;
    height: 30px;
    background: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border-radius: 20px;
    cursor: pointer;
    color:#fff;
    font-weight:bold;
}
#price_filter,
#price_filterMB{
  cursor: pointer;
}
#price_filter span,
#price_filterMB span{
  outline:none;
  border-radius:50%;
  cursor: pointer;
}
/*@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);*/

#rating{border:none;overflow: hidden;float:left;}
#rating>input{display:none;}/*ẩn input radio - vì chúng ta đã có label là GUI*/
#rating>label:before{margin:5px;font-size:1.25em;font-family:FontAwesome;display:inline-block;content:'\f005';}/*1 ngôi sao*/
#rating>.half:before{content:"\f089";position:absolute;}/*0.5 ngôi sao*/
#rating>label{ margin-top:7px;color:#ddd;float:right;}/*float:right để lật ngược các ngôi sao lại đúng theo thứ tự trong thực tế*/
/*thêm màu cho sao đã chọn và các ngôi sao phía trước*/
#rating>input:checked~label,
#rating:not(:checked)>label:hover, 
#rating:not(:checked)>label:hover~label{color:#d26e4b;}
/* Hover vào các sao phía trước ngôi sao đã chọn*/
#rating>input:checked+label:hover,
#rating>input:checked~label:hover,
#rating>label:hover~input:checked~label,
#rating>input:checked~label:hover~label{color:#d26e4b;}

/*animation Order Success*/

.background-succ {
  background-color: #000000;
  color: #fff;
  top: 0;
  left: 0;
  width: 400px;
  z-index: 1000;
  border-radius: 5px;
  height: 215px;
  position: absolute;
  display: none;
  justify-content: ;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.background-succ .content {
  padding-top: 50px;
  position: relative;
  text-align: center;
}

.background-succ .content img {
  width: 60px;
  height: 60px;
}

.background-succ .content p {
  display: block;
  font-size: 18px;
  margin-top: 1rem;
  font-weight: 500;
  color: #fff;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: green;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: green;
  stroke-miterlimit: 10;
  margin: 0px auto;
  box-shadow: inset 0px 0px 0px #7ac142;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #fff;
  }
}
