.user-map img{
    max-width: none !important;
    height: auto !important;
    display: block;
    margin: 0;
}
.user-map {
    margin: auto;
}
.section-label{
    position: absolute;
    box-shadow: 0 4px 4px #00000066;
    width: 46px;
    height: 46px;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: .3s;
}
.section-label:hover{
    background-color: #87905c;
    color: #fff;
    cursor: pointer;
}
#plan_map_container{
    margin: auto;
    position: relative;
    width: max-content;
    max-width: 100%;
}
.genplan-map-wr {
    position: relative;
}
.genplan-wr{
    margin: 100px 0 150px 0;
    /*overflow: hidden;*/
}
.genplan-map-wr {
    position: relative;
}
.section-prew {
    position: absolute;
    right: 35px;
    bottom: 60px;
    z-index: 1;
}
.section-prew img{
    transition: .3s;
}
.section-prew:hover img{
    filter: brightness(0.8);
}
.section-label-detail-wr {
    position: absolute;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px 20px 8px 20px;
    width: 277px;
    box-shadow: 0px 4px 10px 0px #00000066;
    bottom: 200%;
    left: -50px;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s;
    /* transform: translateX(-70%); */
}
.section-label.active .section-label-detail-wr,
.section-label:hover .section-label-detail-wr {
    z-index: 1;
    opacity: 1;
}
.section-label-detail-title-wr {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #00000033;
    margin-bottom: 20px;
}
.section-label-detail-title{
    font-size: 16px;
    font-weight: 600;
}
.section-label-detail-title-price{
    font-size: 16px;
    font-weight: 900;
    color: #87905C;
}
.section-label-detail-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-weight: 300;
    margin-bottom: 15px;
}
.genplan-wr .top-anchor-flat-list-mobile{
    display: none;
}
@media(max-width:1240px){
    #section-fancy{
        display: block!important;
        margin-top: 30px;
    }
    .section-prew.fancybox{
        display: none;
    }
    #plan_map_container{
        margin-left: -20px;
        margin-right: -20px;
        width: 100vw;
        max-width: 100vw;
    }
    .section-label {
        width: 31px;
        height: 31px;
    }
    .section-label>div {
        font-size: 10px;
    }
}
@media(max-width:920px){
    .genplan-scroll-wr{
        overflow: hidden;
        margin-left: -20px;
        margin-right: -20px;
        max-height: 480px;
    }
    #plan_map_container{
        margin-left: 0;
        margin-right: 0;
        height: 531px!important;
        max-height: 80vh;
        width: max-content;
        max-width: unset !important;
    }
    #plan_map_container img{
        height: 531px!important;
        max-height: 80vh;
        width: max-content;
        max-width: unset !important;
    }
    .genplan-section-wr {
        touch-action: none; /* Отключаем стандартные жесты браузера */
    }

    .genplan-scroll-wr {
        overflow: hidden;
        -webkit-overflow-scrolling: touch; /* Для плавного скролла на iOS */
    }
}
@media(max-width:780px){
    .genplan-wr  .top-anchor-flat-list{
        display: none;
    }
    .genplan-wr .top-anchor-flat-list-mobile{
        display: flex!important;
        margin-top: 20px;
        width: 335px;
        max-width: 100%;
    }
}
@media(max-width:640px){
    .genplan-wr .top-anchor-flat-list-mobile{
        width: 100%;
    }
    
}