/* Kroje serwowane z własnego serwera — Google Fonts było jedynym zewnętrznym
   zasobem blokującym render i dodatkowym połączeniem TCP na starcie. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('BricolageGrotesque-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('BricolageGrotesque-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('BricolageGrotesque-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('BricolageGrotesque-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('PublicSans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('PublicSans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('PublicSans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('PublicSans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('PublicSans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('PublicSans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* generatorposilkow.pl — motyw „Automat z posiłkami"
   Struktura celowo inna niż w serwisach siostrzanych:
   panel klawiszowy zamiast sticky pill-nav, keycapy zamiast pigułek,
   okienka automatu zamiast kart z ikoną, taca odbiorcza zamiast 3-kolumnowej stopki. */

:root {
  --paper: #f4f1e8;
  --panel: #ffffff;
  --panel-2: #eae6da;
  --ink: #1d1a24;
  --ink-soft: #55505f;
  --plum: #4a2f6b;
  --plum-dark: #33204a;
  --lime: #c3f04a;
  --lime-ink: #2c3a06;
  --orange: #ef7d3c;
  --chrome: #c9c6bd;
  --line: #d8d3c6;
  --edge: #b9b4a6;
  --lcd-bg: #221f2c;
  --lcd-on: #c3f04a;
  --shadow: 0 2px 0 var(--edge);
  --radius: 6px;
  --nav-w: 232px;
  --maxw: 1120px;
  --font-h: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-b: "Public Sans", -apple-system, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --paper: #171420;
  --panel: #211d2c;
  --panel-2: #2a2537;
  --ink: #efeae2;
  --ink-soft: #a9a2b8;
  --plum: #a888e0;
  --plum-dark: #8f6cd0;
  --lime: #d7ff6b;
  --lime-ink: #1a2205;
  --orange: #ff9a5c;
  --chrome: #4a4459;
  --line: #332d43;
  --edge: #0f0d16;
  --lcd-bg: #100e17;
  --lcd-on: #d7ff6b;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171420;
    --panel: #211d2c;
    --panel-2: #2a2537;
    --ink: #efeae2;
    --ink-soft: #a9a2b8;
    --plum: #a888e0;
    --plum-dark: #8f6cd0;
    --lime: #d7ff6b;
    --lime-ink: #1a2205;
    --orange: #ff9a5c;
    --chrome: #4a4459;
    --line: #332d43;
    --edge: #0f0d16;
    --lcd-bg: #100e17;
    --lcd-on: #d7ff6b;
  }
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-top: 2.2rem; }
h3 { font-size: 1.18rem; margin-top: 1.6rem; }
p { margin: 0 0 1rem; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
/* height:auto jest konieczne — obrazki mają atrybuty width/height (rezerwacja miejsca,
   zapobiega skokom układu), bez tego skalowanie szerokości deformowałoby proporcje */
img, svg { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.2rem; }
li { margin-bottom: .35rem; }
small { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- PANEL KLAWISZOWY (nawigacja) ---------- */
.keypad {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--nav-w);
  background: var(--panel);
  border-right: 2px solid var(--line);
  padding: 18px 14px 20px;
  overflow-y: auto;
  z-index: 40;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-bottom: 6px; }
.brand-mark { flex: 0 0 38px; }
.brand-name { font-family: var(--font-h); font-weight: 800; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.02em; }
.brand-name span { display: block; font-family: var(--font-b); font-weight: 400; font-size: .68rem; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }

.keypad-lcd {
  background: var(--lcd-bg);
  color: var(--lcd-on);
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .68rem;
  letter-spacing: .14em;
  padding: 7px 9px;
  border-radius: 4px;
  margin: 12px 0 14px;
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--edge);
}

.keypad-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.keypad-list li { margin: 0; }

.key {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 0 3px 0 var(--edge);
  padding: 9px 10px;
  font-family: var(--font-b);
  font-size: .89rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: transform .06s linear, box-shadow .06s linear, background .15s;
}
.key:hover { background: var(--panel); color: var(--ink); }
.key:active { transform: translateY(3px); box-shadow: 0 0 0 var(--edge); }
.key .code {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .68rem;
  background: var(--lcd-bg);
  color: var(--lcd-on);
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: .04em;
}
.key[aria-current="page"] { background: var(--plum); color: #fff; border-color: var(--plum-dark); }
.key[aria-current="page"] .code { background: rgba(0,0,0,.32); color: var(--lime); }

.keypad-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--ink-soft); }

