/* Live results dropdown with image left, title + SKU right */
/* Container */
#len-live-results {
  display: none;
  position: absolute;
  z-index: 99999;
  background: #fff;
  border: 2px solid #000;        /* black border */
  border-radius: 14px;           /* rounded corners */
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  overflow: hidden;
  max-height: 70vh;
  overflow-y: auto;
}
#len-live-results.open { display: block; }

/* Items */
#len-live-results .len-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
#len-live-results .len-item:last-child { border-bottom: 0; }
#len-live-results .len-item:hover,
#len-live-results .len-item.active {
  background: #f6f6f6;
}

/* Thumb */
#len-live-results .len-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  display: block;
}
#len-live-results .len-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Text */
#len-live-results .len-meta { display: flex; flex-direction: column; }
#len-live-results .len-title {
  font-size: 14px; line-height: 1.2; color: #111; font-weight: 600; margin-bottom: 4px;
}
#len-live-results .len-sku {
  font-size: 12px; color: #444; margin-bottom: 2px;
}
#len-live-results .len-price {
  font-size: 12px; color: #111;
}

/* Empty state */
#len-live-results .len-empty {
  padding: 12px;
  font-size: 13px;
  color: #666;
}

/* Live results tweaks — tighter padding, normal title weight, thinner outline */
#len-live-results {
  border-width: 1px;            /* thinner outer border */
}

#len-live-results .len-item {
  padding: 6px 10px;            /* reduced padding */
  gap: 8px;                     /* a touch tighter */
}

#len-live-results .len-title {
  font-weight: 400;             /* normal instead of semi-bold */
}

/* Hide Astra native live-results dropdown when using custom one */
.ast-search-menu .ast-live-search-results,
.ast-header-search .ast-live-search-results,
.ast-search-menu .astra-search-results,
.ast-header-search .astra-search-results,
.ast-search-box .autocomplete-suggestions,
.ast-search-box .search-results {
  display: none !important;
  visibility: hidden !important;
}