/* Catering demo: a full-page, responsive site in Uptown's colours (cream, chocolate, rust, mustard).
   Desktop: two columns with a sticky basket. Tablet (≤899px): one column, basket in a bottom bar and sheet.
   Phone (≤640px): the Click and Collect look — cover with a rounded sheet, centred round logo, bottom sheets
   and full-screen dish pages. Everything is scoped under .ct. */

@font-face { font-family: 'Apfel Grotezk'; src: url('../fonts/ApfelGrotezk-Fett.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

body.is-catering { margin: 0; background: #fff8f1; }
html.ct-locked, html.ct-locked body { overflow: hidden; }

.ct {
  --display: 'Apfel Grotezk', 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --sans: 'Bricolage Grotesque', Inter, system-ui, -apple-system, sans-serif;
  --page: var(--brand-bg);
  --ink: var(--brand-ink);
  --muted: color-mix(in srgb, var(--brand-ink) 62%, transparent);
  --line: color-mix(in srgb, var(--brand-ink) 9%, transparent);
  --line-strong: var(--brand-line);
  --soft: var(--brand-soft);
  --hover: color-mix(in srgb, var(--brand-ink) 4%, transparent);
  --card: #fffdf9;
  --danger: #b3261e;
  --danger-soft: #fde8e4;
  --shadow: 0 2px 8px rgba(46, 29, 20, 0.05), 0 14px 40px rgba(46, 29, 20, 0.12);
  --gutter: 32px;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
/* Zero specificity, so each button's own class sets its weight, size and colour (as in the brunch demos). */
:where(.ct) :where(button, input, textarea) { font: inherit; color: inherit; letter-spacing: inherit; }
.ct button { cursor: pointer; }
.ct :focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.ct img { display: block; max-width: 100%; }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-skip { position: absolute; left: -999px; }
.ct-skip:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--card); }
.ct-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.ct-grow { flex: 1; min-width: 0; }
.ct-spacer { flex: 1; }
.ct-muted { color: var(--muted); }
.ct h1, .ct h2, .ct h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
:where(.ct) :where(h1, h2, h3) { margin: 0; }

/* ---------- buttons ---------- */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brand-primary); color: var(--brand-onPrimary); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; transition: filter 0.15s, transform 0.1s; }
.ct-btn:hover:not(:disabled) { filter: brightness(1.06); }
.ct-btn:active:not(:disabled) { transform: scale(0.99); }
.ct-btn:disabled { background: color-mix(in srgb, var(--brand-ink) 22%, var(--brand-bg)); color: var(--brand-bg); cursor: not-allowed; }
.ct-btn--soft { background: var(--soft); color: var(--ink); }
.ct-btn--lg { min-height: 56px; font-size: 17px; }
.ct-btn--apple { background: #000; color: #fff; }
.ct-btn + .ct-btn { margin-top: 10px; }
.ct-chip { flex: none; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.ct-chip:hover { filter: brightness(0.97); }
.ct-iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); flex: none; }
.ct-iconbtn:hover { background: var(--hover); }
.ct-round { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand-bg); color: var(--ink); box-shadow: 0 2px 10px rgba(55, 42, 26, 0.2); flex: none; }
.ct-add { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--brand-primary); color: var(--brand-onPrimary); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22); }
.ct-add:hover { filter: brightness(1.06); }
.ct-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: ct-spin 0.8s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }

/* ---------- top of page ---------- */
.ct-topbar { background: var(--brand-ink); color: var(--brand-bg); font-size: 13.5px; }
.ct-topbar .ct-wrap { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.ct-topbar.is-status { background: var(--brand-accent); color: var(--brand-ink); font-weight: 600; }
.ct-link { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ct-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-primary); box-shadow: 0 0 0 0 var(--brand-primary); animation: ct-pulse 1.8s infinite; flex: none; }
@keyframes ct-pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.ct-hero { position: relative; height: 300px; overflow: hidden; }
.ct-hero-art { position: absolute; inset: 0; background: var(--soft) center 45% / cover no-repeat; }
.ct-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(46, 29, 20, 0.25), transparent 45%); }
.ct-hero-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding-top: 22px; }
.ct-hero-sheet { display: none; }
.ct-flag { width: 22px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
.ct-hero .ct-flag { display: none; }
.ct-pills { display: flex; gap: 8px; min-width: 0; }
.ct-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--brand-bg); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; max-width: 320px; }
.ct-pill span { overflow: hidden; text-overflow: ellipsis; }
.ct-hero .ct-pill { border-color: transparent; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18); }
.ct-pill:hover { background: var(--card); }
.ct[data-view="home"] [data-el="heroBack"] { display: none; }
.ct[data-view="menu"] .ct-hero { display: none; }
.ct:is([data-view="checkout"], [data-view="confirm"]) .ct-hero { height: 150px; }
.ct:is([data-view="checkout"], [data-view="confirm"]) .ct-hero .ct-pills { display: none; }

