.top-bar .search-area {
    position: relative;
    max-width: 620px;
    flex: 1 1 620px;
    overflow: visible
}

.top-bar.style-2 .search-area { max-width: 620px }
.header-live-search { position: relative; width: 100%; z-index: 120 }
.header-live-search form { width: 100% }

.top-bar .header-live-search__field {
    position: relative;
    width: 100%;
    height: 48px;
    border: 1px solid rgba(19, 20, 26, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease
}

.top-bar.style-2 .header-live-search__field {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px)
}

.header-live-search.is-open .header-live-search__field,
.header-live-search__field:focus-within {
    border-color: rgba(198, 166, 91, .72);
    box-shadow: 0 0 0 3px rgba(198, 166, 91, .1)
}

.header-live-search__field > i {
    width: 45px;
    flex: 0 0 45px;
    color: rgba(19, 20, 26, .48);
    font-size: 15px;
    text-align: center
}

.top-bar.style-2 .header-live-search__field > i { color: rgba(255, 255, 255, .58) }

.top-bar .header-live-search__field input,
.top-bar.style-2 .header-live-search__field input {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    height: 46px;
    margin: 0;
    padding: 0 12px 0 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--title-color);
    font-family: var(--font-open-sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none
}

.top-bar .header-live-search__field input:focus,
.top-bar.style-2 .header-live-search__field input:focus {
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none
}

.header-live-search__field input::-webkit-search-decoration,
.header-live-search__field input::-webkit-search-cancel-button,
.header-live-search__field input::-webkit-search-results-button,
.header-live-search__field input::-webkit-search-results-decoration { display: none }

.top-bar.style-2 .header-live-search__field input { color: #fff }
.header-live-search__field input::placeholder { color: rgba(19, 20, 26, .48) }
.top-bar.style-2 .header-live-search__field input::placeholder { color: rgba(255, 255, 255, .56) }

.top-bar .header-live-search__field button,
.top-bar.style-2 .header-live-search__field button {
    width: 38px;
    height: 38px;
    margin-right: 4px;
    padding: 0;
    flex: 0 0 38px;
    border: 0;
    border-radius: 50%;
    background: var(--title-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    line-height: 1;
    position: static;
    z-index: auto
}

.top-bar.style-2 .header-live-search__field button { background: var(--primary-color1) }
.header-live-search__field button::after { display: none }
.header-live-search__field button i { color: #fff; font-size: 13px }
.top-bar.style-2 .header-live-search__field button i { color: var(--title-color) }

.header-live-search__loader {
    width: 16px;
    height: 16px;
    margin-right: 9px;
    border: 1.5px solid rgba(19, 20, 26, .15);
    border-top-color: var(--primary-color1);
    border-radius: 50%;
    display: none;
    animation: header-search-spin .65s linear infinite
}

.header-live-search.is-loading .header-live-search__loader { display: block }

.header-live-search__panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    min-width: 500px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: #121318;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .34);
    overflow: hidden
}

.header-live-search__panel[hidden] { display: none }
.header-live-search__panel-head { min-height: 37px; padding: 1px 7px 9px; display: flex; align-items: center; justify-content: space-between }
.header-live-search__panel-head span { color: rgba(255, 255, 255, .54); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase }
.header-live-search__panel-head small { color: var(--primary-color1); font-size: 10px }
.header-live-search__results { display: grid; gap: 5px }

.header-live-search__result {
    min-height: 78px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    transition: border-color .2s ease, background-color .2s ease
}

.header-live-search__result:hover,
.header-live-search__result.is-active { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .055); color: #fff }
.header-live-search__result-image { width: 88px; height: 61px; border-radius: 7px; background: #e9e8e4; object-fit: cover }
.header-live-search__result-copy { min-width: 0 }
.header-live-search__result-copy strong { margin-bottom: 6px; color: #fff; display: block; overflow: hidden; font-family: var(--font-exo2); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap }
.header-live-search__result-copy span { color: rgba(255, 255, 255, .5); display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap }
.header-live-search__result-side { min-width: 90px; text-align: right }
.header-live-search__result-side strong { color: #fff; display: block; font-size: 11px; font-weight: 600 }
.header-live-search__result-side small { margin-top: 6px; color: var(--primary-color1); display: block; font-size: 8px; letter-spacing: .06em; text-transform: uppercase }

.header-live-search__message { min-height: 108px; padding: 24px; color: rgba(255, 255, 255, .55); display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center }
.header-live-search__all { margin-top: 9px; padding: 13px 9px 3px; border-top: 1px solid rgba(255, 255, 255, .09); color: #fff; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700 }
.header-live-search__all:hover { color: var(--primary-color1) }

@keyframes header-search-spin { to { transform: rotate(360deg) } }

@media (max-width: 1399px) {
    .top-bar .search-area,
    .top-bar.style-2 .search-area { max-width: 520px }
}

@media (max-width: 1199px) {
    .top-bar .search-area,
    .top-bar.style-2 .search-area { max-width: 420px }
    .header-live-search__panel { min-width: 460px }
}
