.section-filter {
    display: block;
    position: relative;
}

.section-filter .uk-button-default {
    margin-bottom: 10px;
    border: 1px solid #CDDBE7;
    background-color: #ffffff;
    font-weight: 400;
    text-transform: none;
    border: 3px solid #C7E3FF;
}

.section-filter .uk-button-default svg {
    margin-left: 20px;
    color: #4DA1F4;
}

.section-filter .uk-button-default:hover,
.section-filter .uk-button-default:focus,
.section-filter .uk-button-default:active {
    /* border: 1px solid #CDDBE7; */
    color: #222222;
    box-shadow: 0px 1px 4px #C7E3FF;
}

.section-filter [class*=uk-drop-bottom] {
    margin-top: 10px;
}

.section-filter [class*=uk-drop-bottom]:after {
    content: '';
    opacity: 0;
    height: 14px;
    width: 100%;
    top: -12px;
    left: 0;
    position: absolute;
}

.section-filter .uk-drop {
    -webkit-box-shadow: 0px 0px 50px 5px rgba(18, 53, 87, 0.12);
    width: 100%;
    max-width: 100%;
    padding: 15px;
    border-radius: 13px;
    background: #FFFFFF;
    box-shadow: 0px 0px 50px 5px rgba(18, 53, 87, 0.12);
    max-height: 360px;
    /* overflow-y: auto; */
    /* scrollbar-width: thin; */
}

.section-filter .uk-drop .uk-nav a {
    padding: 0;
}

.section-filter .uk-drop .uk-nav a:hover,
.section-filter .uk-drop .uk-nav a:focus,
.section-filter .uk-drop .uk-nav a:active {
    color: #4dab8c;
}

.filter-list {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.filter-list li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.filter-list li .filter-item {
    display: block;
    position: relative;
    cursor: pointer;
}

.filter-list li .filter-item input[type="radio"] {
    display: none;
}

.filter-list li .filter-item input[type="radio"]:checked + span {
    border-color: #4dab8c;
    background-color: #4dab8c;
    color: #ffffff;
}

.filter-list li .filter-item span {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    height: 46px;
    padding: 0 33px;
    border: 1px solid #CDDBE7;
    border-radius: 23px;
    background: #FFFFFF;
    color: #9D9D9D;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 3.29;
    text-align: center;
    white-space: nowrap;
}

@media only screen and (max-width: 959px) {
    .section-filter {
        text-align: center;
    }
    .filter-list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

.section-filter .filter-list {
    justify-content: flex-start !important;
}

@media only screen and (max-width: 768px) {
    .section-filter .uk-button-default {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }
    .section-filter .uk-button-default svg {
        margin-left: auto;
    }
    .section-filter .uk-grid-margin {
        margin-top: 8px;
    }
    .section-filter .filter-list {
        display: grid;
        grid-template-columns: repeat( 2, minmax(0, 1fr) );
        gap: 8px;
    }
    .section-filter .uk-inline {
        width: 100%;
    }
    .section-filter .uk-section-small {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .filter-list li {
        width: 100%;
    }
    .filter-list li .filter-item span {
        width: 100%;
    }
    .section-filter .uk-child-width-auto\@s {
        flex-direction: column !important;
        display: flex;
    }
    .section-filter .uk-child-width-auto\@s > div {
        flex: 100%;
        width: 100%;
    }
}

.gmaps-iframe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 33334;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
    justify-content: flex-end;
}

.gmaps-iframe svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: clamp(96px, 12vw, 160px);
}

.gmaps-iframe__close {
    color: #666;
    z-index: 1241;
    position: relative;
    right: 10px;
    cursor: pointer;
    margin-left: auto;
    border: 3px solid #C7E3FF;
    border-radius: 10px;
    position: absolute;
    z-index: 123;
    width: 42px;
    height: 42px;
    background: #fff;
    top: 10px;
}

.gmaps-iframe--visible {
    opacity: 1;
    visibility: visible;
}

.gmaps-iframe iframe {
    height: calc(100dvh);
    width: 100%;
    z-index: 2;
}

body:has(.gmaps-iframe--visible) {
    overflow: hidden;
}

.pes-15 {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.maps-block__image {
    /* height: min(400px, 40dvh); */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 72%, transparent 110%), url(../img/map.webp) no-repeat center / cover;
    transition: .3s;
    cursor: pointer;
    padding: 24px;
}

.maps-block__image:hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 72%, transparent 110%), url(../img/map.webp) no-repeat center / cover;
}

@media screen and (min-width: 992px) {
    .js-ajax-filters .uk-inline {
        min-width: 260px;
    }
    .js-ajax-filters .uk-inline .uk-button {
        width: 100%;
    }
    .js-open-map button {
        width: auto;
        height: 48px;
        font-size: 16px;
    }
    .js-ajax-filters .uk-button {
        width: 100%;
        justify-content: flex-start !important;
    }
    .js-ajax-filters .uk-button svg {
        margin-left: auto !important;
    }
}

.section-filter .uk-drop:before {
    content: '' !important;
    height: calc(100% + 28px);
    width: 100%;
    top: -14px;
    left: 0;
    position: absolute;
    z-index: -1;
}

.maps-block .uk-background-muted {
    padding: 0 clamp(20px, 2vw, 32px);
}

@media (width >= 1160px) {
    .maps-block {
        display: flex;
        align-items: stretch;
    }
    .maps-block__image {
        height: auto;
        flex: 1 1 auto;
    }
    .maps-block .section-filter .uk-button-default,
    .maps-block .filter-list li {
        margin-bottom: 0;
    }
}

@media ( width > 768px ) {
    .js-selected-category {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}
