*{box-sizing:border-box}body{margin:0;color:var(--food-ink,#43251d);background:#f8f7f5;font-family:Poppins,sans-serif}button,a,input{font:inherit}a{text-decoration:none;color:var(--food-primary,#b83224)}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:default}.bag{max-width:720px;margin:0 auto;background:#fff;min-height:100vh;padding:0 20px 130px;border-radius:24px 24px 0 0}.bag-header{display:flex;align-items:center;justify-content:space-between;height:76px;position:sticky;top:0;background:#fff;z-index:2}.bag-header h1{font-size:15px;font-weight:500}.bag-header>a{width:38px;height:38px;border-radius:50%;background:#f6f6f6;text-align:center;font-size:24px;color:var(--food-ink)}.bag-header button,.coupon button{color:var(--food-primary);background:transparent;font-size:13px;font-weight:500}.bag-store{display:flex;align-items:center;gap:12px;margin:12px 0 30px}.bag-store img{width:46px;height:46px;border-radius:50%}.bag-store h2{margin:0;font-size:16px}.bag-store a{font-size:13px;font-weight:500}section{margin:28px 0}section h2{font-size:16px;font-weight:500;margin:0 0 16px}.cart-item{display:grid;grid-template-columns:48px minmax(0,1fr) 88px;gap:10px;margin-bottom:24px}.item-photo{position:relative;align-self:start}.item-photo img{width:48px;height:52px;object-fit:cover;border-radius:8px}.edit-pencil{position:absolute;right:-4px;top:-6px;border-radius:50%;background:#fff;width:22px;height:22px;text-align:center;color:var(--food-primary)}.item-title{color:var(--food-ink);font-size:12px;font-weight:500;line-height:17px;display:block}.item-description{font-size:11px;color:var(--food-muted);line-height:16px;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-options,.item-note{font-size:10px;line-height:15px;color:var(--food-muted);margin:5px 0;overflow-wrap:anywhere}.item-price{font-size:13px;color:#218451;font-weight:500;margin:10px 0 0}.item-price del{font-size:10px;font-weight:400;color:#999;margin-left:5px}.item-controls{height:34px;display:flex;align-items:center;justify-content:space-between;background:#f6f6f6;border-radius:8px}.item-controls button{width:30px;background:transparent;color:var(--food-primary);font-size:21px;padding:0}.item-controls span{font-size:12px}.more-items{display:block;text-align:center;background:#f6f6f6;color:var(--food-ink);font-size:13px;font-weight:500;border-radius:12px;padding:14px}.suggestion-track{display:flex;gap:14px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}.suggestion{flex:0 0 112px;scroll-snap-align:start}.suggestion-image{position:relative;background:#f6f6f6;border-radius:14px;height:112px}.suggestion img{width:100%;height:100%;object-fit:contain;border-radius:14px}.suggestion button{position:absolute;right:5px;bottom:5px;width:32px;height:32px;border-radius:50%;background:#fff;font-size:24px;box-shadow:0 1px 3px #ddd}.suggestion p{font-size:12px;margin:8px 0 0}.suggestion-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:17px}.coupon{display:flex;justify-content:space-between;align-items:center}.coupon h2{margin-bottom:4px}.coupon p,.delivery-note{font-size:11px;color:var(--food-muted);margin:0}.summary{font-size:12px;color:var(--food-muted)}.summary>div{display:flex;justify-content:space-between;gap:12px;margin:14px 0}.summary dd{margin:0;text-align:right}.summary-total{font-size:15px;color:var(--food-ink);font-weight:500}.bag-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:720px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-top:1px solid #eee;padding:14px 20px calc(14px + env(safe-area-inset-bottom));z-index:3}.bag-bottom small{font-size:11px;color:var(--food-muted)}.bag-bottom p{margin:3px 0 0}.bag-bottom strong{font-size:17px;font-weight:500}.bag-bottom span{font-size:11px;color:var(--food-muted)}.bag-bottom button,.confirm-clear{border-radius:10px;background:var(--food-primary);color:#fff;padding:14px 25px;font-size:13px;font-weight:500}.empty-cart{font-size:13px;color:var(--food-muted);padding:20px 0}dialog{border:1px solid #eee;border-radius:18px;max-width:calc(100% - 40px);width:380px;padding:24px;color:var(--food-ink)}dialog::backdrop{background:#0006}.dialog-close{float:right;background:transparent;font-size:24px}dialog h2{font-size:18px}dialog p{font-size:14px;line-height:22px}@media(min-width:768px){.bag{margin-top:24px}.cart-item{grid-template-columns:64px minmax(0,1fr) 100px}.item-photo img{width:64px;height:64px}.item-title{font-size:14px}}

.item-controls button{display:flex;align-items:center;justify-content:center;height:34px;flex-shrink:0}.coupon{display:block}.coupon form{display:flex;gap:10px;align-items:center}.coupon input{min-width:0;flex:1;border:1px solid #e8e8e8;border-radius:10px;padding:12px;font-size:14px;color:var(--food-ink)}.coupon button{padding:12px 0}.coupon-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#cart-toast{position:fixed;z-index:20;top:16px;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:680px;background:#ff464c;color:#fff;padding:16px 20px;border-radius:10px;box-shadow:0 4px 12px #0002;font-size:14px;line-height:20px}#cart-toast[hidden]{display:none}

.checkout-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:720px;z-index:4;background:#fff;display:flex;padding:12px 15px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #eee}.checkout-nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#a1a1a1;font-size:12px;line-height:18px}.checkout-nav a span{display:block;height:24px;font-size:24px;line-height:24px;color:#d3d9d8}.checkout-nav a.active,.checkout-nav a.active span{color:var(--food-primary)}.bag-bottom{bottom:calc(71px + env(safe-area-inset-bottom));padding-bottom:14px}.bag{padding-bottom:210px}
