.vb-catalog-search {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: .65rem 0;
    margin-bottom: .75rem;
    background: #fff;
}

.admin-bar .vb-catalog-search { top: 32px; }

.vb-catalog-search .woocommerce-product-search {
    display: flex;
    align-items: stretch;
    gap: .5rem;
    margin: 0;
}

.vb-catalog-search input[type="search"] {
    flex: 1;
    min-width: 0;
}

.vb-catalog-search-results {
    position: absolute;
    inset: 100% 0 auto;
    max-height: min(50vh, 22rem);
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line, #d8e1d8);
    border-radius: .35rem;
    box-shadow: 0 5px 15px #18372a22;
}

.vb-catalog-search-results ul { list-style: none; padding: .25rem; margin: 0; }
.vb-catalog-search-results a { display: block; padding: .45rem .65rem; }
.vb-catalog-search-results a:hover,
.vb-catalog-search-results a:focus-visible { background: var(--soft, #f3f6f1); }

@media (min-width: 601px) and (max-width: 782px) {
    .admin-bar .vb-catalog-search { top: 46px; }
}

@media (max-width: 600px) {
    .admin-bar .vb-catalog-search { top: 0; }
}
