/* ==========================================================================
   Mayberry Junction Restaurant — public site styles
   Palette pulled from the logo (locomotive green, magenta lettering)
   and the printed menu (cream paper, brown ink).
   ========================================================================== */

/* Self-hosted fonts (no third-party requests, no render-blocking font CSS) */
@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bitter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/bitter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bitter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bitter-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #f7f0e1;
  --paper-2: #efe4cc;
  --card: #fffaf0;
  --ink: #2a2018;
  --ink-soft: #5c4d3c;
  --line: #dccaa6;
  --green: #1f4d36;
  --green-2: #2d6a4b;
  --green-ink: #e9f2ea;
  --magenta: #c4166f;
  --magenta-2: #a3105b;
  --brass: #c8922a;
  --open: #2f8a4f;
  --closed: #a33a2a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(42, 32, 24, .06), 0 6px 18px rgba(42, 32, 24, .08);
  --display: "Alfa Slab One", Georgia, serif;
  --body: "Bitter", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--magenta); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--body); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-accent { background: var(--magenta); color: #fff; }
.btn-accent:hover { background: var(--magenta-2); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green); }
.btn-ghost-dark { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost-dark:hover { background: var(--green); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--magenta); color: #fff; text-align: center; padding: .55em 1em; font-weight: 600; font-size: .95rem; }

.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; padding: .5em .85em; border-radius: 999px; font-size: .98rem;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -3px 0 var(--magenta); border-radius: 0; }
.site-nav .nav-call { background: var(--green); color: #fff; margin-left: 6px; }
.site-nav .nav-call:hover { background: var(--green-2); color: #fff; }
.site-nav .nav-order { color: var(--magenta); }
.cart-count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--magenta); color: #fff; font-size: .78rem; margin-left: 3px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

.status-bar { font-size: .9rem; font-weight: 600; padding: 6px 0; color: #fff; }
.status-bar.is-open { background: var(--open); }
.status-bar.is-closed { background: var(--ink-soft); }
.status-bar .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: 1px; }
.status-bar.is-open .dot { box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

@media (max-width: 900px) {
  .brand img { width: 120px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 10px 20px 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8em .6em; border-radius: 8px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--magenta); }
  .site-nav .nav-call { margin: 8px 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(200,146,42,.25), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    var(--green);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 72px 0 92px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; font-weight: 700; color: #f3d9a4; margin-bottom: 14px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 span { color: #ff8cc6; display: inline-block; }
.lede { font-size: 1.2rem; max-width: 34ch; color: var(--green-ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero-ticket {
  justify-self: end; width: min(330px, 100%); color: var(--ink); text-align: center;
  background:
    radial-gradient(circle at 0 50%, transparent 14px, var(--card) 15px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 14px, var(--card) 15px) right / 51% 100% no-repeat;
  padding: 26px 34px; border-radius: 6px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
  transform: rotate(2deg);
}
.ticket-head { font-family: var(--display); font-size: 1.1rem; color: var(--magenta); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 4px; }
.ticket-time { font-family: var(--display); font-size: 2rem; color: var(--green); margin: 0; }
.ticket-sub { color: var(--ink-soft); margin: 0; }
.hero-ticket hr { border: 0; border-top: 2px dashed var(--line); margin: 16px 0; }
.ticket-addr { margin: 0; font-size: .95rem; }

.rail {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background:
    linear-gradient(var(--brass), var(--brass)) 0 6px / 100% 3px no-repeat,
    linear-gradient(var(--brass), var(--brass)) 0 17px / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, #4a3423 0 10px, transparent 10px 34px);
  opacity: .85;
}

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 72px; gap: 32px; }
  .hero-ticket { justify-self: start; transform: rotate(-1deg); }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--green); text-align: center; margin-bottom: 32px;
}
.section-title::after { content: ""; display: block; width: 72px; height: 4px; background: var(--magenta); margin: 14px auto 0; border-radius: 2px; }
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }

.page-head { background: var(--green); color: #fff; padding: 44px 0 40px; border-bottom: 6px solid var(--brass); }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.page-head p { margin: 0; color: var(--green-ink); font-size: 1.1rem; }
.page-head a { color: #fff; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* ---------- Menu at a glance ---------- */
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.glance-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--green);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.glance-card:nth-child(2) { border-top-color: var(--magenta); }
.glance-card:nth-child(3) { border-top-color: var(--brass); }
.glance-card:hover { transform: translateY(-3px); color: var(--ink); }
.glance-kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--magenta); }
.glance-name { font-family: var(--display); font-size: 1.55rem; color: var(--green); }
.glance-text { color: var(--ink-soft); }
@media (max-width: 800px) { .glance-grid { grid-template-columns: 1fr; } }

