/*
 * Nav search dropdown.
 * Colours, radii and fonts are lifted from assets/css/templatemo-cyborg-gaming.css
 * (panel #1f2122, tile #27292a, radius 23px/18px, muted #666, accent yellow /
 * #ec6090, Poppins) so the panel reads as part of the template, not bolted on.
 * That file is not edited.
 *
 * The dropdown lives inside #search, which the template already hides below
 * 992px - so this inherits the mobile behaviour with no extra breakpoint.
 */

.header-area .main-nav #search .site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1010;
  min-width: 300px;
  width: 100%;
  padding: 8px;
  background-color: #1f2122;
  border: 1px solid #27292a;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.header-area .main-nav #search .site-search-results[hidden] {
  display: none;
}

.site-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  transition: all 0.3s ease 0s;
}

.site-search-row + .site-search-row {
  margin-top: 2px;
}

.site-search-row:hover,
.site-search-row.is-active {
  background-color: #27292a;
  box-shadow: inset 3px 0 0 0 yellow;
}

.site-search-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.site-search-title {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-search-sub {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-search-kind {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #666;
}

.site-search-row.is-active .site-search-kind {
  color: yellow;
}

.site-search-ext {
  flex: 0 0 auto;
  font-size: 12px;
  color: yellow;
}

/* The quote fallback is the one call to action in the list, so it takes the
   template's primary pink rather than the muted row treatment. */
.site-search-row.is-quote .site-search-title {
  color: #ec6090;
  white-space: normal;
}

.site-search-row.is-quote:hover .site-search-title,
.site-search-row.is-quote.is-active .site-search-title {
  color: #e75e8d;
}

.site-search-row.is-quote:hover,
.site-search-row.is-quote.is-active {
  box-shadow: inset 3px 0 0 0 #ec6090;
}

/* Visually hidden, still announced. */
.site-search-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
