:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --surface: #ffffff;
  --soft: #f7faf7;
  --brand: #ed1c24;
  --brand-dark: #b9121b;
  --accent: #ffd85d;
  --shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
  --display-font: Montserrat, Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfcfb;
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  flex: 0 0 auto;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: 8px;
  color: #374151;
  font-weight: 750;
}

.main-nav a {
  border-radius: 10px;
  padding: 8px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--brand);
}

.main-nav a.is-active {
  background: #fff1f2;
  font-weight: 900;
}

.scroll-mt-24 {
  scroll-margin-top: 96px;
}

.header-cta,
.primary-btn,
.secondary-btn,
.add-btn,
.filter-btn {
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 850;
}

.header-cta,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(237, 28, 36, 0.22);
}

.header-cta:hover,
.primary-btn:hover {
  background: var(--brand-dark);
}

.primary-btn:disabled,
.secondary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  box-shadow: none;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #cbd5cf;
  background: #fff;
}

.full-width {
  width: 100%;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(38px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 10% 20%, rgba(237, 28, 36, 0.08), transparent 32%),
    linear-gradient(135deg, #fffaf0 0%, #fff 54%, #fff7de 100%);
}

.hero-copy h1 {
  max-width: 740px;
  margin: 12px 0 16px;
  font-family: var(--display-font);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  border: 1px solid #d8e9dc;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #7f1d1d;
  font-size: 13px;
  font-weight: 800;
}

.hero-media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-media img {
  display: block;
  width: 100%;
  height: min(560px, 56vw);
  min-height: 360px;
  object-fit: cover;
}

.quick-info,
.steps-grid,
.quality-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-info {
  padding: 0 clamp(18px, 5vw, 72px) 40px;
  margin-top: -20px;
}

.quick-info article,
.steps-grid article,
.quality-cards article,
.menu-card,
.cart-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.quick-info article {
  padding: 18px;
}

.quick-info strong,
.quick-info span,
.quality-cards strong,
.quality-cards span,
.contact-card strong,
.contact-card span {
  display: block;
}

.quick-info strong,
.quality-cards strong,
.contact-card strong {
  margin-bottom: 6px;
}

.quick-info span,
.quality-cards span,
.contact-card span {
  color: var(--muted);
  line-height: 1.55;
}

.menu-section,
.steps-section,
.quality-section,
.ai-section,
.contact-section {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.quality-copy h2,
.contact-section h2 {
  margin: 8px 0 8px;
  font-family: var(--display-font);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p,
.quality-copy p,
.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.menu-summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.menu-summary span,
.menu-summary strong,
.cart-count {
  border: 1px solid #d8e9dc;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff;
  color: #7f1d1d;
  font-size: 13px;
}

.cart-count {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 58px;
}

.cart-count strong {
  color: inherit;
  font-size: 14px;
}

.menu-tools {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.search-box span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 850;
}

.search-box input {
  width: 100%;
  height: 48px;
  border: 1px solid #ccd7cf;
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  outline: none;
}

.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d8e2db;
  padding: 10px 13px;
  background: #fff;
  color: #374151;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: #f4b4b8;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.09);
}

.filter-icon {
  font-size: 16px;
  line-height: 1;
}

.filter-btn.is-active {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(237, 28, 36, 0.22);
  color: #fff;
}

.filter-btn.is-active:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 16px;
}

.menu-grid.is-animating .menu-card,
.menu-grid.is-animating .no-results {
  animation: menuFadeIn 0.24s ease both;
}

@keyframes menuFadeIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.menu-card {
  overflow: hidden;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-photo,
.skeleton-line {
  display: block;
  border-radius: 12px;
  background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 48%, #eef2f7 100%);
  background-size: 220% 100%;
  animation: skeletonShimmer 1.1s ease-in-out infinite;
}

.skeleton-photo {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.skeleton-line {
  height: 13px;
  margin-top: 11px;
}

.skeleton-line.short {
  width: 38%;
}

.skeleton-line.medium {
  width: 64%;
}

@keyframes skeletonShimmer {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

.no-results {
  grid-column: 1 / -1;
  border: 1px dashed #cbd5cf;
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  color: var(--muted);
}

.no-results strong,
.no-results span {
  display: block;
}

.no-results strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.menu-error {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.retry-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.retry-btn:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(237, 28, 36, 0.22);
}

.item-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff7de;
  border-bottom: 1px solid var(--line);
}

.item-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-body {
  padding: 14px;
}

.category-label {
  display: inline-flex;
  margin-bottom: 9px;
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff1d3;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 850;
}

.menu-card h3 {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

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

.price {
  font-size: 18px;
  font-weight: 950;
}

.add-btn {
  min-width: 76px;
  height: 36px;
  border: 1px solid var(--brand);
  background: #fffafa;
  color: var(--brand);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.add-btn:hover {
  transform: translateY(-1px);
  background: #fff1d3;
}

.add-btn.is-added {
  transform: scale(0.96);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(237, 28, 36, 0.24);
}

.card-qty-control {
  display: inline-grid;
  grid-template-columns: 32px minmax(24px, auto) 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--brand);
  border-radius: 12px;
  background: #fffafa;
  color: var(--brand);
  font-weight: 950;
}

.card-qty-control span {
  display: grid;
  min-width: 28px;
  height: 34px;
  place-items: center;
}

.card-qty-btn {
  display: grid;
  width: 32px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: background 0.16s ease, color 0.16s ease;
}

.card-qty-btn:hover {
  background: var(--brand);
  color: #fff;
}

.cart-panel {
  position: sticky;
  top: 96px;
}

.mobile-cart-button,
.mobile-cart-backdrop,
.mobile-cart-sheet {
  display: none;
}

.cart-card {
  padding: 18px;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.cart-card h3 {
  margin: 6px 0 14px;
}

.customer-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.customer-fields label {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 12px;
  font-weight: 850;
}

.customer-fields input,
.customer-fields select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d7ded9;
  border-radius: 12px;
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.customer-fields input:focus,
.customer-fields select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}

.phone-verification {
  margin: -4px 0 14px;
}

.phone-verification-card {
  display: grid;
  gap: 10px;
  border: 1px solid #f3d7a8;
  border-radius: 14px;
  padding: 12px;
  background: #fffaf0;
}

.phone-verification-card.is-verified {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.phone-verification-card strong,
.phone-verification-card span {
  display: block;
}

.phone-verification-card span,
.otp-message {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.otp-actions {
  display: grid;
  gap: 8px;
}

.otp-input-label {
  display: grid;
  gap: 5px;
  color: #374151;
  font-size: 12px;
  font-weight: 850;
}

.otp-input-label input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7ded9;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.otp-message {
  margin: 0;
}

.otp-message.is-error {
  color: #b91c1c;
}

.track-orders-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: #fffaf0;
}

.track-orders-section > .section-heading {
  width: min(820px, 100%);
  max-width: 820px;
  margin-inline: auto;
}

.track-orders-card {
  width: min(820px, 100%);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  border: 1px solid #f3d7a8;
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  box-shadow: 0 18px 42px rgba(127, 29, 29, 0.08);
}

.track-orders-form {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.track-orders-form label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 850;
}

.track-orders-form input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #d7ded9;
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.track-orders-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}

.track-orders-actions .primary-btn,
.track-orders-actions .secondary-btn {
  min-height: 48px;
  justify-content: center;
}

.track-orders-actions,
.track-orders-verified {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.track-orders-verified {
  justify-content: space-between;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 12px;
  background: #f0fdf4;
}

.track-orders-verified strong,
.track-orders-verified span {
  display: block;
}

.track-orders-verified span,
.track-orders-copy,
.track-orders-empty,
.track-orders-message {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.track-orders-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fffaf0;
  overflow-wrap: anywhere;
}

.track-orders-message.is-error {
  color: #b91c1c;
  background: #fff1f2;
}

.track-orders-list {
  display: grid;
  gap: 12px;
}

.track-orders-list h3 {
  margin: 0;
  font-size: 22px;
}

.track-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  padding: 14px;
  background: #fffdf8;
}

.track-order-card.is-active {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.track-order-card.is-completed {
  background: #f8fafc;
}

.track-order-card.is-cancelled {
  border-color: #fecaca;
  background: #fef2f2;
}

.track-order-main {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.track-order-main strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.track-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.track-order-meta span {
  min-width: 0;
}

.track-order-status {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff1d3;
  color: #8a4b05;
  font-size: 12px;
  font-weight: 950;
}

.track-order-card.is-active .track-order-status {
  background: #dbeafe;
  color: #1d4ed8;
}

.track-order-card.is-completed .track-order-status {
  background: #dcfce7;
  color: #166534;
}

.track-order-card.is-cancelled .track-order-status {
  background: #fee2e2;
  color: #991b1b;
}

.track-order-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.track-order-price {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.track-order-side .primary-btn {
  min-height: 42px;
  padding-inline: 14px;
}

.table-qr-mode [data-track-entry],
.table-qr-mode [data-track-orders-section] {
  display: none;
}

.cart-items {
  display: grid;
  gap: 10px;
  max-height: 330px;
  overflow: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-bottom: 1px solid #eef0ef;
  padding-bottom: 10px;
  animation: cartItemIn 0.22s ease both;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-line.is-updated {
  animation: cartItemUpdate 0.24s ease both;
}

.cart-line.is-removing {
  transform: translateX(18px);
  opacity: 0;
}

.cart-line strong {
  display: block;
  font-size: 14px;
}

.cart-line span {
  color: var(--muted);
  font-size: 13px;
}

.cart-qty {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.qty-value {
  display: inline-grid;
  min-width: 20px;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
}

.cart-line.is-updated .qty-value {
  animation: quantityPulse 0.24s ease both;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #cbd5cf;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.qty-btn:hover {
  transform: scale(1.08);
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.08);
}

.remove-btn {
  width: 26px;
  height: 26px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff1f2;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 950;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.remove-btn:hover {
  transform: scale(1.08);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 16px rgba(237, 28, 36, 0.2);
}

.empty-cart,
.order-success-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  border: 1px dashed #d8e2db;
  border-radius: 16px;
  padding: 22px 14px;
  background: #fffdf8;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.empty-cart strong,
.order-success-card strong {
  color: var(--ink);
}

.empty-cart-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fff1d3;
  color: var(--brand);
  font-size: 22px;
  font-weight: 950;
}

.order-success-card {
  position: relative;
  isolation: isolate;
  gap: 10px;
  overflow: hidden;
  border: 1px solid #a7f3d0;
  border-radius: 18px;
  padding: 26px 16px 22px;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(240, 253, 250, 0.9)),
    radial-gradient(circle at 18% 0%, rgba(34, 197, 94, 0.18), transparent 34%);
  box-shadow: 0 16px 36px rgba(21, 128, 61, 0.12);
  color: #315044;
  animation: successPanelIn 0.46s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.order-success-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.72) 48%, transparent 72%);
  transform: translateX(-120%);
  animation: successSheen 1.35s ease 0.18s both;
}

.order-success-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(22, 163, 74, 0.12);
  border-radius: 14px;
  pointer-events: none;
}

.order-success-card .empty-cart-icon {
  background: #dcfce7;
  color: #15803d;
}

.success-orbit {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.18);
}

.success-orbit::before,
.success-orbit::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.24);
  animation: successRipple 1.5s ease-out infinite;
}

.success-orbit::after {
  animation-delay: 0.35s;
}

.success-check {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-check-circle {
  stroke-width: 3;
  opacity: 0.18;
}

.success-check-mark {
  stroke-width: 4;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: successCheckDraw 0.48s ease 0.18s forwards;
}

.success-eyebrow {
  color: #15803d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-success-card strong {
  max-width: 260px;
  color: #111827;
  font-size: 17px;
  line-height: 1.25;
}

.success-order-id {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(21, 128, 61, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.78);
  color: #4b6358;
  font-size: 12px;
  font-weight: 800;
}

.success-order-id b {
  color: #14532d;
  font-weight: 950;
  word-break: break-word;
}

.success-message {
  max-width: 290px;
  color: #4b6358;
  font-size: 13px;
}

.success-next-step {
  color: #15803d;
  font-size: 12px;
  font-weight: 850;
}

.success-table-receipt {
  display: grid;
  width: min(100%, 300px);
  gap: 7px;
  margin-top: 4px;
  border-top: 1px solid rgba(21, 128, 61, 0.16);
  padding-top: 10px;
  text-align: left;
}

.success-table-receipt span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4b6358;
  font-size: 12px;
}

.success-table-receipt b {
  font-weight: 750;
}

.success-table-receipt strong {
  max-width: 150px;
  color: #14532d;
  font-size: 13px;
  line-height: 1.2;
  text-align: right;
}

.success-table-total {
  border-top: 1px solid rgba(21, 128, 61, 0.16);
  padding-top: 8px;
}

.success-table-total strong {
  font-size: 15px;
}

.cart-totals {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.cart-total-line strong {
  color: var(--ink);
}

.grand-total {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.cart-total-line.is-updated strong {
  animation: totalPulse 0.28s ease both;
}

.cart-actions {
  display: grid;
  gap: 10px;
}

.payment-methods {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}

.payment-methods[hidden] {
  display: none;
}

.payment-methods legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.payment-methods input {
  accent-color: var(--brand);
}

.payment-methods label.is-disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.payment-methods label.is-disabled span::after {
  content: " (not configured)";
  font-weight: 700;
}

.payment-methods label.is-table-locked span::after {
  content: " (fixed for table)";
}

.table-qr-banner {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px 14px;
  background: #eff6ff;
  color: #1e3a8a;
  line-height: 1.35;
}

.table-qr-banner strong {
  font-size: 15px;
  font-weight: 950;
}

.table-qr-banner span {
  color: #315f9d;
  font-size: 13px;
  font-weight: 750;
}

.table-qr-banner.is-invalid {
  border-color: #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
}

.table-qr-banner.is-invalid span {
  color: #991b1b;
}

.table-qr-mode #orderType {
  cursor: not-allowed;
  background: #f8fafc;
  color: #475569;
}

.cart-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 108px;
  z-index: 90;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 14px;
  padding: 13px 15px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #14532d;
}

.toast.info {
  background: #0f172a;
}

.toast.warning {
  background: #7f1d1d;
}

.toast-title {
  display: block;
  font-weight: 950;
}

.toast-detail {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

.cart-count.is-bumping {
  animation: cartBadgeBump 0.32s ease both;
}

@keyframes cartBadgeBump {
  0%,
  100% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.16);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(237, 28, 36, 0.2);
  }
}

