.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(24px, 7vw, 104px);
  align-items: center;
  min-height: 790px;
  padding-block: 36px 49px;
}
.order-copy { padding-block: 12px; }
.order-copy h1 { max-width: 13ch; }
.order-copy .lead { max-width: 39ch; }
.order-chapters {
  display: grid;
  max-width: 445px;
  gap: 2px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}
.order-chapters li {
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: center;
  column-gap: 13px;
  min-height: 39px;
  padding: 4px 8px;
  border-radius: 12px;
  color: var(--dim);
  font-size: .86rem;
}
.order-chapters li strong { font-weight: 720; }
.order-chapters li small { display: none; font-size: .82rem; line-height: 1.35; color: var(--dim); }
.order-chapters li[aria-current] {
  min-height: 58px;
  padding-block: 7px;
  background: color-mix(in srgb, var(--card) 76%, transparent);
  color: var(--ink);
}
.order-chapters li[aria-current] small { display: block; margin-top: 2px; }
.order-chapter-count {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 760;
}
.order-chapters li[aria-current] .order-chapter-count { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.order-chapters li.is-complete .order-chapter-count { color: var(--success); border-color: color-mix(in srgb, var(--success) 38%, transparent); }
.order-stage { --device-width: 325px; gap: 9px; }
.order-caption { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 9px 14px; min-height: 33px; color: var(--ink); font-size: .83rem; font-weight: 710; }
.order-caption button { min-height: 33px; padding: 4px 8px; border: 0; border-radius: 15px; color: var(--accent); background: transparent; font-size: .78rem; font-weight: 730; }
.order-caption button:hover { text-decoration: underline; text-underline-offset: .25em; }
.order-demo-note { margin-top: -6px; color: var(--dim); font-size: .75rem; text-align: center; }
.order-app { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 2cqw; }
.order-page .phone-main { overflow: hidden; }
.order-scroll { display: flex; flex-direction: column; flex: 1; gap: 3cqw; min-height: 0; overflow: auto; scrollbar-width: thin; padding-bottom: 1.5cqw; }
.order-footer { flex: none; display: grid; gap: 1.5cqw; }
.order-footer .app-btn:disabled:not(.secondary) { background: var(--quiet); border-color: var(--line); color: var(--dim); filter: none; opacity: .8; }
.order-phone-heading { display: grid; gap: 1.55cqw; padding-block: .9cqw .8cqw; }
.order-context { color: var(--dim); font-size: 3.4cqw; font-weight: 660; }
.order-page .phone-main h2 { font-size: 8.65cqw; }
.order-page .phone-main h3 { font-size: 4.65cqw; }
.order-card { padding: 3.4cqw; border-radius: 4.3cqw; background: var(--card); }
.order-stack { display: grid; gap: 2.35cqw; }
.order-help { color: var(--dim); font-size: 3.25cqw; line-height: 1.46; }
.order-footer .order-help { text-align: center; margin-bottom: .75cqw; }
.order-helper { color: var(--dim); font-size: 3.65cqw; line-height: 1.41; }
.order-camera { min-height: 0; background-position: 54% 76%; }
.order-camera .camera-focus { inset: 12% 9%; }
.order-table-card {
  width: 57%;
  display: grid;
  justify-items: center;
  gap: 1.7cqw;
  padding: 4cqw 2.75cqw 3.7cqw;
  border-radius: 2cqw;
  background: linear-gradient(147deg,#fff8e9,#e9d2a8);
  color: #38281d;
  font-family: Georgia, serif;
  transform: perspective(350px) rotateY(-12deg) rotate(-8deg);
  box-shadow: 1.4cqw 2.7cqw 1cqw #29170f35, .9cqw 3.3cqw 5cqw #29170f7d;
}
.order-table-card span { font-size: 6.1cqw; font-weight: 700; letter-spacing: -.05em; }
.order-table-card strong { font: 720 3.65cqw var(--restorada-font); }
.order-table-card img { width: 91%; height: auto; border-radius: 1.1cqw; }
.order-dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.65cqw; align-items: center; padding: 2.15cqw; background: var(--card); border-radius: 3.9cqw; }
.order-dish-details { display: grid; grid-template-columns: 15cqw minmax(0, 1fr); align-items: center; gap: 2.2cqw; min-width: 0; padding: 0; border: 0; border-radius: 2.6cqw; background: transparent; color: var(--ink); text-align: left; }
.order-dish-details--text { grid-template-columns: minmax(0, 1fr); }
.order-dish-label, .order-line > span, .order-assignments label > span { min-width: 0; overflow-wrap: anywhere; }
button.order-dish-details:hover strong { text-decoration: underline; text-underline-offset: .65cqw; }
.order-dish img { width: 15cqw; height: 15cqw; object-fit: cover; border-radius: 2.6cqw; }
.order-dish strong, .order-dish small, .order-dish-price { display: block; }
.order-dish strong { font-size: 3.75cqw; line-height: 1.05; }
.order-dish small { font-size: 2.95cqw; color: var(--dim); line-height: 1.24; margin-top: .85cqw; text-wrap: pretty; }
.order-dish-price { font-size: 3.35cqw; font-weight: 690; margin-top: .85cqw; }
.order-dish-hero { position: relative; flex: 0 0 auto; margin: 0; overflow: hidden; aspect-ratio: 1.47; border-radius: 4.3cqw; }
.order-dish-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.order-dish-hero figcaption { position: absolute; inset: auto auto 2.4cqw 2.4cqw; padding: .85cqw 1.6cqw; border-radius: 100rem; background: #101828d9; color: #fff; font-size: 2.7cqw; }
.quantity {
  display: grid;
  grid-template-columns: 8.8cqw 4.5cqw 8.8cqw;
  align-items: center;
  border-radius: 50rem;
  background: var(--quiet);
  text-align: center;
  font-size: 3.6cqw;
  font-weight: 750;
}
.quantity button { width: 8.8cqw; height: 9.5cqw; border: 0; border-radius: 50%; padding: 0; background: transparent; font-size: 4.8cqw; font-weight: 700; }
.quantity button:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 23%, var(--quiet)); }
.quantity button:disabled { opacity: .46; }
.order-line { display: flex; align-items: baseline; justify-content: space-between; gap: 2.2cqw; font-size: 3.7cqw; }
.order-line + .order-line { margin-top: 1.55cqw; }
.order-line > strong { flex: none; font-variant-numeric: tabular-nums; }
.order-line small, .order-method-card small { display: block; margin-top: .55cqw; font-size: 2.93cqw; color: var(--dim); }
.order-total-card { padding: 4.6cqw; }
.order-number { margin-block: 1.1cqw; font-size: 10cqw; letter-spacing: -.063em; font-weight: 770; font-variant-numeric: tabular-nums; line-height: 1.05; }
.order-divider { margin-top: 2.7cqw; padding-top: 2.65cqw; border-top: 1px solid var(--line); }
.order-status { color: var(--success); font-size: 3.53cqw; font-weight: 730; }
.order-status span { display: inline-grid; place-items: center; width: 5.2cqw; height: 5.2cqw; margin-right: .55cqw; border-radius: 50%; background: color-mix(in srgb, var(--success) 16%, transparent); }
.order-amount-heading { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; font-size: 3.6cqw; color: var(--dim); }
.order-amount-heading b { font-size: 6cqw; color: var(--ink); letter-spacing: -.034em; font-variant-numeric: tabular-nums; }
.order-person { display: grid; grid-template-columns: 7.3cqw 1fr auto; align-items: center; }
.order-person + .order-person { padding-top: 1.7cqw; border-top: 1px solid var(--line); }
.order-person-icon { display: grid; place-items: center; width: 7.3cqw; aspect-ratio: 1; background: var(--quiet); border-radius: 50%; font-size: 3.15cqw; font-weight: 760; }
.order-person small.order-paid { color: var(--success); font-weight: 700; }
.order-assignments { display: grid; gap: 1.35cqw; }
.order-assignments label { display: grid; grid-template-columns: 1fr auto; gap: 1cqw; align-items: center; font-size: 3.5cqw; font-weight: 670; }
.order-assignments small { color: var(--dim); margin-left: .75cqw; font-size: 2.8cqw; }
.order-assignments select { max-width: 24cqw; min-height: 8.45cqw; padding: 1cqw 1.5cqw; border: 1px solid var(--line); border-radius: 2cqw; background: var(--quiet); color: var(--ink); font: inherit; }
.order-share-card { display: grid; gap: 2.35cqw; }
.order-share-actions { display: grid; grid-template-columns: 1fr auto; gap: 1.65cqw; }
.order-small-button { display: inline-flex; min-height: 9.9cqw; padding: 1.6cqw 2.6cqw; align-items: center; justify-content: center; border: 0; border-radius: 100rem; background: var(--quiet); color: var(--ink); font: inherit; font-size: 3.35cqw; font-weight: 730; text-align: center; text-wrap: balance; }
.order-small-button:hover { background: color-mix(in srgb, var(--accent) 23%, var(--quiet)); }
.order-link-value { width: 100%; min-width: 0; padding: 1.3cqw; border: 1px solid var(--line); border-radius: 2cqw; background: var(--quiet); color: var(--ink); font: inherit; font-size: 3.2cqw; }
.order-link-action { align-self: flex-start; min-height: 8.7cqw; padding: 1.1cqw 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 3.35cqw; font-weight: 710; text-align: left; }
.order-link-action:hover { text-decoration: underline; text-underline-offset: .7cqw; }
.order-error { padding: 2cqw 2.5cqw; border-left: .72cqw solid var(--accent); border-radius: 1.2cqw; background: color-mix(in srgb, var(--accent) 11%, var(--card)); color: var(--ink); font-size: 3.4cqw; line-height: 1.35; }
.order-review-card { display: grid; gap: 1.6cqw; }
.order-review-stars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1cqw; }
.order-review-star { min-height: 12cqw; padding: 0; border: 0; border-radius: 2.6cqw; background: transparent; color: var(--dim); font-size: 7.6cqw; line-height: 1; }
.order-review-star[data-filled="true"] { color: var(--accent); }
.order-review-star:hover { background: var(--quiet); }
.order-review-field { display: grid; grid-template-columns: 1fr auto; gap: 1.5cqw; font-weight: 720; }
.order-review-field > span { color: var(--dim); font-size: 3.25cqw; font-weight: 540; }
.order-review-field textarea { grid-column: 1 / -1; width: 100%; min-width: 0; padding: 2.7cqw; border: 1px solid var(--line); border-radius: 3.4cqw; background: var(--card); color: var(--ink); font: inherit; font-weight: 480; line-height: 1.4; resize: none; }
.order-review-field textarea::placeholder { color: var(--dim); }
.order-review-note { color: var(--dim); font-size: 3.65cqw; font-weight: 530; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-page-feedback { margin: 0; color: var(--dim); font-size: .79rem; text-align: center; }
.order-method-card { display: grid; align-items: center; grid-template-columns: 10cqw 1fr; gap: 3cqw; font-size: 3.6cqw; }
.order-card-icon { position: relative; display: block; width: 9cqw; height: 6cqw; border: 1px solid var(--accent); border-radius: 1.55cqw; }
.order-card-icon::before { content: ''; position: absolute; inset: 1.3cqw 0 auto; height: .7cqw; background: var(--accent); }
.order-receipt-header { display: flex; justify-content: space-between; gap: 1cqw; padding-bottom: 2cqw; margin-bottom: 2cqw; border-bottom: 1px dashed var(--line); font-size: 3.5cqw; }
.order-receipt-header > span { color: var(--dim); }
.order-visit-card { display: grid; gap: 2cqw; width: 100%; border: 0; color: var(--ink); font: inherit; text-align: left; }
.order-visit-card:hover { background: color-mix(in srgb, var(--accent) 9%, var(--card)); }
.order-visit-card > span { display: flex; padding-top: 1.5cqw; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--dim); font-size: 3.26cqw; }
.order-visit-card > span > span { color: var(--accent); font-size: 5.3cqw; line-height: .8; }
.order-guest .order-layout { justify-content: center; min-height: min(790px, 100svh); }
.order-after { padding-block: clamp(40px, 6vw, 77px); border-block: 1px solid color-mix(in srgb, var(--line) 75%, transparent); }
.order-after-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.order-after h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); letter-spacing: -.052em; line-height: 1; }
.order-after p { margin-top: 12px; color: var(--dim); }
@media (max-width: 900px) {
  .order-layout { gap: 22px; min-height: 0; }
  .order-stage { --device-width: 302px; }
  .order-chapters { margin-top: 23px; }
}
@media (max-width: 640px) {
  .order-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 28px 32px; }
  .order-copy { display: contents; }
  .order-copy h1 { padding-top: 6px; }
  .order-copy .lead { margin: 0; }
  .order-chapters { order: 2; margin-top: 9px; }
  .order-stage { --device-width: 304px; margin-top: 13px; }
  .order-guest .order-layout { padding-top: 20px; }
}
