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

@media (min-width: 768px) {

    .container,
    .container-sm {
        max-width: 100%;
    }
    .wrap-hero {
        padding-top: 10px;
    }
}

@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: 1215px;
    }
}


/* Max-width */
@media (min-width: 1441px) {
    /* [GIỚI THIỆU] màn rộng hơn 1440: làm mờ 2 mép ảnh */
    .wrap-giatri { background-image: linear-gradient(90deg, #fff 0, rgba(255, 255, 255, 0) 120px, rgba(255, 255, 255, 0) calc(100% - 120px), #fff 100%), url(../images/bg-giatri.webp); background-size: 1440px 1107px; background-position: center top; background-repeat: no-repeat;}
     /* [GIỚI THIỆU] nền tầm nhìn/sứ mệnh dãn full bề ngang, giữ cao 825 để dải nền khớp padding 49px */
     .wrap-tnsm { background-size: 100% 825px, auto;}
}

@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;
    }

    /* [TRANG CHỦ] DANH MỤC */
    .category { padding-top: 30px;}
    .category .category-item { border-radius: 55px;}
    .category .category-item > img { border-radius: 55px;}
    .category .category-item:after { border-radius: 0 0 55px 55px;}
    .category .cate-label .l1 { font-size: 20px;}
    .category .cate-label .l2 { font-size: 21px;}

    /* [TRANG CHỦ] HERO */
    .wrap-hero .hero-cate { flex: 0 0 268px; width: 268px;}   /* cột slide ≤ 895px (ảnh slide không x1.5) */
    .wrap-hero .hero-cate .menu-left { min-height: 430px; max-height: 430px; gap: 22px; padding: 24px 16px; border-top: 1px solid var(--color-main); border-radius: 15px;}
    .wrap-hero .menu-left > li { font-size: 16px;}
    .wrap-hero .menu-left .submenu { left: calc(100% + 17px);}   /* padding panel 16px ở mốc này */
    .wrap-hero .menu-left .submenu:before { left: -18px; width: 18px;}
    .wrap-hero .hero-criteria { gap: 30px;}

    /* [CHUNG] HEADER */
    .banner-top.fixed { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; background: #fff;}
    .banner-top.fixed { z-index: 1003;} 
    .banner-top .logo img { max-width: 92px; max-height: 62px;}
    .banner-top .search-wrapper.active { width: 420px; height: 46px;}
    .banner-top .search-wrapper .btn-search { width: 46px; height: 46px;}
    .hotline-head img { width: 38px; height: 38px;}
    .hotline-head .hh-label { font-size: 17px;}
    .hotline-head .hh-number { font-size: 21px;}
    #header .header-bottom .btn-main.menu-toggle { width: 250px; height: 54px; font-size: 15px;}

    /* [TRANG CHỦ] NÚT SLIDER — đưa vào trong để không tràn */
    .pro-slider .owl-nav button.owl-prev[class*="owl-"] { left: 2px;}
    .pro-slider .owl-nav button.owl-next[class*="owl-"] { right: 2px;}

    /* [TRANG CHỦ] SECTION */
    .title-sec { font-size: 27px !important;}
    .wrap-banner, .pro-hot { padding-top: 32px;}
    .pro-cate, .wrap-kh, .wrap-hinhanh { padding: 32px 0;}
    .pro-grid { gap: 24px 16px;}
    .wrap-tintuc .tt-big { flex: 0 0 480px;}

    /* [GIỚI THIỆU] vòng giá trị cần đủ 1200px -> xếp lưới, bỏ ảnh nền */
    .wrap-giatri { height: auto; padding: 40px 0; background: #FCFCFC;}
    .wrap-giatri .gt-circle { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; width: 100%; height: auto; margin: 20px 0 0;}
    .wrap-giatri .gt-item { position: static; flex: 0 0 calc((100% - 48px) / 3); width: auto; height: auto;}
    .wrap-giatri .gt-icon { position: static; margin: 0 auto 10px;}
    .wrap-giatri .gt-info { position: static; width: auto; text-align: center !important;}

    /* [SẢN PHẨM] */
    .pro-tabs { gap: 14px;}

    /* [CHI TIẾT SP] */
    .wrap-pro-detail .left-pro-detail { width: 480px;}
    .wrap-pro-detail .right-pro-detail { width: calc(100% - 510px);}
    .wrap-pro-detail .pro-contact { gap: 12px 18px;}
    .wrap-pro-detail .pro-hotline { min-width: 0; padding: 0 18px; font-size: 20px;}

    /* [HÌNH ẢNH HOẠT ĐỘNG] marquee thu nhỏ */
    .wrap-hinhanh .ha-grid { --k: .85;}
}

@media (max-width: 991.98px) {
    .header-bottom .logo {max-width:200px ;}
    /* DA SUA: Mobile chi an muc luc clone/fixed o sidebar, giu muc luc mac dinh trong col1. */
    .meta-toc-fixed,
    .news-detail-sidebar-toc {
        display: none !important;
    }

    /* DA SUA: Mobile khong dung sticky cho sidebar de noi dung chay tu nhien. */
    .news-detail-sidebar {
        position: static;
    }
    .menu-wrapper:before {
        display: none;
    }

    .header-nav {
        padding: 5px 0;
    }

    .menu-wrapper {
        width: auto;
    }

    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%;
    }

    /* [TRANG CHỦ] DANH MỤC */
    .category { padding-top: 24px;}
    .category .cate-row { gap: 12px;}
    .category .category-item { flex: 1 1 calc(25% - 12px); max-width: none; border-radius: 45px;}
    .category .category-item > img { border-radius: 45px;}
    .category .category-item:after { height: 70px; border-radius: 0 0 45px 45px;}
    .category .cate-label .l1 { font-size: 18px;}
    .category .cate-label .l2 { font-size: 20px;}

    /* [TRANG CHỦ] HERO */
    /* 768–991 vẫn 2 cột: panel trái cao bằng cột phải (tách hàng làm slide 895px bị kéo giãn) */
    .wrap-hero .hero-row { align-items: stretch;}
    .wrap-hero .hero-cate { flex: 0 0 230px; width: 230px;}
    .wrap-hero .hero-cate .menu-left { height: 100%; min-height: 0; max-height: none; gap: 16px; padding: 18px 14px;}
    .wrap-hero .menu-left > li { padding: 0; font-size: 15px;}
    /* Màn cảm ứng không có hover: bỏ xổ cấp 2 + mũi tên (cấp 2 vẫn có trong menu mobile) */
    .wrap-hero .menu-left > li > a:after,
    .wrap-hero .menu-left .submenu { display: none !important;}
    .wrap-hero .hero-criteria { gap: 16px; margin-top: 16px;}
    .wrap-hero .criteria-item .info { margin-top: 14px;}
    .wrap-hero .criteria-item .name { font-size: 16px;}

    /* [CHUNG] HEADER */
    .banner-top .logo img { max-width: 84px !important; max-height: 56px !important;}
    .banner-top .col-search { flex: 0 0 auto; min-width: 0; margin-left: auto;}
    .banner-top .col-search + .col-auto { margin-left: 0;}
    .banner-top .search-wrapper.active { width: 360px; height: 44px;}
    .banner-top .search-wrapper .btn-search { width: 44px !important; height: 44px !important;}
    .banner-top .search-wrapper input,
    .banner-top .search-wrapper input::placeholder { font-size: 15px;}
    #header .header-bottom,
    #header .header-bottom .row { min-height: 56px;}

    /* [CHUNG] FOOTER */
    .footer .footer-top { padding-top: 20px;}
    .footer .footer-logo img { max-width: 220px !important; max-height: 100px;}
    .footer .footer-article { padding: 20px 0 28px;}
    .footer .footer-title { margin-bottom: 14px; font-size: 16px;}
    .footer .footer-social img { width: 36px !important; height: 37px !important;}
    .footer .footer-copyright { font-size: 16px;}

    /* [TRANG CHỦ] SECTION */
    .title-sec { font-size: 23px !important;}
    .wrap-banner, .pro-hot { padding-top: 28px;}
    .pro-cate, .wrap-kh, .wrap-hinhanh { padding: 28px 0;}
    .wrap-seo { padding-bottom: 28px;}
    .pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px;}
    .pro-cate .sec-head { gap: 14px; margin-bottom: 20px;}
    .box-product .name-product { min-height: 30px; font-size: 16px;}
    .wrap-kh .khachhang-item .name { font-size: 16px;}
    .wrap-tintuc .tt-big .name { font-size: 16px;}
    .btn-main { min-height: 42px;}
    .btn-main img, .btn-main .ic-down { width: 32px !important; height: 32px !important;}
    .wrap-tintuc .tt-row { gap: 16px; margin-bottom: 20px;}
    .wrap-tintuc .tt-big { flex: 0 0 calc(50% - 8px);}   /* tách hàng làm ảnh 590px bị kéo giãn */
    .wrap-tintuc .news-item .image { flex: 0 0 140px;}
    .wrap-tintuc .tt-big .info { margin-top: 14px;}
    .wrap-hinhanh .ha-grid { --k: .7;}
    /* thắng img{height:auto!important} của mốc này để ảnh phủ kín khung */
    .wrap-hinhanh .ha-item img { height: 100% !important;}

    /* [GIỚI THIỆU] */
    .wrap-about, .wrap-tnsm, .wrap-giatri { padding: 28px 0;}
    .wrap-about .about-row { flex-wrap: wrap; gap: 16px;}
    .wrap-about .about-left { flex: 1 1 100%;}
    .wrap-about .about-right { flex: 0 1 574px; width: 100%; margin: 0 auto;}
    .wrap-about .about-title { font-size: 20px;}
    .wrap-about .about-left:before { bottom: 0; height: auto;}   /* thanh vàng chạy theo nội dung */
    .wrap-about .about-desc { margin-top: 18px;}
    .wrap-tnsm .tnsm-row { flex-wrap: wrap; gap: 24px;}
    .wrap-tnsm .tnsm-row + .tnsm-row { margin-top: 24px;}
    .wrap-tnsm .tnsm-img { flex: 0 0 100%; max-width: 432px; margin-inline: auto;}
    .wrap-tnsm .tnsm-reverse { flex-direction: row;}
    /* Màn hẹp ảnh nằm dưới chữ: bỏ nhô 3D + nền svg, trả bố cục cũ */
    .wrap-tnsm { background: #FFF5F1;}
    .wrap-tnsm .tnsm-text { flex: 1 1 0;}
    .wrap-tnsm .tnsm-reverse .tnsm-img { flex-basis: 100%;}
    .wrap-tnsm .tnsm-row:first-child .tnsm-img,
    .wrap-tnsm .tnsm-row:last-child .tnsm-img,
    .wrap-tnsm .tnsm-row:not(.tnsm-reverse) .tnsm-img,
    .wrap-tnsm .tnsm-reverse .tnsm-img { margin: 0 auto;}
    .wrap-giatri .gt-name { font-size: 16px;}

    /* [SẢN PHẨM] */
    .wrap-sanpham { padding-bottom: 28px;}
    .pro-tabs { gap: 12px; margin-bottom: 24px;}
    .pro-tab { height: 34px; padding: 5px 16px; font-size: 16px;}
    .pro-more { margin-top: 24px;}
    .pro-seo { margin-top: 28px;}
    .pro-seo .content-text h1, .pro-seo .content-text h2, .pro-seo .content-text h3 { font-size: 16px;}

    /* [CHI TIẾT SP] 1 cột */
    .wrap-pro-detail .left-pro-detail { max-width: 590px; margin-inline: auto;}
    /* margin âm thumb không vượt padding .container (8px) */
    .wrap-pro-detail .gallery-pro-detail .slider-product-thumbs .slick-list { margin: 0 -6px;}
    .wrap-pro-detail .gallery-pro-detail .slider-product-thumbs .item { padding: 0 6px;}
    .wrap-pro-detail { padding: 14px 0 28px;}
    .wrap-pro-detail .left-pro-detail,
    .wrap-pro-detail .right-pro-detail { width: 100%;}
    .wrap-pro-detail .left-pro-detail { margin-bottom: 24px !important;}
    .wrap-pro-detail .gallery-pro-detail .gallery-pro-detail-left { margin-top: 16px;}
    .wrap-pro-detail #product-title { font-size: 18px; line-height: 24px;}
    .wrap-pro-detail .pro-desc-title, .wrap-pro-detail .pro-contact-label { font-size: 16px;}
    .wrap-pro-detail .pro-form-title { font-size: 18px;}
    .wrap-pro-detail .pro-form-submit { font-size: 16px;}
    .wrap-pro-info, .wrap-other { padding-bottom: 28px;}
    .wrap-other .title-main { margin-bottom: 20px;}
    .pro-info-tabs { gap: 24px; min-height: 52px; padding-left: 24px;}
    .pro-info-tabs:before, .pro-info-tabs:after { width: 160px;}
    .pro-info-tabs .nav-item + .nav-item:before { left: -12px; height: 26px;}
    .pro-info-tabs .nav-link { font-size: 18px; line-height: 52px;}
    .pro-info-box .tab-content { padding: 24px 16px 18px;}

    /* [TIN TỨC] */
    .loading-news .news-item .name { font-size: 16px;}

    /* [RIBBON %] thắng img{height:auto!important} của mốc này: icon co 22->12px làm số % lệch lên */
    .box-product .pro-ribbon > img { height: 100% !important;}
    .box-product .pro-ribbon-txt img { width: 22px; height: 22px !important;}
    .wrap-about { padding-top: 5px !important;} 
    .footer .footer-powered{
        margin-bottom: 60px;
    }
}

@media (max-width: 767.98px) {
    div#header {
        z-index: 1000;
        min-height: 46px;
    }

    .search-wrapper .btn {
        border-radius: 0;
        width: 36px;
    }

    .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 .footer-powered{
        margin-bottom: 70px;
    }

    .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;
    }

    /* [TRANG CHỦ] DANH MỤC */
    .category .cate-row { gap: 10px;}
    .category .category-item { flex: 0 0 calc(50% - 6px); border-radius: 35px;}
    .category .category-item > img { border-radius: 35px;}
    .category .category-item:after { height: 55px; border-radius: 0 0 35px 35px;}
    .category .cate-label { top: 22px; left: 16px;}
    .category .cate-label .l1 { font-size: 16px;}
    .category .cate-label .l2 { font-size: 18px;}

    /* [TRANG CHỦ] HERO */
    /* Dưới 768 mới tách panel thành hàng riêng, dạng lưới; đè .menu-left{width:100px;height:100vh} của boilerplate */
    .wrap-hero .hero-cate,
    .wrap-hero .hero-right { flex: 0 0 100%; width: 100%;}
    .wrap-hero .hero-cate .menu-left { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; width: 100%; height: auto; margin-block: 16px; padding: 10px 16px;}
    .wrap-hero .menu-left > li > a { padding: 8px 0;}
    .wrap-tintuc .tt-big { flex: 0 0 100%;}
    .wrap-hero .menu-left > li { font-size: 15px;}
    .wrap-hero .hero-criteria { gap: 12px;}
    .wrap-hero .criteria-item { padding: 7px 10px 10px;}
    .wrap-hero .criteria-item .name { font-size: 15px;}
    .wrap-hero .criteria-item .desc { font-size: 13px;}

    /* [CHUNG] HEADER */
    .banner-top { padding: 5px 0 !important;}
    .banner-top .logo img { max-width: 76px !important; max-height: 51px !important;}
    .banner-top .search-wrapper.active { width: 320px; height: 42px;}
    .banner-top .search-wrapper .btn-search { width: 42px !important; height: 42px !important;}

    /* [TRANG CHỦ] SECTION */
    .title-sec { font-size: 21px !important; margin-bottom: 18px !important;}
    .wrap-banner, .pro-hot { padding-top: 26px;}
    .pro-cate, .wrap-kh, .wrap-hinhanh, .wrap-tintuc { padding: 26px 0;}
    .wrap-seo { padding-bottom: 26px;}
    .pro-hot .pro-hot-box { padding: 24px 8px 8px;}
    .pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px;}
    .pro-cate .sec-head { flex-wrap: wrap; gap: 8px; margin-bottom: 16px;}
    .pro-cate .sec-line { display: none;}
    .pro-cate .sec-more { margin-left: auto;}   /* ẩn đường kẻ -> đẩy "xem tất cả" về bên phải */
    .pro-cate .sec-more { font-size: 15px;}
    .box-product .name-product { min-height: 20px; font-size: 15px;}
    .box-product .price-new { font-size: 15px;}
    .wrap-kh .khachhang-item { padding: 8px 16px 12px;}
    .wrap-kh .khachhang-item .info { gap: 14px;}
    .wrap-kh .khachhang-item .subname { font-size: 13px;}
    .wrap-kh .khachhang-item .desc { font-size: 13px; line-height: 20px;}
    .news-item { gap: 14px;}
    .news-item .image { flex: 0 0 140px;}
    .news-item .name { font-size: 15px;}
    .news-item .desc { font-size: 13px;}
    .wrap-hinhanh .ha-grid { --k: .6;}
    .link-more, .wrap-tintuc .tt-big .desc { font-size: 15px;}
    .wrap-seo .content-text { font-size: 15px;}
    .btn-main { gap: 12px; min-height: 40px; font-size: 15px;}
    .btn-main img, .btn-main .ic-down { width: 30px !important; height: 30px !important;}

    /* [FOOTER] cot hep -> bo canh giua theo cot, tra ve full width */
    .footer .footer-col-center .footer-col-inner { width: auto !important; margin-inline: 0 !important;}
    /* 2 cột link đứng cạnh nhau cho đỡ dài */
    .footer .footer-col-half { width: 50%;}
    .footer .footer-ul li { width: auto;}   /* bỏ li{width:50%} của boilerplate */
    .footer .footer-article { padding: 18px 0 24px;}
    .footer .footer-contact, .footer .footer-ul li a { font-size: 15px;}
    .footer .footer-copyright { font-size: 15px;}

    /* [GIỚI THIỆU] */
    .wrap-about, .wrap-tnsm, .wrap-giatri { padding: 26px 0;}
    .wrap-about .about-label { font-size: 15px;}
    .wrap-about .about-title { margin-top: 14px; font-size: 18px;}
    .wrap-about .about-desc, .wrap-tnsm .tnsm-desc, .wrap-about .about-seo .content-text { font-size: 15px;}
    .wrap-about .about-body { margin-top: 14px;}
    .wrap-about .about-title { margin-top: 0;}   /* khoảng cách chuyển lên .about-body để thanh vàng bắt đầu ngang tiêu đề */
    .wrap-about .about-desc { margin-top: 14px;}
    .wrap-about .about-desc p { margin-bottom: 16px;}
    .wrap-tnsm .tnsm-text { flex: 0 0 100%;}   /* dưới 768: chữ 1 hàng, ảnh xuống dưới */
    .wrap-giatri .gt-name { font-size: 15px;}
    .wrap-giatri .gt-desc { font-size: 15px;}
    .wrap-giatri .gt-icon { width: 76px; height: 76px;}

    /* [SẢN PHẨM] tab trượt ngang thay vì dồn nhiều hàng */
    .wrap-sanpham { padding-bottom: 26px;}
    .wrap-sanpham .title-main { margin-bottom: 16px;}
    .pro-tabs { flex-wrap: nowrap; gap: 10px; margin-bottom: 20px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none;}
    .pro-tabs::-webkit-scrollbar { display: none;}
    .pro-tab { flex-shrink: 0; height: 32px; padding: 4px 14px; font-size: 15px;}
    .pro-more { margin-top: 20px;}
    .pro-seo .content-text { font-size: 15px;}

    /* [CHI TIẾT SP] */
    .wrap-pro-detail { padding-bottom: 26px;}
    .wrap-pro-detail #product-title { font-size: 17px; line-height: 22px;}
    .wrap-pro-detail .price-new-pro-detail { font-size: 18px;}
    .wrap-pro-detail .pro-price-label, .wrap-pro-detail .price-old-pro-detail, .wrap-pro-detail .pro-desc { font-size: 15px;}
    .wrap-pro-detail .pro-desc { line-height: 22px;}
    .wrap-pro-detail .pro-desc-title, .wrap-pro-detail .pro-contact-label { font-size: 15px;}
    .wrap-pro-detail .pro-hotline { height: 44px; font-size: 18px;}
    .wrap-pro-detail .pro-form-title { font-size: 16px;}
    .wrap-pro-detail .pro-form .form-control { font-size: 15px;}
    .wrap-pro-info, .wrap-other { padding-bottom: 26px;}
    .pro-info-tabs { gap: 20px; min-height: 46px; padding-left: 16px;}
    .pro-info-tabs .nav-item + .nav-item:before { left: -10px; height: 22px;}
    .pro-info-tabs .nav-link { font-size: 16px; line-height: 46px;}
    .pro-info-box .content-text { font-size: 15px;}
    .pro-info-box .content-text h1, .pro-info-box .content-text h2, .pro-info-box .content-text h3 { font-size: 16px;}
    .wrap-pro-info #noidung { max-height: 520px;}

    /* [TIN TỨC] */
    .loading-news .news-item { gap: 8px;}
    .loading-news .news-item .name { font-size: 15px;}
    .loading-news .news-item .desc { font-size: 13px;margin-top: 5px;}

    /* [CHI TIẾT TIN] */
    .news-detail-sidebar .title-main-detail h2 { font-size: 18px;}
    #toc-content.content-text { font-size: 15px;}

    .wrap-hero .hero-row {gap: 0;}
}

