/* Layout: a phone-width app (welcome screen, home rows, bottom sheets, bottom nav), after the MenuPlaza pattern, in La Capital gold. Dark by default with its own light switch. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f3ef;
  --ink: #000000;
  --ink-soft: #5c5c5c;
  --gold: #8a6420;
  --gold-hi: #c9a24d;
  --on-gold: #ffffff;
  --line: #e6e6e6;
  --heart: #8a6420;
  --shade: rgba(0, 0, 0, 0.12);
  --backdrop: #ffffff;
  --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: 64px;
  color-scheme: light;
}
:root[data-mode='dark'] {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #1c1c1c;
  --ink: #ffffff;
  --ink-soft: #a3a3a3;
  --gold: #d6a650;
  --gold-hi: #ecc77f;
  --on-gold: #000000;
  --line: #2a2a2a;
  --heart: #d6a650;
  --shade: rgba(0, 0, 0, 0.6);
  --backdrop: #000000;
  color-scheme: dark;
}
* {
  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(--gold);
  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;
}

/* welcome: a short greeting, then the language choice, on a daylight white-and-gold screen */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 60;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #1a1408;
  padding: calc(env(safe-area-inset-top, 0px) + 9vh) max(24px, env(safe-area-inset-right, 0px))
    calc(env(safe-area-inset-bottom, 0px) + 34px) max(24px, env(safe-area-inset-left, 0px));
  background:
    radial-gradient(70% 42% at 50% 30%, rgba(214, 166, 80, 0.16), transparent 72%),
    radial-gradient(90% 40% at 50% 108%, rgba(214, 166, 80, 0.14), transparent 70%),
    linear-gradient(to bottom, #ffffff 0%, #fdfaf3 55%, #f8f1e2 100%);
  overflow: hidden;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.welcome.out {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}
/* a thin gold frame, like the edge of a printed menu card */
.welcome::before {
  content: '';
  position: absolute;
  inset: calc(env(safe-area-inset-top, 0px) + 14px) 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
  border: 1px solid rgba(166, 124, 46, 0.32);
  border-radius: 22px;
  pointer-events: none;
}
.welcome::after {
  content: '';
  position: absolute;
  inset: calc(env(safe-area-inset-top, 0px) + 19px) 19px calc(env(safe-area-inset-bottom, 0px) + 19px);
  border: 1px solid rgba(166, 124, 46, 0.14);
  border-radius: 18px;
  pointer-events: none;
}
.welcome > * {
  position: relative;
  z-index: 1;
}
.w-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.welcome:not(.greeting) .w-center {
  animation: wIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.welcome:not(.greeting) .w-langs {
  animation: wIn 0.9s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.welcome.greeting .w-center,
.welcome.greeting .w-langs {
  visibility: hidden;
}
.w-logo {
  width: min(78%, 310px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(120, 84, 20, 0.22));
}
.w-orn {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a67c2e;
  font-size: 12px;
  width: min(70%, 240px);
}
.w-orn i {
  flex: 1;
  height: 1px;
}
.w-orn i:last-child {
  background: linear-gradient(to left, transparent, #a67c2e);
}
.w-orn i:first-child {
  background: linear-gradient(to right, transparent, #a67c2e);
}
.w-hello {
  font-size: 15px;
  color: #1a1408;
  letter-spacing: 0.02em;
}
.w-hello span {
  color: #a67c2e;
  margin: 0 6px;
}
.w-langs {
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
}
.w-langs p {
  margin: 0 0 4px;
  font-size: 12px;
  color: #7a6a4f;
  letter-spacing: 0.02em;
}
.w-langs button {
  height: 54px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(166, 124, 46, 0.5);
  color: #1a1408;
  font-size: 17px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(120, 84, 20, 0.08);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.w-langs button small {
  font-size: 11px;
  color: #a67c2e;
  letter-spacing: 0.12em;
  font-weight: 600;
  direction: ltr;
}
.w-langs button:hover,
.w-langs button:focus-visible {
  background: #fbf4e4;
  border-color: #a67c2e;
}
.w-langs button:active {
  transform: scale(0.98);
}
.w-langs button[lang='ckb'] {
  font-family: var(--f-ku);
}

/* the greeting shown first ("good evening"), which fades into the language choice */
.w-greet {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 32px;
  cursor: pointer;
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.welcome:not(.greeting) .w-greet {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.welcome.greeting .w-greet > * {
  animation: wIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.welcome.greeting .w-greet > :nth-child(2) {
  animation-delay: 0.15s;
}
.welcome.greeting .w-greet > :nth-child(3) {
  animation-delay: 0.3s;
}
.welcome.greeting .w-greet > :nth-child(4) {
  animation-delay: 0.45s;
}
.welcome.greeting .w-greet > :nth-child(5) {
  animation-delay: 0.6s;
}
.wg-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #a67c2e;
  background: radial-gradient(circle, #fff8e8, #f6ead0);
  border: 1px solid rgba(166, 124, 46, 0.45);
  box-shadow: 0 8px 22px rgba(166, 124, 46, 0.18);
  margin-bottom: 8px;
}
.wg-icon .i {
  width: 30px;
  height: 30px;
}
.w-greet h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: #1a1408;
  line-height: 1.4;
}
.wg-alt {
  font-size: 14px;
  color: #a67c2e;
  letter-spacing: 0.02em;
}
.wg-alt span {
  margin: 0 8px;
  opacity: 0.6;
}
.w-greet p {
  margin: 4px 0 0;
  font-size: 16px;
  color: #7a6a4f;
  line-height: 1.7;
  max-width: 300px;
}
.wg-orn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 170px;
  color: #a67c2e;
  margin-top: 10px;
}
.wg-orn i {
  flex: 1;
  height: 1px;
  background: rgba(166, 124, 46, 0.45);
}
.wg-orn .i {
  width: 18px;
  height: 18px;
}
.ku-font {
  font-family: var(--f-ku);
}
@keyframes wIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  padding-block: calc(env(safe-area-inset-top, 0px) + 12px) 10px;
}
.top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-logo {
  width: 46px;
  height: 44px;
  object-fit: contain;
  flex: none;
}
.top-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.top-brand b {
  font-family: var(--f-serif);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  direction: ltr;
  text-align: start;
}
.app[dir='rtl'] .top-brand b {
  text-align: right;
}
.top-brand small {
  font-size: 11px;
  color: var(--ink-soft);
}
.round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  flex: none;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  height: 48px;
  margin-top: 12px;
  color: var(--ink-soft);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search input::placeholder {
  color: var(--ink-soft);
}
.search input::-webkit-search-cancel-button {
  display: none;
}
.search .clear {
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

/* promo carousel */
.promo {
  margin-top: 14px;
}
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 12px;
  border-radius: 22px;
}
.slides::-webkit-scrollbar {
  display: none;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  text-align: start;
  background: var(--surface-2);
  max-width: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.05) 60%);
}
.slide .cap {
  position: absolute;
  inset: auto 16px 14px;
  z-index: 1;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.slide .eyebrow {
  font-size: 11px;
  color: #ecc77f;
}
.slide strong {
  font-size: 19px;
  font-weight: 600;
}
.slide .pill {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 1;
  background: #ecc77f;
  color: #000000;
  border-radius: 10px;
  padding: 3px 10px;
  font-size: 18px;
}
.slide .pill span {
  font-family: var(--f-ar);
  font-size: 11px;
  font-weight: 600;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  transition:
    width 0.25s,
    background 0.25s;
}
.dots i.on {
  width: 18px;
  background: var(--gold);
}

/* groups: food, drinks, desserts, shisha — one compact switch */
.groups {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  margin-top: 14px;
  padding: 4px;
  border-radius: 16px;
  background: var(--surface-2);
}
.grp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 44px;
  border-radius: 12px;
  color: var(--ink-soft);
  transition:
    background 0.2s,
    color 0.2s;
}
.grp .i {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  flex: none;
}
.grp span {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grp small {
  display: none;
}
.grp.active {
  background: var(--gold);
  color: var(--on-gold);
}
@media (max-width: 429px) {
  .grp .i {
    display: none;
  }
}
.cats-grp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 15px;
  color: var(--gold);
}
.cats-grp .i {
  width: 20px;
  height: 20px;
}

/* category chips */
.chips-bar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 128px);
  z-index: 15;
  background: var(--bg);
  padding-block: 8px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 5px 14px;
  border-radius: 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
}

/* sections: a photo banner, then the dishes as a price list */
.row-sec {
  margin-top: 30px;
  scroll-margin-top: 190px;
}
.row-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.row-head h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  font-size: 24px;
  font-weight: 700;
}
.row-head .en {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}
.row-head .link {
  display: none; /* every dish is already listed below */
}
.link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gold);
  white-space: nowrap;
}
.link svg {
  width: 15px;
  height: 15px;
}
.app[dir='rtl'] .flip {
  transform: scaleX(-1);
}
.track {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.cat-card {
  display: block;
  width: 100%;
  height: 128px;
  margin-bottom: 4px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card span {
  display: none;
}

/* one dish: name ......... price */
.card {
  position: relative;
  display: grid;
  grid-template-columns: auto fit-content(56%) minmax(18px, 1fr) auto 40px;
  grid-template-areas:
    'ph tag  tag  tag   fav'
    'ph name lead price fav'
    'ph sub  sub  sub   fav';
  align-content: center;
  align-items: baseline;
  min-height: 68px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  cursor: pointer;
}
.card::after {
  content: '';
  grid-area: lead;
  margin-inline: 8px;
  border-bottom: 2px dotted color-mix(in srgb, var(--gold) 55%, transparent);
  transform: translateY(-3px);
}
.card .cph {
  grid-area: ph;
  align-self: center;
  width: 64px;
  height: 64px;
  margin-inline-end: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
}
.card .cph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card .tag {
  grid-area: tag;
  justify-self: start;
  font-size: 11px;
  font-weight: 600;
  color: var(--on-gold);
  background: var(--gold);
  border-radius: 6px;
  padding: 1px 8px;
  margin-bottom: 4px;
}
.card .nm {
  grid-area: name;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.card .sub {
  grid-area: sub;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.card .price {
  grid-area: price;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  color: var(--gold);
}
.card .price b {
  font-size: 21px;
}
.card .price span {
  font-size: 11px;
  font-weight: 500;
}
.fav {
  position: absolute;
  top: 8px;
  inset-inline-end: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  z-index: 2;
}
.card .fav {
  position: relative;
  grid-area: fav;
  align-self: center;
  justify-self: end;
  top: auto;
  inset-inline-end: auto;
}
.fav svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.fav[aria-pressed='true'] {
  color: var(--heart);
}
.fav[aria-pressed='true'] svg {
  fill: currentColor;
  transform: scale(1.12);
}
.grid {
  display: flex;
  flex-direction: column;
}

.foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 40px;
  line-height: 1.8;
}
.foot .foot-logo {
  width: 72px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}
.foot b {
  display: block;
  font-family: var(--f-serif);
  letter-spacing: 0.28em;
  color: var(--gold);
  font-size: 18px;
  direction: ltr;
}
.empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 48px 10px;
  font-size: 14px;
  line-height: 1.8;
}

/* bottom nav */
.nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  /* flexible, not five fixed slots: when a button is switched off, the others share its place */
  display: flex;
  flex-wrap: wrap;
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px))
    max(8px, env(safe-area-inset-left, 0px));
}
/* in the page footer: the restaurant's name and the SI mark (a link to the system's site) */
.made-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-soft);
}
/* the strip is switched off for this restaurant (Settings → general, system manager) */
.no-si .made-by {
  display: none;
}
.made-by a {
  display: block;
  color: var(--ink);
  opacity: 0.9;
}
.made-by .si-mark {
  display: block;
  height: 30px;
  width: auto;
}
/* the mark takes the menu's colours: ink for the letters, the accent (gold) for the brim and the dot */
.made-by .si-mark .sm {
  fill: var(--ink);
}
.made-by .si-mark .sa {
  fill: var(--gold);
}
.nav button {
  flex: 1 1 20%; /* a fifth each; fewer buttons grow to share the bar. the SI strip goes on its own line */
  min-width: 0;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  color: var(--ink-soft);
  border-radius: 12px;
  position: relative;
}
.nav button.on,
.nav button:hover {
  color: var(--gold);
}
.nav .badge {
  position: absolute;
  top: 4px;
  inset-inline-start: calc(50% + 6px);
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 10px;
  line-height: 16px;
  padding: 0 4px;
  font-weight: 600;
}

