/* Min-width */
@media (min-width: 576px) {
}

@media (min-width: 768px) {
  .container,
  .container-sm {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
  .category-lists .col-xl-2 {
    width: 14.28%;
  }

  .category-lists span {
    max-width: 80%;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
}

/* Max-width */
@media (max-width: 1299.98px) {
  .header-bottom .header-ul .line {
    margin: 0px 5px;
  }
  .search-wrapper.active {
    width: 200px;
  }
}

@media (max-width: 1199.98px) {
  .menu {
    display: none;
  }
  .menu-bar-res {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  .info-newsnb {
    margin-left: 5px;
    margin-right: 5px;
  }
  .album-row a:nth-child(5) {
    width: 100% !important;
  }
  .album-row a {
    width: calc(100% / 2 - 10px) !important;
    height: auto !important;
    margin: 0 0px 10px 0px !important;
  }
  .album-row a img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
  }
  img {
    max-width: 100% !important;
    height: auto !important;
    vertical-align: top;
  }
  .header-top {
    text-align: right;
  }
  .header-top marquee {
    width: calc(100% - 150px);
    margin-right: 0px;
  }
  .slideshow {
    width: 100%;
  }

  .footer-title {
    margin-bottom: 0px;
  }
  .visao-item {
    margin: 0px 0px 20px 0px !important;
    max-width: 100%;
  }
  #product-title {
    width: 100%;
    -webkit-line-clamp: 3;
  }

  .left-pro-detail {
    width: 400px;
  }

  .right-pro-detail {
    width: calc(100% - 415px);
    padding: 0px;
  }
  .camket-pro-detail {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  /* .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  } */
  .news-controls::after {
    background: none;
  }
  a.name-newsnb {
    font-size: 15px;
  }
  .dichvu .title-main::after {
    background: none;
  }
  .dichvu .title-main::before {
    background: none;
  }
  .dichvu .title-main {
    font-size: 28px;
  }
  .slogan-service {
    font-size: 14px;
  }
  .slider-left {
    display: none;
  }
  .slider-right {
    width: 100%;
  }
  .logo-mb {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .header-right {
    background: none;
    height: 40px;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 35px;
  }
  .menu-hotline {
    display: none;
  }
  div#header {
    z-index: 1000;
    min-height: 90px;
  }
  .header-top marquee {
    width: calc(100%);
  }

  .search-wrapper.active {
    width: 100%;
    position: relative;
  }

  .slideshow .slider {
    width: 100%;
  }

  .title-main {
    margin-bottom: 15px;
  }
  .wrap-cauhoi {
    background: none;
  }
  .wrap-cauhoi .accordion {
    max-width: 100%;
  }

  .doitac-item {
    padding: 10px;
  }

  .wrap-newsletter .hotline {
    min-height: 135px;
    padding-left: 120px;
  }
  .wrap-newsletter .hotline span {
    font-size: 20px;
    padding-bottom: 10px;
  }
  .wrap-newsletter .hotline a {
    font-size: 35px;
    line-height: 40px;
  }

  .footer {
    padding-bottom: 50px;
  }
  .footer-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer-ul li.line {
    display: none;
  }
  .footer-ul li {
    width: 50%;
  }
  .wrap-product-list .slider-products,
  .wrap-product-list .slider-product-thumbs {
    width: 100%;
  }
  .wrap-product-list .slider-product-thumbs {
    margin-bottom: 30px;
  }
  .product-item .image,
  .product-item .info {
    width: 100%;
  }
  .footer-statistic,
  .footer-copyright {
    text-align: center;
  }
  .vanhoa-item {
    max-width: 100%;
  }
  #chuyenkhoaTabs .nav-item {
    width: 49.5%;
    margin-bottom: 3px;
  }

  #chuyenkhoaTabs .nav-link {
    font-size: 14px;
    width: 100%;
  }
  #chuyenkhoaTabs .nav-link img {
    width: 20px;
  }

  .giatri-item .info {
    min-height: auto;
  }
  .news-item .name {
    min-height: auto;
  }
  .news-item .line {
    margin-top: 0px;
  }
  .wrap-history {
    background: #f8f8f8;
  }
  .wrap-history .slider-nav,
  .wrap-history .slider-for {
    width: 100%;
  }
  .year-item.slick-current span {
    padding-left: 20px;
  }
  .year-item.slick-current::before {
    right: auto;
    left: 0px;
  }

  .attr-pro-detail,
  .camket-pro-detail {
    width: 100%;
  }

  .left-pro-detail {
    margin: 0px auto;
  }

  .left-pro-detail {
    width: 100%;
  }

  .right-pro-detail {
    width: 100%;
  }

  .menu-wrapper .menu-toggle {
    width: 54px;
  }
  .menu-header {
    padding: 10px;
  }
  .menu-header .btn-close-menu {
    border: 1px solid #e0e0e0;
    color: #333;
    line-height: 21px;
    padding: 7px 5px 7px 0;
    position: relative;
    text-align: right;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #6e6e6e;
  }
  .menu-header .btn-close-menu::before,
  .menu-header .btn-close-menu::after {
    content: "";
    position: absolute;
    width: 1px;
    top: 4px;
    left: 8px;
    background-color: #fff;
    height: 8px;
  }
  .menu-header .btn-close-menu::before {
    transform: rotate(45deg);
  }
  .menu-header .btn-close-menu::after {
    transform: rotate(-45deg);
  }

  .menu-dropdown {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 100vw; /* toàn bộ chiều ngang */
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    border: none;
    border-radius: 0px;
    padding: 0px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
  }
  .menu-dropdown.open {
    display: block !important;
    right: 0;
    z-index: 1002;
  }

  .menu-left {
    width: 100px;
    height: calc(100vh - 49px);
    border-right: 0px;
  }
  .menu-right {
    padding: 10px;
    background: #fff;
  }

  .menu-panel .category-item {
    width: calc(100% / 3);
    padding: 0px;
  }
  #thuong-hieu .category-item {
    width: calc(100% / 3 - 6px);
    padding: 0px;
  }

  .search-wrapper {
    height: 36px;
    border-radius: 5px;
  }
}

