/* ============================================================
   Search — dropdown attached to header search input
   (.header-search positioning lives in layout/shell.css)
   ============================================================ */

.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 320px;
  max-height: 400px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  z-index: 60;
  padding: 8px 0;
}

.search-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.search-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.search-section-title {
  padding: 4px 14px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
}

.search-item {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.1s;
}

.search-item:hover {
  background: var(--bg-soft);
}

.search-item-title {
  font-size: 13.5px;
  font-weight: 500;
}

.search-item-desc {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.search-empty {
  padding: 14px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 13.5px;
}

.search-more {
  padding: 10px 14px 4px;
  border-top: 1px solid var(--line);
}