@keyframes cartItemIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cartItemUpdate {
  0%,
  100% {
    background: transparent;
  }

  45% {
    background: #fff1d3;
  }
}

@keyframes quantityPulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.22);
    color: var(--brand);
  }
}

@keyframes totalPulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.08);
    color: var(--brand);
  }
}

@keyframes successPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes successSheen {
  to {
    transform: translateX(120%);
  }
}

@keyframes successRipple {
  0% {
    opacity: 0.7;
    transform: scale(0.82);
  }

  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes successCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
}

.chat-toggle {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: radial-gradient(circle at 35% 28%, #fff6cf 0%, #ffb65e 32%, #ed1c24 72%, #9f1017 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(237, 28, 36, 0.34);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.chat-toggle::before {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(from 140deg, rgba(255, 216, 93, 0.95), rgba(237, 28, 36, 0.2), rgba(255, 216, 93, 0.75), rgba(237, 28, 36, 0.28), rgba(255, 216, 93, 0.95));
  content: "";
  opacity: 0.9;
}

.chat-toggle::after {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  content: "";
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(237, 28, 36, 0.38);
}

.ai-avatar,
.chat-header-avatar {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--brand);
}

.ai-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(237, 28, 36, 0.12), 0 10px 22px rgba(127, 29, 29, 0.2);
}

