:root {
  color-scheme: light;
  --order-bg: #f3f6f4;
  --order-surface: #ffffff;
  --order-surface-soft: #e9efec;
  --order-ink: #17211e;
  --order-muted: #61706a;
  --order-dim: #87928e;
  --order-line: #d8dfdc;
  --order-brand: #175c4d;
  --order-brand-dark: #17372f;
  --order-brand-soft: #dcebe6;
  --order-coral: #ff7557;
  --order-coral-soft: #fff0ec;
  --order-blue: #3c69a8;
  --order-blue-soft: #edf3fb;
  --order-amber: #9a6513;
  --order-amber-soft: #fff5df;
  --order-red: #b83b3b;
  --order-radius: 8px;
  --order-shadow: 0 14px 36px rgba(23, 55, 47, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body.ordering-app-page,
body.ordering-product-page {
  margin: 0;
  min-height: 100vh;
  background: var(--order-bg);
  color: var(--order-ink);
  font-family: inherit;
}

body.ordering-product-page {
  background: #fff;
}

.ordering-app-page button,
.ordering-app-page input,
.ordering-app-page textarea,
.ordering-app-page select,
.ordering-product-page button,
.ordering-product-page input,
.ordering-product-page textarea,
.ordering-product-page select {
  font: inherit;
}

.ordering-app-page a,
.ordering-product-page a {
  color: inherit;
  text-decoration: none;
}

.ordering-app-page h1,
.ordering-app-page h2,
.ordering-app-page h3,
.ordering-app-page h4,
.ordering-app-page p,
.ordering-product-page h1,
.ordering-product-page h2,
.ordering-product-page h3,
.ordering-product-page p {
  overflow-wrap: anywhere;
}

.ordering-app-page h1,
.ordering-app-page h2,
.ordering-app-page h3,
.ordering-app-page h4,
.ordering-app-page p,
.ordering-product-page h1,
.ordering-product-page h2,
.ordering-product-page h3,
.ordering-product-page p {
  margin-top: 0;
}

.ordering-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--order-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.ordering-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.ordering-brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.ordering-brand > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.ordering-brand strong {
  color: var(--order-brand-dark);
  font-size: 15px;
  line-height: 1.2;
}

.ordering-brand small {
  color: var(--order-muted);
  font-size: 11px;
  line-height: 1.2;
}

.ordering-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--order-muted);
  font-size: 14px;
  font-weight: 700;
}

.ordering-header-nav a,
.ordering-header-nav button {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ordering-header-nav a:hover,
.ordering-header-nav a:focus-visible,
.ordering-header-nav a[aria-current="page"] {
  color: var(--order-brand);
}

.ordering-nav-cta {
  padding: 9px 13px;
  border: 1px solid var(--order-brand);
  border-radius: var(--order-radius);
  color: var(--order-brand) !important;
}

.ordering-cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  place-items: center;
  border-radius: 50%;
  background: var(--order-brand-dark);
  color: #fff;
  font-size: 11px;
}

.ordering-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: var(--order-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ordering-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22a26f;
  box-shadow: 0 0 0 4px rgba(34, 162, 111, 0.12);
}

.ordering-app-page .button,
.ordering-product-page .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--order-radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.ordering-app-page .button:hover,
.ordering-product-page .button:hover {
  transform: translateY(-1px);
}

.ordering-app-page .button:focus-visible,
.ordering-product-page .button:focus-visible,
.ordering-app-page button:focus-visible,
.ordering-product-page button:focus-visible,
.ordering-app-page input:focus-visible,
.ordering-app-page textarea:focus-visible,
.ordering-app-page select:focus-visible {
  outline: 3px solid rgba(60, 105, 168, 0.28);
  outline-offset: 2px;
}

.ordering-app-page .button:disabled,
.ordering-product-page .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.ordering-app-page .button.primary,
.ordering-product-page .button.primary {
  background: var(--order-brand-dark);
  color: #fff;
  box-shadow: 0 7px 16px rgba(23, 55, 47, 0.16);
}

.ordering-app-page .button.primary:hover,
.ordering-product-page .button.primary:hover {
  background: #0f4d40;
}

