:root {
  --cream: #fbf3e6;
  --cream-deep: #f3e4cc;
  --paper: #fffaf1;
  --ink: #3b2416;
  --brown: #5c3317;
  --brown-deep: #3b2416;
  --gold: #d4a017;
  --gold-hot: #c4920f;
  --burgundy: #7a1f1f;
  --burgundy-deep: #5c1515;
  --leaf: #c45a1a;
  --muted: #8a6b52;
  --line: #e4d0a8;
  --shadow: 0 16px 36px -20px rgba(59, 36, 22, 0.45);
  --radius: 16px;
  --font-display: "Alfa Slab One", "Impact", "Arial Black", serif;
  --font-body: "Outfit", "Gill Sans", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  background: var(--cream);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(212, 160, 23, 0.12), transparent 40%),
    radial-gradient(circle at 92% 8%, rgba(196, 90, 26, 0.1), transparent 36%),
    linear-gradient(180deg, #fff8ec 0%, var(--cream) 40%, var(--cream-deep) 100%);
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--brown-deep); }
p { margin: 0; }
a { color: var(--burgundy); }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 30;
}
.skip-link:focus { top: 12px; }

.page-frame {
  position: relative;
  max-width: 720px;
  margin: 12px auto 40px;
  padding: 22px 16px 28px;
  background: var(--cream);
  border: 3px solid var(--gold);
  box-shadow:
    inset 0 0 0 2px var(--cream),
    inset 0 0 0 4px rgba(212, 160, 23, 0.55),
    var(--shadow);
  overflow-x: hidden;
  overflow-y: visible;
}
@media (min-width: 640px) {
  .page-frame { margin-top: 24px; padding: 32px 32px 36px; }
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
  user-select: none;
}
.deco-turkey {
  top: 6px;
  left: 4px;
  width: 56px;
  height: auto;
}
.deco-leaves-tr {
  top: 4px;
  right: 4px;
  width: 60px;
  height: auto;
}
.deco-leaves-bl {
  bottom: 10px;
  left: 2px;
  width: 64px;
  height: auto;
  opacity: 0.8;
}
.deco-leaves-br {
  bottom: 10px;
  right: 2px;
  width: 64px;
  height: auto;
  opacity: 0.8;
}
@media (min-width: 480px) {
  .deco-turkey { width: 70px; left: 6px; top: 8px; }
  .deco-leaves-tr { width: 76px; right: 6px; top: 6px; }
}
@media (min-width: 720px) {
  .deco-turkey { width: 86px; left: 2px; top: 8px; }
  .deco-leaves-tr { width: 90px; right: 2px; top: 6px; }
  .deco-leaves-bl, .deco-leaves-br { width: 84px; }
}
/* Prevent any residual sideways scroll from peeking decorations */
body { overflow-x: hidden; }


.page-inner { position: relative; z-index: 1; }

.tg-header {
  text-align: center;
  margin: 0 0 18px;
  padding: 4px 44px 0; /* keep title clear of turkey/leaves */
}
@media (min-width: 480px) {
  .tg-header { padding: 4px 72px 0; }
}
@media (min-width: 720px) {
  .tg-header { padding: 6px 88px 0; }
}

.brand-bar {
  display: flex;
  justify-content: center;
  margin: 0 0 14px;
}
.brand-logo {
  width: min(280px, 70vw);
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none !important;
  filter: none !important;
  background: #000;
  object-fit: contain;
}

.menu-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6.2vw, 2.55rem);
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--brown-deep);
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 2;
  text-shadow: none;
  background: none;
  -webkit-text-stroke: 0;
  paint-order: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.menu-title span { white-space: nowrap; }
@media (max-width: 420px) {
  .menu-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1.12;
  }
}

.brush {
  display: block;
  width: min(240px, 62vw);
  height: 12px;
  margin: 8px auto 14px;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 2;
}

