/* Shared hero product moment: phone ordering + kitchen display. Themed via --fl-* vars. */
.fl{--fl-screen:#fff;--fl-ink:#15272b;--fl-muted:#5b6f72;--fl-accent:#1a7a8a;--fl-accent-ink:#fff;--fl-line:#e3ecea;--fl-frame:#0f1d20;--fl-kds-bg:#10201f;--fl-kds-ink:#eaf3f1;--fl-kds-muted:#86a09c;--fl-kds-line:rgb(255 255 255/.08);--fl-ticket:#182e30;--fl-ticket-ink:#eaf3f1;--fl-hot:#ff8a1a;--fl-ok:#22e584;--fl-ease:cubic-bezier(.23,1,.32,1);
  position:relative;width:100%;max-width:640px;container:fl/inline-size;font-size:14px;line-height:1.35;color:var(--fl-ink)}
/* The sample sizes itself from its own width (container queries), not the screen's, so any window size works. */
.fl-stage{--fl-pw:282px;--fl-ph:560px;position:relative;display:grid;grid-template-columns:minmax(0,1fr);min-height:var(--fl-ph)}
.fl *{box-sizing:border-box}
.fl-kds{position:absolute;right:0;top:20px;bottom:20px;width:62%;background:var(--fl-kds-bg);color:var(--fl-kds-ink);border-radius:22px;padding:18px 18px 18px max(18px,calc(var(--fl-pw) - 38cqw + 16px));box-shadow:0 30px 80px -30px rgb(0 0 0/.55),0 0 0 1px var(--fl-kds-line) inset;overflow:hidden}
.fl-kds-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--fl-kds-muted);margin-bottom:14px}
.fl-kds-top b{color:var(--fl-kds-ink);font-weight:600}
.fl-kds-top span{display:inline-flex;gap:6px;align-items:center}
.fl-kds-top i{width:7px;height:7px;border-radius:50%;background:var(--fl-ok)}
.fl-rail{display:grid;gap:10px}
.fl-ticket.off{display:none}
.fl-ticket{position:relative}
/* New order on the kitchen display: the ticket flashes warm twice, like a kitchen screen's new-order alert,
   then settles into its orange New state. Light, not motion, so it never looks like the guest's wiggle. */