.ai-avatar svg,
.chat-header-avatar svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-avatar .ai-orbit {
  stroke: #f59e0b;
  stroke-dasharray: 8 6;
}

.ai-avatar .ai-core {
  fill: #fff1d3;
  stroke: var(--brand);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: none;
  width: min(420px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid #f1c9a0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.18);
}

.chat-widget.is-open .chat-panel {
  display: block;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: linear-gradient(135deg, #fff1d3, #fff);
  border-bottom: 1px solid #f5dfbf;
}

.chat-header-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid #f1c9a0;
}

.chat-header > div {
  min-width: 0;
  flex: 1;
}

.chat-header h3 {
  margin: 5px 0 0;
}

.chat-header small {
  display: block;
  margin-top: 5px;
  color: #7f1d1d;
  font-size: 12px;
  font-weight: 800;
}

.chat-close {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #f1c9a0;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 900;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 310px;
  overflow-y: auto;
  padding: 14px;
  background: #fffdf8;
}

.chat-message {
  max-width: 88%;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}

.chat-message.bot {
  justify-self: start;
  background: #fff1d3;
  color: #431407;
}

.chat-message.user {
  justify-self: end;
  background: var(--brand);
  color: #fff;
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
  background: #fffdf8;
}

.chat-prompts button,
.chat-footer-actions button {
  border: 1px solid #f1c9a0;
  border-radius: 999px;
  padding: 8px 10px;
  background: #fff;
  color: #7f1d1d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.chat-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #f5dfbf;
  background: #fff;
}

.voice-button,
.chat-form input {
  min-width: 0;
  border: 1px solid #e5cba8;
  border-radius: 12px;
  outline: none;
}

.voice-button {
  min-width: 48px;
  padding: 0 10px;
  background: #fff1d3;
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 900;
}

.voice-button.is-listening {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.12);
}

.chat-form input {
  padding: 0 12px;
}

.chat-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}

.chat-form button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
}

.chat-footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 0 12px 12px;
  background: #fff;
}

.chat-footer-actions span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.steps-section {
  background: #f6faf6;
}

.steps-grid article {
  padding: 22px;
}

.steps-grid span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.steps-grid h3 {
  margin: 16px 0 8px;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.quality-section,
.ai-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: center;
}

.quality-cards {
  grid-template-columns: 1fr;
}

