:root {
    color-scheme: light;
    --brand: #ed6a14;
    --action: #ad3d08;
    --soft: #fff0e3;
    --ink: #25201d;
    --muted: #685a51;
    --line: #eee2d8;
    --page: #f7f2ec;
    --white: #fff;
    --shell: 520px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
    color: var(--ink);
    background: var(--page);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--action); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, p { margin: 0; }
svg { flex: 0 0 auto; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.order-app {
    width: min(100%, var(--shell)); margin-inline: auto; min-height: 100vh; min-height: 100dvh;
    position: relative; padding-bottom: 32px; background: var(--white); box-shadow: 0 2px 50px #4e2e1815;
}
.order-app:has(.dock) { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.order-app[data-view="received"], .order-app[data-view="orders"] { padding-bottom: calc(152px + env(safe-area-inset-bottom)); }
.brandbar {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: calc(9px + env(safe-area-inset-top)) 20px 9px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 120px; height: auto; }
.place { background: var(--soft); color: var(--action); border-radius: 999px; padding: 8px 13px; font-weight: 750; font-size: 13px; overflow-wrap: anywhere; text-align: center; }
.orders-banner {
    width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    color: #fff; background: var(--action); border: 0; padding: 0 19px; font-weight: 750; text-align: start;
}
.orders-banner span { display: flex; gap: 9px; align-items: center; }
.orders-banner svg { width: 19px; height: 19px; }
.photo { display: grid; place-items: center; position: relative; overflow: hidden; background: #f7eadf; color: #9a6950; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo > img[hidden] { display: none; }
.presentation { margin: 0; }
.presentation img { display: block; width: 100%; height: auto; }
.round {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white);
}
.welcome {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    padding-block: 20px 22px; gap: 12px;
}
.store-intro { min-width: 0; display: flex; flex: 1 1 165px; align-items: center; gap: 11px; }
.store-mark {
    flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden;
    border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.store-mark img { width: 100%; height: 100%; object-fit: contain; }
.welcome h1 { font-size: clamp(25px, 6.5vw, 34px); line-height: 1.16; letter-spacing: -.045em; overflow-wrap: anywhere; }
.welcome p { color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 5px; white-space: pre-line; overflow-wrap: anywhere; }
.store-actions { display: flex; gap: 6px; margin-left: auto; }
.store-actions .round { background: var(--soft); color: var(--action); border-color: transparent; }
.section { padding-inline: 20px; }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; }
.section-title h2, .panel h2 { font-size: 20px; letter-spacing: -.035em; }
.text-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; color: var(--action); background: var(--soft); }
.categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
.category {
    display: grid; grid-template-rows: auto 1fr; min-width: 0; text-align: start; padding: 0; border: 1px solid var(--line);
    border-radius: 15px; background: var(--white); overflow: hidden;
}
.category-image { aspect-ratio: 1.65; }
.category > span:last-child {
    min-height: 48px; padding: 9px 10px 9px 12px; display: flex; align-items: center; justify-content: space-between;
    gap: 4px; font-weight: 760; font-size: 14px; line-height: 1.22; overflow-wrap: anywhere;
}
.category > span:last-child svg { width: 15px; height: 15px; color: var(--action); }
.category:hover { border-color: #eca87c; }
.home-footer { margin: 26px 20px 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.home-footer button { min-height: 44px; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--action); }
.home-footer svg { width: 17px; height: 17px; margin-right: 3px; }
.top {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 9px; align-items: center; text-align: center;
    min-height: 64px; padding: calc(9px + env(safe-area-inset-top)) 16px 9px; background: var(--white); border-bottom: 1px solid var(--line);
}
.top strong { font-size: 16px; overflow-wrap: anywhere; }
.browse-controls { padding: 13px 0 8px; background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.search { margin-inline: 20px; border: 1px solid var(--line); background: #fbf7f3; border-radius: 13px; display: flex; gap: 9px; align-items: center; padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: var(--action); }
.search input { color: var(--ink); width: 100%; min-width: 0; border: 0; background: none; padding: 12px 0; font-size: 16px; }
.search input:focus { outline: none; }
.chips { display: flex; overflow-x: auto; padding: 10px 20px 2px; gap: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; min-height: 44px; white-space: nowrap; font-size: 14px; font-weight: 650; }
.chips [aria-pressed="true"] { color: var(--action); background: var(--soft); border-color: #edb28e; }
.category-title { font-size: 27px; letter-spacing: -.04em; margin-top: 22px; }
.menu-items { margin-top: 7px; }
.menu-item {
    width: 100%; text-align: start; padding: 13px 0; min-height: 103px; border: 0; border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: minmax(0, 1fr) 74px 16px; gap: 10px; align-items: center; background: var(--white);
}
.menu-item strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.menu-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.45; margin: 5px 0; }
.menu-item b { color: var(--action); font-size: 14px; }
.menu-item > svg { width: 16px; color: var(--action); }
.item-image { height: 74px; border-radius: 12px; }
.detail-image { aspect-ratio: 1.5; max-height: 320px; }
.detail { padding-top: 23px; }
.detail h1 { font-size: clamp(26px, 7vw, 34px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.detail-price { display: block; margin: 9px 0; color: var(--action); font-size: 20px; }
.detail p { margin-top: 12px; color: var(--muted); line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.stepper { align-self: center; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 999px; width: 144px; font-weight: 750; }
.stepper button { border: 0; background: none; padding: 0; width: 44px; height: 42px; border-radius: 50%; color: var(--action); }
.dock {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, var(--shell)); z-index: 4;
    display: grid; gap: 8px; justify-items: stretch; background: var(--white); padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 30px #4e2e1811; border-top: 1px solid var(--line);
}
.dock:has(.stepper) { grid-template-columns: max-content minmax(0, 1fr); }
.pill {
    border: 0; border-radius: 999px; min-height: 50px; padding: 10px 16px; display: inline-flex; align-items: center;
    justify-content: center; gap: 8px; background: var(--soft); color: var(--action); font-size: 15px; font-weight: 750; text-align: center;
}
.pill.primary { background: var(--action); color: var(--white); }
.pill.secondary { background: #f7efe8; color: var(--ink); }
.pill svg { width: 19px; height: 19px; }
.notice { display: grid; gap: 10px; justify-items: center; padding: 24px 16px; border-radius: 15px; background: #fbf3eb; color: var(--muted); text-align: center; line-height: 1.5; }
.panel { padding-top: 20px; padding-bottom: 8px; }
.lines { list-style: none; padding: 0; margin: 5px 0 0; }
.line { padding: 12px 0; display: grid; grid-template-columns: 53px minmax(0, 1fr) max-content; gap: 11px; align-items: center; border-bottom: 1px solid var(--line); }
.line > div { display: grid; gap: 4px; overflow-wrap: anywhere; }
.line > b { align-self: start; background: #f7f2ec; border-radius: 8px; padding: 5px 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.line-image { height: 53px; border-radius: 11px; }
.line.option-line { padding-left: 18px; }
.line strong { font-size: 15px; }
.line small, .line > div > span { color: var(--muted); font-size: 13px; }
.line-controls { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.line-controls button { min-width: 39px; min-height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; background: #fff8f2; color: var(--action); }
.line-controls svg { width: 16px; height: 16px; }
.line-controls .remove { border: 0; background: none; font-weight: 650; font-size: 13px; }
.total { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 0 10px; font-weight: 700; }
.total strong { font-size: 21px; color: var(--action); }
.note { display: grid; gap: 8px; margin-top: 17px; font-weight: 700; }
.note small { color: var(--muted); font-weight: 400; }
.note textarea { resize: vertical; min-height: 60px; border: 1px solid var(--line); border-radius: 12px; background: #fbf7f3; padding: 10px 12px; font-size: 16px; color: var(--ink); }
.confirmation { padding: 24px 20px 23px; border-bottom: 1px solid var(--line); }
.check { display: grid; place-items: center; height: 47px; width: 47px; margin-bottom: 14px; border-radius: 50%; background: var(--soft); color: var(--action); }
.confirmation .eyebrow { font-size: 12px; font-weight: 750; color: var(--action); margin-bottom: 5px; }
.confirmation h1 { font-size: clamp(27px, 7vw, 36px); letter-spacing: -.045em; line-height: 1.12; }
.confirmation p:last-child { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.5; }
.review { text-align: center; padding: 19px 14px; border-bottom: 1px solid var(--line); background: #fff8f2; }
.review h2 { font-size: 18px; letter-spacing: -.02em; }
.review-cta { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; border-radius: 12px; padding-inline: 10px; }
.review-cta:hover { background: var(--soft); }
.stars { display: flex; gap: 13px; align-items: center; justify-content: center; min-height: 40px; margin-top: 4px; }
.stars svg { width: 25px; height: 25px; }
.review-link { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; font-weight: 650; font-size: 13px; }
.review-link svg { width: 15px; height: 15px; }
.receipt-head { padding: 26px 0 18px; border-bottom: 1px dashed #d7bcaa; text-align: center; }
.receipt-head h1 { margin: 10px 0 8px; font-size: 26px; letter-spacing: -.04em; }
.receipt-head p, .receipt-note { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.sheet {
    width: min(100%, var(--shell)); max-width: none; max-height: 85dvh; border: 1px solid var(--line); border-radius: 23px 23px 0 0;
    margin: auto auto 0; padding: 17px 18px calc(17px + env(safe-area-inset-bottom)); color: var(--ink); background: var(--white); box-shadow: 0 -12px 45px #3a211740;
}
.sheet::backdrop { background: #31241e70; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet-head h2 { font-size: 20px; }
.request-list { display: grid; gap: 7px; margin: 10px 0 14px; }
.request-list label, .language-choice { display: flex; align-items: center; gap: 10px; padding: 10px 13px; background: #fbf5ef; border: 0; border-radius: 11px; min-height: 46px; font-size: 15px; }
.request-list input { width: 18px; height: 18px; accent-color: var(--action); }
.language-choice { justify-content: space-between; text-align: start; }
.language-choice[aria-current="true"] { color: var(--action); font-weight: 750; }
.sheet > .pill { width: 100%; }
.toast { position: fixed; z-index: 5; left: 50%; bottom: calc(158px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: min(calc(100vw - 34px), 475px); border-radius: 15px; padding: 12px 15px; color: #fff; background: #39251c; box-shadow: 0 5px 15px #4e2e1830; opacity: 0; pointer-events: none; font-size: 14px; }
.toast.shown { opacity: 1; }
@media (max-width: 350px) {
    .section { padding-inline: 14px; }
    .stepper { width: 113px; }
    .stepper button { width: 36px; }
    .dock { padding-inline: 12px; }
}
@media print {
    :root, body { background: #fff; }
    .order-app { width: 100%; max-width: 100%; box-shadow: none; padding: 0 !important; }
    .order-app .top, .order-app .dock, .order-app .toast, .receipt .line-image { display: none !important; }
    .receipt .line { grid-template-columns: minmax(0, 1fr) auto; break-inside: avoid; }
    .receipt .brand img { print-color-adjust: exact; }
}

.item-options { margin-top: 24px; }
.detail .option-units { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.option-group { min-width: 0; margin: 0 0 16px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 12px; }
.option-group legend { padding: 0 4px; font-weight: 750; }
.option-group small { font-size: 12px; color: var(--muted); }
.option-choice { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.option-choice:last-child { border-bottom: 0; }
.option-choice > button { flex: 1; display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 0; text-align: left; background: none; border: 0; }
.option-choice > button small { display: block; }
.option-check { display: grid; place-items: center; flex: 0 0 20px; height: 20px; border: 1px solid var(--muted); border-radius: 5px; }
.option-choice button[aria-pressed="true"] .option-check { background: var(--action); color: white; border-color: var(--action); }
.option-check svg { width: 16px; }
.option-stepper { display: flex; align-items: center; gap: 4px; }
.option-stepper button { display: grid; place-items: center; min-width: 36px; min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--page); }
.option-stepper svg { width: 16px; }
