/* Domáce recepty – vzhľad „Domáca kuchyňa“, farby „Paprika“ (od 16. 10. 2026, nahrádza „Čistú kuchárku“)
   Biele plátno, takmer čierne nadpisy pätkovým písmom (Domace Serif = upravený Source Serif 4, 27 kB), text systémovým
   písmom zariadenia, jedna sýta paprikovo-červená na tlačidlá a akcenty, neutrálne sivobéžové plochy a čierna päta.
   Suroviny receptu sú v samostatnom bloku, na počítači ostávajú vedľa postupu. Farby sa menia iba v bloku :root. */

@font-face { font-family: "Domace Serif"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/domace-serif.woff2) format("woff2"); }

:root {
  /* farby: mení sa iba tento blok (pomenované podľa úlohy, nie podľa odtieňa) */
  --bg: #fff;
  --ink: #1a1a1a;
  --heading: #141414;
  --ui: #1f1f1f;
  --dark: #141414;
  --dark-2: #000;
  --dark-rgb: 20, 20, 20;
  --accent: #c8352a;
  --accent-2: #a92a20;
  --accent-rgb: 200, 53, 42;
  --accent-soft: #fdebe7;
  --accent-soft-2: #fbd9d2;
  --label: var(--accent);
  --icon: var(--accent);
  --step-bg: var(--accent);
  --step-fg: #fff;
  --topbar: var(--accent);
  --text-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e8e6e3;
  --line-2: #d9d6d1;
  --line-soft: #f0eeeb;
  --check: #8b8781;
  --surface: #f6f5f3;
  --surface-2: #ecebe8;
  --ing-bg: var(--surface);
  --footer: #141414;
  --cta: var(--accent);
  --serif: "Domace Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(27, 31, 39, .05);
  --sh-2: 0 1px 2px rgba(27, 31, 39, .04), 0 12px 28px -12px rgba(27, 31, 39, .2);
  --sh-3: 0 2px 6px rgba(27, 31, 39, .05), 0 24px 48px -20px rgba(27, 31, 39, .32);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .4); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--heading); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.05rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 808px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--label); margin: 0 0 10px; }
a.eyebrow { display: inline-block; text-decoration: none; }
a.eyebrow:hover { text-decoration: underline; }
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- hlavička */
.top { position: relative; z-index: 5; background: #fff; border-top: 4px solid var(--topbar); box-shadow: 0 1px 0 var(--line), 0 6px 18px -14px rgba(27, 31, 39, .25); }
/* nad 1 180 px jeden riadok bez zalomenia: zúži sa iba vyhľadávanie (aj s posuvníkom vo Windows a kým sa načíta písmo) */
.top-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px 32px; padding-top: 14px; padding-bottom: 12px; }
.logo { flex: none; display: block; }
.logo img { width: 172px; height: auto; }
.search { flex: 1 1 240px; min-width: 0; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 20px; transition: border-color .15s, background .15s, box-shadow .15s; }
.search:focus-within { background: #fff; border-color: var(--dark); box-shadow: 0 0 0 4px rgba(var(--dark-rgb), .08); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: 8px 0; outline: none; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.search button:hover { background: var(--accent-2); }
.search button svg { width: 18px; height: 18px; }
.nav { display: flex; flex: none; flex-wrap: wrap; gap: 4px 28px; margin-left: auto; }
.nav a { color: var(--ui); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ui); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
/* obľúbené v hlavičke: srdiečko s počtom uložených receptov (doplní kuchyna.js); text iba pre čítačky, menu má užšie medzery,
   aby sa riadok hlavičky nezalomil skôr ako bez srdiečka */
.nav { column-gap: 17px; }
.fav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin-left: -18px; color: var(--ui); text-decoration: none; }
.fav-link svg { width: 22px; height: 22px; color: var(--accent); }
.fav-link:hover path, .fav-link[aria-current] path { fill: currentColor; }
.fav-n { position: absolute; top: 1px; left: 21px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; border: 2px solid #fff; font-size: .68rem; font-weight: 700; line-height: 15px; text-align: center; box-sizing: border-box; }
.fav-n:empty { display: none; }
.fav-lt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; align-items: center; gap: 6px 26px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.catnav a { flex: none; color: var(--text-2); text-decoration: none; font-size: .93rem; font-weight: 600; white-space: nowrap; padding: 3px 0; }
.catnav a:hover, .catnav a[aria-current] { color: var(--accent); }
.catnav a.all { margin-left: auto; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 13px; }
.catnav a.all:hover { background: var(--accent-soft-2); }

@media (max-width: 1180px) {  /* 6 položiek menu sa vedľa vyhľadávania nezmestí – menu za tlačidlom, vyhľadávanie na celú šírku */
  .top-row { flex-wrap: wrap; }
  .menu-btn { display: grid; order: 2; margin-left: 0; }
  .fav-link { order: 1; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
  .fav-link svg { width: 21px; height: 21px; }
  .fav-n { top: 3px; left: 23px; }
  .top-row .search { order: 3; flex-basis: 100%; max-width: none; padding-left: 16px; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; gap: 0; margin: 0; }
  .top.open .nav { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .top-row { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .logo img { width: 140px; }
  .catnav a.all { margin-left: 0; }
}
/* jazykové verzie /en/ a /de/ (docs/preklady.md): prepínač SK · EN · DE v hlavičke (bez vyhľadávania), odkaz na slovenský originál
   a ponuka prekladu (sablona/jazyk.js) – pevná karta vpravo hore, nič neposúva (CLS) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.nav .lang-switch a, .lang-switch span { font-size: .8rem; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border: 0; border-radius: 999px; }
.nav .lang-switch a { color: var(--muted); }
.nav .lang-switch a:hover { color: var(--accent); background: var(--accent-soft); }
.lang-switch [aria-current] { color: #fff; background: var(--ui); }
@media (max-width: 1180px) {
  .jv-top .menu-btn { margin-left: auto; }
  .nav .lang-switch { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav .lang-switch a { padding: 6px 10px; border-bottom: 0; }
}
.orig-note { margin: 22px 0 0; font-size: .92rem; color: var(--muted); }
.hero-text > p.jv-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 0; }
.jazyk-ponuka { position: fixed; z-index: 31; top: 96px; right: 12px; max-width: 360px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 44px 14px 18px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: 0 18px 44px -16px rgba(var(--dark-rgb), .42); font-size: .94rem; line-height: 1.45; }
.jazyk-ponuka p { margin: 0; flex: 1 1 100%; }
.jazyk-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.jazyk-x:hover { background: var(--surface); color: var(--ink); }
@media (max-width: 860px) { .jazyk-ponuka { top: 80px; } }   /* pod riadkom hlavičky – nezakryje menu */
@media (max-width: 600px) { .jazyk-ponuka { left: 8px; right: 8px; max-width: none; } }
@media print { .jazyk-ponuka { display: none; } }

/* ---------- prvky */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px solid var(--line-2); background: #fff; color: var(--ui); font: inherit; font-size: .98rem; font-weight: 600; padding: 10px 22px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:hover { border-color: var(--ui); color: var(--ui); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(var(--accent-rgb), .65); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; transform: translateY(-1px); }
.btn.dark { background: var(--dark); border-color: var(--dark); color: #fff; font-weight: 700; }
.btn.dark:hover { background: var(--dark-2); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--ui); font-weight: 700; }
.btn.light:hover { background: var(--surface); border-color: var(--surface); color: var(--ui); }
.btn.small { min-height: 40px; padding: 7px 16px; font-size: .9rem; }
.btn svg { width: 17px; height: 17px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ui); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; font-size: .93rem; line-height: 1.4; transition: border-color .15s, color .15s, background .15s; }
.chip:hover, .chip[aria-current] { border-color: var(--accent); color: var(--accent); }
.chip small { color: var(--muted); }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; font-size: .96rem; }
.more::after { content: " →"; }
.more:hover { text-decoration: underline; }

/* ---------- sekcie */
.section { padding: 64px 0 4px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--text-2); }
.band { background: var(--surface); margin-top: 64px; padding: 56px 0 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .section { padding-top: 0; }

/* ---------- karty receptov */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; } }
.card { position: relative; min-width: 0; }
/* srdiečko obľúbených na karte (kuchyna.js ho pridá vedľa odkazu) */
.card-fav { position: absolute; top: 9px; right: 9px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--accent); box-shadow: 0 2px 10px rgba(var(--dark-rgb), .2); cursor: pointer; transition: transform .2s ease; }
.card-fav svg { width: 21px; height: 21px; }
.card:hover .card-fav { transform: translateY(-3px); }
.card-fav:hover { color: var(--accent-2); }
.card-fav[aria-pressed=true] path, .fav[aria-pressed=true] path { fill: currentColor; }
.card > a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--sh-1); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card > a:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--line-2); }
.card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card a:hover img { transform: scale(1.04); }
.card .body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.card .cat { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin-bottom: 5px; }
.card h3 { font-size: 1.2rem; line-height: 1.27; margin: 0 0 8px; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card a:hover h3 { color: var(--accent); }
.card .meta { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; min-width: 0; }
.card .meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .meta .ico { width: 15px; height: 15px; margin-right: 1px; color: var(--icon); }
.badge { position: absolute; left: 12px; bottom: 12px; background: rgba(var(--dark-rgb), .92); color: #fff; font-size: .84rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
@media (max-width: 760px) {
  .card > a { border-radius: var(--r-sm); }
  .card .body { padding: 10px 11px 12px; }
  .card .cat { font-size: .66rem; letter-spacing: .08em; margin-bottom: 3px; }
  .card h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .card .meta { font-size: .78rem; padding-top: 8px; }
  .card .meta .ico { display: none; }
  .card-fav { top: 6px; right: 6px; width: 36px; height: 36px; }
  .card-fav svg { width: 19px; height: 19px; }
  .badge { left: 8px; bottom: 8px; font-size: .76rem; padding: 3px 9px; }
}

/* ---------- úvod */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px 64px; padding-top: 56px; padding-bottom: 64px; }
.hero-text { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.04; margin-bottom: 18px; }
.hero-text > p { font-size: 1.16rem; color: var(--text-2); max-width: 34em; margin-bottom: 28px; }
.hero-text > p.eyebrow { font-size: .8rem; color: var(--label); margin-bottom: 14px; }
.big-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 580px; }
.big-search input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 1.05rem; padding: 15px 22px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); outline: none; box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s; }
.big-search input:focus { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(var(--dark-rgb), .08); }
.big-search button { flex: none; min-height: 54px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; padding: 0 30px; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(var(--accent-rgb), .65); transition: background .15s; }
.big-search button:hover { background: var(--accent-2); }
/* rýchly výber (nastavenia.json → uvod.rychly_vyber): pár riadkov textových odkazov, popis skupiny vľavo */
.pick { margin-top: 28px; max-width: 540px; }
.pick-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.pick-head h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pick-head a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.pick-head a::after { content: " →"; }
.pick-head a:hover { text-decoration: underline; }
.pick-group { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 0 12px; padding: 6px 0; }
.pick-group h3 { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin: 0; }
.pick-group p { margin: 0; font-size: 1.02rem; line-height: 1.75; }
.pick-group a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 3px 0; }
.pick-group a:hover { color: var(--accent); text-decoration: underline; }
.pick-group p span { color: #b3aea6; }
/* rozbalenie skupiny (app.js, data-qp): ťuknutie na názov skupiny, na počítači s myšou aj prejdenie myšou. Na mobile a tablete
   sa panel otvorí pod riadkom, na počítači vedľa výberu (cez fotku najčítanejšieho receptu), aby ostatné riadky ostali voľné. */
.pick { position: relative; z-index: 5; }
.qp-btn { display: inline-flex; align-items: center; gap: 3px; margin: -6px 0; padding: 6px 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left; cursor: pointer; }
.qp-btn svg { width: 13px; height: 13px; flex: none; transition: transform .18s ease; }
.qp-btn:hover, .pick-group.open .qp-btn { color: var(--accent-2); }
.pick-group.open .qp-btn svg { transform: rotate(180deg); }
.qp-panel { display: none; grid-column: 1 / -1; margin: 8px 0 6px; padding: 16px 16px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); }
.pick-group.open .qp-panel { display: block; }
.qp-h { display: none; }
.qp-subs { columns: 3 140px; column-gap: 24px; }
.qp-sub { break-inside: avoid; padding-bottom: 12px; }
.qp-sub h4 { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.qp-sub ul { list-style: none; margin: 0; padding: 0; }
.pick-group .qp-panel a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .95rem; line-height: 1.35; font-weight: 600; color: var(--ink); text-decoration: none; }
.pick-group .qp-panel a:hover { color: var(--accent); text-decoration: none; }
.qp-panel small { font-size: .78rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.pick-group .qp-panel .qp-all { display: block; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent); }
.qp-all::after { content: " →"; }
@media (min-width: 901px) {
  .pick-group[data-qp] .qp-panel { position: absolute; top: -14px; left: calc(100% + 16px); width: min(600px, calc(100vw - 100% - 96px)); min-height: calc(100% + 28px); margin: 0; padding: 20px 22px 14px; box-shadow: var(--sh-3); }
  .pick-group[data-qp] { margin: 0 -12px; padding: 6px 12px; border-radius: 12px; transition: background .15s; }
  .pick-group.open { background: #fff; }
  .qp-btn svg, .pick-group.open .qp-btn svg { transform: rotate(-90deg); }
  .qp-h { display: block; margin: 0 0 12px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; color: var(--heading); }
}
@media print { .qp-panel { display: none !important; } }
@media (max-width: 600px) {
  .pick-group { grid-template-columns: 78px minmax(0, 1fr); gap: 0 8px; padding: 5px 0; }
  .pick-group h3 { font-size: .68rem; letter-spacing: .06em; }
  .pick-group p { font-size: .98rem; }
}
@media (max-width: 420px) {  /* na telefóne 3 položky v riadku, nech sa riadok nezalamuje */
  .pick-group p a:nth-of-type(n+4), .pick-group p span:nth-of-type(n+3) { display: none; }
}
.feature { display: block; min-width: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--sh-3); transition: transform .2s ease; }
.feature:hover { transform: translateY(-3px); }
.feature .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature .label { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--ui); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: var(--sh-1); }
.feature h2 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); margin: 18px 24px 4px; }
.feature:hover h2 { color: var(--accent); }
.feature p { margin: 0 24px 22px; font-size: .94rem; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .hero .wrap { padding-top: 28px; padding-bottom: 34px; gap: 26px; }
  .hero-text > p { font-size: 1.04rem; margin-bottom: 20px; }
  .big-search button { flex: 1 1 100%; }
  .feature { border-radius: var(--r); }
  .feature h2 { margin: 14px 16px 2px; }
  .feature p { margin: 0 16px 16px; }
}