.ai-section {
  background: linear-gradient(135deg, #fffaf0, #fff);
}

.ai-section h2 {
  margin: 8px 0;
  font-family: var(--display-font);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.ai-section p {
  color: var(--muted);
  line-height: 1.7;
}

.ai-chat-card {
  overflow: hidden;
  border: 1px solid #f1c9a0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

.popular-questions {
  padding: 0 12px 12px;
  background: #fffdf8;
}

.popular-questions > strong {
  display: block;
  margin: 0 0 10px;
  color: #7f1d1d;
  font-size: 13px;
}

.ai-feature-grid {
  display: grid;
  gap: 14px;
}

.ai-feature-grid article {
  border: 1px solid #f1c9a0;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.ai-feature-grid strong,
.ai-feature-grid span {
  display: block;
}

.ai-feature-grid strong {
  margin-bottom: 6px;
}

.ai-feature-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.quality-cards article {
  padding: 18px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 24, 32, 0.96), rgba(8, 17, 31, 0.98)),
    #0f172a;
  color: #fff;
}

.contact-showcase {
  display: grid;
  gap: 22px;
  align-content: center;
}

.contact-section h2 {
  max-width: 620px;
  margin: 8px 0 0;
  color: #fff8e7;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.95;
}

.contact-section p {
  color: #cbd5e1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-primary,
.contact-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 19px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.contact-primary {
  background: #d5a23c;
  color: #111827;
  box-shadow: 0 16px 34px rgba(213, 162, 60, 0.24);
}

.contact-secondary {
  border: 1px solid rgba(255, 248, 231, 0.28);
  color: #fff8e7;
}

.contact-primary:hover,
.contact-secondary:hover {
  transform: translateY(-1px);
}

.contact-secondary:hover {
  background: rgba(255, 248, 231, 0.08);
}

.contact-photo {
  width: min(520px, 100%);
  overflow: hidden;
  margin: 10px 0 0;
  border: 1px solid rgba(255, 248, 231, 0.16);
  border-radius: 24px;
  background: #111827;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.contact-photo img {
  display: block;
  width: 100%;
  height: clamp(220px, 28vw, 340px);
  object-fit: cover;
}

.contact-card {
  display: grid;
  gap: 24px;
  overflow: visible;
  border: 1px solid rgba(207, 151, 32, 0.26);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(180deg, #fffaf0 0%, #fff7e3 100%);
  color: #172033;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.contact-card-header {
  display: grid;
  gap: 18px;
}

.contact-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
  border-radius: 0;
  background: transparent;
}

.contact-card span {
  color: #6b5b3d;
}

.since-label {
  margin-bottom: 8px;
  color: #9a6a12;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card > strong {
  display: none;
}

.contact-card-header strong {
  display: block;
  color: #111827;
  font-family: var(--display-font);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
}

.card-subtitle {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.veg-badge {
  width: fit-content;
  border: 1px solid rgba(22, 101, 52, 0.26);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(220, 252, 231, 0.74);
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details {
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(154, 106, 18, 0.22);
  padding-top: 22px;
}

.contact-detail-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.contact-detail-row[hidden] {
  display: none;
}

.contact-detail-row > span {
  color: #9a6a12;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.restaurant-address,
.contact-phone,
.contact-email,
.contact-hours {
  margin: 0;
  color: #172033;
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-card .restaurant-address,
.contact-card .contact-phone,
.contact-card .contact-email,
.contact-card .contact-hours {
  color: #172033;
}

.contact-phone,
.contact-email {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(154, 106, 18, 0.34);
  text-underline-offset: 4px;
}

.social-list {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(154, 106, 18, 0.22);
  padding-top: 22px;
}

.social-list > span {
  color: #9a6a12;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.social-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  color: #172033;
  font-weight: 750;
}

.social-list a span {
  color: inherit;
  overflow-wrap: anywhere;
}

.social-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  padding: 7px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.instagram-icon {
  fill: none;
  stroke: #e1306c;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facebook-icon {
  fill: #1877f2;
}

.google-icon {
  padding: 6px;
}

.google-blue {
  fill: #4285f4;
}

.google-green {
  fill: #34a853;
}

.google-yellow {
  fill: #fbbc05;
}

.google-red {
  fill: #ea4335;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: #08111f;
  color: #dbeafe;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-section,
  .menu-tools,
  .menu-layout,
  .quality-section,
  .ai-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

  .quick-info,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body:not(.kiosk-mode) {
    overflow-x: hidden;
  }

  body:not(.kiosk-mode) .hero-section {
    gap: 24px;
    width: 100vw;
    max-width: 100%;
    padding: 34px 18px 28px;
    overflow: hidden;
  }

  body:not(.kiosk-mode) .hero-copy,
  body:not(.kiosk-mode) .hero-media {
    min-width: 0;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  body:not(.kiosk-mode) .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: 28px;
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: break-word;
  }

  body:not(.kiosk-mode) .hero-copy p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  body:not(.kiosk-mode) .menu-section {
    padding: 28px 12px 32px;
  }

  body:not(.kiosk-mode) .track-orders-section {
    padding: 32px 12px;
  }

  body:not(.kiosk-mode) .track-orders-card {
    border-radius: 18px;
    padding: 14px;
  }

  body:not(.kiosk-mode) .track-orders-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body:not(.kiosk-mode) .track-orders-actions button,
  body:not(.kiosk-mode) .track-orders-actions a {
    width: 100%;
    min-height: 48px;
  }

  body:not(.kiosk-mode) .track-order-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.kiosk-mode) .track-order-side {
    width: 100%;
    justify-items: stretch;
  }

  body:not(.kiosk-mode) .track-order-side .primary-btn {
    width: 100%;
    min-height: 48px;
  }

  body:not(.kiosk-mode) .track-order-price {
    justify-self: start;
  }

  body:not(.kiosk-mode) .menu-section .section-heading {
    margin-bottom: 18px;
  }

  body:not(.kiosk-mode) .menu-section .section-heading h2 {
    font-size: 30px;
  }

  body:not(.kiosk-mode) .menu-summary {
    gap: 7px;
    margin-top: 10px;
  }

  body:not(.kiosk-mode) .menu-tools {
    gap: 12px;
    margin-bottom: 16px;
  }

  body:not(.kiosk-mode) .search-box input {
    height: 46px;
    font-size: 16px;
  }

  body:not(.kiosk-mode) .category-filters {
    gap: 8px;
  }

  body:not(.kiosk-mode) .filter-btn {
    min-height: 44px;
    padding: 9px 12px;
  }

  body:not(.kiosk-mode) .menu-layout {
    min-width: 0;
    gap: 20px;
  }

  body:not(.kiosk-mode) .menu-list,
  body:not(.kiosk-mode) .menu-grid,
  body:not(.kiosk-mode) .menu-card,
  body:not(.kiosk-mode) .menu-card-body,
  body:not(.kiosk-mode) .cart-panel,
  body:not(.kiosk-mode) .cart-card {
    min-width: 0;
  }

  body:not(.kiosk-mode) .menu-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body:not(.kiosk-mode) .menu-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
  }

  body:not(.kiosk-mode) .item-photo,
  body:not(.kiosk-mode) .skeleton-photo {
    width: 110px;
    height: 110px;
    aspect-ratio: 1;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  body:not(.kiosk-mode) .menu-card-body {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 5px;
    padding: 9px 10px 10px 12px;
  }

  body:not(.kiosk-mode) .category-label {
    align-self: flex-start;
    margin: 0;
    padding: 3px 7px;
    font-size: 10px;
  }

  body:not(.kiosk-mode) .menu-card h3 {
    min-height: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
  }

  body:not(.kiosk-mode) .availability-pill {
    padding: 2px 7px;
    font-size: 10px;
  }

  body:not(.kiosk-mode) .menu-meta {
    gap: 8px;
    margin-top: auto;
  }

  body:not(.kiosk-mode) .price {
    flex: 0 0 auto;
    font-size: 16px;
    white-space: nowrap;
  }

  body:not(.kiosk-mode) .add-btn {
    min-width: 76px;
    height: 44px;
    padding: 0 12px;
  }

  body:not(.kiosk-mode) .card-qty-control {
    grid-template-columns: 44px minmax(28px, auto) 44px;
  }

  body:not(.kiosk-mode) .card-qty-control span,
  body:not(.kiosk-mode) .card-qty-btn {
    height: 44px;
  }

  body:not(.kiosk-mode) .card-qty-btn {
    width: 44px;
  }

  body:not(.kiosk-mode) .cart-card {
    padding: 14px;
  }

  body:not(.kiosk-mode) .cart-panel {
    display: none;
  }

  body:not(.kiosk-mode) .mobile-cart-button:not([hidden]) {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    border: 0;
    border-radius: 16px;
    padding: 10px 14px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 16px 36px rgba(127, 29, 29, 0.28);
    font: inherit;
    font-weight: 950;
  }

  body:not(.kiosk-mode) .mobile-cart-button span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0;
  }

  body:not(.kiosk-mode) .mobile-cart-button span::before {
    content: "Cart";
    font-size: 12px;
  }

  body:not(.kiosk-mode) .mobile-cart-button strong,
  body:not(.kiosk-mode) .mobile-cart-button b {
    color: inherit;
    font-size: 16px;
  }

  body:not(.kiosk-mode) .mobile-cart-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    background: rgba(17, 24, 39, 0.38);
  }

  body:not(.kiosk-mode) .mobile-cart-sheet:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    max-height: min(78vh, 720px);
    overflow: auto;
    border-radius: 22px 22px 0 0;
    padding: 10px 14px max(18px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -20px 44px rgba(17, 24, 39, 0.24);
  }

  body:not(.kiosk-mode) .mobile-cart-sheet-handle {
    justify-self: center;
    width: 42px;
    height: 5px;
    margin: 2px 0 10px;
    border-radius: 999px;
    background: #d1d5db;
  }

  body:not(.kiosk-mode) .mobile-cart-sheet-head {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
  }

  body:not(.kiosk-mode) .mobile-cart-sheet-head strong,
  body:not(.kiosk-mode) .mobile-cart-sheet-head span {
    display: block;
  }

  body:not(.kiosk-mode) .mobile-cart-sheet-head span {
    color: var(--muted);
    font-size: 13px;
  }

  body:not(.kiosk-mode) .mobile-cart-sheet-head button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 20px;
  }

  body:not(.kiosk-mode) .mobile-checkout-step,
  body:not(.kiosk-mode) .mobile-cart-lines,
  body:not(.kiosk-mode) .mobile-totals {
    display: grid;
    gap: 12px;
  }

  body:not(.kiosk-mode) .mobile-checkout-step h3 {
    margin: 0;
    font-size: 18px;
  }

  body:not(.kiosk-mode) .mobile-cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }

  body:not(.kiosk-mode) .mobile-cart-line > strong {
    grid-column: 1 / -1;
    justify-self: end;
  }

  body:not(.kiosk-mode) .mobile-cart-line span {
    color: var(--muted);
    font-size: 13px;
  }

  body:not(.kiosk-mode) .mobile-order-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  body:not(.kiosk-mode) .mobile-order-type-grid button,
  body:not(.kiosk-mode) .mobile-payment-choice {
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 900;
  }

  body:not(.kiosk-mode) .mobile-order-type-grid button.is-active {
    border-color: var(--brand);
    background: #fff1d3;
    color: var(--brand-dark);
  }

  body:not(.kiosk-mode) .mobile-field {
    display: grid;
    gap: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 850;
  }

  body:not(.kiosk-mode) .mobile-field input {
    min-height: 50px;
    border: 1px solid #d7ded9;
    border-radius: 14px;
    padding: 0 12px;
    font-size: 16px;
  }

  body:not(.kiosk-mode) .mobile-payment-choice {
    display: grid;
    place-items: center;
    background: #f8fafc;
  }

  body:not(.kiosk-mode) .mobile-totals div {
    display: flex;
    justify-content: space-between;
  }

  body:not(.kiosk-mode) .mobile-totals .grand-total {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    font-size: 18px;
  }

  body:not(.kiosk-mode).has-mobile-cart {
    padding-bottom: 82px;
  }

  body:not(.kiosk-mode) .customer-fields {
    gap: 12px;
    margin-bottom: 14px;
  }

  body:not(.kiosk-mode) .customer-fields input,
  body:not(.kiosk-mode) .customer-fields select {
    min-height: 48px;
    padding: 0 12px;
    font-size: 16px;
  }

  body:not(.kiosk-mode) .cart-items {
    max-height: none;
  }

  body:not(.kiosk-mode) .cart-line {
    gap: 8px;
    padding: 4px 0 12px;
  }

  body:not(.kiosk-mode) .qty-btn,
  body:not(.kiosk-mode) .remove-btn {
    width: 44px;
    height: 44px;
  }

  body:not(.kiosk-mode) .payment-methods {
    gap: 6px;
    padding: 12px;
  }

  body:not(.kiosk-mode) .payment-methods label {
    min-height: 44px;
  }

  body:not(.kiosk-mode) .payment-methods input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  body:not(.kiosk-mode) .cart-actions {
    gap: 10px;
  }

  body:not(.kiosk-mode) .cart-actions button {
    width: 100%;
    min-height: 48px;
  }

  body:not(.kiosk-mode) .chat-widget {
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
  }

  body:not(.kiosk-mode).has-mobile-cart .chat-widget {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px);
  }

  body:not(.kiosk-mode) .chat-toggle {
    width: 56px;
    height: 56px;
  }

  body:not(.kiosk-mode) .chat-toggle::before {
    inset: -4px;
  }

  body:not(.kiosk-mode) .chat-toggle::after {
    top: 4px;
    right: 5px;
    width: 9px;
    height: 9px;
  }

  body:not(.kiosk-mode) .ai-avatar {
    width: 44px;
    height: 44px;
  }

  body:not(.kiosk-mode) .ai-avatar svg {
    width: 32px;
    height: 32px;
  }

  body:not(.kiosk-mode) .ai-chat-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    max-height: 58vh;
  }

  body:not(.kiosk-mode) .chat-header {
    flex: 0 0 auto;
    padding: 12px;
  }

  body:not(.kiosk-mode) .chat-messages {
    min-height: 0;
    flex: 1 1 auto;
    max-height: none;
    padding: 12px;
  }

  body:not(.kiosk-mode) .chat-prompts {
    flex: 0 1 auto;
    overflow-y: auto;
  }

  body:not(.kiosk-mode) .popular-questions {
    min-height: 0;
    flex: 0 1 auto;
    overflow-y: auto;
  }

  body:not(.kiosk-mode) .chat-form {
    flex: 0 0 auto;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 10px;
  }

  body:not(.kiosk-mode) .chat-form input {
    width: 100%;
    font-size: 16px;
  }

  body:not(.kiosk-mode) .chat-footer-actions {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .filter-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 112px;
  }

  .brand-text {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-media img {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-toggle {
    width: 70px;
    height: 70px;
  }

  .ai-avatar {
    width: 54px;
    height: 54px;
  }

  .ai-avatar svg {
    width: 39px;
    height: 39px;
  }

  .chat-panel {
    bottom: 62px;
  }

  .chat-footer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .contact-card {
    border-radius: 22px;
  }

  .contact-detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-photo img {
    height: 240px;
  }
}

@media (max-width: 420px) {
  .chat-toggle {
    width: 66px;
    height: 66px;
  }

  .ai-avatar {
    width: 50px;
    height: 50px;
  }

  .ai-avatar svg {
    width: 36px;
    height: 36px;
  }
}

.tracking-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f8fafc;
}

.tracking-card {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}

.tracking-card h1 {
  margin: 8px 0;
  font-size: 32px;
}

.tracking-timeline {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.tracking-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: #64748b;
}

.tracking-step span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
}

