/* SI menu — layout and the two looks (navy, gold), day and night. Loaded in order after the files before it (see index.html). */
/* Layout: a phone-width app (welcome screen, home rows, bottom sheets, bottom nav), after the MenuPlaza pattern.
   Two themes (navy, the default, and gold), each with a day and a night mode. */
/* Themes: navy (SI's default: cream and navy by day, deep navy by night) and gold (black, white and gold).
   The restaurant picks one in Settings → identity; the guest only switches day and night. */
:root {
  --bg: #f8f5ec;
  --surface: #ffffff;
  --surface-2: #f1ece0;
  --ink: #0b1f44;
  --ink-soft: #5a6478;
  --accent: #2563eb; /* text, lines and icons */
  --accent-hi: #3b82f6;
  --accent-bg: #0b1f44; /* filled buttons, chips and tags */
  --on-accent-bg: #ffffff;
  --accent-photo: #93c5fd; /* captions over photos */
  --on-accent-photo: #0b1f44;
  --line: #e4ded0;
  --heart: #2563eb;
  --shade: rgba(11, 31, 68, 0.12);
  --backdrop: #f8f5ec;
  /* the welcome screen is always a light page */
  --w-ink: #0b1f44;
  --w-accent: #2563eb;
  --w-soft: #5a6478;
  --w-bg-1: #ffffff;
  --w-bg-2: #faf8f2;
  --w-bg-3: #f1ece0;
  --w-glow: rgba(37, 99, 235, 0.1);
  --w-line: rgba(11, 31, 68, 0.22);
  --w-line-soft: rgba(11, 31, 68, 0.1);
  --w-shadow: rgba(11, 31, 68, 0.14);
  --w-hover: #eef3fd;
  --w-badge-1: #f5f8ff;
  --w-badge-2: #e3ebfb;
  --f-ar: 'Readex Pro', 'Noto Sans Arabic', Tahoma, sans-serif;
  --f-ku: 'Noto Sans Arabic', 'Readex Pro', Tahoma, sans-serif;
  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --nav-h: 105px; /* the five buttons (64) and the strip under them (41) */
  color-scheme: light;
}
:root[data-mode='dark'] {
  --bg: #071226;
  --surface: #0e1e3d;
  --surface-2: #15294f;
  --ink: #ffffff;
  --ink-soft: #a9b4cc;
  --accent: #60a5fa;
  --accent-hi: #93c5fd;
  --accent-bg: #2563eb;
  --on-accent-bg: #ffffff;
  --line: #1f3460;
  --heart: #60a5fa;
  --shade: rgba(0, 0, 0, 0.6);
  --backdrop: #050d1c;
  color-scheme: dark;
}
:root[data-theme='gold'] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f4;
  --ink: #000000;
  --ink-soft: #5c5c5c;
  --accent: #a67c2e;
  --accent-hi: #c9a24d;
  --accent-bg: #a67c2e;
  --on-accent-bg: #ffffff;
  --accent-photo: #ecc77f;
  --on-accent-photo: #000000;
  --line: #e6e6e6;
  --heart: #a67c2e;
  --shade: rgba(0, 0, 0, 0.12);
  --backdrop: #ffffff;
  --w-ink: #1a1408;
  --w-accent: #a67c2e;
  --w-soft: #7a6a4f;
  --w-bg-1: #ffffff;
  --w-bg-2: #fdfaf3;
  --w-bg-3: #f8f1e2;
  --w-glow: rgba(214, 166, 80, 0.16);
  --w-line: rgba(166, 124, 46, 0.32);
  --w-line-soft: rgba(166, 124, 46, 0.14);
  --w-shadow: rgba(120, 84, 20, 0.22);
  --w-hover: #fbf4e4;
  --w-badge-1: #fff8e8;
  --w-badge-2: #f6ead0;
}
:root[data-theme='gold'][data-mode='dark'] {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1c1c1c;
  --ink: #ffffff;
  --ink-soft: #a3a3a3;
  --accent: #d6a650;
  --accent-hi: #ecc77f;
  --accent-bg: #d6a650;
  --on-accent-bg: #000000;
  --line: #2a2a2a;
  --heart: #d6a650;
  --shade: rgba(0, 0, 0, 0.6);
  --backdrop: #000000;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--backdrop);
  color: var(--ink);
  font-family: var(--f-ar);
  min-height: 100vh;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.app {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: clip;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 12px);
}
.app[lang='ckb'] {
  font-family: var(--f-ku);
}
.wrap {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.num {
  font-family: var(--f-serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 700;
}
svg.i {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
