@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }

:root {
  --bg: #FBF8EE;
  --ink: #C45024;           /* the Cable menu uses one colour for everything */
  --ink-soft: #D07B58;      /* lighter tint for small notes (contrast checked below for large text only) */
  --ink-deep: #9E3E19;      /* darker shade of the same hue for small text that needs contrast */
  --line: #C45024;
  --gutter: 16px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.35; padding-bottom: 96px; }
a { color: var(--ink-deep); }
[hidden] { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gutter) 12px; max-width: 720px; margin: 0 auto; }
.logo { width: 64px; height: auto; }
.at { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: 0.01em; }

main { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.status { padding: 24px 0; }
.panel { padding: 8px 0 24px; }

.heading { font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.05; margin: 8px 0 12px; letter-spacing: 0.01em; }
.sub { font-weight: 800; font-size: 20px; margin: 24px 0 4px; }
.hint { font-size: 14px; color: var(--ink-deep); margin: 0 0 12px; }

.where { display: flex; align-items: center; gap: 10px; padding: 8px 0 16px; border-bottom: 2px solid var(--line); }
.where label { font-weight: 700; }
select, input { font: inherit; color: var(--ink-deep); background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
select { font-weight: 700; }

.section { border-bottom: 2px solid var(--line); padding: 20px 0 8px; }
.section h2 { margin: 0; font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: 0.01em; }
.section .note { margin: 6px 0 4px; font-size: 14px; color: var(--ink-deep); }
.item { padding: 16px 0 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; }
.item + .item { border-top: 1px solid rgba(196, 80, 36, 0.25); }
.item .name { font-weight: 700; font-size: 20px; margin: 0; }
.item .price { font-weight: 800; font-size: 20px; text-align: right; }
.item .desc { grid-column: 1; margin: 0; font-size: 15px; font-weight: 500; }
.item .ctl { grid-column: 1 / -1; margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.item.soldout .name, .item.soldout .desc, .item.soldout .price { opacity: 0.55; }
.soldout-tag { font-weight: 800; text-transform: uppercase; font-size: 13px; }

button { font: inherit; cursor: pointer; }
.primary { background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; padding: 12px 22px; min-height: 48px; }
.primary:disabled { opacity: 0.45; cursor: not-allowed; }
.ghost { background: transparent; color: var(--ink-deep); border: 2px solid var(--line); border-radius: 999px; font-weight: 800; padding: 8px 18px; min-height: 44px; }
.link { background: none; border: 0; color: var(--ink-deep); text-decoration: underline; padding: 10px 0; min-height: 44px; font-weight: 700; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #1c1c1c; outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink-deep); font-size: 22px; font-weight: 800; line-height: 1; }
.stepper output { min-width: 32px; text-align: center; font-weight: 800; font-size: 19px; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, rgba(251, 248, 238, 0)); }
.bar .primary { width: 100%; max-width: 688px; display: flex; justify-content: space-between; margin: 0 auto; font-size: 18px; }

.allergens { padding: 20px 0 8px; font-size: 14px; color: var(--ink-deep); }

.back { padding-left: 0; }
.loc { font-weight: 700; margin: 0 0 12px; }
.lines { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--line); }
.lines li { padding: 12px 0; border-bottom: 1px solid rgba(196, 80, 36, 0.3); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.lines .lname { font-weight: 700; }
.lines .lmods { grid-column: 1; font-size: 14px; color: var(--ink-deep); }
.lines .lprice { font-weight: 800; }
.lines .lctl { grid-column: 1 / -1; }
.total { display: flex; justify-content: space-between; font-weight: 800; font-size: 22px; margin: 14px 0 6px; }
.notice { background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 700; color: var(--ink-deep); }
.closed { margin: 16px 0 0; font-size: 18px; }
.error { background: #fff; border: 2px solid #8a1c1c; color: #8a1c1c; border-radius: 10px; padding: 10px 12px; font-weight: 700; }

form label { display: block; font-weight: 700; margin: 12px 0 0; }
form input { display: block; width: 100%; margin-top: 4px; }
input[aria-invalid="true"] { border-color: #8a1c1c; }
#card { margin: 8px 0 12px; min-height: 90px; }
#pay { width: 100%; margin-top: 8px; font-size: 18px; }

dialog { border: 2px solid var(--line); border-radius: 18px; background: var(--bg); color: var(--ink); padding: 18px var(--gutter); width: min(92vw, 520px); max-height: 88vh; }
dialog::backdrop { background: rgba(60, 30, 15, 0.45); }
dialog fieldset { border: 0; padding: 0; margin: 14px 0 0; }
dialog legend { font-weight: 800; padding: 0; }
dialog .req { font-size: 13px; color: var(--ink-deep); margin: 2px 0 6px; }
dialog .opt { display: flex; align-items: center; gap: 10px; padding: 8px 0; min-height: 44px; font-weight: 500; margin: 0; }
dialog .opt input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--ink); }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }

@media (min-width: 720px) {
  .logo { width: 84px; }
  .at { font-size: 36px; }
}
@media (prefers-reduced-motion: no-preference) { .primary, .ghost { transition: opacity 0.15s; } }

.claim-item { border: 0; border-bottom: 1px solid rgba(196, 80, 36, 0.3); padding: 8px 0; margin: 0; }
.claim-item .opt { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; margin: 0; }
.claim-item .opt input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--ink); }
.claim-item .problem { display: flex; gap: 24px; padding-left: 32px; }
.claim-item .problem .opt { font-weight: 500; }

/* Footer links */
.foot { max-width: 720px; margin: 0 auto; padding: 8px 0 24px; font-size: 14px; color: var(--ink-deep); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.foot .link { padding: 0; min-height: 44px; }
.foot a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }

/* Shared consent panel: consent.js (served by conuco.co.uk) builds the markup, these are Cable's styles for it.
   Reject all and Accept all must keep identical size, weight and prominence (the same .consent-btn rule). */
.consent-panel { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10000; max-width: 720px; margin: 0 auto; max-height: 85vh; overflow-y: auto;
  padding: 20px 20px 18px; background: var(--bg); color: var(--ink-deep); border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(60, 30, 15, 0.45); }
.consent-panel[hidden], .consent-view[hidden] { display: none; }
.consent-panel:focus { outline: none; }
.consent-title { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--ink); }
.consent-title:focus { outline: none; }
.consent-text { margin: 0 0 10px; font-size: 14px; line-height: 1.5; font-weight: 500; }
.consent-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 12px; }
.consent-btn { min-height: 44px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.consent-btn--ghost { background: transparent; color: var(--ink-deep); }
.consent-btn:focus-visible, .consent-link:focus-visible, .consent-row-label input:focus-visible { outline: 3px solid #1c1c1c; outline-offset: 2px; }
.consent-link { color: var(--ink-deep); font-size: 14px; font-weight: 700; text-decoration: underline; }
.consent-row { padding: 10px 0; border-top: 1px solid rgba(196, 80, 36, 0.3); }
.consent-row-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent-row-label input { flex: 0 0 auto; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--ink); }
.consent-row-text { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.45; }
.consent-row .consent-link { display: inline-block; margin: 4px 0 0 34px; font-size: 13px; }
@media (max-width: 520px) { .consent-actions { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .consent-panel { left: 8px; right: 8px; bottom: 8px; padding: 16px 16px 14px; } }
