/* Kitchen 601 — paper, pencil, one red spoon, one blue pair of chopsticks */
:root{
  --paper:#f7f3ec; --card:#fffdf9; --ink:#2a2724; --ink-2:#4a4540; --muted:#7a726a; --line:#d8cfc2;
  --red:#a8584a; --red-d:#8c4538; --red-soft:#f4e6e1;
  --blue:#48607f; --blue-d:#3a4f6a; --blue-soft:#e7ecf2;
  --sage:#5f7a5b; --sage-soft:#e8eee4; --ochre:#9a7638; --ochre-soft:#f4ecdc;
  --hand:"Nanum Pen Script","Gowun Dodum",cursive;
  --body:"Gowun Dodum","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;
  --r1:18px 14px 20px 12px / 12px 20px 14px 18px;
  --r2:14px 18px 12px 20px / 20px 12px 18px 14px;
  --r3:22px 16px 24px 14px / 16px 24px 14px 22px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;color:var(--ink);font-family:var(--body);font-size:19px;line-height:1.6;word-break:keep-all;
  background-color:var(--paper);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit}
.wrap{max-width:640px;margin:0 auto;padding:0 20px}
.hidden{display:none!important}
h1,h2,h3{margin:0;font-weight:400;line-height:1.15}
h2{font-family:var(--hand);font-size:42px;margin:6px 0 14px}
h3{font-family:var(--hand);font-size:32px}
b,strong{font-weight:700}

