/* Only supplement — do NOT restyle the bar. Results list mirrors etheme autocomplete. */
.etheme-search-ajax-results{
  /* Defeat etheme popup vars that set --item-img-width:100% / margin auto */
  --item-img-width:56px;
  --item-img-margin:0;
}
.etheme-search-ajax-results .autocomplete-suggestions{
  display:block !important;
  position:absolute;
  left:0; right:0;
  top:calc(100% + 10px);
  z-index:10050;
  max-height:min(70vh,500px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background:#fff;
  border:1px solid #e1e1e1;
  border-radius:4px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.etheme-search-ajax-results .autocomplete-suggestion{
  display:block !important;
  width:100%;
}
.etheme-search-ajax-results .autocomplete-suggestion > a.etheme-search-form-item,
.etheme-search-ajax-results a.etheme-search-form-item{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:12px;
  padding:10px 12px;
  text-decoration:none;
  color:inherit;
  border-bottom:1px solid #f0f0f0;
}
.etheme-search-ajax-results a.etheme-search-form-item:hover{background:#f7f7f9}

/* Mobile-critical: never collapse / hide thumbs (lazy/size0/display/etheme max-width var). */
.etheme-search-ajax-results .autocomplete-suggestion img,
.etheme-search-ajax-results .etheme-search-form-item img,
.etheme-search-ajax-results .etheme-search-form-item img.wp-post-image{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:56px !important;
  height:56px !important;
  min-width:56px !important;
  min-height:56px !important;
  max-width:56px !important;
  max-height:56px !important;
  flex:0 0 56px !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#f3f3f5;
  border:0;
}

@media (max-width:767px){
  .etheme-search-ajax-results{
    --item-img-width:56px;
    --item-img-margin:0;
  }
  .etheme-search-ajax-results .autocomplete-suggestions{
    max-height:min(60vh,420px);
  }
  .etheme-search-ajax-results .autocomplete-suggestion img,
  .etheme-search-ajax-results .etheme-search-form-item img,
  .etheme-search-ajax-results .etheme-search-form-item img.wp-post-image{
    width:56px !important;
    height:56px !important;
    min-width:56px !important;
    min-height:56px !important;
    max-width:56px !important;
    max-height:56px !important;
    flex:0 0 56px !important;
    display:block !important;
  }
}

.etheme-search-ajax-results .etheme-search-form-item-info{flex:1;min-width:0}
.etheme-search-ajax-results .etheme-search-form-item-title{
  margin:0;font-size:14px;line-height:1.35;color:#222;
}
.etheme-search-ajax-results .etheme-search-form-item-title strong{font-weight:700}
.etheme-search-ajax-results .etheme-search-form-item-price{font-size:14px;font-weight:600;flex:0 0 auto}
.etheme-search-ajax-results .etheme-search-form-more{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  flex-shrink:0;
  padding:0 12px;
  background:#f9f9f9;
  border-top:1px solid #eee;
  position:relative;
  z-index:2;
}
.etheme-search-ajax-results .etheme-search-form-more button{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  box-shadow:none;
  padding:14px 0;
  color:#111;
  cursor:pointer;
}
.etheme-search-ajax-results .etheme-search-form-more button span{
  border-bottom:1px dashed currentColor;
}
.etheme-search-ajax-results .autocomplete-no-suggestion{
  display:block;padding:12px;text-align:center;font-size:13px;
}
.etheme-search-ajax-results .autocomplete-no-suggestion{color:#888}
.rl-owned-search-fallback-wrap{width:min(720px,100%);margin:0 auto}
