/* Autocomplete Panel */
.ac-panel,
.suggestions-dropdown {
  position:absolute;
  top:100%;
  left:0;
  right:0;
  margin-top:12px;
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 40px -10px rgba(0,0,0,.18);
  padding:8px 0;
  max-height:480px;
  overflow-y:auto;
  z-index:150;
  display:none;
  scrollbar-width:thin;
  scrollbar-color:#c9dbd2 transparent;
}
.ac-panel.open,
.suggestions-dropdown.open { display:block; }

.ac-row {
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 18px;
  cursor:pointer;
  font-size:.83rem;
  line-height:1.25;
  transition:background .12s;
}
.ac-row:hover,
.ac-row.active { background:#f2fbf5; }
.ac-row.ac-all {
  border-top:1px solid #edf3ef;
  margin-top:4px;
  font-weight:500;
  color:#1e5830;
}

.ac-img {
  width:44px;
  height:44px;
  border-radius:12px;
  background:#f0f4f2;
  overflow:hidden;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  color:#2e7c46;
}
.ac-img img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.ac-img.icon { background:#e9f6ec; color:#2d6a3e; }

.ac-text { flex:1; min-width:0; display:flex; flex-direction:column; }
.ac-title {
  font-weight:500;
  color:#1f3d2a;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ac-sub {
  font-size:.62rem;
  color:#5b7665;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px;
}

.ac-loading,
.ac-empty { padding:12px 18px; font-size:.75rem; color:#4a6253; }

.ac-hl {
  background:#ffe06b;
  color:#3b381d;
  padding:0 3px;
  border-radius:4px;
}

@media (max-width:575.98px){
  .ac-panel { border-radius:18px; max-height:60vh; }
  .ac-row { padding:10px 14px; }
  .ac-img { width:40px; height:40px; }
  .ac-title { font-size:.78rem; }
  .ac-sub { font-size:.6rem; }
}

/* Slider drag visual */
.slider.dragging {
  cursor:grabbing;
  cursor:-webkit-grabbing;
}
.slider {
  user-select:none;
  -webkit-user-select:none;
  scroll-snap-type:x proximity;
}
.slider > * {
  scroll-snap-align:start;
}