.theme-key {
  margin-top: 12px;
  width: 100%;
  cursor: pointer;
  justify-content: center;
  background: var(--panel-2);
}

/* pasek mobilny */
.display-bar { display: none; }

@media (max-width: 1023px) {
  .keypad {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 2px solid var(--line);
    padding: 10px 14px 12px;
    overflow: visible;
  }
  .keypad-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .keypad-lcd { margin: 0; flex: 1; max-width: 200px; }
  .keypad-list {
    grid-template-columns: repeat(2, 1fr);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .22s ease, opacity .18s ease, margin .22s ease;
    margin-top: 0;
  }
  .keypad[data-open="true"] .keypad-list { max-height: 520px; opacity: 1; margin-top: 12px; }
  .keypad-foot { display: none; }
  .theme-key { width: auto; margin-top: 0; padding: 8px 10px; }
  .keypad-toggle { display: inline-flex; }
}

@media (min-width: 1024px) {
  .keypad-toggle { display: none; }
  .site { margin-left: var(--nav-w); }
}

/* ---------- UKŁAD ---------- */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
main { flex: 1 0 auto; padding: 28px 0 60px; }
.narrow { max-width: 760px; }

.crumbs { font-size: .8rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }

/* ---------- PRZYCISKI (keycap) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: .01em;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--edge);
  transition: transform .06s linear, box-shadow .06s linear, filter .15s;
}
.btn:hover { filter: brightness(1.04); color: var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--edge); }
.btn-primary { background: var(--plum); color: #fff; border-color: var(--plum-dark); box-shadow: 0 3px 0 var(--plum-dark); }
.btn-primary:hover { color: #fff; }
.btn-primary:active { box-shadow: 0 0 0 var(--plum-dark); }
.btn-lime { background: var(--lime); color: var(--lime-ink); border-color: #94b834; box-shadow: 0 3px 0 #94b834; }
.btn-lime:hover { color: var(--lime-ink); }
.btn-lime:active { box-shadow: 0 0 0 #94b834; }
.btn-big { font-size: 1.12rem; padding: 15px 30px; }
.btn-sm { font-size: .82rem; padding: 8px 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* ---------- BANER POWITALNY ---------- */
/* Grafika ma tekst wtopiony w obraz, więc na wąskich ekranach pokazujemy tylko
   jej prawą część ze zdjęciem — napisy byłyby tam i tak nieczytelne. */
.hero-banner {
  display: block;
  /* Grafika ma proporcję 3:2 — na pełnej szerokości zajmowałaby ~680 px wysokości
     i spychała panel generatora poniżej pierwszego ekranu. */
  max-width: 780px;
  margin: 18px auto 6px;
  border: 2px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--edge);
  overflow: hidden;
  background: #fff;
  line-height: 0;
}
.hero-banner img { width: 100%; height: auto; display: block; }
a.hero-banner:hover { border-color: var(--plum); }

@media (max-width: 700px) {
  .hero-banner { height: 190px; }
  .hero-banner img { height: 100%; object-fit: cover; object-position: 76% center; }
}

/* ---------- HERO / BĘBNY ---------- */
.hero { padding: 26px 0 6px; }
.hero p.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  display: inline-block;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--lcd-bg);
  color: var(--lcd-on);
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.machine {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 0 var(--edge);
  margin: 20px 0;
}
.machine-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.machine-title { font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; margin: 0; }

.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .reels { grid-template-columns: 1fr; } }

