/*------------------------------------------ END FLEX ------------------------------------------*/
.hidden-xs-m {
  display: none;
}
.cart-mobile,
.user-mobile {
  display: none;
}
@media screen and (min-width: 768px) {
  .pdl {
    padding-left: 0;
  }
  .pdr {
    padding-right: 0;
  }
  .pd0 {
    padding-right: 0;
    padding-left: 0;
  }
  .pd10 {
    padding-right: 10px;
    padding-left: 10px;
  }
  .pdl10 {
    padding-left: 10px;
  }
  .pdr10 {
    padding-right: 10px;
  }
  .hidden-lg {
    display: none;
  }
  .hidden-xs {
    display: none;
  }
  .col2-header {
    max-width: 19%;
    flex: 0 0 19%;
  }
  .col4-header {
    max-width: 36%;
    flex: 0 0 36%;
  }
  .col6-header {
    max-width: 45%;
    flex: 0 0 45%;
  }
  .col2-menu {
    flex: 0 0 13%;
    max-width: 13%;
  }
  .col10-menu {
    flex: 0 0 87%;
    max-width: 87%;
  }
  .pd10_pro {
    padding:0 5px;
  }
  .pd8_pro {
    padding: 0 0.44%;
  }
  .pd5_pro {
    padding: 0 0.6%;
  }
  .col5-pro {
    max-width: 20%;
    flex: 0 0 20%;
  }
  .col3-footer {
    max-width: 21%;
    flex: 0 0 21%;
  }
  .col9-footer {
    max-width: 37%;
    flex: 0 0 37%;
  }
  .container {
    padding: 0;
  }
  .menu .container {
    padding: 0 5px;
  }
  .scrollToTop:hover {
    opacity: 0.7;
  }
  .col-4-l {
    float: left;
  }
  .col-8-l {
    float: left;
  }
  .col5-detail {
    float: left;
  }
  .col7-detail {
    float: left;
  }
}

@media (min-width: 768px) and (max-width: 1600px) {

  .grid-pro-detail .container, .grid-pro-detail-2 .container, .under footer .container{max-width: 1230px;}
  .slider{height: 420px}
}

