.wpg-ac {
  position: relative;
}

.wpg-ac__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  outline: none;
}

.wpg-ac__panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-height: 420px;
  overflow-y: auto;
}

.wpg-ac__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.wpg-ac__item:last-child {
  border-bottom: 0;
}

.wpg-ac__item:hover,
.wpg-ac__item.is-active {
  background: #f7f7f7;
}

.wpg-ac__thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 36px;
  border: 1px solid #eee;
  background: #fafafa;
}

.wpg-ac__thumb--empty {
  display: inline-block;
}

.wpg-ac__title {
  line-height: 1.2;
}

.wpg-ac__empty {
  padding: 10px 12px;
  color: #666;
}

.wpg-ac__more {
  width: 100%;
  padding: 12px;
  border: 0;
  background: #f7f7f7;
  cursor: pointer;
  font: inherit;
}

.wpg-ac__more:hover {
  background: #efefef;
}

.wpg-ac__more:disabled {
  opacity: 0.6;
  cursor: progress;
}

.wpg-ac__see-all {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  color: #1a5fb4;
  font-weight: 600;
  text-decoration: none;
}

.wpg-ac__see-all:hover {
  background: #f7f7f7;
  text-decoration: underline;
}