.ordering-app-page .button.secondary,
.ordering-product-page .button.secondary {
  border-color: var(--order-line);
  background: var(--order-surface);
  color: var(--order-ink);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--order-brand);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

/* Standalone product page */

.ordering-product-page main,
.ordering-product-page .ordering-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ordering-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.78fr);
  gap: 72px;
  align-items: center;
  min-height: 680px;
  padding: 80px 0;
}

.ordering-product-hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: #16211e;
  font-size: 64px;
  line-height: 1.02;
}

.ordering-product-lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--order-muted);
  font-size: 19px;
  line-height: 1.65;
}

.ordering-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ordering-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--order-muted);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.ordering-trust-list li::before {
  margin-right: 7px;
  color: var(--order-brand);
  content: "\2713";
  font-weight: 900;
}

.ordering-product-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #cfd8d4;
  border-radius: var(--order-radius);
  background: var(--order-bg);
  box-shadow: 24px 28px 0 var(--order-brand-soft);
}

.ordering-preview-topbar,
.ordering-preview-footer,
.ordering-preview-order header,
.ordering-preview-customer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ordering-preview-topbar {
  padding: 4px 2px 10px;
  color: var(--order-brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.ordering-preview-topbar span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ordering-preview-topbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a26f;
}

.ordering-preview-topbar > strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--order-coral-soft);
  color: #aa3f2b;
  font-size: 11px;
}

.ordering-preview-order {
  padding: 16px;
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: #fff;
}

.ordering-preview-order.is-new {
  border-left: 4px solid var(--order-coral);
}

.ordering-preview-order header > div {
  display: grid;
  gap: 3px;
}

.ordering-preview-order header small,
.ordering-preview-order p,
.ordering-preview-footer {
  color: var(--order-muted);
  font-size: 12px;
}

.ordering-preview-order header > span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--order-amber-soft);
  color: var(--order-amber);
  font-size: 11px;
  font-weight: 800;
}

.ordering-preview-customer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #edf0ee;
  font-size: 14px;
}

.ordering-preview-order p {
  margin: 9px 0 0;
}

.ordering-preview-footer {
  padding: 5px 2px 0;
}

.ordering-preview-footer a {
  color: var(--order-brand);
  font-weight: 800;
}

.ordering-channel-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: var(--order-brand-dark);
  color: #fff;
}

.ordering-channel-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  padding: 26px;
}

.ordering-channel-strip > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ordering-channel-strip span {
  grid-row: 1 / 3;
  color: var(--order-coral);
  font-size: 24px;
  font-weight: 800;
}

.ordering-channel-strip strong {
  font-size: 16px;
}

.ordering-channel-strip small {
  color: #b9cbc5;
  font-size: 12px;
}

.ordering-product-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--order-line);
}

.ordering-product-section-heading {
  display: grid;
  max-width: 730px;
  gap: 8px;
  margin-bottom: 38px;
}

.ordering-product-section-heading h2,
.ordering-business-focus h2,
.ordering-final-cta h2 {
  margin-bottom: 0;
  color: var(--order-ink);
  font-size: 42px;
  line-height: 1.08;
}

.ordering-product-section-heading > p:not(.ordering-eyebrow),
.ordering-queue-heading > p,
.ordering-business-focus > p:not(.ordering-eyebrow),
.ordering-final-cta p {
  margin-bottom: 0;
  color: var(--order-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ordering-feature-grid,
.ordering-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ordering-feature {
  padding: 30px;
  border: 1px solid var(--order-line);
  border-top: 4px solid var(--order-brand);
  border-radius: var(--order-radius);
  background: var(--order-surface);
}

.ordering-feature-phone {
  border-top-color: var(--order-blue);
}

.ordering-feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: var(--order-radius);
  background: var(--order-brand-soft);
  color: var(--order-brand);
  font-weight: 900;
}

.ordering-feature-phone .ordering-feature-icon {
  background: var(--order-blue-soft);
  color: var(--order-blue);
}

.ordering-feature-label {
  margin-bottom: 8px;
  color: var(--order-brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ordering-feature h3 {
  max-width: 420px;
  margin-bottom: 22px;
  font-size: 25px;
  line-height: 1.22;
}

.ordering-feature ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--order-muted);
  line-height: 1.5;
  list-style: none;
}

.ordering-feature li {
  position: relative;
  padding-left: 25px;
}

.ordering-feature li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--order-brand);
  content: "\2713";
  font-weight: 900;
}