@media screen and (max-width: 767px) {
  
  h2, .h2{font-size: 1.4rem}
  h3, .h3{font-size: 1.3rem}
  h4, .h4{font-size: 1.2rem}
  h5, .h5{font-size: 1.1rem}
  h6, .h6{font-size: 1rem}
  .mobile {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .mz-thumb img {
    max-width: 100%;
  }
  .hidden-lg {
    display: block;
  }
  .visible-lg {
    display: none;
  }
  .hidden-xs {
    display: block;
  }
  .hidden-xs-m {
    display: none;
  }
  .info-nd img,
  .info-nd iframe,
  .info-nd table {
    width: 100% !important;
    height: auto !important;
  }
  .info-nd iframe{
    height: 250px !important;
  }
  header nav.fixed {
    position: relative;
  }
  .logo-header,
  .logo-header img {
    margin: 0 auto;
    text-align: center;
  }
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
  }
  .logo img {
    max-height: 100%;
  }
  

  .list-unstyled li,
  .text-black p,
  .card-text,
  .list_ft li {
    font-size: 14px;
  }
  .bg-image {
    text-align: center;
  }
  .pd10_pro {
    padding: 0 5px;
  }
  .pd8_pro {
    padding: 0 1%;
  }
  .pd5_pro {
    padding: 0 1%;
  }


  /*  HEADER*/
  header .header-top .row {
    margin: 0 -8px;
    flex-direction: column;
  }
  header .header-top .col2-header,
  header .header-top .col4-header {
    padding: 0 10px;
  }
  header .container {
    padding: 0 10px;
  }
  header .info_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
  }
  header .header-top {
    padding: 10px 0;
  }
  header .cart-mobile,
  header .user-mobile {
    display: flex;
  }
  header .user-mobile {
    font-size: 12px;
    text-align: center;
  }
  header .user-mobile {
    padding: 0 10px;
    border-left: 1px solid var(--color-red-medium);
    border-right: 1px solid var(--color-red-medium);
  }
  header .user-mobile a {
    color: #fff;
    line-height: 1.3em;
  }
  header .user-mobile a:hover {
    text-decoration: none;
  }
  header .cart-mobile a {
    position: relative;
  }
  header .cart-mobile .number-cart {
    color: rgb(36, 36, 36);
    background: rgb(253, 216, 53);
    height: 20px;
    left: 20px;
    top: -2px;
    border-radius: 40px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    padding: 0px 7px;
    width: 20px;
  }
  header #form-xsearch input {
    padding: 8px 0px;
  }
  header #form-xsearch button {
    right: 10px;
  }

  .slider {
    height: 700px;
  }
  .slider img {
    height: 100%;
  }
  .banner-qc .slick-prev:before,
  .banner-index .slick-prev:before,
  .banner-qc .slick-next:before,
  .banner-index .slick-next:before {
    font-size: 30px;
  }
  .banner-qc {
    margin-top: -80px;
  }

  .wrap-product-index {
    margin-top: 50px;
  }
  .wrap-product-index .btn-index {
    margin-bottom: 0;
  }

  .wrap-product-hot {
    margin: 40px 0;
  }
  .wrap-product-hot .global-title h2 {
    padding-left: 100px;
  }
  .wrap-product-hot .global-title h2:before {
    width: 67px;
    height: 39px;
    top: calc(50% - 24px);
  }
  .wrap-product-hot .row {
    margin: 0 -2px;
  }

  .wrap-product-tab {
    margin: 40px 0;
  }
  .wrap-product-tab .row {
    margin: 0 -2px;
  }
  .content_tab .tab1 h2 {
    margin-bottom: 10px;
  }
  .content_tab .tab2 {
    overflow-x: scroll;
    width: 360px;
    overflow-y: hidden;
    order: 2;
  }
  .content_tab .tab2 ul li {
    width: calc((100% - 15px) / 2);
    margin-right: 15px;
  }
  .content_tab .tab2 ul li a {
    font-size: 14px;
    width: 110px;
    display: inline-block;
    position: relative;
  }
  .content_tab .tab2 ul li a span {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    text-align: center;
  }
  .content_tab .tab2 ul li a:before {
    position: absolute;
    content: "";
    right: -8px;
    height: 15px;
    width: 2px;
    background: var(--color-red);
    top: 10px;
    z-index: 2;
  }
  .wrap-product-tab .item-product {
    margin-bottom: 4%;
  }
  .content_tab ul li a:hover,
  .content_tab ul li a.active {
    background: transparent;
    color: var(--color-red);
  }
  .content_tab ul li a {
    padding: 7px 0px;
  }
  .content_tab .tab3 {
    top: -5px;
    right: 0;
    position: relative;
    order: 1;
  }

  .item-list-banner .slick-slider {
    margin-bottom: 15px;
  }
  .item-list-banner ul li img {
    border-radius: 5px;
  }
  .btn-frame i,.btn-frame{width: 35px;height: 35px}
  .btn-frame .kenit-alo-circle-fill,.btn-frame .kenit-alo-circle{width: 45px;height: 45px}
  .btn-frame .kenit-alo-circle-fill{top: -5px;right: -5px}
  .btn-zalo{bottom: 270px}
  .btn-phone{bottom: 200px}
  /*PRODUCT*/
  .content-main-product{padding: 0}
  .content-main-product .global-title h2{padding-left: 75px}
  .content-main-product .global-title h2:before{width: 50px;height: 50px;top: calc(50% - 25px);left: 10px;}
  .content-main-product .row{margin: 0 -2px}
  .item-product {
    margin-bottom: 4%;
  }
  .item-product .relative-image .product-image {
    min-height: 300px;
  }
  .item-product .relative-image .product-image-inner a {
    height: 170px;
  }
  .item-product .tools .product-name h3 {
    font-size: 14px;
  }
  .item-product .tools .wrap-price {
    display: inline-block;
    padding-right: 45px;
    width: auto;
  }
  .item-product .tools .price {
    font-size: 16px;
  }
  .item-product .tools .old-price {
    font-size: 14px;
  }
  .item-product .tools .wrap-price .sale-product {
    font-size: 12px;
    right: 0;
    max-width: 40px;
  }
  .slick-product-detail li a{height: 300px}

  .reseach-top{padding: 20px 0 10px 0}
  .reseach-top .title-main h2{font-size: 18px}
  .reseach-top ul li{margin: 0px 18px 10px 0;}
  .reseach-top ul li a{font-size: 14px}
  .hotline-top .item-hotline{margin: 0 0 25px 0;padding: 5px 0 5px 55px;}
  .hotline-top .item-hotline.icon3{margin-bottom: 0}
  .hotline-top .info_hotline{
    padding: 15px 5px;
  }
  .hotline-top .item-hotline.icon2,.hotline-top .item-hotline.icon3{
    margin-left: 0;
  }
  .hotline-top .item-hotline .num-hotline{
    font-size: 16px;
  }
  .hotline-top .item-hotline .txt-hotline{
    font-size: 15px;
  }
  .hotline-top .item-hotline:after{display: none}
  footer .icon-app {
    align-items: flex-start;
    margin-top: 25px;
  }
  footer .bottom_fooetr{
    padding: 40px 0;
  }
  footer .icon-bct ul,footer .logo-w ul{margin-bottom: 0}
  footer .info_footer .title{font-size: 15px}
  footer .info_footer .cs li a{font-size: 14px}
  footer .title_ft{margin: 20px 0 10px 0}

  /*all page*/
  .global-title h2{min-height:45px}
  .global-title h2,
  .content_tab h2 a,.grid-pro-detail-2 .title-main h2,.title-main h2 {
    font-size: 25px;
  }
  .btn-index a {
    font-size: 14px;
    height: 45px;
    width: calc(100% + 15px);
    left: -7px;
  }
  .cart-fixed{
    width: 45px;
    height: 45px;
    bottom: 125px;
  }
  .cart-fixed:before{
    width:22px;
    height: 22px;
    top: calc(50% - 11px);
  }
  .scrollToTop{
    width: 45px;
    height: 45px;
  }
  .scrollToTop:before{
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
  }

  .col-8-l,.col-4-l,.col7-detail,.col5-detail{padding: 0}

  #noidung-sp iframe,#noidung-sp video{height: 250px;width: 100%}

  /*Detail Product*/
  .left-pro-detail .detail-tool li .txt-pro-detail{font-size: 12px}
  .left-pro-detail .detail-tool li:not(:last-child){margin-right: 10px}
  .left-pro-detail .detail-tool li .img{width: 50px;height: 50px}
  .left-pro-detail .detail-tool li .img img{width: 25px;height: 25px}
  .view-pro{position: relative;left: 0;right: 0}
  .grid-pro-detail-2 .row{margin: 0 -8px}
  .grid-pro-detail-2 .container-full{padding-top: 30px}
  .grid-pro-detail-2 .title-main{margin-bottom: 20px}
  .title-pro-detail,.attr-pro-detail{text-align: left;}
  .title-pro-detail{font-size: 18px}
  .title-pro-detail.ts-kt{font-size: 16px}
  .price-old-pro-detail{font-size: 14px}
  .price-new-pro-detail .attr-label-pro-detail{font-size: 16px}
  .price-new-pro-detail{font-size: 18px}
  .cart-pro-detail button{height: 50px}
  .cart-pro-detail button,.cart-pro-detail button span{font-size: 18px}
  .info_detail_product_mobile{margin: 30px 0}
  .right-pro-detail .desc-pro-detail{max-height: 400px;text-align: left;}
  .left-pro-detail .info-pro-detail{max-height: 250px}
  .policy{margin: 0px 16px 0 16px;}
  .policy__list>li{width: 100%}
  footer .icon-app .title_ft{margin-top: 0}

  /* Bài viết*/
  .wrap-content-detail{padding: 40px 0}
  
  .articlerelate h4{font-size: 20px;padding-bottom: 10px;}
  .articlerelate{margin-bottom: 40px}
  .news{margin-bottom: 10px}
  .bannerAdNews{text-align: center}
  .item-news .img{height: 180px}
  .item-news{margin-bottom: 30px}

  ul.pagination{flex-wrap: wrap}
  ul.pagination li{margin-bottom: 3px}

  #loading .logo_2 span{width: 70px;height: 70px}
  #loading .logo_2 img{max-width: 50px}
}

/* Responsive */

@media (max-width: 440px) {
  
  
  .top-contact .form-contact .button-contact .file-contact span b {
    max-width: 105px;
  }
  
  .slider,
  .slider img {
    height: 450px;
  }
  .wrap-product-hot .global-title h2 {
    padding-left: 75px;
  }

  .global-title h2,
  .content_tab h2 a,.grid-pro-detail-2 .title-main h2,.title-main h2 {
    font-size: 5.1vw;
  }
  .wrap-product-hot .global-title h2:before {
    width: 55px;
    height: 32px;
    top: calc(50% - 20px);
    left: 10px;
  }
}
@media (max-width: 360px) {
  .cart-pro-detail {
    flex-wrap: wrap;
  }
  .cart-pro-detail a {
    width: 100%;
    text-align: center;
    margin: 0px;
    font-size: 12px;
  }
  .cart-pro-detail a:first-child {
    margin-bottom: 5px;
  }
  .cart-pro-detail a i {
    display: none;
  }
}
