:root { --bg:#170d08; --panel:#241610; --card:#2e1d13; --card2:#3a2418; --ink:#f5efe6; --muted:#c9b8a6; --line:#4a2e1c; --accent:#f97316; --accent2:#16a34a; --danger:#ef4444; }
* { box-sizing:border-box; }
body { margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; background:var(--bg); color:var(--ink); }
a { color:#fdba74; }
.banner { background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(23,13,8,.92)), radial-gradient(600px 200px at 50% 0%, #b45309, #451a03 70%); padding:38px 16px 22px; text-align:center; border-bottom:1px solid var(--line); }
.banner h1 { margin:0 0 6px; font-size:28px; }
.banner p { margin:0; color:#fde68a; font-size:14px; }
.wrap { max-width:560px; margin:0 auto; padding:16px; padding-bottom:120px; }
.pills { display:flex; gap:8px; flex-wrap:wrap; margin:4px 0 14px; }
.pill { border:1px solid var(--line); background:var(--card); color:var(--ink); padding:8px 14px; border-radius:999px; cursor:pointer; font-size:14px; }
.pill.active { background:var(--accent); border-color:var(--accent); color:#fff; font-weight:700; }
.menu-list { display:flex; flex-direction:column; gap:10px; }
.menu-item { display:flex; gap:12px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px; align-items:center; }
.thumb { width:64px; height:64px; min-width:64px; border-radius:12px; background:var(--card2); display:flex; align-items:center; justify-content:center; font-size:32px; }
.menu-item h3 { margin:0 0 3px; font-size:15px; }
.menu-item p { margin:0; color:var(--muted); font-size:13px; }
.price { color:var(--accent); font-weight:800; margin-top:5px !important; font-size:14px; }
.btn-add { margin-left:auto; background:var(--accent); color:#fff; border:0; border-radius:999px; padding:8px 14px; font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
.btn-add:disabled { opacity:.5; }
.qtybox { margin-left:auto; display:flex; align-items:center; gap:8px; }
.qtybox button { width:30px; height:30px; border-radius:50%; border:1px solid var(--line); background:var(--card2); color:#fff; font-size:18px; cursor:pointer; }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; margin-top:16px; }
.muted { color:var(--muted); font-size:14px; }
.hidden { display:none !important; }
.btn { border:0; border-radius:10px; padding:11px 16px; font-size:15px; cursor:pointer; }
.btn-primary { background:var(--accent); color:#fff; font-weight:700; }
.btn-green { background:var(--accent2); color:#fff; }
.btn-ghost { background:var(--card2); border:1px solid var(--line); color:var(--ink); }
.btn-danger { background:transparent; border:1px solid #7f1d1d; color:#fca5a5; }
.btn:disabled { opacity:.55; cursor:not-allowed; }
input, select, textarea { width:100%; padding:11px; border:1px solid var(--line); border-radius:10px; font-size:15px; margin:4px 0 12px; background:#1f130c; color:var(--ink); }
label { font-size:14px; font-weight:600; }
.row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.cartbar { position:fixed; left:0; right:0; bottom:0; background:#2b1a10; border-top:1px solid var(--line); color:#fff; padding:12px 16px; display:flex; justify-content:space-between; align-items:center; gap:12px; z-index:10; }
.cartbar.hidden { display:none; }
.code { font-size:42px; font-weight:900; letter-spacing:3px; text-align:center; margin:8px 0; }
.order { border:1px solid var(--line); border-radius:12px; padding:14px; margin-bottom:12px; background:var(--card); }
.order ul { margin:8px 0; padding-left:18px; }
.badge { display:inline-block; padding:3px 9px; border-radius:999px; background:#fef3c7; color:#92400e; font-size:12px; font-weight:700; }
.badge.soldout { background:#fee2e2; color:#991b1b; }
.badge.paid { background:#dcfce7; color:#166534; }
.badge.unpaid { background:#fee2e2; color:#991b1b; }
.badge.baru { background:#ffedd5; color:#9a3412; }
.badge.diproses { background:#dbeafe; color:#1e40af; }
.badge.selesai { background:#dcfce7; color:#166534; }
.stats { display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; }
.stat { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px; }
.stat b { display:block; font-size:22px; margin-top:4px; }
.stat span { color:var(--muted); font-size:13px; }
.qrwrap { text-align:center; }
.qrwrap img { width:min(320px,80vw); height:auto; border:1px solid var(--line); border-radius:12px; background:#fff; padding:10px; }
footer { text-align:center; color:var(--muted); font-size:13px; padding:20px; }
table.recap { width:100%; border-collapse:collapse; font-size:14px; }
table.recap th, table.recap td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line); vertical-align:top; }
@media (max-width:520px) { .code { font-size:34px; } .stats { grid-template-columns:1fr 1fr; } }
