:root {
  --bg: #F1F3EF; --surface: #FFFFFF; --ink: #17211D; --muted: #5B6862; --line: #D6DBD4;
  --brand: #1D4B3A; --brand-ink: #FFFFFF; --signal: #F0B429; --danger: #B3382C;
  /* System fonts only: nothing is loaded from third parties (privacy, speed). A humanist stack for headings. */
  --display: "Avenir Next", "Segoe UI Variable Display", Seravek, "Gill Sans Nova", Ubuntu, Calibri, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: 1.35rem; }
a { color: inherit; }
code { background: var(--line); padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 14px clamp(16px, 4vw, 40px); background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { font: 700 1.4rem var(--display); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: flex-end; }
.top nav a { text-decoration: none; }
.top nav a:hover, .linklike:hover { text-decoration: underline; }
main { max-width: 1080px; margin: 0 auto; padding: clamp(16px, 4vw, 40px); }

.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.danger-text { color: var(--danger); }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand);
  border-radius: 999px; padding: 10px 20px; font: 600 1rem var(--body); cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.15); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.wide { width: 100%; margin-top: 8px; }

label { display: block; margin: 0 0 12px; font-weight: 600; font-size: .95rem; }
label.check { display: flex; gap: 8px; align-items: center; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: 400 1rem var(--body);
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
input[type=checkbox] { width: auto; margin: 0; }
textarea { resize: vertical; }

.notice { padding: 12px 16px; margin: 0 0 20px; background: var(--surface); border-left: 4px solid var(--signal); }
.notice.error { border-left-color: var(--danger); }
.empty { padding: 40px 0; color: var(--muted); }

/* home */
.hero { padding: clamp(24px, 6vw, 72px) 0 32px; }
.search { display: flex; gap: 10px; max-width: 560px; margin-top: 24px; }
.search input { margin: 0; border-radius: 999px; padding: 12px 20px; }
.venue-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.venue-list li { border-bottom: 1px solid var(--line); }
.venue-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 4px; text-decoration: none; }
.venue-list a:hover { background: var(--surface); }
.vname { font: 700 1.4rem var(--display); }
.vmeta { grid-column: 1; color: var(--muted); }
.vstate { grid-row: 1 / span 3; grid-column: 2; align-self: center; font-size: .9rem; }
.vstate::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--muted); }
.vstate.open::before { background: var(--brand); }

/* venue page */
.venue-head { margin-bottom: 24px; }
.venue-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.vmatch { grid-column: 1; font-size: .9rem; color: var(--brand); }
.vmatch::before { content: "Has: "; color: var(--muted); }

.menu { border-top: 1px solid var(--ink); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.cat > summary { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.cat > summary h2 { margin: 0; flex: 1; }
.cat > summary::after, .chev::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); margin: -4px 4px 0; display: inline-block; }
.cat[open] > summary::after, .multi[open] .chev::after { transform: rotate(-135deg); margin-top: 4px; }
.count { min-width: 26px; padding: 1px 8px; text-align: center; border-radius: 999px; background: var(--line); font-size: .85rem; }
.items { list-style: none; margin: 0; padding: 0 0 8px; background: var(--surface); }
.item { border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.irow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 12px 14px; min-height: 64px; }
.multi > summary.irow { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.multi > summary:hover { background: var(--bg); }
.iinfo { display: flex; flex-direction: column; min-width: 0; }
.iprice { font-weight: 700; white-space: nowrap; }
.iprice .muted { font-weight: 400; }
.incart { padding: 2px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .8rem; white-space: nowrap; }
.item.soldout .iinfo { opacity: .5; }
.sizes-list { list-style: none; margin: 0; padding: 0 14px 10px 28px; }
.size { display: grid; grid-template-columns: minmax(0, 1fr) auto 108px; align-items: center; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--line); min-height: 52px; }
.ctl { display: flex; justify-content: flex-end; min-width: 92px; }
.add { padding: 7px 18px; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 999px; font: 600 .95rem var(--body); cursor: pointer; }
.add:hover:not(:disabled) { filter: brightness(1.15); }
.add:disabled { opacity: .4; cursor: not-allowed; }
.stepper { align-items: center; gap: 10px; }
.stepper button, .qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); background: var(--surface); cursor: pointer; font: 600 1.1rem var(--body); line-height: 1; }
.stepper span { min-width: 18px; text-align: center; font-weight: 700; }