.tracking-step.is-done span,
.tracking-step.is-current span {
  border-color: #16a34a;
  background: #16a34a;
}

.tracking-step.is-current strong {
  color: #14532d;
}

.tracking-cancelled {
  padding: 16px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
}

.tracking-items {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.tracking-items h2 {
  margin: 0 0 10px;
}

.tracking-items div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.tracking-updated {
  color: #64748b;
  margin-bottom: 0;
}

.availability-pill {
  align-self: flex-start;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 9px;
}

.availability-pill.is-unavailable {
  border-color: #fecaca;
  color: #991b1b;
}

.menu-card.is-unavailable {
  opacity: 0.68;
}

.success-receipt-lines,
.success-receipt-total {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.success-receipt-lines span,
.success-receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

body.kiosk-mode {
  overflow: hidden;
  background: #fff9ed;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

body.kiosk-mode main {
  min-height: 100vh;
}

body.kiosk-mode input,
body.kiosk-mode textarea {
  -webkit-user-select: text;
  user-select: text;
}

body.kiosk-mode img {
  -webkit-user-drag: none;
  user-drag: none;
}

.kiosk-app {
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(120deg, rgba(255, 244, 204, 0.92), rgba(255, 255, 255, 0.96)),
    url("assets/hero-food.png") center/cover fixed;
  color: #1f2933;
}

.kiosk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(148, 91, 18, 0.18);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.kiosk-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.kiosk-brand img {
  width: 76px;
  height: 54px;
  object-fit: contain;
}

.kiosk-brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.kiosk-brand span,
.kiosk-eyebrow {
  color: #8a4b05;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kiosk-primary-btn,
.kiosk-secondary-btn,
.kiosk-ghost-btn,
.kiosk-choice-grid button,
.kiosk-categories button,
.kiosk-menu-item button,
.kiosk-qty-control button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.kiosk-primary-btn {
  background: #c81f25;
  color: #fff;
  padding: 14px 22px;
}

.kiosk-secondary-btn,
.kiosk-ghost-btn {
  background: #fff;
  color: #7a1f20;
  border: 1px solid #efc9a1;
  padding: 12px 18px;
}

.kiosk-primary-btn:disabled,
.kiosk-secondary-btn:disabled,
.kiosk-menu-item button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.kiosk-welcome,
.kiosk-centered,
.kiosk-form-screen,
.kiosk-confirmation {
  display: grid;
  place-items: center;
  padding: 36px;
}

.kiosk-welcome-copy,
.kiosk-centered,
.kiosk-form-screen,
.kiosk-confirmation {
  text-align: center;
}

.kiosk-welcome-copy h1,
.kiosk-centered h1,
.kiosk-form-screen h1,
.kiosk-review-screen h1,
.kiosk-confirmation h1 {
  margin: 10px 0 14px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
}

.kiosk-welcome-copy p,
.kiosk-payment-card span,
.kiosk-confirmation p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #475569;
  font-size: 20px;
  line-height: 1.45;
}

.kiosk-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 18px;
  width: min(760px, 100%);
  margin-top: 22px;
}

.kiosk-choice-grid button {
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 2px solid #f3c668;
  box-shadow: 0 18px 38px rgba(122, 31, 32, 0.12);
}

.kiosk-choice-grid strong {
  font-size: 34px;
}

.kiosk-choice-grid span {
  color: #64748b;
  font-size: 18px;
}

.kiosk-menu-layout {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
}

.kiosk-categories,
.kiosk-menu-panel,
.kiosk-cart-panel,
.kiosk-review-main,
.kiosk-review-total,
.kiosk-payment-card,
.kiosk-receipt {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 91, 18, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(122, 31, 32, 0.08);
}

.kiosk-categories {
  position: sticky;
  top: 18px;
  align-self: start;
  max-height: calc(100vh - 126px);
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding: 12px;
}

.kiosk-categories button {
  min-height: 62px;
  text-align: left;
  background: #fff8e7;
  color: #5f2900;
  padding: 12px 14px;
  border: 2px solid transparent;
  font-size: 16px;
}

.kiosk-categories button.is-active {
  background: #c81f25;
  border-color: #7a1f20;
  color: #fff;
  box-shadow: 0 10px 20px rgba(122, 31, 32, 0.18);
}

.kiosk-menu-panel,
.kiosk-cart-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding: 16px;
}

.kiosk-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.kiosk-panel-title h1,
.kiosk-cart-panel h2 {
  margin: 4px 0 0;
  font-size: 30px;
}

.kiosk-panel-title input,
.kiosk-form-grid input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #e2c39d;
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  font-size: 18px;
}

