/* main home */

.sldie-show-flashsale .owl-nav {
    display: block !important;
}
.btnnext {
    right: 15px;
}

.btnprev {
    left: 15px;
}

.btnnext,
.btnprev {
    position: absolute;
    top: calc(50% - 65px);
    font-size: 28px;
    background: #eee;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    opacity: 0.3;
    cursor: pointer;
    z-index:1;
}

.btnnext:hover,
.btnprev:hover {
    opacity: 1;
}
.titleProd h1,
.titleProd h2 {
    position: relative;
    font-size: 34px;
    margin-bottom: 30px;
    text-align: center;
}

.titleProd h1::after,
.titleProd h2::after {
    content: '';
    position: absolute;
    top: calc(100% + 15px);
    left: calc(50% - 50px);
    display: block;
    width: 100px;
    border-bottom: solid 1px #ccc;
}
.titleProd h1 a,
.titleProd h2 a {
    text-transform: uppercase;
    color: #A82F2F;
    text-decoration: none;
    font-weight:600;
}
.titleProd h1 a:hover,
.titleProd h2 a:hover {
    color: #29a449;
}

.flash_sale .homeSale {
    position: absolute;
    top: 0;
    left: 7px;
    font-size: 12px;
    color: #fff;
    display: inline-block;
    text-align: center;
    z-index: 9;
}

.flash_sale .card{
  border-radius:0 !important;
  height:350px;
  justify-content:center;
  align-items:center;
}

.flash_sale .card a{
  width:100%;
  height:100%;
}


.flash_sale .card img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.flash_sale .homeSale .Saler {
    margin-left: -7px;
    position: relative;
    display: inline-block;
}

.flash_sale .homeSale .Saler img {
    max-width: 50px;
}

.flash_sale .homeSale .SaleText {
    position: absolute;
    top: 13px;
    left: 0;
    width: 100%;
    line-height: 1.1;
    font-size: 11px;
}

.flash_sale .card img {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 100%;
    transform: scale(1);
    vertical-align: middle;
    object-fit: cover;
}


.flash_sale .card img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
}

.flash_sale .card:hover img:nth-child(2) {
    opacity: 1;
    visibility: visible;
}

.HomeAction {
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    width: 100%;
    position: absolute;
    padding: 0 0px;
    text-align: center;
    color: #fff;
    transition: all .2s;
}

.HomeAction .btnAddCart,
.HomeAction .btnQuickView {
    border: 1px solid #faaf18;
    border-radius: 0;
    outline: 0 !important;
    box-shadow: none;
    background: #fff;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 50px;
    height: 50px;
    padding: 5px;
}

.HomeAction .btnAddCart {
    transform: translateX(50px);
    opacity: 0;
}

.flash_sale:hover .btnBuyNow {
    opacity: 1;
}



.HomeAction .btnQuickView {
    transform: translateX(-50px);
    opacity: 0;
    -webkit-transform: translateX(-50px);
    -moz-transform: translateX(-50px);
    -ms-transform: translateX(-50px);
    -o-transform: translateX(-50px);
}

.HomeAction .btnBuyNow {
    border: 1px solid #faaf18;
    border-radius: 0;
    outline: 0 !important;
    box-shadow: none;
    background: #fff;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: 50px;
    opacity: 0;
    font-weight:600;
}

.flash_sale:hover .btnAddCart,
.flash_sale:hover .btnQuickView {
    transform: translateX(0px);
    opacity: 1;
}

.flash_sale .btnAddCart:hover,
.flash_sale .btnQuickView:hover,
.flash_sale .btnBuyNow:hover {
    background: #faaf18;
    color: #fff;
}

.HomeListImage{
  margin-top:5px;
}

.varition-image-list {
    white-space: nowrap;
    display: inline-block;
    overflow-x: auto;
    padding: unset;
    margin: unset;
    width: 100%;
    display: flex;
}

.varition-image {
    /*width: 35px;*/
    /*height: 35px;*/
    display: inline-block;
    border-radius: 100%;
    margin-right: 5px;
    display: flex;
}

