:root{--red:#a52a2a;--ink:#2b2224;--bg:#fff8f5;--line:#eadfdc;--mut:#7a6d6f}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;background:var(--bg);color:var(--ink);padding-bottom:84px}
button{font:inherit;cursor:pointer}header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}
h1{font-size:20px;margin:0}.pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px}
.wrap{max-width:720px;margin:0 auto;padding:12px 16px}.where{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#f6ece8;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin:10px 0}
.chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;white-space:nowrap;min-height:40px}.chip.on{background:#fbe3df;border-color:var(--red);font-weight:700}
.grid{display:grid;gap:12px}.card{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;align-items:center;cursor:pointer}
.card img,.ph{width:92px;height:92px;border-radius:14px;object-fit:cover;background:#f1e7e3;flex:none;display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--mut);text-align:center}
.card .t{flex:1}.name{font-weight:700}.det{color:var(--mut);font-size:14px;margin:4px 0}.price{font-weight:700}
.btn{background:var(--red);color:#fff;border:0;border-radius:14px;padding:0 20px;min-height:48px;font-weight:700}.btn:disabled{background:#c9bfbc}
.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
#bar{position:fixed;inset-inline:12px;bottom:12px;z-index:10;display:none;justify-content:space-between;align-items:center;background:var(--red);color:#fff;border:0;border-radius:18px;padding:16px 20px;font-weight:700;box-shadow:0 6px 20px #0003}
dialog{border:0;border-radius:24px;padding:0;width:min(560px,94vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#251f2173}
dialog[open]{display:flex;flex-direction:column}.dh{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 18px 10px}.dh h2{margin:0;font-size:20px}
.db{overflow:auto;padding:8px 18px;display:grid;gap:12px;background:var(--bg)}.df{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-top:1px solid var(--line);background:#fff}
.x{border:1px solid var(--line);background:#fff;border-radius:12px;width:44px;height:44px;font-size:22px}.note{color:var(--mut);font-size:13px}
.fs{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;display:grid;gap:8px}.fs h3{margin:0;font-size:16px}
label{display:grid;gap:4px;font-size:13px;color:var(--mut)}input,textarea,select{font:inherit;min-height:44px;padding:8px 12px;border:1px solid #d9cfcc;border-radius:12px;background:#fffaf8;color:var(--ink);width:100%}
.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.err{color:#b3261e;font-size:13px}.step{display:flex;align-items:center;gap:10px}.step button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px}
.line{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;display:grid;gap:8px}.row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.opt{border:1px solid var(--line);background:#fff;border-radius:12px;min-height:48px;text-align:right;padding:0 14px}.opt.on{background:#fbe3df;border-color:var(--red);font-weight:700}.opt:disabled{color:#aaa;background:#f5f1ef}
.ok{background:#e9f6ec;border:1px solid #b9dcc2;border-radius:14px;padding:14px}
