/* 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: 1288px;
  }
}

/* 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) {
  html,
  body {
    overflow-x: hidden;
  }
  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) {
  .menu-header a {
    color: #080908 !important;
  }
  .banner-top {
    display: none;
  }
  .header-bottom .hotline {
    display: none;
  }
  div#header {
    z-index: 1000;
    min-height: 90px;
  }
  .header-top marquee {
    width: calc(100%);
  }
  .header-box {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: none;
  }
  .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) {
  .col-auto .logo img {
    width: 70% !important;
  }
  .menu-dropdown a {
    color: #080908 !important;
  }
  .footer-colum {
    flex-direction: column;
  }
  .sale-product {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
  .sale-product-item {
    padding: 5px;
  }
  .banner-top {
    display: none;
  }
  .header-bottom-box {
    width: calc(100% - 140px);
    display: none !important;
  }
  .tab-btn.active {
    color: red;
    /* background: #f5f5f5; */
    /* border-top-left-radius: 61px; */
    background-image: none;
    background-position: center;
    background-size: contain;
    width: fit-content;
    height: 100%;
    background-repeat: no-repeat;
  }
  .tab-btn {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    text-align: center;
    padding: 10px;
  }
  .menu-wrapper:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--color-main);
  }
  .marquee {
    width: 100%;
    overflow: hidden;
    display: flex;
    background: linear-gradient(to right, #d89128, #d5bd89);
    padding: 15px 0;
    display: none;
  }
  .header-nav {
    padding-bottom: 7px;
    padding-top: 7px;
  }
  .sale-50 .sale-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-direction: column;
  }
  .product-items .price-box .discount {
    padding: 2px 5px;
    background: #ff2800;
    border-radius: 17px;
    color: #fff;
    font-weight: 700;
    display: none;
  }
  .product-top-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    display: none;
  }
  .product-top-cat-line {
    width: 2px;
    background: #d9d9d9;
    height: 30px;
    margin: 0 15px;
    display: none;
  }
  .product-top-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    display: none;
  }
  .title-product-list {
    font-size: 22px;
    text-align: center;
  }
  .product-box-item {
    padding: 0;
    background: #fff;
    border-radius: 10px;
  }
  .camnhan-box .camnhan-item {
    padding: 10px 0;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .sale-50 {
    padding-top: 10px;
  }
  .sale-50 .sale-box {
    /* margin-top: 30px; */
    /* padding-top: 30px; */
    padding: 10px;
    background: #a30003;
    border-radius: 10px;
  }
  .product-box {
    border-radius: 10px;
    background: #fff;
    padding: 5px;
  }
  .product-items {
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
      rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    /* margin-bottom: 15px; */
    border-radius: 10px;
    height: 100%;
    background: #fff;
  }
  .product-right {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    height: auto;
    margin-top: 10px;
  }
  .product-other {
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .tintuc-box .tintuc-item img {
    width: 150px !important;
    max-width: 206px !important;
    border-radius: 15px;
    object-fit: cover;
  }
  .btn-sp a {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
    color: #103d69;
  }
  .tintuc {
    padding: 10px 0;
  }
  .videoshorts {
    padding: 10px 0;
  }
  .videoshorts .pic-video .name {
    position: absolute;
    top: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    top: 10px;
    left: 10px;
  }
  .footer-top-box .box-left .desc {
    width: 100%;
    margin-bottom: 10px;
  }
  .footer-top-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
  .footer-top-box .box-left {
    margin-bottom: 10px;
  }
  .form-footer {
    background: #fff;
    padding: 10px;
    border-radius: 20px;
  }
  .footer-top {
    position: relative;
    padding: 10px 0;
  }
  .footer-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1920px;
    background-image: url(../images/bg-footer.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .footer-title {
    /* font-family: 'Lexend', sans-serif; */
    font-size: 20px;
    font-weight: 600;
    color: #080908;
    margin-bottom: 10px !important;
    /* margin-top: 20px; */
  }
  .desc-footer {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: #767676;
  }
  .align-items-center.d-flex.footer-bottom.justify-content-between {
    border-top: 1px solid #d9d9d9;
    padding-top: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
  }
  .footer-powered .footer-content {
    width: 100%;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  section.wrap-doitac {
    background: #fff;
  }
  .vechungtoi {
    padding-top: 10px;
    background: #fff !important;
  }
  .vechungtoi .vechungtoi-box .vechungtoi-title {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
  }
  .vechungtoi .vechungtoi-box {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .vechungtoi .vechungtoi-box .name {
    font-size: 33px;
    font-weight: 700;
    color: #222222;
    text-transform: capitalize;
  }
  .counter-item {
    position: relative;
    font-size: 16px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .tnsmgt {
    padding: 10px 0;
  }
  .wrap-history {
    background: #fff !important;
    padding: 10px 0;
  }
  .tamnhin-item {
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    height: 100%;
    /* margin-bottom: 26px; */
  }
  .item_year:not(.slick-current)::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #fff;
    border: 1px solid #d3b779;
  }
  .loading-product {
    padding: 0;
    border-radius: 10px;
    background: #fff;
  }
  .duan-item {
    padding: 0 10px;
    border-left: 1px solid #adadad;
  }
  .footer-top-box .box-left .chungtoi-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .menu-wrapper {
    position: relative;
    z-index: 100;
    width: fit-content;
    background-color: var(--color-main);
    margin: auto;
    text-align: center;
    margin-right: 47px;
  }
  .header-bottom .header-ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 0px 0 0px;
    z-index: 21;
    padding-left: 40px;
    display: none !important;
  }
  .header-box {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: none;
  }
  .header-logo-mb {
    width: 100%;
    text-align: center;
  }
  .newsletter-button input {
    margin-bottom: 15px;
  }
  .footer-end {
    padding-bottom: 27px;
  }
  .doingu-item .info p {
    font-size: 12px;
    margin-top: 14px;
  }
  .giatri-right .giatri-item,
  .giatri-right .giatri-item .desc {
    text-align: start;
  }
  .giatri-left,
  .giatri-right,
  .giatri-center {
    width: 100%;
  }
  .giatri-center {
    order: 3;
  }
  .giatri {
    padding-top: 5px;
    flex-direction: column;
  }
  .menu-left {
    width: 30%;
  }
  .flex-lg-column {
    flex-direction: column;
  }
  .footer-content {
    width: 100%;
  }
  .title-cauhoi {
    padding: 15px 0;
  }
  .question {
    flex-direction: column;
    gap: 1px !important;
  }
  .question-list {
  }
  .question-img {
    width: 100%;
  }
  .taisao-item {
    margin-bottom: 2px;
  }
  .sc-doingu .title-main h2 span::after {
    top: 50px;
    right: -80px;
  }
  .doingu-item .info h1 {
    font-size: 16px;

    margin-bottom: 10px;
  }
  .giatri-item {
    margin-bottom: 0px;
  }
  .giatri-item .info {
    width: 50%;
  }
  .phuongphap-item:nth-child(3),
  .phuongphap-item:nth-child(6) {
    margin-bottom: 0;
  }
  .phuongphap-center {
    order: 3;
  }
  .phuongphap-item {
    margin-bottom: 5px;
  }
  .phuongphap-left,
  .phuongphap-right,
  .phuongphap-center {
    width: 100%;
  }
  .phuongphap {
    padding-top: 8px;
    flex-direction: column;
  }
  .sc-phuongphap .title-main h2 span::after,
  .sc-camnhan .title-main h2 span::after {
    top: 86px;
    right: -35px;
  }
  .title-main h2 {
    padding-top: 6px;
  }
  .taisao-left,
  .taisao-right,
  .taisao-center {
    width: 100%;
  }
  .taisao-center {
    order: 3;
  }
  .taisao {
    padding-top: 12px;
    flex-direction: column;
  }
  .title-main h2 span::after {
    top: 30px;
  }
  .sc-form {
    padding: 20px 0;
  }
  .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: 16px;
    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: 2%;
  }
  .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%;
  }
  .btn-sp {
    display: flex;
    justify-content: center;
    padding-top: 10px;
  }
  .product {
    margin: 10px 0;
  }
  .tamnhin-item .name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .duan {
    padding: 10px 0;
  }
  .chungnhan {
    background: #fff;
    padding: 10px 0;
  }
  .tintuc-item a {
    border-radius: 15px;
    flex: 0 0 150px;
  }
  .tintuc-box .tintuc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
    justify-content: flex-start;
    flex: 0 0 206px;
  }
  /* .scale-img {
    position: relative;
    overflow: visible;
    display: block;
  } */
  .list-box {
    display: flex;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
      rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
      rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .list-box .list-item {
    padding: 10px 0;
    text-align: center;
  }
  .list-box .list-item img {
    width: 50px;
    object-fit: cover;
  }
  .list-box {
    display: flex;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
      rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
      rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    display: none;
  }
  .cat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    display: none;
  }
  .product-boxx {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
      rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
      rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  }
  .camket-title {
    font-size: 21px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 380.98px) {
  .footer-content:last-child .footer-ul {
    flex-direction: column;
  }
  .product-left {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
  }

  .footer-content:last-child .footer-ul li {
    margin: 0 !important;
  }
  .khoahoc-info .desc {
    font-size: 14px;
  }
  .khoahoc-item {
    min-height: 390px !important;
  }
  .khoahoc-info {
    padding: 11px 6px;
  }
  .khoahoc-btn {
    left: 7px;
  }
  .khoahoc-btn a {
    font-size: 13px;
  }
  .product-video {
    width: 60px;
    height: 60px;
  }
  .khoahoc-info .desc {
    font-size: 14px;
  }
  .product-info {
    padding: 5px;
    background: #fff;
  }
  .vechungtoi .vechungtoi-box .vechungtoi-title {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
  }
  .vechungtoi .vechungtoi-box .name {
    font-size: 25px;
    font-weight: 700;
    color: #222222;
    text-transform: capitalize;
  }
}