.cart { position: sticky; top: 80px; background: var(--surface); padding: 20px; border-radius: 10px; border: 1px solid var(--line); }
.cart-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; margin: 12px 0; }
.cart-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 6; justify-content: space-between;
  padding: 14px 20px; background: var(--brand); color: #fff; border-radius: 999px; text-decoration: none; }

/* receipt + order lists */
.receipt { max-width: 560px; }
.status { margin-bottom: .3em; }
.status-new, .status-preparing { }
.lines { list-style: none; margin: 16px 0 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }

.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.order { background: var(--surface); padding: 18px; border-radius: 10px; border: 1px solid var(--line); border-top: 6px solid var(--line); }
.order.status-new { border-top-color: var(--signal); }
.order.status-preparing { border-top-color: var(--brand); }
.order.status-ready { border-top-color: var(--ink); }
.ohead h2 { margin-bottom: 2px; }
.arrive { margin: 0 0 6px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--line); font-size: .8rem; font-weight: 600; }
.note { background: var(--bg); padding: 8px 10px; border-radius: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.decline { display: flex; gap: 8px; width: 100%; }
.decline input { margin: 0; }
.history-title { margin-top: 40px; }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 1fr auto 90px; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.history li span:last-child { text-align: right; }

/* panel menu + forms */
.starter { background: var(--surface); padding: 24px; border-radius: 10px; border: 1px solid var(--line); max-width: 560px; margin-bottom: 20px; }
.row-form { display: flex; gap: 10px; max-width: 520px; margin: 16px 0 28px; }
.row-form input { margin: 0; }
.mcat { margin-bottom: 40px; scroll-margin-top: 80px; }
.mcat-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); }
.mitems { list-style: none; margin: 0 0 12px; padding: 0; background: var(--surface); }
.mitems > li { border-bottom: 1px solid var(--line); }
.mitems summary { display: flex; gap: 14px; align-items: baseline; padding: 14px; }
.mitems summary:hover { background: var(--bg); }
.mname { font-weight: 700; }
.mprices { flex: 1; min-width: 0; }
.edit-hint { color: var(--brand); font-weight: 600; margin-left: auto; }
.mitems li.soldout .mname { text-decoration: line-through; }
.empty-cat { padding: 14px; }
.editor { padding: 4px 14px 18px; }
.add-item > summary { display: inline-block; }
.add-item[open] > summary { margin-bottom: 12px; }
.add-item .editor { background: var(--surface); border-radius: 10px; border: 1px solid var(--line); padding: 18px; }
.sizes { margin: 4px 0 14px; }
.size-head, .size-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 36px; gap: 8px; align-items: center; }
.size-head { font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.size-head span:first-child { grid-column: 1; }
.size-row { margin-bottom: 8px; }
.size-row input { margin: 0; }
.remove-size { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font: 1.2rem var(--body); }
.remove-size:hover { border-color: var(--danger); color: var(--danger); }
.add-size { margin-top: 2px; padding: 6px 14px; font-size: .9rem; }
.stack { max-width: 480px; padding-bottom: 8px; }
.narrow { margin-bottom: 24px; }
.auth { max-width: 400px; margin: 0 auto; padding-top: 24px; }

@media (max-width: 820px) {
  .size { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .irow { padding: 12px 10px; }
  .venue-layout { grid-template-columns: 1fr; }
  .cart { position: static; margin-bottom: 72px; }
  .cart-bar:not([hidden]) { display: flex; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .add { transition: filter .15s, border-color .15s; } }

/* accounts, panel bar, filters, rows */
.center { text-align: center; }
.gap { margin-top: 36px; }
.who { margin: 0 0 12px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 8px; }
.bar h1 { margin: 0; flex: 1; }
.conn::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--muted); }
.conn[data-state="live"]::before { background: var(--brand); }
.conn[data-state="down"]::before { background: var(--danger); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.filters input { flex: 1 1 240px; margin: 0; }
.filters select { width: auto; margin: 0; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border-top: 1px solid var(--ink); }
.rows > li { border-bottom: 1px solid var(--line); }
.rows summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto 90px; gap: 12px; align-items: center; padding: 12px 14px; }
.rows summary:hover { background: var(--bg); }
.rows .rid { font-weight: 700; }
.rows .rtotal { text-align: right; }
.rbody { padding: 0 14px 14px; }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 20px 0; }
.history.big li { grid-template-columns: 1fr auto 90px; }
.history li form { justify-self: end; }
.arow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: center; padding: 12px 14px; }
.status-approved, .status-completed { background: #CFE5D8; }
.status-pending, .status-new { background: #F6E2A6; }
.status-rejected, .status-suspended, .status-declined, .status-no_show { background: #F1CBC6; }
@media (max-width: 820px) { .rows summary { grid-template-columns: 48px minmax(0, 1fr) auto; } .rows .rdate { display: none; } }

/* ---- navigation, banner, footer */
.top { flex-wrap: wrap; }
.nav-search { flex: 1 1 240px; max-width: 420px; }
.nav-search input { margin: 0; padding: 8px 16px; border-radius: 999px; }
.btn.small { padding: 6px 16px; font-size: .95rem; }
.pop { position: relative; }
.pop > summary { cursor: pointer; list-style: none; padding: 6px 4px; font-weight: 600; }
.pop > summary::-webkit-details-marker { display: none; }
.pop > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 2px 3px 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.pop-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: grid; z-index: 10; }
.pop-menu a, .pop-menu button { padding: 10px 12px; border-radius: 6px; text-decoration: none; text-align: left; width: 100%; }
.pop-menu a:hover, .pop-menu button:hover { background: var(--bg); text-decoration: none; }
.pop-menu form { margin: 0; }
.banner { display: block; background: var(--brand); color: #fff; padding: 10px clamp(16px, 4vw, 40px); text-decoration: none; }
.banner:hover { filter: brightness(1.15); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 24px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.pill { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--signal); color: var(--ink); text-align: center; font-size: .8rem; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.crumb { margin: 0 0 8px; }
.crumb a { text-decoration: none; color: var(--muted); }

/* ---- venue page chips */
.chips { position: sticky; top: 56px; z-index: 4; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; background: var(--bg); }
.chip { flex: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.cat { scroll-margin-top: 110px; }

/* ---- order progress */
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 12px 0 20px; }
.steps li { flex: 1; padding: 8px 6px; text-align: center; font-size: .85rem; border-top: 4px solid var(--line); color: var(--muted); }
.steps li.done { border-top-color: var(--brand); color: var(--ink); }
.steps li.current { border-top-color: var(--signal); color: var(--ink); font-weight: 700; }

/* ---- live board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.col h2 { display: flex; gap: 10px; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.col .orders { display: grid; grid-template-columns: 1fr; gap: 12px; }
.empty-col { padding: 12px 0; list-style: none; }
.order h3 { margin: 0 0 4px; font-size: 1.1rem; }
.order.overdue { box-shadow: 0 0 0 2px var(--danger); }
.late { color: var(--danger); font-weight: 700; }
.pause select { display: inline-block; width: auto; margin: 0 6px 0 0; padding: 8px; }
.pause { display: inline-flex; align-items: center; }
@media (max-width: 1000px) { .board { grid-template-columns: 1fr; } }

/* ---- setup checklist, settings */
.checklist { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--signal); border-radius: 10px; padding: 16px 20px; margin: 12px 0 24px; max-width: 560px; }
.checklist h2 { margin-bottom: 8px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; flex: none; }
.checklist li.done .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.checklist li.done { color: var(--muted); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---- landing page for venues */
.lead { font-size: 1.2rem; max-width: 60ch; margin: 16px 0 24px; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 16px; }
.how { max-width: 60ch; padding-left: 20px; }
.how li { margin: 8px 0; }
.history li > a.small { justify-self: end; }

/* ---- photos */
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.vthumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; float: right; margin-left: 12px; }
.cover { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.photo-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.photo-form label { display: flex; gap: 8px; align-items: center; margin: 0; }
.irow .thumb { margin-right: 12px; }

/* ---- add-ons */
.addons { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px 12px; }
.addons legend { padding: 0 6px; font-weight: 600; }
.addons .check { display: inline-flex; margin-right: 16px; }
#opt-dialog { border: 0; border-radius: 14px; padding: 20px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); }
#opt-dialog::backdrop { background: rgba(0, 0, 0, .45); }
#opt-dialog fieldset { border: 0; padding: 0; margin: 0 0 16px; }
#opt-dialog legend { font-weight: 700; margin-bottom: 6px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.opt input { width: auto; margin: 0; }
.opt span { flex: 1; }
.opt em { font-style: normal; color: var(--muted); }
.opt-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* =====================================================================
   Redesign: round photos, venue header, footer, My orders, Settings, phone navigation
   ===================================================================== */
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }

/* ---- round photos ("profile picture" style); no photo = first letter on a green circle */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--line); display: block; }
.avatar.sm { width: 44px; height: 44px; }
.avatar.md { width: 64px; height: 64px; }
.avatar.xl { width: 104px; height: 104px; box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line); }
.avatar.blank { display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 1.3rem var(--display); }
.avatar.md.blank { font-size: 1.6rem; }
.avatar.xl.blank { font-size: 2.6rem; }

