@font-face {
  font-family: "saudi-riyal-font";
  src: url("assets/saudi-riyal-font.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: block;
}

:root {
  --brand: #bb4200;
  --brand-soft: rgba(187, 66, 0, 0.1);
  --ink: #000;
  --muted: #666;
  --line: #ececec;
  --page: #f6f6f6;
  --danger: #ff3636;
  --header-height: 50px;
  color-scheme: light;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(187, 66, 0, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100%, 768px);
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transform: translateX(-50%);
  background: #fff;
}

.icon-button,
.share-button,
.dialog-close,
.small-close,
.category-list-button {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.share-button svg,
.dialog-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.language-badge {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 600;
}

.language-badge .flag {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  overflow: hidden;
  place-items: center;
  border-radius: 4px;
  padding-bottom: 4px;
  background: #07833f;
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 4px;
  line-height: 1;
  white-space: nowrap;
}

.language-badge .flag::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 12px;
  height: 1px;
  border-radius: 2px;
  background: #fff;
  content: "";
}

.language-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.scroll-name {
  position: absolute;
  right: 50%;
  max-width: 45%;
  overflow: hidden;
  transform: translateX(50%) translateY(-6px);
  opacity: 0;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.scroll-name.is-visible {
  transform: translateX(50%) translateY(0);
  opacity: 1;
}

.site-shell {
  width: min(100%, 768px);
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  padding: 0 16px 48px;
  background: #fff;
}

.restaurant {
  position: relative;
  margin-bottom: 24px;
}

.cover-image {
  width: 100%;
  aspect-ratio: 2.174 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: #fbfaed;
}

.restaurant-summary {
  position: relative;
  display: flex;
  min-height: 90px;
  align-items: flex-start;
  padding: 0 16px;
  margin-top: -28px;
}

.restaurant-logo {
  position: relative;
  z-index: 1;
  display: flex;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: 8px;
  border: 4px solid #fff;
  border-radius: 12px;
  background: #f7f1e1;
}

.restaurant-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-copy {
  min-width: 0;
  flex: 1;
  margin-top: 38px;
}

.restaurant-copy h1 {
  padding-left: 60px;
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.restaurant-copy p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.status-badge {
  position: absolute;
  top: 12px;
  left: 16px;
  padding: 0 8px 2px;
  border-radius: 50px;
  background: rgba(255, 54, 54, 0.2);
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
}

.status-badge.is-open {
  background: rgba(35, 138, 69, 0.16);
  color: #238a45;
}

.category-nav-shell {
  position: sticky;
  z-index: 10;
  top: var(--header-height);
  margin: 0 0 10px;
  background: #fff;
  transition: box-shadow 150ms ease;
}

.category-nav-shell.is-stuck {
  min-height: 50px;
  padding: 10px 16px;
  margin-right: -16px;
  margin-left: -16px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.05);
}

.category-nav {
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 9px;
  padding: 0 0 6px;
  scrollbar-width: none;
  scroll-padding-inline: 44px;
  white-space: nowrap;
}

.category-nav-shell.is-stuck .category-nav {
  padding-bottom: 0;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-link,
.category-list-button {
  display: flex;
  height: 30px;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 30px;
  background: var(--brand-soft);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  transition: background-color 140ms ease, color 140ms ease;
}

.category-list-button {
  width: 44px;
  padding: 0 12px;
}

.category-list-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.category-link:hover,
.category-list-button:hover {
  background: rgba(187, 66, 0, 0.16);
}

.category-link.is-active,
.category-link[aria-current="true"] {
  background: #000;
  color: #fff;
}

.menu-category {
  margin-bottom: 16px;
  scroll-margin-top: 112px;
}

.category-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.product-card {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
}

.product-trigger {
  display: flex;
  width: 100%;
  min-height: 80px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: right;
}

.product-info {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 12px;
  margin-left: 20px;
}

.product-card--text-only .product-trigger {
  min-height: 0;
}

.product-card--text-only .product-info {
  padding-top: 0;
  margin-left: 0;
}

.product-name {
  margin: 0 0 6px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.product-description {
  max-width: 52ch;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.product-price,
.product-dialog-price,
.choice-price {
  color: var(--brand);
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  line-height: 21px;
}

.currency {
  display: inline-block;
  font-family: "saudi-riyal-font" !important;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  font-size: 1em;
}

.product-image {
  width: 96px;
  height: 80px;
  flex: 0 0 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f7;
  object-fit: cover;
}

.sheet-dialog {
  width: min(100%, 768px);
  max-width: 768px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  margin: auto auto 0;
  overflow: visible;
  background: transparent;
  color: var(--ink);
}

.sheet-dialog::backdrop {
  background: rgba(0, 0, 0, 0.34);
}

.sheet {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  background: #fff;
  overscroll-behavior: contain;
}

.product-sheet {
  padding-bottom: env(safe-area-inset-bottom);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.product-dialog-image {
  width: 100%;
  max-height: 55dvh;
  border-radius: 16px 16px 0 0;
  background: #f7f7f7;
  object-fit: cover;
}

.product-dialog-image[hidden] {
  display: none;
}

.product-sheet--text-only .product-dialog-heading {
  padding-left: 52px;
}

.product-dialog-content {
  padding: 22px 16px 30px;
}

.product-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-dialog-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.share-button {
  flex: 0 0 44px;
}

.product-dialog-description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.product-dialog-description:empty {
  display: none;
}

.product-dialog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.product-dialog-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.calories {
  color: #999;
  font-size: 12px;
}

.calories::after {
  margin-right: 5px;
  content: "♨";
  opacity: 0.55;
}

.product-options {
  margin-top: 18px;
}

.product-options:empty {
  display: none;
}

.option-group {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.option-group h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.option-choice {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.option-choice:last-child {
  border-bottom: 0;
}

.compact-sheet {
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom));
}

.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dialog-bar h2 {
  margin: 0;
  font-size: 18px;
}

.small-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #000;
}

.search-results {
  display: grid;
  gap: 2px;
  max-height: 52dvh;
  margin-top: 12px;
  overflow-y: auto;
}

.search-result,
.category-dialog-link,
.info-links a,
.info-links button {
  width: 100%;
  min-height: 48px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: right;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-result small {
  color: var(--muted);
}

.empty-search {
  padding: 22px 0 4px;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.category-dialog-list,
.info-links {
  display: grid;
}

.info-links button {
  font-weight: 400;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (hover: hover) {
  .product-trigger:hover .product-name {
    color: var(--brand);
  }

  .search-result:hover,
  .category-dialog-link:hover,
  .info-links a:hover,
  .info-links button:hover {
    color: var(--brand);
  }
}

@media (max-width: 430px) {
  .site-header,
  .site-shell {
    width: 100%;
  }

  .restaurant-summary {
    padding-inline: 16px;
  }

  .product-image {
    width: 92px;
    flex-basis: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visual system adapted from the supplied design reference. */
:root {
  --brand: #bb4200;
  --brand-strong: #9a3600;
  --brand-tint: #faf0ea;
  --brand-line: #f0ded4;
  --brand-soft: var(--brand-tint);
  --ink: #1a1512;
  --ink-2: #5c534e;
  --muted: #8b8078;
  --surface: #fff;
  --page: #f4f2f0;
  --line: #ede7e3;
  --ok: #1e7a46;
  --ok-bg: #e9f3ed;
  --danger: #b3311f;
  --closed-bg: #fbedea;
  --radius-xs: 10px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(26, 21, 18, 0.05);
  --shadow-md: 0 10px 30px -14px rgba(26, 21, 18, 0.28);
  --header-height: 56px;
  --shell-width: 768px;
  --page-padding: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  padding-top: var(--header-height);
  background: var(--page);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  z-index: 60;
  width: min(100%, var(--shell-width));
  height: var(--header-height);
  padding-inline: 10px;
  gap: 8px;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 250ms var(--ease), background 250ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.icon-button,
.share-button,
.dialog-close,
.small-close,
.category-list-button {
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--radius-sm);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.icon-button svg,
.share-button svg,
.dialog-close svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.scroll-name {
  right: auto;
  left: 50%;
  display: flex;
  max-width: 52%;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%) translateY(6px);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.scroll-name.is-visible {
  transform: translateX(-50%) translateY(0);
}

.scroll-name img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.scroll-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-shell {
  width: min(100%, var(--shell-width));
  min-height: calc(100dvh - var(--header-height));
  padding: 10px var(--page-padding) 32px;
  background: var(--surface);
}

.restaurant {
  margin-bottom: 0;
}

.cover-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--brand-tint);
}

.restaurant-summary {
  min-height: 0;
  align-items: flex-end;
  gap: 12px;
  padding: 0;
  margin-top: -26px;
}

.restaurant-logo {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
  margin-left: 0;
  border-width: 3px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.restaurant-copy {
  padding-bottom: 2px;
  margin-top: 0;
}

.restaurant-copy h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  color: var(--brand);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.restaurant-copy p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.status-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--closed-bg);
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
}

.status-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-badge.is-open {
  background: var(--ok-bg);
  color: var(--ok);
}

.restaurant-hours {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.category-nav-shell {
  z-index: 50;
  top: var(--header-height);
  min-height: 0;
  padding: 10px 0;
  margin: 20px calc(var(--page-padding) * -1) 0;
  border-bottom: 1px solid transparent;
  background: var(--surface);
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.category-nav-shell.is-stuck {
  min-height: 0;
  padding: 10px 0;
  margin-right: calc(var(--page-padding) * -1);
  margin-left: calc(var(--page-padding) * -1);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 16px -14px rgba(26, 21, 18, 0.5);
}

.category-nav {
  gap: 8px;
  padding: 2px var(--page-padding);
  scroll-padding-inline: var(--page-padding);
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.category-nav-shell.is-stuck .category-nav {
  padding: 2px var(--page-padding);
}

.category-link,
.category-list-button {
  height: 36px;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.category-list-button {
  width: 36px;
  min-width: 36px;
  padding: 0;
}

.category-list-button svg {
  width: 18px;
  height: 18px;
}

.category-link:hover,
.category-list-button:hover {
  border-color: var(--brand-line);
  background: var(--brand-tint);
  color: var(--brand);
}

.category-link.is-active,
.category-link[aria-current="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.menu-category {
  padding-top: 24px;
  margin-bottom: 0;
  scroll-margin-top: calc(var(--header-height) + 62px);
}

.category-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.category-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.category-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.products-grid {
  display: grid;
  gap: 10px;
}

.product-card {
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.product-trigger {
  min-height: 108px;
  align-items: stretch;
  gap: 12px;
  padding: 10px;
  text-align: start;
}

.product-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2px 0;
  margin-left: 0;
}

.product-name {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-description {
  display: -webkit-box;
  max-width: none;
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  margin-top: auto;
}

.product-price {
  gap: 4px;
  margin-top: 0;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.product-calories {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.product-image {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
}

.product-card--text-only .product-trigger {
  min-height: 60px;
  align-items: center;
}

.product-card--text-only .product-info {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
}

.product-card--text-only .product-meta {
  flex: 0 0 auto;
  padding-top: 0;
  margin-top: 0;
  margin-inline-start: auto;
}

.product-card--text-only .product-calories {
  margin-inline-start: 0;
}

.site-footer {
  padding: 24px 0 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-size: 15px;
  line-height: 1.3;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.footer-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: start;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.footer-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.sheet-dialog {
  width: min(100%, var(--shell-width));
  max-width: var(--shell-width);
  max-height: 100dvh;
}

.sheet-dialog::backdrop {
  background: rgba(26, 21, 18, 0.42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.sheet {
  max-height: calc(100dvh - 28px);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-md);
  animation: sheet-in 300ms var(--ease);
}

@keyframes sheet-in {
  from {
    transform: translateY(14px);
    opacity: 0.6;
  }
}

.compact-sheet::before {
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  margin: 10px auto 0;
  background: var(--line);
  content: "";
}

.dialog-close {
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.product-dialog-image {
  max-height: 46dvh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--brand-tint);
}

.product-dialog-content {
  padding: 18px var(--page-padding) 8px;
}

.product-dialog-heading h2 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.product-dialog-description {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.75;
}

.product-dialog-price {
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}

.compact-sheet {
  padding: 0 var(--page-padding) 8px;
}

.dialog-bar {
  margin: 0;
  padding: 8px 0;
}

.dialog-bar h2 {
  font-size: 17px;
}

.search-input {
  height: 46px;
  border-color: var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.search-input:focus {
  border-color: var(--brand-line);
  background: var(--brand-tint);
  outline: 0;
}

.search-results {
  gap: 0;
  margin-top: 12px;
}

.search-result {
  justify-content: flex-start;
  min-height: 68px;
  padding: 10px 0;
  text-align: start;
}

.search-result-image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: var(--radius-xs);
  background: var(--brand-tint);
  object-fit: cover;
}

.search-result-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.search-result-name {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.category-dialog-list,
.info-links {
  gap: 8px;
}

.category-dialog-link,
.info-links a,
.info-links button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-align: start;
}

.category-dialog-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

@media (hover: hover) {
  .icon-button:hover,
  .share-button:hover,
  .small-close:hover {
    background: var(--brand-tint);
    color: var(--brand);
  }

  .product-card:hover {
    border-color: var(--brand-line);
    box-shadow: var(--shadow-sm);
  }

  .footer-link:hover,
  .category-dialog-link:hover,
  .info-links a:hover,
  .info-links button:hover {
    border-color: var(--brand-line);
    background: var(--brand-tint);
    color: var(--brand);
  }
}

@media (max-width: 400px) {
  :root {
    --page-padding: 14px;
  }

  .restaurant-logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .restaurant-copy h1 {
    font-size: 19px;
  }

  .product-image {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  .product-trigger {
    min-height: 100px;
  }

  .product-card--text-only .product-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .product-card--text-only .product-meta {
    width: 100%;
    margin-inline-start: 0;
  }

  .product-card--text-only .product-calories {
    margin-inline-start: auto;
  }
}

@media (min-width: 768px) {
  :root {
    --page-padding: 24px;
  }

  body {
    padding-top: calc(var(--header-height) + 24px);
  }

  .site-header {
    top: 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .site-shell {
    min-height: auto;
    margin-bottom: 24px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 1px 3px rgba(26, 21, 18, 0.06);
  }
}

@media (min-width: 1024px) {
  :root {
    --shell-width: 960px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-image {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .product-trigger {
    min-height: 116px;
  }
}
