[inputmode="number"]:focus,
[inputmode="number"]:hover {
    outline: none;
}

.fields-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Стили для контейнеров */

.field {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 24px;
}

.field-checkbox,
.field-range {
    border-bottom: 0;
}

/* Стили для надписей */

.field__title {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    font-size: 14px;
    transform-origin: 0;
    transform: translate(15px, 18px);
    transition: transform 0.2s linear;
}

.field:focus-within > .field__title {
    transform: translate(15px, -10px) scale(.9);
}

.field-input:not(:-moz-placeholder-shown) ~ .field__title {
    transform: translate(15px, -10px) scale(.9);
}

.field-input:not(:-ms-input-placeholder) ~ .field__title {
    transform: translate(15px, -10px) scale(.9);
}

.field-input:not(:placeholder-shown) ~ .field__title {
    transform: translate(15px, -10px) scale(.9);
}

.field__title--range,
.field__title--select {
    transform: translate(15px, -10px) scale(.9);
}

/* Стили для инпутов */

.field-input {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 10px 15px;
}

/* Стили для кнопки */

.filter-button {
    display: block;
    width: 100%;
    max-width: 300px;
    min-height: 50px;
    flex: 1 0 auto;
    margin: 20px auto 25px auto;
    padding: 15px 30px;
    font-size: 18px;

    font-weight: 500;

    line-height: 1.25;
    text-align: center;
}

.filter-button-open {
    margin-bottom: 20px;
}

.filter-button-open:hover,
.filter-button-open:focus {
    outline: 0;
}

.filter-button-submit {
    color: #fff;
    background: rgba(25, 187, 79, 1);
    box-shadow: 0px 15px 60px rgba(25, 187, 79, 0.5);
    border-radius: 50px;
    transition: box-shadow 0.2s linear;
}

.filter-button-submit:hover,
.filter-button-submit:focus {
    outline: 0;
    box-shadow: 0px 15px 60px rgba(25, 187, 79, 0.8);
}

.button__text {
    font-size: 16px;
}

/* Стили для checkbox */

.field-checkbox {
    padding-left: 26px;
    cursor: pointer;
}

.field__input-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.field__box {
    position: absolute;
    margin-top: 0.2em;
    margin-left: -26px;
    width: 19px;
    height: 19px;
    overflow: hidden;
    border: 1px solid #EAEAEA;
    border-radius: 100%;
    background-color: white;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: all 0.2s linear;
}

.field__input:checked + .field__box {
    border-color: #19BB4F;
    background-color: #19BB4F;
    background-image: url(../images/checked.svg);
}

.field__input:focus + .field__box,
.field__input:hover + .field__box {
    border-color: #19BB4F;
}

.maps-header {
    position: absolute;
    overflow: auto;
    z-index: 19;
    top: 0;
    width: 360px;
    height: calc(100vh - 74px);
    padding: 30px;
    background-color: #fff;
}

.hero__title {
    margin-bottom: 80px;
    font-size: 28px;
    font-weight: normal;
}

#ymap {
    width: 100%;
    height: calc(100vh - 74px);
}

.button-open-maps-filter {
    display: none;
}

@media (max-width: 1200px) {
    .button-open-maps-filter {
        position: absolute;
        z-index: 10;
        top: 10px;
        left: 10px;
        display: block;
        padding: 10px 15px;
        background-color: #fff;
        font-size: 14px;
        font-weight: 700;

        border-color: transparent;
        box-shadow: 0 1px 2px 1px rgb(0 0 0 / 15%), 0 2px 5px -3px rgb(0 0 0 / 15%);
        border-width: 1px;
        border-style: solid;
        border-radius: 3px;
    }

    .maps-header {
        left: -360px;
        transition: left 0.4s linear;
    }

    .maps-header.open {
        left: 0;
    }
}

@media (max-width: 380px) {
    .maps-header {
        width: 320px;
        left: -320px;
    }
}