@media (max-width: 575.98px) {
    .menu-left li {
        padding: 7px 5px;
    }

    .gird-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 238px);
        grid-gap: 5px 5px;
    }

    .box-images:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .gradient-title {
        width: 300PX;
    }

    .cart .text-start {
        display: NONE;
    }

    .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 {
        height: auto;
    }

    .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% / 3);
    }

    .wrap-brand .brand-item,
    .wrap-doitac .brand-item {
        width: calc(100% / 3 - .5rem);
    }

    .filter-brand .filter-dropdown-item {
        width: calc(100% / 3 - .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;
        order: -1;
    }

    .gallery-pro-detail .slider-product-thumbs {
        width: calc(100% - 85px);
    }

    .gallery-pro-detail .slider-products {
        width: 100%;
    }

    /* [CHUNG] HEADER */
    .banner-top .row { row-gap: 6px;}
    .banner-top .col-search { flex: 0 0 100%; order: 3; margin-left: 0;}
    .banner-top .hamburger-col { order: 2; margin-left: auto;}
    .banner-top .logo img { max-width: 68px !important; max-height: 46px !important;}
    .banner-top .search-wrapper.active { width: 100%; height: 40px;}
    .banner-top .search-wrapper .btn-search { width: 40px !important; height: 40px !important;}
    .banner-top .search-wrapper input { padding-left: 14px;}
    .banner-top .search-wrapper input,
    .banner-top .search-wrapper input::placeholder { font-size: 14px;}
    #header .header-bottom,
    #header .header-bottom .row { min-height: 50px;}

    /* [CHUNG] FOOTER */
    .footer .footer-logo img { max-width: 170px !important; max-height: 78px;}
    .footer .footer-top { padding: 16px 0;}
    .footer .footer-article { padding: 16px 0 20px;}
    .footer .footer-title { margin-bottom: 10px; font-size: 15px;}
    .footer .footer-contact, .footer .footer-ul li a { font-size: 14px;}
    .footer .footer-ul { gap: 10px;}
    .footer .footer-copyright { font-size: 14px;}
    .footer .footer-social img { width: 32px !important; height: 33px !important;}

    /* [TRANG CHỦ] NÚT SLIDER */
    .pro-slider .owl-nav button[class*="owl-"] { top: calc(50% - 17px); width: 34px; height: 34px;}
    .pro-slider .owl-nav button[class*="owl-"]:after { width: 7px; height: 14px;}
    .pro-hot .pro-hot-box { padding: 20px 6px 6px;}

    /* [TRANG CHỦ] SECTION */
    .title-sec { font-size: 19px !important; margin-bottom: 15px !important;}
    .wrap-banner, .pro-hot { padding-top: 22px;}
    .pro-cate, .wrap-kh, .wrap-hinhanh, .wrap-tintuc { padding: 22px 0;}
    .wrap-seo { padding-bottom: 22px;}
    .category { padding-top: 22px;}
    .category .cate-row { gap: 8px;}
    .category .cate-label .l1 { font-size: 15px;}
    .category .cate-label .l2 { font-size: 16px;}
    /* .wrap-hero .hero-row { gap: 16px;} */
    .wrap-hero .menu-left > li { font-size: 14px;}
    .wrap-hero .hero-criteria { flex-wrap: wrap; justify-content: center; gap: 10px;}
    .wrap-hero .criteria-item { flex: 0 0 calc(50% - 5px);}
    .wrap-hero .criteria-item .image img { width: 46px !important; max-width: none; height: 40px !important;}
    .wrap-hero .criteria-item .info { margin-top: 10px;}
    .wrap-hero .criteria-item .name { font-size: 14px;}
    .pro-cate .sec-head { margin-bottom: 14px;}
    .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px;}
    .box-product .name-product { min-height: 20px; font-size: 14px;}
    .box-product .price-new { font-size: 14px;}
    .box-product .price-old { font-size: 12px;}
    .box-product .price-product { gap: 8px;}
    .wrap-kh .khachhang-item .name { font-size: 15px;}
    .wrap-kh .khachhang-item .image img { width: 50px !important; height: 50px !important;}
    .wrap-hinhanh .ha-grid { --k: .5;}
    .news-item .image { flex: 0 0 120px;}
    .wrap-tintuc .tt-row { gap: 12px;}
    .wrap-tintuc .tt-big .info { margin-top: 10px;}
    .wrap-tintuc .tt-big .name { font-size: 15px;}
    .wrap-tintuc .tt-big .desc { font-size: 14px;}
    .news-item .name { font-size: 14px;}
    .news-item .desc { font-size: 13px;}
    .link-more, .pro-cate .sec-more { font-size: 14px; gap: 10px; margin-block: 0;}
    .wrap-seo .content-text { font-size: 14px;}
    .btn-main { gap: 10px; min-height: 38px; font-size: 13px;}
    .btn-main img, .btn-main .ic-down { width: 28px !important; height: 28px !important;}

    /* [GIỚI THIỆU] */
    .wrap-about, .wrap-tnsm, .wrap-giatri { padding: 22px 0;}
    .wrap-about {padding-top: 0 !important;}
    .wrap-about .about-label { font-size: 14px;}
    .wrap-about .about-seo .content-text { font-size: 14px; text-align: left;}   /* canh đều màn hẹp bị hở chữ */
    .wrap-about .about-title { font-size: 16px;}
    .wrap-about .about-desc, .wrap-tnsm .tnsm-desc { font-size: 14px;}
    .wrap-about .about-desc { margin-top: 12px;}
    .wrap-about .about-desc p { margin-bottom: 14px;}
    .wrap-giatri .gt-circle { gap: 16px;}
    .wrap-giatri .gt-item { flex-basis: calc(50% - 8px);}
    .wrap-giatri .gt-icon { width: 68px; height: 68px;}
    .wrap-giatri .gt-name { font-size: 14px;}
    .wrap-giatri .gt-desc { font-size: 14px;}

    /* [SẢN PHẨM] */
    .wrap-sanpham { padding-bottom: 22px;}
    .pro-tab { height: 30px; padding: 4px 12px; font-size: 14px;}
    .pro-more .product-load-more { min-width: 0;}
    .pro-seo { margin-top: 22px;}
    .pro-seo .content-text h1, .pro-seo .content-text h2, .pro-seo .content-text h3 { font-size: 15px;}
    .pro-seo .content-text { font-size: 14px; text-align: left;}

    /* [CHI TIẾT SP] */
    .wrap-pro-detail, .wrap-pro-info, .wrap-other { padding-bottom: 22px;}
    .wrap-pro-detail #product-title { font-size: 16px;}
    .wrap-pro-detail .price-new-pro-detail { font-size: 17px;}
    .wrap-pro-detail .price-discount-pro-detail { height: 22px; padding: 2px 8px; font-size: 13px;}
    .wrap-pro-detail .pro-price-label, .wrap-pro-detail .price-old-pro-detail, .wrap-pro-detail .pro-desc { font-size: 14px;}
    .wrap-pro-detail .pro-contact { gap: 10px 16px;}
    .wrap-pro-detail .pro-hotline { height: 40px; padding: 0 16px; font-size: 17px;}
    .wrap-pro-detail .pro-form-row { grid-template-columns: minmax(0, 1fr); gap: 10px;}
    .wrap-pro-detail .pro-form .form-control { font-size: 14px;}
    .wrap-pro-detail .pro-form-submit { margin-top: 12px; font-size: 15px;}
    .wrap-pro-detail .gallery-pro-detail .slider-product-thumbs .slick-list { margin: 0 -5px;}
    .wrap-pro-detail .gallery-pro-detail .slider-product-thumbs .item { padding: 0 5px;}
    .pro-info-tabs { gap: 16px; min-height: 42px; padding: 0 12px;}
    .pro-info-tabs:before, .pro-info-tabs:after { width: 90px;}
    .pro-info-tabs .nav-item + .nav-item:before { left: -8px; height: 20px;}
    .pro-info-tabs .nav-link { font-size: 15px; line-height: 42px;}
    .pro-info-box .tab-content { padding: 18px 12px 14px;}
    .pro-info-box .content-text { font-size: 14px; line-height: 20px;}
    .pro-info-box .content-text h1, .pro-info-box .content-text h2, .pro-info-box .content-text h3 { font-size: 15px;}
    .wrap-pro-info #noidung { max-height: 420px;}

    /* [TIN TỨC] */
    .loading-news .news-item .name { font-size: 14px;}

    /* [CHI TIẾT TIN] */
    #toc-content.content-text { font-size: 14px;}
    .wrap-pro-detail .pro-hotline img {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 380.98px) {
    .product-video {
        width: 60px;
        height: 60px;
    }

    /* [CHUNG] HEADER */
    .banner-top .logo img { max-width: 60px !important; max-height: 40px !important;}
    .banner-top .search-wrapper.active { height: 38px;}
    .banner-top .search-wrapper .btn-search { width: 38px !important; height: 38px !important;}
    .banner-top .search-wrapper input,
    .banner-top .search-wrapper input::placeholder { font-size: 13px;}

    /* [TRANG CHỦ] SECTION */
    .title-sec { font-size: 17px !important;}
    .pro-grid { gap: 12px 8px;}
    .box-product .name-product { min-height: 20px; font-size: 13px;}
    .box-product .info-product { padding: 6px 6px 0;}
    .box-product .pro-ribbon { width: 66px; height: 29px;}
    .box-product .pro-ribbon-txt { top: 2px; bottom: 4px;}
    .box-product .pro-ribbon-txt b { font-size: 12px;}
    .box-product .pro-ribbon-txt img { width: 18px; height: 18px !important; margin: 0 -4px;}
    .news-item { gap: 10px;}
    .news-item .image { flex: 0 0 100px;}
    .wrap-tintuc .tt-big .name { font-size: 14px;}
    .wrap-tintuc .tt-big .desc { font-size: 13px;}
    .wrap-tintuc .tt-list { gap: 8px;}
    .news-item .name { font-size: 13px;}
    .wrap-seo .content-text { font-size: 13px;}
    .wrap-banner, .pro-hot { padding-top: 16px;}
    .pro-cate, .wrap-kh, .wrap-hinhanh, .wrap-tintuc { padding: 16px 0 !important;}
    .wrap-seo { padding-bottom: 16px;}
    .category { padding-top: 16px;}
    .category .cate-label { top: 16px; left: 12px;}
    .category .cate-label .l1 { font-size: 14px;}
    .category .cate-label .l2 { font-size: 15px;}
    .wrap-hero .hero-cate .menu-left { gap: 0 12px; padding: 8px 12px;}
    .wrap-hero .menu-left > li { font-size: 13px;}
    .wrap-hero .criteria-item { padding: 6px 8px 8px;}
    .wrap-hero .criteria-item .image img { width: 40px !important; height: 35px !important;}
    .pro-hot .pro-hot-box { padding: 16px 5px 5px;}
    .pro-cate .sec-head { margin-bottom: 12px;}
    .pro-cate .sec-more, .link-more { font-size: 13px;}
    .box-product .price-new { font-size: 13px;}
    .wrap-kh .khachhang-item { padding: 8px 12px 10px;}
    .wrap-kh .khachhang-item .info { gap: 12px;}
    .wrap-kh .khachhang-item .name { font-size: 14px;}
    .wrap-kh .khachhang-item .image img { width: 46px !important; height: 46px !important;}
    .wrap-kh .khachhang-item .stars img { width: 15px !important; height: 15px !important;}
    .wrap-hinhanh .ha-grid { --k: .45;}
    .btn-main { min-height: 36px; font-size: 10px;}
    .btn-main img, .btn-main .ic-down { width: 26px !important; height: 26px !important;}
    .footer .footer-logo img { max-width: 150px !important;}
    .footer .footer-article { padding: 14px 0 16px;}
    .footer .footer-title { font-size: 14px;}
    .footer .footer-contact, .footer .footer-ul li a { font-size: 13px;}
    .footer .footer-ul { gap: 8px;}
    .footer .footer-copyright { font-size: 13px;}
    .footer .footer-social img { width: 30px !important; height: 31px !important;}

    /* [GIỚI THIỆU] */
    .breadCrumbs .container .breadcrumb-item a { font-size: 13px;}
    .wrap-about, .wrap-tnsm, .wrap-giatri { padding: 16px 0;}
    .wrap-about .about-label { font-size: 13px;}
    .wrap-about .about-title { margin-top: 10px; font-size: 15px;}
    .wrap-about .about-desc, .wrap-tnsm .tnsm-desc, .wrap-about .about-seo .content-text { font-size: 13px;}
    .wrap-about .about-body { margin-top: 10px;}
    .wrap-about .about-title { margin-top: 0;}
    .wrap-about .about-desc { margin-top: 10px;}
    .wrap-about .about-desc p { margin-bottom: 12px;}
    .wrap-giatri .gt-desc { font-size: 13px;}
    .wrap-giatri .gt-icon { width: 60px; height: 60px;}

    /* [SẢN PHẨM] */
    .wrap-sanpham { padding-bottom: 16px;}
    .pro-tabs { gap: 8px; margin-bottom: 16px;}
    .pro-tab { padding: 4px 10px; font-size: 13px;}
    .pro-more { margin-top: 16px;}
    .pro-seo { margin-top: 16px;}
    .pro-seo .content-text h1, .pro-seo .content-text h2, .pro-seo .content-text h3 { font-size: 14px;}
    .pro-seo .content-text { font-size: 13px;}

    /* [CHI TIẾT SP] */
    .wrap-pro-detail, .wrap-pro-info, .wrap-other { padding-bottom: 16px;}
    .wrap-pro-detail #product-title { font-size: 15px; line-height: 20px;}
    .wrap-pro-detail .price-new-pro-detail { font-size: 16px;}
    .wrap-pro-detail .pro-price-label, .wrap-pro-detail .price-old-pro-detail, .wrap-pro-detail .pro-desc { font-size: 13px;}
    .wrap-pro-detail .pro-desc-title, .wrap-pro-detail .pro-contact-label { font-size: 14px;}
    .wrap-pro-detail .pro-hotline { height: 38px; font-size: 16px;}
    .wrap-pro-detail .pro-form-title { font-size: 15px;}
    .wrap-pro-detail .pro-form-submit { font-size: 14px;}
    .pro-info-tabs .nav-link { font-size: 14px;}
    .pro-info-box .content-text { font-size: 13px;}
    .pro-info-box .content-text h1, .pro-info-box .content-text h2, .pro-info-box .content-text h3 { font-size: 14px;}

    /* [TIN TỨC] */
    .loading-news .news-item .name { font-size: 13px;}

    /* [CHI TIẾT TIN] */
    .news-detail-sidebar .title-main-detail h2 { font-size: 16px;}
    #toc-content.content-text { font-size: 13px;}
}