.ordering-flow-section {
  background: var(--order-bg);
  box-shadow: 0 0 0 100vmax var(--order-bg);
  clip-path: inset(0 -100vmax);
}

.ordering-workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ordering-workflow li {
  position: relative;
  display: grid;
  min-height: 110px;
  align-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.ordering-workflow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 2;
  width: 10px;
  height: 1px;
  background: var(--order-brand);
  content: "";
}

.ordering-workflow span {
  color: var(--order-coral);
  font-size: 22px;
}

.ordering-queue-heading {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
}

.ordering-order-card {
  padding: 22px;
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: var(--order-surface);
  box-shadow: var(--order-shadow);
}

.ordering-order-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--order-line);
}

.ordering-order-card header div {
  display: grid;
  gap: 4px;
}

.ordering-order-card h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.ordering-order-card header span {
  color: var(--order-muted);
  font-size: 12px;
}

.ordering-order-card header > strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--order-amber-soft);
  color: var(--order-amber);
  font-size: 11px;
}

.ordering-order-card dl {
  display: grid;
  margin: 0;
}

.ordering-order-card dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0ee;
}

.ordering-order-card dl div:last-child {
  border-bottom: 0;
}

.ordering-order-card dt {
  color: var(--order-dim);
  font-size: 12px;
  font-weight: 800;
}

.ordering-order-card dd {
  margin: 0;
  line-height: 1.45;
}

.ordering-business-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 54px 0;
  border-bottom: 1px solid var(--order-line);
}

.ordering-business-focus .ordering-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.ordering-business-focus h2 {
  font-size: 34px;
}

.ordering-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin: 80px 0;
  padding: 48px;
  border-radius: var(--order-radius);
  background: var(--order-brand-dark);
}

.ordering-final-cta h2,
.ordering-final-cta .ordering-eyebrow {
  color: #fff;
}

.ordering-final-cta p {
  margin-bottom: 20px;
  color: #c5d4cf;
}

.ordering-final-cta .button.primary {
  background: var(--order-coral);
  color: #2f160f;
}

.ordering-final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

/* Customer ordering app */

.ordering-app-page main,
.ordering-app-page .ordering-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.ordering-customer-main {
  padding-bottom: 80px;
}

.ordering-customer-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 0 34px;
  border-bottom: 1px solid var(--order-line);
}

.ordering-customer-hero h1,
.ordering-admin-heading h1 {
  margin-bottom: 12px;
  color: var(--order-brand-dark);
  font-size: 44px;
  line-height: 1.05;
}

.ordering-customer-hero > div > p:not(.ordering-eyebrow),
.ordering-admin-heading p,
.ordering-login-panel > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--order-muted);
  line-height: 1.6;
}

.ordering-service-note {
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: var(--order-surface);
}

.ordering-service-note div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ordering-service-note strong {
  font-size: 14px;
}

.ordering-service-note p {
  margin: 5px 0 0 17px;
  color: var(--order-muted);
  font-size: 12px;
}

.ordering-customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 24px;
  align-items: start;
  padding-top: 34px;
}

.ordering-menu-panel,
.ordering-cart-panel {
  min-width: 0;
}

.ordering-section-heading-inline,
.ordering-cart-heading,
.ordering-menu-item-footer,
.ordering-menu-admin-card-heading,
.ordering-admin-order-header,
.ordering-admin-toolbar,
.ordering-order-actions,
.ordering-form-actions,
.ordering-menu-card-actions {
  display: flex;
  align-items: center;
}

.ordering-section-heading-inline,
.ordering-cart-heading,
.ordering-menu-item-footer,
.ordering-menu-admin-card-heading,
.ordering-admin-order-header,
.ordering-order-actions {
  justify-content: space-between;
}

