.shw-search {
  position: relative;
}

.shw-search__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 70vh;
  overflow-y: auto;
  margin-top: 6px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  text-align: left;
  text-transform: none;
}

.shw-search__panel[hidden] {
  display: none;
}

.shw-search__group + .shw-search__group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.shw-search__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e82593;
}

.shw-search__label span {
  font-weight: normal;
  color: #888;
}

.shw-search__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shw-search__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  color: inherit;
  text-decoration: none;
}

.shw-search__item img,
.shw-search__noimg {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #f5f5f5;
}

.shw-search__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shw-search__title {
  font-size: 14px;
  line-height: 1.3;
}

.shw-search__meta {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.shw-search__empty {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.shw-search__all {
  display: block;
  margin-top: 12px;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: #e82593;
  text-decoration: none;
}

.shw-search__all:hover,
.shw-search__all:focus {
  opacity: 0.8;
}

.shw-search__all:hover,
.shw-search__all:focus {
  background: #c81c7c;
  color: #fff;
}

.shw-search__loading {
  margin: 0;
  padding: 6px;
  font-size: 13px;
  color: #888;
}

.shw-search input[type="search"]::-webkit-search-cancel-button,
.shw-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.shw-search input[type="search"]::-ms-clear {
  display: none;
}