/* sheets & panels */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s;
}
.scrim.show {
  opacity: 1;
}
.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 45;
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  transform: translate(-50%, 100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -20px 50px var(--shade);
}
.sheet.show {
  transform: translate(-50%, 0);
}
.grab {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  margin: 0 auto 12px;
}
.sheet h3 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}
.item-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background: var(--surface-2);
}
.item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-photo .ph-note {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 8px;
}
.item-photo .fav {
  top: 10px;
  inset-inline-end: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  width: 40px;
  height: 40px;
}
.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}
.item-meta .p {
  color: var(--gold);
  font-size: 30px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.item-meta .p span {
  font-family: var(--f-ar);
  font-size: 13px;
  font-weight: 500;
}
.cat-pill {
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}
.names {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 8px;
}
.names div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.names dt,
.names span:first-child {
  color: var(--ink-soft);
  font-size: 12px;
}
.names [lang='ckb'] {
  font-family: var(--f-ku);
}
.note-box {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.8;
}
.note-box b {
  display: block;
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 2px;
}
.btn {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
  font-size: 15px;
  margin-top: 18px;
}
.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
/* an odd number of items (some switched off): the last one fills its line, no hole beside it */
.cats-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  aspect-ratio: 8 / 3;
}
.cats-grid button {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  text-align: start;
}
.cats-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cats-grid button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
}
.cats-grid span {
  position: absolute;
  inset: auto 10px 8px;
  z-index: 1;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.cats-grid small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #ecc77f;
}