.reel {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 14px 12px 12px;
  min-height: 132px;
  overflow: hidden;
}
.reel::before {
  content: "";
  position: absolute;
  top: 6px; left: 12px; right: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--chrome);
}
.reel-label {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 6px 0 6px;
}
.reel-name { font-family: var(--font-h); font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.reel-meta { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.reel-inner { transition: transform .18s ease; }
.reel.spin .reel-inner { animation: gp-spin .42s linear; }
@keyframes gp-spin {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(-26px); opacity: .15; }
  55% { transform: translateY(26px); opacity: .15; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reel.spin .reel-inner { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- WYŚWIETLACZ LCD ---------- */
.lcd {
  background: var(--lcd-bg);
  color: var(--lcd-on);
  font-family: ui-monospace, "Consolas", monospace;
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  border: 1px solid var(--edge);
}
.lcd-item { display: flex; flex-direction: column; }
.lcd-num { font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; }
.lcd-cap { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.lcd .warn { color: var(--orange); }

/* ---------- FORMULARZ / STEROWANIE ---------- */
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-b);
  font-size: .95rem;
  padding: 10px 11px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 6px 10px; font-size: .84rem; background: var(--panel-2); cursor: pointer;
}
.check input { accent-color: var(--plum); }

/* ---------- OKIENKA AUTOMATU (karty) ---------- */
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.slot {
  position: relative;
  display: block;
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 26px 15px 15px;
  box-shadow: 0 3px 0 var(--edge);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.slot::before {
  content: "";
  position: absolute;
  top: 11px; left: 15px; right: 15px;
  height: 4px;
  border-radius: 2px;
  background: var(--chrome);
}
.slot::after {
  content: "";
  position: absolute;
  inset: 0 55% 0 0;
  background: linear-gradient(105deg, rgba(255,255,255,.16), rgba(255,255,255,0));
  pointer-events: none;
}
:root[data-theme="dark"] .slot::after { background: linear-gradient(105deg, rgba(255,255,255,.05), rgba(255,255,255,0)); }
a.slot:hover { border-color: var(--plum); color: var(--ink); }
.slot h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.slot p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.slot .tag-kcal {
  position: absolute;
  top: 22px; right: 12px;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .7rem;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

/* ---------- ZDJĘCIA DAŃ ---------- */
.dish-photo { margin: 18px 0; }
.dish-photo img {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--edge);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.dish-photo figcaption {
  font-size: .76rem;
  color: var(--ink-soft);
  margin-top: 7px;
  line-height: 1.45;
}
.dish-photo figcaption a { color: var(--ink-soft); }

/* kafelek z miniaturą — zdjęcie wchodzi pod szczelinę automatu */
.slot-foto { padding-top: 18px; }
.slot-img {
  width: calc(100% + 30px);
  margin: 0 -15px 12px;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--edge);
}

/* ---------- TABELE ---------- */
.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 460px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); font-family: var(--font-h); font-size: .84rem; letter-spacing: .03em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: ui-monospace, "Consolas", monospace; }

/* ---------- BOKSY ---------- */
.note {
  border: 1px dashed var(--edge);
  border-left: 4px solid var(--orange);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-size: .9rem;
  margin: 18px 0;
}
.note strong { font-family: var(--font-h); }
.note-lime { border-left-color: var(--lime); }
.note-plum { border-left-color: var(--plum); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 16px 0; }
.faq details { border-bottom: 1px solid var(--line); background: var(--panel); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  padding: 13px 15px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 15px 14px; font-size: .93rem; color: var(--ink-soft); }

/* ---------- LISTA ZAKUPÓW ---------- */
.shop-cat { margin-top: 18px; }
.shop-cat h3 { margin: 0 0 8px; font-size: 1rem; }
.shop-list { list-style: none; padding: 0; margin: 0; }
.shop-list li {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 6px; background: var(--panel); font-size: .92rem;
}
.shop-list input { accent-color: var(--plum); flex: 0 0 auto; }
.shop-list li.done { opacity: .5; text-decoration: line-through; }

/* ---------- PLAN DNIA ---------- */
.day { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); margin-bottom: 14px; overflow: hidden; }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; padding: 11px 14px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.day-head h3 { margin: 0; font-size: 1.02rem; }
.day-sum { font-family: ui-monospace, "Consolas", monospace; font-size: .8rem; color: var(--ink-soft); }
.meal { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; padding: 10px 14px; border-bottom: 1px dashed var(--line); }
.meal:last-child { border-bottom: 0; }
.meal-slot { font-family: ui-monospace, "Consolas", monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); flex: 0 0 100%; }
.meal-name { font-weight: 600; }
.meal-kcal { font-family: ui-monospace, "Consolas", monospace; font-size: .84rem; color: var(--ink-soft); }