/* kategórie v kruhoch */
.circles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 26px 14px; text-align: center; }
@media (max-width: 900px) and (min-width: 601px) { .circles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.circles a { color: var(--ink); text-decoration: none; display: block; }
.circles img { width: min(116px, 100%); height: auto; aspect-ratio: 1; max-width: 116px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 4px solid #fff; box-shadow: var(--sh-2); transition: transform .25s ease, box-shadow .25s ease; }
.circles a:hover img { transform: translateY(-3px); box-shadow: var(--sh-3); }
.circles b { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--heading); }
.circles a:hover b { color: var(--accent); }
.circles small { display: block; font-size: .84rem; color: var(--muted); }
@media (max-width: 600px) {
  .circles { display: flex; overflow-x: auto; gap: 12px; margin: 0 -18px; padding: 4px 18px 10px; scrollbar-width: none; }
  .circles::-webkit-scrollbar { display: none; }
  .circles a { flex: none; width: 84px; }
  .circles img { width: 78px; height: 78px; margin-bottom: 6px; border-width: 3px; }
  .circles b { font-size: .84rem; }
  .circles small { display: none; }
}

.ing-box { background: var(--cta); color: #fff; border-radius: var(--r-lg); padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; box-shadow: var(--sh-2); }
.ing-box > div { flex: 1 1 420px; min-width: 0; }
.ing-box h2 { color: #fff; margin-bottom: 8px; }
.ing-box p { color: #fff; margin-bottom: 18px; }
.ing-box .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.ing-box .chip:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
@media (max-width: 600px) { .ing-box { padding: 26px 20px; border-radius: var(--r); } .ing-box .btn { width: 100%; } }

.about { padding-top: 72px; }
/* text o webe na úvode a text pod zoznamom zbierok rovnako ako úvod receptu (majiteľ 18. 10. „toto tiež zarovnaj ako ten úvod“,
   „aj toto a pozri aj ďalšie“): na celú šírku, nadpis na stred, odseky do bloku s delením slov a posledným riadkom na stred,
   položky zoznamu do bloku; na mobile vľavo bez delenia (v úzkom stĺpci by do bloku vznikali medzery) */
.about .prose, .coll-text .prose { color: var(--text-2); }
.about .prose h2, .coll-text .prose h2 { text-align: center; }
.about .prose p, .coll-text .prose p, .coll-text .prose li { text-align: justify; text-align-last: center; -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 7 3 3; text-wrap: pretty; }
.coll-text .prose li { text-align-last: auto; }
@media (max-width: 600px) {
  .about .prose h2, .about .prose p, .coll-text .prose h2, .coll-text .prose p, .coll-text .prose li {
    text-align: left; text-align-last: auto; -webkit-hyphens: manual; hyphens: manual; }
}

/* ---------- hlavička archívov a stránok */
.page-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head { padding-top: 28px; padding-bottom: 36px; }
.page-head h1 { margin-bottom: 10px; }
.page-head h1 small { font-size: .5em; color: var(--muted); font-family: var(--sans); font-weight: 400; }
/* úvod v hlavičke zoznamov na celú šírku a do bloku (majiteľ 18. 10. „pozri aj ďalšie“), posledný riadok vľavo ako nadpis; na mobile vľavo */
.page-head p { color: var(--text-2); margin: 0 0 .7em; text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; text-wrap: pretty; }
.page-head p:last-child { margin-bottom: 0; }
.page-head .chips { margin-top: 18px; }
.section.list { padding-top: 36px; }
@media (max-width: 600px) { .page-head { padding-top: 18px; padding-bottom: 26px; } .section.list { padding-top: 24px; }
  .page-head p { text-align: left; -webkit-hyphens: manual; hyphens: manual; } }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 48px 0 8px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ui); font-weight: 600; background: #fff; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager span[aria-current] { background: var(--dark); border-color: var(--dark); color: #fff; }
.pager .gap { border: 0; background: none; }

/* ---------- recept: hlavička */
.rhero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 24px 0 46px; }
/* tlačidlá Vytlačiť a Zdieľať pod fotkou v jednom riadku s ostatnými (majiteľ 18. 10.): fotka siaha po spodok bloku Recept v skratke
   (pri dlhšom nadpise je o niečo vyššia ako 4 : 3, orez object-fit), pri vyššej fotke je blok faktov dole pri tlačidlách */
.rhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "title photo" "facts photo" "actions tools"; grid-template-rows: auto 1fr auto; gap: 24px 52px; }
.rhead.nophoto { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "facts" "actions"; grid-template-rows: none; max-width: 820px; }
.rtitle { grid-area: title; min-width: 0; }
.rhead h1 { font-size: clamp(2rem, 3.7vw, 3.05rem); line-height: 1.07; margin-bottom: 14px; }
.lead { font-size: 1.16rem; line-height: 1.6; color: var(--text-2); margin-bottom: 12px; }
.metaline { font-size: .9rem; color: var(--muted); margin: 0; }
/* kuchyňa a vlastnosti receptu pod nadpisom ako odkazy na ich stránky (namiesto zrušeného bloku štítkov pod receptom) */
.tx-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.tx-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.rphoto { grid-area: photo; align-self: stretch; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--sh-3); }
.rphoto img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts-box { grid-area: facts; min-width: 0; align-self: end; }
/* mriežka 1–3 stĺpce podľa počtu údajov (generátor dáva c1/c2/c3, riadky sú vždy plné); deliace čiary kreslí tieň vpravo a dole,
   ktorý na okraji bloku oreže overflow */
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.facts.c1 { grid-template-columns: minmax(0, 1fr); }
.facts.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts > div { min-width: 0; padding: 13px 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.facts dt { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; line-height: 1.3; color: var(--muted); margin-bottom: 3px; }
.facts dt svg { width: 17px; height: 17px; flex: none; color: var(--icon); }
.facts dd { margin: 0; font-weight: 700; font-size: 1.04rem; color: var(--ink); line-height: 1.3; overflow-wrap: break-word; }
.actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; gap: 10px; }
.rnastroje { grid-area: tools; align-self: start; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }  /* k pravému okraju fotky (majiteľ vybral) */
.fav-t { display: inline-grid; }
.fav-t > span { grid-area: 1 / 1; }
.fav[aria-pressed=true] .fav-t > span:first-child, .fav[aria-pressed=false] .fav-t > span:last-child { visibility: hidden; }
.fav svg { color: var(--accent); }
.fav[aria-pressed=true] { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }

/* ---------- recept: úvod, suroviny, postup */
/* úvod receptu na celú šírku obsahu, do bloku a posledný riadok odseku na stred (majiteľ 17. 10. „chcem zarovnať na stred“,
   „nenechávaj také veľké okraje… na mobile to pekne zarovnaj“); delenie slov (slovenčinu vie Android aj Apple), iba dlhšie slová,
   nie po dvoch písmenách, bez osamoteného slova na konci; zoznam v úvode ostáva vľavo, na stred ide ako celok */
