$lg: 1200px;
$md: 991px;
$sm: 768px;
$xs: 575px;
$color_nemo: rgb(222, 9, 133);
$color-ouaths: rgb(222, 9, 133);

.nemo-color {
  color: $color_nemo;
}

.color-ouaths {
  color: $color-ouaths;
}

.slider-new {
  padding-left: 30px;
}

@media screen and (max-width: 1368px) {
  .slider-new {
    display: block;
  }

}

@media screen and (max-width: 1279px) {
  .slider-new {
    display: block;
  }

}


@media screen and (max-width: 1232px) {
  .header-nav-inner-container {
    .desktop-menu {
      .menu-category {
        a {
          color: #fff;
          font-weight: 700;
          font-size: 12px;
          padding-left: 20px;
        }
      }

      .main-menu {
        width: 100% !important;
        font-size: 12px;
      }
    }
  }
}

@media screen and (min-width: $lg) {
  .container {
    max-width: 1400px;
  }
}

@media screen and (max-width: $lg) {
  .slider-new {
    display: block;
  }

  .description-mobile {
    display: none;
  }

}

@media screen and (max-width: $md) {
  .product-page {
    .product-images {
      img {
        width: 800px;
        height: 600px;
        display: block;
        outline: none;
        border: none;
      }
    }

    .col-img-gallary {
      img {
        width: 800px;
        height: 380px;
      }
    }

    .description-desktop {
      display: none;
    }

    .description-mobile {
      display: block;
    }
  }

  .slider-new {
    display: block;
  }

  .msg-top {
    .msg-from-server {
      width: 100%;
    }
  }

  .header {
    .top-menu {
      padding-bottom: 10px;
    }
  }

  .header {
    .header-topbar-inner-container {
      display: none;
    }

    .header-nav {
      display: none;
    }

    .header-desktop {
      display: none;
    }

    // mobile header
    .header-mobile {
      display: block;
      padding-top: 10px;

      .nav-page {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
      }

      .print-now {
        float: left;
        width: 6%;

        img {
          width: 100%;
          float: left;
          margin-top: 0px;
          margin-left: 0px;
          margin-right: 20px;
        }
      }

      .logo {
        text-align: center;
        width: 86%;
        float: left;
        margin-right: 10px;

        .big-logo {
          display: block;

          img {
            width: 200px;
          }
        }
      }

      .mobile-menu {
        color: #000;
        width: 5%;
        text-align: center;

        a {
          font-size: 13px;
          color: #000;
          text-decoration: none !important;
          transition: color 0.3s;

          span {
            font-size: 24px !important;
          }
        }
      }

      .form-search {
        margin-top: 10px;
        width: 100%;
        float: left;

        .form-wrapper {
          width: 100%;

          input {
            width: 93%;
          }

          button {
            width: 7%;
          }
        }
      }
    }
  }

  footer {
    .top {
      .row {
        &>div:nth-of-type(n+3) {
          .top-column {
            border-bottom: 0;
          }
        }
      }

      .top-column {
        border-bottom: 1px solid #666;
      }
    }

    .body {
      .body-column {
        margin-bottom: 40px;

        &.last {
          margin-bottom: 0;
        }
      }
    }
  }

  .contact-section {
    .map {
      margin-bottom: 80px;
    }
  }

  .header-bottom {
    .header-bottom-inner-container {
      ul {
        li {
          flex-basis: 100%;
        }
      }
    }
  }

  // USER PAGE
  .user-page {
    .sidebar-container {
      margin-bottom: 40px;
    }
  }

  // END USER PAGE

}