/* pencil rule */
.rule{height:8px;margin:22px 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 4.5 Q11 1.5 22 4 T44 4.2' fill='none' stroke='%232a2724' stroke-opacity='.35' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center}

/* header */
.top{position:sticky;top:0;z-index:20;background:rgba(247,243,236,.94);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.top::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 4.5 Q11 1.5 22 4 T44 4.2' fill='none' stroke='%232a2724' stroke-opacity='.22' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img.w{height:30px;width:auto}
.lang{border:1.5px solid var(--ink-2);background:var(--card);border-radius:var(--r2);padding:6px 16px;font-size:17px;min-height:44px;white-space:nowrap}

/* hero */
.hero{text-align:center;padding:30px 0 6px}
.hero .m{width:230px;margin:0 auto}
.hero .w{width:210px;margin:16px auto 0}
.hero p{color:var(--muted);margin:10px 0 0;font-size:17px}

/* blocks */
.card{background:var(--card);border:1.5px solid rgba(42,39,36,.75);border-radius:var(--r1);padding:20px 20px;margin:0 0 18px}
.notice{border-left:3px solid var(--red);padding:4px 0 4px 16px;margin:18px 0;white-space:pre-line;color:var(--ink-2)}
.info{margin:18px 0;padding:14px 18px;border:1.5px dashed var(--line);border-radius:var(--r2);white-space:pre-line;color:var(--ink-2)}
.info .lbl,.lbl{display:block;font-size:14px;letter-spacing:.08em;color:var(--muted);margin-bottom:2px}
.closed{text-align:center;padding:22px;margin:18px 0;border:1.5px solid var(--ink);border-radius:var(--r3);white-space:pre-line;font-size:20px}
.section-title{font-family:var(--hand);font-size:36px;margin:8px 2px 14px}

/* menu items */
.item{background:var(--card);border:1.5px solid rgba(42,39,36,.75);border-radius:var(--r1);overflow:hidden;margin:0 0 20px}
.item:nth-child(even){border-radius:var(--r2)}
.item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-bottom:1.5px solid rgba(42,39,36,.75)}
.item-body{padding:18px 20px 20px}
.item-head{display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.item-head h3{font-family:var(--body);font-size:23px;font-weight:700;line-height:1.35}
.price{font-family:var(--hand);font-size:34px;color:var(--red);white-space:nowrap;line-height:1}
.desc{color:var(--muted);margin:6px 0 0;white-space:pre-line;font-size:18px}
.item.out{opacity:.55}
.badge{display:inline-block;margin-top:14px;padding:2px 14px;border:1.5px solid var(--muted);border-radius:var(--r2);color:var(--muted);font-size:16px}
.add{margin-top:16px;width:100%;min-height:58px;border:1.5px solid var(--red);background:transparent;color:var(--red);border-radius:var(--r2);font-size:20px}
.add:active{background:var(--red-soft)}
.stepper{margin-top:16px;display:flex;align-items:center;justify-content:space-between;border:1.5px solid var(--red);border-radius:var(--r2);padding:5px}
.stepper button{width:58px;height:52px;border:0;border-radius:var(--r1);background:var(--red);color:#fff;font-size:28px;line-height:1}
.stepper .q{font-size:24px;font-weight:700;min-width:90px;text-align:center;line-height:1.2}
.stepper .q small{display:block;font-size:14px;font-weight:400;color:var(--muted)}

/* bottom bar */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:14px 0 calc(14px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--paper) 72%,rgba(247,243,236,0))}
.bar .wrap{display:flex}
.cta{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;border:0;border-radius:var(--r3);background:var(--red);color:#fff;padding:0 22px;font-size:20px}
.cta:active{background:var(--red-d)}
.cta .amt{font-family:var(--hand);font-size:34px;line-height:1}
body.shop{padding-bottom:120px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 20px;border-radius:var(--r2);border:1.5px solid var(--ink-2);background:var(--card);font-size:18px;text-decoration:none;color:var(--ink);text-align:center}
.btn.primary{background:var(--red);border-color:var(--red);color:#fff}
.btn.blue{background:var(--blue);border-color:var(--blue);color:#fff}
.btn.dark{background:var(--ink);border-color:var(--ink);color:#fff}
.btn.sage{background:var(--sage);border-color:var(--sage);color:#fff}
.btn.ghost{background:transparent;border-color:var(--line);color:var(--muted)}
.btn.small{min-height:42px;padding:0 14px;font-size:16px;white-space:nowrap;flex:none}
.btn.big{width:100%;min-height:66px;font-size:21px;border-radius:var(--r3)}
.btn:disabled{opacity:.5}
.back{border:0;background:none;color:var(--muted);font-size:18px;padding:18px 0 4px;min-height:52px}

/* forms */
label.f{display:block;margin:0 0 16px}
label.f > span{display:block;margin-bottom:6px;color:var(--ink-2)}
label.f > span em{font-style:normal;color:var(--muted);font-size:15px}
.in{width:100%;min-height:56px;border:1.5px solid var(--line);border-radius:var(--r2);padding:12px 14px;background:#fff;font-size:20px;outline:none}
.in:focus{border-color:var(--blue)}
textarea.in{min-height:92px;resize:vertical}

/* order summary */
.row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line)}
.row:last-of-type{border-bottom:0}
.row .n small{color:var(--muted)}
.total{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;padding-top:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='8'%3E%3Cpath d='M0 4.5 Q11 1.5 22 4 T44 4.2' fill='none' stroke='%232a2724' stroke-opacity='.55' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x top}
.total span:first-child{font-size:20px}
.total span:last-child{font-family:var(--hand);font-size:42px;color:var(--red);line-height:1}

/* payment */
.pays{display:grid;grid-template-columns:1fr;gap:10px}
.pay{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 16px;border:1.5px solid var(--line);border-radius:var(--r2);background:#fff;text-align:left;font-size:20px;width:100%}
.pay .radio{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--muted);flex:none;position:relative}
.pay.on{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-d)}
.pay.on .radio{border-color:var(--blue)}
.pay.on .radio::after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--blue)}
.steps{margin-top:18px;display:grid;gap:14px}
.step{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}
.step .no{width:38px;height:38px;border:1.5px solid var(--blue);border-radius:50% 46% 52% 48%;display:grid;place-items:center;font-family:var(--hand);font-size:26px;color:var(--blue);line-height:1}
.step .tt{font-size:19px;margin:5px 0 8px}
.step .tt b{color:var(--red)}
.handle{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1.5px dashed var(--line);border-radius:var(--r2);padding:10px 12px 10px 16px;font-size:21px;margin:0 0 8px;flex-wrap:wrap}
.handle .v{white-space:nowrap;display:block}
.handle small{display:block;font-size:14px;color:var(--muted)}
.hint{color:var(--muted);font-size:16px;margin:4px 0 0}
.upload{display:flex;align-items:center;justify-content:center;min-height:66px;border:1.5px dashed var(--blue);border-radius:var(--r3);color:var(--blue);font-size:19px;background:#fff;cursor:pointer;text-align:center;padding:10px 16px}
.upload.done{border-style:solid;background:var(--blue-soft)}
.preview{margin-top:10px}
.preview img{max-height:320px;margin:0 auto;border-radius:var(--r1);border:1.5px solid var(--line)}
.req{color:var(--red);font-size:15px;margin-left:4px}
.err{color:var(--red);margin:12px 0;min-height:1px}

/* done */
.done{text-align:center;padding:26px 10px 6px}
.done svg{width:92px;height:92px;margin:0 auto 6px;display:block}
.ordno{display:inline-block;border:1.5px solid var(--ink);border-radius:var(--r3);padding:2px 26px;font-family:var(--hand);font-size:46px;margin:8px 0 18px;line-height:1.3}

.spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.empty{text-align:center;color:var(--muted);padding:40px 10px}
.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;padding:12px 22px;border-radius:var(--r2);opacity:0;transition:.25s;z-index:100;pointer-events:none}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* aliases used by the admin page */
:root{--accent:var(--red);--accent-soft:var(--red-soft);--ok:var(--sage);--ok-soft:var(--sage-soft);--warn:var(--ochre);--warn-soft:var(--ochre-soft);--bg:var(--paper);--r:18px;--shadow:none}
.btn.ok{background:var(--sage);border-color:var(--sage);color:#fff}

/* handwritten everywhere (pen script runs small, so sizes go up) */
:root{--body:"Nanum Pen Script","Gowun Dodum",cursive}
body{font-size:25px;line-height:1.4}
.lang{font-size:22px}
.hero p{font-size:24px}
.info .lbl,.lbl{font-size:19px;letter-spacing:.02em}
.closed{font-size:26px}
.item-head h3{font-size:31px;font-weight:400}
.desc{font-size:23px}
.badge{font-size:21px}
.add{font-size:26px}
.stepper .q{font-size:32px;font-weight:400}
.stepper .q small{font-size:19px}
.stepper button{font-size:34px}
.cta{font-size:26px}
.btn{font-size:23px}
.btn.small{font-size:21px}
.btn.big{font-size:27px}
.back{font-size:23px}
label.f > span em{font-size:20px}
.in{font-size:25px}
.total span:first-child{font-size:26px}
.pay{font-size:27px}
.step .tt{font-size:24px}
.handle{font-size:27px}
.handle small{font-size:19px}
.hint{font-size:21px}
.upload{font-size:24px}
.req{font-size:19px}
.toast{font-size:22px}

/* readable regular font for descriptions and small print */
:root{--read:"Gowun Dodum","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif}
body .desc,body .hint,body .info,body .notice,body .lbl,body label.f > span,body .in,
body .handle small,body .step .tt,body .row,body .hero p,body .closed,body .stepper .q small,
body .toast,body .upload,body .req,body .err,body .empty,body .meta,body .lines,body table.t,
body .ord-h .num,body .kpi .k,body .legend,body .mi-tg,body .exp,body .prep span{font-family:var(--read)}
body .desc{font-size:18px;line-height:1.6}
body .hint{font-size:16px;line-height:1.55}
body .info,body .notice{font-size:18px;line-height:1.6}
body .lbl{font-size:14px}
body label.f > span{font-size:18px}
body label.f > span em{font-size:15px}
body .in{font-size:20px}
body .handle small{font-size:14px}
body .step .tt{font-size:18px;line-height:1.5}
body .row{font-size:18px}
body .hero p{font-size:17px}
body .closed{font-size:20px}
body .stepper .q small{font-size:14px}
body .toast{font-size:17px}
body .upload{font-size:19px}
body .req{font-size:15px}
body .err{font-size:18px}
body .empty{font-size:18px}
body .meta{font-size:17px}
body .lines{font-size:17px}
body table.t{font-size:17px}
body table.t th{font-size:14px}
body .ord-h .num{font-size:15px}
body .kpi .k{font-size:15px}
body .legend{font-size:15px}
body .mi-tg{font-size:15px}
body .exp{font-size:17px}
body .exp .a{font-family:var(--hand)}
body .prep span{font-size:18px}

/* bolder, easier to read */
:root{--read:"Noto Sans KR","Apple SD Gothic Neo",system-ui,sans-serif;--muted:#5e564e}
body{-webkit-text-stroke:.45px currentColor}
body .desc,body .hint,body .info,body .notice,body .lbl,body label.f > span,body .in,
body .handle small,body .step .tt,body .row,body .hero p,body .closed,body .stepper .q small,
body .toast,body .upload,body .req,body .err,body .empty,body .meta,body .lines,body table.t,
body .ord-h .num,body .kpi .k,body .legend,body .mi-tg,body .exp,body .prep span,body .addr .a{font-weight:500;-webkit-text-stroke:0}
body .info b{font-weight:700}
.addr .a{font-size:19px;margin:2px 0 0;color:var(--ink)}
.maps{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.maps .btn{flex:1;min-width:130px}