.contact {
  display: grid;
  gap: 10px;
}
.contact .line {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.contact .line .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: none;
}
.contact .line div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.contact .line small {
  color: var(--ink-soft);
  font-size: 12px;
}
.contact .line bdi {
  font-size: 19px;
  user-select: all;
}
.contact .copy {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--gold);
}
.contact .hint {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin: 4px 0 0;
}

.panel {
  position: fixed;
  inset: 0;
  z-index: 35;
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg);
  overflow-y: auto;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 24px);
  animation: slide 0.3s ease;
}
.panel-cover {
  position: relative;
  height: 220px;
}
.panel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.panel-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%), linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 40%);
}
.panel-cover .round {
  position: absolute;
  z-index: 1;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  inset-inline-start: max(16px, env(safe-area-inset-left, 0px));
}
.panel-head {
  margin-top: -36px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.panel-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}
.panel-head p {
  margin: 2px 0 0;
  color: var(--gold);
  font-family: var(--f-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}
.panel-plain {
  padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-plain h2 {
  margin: 0;
  font-size: 22px;
}
@keyframes slide {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
}
.rate-row + .rate-row {
  margin-top: 8px;
}
.rate-row > span {
  font-size: 14px;
  font-weight: 500;
}
.stars {
  display: flex;
  gap: 2px;
  direction: ltr;
}
.stars button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--line);
}
.stars button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}
.stars button.on {
  color: var(--gold);
}
.field {
  display: block;
  margin-top: 12px;
}
.field span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
  resize: vertical;
}
.field textarea {
  min-height: 96px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}
