#search.smart-search {
  position: relative;
}

.smart-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10000;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .14);
  overflow: hidden;
  text-align: left;
}

.smart-search-section + .smart-search-section {
  border-top: 1px solid #f0f0f0;
}

.smart-search-title {
  padding: 10px 14px 6px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.smart-search-item,
.smart-search-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #222;
  text-decoration: none;
}

.smart-search-item:hover,
.smart-search-item.is-active,
.smart-search-all:hover,
.smart-search-all.is-active {
  background: #f7f7f7;
  color: #111;
  text-decoration: none;
}

.smart-search-thumb {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #eee;
}

.smart-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.smart-search-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.smart-search-name {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  color: #222;
}

.smart-search-meta {
  margin-top: 2px;
  font-size: 12px;
  color: #888;
}


.smart-search-simple {
  font-size: 14px;
}

.smart-search-icon {
  width: 20px;
  text-align: center;
  opacity: .75;
}

.smart-search-all {
  justify-content: center;
  font-weight: 700;
  color: #0b63a3;
  border-top: 1px solid #f0f0f0;
}

.smart-search-empty {
  padding: 18px 14px;
  color: #777;
}

.smart-search-dropdown mark {
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
}

@media (max-width: 767px) {
  .smart-search-dropdown {
    left: -10px;
    right: -10px;
    max-height: 75vh;
    overflow-y: auto;
  }
}
