.mp-home-search {
    width: 100%;
}

.mp-home-search__form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.mp-home-search__field {
    flex: 1 1 0;
    min-width: 0;
}

.mp-home-search__field--submit {
    flex: 0 0 360px;
}

.mp-home-search__select,
.mp-home-search__button {
    width: 100%;
    min-height: 58px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.2;
}

.mp-home-search__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f2f2f2;
    padding: 0 46px 0 18px;
    color: #2b2b2b;
    background-image: linear-gradient(45deg, transparent 50%, #008fc1 50%), linear-gradient(135deg, #008fc1 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.mp-home-search__select:focus,
.mp-home-search__button:focus {
    outline: none;
    box-shadow: none;
}

.mp-home-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: #0799c9;
    border-color: #0799c9;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.mp-home-search__button:hover {
    opacity: 0.92;
}

@media (max-width: 1024px) {
    .mp-home-search__form {
        flex-direction: column;
    }

    .mp-home-search__field--submit {
        flex: 1 1 auto;
    }
}
