.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px; /* small compact size */
  margin: auto;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f6f7f9;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 6px 12px;
  transition: 0.25s ease;
}

.search-box:focus-within {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,123,255,.2);
}

.search-icon {
  font-size: 16px;
  margin-right: 8px;
  opacity: 0.6;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 6px 0;
}

.suggestions {
  position: absolute;
  width: 100%;
  top: 105%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,.12);
  overflow: hidden;
  display: none;
  z-index: 99999;
}

.suggestion-item {
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
  transition: .25s;
}

.suggestion-item:hover {
  background: #007bff;
  color: #ffffff !important;
}


.suggestion-item:hover .highlight {
  color: #fff !important;
}