.wps-live-results {
    display: none;
    position: fixed; /* управляется JS */
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    z-index: 999999;
    max-height: 480px;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-family: inherit;
}

.wps-live-results.wps-open {
    display: block;
}

.wps-live-results::-webkit-scrollbar { width: 5px; }
.wps-live-results::-webkit-scrollbar-track { background: #f9f9f9; border-radius: 10px; }
.wps-live-results::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

/* ---------- Список ---------- */
.wps-results-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px;
}

.wps-result-item { margin: 0; padding: 0; }

.wps-result-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 16px;
    text-decoration: none !important;
    color: inherit;
    transition: background 0.12s;
}

.wps-result-item:hover .wps-result-link,
.wps-result-item--active .wps-result-link {
    background: #fff5f5;
}

/* Изображение */
.wps-result-img { flex: 0 0 52px; }

.wps-thumb {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    background: #fafafa;
}

.wps-thumb--empty { background: #f3f3f3; }

.wps-result-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wps-result-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.wps-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wps-sku { font-size: 12px; color: #aaa; }

.wps-price {
    font-size: 14px;
    font-weight: 500;
    color: #e52222;
    line-height: 1.4167;
}
.wps-price del { color: #bbb; font-weight: 400; font-size: 12px; }
.wps-price ins { text-decoration: none; }

.wps-hl {
    background: #ffe0e0;
    color: #c41a1a;
    border-radius: 2px;
    padding: 0 1px;
    font-style: normal;
}

.wps-no-results,
.wps-searching {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 14px;
    color: #888;
}

.wps-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f0f0f0;
    border-top-color: #e52222;
    border-radius: 50%;
    animation: wps-spin 0.6s linear infinite;
    flex-shrink: 0;
}

@keyframes wps-spin { to { transform: rotate(360deg); } }

.wps-view-all {
    border-top: 1px solid #f3f3f3;
    padding: 8px 16px 12px;
}

.wps-view-all-link {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e52222;
    text-decoration: none !important;
    padding: 5px 0;
    transition: color 0.15s;
}

.wps-view-all-link:hover {
    color: #c41a1a;
    text-decoration: underline !important;
}
