@media screen and (max-width: 1250px) {
    .menu-pc,.form-search,.header .logo-desktop,.menu::before,.service-desktop{display: none!important;}
    .header{padding-left: 0;}
    .header .header-right{width: 100%;}
    .menu{background-color: #fff;}
    .menu .container{justify-content: center!important;}
    .menu-mobile{ display: flex!important; position: absolute; left: 10px; top: 50%; transform:translate(0,-50%) ; -webkit-transform:translate(0,-50%) ; -moz-transform:translate(0,-50%) ; -ms-transform:translate(0,-50%) ; -o-transform:translate(0,-50%) ; }
    .container,.menu.fixed .container{max-width: 100%;}
    .map_footer iframe{margin-top: 3rem;}
    .logo-res{display: block!important;}
    .menu.fixed .logo-res{max-width: 60px;}
    .item-estate{width: 100%;}
    .container-estate .hex-big{background: initial;}
    .item-estate-2{left: 84%;}
    .item-estate-5{right: 84%}
    .section-service{display: block!important;}
    .register-left{padding-left: 1rem;}
    .fs-32{font-size: 30px;}
    .fs-20{font-size: 18px;}
    .estate-grid .item-estate:nth-child(1),.estate-grid .item-estate:nth-child(3),.estate-grid .item-estate:nth-child(5){flex-direction: row-reverse;text-align: right;}
    .estate-grid .item-estate:nth-child(1) .line::before,.estate-grid .item-estate:nth-child(3) .line::before,.estate-grid .item-estate:nth-child(5) .line::before{right: initial;left: -7px;}
    .estate-grid .item-estate:nth-child(1) .content::before,.estate-grid .item-estate:nth-child(3) .content::before,.estate-grid .item-estate:nth-child(5) .content::before{background: linear-gradient(to left, #20407B, rgba(255,255,255,0))}
}

@media screen and (max-width:992px) {
    .product__grid {grid-template-columns:repeat(3, calc(33.33% - (20px * 2 / 3)))}
    .news__grid{grid-template-columns: repeat(3,1fr);}
    .table-wishlist{min-width: 900px;}
    .header-top{display: none!important;}
    .fs-32{font-size: 28px;}
    .estate-grid{grid-template-columns: 100%;}
    .fs-24{font-size: 22px;}
}

@media screen and (max-width:768px) {
    .fs-32{font-size: 25px;}
    .fs-20{font-size: 16px;}
    body{font-size: 15px;}
    .product__grid {grid-template-columns:repeat(2, calc(50% - (15px / 2)));grid-gap:40px 15px}
    .news__grid{grid-template-columns: repeat(2,1fr);gap: 15px;}
    .register-image{clip-path: none;}
    .modal-dialog{max-width: 90%;margin: auto;padding: .5rem 0;}
    .fs-28{font-size: 22px;}
}

@media screen and (max-width:576px) {
    .scrollToTop {width: 35px;height: 35px;right: 10px;line-height: 35px;font-size: 13px;}
    .breadcrumb-item{font-size: 12px;}
    body{font-size: 14px;}
    .fs-32{font-size: 22px;}
    .fs-20{font-size: 15px;}
    .price{max-width: 95%;}
    .fs-24{font-size: 18px;}
    input,textarea{font-size: 14px!important;}
    .search-index{margin-top: 2rem;}
    .fs-28{font-size: 18px;}
    .form-check{min-height: auto;}
    .grid-checks{gap: 5px;}
    .form-select{font-size: 14px;}
    #form-advise button{min-width: 130px;}
}

@media screen and (max-width:450px) {
    body,.fs-20{font-size: 13px;}
    .fs-32{font-size: 20px;}
    .name-news{height: 35px;}
    .swiper-new{max-height: 390px;}
    .item-estate{flex-direction: column;text-align: center;}
    .item-estate .content{width: 100%;}
    .item-estate .line{width: 5px;height: 30px;}
    .item-estate .line::before{top: -7px;left: -4px;}
    .estate-grid .item-estate:nth-child(1), .estate-grid .item-estate:nth-child(3), .estate-grid .item-estate:nth-child(5){flex-direction: column;text-align: center;}
    .estate-grid .item-estate:nth-child(1) .line::before,.estate-grid .item-estate:nth-child(3) .line::before,.estate-grid .item-estate:nth-child(5) .line::before{right: initial;left: -4px;}
    .fs-28{font-size: 15px;}
}

@media screen and (max-width:320px) {
    .breadcrumb-item{font-size: 9px;}
    .fs-20{font-size: 12px;}
}