a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
a.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}
.rate-hint {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.7;
}
.rate-intro {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  margin: -4px 0 14px;
  line-height: 1.7;
}
.f-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  margin: 18px 0 8px;
}
.f-label svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.f-input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.f-input:focus {
  border-color: var(--gold);
}
textarea.f-input {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
}
.f-input[aria-invalid='true'] {
  border-color: var(--heart);
}
.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.people button,
.times button {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
}
.people button[aria-pressed='true'],
.times button[aria-pressed='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
}
.cal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cal-head b {
  font-size: 15px;
  font-weight: 600;
}
.cal-head button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.cal-head button:disabled {
  opacity: 0.25;
  cursor: default;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.cal-grid .dow {
  font-size: 10.5px;
  color: var(--ink-soft);
  padding: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cal-grid button {
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cal-grid button:disabled {
  color: var(--ink-soft);
  opacity: 0.35;
  cursor: default;
}
.cal-grid button.today {
  box-shadow: inset 0 0 0 1px var(--gold);
}
.cal-grid button[aria-pressed='true'] {
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
}
.times {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 196px;
  overflow-y: auto;
  padding: 2px;
}
.times button {
  height: 40px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.times .none {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
  padding: 12px 0;
}
.table-tag {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
}
.table-tag.set {
  color: var(--on-gold);
  background: var(--gold);
  border-radius: 8px;
  padding: 2px 8px;
  font-weight: 600;
}
.card .add {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--gold);
  color: var(--on-gold);
  display: grid;
  place-items: center;
  z-index: 2;
}
.card .add svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}
.card .add .q {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 17px;
}
.cart-bar {
  position: fixed;
  z-index: 31;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 10px);
  width: calc(min(460px, 100%) - 32px);
  height: 54px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  box-shadow: 0 12px 30px var(--shade);
  font-weight: 600;
  font-size: 15px;
  animation: pop 0.25s ease;
}
.cart-bar #cbLabel {
  flex: 1;
  text-align: start;
}
.cart-bar .cb-count {
  min-width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--on-gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.cart-bar #cbTotal {
  font-size: 19px;
}
@keyframes pop {
  from {
    transform: translate(-50%, 12px);
    opacity: 0;
  }
}
.app.has-cart .toast {
  bottom: calc(var(--nav-h) + 84px + env(safe-area-inset-bottom, 0px));
}
.app.has-cart {
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 84px);
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
}
.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.stepper button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
.stepper b {
  min-width: 26px;
  text-align: center;
  font-size: 18px;
}
.add-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.add-row .btn {
  margin-top: 0;
  flex: 1;
}
.cart-list {
  display: grid;
  gap: 8px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
}
.cart-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
.cart-item .ci {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item .ci b {
  font-size: 14px;
  font-weight: 600;
}
.cart-item .ci span {
  font-size: 13px;
  color: var(--gold);
}
.cart-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.cart-sum b {
  color: var(--gold);
  font-size: 24px;
}
.table-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  margin-top: 4px;
}
.table-field label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}
.table-field input {
  width: 90px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 700;
  outline: none;
}
.table-field input:focus {
  border-color: var(--gold);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
/* an odd number of items (some switched off): the last one fills its line, no hole beside it */
.svc-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 108px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
}
.svc svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  stroke-width: 1.6;
}
.svc[aria-disabled='true'] {
  opacity: 0.4;
  pointer-events: none;
}
.sent-box {
  margin-top: 14px;
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.8;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 10px);
  opacity: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 70;
  transition: 0.25s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.body-lock {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .welcome:not(.greeting) .w-center,
  .welcome:not(.greeting) .w-langs,
  .welcome.greeting .w-greet > *,
  .welcome.greeting .w-greet > :nth-child(n),
  .panel {
    animation: none;
  }
  .sheet,
  .welcome {
    transition: none;
  }
}