.ct-navbar { display: none; position: sticky; top: 0; z-index: 20; background: var(--brand-bg); border-bottom: 1px solid var(--line-strong); }
.ct[data-view="menu"] .ct-navbar { display: block; }
.ct-navbar .ct-wrap { display: flex; align-items: center; gap: 10px; height: 68px; }
.ct-brandmark { width: 40px; height: 40px; border-radius: 50%; margin-right: 6px; }
.ct-nav-title { display: none; }

/* ---------- home ---------- */
.ct-view { display: none; }
.ct[data-view="home"] [data-v="home"], .ct[data-view="menu"] [data-v="menu"], .ct[data-view="checkout"] [data-v="checkout"], .ct[data-view="confirm"] [data-v="confirm"] { display: block; }
.ct-home { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 72px; }
.ct-logo { position: relative; z-index: 2; width: 112px; height: 112px; margin-top: -56px; border-radius: 50%; box-shadow: 0 6px 20px rgba(46, 29, 20, 0.18); }
.ct-kicker { margin: 20px 0 2px; color: var(--muted); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.ct-welcome { font-size: 44px; line-height: 1.04; margin: 20px 0 12px; }
.ct-intro { max-width: 36em; color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.ct-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 34px; }
.ct-facts li { background: var(--soft); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; }
.ct-pickrow { display: none; }
.ct-best { display: none; }
.ct-h2 { font-size: 24px; line-height: 1.15; margin: 0 0 16px; }
.ct-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
.ct-tile { all: unset; box-sizing: border-box; cursor: pointer; display: block; border-radius: 18px; }
.ct-timg { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--soft); }
.ct-timg img, .ct-pimg img, .ct-uimg img, .ct-thumb img, .ct-cthumb img, .ct-pm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.ct-tile:hover .ct-timg img { transform: scale(1.04); }
.ct-tile:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 4px; }
.ct-tile b { display: block; margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.ct-tile small { display: block; color: var(--muted); font-size: 13.5px; }
.ct-basket-col { position: sticky; top: var(--btop, 24px); }
.ct[data-view="home"] .ct-basket-col { margin-top: 28px; }
.ct[data-view="menu"] .ct-basket-col { --btop: 92px; }

/* ---------- basket ---------- */
.ct-card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
.ct-basket { display: flex; flex-direction: column; height: var(--bh, calc(100vh - 48px)); overflow: hidden; }
.ct-bhead { padding: 20px 20px 6px; }
.ct-bhead h2 { font-size: 22px; }
.ct-bbody { flex: 1; overflow: auto; padding: 0 20px; overscroll-behavior: contain; display: flex; flex-direction: column; }
.ct-bbody > * { flex-shrink: 0; }
.ct-empty { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--muted); padding: 30px 12px; font-size: 14px; }
.ct-empty svg { margin-bottom: 12px; filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--brand-ink, #2e1d14) 12%, transparent)); }
.ct-empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.ct-lines { list-style: none; margin: 0; padding: 0; }
.ct-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ct-thumb { display: block; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--soft); flex: none; }
.ct-thumb--sm { width: 44px; height: 44px; border-radius: 10px; }
.ct-linfo b { display: block; font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1.2; }
.ct-linfo small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.ct-lp { display: block; font-weight: 700; font-size: 14px; margin-top: 4px; }
.ct-stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); }
.ct-stepper button { width: 30px; height: 30px; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; }
.ct-stepper button:hover:not(:disabled) { background: var(--card); }
.ct-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.ct-stepper output { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.ct-stepper--big { padding: 5px; }
.ct-stepper--big button { width: 40px; height: 40px; }
.ct-minbox { margin: 14px 0 2px; }
.ct-minbar { height: 6px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.ct-minbar i { display: block; height: 100%; border-radius: 999px; background: var(--brand-accent); transition: width 0.3s ease; }
.ct-minbox p { margin: 7px 0 0; font-size: 12.5px; color: var(--muted); }
.ct-notecell { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.ct-notecell b { display: block; font-size: 15px; }
.ct-notecell small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-upsell { margin: auto -20px 0; padding: 16px 20px 18px; border-top: 8px solid var(--soft); }
.ct-upsell h3, .ct-also h3 { font-size: 17px; margin: 0 0 12px; }
.ct-bfoot { padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.ct-btotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 15px; }
.ct-btotal b { font-size: 19px; }

/* carousels (bestsellers, upsell, pairings) */
.ct-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.ct-carousel::-webkit-scrollbar { display: none; }
.ct-ucard { position: relative; flex: 0 0 150px; min-width: 0; scroll-snap-align: start; }
.ct-carousel--sm .ct-ucard { flex-basis: 128px; }
.ct-ucard-hit { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; }
.ct-uimg { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--soft); }
.ct-ucard b { display: block; margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-ucard small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ct-ucard .ct-add { top: 8px; right: 8px; width: 30px; height: 30px; }

/* ---------- menu ---------- */
.ct-menu { display: grid; grid-template-columns: 236px minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-top: 26px; padding-bottom: 80px; }
.ct[data-view="menu"] .ct-wrap { max-width: 1480px; }
.ct-cats { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; }
.ct-cat { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 14px; font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; }
.ct-cthumb { display: block; width: 44px; height: 36px; flex: none; border-radius: 10px; overflow: hidden; background: var(--soft); }
.ct-cat:hover { background: var(--hover); }
.ct-cat[aria-current="true"] { background: var(--soft); }
.ct-cat:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.ct-msec { scroll-margin-top: 92px; padding-bottom: 30px; }
.ct-msec + .ct-msec { border-top: 8px solid var(--soft); padding-top: 26px; }
.ct-msec .ct-h2 { margin-bottom: 4px; }
.ct-catblurb { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.ct-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.ct-pcard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.ct-pcard-hit { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; padding: 14px; border-radius: 18px; }
.ct-pcard-hit:hover { background: var(--hover); }
.ct-pcard-hit:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.ct-ptext { display: flex; flex-direction: column; align-items: flex-start; }
.ct-pname { font-family: var(--display); font-size: 18px; line-height: 1.15; margin: 0 0 4px; }
.ct-price { font-weight: 700; font-size: 14.5px; margin: 0 0 5px; }
.ct-desc { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin: 0 0 9px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ct-pimg { position: relative; display: block; width: 120px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.ct-serves { position: absolute; left: 6px; bottom: 6px; background: var(--brand-bg); color: var(--ink); font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 7px; }
.ct-pcard .ct-add { top: 22px; right: 22px; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ct-tag { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: var(--soft); }
.ct-tag--pop { background: var(--brand-accent); }

/* ---------- mobile basket bar ---------- */
.ct-mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 22px 16px 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.ct-mobilebar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--page); -webkit-mask-image: linear-gradient(to top, #000 60%, transparent); mask-image: linear-gradient(to top, #000 60%, transparent); }
.ct-btn--bar { justify-content: space-between; height: 56px; box-shadow: var(--shadow); }
.ct-mcount { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand-onPrimary) 22%, transparent); display: inline-grid; place-items: center; font-size: 13.5px; }

/* ---------- checkout ---------- */
.ct-co { display: grid; grid-template-columns: minmax(0, 680px) 420px; justify-content: center; gap: 26px; align-items: start; margin-top: -84px; position: relative; z-index: 2; padding-bottom: 72px; }
.ct-co-main { overflow: hidden; }
.ct-co-head { display: flex; align-items: center; gap: 6px; padding: 18px 20px 2px 12px; }
.ct-co-head h1 { font-size: 28px; }
.ct-co-sec { padding: 20px 24px 24px; }
.ct-co-sec + .ct-co-sec { border-top: 8px solid var(--soft); }
.ct-co-sec h2 { font-size: 19px; margin: 0 0 12px; }
.ct-sub { margin: -8px 0 14px; color: var(--muted); font-size: 13.5px; }
.ct-cellrow { display: flex; align-items: center; gap: 12px; }
.ct-cellrow b { display: block; font-weight: 600; font-size: 15px; }
.ct-cellrow small { display: block; color: var(--muted); font-size: 13px; }
.ct-cellrow > svg { color: var(--muted); flex: none; }
.ct-field { display: block; margin-bottom: 10px; }
.ct-field > span:first-child { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 5px 2px; }
.ct-field input, .ct-field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 14px; padding: 13px 14px; background: #fffdf8; color: var(--ink); }
.ct-field textarea { min-height: 76px; resize: vertical; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--soft); }
.ct-field.is-invalid input { border-color: var(--danger); }
.ct-msg { display: none; color: var(--danger); font-size: 12.5px; margin: 5px 0 0 2px; }
.ct-field.is-invalid .ct-msg { display: block; }
.ct-mt { margin-top: 16px; }
.ct-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-check { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 14px; margin-top: 6px; cursor: pointer; }
.ct-check input, .ct-slot input, .ct-opt input, .ct-method input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ct-box, .ct-dot { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--line-strong); background: #fffdf8; display: grid; place-items: center; transition: background 0.15s, border-color 0.15s; }
.ct-box { border-radius: 6px; }
.ct-dot { border-radius: 50%; }
input:checked + .ct-box { background: var(--brand-primary); border-color: var(--brand-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff8f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); background-size: 15px; background-repeat: no-repeat; background-position: center; }
input:checked + .ct-dot { border: 6px solid var(--brand-primary); }
input:focus-visible + .ct-box, input:focus-visible + .ct-dot { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.ct-loyal { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--brand-accent); color: var(--brand-ink); margin-bottom: 14px; }
.ct-loyal b { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.15; }
.ct-loyal small { display: block; font-size: 13px; opacity: 0.8; }
.ct-loyal.is-joined { cursor: default; background: var(--soft); }
.ct-methods { display: grid; gap: 8px; margin-bottom: 12px; }
.ct-method { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 16px; background: #fffdf8; cursor: pointer; font-weight: 600; }
.ct-method.is-on { border-color: var(--brand-ink); background: var(--soft); }
.ct-applemark { display: inline-flex; align-items: center; gap: 1px; height: 26px; padding: 0 7px 0 5px; border-radius: 6px; background: #000; color: #fff; font-size: 13px; font-weight: 600; font-family: -apple-system, system-ui, sans-serif; }
.ct-brands { display: flex; gap: 4px; }
.ct-brands span { font-size: 9.5px; font-weight: 800; letter-spacing: 0.02em; padding: 3px 6px; border-radius: 5px; background: var(--card); border: 1px solid var(--line); }
.ct-cardbox { border: 1px solid var(--line-strong); border-radius: 16px; padding: 14px 14px 4px; }
.ct-cardbox.is-declined { border-color: var(--danger); background: var(--danger-soft); }
.ct-decline { display: none; color: var(--danger); font-size: 13px; margin: 2px 2px 10px; }
.ct-cardbox.is-declined .ct-decline { display: block; }
.ct-testcards { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }
.ct-terms { font-size: 12px; color: var(--muted); text-align: center; margin: 18px 10px 12px; }
.ct-co-sum { position: sticky; top: 24px; padding: 20px 0 18px; }
.ct-co-sum h2 { font-size: 19px; margin: 0 20px 10px; }
.ct-sumline { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 8px 20px; font-size: 14px; }
.ct-qty { width: 26px; height: 26px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; flex: none; }
.ct-sumline small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ct-sumline > b { font-weight: 600; }
.ct-sumtot { border-top: 8px solid var(--soft); margin-top: 10px; padding: 14px 20px 0; }
.ct-sumrow { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--muted); }
.ct-sumrow b { color: var(--ink); font-weight: 600; }
.ct-sumrow.is-total { color: var(--ink); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 16px; }
.ct-sumrow.is-total b { font-weight: 700; }
.ct-promo { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ct-promo input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; background: #fffdf8; }
.ct-err { width: 100%; color: var(--danger); font-size: 12.5px; text-align: right; }
.ct-warn { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--ink); font-size: 13.5px; }
.ct-warn .ct-chip { margin-top: 8px; background: var(--card); }

/* ---------- confirmation ---------- */
.ct-conf { max-width: 620px; margin: -96px auto 72px; position: relative; z-index: 2; }
.ct-conf-card { overflow: hidden; }
.ct-ticket { padding: 28px 24px 24px; text-align: center; background: var(--card); }
.ct-conf-logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; }
.ct-conf-title { font-size: 30px; line-height: 1.1; margin: 0 0 10px; }
.ct-conf-sub { color: var(--muted); margin: 0 auto 18px; max-width: 34em; }
.ct-timeline { list-style: none; margin: 4px auto 22px; padding: 16px; max-width: 420px; text-align: left; border-radius: 16px; background: var(--soft); }
.ct-timeline li { position: relative; padding: 0 0 16px 32px; }
.ct-timeline li::before { content: ""; position: absolute; left: 3px; top: 2px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--card); }
.ct-timeline li::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: 2px; width: 2px; background: var(--line-strong); }
.ct-timeline li:last-child { padding-bottom: 0; }
.ct-timeline li:last-child::after { display: none; }
.ct-timeline li.is-done::before { background: var(--brand-primary); border-color: var(--brand-primary); }
.ct-timeline li.is-next::before { border-color: var(--brand-primary); }
.ct-timeline b { display: block; font-size: 14px; }
.ct-timeline small { color: var(--muted); font-size: 13px; }
.ct-csec { padding: 18px 24px; }
.ct-csec + .ct-csec, .ct-ticket + .ct-csec { border-top: 8px solid var(--soft); }
.ct-csec h2 { font-size: 19px; margin: 0 0 10px; }
.ct-cline { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.ct-cline b { display: block; font-size: 14px; font-weight: 600; }
.ct-cline small { display: block; color: var(--muted); font-size: 12.5px; }
.ct-ccards { display: grid; gap: 10px; }
.ct-ccard { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--soft); }
.ct-ccard b { display: block; font-size: 14.5px; }
.ct-ccard small { display: block; color: var(--muted); font-size: 13px; }
.ct-ccard .ct-chip { background: var(--card); }
.ct-ccard--loyal { background: var(--brand-accent); }
.ct-ccard--loyal small { color: var(--brand-ink); opacity: 0.8; }

/* ---------- modals (centred on desktop and tablet, bottom sheets on a phone) ---------- */
.ct-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(30, 18, 10, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.22s; }
.ct-scrim.on { opacity: 1; pointer-events: auto; }
.ct-modal { position: fixed; z-index: 60; left: 50%; top: 50%; width: min(580px, calc(100vw - 32px)); max-height: min(88vh, 780px); display: flex; flex-direction: column; overflow: hidden; background: var(--brand-bg); border-radius: 26px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, -47%) scale(0.985); transition: opacity 0.2s, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ct-modal.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.ct-modal--lg { width: min(940px, calc(100vw - 32px)); }
.ct-modal[data-mt="product"] { height: min(88vh, 780px); }
.ct-modal--tall { height: min(88vh, 780px); }
.ct-modal:focus { outline: none; }
.ct-mhead { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 14px 60px 8px; flex: none; }
.ct-mhead h2 { font-size: 20px; text-align: center; }
.ct-x { position: absolute; right: 10px; top: 8px; }
.ct-l { position: absolute; left: 10px; top: 8px; }
.ct-mbody { flex: 1; overflow: auto; padding: 4px 20px 18px; overscroll-behavior: contain; display: flex; flex-direction: column; }
.ct-mbody > * { flex-shrink: 0; }
.ct-mfoot { display: flex; gap: 10px; align-items: center; padding: 14px 20px 18px; border-top: 1px solid var(--line); flex: none; }
.ct-mfoot .ct-btn { flex: 1; width: auto; margin: 0; }
.ct-mfoot--stack { flex-direction: column; align-items: stretch; }
.ct-legal { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.ct-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--soft); margin-bottom: 14px; }
.ct-seg button { border: 0; background: transparent; padding: 11px; border-radius: 999px; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.ct-seg button[aria-pressed="true"] { background: var(--brand-bg); box-shadow: 0 1px 6px rgba(46, 29, 20, 0.16); }
.ct-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: #fffdf8; }
.ct-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 14px 0; background: transparent; }
.ct-search:focus-within { border-color: var(--brand-ink); box-shadow: 0 0 0 3px var(--soft); }
.ct-listlabel { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 16px 0 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.ct-alist { list-style: none; margin: 0; padding: 0; }
.ct-aitem { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.ct-aitem:hover { background: var(--hover); }
.ct-aitem[aria-pressed="true"] { background: var(--soft); border-radius: 12px; }
.ct-aitem b { display: block; font-size: 14.5px; }
.ct-aitem small { display: block; color: var(--muted); font-size: 12.5px; }
.ct-aitem.is-out small.ct-zone { color: var(--danger); }
.ct-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ct-days::-webkit-scrollbar { display: none; }
.ct-day { flex: 0 0 auto; min-width: 96px; padding: 9px 14px; text-align: left; border: 1px solid var(--line-strong); border-radius: 14px; background: #fffdf8; scroll-snap-align: start; }
.ct-day b { display: block; font-size: 15px; font-weight: 500; }
.ct-day small { display: block; color: var(--muted); font-size: 12.5px; }
.ct-day[aria-pressed="true"] { border-color: var(--ink); background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.ct-day:disabled { opacity: 0.5; cursor: not-allowed; }
.ct-info { margin: 6px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 13px; }
.ct-info b { display: block; font-size: 14px; }
.ct-slothead { margin: 18px 0 0; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ct-slot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ct-slot b { font-weight: 500; font-size: 15.5px; }
.ct-slot small { display: block; color: var(--muted); font-size: 12.5px; }
.ct-slot.is-full { color: var(--muted); cursor: not-allowed; }
.ct-slot.is-full .ct-dot { opacity: 0.4; }

/* dish */
.ct-pm { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 26px; }
.ct-pm-media { position: relative; }
.ct-pm-img { position: sticky; top: 0; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--soft); }
.ct-pm-title { font-size: 28px; line-height: 1.1; margin: 2px 0 8px; }
.ct-pm-desc { color: var(--muted); margin: 0 0 10px; }
.ct-pm-price { font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.ct-ogroup { border: 0; margin: 20px 0 0; padding: 18px 0 2px; min-width: 0; border-top: 8px solid var(--soft); }
.ct-ogroup legend { width: 100%; padding: 0; float: none; }
.ct-ohead { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.ct-ohead b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.ct-ocount { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ct-ocount.is-ok { background: var(--brand-accent); color: var(--ink); }
.ct-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.ct-opt:last-child { border-bottom: 0; }
.ct-ol { flex: 1; }
.ct-ol em { font-style: normal; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.ct-op { color: var(--muted); font-size: 13.5px; }
.ct-opt.is-off { opacity: 0.45; cursor: not-allowed; }
.ct-also { margin-top: 22px; padding-top: 18px; border-top: 8px solid var(--soft); }
.ct-thermal { position: relative; max-width: 360px; margin: 6px auto 18px; padding: 20px 18px 24px; background: #fffef8; color: #1c1c1a; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); }
.ct-mnote { color: var(--muted); font-size: 13px; text-align: center; margin: 0 0 6px; }
.ct-receipt .ct-rrow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.ct-receipt .ct-rrow span:first-child { color: var(--muted); }
.ct-receipt hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.ct-receipt-logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; }
.ct-join { align-items: center; text-align: center; gap: 10px; }
.ct-join-logo { width: 84px; height: 84px; border-radius: 50%; }
.ct-join h2 { font-size: 30px; }
.ct-join .ct-field, .ct-join .ct-check { width: 100%; text-align: left; }
.ct-venue { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 0 20px; text-align: center; }
.ct-venue img { width: 84px; height: 84px; border-radius: 50%; }
.ct-venue h2 { font-size: 30px; }
.ct-socials { display: flex; gap: 6px; }
.ct-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.ct-socials a:hover { background: var(--soft); }
/* The network icons are black SVGs: drawn as a mask so they take the venue's content colour. */
.ct-social-ic { display: block; width: 20px; height: 20px; background: var(--ink); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.ct-vpromo { display: grid; grid-template-columns: minmax(0, 1fr) 120px; min-height: 120px; border-radius: 18px; overflow: hidden; background: var(--soft); }
.ct-vpromo > div { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.ct-vpromo b { font-family: var(--display); font-weight: 400; font-size: 17px; }
.ct-vpromo small { color: var(--muted); font-size: 13.5px; }
.ct-vpromo img { width: 100%; height: 100%; object-fit: cover; }
.ct-vlist { list-style: none; margin: 10px 0 0; padding: 0; }
.ct-vlist button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-weight: 600; font-size: 15px; }
.ct-vlist li:last-child button { border-bottom: 0; }
.ct-vlist button:hover { background: var(--hover); }

.ct-toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: var(--brand-ink); color: var(--brand-bg); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: opacity 0.2s, transform 0.2s; max-width: calc(100vw - 32px); text-align: center; }
.ct-toast.on { opacity: 1; transform: translate(-50%, 0); }
.ct-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding-top: 28px; padding-bottom: 44px; color: var(--muted); font-size: 12.5px; text-align: center; }
.ct-foot img { display: inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .ct-menu { grid-template-columns: 210px minmax(0, 1fr) 330px; gap: 20px; }
  .ct-home { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
}
/* Small laptop and iPad landscape: categories become a sticky chip row */
@media (max-width: 1080px) {
  .ct { --gutter: 24px; }
  .ct-menu { grid-template-columns: minmax(0, 1fr) 330px; }
  .ct-cats { grid-column: 1 / -1; position: sticky; top: 68px; z-index: 10; flex-direction: row; gap: 8px; overflow-x: auto; margin: -26px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter); background: var(--page); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .ct-cats::-webkit-scrollbar { display: none; }
  .ct-cat { flex: none; padding: 5px 14px 5px 5px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; background: var(--brand-bg); }
  .ct-cat[aria-current="true"] { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-onPrimary); }
  .ct-cthumb { width: 30px; height: 30px; border-radius: 50%; }
  .ct-msec { scroll-margin-top: 150px; }
  .ct[data-view="menu"] .ct-basket-col { --btop: 150px; }
  .ct-co { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
  .ct-co-sum { position: static; order: -1; }
}
/* iPad portrait and small tablets: one column, basket from a bottom bar */
@media (max-width: 899px) {
  .ct-home, .ct-menu { grid-template-columns: minmax(0, 1fr); }
  .ct-basket-col { display: none; }
  .ct:is([data-view="home"], [data-view="menu"]) .ct-mobilebar.on { display: block; }
  .ct:is([data-view="home"], [data-view="menu"]) main { padding-bottom: 84px; }
  .ct-best { display: block; margin: 0 0 30px; }
  .ct-pm { grid-template-columns: minmax(0, 1fr); }
  .ct-pm-img { position: static; aspect-ratio: 16 / 9; }
}

/* Phone: the Click and Collect look */
@media (max-width: 640px) {
  .ct { --gutter: 16px; font-size: 15.5px; }
  .ct-topbar { font-size: 12.5px; }
  .ct-topbar .ct-wrap { min-height: 36px; padding-top: 6px; padding-bottom: 6px; line-height: 1.3; }
  .ct-hero { height: 220px; }
  .ct-hero-art::after { background: linear-gradient(to bottom, rgba(46, 29, 20, 0.2), transparent 40%); }
  .ct-hero-bar { padding-top: 12px; }
  .ct-hero .ct-pills { display: none; }
  .ct-hero .ct-flag { display: block; width: 28px; height: 20px; }
  .ct-hero-sheet { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: var(--page); border-radius: 24px 24px 0 0; }
  .ct-home { padding-bottom: 40px; }
  .ct-home-main { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .ct-logo { width: 96px; height: 96px; margin-top: -84px; }
  .ct-kicker { margin-top: 14px; font-size: 12.5px; }
  .ct-welcome { font-size: 34px; margin-top: 16px; }
  .ct-intro { font-size: 15.5px; }
  .ct-facts { justify-content: center; margin-bottom: 20px; }
  .ct-pickrow { display: grid; gap: 0; width: 100%; margin: 0 0 26px; border-radius: 18px; background: var(--soft); text-align: left; overflow: hidden; }
  .ct-pickcell { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: transparent; text-align: left; }
  .ct-pickcell + .ct-pickcell { border-top: 1px solid var(--line-strong); }
  .ct-pickcell > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-bg); flex: none; }
  .ct-pickcell small { display: block; color: var(--muted); font-size: 12.5px; }
  .ct-pickcell b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ct-best { width: 100%; text-align: left; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 8px solid var(--soft); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); padding-left: var(--gutter); }
  .ct-h2 { font-size: 22px; }
  .ct-menu-h { align-self: flex-start; }
  .ct-tiles { width: 100%; grid-template-columns: 1fr 1fr; gap: 18px 12px; text-align: left; }
  .ct-timg { aspect-ratio: 4 / 3; border-radius: 14px; }
  .ct-tile b { font-size: 17px; margin-top: 8px; }
  .ct-tile small { font-size: 12.5px; }

  .ct-navbar .ct-wrap { height: 58px; padding: 0 6px; }
  .ct-navbar .ct-brandmark, .ct-navbar .ct-pills { display: none; }
  .ct[data-view="menu"] .ct-navbar .ct-wrap::after { content: none; }
  .ct-menu { padding-top: 20px; }
  .ct-cats { top: 58px; margin-top: -20px; }
  .ct-msec { scroll-margin-top: 130px; }
  .ct-msec + .ct-msec { padding-top: 22px; }
  .ct-cards { gap: 0; }
  .ct-pcard { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
  .ct-pcard-hit { grid-template-columns: minmax(0, 1fr) 112px; padding: 14px 0; border-radius: 0; }
  .ct-pcard-hit:hover { background: transparent; }
  .ct-pimg { width: 112px; height: 112px; }
  .ct-pcard .ct-add { top: 22px; right: 8px; }
  .ct-pname { font-size: 18px; }

  .ct:is([data-view="checkout"], [data-view="confirm"]) .ct-hero { display: none; }
  .ct-co { margin-top: 0; gap: 0; }
  .ct-co > .ct-wrap { padding: 0; }
  [data-v="checkout"] .ct-wrap, [data-v="confirm"] .ct-wrap { padding: 0; }
  .ct-co .ct-card, .ct-conf .ct-card { border-radius: 0; box-shadow: none; background: transparent; }
  .ct-co-sum { order: 2; padding-top: 4px; border-top: 8px solid var(--soft); }
  .ct-co-head { position: sticky; top: 0; z-index: 5; background: var(--page); justify-content: center; padding: 8px 52px; min-height: 58px; }
  .ct-co-head .ct-iconbtn { position: absolute; left: 6px; top: 7px; }
  .ct-co-head h1 { font-size: 20px; }
  .ct-co-sec { padding: 18px 16px 22px; }
  .ct-row2 { grid-template-columns: 1fr; gap: 0; }
  .ct-paybar { position: sticky; bottom: 0; z-index: 4; margin: 18px -16px -22px; padding: 4px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--page); box-shadow: 0 -8px 24px rgba(46, 29, 20, 0.07); }
  .ct-terms { margin: 10px 4px 10px; }
  .ct-co-main { overflow: visible; }
  .ct-conf { margin: 0 0 40px; }
  .ct-ticket { background: transparent; padding-top: 36px; }
  .ct-conf-title { font-size: 26px; }
  .ct-csec { padding: 18px 16px; }

  .ct-modal, .ct-modal--lg { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .ct-modal.on { transform: translateY(0); }
  .ct-mhead h2 { font-size: 18px; }
  .ct-mfoot { border-top: 0; box-shadow: 0 -8px 24px rgba(46, 29, 20, 0.06); }
  /* Dish: a full-screen page with the photo edge to edge, like Click and Collect */
  .ct-modal[data-mt="product"] { height: 100%; height: 100dvh; max-height: none; border-radius: 0; }
  .ct-mhead--float { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: 0; min-height: 0; }
  .ct-mhead--float .ct-iconbtn { background: var(--brand-bg); box-shadow: 0 2px 10px rgba(55, 42, 26, 0.2); top: 12px; }
  .ct-mhead--float .ct-x { right: 12px; }
  .ct-mhead--float .ct-l { left: 12px; }
  .ct-modal[data-mt="product"] .ct-mbody { padding: 0 0 18px; }
  .ct-pm { gap: 0; }
  .ct-pm-img { aspect-ratio: 1; border-radius: 0; }
  .ct-pm-info { padding: 18px 16px 0; }
  .ct-pm-title { font-size: 28px; }
  .ct-ogroup { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .ct-also { margin-left: -16px; margin-right: -16px; padding-left: 16px; }
  .ct-modal--tall { height: 92dvh; }
  .ct-toast { bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct *, .ct *::before, .ct *::after { transition: none !important; animation: none !important; }
}

/* Design rule: every placeholder is in the secondary content colour (the ink at 64%), typed text in the ink. */
.ct :is(input, textarea) { color: var(--ink); }
.ct :is(input, textarea)::placeholder { color: color-mix(in srgb, var(--ink) 64%, transparent); opacity: 1; }

/* Universes (steakhouse, pub, asian...): the desktop sites follow the brand's fonts, case and weights, like the phone demo. */
.ct[style*="--brand-fontDisplay:"] { --display: var(--brand-fontDisplay); }
.ct[style*="--brand-fontBody:"] { --sans: var(--brand-fontBody); }
.ct[style*="--brand-hCase:"] :is(h1, h2, h3) { text-transform: var(--brand-hCase); letter-spacing: var(--brand-hLetter, -0.005em); line-height: var(--brand-hLine, 1.1); font-weight: var(--brand-hWeight, 400); }
.ct[style*="--brand-bodyCase:"] { text-transform: var(--brand-bodyCase); }
.ct[style*="--brand-emphCase:"] :is(strong, b) { text-transform: var(--brand-emphCase); }
.ct[style*="--brand-btnCase:"] :is(button, .ct-btn) { text-transform: var(--brand-btnCase); }
.ct[style*="--brand-bodyWeight:"] { font-weight: var(--brand-bodyWeight); }
.ct[style*="--brand-emphWeight:"] :is(strong, b) { font-weight: var(--brand-emphWeight); }
.ct[style*="--brand-btnWeight:"] :is(button, .ct-btn) { font-weight: var(--brand-btnWeight); }

/* Desktop basket (and the checkout summary): the same background and text colour as the rest of the app, on every view.
   --card is redefined inside, so every card-coloured detail in the basket (hover, upsell cards) follows the page too. */
.ct-basket-col, .ct-basket, .ct-co-sum { --card: var(--page); background: var(--page); color: var(--ink); }
.ct-basket-col .ct-card, .ct-basket.ct-card, .ct-co-sum.ct-card { background: var(--page); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 48px rgba(0, 0, 0, 0.16); }
.ct-basket-col :is(.ct-bhead, .ct-bbody, .ct-bfoot, .ct-lines, .ct-upsell, .ct-btotal, .ct-linfo, .ct-sumline, .ct-sumtot, .ct-sumrow.is-total) { color: var(--ink); }

/* Checkout on a computer or iPad: the app's own background with a shadow around the whole panel, like the basket. */
@media (min-width: 641px) {
  .ct-co-main.ct-card { --card: var(--page); background: var(--page); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 48px rgba(0, 0, 0, 0.16); }
}
/* sunday logo in the page's content colour (the logo file is drawn as a mask). */
.ct-sunday { display: inline-block; width: 63px; height: 16px; background: var(--ink); -webkit-mask: url(../assets/brand/sunday-logo.svg) center / contain no-repeat; mask: url(../assets/brand/sunday-logo.svg) center / contain no-repeat; }

/* Fields (inputs, day chips, payment methods, search): the app's own background with a thin stroke in the secondary content colour. */
body .ct :is(.ct-field input, .ct-field textarea, .ct-promo input, .ct-phone-cc, .ct-dv-fields .ct-field input, .ct-dv-search, .ct-search, .ct-method, .ct-dv-method):not(:focus):not(:focus-within) { background: var(--page); border-color: var(--muted); }
body .ct :is(.ct-field input, .ct-field textarea, .ct-promo input, .ct-dv-fields .ct-field input) { background: var(--page); }
body .ct .ct-day:not([aria-pressed="true"]), body .ct .ct-otp span { background: var(--page); border-color: var(--muted); }
body .ct input:not(:checked) + :is(.ct-box, .ct-dot) { background: var(--page); border-color: var(--muted); }
body .ct .ct-dv-static { border-color: var(--muted); }
body .ct .ct-field.is-invalid input { border-color: var(--danger); }

/* Loyalty sign-up on a computer or iPad: the loyalty colours, like the phone (loyalty background, its own text colour, dark button). */
.ct-modal[data-mt="join"] {
  --lbg: var(--brand-loyalty, var(--brand-bg));
  --link: var(--brand-loyaltyInk, var(--brand-ink));
  --page: var(--lbg);
  --ink: var(--link);
  --muted: color-mix(in srgb, var(--link) 62%, transparent);
  --line: color-mix(in srgb, var(--link) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--link) 30%, transparent);
  --soft: color-mix(in srgb, var(--link) 9%, transparent);
  background: var(--lbg);
  color: var(--link);
}
.ct-modal[data-mt="join"] :is(.ct-mhead, .ct-mfoot) { background: transparent; }
.ct-modal[data-mt="join"] .ct-btn:not(:disabled) { background: var(--link); color: var(--lbg); }

/* Dish cards on a computer or iPad: the app's background with a stroke in the secondary content colour. */
@media (min-width: 641px) {
  body .ct .ct-pcard { background: var(--page); border-color: var(--muted); }
}

/* Loyalty on a computer or iPad: always the loyalty colours, exactly like the phone (banner, checkout pitch, order page card). */
.ct { --lbg: var(--brand-loyalty, var(--brand-soft)); --link: var(--brand-loyaltyInk, var(--brand-ink)); }
body .ct .ct-topbar:not(.is-status):not(.ct-topbar--order) { background: var(--lbg); color: var(--link); }
body .ct .ct-topbar:not(.is-status):not(.ct-topbar--order) .ct-chip--bar { background: var(--brand-bg); color: var(--brand-ink); }
body .ct .ct-loyal:not(.is-joined), body .ct .ct-ccard--loyal { background: var(--lbg); color: var(--link); }
body .ct .ct-ccard--loyal small { color: var(--link); }
