:root {
  color-scheme: light;
  font: 100%/1.5 "Segoe UI", system-ui, sans-serif;
  color: #2e241b;
  background: #fcf5e8;
  --ink: #2e241b;
  --muted: #685547;
  --line: #ddcbb4;
  --paper: #fffdf8;
  --red: #873c27;
  --dark-red: #672b1a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; width: 100%; }
button, select, input { font: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid #a94e24; outline-offset: 3px; }
.frame { width: min(100% - 3rem, 69rem); margin-inline: auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.2rem; }
.brand { font-weight: 750; font-size: 1.1rem; }
.topbar a { color: var(--dark-red); font-weight: 650; text-underline-offset: .23em; }
.hero { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 22rem; border-radius: 1rem; overflow: hidden; background: #efe0c9; }
.hero-copy { align-self: center; padding: clamp(1.25rem, 4vw, 3rem); }
.hero img { height: 100%; max-height: 27rem; object-fit: cover; object-position: center; }
.kind { color: var(--dark-red); font-size: .81rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; margin-bottom: .55rem; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; overflow-wrap: anywhere; }
h1 { font: 400 clamp(2.7rem, 7vw, 5.2rem)/.98 Georgia, serif; letter-spacing: -.056em; }
h2 { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.12 Georgia, serif; letter-spacing: -.035em; }
h3 { font-size: 1.1rem; }
.hero-copy h1 + p, .flow h1 + p { margin-top: .95rem; max-width: 36ch; color: var(--muted); }
.service-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(19rem, .78fr); align-items: start; gap: clamp(1rem, 4vw, 3.5rem); margin-top: 2rem; }
.panel { min-width: 0; padding: clamp(1rem, 3vw, 1.9rem); border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 700; margin-bottom: .55rem; }
.fulfillment { margin-bottom: 1.75rem; }
.choice-row, .actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice, .secondary, .small { display: inline-flex; align-items: center; justify-content: center; gap: .43rem; min-height: 2.75rem; border: 1px solid #bfa78c; border-radius: .45rem; background: transparent; color: var(--dark-red); padding: .57rem .8rem; font-weight: 650; }
.choice:has(:checked) { border-color: var(--red); background: #f6e6d7; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--red); }
#table-field { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .6rem; color: var(--muted); }
#table { min-height: 2.75rem; padding-inline: .6rem; border: 1px solid #bfa78c; border-radius: .4rem; background: var(--paper); }
.menu-list, .order-lines { list-style: none; padding: 0; margin: 0; }
.menu-list { margin-top: .65rem; border-top: 1px solid var(--line); }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.menu-item > div { grid-column: 1; grid-row: 1 / span 2; }
.menu-item p { color: var(--muted); margin-top: .33rem; overflow-wrap: anywhere; }
.menu-item .allergens, .mode-line { font-size: .9rem; color: var(--muted); }
.menu-item .price { grid-column: 2; grid-row: 1; justify-self: end; color: var(--ink); font-weight: 740; white-space: nowrap; margin: 0; }
.menu-item .extra { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; min-height: 2rem; color: var(--ink); font-size: .92rem; }
.menu-add { align-self: end; justify-self: end; grid-column: 2; grid-row: 2; }
.button { min-height: 2.75rem; padding: .7rem .98rem; border: 1px solid transparent; border-radius: .45rem; background: var(--red); color: white; font-weight: 700; }
.button:hover { background: var(--dark-red); }
.secondary:hover, .small:hover { background: #f6e6d7; }
.button:disabled { background: #ddcec1; color: #4c3b2e; cursor: default; }
.wide { width: 100%; }
.cart { position: sticky; top: 1rem; }
.mode-line { margin-block: .55rem .85rem; }
#empty-cart { color: var(--muted); margin-bottom: .75rem; }
.order-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .25rem .7rem; padding: .62rem 0; border-top: 1px solid var(--line); }
.order-lines strong { white-space: nowrap; }
.order-lines span { overflow-wrap: anywhere; }
.order-lines .small { min-height: 2.5rem; grid-column: 1 / -1; justify-self: start; font-size: .85rem; }
.total { display: flex; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); padding-block: .75rem; }
.total strong { font-size: 1.18rem; }
.flow { width: min(100%, 43rem); margin: clamp(.5rem, 4vw, 2.75rem) auto 0; }
.flow h1 { font-size: clamp(2.15rem, 5.5vw, 3.65rem); }
.flow .actions { margin-top: 1rem; }
.status { padding: .7rem .85rem; border-left: 4px solid var(--red); background: #f4e6d4; margin: .7rem 0 1.1rem; }
.receipt { margin-bottom: 1.35rem; }
.receipt summary { color: var(--dark-red); font-weight: 680; margin-bottom: .5rem; min-height: 2rem; }
footer { margin-block: 2rem; color: var(--muted); font-size: .86rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 43rem) {
  .frame { width: calc(100% - 2rem); }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); }
  .hero img { aspect-ratio: 1.85; }
  .service-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.4rem; }
  .cart { position: static; }
}