.varition-image img {
    border-radius: 100%;
    padding: 2px;
    width: 35px !important;
    height: 35px;
}

.varition-image .tcm-img-dot.active {
    border: 2px solid #f08522;
}

.HomeInfo {
    padding: 0 15px;
}

.HomeInfo a {
    text-align: center;
    display: block;
    overflow-y: hidden;
    margin-top: 10px;
    text-decoration: none;
    color: #000000;
    font-size:14px;
}
.HomeInfo a:hover,
.ModalForm #ProdDetail:hover{
  color:#faaf18;
}
.HomeInfo a h3,
.HomeInfo a h2 {
    /*height:36px;*/
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: normal;
    font-size: inherit !important;
}

.HomeInfo .ProdPrice {
    text-align: center;
    margin: 0;
    padding: 5px 0;
}

.HomeInfo .ProdPrice span {
    color: #f00;
}

.HomeInfo .ProdPrice del {
    margin-left: 5px;
    font-size: 12px;
    color: #000;
}


/* modal */

.modal.fade {
    display: flex !important;
    justify-content:center;
    align-items:center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease 0s;
}

.modal.fade.show {
    display: flex !important;
    justify-content:center;
    align-items:center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease 0s;
}

.modal-dialog {
    max-width: 780px !important;
    width: 80%;
    margin: 1.75rem auto;
}

.modalRight{
  z-index:1;
}

.ModalContent{
  display:flex;
}
.ModalContent ul {
    margin: 0;
    padding: 0;
}

.ModalContent ul li {
    list-style: none;
    display: inline-flex;
    position: relative;
}

