
/* ELIFLI CAKERY V20.14.57 — Live product-name autocomplete */
.mhome-search-wrap{
  position:relative;
  z-index:80;
}
.mhome-search-suggestions{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  display:none;
  overflow:hidden;
  border:1px solid #f2dbe1;
  border-radius:18px;
  background:rgba(255,255,255,.985);
  box-shadow:0 24px 60px rgba(70,34,44,.14);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  z-index:999;
}
.mhome-search-suggestions.open{
  display:block;
}
.mhome-search-result{
  width:100%;
  min-height:78px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto 24px;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border:0;
  border-bottom:1px solid #f7e8ec;
  background:#fff;
  color:#382b2e;
  text-align:left;
  cursor:pointer;
  transition:background .16s ease,transform .16s ease;
}
.mhome-search-result:last-child{border-bottom:0}
.mhome-search-result:hover,
.mhome-search-result.active{
  background:#fff5f7;
}
.mhome-search-result__image{
  width:56px;
  height:56px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#fff3f5;
  font-size:25px;
}
.mhome-search-result__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.mhome-search-result__copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.mhome-search-result__copy strong{
  overflow:hidden;
  color:#34282b;
  font-size:15px;
  font-weight:850;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mhome-search-result__copy small{
  overflow:hidden;
  color:#917d82;
  font-size:11px;
  font-weight:650;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mhome-search-result__price{
  color:#e64370;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.mhome-search-result__arrow{
  color:#e64370;
  font-size:20px;
  font-weight:800;
}
.mhome-search-empty{
  padding:18px 20px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.mhome-search-empty strong{
  color:#3b2c30;
  font-size:14px;
}
.mhome-search-empty span{
  color:#927f84;
  font-size:12px;
}

@media (max-width:900px){
  .mhome-search-wrap{
    z-index:350!important;
  }
  .mhome-search-suggestions{
    top:calc(100% + 6px);
    border-radius:15px;
    box-shadow:0 18px 42px rgba(70,34,44,.17);
  }
  .mhome-search-result{
    min-height:69px;
    grid-template-columns:50px minmax(0,1fr) 18px;
    gap:10px;
    padding:9px 11px;
  }
  .mhome-search-result__image{
    width:48px;
    height:48px;
    border-radius:10px;
  }
  .mhome-search-result__copy strong{
    font-size:13px;
  }
  .mhome-search-result__copy small{
    font-size:10px;
  }
  .mhome-search-result__price{
    display:none;
  }
  .mhome-search-result__arrow{
    font-size:18px;
  }
}


/* V20.14.59 — search results: product name/category only, no price */
.mhome-search-result{
  grid-template-columns:58px minmax(0,1fr) 24px;
}
.mhome-search-result__price{
  display:none!important;
}
@media (max-width:900px){
  .mhome-search-result{
    grid-template-columns:50px minmax(0,1fr) 18px;
  }
}