.kiosk-panel-title input {
  max-width: 320px;
}

.kiosk-warning,
.kiosk-error {
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 800;
}

.kiosk-error {
  background: #fef2f2;
  color: #991b1b;
}

.kiosk-menu-grid {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: minmax(378px, auto);
  align-content: start;
  gap: 14px;
  padding-right: 4px;
  padding-bottom: 14px;
}

.kiosk-menu-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 378px;
  height: 100%;
  padding: 16px 16px 20px;
  overflow: visible;
  border: 1px solid #f1d7b5;
  border-radius: 8px;
  background: #fff;
}

.kiosk-item-photo {
  flex: 0 0 126px;
  height: 126px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff7de;
}

.kiosk-item-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kiosk-menu-item span,
.kiosk-item-category {
  color: #8a4b05;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kiosk-menu-item h3 {
  margin: 8px 0 6px;
  font-size: 23px;
  line-height: 1.15;
}

.kiosk-item-price {
  display: block;
  color: #111827;
  font-size: 21px;
}

.kiosk-item-content {
  flex: 1 1 auto;
  min-height: 0;
}

.kiosk-item-action {
  flex: 0 0 auto;
  display: grid;
  margin-top: auto;
  min-height: 64px;
  padding-top: 8px;
}

.kiosk-item-action > button,
.kiosk-item-action > .kiosk-card-qty {
  width: 100%;
  align-self: end;
}

