.search-suggest {
  padding: 0 !important;
  overflow: hidden;
}

.search-suggest__group {
  padding: 14px 16px 8px;
}

.search-suggest__group + .search-suggest__group {
  border-top: 1px solid #eff0f1;
}

.search-suggest__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #c8142f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.search-suggest__heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #eff0f1;
}

.title-search-result .search-suggest__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  color: #2f2f2f;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.title-search-result .search-suggest__item:hover,
.title-search-result .search-suggest__item:focus {
  color: #c8142f;
}

.search-suggest__image {
  display: flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fafafa;
}

.search-suggest__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-suggest__image .search-suggest__placeholder {
  width: 30px;
  height: 30px;
  opacity: .45;
}

.search-suggest__image--section {
  background: #f7f3f4;
}

.search-suggest__content {
  display: block;
  min-width: 0;
}

.search-suggest__name,
.search-suggest__type {
  display: block;
}

.search-suggest__name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: inherit;
  text-overflow: ellipsis;
}

.search-suggest__name b {
  color: #c8142f;
  font-weight: 600;
}

.search-suggest__type {
  margin-top: 4px;
  color: #8d8d8d;
  font-size: 12px;
  line-height: 1.25;
}

.title-search-result .search-suggest__more {
  display: block;
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid #eff0f1;
  background: #fafafa;
  color: #395974;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.title-search-result .search-suggest__more:hover,
.title-search-result .search-suggest__more:focus {
  color: #c8142f;
}

body > div.title-search-result {
  z-index: 2147483647 !important;
  max-height: min(70vh, 620px);
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-width: 767px) {
  body > div.title-search-result {
    width: calc(100% - 24px) !important;
    max-height: calc(100vh - 82px);
    left: 12px !important;
  }

  .search-suggest__group {
    padding-right: 14px;
    padding-left: 14px;
  }

  .search-suggest__image {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
}