@media (max-width: 575.98px) {
  .criteria-banner {
    display: none;
  }
  .item-tintuc .owl-carousel .owl-item img {
    width: 160px !important;
    height: 184px !important;
    object-fit: contain;
  }
  .name-cpn {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 19px;
    font-weight: 600;
    color: #e20f1f;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    /* font-family: "Oswald", sans-serif; */
  }
  .pic-newsnb::before {
    position: absolute;
    content: "";
    background: none;
    width: 398px;
    height: 43px;
    bottom: 15px;
    z-index: 1;
    left: -7px;
  }
  .dichvu .title-main::after {
    background: none;
  }
  .dichvu .title-main::before {
    background: none;
  }
  .dichvu .title-main {
    font-size: 20px;
  }
  .slick-slide img {
    display: block;
    object-fit: contain;
    height: 192px !important;
  }
  .footer-news:nth-child(1) {
    display: flex;
    flex-direction: column;
  }
  .info-news {
    width: 59%;
    padding-left: 8px;
    /* margin-top: 10px; */
  }
  .footer-cp-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
  }
  .footer-copyright {
    font-size: 13px;
    color: #8c8c8c;
    margin-top: 15px;
  }
  .footer-news:nth-child(1),
  .footer-news:nth-child(2),
  .footer-news:nth-child(3),
  .footer-news:nth-child(4),
  .footer-news:nth-child(5) {
    width: 100%;
  }
  .logo-footer {
    width: 100%;
    text-align: center;
  }
  .item-tintuc {
    height: 440px;
  }
  .news-controls {
    border-top: 1px solid #dadada;
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    padding-top: 16px;
  }
  .criteria {
    padding-bottom: 0;
  }
  .criteria-col-right .criteria-item::before,
  .criteria-item::before {
    background: none;
  }
  .criteria-col-right .criteria-item:nth-child(1),
  .criteria-col-right .criteria-item:nth-child(3) {
    margin-right: 0;
  }
  .criteria-col-center {
    order: 3;
  }
  .criteria-col-center,
  .criteria-col-left,
  .criteria-col-right {
    width: 100%;
  }
  .criteria-item:nth-child(1),
  .criteria-item:nth-child(3) {
    margin-left: 0;
  }
  .criteria-row {
    flex-wrap: wrap;
  }
  .cart-product span {
    cursor: pointer;
    width: calc(50% - 3px);
    color: #ffffff;
    text-transform: capitalize;
    text-align: center;
    padding: 7px 5px;
    border-radius: 1px;
    font-size: 12px;
  }
  .item-dichvu {
    height: 251px;
  }
  .wrap-uudai {
    padding-top: 1rem;
    transform: translateY(0);
  }

  .wrap-counter .num {
    display: none;
  }
  .banner h2 {
    font-size: 20px;
  }

  .btn-submain {
    font-size: 14px;
  }
  header#header.fixed {
    position: relative;
  }
  .title-main h2 {
    font-size: 22px;
  }
  .title-main::before {
    font-size: 5rem;
    line-height: 65px;
  }

  .wrap-diadiem-hot .service-list h2.name {
    font-size: 16px;
  }

  .wrap-counter .num {
    font-size: 4.5rem;
  }
  .wrap-counter .counter {
    font-size: 2.5rem;
  }

  .wrap-service-list .service-list .name {
    font-size: 17px;
  }
  .wrap-service-list .service-list .info h3 {
    font-size: 16px;
  }
  .wrap-service-list .service-list .info .line {
    margin: 5px auto;
  }

  .news-item .name a {
  }
  .news-item .desc {
    font-size: 13px;
  }

  .service-item .name {
    font-size: 18px;
  }
  .service-item .desc {
    font-size: 14px;
  }
  .item_history .name {
    font-size: 1.5rem;
  }
  .item_year {
    font-size: 17px;
  }
  #frm-newsletter {
    padding: 0px;
  }
  .notify-popup {
    bottom: 85px;
  }

  .news-item.list .image {
    width: 120px;
  }
  .news-item.list .info {
    width: calc(100% - 120px);
    padding: 0px 10px;
  }

  .title-main h2,
  .title-main h3,
  .title-main h4 {
    white-space: normal !important;
  }

  .choose-list button {
    font-size: 13px;
    margin-bottom: 5px;
    padding: 7px 15px 4px;
  }
  .left-pro-detail {
    width: 100%;
  }
  .khachhang-item {
    width: 300px;
  }
  .accordion-button {
    font-size: 16px;
  }
  .footer-payments {
    text-align: center;
  }
  .item_history .desc {
    margin-bottom: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
  }

  .category-item {
    padding: 5px;
    width: calc(100% / 4);
  }

  .wrap-brand .brand-item,
  .wrap-doitac .brand-item {
    width: calc(100% / 3 - 0.5rem);
  }
  .filter-brand .filter-dropdown-item {
    width: calc(100% / 3 - 0.5rem);
  }
  .cart-fixed {
    bottom: 100px;
  }

  .wrap-about .about-img {
    position: relative;
    text-align: left;
    padding-bottom: 20%;
  }
  .wrap-about .about-img img:nth-child(2) {
    margin-left: 0px;
    margin-top: 0px;
    position: absolute;
    right: 0px;
    top: 15%;
  }

  .gallery-pro-detail .gallery-pro-detail-left {
    width: 100%;
    margin: 0px;
  }
  .gallery-pro-detail .slider-product-thumbs {
    width: calc(100% - 85px);
  }
  .gallery-pro-detail .slider-products {
    width: 100%;
  }
  .pic-news {
    width: 160px;
  }
}

