/* Search suggestions (header and /axtaris/) */

.sx-field {
    position: relative;
}

.sx-back {
    display: none;
}

.sx-drop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1060;
    width: max(100%, 420px);
    max-width: calc(100vw - 2rem);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: .375rem 0;
    border: 1px solid #e3e6ea;
    border-radius: calc(16px * var(--rs, 1));
    background: #fff;
    box-shadow: 0 6px 24px rgba(32, 33, 36, .18);
    text-align: left;
}

.site-navigation__search .sx-drop {
    right: 0;
    left: auto;
}

.serp-box .sx-drop {
    width: 100%;
    max-width: none;
}

.sx-opt,
.sx-all {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 1rem;
    color: #202124;
    text-decoration: none;
    line-height: 1.3;
}

.sx-opt:hover,
.sx-opt.is-active,
.sx-all:hover,
.sx-all.is-active {
    background: #f1f3f4;
    color: #202124;
}

.sx-opt__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f3f4;
    color: var(--brand-primary-dark, var(--brand-primary-dark));
}

.sx-opt--query .sx-opt__icon {
    background: none;
    color: #70757a;
}

.sx-opt__icon--aksiyalar {
    color: #c2410c;
}

.sx-opt__icon--dermanlar {
    color: #7c3aed;
}

.sx-opt__icon--konsultasiya {
    color: #0369a1;
}

.sx-opt__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.sx-opt__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sx-opt__title b,
.sx-opt__text b {
    font-weight: 600;
}

.sx-opt__label {
    color: #70757a;
    font-size: .75rem;
}

.sx-opt__meta {
    flex: none;
    color: #202124;
    font-size: .8125rem;
    font-weight: 500;
}

.sx-all {
    margin-top: .25rem;
    padding-top: .625rem;
    border-top: 1px solid #f1f3f4;
    color: var(--brand-primary-dark, var(--brand-primary-dark));
    font-size: .875rem;
}

.sx-all .sx-icon {
    flex: none;
}

/* Mobile: the header form opens full screen */

html.sx-lock,
html.sx-lock body {
    overflow: hidden;
}

form.sx-mobile {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: block;
    padding: .625rem .75rem;
    background: #fff;
}

form.sx-mobile .sx-field {
    display: flex;
    align-items: center;
    gap: .25rem;
}

form.sx-mobile .sx-back {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #202124;
}

form.sx-mobile .sx-field > svg:not(.sx-icon) {
    display: none;
}

form.sx-mobile input[type="search"] {
    flex: 1;
    width: auto;
    height: 44px;
    padding-left: 1rem;
    border-radius: calc(22px * var(--rs, 1));
    font-size: 1rem;
}

form.sx-mobile .sx-drop {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    max-height: none;
    border: 0;
    border-top: 1px solid #e3e6ea;
    border-radius: 0;
    box-shadow: none;
}

form.sx-mobile .sx-drop[hidden] {
    display: none;
}

form.sx-mobile .sx-opt,
form.sx-mobile .sx-all {
    padding: .75rem 1rem;
}

/* The sticky header bar is its own stacking context: lift it while its form is full screen. */
html.sx-lock .mobile-search-bar,
html.sx-lock :has(> * > form.sx-mobile),
html.sx-lock :has(> form.sx-mobile) {
    z-index: 2000;
}

/* Text suggestions: one line, the typed part plain and the rest in bold */
.sx-opt--query .sx-opt__text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sx-opt--query .sx-opt__text b {
    font-weight: 700;
}