.ordering-section-heading-inline,
.ordering-cart-heading {
  gap: 16px;
  margin-bottom: 12px;
}

.ordering-section-heading-inline h2,
.ordering-cart-heading h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.15;
}

.ordering-refresh-button {
  min-height: 38px !important;
  font-size: 13px;
}

.ordering-inline-status,
.ordering-form-status {
  min-height: 20px;
  margin: 0;
  color: var(--order-dim);
  font-size: 13px;
  line-height: 1.4;
}

.ordering-inline-status.error,
.ordering-form-status.error {
  color: var(--order-red);
}

.ordering-form-status.success {
  color: var(--order-brand);
}

.ordering-category-nav {
  display: flex;
  gap: 6px;
  margin: 8px 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.ordering-category-nav a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: var(--order-surface);
  color: var(--order-muted);
  font-size: 12px;
  font-weight: 800;
}

.ordering-category-nav a:first-child {
  border-color: var(--order-brand);
  background: var(--order-brand-soft);
  color: var(--order-brand);
}

.ordering-menu-categories,
.ordering-menu-category,
.ordering-cart-items,
.ordering-checkout-form,
.ordering-admin-list,
.ordering-menu-admin-list {
  display: grid;
  gap: 14px;
}

.ordering-menu-category {
  gap: 11px;
  scroll-margin-top: 92px;
}

.ordering-menu-category + .ordering-menu-category {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--order-line);
}

.ordering-menu-category h3 {
  margin: 0;
  color: var(--order-brand-dark);
  font-size: 18px;
}

.ordering-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ordering-menu-item,
.ordering-cart-panel,
.ordering-login-panel,
.ordering-menu-form-panel,
.ordering-menu-admin-card,
.ordering-admin-order {
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  background: var(--order-surface);
}

