@media only screen and (max-width: 1024px) {
    .v-megamenu-title .title-text, .post-right .title-block {
        font-size: 15px;
    }
    .header-content .hotline, .search-title {
        font-size: 13px;
    }
    .footer {
        font-size: 15px;
    }
}
@media only screen and (max-width: 991px) {
    #header-menu {
        display: none !important;
    }
    .menu-toggle {
        display: block;
        position: fixed;
        left: 20px;
        top: 35px;
        z-index: 999;
        color: #327ad0;
        padding: 3px 9px;
        border-radius: 50%;
        background-color: #ffffff;
        border: 1px solid #327ad0;
        transition: top 0.3s ease;
    }
    .menu-toggle.scrolled {
        top: 20px;
    }
    #header-menu-mobile {
        top: 0;
        bottom: 0;
        width: 40%;
        z-index: 999;
        display: block;
        overflow-y: auto;
        padding: 15px 30px;
        position: fixed;
        background-color: #ffffff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-right: 1px solid #327ad0;
    }
    #header-menu-mobile .mega-menu ul {
        max-height: 100vh;
        overflow-y: auto;
    }
    #header-menu-mobile.menu-active {
        transform: translateX(0);
    }
    #header-menu-mobile .mega-menu ul {
        flex-direction: column;
    }
    #header-menu-mobile .mega-menu ul li {
        padding: 10px 0;
    }
    #header-menu-mobile .mega-menu ul li a {
        color: #262626;
    }
    #header-menu-mobile .mega-menu ul li.root-menu:not(:last-child) {
        border-bottom: 1px dashed #ebebeb;
    }
    #header-menu-mobile .mega-menu ul li .root-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #header-menu-mobile .mega-menu ul li .root-item>.btn {
        padding: 0;
    }
    #header-menu-mobile .mega-menu .menu-items {
        padding-left: 15px;
    }
    #header-menu-mobile .mega-menu .menu-items ul {
        display: flex;
    }
    #header-menu-mobile .menu-close {
        top: 0;
        right: 0;
        padding: 0;
        line-height: 1;
        font-size: 30px;
        color: #262626;
        position: absolute;
    }
    .header-content {
        border-bottom: 1px solid #ebebeb;
    }
    .header-content .logo {
        text-align: center;
        margin-bottom: 15px;
    }
    .icon-has-sub {
        margin-left: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .icon-has-sub.rotate {
        transform: rotate(45deg);
    }
    .horizontal-product .product .product-description {
        padding: 7px 8px;
    }
    .horizontal-product .product .product-description .name {
        font-size: 17px;
    }
    .horizontal-product .product .product-description .product-price .pro-price-new {
        font-size: 17px;
    }
    .horizontal-product .product .product-description .product-price .pro-price-old,
    .horizontal-product .product .product-description .product-price .product-price-right {
        font-size: 13px;
    }
    .v-megamenu-container {
        border: none;
        box-shadow: none;
        margin-bottom: 20px;
    }
    .v-megamenu {
        border: none;
        box-shadow: none;
    }
    .v-megamenu ul {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .v-megamenu ul li {
        padding: 8px 10px;
        border-radius: 5px;
        border: 1px solid #327ad0;
    }
    .v-megamenu > ul > li > a {
        padding: 0;
        border: none;
        line-height: 1;
        font-size: 15px;
    }
    .v-megamenu > ul > li > a:hover {
        text-decoration: none;
    }
    .footer .info-content {
        text-align: center;
    }
    .footer .company, .footer .tag {
        margin-top: 50px;
        text-align: center;
    }
    .footer .footer-tag .list-tag {
        justify-content: center;
    }
}
@media only screen and (max-width: 767px) {
    .header-content .logo {
        margin-bottom: 0;
    }
    .header-search, .header-right {
       display: none;
    }
    .header-search-mobile {
        bottom: 0;
        gap: 15px;
        left: 15px;
        right: 15px;
        display: flex;
        position: fixed;
        padding-bottom: 30px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        background-color: #ffffff;
    }
    .header-search-mobile .search {
        display: flex;
        border-radius: 3px;
        border: 1px solid #ebebeb;
    }
    .header-search-mobile .search input {
        border: none;
        border-radius: unset;
        border-right: 1px solid #ebebeb;
    }
    .header-search-mobile .hotline a, .header-content .hotline i {
        color: #ff0000;
    }
    .product-content .price {
        justify-content: center;
    }
    .product .product-info {
        margin-top: 30px;
    }
    .product .product-info,
    .product-content .description .title,
    .product-content .real-img .title {
        text-align: center;
    }
    .product .description {
        text-align: justify;
    }
    .related-product h4 {
        text-align: center;
    }
    .breadcrumbs ul {
        justify-content: center;
    }
    .product-content .product-name {
        text-align: center;
    }
    .project-detail .description {
        text-align: justify;
    }
}

@media only screen and (max-width:575px) {
    #header-menu-mobile {
        width: 60%;
    }
}
