@media (max-width: 1024px) {
  :root {
    font-size: 14px;
  }
  body.home .page_section:not(.home_about) .section_title {
    font-size: 25px;
  }
  ul.menu li a img.after-menu-item {
    top: 15px;
    right: 10px;
  }
  .bg-color {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.5;
    transition: opacity 0.25s;
    -webkit-transition: opacity 0.25s;
    -moz-transition: opacity 0.25s;
    -ms-transition: opacity 0.25s;
    -o-transition: opacity 0.25s;
  }
  .header-mobi .logo > a {
    display: table;
    width: auto;
    max-width: 320px;
    margin: 0 auto;
    padding: 10px 0;
  }
  #wrap-search-form {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease-in-out;
    transform: translate(0px, -100%) scale(0, 0);
    opacity: 0;
    /* display: none; */
  }
  #wrap-search-form.open {
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
    z-index: 106;
    display: block;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
  }
  #wrap-search-form .close {
    position: fixed;
    top: 10px;
    right: 10px;
    opacity: 1;
    width: 30px;
    height: 30px;
    border: none;
    color: #ffffff;
    background: #dd4b39;
    box-shadow: inset 1px 1px 0px 0px rgba(165, 138, 138, 0.75);
  }
  #wrap-search-form .search-form #searchform input[type="text"] {
    max-width: unset;
  }
  #wrap-search-form .search-form #searchform {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
  }
  #wrap-search-form .search-form {
    position: relative;
    top: 15%;
  }
  .container-mm {
    z-index: 9999;
    height: 100vh;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 270px;
    background-color: #f3f3f3;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.5s;
    -ms-transform: translateX(-210%);
    transform: translateX(-210%);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    -webkit-transform: translateX(-210%);
    -moz-transform: translateX(-210%);
    -o-transform: translateX(-210%);
  }
  .container-mm .search-form {
    padding: 30px;
  }

  .btn-close {
    z-index: 9999;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    line-height: 40px;
    width: 40px;
    font-size: 50px;
    background: transparent;
    outline: none;
    box-shadow: none;
    outline: none;
    border: none;
    color: white;
    margin: 10px 10px 0 0;
  }
  .container-mm li a {
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 25px;
    font-size: 14px;
  }
  .masthead-mobi {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .masthead-mobi .ims-boton {
    flex-grow: 1;
  }
  .masthead-mobi .ims-boton #searchform {
    color: #828282;
    border: 1px solid #ffffff;
    background: #fff;
    overflow: hidden;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .masthead-mobi .ims-boton #searchform > input {
    border: none;
    outline: none;
    font-weight: 300;
    padding: 10px 0;
    padding-left: 15px;
    box-shadow: none;
    position: relative;
    z-index: 0;
  }
  .header-menu-mobile > a {
    font-size: 30px;
    display: inline-flex;
    padding: 10px;
  }
  .gio-hang > a {
    display: inline-flex;
    padding: 10px;
    color: #fff;
    font-size: 18px;
    position: relative;
  }
  .gio-hang a .cart-count {
    font-size: 14px;
    position: relative;
    bottom: -10px;
  }
  .masthead-mobi a > i {
    color: #fff;
  }
  .header-wrapper .header-bottom {
    background: #fff;
  }
  .left-sidebar ul .children {
    display: none;
  }
  .left-sidebar .widget ul.product-categories li > a {
    white-space: normal;
  }
  .see-all {
    flex-shrink: 0;
  }
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
  .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
