/* v1413: exact live Food header button + generic shared cart scroll lock. */
@media (max-width:639px){
  html[data-v1410-food-mobile-header-cart] header[data-food-retail-shared-header="v1184-fixed-food-shell-header"] button:has([data-food-cart-count-badge="desktop"]){
    display:flex!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    padding:0!important;
    position:relative!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    border:1px solid #059669!important;
    border-radius:9999px!important;
    background:#059669!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:0!important;
    box-shadow:0 8px 20px rgba(5,150,105,.24)!important;
  }
  html[data-v1410-food-mobile-header-cart] header[data-food-retail-shared-header="v1184-fixed-food-shell-header"] button:has([data-food-cart-count-badge="desktop"])::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:12px!important;
    top:13px!important;
    width:18px!important;
    height:12px!important;
    box-sizing:border-box!important;
    border:2px solid #fff!important;
    border-top-width:2px!important;
    border-radius:2px 2px 4px 4px!important;
    background:transparent!important;
    transform:skewX(-7deg)!important;
    z-index:1!important;
  }
  html[data-v1410-food-mobile-header-cart] header[data-food-retail-shared-header="v1184-fixed-food-shell-header"] button:has([data-food-cart-count-badge="desktop"])::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:15px!important;
    top:28px!important;
    width:4px!important;
    height:4px!important;
    border-radius:9999px!important;
    background:#fff!important;
    box-shadow:11px 0 0 #fff!important;
    z-index:1!important;
  }
  html[data-v1410-food-mobile-header-cart] header[data-food-retail-shared-header="v1184-fixed-food-shell-header"] button:has([data-food-cart-count-badge="desktop"]) > svg,
  html[data-v1410-food-mobile-header-cart] header[data-food-retail-shared-header="v1184-fixed-food-shell-header"] button:has([data-food-cart-count-badge="desktop"]) > span:not([data-food-cart-count-badge="desktop"]){
    display:none!important;
  }
  html[data-v1410-food-mobile-header-cart] header[data-food-retail-shared-header="v1184-fixed-food-shell-header"] [data-food-cart-count-badge="desktop"]{
    display:grid!important;
    position:absolute!important;
    right:-4px!important;
    top:-4px!important;
    z-index:3!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    padding:0!important;
    place-items:center!important;
    border:2px solid #059669!important;
    border-radius:9999px!important;
    background:#fff!important;
    color:#047857!important;
    -webkit-text-fill-color:#047857!important;
    font-size:10px!important;
    line-height:1!important;
  }

  html[data-v1410-food-mobile-header-cart] body > [data-food-cart-drawer],
  html[data-v1410-food-mobile-header-cart] [role="dialog"]:has([data-food-cart-scroll-body]){
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    padding:0!important;
    overflow:hidden!important;
    align-items:stretch!important;
    justify-content:flex-end!important;
  }
  html[data-v1410-food-mobile-header-cart] [data-food-cart-drawer] > [data-food-light-surface="cart-drawer"],
  html[data-v1410-food-mobile-header-cart] [data-food-cart-drawer] > aside,
  html[data-v1410-food-mobile-header-cart] [role="dialog"]:has([data-food-cart-scroll-body]) > aside{
    display:flex!important;
    flex-direction:column!important;
    width:100vw!important;
    max-width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    min-height:0!important;
    margin:0!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  html[data-v1410-food-mobile-header-cart] [data-food-cart-scroll-body]{
    display:block!important;
    flex:1 1 0%!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
  }
  html[data-v1410-food-mobile-header-cart] [data-food-cart-footer]{
    flex:0 0 auto!important;
    position:relative!important;
    inset:auto!important;
    margin-top:0!important;
    background:#fff!important;
    padding-bottom:max(1.25rem,env(safe-area-inset-bottom))!important;
  }
}
