/* m.css -- everything a guest menu page can use, and the shared base. Loaded on every page, first;
   the other pages add style.css after it. Split out of style.css 2026-10-31 so a guest downloads
   ~24 kB instead of ~95 kB. A rule that only the menu (or the staff view of it) needs belongs here. */
/* editor */
html, body {position: relative; height: 100%; max-height: -webkit-fill-available; overflow: hidden; width: 100vw; 
 color: black; -webkit-tap-highlight-color: transparent;  touch-action: pan-x pan-y;
user-select: none; -webkit-user-select: none; padding: 0; margin: 0; font-family: 'Roboto', sans-serif;}
	
:root {touch-action: pan-x pan-y;}
	a {text-decoration: none;}
	.options, .editor, .top, .switch, .letmein, .addone, .save, .unlocked, .comein, .fp, .qrpdf, .phone, .desktop, .copyright {display: none;}
	.flexi {display: flex !important;}

@media (min-width:1025px) {
	html, body {position: relative; height: 100%; max-height: -webkit-fill-available; overflow: hidden; width: 100vw; color: black; 
-webkit-tap-highlight-color: transparent;  user-select: none; -webkit-user-select: none; padding: 0; margin: 0; font-family: 'Roboto', sans-serif; touch-action: pan-x pan-y;}
	.menu {display: block; width: auto; outline: none; overflow-x: hidden; overflow-y: auto; height: 100%; box-sizing: border-box;
	font-family: 'Roboto Condensed', sans-serif; font-size: 15px; line-height: 34px; font-weight: 400; color: rgba(255,255,255,0.85); margin: 0;}
	.menu::-webkit-scrollbar {width: 8px; }	.menu::-webkit-scrollbar-track {margin: 10px 20px;}	.menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; margin: 10px;}

	.top {display: block; vertical-align: middle; margin: calc(50vh - 275px) auto 20px calc(50vw - 600px); font-weight: 700; font-size: 28px; line-height: 40px; color: rgba(0,0,0,0.4);}
	.flex {display: flex;}
	

}
	.link, .status {display: flex; width: 150px; justify-content: center; }
	.link>span {display: flex; flex-direction: column; justify-content: center; align-items: center; }
	.link>span strong {display: block; width: 100%; font-size: 60%;}

