/* Base container */
.lkl-smart-search{ position:relative; width:100%; max-width:100%; }
.lkl-smart-search [hidden]{ display:none !important; }

/* Input & spinner */
.lkl-smart-search__field{ position:relative; }
.lkl-smart-search__input{ width:100%; padding:10px 36px 10px 12px; box-sizing:border-box; }
.lkl-smart-search__spinner{ display:none; position:absolute; right:10px; top:50%; width:16px; height:16px; margin-top:-8px; border:2px solid #bbb; border-top-color:transparent; border-radius:50%; animation:lkl-rot .8s linear infinite; }
@keyframes lkl-rot{ to{ transform:rotate(360deg);}}

/* Scope toggle */
.lkl-smart-search__scope{ margin-top:8px; display:flex; align-items:center; gap:10px; color:#555; font-size:14px; }
.lkl-smart-search__scope-note{ opacity:.8; }

/* Dropdown */
.lkl-smart-search__dropdown{ position:absolute; left:0; right:0; top:100%; margin-top:6px; list-style:none; box-shadow:0 10px 30px rgba(0,0,0,.08);  z-index:9999; max-height:420px; overflow:auto; }

/* Items */
.lkl-smart-search__item{ display:flex; align-items:center; padding:8px; border-radius:6px; }
.lkl-smart-search__item.is-highlighted{ background:#f4f6f8; }
.lkl-smart-search__link{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; width:100%; }

/* Highlight */
.lkl-smart-search mark.lkl-smart-hl{ background:#fff36b; padding:0 .1em; border-radius:2px; }

/* Thumbs */
.lkl-smart-search__thumb{ object-fit:cover; flex:0 0 auto; }
.lkl-smart-search__thumb.shape-circle{ width:36px; height:36px; border-radius:50%; }
.lkl-smart-search__thumb.shape-square{ width:36px; height:36px; border-radius:4px; }
.lkl-smart-search__thumb.shape-r3_2{ width:48px; height:32px; border-radius:4px; }
.lkl-smart-search__thumb.shape-r2_3{ width:32px; height:48px; border-radius:4px; }

/* Sticky Footer */
.lkl-smart-search__footer{ position:sticky; bottom:0; display:flex; justify-content:space-between; align-items:center; padding:8px; margin-top:4px; border-top:1px solid #eee; background:#fff; }
.lkl-smart-search__more{ border:1px solid #ddd; background:#f7f7f7; border-radius:6px; padding:6px 10px; cursor:pointer; }
.lkl-smart-search__more:hover{ background:#f0f0f0; }