.map_container {
    display: flex;
    max-width: 1090px;
    margin: 0 auto 30px;
    box-shadow: 0 4px 16px rgba(6,10,13,.2);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.map_info_content {
    display: none;
    /* position: absolute;
    top: 0;
    width: 100%; */
}
.map_info_content img {
    display: block;
    max-width: 100%;
}
.map_wrap {
    display: flex;
    align-items: stretch;
}
.map_info {
    display: flex;
    flex-direction: column;
    flex: 0 0 352px;
    width: 352px;
    height: 100%;
}
.map_info_cart_wrap {
    height: 100%;
    width: 100%;
    padding-top: 16px;
    padding-left: 24px;
    overflow-y: auto;
    box-sizing: border-box;
}
.map_info_cart {
    position: relative;
    border: 1px solid #e6e8eb;
    box-sizing: border-box;
    width: 304px;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px 16px 16px;
    transition: .3s;
    cursor: pointer;
}
.map_info_cart:hover {
    border-color: #07c;
    color: #07c;
}
.map_info_cart:hover .map_info_item_list > svg {
    color: #07c;
}
.map_info_item_title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
} 
.map_info_item_list {
    position: relative;
}
.map_info_item_list > svg {
    position: absolute;
    top: 2px;
    left: 0;
    color: #1a1a1a;
    transition: .3s;
}
.map_info_item_list > ul {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
    position: relative;
    vertical-align: middle;
    outline: none;
    border-spacing: 0;
}
.map_info_item_list > ul li {
    list-style-type: none;
    margin-left: 20px;
    font-size: 14px;
    line-height: 20px;
}
#map {
    width: 738px;
    height: 580px;
}

ymaps[class$="balloon__content"] {
    width: 274px;
    padding: 16px;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    position: relative;
    box-sizing: border-box;
}
ymaps[class$="balloon__content"] > * {
    max-width: 100%;
}
ymaps[class$="balloon__content"] > ymaps {
    height: fit-content !important;
}
.map_info_cart.open_map {
    cursor: default;
}
.map_info_cart.open_map .map_info_item {
    display: none;
}
.map_info_cart.open_map .map_info_content {
    display: block;
}
.map_info_content_header {
    display: flex;
    align-items: flex-start;
    padding-bottom: 16px;
}
.map_info_content_header svg {
    margin-right: 12px;
    color: #b4b5b8;
    cursor: pointer;
}
.map_info_content_header svg:hover {
    color: #000;
}
.map_info_content_header_text_main {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 16px;
    line-height: 22px;
}
.map_info_content_header_text_submain {
    font-size: 12px;
    line-height: 18px;
    color: #a0a1a3;
}
.map_info_gallery_wrap {
    display: flex;
    margin-bottom: 16px;
}
.map_info_gallery_wrap .card {
    margin-right: 8px;
    overflow: hidden;
    background-color: #ebedf0;
    border-radius: 6px;
}
.map_info_content_inner .map_info_content_title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
.map_info_content_text {
    margin-bottom: 8px;
    font-size: 14px;
}
.map_info_content_inner .map_info_item_list {
    margin-bottom: 8px;
}

@media (max-width: 1100px) {
    #map {
        width: 408px;
    }
    .map_container {
        max-width: 760px;
    }
}
@media (max-width: 768px) {
    .map_wrap {
        align-items: center;
        flex-direction: column-reverse;
        width: 100%;
    }
    .map_info_cart_wrap {
        /* display: flex;
        flex-direction: column; */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        height: fit-content;
        /* padding: 16px; */
        padding: 7px;
    }
    #map {
        width: 100%;
        height: 300px;
    }
    .map_info {
        flex: unset;
        /* flex-basis: 100%; */
        height: auto;
        width: 100%;
    }
    .map_info_cart {
        height: fit-content;
    }
}
@media (max-width: 666px) {
    .map_info_cart_wrap {
        grid-template-columns: repeat(1, 1fr);
    }
}