@media (max-width:1024px) {
    .menu ul li a {
        text-align: center;
        padding: 10px 10px
    }
}

@media (max-width:870px) {
    .title-main h2, .title-main h3, .title-main h4, .title-main h5, .title-main h6, .title-main p{
        font-size: 25px;
    }
    div.wrap-hoptac{
        
background: url(../images/bg-nhantin.jpg) no-repeat top #254377;
        
background-size: 100% 50%;
    }
    .chinhanh_flex {
        flex-direction: column;
        gap: 0
    }

    .chinhanh_left,
    .chinhanh_right {
        width: 100%
    }

    .gridNews {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .flex_pro_detail {
        flex-direction: column;
        gap: 30px
    }

    .left_pro_detail,
    .right_pro_detail {
        width: 100%
    }

    .gridProduct {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .spacer {
        margin: 40px 0
    }

    .header_wrap,
    .menu {
        display: none !important
    }

    .menu-res {
        display: block
    }

    .logo-mb {
        display: inline-block;
        text-align: center
    }

    .hidden_destop {
        display: block
    }

    .menu_baophu {
        background: #000;
        opacity: .8;
        z-index: 998;
        left: 0;
        top: 0;
        position: fixed;
        width: 100%;
        height: 100%;
        display: none
    }

    .icon_menu_mobi {
        color: var(--maincolor);
        font-size: 25px;
        text-decoration: none;
        width: 35px;
        display: block;
        cursor: pointer;
        margin: 0;
        text-align: center
    }

    a.home_mobi {
        color: #fff;
        text-decoration: none;
        float: right;
        font-size: 20px
    }

    .logo-mobi {
        width: calc(100% - 100px);
        float: left;
        display: block;
        text-align: center;
        padding: 5px 0
    }

    .logo-mobi img {
        max-width: 110px !important;
    }

    .search-res {
        position: relative;
        width: 40px
    }

    .search-res .icon-search {
        width: 40px;
        height: 40px;
        cursor: pointer;
        text-align: center;
        line-height: 42px;
        color: var(--maincolor);
        font-size: 17px;
        margin: 0
    }

    .search-res .icon-search.active {
        background: #fff;
        border-radius: 100%;
        color: var(--maincolor);
        border: solid 1px var(--maincolor)
    }

    .search-res .search-grid {
        position: absolute;
        top: 43px;
        right: 0;
        width: 0;
        height: 40px;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--maincolor);
        z-index: 2;
        opacity: 0;
        border-radius: 25px;
        line-height: normal
    }

    .search-res .search-grid p {
        float: left;
        width: 35px;
        height: 38px;
        cursor: pointer;
        outline: 0;
        border: none;
        margin: 0;
        font-size: 17px;
        display: block;
        color: var(--maincolor);
        line-height: 40px;
        text-align: center
    }

    .search-res .search-grid input {
        width: calc(100% - 35px);
        float: right;
        outline: 0;
        border: none;
        color: #666363;
        font-size: 13px
    }

    .search-res .search-grid input::-webkit-input-placeholder {
        color: #ccc
    }

    .search-res .search-grid input:-moz-placeholder {
        color: #ccc
    }

    .search-res .search-grid input::-moz-placeholder {
        color: #ccc
    }

    .search-res .search-grid input:-ms-input-placeholder {
        color: #ccc
    }

    .menu_mobi {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        padding: 0 10px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        cursor: pointer;
        position: sticky;
        top: 0;
        z-index: 990;
        background: #fff
    }

    .menu_mobi_add {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 350px;
        max-width: 85%;
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, .05);
        transition: .5s;
        z-index: 9999999
    }

    .menures_inner {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 100%
    }

    .menures_header {
        padding: 15px;
        position: relative;
        background: #f7f7f7
    }

    .menures_content {
        padding: 5px;
        position: relative;
        overflow-y: scroll;
        height: 100%;
        -webkit-overflow-scrolling: touch;
        -ms-scroll-chaining: none;
        overscroll-behavior: none
    }

    .menu_mobi_active {
        left: 0;
        transition: .5s
    }

    .menu_mobi_add ul {
        list-style: none;
        padding: 0;
        margin: 0
    }

    .menu_mobi_add ul li.li-tim {
        display: none
    }

    .menu_mobi_add ul li h2 {
        font-size: 17px;
        margin-bottom: 0
    }

    .menu_mobi_add ul li b {
        display: inline-block;
        vertical-align: top;
        margin-right: 8px
    }

    .menu_mobi_add ul li b img {
        display: inline-block;
        vertical-align: top
    }

    .menu_mobi_add ul li a {
        color: #191919;
        display: block;
        padding: 5px 30px 5px 9px;
        position: relative;
        font-size: 15px;
        margin-bottom: 5px;
        transition: .5s !important;
        font-weight: 500;
        text-transform: capitalize;
    }

    .menu_mobi_add ul li a.active2 {
        color: #fff;
        box-shadow: 0 0 0 25px var(--maincolor) inset
    }

    .menu_mobi_add ul li a i {
        position: absolute;
        right: 5px;
        transform: rotate(0);
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: var(--maincolor);
        border-radius: 50%;
        top: calc(50% - 25px / 2)
    }

    .menu_mobi_add ul li a.active2 i {
        transform: rotate(90deg);
        color: #fff
    }

    .menu_mobi_add ul ul {
        display: none;
        padding-left: 15px;
        margin: 5px 0 10px 0
    }

    .menu_mobi_add ul li ul li a {
        padding-left: 20px;
        color: #6f6f6f
    }

    .menu_mobi_add ul li ul li ul li a {
        padding-left: 20px
    }

    .menu_mobi_add ul li:last-child a {
        margin-bottom: 0
    }

    .thongtin-mb ul li {
        list-style: none;
        color: #000;
        font-weight: 500;
        margin-bottom: 15px
    }

    .thongtin-mb ul li:last-child {
        margin-bottom: 0
    }

    .thongtin-mb ul li i {
        font-size: 19px;
        margin-right: 10px;
        color: var(--maincolor)
    }

    .close_menu {
        color: #000;
        display: inline-block;
        cursor: pointer;
        font-size: 15px;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 25px;
        line-height: 23px;
        text-align: center;
        border: solid 1px #d7d7d7;
        border-radius: 50%
    }

    .menures_footer {
        padding: 15px;
        margin-top: auto;
        background: #f7f7f7
    }
}

@media (max-width:600px) {
    div.box-info-hanhtrinh > p.title-hanhtrinh{
        
font-size: 34px;
    }
    div.box-info-hanhtrinh .block-name{
    font-size: 14px;
    padding: 13px;
}
div.box-info-hanhtrinh{
    left: 0;
}
    .product__name.text-split {
        font-size: 14px
    }

    .gridProduct {
        grid-template-columns: repeat(2, 1fr)
    }

    .control_slide {
        display: none;
    }
}

@media (max-width:440px) {
    .list_monnb {
        display: grid;
        grid-template-columns: 1fr
    }
}