.b-search--wrapper svg {
    width: 1em;
    height: 1em;
}

.b-search--wrapper {
    display: inline-block;
}

.b-search--icon {
    cursor: pointer;
    line-height: 0;
}

.search-form {
    position: relative;
}

.search-form input {
    max-width: 100%;
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 5px;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    min-width: 40px;
    padding-right: 12px;
}

.bs-icon-circle .bs-icon-wrap {
    width: var(--circle-width, 50px);
    height: var(--circle-width, 50px);
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.bs-icon-circle .b-search--close,
.bs-icon-circle .b-search--icon {
    color: #fff;
    fill: #fff;
}

/* Style 1 */
.style-1 .b-search--close {
    line-height: 0;
    cursor: pointer;
    display: none;
}

.style-1 .b-search--body {
    position: absolute;
    width: 300px;
    padding: 15px;
    background: #ddd;
    top: 40px;
    opacity: 0;
    z-index: 5;
    visibility: hidden;
    transition: all 0.5s;
    transform: translateY(20px);
}

.style-1 .bs-icon-wrap {
    position: relative;
}

.style-1.visible .b-search--body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.b-search--wrapper.visible.style-1 .b-search--icon {
    display: none;
}

.b-search--wrapper.visible.style-1 .b-search--close {
    display: block;
}

.b-search-position-left .style-1 .b-search--body {
    left: 0;
}

.b-search-position-right .style-1 .b-search--body {
    right: 0;
}


/* Style 2 */
.style-2 .b-search--body {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #ddd;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.style-2 .b-search--close {
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
}

.style-2.visible .b-search--body {
    opacity: 1;
    visibility: visible;
}

.style-2 .search-form input {
    width: 500px;
}

.search-height {
    height: auto !important;
    overflow: hidden;
}


@media (max-width: 767px) {
    .style-2 .search-form input {
        width: 300px;
    }
}