.ribbon {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 10px 20px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 2.8vw, 0.92rem);
  text-align: center;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  box-shadow: 0 8px 16px -10px rgba(90, 20, 20, 0.7);
}
.pickup-line {
  text-align: center;
  font-weight: 700;
  color: var(--brown);
  font-size: clamp(0.72rem, 2.6vw, 0.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1.35;
}
.closed-pill {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--burgundy-deep);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.closed-pill .accent { color: #f2d36b; }

.lede {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.pay-note {
  background: #fff6e4;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 11px 14px;
  margin: 0 auto 4px;
  max-width: 34rem;
  font-size: 0.9rem;
  color: var(--brown-deep);
  text-align: left;
  line-height: 1.4;
}
.pay-note strong { color: var(--burgundy-deep); }

.panel {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 0 14px;
  box-shadow: 0 8px 20px -18px rgba(59,36,22,0.5);
}
.panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.hint { color: var(--muted); font-size: 0.88rem; margin: 0 0 12px; }
.error {
  color: #8b1a1a;
  background: #fdeceb;
  border: 1px solid #f0b4b0;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 0;
  font-size: 0.9rem;
}
.error[hidden], [hidden] { display: none !important; }

.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.field input, .field textarea, .field select {
  font-weight: 500;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  min-height: 48px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold-hot);
}

.grid-2 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.store-grid {
  display: grid;
  gap: 10px;
}
@media (min-width: 560px) { .store-grid { grid-template-columns: 1fr 1fr; } }
.store-card {
  display: block;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 12px 40px;
  position: relative;
  background: #fff;
  cursor: pointer;
}
.store-card input {
  position: absolute; left: 12px; top: 16px;
  width: 18px; height: 18px; accent-color: var(--burgundy);
}
.store-card strong { display: block; color: var(--brown-deep); }
.store-card span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.store-card .text-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #2b1a0c;
  font-weight: 800;
  font-size: 0.72rem;
}
.store-card:has(input:checked) {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 2px rgba(122, 31, 31, 0.15);
  background: #fff8f4;
}

.date-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.date-toggle label {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-height: 64px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
}
.date-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  clip: rect(0 0 0 0);
}
.date-toggle label:has(input:checked) {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: #fff;
}
.date-toggle .sub { font-size: 0.78rem; font-weight: 600; opacity: 0.85; }

.slot-select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.menu-item {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.menu-item.featured {
  border-color: var(--burgundy);
  background: linear-gradient(180deg, #fff8f4, #fff);
}
.menu-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--brown-deep);
}
.menu-item .price {
  color: var(--burgundy);
  font-weight: 800;
  margin-top: 2px;
}
.menu-item .desc {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 6px;
}
.menu-item .servings {
  color: var(--gold-hot);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 4px;
}
.qty-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 10px;
}
.stepper {
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.stepper button {
  width: 44px; height: 44px;
  border: 0; background: transparent;
  font-size: 1.25rem; font-weight: 700;
  color: var(--brown-deep);
}
.stepper button:active { background: var(--cream-deep); }
.stepper .qty {
  min-width: 36px; text-align: center; font-weight: 800;
}
.group-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 16px 0 8px;
  color: var(--brown-deep);
}
.group-label::after {
  content: "";
  display: block;
  width: 72px; height: 6px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 999px;
}

.running-total {
  position: sticky;
  bottom: 10px;
  z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--brown-deep);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(0,0,0,0.55);
}
.running-total strong { font-size: 1.15rem; color: #f2d36b; }
.running-total .tax-hint { font-size: 0.75rem; opacity: 0.85; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 18px;
  border-radius: 999px; border: 0;
  font-weight: 800; letter-spacing: 0.02em;
}
.btn-primary {
  width: 100%;
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 10px 18px -12px rgba(90,20,20,0.8);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost {
  width: 100%;
  background: transparent;
  color: var(--brown-deep);
  border: 1.5px solid var(--line);
  margin-top: 8px;
}

.accordion {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--brown-deep);
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--burgundy);
}
.accordion[open] summary::after { content: "–"; }
.accordion .body {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.review-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.review-card h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.review-lines { list-style: none; padding: 0; margin: 0 0 10px; }
.review-lines li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}
.review-total {
  display: flex; justify-content: space-between;
  font-weight: 800; font-size: 1.05rem;
  margin-top: 8px;
}
.inline-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff6e4;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.inline-note.is-error {
  background: #fdeceb;
  border-color: #f0b4b0;
  color: #8b1a1a;
}

.booking-view.hide, .review-view.hide, .thanks-view.hide, .closed-view.hide { display: none; }

.thanks-panel, .closed-panel {
  text-align: center;
  padding: 28px 18px;
}
.thanks-badge {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
}
.thanks-lead { margin: 8px 0 12px; color: var(--brown); font-size: 1.05rem; }
.thanks-note { margin: 0 0 10px; color: var(--muted); }
.thanks-new { margin-top: 18px; }
.thanks-new a { font-weight: 800; }

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 8px 0 4px;
}

body.show-review .booking-view { display: none; }
body.show-review .review-view { display: block; }
body.show-thanks .booking-view,
body.show-thanks .review-view { display: none; }
body.show-thanks .thanks-view { display: block; }
body.is-closed .booking-view,
body.is-closed .review-view,
body.is-closed .thanks-view { display: none; }
body.is-closed .closed-view { display: block; }

.review-view, .thanks-view, .closed-view { display: none; }
