.vse-shortcode-wrap,
.vse-search-form {
    position: relative;
    width: 100%;
}
.vse-search-form {
    display: flex;
    gap: 8px;
}
.vse-search-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 12px;
}
.vse-search-submit {
    min-height: 44px;
    padding: 0 16px;
    cursor: pointer;
}
.vse-live-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 99999;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    overflow: hidden;
    max-height: 520px;
    overflow-y: auto;
    text-align: left;
}
.vse-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}
.vse-result-item:last-child {
    border-bottom: 0;
}
.vse-result-item:hover {
    background: #fafafa;
}
.vse-result-image {
    width: 52px;
    min-width: 52px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: #f7f7f7;
}
.vse-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vse-result-info {
    flex: 1;
    min-width: 0;
}
.vse-result-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
    text-decoration: none;
}
.vse-result-title:hover {
    color: #000;
    text-decoration: underline;
}
.vse-result-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}
.vse-result-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    white-space: nowrap;
}
.vse-price {
    font-weight: 700;
    color: #222;
    font-size: 14px;
}
.vse-price del {
    color: #888;
    font-weight: 400;
    margin-right: 4px;
}
.vse-price ins {
    text-decoration: none;
}
.vse-add-button,
.woocommerce a.button.vse-add-button {
    border: 1px solid #e36b77;
    color: #d84f5e;
    background: #fff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.vse-add-button:hover,
.woocommerce a.button.vse-add-button:hover {
    background: #d84f5e;
    color: #fff;
}
.vse-loading,
.vse-no-results {
    padding: 14px;
    color: #777;
    font-size: 14px;
}
.vse-sep {
    color: #bbb;
    padding: 0 4px;
}
@media (max-width: 600px) {
    .vse-result-item {
        gap: 8px;
        padding: 10px;
    }
    .vse-result-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
    .vse-result-image {
        width: 44px;
        min-width: 44px;
        height: 54px;
    }
    .vse-result-title {
        font-size: 14px;
    }
    .vse-result-subtitle {
        font-size: 12px;
    }
}
body.vse-live-active .vse-live-results:not(:empty) + .woocommerce-info,
body.vse-live-active .vse-live-results:not(:empty) + .woocommerce-no-products-found {
    display: none !important;
}
.vse-section-title {
    padding: 8px 14px;
    background: #f7f7f7;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 1px solid #eeeeee;
}
.vse-products-title {
    border-top: 1px solid #eeeeee;
}
.vse-taxonomy-result {
    background: #fcfcfc;
}
.vse-taxonomy-icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eef7f3;
    color: #087454;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
}
.vse-taxonomy-count {
    color: #999;
}
.vse-taxonomy-button {
    white-space: nowrap;
}


/* Hide theme/native AJAX search dropdowns while VinnoRokom live search is active. */
body.vse-live-active .vse-hidden-native-live,
body.vse-live-active .autocomplete-suggestions:not(.vse-live-results),
body.vse-live-active .ajax-search-results:not(.vse-live-results),
body.vse-live-active .search-suggestions:not(.vse-live-results),
body.vse-live-active .aws-search-result,
body.vse-live-active .dgwt-wcas-suggestions-wrapp,
body.vse-live-active .dgwt-wcas-suggestions-wrapp-fixed,
body.vse-live-active .yith-wcas-result,
body.vse-live-active .fibosearch-results,
body.vse-live-active .woodmart-search-results,
body.vse-live-active .woodmart-search-dropdown,
body.vse-live-active .wd-search-results,
body.vse-live-active .wd-dropdown-results,
body.vse-live-active .header-search-results:not(.vse-live-results),
body.vse-live-active .live-search-results:not(.vse-live-results),
body.vse-live-active .predictive-search,
body.vse-live-active .predictive-search-results,
body.vse-live-active .site-search-results:not(.vse-live-results),
body.vse-live-active .products-search-results:not(.vse-live-results),
body.vse-live-active .product-search-results:not(.vse-live-results) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
