/*
#navbar-search-overlay {
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    padding: 4px;
    z-index: 9999;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    white-space: nowrap;
    border-radius: 4px;
}

#navbar-search-overlay.active {
    display: flex;
    align-items: center;
}

#navbar-search-overlay form {
    display: flex;
    align-items: center;
    margin: 0;
}

#navbar-search-overlay .nav-search-input {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    width: 250px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

#navbar-search-overlay .nav-search-submit {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 12px;
    border: none;
    background: #393357;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    margin: 0;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar-search-overlay .nav-search-submit svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
    pointer-events: none;
}

#navbar-search-overlay .nav-search-submit .kadence-svg-iconset {
    display: flex;
    align-items: center;
    line-height: 1;
}*/

/* Align search trigger with other nav items */
li.trigger-search {
    display: flex;
    align-items: center;
}

li.trigger-search a {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

li.trigger-search .dashicons-search {
    font-size: 18px;       /* match roughly to your nav font size */
    width: 18px;
    height: 18px;
    line-height: 1;
    position: static;      /* override any absolute positioning from dashicons */
    top: auto;
    margin: 0;
}

li.trigger-search .trigger-search-label {
    position: relative;
    top: 2px;      /* adjust between 1px–3px until aligned */
}

#navbar-search-overlay {
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    padding: 4px;
    z-index: 9999;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    white-space: nowrap;
    border-radius: 4px;
}

#navbar-search-overlay.active {
    display: inline-block;
}

#navbar-search-overlay .nav-search-input {
    display: inline-block;
    vertical-align: middle;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    width: 250px;
    box-sizing: border-box;
    margin-right: 0;
}

#navbar-search-overlay .nav-search-submit {
    display: inline-block;
    vertical-align: middle;
    height: 36px;
    padding: 0 12px;
    border: none;
    background: #393357;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    margin-left: 0;
}