@font-face { font-family: Work Sans; src: url('/fonts/worksans-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Marcellus; src: url('/fonts/marcellus-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Terminal Icons; src: url('/fonts/terminal-icons.woff') format('woff'); font-display: block; }

:root {
  color-scheme: light;
  --ink: #2e2519; --muted: #6c6053; --line: #dbcfbe; --line-strong: #a28f7b;
  --cream: #f7f1e8; --paper: #fcf9f4; --sand-deep: #ede2d1; --sand: #c7ae92;
  --olive: #53572c; --sage: #e9eadf; --sage-ink: #605f46;
  --clay: #9c4a2f; --clay-dark: #813a25; --rose: #edd9ce;
  --focus: var(--olive); --radius-card: 18px; --radius-large: 28px; --radius-pill: 999px;
  --shadow-card: 0 6px 18px rgba(46,37,25,.06); --shadow-raised: 0 14px 40px rgba(46,37,25,.09);
  --body: 'Work Sans', 'Segoe UI', system-ui, sans-serif; --display: Marcellus, Georgia, serif;
  --header-height: 78px; --rail-width: 108px; --cart-width: clamp(290px,25vw,420px);
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; min-width:280px; color:var(--ink); background:var(--cream); font:400 16px/1.4 var(--body); }
h1,h2,h3,p,ul { margin:0; }
h1,h2,h3 { line-height:1.12; }
button { appearance:none; color:inherit; font:inherit; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
button:focus, input:focus, select:focus { outline:3px solid var(--focus); outline-offset:3px; }
button:focus:not(:focus-visible), input:focus:not(:focus-visible), select:focus:not(:focus-visible) { outline:none; }
button:disabled { cursor:default; }
button:active:not(:disabled) { filter:brightness(.93); }
.icon { display:inline-block; font:normal 1em/1 'Terminal Icons'; }
.ticket::before { content:"\f6ca"; } .cup::before { content:"\f7eb"; } .bag::before { content:"\f179"; }
.basket::before { content:"\f182"; } .clock::before { content:"\f293"; } .card::before { content:"\f2dc"; }
.person::before { content:"\f4e1"; } .close::before { content:"\f659"; }
.terminal-head { display:flex; align-items:center; height:var(--header-height); padding:0 clamp(18px,2.4vw,48px); background:var(--cream); border-bottom:1px solid var(--line); }
.brand { height:80%; display:inline-flex; align-items:center; gap:5px; mix-blend-mode:multiply; }
.brand img { display:block; height:76%; width:auto; filter:brightness(1.06); }
.brand img + img { height:65%; }
.station-title { margin-left:26px; padding-left:26px; border-left:1px solid var(--line); font-weight:530; letter-spacing:.02em; font-size:15px; color:var(--muted); }
.head-time { margin-left:auto; display:flex; align-items:center; gap:18px; color:var(--muted); font-size:15px; }
#pos-clock { font-variant-numeric:tabular-nums; color:var(--ink); font-weight:640; font-size:19px; }
.language-switch { display:inline-flex; flex:none; align-items:center; margin-left:18px; padding:2px; border:1px solid var(--line); border-radius:var(--radius-pill); background:var(--paper); }
.language-switch button { flex:none; min-width:44px; min-height:44px; padding:0 8px; border:0; border-radius:var(--radius-pill); background:transparent; color:var(--muted); font-size:13px; font-weight:600; }
.language-switch button[aria-pressed='true'] { background:var(--olive); color:var(--paper); }
.terminal-layout { display:grid; grid-template-columns:var(--rail-width) minmax(0,1fr) var(--cart-width); height:calc(100vh - var(--header-height)); }
.rail { min-width:0; padding:24px 8px 12px; background:var(--sand-deep); border-right:1px solid var(--line); display:flex; flex-direction:column; align-items:stretch; gap:9px; }
.rail button { border:1px solid transparent; background:transparent; color:var(--olive); padding:12px 2px; min-height:82px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border-radius:var(--radius-card); font-size:13px; font-weight:550; line-height:1.1; }
.rail .icon { font-size:30px; }
.rail button[aria-pressed="true"] { background:var(--olive); color:var(--paper); box-shadow:var(--shadow-card); }
.rail button:focus { outline-offset:1px; }
.rail-divider { height:1px; background:var(--line-strong); margin:3px 14px; }
.rail .staff-entry { margin-top:auto; }
.rail button:disabled { opacity:.5; }
.catalog { overflow-y:auto; min-width:0; padding:clamp(20px,2.2vw,44px); scrollbar-color:var(--sand) transparent; }
.section-heading { display:flex; align-items:center; margin-bottom:clamp(16px,1.4vw,29px); }
.section-heading h1 { font:400 clamp(32px,2.5vw,51px)/1.12 var(--display); letter-spacing:-.025em; }
.ticket-card { display:grid; grid-template-columns:minmax(0,43%) minmax(0,1fr); overflow:hidden; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-large); min-height:clamp(235px,18.7vw,372px); box-shadow:var(--shadow-card); }
.ticket-photo { background:var(--sand) url('/images/kind-600.webp') center 62% / cover no-repeat; min-width:0; }
.ticket-body { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:clamp(16px,2vw,38px); }
.slot-tag { display:inline-flex; align-items:center; gap:7px; margin-bottom:12px; border-radius:var(--radius-pill); background:var(--sage); color:var(--olive); font-size:14px; font-weight:600; padding:5px 12px; line-height:1.3; }
.ticket-body h2 { font:400 clamp(26px,2.05vw,43px)/1.12 var(--display); letter-spacing:-.035em; }
.ticket-info { margin-top:8px; font-size:clamp(14px,1.04vw,20px); color:var(--muted); }
.ticket-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; margin-top:14px; }
.ticket-price strong { color:var(--clay); font-weight:650; font-size:clamp(20px,1.4vw,30px); letter-spacing:-.035em; }
.ticket-price span,.extra-action small { font-size:13px; color:var(--muted); font-weight:450; }
.ticket-quantity { margin-top:11px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.stepper,.pos-cart-stepper { border:1px solid var(--line-strong); background:var(--paper); border-radius:var(--radius-pill); display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; padding:2px; }
.stepper button,.pos-cart-stepper button,#pos-ceramic { font-family:var(--body); display:inline-flex; align-items:center; justify-content:center; border:none; border-radius:50%; background:transparent; width:46px; height:46px; font-size:25px; font-weight:450; line-height:1; }
.stepper button:last-child,#pos-ceramic { background:var(--sage); color:var(--olive); }
.stepper-large button:last-child { background:var(--olive); color:var(--paper); }
.stepper button:disabled,.pos-cart-stepper button:disabled,#pos-ceramic:disabled { background:transparent; color:var(--line-strong); }
.stepper output,.pos-cart-line-quantity { min-width:25px; text-align:center; font-variant-numeric:tabular-nums; font-weight:630; }
.stepper-large button { width:51px; height:49px; }
.availability { font-size:13px; color:var(--olive); font-weight:550; }
.availability[data-state='unavailable'] { color:var(--clay); }
.extras-title,.category-head { margin:clamp(20px,1.7vw,34px) 0 13px; display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:7px; }
.extras-title h2,.category-head h2 { font:400 clamp(22px,1.6vw,32px)/1.16 var(--display); letter-spacing:-.025em; }
.extras-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(12px,1.1vw,22px); }
.extra-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border-radius:var(--radius-card); background:var(--paper); border:1px solid var(--line); box-shadow:var(--shadow-card); }
.extra-photo { width:100%; height:clamp(80px,7.8vw,160px); display:block; object-fit:cover; object-position:50% 58%; }
.extra-card:nth-child(2) .extra-photo { object-position:50% 63%; }
.extra-body { padding:clamp(12px,1.05vw,21px); display:flex; flex:1; flex-direction:column; }
.extra-body h3 { font:400 clamp(18px,1.36vw,26px)/1.17 var(--display); letter-spacing:-.021em; }
.extra-body p { margin:5px 0 11px; font-size:14px; color:var(--muted); }
.extra-action { margin-top:auto; display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:7px; }
.extra-action strong { color:var(--clay); font-size:clamp(16px,1.03vw,21px); font-weight:620; }
#pos-ceramic { width:48px; height:48px; }
#pos-ceramic[aria-pressed="true"] { background:var(--olive); color:var(--paper); }
.categories { display:flex; flex-wrap:wrap; gap:8px; }
.pos-category { display:inline-flex; justify-content:center; align-items:center; min-height:48px; padding:8px 17px; background:var(--paper); border:1px solid var(--line-strong); border-radius:var(--radius-pill); font-size:15px; font-weight:550; line-height:1.2; }
.pos-category[aria-pressed="true"],.pos-category[aria-selected="true"],.pos-category.selected { border-color:var(--olive); color:var(--paper); background:var(--olive); }
#pos-menu-hours { color:var(--muted); font-size:14px; }
.products { display:grid; grid-template-columns:repeat(auto-fill,minmax(165px,1fr)); gap:14px; }
.pos-product { padding:0; text-align:left; border:1px solid var(--line); background:var(--paper); border-radius:var(--radius-card); overflow:hidden; display:flex; flex-direction:column; min-width:0; box-shadow:var(--shadow-card); }
.pos-product-visual { display:block; width:100%; background:var(--sand-deep); }
.pos-product-image { width:100%; height:clamp(105px,8.4vw,175px); display:block; object-fit:cover; }
.pos-product-copy { display:flex; flex-direction:column; align-items:stretch; gap:5px; padding:13px; flex:1; line-height:1.22; }
.pos-product-name { font-size:17px; font-weight:630; letter-spacing:-.03em; }
.pos-product-price { margin-top:auto; color:var(--clay); font-size:15px; font-weight:600; }
.pos-product:disabled { opacity:.54; }
.cart { min-height:0; display:flex; flex-direction:column; background:var(--paper); border-left:1px solid var(--line); box-shadow:-6px 0 20px rgba(46,37,25,.04); }
.cart-head { margin:0 clamp(16px,1.5vw,30px); padding:clamp(22px,2.1vw,40px) 0 20px; display:flex; align-items:center; gap:9px; border-bottom:1px dashed var(--line-strong); }
.cart-heading { display:flex; align-items:center; gap:10px; }
.cart-heading > .icon { font-size:24px; color:var(--olive); }
.cart-head h2 { font:400 clamp(20px,1.35vw,27px)/1.15 var(--display); letter-spacing:-.02em; }
.cart-count { margin-left:auto; padding:4px 9px; border-radius:var(--radius-pill); background:var(--sage); color:var(--olive); font-size:14px; font-variant-numeric:tabular-nums; font-weight:600; }
.cart-contents { flex:1; min-height:0; overflow:auto; padding:0 clamp(16px,1.5vw,30px); display:flex; flex-direction:column; }
.cart-empty { margin:auto; padding:24px 8px; text-align:center; color:var(--muted); }
.empty-mark { display:inline-flex; width:68px; height:68px; align-items:center; justify-content:center; border-radius:50%; color:var(--sage-ink); background:var(--sage); }
.empty-mark .icon { font-size:33px; }
.cart-empty p { margin:14px 0 5px; font-size:17px; font-weight:580; color:var(--ink); }
.cart-empty > span:last-child { display:block; max-width:13.5rem; font-size:14px; margin:auto; }
.cart-lines { list-style:none; padding:0; }
.pos-cart-line { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; padding:17px 0; border-bottom:1px solid var(--line); }
.pos-cart-line-copy { grid-column:1 / -1; display:flex; flex-direction:column; gap:3px; min-width:0; }
.pos-cart-line-name { font-weight:620; font-size:17px; line-height:1.25; overflow-wrap:break-word; }
.pos-cart-line-note { font-size:13px; color:var(--muted); }
.pos-cart-stepper { justify-self:start; }
.pos-cart-stepper button { width:44px; height:44px; color:var(--olive); }
.pos-cart-line-total { font-size:16px; font-weight:600; text-align:right; }
.cart-foot { border-top:1px dashed var(--line-strong); padding:clamp(16px,1.55vw,30px); }
.total { display:flex; align-items:baseline; justify-content:space-between; margin:0 0 16px; gap:8px; }
.total span { font:400 22px/1.2 var(--display); }
.total output { color:var(--clay); font-size:clamp(21px,1.55vw,32px); font-weight:650; letter-spacing:-.045em; }
.primary-action,.secondary-action,.mobile-cart { border:0; border-radius:var(--radius-pill); display:flex; align-items:center; justify-content:center; gap:11px; min-height:58px; width:100%; padding:12px 14px; font-weight:625; font-size:17px; }
.primary-action,.mobile-cart { background:var(--clay); color:var(--paper); box-shadow:0 2px 0 rgba(46,37,25,.10); }
.primary-action:hover:not(:disabled),.mobile-cart:hover:not(:disabled) { background:var(--clay-dark); }
.primary-action:disabled { background:var(--sand-deep); color:var(--muted); box-shadow:none; }
.primary-action .icon { font-size:22px; }
.terminal-status { margin-top:10px; display:flex; justify-content:center; gap:6px; text-align:center; color:var(--muted); font-size:13px; }
.terminal-status:empty { display:none; }
.reader-setup-link { display:block; width:fit-content; margin:0 auto; padding:12px 4px; min-height:44px; color:var(--ink); font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.reset-button { border:0; background:transparent; display:block; color:var(--muted); text-decoration:underline; text-underline-offset:3px; margin:3px auto 0; padding:8px 14px; min-height:44px; font-size:14px; }
.mobile-cart,.cart-close { display:none!important; }
.icon-button { border:1px solid var(--line-strong); background:var(--paper); border-radius:50%; width:48px; height:48px; font-size:20px; }
.overlay { position:fixed; inset:0; z-index:40; background:rgba(46,37,25,.55); display:flex; align-items:center; justify-content:center; padding:20px; }
.dialog { background:var(--paper); width:100%; max-width:570px; max-height:90vh; overflow:auto; padding:clamp(20px,2.4vw,42px); border:1px solid var(--line); border-radius:var(--radius-large); box-shadow:var(--shadow-raised); }
.dialog-head { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:18px; }
.dialog h2 { font:400 clamp(25px,2.3vw,36px)/1.14 var(--display); letter-spacing:-.025em; }
.dialog .icon-button { flex:none; }
.modal-options p,.modal-options small { color:var(--muted); }
.pos-modifier-list { display:flex; flex-wrap:wrap; gap:7px; margin:12px 0; padding:0; }
.pos-modifier { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:5px; padding:10px 14px; min-height:47px; border:1px solid var(--line-strong); background:var(--paper); border-radius:var(--radius-pill); }
.pos-modifier[aria-pressed="true"] { background:var(--sage); border-color:var(--olive); color:var(--olive); }
.modal-summary { display:flex; justify-content:space-between; align-items:center; margin:20px 0 14px; }
.modal-summary strong { color:var(--clay); font-size:23px; }
.payment-dialog { text-align:center; }
.payment-dialog h2 { margin:18px 0 12px; }
.payment-mark { display:inline-flex; align-items:center; justify-content:center; width:74px; height:74px; background:var(--sage); border-radius:50%; color:var(--olive); font-size:34px; }
#pos-payment[data-state="paid"] .payment-mark .icon::before { content:"\f272"; }
#pos-payment-message { color:var(--muted); }
#pos-payment-total { display:block; margin:8px 0 15px; color:var(--clay); font-size:28px; }
#pos-payment-reference { margin:13px 0; font-size:14px; overflow-wrap:anywhere; }
#pos-payment-tickets { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:5px; padding:0; margin:10px 0; }
#pos-payment-tickets li { padding:6px 9px; background:var(--sage); border-radius:6px; }
.payment-dialog button { margin-top:9px; }
.secondary-action { background:transparent; border:1px solid var(--clay); color:var(--clay); }
.secondary-action:hover:not(:disabled) { background:var(--rose); color:var(--clay-dark); }
.error-banner { margin:0 0 10px; background:var(--rose); color:var(--clay-dark); font-size:14px; border-radius:10px; padding:10px 12px; }
@media(min-width:1600px) {
  :root { --rail-width:126px; --header-height:92px; }
  .rail button { font-size:16px; min-height:100px; }
  .rail .icon { font-size:34px; }
  .products { grid-template-columns:repeat(auto-fill,minmax(215px,1fr)); }
  .stepper-large button { width:62px; height:58px; }
  .cart-foot .primary-action { min-height:70px; font-size:21px; }
}
@media(max-width:1199px) and (min-width:901px) and (orientation:landscape) {
  :root { --rail-width:82px; --cart-width:268px; --header-height:68px; }
  .rail { padding:14px 4px 8px; } .rail button { font-size:12px; }
  .catalog { padding:19px; } .ticket-card { grid-template-columns:36% minmax(0,1fr); }
  .stepper button { width:44px; height:44px; } .extra-photo { height:75px; }
}
@media(max-width:900px), (orientation:portrait) {
  :root { --header-height:76px; }
  .terminal-layout { height:calc(100vh - var(--header-height)); grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); }
  .rail { flex-direction:row; padding:6px clamp(12px,2vw,25px); align-items:center; gap:6px; border-right:0; border-bottom:1px solid var(--line); }
  .rail button { flex-direction:row; gap:9px; min-width:0; min-height:51px; padding:7px 14px; font-size:16px; }
  .rail .icon { font-size:22px; } .rail .staff-entry { margin:0 0 0 auto; } .rail-divider,#pos-show-cart { display:none; }
  .catalog { padding:clamp(16px,3vw,35px); padding-bottom:110px; }
  .cart { display:none; }
  body[data-cart-open="true"] .cart { position:fixed; display:flex; z-index:30; inset:0 0 0 auto; width:min(100%,500px); max-width:100%; box-shadow:0 0 0 150vmax rgba(46,37,25,.5); }
  .cart-close { display:block!important; margin-left:4px; }
  .mobile-cart { position:fixed; z-index:10; left:clamp(12px,3vw,35px); right:clamp(12px,3vw,35px); bottom:12px; width:auto; display:flex!important; justify-content:space-between; box-shadow:0 4px 16px rgba(46,37,25,.20); }
  .mobile-cart > span { display:flex; align-items:center; gap:9px; }
  .mobile-cart[hidden],body[data-cart-open="true"] .mobile-cart { display:none!important; }
  .ticket-card { min-height:265px; }
  .ticket-body { padding:clamp(16px,3vw,36px); }
  .extra-photo { height:clamp(100px,18vw,240px); }
  .products { grid-template-columns:repeat(auto-fill,minmax(158px,1fr)); }
  .pos-product-image { height:clamp(112px,17vw,180px); }
}
@media(max-width:540px) {
  :root { --header-height:58px; }
  .terminal-head { padding:0 14px; } .station-title { display:none; }
  .head-time { flex-direction:column; align-items:flex-end; gap:0; font-size:11px; } #pos-clock { font-size:15px; }
  #pos-date { display:none; }
  .language-switch { margin-left:9px; }
  .rail { padding:5px 8px; gap:2px; } .rail button { min-height:48px; font-size:14px; padding:5px 10px; gap:6px; } .rail .icon { font-size:20px; }
  .section-heading { margin-bottom:13px; } .section-heading h1 { font-size:29px; }
  .catalog { padding:15px 12px 100px; }
  .ticket-card { grid-template-columns:29% minmax(0,1fr); min-height:232px; border-radius:15px; }
  .ticket-body { padding:14px 12px; } .ticket-body h2 { font-size:23px; } .ticket-info { font-size:13px; margin-top:6px; }
  .ticket-price { margin-top:10px; } .slot-tag { font-size:12px; margin-bottom:8px; padding:5px 8px; }
  .ticket-quantity { gap:6px; margin-top:7px; } .stepper-large button { width:46px; height:45px; }
  .availability { font-size:12px; } .extras-grid { grid-template-columns:minmax(0,1fr); gap:9px; }
  .extra-card { flex-direction:row; border-radius:14px; } .extra-photo { width:28%; height:auto; min-height:115px; }
  .extra-body { min-width:0; } .extra-body p { font-size:13px; margin:3px 0 8px; }
  .extras-title { margin:17px 0 10px; }
  .products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; } .pos-product-name { font-size:15px; }
  .categories { gap:6px; } .pos-category { padding:7px 10px; font-size:14px; min-height:44px; }
  .overlay { padding:9px; } .dialog { border-radius:16px; max-height:94vh; padding:17px; }
}
@supports not (inset:0) {
  .overlay { top:0; right:0; bottom:0; left:0; }
  body[data-cart-open="true"] .cart { top:0; right:0; bottom:0; left:auto; }
}
/* Several webOS Chromium versions predate fluid type and size functions. */
@supports not (width:clamp(1px,2vw,3px)) {
  :root { --cart-width:300px; }
  .terminal-head,.cart-head,.cart-contents { padding-left:20px; padding-right:20px; }
  .catalog,.cart-foot,.ticket-body,.dialog { padding:22px; }
  .ticket-card { min-height:240px; } .section-heading { margin-bottom:18px; }
  .section-heading h1 { font:400 38px/1.12 var(--display); }
  .ticket-body h2 { font:400 30px/1.1 var(--display); }
  .ticket-price strong,.total output { font-size:24px; }
  .extras-title,.category-head { margin:22px 0 13px; }
  .extras-grid { grid-gap:12px; } .extra-photo { height:110px; } .extra-body { padding:13px; }
  .pos-product-image { height:134px; }
  .cart-head { padding-top:22px; padding-bottom:18px; }
  .mobile-cart { left:12px; right:12px; }
  @media(max-width:900px), (orientation:portrait) {
    .catalog { padding-bottom:100px; }
    body[data-cart-open="true"] .cart { width:100%; max-width:500px; }
  }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; } }
