.desktop-search {
    overflow: visible;
    position: relative;
}

.live-search-results {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(37, 43, 37, .14);
    color: var(--ink);
    left: -1px;
    max-height: min(70vh, 620px);
    overflow-y: auto;
    position: absolute;
    right: -1px;
    top: calc(100% + 8px);
    z-index: 1100;
}

.live-search-section { padding: 14px; }
.live-search-section + .live-search-section { border-top: 1px solid var(--line); }
.live-search-section h2 {
    color: var(--muted);
    font: 600 10px Arial;
    letter-spacing: .14em;
    margin: 0 0 7px;
    text-transform: uppercase;
}
.live-search-list { display: grid; gap: 2px; }
.live-search-category,
.live-search-product {
    align-items: center;
    border-radius: 4px;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 9px;
}
.live-search-category:hover,
.live-search-product:hover,
.live-search-results .is-active { background: #f1f2ec; }
.live-search-category > span,
.live-search-product-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}
.live-search-category strong,
.live-search-product strong,
.live-search-category small,
.live-search-product small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-search-category strong,
.live-search-product strong { font-size: 13px; font-weight: 600; }
.live-search-category small,
.live-search-product small { color: var(--muted); font-size: 11px; }
.live-search-product img {
    background: #eeeee8;
    border-radius: 3px;
    height: 60px;
    object-fit: cover;
    width: 48px;
}
.live-search-price { font-size: 12px; font-weight: 600; white-space: nowrap; }
.live-search-all {
    background: #f1f2ec;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    gap: 15px;
    justify-content: space-between;
    padding: 14px 20px;
}
.live-search-empty,
.live-search-loading {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 13px;
    gap: 5px;
    padding: 28px 20px;
    text-align: center;
}
.live-search-empty strong { color: var(--ink); }

@media (max-width: 767px) {
    .live-search-price { display: none; }
    .live-search-results { max-height: 62vh; }
}