.ordering-menu-item {
  display: grid;
  min-height: 166px;
  align-content: space-between;
  gap: 18px;
  padding: 17px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ordering-menu-item:hover {
  border-color: #aebdb7;
  box-shadow: var(--order-shadow);
}

.ordering-menu-item.is-unavailable,
.ordering-menu-admin-card.is-unavailable {
  opacity: 0.58;
}

.ordering-menu-item-body {
  display: grid;
  gap: 7px;
}

.ordering-menu-item h4 {
  margin: 0;
  font-size: 16px;
}

.ordering-menu-item p,
.ordering-menu-admin-card p {
  margin: 0;
  color: var(--order-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ordering-menu-item-footer {
  gap: 16px;
}

.ordering-item-price {
  color: var(--order-brand-dark);
  font-size: 16px;
}

.ordering-add-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--order-brand-dark);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ordering-add-button:disabled {
  border-radius: var(--order-radius);
  background: var(--order-surface-soft);
  color: var(--order-muted);
  font-size: 11px;
  font-weight: 800;
}

.ordering-unavailable-label {
  padding: 6px 8px;
  border-radius: var(--order-radius);
  background: var(--order-surface-soft);
  color: var(--order-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ordering-cart-panel {
  position: sticky;
  top: 90px;
  padding: 19px;
  box-shadow: var(--order-shadow);
}

.ordering-cart-item {
  display: grid;
  gap: 10px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--order-line);
}

.ordering-cart-item-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.ordering-cart-item-heading h3 {
  margin: 0;
  font-size: 14px;
}

.ordering-cart-item-heading span {
  display: block;
  margin-top: 3px;
  color: var(--order-dim);
  font-size: 11px;
}

.ordering-cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ordering-quantity-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--order-line);
  border-radius: 50%;
  background: var(--order-surface);
  color: var(--order-ink);
  font-size: 18px;
  cursor: pointer;
}

.ordering-cart-quantity {
  min-width: 18px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.ordering-cart-controls .text-button {
  margin-left: auto;
}

.ordering-item-notes,
.ordering-checkout-form label,
.ordering-menu-form-panel label,
.ordering-admin-toolbar label,
.ordering-order-actions label,
.ordering-login-panel label {
  display: grid;
  gap: 6px;
  color: var(--order-ink);
  font-size: 13px;
  font-weight: 800;
}

.ordering-item-notes span,
.ordering-checkout-form label > span {
  color: var(--order-dim);
  font-size: 11px;
}

.ordering-app-page input,
.ordering-app-page textarea,
.ordering-app-page select {
  width: 100%;
  border: 1px solid #cbd5d1;
  border-radius: var(--order-radius);
  background: #fff;
  color: var(--order-ink);
}

.ordering-app-page input,
.ordering-app-page select {
  min-height: 42px;
  padding: 0 11px;
}

.ordering-app-page textarea {
  min-height: 70px;
  padding: 10px 11px;
  resize: vertical;
}

.ordering-totals {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 15px 0;
  border-top: 1px solid var(--order-line);
  border-bottom: 1px solid var(--order-line);
}

.ordering-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ordering-totals dt {
  color: var(--order-muted);
  font-size: 13px;
}

.ordering-totals dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.ordering-total-row {
  padding-top: 5px;
  color: var(--order-ink);
}

.ordering-total-row dt,
.ordering-total-row dd {
  color: var(--order-ink);
  font-size: 17px;
}

.ordering-pickup-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ordering-pickup-fieldset legend {
  width: 100%;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 800;
}

.ordering-radio,
.ordering-checkbox {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.ordering-radio input,
.ordering-checkbox input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--order-brand);
}

.ordering-payment-note {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid #c8d7ec;
  border-radius: var(--order-radius);
  background: var(--order-blue-soft);
}

.ordering-payment-note strong {
  font-size: 13px;
}

.ordering-payment-note span {
  color: #4c6485;
  font-size: 12px;
}

.ordering-submit-order {
  width: 100%;
}

.ordering-empty-state {
  margin: 0;
  padding: 18px;
  border: 1px dashed #bbc7c2;
  border-radius: var(--order-radius);
  color: var(--order-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.ordering-confirmation {
  margin-top: 26px;
  padding: 32px;
  border: 1px solid #9ac8b8;
  border-left: 5px solid var(--order-brand);
  border-radius: var(--order-radius);
  background: #f0faf6;
}

.ordering-confirmation h2 {
  max-width: 560px;
  margin-bottom: 10px;
  font-size: 28px;
}

.ordering-confirmation h2 span {
  color: var(--order-brand);
}

.ordering-confirmation > p:not(.ordering-eyebrow) {
  color: var(--order-muted);
}

.ordering-mobile-order-bar {
  display: none;
}

/* Staff workspace */

.ordering-login-main {
  display: grid;
  min-height: calc(100vh - 68px);
  place-items: center;
  padding: 40px 20px;
  background: var(--order-brand-dark);
}

.ordering-login-panel {
  width: min(100%, 430px);
  padding: 30px;
  box-shadow: 0 24px 70px rgba(8, 27, 22, 0.28);
}

.ordering-login-mark {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
}

.ordering-login-panel h1 {
  margin-bottom: 10px;
  font-size: 32px;
}

.ordering-login-panel form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.ordering-admin-main {
  padding: 36px 0 64px;
}

.ordering-admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--order-line);
}

.ordering-admin-heading h1 {
  font-size: 38px;
}

.ordering-new-count {
  display: grid;
  min-width: 150px;
  gap: 2px;
  padding: 13px 15px;
  border: 1px solid #f0c5bb;
  border-radius: var(--order-radius);
  background: var(--order-coral-soft);
}

.ordering-new-count span {
  color: #9a4a38;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ordering-new-count strong {
  color: #9b3e2a;
  font-size: 26px;
}

.ordering-admin-toolbar {
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
}

.ordering-admin-toolbar label {
  min-width: 160px;
}

.ordering-admin-toolbar .button {
  min-height: 42px;
  margin-top: 19px;
}

.ordering-admin-toolbar .ordering-inline-status {
  margin: 19px 0 0 auto;
}

.ordering-admin-list {
  gap: 12px;
}

.ordering-admin-order {
  overflow: hidden;
}

.ordering-admin-order.is-new {
  border-left: 5px solid var(--order-coral);
}

.ordering-admin-order-header,
.ordering-order-summary,
.ordering-admin-order-items,
.ordering-order-actions {
  padding: 14px 16px;
}

.ordering-admin-order-header {
  gap: 16px;
  border-bottom: 1px solid var(--order-line);
}

.ordering-admin-order-header h2 {
  margin: 0;
  font-size: 19px;
}

.ordering-admin-order-header p {
  margin: 3px 0 0;
  color: var(--order-dim);
  font-size: 11px;
}

.ordering-source-badge,
.ordering-availability {
  display: inline-flex;
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid var(--order-line);
  border-radius: var(--order-radius);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-website,
.ordering-availability.available {
  border-color: #a8cdbf;
  background: var(--order-brand-soft);
  color: var(--order-brand);
}

.source-phone {
  border-color: #b8cce6;
  background: var(--order-blue-soft);
  color: var(--order-blue);
}

.ordering-availability.unavailable {
  border-color: #e4cfa6;
  background: var(--order-amber-soft);
  color: var(--order-amber);
}

.ordering-order-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-bottom: 1px solid var(--order-line);
  background: #fafbfa;
}

.ordering-order-summary div {
  display: grid;
  gap: 3px;
}

.ordering-order-summary span {
  color: var(--order-dim);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ordering-order-summary strong {
  font-size: 13px;
}

.ordering-admin-order-items h3 {
  margin-bottom: 9px;
  font-size: 13px;
}

.ordering-admin-order-items ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ordering-admin-order-items li {
  padding-bottom: 8px;
  border-bottom: 1px solid #edf0ee;
  font-size: 13px;
}

.ordering-admin-item-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ordering-kitchen-note {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-left: 3px solid #d89a32;
  background: var(--order-amber-soft);
  color: #6f4b13;
  font-size: 12px;
  line-height: 1.45;
}

.ordering-order-note {
  margin-top: 10px;
}

.ordering-order-actions {
  gap: 16px;
  border-top: 1px solid var(--order-line);
  background: #fafbfa;
}

.ordering-order-actions label {
  width: min(100%, 200px);
}

.ordering-updated-label {
  color: var(--order-dim);
  font-size: 11px;
}

.ordering-menu-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 24px;
}

.ordering-menu-form-panel {
  position: sticky;
  top: 88px;
  padding: 18px;
}

.ordering-menu-form-panel h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.ordering-menu-form-panel form {
  display: grid;
  gap: 12px;
}

.ordering-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.ordering-form-actions,
.ordering-menu-card-actions {
  flex-wrap: wrap;
  gap: 7px;
}

.ordering-menu-admin-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.ordering-menu-admin-card-heading {
  gap: 16px;
}

.ordering-menu-admin-card-heading h3 {
  margin: 0;
  font-size: 15px;
}

.ordering-menu-admin-card-heading span {
  display: block;
  margin-top: 3px;
  color: var(--order-dim);
  font-size: 11px;
}

.ordering-menu-card-actions .button {
  min-height: 36px;
  padding-inline: 10px;
  font-size: 11px;
}

.ordering-danger-button {
  border: 1px solid #e0b3b3;
  background: #fff2f2;
  color: var(--order-red);
}

.ordering-signout {
  color: var(--order-muted);
}

.ordering-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--order-line);
  color: var(--order-muted);
  font-size: 12px;
}

