/* DWA search suggestions. Scoped to .dwas-*; inherits the theme font (Poppins). */
.dwas-host {
  position: relative;
}

.dwas-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1050;
  box-sizing: border-box;
  width: 100%;
  min-width: 26rem;
  max-width: calc(100vw - 2rem);
  max-height: min(70vh, 36rem);
  margin-top: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #232323;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
}

.dwas-panel[hidden] {
  display: none;
}

.dwas-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.dwas-head {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.dwas-opt a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  color: inherit;
  text-decoration: none;
}

.dwas-opt a:hover,
.dwas-opt.is-active a {
  background: #eef5fa;
  color: inherit;
  text-decoration: none;
}

.dwas-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 3px;
}

.dwas-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dwas-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.dwas-name mark {
  padding: 0;
  background: none;
  color: inherit;
  font-weight: 700;
}

.dwas-meta {
  font-size: 12px;
  color: #666;
}

.dwas-opt:not(.dwas-prod) .dwas-meta {
  margin-left: auto;
  white-space: nowrap;
}

.dwas-price {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.dwas-price small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #666;
}

.dwas-msg {
  padding: 10px 14px 4px;
  color: #444;
}

.dwas-route a,
.dwas-all a {
  color: #1b6a92;
  font-weight: 600;
}

.dwas-route a::after {
  content: " \2192";
}

.dwas-all {
  margin-top: 4px;
  border-top: 1px solid #ececec;
}

.dwas-all a {
  padding: 12px 14px;
}

.dwas-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .dwas-panel {
    min-width: 0;
    max-width: none;
    max-height: 65vh;
  }
}
