@media (min-width: 991px) {
    .header.is-scroll ~ .main .sidebar-right {
        position: sticky;
        top: 155px;
        transition: var(--transition);
    }
}

@media (min-width: 1200px) {
    .header .header-navigation > ul > li > ul > li:hover > ul,
    .header .header-navigation > ul > li:hover > .category-list__wrap,
    .header .header-navigation > ul > li:hover > .mega-category,
    .header .header-navigation > ul > li > .mega-category ul > li:hover .mega-category__level2 {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .header-logo {
        width: 180px;
    }

    .header-hamburger {
        order: 3;
    }

    .header-navigation {
        position: relative;
        overflow: hidden;
    }

    .header-navigation .navigation-sub {
        position: absolute;
        inset: 0;
        transform: translateX(-200%);
        transition: transform .3s ease;
        z-index: 10;
    }

    .header .header-navigation > ul > li > .mega-category ul > li .mega-category__level2,
    .header .header-navigation > ul > li > .category-list__wrap,
    .header .header-navigation > ul > li > .mega-category,
    .header-navigation {
        position: fixed !important;
        top: 0;
        left: 0;
        max-width: 400px;
        width: 100%;
        background-color: var(--bs-white);
        height: 100vh;
        z-index: 21;
        transform: translateX(-200%);
        transition: all 0.5s ease-in-out;
        transition-delay: 0.1s;
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
    }


    .header-navigation li.navigation-sub_show > .navigation-sub,
    .header-navigation li.navigation-sub_show > .navigation-sub > ul {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }


    .header .header-navigation > ul > li > .mega-category ul > li > a .mega-category__icon,
    .header .header-navigation > ul > li .category-list__wrap ul > li > a .navigation-icon {
        display: none;
    }

    .is-navigation .header-navigation {
        transform: translateX(0);
    }

    .is-navigation .header .header-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    .header .header-bottom .header-category .navigation-sub > ul,
    .header .header-navigation > ul {
        flex-direction: column;
        padding: 10px;
        overflow-x: auto;
    }

    .header .header-navigation > ul > li {
        width: 100%;
    }

    .header .header-navigation > ul > li > a {
        color: var(--secondary-color);
        padding: 15px 10px;
    }

    body.is-category,
    body.is-navigation {
        overflow: hidden;
    }

    .header .header-navigation > ul > li > ul > li > a:hover {
        border-left: 3px solid transparent;
    }


    .header .header-navigation > ul > li > .category-list__wrap ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    .header .header-navigation > ul > li > .category-list__wrap ul.collapse {
        display: none;
    }

    .header .header-navigation > ul > li > .category-list__wrap ul.collapse.show {
        display: block;
    }

    .header .header-navigation > ul > li > .category-list__wrap ul > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }


    .header .header-navigation > ul > li > .category-list__wrap ul > li > a {
        display: flex;
        align-items: center;
        padding: 14px 16px 14px 20px;
        font-weight: 600;
        color: #212529;
        text-transform: uppercase;
        position: relative;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .header .header-navigation .mega-category__title {
        white-space: nowrap;
        color: var(--secondary-color);
        padding: 15px 10px;
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: space-between;
        font-weight: 600;
        width: 100%;
        transition: var(--transition);
        margin-bottom: 0;
        font-size: 14px !important;
        text-align: left !important;
    }

    .header .header-navigation > ul > li > .mega-category ul > li ul > li > a {
        padding: 0;
        border: none;
    }

    .header .header-navigation > ul > li > .mega-category ul > li ul > li > a .mega-category__name {
        white-space: nowrap;
        color: var(--secondary-color);
        padding: 15px 10px;
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: space-between;
        font-weight: 600;
        width: 100%;
        transition: var(--transition);
        font-size: 1em !important;
    }


    .header .header-navigation > ul > li > .mega-category ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    .header .header-navigation > ul > li > .mega-category ul > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .header .header-navigation > ul > li > a i,
    .mega-category__title i {
        display: block;
        transform: rotate(-90deg);
    }


    .header-mobile_header {
        padding: 6px 60px 6px 15px;
        height: 55px;
        background: var(--secondary-color);
        display: block;
    }

    .header-mobile_header > button {
        width: 40px;
        height: 40px;
        outline: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        z-index: 100;
        top: 5.5px;
        position: absolute;
        right: 5px;
        background: var(--primary-color);
    }

    .header-mobile_header > button svg {
        stroke: var(--bs-white);
    }

    .li-header {
        padding: 6px 60px 6px;
        background: var(--secondary-color);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        text-align: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
        height: 55px;
        color: var(--bs-white);
        font-size: 1em;
        font-weight: 600;
        text-transform: uppercase;
    }

    .li-header > button {
        width: 50px;
        height: 50px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-transition: -webkit-transform .3s ease-in-out;
        transition: -webkit-transform .3s ease-in-out;
        -o-transition: transform .3s ease-in-out;
        transition: transform .3s ease-in-out;
        transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
        border: 0;
        padding: 0;
        border-radius: 0;
        background: transparent;
        outline: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        color: var(--bs-white);
        position: absolute;
        left: 0;
        top: 5px;
    }

}


@media (max-width: 1024px) {
    .header-logo {
        width: 160px;
    }

    .section-heading .heading-title {
        font-size: 1.9em;
    }

    .section-heading .heading-description {
        font-size: 1em;
    }

    .section-heading .heading-title-2 {
        font-size: 1.7em;
    }

    .hero-content .hero-content_title {
        font-size: 1.6em;
    }

    .page-article .article-content .article-title {
        font-size: 1.8em;
    }

    #detailContent h1 {
        font-size: 1.5em;
    }

    #detailContent h2 {
        font-size: 1.45em;
    }

    #detailContent h3 {
        font-size: 1.4em;
    }

    #detailContent h4 {
        font-size: 1.35em;
    }

    #detailContent h5 {
        font-size: 1.3em;
    }

    #detailContent h6 {
        font-size: 1.25em;
    }
}