.ordering-footer p {
  margin: 0;
}

.ordering-footer a {
  color: var(--order-brand);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .ordering-product-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
  }

  .ordering-product-hero-copy {
    max-width: 780px;
  }

  .ordering-product-preview {
    width: min(100%, 680px);
  }

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

  .ordering-workflow li:not(:last-child)::after {
    display: none;
  }

  .ordering-customer-layout,
  .ordering-menu-admin-layout {
    grid-template-columns: 1fr;
  }

  .ordering-cart-panel,
  .ordering-menu-form-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .ordering-header {
    min-height: 62px;
    padding: 10px 16px;
  }

  .ordering-brand img {
    width: 36px;
    height: 36px;
  }

  .ordering-brand small {
    display: none;
  }

  .ordering-header-nav {
    gap: 13px;
    font-size: 12px;
  }

  .ordering-product-page .ordering-header-nav a:first-child {
    display: none;
  }

  .ordering-nav-cta {
    padding: 7px 9px;
  }

  .ordering-product-page main,
  .ordering-product-page .ordering-footer,
  .ordering-app-page main,
  .ordering-app-page .ordering-footer {
    width: min(100% - 28px, 1240px);
  }

  .ordering-product-hero {
    padding: 56px 0 70px;
  }

  .ordering-product-hero h1 {
    font-size: 44px;
  }

  .ordering-product-lead {
    font-size: 17px;
  }

  .ordering-channel-strip,
  .ordering-feature-grid,
  .ordering-card-grid,
  .ordering-queue-heading,
  .ordering-business-focus,
  .ordering-final-cta {
    grid-template-columns: 1fr;
  }

  .ordering-channel-strip > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .ordering-product-section {
    padding: 68px 0;
  }

  .ordering-product-section-heading h2,
  .ordering-final-cta h2 {
    font-size: 34px;
  }

  .ordering-business-focus {
    gap: 18px;
  }

  .ordering-business-focus .ordering-eyebrow {
    margin-bottom: 0;
  }

  .ordering-final-cta {
    gap: 24px;
    margin: 54px 0;
    padding: 28px;
  }

  .ordering-customer-hero,
  .ordering-admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ordering-customer-hero {
    padding: 36px 0 26px;
  }

  .ordering-customer-hero h1 {
    font-size: 36px;
  }

  .ordering-service-note,
  .ordering-new-count {
    min-width: 0;
  }

  .ordering-menu-grid {
    grid-template-columns: 1fr;
  }

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

  .ordering-menu-item {
    min-height: 0;
  }

  .ordering-admin-toolbar .ordering-inline-status {
    width: 100%;
    margin: 0;
  }

  .ordering-mobile-order-bar:not([hidden]) {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 40;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 16px;
    border: 0;
    border-radius: var(--order-radius);
    background: var(--order-brand-dark);
    color: #fff;
    box-shadow: 0 16px 34px rgba(23, 55, 47, 0.28);
    font-weight: 800;
  }

  .ordering-mobile-order-bar > span:first-child {
    display: grid;
    gap: 1px;
    text-align: left;
  }

  .ordering-mobile-order-bar small {
    color: #bdd0ca;
    font-size: 11px;
  }

  .ordering-customer-main {
    padding-bottom: 100px;
  }
}

