:root {
  --bg: #fffaf3;
  --ink: #231b15;
  --muted: #726459;
  --line: #e7d5bd;
  --panel: #fff;
  --accent: #b83325;
  --accent-dark: #8e271d;
  --green: #22744a;
  --gold: #f0b33f;
  --shadow: 0 18px 48px rgba(56, 35, 18, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.topbar { align-items: center; background: rgba(255,250,243,.95); border-bottom: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; min-height: 74px; padding: 14px clamp(18px,5vw,72px); position: sticky; top: 0; z-index: 10; }
.brand { align-items: center; color: inherit; display: inline-flex; gap: 12px; text-decoration: none; }
.brand-mark { align-items: center; aspect-ratio: 1; background: var(--accent); border-radius: 8px; color: #fff; display: inline-flex; font-weight: 950; justify-content: center; width: 46px; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nav { display: flex; gap: 8px; }
.nav a { border-radius: 8px; color: var(--muted); padding: 10px 12px; text-decoration: none; }
.nav a:hover { background: #f3e4cf; color: var(--ink); }
.hero { background: linear-gradient(90deg, rgba(35,27,21,.9), rgba(35,27,21,.22)), url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=1800&q=85") center/cover; color: #fff; min-height: min(640px, calc(100vh - 74px)); padding: clamp(58px,9vw,116px) clamp(18px,5vw,72px); }
.hero-copy { max-width: 850px; }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 900; margin: 0 0 10px; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem,6.6vw,5.2rem); line-height: .98; margin-bottom: 22px; max-width: 980px; }
h2 { font-size: clamp(1.65rem,3vw,2.45rem); line-height: 1.08; margin-bottom: 0; }
.hero p { color: rgba(255,255,255,.86); font-size: clamp(1rem,2vw,1.22rem); line-height: 1.6; max-width: 680px; }
.primary-action, .secondary-action, .checkout { align-items: center; background: var(--accent); border: 0; border-radius: 8px; color: #fff; display: inline-flex; font-weight: 900; justify-content: center; min-height: 48px; padding: 0 18px; text-decoration: none; }
.primary-action:hover, .secondary-action:hover, .checkout:hover { background: var(--accent-dark); }
.status-strip { background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(4,1fr); }
.status-strip span { background: rgba(255,255,255,.06); padding: 18px clamp(18px,5vw,72px); }
.today-band { align-items: center; background: #fff1d8; border-bottom: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; padding: clamp(24px,4vw,44px) clamp(18px,5vw,72px); }
.today-band h2 { max-width: 820px; }
.layout { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0,1fr) minmax(360px,460px); padding: clamp(36px,6vw,76px) clamp(18px,5vw,72px); }
.section-heading { margin-bottom: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.filter, .ghost-button, .qty-button { background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.filter { min-height: 42px; padding: 0 14px; }
.filter.active { background: var(--green); border-color: var(--green); color: #fff; }
.menu-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.menu-item { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(56,35,18,.08); display: grid; grid-template-rows: 170px 1fr; overflow: hidden; }
.menu-item img { height: 100%; object-fit: cover; width: 100%; }
.item-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.item-title { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.item-title h3 { font-size: 1.04rem; line-height: 1.25; margin: 0; }
.price { color: var(--green); font-weight: 950; white-space: nowrap; }
.description { color: var(--muted); font-size: .94rem; line-height: 1.45; margin: 0; }
.add-button { background: #fff2d2; border: 1px solid #e9c36d; border-radius: 8px; color: #684106; font-weight: 900; min-height: 42px; margin-top: auto; }
.order-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); display: grid; gap: 16px; padding: 20px; position: sticky; top: 92px; }
.panel-header { align-items: start; display: flex; justify-content: space-between; }
.order-number, .empty-cart { color: var(--muted); }
.order-number { font-size: .9rem; font-weight: 800; margin: 8px 0 0; }
.ghost-button { min-height: 38px; padding: 0 12px; }
.continue-order { background: var(--ink); border: 0; border-radius: 8px; color: #fff; font-weight: 900; min-height: 44px; padding: 0 16px; width: 100%; }
.order-panel.order-focus { animation: orderPulse 1.6s ease; border-color: var(--accent); }
@keyframes orderPulse { 0% { box-shadow: 0 0 0 0 rgba(184,51,37,.32), var(--shadow); } 100% { box-shadow: 0 0 0 18px rgba(184,51,37,0), var(--shadow); } }
.cart-list { display: grid; gap: 12px; }
.cart-row { border-bottom: 1px solid var(--line); display: grid; gap: 10px; padding-bottom: 12px; }
.cart-row-top, .qty-controls, .totals div { align-items: center; display: flex; }
.cart-row-top, .totals div { justify-content: space-between; }
.qty-controls { gap: 8px; }
.qty-button { aspect-ratio: 1; font-weight: 900; width: 34px; }
.item-options, .checkout-section, .address-group { border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 12px; padding: 12px; }
.item-options, .address-group { background: #fffaf3; }
.checkout-section { border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; padding-left: 0; padding-right: 0; }
.option-title, .checkout-title, .field-title { color: var(--ink); font-size: .94rem; font-weight: 950; margin: 0; }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.check-option { align-items: center; color: var(--muted); display: flex; font-size: .88rem; font-weight: 800; gap: 8px; }
.check-option input { accent-color: var(--accent); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 10px; grid-template-columns: minmax(92px,.7fr) minmax(0,1.3fr); }
.field span { color: var(--muted); font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea, .line-note { background: #fffaf3; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); min-height: 44px; padding: 10px 12px; width: 100%; }
.item-options .line-note, .address-group .field input { background: #fff; }
.line-note, .field textarea { resize: vertical; }
.field input:invalid, .field textarea:invalid { border-color: #d9776d; }
.hidden { display: none; }
.totals { border-top: 1px solid var(--line); display: grid; gap: 10px; margin: 0; padding-top: 14px; }
.totals dt { color: var(--muted); }
.totals dd { font-weight: 900; margin: 0; }
.grand-total { font-size: 1.2rem; }
.checkout { width: 100%; }
.checkout:disabled { background: #b9afa8; cursor: not-allowed; }
.order-message, .order-message a { color: var(--green); font-weight: 900; }
@media (max-width:1080px) { .layout { grid-template-columns: 1fr; } .order-panel { position: static; } .menu-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:720px) { .topbar, .today-band { align-items: flex-start; flex-direction: column; } .nav { overflow-x: auto; width: 100%; } .status-strip, .menu-grid, .field-row, .check-grid { grid-template-columns: 1fr; } }