/* menu */
      .box {width: 100vw; box-sizing: border-box; height: 100vh; max-height: 100vh; position: relative; overflow: hidden; text-align: center; background: transparent;}
      .swiper-container {width: 100vw; box-sizing: border-box; overflow: hidden; position: relative; font-family: 'Roboto Condensed'; color: #000; height: auto; background: transparent;}
      /* The swiper needs a REAL height, not height:auto and not flex:1. .swiper-wrapper and .swiper-slide are
         height:100%, and Safari refuses to resolve that against a flex-grown auto height: the slides fell back
         to content height, which killed scrolling on iOS, and the swiper overflowed .box by the title's height,
         dragging the bottom (wordmark included) behind the address bar -- worse the more lines the name wraps to.
         calc(100% - .h1) keeps every level definite in every engine. --h1h is measured in menu(); if that script
         never runs this degrades to 100%, i.e. the old behaviour, not to a broken page. */
      .swiper-container {height: calc(100% - var(--h1h, 0px));}
      .swiper-slide { box-sizing: border-box; text-align: center; margin-top: 0px; padding-top: 0px; overflow-y: scroll;  -ms-overflow-style: none; scrollbar-width: none; 
      	font-size: 30px; -webkit-backface-visibility: hidden; --tail: calc(100vh / var(--rows, 11) / 2 - 10px); padding-bottom: var(--tail); z-index: 1; }
      /* NEVER give the slide display:flex -- its children become flex items sized against the slide's height
         instead of overflowing it, and that overflow is the only reason the list scrolls at all. */
      /* .box is 100vh = the LARGE viewport, so on iOS Safari its bottom sits behind the toolbar, which never
         retracts here (the document doesn't scroll, only the slide does). 100lvh - 100svh IS that hidden
         band, so the wordmark clears it on a phone and adds nothing on desktop. The line above is the
         fallback where lvh/svh are unsupported; it is the same sum in vh, so keep the two in step.
         --tail puts the wordmark level with the staff corner dot (.stfnav): the dot is centred in the last
         of --rows rows (set on .box by menu(), 11 for guests), so 100%/rows/2 up, and the mark's 20px line
         is centred there by taking half of it off. Measured against svh here, the screen the fixed dot
         sits in. It does not reserve the 95px the fixed order circle occupies, so with items selected the
         circle sits over the mark: raise --tail to ~11vh if that ever needs to stop happening. */
      .swiper-slide {padding-bottom: calc(100svh / var(--rows, 11) / 2 - 10px + (100lvh - 100svh));}
      .brand {display: block; width: 100%; margin: 3vh 0 0 0; font-family: 'Roboto Condensed'; font-size: 18px; line-height: 20px;
      font-weight: 400; letter-spacing: -0.3px; color: rgba(0,0,0,0.3); text-align: center;}
      .swiper-slide::-webkit-scrollbar { display: none;}
      .swiper-slide:before {content: ""; display: block; position: fixed; width: 100%; height: 30px; z-index: 4;
      	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); }
      .swiper-scrollbar {top: 0px; left: 0; right: 0; width: 70px; max-width: 70px; margin-left: calc(49% - 35px);
      box-sizing: border-box; display: block; position: absolute !important; z-index: 4 !important; opacity: 1; background: rgba(0,0,0,0.15);}
      /* Swiper v12+ keeps the horizontal scrollbar's geometry inside a nested block (& syntax), which
         browsers without CSS nesting (Safari < 17.2) throw away -- that used to leave the pill with no
         height at all. Same numbers as before, just owned here at a specificity that always wins. */
      .swiper-container.swiper-horizontal > .swiper-scrollbar {top: 0; bottom: auto; left: calc(50% - 35px); margin-left: 0; width: 70px; height: 4px;}
      .swiper-scrollbar-drag {height:100%;width:100%;position:relative;background:rgba(0,0,0,0.3);border-radius:10px;left:0;top:0;}
      .h1 {display: block; position: relative; box-sizing: border-box; width: 100vw; padding: 26px 0 15px 0; font-size: 28px;
      font-family: 'Encode Sans SC'; font-weight: 100; z-index: 0; text-align: center !important; background: transparent;}
      .category {display: inline-block; margin: 12px auto 7px auto; padding: 7px 30px; border-bottom: 0px solid rgba(0,0,0,0.2); font-size: 17px; 
      text-transform: uppercase; color: rgba(0,0,0,0.9); font-family: 'Anton'; font-weight: 400;}
      .item {display: flex; position: relative; width: 82%; margin: 0 auto; border-top: 1px solid rgba(234,234,234,1); padding: 0px 0; text-align: left;
      font-size: 17px; font-weight: 400;  z-index: 1; font-family: 'Roboto Condensed';}
	  div.item:first-of-type,.category + .item {border: 0;}
	  .div.item:first-of-type,.category + .item > .count {top: 0;} /*offset the border */
      .hidden {box-sizing: border-box; color: rgba(0,0,0,0.85); font-size: 13px; display: none;}
	  .hidden:after {content: ""; display: flex; width: 140%; top: 0px; bottom: 0px; left: -12%; right: 0; position: absolute; z-index: -1;}
      .count {display: none; width: 10%; text-align: center; color: white; margin-left: -11%;
		position: absolute; top: -1px; left: 0; right: 0; bottom: 0; padding: auto 0; align-items: center; justify-content: center;
	  font-size: 16px; z-index: 5; outline: none; font-weight: 700; background: linear-gradient(38deg, rgba(135,208,53,1) 0%, rgba(90,177,56,1) 100%); }
      .count:focus {outline: none;}
      .activebcount { color: white; background: linear-gradient(38deg, rgba(135,208,53,1) 0%, rgba(90,177,56,1) 100%); 
      height: 52px; line-height: 52px; align-items: stretch; margin-top: -1px; border: 0; }
      .product {width: 100%; padding: 15px 0; display: block; box-sizing: border-box; align-items: center; justify-content: center;     }

      .product {display: inline-block; padding: 20px 0; flex: 10;}
	  .dsc {font-size: 13px; opacity: 0.7;}
      .price {display: flex; flex: 2; top: 0; bottom: 0; padding: 0; right: 0; float: right; font-size: 15px; align-items: center; justify-content: right;} 
 
      
      .gradient {display: none; top: 20px; position: fixed; z-index: 2;
      width: 50%; height: 15px; background: red; }
		
      .successbg {display: none; width: 100vw; height: 100vh; position: absolute; z-index: 5; color: rgba(0,0,0,1); box-sizing: border-box; background: white;
      vertical-align: middle; text-align: center; font-size: 15px; }
      .successbg:before {content: ""; position: relative; z-index:6; display: inline-block;  margin: 0 auto; margin-top: calc(50vh - 60px);  /* short arm */  
      width: 15px;  border-bottom: 10px solid #000; /* long arm */  height: 39px;  border-right: 10px solid #000;  transform: rotate(45deg);  
      -o-transform: rotate(45deg); -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); }
      .successbg:after {content: "on the way"; display: block; margin-top: 20px; font-weight: 400; font-family: 'Anton';}
      /* Waiting on the server: the same white screen, raised the moment the order is confirmed, with
      a spinner where the tick will be, so a slow request never leaves a finished tap with nothing on
      screen. finish() drops .wait on success (tick + text) or hides it on failure. Own keyframes:
      the editor's vpspin lives inside the desktop media query. */
      .successbg.wait:before {width: 22px; height: 22px; margin-top: calc(50vh - 11px); box-sizing: border-box;
      border: 2px solid rgba(0,0,0,0.12); border-top-color: rgba(0,0,0,0.6); border-radius: 50%;
      -webkit-transform: none; transform: none; -webkit-animation: sbspin 0.7s linear infinite; animation: sbspin 0.7s linear infinite;}
      .successbg.wait:after {display: none;}
      @-webkit-keyframes sbspin {to {-webkit-transform: rotate(360deg);}}
      @keyframes sbspin {to {transform: rotate(360deg);}}

      /* The staff corner dot, bottom-right on both staff screens: the account on the tables
         overview, the way back to the overview on a table's page. The box IS the overview's last
         grid cell -- a third of the width, 1/--rows of the height (rows are equal, grid-auto-rows:
         1fr) -- and the dot is centred in it, so it sits dead centre in that cell there and on
         exactly the same spot on a table's page. PHP sets --rows on both pages.
         The cell itself lets taps through; only the dot takes them, with a 12px transparent
         border making it a 44px target. z-index 4: under the cart and tick screen (5) and the
         overview's wash (98).
         :after is a soft white-frosted quarter disc centred on the screen corner (the dot paints above
         it): the page under it is blurred and washed 0.9 white. --d is the corner-to-dot-centre
         distance (the dot is centred in a cell 1/3 wide and 1/--rows tall); solid to 15px past the
         dot's edge (--e = d + dd/2, then + 15), then fading to nothing over 20px, so it has no edge anywhere. */
      /* --cx: how far the dot's centre sits from the right edge, --dd its diameter. On a table's menu and its bill
         (.onmenu) a 20px dot under the prices -- they end at 91% (the 82% wide .item, centred) and are
         right-aligned, so ~18px in from there is the middle of an amount. On the overview it is
         centred in the third-wide cell instead (20px on every other page), and grown (.onstaff) until its right edge meets the menu dot's
         (9vw + 8px), so going between the two it does not jump sideways: 2 x (100vw/6 - 9vw - 8px).
         Capped at 44px, its size on a ~390px phone: past that the formula grows with the screen
         (~200px on a 1440px desktop), so on wider screens it stops lining up with the menu dot instead. */
      .stfnav {--cx: calc(100vw / 6); --dd: 20px;}
      .stfnav.onmenu {--cx: calc(9vw + 18px);}
      .stfnav {position: fixed; z-index: 4; right: 0; bottom: 0; width: calc(var(--cx) * 2); height: calc(100% / var(--rows, 11));
      display: flex; align-items: center; justify-content: center; pointer-events: none;}
      .stfnav:before {content: ""; width: var(--dd); height: var(--dd); border: 12px solid transparent; border-radius: 50%;
      background: rgba(0,0,0,0.85); background-clip: content-box; pointer-events: auto;}
      .stfnav:after {content: ""; position: absolute; z-index: -1; right: 0; bottom: 0;
      --d: hypot(var(--cx), 100vh / var(--rows, 11) / 2); --e: calc(var(--d) + var(--dd) / 2); width: calc(var(--e) + 35px); height: calc(var(--e) + 35px);
      background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
      -webkit-mask-image: radial-gradient(circle calc(var(--e) + 35px) at 100% 100%, #000 calc(var(--e) + 15px), transparent calc(var(--e) + 35px));
      mask-image: radial-gradient(circle calc(var(--e) + 35px) at 100% 100%, #000 calc(var(--e) + 15px), transparent calc(var(--e) + 35px));}
      /* The table's open total, in exactly the guest circle's spot (.order) so the ordering circle
         replaces it without a jump. Not an .order: f.js shows/hides and binds every .order. */
      .opentab {display: none; position: fixed; z-index: 4; width: 70px; left: calc(50% - 35px); top: calc(100% - 95px);}
      .opentab.on {display: block;}
      .opentab .maincircle {background: black; color: white;}
      /* second tap made (order confirm, card, cash): the circles stay exactly where they are until it is answered */
      .held, .held * {-webkit-transition: none !important; transition: none !important;}

      .ordererr {display: none; position: fixed; z-index: 7; left: 5vw; right: 5vw; bottom: 40px; padding: 14px 18px; box-sizing: border-box;
      text-align: center; background: white; border: 1px solid rgba(0,0,0,0.2); border-radius: 6px;
      font-family: 'Roboto Condensed'; font-size: 14px; font-weight: 400; color: rgba(0,0,0,0.8);}

      .cartbg {display: none; width: 100vw; height: 100vh; position: absolute; z-index: 5; color: black; box-sizing: border-box; background: white;
      vertical-align: middle; text-align: center; }
      .carth1 {font-size: 23px; font-weight: 700; height: 20vh; vertical-align: middle; line-height: 20vh; position: absolute; text-align: center; width: 100%; font-family: 'Oswald';}
      .cart {overflow: hidden; overflow-y: scroll; height: 100vh; width: 100vw; box-sizing: border-box; vertical-align: middle; padding: 20vh 5vw 35vh 5vw; 
      display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 18px; line-height: 30px; font-weight: 400;}
      .cart::-webkit-scrollbar {width: 8px; position: absolute; padding-right: 10px; } .cart::-webkit-scrollbar-track {margin: 10px 20px;} .cart::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2);
      border-radius: 4px; margin: 10px;}


.remove {display: none; position: absolute; z-index: 6; opacity: 0.9; top: 20px; right: 5%; padding: 13px; }
.remove:before {content: "C"; display: block; width: 30px; height: 30px; text-align: center; font-size: 13px; line-height: 29px; color: black; border-radius: 50%; 
background: white; border: 1px solid black; box-sizing: border-box;}

.close {display: block; position: absolute; z-index: 6; top: calc(10vh - 15px); right: 8%; height: 30px; border-radius: 10%; cursor: pointer;
 padding: 2px 8px; font-family: 'Oswald'; border-bottom: 2x solid #333; color: black;}
.close:after {content: "clear all"; font-size: 14px; line-height: 30px;}
.order, .confirmation {position: fixed; z-index: 99; width: 70px; margin-left: calc(50% - 35px); height: 110px; top: calc(100% - 95px); 
box-sizing: border-box; transition: top 0.10s;	-webkit-transform: translateZ(0); display: none;}  
.confirmation {display: block; height: 135px; top: calc(100% - 120px); transition: top 0.10s ease; width: 200px; margin-left: calc(50% - 100px); box-sizing: border-box;
	-webkit-transform: translateZ(0);}
.confirmation:after {content: "Confirm Order"; display: block; position:relative; line-height: 20px; text-align: center; margin-top: 5px; 
font-family: 'Anton'; z-index:3; font-size: 120%; font-weight: 400; text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF;} 

/* The circle is a global component dropped into several pages, so its typography must be declared
   here, not inherited. It used to have no font-family at all: the guest circle sits inside
   .swiper-container (Roboto Condensed) while the staff one is a sibling of .container1 and so fell
   through to body's 'Roboto' -- which the Google Fonts link in headers() does not even load, so it
   rendered in a system fallback and visibly did not match. Stating it here makes every circle the
   same on every page. font-weight 700 is synthetic on all of them (the link loads Roboto Condensed
   300;400 only) -- that is now consistent, and adding 700 to the link would silently restyle the
   desktop editor logo, so it stays as is. */
.maincircle {width: 70px; height: 70px; border-radius: 50%; margin: 18px auto 3px auto; box-sizing: border-box; border: 4px solid black; color: #000;
font-family: 'Roboto Condensed'; font-size: 18px; line-height: 62px; background: white;
font-weight: 700; cursor: pointer; display: block; text-align: center; z-index:3; position: relative; }
.checkbutton {position: relative; z-index:3; display: none; margin: 0 auto; top: 8px;  /* short arm */  width: 11px;  border-bottom: 10px solid #000; 
/* long arm */  height: 30px;  border-right: 10px solid #000;  transform: rotate(45deg);  -o-transform: rotate(45deg); -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg);}

	.all-sections-stacked::-webkit-scrollbar {width: 8px; }	
	.all-sections-stacked::-webkit-scrollbar-track {margin: 10px 20px;}	
	.all-sections-stacked::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 4px; margin: 10px;}
	

/* QR CODE PAGE */
    .page { width: 105mm;  min-height: 148mm; padding: 20mm; color: white; box-sizing: border-box;  border-bottom: 1px solid rgba(255,255,255,0.08); }
    .page:last-child {border: 0;}
    @media print { html, body {width: 105mm; height: 148mm;}}

/* ============================================================================================
   SLIDER RULES -- these began life as a subset extracted from swiper-bundle.css (Copyright
   2014-2026 Vladimir Kharlampidi, MIT) and are kept under the MIT terms, but Swiper itself is
   GONE as of 2026-07-30: the slider is now the hand-written pager inlined in menu(), which
   deliberately stamps the same class names so these rules keep applying unchanged. They are
   OURS to edit now -- there is no upstream to re-extract from and nothing to diff against.
   The class names stay `swiper-*` on purpose: renaming them would mean touching the markup in
   menu(), these rules, the menu section above AND the pager's class stamping all at once, on a
   page that cannot be verified in a browser here, for zero user-visible gain.

   KEEP THIS BLOCK LAST IN THIS FILE. It replaced a stylesheet that loaded after style.css, and
   two rules rely on winning that tie against the .swiper-scrollbar / .swiper-scrollbar-drag rules
   in the menu section above: the track renders at rgba(0,0,0,0.1) and the drag at rgba(0,0,0,0.5),
   not the 0.15/0.3 written up there. Move this block higher and the pill changes colour.

   Everything whose classes can never appear here was already dropped when the subset was cut:
   .swiper and :host (our container keeps the legacy .swiper-container class, so vendor container
   rules never applied -- the menu section supplies width/overflow/position), all vertical/rtl
   variants, autoheight, loop's blank slides, every 3D/fade/cube/flip/creative/cards effect,
   css-mode, centered, virtual, watch-progress, lazy-preloader, navigation, pagination, zoom,
   thumbs, free-mode, grid, the scrollbar module's own classes (-horizontal, -lock, cursor-drag,
   -disabled) since the pill is drawn by drawpill(), swiper-notification, and the :root blocks.
   Every rule below carries its own fallback value, so no --swiper-* variable needs defining.
   ============================================================================================ */

/* The horizontal track: the pager animates transform on this element and measures it. */
.swiper-wrapper {position: relative; width: 100%; height: 100%; z-index: 1; display: flex;
transition-property: transform; transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
box-sizing: content-box;}

/* Gives the wrapper a transform before the pager's first inline one lands. The .swiper-ios and
   .swiper-android selectors that used to share this rule are gone: Swiper dropped device detection
   before v14, so those classes were never actually added and the selectors were dead. The fixed
   .swiper-slide:before fade gets its containing block from .swiper-backface-hidden .swiper-slide
   below, which the pager stamps while slides <= 10 exactly as the core build did. */
.swiper-wrapper {transform: translate3d(0px, 0, 0);}

/* Essential: leaves vertical panning (the menu list scrolling inside a slide) to the browser while
   the pager takes the horizontal gesture. Note this is only half the job -- it does not stop a
   DIAGONAL swipe scrolling the slide vertically; the pager's touchmove preventDefault does that. */
.swiper-horizontal {touch-action: pan-y;}

.swiper-slide {flex-shrink: 0; width: 100%; height: 100%; position: relative; transition-property: transform; display: block;}

/* The JS adds swiper-backface-hidden while slides <= maxBackfaceHiddenSlides (default 10). */
.swiper-backface-hidden .swiper-slide {transform: translateZ(0); backface-visibility: hidden;}

/* The pill. Only the look is vendor's now -- geometry comes from .swiper-container.swiper-horizontal >
   .swiper-scrollbar in the menu section, and width/position of the drag are set inline by drawpill() in
   menu(), which replaced the scrollbar module. Keep both rules: they are what makes the track 10% black
   with rounded ends and the drag 50% black, overriding the 0.15/0.3 written in the menu section. */
.swiper-scrollbar {border-radius: var(--swiper-scrollbar-border-radius, 10px); position: relative;
touch-action: none; background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));}
.swiper-scrollbar-drag {height: 100%; width: 100%; position: relative;
background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));
border-radius: var(--swiper-scrollbar-border-radius, 10px); left: 0; top: 0;}
