:root{--accent:#B5502F;--on:#fff;--soft:#F6E2D8;--ground:#FAF6F2;--text:#1C1F17;--muted:#5C6155;--line:#E6E8E1;--chip:#F0F1EC}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--ground)}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--text);-webkit-text-size-adjust:100%}
button,select{font-family:inherit;cursor:pointer}
.app{max-width:560px;margin:0 auto;min-height:100%;display:flex;flex-direction:column;background:#fff}
.loading{padding:40px;text-align:center;color:var(--muted)}
.head{position:sticky;top:0;z-index:5;background:#fff;display:flex;flex-direction:column;gap:10px;padding:14px 16px 10px;border-bottom:1px solid var(--line)}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.title{font-size:20px;font-weight:700;letter-spacing:-.01em}
.sub{font-size:13px;color:var(--muted)}
.lang{display:flex;align-items:center;gap:6px;height:40px;padding:0 4px 0 10px;border-radius:20px;border:1px solid #C9CFBB;background:#fff;flex:none}
.lang select{height:38px;max-width:130px;border:0;background:transparent;color:var(--text);font-size:14px;font-weight:600}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:var(--chip);border-radius:14px}
.seg button{height:44px;border-radius:10px;border:0;background:transparent;color:var(--muted);font-size:15px;font-weight:700}
.seg button.on{background:#fff;color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.pills{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.pills::-webkit-scrollbar{display:none}
.pill{flex:none;height:44px;padding:0 16px;border-radius:22px;border:1px solid #C9CFBB;background:#fff;color:var(--text);font-size:14px;font-weight:600}
.pill.on{background:var(--accent);border-color:var(--accent);color:var(--on)}
.filters{display:flex;gap:8px}
.filter{height:36px;padding:0 12px;border-radius:8px;border:1px solid #C9CFBB;background:#fff;font-size:13px;font-weight:500;color:var(--text)}
.filter.on{background:var(--soft);border-color:var(--accent)}
.list{flex:1;padding:12px 16px 110px;display:flex;flex-direction:column;gap:10px;background:var(--ground)}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.photo{height:180px;background:#EFE7D6 center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#4A4F44;font-size:12px}
.body{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px}
.name{font-size:16px;font-weight:600}
.price{font-size:15px;font-weight:600;white-space:nowrap}
.orig{font-size:12px;color:#6B7063;margin-top:-6px}
.desc{font-size:13px;line-height:1.45;color:var(--muted)}
.meta{font-size:12px;font-weight:500;color:#4A4F44}
.tags{display:flex;flex-wrap:wrap;gap:4px}
.tag{font-size:11px;padding:3px 7px;border-radius:6px;background:var(--chip);color:#4A4F44}
.tag.veg{background:#E7EEDA;color:#3B4623;font-weight:600}
.tag.hot{background:#FBE3D6;color:#8A3B12;font-weight:600}
.tag.out{background:#1C1F17;color:#fff;font-weight:600}
.foot{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.add{flex:none;height:44px;padding:0 16px;border-radius:22px;border:0;background:var(--accent);color:var(--on);font-size:14px;font-weight:600}
.add:disabled{opacity:.4}
.round{width:44px;height:44px;padding:0;border-radius:22px;font-size:22px}
.step{flex:none;display:flex;align-items:center;gap:4px;border:1px solid var(--accent);border-radius:22px;padding:0 4px}
.step button{width:40px;height:40px;border:0;background:transparent;font-size:20px;color:var(--accent)}
.step span{min-width:18px;text-align:center;font-weight:700}
.pair{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 12px;border-radius:12px;background:var(--soft)}
.pair .l{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#4A4F44}
.pair .n{font-size:13px;font-weight:600}
.pair .p{font-size:12px;color:#4A4F44}
.daily{border:2px solid var(--accent)}
.badge{font-size:12px;font-weight:700;padding:4px 10px;border-radius:12px;background:var(--accent);color:var(--on)}
.drink{display:flex;align-items:center;gap:12px;padding:10px}
.thumb{flex:none;width:56px;height:56px;border-radius:10px;background:#E4ECDD center/cover no-repeat}
.vars{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.var{min-height:44px;padding:4px 10px;border-radius:10px;border:2px solid #C9CFBB;background:#fff;text-align:start;display:flex;flex-direction:column;justify-content:center;font-size:12px;color:var(--text)}
.var b{font-weight:700}
.var.on{border-color:var(--accent);background:var(--soft)}
.note{font-size:11px;color:#6B7063;text-align:center;padding-top:8px}
.bar{position:fixed;bottom:0;left:0;right:0;z-index:6;display:flex;justify-content:center;background:#fff;border-top:1px solid var(--line)}
.bar>div{width:100%;max-width:560px;display:flex;gap:8px;padding:12px 16px calc(14px + env(safe-area-inset-bottom))}
.ask{flex:none;height:52px;padding:0 16px;border-radius:14px;border:1px solid #C9CFBB;background:#fff;font-size:14px;font-weight:600;color:var(--text)}
.mylist{flex:1;height:52px;padding:0 16px;border-radius:14px;border:0;background:var(--accent);color:var(--on);font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:space-between}
.count{min-width:28px;height:28px;padding:0 8px;border-radius:14px;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center}
.top{display:flex;align-items:center;gap:8px;padding:12px 12px 12px 8px;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:5}
.back{width:44px;height:44px;border:0;background:transparent;font-size:24px;color:var(--text)}
.h2{font-size:18px;font-weight:700}
.line{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:12px}
.sum{display:flex;justify-content:space-between;padding:8px 4px;font-size:16px;font-weight:700}
.big{width:100%;height:52px;border-radius:14px;border:0;background:var(--accent);color:var(--on);font-size:15px;font-weight:600}
.big:disabled{background:#9AA08F}
.waiter{min-height:100%;background:#1C1F17;color:#fff;display:flex;flex-direction:column}
.waiter .back{color:#fff}
.wl{display:flex;gap:14px;align-items:baseline;border-bottom:1px solid #3A3F33;padding:12px 0}
.bubble{max-width:82%;padding:10px 14px;font-size:14px;line-height:1.5}
.bo{align-self:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px 16px 16px 4px}
.bu{align-self:flex-end;background:var(--accent);color:var(--on);border-radius:16px 16px 4px 16px}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;position:sticky;bottom:0}
.chip{min-height:44px;padding:0 14px;border-radius:22px;border:1px solid #C9CFBB;background:#fff;font-size:13px;color:var(--text)}
[dir=rtl] .back{transform:scaleX(-1)}
