html.store-cart-is-open{overflow:hidden}
.store-cart-drawer{
  position:fixed;inset-block:0;inset-inline:0 auto;margin:0;
  width:min(27rem,90vw);max-width:none;height:100%;height:100dvh;max-height:none;
  box-sizing:border-box;border:0;padding:0;background:#fff;color:#252125;
  box-shadow:0 0 32px #0003;overscroll-behavior:contain;
}
.store-cart-drawer[open]{display:flex;flex-direction:column}
.store-cart-drawer::backdrop{background:#10243670}
.store-cart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line,#e7e1e4)}
.store-cart-heading h2{font-size:21px;margin:0}
.store-cart-heading button{width:44px;height:44px;border:1px solid var(--line,#e7e1e4);border-radius:50%;background:#fff;color:inherit;font-size:25px;cursor:pointer}
.store-cart-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:14px 16px max(20px,env(safe-area-inset-bottom))}
.store-cart-page .store-cart-content{max-width:780px;margin-inline:auto}
.store-cart-notice,.store-cart-error{margin:0 0 10px;padding:10px;border-radius:8px;background:#f3f5f8}
.store-cart-items{list-style:none;margin:0;padding:0;background:#fff}
.store-cart-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line,#e7e1e4)}
.store-cart-thumb{display:grid;place-items:center;flex:none;width:54px;height:70px;overflow:hidden;border-radius:7px;background:#f6f2f3;color:#866777}
.store-cart-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.store-cart-item-info{min-width:0;overflow-wrap:anywhere}
.store-cart-item-info small{display:block;margin-top:4px;font-size:12px;color:#60565b}
.store-cart-item-actions{display:grid;justify-items:end;gap:5px;font-size:13px}
.store-cart-item-actions button{min-height:34px;padding:3px 9px;border:1px solid var(--line,#e7e1e4);border-radius:6px;background:#fff;color:inherit;cursor:pointer}
.store-cart-bottom{display:grid;gap:10px;margin-top:14px}
.store-cart-bottom .cart-total{margin:0;border:1px solid var(--line,#e7e1e4)}
.store-cart-bottom .cta{text-align:center}
.store-checkout-item{display:flex;gap:9px;align-items:center;min-width:0}
.store-checkout-item>div{min-width:0;overflow-wrap:anywhere}
.store-checkout-item .store-cart-thumb{width:48px;height:62px}
@media(max-width:360px){
  .store-cart-body{padding-inline:10px}
  .store-cart-item{gap:6px}
  .store-cart-thumb{width:43px;height:58px}
}