@media (max-width: 380.98px) {
  .slogan-head {
    display: flex;
    align-items: center;
    width: 54%;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 25px;
    margin: 0;
  }
  .header-right {
    background: none;
    height: 40px;
    width: 108px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 35px;
  }
  .info-news {
    width: 51%;
  }
  .criteria {
    padding-top: 78px;
    padding-bottom: 70px;
    background: url("../images/bg-vi-sao-chon-chung-toi.png") no-repeat;
    background-size: 100% 100%;
  }
  .name-cpn {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 15px;
    font-weight: 600;
    color: #e20f1f;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    /* font-family: "Oswald", sans-serif; */
  }
  .criteria-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 0px;
    position: relative;
  }
  .slogan-service {
    color: #383838;
    text-align: center;
    /* font-family: Roboto; */
    font-size: 17px;
    /* font-style: normal; */
    font-weight: 600;
    line-height: 25px;
    letter-spacing: 0.85px;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin-bottom: 6px;
  }
  .dichvu {
    margin-top: -2px;
  }
  .item-dichvu {
    height: 219px;
  }
  .cart-product span {
    font-size: 10px;
  }
  .dichvu .title-main::after {
    background: none;
  }
  .dichvu .title-main::before {
    background: none;
  }
  .dichvu .title-main {
    font-size: 18px;
  }
  .product-video {
    width: 60px;
    height: 60px;
  }
  .cart-product {
    align-items: center;
  }
}