/* live system additions */
.ku-font {
  font-family: var(--f-ku);
}
.mt8 {
  margin-top: 8px;
}
.mt12 {
  margin-top: 12px;
}
.mt14 {
  margin-top: 14px;
}
.muted {
  color: var(--ink-soft);
  font-size: 13px;
}
.ar-inline {
  font-family: var(--f-ar);
  letter-spacing: 0;
  text-transform: none;
}
.social {
  font-size: 16px;
}
.contact a.tel {
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.tag.sold {
  background: var(--ink-soft);
  color: var(--bg);
}
.tag.sale {
  background: var(--ink);
  color: var(--bg);
}
/* the price before the offer, struck through */
s.was {
  font-size: 0.8em;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration-thickness: 1.5px;
}
.slide .pill s.was {
  color: inherit;
  opacity: 0.7;
}
.card.off .nm,
.card.off .price {
  opacity: 0.55;
}
.sold-txt {
  color: var(--heart);
  margin: 8px 0 0;
}
.btn:disabled,
.svc:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.svc {
  font: inherit;
}
.svc.sent {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
}
.svc small {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
}
.form-msg {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  border-radius: 12px;
  padding: 10px 12px;
}
.form-msg.err {
  background: color-mix(in srgb, var(--heart) 14%, var(--surface));
  color: var(--ink);
  border: 1px solid var(--heart);
}
.form-msg.ok {
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
  border: 1px solid var(--gold);
}
.order-pill {
  position: fixed;
  z-index: 31;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 10px);
  width: calc(min(460px, 100%) - 32px);
  height: 50px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  box-shadow: 0 12px 30px var(--shade);
  font-size: 14px;
  animation: pop 0.25s ease;
}
.order-pill b {
  font-weight: 600;
}
.order-pill span:not(.dot) {
  flex: 1;
  text-align: start;
  color: var(--gold);
}
.order-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent);
  animation: ping 1.6s infinite;
}
.order-pill .dot.st-paid,
.order-pill .dot.st-served {
  animation: none;
}
.order-pill .dot.st-cancelled {
  background: var(--ink-soft);
  animation: none;
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
}
.app.has-pill {
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 80px);
}
.orders-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.oc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.oc-head span {
  color: var(--gold);
  font-size: 17px;
}
.steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.steps li {
  position: relative;
  padding-top: 14px;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.4;
}
.steps li::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
}
.steps li.done {
  color: var(--ink);
  font-weight: 600;
}
.steps li.done::before {
  background: var(--gold);
}