@media (max-width: 520px) {
  .ordering-brand strong {
    font-size: 13px;
  }

  .ordering-app-page:not(.ordering-admin-page) .ordering-header-nav a:first-child,
  .ordering-admin-page .ordering-header-nav a[target="_blank"] {
    display: none;
  }

  .ordering-product-page .ordering-header-nav .ordering-nav-cta {
    font-size: 11px;
  }

  .ordering-product-page .ordering-header-nav a:not(.ordering-nav-cta) {
    display: none;
  }

  .ordering-product-hero h1 {
    font-size: 38px;
  }

  .ordering-product-preview {
    padding: 12px;
    box-shadow: 12px 14px 0 var(--order-brand-soft);
  }

  .ordering-product-preview .ordering-preview-order + .ordering-preview-order,
  .ordering-product-preview .ordering-preview-footer {
    display: none;
  }

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

  .ordering-feature {
    padding: 22px;
  }

  .ordering-customer-layout {
    padding-top: 24px;
  }

  .ordering-section-heading-inline,
  .ordering-cart-item-heading,
  .ordering-admin-order-header,
  .ordering-order-actions,
  .ordering-menu-admin-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ordering-refresh-button {
    align-self: flex-start;
  }

  .ordering-form-row {
    grid-template-columns: 1fr;
  }

  .ordering-order-actions label {
    width: 100%;
  }

  .ordering-updated-label {
    align-self: flex-start;
  }

  .ordering-admin-toolbar label {
    width: calc(50% - 5px);
    min-width: 0;
  }

  .ordering-admin-toolbar .button {
    width: 100%;
    margin-top: 0;
  }

  .ordering-login-panel {
    padding: 24px;
  }

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

  .ordering-footer {
    flex-wrap: wrap;
  }
}
