/* v1412: target the actual compiled Food header button and v1399 shared cart body. */
@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:inline-flex!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative!important;
    overflow:visible!important;
    border-radius:9999px!important;
    border:1px solid #059669!important;
    background-color:#059669!important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 10.4a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E")!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-size:22px 22px!important;
    color:transparent!important;
    -webkit-text-fill-color:transparent!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,
  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:2!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    padding:0!important;
    place-items:center!important;
    border-radius:9999px!important;
    border:2px solid #059669!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] {
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }
  html[data-v1410-food-mobile-header-cart] body > [data-food-cart-drawer] > aside,
  html[data-v1410-food-mobile-header-cart] [data-food-cart-drawer] [data-food-light-surface="cart-drawer"]{
    width:100vw!important;
    max-width:none!important;
    height:100dvh!important;
    max-height:100dvh!important;
    min-height:0!important;
    border-radius:0!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }
  html[data-v1410-food-mobile-header-cart] [data-food-cart-drawer] [data-food-cart-scroll-body="v1399-shared-scroll"],
  html[data-v1410-food-mobile-header-cart] [data-food-cart-drawer] [data-food-cart-scroll-body]{
    display:block!important;
    flex:1 1 0%!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:scroll!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-drawer] [data-food-cart-footer]{
    flex:0 0 auto!important;
    position:relative!important;
    inset:auto!important;
  }
}
