:root {
  color-scheme: dark;
  --bg: #141518;
  --panel: #212226;
  --row: #1b1c20;
  --raised: #26272c;
  --border: #3e4047;
  --text: #f7f7f8;
  --muted: #b8bbc5;
  --red: #f2384b;
  --red-active: #fa334a;
  --radius: 12px;
  --gutter: 14px;
  --app-width: 520px;
  --nav-height: 76px;
  --viewport-height: 100vh;
  --safe-top: 0px;
  --safe-bottom: 0px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

@supports (height: 100dvh) {
  :root { --viewport-height: 100dvh; }
}
@supports (padding-top: constant(safe-area-inset-top)) {
  :root {
    --safe-top: constant(safe-area-inset-top);
    --safe-bottom: constant(safe-area-inset-bottom);
  }
}
@supports (padding-top: env(safe-area-inset-top)) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: #0e0f11;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  min-height: var(--viewport-height);
  margin: 0;
  color: var(--text);
  background: #0e0f11;
  font-size: 15px;
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
/* Freeze the document behind a modal, including Safari's rubber-band scrolling.
   JavaScript saves the current page position and restores it when closing. */
body.modal-open {
  position: fixed;
  top: var(--modal-scroll-top, 0px);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

button, input, select, textarea { font: inherit; color: inherit; }
button, a, label { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }

/* Pointer and touch interactions should not draw a desktop-style focus ring.
   Keep a visible focus indicator for keyboard users, including older browsers. */
button, a, label, img, .category-rail {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
button:focus, a:focus, input:focus, select:focus, textarea:focus,
video:focus, [tabindex]:focus {
  outline: none;
}
html[data-input-mode="keyboard"] button:focus,
html[data-input-mode="keyboard"] a:focus,
html[data-input-mode="keyboard"] input:focus,
html[data-input-mode="keyboard"] select:focus,
html[data-input-mode="keyboard"] textarea:focus,
html[data-input-mode="keyboard"] video:focus,
html[data-input-mode="keyboard"] [tabindex]:not([tabindex="-1"]):focus {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
html:not([data-input-mode]) button:focus-visible,
html:not([data-input-mode]) a:focus-visible,
html:not([data-input-mode]) input:focus-visible,
html:not([data-input-mode]) select:focus-visible,
html:not([data-input-mode]) textarea:focus-visible,
html:not([data-input-mode]) video:focus-visible,
html:not([data-input-mode]) [tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
img { object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: 26px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }

.app-shell {
  position: relative;
  width: 100%;
  max-width: var(--app-width);
  min-height: 100vh;
  min-height: var(--viewport-height);
  margin-inline: auto;
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 77px;
  padding: 16px var(--gutter) 15px;
  padding-top: calc(16px + var(--safe-top));
}
.restaurant-logo {
  display: block;
  flex: 0 1 auto;
  width: min(100%, 182px);
  height: 43px;
  object-fit: contain;
  object-position: left center;
}
.app-header a { display: flex; align-items: center; min-width: 0; }
.app-header a img.restaurant-logo { width: 182px; }
[dir="rtl"] .restaurant-logo { object-position: right center; }
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  padding-block: 6px;
  color: var(--text);
  font-size: 16px;
  white-space: nowrap;
  font-weight: 550;
}
.language-button .icon { width: 18px; height: 18px; }
.flag {
  display: inline-block;
  font-size: 25px;
  line-height: 1;
  direction: ltr;
  vertical-align: middle;
}
.language-button .flag { font-size: 25px; }
.flag img, img.flag { width: 28px; height: 19px; border-radius: 2px; object-fit: cover; }

.main-content {
  padding-inline: var(--gutter);
  padding-bottom: calc(var(--nav-height) + 24px);
  padding-bottom: calc(var(--nav-height) + 24px + var(--safe-bottom));
}
.main-content > :first-child { margin-top: 0; }
.toolbar {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 11px;
  margin-block: 3px 19px;
}
.search-button,
.search-field,
.icon-button {
  display: flex;
  align-items: center;
  color: var(--muted);
  background: #232429;
  border: 1px solid #41424a;
  border-radius: 12px;
  min-height: 44px;
}
.search-button, .search-field {
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  padding: 10px 13px;
  font-size: 15px;
  text-align: start;
}
.search-button .icon,
.search-field .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.search-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-field input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  caret-color: var(--red);
}
.search-field input::placeholder { color: var(--muted); }
.search-field input:focus { outline: none; }
/* An active mobile text field keeps the same border; a keyboard-focused
   field receives an accessible ring around the combined search control. */
html[data-input-mode="keyboard"] .search-field:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
html[data-input-mode="keyboard"] .search-field input:focus { outline: none; }
.search-field input::-webkit-search-decoration { -webkit-appearance: none; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-field button {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 24px;
  color: var(--muted);
}
.icon-button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  justify-content: center;
  background: #202126;
}
.icon-button .icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-button.active, .icon-button.selected { color: var(--red); border-color: var(--red); }
.icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
  stroke-width: 1.75;
}

.category-rail {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-inline: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 5px;
  margin-block: 0 23px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-link {
  flex: 0 0 77px;
  width: 77px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  font-size: 14px;
  line-height: 1.19;
  scroll-snap-align: start;
  touch-action: pan-x pan-y pinch-zoom;
}
.category-link + .category-link { margin-inline-start: 9px; }
.category-image {
  display: block;
  width: 75px;
  height: 75px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--panel);
}
.category-link .category-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.category-link.selected .category-image,
.category-link.active .category-image,
.category-link[aria-current="page"] .category-image {
  border-color: var(--red);
  padding: 2px;
}
.category-link::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
  margin-block-start: 1px;
}
.category-link.selected::after,
.category-link.active::after,
.category-link[aria-current="page"]::after { background: var(--red); }
.category-link span:not(.category-image) { max-width: 100%; overflow-wrap: break-word; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-block: 20px 15px;
}
.section-heading h1, .section-heading h2 { font-size: 25px; }
.section-heading a, .section-heading button, .section-heading .view-all {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.section-heading button .icon, .section-heading a .icon { width: 16px; height: 16px; }
.page-title {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  margin-block: 8px 18px;
  font-weight: 750;
  font-size: 25px;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.page-title h1, .page-title h2 { font-size: inherit; }
.page-title button, .page-title a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  width: 27px;
  height: 34px;
}
.page-title .icon { width: 22px; height: 22px; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.featured-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #4e5057;
  border-radius: var(--radius);
  background: var(--panel);
  text-align: start;
}
.food-photo {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px);
}
.featured-info {
  padding: 7px 13px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}
.featured-info .row-title, .featured-info h3, .featured-info strong {
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.price {
  color: var(--red);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 780;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.featured-meta {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-block-start: auto;
}
.featured-meta .price {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.featured-meta .status-pill {
  display: block;
  min-width: 0;
  max-width: 52%;
  margin-inline-start: auto;
  margin-block-end: 2px;
  padding-inline: 5px;
  text-align: center;
  overflow-wrap: anywhere;
}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  padding: 5px;
  background: var(--row);
  border: 1px solid var(--border);
  border-radius: 11px;
  text-align: start;
}
.product-row .row-image {
  width: 92px;
  height: 60px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 9px;
  background: var(--panel);
}
.product-row.detailed .row-image {
  width: 101px;
  height: 73px;
}
.product-row .row-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding-block: 4px;
}
.row-title {
  color: var(--text);
  font-weight: 750;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.row-description {
  margin-block-start: 5px;
  font-size: 12.5px;
  color: #dedee1;
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.product-row .price {
  flex-shrink: 0;
  margin-inline-end: 5px;
  font-size: 19px;
}
.product-row.detailed { gap: 8px; }
.product-row .chevron {
  color: var(--text);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-inline-end: 2px;
}
.product-row.detailed .price { margin-inline-end: 0; }
.status-pill, .sold-out-badge, .sold-out {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid #777a82;
  border-radius: 5px;
  color: var(--muted);
  padding: 2px 7px;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
}
.product-row .status-pill, .product-row .sold-out { margin-block-start: 5px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #42444d;
  border-radius: 13px;
  background: var(--panel);
  text-align: start;
}
.category-photo { width: 100%; aspect-ratio: 1.04; border-radius: 12px 12px 0 0; object-fit: cover; }
.category-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
}
.category-caption .icon { width: 17px; height: 17px; }

.bottom-nav {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  width: 100%;
  max-width: var(--app-width);
  margin: 0 auto;
  min-height: var(--nav-height);
  padding: 8px 7px 10px;
  padding-bottom: calc(10px + var(--safe-bottom));
  border-top: 1px solid #37393e;
  background: #15161acc;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
/* A physical keyboard remains usable; only hide the dock during a software
   keyboard session detected by visualViewport. */
html.keyboard-open .bottom-nav { display: none; }
html.keyboard-open .main-content { padding-bottom: calc(24px + var(--safe-bottom)); }
.nav-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  gap: 4px;
  position: relative;
  min-width: 0;
  min-height: 55px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}
.nav-link .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.nav-link.active, .nav-link[aria-current="page"] { color: var(--red); }
.nav-link.active::after, .nav-link[aria-current="page"]::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 54px;
  border-radius: 3px;
  background: var(--red);
}

.detail-hero {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  background: var(--panel);
}
.detail-hero img {
  width: 100%;
  aspect-ratio: 1.27;
  object-fit: cover;
  border-radius: 0 0 18px 18px;
}
.back-float {
  position: absolute;
  top: calc(15px + var(--safe-top));
  inset-block-start: calc(15px + var(--safe-top));
  inset-inline-start: 14px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #62646c;
  background: #1a1b20df;
  color: var(--text);
}
.back-float .icon { width: 24px; height: 24px; }
.detail-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 12px 6px;
}
.detail-category { color: var(--red); font-size: 15px; font-weight: 720; }
.detail-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.detail-title h1 { font-size: inherit; }
.portion-picker { display: grid; gap: 7px; padding-bottom: 4px; }
.portion-picker > strong { font-size: 15px; }
.portion-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 91px), 1fr)); background: var(--row); border: 1px solid var(--border); border-radius: var(--radius); }
.portion-options button { overflow-wrap: anywhere; min-width: 0; min-height: 44px; padding: 5px 4px; border: 1px solid transparent; border-radius: calc(var(--radius) - 1px); background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 650; }
.portion-options button[aria-pressed="true"] { border-color: var(--red); background: var(--panel); background: color-mix(in srgb, var(--red) 22%, var(--panel)); }
.portion-options button:focus-visible { outline: 2px solid var(--text); outline-offset: -3px; }
.portion-summary { display: grid; justify-items: center; gap: 1px; margin-block: 4px 1px; }
.portion-summary .detail-price { font-size: clamp(26px, 6.6vw, 36px); line-height: 1.1; }
.portion-summary small { color: var(--muted); font-size: 13px; }
.preview-no-prices .portion-options + .portion-summary { display: none; }
.detail-price { color: var(--red); font-size: 25px; font-weight: 800; white-space: nowrap; }
.detail-description {
  color: #e3e3e6;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 9px;
}
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}
.info-row {
  display: grid;
  grid-template-columns: 26px minmax(75px, .9fr) minmax(100px, 1.15fr);
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.35;
  padding-block: 11px;
}
.info-row + .info-row { border-top: 1px solid #45474e; }
.info-row strong { font-weight: 700; }
.info-row > .icon,
.info-row .allergen-icon {
  align-self: start;
  width: 1.35em;
  height: 1.35em;
}
.info-row .allergen-label { align-items: flex-start; }
.info-row > :last-child { color: #dedee2; overflow-wrap: anywhere; }
.buttons { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-block: 18px 4px; }
.primary-button,
.outline-button {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 680;
  text-align: center;
}
.primary-button { color: #fff; background: var(--red-active); border: 1px solid var(--red-active); }
.outline-button { color: var(--text); background: transparent; border: 1px solid #d7d7dd; }
.primary-button .icon, .outline-button .icon { width: 19px; height: 19px; }
.buttons .primary-button, .buttons .outline-button { width: 100%; }
.detail-content > .buttons { margin-top: 18px; }
.info-photo { width: 100%; aspect-ratio: 1.75; border-radius: 13px; }
.restaurant-title { margin-top: 9px; font-size: 24px; font-weight: 780; line-height: 1.2; letter-spacing: -.03em; }
.address { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; margin-block: 4px 12px; }
.address .icon { width: 15px; height: 15px; }
.info-card { margin-block: 0 8px; padding: 9px 11px; border: 1px solid var(--border); background: var(--row); border-radius: 10px; }
.info-card-title { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; font-size: 16px; line-height: 1.3; }
.info-card-title .icon { width: 22px; height: 22px; }
.info-card-title h2, .info-card-title h3 { font-size: inherit; }
.info-card p { color: #dedee3; font-size: 13px; }
.info-card .hours-row { display: flex; justify-content: space-between; align-items: center; gap: 7px; color: #dedee3; font-size: 12px; margin-block: 4px 1px; margin-inline-start: 31px; }
.link-row { display: flex; align-items: center; gap: 9px; width: 100%; padding-block: 7px; font-size: 14px; text-align: start; }
.link-row + .link-row { border-top: 1px solid #42444a; }
.link-row > .icon:last-child, .link-row > .chevron:last-child { margin-inline-start: auto; width: 16px; height: 16px; }
.link-row .program-logo { width: 43px; height: 30px; object-fit: contain; object-position: center; }
.link-row .link-copy { flex: 1 1 auto; min-width: 0; }
.link-row .link-copy small, .info-card small { display: block; color: var(--muted); font-size: 12px; }
.branch-card {
  display: block;
  width: 100%;
  text-align: start;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block-end: 11px;
}
.branch-card.selected, .branch-card[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.branch-card img { width: 100%; aspect-ratio: 1.64; object-fit: cover; }
.branch-info { padding: 9px 11px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.branch-info h2, .branch-info h3, .branch-info strong { font-size: 19px; color: var(--text); font-weight: 750; }
.branch-info p, .branch-info small { display: block; color: var(--muted); font-size: 13px; }
.branch-info .selected-label { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 650; font-size: 12px; white-space: nowrap; }
.branch-info .selected-label .icon { width: 15px; height: 15px; }

.search-count { color: var(--muted); font-size: 14px; font-weight: 600; margin-block: 6px 13px; }
.empty-state {
  min-height: 50vh;
  min-height: calc(var(--viewport-height) * .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px 15px;
}
.empty-state > .icon, .empty-state .state-icon { width: 65px; height: 65px; color: var(--muted); margin-bottom: 8px; stroke-width: 1.2; }
.empty-state h1, .empty-state h2 { font-size: 24px; font-weight: 750; line-height: 1.2; }
.empty-state p { max-width: 28ch; color: var(--muted); font-size: 15px; line-height: 1.48; }
.empty-state .outline-button, .empty-state .primary-button { margin-top: 14px; min-width: 170px; min-height: 42px; padding-block: 10px; }
.program-brand { display: flex; align-items: center; gap: 12px; margin-block: 5px 12px; }
.program-logo { display: block; width: 178px; height: auto; max-height: 62px; object-fit: contain; }
.program-brand .program-logo { width: min(75%, 225px); object-position: left center; }
.program-brand img { flex-shrink: 0; }
.program-brand h1, .program-brand h2 { font-size: 22px; }
.program-hero { width: 100%; aspect-ratio: 1.41; object-fit: cover; border-radius: 13px; margin-block-end: 10px; }
.program-tagline { font-size: 21px; font-weight: 750; margin-block: 9px 4px; }
.program-description { font-size: 13px; color: var(--muted); line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 13px; }
.feature-card { display: flex; align-items: center; min-height: 52px; padding: 10px; gap: 10px; border: 1px solid #555861; background: var(--panel); border-radius: 9px; font-size: 13px; line-height: 1.3; }
.feature-card .icon { width: 26px; height: 26px; }
.program-actions { display: grid; gap: 10px; }
.program-actions .primary-button { width: 100%; }
.program-company { display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; margin-block-start:28px; padding-block-end:22px; }
.program-company .company-caption { color:var(--muted); font-size:12px; line-height:1.45; margin:0; font-weight:400; }
.program-company a { display:block; width:155px; max-width:65%; }
.program-company .company-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.program-actions .text-button, .program-actions .return-link { display: block; margin: 4px auto; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.overlay {
  position: fixed;
  z-index: 20;
  top: 0;
  top: var(--visual-viewport-top, 0px);
  left: 0;
  right: 0;
  height: 100vh;
  height: var(--visible-viewport-height, var(--viewport-height));
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(5, 5, 8, .78);
  padding: 0;
}
.overlay[hidden], .sheet[hidden], .ad-modal[hidden] { display: none !important; }
.sheet {
  width: 100%;
  max-width: var(--app-width);
  max-height: 90vh;
  max-height: calc(var(--visible-viewport-height, var(--viewport-height)) * .9);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px var(--gutter) 14px;
  padding-bottom: calc(14px + var(--safe-bottom));
  background: #222327;
  border: 1px solid #383940;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -18px 42px rgba(0,0,0,.25);
  position: relative;
}
.sheet::before {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  border-radius: 4px;
  background: #9a9ba2;
}
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; margin-block: 5px 15px; }
.sheet-header h1, .sheet-header h2 { font-size: 21px; font-weight: 750; }
.sheet-header > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--red); font-weight: 650; font-size: 13px; }
.sheet-header > button .icon { color: var(--muted); width: 21px; height: 21px; }
.language-list { display: grid; gap: 6px; }
.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 7px 11px;
  border: 1px solid #585b64;
  background: #28292d;
  border-radius: 8px;
  font-size: 15px;
  text-align: start;
}
.language-option .flag { font-size: 24px; width: 32px; white-space: nowrap; }
.language-option .iso { border-inline-start: 1px solid #7b7d85; padding-inline-start: 10px; font-size: 13px; font-weight: 650; }
.language-option .chosen, .language-option.selected .icon { margin-inline-start: auto; color: var(--red); width: 18px; height: 18px; }

.sheet h3 { margin-block: 13px 7px; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; }
.sheet p { color: var(--muted); font-size: 12px; margin-block: 2px 9px; line-height: 1.4; }
.filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.filter-grid.dietary, .filter-grid.dietary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filter-option {
  display: flex;
  align-items: center;
  min-height: 33px;
  gap: 7px;
  border: 1px solid #4f5059;
  border-radius: 8px;
  background: #28292e;
  text-align: start;
  padding: 6px 8px;
  font-size: 11.5px;
  line-height: 1.25;
}
.filter-option input {
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  accent-color: var(--red);
  margin: 0;
}
.filter-option .checkbox, .filter-option .check-box {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #a1a3ac;
  border-radius: 3px;
  flex-shrink: 0;
}
.filter-option .checkbox .icon, .filter-option .check-box .icon { width: 11px; height: 11px; }
 .filter-option.checked { border-color: var(--red); color: var(--text); }
.filter-option.checked .checkbox, .filter-option.checked .check-box { background: var(--red); border-color: var(--red); color: #fff; }
.filter-option .icon { width: 15px; height: 15px; }
.allergen-note, .filter-note { display: flex; align-items: flex-start; gap: 7px; margin-block: 11px 1px; color: var(--muted); font-size: 11px; }
.allergen-note .icon, .filter-note .icon { width: 14px; height: 14px; }
.sheet > .primary-button, .sheet .apply-button { display: flex; width: 100%; margin-block-start: 16px; }

.overlay.centered, .overlay.modal-overlay {
  align-items: center;
  padding: 14px;
}
.ad-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: calc(100% - 16px);
  max-width: 440px;
  max-height: calc(100vh - 40px);
  max-height: calc(var(--visible-viewport-height, var(--viewport-height)) - 40px);
  padding: 10px;
  border: 1px solid #53555d;
  background: #18191d;
  border-radius: 16px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 15px 65px rgba(0,0,0,.35);
}
.ad-modal .close-button {
  position: absolute;
  z-index: 2;
  inset-block-start: 7px;
  inset-inline-end: 7px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #17181ce8;
  border: 1px solid #73757c;
  border-radius: 50%;
  color: var(--text);
}
.close-button .icon { width: 18px; height: 18px; }
.sheet .close-button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
.ad-media { overflow: hidden; border-radius: 11px; width: 100%; background: #101114; }
.ad-media-compact { width: 84%; max-width: 320px; margin-inline: auto; }
.ad-media img, img.ad-media { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 11px; }
.ad-media video, video.ad-media { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 11px; object-fit: cover; background: #111215; }
.ad-content { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; padding: 12px 3px 1px; }
.ad-content h1, .ad-content h2, .ad-content h3 { font-size: 21px; font-weight: 750; line-height: 1.2; letter-spacing: -.02em; }
.ad-content p { font-size: 13px; color: #e2e1e4; line-height: 1.42; }
.ad-content .primary-button { width: 100%; margin-top: 4px; }
.overlay .ad-modal > .primary-button { margin-block-start: 10px; width: 100%; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
[hidden] { display: none !important; }
[dir="rtl"] .chevron,
[dir="rtl"] .page-title .icon,
[dir="rtl"] .back-float .icon { transform: scaleX(-1); }
[dir="rtl"] .directional-icon { transform: scaleX(-1); }
[dir="rtl"] .language-button { direction: ltr; }
[dir="rtl"] .category-rail { scroll-snap-type: x proximity; }

@media (max-width: 350px) {
  :root { --gutter: 11px; --nav-height: 69px; }
  .app-header { min-height: 69px; }
  .restaurant-logo, .app-header a img.restaurant-logo { width: 160px; height: 40px; }
  .category-link + .category-link { margin-inline-start: 7px; }
  .category-link { flex-basis: 68px; width: 68px; font-size: 12px; }
  .category-image { width: 66px; height: 66px; }
  .section-heading h1, .section-heading h2, .page-title { font-size: 22px; }
  .product-row .row-image { width: 71px; height: 52px; }
  .product-row.detailed .row-image { width: 75px; height: 64px; }
  .product-row { gap: 7px; }
  .row-title { font-size: 14px; }
  .row-description { font-size: 11px; }
  .product-row .price { font-size: 17px; }
  .featured-info { padding-inline: 9px; }
  .featured-info .row-title, .featured-info h3, .featured-info strong { font-size: 14px; }
  .featured-info .price { font-size: 18px; }
  .detail-title { font-size: 23px; }
  .detail-price { font-size: 21px; }
  .info-row { grid-template-columns: 22px minmax(70px,.9fr) minmax(75px,1.15fr); gap: 7px; font-size: 12px; }
  .filter-option { font-size: 10.5px; padding-inline: 5px; gap: 5px; }
}
@media (min-width: 520px) {
  :root { --gutter: 19px; --nav-height: 80px; }
  .app-shell { border-inline: 1px solid #292b31; }
  .bottom-nav { border-inline: 1px solid #292b31; }
  .app-header .restaurant-logo, .app-header a img.restaurant-logo { width: 217px; height: 50px; }
  .app-header { min-height: 88px; }
  .category-link { width: 89px; flex-basis: 89px; font-size: 15px; }
  .category-image { width: 87px; height: 87px; }
  .row-title { font-size: 18px; }
  .row-description { font-size: 14px; }
  .product-row .row-image { width: 110px; height: 71px; }
  .product-row.detailed .row-image { width: 122px; height: 82px; }
  .product-row .price { font-size: 21px; }
  .featured-info .row-title, .featured-info h3, .featured-info strong { font-size: 19px; }
  .featured-info .price { font-size: 22px; }
}
@media (hover: hover) {
  .featured-card:hover, .product-row:hover, .category-card:hover, .branch-card:hover { border-color: #777983; }
  .icon-button:hover, .search-button:hover, .language-option:hover, .filter-option:hover { border-color: #7d808a; }
  .primary-button:hover { background: #dc263b; }
  .outline-button:hover { background: #27282d; }
}
@media (prefers-reduced-motion: no-preference) {
  button, a { transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* The full-screen product view places its return action near the bottom. */
.app-shell.detail-shell.no-bottom-nav .main-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: var(--viewport-height);
  padding-bottom: calc(26px + var(--safe-bottom));
}
.app-shell.detail-shell.no-bottom-nav .detail-content {
  flex: 1;
}
.app-shell.detail-shell.no-bottom-nav .detail-content > .buttons {
  margin-top: auto;
  padding-top: 22px;
}

/* iOS earlier than 14.5 and older Android-based browsers may lack flex gap,
   aspect-ratio, or the dynamic viewport units. Match the same image frames. */
@supports (max-height: min(90vh, 740px)) {
  .sheet { max-height: min(calc(var(--visible-viewport-height, var(--viewport-height)) * .9), 740px); }
}
@supports not (aspect-ratio: 1 / 1) {
  .food-photo { height: 148px; }
  .category-photo { height: 158px; }
  .detail-hero img { height: auto; max-height: 340px; }
  .info-photo { height: 204px; }
  .branch-card img { height: 220px; }
  .program-hero { height: 245px; }
  .ad-media img, img.ad-media { height: 255px; }
  .ad-media video, video.ad-media { height: auto; }
}
@media (hover: none), (pointer: coarse) {
  .category-rail, .category-link {
    /* Native mobile momentum scrolling is more stable without snap
       corrections after a flick; touch can also start a vertical scroll. */
    scroll-snap-type: none;
    scroll-snap-align: none;
    touch-action: pan-x pan-y pinch-zoom;
  }
  .search-field input { font-size: 16px; }
  .page-title button, .page-title a { min-height: 44px; min-width: 44px; }
  .link-row { min-height: 44px; }
  .language-option, .filter-option { min-height: 44px; }
  .filter-option { font-size: 12px; }
}

/* Final customer screen adjustments. */
.app-header .flag img { width: 29px; height: 19px; }
.info-card.program-link { display: block; }
.link-row .program-logo { width: 86px; max-height: 36px; }
.info-indent { margin-inline-start: 31px; margin-block-start: 5px; }
.sheet-header-actions { display: flex; align-items: center; gap: 16px; }
.sheet-header-actions .text-action { color: var(--red); font-weight: 650; }
.sheet-header-actions .close-button { color: var(--muted); }
.detail-content > .status-pill { align-self: flex-start; }
.program-brand > div { width: 100%; }
.program-brand .program-logo { width: min(100%, 250px); max-height: 75px; }
[dir="rtl"] .chevron, [dir="rtl"] .page-title .icon, [dir="rtl"] .back-float .icon { transform: scaleX(-1); }
@media (max-width: 360px) {
  .product-row.detailed .row-image { width: 79px; }
  .product-row.detailed { gap: 6px; }
  .row-description { font-size: 11px; }
  .row-title { font-size: 14px; }
  .product-row .price { font-size: 17px; }
}
/* Protect the content and fixed navigation from landscape cutouts. */
@supports (padding-left: env(safe-area-inset-left)) {
  :root {
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
  }
  @media (orientation: landscape) {
    body { padding-left: var(--safe-left); padding-right: var(--safe-right); }
    .bottom-nav { left: var(--safe-left); right: var(--safe-right); width: auto; }
    .overlay { padding-left: var(--safe-left); padding-right: var(--safe-right); }
  }
}
/* Flex gap is unsupported in some old WebKit-based mobile browsers. */
@supports not (margin-inline-start: 1px) {
  .app-shell, .bottom-nav { margin-left: auto; margin-right: auto; }
  .main-content { padding-left: var(--gutter); padding-right: var(--gutter); }
  .category-rail { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .category-link + .category-link { margin-left: 9px; }
  [dir="rtl"] .category-link + .category-link { margin-right: 9px; margin-left: 0; }
}

/* Campaign category — same touch target, size and selected state as the food categories. */
.campaign-symbol {
  display: block;
  background: #24252a;
  object-fit: cover;
}
.category-photo.campaign-symbol { object-fit: contain; }
.campaign-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  gap: 1px;
}
.campaign-original-price {
  color: #b8b8c0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.product-row .campaign-price-stack { margin-inline-end: 5px; }
.product-row .campaign-price-stack .price { margin-inline-end: 0; }
.product-row.detailed .campaign-price-stack { margin-inline-end: 0; }
.featured-meta .campaign-price-stack { align-items: flex-start; }
.category-link .campaign-symbol + span { font-size: .9em; white-space: nowrap; }

/* Chef selection: two full cards per viewport, with all additional cards
   available using native horizontal touch scrolling and mouse dragging. */
.featured-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 8px) / 2);
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  min-width: 0;
}
.featured-carousel::-webkit-scrollbar { display: none; }
.featured-carousel .featured-card { scroll-snap-align: start; }
.featured-carousel.dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.featured-carousel.dragging .featured-card { cursor: grabbing; }
@media (hover: none), (pointer: coarse) {
  .featured-carousel { scroll-snap-type: none; }
  .featured-carousel .featured-card { scroll-snap-align: none; }
}
@media (hover: hover) and (pointer: fine) {
  .featured-carousel { cursor: grab; scrollbar-width: thin; scrollbar-color: #525159 transparent; }
  .featured-carousel::-webkit-scrollbar { display: block; height: 4px; }
  .featured-carousel::-webkit-scrollbar-thumb { background: #525159; border-radius: 5px; }
}

/* Keep each translated name, symbol and restaurant-defined code together. */
.allergen-label { display:inline-flex; align-items:center; gap:6px; min-width:0; max-width:100%; }
.allergen-label > span { min-width:0; overflow-wrap:anywhere; }
.allergen-icon { flex:none; width:19px; height:19px; color:inherit; }
.allergen-short { color:var(--red); font-weight:700; white-space:nowrap; }
.allergen-items { display:grid; gap:6px; }


/* First visit and guest links */
.welcome-shell {
  display: flex;
  flex-direction: column;
}
.welcome-main {
  padding: 0 var(--gutter);
}
.welcome-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--panel);
}
.welcome-photo {
  width: 100%;
  aspect-ratio: 1.94;
  object-fit: cover;
}
.welcome-location {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 5px;
  color: #fff;
  background: rgb(12 13 15 / 78%);
  font-size: .75rem;
  font-weight: 650;
}
.welcome-location .icon { width: 15px; height: 15px; }
.welcome-intro { margin-block: 22px 16px; }
.welcome-intro h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
.welcome-intro p { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.welcome-enter { width: 100%; min-height: 50px; font-size: 1rem; }
.guest-shortcuts { margin-block: 22px 10px; }
.guest-shortcuts h2 { margin-bottom: 11px; font-size: 1.05rem; }
.guest-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(125px, 100%), 1fr));
  gap: 8px;
}
.guest-tile, .guest-social, .guest-wifi-details {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.guest-tile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 72px;
  padding: 10px;
  text-align: start;
}
.guest-tile-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  background: var(--raised);
  border-radius: 9px;
}
.guest-tile-icon .icon { width: 19px; height: 19px; }
.guest-google { color: #8ab4f8; font: bold 23px/1 Arial, sans-serif; }
.guest-tile-copy { flex: 1 1 90px; min-width: 0; }
.guest-tile-copy strong, .guest-tile-copy small { display: block; overflow-wrap: anywhere; }
.guest-tile-copy strong { font-size: .9rem; line-height: 1.2; }
.guest-tile-copy small { color: var(--muted); margin-top: 3px; font-size: .8rem; }
.guest-tile[aria-expanded="true"] { border-color: var(--red); }
.guest-wifi-details { padding: 13px 15px; margin-top: 8px; }
.guest-wifi-details dl { margin: 0 0 4px; }
.guest-wifi-details dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.guest-wifi-details dt { color: var(--muted); }
.guest-wifi-details dd { margin: 0; overflow-wrap: anywhere; user-select: text; }
.guest-copy { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.guest-copy .icon { width: 17px; height: 17px; }
.guest-copy-status { display: block; color: var(--muted); }
.guest-socials { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 8px; }
.guest-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 6px;
  min-height: 44px;
  padding: 5px 7px;
  font-size: .88rem;
  font-weight: 570;
}
.guest-social .icon { width: 17px; height: 17px; flex: none; }
.guest-demo-note { margin-block-start: 8px; font-size: .88rem; color: var(--muted); }
.welcome-footer {
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 24px var(--gutter) calc(20px + var(--safe-bottom));
  color: var(--muted);
  font-size: .78rem;
}
.welcome-footer img { width: 92px; height: auto; object-fit: contain; }

.welcome-card-overlay {
  padding-inline: max(8px, var(--safe-left, 0px)) max(8px, var(--safe-right, 0px));
  padding-bottom: 8px;
  background: rgba(8, 9, 11, .58);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.welcome-card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: calc(var(--app-width) - 16px);
  max-height: 84vh;
  max-height: calc(var(--visible-viewport-height, var(--viewport-height)) - max(44px, var(--safe-top)));
  padding-top: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 14px 50px rgba(0,0,0,.42);
  overflow: hidden;
}
.welcome-card::before {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline-start: calc(50% - 18px);
  width: 36px;
  height: 3px;
  background: var(--muted);
  border-radius: 3px;
  opacity: .55;
}
.welcome-card-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 18px 2px;
}
.welcome-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.welcome-card-header .app-header { flex: 1; min-width: 0; min-height: 48px; padding: 0; }
.welcome-card-header .restaurant-logo { max-width: 150px; height: 38px; }
.welcome-card-header .close-button {
  position: static;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  color: var(--muted);
  background: var(--panel);
  border-radius: 50%;
}
.welcome-card .welcome-intro { margin-block: 16px; }
.welcome-card .welcome-intro h1 { font-size: 1.7rem; }
.welcome-card .welcome-intro p { font-size: .95rem; }
.welcome-card .guest-shortcuts { margin-block: 18px 10px; }
.welcome-card .guest-shortcuts h2 { font-size: 1rem; }
.welcome-card-actions {
  flex: 0 0 auto;
  padding: 12px 18px calc(8px + var(--safe-bottom));
  border-top: 1px solid var(--border);
}
.welcome-card-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .75rem;
}
.welcome-card-provider img { width: 64px; height: 18px; object-fit: contain; }
@media (hover: hover) {
  .guest-tile:hover, .guest-social:hover { background: var(--raised); }
}

/* Guest light appearance */
html.preview-light {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --row: var(--panel);
  --text: #202127;
  --muted: #555b65;
  --border: #d6dae1;
  --raised: #edf0f4;
  --red: #c7213a;
  --red-active: var(--red);
  --guest-edge: #e8ebef;
  --guest-control-border: #b6bdc7;
  --guest-card-shadow: 0 2px 6px rgb(25 31 45 / 5%);
  --guest-brand-backplate: #202126;
  background: var(--guest-edge);
}
@supports (background: color-mix(in srgb, white, black)) {
  html.preview-light {
    --guest-edge: color-mix(in srgb, var(--bg) 94%, var(--text));
    --raised: color-mix(in srgb, var(--panel) 94%, var(--text));
  }
}
html.preview-light.preview-high-contrast { --muted: var(--text); --border: #6b7280; --guest-control-border: #626971; }

/* Published appearance settings use the existing restaurant preview layout. */
.preview-no-photos .row-image,.preview-no-photos .food-photo,.preview-no-photos .detail-hero img {display:none}
.preview-no-prices .price,.preview-no-prices .detail-price,.preview-no-prices .campaign-price-stack {display:none}
.preview-grid .product-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.preview-grid .product-row {display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:7px}
.preview-grid .product-row .row-image {width:100%;height:auto;aspect-ratio:1.25}
.preview-grid .product-row .price,.preview-grid .product-row .campaign-price-stack {align-self:flex-start}
.preview-grid .product-row .chevron {display:none}
.preview-big-text .row-title,.preview-big-text .category-link,.preview-big-text .detail-description {font-size:1.16em}
.preview-high-contrast {--muted:#fff;--border:#adadb4}
.preview-high-contrast .row-description {color:var(--text)}
.preview-high-contrast.preview-light {--muted:#111;--border:#444}
.preview-square-categories .category-image{border-radius:10px}
.preview-text-categories .category-image{display:none}
.preview-text-categories .category-rail{align-items:center}
.preview-text-categories .category-link{justify-content:center;min-height:44px}
.restaurant-wordmark{font-size:20px;font-weight:750;color:var(--text);overflow-wrap:anywhere}
.detail-photo-empty{min-height:125px;display:grid;place-items:center;color:var(--muted)}
.detail-photo-empty .icon{width:35px;height:35px;opacity:.65}
.preview-no-photos .detail-photo-empty{visibility:hidden;min-height:70px}
.guest-empty-photo{display:grid;place-items:center;background:var(--panel);color:var(--muted)}
.guest-empty-photo .icon{opacity:.65}
.preview-light body { color: var(--text); background: var(--guest-edge); }
.preview-light .app-shell { color: var(--text); background: var(--bg); border-color: var(--border); }
.preview-light .bottom-nav {
  color: var(--text);
  background: var(--panel);
  border-color: var(--border);
  box-shadow: 0 -2px 10px rgb(25 31 45 / 6%);
}
.preview-light .search-button, .preview-light .search-field, .preview-light .icon-button {
  background: var(--panel);
  border-color: var(--border);
  color: var(--muted);
}
.preview-light .featured-card, .preview-light .category-card, .preview-light .product-row,
.preview-light .branch-card, .preview-light .feature-card {
  border-color: var(--border);
  box-shadow: var(--guest-card-shadow);
}
.preview-light .category-photo.campaign-symbol { background-color: var(--panel); }
.preview-light .row-description, .preview-light .detail-description,
.preview-light .info-row > :last-child, .preview-light .info-card p,
.preview-light .info-card .hours-row, .preview-light .campaign-original-price,
.preview-light .ad-content p { color: var(--muted); }
.preview-light .info-row + .info-row, .preview-light .link-row + .link-row,
.preview-light .language-option .iso { border-color: var(--border); }
.preview-light .status-pill, .preview-light .sold-out-badge, .preview-light .sold-out {
  color: var(--muted); border-color: var(--guest-control-border); background: var(--panel);
}
.preview-light .outline-button {
  color: var(--text); background: var(--panel); border-color: var(--guest-control-border);
}
.preview-light .back-float, .preview-light .ad-modal .close-button {
  background: var(--panel); color: var(--text); border-color: var(--border);
  box-shadow: 0 2px 9px rgb(18 21 28 / 15%);
}
.preview-light .overlay { background: rgb(24 27 35 / 42%); }
.preview-light .sheet, .preview-light .ad-modal, .preview-light .welcome-card {
  color: var(--text); background: var(--panel); border-color: var(--border);
  box-shadow: 0 12px 46px rgb(18 24 34 / 20%);
}
.preview-light .sheet::before { background: var(--guest-control-border); }
.preview-light .language-option, .preview-light .filter-option {
  color: var(--text); background: var(--panel); border-color: var(--border);
}
.preview-light .language-option.selected, .preview-light .filter-option.checked,
.preview-light .branch-card.selected, .preview-light .branch-card[aria-pressed="true"],
.preview-light .icon-button.active, .preview-light .icon-button.selected { border-color: var(--red); }
.preview-light .filter-option.checked .checkbox, .preview-light .filter-option.checked .check-box,
.preview-light .primary-button { color: var(--on-accent, #fff); }
.preview-light .price, .preview-light .detail-price, .preview-light .detail-category,
.preview-light .allergen-short, .preview-light .nav-link.active, .preview-light .nav-link[aria-current="page"],
.preview-light .branch-info .selected-label, .preview-light .language-option .chosen,
.preview-light .icon-button.active, .preview-light .icon-button.selected,
.preview-light .sheet-header-actions .text-action { color: var(--accent-ink, var(--red)); }
.preview-light .guest-google { color: #1756a5; }
.preview-light .welcome-card-header .close-button { background: var(--raised); color: var(--text); }
.preview-light .welcome-card-actions { background: var(--panel); }

/* The stock restaurant mark is monochrome. Uploaded logos keep their original artwork. */
.preview-light .restaurant-logo[data-asset="restaurant-logo.png"],
.preview-light .restaurant-logo[src$="/restaurant-logo.png"] { filter: brightness(0) opacity(.88); }
.preview-light .program-logo[data-asset="hoom-qr-logo.png"], .preview-light .program-logo[src$="/hoom-qr-logo.png"],
.preview-light .company-logo[data-asset="homeros-bilisim-logo.png"], .preview-light .company-logo[src$="/homeros-bilisim-logo.png"],
.preview-light .welcome-footer img[data-asset="hoom-qr-logo-loader.png"], .preview-light .welcome-footer img[src$="/hoom-qr-logo-loader.png"],
.preview-light .welcome-card-provider img[data-asset="hoom-qr-logo-loader.png"], .preview-light .welcome-card-provider img[src$="/hoom-qr-logo-loader.png"] {
  background: var(--guest-brand-backplate); border-radius: 6px; padding: 4px 7px;
}
.preview-light .program-brand .program-logo, .preview-light .program-company .company-logo { padding: 7px 11px; }
.preview-light .link-row .program-logo { padding: 4px; }
.preview-light .welcome-card-provider img { width: 76px; height: 24px; }

@media (hover: hover) {
  .preview-light .featured-card:hover, .preview-light .product-row:hover, .preview-light .category-card:hover,
  .preview-light .branch-card:not(.selected):hover, .preview-light .search-button:hover,
  .preview-light .language-option:not(.selected):hover, .preview-light .filter-option:not(.checked):hover,
  .preview-light .icon-button:not(.active):not(.selected):hover { border-color: var(--guest-control-border); }
  .preview-light .outline-button:hover { background: var(--raised); }
  .preview-light .primary-button:hover { background: var(--red-active); filter: brightness(.94); }
}
@media (hover: hover) and (pointer: fine) {
  .preview-light .featured-carousel { scrollbar-color: var(--guest-control-border) transparent; }
  .preview-light .featured-carousel::-webkit-scrollbar-thumb { background: var(--guest-control-border); }
}
/* End guest light appearance */

/* Dim only the photograph when the product is sold out. */
img.unavailable-photo { filter: grayscale(1); opacity: .62; }

.category-photo.daily-symbol { object-fit: contain; background: #242429; }

/* Demo category rail: use the same drag behavior as the featured carousel. */
.category-rail.dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }
.category-rail.dragging .category-link { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) {
  .category-rail, .category-rail .category-link { cursor: grab; }
  .category-rail.dragging, .category-rail.dragging .category-link { cursor: grabbing; }
}
