:root { --bg:#f5f6f8; --card:#fff; --text:#1f2329; --muted:#6b7280; --line:#e5e7eb; --brand:#2f6fed; --brand-weak:#e8f0fe; --danger:#d93025; --ok:#047857; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family:'Noto Sans KR', system-ui, sans-serif; font-size:15px; }
header { background:var(--card); border-bottom:1px solid var(--line); padding:14px 16px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
header h1 { font-size:18px; margin:0; }
.tag { font-size:12px; background:#fde2e1; color:var(--danger); padding:2px 8px; border-radius:99px; }
main { max-width:560px; margin:0 auto; padding:16px; display:grid; gap:14px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px; }
.card h2 { font-size:16px; margin:0 0 12px; }
.products { display:grid; gap:8px; }
.product { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--line); border-radius:10px; cursor:pointer; }
.product.on { border-color:var(--brand); background:var(--brand-weak); }
.product input { margin:0; }
.pname { flex:1; }
.price { font-weight:700; }
.qty { display:flex; align-items:center; gap:12px; margin-top:12px; }
.qty span { flex:1; color:var(--muted); }
.qty button { width:36px; height:36px; border-radius:8px; border:1px solid var(--line); background:#fff; font-size:18px; cursor:pointer; }
.qty b { min-width:24px; text-align:center; }
label { display:grid; gap:4px; font-size:13px; color:var(--muted); margin-bottom:10px; }
input:not([type=radio]) { font:inherit; padding:10px 12px; border:1px solid var(--line); border-radius:8px; color:var(--text); }
.muted { color:var(--muted); font-size:13px; margin:4px 0 0; }
.total { display:flex; justify-content:space-between; align-items:center; font-size:17px; margin-bottom:8px; }
.total b { font-size:22px; color:var(--brand); }
button.primary { width:100%; font:inherit; font-weight:700; padding:14px; border:none; border-radius:10px; background:var(--brand); color:#fff; cursor:pointer; margin-top:8px; }
button.primary:disabled { opacity:.5; cursor:default; }
.err { color:var(--danger); font-size:14px; min-height:1em; }
.center { text-align:center; }
.big-icon { font-size:44px; margin:8px 0; }
.rows { text-align:left; display:grid; gap:6px; margin:14px 0; }
.rows div { display:flex; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line); padding:6px 0; }
.rows span { color:var(--muted); }
a.btn { display:inline-block; margin:6px 4px 0; padding:10px 16px; border-radius:8px; border:1px solid var(--line); color:var(--text); text-decoration:none; background:#fff; }
