/*
 * Header live-search dropdown.
 * Layout-only styles for the AJAX results; the search box itself is styled in main.css.
 */
.c-header__search {
  position: relative;
}

.c-header__search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1050;
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ece8f7;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(30, 20, 70, 0.12);
  padding: 8px;
}

.c-header__search-group + .c-header__search-group {
  border-top: 1px solid #f0edf9;
  margin-top: 4px;
  padding-top: 4px;
}

.c-header__search-group-title {
  margin: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #977ee3;
}

.c-header__search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #2a2440;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.c-header__search-result:hover,
.c-header__search-result:focus {
  background: #f5f2fd;
  color: #2a2440;
}

.c-header__search-thumb {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  border-radius: 6px;
  background: #f1eefb;
}

.c-header__search-thumb--empty {
  display: inline-block;
}

.c-header__search-result-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.c-header__search-empty {
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  color: #8b85a0;
}
