.drawer{background:var(--surface);width:min(460px,100%);max-width:none;height:100dvh;max-height:none;color:var(--text);box-shadow:var(--shadow);animation:enter var(--dur-3) var(--ease);--from:translateX(100%);--from-o:1;border:0;margin:0 0 0 auto;padding:0;position:fixed;inset:0}.drawer::backdrop{animation:fade var(--dur-3);background:#1a1a1880}.drawer-panel{flex-direction:column;height:100%;display:flex}.drawer-head{justify-content:space-between;align-items:center;padding:14px 16px 12px 24px;display:flex}.drawer-head h2{align-items:center;gap:10px;font-size:22px;display:flex}.drawer-head h2 span{border-radius:var(--pill);background:var(--lime);min-width:28px;height:28px;color:var(--on-lime);place-items:center;padding:0 8px;font-size:14px;display:grid}.drawer-head h2 span.is-bump{animation:pop var(--dur-4) var(--spring)}.drawer-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:0 24px 20px;overflow-y:auto}.drawer-foot{padding:14px 24px calc(14px + env(safe-area-inset-bottom));background:var(--surface-2);border-top:1px solid var(--border);gap:6px;display:grid}.drawer-foot p{color:var(--muted);font-size:13px;line-height:1.35}.drawer-rows{color:var(--muted);gap:2px;margin:0;font-size:14px;font-weight:700;display:grid}.drawer-rows div{justify-content:space-between;gap:12px;display:flex}.drawer-rows dd{color:var(--text);margin:0;font-weight:800}.drawer-rows .is-saving,.drawer-rows .is-saving dd{color:var(--success)}.drawer-subtotal{color:var(--text);justify-content:space-between;align-items:baseline;font-weight:800;display:flex}.drawer-subtotal strong{font-size:26px;font-weight:800;line-height:1.15}.drawer-foot .btn{margin-top:6px}.drawer-continue{min-height:40px;color:var(--muted);transition:color var(--dur-1), transform var(--dur-1) var(--ease);font-size:14px;font-weight:700}.drawer-continue:hover{color:var(--text)}.drawer-continue:active{transform:scale(.96)}.is-stale .drawer-rows .is-saving,.is-stale .drawer-subtotal strong,.line-total.is-stale{opacity:.45}.drawer-rows .is-saving,.drawer-subtotal strong,.line-total{transition:opacity var(--dur-2)}.drawer .count[data-shown]:after{left:auto;right:0}.ship-progress{border-radius:var(--radius-sm);background:var(--surface-2);transition:background var(--dur-3);gap:8px;margin:0 24px 6px;padding:12px 16px;display:grid}.ship-progress p{color:var(--muted);font-size:14px;font-weight:600;line-height:1.3}.ship-progress p strong{color:var(--text)}.ship-progress p svg{vertical-align:-3px;margin-right:6px;display:inline}.ship-progress p .num{line-height:1}.ship-progress svg{color:var(--success);flex:none}.ship-progress small{color:var(--muted);margin-top:-5px;font-size:12.5px;line-height:1.35}.ship-progress small button{color:var(--accent);text-underline-offset:3px;font-weight:800;text-decoration:underline}.ship-bar{border-radius:var(--pill);background:var(--surface-3);height:8px;overflow:hidden}.ship-bar span{border-radius:inherit;background:var(--success);transform-origin:0;height:100%;transition:transform var(--dur-4) var(--ease);display:block}.ship-scale{color:var(--muted);justify-content:space-between;gap:12px;margin-top:-3px;font-size:12px;font-weight:700;line-height:1.3;display:flex}.ship-scale .num{color:var(--text);line-height:1}.ship-progress.is-reached{background:var(--lime-tint)}.ship-progress.is-reached p,.ship-progress.is-reached p strong{color:var(--success)}.ship-note{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--muted);margin:0 24px 6px;padding:12px 16px;font-size:13px;font-weight:600;line-height:1.4}.ship-progress.is-celebrate{animation:reached var(--dur-4) var(--spring)}.ship-progress.is-celebrate p{animation:roll var(--dur-3) var(--ease)}@keyframes reached{0%{transform:scale(.97)}60%{transform:scale(1.02)}to{transform:none}}.line{border-bottom:1px solid var(--border);grid-template-columns:76px minmax(0,1fr) auto;grid-template-areas:"img info remove""img qty total";align-items:center;gap:8px 12px;padding:14px 0;display:grid}.line-photo{border-radius:14px;grid-area:img;align-self:start}.line img{object-fit:cover;background:var(--surface-2);width:76px;height:76px;box-shadow:inset 0 0 0 1px var(--border);transition:transform var(--dur-2) var(--ease);border-radius:14px}.line-photo:hover img{transform:scale(1.04)}.line-info{grid-area:info;align-self:start;gap:2px;display:grid}.line-name{-webkit-line-clamp:2;transition:color var(--dur-1);-webkit-box-orient:vertical;font-weight:700;line-height:1.3;display:-webkit-box;overflow:hidden}.line-name:hover{color:var(--accent)}.line-info small{color:var(--muted);font-size:13px;line-height:1.35}.line-info .line-promo{color:var(--success);transition:color var(--dur-2);justify-self:start;font-weight:800}.line-info .line-promo.is-hint{color:var(--muted);font-weight:700}.line-remove{width:32px;height:32px;color:var(--muted-2);transition:background var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease);border-radius:50%;grid-area:remove;align-self:start;place-items:center;margin:-4px -8px 0 0;display:grid}.line-remove:hover{background:var(--surface-3);color:var(--text)}.line-remove:active{transform:scale(.9)}.line .qty{grid-area:qty;width:124px;height:40px}.line .qty button{height:40px}.line-total{grid-area:2/2/auto/-1;justify-self:end;justify-items:end;gap:1px;display:grid}.line-total strong{font-size:17px;font-weight:800;line-height:1.15}.line-total s{color:var(--muted);font-size:12.5px;font-weight:600;line-height:1.1}.drawer-extras{padding-top:20px}.drawer-extras h3{margin-bottom:12px;font-size:16px}.extras-track{scrollbar-width:none;grid-auto-columns:132px;grid-auto-flow:column;gap:12px;margin-inline:-24px;padding:2px 24px 4px;display:grid;overflow-x:auto}.extras-track::-webkit-scrollbar{display:none}.extra{animation:rise var(--dur-3) var(--ease) backwards;align-content:start;gap:4px;display:grid}.extra:nth-child(2){animation-delay:40ms}.extra:nth-child(3){animation-delay:80ms}.extra:nth-child(4){animation-delay:var(--dur-1)}.extra-photo{border-radius:12px;display:block;position:relative;overflow:hidden}.extra-photo img{aspect-ratio:1;object-fit:cover;background:var(--surface-2);width:100%;height:auto;box-shadow:inset 0 0 0 1px var(--border);transition:transform var(--dur-3) var(--ease)}.extra-photo:hover img{transform:scale(1.05)}.extra-photo .badge{position:absolute;top:6px;left:6px}.extra-name{-webkit-line-clamp:2;min-height:2.5em;transition:color var(--dur-1);-webkit-box-orient:vertical;font-size:13px;font-weight:700;line-height:1.25;display:-webkit-box;overflow:hidden}.extra-name:hover{color:var(--accent)}.extra-price{flex-wrap:wrap;align-items:baseline;gap:0 6px;display:flex}.extra-price strong{font-size:15px;font-weight:800}.extra-price s{color:var(--muted);font-size:12px;font-weight:600}.extra-reach{min-height:1.25em;color:var(--success);font:800 11.5px/1.25 var(--font-title);white-space:nowrap}.extra-add{border-radius:var(--pill);background:var(--lime);min-height:36px;color:var(--on-lime);font:800 13px/1 var(--font-title);transition:background var(--dur-1), transform var(--dur-1) var(--ease);justify-content:center;align-items:center;gap:4px;margin-top:2px;display:inline-flex}.extra-add:hover{background:var(--lime-soft)}.extra-add:active{transform:scale(.96)}.drawer-empty{animation:fade var(--dur-3) var(--ease);flex:1;align-content:start;gap:16px;padding:4px 24px 24px;display:grid;overflow-y:auto}.drawer-empty-art{border-radius:var(--radius);text-align:center;justify-items:center;gap:6px;padding:12px 20px 28px;display:grid}.drawer-empty-art img{width:200px;height:auto}.drawer-empty-art h3{font-size:22px}.drawer-empty-art p{color:var(--muted);font-size:15px}.drawer-empty nav{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.drawer-empty>p{color:var(--muted);text-align:center;font-size:13px;line-height:1.4}.toast{z-index:60;background:var(--surface);box-shadow:var(--shadow), inset 0 0 0 1px var(--border);animation:enter var(--dur-4) var(--spring);--from:translateY(24px) scale(.94);border-radius:22px;grid-template-columns:56px minmax(0,250px) auto auto;align-items:center;gap:12px;padding:10px 8px 10px 10px;display:grid;position:fixed;bottom:96px;right:24px}.toast.is-leaving{--from:translateY(12px);animation:leave var(--dur-confirm) var(--ease-in) both}.toast-photo{position:relative}.toast-photo img{object-fit:cover;background:var(--surface-2);border-radius:12px;width:56px;height:56px}.toast-photo b{border-radius:var(--pill);background:var(--on-lime);min-width:22px;height:22px;color:var(--lime);animation:pop var(--dur-4) var(--spring);place-items:center;padding:0 6px;font-size:12px;font-weight:800;display:grid;position:absolute;top:-6px;right:-6px}.toast-text{gap:1px;min-width:0;display:grid}.toast-text strong{color:var(--success);font:800 13px/1.3 var(--font-title);align-items:center;gap:6px;display:flex}.toast-text>span{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:700;overflow:hidden}.toast-text small{color:var(--muted);font-size:12.5px;font-weight:600;line-height:1.35}.toast-text small .num{color:var(--text);font-weight:800;line-height:1}.toast-text .toast-ship{color:var(--success)}.toast-text .toast-ship .num{color:inherit}.cart-bar{display:none}@media (width<=760px){.toast{display:none}.cart-bar{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:45;border-radius:var(--pill);background:var(--lime);height:58px;color:var(--on-lime);font:800 15px/1 var(--font-title);text-align:left;animation:enter var(--dur-4) var(--spring);--from:translateY(24px) scale(.94);transition:transform var(--dur-1) var(--ease);grid-template-columns:auto 1fr auto auto;align-items:center;gap:12px;padding:0 18px 0 10px;display:grid;position:fixed;box-shadow:0 10px 28px #1a1a1847}.cart-bar:active{transform:scale(.96)}.cart-bar-count{border-radius:var(--pill);background:var(--on-lime);min-width:38px;height:38px;color:var(--lime);place-items:center;padding:0 8px;display:grid}.cart-bar-count.is-bump{animation:roll var(--dur-2) var(--ease)}.cart-bar-label{animation:roll var(--dur-2) var(--ease);align-items:center;gap:6px;display:flex}.drawer{width:100%}.drawer-head{padding:8px 8px 8px 16px}.drawer-scroll,.drawer-foot{padding-inline:16px}.drawer-foot{padding-block:12px calc(10px + env(safe-area-inset-bottom));gap:4px}.drawer-foot .btn{margin-top:4px}.drawer-subtotal strong{font-size:24px}.drawer-continue{display:none}.ship-progress,.ship-note{margin-inline:16px;padding:10px 14px}.extras-track{margin-inline:-16px;padding-inline:16px}.drawer-empty{padding-inline:16px}}.cart-clear{justify-content:flex-end;margin-top:8px;display:flex}.cart-clear-open{min-height:44px;color:var(--error);font-size:14px}.cart-clear-open:hover{text-underline-offset:3px;text-decoration:underline}.cart-clear.is-asking{background:var(--surface-2);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:12px 14px}.cart-clear.is-asking p{font-size:14px;font-weight:700}.cart-clear.is-asking div{gap:8px;margin-left:auto;display:flex}.cart-clear-yes,.cart-clear-yes:hover{background:var(--error);color:#fff}.drawer-points{color:var(--text);font-size:13.5px;font-weight:600}.drawer-cash{color:var(--accent);font-size:14px}.drawer-cash strong{font-weight:800;display:block}