.ModalSKU {
  font-size:14px;
}
.ModalContent ul li .hethang {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ModalContent ul li .activept {
    position: absolute;
    bottom: 0;
    right: 0;
}

.modal-content .btn_close {
    color: #fff;
    font-weight: bold;
    position: absolute;
    right: -20px;
    top: -20px;
    width: 35px;
    height: 35px;
    z-index: 9999;
    background:#000;
    border-radius:50%;
    border:2px solid #f1f1f1;
    box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
}

.contentModal h4 {
    font-size: 18px;
    color: #000000;
    font-weight: 700;
}


.ModalPriceTop span {
    font-size: 24px;
    font-weight: 700;
}

.ModalForm {
    margin-top:15px;
    margin-bottom:5px;
}

.ModalText p {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    position: relative;
}

.ModalForm .btnAddCart {
    width: 100%;
    background: #d26e4b;
    /*padding: 15px;*/
    height:40px;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    color: #fff;
    font-weight: bold;
    transition:all .3s ease-out;
}

.ModalForm .btnBuyNow{
  padding:9px 0;
  background: -webkit-linear-gradient(top,#f59000,#fd6e1d);
  height:auto !important;
  width:100%;
  color:#fff;
  border:none;
  border-radius:4px;
  font-size:18px;
}

.ModalForm .btnBuyNow:hover{
  background: -webkit-linear-gradient(top,#fd6e1d,#f59000);
}

.ModalForm .btnBuyNow span{
    display: block;
    font-size: 14px;
    color: #fff;
    text-transform: none;
    margin: 2px 0 0;
}

.product_meta ul{
  padding-left:0;
  display:flex;
  margin: 15px 0 !important;
}

.product_meta ul li{
  list-style:none;
  margin: 0;
  display: block;
  text-align: center;
  margin-right: 30px !important;
}

.ModalForm .btnAddCart:hover{
  background: #a8583c;
}

.ModalForm .btnhethang {
    cursor: default;
    color: #b6b6b6;
    background-color: #f6f6f6;
    padding: 8px 10px;
    border: none;
    display:none;
}

.ModalForm p a {
    text-decoration: none;
    color: #000000;
}

.ModalContent .is-form {
    width: 30px;
    height: 40px;
    border: 1px solid #ddd;
    background: transparent;
    background-color: #f9f9f9;
}

.ModalContent .input-qty {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    text-align: center;
    outline: none;
}

.woocommerce-variation-price{
    border-top: 1px dashed #ddd;
    font-size: .8em;
    padding: 7.5px 0;
}



/* HomeCollection */

.homeCollection {
    padding-bottom: 60px;
}

.homeCollection .row>* {
    padding: 0;
}

.homeCollection .collection .CollImg img {
    width: 100%;
    vertical-align: middle;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.homeCollection .collection .Colltxt {
    position: absolute;
    width: 100%;
    bottom: 50px;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 15px;
}

.homeCollection .collection .Colltxt h3 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
}

.homeCollection .collection .Colltxt a {
    display: inline-block;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 32px;
    padding: 0 30px;
    border: 1px solid #000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none;
}

.homeCollection .collection .Colltxt a:hover {
    background: #000000;
    color: #fff;
}

.homeCollection .collection:hover img {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.homeCollection .collection {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.homePolicy .Policy {
    padding: 10px 20px;
    border: double 4px #eee;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-align: center;
    margin-bottom: 30px;
}

.homePolicy .Policy:hover {
    border-color: #faaf18;
}

.homePolicy .Policy a {
    text-decoration: none;
}

.homePolicy .Policy a img {
    max-width: 100%;
}

.homePolicy .Policy a h2 {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.homePolicy .Policy a p {
    font-size: 14px;
    font-weight: normal;
    color: #000000;
}

@media(max-width:768px) {
    .HomeAction{
      display:none;
    }
    
    .Policy .policyIcon {
        display: inline-flex;
        float: left;
    }
    .Policy .policyIcon img {
        margin-right: 20px;
    }
    .Policy .policyTitle {
        margin: 0;
        text-align: left;
    }
    .Policy p {
        margin: 0;
        text-align: left;
        display: flex;
    }

}

@media(max-width:640px) {
    .Policy .policyTitle {
        font-size: 14px !important;
    }
    .Policy .policyIcon img {
        margin: 0;
    }

    .pro-loop{
      padding:3px !important;
    }
    
    .flash_sale .card{
      height:250px;
    }    
}

.slick-prev,
.slick-next {
    position: absolute;
    z-index: 1;
    top: 35%;
    border: none;
    background: #eee;
    opacity: 0.5;
    width: 30px;
    height: 30px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-next {
    right: 15px;
}




/* homeBlog */

.HomeBlog .blog .ctitle {
    font-size: 25px;
    text-align: center;
}

.HomeBlog .blog h3 a {
    text-decoration: none;
    color: #000000;
    font-weight:600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.HomeBlog .blog h3 a:hover {
    color: #faaf18;
}

.HomeBlog .blogImg a {
    /*margin: 10px 0;*/
    display: block;
}

.HomeBlog .blogImg{
  height:100%;
  width:100%;
  /*height:400px;*/
}

.HomeBlog .blogImg a{
  width:100%;
  height:100%;
}

.HomeBlog .blogImg img {
    max-width: 100%;
    width:100%;
    height:100%;
    object-fit: cover;
}

.HomeBlog .blog .btitle {
    text-transform: uppercase;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
    display: block;
    margin-top:10px;
}

.blogContent p{
  font-size:14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;  
}
/* homeAddress */

.homeAddress .addressBackg {
    position: relative;
    height: 350px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.homeAddress .addressBackg a {
    text-decoration: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.7);
}


/*search*/
.searchContent hr{
  margin:30px 0;
  border-top: solid #cccccc;
  background-color:transparent;
  border-width: 1px 0 0;
  height: 0;
  border-top-color: transparent;
  
}
.searchTop{
  text-align:center;
}
.searchTop .searh_input{
  max-width:320px;
  margin:auto;
  position: relative;
}
.searchTop input{
  padding:8px 10px;
  width:100%;
  border:1px solid #cccccc;
  outline:none;
}

.searchTop button{
  padding:8px 10px;
  background-color: #faaf18;
  color: #fff;
  border: 1px solid transparent;
  position:absolute;
  right:0;
  
}

.searchTop button i{
  color:#fff;
}