@font-face{font-family:Montserrat;src:url("fonts/montserrat-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Montserrat;src:url("fonts/montserrat-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Montserrat;src:url("fonts/montserrat-800.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:Manrope;src:url("fonts/manrope-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url("fonts/manrope-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url("fonts/manrope-700.woff2") format("woff2");font-weight:700;font-display:swap}
:root{
  --cream:#FCF6EC;--surface:#FFFBF4;--surface2:#FFF;--offset:#F4EADB;--border:#E2D4C0;--divider:#EDE2D2;
  --cocoa:#2A211C;--muted:#7A6A5E;--faint:#A2907F;--tomato:#C8462C;--tomato-dark:#A8371F;--amber:#E9A13B;--herb:#4F7A3A;--on-tomato:#FFF7F0;
  color-scheme:light;
}
[data-theme="dark"]{--cream:#1E1815;--surface:#262019;--surface2:#2E2620;--offset:#332A22;--border:#46392F;--divider:#33291F;--cocoa:#F2E8DC;--muted:#B3A093;--faint:#8A7768;--tomato:#F0714F;--tomato-dark:#FF8B6B;--herb:#7FB05C;--on-tomato:#23140F;color-scheme:dark}
*{box-sizing:border-box}
html{background:#1E1815}
body{margin:0;background:#1E1815;color:var(--cocoa);font-family:Manrope,system-ui,-apple-system,Arial,sans-serif;font-size:16px;line-height:1.45}
button,input,textarea,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit}
img{display:block;max-width:100%}
[hidden]{display:none!important}
.page-shell{min-height:100dvh}
.app{position:relative;width:100%;max-width:430px;min-height:100dvh;margin:0 auto;background:var(--cream);box-shadow:0 0 40px rgba(0,0,0,.22)}
.topbar{position:sticky;top:0;z-index:20;display:flex;min-height:64px;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 14px 8px;border-bottom:1px solid var(--divider);background:color-mix(in srgb,var(--cream) 95%,transparent);backdrop-filter:blur(12px)}
.brand{display:flex;min-width:0;min-height:44px;flex:1;align-items:center;gap:9px;text-decoration:none}
.brand img{width:38px;height:38px;flex:0 0 auto}
.brand span{display:grid;min-width:0}
.brand strong{font-family:Montserrat,sans-serif;font-size:14px;line-height:1.2;white-space:nowrap}
.brand small{color:var(--muted);font-size:10px;letter-spacing:.05em}
.icon-btn{display:inline-flex;width:44px;height:44px;flex:0 0 44px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--cocoa)}
.icon-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.back-btn{margin-left:-4px}
#screen{padding:20px 16px calc(112px + env(safe-area-inset-bottom));outline:none}
.screen-head{margin-bottom:18px}
.eyebrow{margin:0 0 7px;color:var(--tomato-dark);font-family:Montserrat,sans-serif;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
h1,h2,h3,p{overflow-wrap:break-word}
h1,h2,h3{margin:0;font-family:Montserrat,sans-serif;line-height:1.18}
h1{font-size:27px;letter-spacing:-.035em}
h2{font-size:21px;letter-spacing:-.025em}
h3{font-size:17px}
.lead{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.micro{color:var(--muted);font-size:12px}
.day-switch{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:18px 0 12px}
.day-btn{min-width:0;min-height:52px;padding:6px 2px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--muted);font-weight:700}
.day-btn span{display:block;font-size:10px;font-weight:500}
.day-btn[aria-pressed="true"]{border-color:var(--tomato);background:var(--tomato);color:var(--on-tomato)}
.notice{display:flex;gap:10px;align-items:flex-start;margin:12px 0 16px;padding:12px 13px;border:1px solid var(--border);border-left:4px solid var(--amber);border-radius:12px;background:var(--surface);font-size:13px}
.notice strong{display:block;font-family:Montserrat,sans-serif;font-size:13px}
.notice p{margin:2px 0 0;color:var(--muted)}
.notice--error{border-left-color:var(--tomato)}
.notice--ok{border-left-color:var(--herb)}
.menu-list{display:grid;gap:16px}
.food-card{overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 5px 18px rgba(42,33,28,.06)}
.food-photo{position:relative;aspect-ratio:16/8.3;background:var(--offset)}
.food-photo img{width:100%;height:100%;object-fit:cover}
.food-price{position:absolute;right:12px;bottom:12px;padding:7px 11px;border-radius:10px;background:var(--surface);color:var(--tomato-dark);font-family:Montserrat,sans-serif;font-size:20px;font-weight:800;box-shadow:0 3px 10px rgba(42,33,28,.12)}
.food-body{padding:15px}
.food-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.food-title p{margin:5px 0 0;color:var(--muted);font-size:12px}
.dishes{display:grid;gap:4px;margin:13px 0;padding:0;list-style:none;color:var(--cocoa);font-size:13px}
.dishes li{position:relative;padding-left:16px}
.dishes li::before{content:"";position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:var(--amber)}
.includes{margin:0 0 14px;color:var(--muted);font-size:11px;line-height:1.5}
.add-btn,.primary-btn,.secondary-btn,.danger-btn{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px 16px;font-family:Montserrat,sans-serif;font-size:14px;font-weight:700;text-decoration:none}
.add-btn,.primary-btn{width:100%;border:1px solid var(--tomato);background:var(--tomato);color:var(--on-tomato)}
.add-btn:hover,.primary-btn:hover{background:var(--tomato-dark)}
.secondary-btn{border:1px solid var(--border);background:var(--surface);color:var(--cocoa)}
.danger-btn{border:1px solid var(--tomato);background:transparent;color:var(--tomato-dark)}
button:disabled{cursor:not-allowed;opacity:.48}
.stepper{display:grid;grid-template-columns:48px 1fr 48px;gap:8px;align-items:center}
.stepper button{width:48px;height:48px;border:1px solid var(--tomato);border-radius:12px;background:var(--surface);color:var(--tomato-dark);font-size:25px;line-height:1}
.stepper output{text-align:center;font-family:Montserrat,sans-serif;font-size:15px;font-weight:700}
.soldout{display:flex;min-height:48px;align-items:center;justify-content:center;border:1px dashed var(--border);border-radius:12px;color:var(--muted);font-weight:700}
.stock{margin:0 0 12px;color:var(--herb);font-size:12px;font-weight:700}
.bottom-bar{position:fixed;z-index:30;left:50%;bottom:0;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;width:min(100%,430px);padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);box-shadow:0 -8px 24px rgba(42,33,28,.09);transform:translateX(-50%)}
.bottom-total{display:grid;min-width:0}
.bottom-total strong{font-family:Montserrat,sans-serif;font-size:20px;line-height:1.2}
.bottom-total span{color:var(--muted);font-size:11px}
.bottom-bar .primary-btn{min-width:132px}
.cart-list{display:grid;gap:12px;margin:18px 0}
.cart-item{padding:14px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}
.cart-item__top{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}
.cart-item__top strong{font-family:Montserrat,sans-serif}
.cart-item__price{white-space:nowrap;font-weight:700}
.cart-actions{display:flex;gap:8px;margin-top:18px}
.cart-actions>*{flex:1}
.total-box{margin:18px 0;padding:16px;border-radius:15px;background:var(--offset)}
.total-row{display:flex;justify-content:space-between;gap:12px;margin:5px 0}
.total-row--big{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-family:Montserrat,sans-serif;font-size:21px;font-weight:800}
.form{display:grid;gap:14px}
.field{display:grid;gap:6px}
.field label,.field legend{font-family:Montserrat,sans-serif;font-size:12px;font-weight:700}
.field input,.field textarea,.field select{width:100%;min-height:52px;padding:12px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface2);color:var(--cocoa);font-size:16px}
.field textarea{min-height:88px;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--tomato);outline:3px solid color-mix(in srgb,var(--tomato) 20%,transparent)}
.field small{color:var(--muted);font-size:11px}
.field-error{color:var(--tomato-dark);font-size:12px}
.payment{display:flex;min-height:54px;align-items:center;gap:10px;padding:12px 13px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}
.payment input{width:20px;height:20px;accent-color:var(--tomato)}
.consent{margin:0;color:var(--muted);font-size:11px}
.consent-check a{display:inline-flex;min-height:44px;align-items:center}
.empty-state,.success-state,.error-state{display:grid;justify-items:center;padding:26px 0;text-align:center}
.empty-state img,.success-state img{width:100%;max-width:330px;margin-bottom:20px;border-radius:18px}
.empty-state h1,.success-state h1,.error-state h1{max-width:340px}
.empty-state p,.success-state p,.error-state p{max-width:340px;color:var(--muted)}
.state-actions{display:grid;width:100%;gap:10px;margin-top:18px}
.accepted-mark{display:grid;width:72px;height:72px;place-items:center;margin-bottom:18px;border-radius:50%;background:var(--herb);color:#fff}
.accepted-mark svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.accepted-list{width:100%;margin:18px 0;padding:0;list-style:none;text-align:left}
.accepted-list li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--divider)}
.accepted-list span:last-child{white-space:nowrap;font-weight:700}
.prototype-note{margin-top:18px;padding:10px 12px;border:1px dashed var(--border);border-radius:10px;color:var(--muted);font-size:11px}
.loading{margin:40px 0;text-align:center;color:var(--muted)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
@media(prefers-reduced-motion:no-preference){#screen>.screen-head,.food-card,.empty-state,.success-state,.error-state{animation:enter .22s ease-out}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
@media(min-width:700px){body{padding:24px 0}.app{min-height:calc(100dvh - 48px);border-radius:24px;overflow:clip}.topbar{top:24px}.bottom-bar{bottom:24px;border-radius:0 0 24px 24px}}
@media(max-width:360px){#screen{padding-inline:12px}.food-body{padding:13px}.bottom-bar{padding-inline:12px}.bottom-bar .primary-btn{min-width:118px;padding-inline:12px}.brand strong{font-size:13px}}