/* dish photos and descriptions (uploaded from the dashboard) */
.card.has-ph {
  padding-top: 0;
  flex-basis: 162px;
}
.desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

/* the table is fixed by its QR */
.table-field.fixed {
  justify-content: space-between;
}
.table-field.fixed span {
  font-size: 14px;
}
.table-field.fixed b {
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.table-field.warn {
  font-size: 13px;
  line-height: 1.7;
  border-color: var(--gold);
  color: var(--ink);
}
.table-tag {
  cursor: default;
}

/* closed banner, Wi-Fi chip, allergens, line notes, upsell, ETA */
.notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.notice:empty {
  display: none;
}
.closed-banner {
  flex: 1 1 100%;
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  text-align: center;
}
.wifi-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
}
.als {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}
.al {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.al.kcal {
  color: var(--gold);
}
.cart-item .ln {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.ups {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}
.up {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
}
.up img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
.up div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.up .num {
  color: var(--gold);
  font-size: 13px;
}
.up .small-add {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
}
.eta {
  font-size: 13px;
  color: var(--gold);
  margin: 6px 0 0;
}

/* loyalty points */
.pts {
  text-align: center;
  margin: 12px 0;
}
.pts .ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: grid;
  place-content: center;
}
.pts .ring b {
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.pts .ring small {
  color: var(--ink-soft);
  font-size: 12px;
}
.pts p {
  margin: 6px 0 10px;
  font-size: 14px;
}
.pts .bar {
  height: 8px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pts .bar i {
  display: block;
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 0.5s;
}

/* Display switches (Settings → Display in the dashboard): each hidden part gets a no-<key> class */
.no-search .search,
.no-promo .promo,
.no-chips .chips-bar,
.no-footer .foot,
.no-themeBtn #modeBtn,
.no-svc #svcBtn,
.no-prices .card .price,
.no-prices .item-meta .p,
.no-prices .slide .pill,
.no-prices .up .num,
.no-secondName .card .sub,
.no-sigBadge .tag:not(.sold),
.no-sigBadge .sig-txt,
.no-favs .fav,
.no-favs .nav [data-act='favs'],
.no-navCats .nav [data-act='cats'],
.no-navBook .nav [data-act='book'],
.no-booking .nav [data-act='book'],
.no-navRate .nav [data-act='rate'],
.no-navContact .nav [data-act='contact'],
.no-nav .nav,
.no-photos .item-photo,
.no-desc .sheet .desc,
.no-options .note-box,
.no-allergens .al:not(.kcal),
.no-kcal .al.kcal,
.no-otherNames .sheet .names,
.no-orderNotes .cart-notes,
.no-myOrders #orderPill,
.no-eta .eta {
  display: none !important;
}
.no-sigBadge .card.sig {
  border-color: var(--line);
}
.w-langs.in-sheet {
  display: grid;
  gap: 10px;
  margin: 8px 0 4px;
}
.w-langs.in-sheet button {
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
}
/* the bottom bar is taller by the SI strip (36px and its 4px gap) */
.app.no-nav {
  --nav-h: 0px;
}

/* "Call waiter": a labelled gold button above the bottom bar, so customers can't mistake it for a notification bell */
.svc-fab {
  position: fixed;
  z-index: 32;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 12px);
  inset-inline-start: max(16px, calc((100vw - 460px) / 2 + 16px));
  height: 48px;
  padding-inline: 14px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 26px var(--shade);
  animation: fab-in 0.35s ease;
}
.svc-fab .i {
  width: 22px;
  height: 22px;
  animation: ring 1.2s ease 0.8s 2;
  transform-origin: 50% 10%;
}
.app.has-cart .svc-fab,
.app.has-pill .svc-fab {
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 74px);
}
.app.has-call {
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 72px);
}
.app.has-call.has-cart,
.app.has-call.has-pill {
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 136px);
}
@keyframes fab-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}
@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  15%,
  45% {
    transform: rotate(14deg);
  }
  30%,
  60% {
    transform: rotate(-14deg);
  }
  75% {
    transform: rotate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-fab,
  .svc-fab .i {
    animation: none;
  }
}

