.search-form {
    padding: 2rem 2.5rem 2.5rem 2.5rem;
    border-bottom: 1px solid var(--gray);
}

.search-form__wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-form__input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-form__input {
    width: 100%;
    box-sizing: border-box;
}

.search-form__clear {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.3rem;
    display: flex;
    cursor: pointer;
}

.search-form__clear svg rect {
    transition: 0.3s;
}

.search-form__clear:hover svg rect {
    fill: var(--primary);
}

.search-form__button {
    width: 13rem;
}

.search-form__text {
    font-size: 1.1rem;
    line-height: 1.6rem;
    color: #2F2F2F;
    margin-bottom: 1.5rem;
}

.search-form__selects {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 767px) {
    .search-form__selects {
        flex-direction: column;
        align-items: stretch;
    }

    .ss-content {
        z-index: 99999;
    }

    .search-form {
        padding: 1.5rem 2.5rem;
        margin: 0 -2rem;
    }

    .search-form__input-wrapper {
        position: relative;
        flex-grow: 1;
    }

    .search-form__button {
        width: 100%;
        margin-top: 1.5rem;
    }

    .search-preview {
        margin-bottom: 2.7rem;
    }
}