.nav-search {
    flex: 1 1 auto;
    margin-right: 50px;
}

.search {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-radius: 35px;
    overflow: visible;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    height: 46px;
    width: 100%;
}

.search-icon {
    width: 64px;
    min-width: 64px;
    height: 44px;
    background: var(--secondaryColor);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
}

.search-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
    opacity: 0.95
}

#selBtn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 22px;
    cursor: pointer;
    color: #444;
    width: 172px;
}

.selector {
    width: 220px;
    min-width: 220px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 22px;
    color: #444;
    font-weight: 400;
}

.selector .chev {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    opacity: 0.6
}

.input-wrap {
    flex: 1;
    padding: 0 26px;
    display: flex;
    align-items: center;
    height: 100%
}

.input-wrap input {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 22px;
    outline: none;
    font-weight: 400;
    color: var(--text);
    direction: rtl;
}

.selector.dropdown {
    position: relative;
}

.menu {
    position: absolute;
    top: 47px;
    right: 0;
    width: 220px;
    max-height: 320px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(9, 30, 66, 0.25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: none;
    z-index: 30;
}

.menu.show {
    display: block
}

.menu .item {
    padding: 18px;
    font-size: 15px;
    color: var(--text-3);
    text-align: right;
    line-height: 1.1;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activeItem {
    font-size: 18px;
    color: var(--secondaryColor);
}

.menu .item ul {
    list-style: none;
    font-size: 15px;
    color: var(--text-3);
    text-align: right;
    line-height: 1.1;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-inline-start: 20px;
}

.menu .item+.item {
    border-top: 1px solid rgba(0, 0, 0, 0.04)
}

.menu .item:hover {
    background: rgba(0, 0, 0, 0.02)
}

.menu .item p:hover {
    color: var(--secondaryColor);

}

.menu .item ul li:hover {
    color: var(--secondaryColor);
}

.menu::-webkit-scrollbar {
    width: 8px
}

.menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 8px
}

@media (max-width:768px) {
    .selector {
        display: none;
    }
}

@media (max-width:1024px) {
    .selector {
        width: 200px
    }

    .nav-search {
        order: 3;
        background-color: white;
        margin: 10px 0 0;
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
        padding-block: 10px;
    }

    .search {
        width: 95%;
    }

    .search-bar {
        border: 1px solid var(--text-4);

    }

    .input-wrap input {

        font-size: 18px;

    }
}