.pcsoft-topbar-search {
    position: relative;
    z-index: 90;
}

.pcsoft-menu__search,
.pcsoft-topbar-search {
    position: relative !important;
}

.pcsoft-menu__search-results,
.pcsoft-topbar-search__results {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1100 !important;
    display: grid !important;
    max-height: min(520px, calc(100vh - 190px)) !important;
    padding: 10px !important;
    overflow: auto !important;
    border: 1px solid rgba(200, 214, 236, 0.95) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 70px rgba(15, 32, 58, 0.22) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overscroll-behavior: contain;
}

.pcsoft-menu__search-results[hidden],
.pcsoft-topbar-search__results[hidden] {
    display: none !important;
}

.pcsoft-menu__search-results::-webkit-scrollbar,
.pcsoft-topbar-search__results::-webkit-scrollbar {
    width: 10px;
}

.pcsoft-menu__search-results::-webkit-scrollbar-thumb,
.pcsoft-topbar-search__results::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: rgba(80, 104, 143, 0.34);
    background-clip: padding-box;
}

.pcsoft-topbar-search__section {
    display: grid !important;
    gap: 6px !important;
}

.pcsoft-topbar-search__section + .pcsoft-topbar-search__section {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #edf2fa !important;
}

.pcsoft-topbar-search__section-title {
    display: flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 0 4px 2px !important;
    color: #6c7a91 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.pcsoft-topbar-search__list {
    display: grid !important;
    gap: 6px !important;
}

.pcsoft-topbar-search__item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 62px !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #102033 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.pcsoft-topbar-search__item:hover,
.pcsoft-topbar-search__item:focus-visible {
    border-color: #d8e6fb !important;
    background: #f6f9ff !important;
    box-shadow: 0 10px 28px rgba(20, 99, 255, 0.10) !important;
    outline: none !important;
}

.pcsoft-topbar-search__item-copy {
    display: grid !important;
    min-width: 0 !important;
    gap: 4px !important;
}

.pcsoft-topbar-search__item-copy strong {
    overflow: hidden !important;
    color: #122033 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.pcsoft-topbar-search__item-copy span {
    overflow: hidden !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.pcsoft-topbar-search__item em {
    max-width: 190px !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #edf4ff !important;
    color: #174bbe !important;
    font-size: 12.5px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.pcsoft-topbar-search__all {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
    padding: 0 16px !important;
    border: 1px solid #dbe7fb !important;
    border-radius: 16px !important;
    background: #eef5ff !important;
    color: #174bbe !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 -12px 22px rgba(255, 255, 255, 0.92) !important;
}

.pcsoft-topbar-search__all:hover,
.pcsoft-topbar-search__all:focus-visible {
    border-color: #bed3f7 !important;
    background: #e1ecff !important;
    outline: none !important;
}

.pcsoft-topbar-search__empty {
    padding: 18px !important;
    color: #63738a !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

@media (min-width: 1024px) {
    .pcsoft-menu__search-results,
    .pcsoft-topbar-search__results {
        width: min(100%, 820px) !important;
        margin-inline: auto !important;
    }
}

@media (max-width: 720px) {
    .pcsoft-menu__search-results,
    .pcsoft-topbar-search__results {
        position: fixed !important;
        top: 146px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-height: min(64vh, 520px) !important;
        border-radius: 20px !important;
    }

    .pcsoft-topbar-search__item {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        min-height: 70px !important;
    }

    .pcsoft-topbar-search__item em {
        justify-self: start !important;
        max-width: 100% !important;
    }
}
