:root {
  color-scheme: dark;
  --accent: #da291c;
  --ink: #f5f5f5;
  --paper: #191919;
  --soft: #262626;
  --line: #363636;
  --muted: #b4b4b4;
  background: #111;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #111;
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(980px, 100%);
  min-height: 100vh;
  margin: 0 auto;
}

.menu-shell {
  position: relative;
  min-height: 100vh;
  padding: 14px clamp(14px, 3vw, 30px) 118px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03), 0 24px 70px rgba(0, 0, 0, .08);
}

.menu-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 8px 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.ghost {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ghost.right {
  justify-self: end;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hidden-brand {
  opacity: 0;
  pointer-events: none;
}

.hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
  gap: 22px;
  align-items: center;
  padding: 28px 0 18px;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 7vw, 72px);
  line-height: .95;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.mode-card small,
.product-row p,
.sent p {
  color: var(--muted);
  line-height: 1.45;
}

.panel-help {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.hero-food {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .18);
}

.start-screen {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 0 0 52px;
  text-align: center;
}

.start-logo {
  width: min(720px, 94%);
  height: 290px;
  border-radius: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 46px;
  font-weight: 900;
  box-shadow: none;
  overflow: visible;
}

.start-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.start-screen h1 {
  max-width: 720px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
}

.start-screen > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.service-choice {
  margin: 4px 0 10px;
}

.choice-copy {
  display: grid;
  gap: 10px;
  margin: 28px auto 0;
  text-align: center;
}

.choice-copy h1 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
}

.choice-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.order-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mode-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.mode-card.hot {
  background: #161616;
  color: #fff;
}

.mode-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.mode-card .mode-icon {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
}