@media (max-width: 425px) {
  .home #sc-1 .ss-content article.col-3 {
    max-width: unset;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
    padding: 0;
  }
  .cat-title h3.title {
    font-size: 1rem;
  }
  div#top-bar * {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  a.post-link {
    font-size: 13px;
  }
  .row.video-list-post, .row.video-relate  {
    margin: 0 -7.5px;
  }
  .row.video-list-post .col-4, .row.video-relate .col-4 {
      width: 50%;
      padding: 0 7.5px;
  }
  .namlbn-breadcrumb {
    padding:.5em 12px;
  }
  .category .title-category h1,
  .single-post .related_posts h3,
  .archive.woocommerce h1,
  .single .related.products h2,
  .search h1 {
    text-align: left;
  }
  .header-top {
    text-align: center;
  }
  .header-top .top-bar-right {
    justify-content: center;
    margin-top: 5px;
  }
  #main-footer .container .col-4 {
    margin-bottom: 15px;
  }

  .left-sidebar ul.list-post .item-wrapper .post-thumbnail {
    width: 120px;
  }
  .box-item {
    margin-bottom: 15px;
  }
  .row.column-reverse,
  .row-flex.column-reverse {
    flex-direction: column-reverse;
    flex-wrap: nowrap;
  }
  .home #sc-1 .section-title::before,
  .home #sc-1 .section-title::after {
    width: 18%;
  }
  .before-footer-slider .section-title,
  #sc-1 .section-title {
    font-size: 1rem;
  }
  #sc-1 .ss-content article.col-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 20px;
  }
  #sc-2 .row > .col-3 {
    order: 1;
  }
  .slide_content .col_wrapper {
    width: 100%;
  }
  .content-singlq h4 {
    width: 100%;
  }
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11 {
    max-width: unset;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
    padding: 0;
  }
  .container,
  .header-wrapper {
    max-width: 568px;
  }
  #main-footer .title-footer > h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0 auto;
    display: table;
    border-bottom: 1px solid;
  }
  #main-footer .title-footer {
    border: none;
  }
  .ss-title {
    font-size: 1.7rem;
  }
  #service .namlbn_col {
    flex: unset;
    max-width: unset;
    padding: 0;
  }
  #service .namlbn_col .padding_ratio:before {
    padding-bottom: 80%;
    content: "";
    display: block;
  }
  #about-us .about-content {
    width: 100%;
  }
  .info-item .align_center .box-item h3 {
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.75rem;
    padding: 0;
  }
  .archive-container ul.products li {
    flex: unset;
    max-width: 568px;
    width: 100%;
  }
  .namlbn-product-container a.product-link h2 {
    height: auto;
    font-size: 1.5rem;
    padding: 0 15px;
  }
  .single-product-info {
    text-align: center;
    margin-top: 15px;
  }
  span.facebook-share {
    margin: 0 auto 15px auto;
  }
  .product_link_out table {
    margin: 0 auto;
  }
  #section_tin_tuc_bh032320 .col-5,
  #section_tin_tuc_bh032320 .col-7 {
    padding: 0 15px;
  }
  .second_footer .col-6 {
    padding: 0 15px;
  }
}
@media (min-width: 720px) and (max-width: 1024px) {
  .left-sidebar .sp-item .sp_online {
    padding: 5px;
  }
  .left-sidebar .sp_online > .icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .left-sidebar ul.list-post .item-wrapper .post-thumbnail {
    width: 100%;
    flex-shrink: 0;
    margin-right: 0;
  }
  .left-sidebar ul.list-post .item-wrapper .post-thumbnail.ratio--custom {
    padding-bottom: 62.5%;
  }
  .left-sidebar .widget ul.list-post .item-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 10px 0;
  }
  #sc-2 .left-sidebar h5.widgettitle {
    font-size: 1rem;
    padding: 10px;
  }
  .home #sc-1 .section-title::before,
  .home #sc-1 .section-title::after {
    width: 30%;
  }
  #products .product-content .wrap-info-product .product-excerpt {
    color: #333;
    margin: 15px 70px;
    padding: 0px 30px;
  }
  .widget_p .woocommerce ul.products {
    flex-direction: column;
  }
  .widget_p .product_new {
    padding: 0;
  }

  .single-product .top-section .left-section.col-6,
  .right-section.col-6 {
    flex: none;
    max-width: none;
    padding: 0 15px;
    margin-left: -1px;
    margin-right: -1px;
  }
  .namlbn-nav .slick-slide {
    height: auto;
  }
  .archive-container ul.products li {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-left: -1px;
    margin-right: -1px;
  }

  p#billing_first_name_field {
    width: 61%;
  }
  .page-contact .row .col-6 {
    width: 50%;
    flex: 0 0 50%;
  }
  #order_comments_field .woocommerce-input-wrapper textarea {
    border: 1px solid #ccc !important;
  }
  #main-footer .row-x {
    flex-direction: column;
  }
  .product-content .row[data-row="3"] > .col-6 > .wrap-info-product {
    width: 100%;
  }
  .product-content .row[data-row="3"] > .col-6 .wrap-img {
    padding: 50px;
    width: 100%;
    margin: 0 auto;
  }
  #about-us .about-content {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    padding: 0 15px;
  }
  .info-item .align_center .box-item h3 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px 50px;
  }
  .container,
  .header-wrapper {
    min-width: 720px;
  }

  .home .main-content .product-in-cat ul.products li,
  .woocommerce .archive-product ul.products li {
    flex: 0 0 33.333%;
    max-width: 33.33%;
    padding: 0 10px;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 20px;
  }
  .mobile-cat-table .section-title {
    font-size: 18px;
    color: #50b092;
    padding: 5px 0;
  }
  .mobile-cat-section {
    margin: 30px 0;
  }
  .list-news .news-thumb {
    width: 100px;
    -webkit-box-flex: unset;
    -ms-flex-positive: unset;
    flex-grow: unset;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
  }
  .list-news ul li > div {
    -webkit-box-flex: unset;
    -ms-flex: unset;
    flex: unset;
    padding-left: 20px;
  }
  .woocommerce .left-sidebar h5.widgettitle {
    font-size: 15px;
  }
}
@media (min-width: 640px) and (max-width: 720px) {
  #sc-1 .ss-content article.col-3 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 20px;
  }
}
@media (max-width: 320px) {
  .home .main-content .product-in-cat ul.products li,
  .archive .archive-product ul.products li {
    flex: initial;
    display: block;
    width: 100%;
    max-width: unset;
    padding: 0 10px;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: 20px;
  }
  .home #sc-1 .section-title::before,
  .home #sc-1 .section-title::after {
    width: 15%;
  }
  .home .before-footer-slider .section-title b:after {
    width: 100%;
  }
}
@media (min-width: 960px) and (max-width: 1024px) {
  .single-product .top-section .left-section.col-6,
  .right-section.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}