/* Jane's Kitchen - colors and fonts taken from the flyer */
:root {
  --bg: #141414;
  --bg-2: #1b1b1b;
  --surface: #202020;
  --surface-2: #2a2a2a;
  --ink: #f7f3ec;
  --muted: #a9a39b;
  --line: #343434;
  --brand: #f6b44b;          /* gold from "Tastes like home" */
  --brand-ink: #1a1306;
  --brand-soft: rgba(246, 180, 75, .14);
  --leaf: #6cbf3c;           /* green leaves */
  --ok: #7fd15a;
  --ok-soft: rgba(127, 209, 90, .14);
  --warn: #ff9f43;
  --warn-soft: rgba(255, 159, 67, .15);
  --bad: #ff6b6b;
  --bad-soft: rgba(255, 107, 107, .14);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0 0 .35em; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.script { font-family: var(--script); color: var(--brand); }

/* buttons & inputs */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  background: var(--brand); color: var(--brand-ink);
  font: inherit; font-weight: 700;
  padding: .7em 1.3em; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 46px;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.btn.subtle { background: var(--brand-soft); color: var(--brand); }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: .35em .95em; font-size: .875rem; }

label { display: block; font-weight: 700; font-size: .88rem; margin: 0 0 .35em; }
input, select, textarea {
  width: 100%; font: inherit; color: inherit;
  padding: .7em .85em; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface-2);
}
input::placeholder, textarea::placeholder { color: #7d776f; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); }
input[type=date], input[type=time] { color-scheme: dark; }
select option { background: var(--surface-2); }
textarea { min-height: 84px; resize: vertical; }
.field { margin-bottom: 14px; }
.row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
input, select, textarea { min-width: 0; max-width: 100%; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

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

.pill {
  display: inline-block; font-size: .76rem; font-weight: 700;
  padding: .25em .7em; border-radius: 999px; letter-spacing: .02em; white-space: nowrap;
}
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }

.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; }
.alert.bad { background: var(--bad-soft); color: var(--bad); }
.alert.ok { background: var(--ok-soft); color: var(--ok); }

/* order lines */
.line { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: .95rem; }
.line.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 1.1rem; }

/* segmented choice (pickup / delivery, card / zelle) */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  margin: 0; cursor: pointer; text-align: center; font-weight: 700;
  border: 1.5px solid var(--line); border-radius: 12px; padding: .7em .5em;
  background: var(--surface-2);
}
.choice label span { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.choice input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
