/* Live-haku (headerin hakukenttä, assets/js/search.js) */
.eb-search { position: relative; }
.eb-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 320; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow-lg, 0 16px 40px rgba(13, 15, 11, .16)); max-height: min(480px, 70vh); overflow-y: auto; padding: 6px; text-align: left; }
.eb-search-results[hidden] { display: none !important; }
.eb-ls-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); padding: 10px 10px 6px; }
.eb-ls-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--fg1); }
.eb-ls-item:hover, .eb-ls-item.active { background: var(--surface-2); text-decoration: none; }
.eb-ls-item img, .eb-ls-item .ph { width: 44px; height: 44px; border-radius: var(--r-xs, 6px); object-fit: cover; background: var(--surface-2); border: 1px solid var(--border); flex: none; }
.eb-ls-item .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.eb-ls-item .nm { font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-ls-item .sku { font-family: var(--font-mono); font-size: 11px; color: var(--steel-400); }
.eb-ls-item .pr { font-family: var(--font-mono); font-weight: 600; font-size: 13px; white-space: nowrap; }
.eb-ls-empty { padding: 16px 12px; font-size: 13.5px; color: var(--fg2); text-align: center; }
.eb-ls-all { display: block; text-align: center; padding: 11px; margin-top: 4px; border-top: 1px solid var(--border); font-weight: 600; font-size: 13.5px; color: var(--fg1); }
.eb-ls-all:hover, .eb-ls-all.active { background: var(--surface-2); text-decoration: none; }
@media (max-width: 900px) {
  .eb-search-results { max-height: 60vh; }
}
