/* =====================================================================
   Dontcha Know Whoopie Pies — design system
   Brand: royal blue from the logo, chocolate brown, marshmallow cream.
   ===================================================================== */

:root {
  --blue: #1f3fae;
  --blue-dark: #162d7c;
  --blue-light: #e9eefc;
  --choc: #4a2c17;
  --choc-dark: #2d1a0d;
  --cream: #fbf7f0;
  --cream-dark: #f1e9dc;
  --white: #ffffff;
  --ink: #1c1a17;
  --muted: #6b665e;
  --line: #e6dfd3;
  --green: #2e7d4f;
  --green-light: #e4f3ea;
  --amber: #b86a0f;
  --amber-light: #fdf1df;
  --red: #b3261e;
  --red-light: #fbe9e7;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 26, 23, 0.06), 0 8px 24px rgba(28, 26, 23, 0.08);
  --shadow-lg: 0 2px 4px rgba(28, 26, 23, 0.06), 0 20px 50px rgba(28, 26, 23, 0.14);
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
address { font-style: normal; }
ul { padding-left: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; color: var(--choc-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: #3f3a33; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.big { font-size: 1.5rem; font-weight: 600; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 700; color: var(--blue); margin-bottom: 0.75rem; }
.tagline { font-family: var(--font-display); font-style: italic; color: var(--blue); font-size: 1.15rem; }
.hide-sm { }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container.narrow { max-width: 780px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 0.5rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(31, 63, 174, 0.28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: 0.75rem; }
.btn-ghost:hover { background: var(--blue-light); }
.btn-light { background: #fff; color: var(--blue); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-danger { background: var(--red-light); color: var(--red); }
.btn-large { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
.btn-small { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.cta-row.center { justify-content: center; }

.badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--cream-dark); color: var(--choc); vertical-align: middle; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-red { background: var(--red-light); color: var(--red); }

.notice { background: var(--blue-light); border-left: 4px solid var(--blue); padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.notice.large { padding: 2.5rem; text-align: center; border-left: 0; }
.notice .btn { margin-left: 0.5rem; }
.error { color: var(--red); font-weight: 600; }

/* ------------------------------------------------------------- header */
.announce { background: var(--choc-dark); color: #fff; font-size: 0.875rem; text-align: center; padding: 0.5rem 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, 0.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--choc-dark); }
.brand-logo { width: 64px; height: 56px; object-fit: cover; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--blue); }
.brand-sub { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--choc); }
.site-nav { display: flex; gap: 0.15rem; }
.site-nav a { padding: 0.55rem 0.7rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.92rem; white-space: nowrap; }
.site-nav a:hover { background: var(--cream-dark); }
.site-nav a[aria-current="page"] { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-badge { background: #fff; color: var(--blue); border-radius: 999px; min-width: 1.4em; height: 1.4em; display: inline-grid; place-items: center; font-size: 0.75rem; padding: 0 0.35em; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------- hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); background: radial-gradient(120% 100% at 100% 0%, #fff 0%, var(--cream) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.hero h1 em { font-style: italic; color: var(--blue); font-weight: 600; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.hero-badges li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 0.4rem; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.page-hero .lead { max-width: 60ch; }

.live { padding-top: 0; }
.live-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.live-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.live-head h2 { font-size: 1.25rem; margin: 0; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46, 125, 79, 0.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46, 125, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 125, 79, 0); } }
.live-body p { font-size: 1.05rem; }
.live-body p:last-child { margin-bottom: 0.75rem; }
.hours { margin: 0; color: var(--muted); }

.flavor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.flavor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.flavor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.flavor-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.flavor-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.3rem; }
.price { font-weight: 700; color: var(--blue); font-size: 1.1rem; white-space: nowrap; }
.cake-type { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--choc); font-weight: 600; margin: 0; }
.flavor-card .btn { margin-top: auto; align-self: flex-start; }

.promises { background: var(--choc-dark); color: #fff; }
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.promise h3 { color: #fff; font-family: var(--font-display); font-size: 1.3rem; }
.promise p { color: rgba(255, 255, 255, 0.78); margin: 0; }

.split-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-grid.reverse { grid-template-columns: 1.2fr 1fr; }
.split-grid.reverse .split-media { order: 2; }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.split-media.round img { border-radius: 50% 50% 48% 52% / 55% 45% 55% 45%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
.split-copy h2 { margin-top: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.event-list li { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.event-date { font-weight: 700; color: var(--blue); }
.event-title { font-weight: 500; }
.awards img { border-radius: var(--radius); box-shadow: var(--shadow); }
.awards p { margin-top: 0.75rem; }

.cta-band { background: var(--blue); color: #fff; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; max-width: 22ch; margin: 0 auto 1rem; }
.cta-inner .cta-row { justify-content: center; }

/* ------------------------------------------------------------- menu */
.menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; padding-bottom: 4rem; }
.menu-nav { position: sticky; top: 100px; }
.menu-nav nav { display: flex; flex-direction: column; gap: 0.15rem; }
.menu-nav a { padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.menu-nav a:hover { background: var(--cream-dark); }
.menu-section { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.menu-section-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.25rem; }
.menu-section-head h2 { margin: 0; }
.menu-items { display: grid; gap: 0.75rem; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.menu-item.is-available { border-color: rgba(46, 125, 79, 0.35); }
.menu-item h3 { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 1.25rem; }
.menu-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.menu-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.menu-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.menu-chip.is-available { border-color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.rule { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.rule h3 { margin-bottom: 0.35rem; }
.rule p { margin: 0; color: #3f3a33; }
.protein-card { display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; padding: 2rem; border-radius: var(--radius); }
.protein-card h2, .protein-card .eyebrow { color: #fff; }
.protein-card p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.protein-price { text-align: center; }
.protein-price .price { display: block; color: #fff; font-size: 2.5rem; font-family: var(--font-display); }
.protein-price .muted { color: rgba(255, 255, 255, 0.75); }

/* ------------------------------------------------------------- order */
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.order-main section { margin-bottom: 2.5rem; }
.order-items { display: grid; gap: 0.75rem; }
.order-item { display: flex; justify-content: space-between; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; transition: border-color 0.15s, box-shadow 0.15s; scroll-margin-top: 110px; }
.order-item.in-cart { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.order-item.flash { animation: flash 2.5s ease; }
@keyframes flash { 0%, 60% { background: var(--amber-light); } 100% { background: #fff; } }
.order-item h3 { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 1.25rem; }
.order-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; min-width: 190px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty-btn { width: 40px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--blue); }
.qty-btn:hover { background: var(--blue-light); }
.qty input { width: 56px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.check { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.check.is-disabled { opacity: 0.5; cursor: not-allowed; }
.protein-note { display: block; color: var(--amber); font-size: 0.72rem; font-weight: 600; margin-top: -0.25rem; }
.order-summary { position: sticky; top: 100px; display: grid; gap: 1rem; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.summary-card h2 { font-size: 1.35rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.summary-lines li.empty { display: block; }
.totals { margin: 1rem 0; }
.totals div { display: flex; justify-content: space-between; padding: 0.25rem 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 2px solid var(--ink); margin-top: 0.5rem; padding-top: 0.6rem; font-size: 1.2rem; }
.totals .grand dt { color: var(--ink); font-weight: 700; }
.help-card { background: var(--cream-dark); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.help-card h3 { margin-bottom: 0.25rem; }
.help-card p { margin: 0; }

/* ------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 2rem; }
.form-grid label, .contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
input, select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #cfc7ba; border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue-light); border-color: var(--blue); }
textarea { resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: var(--red); font-weight: 600; }

/* ------------------------------------------------------------- events / story / mascot / contact */
.event-month { margin-bottom: 2.5rem; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.event-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.event-card h3 { margin: 0.35rem 0 0.2rem; font-family: var(--font-display); font-size: 1.25rem; }
.event-card p { margin: 0; }

.story .lead { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--choc-dark); }
.story-figure { margin: 0 0 2rem; }
.story-figure img { border-radius: 20px; box-shadow: var(--shadow); margin: 0 auto; }
.story-figure.wide img { width: 100%; }
.story-figure figcaption { text-align: center; color: var(--muted); font-size: 0.875rem; margin-top: 0.6rem; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.values div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.values p { margin: 0; color: #3f3a33; }

.rate-cards { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.rate { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.5rem; display: flex; flex-direction: column; }
.rate .price { font-size: 2rem; font-family: var(--font-display); }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1rem; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 0.5rem; }

.contact-cards { display: grid; gap: 1rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info-card h2 { font-size: 1.25rem; }
.info-card p:last-child { margin-bottom: 0; }

.status-page { padding: 3rem 0 4rem; }
.status-page .summary-card { margin: 2rem 0; }
.status-page .summary-card h2 { font-size: 1.1rem; margin-top: 1rem; }
.status-page .summary-card h2:first-child { margin-top: 0; }

/* ------------------------------------------------------------- checkout flow */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-hero.compact { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.steps { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 0; counter-reset: step; }
.steps li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-dark); color: var(--muted); font-size: 0.75rem; }
.steps li.current { color: var(--blue); border-color: var(--blue); }
.steps li.current span { background: var(--blue); color: #fff; }
.steps li.done { color: var(--green); }
.steps li.done span { background: var(--green-light); color: var(--green); }
.steps li.done span::before { content: '✓'; }
.steps li.done span { font-size: 0; }
.steps li.done span::before { font-size: 0.75rem; }
.btn.is-disabled { opacity: 0.5; pointer-events: none; }
.lock::before { content: '🔒 '; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; }

.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.panel-card h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.panel-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.inline-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.inline-form .btn { flex: 0 0 auto; }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.method-card { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.25rem; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.method-card:hover { border-color: #b8c3ea; }
.method-card:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-light); }
.method-card.is-disabled { opacity: 0.55; cursor: not-allowed; }
.method-card input { margin-top: 0.3rem; width: auto; accent-color: var(--blue); }
.method-body { display: grid; gap: 0.25rem; }
.method-title { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.hint { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 400; margin-top: 0.25rem; }
.hint.err { color: var(--red); font-weight: 600; }
.delivery-fields { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }

.thank-you .steps { justify-content: center; }
.thank-head { text-align: center; margin-bottom: 2rem; }
.checkmark { width: 72px; height: 72px; border-radius: 50%; background: var(--green-light); color: var(--green); display: grid; place-items: center; font-size: 2rem; font-weight: 800; margin: 0 auto 1.25rem; animation: pop 0.4s ease; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--blue-light); border-top-color: var(--blue); margin: 0 auto 1.25rem; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.two-col.tight { gap: 1.5rem; margin-bottom: 1rem; }
.two-col.tight h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }

.order-rows { display: grid; gap: 0.75rem; margin: 1rem 0 2rem; }
.order-row { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.order-row p { margin: 0.15rem 0; }
.order-id { font-weight: 700; text-decoration: none; margin-right: 0.5rem; }
.order-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.status { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: middle; }
.status-pending { background: var(--amber-light); color: var(--amber); }
.status-paid { background: var(--blue-light); color: var(--blue); }
.status-ready { background: var(--green-light); color: var(--green); }
.status-completed { background: var(--cream-dark); color: var(--choc); }
.status-cancelled { background: var(--red-light); color: var(--red); }

/* ------------------------------------------------------------- recent purchases widget */
.live-widget { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; display: flex; align-items: center; gap: 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.75rem 2.25rem 0.75rem 0.85rem; box-shadow: var(--shadow-lg); max-width: min(340px, calc(100vw - 2rem)); opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s; }
.live-widget.is-in { opacity: 1; transform: none; }
.live-widget[hidden] { display: none; }
.widget-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-light); display: grid; place-items: center; flex: 0 0 auto; }
.widget-body p { margin: 0; font-size: 0.85rem; line-height: 1.35; }
.widget-title { color: var(--ink); }
.widget-sub { color: var(--muted); font-size: 0.78rem !important; }
.widget-close { position: absolute; top: 4px; right: 6px; border: 0; background: transparent; font-size: 1.1rem; color: var(--muted); cursor: pointer; line-height: 1; padding: 0.2rem 0.4rem; }

/* ------------------------------------------------------------- flavor guide chat */
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.chat-fab { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--choc-dark); color: #fff; border: 0; border-radius: 999px; padding: 0.8rem 1.15rem; font: 600 0.95rem var(--font-body); cursor: pointer; box-shadow: var(--shadow-lg); transition: transform 0.15s, background 0.15s; }
.chat-fab:hover { transform: translateY(-2px); background: var(--choc); }
.chat.is-open .chat-fab { display: none; }
.chat-panel { width: min(380px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 2rem)); background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: pop 0.2s ease; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1rem; background: var(--blue); color: #fff; }
.chat-head div { display: grid; }
.chat-head .muted { color: rgba(255, 255, 255, 0.75); }
.chat-close { border: 0; background: rgba(255, 255, 255, 0.15); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--cream); }
.chat-msg { max-width: 85%; padding: 0.65rem 0.9rem; border-radius: 14px; font-size: 0.92rem; line-height: 1.45; }
.chat-msg.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); display: flex; gap: 4px; padding: 0.8rem 0.9rem; }
.chat-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.chat-suggest { display: flex; gap: 0.4rem; flex-wrap: wrap; padding: 0.6rem 1rem 0; background: var(--cream); }
.chat-suggest button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.35rem 0.75rem; font: 500 0.8rem var(--font-body); cursor: pointer; color: var(--blue); }
.chat-suggest button:hover { background: var(--blue-light); }
.chat-form { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; border-radius: 999px; padding: 0.6rem 1rem; }
.chat-foot { margin: 0; padding: 0 1rem 0.6rem; font-size: 0.7rem; background: #fff; }

@media (max-width: 860px) {
  .method-grid { grid-template-columns: 1fr; }
  .live-widget { bottom: 4.75rem; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 0.9rem; }
  .order-row { flex-direction: column; }
  .order-row-side { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--choc-dark); color: rgba(255, 255, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem; }
.site-footer a { color: #fff; }
.site-footer .muted { color: rgba(255, 255, 255, 0.6); }
.footer-logo { background: #fff; border-radius: 12px; padding: 0.5rem; margin-bottom: 1rem; width: 160px; }
.footer-links li { padding: 0.15rem 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-layout { grid-template-columns: 1fr; gap: 1rem; }
  .menu-nav { position: static; }
  .menu-nav nav { flex-direction: row; flex-wrap: wrap; gap: 0.35rem; }
  .menu-nav a { background: #fff; border: 1px solid var(--line); border-radius: 999px; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 1180px) {
  .site-nav { position: fixed; top: 86px; left: 0.75rem; right: 0.75rem; flex-direction: column; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.5rem; z-index: 45; max-height: calc(100dvh - 100px); overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .site-nav a { font-size: 1.02rem; font-weight: 600; padding: 0.85rem 0.9rem; border-radius: 0; }
  .site-nav a:not(:last-child) { border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { background: none; color: var(--blue); }
  .nav-toggle { display: flex; position: relative; z-index: 45; border-radius: 10px; }
  .nav-toggle:hover { background: var(--cream-dark); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(28, 26, 23, 0.28); z-index: 44; }
}
@media (max-width: 860px) {
  .hide-sm { display: none; }
  .site-nav { top: 72px; }
  .header-inner { min-height: 64px; gap: 0.6rem; }
  .brand-logo { width: 46px; height: 40px; border-radius: 8px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: 0.62rem; letter-spacing: 0.14em; }
  .announce { font-size: 0.78rem; padding: 0.4rem 0; }
  .nav-toggle { width: 40px; height: 40px; }
  .hero-grid, .split-grid, .split-grid.reverse, .two-col { grid-template-columns: 1fr; }
  .split-grid.reverse .split-media { order: 0; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .form-grid { grid-template-columns: 1fr; }
  .event-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .protein-card { flex-direction: column; text-align: center; }
  .order-item, .menu-item { flex-direction: column; }
  .order-item-side, .menu-item-side { align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand-name { font-size: 0.95rem; }
  .header-actions .btn-primary { padding: 0.6rem 0.9rem; font-size: 0.85rem; }
  .check-list { grid-template-columns: 1fr; }
}