.kiosk-item-action > button {
  background: #c81f25;
  color: #fff;
  font-size: 17px;
}

.kiosk-menu-item.is-unavailable {
  opacity: 0.6;
}

.kiosk-empty-state,
.kiosk-empty-cart {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: #64748b;
  text-align: center;
}

.kiosk-cart-panel {
  grid-template-rows: auto 1fr auto auto;
  position: sticky;
  top: 18px;
  align-self: start;
  height: 100%;
  max-height: calc(100vh - 126px);
}

.kiosk-cart-lines,
.kiosk-review-items {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
}

.kiosk-cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f3dfc3;
  border-radius: 8px;
  background: #fff;
}

.kiosk-cart-line.has-controls .kiosk-qty-control {
  grid-column: 1 / -1;
  justify-self: end;
}

.kiosk-cart-item-copy {
  min-width: 0;
}

.kiosk-cart-item-copy strong {
  display: block;
  overflow-wrap: anywhere;
}

.kiosk-cart-item-numbers {
  display: grid;
  justify-items: end;
  gap: 3px;
  white-space: nowrap;
}

.kiosk-cart-line span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.kiosk-qty-control {
  display: inline-grid;
  grid-template-columns: 54px 48px 54px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #efc9a1;
  border-radius: 8px;
  background: #fff9ed;
}

.kiosk-qty-control button {
  min-height: 54px;
  border-radius: 0;
  background: transparent;
  color: #7a1f20;
  font-size: 22px;
}

.kiosk-qty-control span {
  text-align: center;
  font-weight: 900;
  font-size: 18px;
}

.kiosk-card-qty {
  width: 100%;
  grid-template-columns: 1fr 56px 1fr;
}

.kiosk-totals,
.kiosk-review-total {
  display: grid;
  gap: 8px;
}

.kiosk-total-row,
.kiosk-receipt div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.kiosk-total-grand,
.kiosk-receipt-total {
  padding-top: 10px;
  border-top: 1px solid #f1d7b5;
  color: #7a1f20;
  font-size: 22px;
}

.kiosk-cart-actions,
.kiosk-step-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kiosk-review-order-btn {
  min-height: 68px;
  font-size: 18px;
}

.kiosk-form-screen {
  width: min(820px, calc(100% - 36px));
  justify-self: center;
}

.kiosk-details-screen {
  align-self: start;
  width: min(1100px, calc(100% - 36px));
  max-height: calc(100vh - 96px);
  align-content: start;
  place-items: stretch;
  overflow: auto;
}

.kiosk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin: 12px 0 20px;
  text-align: left;
}

.kiosk-form-grid label {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 8px;
}

.kiosk-form-grid label.is-active {
  border-color: #c81f25;
  background: #fff7ed;
}

.kiosk-form-grid label span {
  display: block;
  margin-bottom: 8px;
  color: #5f2900;
  font-weight: 900;
}

.kiosk-form-grid input:focus {
  border-color: #c81f25;
  box-shadow: 0 0 0 3px rgba(200, 31, 37, 0.14);
  outline: 0;
}

.kiosk-keyboard-panel {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  border: 1px solid #efc9a1;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(122, 31, 32, 0.12);
}

.kiosk-keyboard-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #5f2900;
}

