:root { --brand:#7a1f2b; --ink:#222; --mut:#666; --line:#ddd; --bg:#faf7f4; --ok:#1f6b46; --bad:#b3261e; }
* { box-sizing:border-box; }
body { margin:0; font:16px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--ink); background:var(--bg); }
main { max-width:680px; margin:0 auto; padding:0 .9rem 7rem; }
h1 { margin:.2rem 0; font-size:1.4rem; color:var(--brand); } h2 { font-size:1.1rem; margin:1.4rem 0 .4rem; }
header.top { padding:1rem 0 .4rem; border-bottom:1px solid var(--line); }
.langs { float:right; } .langs button { border:1px solid var(--line); background:#fff; padding:.2rem .5rem; border-radius:8px; margin-left:.2rem; }
.langs button.on { background:var(--brand); color:#fff; }
a { color:var(--brand); } .mut { color:var(--mut); font-size:.9rem; } .bad { color:var(--bad); font-weight:700; } .ok { color:var(--ok); font-weight:700; }
.card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:.7rem .8rem; margin:.5rem 0; }
.notice { background:#fff6dd; border:1px solid #ecd48a; border-radius:12px; padding:.6rem .8rem; margin:.6rem 0; font-size:.95rem; }
button.btn { border:0; background:var(--brand); color:#fff; padding:.65rem 1rem; border-radius:10px; font-size:1rem; font-weight:700; }
button.btn.ghost { background:#fff; color:var(--brand); border:1px solid var(--brand); }
button.btn[disabled] { opacity:.45; }
.row { display:flex; align-items:center; gap:.6rem; justify-content:space-between; padding:.35rem 0; border-top:1px solid #eee; }
.row:first-child { border-top:0; } .row .what { flex:1; min-width:0; } .row .code { font-weight:800; min-width:3.2rem; }
.row small { display:block; color:var(--mut); font-size:.8rem; }
.qty { display:flex; align-items:center; gap:.5rem; } .qty button { width:2.2rem; height:2.2rem; border-radius:50%; border:1px solid var(--brand); background:#fff; color:var(--brand); font-size:1.2rem; font-weight:800; }
.chips span { display:inline-block; background:#f1e5e7; border-radius:999px; padding:.1rem .55rem; margin:.1rem .2rem .1rem 0; font-size:.85rem; }
label.f { display:block; margin:.6rem 0; font-weight:700; } label.f input, label.f select, label.f textarea { display:block; width:100%; margin-top:.2rem; padding:.6rem; font:inherit; border:1px solid #bbb; border-radius:8px; background:#fff; }
.bar { position:fixed; left:0; right:0; bottom:0; background:#fff; border-top:1px solid var(--line); padding:.6rem .9rem calc(.6rem + env(safe-area-inset-bottom)); display:flex; align-items:center; justify-content:space-between; gap:1rem; max-width:none; }
.bar b { font-size:1.15rem; }
.overlay { position:fixed; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:flex-end; justify-content:center; z-index:5; }
.sheet { background:#fff; width:100%; max-width:680px; max-height:88vh; overflow:auto; border-radius:16px 16px 0 0; padding:.8rem .9rem 1.2rem; }
.sheet h3 { margin:.2rem 0 .4rem; position:sticky; top:-.8rem; background:#fff; padding:.4rem 0; }
.consent { display:flex; gap:.5rem; align-items:flex-start; margin:.8rem 0; } .consent input { width:1.3rem; height:1.3rem; margin-top:.15rem; }
.big { font-size:1.5rem; font-weight:800; } .center { text-align:center; padding:1.5rem .5rem; }
details.privacy { font-size:.88rem; color:#333; } details.privacy summary { cursor:pointer; color:var(--brand); font-weight:700; }
.left{text-align:left}

/* ===== 高档简约外观 ===== */
:root { --brand:#b3141b; --ink:#1c1917; --mut:#8a817a; --line:#ebe5de; --bg:#faf8f5; --ok:#2c7a52;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Noto Serif SC","Songti SC",serif;
  --shadow:0 1px 2px rgba(28,25,23,.05),0 10px 28px -14px rgba(28,25,23,.18); }
body { -webkit-font-smoothing:antialiased; }
header.top { text-align:center; padding:1.6rem 0 1rem; border-bottom:1px solid var(--line); position:relative; }
header.top .logo { display:block; width:64px; height:64px; margin:0 auto .6rem; border-radius:50%; box-shadow:0 10px 26px -10px rgba(179,20,27,.55); }
header.top .langs { position:absolute; right:0; top:.9rem; float:none; }
header.top h1 { font-family:var(--serif); font-weight:600; letter-spacing:.12em; text-transform:uppercase; font-size:1.25rem; color:var(--ink); margin:.1rem 0 .3rem; }
.langs button { border-radius:99px; font-size:.78rem; padding:.2rem .6rem; color:var(--mut); border-color:var(--line); }
.langs button.on { background:var(--brand); border-color:var(--brand); }
h2 { font-family:var(--serif); font-weight:600; font-size:1.1rem; letter-spacing:.02em; margin:1.8rem 0 .5rem; padding-bottom:.35rem; border-bottom:1px solid var(--line); }
.card { border-radius:16px; border-color:var(--line); box-shadow:var(--shadow); padding:.8rem 1rem; }
.notice { background:#fbf3e3; border:1px solid #efdcae; color:#6b4a10; border-radius:14px; }
button.btn { background:var(--brand); border-radius:14px; letter-spacing:.03em; padding:.75rem 1.3rem; box-shadow:0 8px 20px -10px rgba(179,20,27,.7); }
button.btn.ghost { border-color:#e2cfd0; box-shadow:none; background:#fff; }
.row { border-top-color:#f1ece6; }
.row .code { font-family:var(--serif); color:var(--brand); }
.qty button { border-color:#e2cfd0; }
.chips span { background:#f6ecec; color:#7a1a1f; }
label.f input, label.f select, label.f textarea { border-radius:12px; border-color:#ddd5cc; }
label.f input:focus, label.f select:focus, label.f textarea:focus { outline:2px solid rgba(179,20,27,.2); border-color:var(--brand); }
.bar { background:rgba(255,255,255,.96); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); box-shadow:0 -10px 30px -18px rgba(28,25,23,.3); }
.bar b { font-family:var(--serif); }
.sheet { border-radius:22px 22px 0 0; }
.overlay { backdrop-filter:blur(3px); }
.big { font-family:var(--serif); font-weight:600; }
:root { --bg:#ece4d8; --line:#dccfbe; --mut:#7a6f64; }
.card { background:#fdf9f2; } .bar { background:rgba(250,245,236,.97); } .sheet { background:#fdf9f2; } .sheet h3 { background:#fdf9f2; }
.notice { background:#f5e8cc; border-color:#e6cf9a; }
label.f input, label.f select, label.f textarea { background:#fffdf8; border-color:#d6c9b8; }
.langs button { background:#fdf9f2; }
header.top .logo { box-shadow:0 0 0 3px rgba(201,164,92,.5),0 10px 26px -10px rgba(179,20,27,.5); }
.row { border-top-color:#ebe0d1; }
