/* JBA v16.20.117 — embedded mobile header search + fixed mobile cart actions. */
@media (max-width:900px), (pointer:coarse) {
  /* Search is a real child of the compact storefront header, not a floating button. */
  html body #menu-indo .jba-v1018-topbar{
    padding-right:58px!important;
    padding-left:58px!important;
  }
  html body #menu-indo .jba-v1018-topbar > .jba-v162115-mobile-search{
    position:absolute!important;
    top:0!important;
    right:auto!important;
    bottom:3px!important;
    left:0!important;
    z-index:12!important;
    display:grid!important;
    width:58px!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    place-items:center!important;
    color:#082d64!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  html body #menu-indo .jba-v1018-topbar > .jba-v162115-mobile-search::after{
    content:"";
    position:absolute;
    top:17px;
    right:0;
    bottom:17px;
    width:1px;
    background:#e2e8f0;
  }
  html body #menu-indo .jba-v1018-topbar > .jba-v162115-mobile-search svg{
    width:27px!important;
    height:27px!important;
    stroke-width:2.25!important;
  }

  /* The cart sheet has a fixed header/footer. Only its product list scrolls. */
  html body #jbaModernCartRoot .jba-modern-cart-dialog{
    display:flex!important;
    flex-direction:column!important;
    height:min(90dvh,760px)!important;
    max-height:min(90dvh,760px)!important;
    overflow:hidden!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-top{
    flex:0 0 auto!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-body{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:14px!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-foot{
    position:relative!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    z-index:60!important;
    display:flex!important;
    flex:0 0 auto!important;
    align-items:stretch!important;
    direction:rtl!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;
    background:#fff!important;
    border-top:1px solid #dce4ed!important;
    box-shadow:0 -10px 24px rgba(8,45,100,.10)!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-foot .jba-modern-cart-secure{
    display:none!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-foot .jba-v162117-cart-checkout,
  html body #jbaModernCartRoot .jba-modern-cart-foot .jba-modern-cart-continue{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:48px!important;
    margin:0!important;
    padding:8px 10px!important;
    border-radius:13px!important;
    text-align:center!important;
    line-height:1.35!important;
    font-size:12px!important;
    font-weight:900!important;
    white-space:normal!important;
    text-decoration:none!important;
    touch-action:manipulation!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-foot .jba-v162117-cart-checkout{
    order:1!important;
    flex:1.45 1 0!important;
    color:#fff!important;
    background:#082d64!important;
    border:1px solid #082d64!important;
    box-shadow:none!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-foot .jba-modern-cart-continue{
    order:2!important;
    flex:1 1 0!important;
    color:#082d64!important;
    background:#fff!important;
    border:1px solid #ccd8e4!important;
  }
  html body #jbaModernCartRoot .jba-modern-cart-foot:not(.jba-v162117-has-checkout) .jba-modern-cart-continue{
    flex:1 1 100%!important;
  }
}
