:root{--bg: #FAF6F2;--surface: #FFFFFF;--surface-soft: #FFF1E6;--ink: #24160F;--muted: #6E5E55;--line: #E6D6CB;--line-soft: #F0E3D9;--accent: #9A3412;--accent-hover: #7C2D12;--accent-ink: #FFFFFF;--ok: #166534;--ok-soft: #ECFDF3;--warn: #92400E;--warn-soft: #FEF3C7;--danger: #B91C1C;--danger-soft: #FEE2E2;--radius: 14px;--radius-lg: 20px;--shadow: 0 1px 2px rgba(36, 22, 15, .06), 0 4px 16px rgba(36, 22, 15, .06);--display: "Bricolage Grotesque", system-ui, sans-serif;--body: "DM Sans", system-ui, sans-serif;color-scheme:light}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}h1,h2,h3{font-family:var(--display);line-height:1.15;margin:0;letter-spacing:-.01em}h1{font-size:28px;font-weight:800}h2{font-size:21px;font-weight:700}h3{font-size:17px;font-weight:700}p{margin:0}a{color:var(--accent-text, var(--accent))}a:hover{color:var(--accent-hover)}button,input,select,textarea{font:inherit;color:inherit}img{max-width:100%;display:block}.muted{color:var(--muted)}.small{font-size:14px}.tiny{font-size:12.5px}.strong{font-weight:700}.center{text-align:center}.row{display:flex;align-items:center;gap:12px}.row.wrap{flex-wrap:wrap}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.stack.lg{gap:20px}.grow{flex:1;min-width:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:var(--btn-radius, 999px);border:1px solid transparent;background:var(--accent);color:var(--accent-ink);font-weight:700;cursor:pointer;text-decoration:none;transition:background .15s}.btn:hover{background:var(--accent-hover);color:var(--accent-ink)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.block{width:100%}.btn.secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:var(--surface-soft)}.btn.ghost{background:transparent;color:var(--accent-text, var(--accent))}.btn.ghost:hover{background:var(--surface-soft)}.btn.ok{background:var(--ok)}.btn.danger{background:var(--surface);color:var(--danger);border-color:#f3c4c4}.btn.sm{min-height:40px;padding:0 14px;font-size:14px}.icon-btn{width:44px;height:44px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:inline-grid;place-items:center;cursor:pointer}.icon-btn:hover{background:var(--surface-soft)}:focus-visible{outline:3px solid #F59E0B;outline-offset:2px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:700;font-size:14px}.input,.field input,.field select,.field textarea{width:100%;min-height:48px;padding:10px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}.field textarea{min-height:84px;resize:vertical}.check{display:flex;gap:12px;align-items:flex-start;cursor:pointer}.check input{width:22px;height:22px;margin-top:1px;accent-color:var(--accent);flex:none}.card{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:18px;box-shadow:var(--shadow)}.card.flat{box-shadow:none}.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700;background:var(--surface-soft);color:var(--accent-text, var(--accent))}.pill.ok{background:var(--ok-soft);color:var(--ok)}.pill.warn{background:var(--warn-soft);color:var(--warn)}.pill.danger{background:var(--danger-soft);color:var(--danger)}.pill.grey{background:#f1ece8;color:var(--muted)}.alert{padding:12px 14px;border-radius:12px;background:var(--warn-soft);color:var(--warn);font-size:14.5px}.alert.error{background:var(--danger-soft);color:var(--danger)}.alert.ok{background:var(--ok-soft);color:var(--ok)}.divider{height:1px;background:var(--line-soft);margin:4px 0}.choice{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:52px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer}.choice:has(input:checked){border-color:var(--accent);background:var(--surface-soft)}.choice input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:0}.phone{max-width:520px;margin:0 auto;min-height:100vh;min-height:100dvh;padding:0 16px calc(110px + env(safe-area-inset-bottom))}.client-top{padding:18px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.hero{padding:28px 0 8px;display:flex;flex-direction:column;gap:10px}.cat-bar{position:sticky;top:0;z-index:5;display:flex;gap:8px;overflow-x:auto;padding:10px 16px;margin:0 -16px;background:var(--bg);scrollbar-width:none}.cat-bar::-webkit-scrollbar{display:none}.cat-chip{flex:none;min-height:40px;padding:0 16px;border-radius:var(--btn-radius, 999px);border:1px solid var(--line);background:var(--surface);font-weight:700;cursor:pointer}.cat-chip[aria-current=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.product{display:flex;gap:14px;padding:14px;border-radius:var(--card-radius, 18px);background:var(--surface);border:1px solid var(--line-soft);width:100%;text-align:left;cursor:pointer}.product:hover{border-color:var(--line)}.product[aria-disabled=true]{opacity:.55;cursor:not-allowed}.product .ph{width:92px;height:92px;border-radius:calc(var(--card-radius, 18px) - 4px);flex:none;object-fit:cover;background:var(--surface-soft)}.product .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg) 70%,transparent)}.bottom-bar>*{max-width:488px;margin:0 auto}.cart-btn{width:100%;justify-content:space-between;padding:0 10px;min-height:56px}.cart-count{background:#ffffff2e;border-radius:999px;min-width:34px;height:34px;display:inline-grid;place-items:center}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#24160f73;z-index:30;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:560px;max-height:92dvh;overflow-y:auto;background:var(--bg);border-radius:24px 24px 0 0;padding:0 16px calc(96px + env(safe-area-inset-bottom));position:relative}.sheet-head{position:sticky;top:0;background:var(--bg);padding:16px 0 10px;display:flex;gap:12px;align-items:flex-start;z-index:2}.sheet-foot{position:sticky;bottom:calc(-96px - env(safe-area-inset-bottom));margin:16px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line-soft);display:flex;gap:12px;align-items:center}.qty{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:var(--btn-radius, 999px);background:var(--surface)}.qty button{width:44px;height:44px;border:0;background:transparent;border-radius:999px;cursor:pointer;font-size:20px;font-weight:700}.qty span{min-width:22px;text-align:center;font-weight:700}.line{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line-soft);align-items:center}.steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0}.steps li{display:flex;gap:14px;padding:10px 0;position:relative}.steps .dot{width:28px;height:28px;border-radius:999px;border:2px solid var(--line);background:var(--surface);flex:none;display:grid;place-items:center;font-size:14px;font-weight:800}.steps li[data-state=done] .dot{background:var(--ok);border-color:var(--ok);color:#fff}.steps li[data-state=current] .dot{border-color:var(--accent);color:var(--accent-text, var(--accent))}.big-number{font-family:var(--display);font-size:64px;font-weight:800;line-height:1;letter-spacing:-.02em}.pro{display:grid;grid-template-columns:248px 1fr;min-height:100vh}.pro-nav{background:var(--surface);border-right:1px solid var(--line-soft);padding:20px 14px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 18px;font-family:var(--display);font-weight:800;font-size:19px}.brand .logo{width:34px;height:34px;border-radius:10px;background:url(/favicon.svg) center / cover no-repeat;color:transparent;font-size:0;flex:none}.nav-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 12px;border-radius:12px;color:var(--ink);text-decoration:none;font-weight:500}.nav-link:hover{background:var(--surface-soft);color:var(--ink)}.nav-link.active{background:var(--surface-soft);color:var(--accent);font-weight:700}.badge{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--accent);color:#fff;font-size:13px;font-weight:700;display:inline-grid;place-items:center}.pro-main{padding:28px 32px 48px;min-width:0}.pro-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi .value{font-family:var(--display);font-size:30px;font-weight:800;margin-top:6px}.grid-2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px}.table-wrap{overflow-x:auto;border-radius:var(--radius-lg);border:1px solid var(--line-soft);background:var(--surface)}table.data{width:100%;border-collapse:collapse;font-size:14.5px}table.data th{text-align:left;font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:12px 14px;border-bottom:1px solid var(--line-soft);white-space:nowrap}table.data td{padding:12px 14px;border-bottom:1px solid var(--line-soft);vertical-align:top}table.data tr:last-child td{border-bottom:0}.bars{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;align-items:end;height:180px;margin-top:16px}.bar{background:var(--accent);border-radius:8px 8px 3px 3px;min-height:3px}.tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.ticket{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--line-soft);padding:16px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow)}.ticket.new{border:2px solid var(--accent)}.ticket .num{font-family:var(--display);font-size:30px;font-weight:800}.ticket ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.ticket .note{background:var(--warn-soft);color:var(--warn);border-radius:10px;padding:8px 10px;font-weight:700;font-size:14px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tab{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);cursor:pointer;font-weight:700;font-size:14px}.tab[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.switch{position:relative;width:52px;height:30px;flex:none}.switch input{opacity:0;width:100%;height:100%;margin:0;cursor:pointer;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.switch span{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;background:#d9cbc0;transition:background .15s}.switch span:after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:999px;background:#fff;transition:transform .15s;box-shadow:0 1px 3px #0003}.switch input:checked+span{background:var(--ok)}.switch input:checked+span:after{transform:translate(22px)}.qr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.qr-tile .btn.sm{min-height:34px;padding:0 8px}.qr-tile{background:var(--surface);border:1px solid var(--line-soft);border-radius:16px;padding:12px;text-align:center;display:flex;flex-direction:column;gap:6px;align-items:center}.qr-tile svg{width:110px;height:110px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.auth-card{width:100%;max-width:420px}.kitchen-mode .pro-main{padding:16px}@media(max-width:960px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:1fr}}@media(max-width:760px){.pro{grid-template-columns:1fr}.pro-nav{position:static;height:auto;flex-direction:row;overflow-x:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line-soft)}.pro-nav .brand,.pro-nav .nav-foot{display:none}.nav-link{flex:none}.pro-main{padding:18px 16px 40px}.kpi .value{font-size:24px}}.cover{width:calc(100% + 32px);margin:0 -16px;height:180px;object-fit:cover;display:block}.brand-logo{width:72px;height:72px;border-radius:18px;object-fit:cover;background:var(--surface);border:3px solid var(--bg);box-shadow:var(--shadow)}.cover+.hero .brand-logo{margin-top:-64px}.qty button,.icon-btn,.field input,.field select,.field textarea,.input,.choice,.card,.product,.ticket{color:var(--ink)}.appearance{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.preview-col{position:sticky;top:20px}.phone-frame{width:320px;margin:0 auto;padding:12px;border-radius:44px;background:#1c1917;box-shadow:0 20px 50px #0000002e}.phone-screen{height:620px;overflow-y:auto;border-radius:32px;background:var(--bg);color:var(--ink);font-family:var(--body)}.palette-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}.palette{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer}.palette[aria-pressed=true]{border-color:var(--accent);background:var(--surface-soft)}.palette-swatch{width:52px;height:36px;border-radius:10px;border:1px solid var(--line);display:grid;place-items:center}.palette-swatch span{width:24px;height:24px;border-radius:999px}.palette-dot{width:22px;height:22px;border-radius:999px;border:1px solid #CFC3BA;flex:none}.font-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.image-pick{display:grid;place-items:center;border:1.5px dashed var(--line);border-radius:14px;overflow:hidden;cursor:pointer;background:var(--surface-soft)}.image-pick img{width:100%;height:100%;object-fit:cover}@media(max-width:1100px){.appearance{grid-template-columns:1fr}.preview-col{position:static;order:-1}}@media(max-width:400px){.phone-frame{width:100%}}.boutique{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.boutique-side{position:sticky;top:20px}.support-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.support-tile{display:flex;flex-direction:column;gap:4px;text-align:left;min-height:120px;padding:14px;border-radius:14px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer}.support-tile[aria-pressed=true]{border-color:var(--accent);background:var(--surface-soft)}.swatch-btn{width:44px;height:44px;border-radius:999px;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}.swatch-btn[aria-pressed=true]{box-shadow:0 0 0 3px #f59e0b}.support-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;margin:8px 0;transition:all .2s}.nfc-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;border:1.5px solid;border-radius:999px;padding:3px 8px;background:#ffffffd9}.admin-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 32px;background:var(--surface);border-bottom:1px solid var(--line-soft)}@media(max-width:1100px){.boutique{grid-template-columns:1fr}.boutique-side{position:static}}@media(max-width:760px){.admin-head{padding:12px 16px}}@keyframes screen-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes bar-up{0%{transform:translateY(100%);opacity:0}to{transform:none;opacity:1}}@keyframes pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08);opacity:1}to{transform:scale(1)}}@keyframes ring{0%{box-shadow:0 0 color-mix(in srgb,var(--accent) 45%,transparent)}to{box-shadow:0 0 0 12px transparent}}main.phone{animation:screen-in .35s cubic-bezier(.2,.8,.2,1) both}.sheet-backdrop{animation:fade-in .2s ease both}.sheet{animation:sheet-up .32s cubic-bezier(.2,.8,.2,1) both}.bottom-bar{animation:bar-up .3s cubic-bezier(.2,.8,.2,1) both}.product{transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.product:not([aria-disabled=true]):active{transform:scale(.985)}.product .ph{transition:transform .3s ease}.product:hover .ph{transform:scale(1.04)}.steps li[data-state=current] .dot{animation:ring 1.4s ease-out infinite}.steps li[data-state=done] .dot{animation:pop .35s ease both}.big-number{animation:pop .45s cubic-bezier(.2,.8,.2,1) both}.cart-count{animation:pop .3s ease both}.choice{transition:border-color .15s ease,background .15s ease}@media(prefers-reduced-motion:reduce){main.phone,.sheet-backdrop,.sheet,.bottom-bar,.big-number,.cart-count,.steps li[data-state=current] .dot,.steps li[data-state=done] .dot{animation:none}.product,.product .ph,.choice{transition:none}}.demo-ribbon{background:var(--warn-soft);color:var(--warn);border-radius:12px;padding:8px 12px;font-size:13px;font-weight:700;margin-bottom:12px}.demo-wallet{min-height:52px}.demo-wallet.apple{background:#000;color:#fff;border-color:#000}.demo-wallet.google{background:#fff;color:#1f1f1f;border:1.5px solid #dadce0}.demo-or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin:4px 0}.demo-or:before,.demo-or:after{content:"";flex:1;height:1px;background:var(--line)}.demo-card{display:grid;gap:12px}.demo-fake{display:flex;align-items:center;color:var(--muted);letter-spacing:.04em;font-variant-numeric:tabular-nums}.demo-spin{width:18px;height:18px;border-radius:50%;border:2.5px solid currentColor;border-right-color:transparent;display:inline-block;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.demo-paid{display:grid;justify-items:center;gap:8px;text-align:center;padding:32px 0}.demo-paid-ic{width:76px;height:76px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center;animation:pop .5s cubic-bezier(.2,.8,.2,1) both}.demo-toast{position:fixed;top:10px;left:10px;right:10px;z-index:50;max-width:500px;margin:0 auto;display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:18px;background:#ffffffeb;color:#1c1917;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 10px 30px #0000002e;font-size:14px;line-height:1.3;animation:toast-in .45s cubic-bezier(.2,.8,.2,1) both}.demo-toast-ic{width:36px;height:36px;border-radius:10px;background:var(--accent);color:var(--accent-ink, #fff);display:grid;place-items:center;flex:none}@keyframes toast-in{0%{transform:translateY(-120%);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.demo-toast,.demo-paid-ic{animation:none}.demo-spin{animation-duration:2s}}html.demo-mode,html.demo-mode body{height:100%;overflow:hidden}html.demo-mode #root{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}html.demo-mode .phone{min-height:100%}
