/* ELIFLI CAKERY V20.14.193
   ONLY TWO FIXES:
   1) Desktop live-search dropdown size/placement
   2) Mobile unified hamburger brand overlap
*/

/* 1 — Desktop search dropdown: compact and contained under the search bar. */
@media (min-width:901px){
  .elifli-global-search-panel{
    max-height:248px!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    border-radius:16px!important;
  }

  .elifli-global-search-item{
    min-height:64px!important;
    grid-template-columns:46px minmax(0,1fr) 24px!important;
    gap:10px!important;
    padding:7px 12px!important;
  }

  .elifli-global-search-thumb{
    width:44px!important;
    height:44px!important;
    border-radius:10px!important;
  }

  .elifli-global-search-copy strong{
    font-size:14px!important;
    line-height:1.15!important;
  }

  .elifli-global-search-copy small{
    font-size:10px!important;
    line-height:1.15!important;
  }

  .elifli-global-search-arrow{
    font-size:18px!important;
  }
}

/* 2 — Mobile drawer: once open, the page hamburger must not sit over the drawer brand. */
@media (max-width:900px){
  body.elifli-unified-drawer-open [data-mobile-menu-open],
  body.elifli-unified-drawer-open #mhomeMenuOpen,
  body.elifli-unified-drawer-open .ru-menu,
  body.elifli-unified-drawer-open #am,
  body.elifli-unified-drawer-open [data-reference-desktop-menu-open]{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  .elifli-unified-drawer__head{
    min-height:132px!important;
    padding:22px 0 18px!important;
  }

  .elifli-unified-drawer__brand{
    min-width:0!important;
    padding-left:4px!important;
  }

  .elifli-unified-drawer__brand strong{
    white-space:nowrap!important;
    overflow:visible!important;
  }

  .elifli-unified-drawer__close{
    flex:0 0 46px!important;
    position:relative!important;
    z-index:2!important;
  }
}
