/* ── PSB Live Search Suggestions ───────────────────────────────── */

.psb-suggest-wrap {
    position: relative;
}

.psb-suggest-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0ddd8;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    z-index: 999999;
    overflow: hidden;
    display: none;
    min-width: 300px;
}

.psb-suggest-dropdown.psb-active {
    display: block;
}

.psb-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    text-decoration: none;
    color: #111;
    transition: background .15s;
    border-bottom: 1px solid #f5f3f0;
}

.psb-suggest-item:last-child {
    border-bottom: none;
}

.psb-suggest-item:hover,
.psb-suggest-item.psb-focused {
    background: #f8f6f3;
}

.psb-suggest-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8e5e0;
}

.psb-suggest-thumb-ph {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    flex-shrink: 0;
}

.psb-suggest-info {
    flex: 1;
    min-width: 0;
}

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

.psb-suggest-type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #999;
    margin-top: 2px;
}

.psb-suggest-arrow {
    color: #bbb;
    font-size: 16px;
    flex-shrink: 0;
}

.psb-suggest-footer {
    padding: 10px 16px;
    font-size: 13px;
    color: #888;
    background: #faf9f7;
    text-align: center;
    border-top: 1px solid #f0ede8;
    cursor: pointer;
    transition: color .15s;
}

.psb-suggest-footer:hover { color: #111; }

.psb-suggest-empty {
    padding: 18px 16px;
    font-size: 14px;
    color: #999;
    text-align: center;
}

/* Spinner */
.psb-suggest-spinner {
    padding: 16px;
    text-align: center;
}
.psb-suggest-spinner::after {
    content: '';
    display: inline-block;
    width: 20px; height: 20px;
    border: 2px solid #e0ddd8;
    border-top-color: #111;
    border-radius: 50%;
    animation: psb-spin .6s linear infinite;
}
@keyframes psb-spin { to { transform: rotate(360deg); } }
