/* Поиск в шапке: выпадающие подсказки (extension/udasearch) */
.udasearch-form { position: relative; }
.udasearch-box { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1040; max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--uda-line, var(--bs-border-color, #dee2e6)); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .14); }
.udasearch-title { padding: 8px 10px 4px; color: var(--uda-muted, var(--bs-secondary-color, #6c757d)); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.udasearch-hint { padding: 8px 10px; margin-bottom: 2px; border-radius: 10px; background: #fff8e8; color: #5c4a16; font-size: 13px; }
.udasearch-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--uda-ink, var(--bs-body-color, #212529)); text-decoration: none; line-height: 1.3; }
.udasearch-item:hover, .udasearch-item.is-active { background: var(--uda-leaf, var(--bs-primary-bg-subtle, #eef4fb)); color: var(--uda-ink, var(--bs-body-color, #212529)); }
.udasearch-item mark { padding: 0; background: none; color: var(--uda-green-dark, var(--bs-primary, #0d6efd)); font-weight: 700; }
.udasearch-cat i { width: 20px; color: var(--uda-green-dark, var(--bs-primary, #0d6efd)); text-align: center; }
.udasearch-prod img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #f7faf6; }
.udasearch-name { flex: 1 1 auto; min-width: 0; font-size: 14px; }
.udasearch-name small { display: block; color: var(--uda-muted, var(--bs-secondary-color, #6c757d)); font-size: 12px; }
.udasearch-price { flex: 0 0 auto; font-weight: 800; color: var(--uda-green-dark, var(--bs-primary, #0d6efd)); white-space: nowrap; }
.udasearch-all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--uda-line, var(--bs-border-color, #dee2e6)); border-radius: 0 0 10px 10px; font-weight: 700; color: var(--uda-green-dark, var(--bs-primary, #0d6efd)); }
.udasearch-empty { padding: 14px 10px; color: var(--uda-muted, var(--bs-secondary-color, #6c757d)); text-align: center; }
.udasearch-note { margin: 4px 0 16px; border: 1px dashed var(--uda-gold, #e2b133); background: #fff8e8; }
@media (max-width: 991px) {
  header .vmenu-searchbar { position: relative; }
  header .udasearch-form { position: static; }
  .udasearch-box { left: 0; right: 0; }
}
.udasearch-cat small { margin-left: 6px; color: var(--uda-muted, var(--bs-secondary-color, #6c757d)); font-size: 12px; }
