/* Base styles shared by all screens: clean and modern, Manrope (self-hosted, latin + greek); the venue's own colour is the accent. */
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/manrope-greek-400-normal.woff2) format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/manrope-greek-500-normal.woff2) format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/manrope-greek-600-normal.woff2) format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/manrope-greek-700-normal.woff2) format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/manrope-greek-800-normal.woff2) format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/manrope-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/manrope-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/manrope-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 800; src: url(/fonts/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
:root {
  --brand: #1f3a5f;          /* overridden per venue (Admin → Settings) */
  --brand-ink: #ffffff;
  --text: #141a21;
  --muted: #5f6873;
  --faint: #98a1ab;
  --line: #e8eaed;
  --fill: #f3f4f6;
  --bg: #ffffff;
  --surface: #ffffff;        /* buttons, inputs, sheets – follows the menu background on themed menus */
  --border: #d8dce1;
  --cat: var(--text);        /* category titles on the guest menu */
  --font-display: var(--font);
  --green: #1e7d45;
  --green-bg: #e9f5ee;
  --red: #c0392b;
  --red-bg: #fbecea;
  --amber: #a15c00;
  --amber-bg: #fdf3e2;
  --blue-bg: #eaf1fb;
  --radius: 10px;
  --font: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .07);
  --shadow-lg: 0 18px 50px rgba(16, 24, 40, .18);
  /* legacy aliases used by older markup */
  --ink: var(--text);
  --blue: var(--brand);
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; color: var(--text); background: var(--bg); line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--brand) 70%, transparent); outline-offset: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; font-family: var(--font-display); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.ic { flex: none; display: inline-block; vertical-align: -3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid transparent;
  border-radius: var(--radius); padding: .68rem 1.1rem; font-weight: 700; background: var(--brand); color: var(--brand-ink);
  min-height: 44px; text-decoration: none; letter-spacing: -.005em; transition: filter .15s, transform .1s, box-shadow .15s, background .15s, border-color .15s;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 4px 12px color-mix(in srgb, var(--brand) 22%, transparent); }
.btn:hover { filter: brightness(.94); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: var(--fill); filter: none; }
.btn.ghost { background: transparent; color: var(--muted); border-color: transparent; box-shadow: none; }
.btn.danger { background: var(--surface); color: var(--red); border-color: #e9bdb7; box-shadow: var(--shadow-sm); }
.btn.danger:hover { background: var(--red-bg); filter: none; }
.btn.success { background: var(--green); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 4px 12px color-mix(in srgb, var(--green) 25%, transparent); }
.btn.block { width: 100%; }
.btn.sm { padding: .4rem .75rem; min-height: 36px; font-size: .88rem; }
.icon-btn { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: 0 .6rem; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm); transition: background .15s; }
.icon-btn:hover { background: var(--fill); }

/* Inputs */
.input, textarea.input, select.input { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: .68rem .85rem;
  background: var(--surface); outline: none; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: color-mix(in srgb, var(--text) 28%, var(--border)); }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.input::placeholder { color: var(--faint); }
label.field { display: block; margin-bottom: .8rem; }
label.field > span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; color: var(--text); }

/* Chips & badges */
.chip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: .4rem .9rem; white-space: nowrap;
  font-size: .88rem; font-weight: 600; color: var(--text); transition: background .15s, color .15s, border-color .15s; }
.chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.badge { display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .12rem .55rem; font-size: .75rem;
  font-weight: 700; background: var(--blue-bg); color: #24518a; }
.badge.green { background: var(--green-bg); color: var(--green); }
.badge.amber { background: var(--amber-bg); color: var(--amber); }
.badge.red { background: var(--red-bg); color: var(--red); }
.badge.gray { background: var(--fill); color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-sm); }

/* Bottom sheet / modal */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(10, 14, 20, .48); z-index: 50; display: flex; align-items: flex-end;
  justify-content: center; animation: fade .18s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet { background: var(--surface); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0;
  padding: 1.25rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom)); animation: up .26s cubic-bezier(.2, .8, .2, 1); position: relative;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .18); }
.sheet::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40px; height: 5px;
  border-radius: 3px; background: color-mix(in srgb, var(--text) 18%, transparent); z-index: 2; }
@media (min-width: 700px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 20px; box-shadow: var(--shadow-lg); }
  .sheet::before { display: none; }
}
.sheet h2 { margin: .2rem 0 .8rem; font-size: 1.3rem; line-height: 1.25; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
@keyframes up { from { transform: translateY(32px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* Toast */
#toasts { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 100; display: grid; gap: .5rem;
  width: min(92vw, 420px); }
.toast { background: #161c24; color: #fff; border-radius: 14px; padding: .8rem 1.05rem; font-weight: 600;
  animation: drop .22s ease-out; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.toast.err { background: var(--red); }
@keyframes drop { from { transform: translateY(-8px); opacity: 0; } }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.qty button { border: 0; background: transparent; width: 38px; height: 40px; display: grid; place-items: center; color: var(--text); }
.qty button:hover { background: var(--fill); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }

.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; }
.empty .ic { color: #b5b5b5; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%;
  animation: spin .8s linear infinite; margin: 3rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* "Designed by walkupdigital.com" credit with the Walkup Digital mark, at the bottom of the websites. */
a.walkup { display: inline-flex; align-items: center; gap: .4rem; vertical-align: middle; white-space: nowrap; }
a.walkup img { height: 15px; width: auto; display: block; }
