:root {
  color-scheme: light;
  --food-ink: #1b1417;
  --food-muted: #706169;
  --food-line: #ead8bf;
  --food-surface: #fffaf2;
  --food-surface-soft: #ffffff;
  --food-bg: #f7efe4;
  --food-brand: #8f0f24;
  --food-brand-deep: #560716;
  --food-accent: #c58a25;
  --food-success: #44584d;
  --food-danger: #9c1026;
  --food-shadow: 0 18px 40px rgba(86, 7, 22, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--food-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7efe4;
}

.food-page {
  min-height: 100vh;
}

.food-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 22px;
  padding: 24px 26px 28px;
}

.demo-alert {
  width: calc(100% - 52px);
  margin: 0 auto;
  padding: 14px 18px;
  color: #9c1026;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  border: 1px solid rgba(156, 16, 38, 0.28);
  border-radius: 8px;
  background: #fff8f5;
}

.admin-demo-alert {
  width: 100%;
  margin: 0;
}

.food-topbar,
.food-admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(197, 138, 37, 0.28);
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.food-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.food-topbar-actions a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--food-brand-deep), var(--food-brand));
  box-shadow: 0 10px 20px rgba(86, 7, 22, 0.1);
}

.food-topbar-actions a:hover {
  background: linear-gradient(135deg, var(--food-brand), #a0142c);
}

.food-brand {
  display: flex;
  align-items: center;
}

.food-brand-mark {
  width: 112px;
  height: 112px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.food-stage {
  display: grid;
  gap: 24px;
}

.food-screen {
  display: grid;
  gap: 18px;
}

.food-eyebrow {
  margin: 0;
  color: var(--food-accent);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.food-screen-catalog h1,
.food-admin-topbar h1 {
  margin: 0;
  color: var(--food-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 500;
  line-height: 0.92;
}

.food-lead {
  max-width: 860px;
  margin: 0;
  color: var(--food-muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.7;
}

.food-home-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 10px;
}

.food-home-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--food-brand-deep), var(--food-brand));
  box-shadow: 0 16px 34px rgba(86, 7, 22, 0.16);
}

.food-home-button:hover {
  background: linear-gradient(135deg, var(--food-brand), #a0142c);
}

.food-home-button-secondary {
  color: var(--food-brand-deep);
  border: 1px solid rgba(143, 15, 36, 0.22);
  background: #fff;
}

.food-home-button-secondary:hover {
  color: #fff;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.food-card {
  min-height: 290px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 16px;
  color: inherit;
  text-align: left;
  border: 1px solid var(--food-line);
  border-radius: 8px;
  border-top: 4px solid var(--card-accent, var(--food-accent));
  background: linear-gradient(180deg, #fff, #fdf7ef);
  box-shadow: var(--food-shadow);
  cursor: pointer;
}

.food-card:hover {
  border-color: rgba(143, 15, 36, 0.28);
  transform: translateY(-1px);
}

.food-card-image {
  width: 100%;
  max-width: 180px;
  height: 152px;
  object-fit: contain;
  justify-self: center;
}

.food-card-badge {
  width: max-content;
  padding: 7px 10px;
  color: var(--card-accent, var(--food-brand));
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(197, 138, 37, 0.14);
}

.food-card h3 {
  margin: 0;
  color: var(--food-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.food-card p {
  margin: 0;
  color: var(--food-muted);
  line-height: 1.55;
}

.food-card strong {
  color: var(--card-accent, var(--food-brand));
  font-size: 1.25rem;
}

.food-card-original {
  color: var(--food-muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: line-through;
}

.food-card-promo {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 8px;
  background: var(--food-success);
}

.food-detail-panel,
.food-receipt-panel,
.food-admin-panel {
  border: 1px solid var(--food-line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--food-shadow);
}

.food-detail-panel {
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
}

.food-detail-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  justify-self: center;
  object-fit: contain;
}

.food-detail-copy {
  display: grid;
  gap: 16px;
}

.food-detail-copy h2,
.food-receipt-panel h2,
.food-admin-panel h2 {
  margin: 0;
  color: var(--food-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.food-detail-copy p {
  margin: 0;
  color: var(--food-muted);
  line-height: 1.65;
}

.food-detail-copy strong {
  color: var(--food-brand);
  font-size: 1.6rem;
}

.food-detail-actions,
.food-receipt-actions,
.food-modal-actions,
.food-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.food-button {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.food-button-primary {
  background: linear-gradient(135deg, var(--food-brand-deep), var(--food-brand));
}

.food-button-primary:hover {
  background: linear-gradient(135deg, var(--food-brand), #a0142c);
}

.food-button-secondary {
  color: var(--food-brand-deep);
  background: #fff;
  border: 1px solid rgba(143, 15, 36, 0.22);
}

.food-button-secondary:hover {
  border-color: rgba(143, 15, 36, 0.4);
}

.food-button-danger {
  background: linear-gradient(135deg, var(--food-danger), var(--food-brand));
}

.food-screen-receipt {
  display: grid;
}

.food-receipt-panel {
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 22px;
}

.food-receipt-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.food-receipt-check {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--food-success);
  font-size: 2rem;
  font-weight: 900;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.food-receipt-code {
  width: max-content;
  padding: 18px 24px;
  color: var(--food-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0;
  border: 1px solid rgba(143, 15, 36, 0.12);
  border-radius: 18px;
  background: #fff;
}

.food-receipt-lines {
  margin: 0;
  padding-left: 20px;
  color: var(--food-muted);
  line-height: 1.8;
}

.food-status {
  margin: 0;
  color: var(--food-muted);
  font-weight: 700;
}

.food-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
}

.food-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(86, 7, 22, 0.44);
}

.food-modal-panel {
  position: relative;
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 26px 80px rgba(86, 7, 22, 0.18);
}

.food-modal-panel h3 {
  margin: 0;
  color: var(--food-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.food-modal-panel p {
  margin: 0;
  color: var(--food-muted);
  line-height: 1.6;
}

.food-cpf-entry {
  display: grid;
  gap: 10px;
}

.food-cpf-entry label {
  color: var(--food-brand-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.food-cpf-entry input {
  min-height: 52px;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--food-line);
  border-radius: 14px;
  outline: none;
}

.food-cpf-entry input:focus {
  border-color: rgba(143, 15, 36, 0.5);
  box-shadow: 0 0 0 4px rgba(143, 15, 36, 0.12);
}

.food-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.food-metric-card {
  min-height: 124px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  border: 1px solid var(--food-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--food-shadow);
}

.food-metric-card span {
  color: var(--food-accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.food-metric-card strong {
  color: var(--food-brand-deep);
  font-size: 2.4rem;
  line-height: 1;
}

.food-admin-shell {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  gap: 18px;
  background: var(--food-bg);
}

.food-admin-panel {
  padding: 20px;
  display: grid;
  gap: 18px;
}

.food-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.food-doc-card {
  padding: 18px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--food-line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: var(--food-shadow);
}

.food-doc-card h3 {
  margin: 0;
  color: var(--food-brand-deep);
  font-size: 1.05rem;
}

.food-doc-card p,
.food-doc-card pre {
  margin: 0;
  color: var(--food-muted);
  line-height: 1.65;
}

.food-doc-card pre {
  padding: 14px;
  overflow: auto;
  border-radius: 12px;
  background: var(--food-surface-soft);
}

.food-table-wrap {
  overflow: auto;
}

.food-table {
  width: 100%;
  border-collapse: collapse;
}

.food-table th,
.food-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--food-line);
  text-align: left;
  vertical-align: top;
}

.food-table th {
  color: var(--food-brand-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.numeric-cell {
  text-align: right;
}

.food-empty {
  color: var(--food-muted);
  text-align: center;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .food-grid,
  .food-metric-grid,
  .food-doc-grid {
    grid-template-columns: 1fr;
  }

  .food-detail-panel {
    grid-template-columns: 1fr;
  }

  .food-shell,
  .food-admin-shell {
    padding: 18px;
  }
}

@media print {
  .food-topbar,
  .food-stage,
  .food-status,
  .food-modal,
  .food-admin-actions,
  .food-admin-topbar form {
    display: none !important;
  }
}

/* Fast food totem */
.food-totem-page {
  background: #eef5ff;
}

.food-totem-page .is-hidden {
  display: none !important;
}

.food-totem-shell {
  min-height: 100vh;
  padding: 6px;
}

.food-totem-frame {
  width: 100%;
  min-height: calc(100vh - 12px);
  height: calc(100vh - 12px);
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cddbf1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #edf4ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 18px 40px rgba(16, 45, 90, 0.08);
}

.food-voice-page {
  background: var(--food-bg);
}

.food-voice-shell {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.food-voice-header {
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 34px);
  text-align: left;
}

.food-voice-header h1 {
  margin: 0;
  color: var(--food-brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 500;
  line-height: 0.92;
}

.food-totem-screen {
  min-height: calc(100vh - 12px);
  padding: 26px clamp(18px, 3.2vw, 38px) 18px;
  display: grid;
  align-content: start;
  gap: 22px;
}

.food-totem-catalog {
  grid-template-rows: auto auto 1fr auto;
}

.food-totem-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-top: 8px;
}

.food-totem-hero-mark {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #d8e3f4;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 45, 90, 0.08);
}

.food-totem-hero-mark img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.food-totem-catalog h1 {
  margin: 0;
  color: #102d67;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 0.96;
  text-align: center;
}

.food-totem-separator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.food-totem-separator span {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: #b01d34;
}

.food-totem-separator i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b01d34;
}

.food-totem-lead {
  margin: 0;
  color: #60709a;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  text-align: center;
}

.food-totem-step-hero {
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 8px;
  text-align: center;
}

.food-totem-step-hero h1 {
  margin: 0;
  color: #102d67;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  font-weight: 800;
}

.food-totem-step-hero p {
  margin: 0;
  color: #60709a;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}

.food-totem-menu {
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 16px;
  align-self: start;
}

.food-totem-menu-card {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  color: inherit;
  text-align: left;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 45, 90, 0.08);
  cursor: pointer;
}

.food-totem-menu-thumb {
  min-height: 198px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #f6f9ff;
}

.food-totem-menu-thumb img {
  max-width: 100%;
  max-height: 172px;
  object-fit: contain;
}

.food-totem-menu-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.food-totem-tag {
  width: max-content;
  padding: 8px 14px;
  color: #102d67;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(176, 29, 52, 0.1);
}

.food-totem-menu-copy strong {
  color: #102d67;
  font-size: clamp(1.8rem, 3.1vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}

.food-totem-menu-summary {
  color: #5e6f95;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.45;
}

.food-totem-menu-price {
  color: #102d67;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
}

.food-totem-menu-chevron {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: #f3f7fd;
  box-shadow: inset 0 0 0 1px #e0e9f8;
  color: #102d67;
  font-size: 3rem;
  line-height: 1;
}

.food-totem-hint {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #5f6f95;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  text-align: center;
}

.food-totem-hint img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.food-totem-back {
  width: max-content;
  min-height: 84px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #102d67;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  border: 1px solid #dce7f7;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(16, 45, 90, 0.08);
  cursor: pointer;
}

.food-totem-back span:first-child {
  font-size: 1.9rem;
  line-height: 1;
}

.food-totem-detail,
.food-totem-methods,
.food-totem-payment,
.food-totem-receipt {
  gap: 18px;
}

.food-totem-detail-card,
.food-totem-summary-card,
.food-totem-payment-panel,
.food-totem-receipt-card {
  width: min(100%, 1080px);
  justify-self: center;
}

.food-totem-detail-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 45, 90, 0.08);
}

.food-totem-detail-media {
  min-height: 390px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fffdf6 0%, #ffffff 100%);
}

.food-totem-detail-image {
  width: min(72vw, 560px);
  max-height: 350px;
  object-fit: contain;
}

.food-totem-detail-body {
  padding: 28px 32px 30px;
  display: grid;
  gap: 18px;
}

.food-totem-detail-body h2 {
  margin: 0;
  color: #102d67;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.96;
  font-weight: 800;
}

.food-totem-detail-body p {
  margin: 0;
  color: #5e6f95;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.food-totem-detail-body > strong {
  color: #102d67;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
}

.food-totem-qty-panel,
.food-totem-subtotal-panel {
  padding: 18px 22px;
  display: grid;
  gap: 12px;
  border: 1px solid #edf2fb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(16, 45, 90, 0.05);
}

.food-totem-qty-panel > span,
.food-totem-subtotal-panel > span {
  color: #102d67;
  font-size: 1.1rem;
  font-weight: 500;
}

.food-totem-qty-controls {
  display: grid;
  grid-template-columns: 84px minmax(120px, 1fr) 84px;
  align-items: center;
  gap: 22px;
}

.food-totem-icon-button {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid #e3ebf7;
  border-radius: 18px;
  background: #f7fbff;
  color: #102d67;
  font-size: 3.4rem;
  cursor: pointer;
}

.food-totem-qty-controls strong {
  color: #102d67;
  font-size: clamp(4rem, 8vw, 5.6rem);
  line-height: 1;
  text-align: center;
}

.food-totem-subtotal-panel {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.food-totem-subtotal-panel strong {
  color: #102d67;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.food-totem-actions {
  display: grid;
  gap: 16px;
}

.food-totem-actions-wide {
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.45fr);
  width: min(100%, 1080px);
  justify-self: center;
}

.food-totem-button {
  min-height: 84px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 22px;
  color: #ffffff;
  font: inherit;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.food-totem-button-primary {
  background: linear-gradient(135deg, #16377a, #0f265d);
  box-shadow: 0 16px 34px rgba(15, 38, 93, 0.18);
}

.food-totem-button-secondary {
  color: #102d67;
  border-color: #3455a8;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(16, 45, 90, 0.08);
}

.food-totem-summary-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 45, 90, 0.08);
}

.food-totem-summary-image {
  width: 180px;
  height: 138px;
  object-fit: contain;
  justify-self: center;
}

.food-totem-summary-copy {
  display: grid;
  gap: 10px;
}

.food-totem-summary-copy h2 {
  margin: 0;
  color: #102d67;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.food-totem-summary-copy p {
  margin: 0;
  color: #5e6f95;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.food-totem-summary-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: #5e6f95;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.food-totem-summary-meta strong {
  color: #102d67;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.food-totem-payment-options {
  width: min(100%, 1080px);
  justify-self: center;
  display: grid;
  gap: 18px;
}

.food-totem-payment-option {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 66px;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  text-align: left;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 45, 90, 0.08);
  cursor: pointer;
}

.food-totem-payment-option.is-selected {
  border-color: #3455a8;
  box-shadow: 0 24px 48px rgba(15, 38, 93, 0.12);
}

.food-totem-payment-option img {
  width: 208px;
  height: 160px;
  object-fit: contain;
  padding: 14px;
  border-radius: 22px;
  background: #f7fbff;
}

.food-totem-payment-option-copy {
  display: grid;
  gap: 8px;
}

.food-totem-payment-option-copy strong {
  color: #102d67;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.food-totem-payment-option-copy span {
  color: #5e6f95;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.food-totem-option-chevron {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: #f3f7fd;
  box-shadow: inset 0 0 0 1px #e0e9f8;
  color: #102d67;
  font-size: 3.6rem;
  line-height: 1;
}

.food-totem-payment-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.food-totem-payment-illustration {
  width: min(100%, 520px);
  display: grid;
  place-items: center;
}

.food-totem-payment-illustration img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.food-totem-payment-panel h2 {
  margin: 0;
  color: #102d67;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 800;
}

.food-totem-payment-panel p {
  margin: 0;
  color: #5e6f95;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.45;
}

.food-totem-countdown {
  --progress: 100;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#3b78da calc(var(--progress) * 1%), #e3ecfb 0);
}

.food-totem-countdown-core {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e6eef8;
}

.food-totem-countdown-core strong {
  color: #102d67;
  font-size: clamp(3.4rem, 6vw, 4.8rem);
  line-height: 1;
  font-weight: 800;
}

.food-totem-countdown-core span {
  color: #102d67;
  font-size: 1.1rem;
  line-height: 1;
}

.food-totem-payment-status {
  color: #5e6f95;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.food-totem-receipt {
  justify-items: center;
}

.food-totem-receipt-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px 26px;
  border: 1px solid #dce7f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 45, 90, 0.08);
  text-align: center;
}

.food-totem-receipt-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid #4a77d2;
  color: #2f6dcf;
  font-size: 3rem;
  font-weight: 800;
}

.food-totem-receipt-eyebrow {
  margin: 0;
  color: #2f6dcf;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.food-totem-receipt-card h2 {
  margin: 0;
  color: #102d67;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.food-totem-receipt-code {
  width: max-content;
  padding: 18px 26px;
  color: #102d67;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  border-radius: 20px;
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px #e0e9f8;
}

.food-totem-receipt-lines {
  margin: 0;
  padding-left: 20px;
  color: #5e6f95;
  line-height: 1.8;
  text-align: left;
}

@media (max-width: 1100px) {
  .food-totem-menu-card,
  .food-totem-payment-option {
    grid-template-columns: 1fr;
  }

  .food-totem-menu-thumb,
  .food-totem-payment-option img {
    width: 100%;
    height: auto;
    min-height: 180px;
  }

  .food-totem-actions-wide,
  .food-totem-summary-card {
    grid-template-columns: 1fr;
  }

  .food-totem-summary-meta {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .food-totem-screen {
    padding: 18px 16px 16px;
  }

  .food-totem-hero-mark {
    width: 96px;
    height: 96px;
  }

  .food-totem-catalog h1 {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }

  .food-totem-detail-body,
  .food-totem-receipt-card,
  .food-totem-summary-card {
    padding: 20px;
  }

  .food-totem-detail-media {
    min-height: 260px;
  }

  .food-totem-qty-controls {
    grid-template-columns: 72px minmax(72px, 1fr) 72px;
  }

  .food-totem-icon-button {
    width: 72px;
    height: 72px;
  }

  .food-totem-button {
    min-height: 72px;
    border-radius: 18px;
  }

  .food-totem-countdown {
    width: 150px;
    height: 150px;
  }

  .food-totem-countdown-core {
    width: 118px;
    height: 118px;
  }
}