/* ---- venue list on the home page */
.venue-list a.vrow { display: flex; align-items: center; gap: 16px; padding: 14px 8px; }
.vtext { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vtext .vname { font-size: 1.2rem; }
.vstate { flex: none; white-space: nowrap; }

/* ---- venue page header */
.vhead { display: flex; align-items: center; gap: 24px; margin: 8px 0 24px; }
.vinfo { min-width: 0; }
.vinfo h1 { margin-bottom: 8px; }
.facts { margin: 0; display: grid; gap: 4px; }
.facts > div { display: flex; gap: 12px; }
.facts dt { flex: none; width: 64px; color: var(--muted); }
.facts dd { margin: 0; }
.vdesc { margin: 10px 0 0; max-width: 60ch; }
@media (max-width: 560px) {
  .vhead { gap: 16px; align-items: flex-start; }
  .avatar.xl { width: 76px; height: 76px; }
  .facts dt { width: 56px; }
}

/* ---- "pick-up name" card in the cart */
.pickup { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin: 0 0 14px;
  background: var(--bg); border-radius: 10px; }
.pickup-text { display: grid; min-width: 0; }
.btn.small { padding: 6px 16px; font-size: .9rem; }

/* ---- add-on dialog: calm, brand-coloured controls instead of the browser's bright blue */
#opt-dialog .opt { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
#opt-dialog fieldset .opt:last-child { border-bottom: 0; }
.opt input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none; background: var(--surface);
  border: 2px solid #9AA59F; border-radius: 50%; display: grid; place-content: center; }
.opt input[type=checkbox] { border-radius: 6px; }
.opt input:checked { border-color: var(--brand); background: var(--brand); }
.opt input[type=radio]:checked { box-shadow: inset 0 0 0 4px var(--surface); }
.opt input[type=checkbox]:checked::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.opt input:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

/* ---- My orders */
.ocards { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.ocard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ocard > summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.ocard > summary::-webkit-details-marker { display: none; }
.ocard .otitle { flex: 1; min-width: 0; display: grid; }
.ocard .ototal { white-space: nowrap; }
.ocard > summary .chev::after { content: ""; display: block; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s; }
.ocard[open] > summary .chev::after { transform: rotate(-135deg); }
.obody { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.obody .lines { margin-top: 4px; }
.oactions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (max-width: 520px) {
  .ocard > summary { flex-wrap: wrap; }
  .ocard .otitle { flex-basis: calc(100% - 100px); }
  .ocard > summary .badge { margin-left: 56px; }
  .ocard .ototal { margin-left: auto; }
}

/* ---- footer in columns */
.foot { display: block; padding: 40px clamp(16px, 4vw, 40px) 24px; border-top: 1px solid var(--line); margin-top: 40px; font-size: 1rem; color: var(--ink); }
.foot-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 8px 0 0; max-width: 28ch; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot h3 { font: 700 .8rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.foot nav a { text-decoration: none; color: var(--ink); }
.foot nav a:hover { text-decoration: underline; }
.foot-bottom { max-width: 1080px; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---- navigation on a phone: the venue menu stays on ONE line and scrolls sideways */
.top { flex-wrap: wrap; }
@media (max-width: 760px) {
  .top { gap: 8px 12px; padding-bottom: 8px; }
  .top .panelnav { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 6px; margin: 0 -4px; padding: 0 4px 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .top .panelnav::-webkit-scrollbar { display: none; }
  .top .panelnav a, .top .panelnav .linklike { flex: none; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
  .top .panelnav form { flex: none; }
  .nav-search { order: 2; flex-basis: 100%; max-width: none; }
}

/* ---- Settings: sections as cards with a side menu (a scrolling row on a phone) */
.settings { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; align-items: start; }
.settings-nav { position: sticky; top: 84px; display: grid; gap: 2px; }
.settings-nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.settings-nav a:hover { background: var(--surface); color: var(--ink); }
.settings-body { display: grid; gap: 20px; max-width: 640px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; scroll-margin-top: 84px; }
.card h2 { margin-bottom: 12px; }
.settings-form { display: grid; gap: 20px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.photo-actions { display: grid; gap: 8px; min-width: 0; }
.photo-actions .row-form { margin: 0; align-items: center; }
.savebar { padding: 4px 0 8px; }
.card .history li { grid-template-columns: 1fr auto auto; }
@media (max-width: 820px) {
  .settings { grid-template-columns: 1fr; gap: 16px; }
  .settings-nav { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
  .settings-nav::-webkit-scrollbar { display: none; }
  .settings-nav a { flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
  .pair { grid-template-columns: 1fr; }
}

/* ---- sign-in code */
.code-input { font: 700 1.8rem var(--display); letter-spacing: .3em; text-align: center; }

.vdesc, .note, .obody p, .facts dd, .vmeta, .otitle { overflow-wrap: anywhere; }

/* =====================================================================
   Compact menu: a photo (optional), the name with its price right under it, and the button at the edge
   ===================================================================== */
.cat > summary { padding: 12px 4px; }
.cat > summary h2 { font-size: 1.15rem; margin: 0; }
.items { padding: 0; border-radius: 0 0 12px 12px; overflow: hidden; margin-bottom: 8px; }
.irow, .multi > summary.irow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 0; }
.iinfo { flex: 1; min-width: 0; display: grid; gap: 1px; }
.iname { font-size: 1rem; line-height: 1.3; }
.idesc { font-size: .85rem; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.iinfo .iprice { font-size: .95rem; font-weight: 600; margin-top: 1px; }
.item .thumb { width: 56px; height: 56px; border-radius: 10px; }
.ctl { min-width: 0; }
.add { padding: 6px 16px; font-size: .9rem; }
.stepper { gap: 8px; }
.stepper button, .qty button { width: 30px; height: 30px; }
.multi .chev::after { content: ""; display: block; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin: -3px 2px 0; transition: transform .15s; }
.multi[open] .chev::after { transform: rotate(-135deg); margin-top: 3px; }
.sizes-list { padding: 0 14px 6px; background: #F7F8F6; border-top: 1px solid var(--line); }
.size { display: flex; align-items: center; gap: 12px; padding: 6px 0; min-height: 44px; border-top: 1px solid var(--line); }
.size:first-child { border-top: 0; }
.size .slabel { flex: 1; min-width: 0; }
.size .iprice { font-weight: 600; }
.item.soldout .irow { opacity: .55; }

/* legal pages, consent checkbox */
.prose{max-width:46rem}.prose h2{margin-top:1.6rem;font-size:1.1rem}.prose ul{padding-left:1.2rem}
label.check{display:flex;gap:.6rem;align-items:flex-start;font-weight:400}
label.check input{width:auto;margin-top:.25rem;flex:none}
.langs{margin-left:.8rem;white-space:nowrap}

/* loyalty rewards */
.notice.ok { border-left-color: #2e7d4f; }
.bonus-tag { margin-left: 6px; font-size: .9em; }
.cart-reward { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; color: #2e7d4f; }
.lines li.reward { color: #2e7d4f; }
.loyalty-items { border: 0; padding: 0; margin: 0; }
.loyalty-items legend { font-weight: 600; margin-bottom: 4px; }
.loyalty-items label.check { display: inline-flex; margin: 0 16px 6px 0; }
.stamp-dots { letter-spacing: 2px; }

/* ---- waitlist */
.wl-count strong { font: 700 2rem var(--display); margin-right: 6px; }
label.check.consent { align-items: flex-start; font-weight: 400; }
label.check.consent input { margin-top: 5px; flex: none; }
.history li.pairrow { grid-template-columns: minmax(0, 1fr) auto; overflow-wrap: anywhere; }
