/* One.v2.43 — mobile Cart bottom-sheet, stale-open and floating-support repair */
.cart-drawer,
.reference-storefront-v415 .cart-drawer{
  box-sizing:border-box!important;
}
.cart-drawer .drawer-head,
.cart-drawer .cart-items,
.cart-drawer .drawer-foot{box-sizing:border-box!important;min-width:0!important}
.cart-drawer .cart-items{display:flex!important;flex-direction:column!important}
.cart-drawer.cart-empty .cart-items{justify-content:center!important;align-items:center!important;padding:22px!important}
.cart-empty-state{width:min(100%,340px);display:grid;justify-items:center;gap:10px;text-align:center;color:#607169}
.cart-empty-state strong{font:800 clamp(18px,5vw,23px)/1.2 Arial,sans-serif;color:#0b5b3d}
.cart-empty-state p{margin:0;font:600 13px/1.45 Arial,sans-serif;color:#6d7c75}
.cart-empty-state .btn{margin-top:4px;min-width:190px}
.cart-drawer.cart-empty .drawer-foot{display:none!important}
.cart-drawer .drawer-foot{
  max-height:none!important;
  overflow:visible!important;
  padding:14px 18px calc(14px + max(env(safe-area-inset-bottom),8px))!important;
}
.cart-drawer .drawer-foot>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:10px!important;
}
.cart-drawer .drawer-foot strong{min-width:0!important;max-width:52vw!important;text-align:right!important;overflow-wrap:anywhere!important}
.cart-drawer .drawer-foot span{color:#173a2c!important}
.cart-drawer .drawer-foot strong{color:#0b5b3d!important}
.cart-drawer .drawer-foot small{color:#6d7c75!important}
.cart-drawer .cart-row h4{color:#0b5b3d!important}
.cart-drawer .cart-row span{color:#a56808!important}
.cart-drawer .cart-row small{color:#68776f!important}
.cart-drawer .cart-row button{color:#ad4d3c!important}
.cart-drawer .drawer-foot .btn{min-height:48px!important;width:100%!important;white-space:normal!important;line-height:1.2!important}
.cart-drawer .drawer-foot small{margin-top:7px!important;line-height:1.35!important;max-height:3.8em!important;overflow:hidden!important}
body.cart-layer-open .oneza-wa-support,
body.cart-layer-open .oneza-wa-fab,
.oneza-wa-support.cart-suppressed{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Closed cart must never flash during refresh or Back/Forward cache restoration. */
.cart-drawer:not(.open){pointer-events:none!important}

@media(max-width:720px){
  .overlay{background:rgba(6,25,18,.42)!important;backdrop-filter:blur(1.5px)!important}
  .cart-drawer,
  .reference-storefront-v415 .cart-drawer{
    top:auto!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    left:max(8px,env(safe-area-inset-left))!important;
    width:auto!important;
    max-width:none!important;
    height:min(84dvh,720px)!important;
    min-height:360px!important;
    max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    border:1px solid rgba(15,91,61,.16)!important;
    border-radius:24px!important;
    box-shadow:0 24px 70px rgba(0,0,0,.30)!important;
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(calc(100% + 36px))!important;
    transition:transform .28s ease,opacity .2s ease,visibility 0s linear .28s!important;
  }
  .cart-drawer.open,
  .reference-storefront-v415 .cart-drawer.open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
    transition-delay:0s!important;
  }
  .cart-drawer.cart-empty,
  .reference-storefront-v415 .cart-drawer.cart-empty{
    height:min(48dvh,430px)!important;
    min-height:315px!important;
  }
  .cart-drawer .drawer-head{min-height:64px!important;padding:12px 15px!important;border-radius:24px 24px 0 0!important}
  .cart-drawer .drawer-head h3{font-size:clamp(22px,6vw,29px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .cart-drawer #closeCart{right:12px!important;width:44px!important;height:44px!important}
  .cart-drawer .cart-items{padding:12px 16px!important}
  .cart-drawer .drawer-foot{padding:12px 16px calc(12px + max(env(safe-area-inset-bottom),8px))!important;border-radius:0 0 24px 24px!important}
  .cart-drawer .drawer-foot>div{font-size:clamp(15px,4.2vw,18px)!important}
  .cart-drawer .drawer-foot strong{font-size:clamp(17px,4.8vw,21px)!important;max-width:48vw!important}
}
@media(max-width:420px){
  .cart-drawer,
  .reference-storefront-v415 .cart-drawer{
    right:max(6px,env(safe-area-inset-right))!important;
    bottom:max(6px,env(safe-area-inset-bottom))!important;
    left:max(6px,env(safe-area-inset-left))!important;
    border-radius:21px!important;
  }
  .cart-drawer.cart-empty,
  .reference-storefront-v415 .cart-drawer.cart-empty{height:min(46dvh,400px)!important;min-height:300px!important}
  .cart-drawer .drawer-head{border-radius:21px 21px 0 0!important}
  .cart-drawer .drawer-foot{border-radius:0 0 21px 21px!important}
}
@media(max-height:650px) and (max-width:720px){
  .cart-drawer,
  .reference-storefront-v415 .cart-drawer{height:calc(100dvh - 12px)!important;min-height:0!important}
  .cart-drawer.cart-empty,
  .reference-storefront-v415 .cart-drawer.cart-empty{height:min(66dvh,390px)!important;min-height:270px!important}
  .cart-drawer .drawer-head{min-height:56px!important;padding-top:7px!important;padding-bottom:7px!important}
  .cart-drawer #closeCart{width:39px!important;height:39px!important}
  .cart-drawer .drawer-foot{padding-top:8px!important;padding-bottom:calc(8px + max(env(safe-area-inset-bottom),6px))!important}
  .cart-drawer .drawer-foot .btn{min-height:43px!important}
}
@media(prefers-reduced-motion:reduce){
  .cart-drawer,.reference-storefront-v415 .cart-drawer{transition:none!important}
}
html::after{content:"One.v2.43-mobile-cart-bottom-sheet";display:none}