.fl-ticket::before{content:"";position:absolute;inset:0;border-radius:inherit;background:rgb(255 138 26/.26);opacity:0;pointer-events:none;z-index:0}
.fl-ticket>*{position:relative;z-index:1}
.fl-ticket.buzz::before{animation:fl-flash 1.3s ease-in-out}
@keyframes fl-flash{0%,50%,100%{opacity:0}18%,68%{opacity:1}}
.fl-ticket{background:var(--fl-ticket);color:var(--fl-ticket-ink);border-radius:14px;padding:10px 13px;box-shadow:0 0 0 1px var(--fl-kds-line) inset;opacity:0;transform:translateX(-40px) scale(.96);transition:opacity 500ms var(--fl-ease),transform 600ms var(--fl-ease),box-shadow 400ms ease}
.fl-ticket.in{opacity:1;transform:none;box-shadow:0 0 0 1.5px var(--fl-hot) inset,0 10px 30px -10px var(--fl-hot)}
.fl-ticket.prep,.fl-ticket.ready{opacity:1;transform:none}
.fl-ticket.prep{box-shadow:0 0 0 1px var(--fl-kds-line) inset}
.fl-ticket.ready{box-shadow:0 0 0 1.5px var(--fl-ok) inset}
.fl-ticket~.fl-ticket .fl-t-line,.fl-ticket~.fl-ticket .fl-t-sum,.fl-ticket~.fl-ticket .fl-t-table{opacity:.78}
.fl-ticket~.fl-ticket .fl-t-sum span{color:#a9bfbb} /* dimmed ticket: its label stays above 4.5:1 (axe, 2026-09-29) */
.fl-t-top{display:flex;gap:8px;align-items:center;margin-bottom:5px;font-size:13px;white-space:nowrap}
.fl-t-top span{color:var(--fl-kds-muted)}
.fl-t-table{font-size:15px;font-weight:700;letter-spacing:-.01em;color:#fff}
.fl-t-table,.fl-t-top em{flex-shrink:0}
.fl-t-no{min-width:0;overflow:hidden;font-size:11.5px;font-variant-numeric:tabular-nums}
.fl-t-top em{margin-left:auto;flex-shrink:0;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:99px;background:var(--fl-hot);color:#1b1206}
.fl-ticket.prep em{background:#ffd23f}.fl-ticket.ready em{background:var(--fl-ok);color:#06200f}
.fl-t-line{font-size:13px;padding:1px 0}
.fl-tag{display:flex;width:max-content;align-items:center;gap:5px;margin:2px 0 1px;padding:2px 8px 2px 7px;border-radius:99px;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;background:rgb(34 229 132/.2);color:var(--fl-ok)}
.fl-tag::before{content:"";width:7px;height:4px;margin-top:-2px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.fl-t-sum{display:flex;justify-content:space-between;border-top:1px dashed var(--fl-kds-line);margin-top:6px;padding-top:6px;font-size:12px;color:var(--fl-kds-muted);font-variant-numeric:tabular-nums}
.fl-t-sum b{color:var(--fl-kds-ink)}

.fl-phone{position:relative;z-index:2;width:var(--fl-pw);height:var(--fl-ph);border-radius:46px;padding:10px;background:var(--fl-frame);box-shadow:0 40px 80px -30px rgb(0 0 0/.6),0 0 0 1px rgb(255 255 255/.08) inset}
.fl-phone::before{content:"";position:absolute;top:18px;left:50%;width:82px;height:22px;margin-left:-41px;border-radius:14px;background:var(--fl-frame);z-index:5}
.fl-screen{position:relative;height:100%;border-radius:37px;background:var(--fl-screen);overflow:hidden;padding:52px 14px 14px;display:flex;flex-direction:column;gap:8px}
.fl-app-top{display:flex;justify-content:space-between;align-items:start;padding:0 4px 8px}
.fl-app-top b{display:block;font-size:17px;letter-spacing:-.01em}
.fl-app-top span{font-size:11.5px;color:var(--fl-muted)}
.fl-app-top em{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fl-accent);border:1px solid currentColor;border-radius:99px;padding:2px 7px}
.fl-cats{display:flex;gap:6px;padding:0 2px 6px}
.fl-cats span{font-size:12px;padding:5px 11px;border-radius:99px;border:1px solid var(--fl-line);color:var(--fl-muted)}
.fl-cats .on{background:var(--fl-accent);border-color:var(--fl-accent);color:var(--fl-accent-ink)}
.fl-item{display:grid;grid-template-columns:44px 1fr auto 30px;gap:10px;align-items:center;padding:8px 6px;border-radius:14px;transition:background-color 250ms ease}
.fl-item i{width:44px;height:44px;border-radius:12px;background:#ddd center/cover}
.fl-item b{display:block;font-size:13.5px}
.fl-item small{font-size:11px;color:var(--fl-muted)}
.fl-p{font-weight:600;font-size:13px;font-variant-numeric:tabular-nums}
.fl-add{position:relative;width:30px;height:30px;border-radius:50%;color:var(--fl-accent);box-shadow:0 0 0 1.5px var(--fl-accent) inset;transition:transform 160ms var(--fl-ease),background-color 200ms ease,color 200ms ease}
.fl-add::before,.fl-add::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:1px;background:currentColor}
.fl-add::after{transform:rotate(90deg)}
.fl-q{position:absolute;z-index:1;top:-8px;right:-10px;min-width:20px;height:18px;padding:0 5px;border-radius:9px;background:var(--fl-hot);color:#1b1206;font-size:10.5px;font-weight:700;display:grid;place-items:center;opacity:0;transform:scale(.6);transition:opacity 200ms ease,transform 300ms var(--fl-ease)}
.fl-item.added{background:color-mix(in srgb,var(--fl-accent) 9%,transparent)}
.fl-item.added .fl-add{background:var(--fl-accent);color:var(--fl-accent-ink)}
.fl-item.added .fl-q{opacity:1;transform:none}
.fl-item.press .fl-add,.fl-place.press{transform:scale(.88)}
.fl-up{display:grid;grid-template-columns:40px 1fr auto;gap:6px 10px;align-items:center;margin-top:4px;padding:8px 10px 10px;border-radius:14px;background:#fff4e8;box-shadow:0 0 0 1px rgb(255 138 26/.35) inset;opacity:0;transform:translateY(10px);transition:opacity 350ms ease,transform 450ms var(--fl-ease)}
.fl-up.show{opacity:1;transform:none;animation:fl-up-in 1s var(--fl-ease) both}
@keyframes fl-up-in{0%{opacity:0;transform:translateY(14px)}40%{opacity:1;transform:translateY(-2px)}55%{transform:rotate(-1.6deg)}70%{transform:rotate(1.2deg)}85%{transform:rotate(-.6deg)}100%{transform:none}}
.fl-up-btn{position:relative}

.fl-up i{width:40px;height:40px;border-radius:10px;background:#ddd center/cover}
.fl-up small{grid-column:1/-1;display:block;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#9a4506}
.fl-up b{display:block;font-size:13px;line-height:1.2}
.fl-up-btn{display:grid;height:30px;border-radius:99px;background:var(--fl-accent);color:var(--fl-accent-ink);font-size:12px;font-weight:600;transition:transform 160ms var(--fl-ease),background-color 250ms ease,color 250ms ease}
.fl-up-btn>span{grid-area:1/1;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 11px;white-space:nowrap;transition:opacity 200ms ease}
.fl-up-ok{opacity:0}
.fl-up-ok::before{content:"";width:8px;height:4px;margin-top:-2px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.fl-up.press .fl-up-btn{transform:scale(.9)}
.fl-up.taken .fl-up-btn{background:var(--fl-ok);color:#06200f}
.fl-up.taken .fl-up-add{opacity:0}.fl-up.taken .fl-up-ok{opacity:1}
.fl-cart{margin-top:auto}
/* Fixed height and one line: the button never grows as the count and total change. */
.fl-place{width:100%;height:44px;display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;border-radius:14px;padding:0 15px;font:inherit;font-size:13.5px;font-weight:600;line-height:1;white-space:nowrap;overflow:hidden;font-variant-numeric:tabular-nums;background:var(--fl-accent);color:var(--fl-accent-ink);transition:transform 160ms var(--fl-ease),opacity 300ms ease;opacity:.45}
.fl.is-ordering .fl-item.added~.fl-cart .fl-place,.fl.is-ordering .fl-place{opacity:1}
.fl-splash{position:absolute;inset:0;z-index:4;display:grid;place-content:center;justify-items:center;gap:4px;background:var(--fl-accent);color:var(--fl-accent-ink);opacity:0;pointer-events:none;transition:opacity 400ms ease}
.fl-splash.show{opacity:1}
.fl-splash b{font-size:24px;margin-top:92px}
.fl-splash small{opacity:.85;text-align:center;max-width:200px;margin:0 auto}
.fl-ring{position:absolute;top:50%;left:50%;width:74px;height:74px;margin:-80px 0 0 -37px;border-radius:50%;border:2px solid currentColor;opacity:0}
.fl-splash.show .fl-ring{animation:fl-ring 1.4s var(--fl-ease) infinite}
.fl-splash.show .fl-ring.r2{animation-delay:.35s}
@keyframes fl-ring{0%{transform:scale(.4);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.fl-done{position:absolute;left:14px;right:14px;bottom:14px;z-index:3;display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center;padding:14px;border-radius:18px;background:var(--fl-ink);color:var(--fl-screen);transform:translateY(120%);transition:transform 500ms var(--fl-ease)}
.fl-done b{font-size:14px}.fl-done small{grid-column:2;font-size:11.5px;opacity:.7}
.fl-check{grid-row:span 2;width:36px;height:36px;border-radius:50%;background:var(--fl-ok);display:grid;place-items:center}
.fl-check::before{content:"";width:13px;height:7px;border-left:2.5px solid #06200f;border-bottom:2.5px solid #06200f;transform:rotate(-45deg) translate(1px,-1px)}
.fl.is-placed .fl-done{transform:none}

/* Three-step caption just below the sample (outside the stage, so the kitchen panel keeps its size); the active step lights up with the animation. Sits on the dark hero.
   The caption row shares a line with the Pause sample button when there is room (it wraps under it otherwise). The row is 44px
   tall and starts 8px under the stage; with the 1px bottom padding the 23px rings sit exactly 18px under the stage on a whole
   pixel, as before the button (2026-09-29). Positioned (like the old absolute caption) so it paints above the kitchen panel's shadow. */
.fl-foot{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px}
.fl-steps{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:44px;margin:0;padding:0 0 1px;list-style:none;font-size:13px;font-weight:600;line-height:1.3;color:#c6d2cf}
.fl-steps li{display:inline-flex;align-items:center;gap:8px;transition:color 300ms ease}
.fl-steps span{width:23px;height:23px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;color:#f4efe6;box-shadow:0 0 0 1.5px rgb(255 255 255/.5) inset;transition:background-color 300ms ease,color 300ms ease,box-shadow 300ms ease}
.fl-steps li.on{color:#fff}
.fl-steps li.on span{background:var(--fl-hot);color:#1b1206;box-shadow:none}
/* Pause sample (WCAG 2.2.2): a quiet dark pill, never amber (the one amber button in view is the hero's). Pressed = paused, in the sample's teal. */
.fl-pause{display:inline-flex;align-items:center;gap:8px;min-width:44px;min-height:44px;margin-left:auto;padding:0 16px 0 14px;border:0;border-radius:var(--r-pill);background:var(--bg-2);box-shadow:0 0 0 1.5px rgb(255 255 255/.5) inset;color:var(--text);font-size:13px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;touch-action:manipulation;scroll-margin-bottom:96px;transition:background-color var(--d-hover) ease,box-shadow var(--d-hover) ease,color var(--d-hover) ease,transform var(--d-press) var(--ease-out)}
.fl-pause::before{content:"";flex-shrink:0;width:10px;height:11px;border-inline:3px solid currentColor}
.fl-pause:hover{background:var(--surface);box-shadow:0 0 0 1.5px var(--text) inset}
.fl-pause:active{transform:scale(.97)}
.fl-pause[aria-pressed="true"]{background:var(--fl-accent);box-shadow:0 0 0 1.5px var(--fl-accent) inset;color:#fff}
.fl-pause[aria-pressed="true"]:hover{box-shadow:0 0 0 1.5px var(--text) inset}
.fl .fl-pause:focus-visible{outline:2px solid var(--amber);outline-offset:3px;border-radius:var(--r-pill)}
/* Paused: any CSS animation that restarts (the sample moving between the phone and desktop spots, a hidden ticket shown again) starts held too. */
.fl.is-paused *,.fl.is-paused *::before,.fl.is-paused *::after{animation-play-state:paused!important}
/* Compact side-by-side (sample 460-559px wide): a slimmer phone, and the ticket number steps aside. */
@container fl (max-width:559px){.fl-stage{--fl-pw:252px;--fl-ph:560px}.fl-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fl-item>div{min-width:0}.fl-kds{padding-right:10px}.fl-ticket{padding:10px 11px}.fl-t-top{gap:6px}.fl-t-top em{padding:3px 6px;font-size:10px}.fl-t-no{display:none}.fl-item{grid-template-columns:40px 1fr auto 28px;gap:8px}.fl-item i{width:40px;height:40px}}
/* Stacked (sample under 460px wide): the kitchen display sits under the phone at full width, two newest tickets. */
@container fl (max-width:459px){.fl-foot{justify-content:center;row-gap:12px;margin-top:18px}.fl-steps{flex-basis:100%;min-height:0;padding:0;font-size:12.5px;gap:8px 14px;justify-content:center}.fl-pause{margin:0}.fl-place{height:40px;padding:0 12px;font-size:12.5px;border-radius:13px}.fl-up{grid-template-columns:34px 1fr auto;gap:5px 8px;padding:7px 8px 8px}.fl-up i{width:34px;height:34px}.fl-up-btn>span{padding:0 10px}.fl-t-line{font-size:12.5px}.fl-steps span{width:20px;height:20px;font-size:10.5px}.fl-stage{--fl-pw:236px;--fl-ph:524px;min-height:0;display:flex;flex-direction:column;align-items:center}.fl-phone{border-radius:40px}.fl-screen{border-radius:31px;padding-top:46px}.fl-kds{position:relative;right:auto;top:auto;bottom:auto;width:100%;margin-top:-40px;padding:56px 16px 16px}.fl-rail{min-height:300px;align-content:start}.fl-rail .fl-ticket:nth-child(n+3){display:none}.fl-item{grid-template-columns:36px 1fr auto 26px;gap:8px}.fl-item i{width:36px;height:36px}.fl-item small{display:none}.fl-add{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.fl *,.fl *::before,.fl *::after{transition:none!important;animation:none!important}}
/* Phones: js/ui.js moves the sample out of the hero to the slot below the cards at DOMContentLoaded. Until then it stays out of
   the hero's grid, so the hero copy never re-centres (no layout shift). With JS off the sample is empty and never shown. */
@media(max-width:760px){.hero-inner>#hero-sample{display:none}}
