/* Smart search autocomplete — shared by homepage finder + store header */
.smart-search, .finder-quick, form.hdr-search{ position:relative; }
.smart-suggest{
  position:absolute; inset-inline:0; top:calc(100% + 8px); z-index:120;
  background:var(--surface, #fff); border:1px solid var(--border, #e5e7eb);
  border-radius:16px; box-shadow:0 22px 40px -18px rgba(8,21,38,.42);
  padding:8px; max-height:min(420px, 60svh); overflow:auto;
}
.smart-suggest-section{ margin-bottom:6px; }
.smart-suggest-label{
  font-size:.68rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  color:var(--text-muted, #64748b); padding:6px 10px 4px;
}
.smart-suggest-item{
  display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:12px;
  color:inherit; text-decoration:none; transition:background .15s;
}
.smart-suggest-item:hover, .smart-suggest-item:focus-visible{
  background:rgba(255,90,31,.1); outline:none;
}
.smart-suggest-thumb{
  width:44px; height:44px; border-radius:10px; overflow:hidden; flex-shrink:0;
  background:#f1f5f9; display:grid; place-items:center;
}
.smart-suggest-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.smart-suggest-ph{ width:18px; height:18px; border-radius:4px; background:#cbd5e1; display:block; }
.smart-suggest-ico{
  width:36px; height:36px; border-radius:10px; display:grid; place-items:center; flex-shrink:0;
  background:rgba(255,90,31,.12); color:#ff5a1f;
  font-size:.85rem; font-weight:800;
}
.smart-suggest-meta{ min-width:0; flex:1; display:flex; flex-direction:column; gap:2px; }
.smart-suggest-meta strong{
  font-size:.86rem; font-weight:800; line-height:1.35;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.smart-suggest-meta small{ font-size:.72rem; color:#64748b; }
.smart-suggest-price{ font-size:.82rem; font-weight:900; color:#ff5a1f; white-space:nowrap; }
.smart-suggest-all{
  display:block; text-align:center; margin-top:4px; padding:10px;
  border-radius:12px; font-weight:800; font-size:.84rem;
  color:#c2410c; background:#f8fafc; text-decoration:none;
}
.smart-suggest-all:hover{ background:rgba(255,90,31,.12); }
.smart-suggest-empty{
  padding:16px 12px; text-align:center; color:#64748b;
  font-size:.84rem; font-weight:700;
}
form.hdr-search .smart-suggest{ inset-inline:8px; top:calc(100% + 6px); }