.rintro { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px 56px; margin-top: 42px; }
.intro { flex: 1 1 520px; min-width: 0; font-size: 1.1rem; line-height: 1.8; color: #2a2e38; text-align: justify; text-align-last: center;
         -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
.intro img { border-radius: var(--r-sm); margin: 16px auto; }
.intro p { text-wrap: pretty; }
.intro ul, .intro ol { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; text-align-last: auto; }
.rintro > .ad { flex: 0 0 300px; margin: 0; }
.rcard { margin-top: 46px; display: grid; grid-template-columns: minmax(300px, 410px) minmax(0, 1fr); gap: 40px 56px; }
.rcard.noing { grid-template-columns: minmax(0, 820px); }
.ingredients { min-width: 0; }
.ing-card { background: var(--ing-bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 20px; }
.ing-card.stick { position: sticky; top: 20px; }
.rcard-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.rcard h2 { margin: 0; font-size: clamp(1.8rem, 2.8vw, 2.25rem); }   /* „Suroviny“ a „Postup“ – majiteľ 17. 10.: väčšie */
.servings, .krc-pocet { display: inline-flex; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.servings button, .krc-pocet button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ui); font: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer; transition: background .15s; }
.servings button:hover, .krc-pocet button:hover { background: var(--surface-2); }
.servings output, .krc-pocet output { font-size: .92rem; font-weight: 700; padding: 0 8px; min-width: 5.5em; text-align: center; }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li + li { border-top: 1px dashed var(--line-2); }
.ingredients label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 8px; margin: 0 -8px; border-radius: 10px; cursor: pointer; font-size: 1rem; line-height: 1.45; transition: background .15s; }
.ingredients label:hover { background: rgba(255, 255, 255, .75); }
.ingredients input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--check); border-radius: 50%; background: #fff center / 13px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ingredients input:hover { border-color: var(--accent); }
.ingredients input:checked { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ingredients input:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .35); outline-offset: 2px; }
.ingredients input:checked + span { color: #959aa5; text-decoration: line-through; }
.ingredients .amt { font-weight: 700; color: var(--heading); }
/* názov suroviny vľavo, množstvo vpravo zarovnané pod sebou (majiteľ 17. 10.: oddeliť množstvá od názvov, najprv názov) */
.ingredients .ing { flex: 1 1 auto; display: flex; align-items: baseline; gap: .8em; min-width: 0; }
.ingredients .ing .nm { flex: 1 1 auto; min-width: 0; }
.ingredients .ing .amt { flex: 0 0 auto; white-space: nowrap; text-align: right; }  /* „2 lyžice“ nikdy na dva riadky – zalomí sa názov */
.ingredients input:checked + .ing .amt, .ingredients input:checked + .ing .nm { text-decoration: line-through; }
.ingredients .note { color: var(--muted); font-size: .92em; }
.ingredients h3 { font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin: 24px 0 6px; }   /* sekcie („Cesto“, „Krém“) väčšie, suroviny 16 px */
.ingredients .rcard-head + h3 { margin-top: 14px; }
.ingredients a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); }
.ingredients a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.ing-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ing-foot p { margin: 0; font-size: .84rem; color: var(--muted); }
.ing-empty { margin: 14px 0 6px; color: var(--text-2); }
.method { min-width: 0; }
.method h2 { margin-bottom: 4px; }
.method-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 4px; }
.method-head h2 { margin: 0; }
.cook-btn[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
/* časovač v texte postupu (kuchyna.js): ťuknutím sa spustí */
.tmr { display: inline; margin: 0; padding: 0 .3em; border: 0; border-radius: 6px; background: var(--accent-soft); color: var(--accent-2); font: inherit; font-weight: 600; line-height: inherit; cursor: pointer; white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tmr svg { display: inline-block; width: .9em; height: .9em; margin-right: .22em; vertical-align: -.08em; }
.tmr:hover { background: var(--accent-soft-2); }
.tmr.on { background: var(--accent); color: #fff; }
/* režim varenia: väčšie kroky postupu */
.cooking .steps .txt { font-size: 1.34rem; line-height: 1.7; max-width: none; }
.cooking .steps h3 { font-size: 1.45rem; }
.cooking .steps > li { padding-left: 72px; }
.cooking .step-toggle { width: 52px; height: 52px; font-size: 1.4rem; }
.step-hint { font-size: .86rem; color: var(--muted); margin: 0 0 24px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 24px 62px; margin-bottom: 24px; border-bottom: 1px solid var(--line); cursor: pointer; }
.steps > li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--step-bg); color: var(--step-fg); font: 600 1.2rem/1 var(--serif); display: grid; place-items: center; transition: background .15s, color .15s; }
.steps > li:hover::before { background: var(--accent-2); color: #fff; }
.steps > li.done::before { content: "✓"; background: var(--surface-2); color: var(--muted); font: 700 1rem/1 var(--sans); }
.steps > li.has-toggle::before { display: none; }
.step-toggle { position: absolute; left: 0; top: 0; width: 42px; height: 42px; border: 0; padding: 0; border-radius: 50%; background: var(--step-bg); color: var(--step-fg); font: 600 1.2rem/1 var(--serif); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.steps > li:hover .step-toggle { background: var(--accent-2); color: #fff; }
.steps > li .step-toggle[aria-pressed=true] { background: var(--surface-2); color: var(--muted); font: 700 1rem/1 var(--sans); }
.step-toggle:focus-visible { outline-color: var(--accent); }
.steps li.done .txt { opacity: .5; }
.steps h3 { font-size: 1.22rem; margin: 8px 0 6px; }
.steps .dur { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); margin: 6px 0 2px; }
.steps .txt { font-size: 1.08rem; line-height: 1.75; padding-top: 7px; max-width: 72ch; }
.steps h3 + .txt, .steps .dur + .txt { padding-top: 2px; }
.steps .txt p:last-child { margin-bottom: 0; }
.steps .imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 14px 0 0; }
.steps .imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
/* oddelené od postupu čiarou ako kroky medzi sebou (majiteľ 18. 10. „aby to bolo trochu oddelené od postupu“) */
.nutrition { margin-top: 24px; padding-top: 30px; border-top: 1px solid var(--line); }
.nutrition h2 { font-size: 1.5rem; margin-bottom: 14px; }
.nutrition dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.nutrition div { background: var(--surface); border-radius: var(--r-sm); padding: 11px 14px; }
.nutrition dt { font-size: .8rem; color: var(--muted); }
.nutrition dd { margin: 0; font-weight: 700; }
.nutrition .nutr-na { margin: -8px 0 12px; font-size: .9rem; color: var(--text-2); }
.nutrition .nutr-pozn { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.related { margin-top: 0; }
/* ďalšie podobné recepty pod kartami (textové odkazy) a zoznam receptov od A po Z */
.more-links { margin-top: 30px; }
.more-links h3 { font-size: 1.15rem; margin: 0 0 8px; }
.more-links ul, .az-list { list-style: none; margin: 0; padding: 0; }
.more-links ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.more-links li, .az-list li { border-bottom: 1px solid var(--line-soft); }
.more-links a, .az-list a { display: block; padding: 9px 0; color: var(--ui); text-decoration: none; line-height: 1.4; }
.more-links a:hover, .az-list a:hover { color: var(--accent); }
/* Ďalšie podobné recepty s malou fotkou, názvom a časom (majiteľ 23. 10. 2026) */
.more-links ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.more-links a { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.ml-foto { flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--surface-2); box-shadow: var(--sh-1); }
.ml-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ml-nazov { font-weight: 600; color: var(--heading); line-height: 1.35; }
.more-links a:hover .ml-nazov { color: var(--accent); }
.ml-meta { font-size: .88rem; color: var(--muted); }
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 6px; }
.az-nav a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ui); font-weight: 600; }
.az-nav a:hover { border-color: var(--accent); color: var(--accent); }
.az h2 { margin: 34px 0 6px; scroll-margin-top: 12px; }
.az-list { columns: 3 280px; column-gap: 32px; }
.az-list li { break-inside: avoid; }
/* tip z článku pod postupom receptu */
.tipbox { margin: 26px 0 0; padding: 14px 18px; background: var(--surface); border-radius: var(--r-sm); line-height: 1.5; }
.tipbox b { color: var(--accent); margin-right: 4px; }
@media print { .tipbox { display: none; } }
/* „Overené v našej kuchyni“ (pole overene v recepte): značka pod nadpisom, štítok na karte, blok s tipom a fotkami z varenia */
.ok-ico { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; }
.ok-ico svg { width: 14px; height: 14px; }
.ok-tag { margin: 0 0 14px; }
.ok-tag a { display: inline-flex; align-items: center; gap: 9px; padding: 5px 15px 5px 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; color: var(--heading); font-size: .94rem; font-weight: 700; line-height: 1.3; text-decoration: none; box-shadow: var(--sh-1); }
.ok-tag a:hover { border-color: var(--accent); color: var(--accent); }
.rphoto { position: relative; }
.rphoto .own { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--heading); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: var(--sh-1); }
/* „Uložiť“ na Pinterest na hlavnej fotke receptu (obyčajný odkaz); na počítači s myšou sa ukáže pri prejdení nad fotkou */
.pin-save { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px 8px 11px; border-radius: 999px; background: #e60023; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); transition: opacity .15s, background .15s; }
.pin-save:hover { background: #ad081b; color: #fff; }
.pin-save svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) { .pin-save { opacity: 0; } .rphoto:hover .pin-save, .pin-save:focus-visible { opacity: 1; } }
/* na telefóne je vidno stále – iba okrúhla značka, aby nezakrývala fotku (text „Uložiť na Pinterest“ ostáva pre čítačky obrazovky) */
@media (hover: none), (pointer: coarse), (max-width: 600px) {
  .pin-save { top: 10px; right: 10px; width: 36px; height: 36px; padding: 0; gap: 0; justify-content: center; }
  .pin-save::before { content: ""; position: absolute; inset: -4px; }
  .pin-save span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pin-save svg { width: 20px; height: 20px; }
}
@media print { .pin-save { display: none; } }
/* živé recepty (sablona/pohyb.js, zive-recepty/README.md): plátno WebGL nad hlavnou fotkou receptu a fotkou v banneri úvodu;
   prepínač pohybu telefónom – malé okrúhle tlačidlo vpravo dole na fotke (iba dotykové zariadenia, ukáže ho pohyb.js; vľavo dole býva
   „Fotka z našej kuchyne“, vpravo hore Pinterest); na úvode je nad fotkou mimo odkazu (.feature-box, .pohyb-nad) */
.pohyb-platno { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .4s; pointer-events: none; }
.pohyb-platno.ukaz { opacity: 1; }
.pohyb-zapni { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #3b3631; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, color .2s, transform .15s; }
.pohyb-zapni::before { content: ""; position: absolute; inset: -6px; }
.pohyb-zapni svg { width: 18px; height: 18px; }
.pohyb-zapni[aria-pressed="true"] { background: var(--accent); color: #fff; }
.pohyb-zapni:active { transform: scale(.92); }
.pohyb-zapni.zamietnute { color: #a39d95; }
.pohyb-zapni[hidden] { display: none; }
.rphoto .own ~ .pohyb-zapni { top: 12px; bottom: auto; left: 12px; right: auto; }
.feature-box { position: relative; min-width: 0; }
.pohyb-nad { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 3; pointer-events: none; }
.pohyb-nad .pohyb-zapni { pointer-events: auto; }
@media print { .pohyb-platno, .pohyb-zapni { display: none; } }
.overene { margin-top: 42px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ov-head { display: flex; align-items: flex-start; gap: 14px; }
.ov-head .ok-ico { width: 42px; height: 42px; margin-top: 1px; }
.ov-head .ok-ico svg { width: 22px; height: 22px; }
.overene h2 { margin: 0 0 2px; font-size: 1.45rem; }
.ov-date { margin: 0; font-size: .95rem; color: var(--text-2); }
.ov-tip { margin: 16px 0 0; font-size: 1.06rem; line-height: 1.65; }
.ov-tip b { color: var(--accent); margin-right: 4px; }
.ov-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.ov-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ov-more { margin: 14px 0 0; font-size: .95rem; }
.card .ok-label { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 4px; background: #fff; color: var(--heading); font-size: .8rem; font-weight: 700; border-radius: 999px; box-shadow: var(--sh-1); }
.card .ok-label .ok-ico { width: 20px; height: 20px; }
.card .ok-label .ok-ico svg { width: 12px; height: 12px; }
@media (max-width: 600px) {
  .rphoto .own { left: 10px; bottom: 10px; font-size: .74rem; }
  .overene { margin-top: 28px; padding: 18px 16px; }
  .overene h2 { font-size: 1.25rem; }
  .ov-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .ok-label { left: 8px; top: 8px; font-size: .72rem; padding-right: 9px; }
  .card .ok-label .ok-ico { width: 18px; height: 18px; }
}
@media print { .ok-tag a { box-shadow: none; } .ov-photos, .ov-more { display: none; } .overene { break-inside: avoid; } }
/* text pod zoznamom zbierky (nastavenia.json → zbierky → outro) */
.coll-text { padding-top: 56px; }
.coll-text .prose h2:first-child { margin-top: 0; }
/* blok zbierky na úvode (pole pas_text, napr. Babičkine recepty): text vľavo, karty vpravo; na počítači 3 karty, na telefóne 4 (2 × 2) */
.zb-pas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); align-items: center; gap: 28px 44px; padding: 40px 44px; background: var(--accent-soft); border-radius: var(--r-lg); }
.zb-text h2 { margin-bottom: 10px; }
.zb-text > p { color: var(--text-2); margin-bottom: 14px; }
.zb-text .zb-odkazy { font-weight: 600; line-height: 1.9; margin-bottom: 22px; }
.zb-odkazy a { color: var(--heading); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), .45); text-decoration-thickness: 2px; }
.zb-odkazy a:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.zb-odkazy span { color: var(--accent); }
.zb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 761px) { .zb-grid .card:nth-child(n+4) { display: none; } }
@media (max-width: 1100px) { .zb-pas { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .zb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .zb-pas { padding: 26px 18px 20px; border-radius: var(--r); } .zb-text .btn { width: 100%; } }
/* hodnotenie receptu čitateľmi (app.js + api/hodnotenie.php); prázdna hviezdička = obrys, plná = akcent */
.rating h2 { margin: 0 0 10px; }
.stars { display: inline-flex; gap: 2px; }
.stars button { width: 48px; height: 48px; padding: 6px; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; }
.stars svg { display: block; width: 100%; height: 100%; }
.stars path { fill: transparent; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.stars button.on, .stars:hover button { color: var(--accent); }
.stars button.on path, .stars:hover button path { fill: currentColor; }
.stars button:hover ~ button { color: var(--muted); }
.stars button:hover ~ button path { fill: transparent; }
.rt-sum { margin: 6px 0 0; color: var(--text-2); }
.rt-sum b { color: var(--heading); }
.rt-status { min-height: 1.6em; margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.rt-link { color: inherit; text-decoration: none; white-space: nowrap; }
.rt-link:hover { text-decoration: underline; }
.rt-link span { color: var(--accent); }
@media print { .rating { display: none; } }
/* Pošlite recept ďalej + Sledujte nás (obyčajné odkazy bez skriptov sietí; app.js: kopírovanie, Web Share, meranie) */
.share h2, .follow h2 { margin: 0 0 14px; }
.follow p { margin: -6px 0 14px; color: var(--text-2); }
.share-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.share-btns .btn svg { width: 18px; height: 18px; }
.share-tip { margin: 14px auto 0; max-width: 36em; font-size: .95rem; line-height: 1.55; color: var(--text-2); text-align: center; }  /* návod k tlačidlu Facebook (app.js) */
.share-tip a { font-weight: 700; white-space: nowrap; }
.sh-facebook svg { color: #1877f2; }
.sh-pinterest svg { color: #e60023; }
.sh-whatsapp svg { color: #1fa855; }
@media (max-width: 600px) {
  .share-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-btns .btn { gap: 6px; padding-left: 8px; padding-right: 8px; font-size: .88rem; }
  .share-btns.siete { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 300px; margin: 0 auto; }
}
@media (max-width: 380px) { .share-btns [data-sh="odkaz"], .share-btns [data-sh="zariadenie"] { grid-column: 1 / -1; } }
/* pod receptom (majiteľ 17. 10. „skús navrhnúť zarovnanie“): hodnotenie, Pošlite recept ďalej, Sledujte nás a Recept dňa do mobilu
   sú rovnaké bloky na celú šírku obsahu, na počítači po dvoch vedľa seba s rovnakou výškou v riadku a obsahom na stred; blok bez
   páru (napr. upozornenia, ktoré prehliadač nevie – ostanú skryté) sa roztiahne na celý riadok, na mobile sú bloky pod sebou */
.rafter { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.rafter > .rating, .rafter > .share, .rafter > .follow, .rafter > .upoz { flex: 1 1 420px; min-width: 0; max-width: none; margin: 0;
  display: grid; align-content: center; justify-items: center; padding: 26px 24px 24px; border: 0; border-radius: var(--r);
  background: var(--surface); text-align: center; }
.rafter > .upoz[hidden] { display: none; }
.rafter h2, .rafter .upoz h2 { font-size: 1.45rem; }
.rafter .share-btns { justify-self: stretch; }
.rafter .rt-status:empty { display: none; }  /* prázdny riadok stavu by posunul hodnotenie v bloku nahor */
.rafter .upoz-kroky { width: fit-content; max-width: 100%; margin: 0 auto; text-align: left; }
@media (max-width: 600px) { .rafter > .rating, .rafter > .share, .rafter > .follow, .rafter > .upoz { padding: 22px 14px 20px; } }
@media print { .rafter { display: none; } }
.ad { margin: 30px 0; min-height: 280px; display: grid; place-items: center; }
.ad::before { content: "Reklama"; display: block; width: 100%; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8d919b; text-align: center; margin-bottom: 6px; }
@media (max-width: 900px) {
  .rhead { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "photo" "facts" "actions" "tools"; grid-template-rows: none; gap: 20px; }
  .rnastroje { margin-top: -10px; }  /* medzera ako medzi tlačidlami */
  .rcard { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rintro > .ad { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .rhero { padding: 14px 0 28px; }
  .recipe .crumbs > span:last-child, .recipe .crumbs > span:nth-last-child(2) { display: none; }
  .rhead h1 { font-size: 1.95rem; }
  .lead { font-size: 1.04rem; }
  .rphoto { border-radius: var(--r); }
  /* tri stĺpce sú na telefóne úzke („Jednoduché“ pretieklo do vedľajšej bunky) – dva stĺpce, nepárna posledná bunka na celú šírku */
  .facts.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts.c3 > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .facts > div { padding: 11px 12px 12px; }
  .facts dt { font-size: .74rem; gap: 5px; }
  .facts dt svg { width: 15px; height: 15px; }
  .facts dd { font-size: .98rem; }
  .actions .btn, .rnastroje .btn { flex: 1 1 40%; padding-left: 12px; padding-right: 12px; }
  .actions .btn.primary { flex-basis: 100%; }
  .rintro { margin-top: 28px; }
  /* v úzkom stĺpci by do bloku vznikali veľké medzery medzi slovami (najmä v tučnej prvej vete) – na mobile vľavo bez delenia */
  .intro { font-size: 1.04rem; text-align: left; text-align-last: auto; -webkit-hyphens: manual; hyphens: manual; }
  .rcard { margin-top: 32px; }
  .ing-card { padding: 20px 16px 16px; border-radius: var(--r); }
  .ingredients label { padding: 12px 8px; min-height: 48px; align-items: center; }
  .steps > li { padding-left: 52px; }
  .steps > li::before { width: 38px; height: 38px; font-size: 1.1rem; }
  .step-toggle { width: 38px; height: 38px; font-size: 1.1rem; }
  .steps .txt { font-size: 1.04rem; padding-top: 5px; }
  .cooking .steps .txt { font-size: 1.24rem; line-height: 1.65; }
  .cooking .steps > li { padding-left: 58px; }
  .cooking .step-toggle { width: 44px; height: 44px; font-size: 1.25rem; }
}

/* ---------- stránky, vyhľadávanie */
.page-body { padding-top: 32px; padding-bottom: 8px; }
.prose { font-size: 1.06rem; line-height: 1.75; overflow-wrap: break-word; }
#search-page, #finder-page, #fav-page, .ucet-obal { min-height: 60vh; } /* päta neposkočí, kým JS doplní výsledky (CLS) */
.ico-in svg { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; color: var(--accent); }
.prose h2 { margin-top: 1.3em; font-size: 1.6rem; }
.prose img, .hero-img img { border-radius: var(--r); margin: 16px 0; }
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin: 0 0 28px; }
.finder label b { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--heading); }
.finder input[type=search] { width: 100%; font: inherit; padding: 13px 20px; border: 1px solid var(--line-2); border-radius: 999px; outline: none; background: #fff; }
.finder input[type=search]:focus { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(var(--dark-rgb), .08); }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.picked button { border: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .94rem; cursor: pointer; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.suggest button { border: 1px solid var(--line-2); background: #fff; color: var(--ui); border-radius: 999px; padding: 5px 13px; font: inherit; font-size: .92rem; cursor: pointer; }
.suggest button small { color: var(--muted); }
.suggest button:hover { border-color: var(--accent); color: var(--accent); }
.status { color: var(--muted); margin: 0 0 18px; }
.empty { text-align: center; padding: 56px 0 10px; }
.empty h1 { font-size: clamp(4rem, 14vw, 7rem); margin: 0; color: var(--accent); line-height: 1; }
.empty .big-search { margin: 22px auto; }

/* ---------- päta */
.foot { margin-top: 88px; background: var(--footer); color: rgba(255, 255, 255, .78); font-size: .94rem; }
/* štyri stĺpce približne rovnakej dĺžky (majiteľ 17. 10. „uprav teraz tento spodok“): značka a Sledujte nás, Kategórie (2 stĺpce),
   Recepty, Pre vás; O nás, Kontakt, Ochrana súkromia a cookies v spodnom riadku pri copyrighte */
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 48px; padding-top: 56px; padding-bottom: 44px; }
.foot .brand { min-width: 0; }
.foot .brand img { width: 160px; height: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.foot .brand p { color: rgba(255, 255, 255, .72); max-width: 32ch; margin: 0; }
.foot nav { min-width: 0; }
.foot h2 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 24px; }
.foot ul.one { grid-template-columns: 1fr; }
.foot ul .all { grid-column: 1 / -1; margin-top: 3px; }
.foot ul .all a { color: rgba(255, 255, 255, .72); }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px; padding-bottom: 30px; font-size: .86rem; color: rgba(255, 255, 255, .62); }
.foot .copy p { margin: 0; }
.foot .copy p span { white-space: nowrap; }
.foot .copy ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot .copy a, .foot .copy .linkbtn { color: rgba(255, 255, 255, .72); }
.foot .copy a:hover, .foot .copy .linkbtn:hover { color: #fff; }
.foot :focus-visible { outline-color: rgba(255, 255, 255, .7); }
.foot .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-align: left; text-decoration: none; cursor: pointer; }
.foot .linkbtn:hover { text-decoration: underline; }
@media (max-width: 1000px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .foot .cols { gap: 32px 24px; padding-top: 44px; }
  .foot .brand, .foot .f-kat { grid-column: 1 / -1; }
  .foot .copy { flex-direction: column; align-items: flex-start; }
}
.foot .brand .foot-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 18px 0 0; }
.foot-follow > span { flex-basis: 100%; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.foot-follow a { display: inline-flex; align-items: center; gap: 8px; }
.foot-follow svg { width: 20px; height: 20px; flex: none; }

/* ponuka aplikácie pre Android (app.js „ponuka aplikácie“, vylepšenie M): malý pruh dole; stránka dostane rezervu, aby nič nezakryl */
.app-pruh { position: fixed; z-index: 25; left: 8px; right: 8px; bottom: 8px; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 10px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 12px 32px -14px rgba(var(--dark-rgb), .45); font-size: .86rem; line-height: 1.3; }
.app-pruh[hidden] { display: none; }
.app-pruh img { flex: none; border-radius: 10px; }
.app-pruh p { margin: 0; flex: 1 1 auto; min-width: 0; }
.app-pruh strong { display: block; color: var(--heading); font-size: .92rem; }
.app-pruh span { color: var(--muted); }
.app-pruh .btn { flex: none; min-height: 38px; padding: 6px 16px; font-size: .9rem; }
.app-pruh-x { flex: none; border: 0; background: none; color: var(--muted); font: inherit; font-size: 1.4rem; line-height: 1; padding: 6px 8px; cursor: pointer; }
.s-app-pruhom body { padding-bottom: 84px; }
@media print { .app-pruh { display: none !important; } }
/* vlastná lišta súhlasu s meraním (app.js, iba pri suhlas.lista = vlastna); obe tlačidlá rovnako výrazné */
.consent { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px 24px; padding: 16px 18px 16px 22px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: 0 18px 44px -16px rgba(var(--dark-rgb), .42); font-size: .94rem; line-height: 1.5; }
.consent p { margin: 0; flex: 1 1 auto; }
.consent strong { display: block; color: var(--heading); font-size: 1rem; margin-bottom: 2px; }
.consent-now { color: var(--muted); }
.consent-btns { display: flex; gap: 10px; flex: none; }
.consent-btns .btn { min-width: 116px; }
@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; padding: 16px 18px; border-width: 1px 0 0; border-radius: var(--r-sm) var(--r-sm) 0 0; }
  .consent-btns .btn { flex: 1 1 0; min-width: 0; }
}

/* prihlásenie e-mailom bez hesla a Môj účet (ucet.js, api/ucet.php) */
.prihl { max-width: 620px; margin: 24px 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.prihl h2 { margin: 0 0 8px; font-size: 1.45rem; }
.prihl p { margin: 0 0 10px; }
.prihl-krok { display: grid; gap: 8px; }
.prihl-krok label, [data-u-meno] label, [data-u-zrusit] label { font-weight: 600; }
.prihl-riadok { display: flex; flex-wrap: wrap; gap: 10px; }
.prihl-riadok input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); }
.prihl-riadok input:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .35); outline-offset: 1px; border-color: var(--accent); }
.prihl-pozn { font-size: .88rem; color: var(--muted); }
.prihl .prihl-pozn { margin: 2px 0 0; }
.prihl-stav { font-weight: 600; margin: 8px 0 0; }
.prihl-stav:empty { display: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ucet-kto { margin: 16px 0; }
.ucet-kto:focus { outline: none; }
.ucet-panel { max-width: 760px; }
.ucet-sek { padding: 18px 0; border-top: 1px solid var(--line); }
.ucet-sek h2 { font-size: 1.35rem; margin: 0 0 8px; }
.ucet-sek p { margin: 0 0 10px; }
.ucet-odber { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-weight: 600; cursor: pointer; }
.ucet-odber input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.tm-odber { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 28px 0 0; padding: 16px 18px; background: var(--accent-soft); border-radius: var(--r); }
.ucet-sek .btn svg { color: var(--accent); }
.ucet-recepty { list-style: none; margin: 0 0 12px; padding: 0; }
.ucet-recepty li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.ucet-stav-r { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.ucet-stav-r.schvalene { background: var(--accent-soft); color: var(--accent-2); }
.ucet-zrusit { margin: 8px 0 0; padding: 14px 0; border-top: 1px solid var(--line); }
.ucet-zrusit summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
.ucet-zrusit form { display: grid; gap: 8px; margin-top: 12px; }
.fav-ucet { margin: -6px 0 22px; color: var(--text-2); }

/* spodný panel (kuchyna.js): krátka správa, režim varenia a bežiace časovače; nad lištou súhlasu */
.dock { position: fixed; z-index: 25; right: 20px; bottom: 20px; width: 360px; max-width: calc(100% - 16px); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.dock > * { pointer-events: auto; }
.toast { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 12px 16px; background: var(--dark); color: #fff; border-radius: var(--r-sm); box-shadow: var(--sh-3); font-size: .94rem; line-height: 1.4; }
.toast svg { width: 19px; height: 19px; flex: none; color: #fff; }
.toast svg path { fill: currentColor; }
.toast a { color: #fff; font-weight: 700; margin-left: auto; }
.dock-box { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--sh-3); overflow: hidden; }
.dock-cook { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; background: var(--accent-soft); font-size: .92rem; font-weight: 600; color: var(--accent-2); }
.dock-cook[hidden] { display: none; }
.dock-list { list-style: none; margin: 0; padding: 0; max-height: 45vh; overflow-y: auto; }
.tmr-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 16px; border-top: 1px solid var(--line); }
.dock-cook[hidden] + .dock-list .tmr-row:first-child { border-top: 0; }
.tmr-l { flex: 1; min-width: 0; font-size: .9rem; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmr-l small { color: var(--muted); font-weight: 400; }
.tmr-l a { color: inherit; }
.tmr-t { font: 700 1.3rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--heading); min-width: 3.6em; text-align: right; }
.tmr-row.paused .tmr-t { color: var(--muted); }
.tmr-row.done { background: var(--accent); }
.tmr-row.done .tmr-l, .tmr-row.done .tmr-l small, .tmr-row.done .tmr-t { color: #fff; }
.tmr-b { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--ui); cursor: pointer; }
.tmr-b:hover { border-color: var(--ui); }
.tmr-b svg { width: 17px; height: 17px; }
.tmr-row .btn.dark { background: #fff; border-color: #fff; color: var(--accent-2); }
@media (max-width: 600px) {
  .dock { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; }
  .tmr-t { font-size: 1.2rem; }
}
@media print { .dock, .card-fav, .cook-btn { display: none !important; } .tmr { background: none; color: inherit; padding: 0; font-weight: inherit; } .tmr svg { display: none; } }

@media (max-width: 600px) { .wrap { padding-left: 18px; padding-right: 18px; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ---------- tlač (majiteľ 21. 10. 2026 „pozri tlač receptu a sprav to profesionálne“, docs/tlac-receptu.md): A4; recept má hlavičku
   s logom, adresou a QR kódom (generuj-web.py tlac-hlava, scripts/qr-kod.py), nadpis s fotkou a údajmi, suroviny vedľa postupu,
   výživu v jednom riadku a pätu s číslom strany; tlač ostatných stránok (menu, jedálniček, Vianoce) má vlastné pravidlá nižšie a vyššie */
.tlac-hlava { display: none; }
@media print {
  @page recept {
    size: A4; margin: 11mm 13mm 19mm;
    @top-left { content: ""; } @top-center { content: ""; } @top-right { content: ""; }   /* bez dátumu a názvu stránky od prehliadača */
    /* päta každej strany: malé logo s adresou webu, číslo strany a malý QR kód receptu (ten vkladá generuj-web.py do <head> receptu) */
    @bottom-left { content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4.6mm'%20height='4.6mm'%20viewBox='0%200%2064%2064'%20fill='none'%20stroke='%23c8352a'%20stroke-width='4.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M32%2024.5c-5.6-4.1-8.6-7.3-8.6-10.2a4.3%204.3%200%200%201%208.6-1.4%204.3%204.3%200%200%201%208.6%201.4c0%202.9-3%206.1-8.6%2010.2z'/%3E%3Cpath%20d='M11%2031.5h42'/%3E%3Cpath%20d='M15.5%2031.5v8.5a12.5%2012.5%200%200%200%2012.5%2012.5h8a12.5%2012.5%200%200%200%2012.5-12.5v-8.5'/%3E%3Cpath%20d='M15.5%2035.5h-2.5a2.6%202.6%200%200%200%200%205.2h2.5M48.5%2035.5h2.5a2.6%202.6%200%200%201%200%205.2h-2.5'/%3E%3C/svg%3E") "  Domáce recepty · domacerecepty.sk"; font-family: Georgia, "Times New Roman", serif; font-size: 8pt; color: #333; vertical-align: middle; }
    @bottom-center { content: "Strana " counter(page) " z " counter(pages); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 7.5pt; color: #6b6b6b; vertical-align: middle; }
    @bottom-right { vertical-align: middle; }
  }
  .top, .catnav, .foot, .actions, .rnastroje, .ad, .related, .crumbs, .rphoto, .step-hint, .servings, .ing-foot, .consent { display: none !important; }
  /* miesto pod stránkou pre lištu súhlasu (app.js) a panel časovačov (kuchyna.js) – v tlači sú skryté, inak pribudne prázdna strana */
  html, body { padding-bottom: 0 !important; }
  body { background: #fff; }
  /* spoločné pre ostatné stránky (zoznam na nákup v menu a jedálničku má tiež .ingredients a .ing-card); recept ich prekryje nižšie */
  body { font-size: 11.5pt; }
  .rhero { background: none; border: 0; padding: 0; }
  .rhead { display: block; }
  .facts { box-shadow: none; border-color: #bbb; margin: 10px 0; }
  .facts > div { box-shadow: none; }
  .rcard { display: block; }
  .ing-card { background: none; border: 1px solid #bbb; position: static; margin-bottom: 16px; }
  .ingredients input { display: none; }
  .steps > li { border-bottom: 0; padding-bottom: 6px; margin-bottom: 6px; }
  .steps > li::before { background: none; color: #000; border: 1px solid #000; }
  .step-toggle { display: none; }
  .steps > li.has-toggle::before { display: grid; content: counter(step); }
  .steps .imgs { display: none; }
  .recipe { page: recept; font-size: 9.6pt; line-height: 1.42; color: #111; }
  .recipe .wrap { max-width: none; margin: 0; padding: 0; }
  .recipe a { color: inherit; text-decoration: none; }
  .recipe .rnastroje, .recipe .metaline, .recipe .rintro, .recipe .overene, .recipe .rafter, .recipe .step-hint, .recipe .ing-foot,
  .recipe .servings button, .recipe .cook-btn, .recipe .steps .imgs, .recipe .step-toggle, .recipe .rphoto figcaption { display: none !important; }

  /* farby webu aj v tlači (pozadia sa inak netlačia): červená na nadpisy, čísla krokov a ikony, krémová na suroviny a údaje */
  .recipe { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* hlavička: logo, adresa receptu a QR kód */
  .recipe .tlac-hlava { display: flex; align-items: center; gap: 5mm; padding: 0 0 2.5mm; margin: 0 0 3.5mm; border-bottom: 1.2pt solid var(--accent); break-inside: avoid; }
  .tlac-hlava img { width: auto; height: 13mm; }
  .tlac-odkaz { margin: 0 0 0 auto; text-align: right; font-size: 9pt; line-height: 1.35; color: #222; overflow-wrap: anywhere; }
  .tlac-odkaz span { display: block; margin-bottom: .4mm; font-size: 7.2pt; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
  .tlac-odkaz small { display: block; margin-top: .6mm; font-size: 7pt; color: #6b6b6b; }
  .tlac-hlava .tlac-qr { flex: none; width: 22mm; height: 22mm; }

  /* nadpis, popis, fotka a údaje na krémovom pásiku */
  .recipe .rhero { margin: 0; padding: 0; border: 0; background: none; }
  .recipe .rhead { display: grid; grid-template-columns: minmax(0, 1fr) 62mm; grid-template-areas: "title photo" "facts facts"; grid-template-rows: auto auto; gap: 3mm 7mm; max-width: none; break-inside: avoid; }
  .recipe .rhead.nophoto { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "facts"; }
  .recipe .eyebrow { font-size: 7.5pt; letter-spacing: .12em; color: var(--accent); }
  .recipe .rhead h1 { margin: .8mm 0 1.8mm; font-size: 19pt; line-height: 1.12; }
  .recipe .lead { margin: 0; font-size: 9.8pt; line-height: 1.4; color: #333; }
  .recipe .ok-tag { margin: 2mm 0 0; font-size: 8.5pt; }
  .recipe .rphoto { display: block !important; align-self: start; border-radius: 2.5mm; background: none; box-shadow: none; }
  .recipe .rphoto img { display: block; width: 62mm; height: 38mm; aspect-ratio: auto; object-fit: cover; border-radius: 2.5mm; }
  .recipe .facts-box { align-self: start; }
  .recipe .facts { display: flex; flex-wrap: wrap; margin: 0; padding: 1.3mm 4mm; border: 0; border-radius: 2.5mm; background: var(--surface); box-shadow: none; overflow: visible; }
  .recipe .facts > div { padding: .4mm 4mm .4mm 0; margin: 0 4mm 0 0; border-right: .5pt solid var(--line-2); box-shadow: none; }
  .recipe .facts > div:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
  .recipe .facts dt { gap: 1.2mm; margin: 0 0 .4mm; font-size: 6.6pt; letter-spacing: .08em; text-transform: uppercase; color: #6b6b6b; }
  .recipe .facts dt svg { display: block; width: 3.3mm; height: 3.3mm; color: var(--accent); }
  .recipe .facts dd { font-size: 9.4pt; }

  /* suroviny na krémovom podklade vedľa postupu – plávajúci stĺpec, nie mriežka ani flex: tie Chrome pri tlači presunie na ďalšiu stranu */
  .recipe .rcard { display: block; margin-top: 4mm; }
  .recipe .rcard::after { content: ""; display: block; clear: both; }
  .recipe .ingredients { float: left; width: 60mm; margin-right: 7mm; }
  .recipe .method { margin-left: 67mm; }
  .recipe .rcard.noing .method { margin-left: 0; }
  .recipe .rcard h2 { margin: 0; font-size: 13pt; }
  .recipe .rcard-head h2::before, .recipe .method-head h2::before { content: ""; display: inline-block; width: 4.4mm; height: 4.4mm; margin: 0 1.6mm 0 0; vertical-align: -.5mm; background: center / contain no-repeat; }
  .recipe .rcard-head h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 10V7a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E"); }
  .recipe .method-head h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v2.5a6.5 6.5 0 0 1-6.5 6.5h-3A6.5 6.5 0 0 1 4 13.5z'/%3E%3Cpath d='M2 11h20M9 3.5c-.8.9-.8 1.9 0 2.8M13 3.5c-.8.9-.8 1.9 0 2.8'/%3E%3C/svg%3E"); }
  .recipe .ing-card, .recipe .ing-card.stick { position: static; margin: 0; padding: 3mm 3.6mm 2.6mm; border: 0; border-radius: 2.5mm; background: var(--surface); box-shadow: none; }
  .recipe .rcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2mm; padding: 0 0 1.6mm; margin: 0 0 .5mm; border-bottom: 1pt solid var(--accent); }
  .recipe .servings { display: block !important; padding: 0; border: 0; background: none; font-size: 8pt; color: #6b6b6b; }
  .recipe .servings output { min-width: 0; padding: 0; font-size: 8pt; font-weight: 600; }
  .recipe .servings output::before { content: "na "; }
  .recipe .ingredients h3 { margin: 2.8mm 0 .5mm; font-size: 7.2pt; letter-spacing: .1em; color: var(--accent); break-after: avoid; }
  .recipe .ingredients .rcard-head + h3 { margin-top: 2mm; }
  .recipe .ingredients li { padding: .9mm 0; break-inside: avoid; }
  .recipe .ingredients li + li { border-top: .6pt solid #fff; }
  .recipe .ingredients label { display: block; margin: 0; padding: 0; font-size: 9.2pt; line-height: 1.35; }
  .recipe .ingredients input { display: none; }
  .recipe .ingredients .ing { gap: 3mm; }
  .recipe .ingredients input:checked + .ing .amt, .recipe .ingredients input:checked + .ing .nm, .recipe .ingredients input:checked + span { color: inherit; text-decoration: none; }
  .recipe .ing-miery { margin: 2mm 0 0; font-size: 7.4pt; color: #6b6b6b; }

  /* postup: červené čísla krokov, tip na ružovom podklade so žiarovkou, výživa v krémových kapsulách */
  .recipe .method-head { display: block; padding: 0 0 1.6mm; margin: 0 0 2.4mm; border-bottom: 1pt solid var(--accent); }
  .recipe .steps > li { padding: 0 0 0 8.5mm; margin: 0 0 1.7mm; border: 0; break-inside: avoid; }
  .recipe .steps > li::before, .recipe .steps > li.has-toggle::before, .recipe .steps > li.done::before { content: counter(step); display: grid; place-items: center; width: 5.8mm; height: 5.8mm; top: .1mm; border: 0; border-radius: 50%; background: var(--accent); color: #fff; font: 700 8.2pt/1 var(--sans); }
  .recipe .steps li.done .txt { opacity: 1; }
  .recipe .steps h3 { margin: 0 0 .8mm; font-size: 10.2pt; }
  .recipe .steps .txt { max-width: none; padding-top: .5mm; font-size: 9.7pt; line-height: 1.42; }
  .recipe .steps .txt p { margin: 0 0 1mm; }
  .recipe .steps .dur { margin: 0 0 .6mm; font-size: 7.6pt; }
  .recipe .tip-viac { display: none; }
  .recipe .tipbox { display: block; position: relative; margin: 2.8mm 0 0; padding: 2.2mm 3.4mm 2.2mm 10.5mm; border: 0; border-left: 1mm solid var(--accent); border-radius: 0 2.5mm 2.5mm 0; background: var(--accent-soft); font-size: 9pt; line-height: 1.42; break-inside: avoid; }
  .recipe .tipbox::before { content: ""; position: absolute; left: 3.2mm; top: 2.3mm; width: 4.6mm; height: 4.6mm; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.6 10.8c.7.5 1.1 1.3 1.1 2.1V16h5v-.1c0-.8.4-1.6 1.1-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .recipe .tipbox b { color: var(--accent-2); }
  .recipe .nutrition { margin: 3mm 0 0; padding: 2mm 0 0; border: 0; border-top: .6pt solid var(--line-2); border-radius: 0; background: none; break-inside: avoid; }
  .recipe .nutrition h2 { display: inline; margin: 0 2mm 0 0; font-size: 10pt; }
  .recipe .nutr-na { display: inline; margin: 0; font-size: 7.5pt; color: #6b6b6b; }
  .recipe .nutrition dl { display: flex; flex-wrap: wrap; gap: 1.2mm 1.4mm; margin: 1.6mm 0 0; }
  .recipe .nutrition dl > div { display: flex; align-items: baseline; gap: 1.2mm; min-width: 0; padding: .7mm 2.2mm; border: 0; border-radius: 999px; background: var(--surface); box-shadow: none; }
  .recipe .nutrition dt { margin: 0; font-size: 7.3pt; font-weight: 400; letter-spacing: 0; text-transform: none; color: #6b6b6b; }
  .recipe .nutrition dd { margin: 0; font-size: 8.4pt; font-weight: 700; }
  .recipe .nutr-pozn { display: none; }
  .recipe h2, .recipe h3 { break-after: avoid; }
}

/* upozornenia „Recept dňa“: blok pod receptom a na /upozornenia/ (sablona/upozornenia.js, docs/upozornenia.md);
   bez podpory v prehliadači ostane skrytý (atribút hidden), časť bloku podľa data-stav = vyp | zap | blok | nepodpora */
.upoz { display: grid; gap: 10px; margin: 32px 0; padding: 20px 22px; max-width: 760px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.upoz[hidden] { display: none; }
.upoz h2, .prose .upoz h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.3rem; }
.upoz h2 svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.upoz p { margin: 0; }
.upoz-vyp, .upoz-zap, .upoz-blok, .upoz-nepodpora { display: none; gap: 10px; }
.upoz[data-stav="vyp"] .upoz-vyp, .upoz[data-stav="zap"] .upoz-zap, .upoz[data-stav="blok"] .upoz-blok, .upoz[data-stav="nepodpora"] .upoz-nepodpora { display: grid; }
.upoz-akcie { padding-top: 2px; }
.upoz-stav { font-weight: 600; }
.upoz-stav:empty { display: none; }
.upoz-pozn { font-size: .85rem; color: var(--muted); }
@media print { .upoz { display: none !important; } }
.upoz[data-stav="ios"] .upoz-ios, .upoz[data-stav="appka"] .upoz-appka { display: grid; }
.upoz-ios, .upoz-appka { display: none; gap: 10px; }
.upoz-kroky { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.upoz .ico-ios { width: 18px; height: 18px; vertical-align: -3px; color: var(--accent); }
.upoz-dalej { margin-top: 4px; font-weight: 600; }

/* formulár „Pošlite nám svoj recept“ (/odosli-svoj-recept/, sablona/recept-formular.js, docs/pridat-recept.md) */
.rform { display: grid; gap: 16px; max-width: 760px; margin: 24px 0 8px; }
.rform-pole { display: grid; gap: 6px; min-width: 0; }
.rform-pole label { font-weight: 600; }
.rform input:not([type="checkbox"]):not([type="file"]), .rform textarea, .rform select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 12px; }
.rform textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.rform input:focus-visible, .rform textarea:focus-visible, .rform select:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .35); outline-offset: 1px; border-color: var(--accent); }
.rform-riadok { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rform-pozn { margin: 0; font-size: .85rem; color: var(--muted); }
.rform-nahlad img { max-width: 220px; max-height: 160px; border-radius: var(--r-sm); object-fit: cover; }
.rform-pasca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rform-suhlas { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.rform-suhlas input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.rform-akcie { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.rform-stav { font-weight: 600; margin: 0; }
.rform-stav:empty { display: none; }
.rform-hotovo { max-width: 760px; margin: 24px 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); display: grid; gap: 10px; }
.rform-hotovo h2 { margin: 0; }
.rform-hotovo p { margin: 0; }

/* ---------- týždenné menu (/tyzdenne-menu/, docs/tyzdenne-menu.md) a blok „Čo dnes variť?“ na úvode */
.tm .page-head .actions { margin-top: 20px; }
.page-head .tm-week { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--heading); margin: 0 0 .5em; }
.tm-days { display: grid; gap: 14px; margin-top: 36px; }
.tm-day { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: 14px 22px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.tm-day h2 { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; font-size: 1.35rem; }
.tm-day h2 small { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--muted); }
.tm-day.dnes { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--sh-2); }
.tm-day.dnes h2::after { content: "Dnes"; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 10px; }
.tm-dishes { display: contents; }
.tm-dish { display: flex; align-items: center; gap: 14px; min-width: 0; margin: -6px; padding: 6px; border-radius: var(--r-sm); color: inherit; text-decoration: none; transition: background .15s; }
.tm-dish:hover { background: var(--surface); color: inherit; }
.tm-dish .ph { flex: none; width: 116px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); }
.tm-dish img { width: 100%; height: 100%; object-fit: cover; }
.tm-txt { display: flex; flex-direction: column; min-width: 0; }
.tm-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.tm-name { margin: 2px 0 4px; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.28; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tm-dish:hover .tm-name { color: var(--accent); }
.tm-meta { font-size: .84rem; color: var(--muted); }
.tm-shop { margin-top: 40px; }
.tm-note { margin: 12px 0 2px; font-size: .95rem; color: var(--text-2); max-width: 52em; }
.tm-groups { columns: 2 330px; column-gap: 44px; }
.tm-group { break-inside: avoid; }
.tm-groups .ing .amt { flex-shrink: 1; max-width: 58%; white-space: normal; }   /* súčty „asi 10 g (8 g + 1/4 lyžice + …)“ sa smú zalomiť */
.tm-more { margin: 32px 0 0; color: var(--text-2); }
.tm-sec { margin: 44px 0 0; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.tm-sec h2 { margin: 0 0 6px; }
.tm-sec p { margin: 0; color: var(--text-2); }
.tm-sec + .tm-days { margin-top: 20px; }
.tm-day.tm-cake { background: var(--surface); }
.tm-cake .tm-dish { grid-column: span 2; }
.tm-shop + .tm-shop { margin-top: 28px; }
.tm-promo { padding-top: 34px; }
.tm-promo-in { display: flex; align-items: center; gap: 16px 24px; padding: 20px 24px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-1); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.tm-promo-in:hover { color: inherit; box-shadow: var(--sh-2); transform: translateY(-2px); }
.tm-promo-ico { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.tm-promo-ico svg { width: 30px; height: 30px; }
.tm-promo-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tm-promo-txt .eyebrow { margin-bottom: 4px; }
.tm-promo-txt strong { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--heading); }
.tm-promo-txt span:last-child { margin-top: 4px; color: var(--text-2); }
.tm-promo .btn { flex: none; }
@media (max-width: 900px) {
  .tm-day { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tm-day h2 { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; }
  .tm-cake .tm-dish { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .tm-days { margin-top: 26px; gap: 12px; }
  .tm-day { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
  .tm-day h2 { font-size: 1.25rem; }
  .tm-dish .ph { width: 96px; }
  .tm-name { font-size: 1.02rem; }
  .tm-shop { margin-top: 30px; }
  .tm-promo { padding-top: 24px; }
  .tm-promo-in { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .tm-promo-ico { display: none; }
  .tm-promo-txt { flex-basis: 100%; }
  .tm-promo-txt strong { font-size: 1.25rem; }
  .tm-promo .btn { width: 100%; }
}
@media print {
  .tm-day { box-shadow: none; border-color: #bbb; padding: 8px 10px; break-inside: avoid; }
  .tm-dish .ph, .tm-more, .tm-promo { display: none; }
  .tm-day.dnes h2::after { display: none; }
  .tm-groups { columns: 2; }
}

/* ---------- ľahké recepty (/lahke-recepty/, docs/lahke-recepty.md): kalórie na karte, odkaz pri recepte */
.card .kcal { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; background: #fff; color: var(--heading); font-size: .8rem; font-weight: 700; border-radius: 999px; box-shadow: var(--sh-1); }
.lr-link { color: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lr-link:hover { color: var(--accent); text-decoration: underline; }
.lr-info { padding-top: 48px; }
@media (max-width: 600px) { .card .kcal { right: 8px; bottom: 8px; padding: 2px 8px; font-size: .72rem; } }
/* fitness recepty (/fitness-recepty/, docs/fitness-recepty.md): na úzkej karte iba bielkoviny, kalórie sú v bloku Výživové hodnoty */
.card .kcal { white-space: nowrap; }
@media (max-width: 600px) { .card .kcal .fit-k { display: none; } }

/* ---------- môj jedálniček (/moj-jedalnicek/, sablona/jedalnicek.js, docs/moj-jedalnicek.md) */
.jed-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 28px 0 8px; }
.jed-osoby { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.jed-akcie { display: flex; flex-wrap: wrap; gap: 8px; }
.jed-stav { flex-basis: 100%; margin: 0; font-size: .92rem; color: var(--muted); }
.jed-cudzi { margin: 16px 0; padding: 16px 18px; border: 1px solid var(--accent); border-radius: var(--r); background: var(--accent-soft); }
.jed-cudzi p { margin: 0 0 10px; }
.jed-dni { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-top: 20px; }
.jed-den { padding: 14px 16px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.jed-den h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 4px; font-size: 1.3rem; }
.jed-den h2 small { font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--muted); }
.jed-kcal { margin-left: auto; font-family: var(--sans); font-size: .82rem; font-weight: 700; color: var(--heading); }
.jed-sloty { list-style: none; margin: 0; padding: 0; }
.jed-slot { display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.jed-slot.prazdny { justify-content: space-between; }
.jed-recept { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; }
.jed-recept img, .jed-ph, .jed-moznost img { flex: none; width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--surface); }
.jed-txt { display: flex; flex-direction: column; min-width: 0; }
.jed-druh { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.jed-nazov { font-weight: 600; line-height: 1.3; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jed-recept:hover .jed-nazov { color: var(--accent); }
.jed-meta { font-size: .8rem; color: var(--muted); }
.jed-btns { display: flex; flex: none; align-items: center; gap: 2px; }
.jed-btns .linkbtn { font-size: .86rem; }
.jed-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font: inherit; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.jed-x:hover { background: var(--surface); color: var(--heading); }
.jed-cudzi-rezim .jed-btns, .jed-cudzi-rezim .jed-vyber, .jed-cudzi-rezim [data-jed="menu"], .jed-cudzi-rezim [data-jed="navrhni"], .jed-cudzi-rezim [data-jed="vyprazdnit"], .jed-cudzi-rezim .jed-osoby button { display: none; }
.jed-nakup { margin-top: 36px; }
.jed-info { padding-top: 40px; }
.jed-dialog { width: min(560px, calc(100vw - 24px)); max-height: min(720px, calc(100vh - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); color: var(--ink); }
.jed-dialog::backdrop { background: rgba(20, 20, 20, .45); }
.jed-dlg-in { display: flex; flex-direction: column; max-height: inherit; }
.jed-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 8px; }
.jed-dlg-head h2 { margin: 0; font-size: 1.35rem; }
.jed-dlg-telo { padding: 0 18px 18px; overflow-y: auto; }
.jed-hladat { width: 100%; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font: inherit; }
.jed-taby { display: flex; gap: 6px; margin: 10px 0; }
.jed-taby button, .jed-volby .chip { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ui); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.jed-taby button[aria-selected="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.jed-volby { display: flex; flex-wrap: wrap; gap: 6px; }
.jed-volby .chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.jed-vysledky { display: grid; gap: 2px; }
.jed-moznost { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px; border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.jed-moznost:hover, .jed-moznost:focus-visible { background: var(--surface); }
.jed-moznost small { display: block; font-size: .8rem; color: var(--muted); }
.jed-pridat .jed-moznost { padding: 0; cursor: default; }
.jed-pridat .jed-moznost:hover { background: none; }
.jed-otazka { margin: 14px 0 6px; font-weight: 700; }
.jed-dni-vyber { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.jed-den-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ui); font: inherit; text-align: left; cursor: pointer; }
.jed-den-btn:hover, .jed-den-btn:focus-visible { border-color: var(--accent); }
.jed-den-btn small { font-size: .78rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jed-prazdne { color: var(--muted); }
@media (max-width: 600px) {
  .jed-dni { grid-template-columns: minmax(0, 1fr); }
  .jed-akcie .btn { flex: 1 1 45%; }
  .jed-den { padding: 12px 12px 6px; }
}
@media print {
  .jed-panel, .jed-btns, .jed-vyber, .jed-info, .jed-cudzi, .jed-dialog { display: none !important; }
  .jed-den { box-shadow: none; border-color: #bbb; break-inside: avoid; }
  .jed-recept img, .jed-ph { display: none; }
  .jed-dni { grid-template-columns: 1fr 1fr; }
  /* „Tlač na chladničku“ (html.tlac-plan, jedalnicek.js tlac): celý týždeň na jednu stranu A4, jedlo na riadok; „Tlač zoznamu“ (html.tlac-zoznam): iba nákup */
  .tlac-plan body { font-size: 9pt; }
  .tlac-plan .jed-nakup, .tlac-plan .page-head p, .tlac-plan .ad { display: none !important; }
  .tlac-plan .page-band { padding: 0 0 4pt; margin: 0; }
  .tlac-plan .page-head h1 { margin: 0; font-size: 16pt; }
  .tlac-plan .jed-dni { gap: 6pt; margin-top: 6pt; }
  .tlac-plan .jed-den { padding: 4pt 8pt 2pt; border-radius: 6pt; }
  .tlac-plan .jed-den h2 { margin: 0 0 2pt; font-size: 11.5pt; }
  .tlac-plan .jed-den h2 small, .tlac-plan .jed-kcal { font-size: 8pt; }
  .tlac-plan .jed-slot { min-height: 0; padding: 2.5pt 0; }
  .tlac-plan .jed-slot.prazdny { display: none; }
  .tlac-plan .jed-txt { display: block; line-height: 1.3; }
  .tlac-plan .jed-druh { display: inline; margin-right: 4pt; font-size: 6.5pt; }
  .tlac-plan .jed-nazov { display: inline; font-size: 9pt; -webkit-line-clamp: none; }
  .tlac-plan .jed-meta { display: inline; margin-left: 4pt; font-size: 7.5pt; }
  .tlac-zoznam .jed-dni, .tlac-zoznam .page-band, .tlac-zoznam .ad { display: none !important; }
  .tlac-zoznam .jed-nakup { margin-top: 0; }
}
.jed-moznost small.jed-spolu { color: #2f6b2f; font-weight: 600; }
/* vzorové jedálničky (/jedalnicek-1500-kcal/ …, generuj-web.py vzorove_jedalnicky) */
.vzor-urovne { margin: 14px 0 0; color: var(--text-2); }
.vzor-urovne b { color: var(--heading); }
.vzor .jed-slot { min-height: 60px; }
/* vianočný plán pečenia (/vianocny-plan-pecenia/, sablona/vianoce.js, docs/vianocny-plan-pecenia.md) */
/* Vianočný plán pečenia – pás s fotkou na úvode, /vianocne-recepty/ a /vianocne-pecivo/ (vp_pas() v generátore, majiteľ 24. 10. 2026) */
.vpp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: var(--accent-soft); border-radius: var(--r-lg); overflow: hidden; margin-top: 30px; }
.vpp.vpp-bez-fotky { grid-template-columns: minmax(0, 1fr); }
.vpp-foto img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.vpp-text { align-self: center; padding: 30px 38px; }
.vpp-text h2 { margin: 4px 0 10px; }
.vpp-text p { margin: 0 0 18px; line-height: 1.6; }
@media (max-width: 760px) { .vpp { grid-template-columns: minmax(0, 1fr); } .vpp-foto img { min-height: 0; aspect-ratio: 16 / 9; } .vpp-text { padding: 20px 18px 22px; } .vpp .btn { width: 100%; } }
.vp { padding-top: 12px; }
.vp-druh { margin-top: 36px; }
.vp-hlava { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; }
.vp-hlava h2 { margin: 0; font-size: 1.5rem; }
.vp-kedy { margin: 0; font-weight: 700; color: var(--accent-2); }
.vp-preco { margin: 6px 0 12px; color: var(--text-2); max-width: 52em; }
.vp-zoznam { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 8px; }
.vp-zoznam > li { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.vp-zoznam > li:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.vp-recept { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.vp-recept input { flex: none; width: 20px; height: 20px; accent-color: var(--accent); }
.vp-recept .ph { flex: none; width: 56px; height: 42px; overflow: hidden; border-radius: 6px; background: var(--surface); }
.vp-recept .ph img { width: 100%; height: 100%; object-fit: cover; }
.vp-nazov { font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--heading); }
.vp-odkaz { flex: none; font-size: .86rem; }
.vp-plan { margin-top: 48px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: 16px; }
.vp-plan > h2 { margin: 0 0 8px; }
.vp-prazdne { margin: 0; color: var(--muted); }
.vp-kroky { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.vp-kroky > li { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.vp-kroky h3 { margin: 0 0 6px; font-size: 1.15rem; }
.vp-krok-druh { margin: 8px 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.vp-kroky ul { margin: 0; padding-left: 1.1em; }
.vp-kroky ul li { margin: 4px 0; }
.vp-davky { margin-left: 6px; font-size: .84rem; color: var(--muted); white-space: nowrap; }
.vp-davky select { margin-left: 4px; padding: 2px 4px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font: inherit; }
.vp-akcie { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vp-akcie[hidden] { display: none; }
.vp-nakup { margin-top: 24px; }
.vp-info { padding-top: 40px; }
@media (max-width: 600px) { .vp-plan { padding: 16px 14px; } .vp-zoznam { grid-template-columns: minmax(0, 1fr); } }
.vp-tlac-nad, .vp-tlac-uvod, .vp-davky-tlac { display: none; }
/* tlač plánu ako tlač receptu (majiteľ 24. 10. 2026 „toto zmeň tiež ako sme to spravili na receptoch“, docs/tlac-receptu.md): A4 s hlavičkou
   (logo, adresa, QR kód) a pätou @page recept; s vybraným pečivom (html.tlac-vianoce, vianoce.js) iba plán a nákupný zoznam: termíny na
   krémových kartách s kalendárikom, pečivo a suroviny so štvorčekom na odškrtnutie, nákup v dvoch stĺpcoch; bloky nie grid/flex (tlač Chrome) */
@media print {
  .vp-akcie, .vp-odkaz, .vp-davky { display: none !important; }
  .vp-tlac { page: recept; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .vp-tlac .tlac-hlava { display: flex; align-items: center; gap: 5mm; padding: 0 0 2.5mm; margin: 0 0 4mm; border-bottom: 1.2pt solid var(--accent); break-inside: avoid; }
  .vp-tlac a { color: inherit; text-decoration: none; }
  .vp-tlac .wrap { max-width: none; margin: 0; padding: 0; }
  .vp-tlac .vp { font-size: 9.6pt; line-height: 1.42; color: #111; }
  .vp-tlac .vp-tlac-uvod { display: block; margin: 0 0 4.5mm; font-size: 9.8pt; line-height: 1.4; color: #333; }
  .tlac-vianoce .vp-druh, .tlac-vianoce .vp-info, .tlac-vianoce .page-band, .tlac-vianoce .vp-prazdne { display: none !important; }
  .tlac-vianoce .vp-plan { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
  .tlac-vianoce .vp-tlac-nad { display: block; margin: 0; font-size: 7.5pt; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
  .tlac-vianoce .vp-plan > h2 { margin: .8mm 0 1.6mm; font-size: 19pt; line-height: 1.12; }

  /* termíny: krémová karta s červeným okrajom, dátum s kalendárikom, druh pečiva červenými kapitálkami */
  .tlac-vianoce .vp-kroky { display: block; margin: 0; }
  .tlac-vianoce .vp-kroky > li { margin: 0 0 3mm; padding: 2.4mm 4mm 2mm 4.2mm; border: 0; border-left: 1mm solid var(--accent); border-radius: 0 2.5mm 2.5mm 0; background: var(--surface); break-inside: avoid; }
  .tlac-vianoce .vp-kroky h3 { margin: 0 0 .4mm; font-size: 12pt; line-height: 1.25; }
  .tlac-vianoce .vp-kroky h3::before { content: ""; display: inline-block; width: 4.4mm; height: 4.4mm; margin: 0 1.8mm 0 0; vertical-align: -.6mm; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3.5 10h17M8 14h3M8 17h6'/%3E%3C/svg%3E"); }
  .tlac-vianoce .vp-krok-druh { margin: 1.8mm 0 .3mm; font-size: 7.2pt; letter-spacing: .1em; color: var(--accent); break-after: avoid; }
  .tlac-vianoce .vp-kroky ul { list-style: none; margin: 0; padding: 0; }
  .tlac-vianoce .vp-kroky ul li { position: relative; margin: 0; padding: .9mm 26mm .9mm 6mm; font-size: 10pt; line-height: 1.35; break-inside: avoid; }
  .tlac-vianoce .vp-kroky ul li + li { border-top: .6pt solid #fff; }
  .tlac-vianoce .vp-kroky ul li::before { content: ""; position: absolute; left: 0; top: 1.5mm; width: 3.2mm; height: 3.2mm; border: .8pt solid #6b6b6b; border-radius: .7mm; background: #fff; }
  .tlac-vianoce .vp-kroky ul li a { font-weight: 600; color: #111; }
  .tlac-vianoce .vp-davky-tlac { display: block; position: absolute; right: 0; top: 1.2mm; font-size: 8pt; color: #6b6b6b; white-space: nowrap; }

  /* nákupný zoznam ako suroviny v recepte: krémový podklad, košík, červená linka, skupiny v dvoch stĺpcoch */
  .tlac-vianoce .vp-nakup { margin: 5mm 0 0; break-inside: avoid; }   /* celý zoznam spolu: stĺpce cez zlom strany Chrome rozťahuje na celú stranu */
  .tlac-vianoce .vp-nakup .ing-card { position: static; margin: 0; padding: 3mm 4mm 2.6mm; border: 0; border-radius: 2.5mm; background: var(--surface); box-shadow: none; }
  .tlac-vianoce .vp-nakup .rcard-head { display: block; padding: 0 0 1.6mm; margin: 0; border-bottom: 1pt solid var(--accent); }
  .tlac-vianoce .vp-nakup .rcard-head h2 { margin: 0; font-size: 13pt; }
  .tlac-vianoce .vp-nakup .rcard-head h2::before { content: ""; display: inline-block; width: 4.4mm; height: 4.4mm; margin: 0 1.6mm 0 0; vertical-align: -.5mm; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8352a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 10V7a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E"); }
  .tlac-vianoce .vp-nakup-pozn { margin: 1.6mm 0 1mm; font-size: 7.6pt; line-height: 1.35; color: #6b6b6b; }
  .tlac-vianoce .vp-nakup .tm-groups { display: block; columns: 2; column-gap: 9mm; }
  .tlac-vianoce .vp-nakup .tm-group { margin: 0; padding: 0; border: 0; background: none; break-inside: auto; }   /* skupina smie prejsť do druhého stĺpca, inak sú stĺpce nevyrovnané */
  .tlac-vianoce .vp-nakup .tm-group h3 { margin: 2.6mm 0 .4mm; font-size: 7.2pt; letter-spacing: .1em; color: var(--accent); break-after: avoid; }
  .tlac-vianoce .vp-nakup ul { list-style: none; margin: 0; padding: 0; }
  .tlac-vianoce .vp-nakup li { margin: 0; padding: .8mm 0; border: 0; break-inside: avoid; }
  .tlac-vianoce .vp-nakup li + li { border-top: .6pt solid #fff; }
  .tlac-vianoce .vp-nakup label { display: block; position: relative; margin: 0; padding: 0 0 0 5.4mm; font-size: 9.2pt; line-height: 1.35; }
  .tlac-vianoce .vp-nakup label::before { content: ""; position: absolute; left: 0; top: .6mm; width: 3.2mm; height: 3.2mm; border: .8pt solid #6b6b6b; border-radius: .7mm; background: #fff; }
  .tlac-vianoce .vp-nakup input { display: none; }
  .tlac-vianoce .vp-nakup .amt { font-weight: 700; }
  .tlac-vianoce .vp-nakup .note { font-size: 7.4pt; color: #6b6b6b; }
  .tlac-vianoce .vp-nakup input:checked + span { color: #8a8a8a; text-decoration: line-through; }
  .tlac-vianoce .vp h2, .tlac-vianoce .vp h3 { break-after: avoid; }
  .vp-kroky > li { break-inside: avoid; }
  /* celá stránka bez výberu pečiva: nadpis ako pri pláne (bez sivého pásu) s textom pre papier, zoznam pečiva v dvoch stĺpcoch bez fotiek
     so štvorčekom na odškrtnutie, krátke „Ako pečivo uskladniť“; prázdny „Môj plán pečenia“ sa netlačí */
  .vp-tlac .page-band { margin: 0; padding: 0; border: 0; background: none; }
  .vp-tlac .page-head { padding: 0; }
  .vp-tlac .page-head .eyebrow { margin: 0; font-size: 7.5pt; letter-spacing: .12em; color: var(--accent); }
  .vp-tlac .page-head h1 { margin: .8mm 0 1.6mm; font-size: 19pt; line-height: 1.12; }
  .vp-tlac .page-head .vp-web { display: none; }
  .vp-plan:has(> .vp-prazdne:not([hidden])) { display: none; }
  .vp-druh { margin-top: 5mm; }
  .vp-hlava, .vp-preco { break-after: avoid; }
  .vp-hlava h2 { font-size: 13pt; }
  .vp-kedy { font-size: 9pt; color: var(--accent); }
  .vp-preco { margin: 1mm 0 1.6mm; font-size: 8.6pt; line-height: 1.35; color: #333; }
  .vp-zoznam { display: block; columns: 2; column-gap: 9mm; }
  .vp-zoznam > li { display: block; position: relative; margin: 0; padding: .8mm 0 .8mm 5.4mm; border: 0; border-radius: 0; background: none; break-inside: avoid; }
  .vp-zoznam > li::before { content: ""; position: absolute; left: 0; top: 1.4mm; width: 3.2mm; height: 3.2mm; border: .8pt solid #6b6b6b; border-radius: .7mm; background: #fff; }
  .vp-recept { display: block; }
  .vp-recept input, .vp-recept .ph { display: none; }
  .vp-nazov { font-size: 9.6pt; line-height: 1.35; }
  .vp-info { padding: 5mm 0 0; break-inside: avoid; }
  .vp-info .prose { font-size: 9pt; line-height: 1.42; }
  .vp-info h2 { margin: 0 0 1.4mm; font-size: 13pt; }
  .vp-info ul { margin: 0 0 1.6mm; padding-left: 4.5mm; }
  .vp-info li { margin: 0 0 .7mm; }
  .vp-info p { margin: 0; }
}
/* varenie dopredu (/varenie-dopredu/, generuj-web.py vd_stranka, docs/varenie-dopredu.md) */
.vd-nedela { margin-top: 36px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.vd-nedela > h2 { margin: 0 0 14px; }
.vd-recepty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vd-varit { display: grid; gap: 8px; align-content: start; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.vd-varit .tm-dish { margin: 0; padding: 0; }
.vd-porcie { margin: 0; font-size: .9rem; color: var(--text-2); }
.vd-tip { margin: 14px 0 0; font-size: .92rem; color: var(--text-2); }
.vd-info { padding-top: 40px; }
@media (max-width: 900px) { .vd-recepty { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .vd-nedela { padding: 16px 14px; } }
/* desiaty do školy (/desiaty-do-skoly/, generuj-web.py ds_stranka, docs/desiaty-do-skoly.md): deň s jednou desiatou */
.tm-jedno .tm-dish { grid-column: span 2; }
.ds-ovocie { margin: 18px 0 0; padding: 14px 18px; background: var(--surface); border-radius: var(--r); color: var(--text-2); }
.ds-info { padding-top: 40px; }
@media (max-width: 900px) { .tm-jedno .tm-dish { grid-column: 1 / -1; } }

/* ---------- /aplikacia/ – aplikácie pre iPhone a Android (generuj-web.py app_page, iba po zverejnení v obchodoch) */
.app-uvod { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; margin: 0 0 48px; }
.app-perex { margin: 0 0 24px; font-size: 1.2rem; line-height: 1.8; text-align: justify; text-align-last: center; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
.app-tlacidla { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 14px; }
.app-pozn { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
.app-uvod-foto { display: flex; gap: 20px; align-items: flex-start; }
.app-telefon { width: 220px; }
.app-telefon + .app-telefon { margin-top: 56px; }
.app-telefon img, .app-galeria img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -24px rgba(var(--dark-rgb), .5); }
.app-sekcia { margin: 0 0 48px; }
.app-sekcia > h2 { margin: 0 0 20px; font-size: 1.75rem; text-align: center; }
.app-funkcie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.app-funkcia { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.app-funkcia svg { display: block; width: 28px; height: 28px; margin: 0 0 12px; color: var(--accent); }
.app-funkcia h3 { margin: 0 0 6px; font-size: 1.15rem; }
.app-funkcia p { margin: 0; color: var(--text-2); font-size: .98rem; line-height: 1.6; }
.app-prepinac { display: flex; justify-content: center; margin: 0 0 20px; }
.app-prepinac label { padding: 8px 24px; border: 1px solid var(--line-2); background: #fff; color: var(--ui); font-weight: 600; cursor: pointer; }
.app-prepinac label:first-child { border-radius: 999px 0 0 999px; }
.app-prepinac label:last-child { border-left: 0; border-radius: 0 999px 999px 0; }
#app-os-ios:checked ~ .app-prepinac label[for="app-os-ios"], #app-os-android:checked ~ .app-prepinac label[for="app-os-android"] { background: var(--dark); border-color: var(--dark); color: #fff; }
#app-os-ios:focus-visible ~ .app-prepinac label[for="app-os-ios"], #app-os-android:focus-visible ~ .app-prepinac label[for="app-os-android"] { outline: 2px solid var(--accent); outline-offset: 2px; }
#app-os-ios:checked ~ .app-g-android, #app-os-android:checked ~ .app-g-ios { display: none; }
.app-galeria { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 16px; padding: 4px 2px 18px; overflow-x: auto; scroll-snap-type: x mandatory; }
.app-galeria img { border-radius: 16px; scroll-snap-align: start; }
.app-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
.app-info section { padding: 26px 28px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.app-info h2 { margin: 0 0 12px; font-size: 1.4rem; }
.app-info p, .app-info ul { margin: 0 0 12px; line-height: 1.7; }
.app-info p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
@media (max-width: 1000px) { .app-funkcie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .app-uvod { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 36px; }
  .app-perex, .app-info p { font-size: 1.06rem; text-align: left; text-align-last: auto; -webkit-hyphens: manual; hyphens: manual; }
  .app-uvod-foto { justify-content: center; }
  .app-telefon { width: 40vw; }
  .app-telefon + .app-telefon { margin-top: 36px; }
  .app-funkcie, .app-info { grid-template-columns: minmax(0, 1fr); }
  .app-galeria { grid-auto-columns: 42vw; }
  .app-info section { padding: 22px 18px 12px; }
}
@media print { .app-tlacidla, .app-prepinac { display: none; } }
.jed-ciel { flex-basis: 100%; margin: -6px 0 0; font-size: .92rem; color: var(--text-2); }
.jed-kcal.jed-ok { color: #2f6b2f; }
.jed-kcal.jed-nad { color: var(--accent-2); }
.jed-kcal.jed-pod { color: var(--muted); }

/* ---------- kalkulačka kalórií (/kalkulacka-kalorii/, sablona/kalkulacka.js, docs/kalkulacka-kalorii.md) */
.kal { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px 40px; align-items: start; padding-top: 32px; }
.kal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.kal-pohlavie { grid-column: 1 / -1; display: flex; gap: 10px; margin: 0; padding: 0; border: 0; }
.kal-pohlavie legend { margin-bottom: 6px; font-weight: 700; }
.kal-pohlavie label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; cursor: pointer; }
.kal-pohlavie label:has(input:checked) { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.kal-pole { display: grid; gap: 6px; font-weight: 700; }
.kal-siroke { grid-column: 1 / -1; }
.kal-vstup { display: flex; align-items: center; gap: 8px; }
.kal-vstup em { font-style: normal; font-weight: 400; color: var(--muted); }
.kal-form input[type="number"], .kal-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.kal-vysledok { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.kal-prazdne { margin: 0; color: var(--muted); }
.kal-hlavne { display: grid; gap: 2px; }
.kal-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.kal-hlavne strong { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 600; line-height: 1.1; color: var(--heading); }
.kal-pod { font-size: .92rem; color: var(--muted); }
.kal-varovanie { margin: 14px 0 0; padding: 12px 14px; background: var(--accent-soft); border-radius: var(--r-sm); color: var(--heading); }
.kal-cisla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; }
.kal-cisla div { padding: 10px 14px; background: var(--surface); border-radius: var(--r-sm); }
.kal-cisla dt { font-size: .8rem; color: var(--muted); }
.kal-cisla dd { margin: 0; font-weight: 700; }
.kal-cisla small { font-weight: 400; color: var(--muted); }
.kal-vysledok h3 { margin: 20px 0 6px; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.kal-jedla { list-style: none; margin: 0; padding: 0; }
.kal-jedla li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line-2); }
.kal-jedla b { white-space: nowrap; }
.kal-akcie { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kal-pozn { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }
.kal-info { grid-column: 1 / -1; padding-top: 24px; }
.kal-tab { border-collapse: collapse; margin: 6px 0 14px; }
.kal-tab th, .kal-tab td { padding: 6px 14px 6px 0; border-bottom: 1px solid var(--line); text-align: left; }
.kal-zdroje li { font-size: .9rem; }
@media (max-width: 900px) { .kal { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .kal-form { padding: 16px; } .kal-vysledok { padding: 18px; } .kal-akcie .btn { flex: 1 1 100%; } }
@media print { .kal-form { display: none; } }

/* ---------- kalkulačka kalórií receptu (/kalkulacka-kalorii-receptu/, sablona/kalkulacka-receptu.js, docs/kalkulacka-kalorii-receptu.md) */
.krc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px 40px; align-items: start; padding-top: 32px; }
.krc-vstup { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.krc-hlava { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 12px; }
.krc-hlava h2 { margin: 0; font-size: 1.4rem; }
.krc-porcie { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.krc-riadky { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.krc-riadok { display: grid; grid-template-columns: 96px 140px minmax(0, 1fr) 34px; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.krc-sur { grid-column: 1 / -1; }
.krc-kcal { grid-column: 3; grid-row: 2; text-align: right; }
.krc-riadok input, .krc-riadok select { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: inherit; }
.krc-riadok.zle input.krc-nazov, .krc-riadok.zle input.krc-mn:placeholder-shown { border-color: var(--accent); }
.krc-sur { position: relative; }
@media (min-width: 1240px) {   /* široký riadok: surovina, množstvo, jednotka, kcal, × */
  .krc-riadok { grid-template-columns: minmax(0, 1fr) 80px 150px 74px 34px; padding-bottom: 0; border-bottom: 0; }
  .krc-sur { grid-column: auto; }
  .krc-kcal { grid-column: auto; grid-row: auto; text-align: right; }
}
.krc-navrhy { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: var(--sh-3); max-height: 300px; overflow-y: auto; }
.krc-navrhy li { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.krc-navrhy li[aria-selected="true"], .krc-navrhy li:hover { background: var(--surface); color: var(--accent-2); }
.krc-kcal { font-size: .86rem; font-weight: 700; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.krc-chyba { grid-column: 1 / -1; margin: -2px 0 4px; font-size: .84rem; color: var(--accent-2); }
.krc-chyba[hidden] { display: none; }
.krc-akcie { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.krc-vlozit { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.krc-vlozit summary { font-weight: 700; cursor: pointer; color: var(--ui); }
.krc-vlozit p { margin: 10px 0; font-size: .92rem; color: var(--text-2); }
.krc-vlozit textarea { display: block; width: 100%; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font: inherit; resize: vertical; }
.krc-vlozene:empty { display: none; }
.krc-vysledok { position: sticky; top: 90px; }
.krc-tab { width: 100%; margin: 16px 0 0; border-collapse: collapse; font-size: .94rem; }
.krc-tab th, .krc-tab td { padding: 7px 0 7px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.krc-tab th[scope="row"] { padding-left: 0; text-align: left; font-weight: 600; white-space: normal; }
.krc-tab thead th { font-size: .78rem; font-weight: 700; color: var(--muted); }
.krc-tab .krc-pod th { padding-left: 12px; font-weight: 400; color: var(--text-2); }
.krc .kal-info { grid-column: 1 / -1; }
@media (max-width: 900px) { .krc { grid-template-columns: minmax(0, 1fr); } .krc-vysledok { position: static; } }
@media (max-width: 600px) {
  .krc-vstup { padding: 16px 14px; }
  .krc-riadok { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px; }
  .krc-kcal { grid-column: 1 / -1; grid-row: 3; text-align: left; }
  .krc-kcal:empty { display: none; }
}
@media print { .krc-akcie, .krc-vlozit, .krc-riadok .jed-x { display: none; } .krc-vysledok { position: static; } }
/* Prevod kuchynských mier (/prevod-kuchynskych-mier/) a prepočet formy na pečenie (/prepocet-formy-na-pecenie/), docs/kuchynske-pomocky.md */
.pm .kal-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.pm .kal-form input[type="text"] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.pm-obal { overflow-x: auto; margin: 6px 0 14px; }
.pm-tab { width: 100%; margin: 0; font-size: .94rem; }
.pm-tab td { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.pm-tab thead th:not(:first-child) { text-align: right; }
.pm-tab th[scope="row"] { font-weight: 600; }
.pm-tab th[scope="row"] a { color: inherit; text-decoration-color: var(--line-2); }
.pm-tab .pm-skup th { padding-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.pm-bal td:nth-child(2) { text-align: left; white-space: normal; }
.pm-bal thead th:nth-child(2) { text-align: left; }
.ing-miery { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.kal-volba { grid-column: 1 / -1; display: flex; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.kal-volba legend { margin-bottom: 6px; font-weight: 700; }
.kal-volba label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; text-align: center; cursor: pointer; }
.kal-volba label:has(input:checked) { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }
.fo-rovn td:last-child, .fo-rovn thead th:last-child { text-align: left; white-space: normal; }
.fo-forma { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fo-forma + .fo-forma { padding-top: 10px; }
.fo-forma > legend { margin-bottom: 10px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--heading); }
.fo-forma [data-pre="o"], .fo-forma [data-pre="v"] { grid-column: 1 / -1; }
.fo-strany { display: contents; }
.fo [hidden] { display: none !important; }
.fo .krc-vlozit { margin-top: 0; }
.fo-suroviny { margin: 0; padding: 0; list-style: none; }
.fo-suroviny li { padding: 7px 0; border-top: 1px dashed var(--line-2); }
.fo-suroviny b { color: var(--heading); }
.fo-suroviny .fo-bez { color: var(--muted); }
@media (max-width: 600px) { .pm-tab { font-size: .88rem; } .pm-tab th, .pm-tab td { padding-right: 8px; } .fo-tab { font-size: .8rem; } .fo-tab th, .fo-tab td { padding-right: 5px; } .kal-volba label { padding: 9px 4px; font-size: .92rem; } }

/* ---------- /co-ponukaju-domace-recepty/ – čo web a aplikácia ponúkajú (generuj-web.py vyhody_page) */
.cp { padding-top: 8px; }
.cp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; margin: 0 0 44px; }
.cp-perex { margin: 0 0 24px; font-size: 1.2rem; line-height: 1.8; }
.cp-tlacidla { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.cp-kolaz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 0 26px; }
.cp-kolaz a { display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.cp-kolaz a:nth-child(2n) { transform: translateY(26px); }
.cp-kolaz img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.cp-kolaz a:hover img { transform: scale(1.04); }
.cp-cisla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 56px; }
.cp-cislo { padding: 24px 18px 22px; border-radius: var(--r); background: var(--accent-soft); text-align: center; }
.cp-cislo b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 600; line-height: 1.05; color: var(--accent); }
.cp-cislo span { display: block; margin-top: 8px; color: var(--text-2); font-size: .98rem; line-height: 1.4; }
.cp-sekcia { margin: 0 0 56px; }
.cp-sekcia.cp-svetla { padding: 40px 32px 36px; border-radius: var(--r-lg); background: var(--surface); }
.cp-sekcia > h2, .cp-kto h2 { margin: 0 0 10px; text-align: center; }
.cp-uvod { max-width: 720px; margin: 0 auto 26px; text-align: center; color: var(--text-2); }
.cp-karty { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cp-karty.cp-tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-karta { display: flex; flex-direction: column; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--sh-1); }
a.cp-karta { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.cp-karta:hover { border-color: rgba(var(--accent-rgb), .35); box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--ink); }
.cp-ikona { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 0 0 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.cp-ikona svg { display: block; width: 25px; height: 25px; }
.cp-ikona svg:not([fill]) { fill: currentColor; }   /* plná hviezdička (ICON_STAR); ostatné ikony sú čiarové */
.cp-karta h3 { margin: 0 0 6px; font-size: 1.2rem; }
.cp-karta p { flex: 1; margin: 0; color: var(--text-2); font-size: .98rem; line-height: 1.6; }
.cp-viac { margin-top: 14px; color: var(--accent); font-size: .95rem; font-weight: 700; }
.cp-viac::after { content: " →"; }
.cp-pas { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin: 0 0 56px; padding: 40px 44px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.cp-pas h2 { margin: 0 0 14px; color: #fff; }
.cp-pas ul { margin: 0 0 24px; padding: 0; list-style: none; }
.cp-pas li { position: relative; margin: 0 0 8px; padding-left: 28px; color: rgba(255, 255, 255, .9); }
.cp-pas li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #ff8a7f; font-weight: 700; }
.cp-pas .btn.cp-svetle { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.cp-pas .btn.cp-svetle:hover { border-color: #fff; color: #fff; }
.cp-pas-foto img { width: 220px; height: auto; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }
.cp-zbierky { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.cp-kto { margin: 0 0 32px; padding: 36px 32px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; }
.cp-kto p { max-width: 760px; margin: 0 auto 18px; }
.cp-kto .cp-tlacidla { justify-content: center; }
@media (max-width: 900px) { .cp-cisla, .cp-karty.cp-tri { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cp-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 32px; }
  .cp-perex { font-size: 1.06rem; }
  .cp-tlacidla .btn { flex: 1 1 100%; }
  .cp-kolaz { gap: 10px; padding-bottom: 14px; }
  .cp-kolaz a:nth-child(2n) { transform: translateY(14px); }
  .cp-cisla { gap: 10px; margin-bottom: 40px; }
  .cp-cislo { padding: 18px 10px 16px; }
  .cp-sekcia { margin-bottom: 40px; }
  .cp-karty.cp-tri { grid-template-columns: minmax(0, 1fr); }
  .cp-karty { gap: 10px; }
  .cp-karta { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px 16px 14px; }
  .cp-ikona { grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; }
  .cp-ikona svg { width: 22px; height: 22px; }
  .cp-karta h3 { font-size: 1.1rem; }
  .cp-karta p { font-size: .95rem; }
  .cp-viac { margin-top: 8px; }
  .cp-sekcia.cp-svetla { padding: 28px 16px 22px; border-radius: var(--r); }
  .cp-pas { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 20px; border-radius: var(--r); }
  .cp-pas-foto { display: flex; justify-content: center; }
  .cp-pas-foto img { width: 58vw; max-width: 240px; }
  .cp-kto { padding: 26px 18px 22px; border-radius: var(--r); }
}
@media print { .cp-tlacidla, .cp-kolaz { display: none; } }