/* ---------- Featured ---------- */
.featured { background: var(--paper-2); }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 32px; }
.featured-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.featured-card h3 { font-size: 1.25rem; color: var(--green); }
.featured-card p { color: var(--ink-soft); }
.featured-cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--magenta) !important; margin-bottom: 6px; }
.featured-price { margin: auto 0 0; font-weight: 700; color: var(--ink) !important; font-size: 1.1rem; }
.featured-price .opt-label { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
.featured-price .sep { margin: 0 .4em; color: var(--line); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 1.05rem; }
.hours-table th, .hours-table td { padding: 9px 12px; border-bottom: 1px dashed var(--line); text-align: left; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today { background: #fbe3ef; font-weight: 700; }
.hours-table tr.is-today th::after { content: " · today"; color: var(--magenta); font-weight: 600; font-size: .85em; }
.visit-addr { font-size: 1.1rem; }
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.visit-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; box-shadow: var(--shadow); }
.visit-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Catering band ---------- */
.catering-band { background: var(--magenta); color: #fff; padding: 46px 0; }
.catering-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.catering-band h2 { font-family: var(--display); font-weight: 400; font-size: 2.1rem; margin-bottom: 6px; }
.catering-band p { margin: 0; max-width: 60ch; }
.catering-band .btn-accent { background: #fff; color: var(--magenta); }
.catering-band .btn-accent:hover { background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: #241b14; color: #e8dcc4; padding: 48px 0 20px; margin-top: 0; }
.site-footer a { color: #f3d9a4; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-name { font-family: var(--display); font-size: 1.3rem; color: #fff; }
.footer-head { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: #ff8cc6; }
.hours-mini { border-collapse: collapse; font-size: .95rem; }
.hours-mini th { text-align: left; padding: 2px 16px 2px 0; font-weight: 600; }
.hours-mini td { font-variant-numeric: tabular-nums; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #3d3026; margin-top: 32px; padding-top: 16px; font-size: .88rem; color: #a8987f; }
.staff-link { color: #a8987f !important; }
.footer-credits a { color: #d9c7a5; }
.footer-credits .sep { margin: 0 .5em; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Menu page ---------- */
.menu-toolbar { position: sticky; top: 0; z-index: 15; background: rgba(247,240,225,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.menu-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a {
  white-space: nowrap; text-decoration: none; font-weight: 700; color: var(--ink);
  padding: .5em 1em; border-radius: 999px; border: 2px solid var(--line); background: var(--card);
}
.menu-tabs a:hover, .menu-tabs a.active { background: var(--green); border-color: var(--green); color: #fff; }
.menu-search input {
  font: inherit; padding: .55em 1em; border: 2px solid var(--line); border-radius: 999px; background: var(--card); width: 240px;
}
.menu-search input:focus { border-color: var(--green); outline: none; }
@media (max-width: 700px) {
  .toolbar-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .menu-search input { width: 100%; }
}

.menu-wrap { padding: 36px 0 60px; }
.menu-section { padding-top: 12px; scroll-margin-top: 80px; }
.menu-section + .menu-section { margin-top: 36px; }
.menu-section-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green);
  display: flex; align-items: center; gap: 18px; margin-bottom: 14px;
}
.menu-section-title::before, .menu-section-title::after { content: ""; flex: 1; height: 3px; background: repeating-linear-gradient(90deg, var(--brass) 0 14px, transparent 14px 20px); }

.cat-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 28px; font-size: .95rem; }
.cat-jump a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px dotted var(--ink-soft); }
.cat-jump a:hover { color: var(--magenta); border-color: var(--magenta); }

.cat-grid { columns: 2 440px; column-gap: 28px; }
.menu-cat {
  break-inside: avoid; display: inline-block; width: 100%; margin-bottom: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 14px;
  box-shadow: var(--shadow); scroll-margin-top: 90px;
}
.cat-name { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--magenta); margin-bottom: 2px; }
.cat-desc { font-style: italic; color: var(--ink-soft); font-size: .95rem; margin-bottom: 10px; }
.col-head { display: flex; justify-content: flex-end; gap: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-soft); margin: 8px 0 -2px; }
.col-head span, .item-prices .price { width: 5.2em; text-align: right; }

.items, .sub-opts { list-style: none; margin: 0; padding: 0; }
.item { padding: 9px 0; border-bottom: 1px solid #efe3ca; }
.item:last-child { border-bottom: 0; }
.item-row { display: flex; align-items: baseline; gap: 6px; }
.item-name { font-weight: 700; }
.opt-inline { font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.leader { flex: 1; border-bottom: 2px dotted #c9b48d; transform: translateY(-4px); min-width: 18px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-prices { display: flex; }
.item-desc { margin: 2px 0 0; font-size: .92rem; color: var(--ink-soft); max-width: 52ch; }
.sub-opts { margin-top: 3px; }
.item-row.sub { padding-left: 14px; font-size: .94rem; }
.item-row.sub .item-name { font-weight: 400; font-style: italic; }
.item.hidden-by-search { display: none; }
.menu-cat.hidden-by-search, .menu-section.hidden-by-search { display: none; }
.search-empty { text-align: center; font-size: 1.1rem; color: var(--ink-soft); }
.menu-footnote { text-align: center; font-size: .88rem; color: var(--ink-soft); max-width: 70ch; margin: 24px auto 0; }

.add-row { display: flex; gap: 8px; margin-top: 8px; }
.add-row select { font: inherit; font-size: .9rem; padding: .35em .5em; border: 1px solid var(--line); border-radius: 8px; background: #fff; max-width: 100%; flex: 1; }
.btn-add { font: inherit; font-weight: 700; font-size: .9rem; padding: .35em 1.1em; border-radius: 999px; border: 2px solid var(--green); background: #fff; color: var(--green); cursor: pointer; }
.btn-add:hover { background: var(--green); color: #fff; }
.btn-add.added { background: var(--open); border-color: var(--open); color: #fff; }

.cart-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; background: var(--magenta); color: #fff; text-decoration: none;
  font-weight: 700; padding: .9em 1.4em; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.cart-fab:hover { color: #fff; background: var(--magenta-2); }

/* ---------- Forms ---------- */
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.form label small { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-weight: 400;
  padding: .65em .8em; border: 1px solid #cdbb98; border-radius: 8px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: 2px solid rgba(31,77,54,.2); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form .two { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }

.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; border: 1px solid; }
.flash-success { background: #e6f4ea; border-color: #a6d4b3; color: #1d4f2c; }
.flash-error { background: #fdeaea; border-color: #e6a7a7; color: #7d1f1f; }
.flash-info { background: #fff6dd; border-color: #e8d08a; color: #5f4b0f; }

/* ---------- Catering page ---------- */
.catering-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.catering-copy h2 { font-family: var(--display); font-weight: 400; color: var(--green); font-size: 2rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }
.form-card h2 { color: var(--green); }
@media (max-width: 860px) { .catering-grid { grid-template-columns: 1fr; } }

/* ---------- Order page ---------- */
.coming-soon { max-width: 640px; margin: 0 auto; text-align: center; }
.coming-soon h2 { font-family: var(--display); font-weight: 400; color: var(--magenta); font-size: 2rem; }
.coming-soon .btn { margin: 4px; }
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #efe3ca; }
.cart-line .nm { font-weight: 700; }
.cart-line .nm small { display: block; font-weight: 400; color: var(--ink-soft); }
.cart-line input.instr { grid-column: 1 / -1; font: inherit; font-size: .88rem; padding: .4em .6em; border: 1px solid var(--line); border-radius: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: var(--paper-2); border: 0; width: 32px; height: 32px; font-size: 1.1rem; cursor: pointer; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }
.totals { margin: 16px 0; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { font-weight: 700; font-size: 1.2rem; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 8px; }
.receipt { width: 100%; border-collapse: collapse; margin: 16px 0; }
.receipt td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.receipt .num { text-align: right; font-variant-numeric: tabular-nums; }
.receipt .grand td { font-weight: 700; font-size: 1.15rem; border-bottom: 0; }

/* ---------- Print the menu nicely ---------- */
@media print {
  .site-header, .menu-toolbar, .site-footer, .cart-fab, .add-row, .cat-jump, .announce, .page-head p { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-head { background: none; color: #000; border: 0; padding: 0; }
  .menu-cat { box-shadow: none; border: 1px solid #999; }
}

/* Optional item photos (uploaded in admin) */
.item.has-photo { display: flow-root; }
.item-photo { float: right; width: 84px; height: 84px; object-fit: cover; border-radius: 8px; margin: 2px 0 6px 12px; border: 1px solid var(--line); }

/* fixes */
[hidden] { display: none !important; }
.hero .btn-primary { background: var(--card); color: var(--green); }
.hero .btn-primary:hover { background: #fff; color: var(--magenta); }
.brand img { width: 190px; height: auto; }
.brand picture { display: block; }
.header-inner { padding: 10px 0; }
@media (max-width: 900px) { .brand img { width: 124px; } }
@media (max-width: 1100px) and (min-width: 901px) { .brand img { width: 156px; } .site-nav a { padding: .5em .6em; } }

/* ---------- Specials chalkboard ---------- */
.specials { padding: 56px 0 8px; }
.specials-menu { padding: 32px 0 0; scroll-margin-top: 70px; }
.board {
  position: relative; color: #f4efe2; border-radius: 14px; padding: 34px clamp(20px, 4vw, 48px) 30px;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(600px 260px at 90% 100%, rgba(255,255,255,.04), transparent 60%),
    #1d2a22;
  border: 12px solid #6b4a2b;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), inset 0 0 40px rgba(0,0,0,.45), 0 12px 28px rgba(42,32,24,.25);
}
.board::after { /* chalk tray */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -22px; height: 10px; border-radius: 0 0 6px 6px; background: #5a3d22;
}
.board-head { text-align: center; margin-bottom: 22px; }
.board-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 2.9rem); color: #fff; margin: 0; letter-spacing: .02em; text-shadow: 0 0 1px rgba(255,255,255,.6); }
.board-date { margin: 4px 0 0; color: #ffb3d6; font-style: italic; }
.board-note { margin: 6px 0 0; font-size: .95rem; color: #d9d3c2; }
.board-list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 4px; }
.board-item { display: flex; gap: 18px; align-items: flex-start; padding: 14px 0; border-bottom: 2px dashed rgba(244,239,226,.25); }
.board-item:last-child { border-bottom: 0; }
.board-item img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; border: 3px solid rgba(255,255,255,.85); transform: rotate(-2deg); flex: none; }
.bi-body { flex: 1; min-width: 0; }
.bi-row { display: flex; align-items: baseline; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.bi-title { font-family: var(--display); font-size: 1.45rem; color: #fff; }
.bi-price { font-family: var(--display); font-size: 1.35rem; color: #f3d9a4; white-space: nowrap; }
.bi-desc { margin: 4px 0 0; color: #e9e3d4; }
.bi-when { margin: 4px 0 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #a9c8b3; }
.board-empty { text-align: center; color: #d9d3c2; font-style: italic; }
.board-week { max-width: 860px; margin: 18px auto 0; padding-top: 16px; border-top: 2px solid rgba(244,239,226,.3); }
.board-week h3 { font-family: var(--display); font-weight: 400; color: #ffb3d6; font-size: 1.2rem; margin-bottom: 8px; }
.board-week ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.board-week li { color: #e9e3d4; }
.board-week li strong { display: inline-block; min-width: 110px; color: #fff; }
.board-week li span { color: #f3d9a4; }
.board-link { text-align: center; margin: 16px 0 0; }
.board-link a { color: #f3d9a4; font-weight: 700; }
.menu-tabs .tab-specials { border-color: var(--magenta); color: var(--magenta); }
.menu-tabs .tab-specials:hover, .menu-tabs .tab-specials.active { background: var(--magenta); border-color: var(--magenta); color: #fff; }
@media (max-width: 560px) {
  .board { border-width: 8px; }
  .board-item img { width: 76px; height: 76px; }
  .board-week li strong { display: block; }
}

/* ---------- Pickup / delivery choice ---------- */
.order-type { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ot-opt { margin: 0 !important; cursor: pointer; }
.ot-opt input { position: absolute; opacity: 0; }
.ot-opt span { display: block; height: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, background .15s; }
.ot-opt strong { display: block; font-size: 1.05rem; }
.ot-opt small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.ot-opt input:checked + span { border-color: var(--green); background: #eef6f0; box-shadow: inset 0 0 0 1px var(--green); }
.ot-opt input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.delivery-fields { background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 14px 2px; margin-bottom: 14px; }
.delivery-note { margin-top: -4px; }

/* ---------- SEO additions ---------- */
.hero h1 .h1-sub { display: block; font-family: var(--body); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; color: #f3d9a4; letter-spacing: .02em; margin-top: 10px; }
.glance-card h3.glance-name { margin: 0; font-weight: 400; line-height: 1.15; }
.about { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner { max-width: 760px; text-align: center; }
.about-inner p { font-size: 1.08rem; color: var(--ink-soft); }
.footer-nap { font-style: normal; }
.footer-nap a { text-decoration: none; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
