:root{
  --bg:#fff7f0;
  --paper:#ffffff;
  --line:#f0dfd0;
  --text:#1f1a16;
  --muted:#6f5f55;
  --brand:#ff6d00;
  --shadow: 0 16px 55px rgba(31,26,22,.12);
  --radius: 16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*{box-sizing:border-box}
body{
  margin:0;min-height:100vh;
  font-family:var(--sans);
  color:var(--text);
  background:linear-gradient(180deg, var(--bg), #ffffff);
}
.mono{font-family:var(--mono)}
.wrap{max-width:1100px;margin:0 auto;padding:0 18px}
.top{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background:rgba(255,247,240,.85);
  border-bottom:1px solid rgba(240,223,208,.95);
}
.head{padding:16px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.brand{display:flex;gap:12px;align-items:center}
.logo{
  width:40px;height:40px;border-radius:14px;
  background:linear-gradient(135deg, rgba(255,109,0,.95), rgba(245,158,11,.75));
  box-shadow: 0 14px 45px rgba(255,109,0,.16);
}
.t1{font-weight:950}
.t2{margin-top:4px;color:rgba(111,95,85,.95);font-size:12px}
.right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.q{
  width:min(320px,60vw);
  padding:11px 12px;
  border-radius:12px;
  border:1px solid rgba(240,223,208,.95);
  outline:none;
  background:#fff;
}
.q:focus{border-color:rgba(255,109,0,.45);box-shadow:0 0 0 4px rgba(255,109,0,.12)}
.cartBtn{
  cursor:pointer;
  border-radius:12px;
  padding:10px 12px;
  border:1px solid rgba(240,223,208,.95);
  background:#fff;
  font-weight:950;
}
.chip{
  padding:7px 10px;border-radius:999px;
  border:1px solid rgba(240,223,208,.95);
  background:rgba(255,255,255,.85);
  color:rgba(111,95,85,.95);
  font-size:12px;
}
.main{padding:18px 18px 40px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width: 980px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 560px){.grid{grid-template-columns:1fr}}
.p{
  border-radius:var(--radius);
  border:1px solid rgba(240,223,208,.95);
  background:rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding:12px;
}
.pic{height:140px;border-radius:14px}
.pic.a{background:linear-gradient(135deg,#fde68a,#fb7185)}
.pic.b{background:linear-gradient(135deg,#93c5fd,#22c55e)}
.pic.c{background:linear-gradient(135deg,#fca5a5,#fbbf24)}
.pic.d{background:linear-gradient(135deg,#c4b5fd,#fb7185)}
.pic.e{background:linear-gradient(135deg,#60a5fa,#f59e0b)}
.pic.f{background:linear-gradient(135deg,#a7f3d0,#93c5fd)}
.pn{margin-top:10px;font-weight:950}
.pm{margin-top:6px;color:rgba(111,95,85,.95);font-size:12px}
.pr{margin-top:10px;display:flex;justify-content:space-between;gap:10px;align-items:center}
.btn{
  cursor:pointer;
  border-radius:12px;
  padding:9px 10px;
  border:0;
  background:linear-gradient(135deg, rgba(255,109,0,.95), rgba(245,158,11,.75));
  color:#24130a;
  font-weight:950;
}
.btn:hover{filter:saturate(1.06)}
.empty{
  margin-top:12px;
  padding:16px;
  border-radius:var(--radius);
  border:1px dashed rgba(240,223,208,.95);
  color:rgba(111,95,85,.95);
  background:rgba(255,255,255,.85);
}
.mask{position:fixed;inset:0;background:rgba(0,0,0,.35)}
.drawer{
  position:fixed;top:0;right:0;height:100%;width:min(420px, 92vw);
  background:#fff;
  border-left:1px solid rgba(240,223,208,.95);
  box-shadow: 0 24px 90px rgba(31,26,22,.24);
  display:flex;flex-direction:column;
}
.dHead{padding:12px 14px;border-bottom:1px solid rgba(240,223,208,.95);display:flex;justify-content:space-between;gap:12px;align-items:center}
.dt{font-weight:950}
.x{cursor:pointer;border-radius:12px;padding:9px 10px;border:1px solid rgba(240,223,208,.95);background:#fff}
.dBody{padding:12px 14px;display:grid;gap:10px;overflow:auto}
.ci{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-radius:12px;border:1px solid rgba(240,223,208,.95);background:rgba(255,247,240,.55)}
.cn{font-weight:900}
.cm{color:rgba(111,95,85,.95);font-size:12px;margin-top:4px}
.cops{display:flex;gap:8px;align-items:center}
.mini{cursor:pointer;border-radius:10px;padding:6px 8px;border:1px solid rgba(240,223,208,.95);background:#fff}
.dFoot{margin-top:auto;padding:12px 14px;border-top:1px solid rgba(240,223,208,.95);display:flex;justify-content:space-between;gap:12px;align-items:center}
.sum{font-weight:950}
.pay{cursor:pointer;border-radius:12px;padding:11px 12px;border:0;background:linear-gradient(135deg, rgba(255,109,0,.95), rgba(245,158,11,.75));color:#24130a;font-weight:950}
.toast{
  position:fixed;left:50%;bottom:16px;transform:translateX(-50%) translateY(8px);
  width:min(760px, calc(100% - 18px));
  background:#fff;
  border:1px solid rgba(240,223,208,.98);
  border-radius:14px;
  box-shadow: 0 18px 55px rgba(31,26,22,.18);
  padding:10px 12px;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.on{opacity:1;transform:translateX(-50%) translateY(0)}
.toast .t{font-weight:950}
.toast .d{margin-top:4px;color:rgba(111,95,85,.95);font-size:12px;line-height:1.45}