.kiosk-keyboard-title span {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.kiosk-keyboard-title strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kiosk-keyboard-keys,
.kiosk-keyboard-row {
  display: grid;
  gap: 9px;
}

.kiosk-keyboard-row {
  grid-auto-flow: column;
  grid-auto-columns: minmax(54px, 1fr);
}

.kiosk-keyboard-row button {
  min-height: 56px;
  border: 1px solid #efc9a1;
  border-radius: 8px;
  background: #fff8e7;
  color: #5f2900;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
}

.kiosk-keyboard-row button:focus-visible,
.kiosk-keyboard-row button:active {
  outline: 3px solid rgba(200, 31, 37, 0.25);
  background: #ffe7b0;
}

.kiosk-keyboard-row button.is-wide {
  grid-column: span 2;
}

.kiosk-keyboard-row button.is-done {
  background: #c81f25;
  border-color: #c81f25;
  color: #fff;
}

.kiosk-phone-keyboard {
  width: min(520px, 100%);
  justify-self: center;
}

.kiosk-layout-portrait .kiosk-menu-layout {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: auto;
}

.kiosk-layout-portrait .kiosk-categories {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.kiosk-layout-portrait .kiosk-categories button {
  flex: 0 0 auto;
  min-width: 150px;
  text-align: center;
}

.kiosk-layout-portrait .kiosk-menu-panel {
  min-height: 620px;
}

.kiosk-layout-portrait .kiosk-menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kiosk-layout-portrait .kiosk-cart-panel {
  position: sticky;
  bottom: 18px;
  top: auto;
  height: auto;
  max-height: 36vh;
}

.kiosk-layout-portrait .kiosk-cart-lines {
  max-height: 15vh;
}

.kiosk-layout-portrait .kiosk-review-screen {
  grid-template-columns: 1fr;
  overflow: auto;
}

.kiosk-layout-portrait .kiosk-details-screen {
  width: min(960px, calc(100% - 36px));
}

.kiosk-payment-card {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  margin: 12px auto 22px;
  padding: 28px;
}

.kiosk-payment-card.is-selected {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14), 0 12px 34px rgba(122, 31, 32, 0.08);
}

.kiosk-payment-label {
  color: #15803d;
  font-size: 14px;
  font-weight: 900;
}

.kiosk-payment-card strong {
  color: #7a1f20;
  font-size: 30px;
}

.kiosk-review-screen {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 24px;
}

.kiosk-review-main,
.kiosk-review-total {
  min-height: 0;
  padding: 20px;
}

.kiosk-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}

.kiosk-review-meta span {
  border-radius: 999px;
  background: #fff3cd;
  color: #7a1f20;
  font-weight: 900;
  padding: 8px 12px;
}

.kiosk-confirmation {
  width: min(740px, calc(100% - 36px));
  justify-self: center;
}

.kiosk-success-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
}

.kiosk-receipt {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0 0 22px;
  padding: 18px;
  text-align: left;
}

.kiosk-receipt-items {
  display: grid;
  gap: 8px;
  padding: 10px 0;
  border-block: 1px solid #f1d7b5;
}

.kiosk-receipt-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}

.kiosk-receipt-item span {
  overflow-wrap: anywhere;
}

.kiosk-receipt-item small {
  color: #64748b;
  font-weight: 800;
}

.kiosk-countdown {
  display: block;
  margin-top: 14px;
  color: #64748b;
  font-weight: 800;
}

.kiosk-modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.55);
  z-index: 50;
}

.kiosk-modal {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
}

.kiosk-modal h2 {
  margin: 0;
  font-size: 34px;
}

.kiosk-modal p {
  margin: 0;
  color: #475569;
}

.kiosk-modal div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 1100px) {
  .kiosk-menu-layout,
  .kiosk-review-screen {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .kiosk-categories {
    display: flex;
    overflow-x: auto;
  }

  .kiosk-categories button {
    flex: 0 0 auto;
  }

  .kiosk-cart-panel {
    min-height: 360px;
  }
}

/* Public customer overlays reuse the existing tracking and assistant content. */
body.customer-overlays #ai[hidden],
body.customer-overlays #chatPanel[hidden] {
  display: none;
}

body.customer-overlays .customer-tracking-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid #f3d7a8;
  border-radius: 18px;
  color: var(--ink);
  background: #fffaf0;
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}

body.customer-overlays .customer-tracking-dialog::backdrop {
  background: rgba(17, 24, 39, 0.5);
}

body.customer-overlays .customer-tracking-dialog .track-orders-section {
  position: relative;
  padding: 24px;
}

body.customer-overlays .customer-tracking-dialog .section-heading {
  padding-right: 48px;
  margin-bottom: 20px;
}

body.customer-overlays .customer-tracking-dialog .section-heading h2 {
  font-size: 28px;
  line-height: 1.2;
}

body.customer-overlays .customer-tracking-dialog .section-heading p,
body.customer-overlays .customer-tracking-dialog .eyebrow {
  display: none;
}

body.customer-overlays .customer-tracking-dialog .track-orders-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.customer-overlays .customer-overlay-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f1c9a0;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

body.customer-overlays .track-orders-section > .customer-overlay-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -4px -4px 0 0;
  z-index: 1;
}

body.customer-overlays .customer-overlay-close:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

body.customer-overlays #chatPanel {
  position: absolute;
  right: var(--customer-chat-shift, 0px);
  bottom: calc(100% + 12px);
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100vw - 24px));
  height: min(560px, calc(100dvh - 128px));
  max-height: calc(100dvh - 128px);
}

body.customer-overlays #chatPanel .chat-header,
body.customer-overlays #chatPanel .chat-form,
body.customer-overlays #chatPanel .chat-footer-actions {
  flex: 0 0 auto;
}

body.customer-overlays #chatPanel .chat-header {
  padding: 12px;
  gap: 8px;
}

body.customer-overlays #chatPanel .chat-header h3 {
  font-size: 16px;
  line-height: 1.3;
}

body.customer-overlays #chatPanel .chat-messages {
  flex: 1 1 auto;
  min-height: 70px;
  max-height: none;
  align-content: start;
  overscroll-behavior: contain;
}

body.customer-overlays #chatPanel .popular-questions {
  flex: 0 1 auto;
  max-height: 110px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.customer-overlays #chatPanel .chat-form {
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

body.customer-overlays #chatPanel .chat-footer-actions span {
  display: none;
}

@media (max-width: 768px) {
  body.customer-overlays .customer-tracking-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto 12px 12px;
  }

  body.customer-overlays .customer-tracking-dialog .track-orders-section {
    padding: 18px;
  }

  body.customer-overlays .customer-tracking-dialog .section-heading h2 {
    font-size: 24px;
  }

  body.customer-overlays #chatPanel {
    right: auto;
    left: 0;
    height: min(70dvh, calc(100dvh - 172px));
    max-height: min(70dvh, calc(100dvh - 172px));
  }
}

@media (max-width: 720px) {
  body.kiosk-mode {
    overflow: auto;
  }

  .kiosk-header,
  .kiosk-panel-title,
  .kiosk-form-grid,
  .kiosk-cart-actions,
  .kiosk-step-actions,
  .kiosk-choice-grid {
    grid-template-columns: 1fr;
  }

  .kiosk-header {
    display: grid;
  }

  .kiosk-panel-title input {
    max-width: none;
  }
}