/* ---------- STOPKA: TACA ODBIORCZA ---------- */
.tray {
  flex: 0 0 auto;
  background: var(--lcd-bg);
  color: #ded9ef;
  padding: 30px 0 22px;
  position: relative;
  margin-top: 40px;
}
.tray::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  width: min(320px, 70%); height: 26px;
  background: var(--lcd-bg);
  border-radius: 0 0 100px 100px;
}
.tray a { color: var(--lime); }
.tray-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.tray-chips a {
  font-size: .82rem;
  text-decoration: none;
  border: 1px solid #3d3852;
  border-radius: 100px;
  padding: 5px 13px;
  color: #ded9ef;
}
.tray-chips a:hover { border-color: var(--lime); color: var(--lime); }
.tray-meta { text-align: center; font-size: .8rem; color: #9c95b3; max-width: 640px; margin: 0 auto; }
.tray-lcd {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .7rem; letter-spacing: .14em;
  border: 1px solid #3d3852; border-radius: 4px;
  padding: 5px 10px; margin-top: 14px; color: var(--lime);
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--lcd-bg); color: var(--lime);
  font-family: ui-monospace, "Consolas", monospace; font-size: .84rem;
  padding: 11px 18px; border-radius: 6px; border: 1px solid var(--edge);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ARTYKUŁ ---------- */
.article-body { max-width: 74ch; }
.article-body h2 { margin-top: 2rem; }
.byline { font-size: .84rem; color: var(--ink-soft); margin-bottom: 18px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin: 18px 0; font-size: .92rem; }
.toc strong { font-family: var(--font-h); display: block; margin-bottom: 6px; }

/* ---------- SZUKAJKA ---------- */
.search-box { display: flex; gap: 8px; margin: 16px 0; }
.search-box input { flex: 1; }
.search-hit { border-bottom: 1px solid var(--line); padding: 12px 0; }
.search-hit:last-child { border-bottom: 0; }
.search-hit h3 { margin: 0 0 4px; font-size: 1.02rem; }
.search-hit p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- DRUK ---------- */
@media print {
  .keypad, .tray, .btn-row, .no-print, .toast { display: none !important; }
  .site { margin-left: 0; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .shop-list li, .day { break-inside: avoid; border-color: #999; }
  a[href]::after { content: ""; }
}

/* ---------- GEO: blok "W skrócie" (dodane 2026-08-01) ---------------------
   Odpowiedź podana wprost, na samej górze strony — to ten fragment cytują
   wyszukiwarki generatywne. Styl korzysta ze zmiennych motywu tej witryny,
   więc działa w wersji jasnej i ciemnej bez osobnych reguł.                */
.geo-tldr {
  margin: 26px 0 30px;
  padding: 20px 24px;
  background: var(--panel, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-left: 5px solid var(--plum, #2563eb);
  border-radius: 12px;
}
.geo-tldr-head {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum, #2563eb);
}
.geo-tldr-answer {
  margin: 0 0 12px;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink, #111827);
}
.geo-tldr-list { margin: 0; padding-left: 20px; }
.geo-tldr-list li {
  margin: 5px 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft, #4b5563);
}
@media (max-width: 640px) {
  .geo-tldr { padding: 16px 18px; }
  .geo-tldr-answer { font-size: 1rem; }
}

/* ---------- stopka redakcyjna (E-E-A-T) ---------- */
.ac-about {
  margin: 34px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--plum);
  background: var(--panel);
  border-radius: var(--radius);
  font-size: .93rem;
}
.ac-about h2 { font-family: var(--font-h); font-size: 1.05rem; margin: 0 0 10px; }
.ac-about p { margin: 0 0 10px; color: var(--ink-soft); }
.ac-about .ac-about-h { font-weight: 600; color: var(--ink); margin-top: 14px; }
.ac-about ul { margin: 6px 0 0; padding-left: 20px; }
.ac-about li { margin: 4px 0; }