@media (max-width: 991px) {

    .section-hero .swiper-pagination {
        left: 3%;
        gap: 8px;
    }

    .section-hero .swiper-pagination .swiper-pagination-bullet {
        width: 26px;
        height: 26px;
    }

    .section-hero .swiper-pagination .swiper-pagination-bullet:before {
        width: 8px;
        height: 8px;
    }

    .header-category__title {
        height: 40px;
    }

    .hero-content .hero-content_title {
        font-size: 1.4em;
    }

    .hero-content .hero-content_desc {
        font-size: 1em;
    }


    .button-theme {
        font-size: 0.95em;
        padding: 8px 18px;
    }

    .header-search .form-control {
        height: 40px;
    }

    .header-search .header-search__icon {
        width: 50px;
        height: 34px;
        font-size: 0.9em;
    }

    .sidebar-filter {
        position: fixed;
        top: 0;
        left: 0;
        max-width: 290px;
        width: 100%;
        height: 100vh;
        z-index: 30;
        background-color: var(--bs-white);
        border-right: 1px solid rgba(119, 119, 119, 0.12);
        transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        border-radius: 0 8px 8px 0 !important;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }

    .show-filter .sidebar-filter {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .filter-button {
        max-width: 120px;
        width: 100%;
    }

    .footer {
        margin-bottom: 59px;
    }

    .floating-contact {
        bottom: 0;
        left: 0;
        top: unset;
        width: 100%;
        border: unset;
        border-radius: 0;
        padding: 5px;
        background-color: var(--primary-color) !important;
        z-index: 9;
    }

    .floating-contact .floating-item {
        width: calc(100% / 3);
        color: var(--primary-color-10);
        height: 100%;
    }

    .floating-contact .floating-item.scroll-top__mobile {
        display: flex !important;
    }

    .floating-contact .floating-item:not(:last-child) {
        margin-bottom: 0;
    }

    .floating-contact .floating-item:not(:first-child) {
        border-left: 1px solid #f3f0f017;
    }

    .floating-contact .floating-item .image,
    .floating-contact .floating-item .icon {
        width: 28px;
        height: 28px;
    }

    .floating-contact .floating-item .image img {
        padding: 4px;
    }

    .floating-contact .floating-item .title {
        font-weight: 400 !important;
    }

    .floating-contact .floating-item .icon {
        font-size: 15px;
    }

    .floating-contact .floating-item:hover {
        color: var(--bs-white);
    }

    .scroll-top {
        display: none !important;
    }

    .section-why .why-right {
        position: relative !important;
        width: 100%;
        height: auto;
    }

    .section-why .why-right::before {
        background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.85) 35%,
                rgba(0, 0, 0, 0.4) 65%,
                rgba(0, 0, 0, 0) 100%
        );
    }

    .section-counter .counter-number {
        font-size: 1.3rem;
    }

    .section-counter .counter-number .odometer {
        font-size: 2.4rem;
    }

    .section-counter .counter-content .title {
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .section-sort .product-sort {
        width: 240px;
    }

    .section-sort .list-price-sort {
        padding: 6px;
    }

    .section-sort .list-price-sort > li > a {
        padding: 8px 12px;
    }

    .category-product .section-product_category .section-heading .heading-title {
        font-size: 1.2rem;
    }

    .section-counter .counter-box {
        padding-bottom: 12px;
    }

    .section-counter .counter-number {
        font-size: 1.1rem;
    }

    .section-counter .counter-number .odometer {
        font-size: 2rem;
        line-height: 1.1;
    }

    .section-counter .counter-content .title {
        font-size: 0.9rem;
        margin-top: 10px;
    }

    .box-choose__content {
        margin-top: 0 !important;
    }
}

@media (max-width: 576px) {
    .section-hero .swiper-pagination .swiper-pagination-bullet {
        width: 22px;
        height: 22px;
    }

    .section-hero .swiper-pagination .swiper-pagination-bullet:before {
        width: 6px;
        height: 6px;
    }

    .box-choose__item {
        width: 100% !important;
    }

    .section-partner .section-heading .heading-title::before,
    .section-partner .section-heading .heading-title::after {
        display: none;
    }

    .category-product .section-product_category .section-heading .heading-title {
        font-size: 1.1rem;
    }


    .section-heading .heading-title {
        font-size: 1.8em;
    }

    .section-heading .heading-title-2 {
        font-size: 1.6em;
    }

    .page-article .article-content .article-title {
        font-size: 1.6em;
    }

    #detailContent h1 {
        font-size: 1.35em;
    }

    #detailContent h2 {
        font-size: 1.3em;
    }

    #detailContent h3 {
        font-size: 1.25em;
    }

    #detailContent h4 {
        font-size: 1.2em;
    }

    #detailContent h5 {
        font-size: 1.15em;
    }

    #detailContent h6 {
        font-size: 1.1em;
    }

    .filter-button {
        width: 39px;
        padding: 0;
        height: 39px;
    }

    .page-detail .section-breadcrumb .breadcrumb-item:last-child {
        display: none !important;
    }

    .section-hero__right {
        overflow-y: auto;
    }
}

@media (max-width: 460px) {
    .detail-product__item {
        width: 47%;
    }

    .page-contact .contact-list {
        padding: 25px 20px;
    }
}

@media (max-width: 375px) {
    .detail-product__item {
        width: 100%;
    }


    .search-result .image {
        width: 60px;
        height: 60px;
    }

    .search-result .wrap-price .price {
        font-size: 0.9em;
    }
}