.mode-card.hot .mode-icon {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.mode-card strong {
  font-size: 28px;
  text-transform: uppercase;
}

.panel,
.review,
.sent {
  width: min(680px, 100%);
  margin: 18px auto 0;
}

.panel h1,
.review h1,
.sent h1 {
  font-size: clamp(32px, 6vw, 56px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
  width: 100%;
}

.primary,
.secondary,
.cart-button,
.product-row button {
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  cursor: pointer;
  font-weight: 900;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.secondary {
  background: var(--soft);
  color: var(--ink);
}

.status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.menu-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 16px;
}

.menu-heading h1 {
  font-size: clamp(36px, 7vw, 76px);
}

.cart-button {
  background: #161616;
  color: #fff;
  white-space: nowrap;
}

.category-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 16px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.category-tabs button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-row {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.product-row:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .1);
}

.product-row img,
.image-fallback {
  width: 132px;
  height: 132px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.image-fallback {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
}

.product-row strong {
  display: block;
  font-size: 17px;
  line-height: 1.15;
}

.product-row p {
  margin: 6px 0;
  font-size: 13px;
}

.product-row .price {
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
}

.product-row button {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  background: #161616;
  color: #fff;
  padding: 9px 14px;
}

.extras-screen {
  width: min(860px, 100%);
  margin: 20px auto 0;
  display: grid;
  gap: 18px;
}

.extras-screen h1 {
  font-size: clamp(28px, 5vw, 48px);
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.extra-card {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.extra-card img,
.extra-card > span {
  width: 100%;
  max-width: 128px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.extra-card > span {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 34px;
  font-weight: 900;
}

.extra-card strong {
  font-size: 14px;
  line-height: 1.18;
}

.extra-card small {
  color: var(--accent);
  font-weight: 900;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.ad-banner {
  width: 100%;
  min-height: 290px;
  margin: clamp(44px, 8vw, 96px) 0 0;
  border: 2px solid #171717;
  border-radius: 0;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 34px);
  color: #171717;
  text-decoration: none;
}

.ad-banner span {
  color: #171717;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 1;
  font-weight: 400;
}

.image-ad {
  justify-content: start;
  gap: 24px;
}

.image-ad img {
  width: min(260px, 35%);
  max-height: 190px;
  object-fit: contain;
}

.image-ad div {
  min-width: 0;
}

.image-ad strong {
  display: block;
  color: #171717;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1;
}

.image-ad p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.adsense-banner {
  min-height: 90px;
  max-width: 100%;
  overflow: hidden;
  border-color: var(--line);
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.adsense-banner ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  overflow: hidden;
}

.adsense-banner ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.payment-box {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.payment-box strong {
  font-size: 17px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-options button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.payment-options button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.change-question {
  display: grid;
  gap: 8px;
}

.change-question > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sticky-total {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  width: min(920px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

.sticky-total div {
  display: grid;
  gap: 2px;
}

.sticky-total span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sticky-total strong {
  font-size: 20px;
}

.detail {
  width: min(900px, 100%);
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14);
}

.detail-body {
  display: grid;
  gap: 16px;
}

.detail-body h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.detail-body > strong {
  color: var(--accent);
  font-size: 24px;
}

.detail form {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.quartering-options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.quartering-options legend {
  padding: 0 4px;
  color: var(--ink);
  font-weight: 900;
}

.quartering-options p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quartering-options > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.quartering-choice {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.quartering-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.quartering-choice span {
  color: var(--ink);
  font-weight: 800;
}

.cart-lines {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--paper);
  display: grid;
  gap: 12px;
}

.cart-item > div:first-child,
.totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-item > div:first-child {
  flex-wrap: wrap;
}

.cart-item strong {
  font-size: 17px;
}

.cart-item > div:first-child small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cart-item span,
.totals dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.totals {
  display: grid;
  gap: 10px;
  margin: 12px 0 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.totals dt {
  color: var(--muted);
  font-weight: 800;
}

.totals .grand {
  color: var(--ink);
  font-size: 22px;
}

.review > h1 {
  color: var(--ink);
}

.sent {
  min-height: 70vh;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
}

.sent-logo {
  width: min(720px, 94vw);
  height: 290px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 46px;
  font-weight: 900;
  overflow: visible;
}

.sent-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sent-animation {
  width: 118px;
  height: 64px;
  margin: -20px auto 0;
  position: relative;
  display: none;
}

.sent-animation.visible {
  display: block;
}

.sent-animation::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 11px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 42%, #ddd);
}

.sent-animation span {
  position: absolute;
  bottom: 18px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--accent);
  animation: order-hop 1.25s ease-in-out infinite;
}

.sent-animation span:nth-child(1) {
  left: 16px;
}

.sent-animation span:nth-child(2) {
  left: 48px;
  animation-delay: .16s;
  background: #1f8f4d;
}

.sent-animation span:nth-child(3) {
  left: 80px;
  animation-delay: .32s;
}

@keyframes order-hop {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  42% {
    transform: translateY(-18px) scale(1.04);
  }
}

.order-status-card {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.order-status-card strong {
  color: var(--ink);
}

.order-status-card.cancelled {
  border-color: rgba(185, 28, 28, .25);
  background: #fff5f5;
}

.order-status-card small {
  color: var(--muted);
  font-weight: 900;
}

.status-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 0 2px;
}

.status-progress::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 31px;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
}

.status-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  text-align: center;
}

.status-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease;
}

.status-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-node small {
  width: min-content;
  min-width: 62px;
  color: currentColor;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 900;
}

.status-node.complete .status-icon {
  border-color: color-mix(in srgb, var(--accent) 40%, #fff);
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
}

.status-node.active {
  color: var(--accent);
}

.status-node.active .status-icon {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 28%, transparent);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.status-node.cancelled .status-icon {
  border-color: #b91c1c;
  background: #fee2e2;
  color: #b91c1c;
}

@keyframes status-pulse {
  0%, 100% {
    box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 20%, transparent);
  }
  50% {
    box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 36%, transparent);
  }
}

.restaurant-message-label,
.restaurant-message,
.cancelled-message {
  display: none;
}

.restaurant-message-label.visible {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.restaurant-message.visible {
  display: block;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cancelled-message.visible {
  display: block;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fee2e2;
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.customer-reply-form {
  display: none;
  gap: 10px;
}

.customer-reply-form.visible {
  display: grid;
}

.customer-reply-form label {
  display: grid;
  gap: 6px;
  text-align: left;
}

.customer-reply-form label span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.customer-reply-form textarea {
  min-height: 92px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.state {
  width: min(520px, calc(100% - 32px));
  margin: 22vh auto;
  padding: 24px;
  border-radius: 8px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .12);
}

@media (max-width: 760px) {
  .menu-shell {
    padding-bottom: 108px;
  }

  .hero,
  .detail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-food {
    aspect-ratio: 1.55 / 1;
  }

  .product-list,
  .order-type-grid,
  .extras-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .extras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-heading {
    align-items: start;
  }

  .cart-button {
    align-self: center;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

  .ad-banner {
    min-height: 190px;
    text-align: center;
  }

  .image-ad {
    flex-direction: column;
    justify-content: center;
  }

  .image-ad img {
    width: min(280px, 100%);
  }
}

@media (max-width: 460px) {
  .menu-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-row {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 126px;
  }

  .product-row img,
  .image-fallback {
    width: 92px;
    height: 92px;
  }

  .product-row button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sticky-total {
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .start-logo {
    width: min(390px, 96%);
    height: 190px;
  }

  .mode-card {
    min-height: 158px;
  }

  .mode-card .mode-icon {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }
}

/* Customer menu: photo-led browsing and persistent ordering controls. */
html { scroll-padding-top: 128px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.menu-shell { padding-top: 0; box-shadow: none; }
.menu-top { height: 64px; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 12px; background: #191919f5; border-color: var(--line); }
.ghost { min-width: 44px; min-height: 44px; padding: 8px; color: var(--ink); font-size: 22px; font-weight: 500; }
.ghost.right { font-size: 13px; }
.header-brand { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; font-size: 15px; font-weight: 600; }
.header-brand img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.header-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
h1, .detail-body h1, .choice-copy h1, .extras-screen h1 { font-size: clamp(25px, 4vw, 36px); line-height: 1.15; letter-spacing: -.6px; }
h2 { font-size: 21px; line-height: 1.2; letter-spacing: -.3px; margin: 0 0 16px; }
.eyebrow { color: #a8dfb6; letter-spacing: .8px; font-size: 11px; }
.restaurant-intro { padding: 24px 0 8px; }
.menu-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--soft); border-radius: 10px; margin: 20px 0 12px; }
.menu-search > span:not(.sr-only) { font-size: 28px; color: var(--ink); }
.menu-search input { border: 0; background: transparent; box-shadow: none; padding-left: 0; font-size: 14px; min-width: 0; }
.menu-search:focus-within { outline: 2px solid #ddd; }
.category-tabs { position: sticky; top: 64px; z-index: 19; background: var(--paper); gap: 22px; padding: 0; border-bottom: 1px solid var(--line); }
.category-tabs button { min-height: 52px; padding: 12px 0; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--muted); background: transparent; font-size: 13px; font-weight: 500; }
.category-tabs button.active { color: #fff; border-color: #fff; background: transparent; }
.menu-section { padding: 24px 0; border-bottom: 7px solid #242424; }
.menu-section:last-child { border-bottom: 0; }
.food-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 14px; }
.food-card { display: flex; flex-direction: column; align-items: stretch; gap: 5px; border: 0; padding: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; min-width: 0; }
.food-photo { position: relative; display: block; width: 100%; aspect-ratio: 1.12; background: var(--soft); border-radius: 10px; overflow: hidden; margin-bottom: 3px; }
.food-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.food-card:hover .food-photo img { transform: scale(1.035); }
.food-placeholder { display: grid; place-items: center; height: 100%; background: radial-gradient(ellipse at 30% 20%,#414139,#262626); color: #d1d1c4; }
.food-placeholder svg { width: 42px; height: 42px; opacity: .65; }
.food-add { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff60; border-radius: 50%; color: #fff; background: #191919; font-size: 25px; line-height: 1; box-shadow: 0 2px 10px #0005; }
.food-card strong { font-size: 15px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.food-price { color: #eee; font-size: 13px; }
.food-description { color: var(--muted); font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.empty-menu { padding: 45px 0; color: var(--muted); text-align: center; }
.primary { background: #f3f3f3; color: #171717; font-weight: 650; min-height: 48px; }
.secondary { min-height: 48px; font-weight: 600; }
.sticky-total { bottom: 0; width: min(980px,100%); padding: 12px 18px max(12px,env(safe-area-inset-bottom)); background: #191919f5; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -8px 24px #0003; }
.sticky-total strong { font-size: 17px; }
.sticky-total .primary { flex: 1; max-width: 380px; }
.detail { gap: 24px; margin-top: 18px; }
.detail-image { aspect-ratio: 1.35; border-radius: 10px; box-shadow: none; }
.detail-body { gap: 10px; }
.detail-body .eyebrow { display: none; }
.detail-body > p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.5; }
.detail-body > strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.detail form { border: 0; border-top: 1px solid var(--line); padding: 24px 0 0; border-radius: 0; margin-top: 12px; gap: 24px; }
.quartering-options { border: 0; background: transparent; border-radius: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.quartering-options legend { padding: 0; margin-bottom: 8px; font-size: 17px; font-weight: 650; }
.quartering-options p { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 5px; }
.required-badge { color: #e6e6e6; padding: 2px 6px; border-radius: 4px; background: #353535; font-size: 10px; white-space: nowrap; }
.quartering-options > div { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.quartering-choice { position: relative; flex-direction: column; justify-content: center; min-height: 106px; text-align: center; padding: 14px 5px 10px; gap: 8px; }
.quartering-choice:has(input:checked) { border-color: #fff; background: #363636; box-shadow: inset 0 0 0 1px #fff; }
.quartering-choice:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.quartering-choice input { position: absolute; right: 5px; top: 5px; width: 13px; height: 13px; margin: 0; accent-color: #fff; }
.quartering-choice span { font-weight: 500; font-size: 11px; line-height: 1.3; }
.quartering-choice .option-symbol { display: grid; place-items: center; width: 34px; height: 34px; background: #e8e8e2; border-radius: 6px; color: #555; font-size: 18px; }
.option-symbol img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.detail-quantity { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.quantity-stepper { display: flex; align-items: center; border-radius: 24px; background: var(--soft); }
.quantity-stepper button { width: 44px; height: 44px; background: transparent; color: var(--ink); border: 0; font-size: 24px; cursor: pointer; }
.quantity-stepper button:disabled { opacity: .35; }
.quantity-stepper input { width: 48px; padding: 8px 0; text-align: center; border: 0; background: transparent; appearance: textfield; -moz-appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button { appearance: none; }
.detail-action { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(980px,100%); z-index: 30; background: #191919f5; border-top: 1px solid var(--line); padding: 14px 18px max(14px,env(safe-area-inset-bottom)); }
.detail-action button { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.detail-action span { color: inherit; font-size: 15px; }
.status { color: #e4c8a7; }
.start-screen { min-height: 260px; padding: 36px 0 24px; gap: 24px; }
.start-logo { width: 110px; height: 110px; border-radius: 22px; overflow: hidden; background: var(--soft); }
.order-type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.mode-card { min-height: 165px; box-shadow: none; padding: 18px 10px; background: var(--soft); }
.mode-card.hot { background: var(--soft); border-color: var(--line); }
.mode-card .mode-icon { background: #383838; }
.mode-card small { font-size: 12px; font-weight: 400; }
.choice-copy h1 { font-size: 21px; }
.choice-copy p { font-size: 14px; font-weight: 400; }
.extra-card { align-content: start; box-shadow: none; text-align: left; justify-items: stretch; padding: 0; border: 0; background: transparent; }
.extra-card img, .extra-card > span { max-width: none; aspect-ratio: 1.12; }
.extra-card small { color: var(--ink); font-weight: 500; }
.panel, .review, .payment-screen, .sent { max-width: 680px; margin-left: auto; margin-right: auto; }
.cart-item, .payment-box { background: var(--soft); box-shadow: none; }
.payment-options button.active { color: #171717; background: #f3f3f3; border-color: #f3f3f3; }
label span, .customer-reply-form label span { color: #ccc; font-weight: 500; }
input, textarea, .customer-reply-form textarea { background: #242424; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #999; }
.state { background: var(--paper); }
.order-status-card, .totals { background: var(--soft); }
.restaurant-message.visible { background: #293c30; }
@media (max-width:760px) {
  .menu-shell { padding: 0 16px 120px; }
  .food-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 10px; }
  .detail { display: block; margin-top: 0; }
  .detail-image { width: calc(100% + 32px); max-width: none; margin-left: -16px; border-radius: 0; aspect-ratio: 1.6; }
  .detail-body { padding-top: 18px; }
  .detail-body h1 { font-size: 24px; }
  .restaurant-intro h1 { font-size: 27px; }
  .quartering-choice { min-height: 110px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.ad-banner, .ad-banner span, .image-ad strong { color: var(--ink); }
.ad-banner { border-color: var(--line); }
.order-status-card.cancelled { background: #382424; }
.status-node.complete .status-icon { background: #294232; color: #b5e8c1; border-color: #51745b; }

/* Preserve the complete logo, including wide restaurant wordmarks. */
.start-logo { width: min(340px, 82vw); height: 180px; border-radius: 0; background: transparent; overflow: visible; }
.start-logo img { object-fit: contain; }
.start-screen { min-height: 260px; padding: 32px 0; }
.welcome-shell .header-brand { visibility: hidden; }
.header-brand img { width: 46px; height: 40px; border-radius: 0; object-fit: contain; }
@media(max-width:460px) { .start-logo { width: min(300px,82vw); height: 160px; } }
.start-logo { display: flex; align-items: center; justify-content: center; }
.start-logo img { display: block; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }

/* Only recommendations scroll horizontally; existing category grids stay unchanged. */
.best-seller-row { display:flex; gap:14px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; padding:2px 2px 14px; }
.best-seller-row .food-card { flex:0 0 220px; min-width:0; scroll-snap-align:start; }
@media(max-width:600px) { .best-seller-row .food-card { flex-basis:68vw; max-width:260px; } }

/* Phones can request a wide desktop viewport. Keep two columns on touch devices too. */
@media (max-width:760px), (hover:none) and (pointer:coarse) {
  .food-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 10px; }
  .best-seller-row { gap:10px; }
  .best-seller-row .food-card { flex:0 0 calc((100% - 10px) / 2); max-width:none; }
}
/* Mobile-first customer ordering. Desktop is an enhancement of the phone layout. */
.menu-shell { width:100%; max-width:980px; padding:0 16px calc(112px + env(safe-area-inset-bottom)); }
.food-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; }
.restaurant-intro { padding:20px 0 8px; }
.restaurant-intro h1 { font-size:28px; line-height:1.2; }
.menu-search { min-height:52px; margin-top:16px; }
.menu-search input { font-size:16px; min-height:52px; }
.category-tabs { gap:10px; padding:8px 0; scrollbar-width:thin; scroll-padding-inline:12px; }
.category-tabs button { flex:none; min-height:44px; padding:10px 16px; border:1px solid var(--line); border-radius:24px; font-size:14px; }
.category-tabs button.active { color:var(--paper); background:var(--ink); border-color:var(--ink); }
.menu-section { padding:22px 0; border-bottom-width:1px; }
.menu-section h2 { font-size:22px; margin-bottom:16px; }
.food-photo { aspect-ratio:1; border-radius:14px; }
.food-card { gap:7px; }
.food-card strong { font-size:16px; line-height:1.35; }
.food-price { font-size:16px; font-weight:650; color:var(--ink); }
.food-description { font-size:13px; line-height:1.45; }
.food-add { width:42px; height:42px; right:8px; bottom:8px; }
.best-seller-row { gap:12px; }
.best-seller-row .food-card { flex:0 0 calc((100% - 12px) / 2); max-width:none; }
input, select, textarea, .customer-reply-form textarea { font-size:16px; }
input:not([type=radio]):not([type=checkbox]), select { min-height:48px; }
.quantity-stepper input { min-height:44px; }
.quartering-options > div { grid-template-columns:repeat(2,minmax(0,1fr)); }
.quartering-choice span { font-size:14px; }
.quartering-choice input { width:18px; height:18px; }
.required-badge { font-size:12px; }
.detail-action, .sticky-total { padding:12px 16px max(12px,env(safe-area-inset-bottom)); }
.detail-action button, .sticky-total .primary { min-height:52px; font-size:16px; }
.sticky-total { gap:12px; }
.sticky-total strong { font-size:16px; }
.detail-action span { font-size:16px; }
@media (min-width:900px) and (hover:hover) and (pointer:fine) {
  .menu-shell { padding-inline:28px; }
  .food-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 20px; }
  .best-seller-row .food-card { flex-basis:220px; }
  .quartering-options > div { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .restaurant-intro h1 { font-size:34px; }
}
@media (max-width:360px) {
  .menu-shell { padding-inline:12px; }
  .food-grid { column-gap:10px; }
  .food-card strong, .food-price { font-size:15px; }
}
.tracking-code { margin: 16px 0; padding: 16px; border: 1px solid var(--border, #555); border-radius: 16px; }
.tracking-code strong { font-size: 24px; letter-spacing: .12em; }
.tracking-code p { font-size: 14px; line-height: 1.5; }
#trackingCodeField[hidden] { display: none; }

/* Advertising stays in document flow, separate from ordering controls. */
#trofu-ad-slot { margin-top: 24px; }
#trofu-ad-slot:empty { display: none; }
#trofu-ad-slot .image-ad { position: relative; padding-top: 30px; text-decoration: none; }
#trofu-ad-slot .image-ad > small { position: absolute; top: 9px; left: 14px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
#trofu-ad-slot .image-ad img { object-fit: contain; max-height: 140px; }
#trofu-ad-slot .ad-cta { display: inline-block; margin-top: 8px; font-weight: 700; }
