.smart-search-wrap .smart-search-1.leadplus-search-active {
    transition: left 0.3s ease;
}

@media (min-width: 769px) {
    /* Сохраняем правый край поля; ширина ограничена контейнером и 720px. */
    .smart-search-wrap .smart-search-1.leadplus-search-active.is-expanded {
        left: calc(-10px - var(--leadplus-expanded-width));
        z-index: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .smart-search-wrap .smart-search-1.leadplus-search-active {
        transition: none;
    }
}

.leadplus-mobile-search[hidden] {
    display: none;
}

.leadplus-mobile-search {
    position: fixed;
    inset: 0;
    z-index: 1000;
    box-sizing: border-box;
    padding: 16px;
    background: #fff;
    overflow-y: auto;
}

.leadplus-mobile-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 16px;
    text-transform: uppercase;
}

.leadplus-mobile-search-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #2c2f36;
    font-size: 28px;
    cursor: pointer;
}

.leadplus-mobile-search form {
    position: relative;
    display: flex;
    width: 100%;
}

.leadplus-mobile-search #smart-search-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 8px 48px 8px 12px;
    border: 1px solid #7d87a0;
    background: #fff;
    font-size: 16px;
}

.leadplus-mobile-search form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.leadplus-mobile-search form button img {
    width: 20px;
    height: 20px;
}

.leadplus-search-active .search-results,
.leadplus-mobile-search .search-results {
    display: none !important;
}
