@media (max-width: 600px) {
    .partnersMap .container{
        /*height: calc(100vh - 30px);*/
        height: 100dvh;
        background: #FFFFFF;
    }

    .partnersMap .container.web {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .partnersMap .partnersMapWrapper {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        max-height: 100svh;
        display: block;
        position: relative;
    }

    .partnersMap .partnersMapWrapper .filterTags {
        display: none;
    }

    .partnersMap .searchAndPartnersListWrapper {
        display: contents;
    }

    .partnersMap .search {
        width: auto;
        position: absolute;
        top: 16px;
        right: 16px;
        left: 16px;
        margin: 0;
        z-index: 1;
        transition: top 0.3s ease, right 0.3s ease, left 0.3s ease, background-color 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, border-radius 0.3s ease, border-bottom 0.3s ease, opacity .3s ease;
    }

    .partnersMap:not(:has( .ymaps3--popup-marker__hide)) .search {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity .3s ease;
    }

    .partnersMap .search.fastSearch {
        width: auto;
        height: 45px;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        margin: 0;
        padding: 0 16px;
        background: #FFFFFF;
        border-radius: 0;
        border-bottom: 1px solid #ECF0F5;
        transition: top 0.5s ease, right 0.5s ease, left 0.5s ease, background-color 0.5s ease, height 0.5s ease, margin 0.5s ease, padding 0.5s ease, border-radius 0.5s ease, border-bottom 0.5s ease;
        z-index: 10;
    }

    .partnersMap .search input[value] {
        display: none;
    }

    .partnersMap .search.fastSearch input {
        flex: 0 1 auto;
        background-color: #FFFFFF;
        transition: background-color 0.5s ease;
    }

    .partnersMap .search.fastSearch .back {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: end;
        margin: 0 8px 0 auto;
        padding-left: 16px;
    }

    .partnersMap .search.fastSearch .back p {
        color: #90278E;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 100%;
        pointer-events: none;
    }

    .partnersMap .search .filters {
        display: inline-flex;
    }

    .partnersMap .search.fastSearch .filters {
        margin-left: 0;
    }

    .partnersMap .partnersListWrapper {
        display: none;
    }

    .partnersMap .map {
        width: 100%;
        height: 100%;
        grid-area: unset;
    }

    /* preloader */

    .ymaps3x0--preloader-title {
        font-size: 16px;
    }

    .ymaps3x0--preloader-icon {
        width: 50px;
    }

    .partnersMap:has( .ymaps3x0--preloader.loading) .search,
    .partnersMap:has( .ymaps3x0--preloader.loading) .ymaps3x0--control {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* \preloader */

    .partnersMap .map .closeButton {
        display: none;
    }

    .partnersMap .map .zoomButtons {
        position: fixed;
        right: 16px;
    }

    .partnersMap .map .zoomButtons.shift {
        position: fixed;
        right: 16px;
        bottom: 450px;
    }

    .partnersMap .map .zoomButtons div {
        width: 40px;
        height: 40px;
        padding: 12px;
        background: #44433F;
    }

    .partnersMap .map .zoomButtons div svg * {
        fill: #FFFFFF;
    }

    .partnersMap .map .geoLocationButton {
        width: 40px;
        height: 40px;
        position: fixed;
        right: 16px;
        bottom: 48px;
        padding: 8px;
    }

    .partnersMap .map .geoLocationButton.shift {
        bottom: 394px;
    }



    /*600px - Popup's*/
    .popupOverlay.partnersList {
        top: 45px;
    }

    .popupOverlay.partnersList.app {
        top: 75px;
    }

    .partnersList-popup {
        width: 100%;
        height: 100%;
        position: absolute;
        box-sizing: border-box;
        background: #FFFFFF;
        overflow: hidden;
    }

    .partnersList-popup.active {
        display: block;
    }

    .partnersList-popup .partnersListWrapper {
        height: 100%;
        overflow-y: scroll;
    }

    .partnersList-popup .container {
        padding: 16px 16px 0;
    }

    .partnersList-cluster,
    .partnerList-popup {
        width: 100%;
        max-width: unset;
        max-height: calc(100% - 126px);
        position: absolute;
        top: 100%;
        border-radius: 12px 12px 0 0;
        background: #FFFFFF;
        overflow: hidden auto;
        z-index: 10;
    }

    .partnersList-cluster.active,
    .partnerList-popup.active {
        display: block;
        scale: unset;
        transition: transform ease;
        transition-duration: 0.3s;
    }

    .partnersList-cluster.active.animation,
    .partnerList-popup.active.animation {
        transform: translateY(-100%);
        scale: unset;
        /*transition: transform ease .5s, all ease-in-out .3s;*/
        transition-duration: 0.5s;
    }

    .partnerList-popup.active.animation.hidden {
        transform: translateY(0);
        z-index: 5;
        /*opacity: 0;*/
        /*pointer-events: none;*/
        /*visibility: hidden;*/
    }

    .partnersList-cluster .visor,
    .partnerList-popup .visor {
        width: 36px;
        height: 4px;
        margin: 0 auto 16px auto;
        border-radius: 4px;
        background: #D9D9D9;
    }

    .partnerList-popup > .header {
        margin-top: 16px;
    }

    .partnerList-popup > .header .visor {
        margin: 0 auto;
    }

    .partnerList-popup .container {
        padding: 16px;
    }

    .partnerList-popup .partnerAddress {
        /*max-height: 0;*/
        display: block;
        margin-bottom: 24px;
        background: #FFFFFF;
        transition: max-height 0.5s ease, margin-bottom 0.2s linear;
    }

    /*.partnerList-popup .partnerAddress.active {
        max-height: 30vh;
        margin-bottom: 24px;
    }*/

    .partnerList-popup .partnerAddress .header *:not(.close) {
        pointer-events: none;
    }

    .partnersList-cluster .header .wrapper,
    .partnerList-popup .partnerAddress .header .wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .partnerList-popup .partnerAddress .header p {
        color: #777777;
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
    }

    .partnerList-popup .partnerAddress .header .close svg {
        width: 12px;
        height: 12px;
    }

    .partnerList-popup .partnerAddress .address {
        margin-top: 8px;
        color: #282828;
        font-size: 14px;
        font-weight: 500;
        line-height: normal;
    }

    .partnerList-popup .partnerAddress .address:empty {
        display: none;
    }

    .partnerList-popup .partnerAddress .phone {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #F2F2F5;
        color: #333333;
        font-size: 14px;
        font-weight: 400;
        line-height: normal;
    }

    .partnerList-popup .partnerAddress .phone:empty {
        display: none;
    }

    .partnerList-popup .partnerList {
        position: relative;
    }

    .partnerList-popup .partnerList .partnerCard {
        padding: 12px;
        border-radius: 16px;
        background: #FFFFFF;
        box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.12);
    }

    .partnerList-popup .partnerList .partnerCard a {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);;
        grid-template-rows: 1fr;
        column-gap: 12px;
        text-decoration: none;
    }

    .partnerList-popup .partnerList .partnerCard .top {
        width: 100%;
        height: 0;
        position: relative;
        padding-bottom: 100%;
        border-radius: 12px;
        background: #FFFFFF;
    }

    .partnerList-popup .partnerList .partnerCard .top .partnerLogo {
        width: 90%;
        height: 90%;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        object-fit: contain;
        margin: auto;
    }

    .partnerList-popup .partnerList .partnerCard .top .heart {
        width: 24px;
        height: 24px;
        position: absolute;
        display: block;
        right: 10px;
        bottom: 10px;
        margin: auto 0;
        cursor: pointer;
        stroke-opacity: 0;
        z-index: 1;
    }

    .partnerList-popup .partnerList .partnerCard .bottom {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 1;
        box-sizing: border-box;
        background: #FFFFFF;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .header {
        width: 100%;
        display: flex;
        align-items: baseline;
        justify-content: center;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .header .close {
        margin: -8px;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .header .close svg {
        width: 12px;
        height: 12px;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .header .partnerName {
        width: 100%;
        height: auto;
        box-sizing: border-box;
        font-weight: 600;
        font-size: 16px;
        line-height: normal;
        color: #333333;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .partnerText {
        height: auto;
        width: 100%;
        margin-top: 12px;
        box-sizing: border-box;
        font-weight: 400;
        font-size: 12px;
        line-height: normal;
        color: #333333;
        /*ellipsis*/
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        max-height: 30px;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .partnerType {
        width: 100%;
        box-sizing: border-box;
        margin: 4px 0 8px;
        font-weight: 600;
        font-size: 12px;
        line-height: normal;
        color: #333333;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .row {
        height: 28px;
        position: relative;
        display: flex;
        flex: 1;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .partnerValue {
        height: auto;
        left: 16px;
        bottom: 16px;
        padding: 5px 12px;
        background: rgba(255, 27, 27, 0.04);
        border-radius: 14px;
        font-weight: 700;
        font-size: 14px;
        line-height: 18px;
        color: #FF1B1B;
    }

    .partnerList-popup .partnerList .partnerCard .bottom .distance {
        text-align: right;
        color: #333333;
        font-size: 12px;
        font-weight: 400;
        line-height: 15px;
        white-space: nowrap;
    }


    /* cluster popup mobile */

    .popupOverlay:has(.partnersList-cluster) {
        visibility: hidden;
        pointer-events: none;
    }
    .popupOverlay .partnersList-cluster {
        visibility: visible;
        pointer-events: all;
        overflow: hidden;
        height: 50svh;
    }

    .popupOverlay .partnersList-cluster .header {
        position: relative;
        z-index: 1;
        padding: 24px 24px 0;
        background: #fff;
    }

    /* popup js-scrollbar */
    .popupOverlay .partnersList-cluster .js-scrollbarWrapper {
        flex: auto;
        overflow: hidden;
        position: relative;
    }
    .popupOverlay .partnersList-cluster .js-scrollbarWrapper > .container {
        margin-top: 7px;
    }
    .popupOverlay .partnersList-cluster .js-scrollbar-track.hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
    .popupOverlay .partnersList-cluster .js-scrollbar-track {
        --scroll-border-radius: 3px;
        border-radius: var(--scroll-border-radius);
        position: absolute;
        width: 5px;
        height: 100%;
        top: 0;
        bottom: 0;
        right: 5px;
        background-color: inherit;
    }

    .popupOverlay .partnersList-cluster .js-scrollbar-thumb {
        border-radius: var(--scroll-border-radius);
        background-color: #D9D9D9;
        width: 100%;
        transition: transform .05s;
        /*height: 10px;*/
    }


    /* popup js-scrollbar */

    .popupOverlay .partnersList-cluster .clusterPartnersList {
        padding: 0 24px 10px;
    }

    .popupOverlay .partnersList-cluster .visor {
        margin-bottom: 10px;
    }

    .popupOverlay .partnersList-cluster .wrapper {
        padding-bottom: 7px;
        /*margin-bottom: 7px;*/
        border-bottom: 1px solid #EFEFF4;
    }

    .popupOverlay .partnersList-cluster .ymaps3--popup-list-item {
        padding: 10px 0;
        font-size: 15px;
        line-height: 1;
        gap: 15px;
    }

    .popupOverlay .partnersList-cluster .ymaps3--popup-li-icon {
        width: 40px;
    }

    .popupOverlay .partnersList-cluster .ymaps3--popup-li-text-wrapper {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .popupOverlay .partnersList-cluster .ymaps3--popup-li-title {
        font-size: 17px;
        font-weight: 500;
    }

    .popupOverlay .partnersList-cluster .ymaps3--popup-li-city,
    .popupOverlay .partnersList-cluster .ymaps3--popup-li-address {
        font-size: 14px;
        display: inline;
    }

    .popupOverlay .partnersList-cluster .ymaps3--popup-li-city {
        display: none;
    }

    .popupOverlay .partnersList-cluster {
        display: flex;
        flex-direction: column;
    }

    /* /cluster popup mobile */
    footer#desktop-footer {
        display: none;
    }
}
