.dg-global-search-results {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(58vh, 520px);
  margin-top: 18px;
  overflow-y: auto;
  background: #fff;
  color: #292929;
  scrollbar-width: thin;
}

.dg-global-search-results[hidden],
.dg-global-search-results__status[hidden] {
  display: none;
}

.dg-global-search-results__status {
  padding: 24px 2px 10px;
  color: #817b74;
  font-size: 15px;
}

.dg-global-search-results__list {
  display: grid;
  padding-top: 8px;
}

.dg-global-search-results__item {
  display: grid;
  min-width: 0;
  padding: 10px 2px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid rgba(44, 42, 39, .1);
  color: inherit;
  text-decoration: none;
  transition: background-color .18s ease;
}

.dg-global-search-results__item:last-child {
  border-bottom: 0;
}

.dg-global-search-results__item:hover,
.dg-global-search-results__item:focus-visible,
.dg-global-search-results__item.is-active {
  background: #f7f4ef;
  color: inherit;
  outline: none;
}

.dg-global-search-results__image {
  width: 58px;
  height: 58px;
  object-fit: cover;
  background: #f2f0ed;
}

.dg-global-search-results__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.dg-global-search-results__title {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dg-global-search-results__type {
  color: #988e83;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 639px) {
  .dg-global-search-results {
    max-height: min(62vh, 430px);
    margin-top: 14px;
  }

  .dg-global-search-results__item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .dg-global-search-results__image {
    width: 48px;
    height: 48px;
  }

  .dg-global-search-results__title {
    font-size: 15px;
  }
}
