:root {
  --bg: #fffaf2;
  --ink: #211a16;
  --muted: #6f625a;
  --line: #e7d7c3;
  --panel: #ffffff;
  --accent: #d33f2f;
  --accent-dark: #a52d24;
  --gold: #f3b33d;
  --leaf: #1f7a4a;
  --shadow: 0 18px 50px rgba(57, 34, 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 {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  align-items: center;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  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(--ink);
  border-radius: 8px;
  color: var(--gold);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  width: 44px;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.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: #f5eadb;
  color: var(--ink);
}

.hero {
  background:
    linear-gradient(90deg, rgba(33, 26, 22, 0.9), rgba(33, 26, 22, 0.3)),
    url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
  min-height: min(680px, calc(100vh - 72px));
  padding: clamp(54px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 900px;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 0;
}

.hero-text {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
  max-width: 590px;
}

.primary-action,
.secondary-action,
.checkout {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  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: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.status-strip span {
  background: rgba(255, 255, 255, 0.06);
  padding: 18px clamp(18px, 5vw, 72px);
}

.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: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.filter {
  min-height: 42px;
  padding: 0 14px;
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.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(57, 34, 18, 0.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.03rem;
  line-height: 1.25;
  margin: 0;
}

.price {
  color: var(--leaf);
  font-weight: 900;
  white-space: nowrap;
}

.description {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0;
}

.add-button {
  background: #fff3df;
  border: 1px solid #f2c980;
  border-radius: 8px;
  color: #6d4208;
  font-weight: 800;
  min-height: 42px;
  margin-top: auto;
}

.add-button:hover {
  background: #ffe2ad;
}

.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 {
  color: var(--muted);
  font-size: 0.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: white;
  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(211, 63, 47, 0.32), var(--shadow);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(211, 63, 47, 0), var(--shadow);
  }
}

.cart-list {
  display: grid;
  gap: 12px;
  min-height: 64px;
}

.empty-cart {
  color: var(--muted);
  margin: 0;
}

.cart-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row strong {
  display: block;
  line-height: 1.3;
}

.cart-row-top {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.qty-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.qty-button {
  aspect-ratio: 1;
  font-weight: 900;
  width: 34px;
}

.item-options {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.option-title,
.checkout-title {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  margin: 0;
}

.ingredient-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-option {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 6px;
}

.check-option input {
  accent-color: var(--accent);
}

.line-note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 9px 10px;
  resize: vertical;
  width: 100%;
}

.checkout-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.address-group {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.field-title {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0;
}

.field-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1.3fr);
}

.field span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.address-group .field input {
  background: white;
}

.field input:invalid,
.field textarea:invalid {
  border-color: #dc7b70;
}

.hidden {
  display: none;
}

.field textarea {
  resize: vertical;
}

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

.totals div {
  display: flex;
  justify-content: space-between;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  font-weight: 800;
  margin: 0;
}

.grand-total {
  font-size: 1.2rem;
}

.checkout {
  width: 100%;
}

.checkout:disabled {
  background: #b9afa8;
  cursor: not-allowed;
}

.order-message {
  color: var(--leaf);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  min-height: 24px;
}

.order-message a {
  color: var(--leaf);
}

.combos-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.95), rgba(255, 250, 242, 0.78)),
    url("https://images.unsplash.com/photo-1594212699903-ec8a3eca50f5?auto=format&fit=crop&w=1600&q=85") center/cover;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 240px;
  padding: clamp(34px, 5vw, 72px);
}

.combos-band h2 {
  max-width: 780px;
}

.info-section {
  padding: clamp(36px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.info-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(57, 34, 18, 0.08);
  padding: 18px;
}

.info-icon {
  align-items: center;
  background: #fff3df;
  border: 1px solid #f2c980;
  border-radius: 8px;
  display: inline-flex;
  font-size: 1.2rem;
  height: 42px;
  justify-content: center;
  margin-bottom: 14px;
  width: 42px;
}

.info-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.info-card p {
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.info-card small,
.contact-band p {
  color: var(--muted);
  line-height: 1.45;
}

.contact-band {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-band p {
  margin: 10px 0 0;
}

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .order-panel {
    position: static;
  }

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

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    overflow-x: auto;
    width: 100%;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
  }

  .combos-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .ingredient-options {
    grid-template-columns: 1fr;
  }

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

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}
