/* Fonts kept on the tablet so they work offline (SIL OFL 1.1, see fonts/). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("fonts/montserrat-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("fonts/poppins-600-latin.woff2") format("woff2"); }

/*
 * Kitout's own look, for the product build (till.wekitout.com and the Play app):
 * near-black and clay, from Business/brand (18/11/2026). Same rules as the
 * pilot's web/brand.css, only the colours differ. `--pink` keeps its name so
 * the shared rules below work unchanged; here it is clay.
 */
:root {
  --bg: #fbf9f9;
  --panel: #ffffff;
  --tile: #ffffff;
  --ink: #171717;
  --muted: #6b645f;
  --line: #ece8e4;
  --brand: #171717;
  --pink: #9c4b28;          /* clay fills with white text: 6.3:1 */
  --accent: #9c4b28;        /* clay as text on white */
  --on: #fbede6;
}
html[data-theme="dark"] {
  --bg: #171412;
  --panel: #201c1a;
  --tile: #2b2725;
  --field: #2b2725;
  --ink: #f3efec;
  --muted: #aaa29c;
  --line: #3a3431;
  --brand: #0f0d0c;
  --accent: #f0a98a;        /* light clay as text on near-black */
  --on: #3b2419;
  --quiet: #3a3431;
  --paper: #2b2725;
}

/* the shop's logo, or its name, on the dark bar */
.bar .logo { height: 40px; width: auto; display: block; }
.bar { background: var(--brand); }
.bar nav button.on { background: var(--pink); border-color: var(--pink); color: #fff; }
#clerk::before { background: var(--pink); }

/* clay is the "go" colour */
.big.add, .primary, .chip.on { background: var(--pink); border-color: var(--pink); color: #fff; }
button.on, .opts button.on { border-color: var(--pink); }
.opts button.on::after { color: var(--accent); }
button:focus-visible, input:focus-visible, select:focus-visible { outline-color: var(--pink); }

/* tiles: the menu photo on top, name and price under it */
.grid { grid-auto-rows: minmax(176px, auto); }
.tile { padding: 0; overflow: hidden; display: grid; grid-template-rows: 100px 1fr; gap: 0; justify-content: stretch; border-top-width: 4px; }
.tile .ph { position: relative; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, var(--tile)); }
.tile .ph b { position: absolute; inset: 0; background: center 65% / cover no-repeat; }
.tile .ph em { font-style: normal; font-size: 2.2rem; font-weight: 800; color: color-mix(in srgb, var(--c) 70%, var(--ink)); opacity: .55; }
.tile .txt { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 10px 12px 12px; }
.tile .txt span { padding-right: 0; }
.tile:disabled .ph { filter: grayscale(1); opacity: .5; }
.tile .count { top: 8px; right: 8px; z-index: 1; }

/* the owner's "today" card: near-black with a clay glow */
.hero { background: radial-gradient(circle at 100% 0, rgba(207, 106, 60, .5), transparent 60%), #171412; }
.hero small { color: #cfcfd5; }
.bar-col i, .best li > i, .bar-cell i { background: var(--pink); }
.bar-col.on i, .bar-col:hover i { background: var(--brand); }
button.net, button.net.on { background: transparent; border-color: #3a3a40; }

/* Poppins for text, Montserrat for names, figures and buttons */
:root { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, .big, .tile .txt > span, .tile small, .cats button > span, .bar nav button, .clock, .head b, .sum b,
.hero b, .stat b, .menu-head h2, .handed b, .change b, .keys button, .cash .quick button, .chip, .primary {
  font-family: "Montserrat", system-ui, sans-serif;
}
.tile .txt > span { font-weight: 800; letter-spacing: -.005em; }
.hero-main b { font-weight: 900; }