/* Bigger tap areas without changing the look, and a visible focus ring on the search box. */
.search:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.row-head .link,
.table-tag {
  position: relative;
}
.fav::after,
.card .add::after,
.row-head .link::after,
.table-tag::after {
  content: '';
  position: absolute;
  inset: -5px;
}
.row-head .link::after {
  inset: -14px -6px;
}
.table-tag::after {
  inset: -10px -6px;
}

/* Social media icons in the contact sheet. */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  padding: 6px 2px;
  color: var(--ink);
  text-decoration: none;
}
.socials .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}
.socials svg {
  width: 24px;
  height: 24px;
}

/* Offer popup rows and the row of small buttons above the sections. */
button.up {
  width: 100%;
  text-align: start;
  color: var(--ink);
}
.up small {
  color: var(--ink-soft);
  font-size: 12px;
}
#notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#notice .closed-banner {
  width: 100%;
}

/* Design pass: one row of quiet actions, panel headings, item and contact sheets. */
#notice {
  flex-wrap: wrap;
}
.wifi-chip {
  flex: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.wifi-chip .i,
.closed-banner .i,
h3 .i,
.ends .i,
.up small .i {
  width: 16px;
  height: 16px;
  color: var(--gold);
  vertical-align: -3px;
}
h3 .i {
  width: 22px;
  height: 22px;
  margin-inline-end: 6px;
}
.panel-head p {
  display: flex;
  gap: 14px;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-family: var(--f-ar);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.item-meta .fav {
  position: relative;
  top: auto;
  inset-inline-end: auto;
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
}
.contact .line div {
  align-items: flex-start;
}

/* the group switch sits inside the page gutter, like everything else */
.groups.wrap {
  margin-inline: max(16px, env(safe-area-inset-left, 0px));
  padding: 4px;
}

/* notifications bell in the header; install arrow above the bottom bar */
#bellBtn {
  position: relative;
}
#bellBtn .i {
  width: 20px;
  height: 20px;
}
#bellBtn.on {
  color: var(--gold);
  border-color: var(--gold);
}
#bellBtn.on::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.install-fab {
  position: fixed;
  z-index: 25;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 14px);
  inset-inline-end: max(8px, calc(50% - 222px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 8px 22px var(--shade);
}
.install-fab .i {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* four header controls: the name stays on one line, and steps aside on the narrowest phones */
.top-brand b {
  white-space: nowrap;
}
@media (max-width: 429px) {
  .top-row {
    gap: 8px;
  }
  .top-brand b {
    font-size: 13px;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 359px) {
  .top-brand b {
    display: none;
  }
}

/* Wi-Fi: a gold-tinted header button, and a card with the password in large type */
#wifiBtn {
  color: var(--gold);
  border-color: transparent;
  background: color-mix(in srgb, var(--gold) 16%, var(--surface));
}
#wifiBtn .i {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}
.wifi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 16px 16px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  border-radius: 22px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--gold) 14%, var(--surface)), var(--surface) 60%);
}
.wifi-card h3 {
  margin: 0 0 12px;
}
.wifi-qr {
  width: 190px;
  height: 190px;
  flex: none;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.wifi-card small {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}
.wifi-name {
  font-size: 18px;
  font-weight: 600;
}
.wifi-pass {
  max-width: 100%;
  padding: 8px 18px;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  background: var(--surface);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  user-select: all;
}
.wifi-card .btn {
  width: 100%;
}
@media (max-width: 359px) {
  .top-row .round {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 429px) { .top-brand b { display: none; } }