@media screen and (max-width: $sm) {

  .title-sale {
    font-size: 16px;
    font-weight: 700;
  }

  .list-sale {
    .sale-item {
      padding: 20px;
      border-right: none;
      &::after {
          display: none;
      }
      .avatar {
        img {
          width: 135px;
          height: 135px;
        }
      }
    }
  }

  .body-news {
    height: 780px !important;
  }

  .slider-new {
    display: none;
  }

  .product-page {
    .product-images {
      img {
        width: 720px;
        height: 350px;
        display: block;
        outline: none;
        border: none;
      }
    }
  }

  .section-slider {
    .main-carousel {
      height: 150px;

      .owl-item {
        img {
          height: 150px !important;
        }
      }
    }
  }

  .widget_about_style_4 {
    .header-title {
      h3 {
        font-size: 14px;
      }
    }

    .body-news {
      .item-news .content-news .title-news {
        font-size: 14px;
      }
    }

    .calculator-form .calculator-container {
      height: 500px;
    }
  }

  .header {
    .header-topbar-inner-container {
      display: none;
    }

    .header-nav {
      display: none;
    }

    .header-desktop {
      display: none;
    }

    // mobile header
    .header-mobile {
      display: block;
      padding-top: 10px;

      .print-now {
        float: left;
        width: 10%;

        img {
          width: 100%;
          float: left;
          margin-top: 0px;
          margin-left: 0px;
          margin-right: 20px;
        }
      }

      .logo {
        text-align: center;
        width: 78%;
        float: left;
        margin-right: 10px;

        .big-logo {
          display: block;

          img {
            width: 250px;
          }
        }
      }

      .mobile-menu {
        color: #000;
        width: 6%;
        text-align: center;

        a {
          font-size: 13px;
          color: #000;
          text-decoration: none !important;
          transition: color 0.3s;
        }
      }

      .form-search {
        margin-top: 10px;
        width: 100%;
        float: left;

        .form-wrapper {
          width: 100%;

          input {
            width: 93%;
          }

          button {
            width: 7%;
          }
        }
      }
    }
  }

  .section-header {
    padding-top: 10px;
  }

  .header-category .section-title {
    font-size: 16px;
  }

  .owl-carousel-flash-sale {
    .owl-prev {
      position: absolute;
      top: -40px;
      right: 41px;
      width: 32px;
      height: 32px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }

    .owl-next {
      top: -40px;
      left: auto;
      right: 8px;
      width: 32px;
      height: 32px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }
  }

  .section-body.col-12 {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  
  .container-categories.category-md {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    
    .owl-carousel-category {
      width: 100%;
      overflow: hidden;
      
      .owl-stage-outer {
        overflow: hidden !important;
        width: 100% !important;
      }
      
      .owl-item {
        opacity: 1 !important;
      }
      
      .category {
        padding: 10px;
        box-sizing: border-box;
        min-height: 160px;
        display: flex;
        flex-direction: column;
      }
      
      .category .category-img {
        height: 80px;
        margin-bottom: 10px;
        flex-shrink: 0;
      }
      
      .category .qd-box-danhmuc-title {
        margin-top: auto;
        min-height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
      }
      
      .category .qd-box-danhmuc-title a {
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .owl-carousel-category {
    .owl-prev {
      position: absolute;
      top: -40px;
      right: 41px;
      width: 32px;
      height: 32px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }

    .owl-next {
      top: -40px;
      left: auto;
      right: 8px;
      width: 32px;
      height: 32px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }

    .hover-img-category {
      height: 200px;

      .category-img {
        height: 30%;
      }
    }
  }

  .owl-item {
    opacity: 0;
  }

  .owl-item.active {
    opacity: 1;
  }

  .owl-carousel-hot-sale {
    .owl-prev {
      position: absolute;
      top: -40px;
      right: 41px;
      width: 32px;
      height: 32px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }

    .owl-next {
      top: -40px;
      left: auto;
      right: 8px;
      width: 32px;
      height: 32px;
      padding: 0 !important;
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }
  }

  footer .body .title {
    font-size: 20px;
  }

  .flash-sale-section .header-flash-sale span {
    font-size: 14px;
  }
}

@media screen and (max-width: $xs) {
  .cart-sidebar-container {
    width: 100%;
  }

  .mobile-menu-container {
    width: 100%;

    .footer {
      width: 100%;
    }
  }

  .cart-page {
    .cart-container {
      .cart-item-container {
        .item-image {
          max-width: 70px;
        }

        .item-info {
          .name {
            font-size: 15px;
          }

          .price,
          .options,
          .quantity {
            font-size: 13px;
          }
        }
      }
    }
  }

  .one-product-container {

    .product-images {
      .product-image {
        img:first-child {
          position: relative;
        }

        img:last-child {
          display: none;
        }
      }
    }

    .box-actions-hover {
      transform: translateY(0);
    }

    .best-seller-ribbon {
      border-width: 60px;

      .text {
        width: 60px;
        height: 60px;
        font-size: 10px;
      }
    }
  }

  .hidden-xs {
    display: none;
  }

  // mobile header

  .header {
    .header-topbar-inner-container {
      display: none;
    }

    .header-nav {
      display: none;
    }

    .header-desktop {
      display: none;
    }

    // mobile header
    .header-mobile {
      display: block;
      padding-top: 10px;

      .print-now {
        float: left;
        width: 12%;

        img {
          width: 100%;
          float: left;
          margin-top: 0px;
          margin-left: 0px;
          margin-right: 20px;
        }
      }

      .logo {
        text-align: center;
        width: 73%;
        float: left;
        margin-right: 10px;

        .big-logo {
          display: block;

          img {
            width: 200px;
          }
        }
      }

      .mobile-menu {
        color: #000;
        padding-top: 10px;
        width: 12%;
        text-align: center;

        a {
          font-size: 13px;
          color: #000;
          text-decoration: none !important;
          transition: color 0.3s;

          i {
            font-size: 20px;
          }

          span {
            font-size: 14px;
          }
        }
      }

      .form-search {
        margin-top: 10px;
        width: 100%;
        float: left;

        .form-wrapper {
          width: 100%;

          input {
            width: 88%;
          }

          button {
            width: 12%;
          }
        }
      }
    }
  }

  .product-page {
    .product-images {
      img {
        width: 720px;
        height: 280px;
        display: block;
        outline: none;
        border: none;
      }
    }
  }
}

@media screen and (max-width: 480px) {
  .product-page .product-images img {
    width: 720px;
    height: 280px !important;
    display: block;
    outline: none;
    border: none;
  }
}
