.welcome__inner {
    position: relative;
    border-radius: 8px;
    min-height: 419px;
    padding: 36px 91px;
}
.welcome__inner:before {
    content: "";
    position: absolute;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.2))), -webkit-gradient(linear, left bottom, left top, color-stop(41.02%, rgba(17, 17, 17, 0)), to(rgba(17, 17, 17, 0.5)));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(0deg, rgba(17, 17, 17, 0) 41.02%, rgba(17, 17, 17, 0.5) 100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 8px;
}
.welcome__picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 0;
    border-radius: 8px;
}
.welcome__title {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    margin-bottom: 16px;
}
.welcome__title-img {
    display: inline-block;
    height: 68px;
    -o-object-position: bottom;
    object-position: bottom;
    margin-bottom: -8px;
}
.welcome__filter {
    position: relative;
    z-index: 2;
}
.welcome__filter-tabs {
    background: rgba(17, 17, 17, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}
.welcome__filter-tab {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 8px 22px;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-white);
}
.welcome__filter-tab._active {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.welcome-form__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--bg-primary);
    border-radius: 0 6px 6px 6px;
}
.welcome-form__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin-top: 16px;
    gap: 12px;
}
.welcome-form__map-btn span {
    color: var(--primary-hover);
}
.welcome-form__list-btn {
    width: 100%;
    max-width: 226px;
}
.welcome-form .filter-box {
    border-right: 1px solid rgba(121, 153, 161, 0.2);
    padding: 16px 0 0;
}
.welcome-form .filter-box__label {
    padding: 0 16px;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}
.welcome-form .select-type {
    width: 323px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}
.welcome-form .select-type .custom-select {
    max-width: 100%;
}
.welcome-form .select-type .custom-select__value {
    overflow: visible;
}
.welcome-form .select-rooms {
    width: 100%;
}
.welcome-form .select-rooms .custom-select {
    max-width: 100%;
}
.welcome-form .select-rooms .custom-select__options-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 10px;
}
.welcome-form .select-rooms .custom-select__options {
    padding: 16px;
}
.welcome-form .select-rooms .custom-select__option {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0;
}
.welcome-form .select-rooms .custom-select__option input:checked ~ .custom-select__text {
    background-color: var(--primary-main);
    color: #fff;
    border-radius: 100px;
}
.welcome-form .select-rooms .custom-select__text {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    min-width: 42px;
    height: 42px;
    border-radius: 4px;
    background-color: #EFF6F8;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #454545;
    padding: 0 6px;
}
.welcome-form .select-price {
    width: 323px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}
.welcome-form .select-price .custom-select {
    max-width: 100%;
}
.welcome-form .select-city {
    width: 100%;
    max-width: 298px;
}
.welcome-form .select-city .custom-select {
    max-width: 100%;
}
.welcome-form .select-city .select2-container {
    max-width: 100%;
}
.welcome-form .select-city .select2-container .select2-trigger.select2-selection--multiple {
    padding: 0 16px 16px;
}
.welcome-form .select-city .select2-container .select2-trigger.select2-selection--multiple .select2-selection__choice__remove {
    font-size: inherit;
}
.welcome-form .select-city .select2-container .select2-trigger.select2-selection--multiple::after {
    width: 27px;
    height: 27px;
    top: -4px;
}
.welcome-form .select-city .select2-container .select2-trigger.select2-selection--multiple .select2-selection__rendered {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.welcome-form .select-city .select2-container--default .select2-selection--multiple .select2-selection__choice {
    white-space: wrap;
}
.welcome-form .tooltip {
    width: 20px;
    height: 20px;
}
.welcome-form .tooltip__trigger {
    color: var(--primary-main);
    opacity: 0.5;
}
.welcome-form .tooltip__content {
    background: #fff;
    font-size: 13px;
    padding: 10px;
    border-radius: 6px;
    -webkit-box-shadow: 0 10px 10px 0 rgba(79, 113, 119, 0.1019607843);
    box-shadow: 0 10px 10px 0 rgba(79, 113, 119, 0.1019607843);
    color: var(--text-primary);
    display: none;
}
.welcome-form .custom-select__text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
}
.welcome-form .custom-select__text .tooltip__content {
    width: 250px !important;
    left: calc(50% - 200px) !important;
}
.welcome-form .custom-select__text .tooltip__content:after {
    left: calc(50% + 67px) !important;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.welcome-form .custom-select__btn {
    padding: 0 16px 16px;
    border-radius: 0;
    background-color: transparent;
}
.welcome-form .select2-container .select2-trigger.select2-selection--multiple {
    border: none;
}

.welcome-form-suburban .select-type, .welcome-form-suburban .select-rooms, .welcome-form-suburban .select-price, .welcome-form-suburban .select-city {
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

@media (max-width: 1360px) {
    .welcome__inner {
        padding: 36px 61px;
    }
    .welcome-form .select-type, .welcome-form .select-price {
        width: 285px;
    }
}
@media (max-width: 1200px) {
    .welcome__inner {
        padding: 36px 41px;
    }
    .welcome-form .select-type, .welcome-form .select-price {
        width: 285px;
    }
}
@media (max-width: 1100px) {
    .welcome__inner {
        padding: 36px 29px;
    }
}
@media (max-width: 1024px) {
    .welcome__inner {
        padding: 52px 12px;
    }
    .welcome-form .select-price {
        width: 240px;
    }
}
@media (max-width: 1000px) {
    .welcome-form__row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .welcome-form .select-price, .welcome-form .select-type {
        width: 100%;
    }
    .welcome-form .filter-box {
        border-right: none;
        border-bottom: 1px solid rgba(121, 153, 161, 0.2);
    }
    .welcome-form .select-city .select2-container {
        max-width: 100%;
    }
    .welcome-form .select-city {
        max-width: 100%;
    }
    .select2-container .select2-trigger.select2-selection--multiple::after {
        right: 13px;
    }
}
@media (max-width: 768px) {
    .welcome__filter-tabs {
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
    }
    .welcome__filter-tab {
        font-size: 13px;
        padding: 5px 7px;
    }
    .welcome__filter-tab svg {
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 460px) {
    .welcome-form__map-btn, .welcome-form__list-btn {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
    }
    .welcome-form__map-btn svg, .welcome-form__list-btn svg {
        width: 18px;
        height: 18px;
    }
}