/* 食パン予約デモ。お客様画面の見た目（焦げ茶の枠線・オフホワイト・大きなボタン・＋/−の個数）を参考にした独自実装。 */
:root{--brown:#8a4216;--black:#1c1917;--bg:#fafaf9;--white:#fff;--gray:#ddd;--gray-text:#6b6b6b}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;width:100%;background:var(--bg);color:var(--black);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;font-size:16px;line-height:1.5}
main{padding:12px}
section[hidden]{display:none}
section{display:flex;flex-direction:column;gap:10px}
.top{display:flex;flex-direction:column;gap:2px;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--gray)}
.tag{font-size:14px;color:var(--gray-text)}
.pickup{margin:0;font-weight:700}
.items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.items li{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--gray);padding:8px}
.name{flex:1 1 auto;min-width:0;font-weight:700}
.qty{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.qty output{min-width:1.4em;text-align:center;font-weight:700;font-size:18px}
button{font-family:inherit;color:var(--black);background:var(--bg);border:2px solid var(--brown);border-radius:8px;min-height:48px;padding:6px 14px;font-size:18px;cursor:pointer}
.step{min-width:48px;padding:0;font-size:22px;line-height:1}
.step:disabled,.btn:disabled{color:var(--gray-text);border-color:var(--gray-text);border-style:dashed;cursor:default}
.btn{width:100%}
.btn.primary{background:var(--brown);color:var(--white);font-weight:700}
.btn.primary:disabled{background:var(--bg);color:var(--gray-text)}
.total,.title{margin:0;font-weight:700}
.hint{margin:0;font-weight:700}
.summary{margin:0;border:1px solid var(--gray);padding:8px;display:flex;flex-direction:column;gap:4px}
.summary div{display:flex;justify-content:space-between;gap:8px}
.summary dt,.summary dd{margin:0}
.actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.label,.note{margin:0}
.label{font-size:14px;color:var(--gray-text)}
.number{margin:0;font-size:28px;font-weight:700;letter-spacing:.04em}
:focus-visible{outline:3px solid #2383E2;outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none !important;animation:none !important}}
