/* ==========================================================================
   jedalnicek-na-mieru.sk – style.css
   Komponenty podľa WEB-KONTRAKT.md. Bez frameworku, bez externých zdrojov.
   ========================================================================== */

/* ---------- Fonty: Roboto self-hosted (WOFF2 doplní majiteľ, README) ---------- */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: local("Roboto"), local("Roboto-Regular"), url("/assets/fonts/roboto-400.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: local("Roboto Bold"), local("Roboto-Bold"), url("/assets/fonts/roboto-700.woff2") format("woff2");
}
/* Metrický fallback, aby výmena fontu neposúvala layout (CLS) */
@font-face {
  font-family: "Roboto Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 100.3%;
  ascent-override: 92.7%;
  descent-override: 24.4%;
  line-gap-override: 0%;
}

/* ---------- Premenné ---------- */
:root {
  --cream: #FAF6EF;
  --cream-2: #F1EADF;
  --white: #FFFFFF;
  --text: #2B3533;
  --text-2: #4A524F;
  --muted: #6B665C;
  --sage: #3F6B50;
  --sage-dark: #2F5A40;
  --sage-light: #E4EFE7;
  --terra: #A9502C;
  --terra-dark: #8C3F20;
  --terra-light: #F6E3D9;
  --border: #E7DFD1;
  --border-2: #D9CFBE;
  --honey: #F2D9A6;
  --honey-light: #FBF0D9;
  --honey-text: #5C4210;
  --c-L: #7FA7C9;  --c-L-bg: #E3EDF5;  --c-L-text: #2E5778;  --c-L-strong: #4F7FA6;
  --c-H: #8E6A9E;  --c-H-bg: #EEE6F2;  --c-H-text: #5E3F6E;  --c-H-strong: #8E6A9E;
  --c-FS: #E9A15B; --c-FS-bg: #FBEBD9; --c-FS-text: #7A4A12; --c-FS-strong: #B36A1F;
  --c-G: #C9A54A;  --c-G-bg: #F5EDD5;  --c-G-text: #6B5418;  --c-G-strong: #8C7020;
  --c-FM: #3F9C9A; --c-FM-bg: #DDF0EF; --c-FM-text: #1F5E5C; --c-FM-strong: #2C7472;
  --font: "Roboto", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 12px 32px rgba(43, 53, 51, 0.08);
  --focus: 3px solid #1F4D33;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
svg { flex: none; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
table { border-collapse: collapse; width: 100%; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }
.muted { color: var(--muted); }
.placeholder { background: var(--honey-light); padding: 0 4px; border-radius: 4px; }

/* ---------- Kontajnery ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding-inline: 20px; } }
.container--narrow { max-width: 860px; }
.section { padding-block: 64px; }
.section--white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--sand { background: var(--cream-2); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.eyebrow { margin: 0 0 12px; color: var(--sage); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }

/* ---------- Text ---------- */
.prose { font-size: 18px; line-height: 1.6; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .5em; scroll-margin-top: 24px; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .4em; scroll-margin-top: 24px; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .35em; }
.prose table { margin: 0 0 1.2em; font-size: 16px; background: var(--white); }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream-2); }
.lead { font-size: 21px; line-height: 1.55; color: var(--text); }
.meta-line { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.meta-line a { color: var(--muted); }

/* ---------- Hlavička ---------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--cream); position: relative; z-index: 20; }
.site-header__inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-height: 48px; white-space: nowrap; flex: none; }
.logo span { font-size: 22px; font-weight: 600; }
.logo:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 2px; align-items: center; }
.nav__item { position: relative; }
.nav__item--has-sub { display: flex; flex-wrap: nowrap; align-items: center; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 10px; white-space: nowrap;
  color: var(--sage); text-decoration: none; font-size: 17px; font-weight: 500;
  background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 8px;
}
.nav__item--has-sub .nav__link { padding-right: 2px; }
.nav__toggle { padding: 0 6px; min-width: 32px; justify-content: center; }
.nav__link:hover, .nav__toggle:hover { color: var(--text); background: var(--cream-2); }
.nav__link[aria-current="page"], .nav__link[aria-current="true"] { color: var(--text); font-weight: 700; }
.nav__toggle svg { transition: transform .15s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
  display: none; list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
html:not(.js) .nav__toggle { display: none; }
.nav__sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--text); border-radius: 8px; white-space: nowrap; }
.nav__sub a:hover { background: var(--cream); color: var(--sage); }
.nav-cta { white-space: nowrap; flex: none; }
.menu-btn {
  display: none; min-height: 48px; min-width: 48px; padding: 0 14px; border: 2px solid var(--sage); border-radius: 12px;
  background: var(--white); color: var(--sage); font: inherit; font-weight: 700; cursor: pointer; align-items: center; gap: 8px; flex: none;
}
.menu-btn__icon { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menu-btn__icon::before { top: -6px; } .menu-btn__icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 0; transform: rotate(-45deg); }
/* Pod 1140 px sa logo + 5 položiek + CTA nezmestia do riadku: hamburger */
@media (max-width: 1139px) {
  .site-header__inner { flex-wrap: wrap; }
  html.js .menu-btn { display: inline-flex; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; order: 3; padding-bottom: 12px; }
  html.js .nav:not(.is-open) { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-top: 1px solid var(--border); }
  .nav__item--has-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .nav__link { width: 100%; padding: 0 8px; }
  .nav__toggle { min-width: 48px; }
  .nav__sub { grid-column: 1 / -1; position: static; box-shadow: none; border: 0; padding: 0 0 8px 16px; background: transparent; min-width: 0; }
  .nav-cta { justify-content: center; margin-top: 12px; }
}
@media (min-width: 1140px) { .nav { display: flex !important; } }
@media (max-width: 400px) { .logo span { font-size: 19px; } .site-header__inner { padding: 10px 16px; gap: 8px; } }

/* Accent pruh pod hlavičkou */
.accent-bar { height: 8px; background: var(--sage); }
.accent-bar--L { background: var(--c-L); }
.accent-bar--H { background: var(--c-H); }
.accent-bar--FS { background: var(--c-FS); }
.accent-bar--G { background: var(--c-G); }
.accent-bar--FM { background: var(--c-FM); }

/* Omrvinky */
.breadcrumbs { font-size: 15px; color: var(--muted); padding-top: 16px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-2); margin-right: 4px; }
.breadcrumbs a { color: var(--sage); display: inline-flex; min-height: 32px; align-items: center; }
@media (max-width: 768px) { .breadcrumbs a { min-height: 44px; } .breadcrumbs { padding-top: 6px; } }
.breadcrumbs [aria-current="page"] { color: var(--text-2); }

main { display: block; padding-bottom: 48px; }
main:focus { outline: none; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--terra); color: var(--white); border-color: var(--terra); }
.btn--primary:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--sage); border-color: var(--sage); }
.btn--secondary:hover { background: var(--sage); color: var(--white); }
.btn--light { background: var(--white); color: var(--sage-dark); border-color: var(--white); }
.btn--light:hover { background: var(--cream); color: var(--text); }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { background: #CFC8BC; border-color: #CFC8BC; color: #4A4740; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-strong { font-weight: 700; }

/* ---------- Boxy ---------- */
.note {
  display: flex; gap: 12px; align-items: flex-start; background: var(--honey-light); border: 1px solid var(--honey);
  border-left: 6px solid #C9962E; border-radius: 12px; padding: 16px 18px; margin: 0 0 1.2em; font-size: 17px;
}
.note::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C4210' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16v.5'/%3E%3C/svg%3E");
}
.note > :last-child { margin-bottom: 0; }
/* Fragment s vlastnou inline ikonou: bez druhej ikony z ::before */
.note:has(> svg:first-child)::before { content: none; }
.note--disclaimer { background: var(--honey); border-color: #E2C17E; border-left-color: #A87A1E; color: var(--text); }
.note--disclaimer a { color: var(--text); font-weight: 700; }
.note--success { background: var(--sage-light); border-color: #C3DCC9; border-left-color: var(--sage); }
.note--success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5A40' stroke-width='2.5'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E");
}
.note--error { background: #FBE4DE; border-color: #E9B4A4; border-left-color: #9E2F14; }

.toc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 32px; font-size: 17px; }
.toc__title, .toc > p:first-child, .toc > h2:first-child { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.toc ol, .toc ul { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
@media (max-width: 768px) { .toc li { margin: 0; } .toc li a { display: inline-block; padding-block: 10px; } }

.reviewer { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 1.5em; font-size: 16px; }
.reviewer__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--sage-light); display: flex; align-items: center; justify-content: center; color: var(--sage-dark); font-weight: 700; }
.reviewer p { margin: 0 0 .3em; }
.reviewer strong { font-size: 17px; }

.sources { font-size: 15px; color: var(--text-2); padding-left: 1.4em; }
.sources li { margin-bottom: .5em; }
.sources a { word-break: break-word; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.table-wrap table { margin: 0; min-width: 560px; }
.table-wrap:focus-visible { outline: var(--focus); }

/* ---------- Potraviny áno / opatrne / nie ---------- */
.foods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 1.5em; }
.foods__col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; border-top-width: 6px; font-size: 16px; }
.foods__col h3, .foods__col h4 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 0 0 10px; }
.foods__col ul { list-style: none; padding: 0; margin: 0; }
.foods__col li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.foods__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; width: 20px; text-align: center; }
.foods__col--yes { border-top-color: #4E8A62; }
.foods__col--yes h3, .foods__col--yes h4 { color: #2F5A40; }
.foods__col--yes li::before { content: "\2713"; color: #2F5A40; }
.foods__col--caution { border-top-color: #C9962E; }
.foods__col--caution h3, .foods__col--caution h4 { color: #6E4E0F; }
.foods__col--caution li::before { content: "!"; color: #6E4E0F; }
.foods__col--no { border-top-color: #B5482A; }
.foods__col--no h3, .foods__col--no h4 { color: #8C2F14; }
.foods__col--no li::before { content: "\2715"; color: #8C2F14; }
@media (max-width: 760px) { .foods { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Robte / Nerobte ---------- */
.do-dont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 1.5em; }
.do-dont__do, .do-dont__dont { border-radius: var(--radius); padding: 18px 20px; font-size: 16px; }
.do-dont__do { background: var(--sage-light); border: 1px solid #C3DCC9; }
.do-dont__dont { background: #FBE9E3; border: 1px solid #EBC3B5; }
.do-dont h3, .do-dont h4 { font-size: 19px; margin: 0 0 10px; }
.do-dont__do h3, .do-dont__do h4 { color: #2F5A40; }
.do-dont__dont h3, .do-dont__dont h4 { color: #8C2F14; }
.do-dont ul { list-style: none; padding: 0; margin: 0; }
.do-dont li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.do-dont__do li::before { content: "\2713"; position: absolute; left: 0; color: #2F5A40; font-weight: 700; }
.do-dont__dont li::before { content: "\2715"; position: absolute; left: 0; color: #8C2F14; font-weight: 700; }
@media (max-width: 640px) { .do-dont { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Štítky ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--cream-2); color: var(--text); line-height: 1.5; text-decoration: none; }
a.chip { position: relative; }
a.chip::after { content: ""; position: absolute; inset: -10px -2px; } /* plocha na ťuknutie 44 px bez zmeny vzhľadu */
.chip--L { background: var(--c-L-bg); color: var(--c-L-text); }
.chip--H { background: var(--c-H-bg); color: var(--c-H-text); }
.chip--FS { background: var(--c-FS-bg); color: var(--c-FS-text); }
.chip--G { background: var(--c-G-bg); color: var(--c-G-text); }
.chip--FM { background: var(--c-FM-bg); color: var(--c-FM-text); }
.chip--hot { background: var(--terra-light); color: #7A3518; }
.chip--ok { background: var(--sage-light); color: var(--sage-dark); }
.chip--partial { background: var(--honey); color: #4A3308; }
.chip--soon { background: #ECE7DE; color: #4A4740; }

/* ---------- Karty ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin: 0 0 1.5em; }
.card-grid--small { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text); position: relative; overflow: hidden; }
.card h3 { margin: 0; font-size: 22px; }
.card p { margin: 0; font-size: 16px; color: var(--text-2); }
.card__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card__price { font-size: 20px; font-weight: 700; }
a.card { text-decoration: none; }
.card h3 a, .card__foot a, .section__head > a { display: inline-block; padding-block: 10px; margin-block: -10px; } /* plocha na ťuknutie bez posunu layoutu */
a.card:hover { border-color: var(--sage); }
.card--featured { outline: 3px solid var(--terra); border-color: transparent; }
.card--topic { background: var(--cream); border: 0; border-top: 6px solid var(--sage); border-radius: var(--radius); }
.card--L { border-top-color: var(--c-L); } .card--H { border-top-color: var(--c-H); } .card--FS { border-top-color: var(--c-FS); }
.card--G { border-top-color: var(--c-G); } .card--FM { border-top-color: var(--c-FM); }
.card--product { padding: 0; }
.card--product .card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cover { height: 150px; position: relative; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; background: #EEE9E0; border-bottom: 1px solid var(--border); }
.cover__stripes { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-direction: column; }
.cover__stripes span { height: 12px; display: block; }
.stripe--L { background: var(--c-L); } .stripe--H { background: var(--c-H); } .stripe--F, .stripe--S, .stripe--FS { background: var(--c-FS); }
.stripe--G { background: var(--c-G); } .stripe--FM { background: var(--c-FM); }
.cover__title { padding: 24px 16px 0; text-align: center; font-weight: 600; color: var(--text); font-size: 17px; }

/* ---------- CTA pás ---------- */
.cta-band { background: var(--sage); color: var(--white); border-radius: var(--radius-lg); padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; margin: 40px 0; }
.cta-band h2, .cta-band h3, .cta-band p { color: var(--white); margin: 0 0 6px; }
.cta-band > div { flex: 1 1 360px; min-width: 0; }
.cta-band a:not(.btn) { color: var(--white); }
.cta-band .btn--primary { border-color: var(--white); }
@media (max-width: 560px) { .cta-band { padding: 28px 22px; } }

/* ---------- Ukážkový deň ---------- */
.day-plan { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.5em; font-size: 17px; }
.day-plan caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.day-plan th, .day-plan td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.day-plan tr:last-child th, .day-plan tr:last-child td { border-bottom: 0; }
.day-plan th { width: 30%; color: var(--sage-dark); font-weight: 700; background: var(--cream); }
.day-plan td small { display: block; color: var(--muted); font-size: 15px; }
@media (max-width: 520px) {
  .day-plan th, .day-plan td { display: block; width: 100%; }
  .day-plan th { border-bottom: 0; padding-bottom: 4px; }
}

/* ---------- FAQ ---------- */
.faq { margin: 0 0 1.5em; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 19px; min-height: 48px; padding: 12px 36px 12px 0;
  display: flex; align-items: center; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; font-size: 26px; font-weight: 400; color: var(--sage); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { margin: 0 0 14px; }

/* ---------- Dva stĺpce ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.two-col__aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; } .two-col__aside { position: static; } }

/* ---------- Formuláre ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.field label, .label { font-weight: 700; }
.input {
  min-height: 48px; border-radius: 12px; border: 2px solid var(--border-2); padding: 0 16px; font: inherit; font-size: 18px;
  background: var(--white); color: var(--text); width: 100%;
}
.input:focus-visible { border-color: var(--sage); outline: var(--focus); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: #9E2F14; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; margin: 0 0 12px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--sage); }
.form-msg { font-size: 16px; margin: 8px 0 0; }
.form-msg:empty { display: none; }
.field-error { color: #9E2F14; font-size: 15px; font-weight: 700; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.form-row .input { flex: 1 1 220px; width: auto; }

/* ---------- Úvod (home) ---------- */
.hero { padding-block: 64px 56px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero__text { flex: 1 1 520px; min-width: 0; }
.hero__text .lead { max-width: 560px; margin-bottom: 28px; }
.hero__visual { flex: 1 1 380px; min-width: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { margin-top: 3px; }
@media (max-width: 640px) { .ticks { grid-template-columns: minmax(0, 1fr); } .hero { padding-top: 40px; } }
.demo-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; list-style: none; padding: 0; }
.demo-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); font-size: 16px; color: var(--muted); }
.demo-pill--on-L { background: var(--c-L-bg); border: 2px solid var(--c-L-strong); color: var(--text); font-weight: 600; }
.demo-pill--on-H { background: var(--c-H-bg); border: 2px solid var(--c-H-strong); color: var(--text); font-weight: 600; }
.demo-result { display: flex; gap: 18px; align-items: stretch; border-top: 1px dashed var(--border-2); padding-top: 20px; }
.mini-cover { width: 108px; flex: none; border-radius: 8px; overflow: hidden; background: #FFFDF8; border: 1px solid var(--border); display: flex; flex-direction: column; font-size: 14px; line-height: 1.25; }
.mini-cover > span { height: 10px; display: block; }
.mini-cover p { padding: 10px; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps__num { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.steps strong { font-size: 21px; }
.steps span:not(.steps__num) { color: var(--text-2); }
.contrast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contrast-grid > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.contrast-grid .full { grid-column: 1 / -1; background: var(--sage-light); border: 0; display: flex; gap: 12px; }
.contrast-grid small { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
@media (max-width: 520px) { .contrast-grid { grid-template-columns: minmax(0, 1fr); } }
.shops { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.shops li { padding: 10px 18px; border-radius: 999px; background: var(--cream-2); font-weight: 600; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.lm-band { background: var(--sage); color: var(--white); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.lm-band > * { flex: 1 1 380px; min-width: 0; }
.lm-band h2, .lm-band p { color: var(--white); }
.lm-band a { color: var(--white); }
.lm-band .input { border-color: var(--white); }
.lm-band .note { color: var(--text); }
.lm-band .note a { color: var(--sage-dark); }
@media (max-width: 560px) { .lm-band { padding: 28px 20px; } }

/* ---------- Engine ---------- */
.engine { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); margin: 0 0 48px; }
.engine__progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; flex-wrap: wrap; }
.engine__progress li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.engine__progress li + li::before { content: ""; width: 28px; height: 2px; background: var(--border-2); }
.engine__progress .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.engine__progress [aria-current="step"] { color: var(--text); font-weight: 700; }
.engine__progress [aria-current="step"] .dot { background: var(--sage); border-color: var(--sage); color: var(--white); }
@media (max-width: 560px) { .engine__progress { gap: 6px 16px; } .engine__progress li + li::before { display: none; } }
.engine__progress .is-done .dot { background: var(--sage-light); border-color: var(--sage); color: var(--sage-dark); }
.engine fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.engine legend { font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; margin: 0 0 6px; padding: 0; }
.engine__hint { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; margin: 0 0 16px; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; min-height: 72px; text-align: left; padding: 16px;
  background: var(--cream); border: 2px solid var(--border); border-left-width: 8px; border-radius: var(--radius);
  font: inherit; color: var(--text); cursor: pointer;
}
.opt:hover { border-color: var(--border-2); background: #F6F0E5; }
.opt__box { flex: none; width: 26px; height: 26px; border-radius: 6px; border: 2px solid #7A746A; background: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.opt__box svg { opacity: 0; }
.opt__label { display: flex; flex-direction: column; gap: 2px; }
.opt__label strong { font-size: 18px; }
.opt__label small { font-size: 14px; color: var(--muted); line-height: 1.4; }
.opt[aria-pressed="true"] { background: var(--sage-light); border-color: var(--sage); }
.opt[aria-pressed="true"] .opt__box { background: var(--sage); border-color: var(--sage); }
.opt[aria-pressed="true"] .opt__box svg { opacity: 1; }
.opt--L { border-left-color: var(--c-L); } .opt--H { border-left-color: var(--c-H); } .opt--F, .opt--S { border-left-color: var(--c-FS); }
.opt--G { border-left-color: var(--c-G); } .opt--FM { border-left-color: var(--c-FM); } .opt--NODX { border-left-color: #8A8478; }
.opt[aria-pressed="true"].opt--L { border-color: var(--c-L-strong); } .opt[aria-pressed="true"].opt--H { border-color: var(--c-H-strong); }
.opt[aria-pressed="true"].opt--F, .opt[aria-pressed="true"].opt--S { border-color: var(--c-FS-strong); }
.opt[aria-pressed="true"].opt--G { border-color: var(--c-G-strong); } .opt[aria-pressed="true"].opt--FM { border-color: var(--c-FM-strong); }
.opt[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.opt-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; margin: 8px 0 12px; }
.opt-sep::before, .opt-sep::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.engine__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.engine__status { font-size: 16px; color: var(--muted); margin: 0; }
.summary-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: var(--cream); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin: 0 0 24px; font-size: 16px; }
.summary-bar strong { font-weight: 700; }
.summary-bar button { background: none; border: 0; color: var(--sage); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 8px; }
.result__title { font-size: clamp(26px, 3.8vw, 34px); margin: 0 0 12px; }
.result__title:focus { outline: none; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 20px 0; }
.offer { border: 2px solid var(--border); border-radius: 18px; padding: 22px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.offer--primary { border-color: var(--terra); }
.offer__tier { font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0; }
.offer__price { font-size: 30px; font-weight: 700; margin: 0; }
.offer__price small { font-size: 16px; font-weight: 400; color: var(--muted); }
.offer ul { margin: 0; padding-left: 1.2em; font-size: 16px; }
.offer .btn { margin-top: auto; }
.partials { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--border-2); }
.partials h3 { font-size: 20px; }
.partial-card { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--cream); margin-bottom: 10px; font-size: 16px; }
.waitlist { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin: 20px 0; }
.waitlist h3, .waitlist h2 { margin-top: 0; }
.waitlist h2 { font-size: 22px; }
@media (max-width: 560px) { .engine { padding: 20px 16px; border-radius: 18px; } }

/* ---------- Produkt ---------- */
.product-hero { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; padding-block: 32px 16px; }
.product-cover { border-radius: 14px; overflow: hidden; background: #FFFDF8; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 3 / 4; display: flex; flex-direction: column; }
.product-cover__stripes span { display: block; height: 18px; }
.product-cover__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cover__body strong { font-size: 24px; line-height: 1.2; }
.product-cover__body small { color: var(--muted); font-size: 14px; margin-top: auto; }
@media (max-width: 860px) { .product-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } .product-cover { max-width: 260px; aspect-ratio: auto; min-height: 240px; } }
@media (max-width: 560px) { .product-cover { max-width: 240px; min-height: 0; } .product-cover__stripes span { height: 12px; } .product-cover__body { padding: 16px; } .product-cover__body strong { font-size: 20px; } }
.tier-fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.tier-fieldset legend { padding: 0; margin: 0 0 10px; }
.tier-picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tier {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; align-items: center; text-align: left; padding: 16px; border-radius: var(--radius); border: 2px solid var(--border);
  background: var(--white); font: inherit; color: var(--text); cursor: pointer; min-height: 48px; position: relative; scroll-margin-top: 24px;
}
.tier:hover { border-color: var(--border-2); }
.tier[aria-pressed="true"] { border-color: var(--terra); background: #FFF8F3; box-shadow: 0 0 0 1px var(--terra); }
.tier__name { font-weight: 700; font-size: 18px; grid-column: 1; }
.tier__desc { grid-column: 1; }
.tier__price { grid-column: 2; grid-row: 1 / span 2; }
.tier__price { font-size: 24px; font-weight: 700; }
.tier__desc { font-size: 14px; color: var(--muted); line-height: 1.4; }
.tier__badge { position: absolute; top: -11px; left: 14px; font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--terra); color: var(--white); }
.buy-box { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.buy-box__price { font-size: 32px; font-weight: 700; margin: 0; }
.buy-box__meta { font-size: 15px; color: var(--muted); margin: 4px 0 14px; }
.compare th, .compare td { text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.check-list li::before { content: "\2713"; position: absolute; left: 4px; color: var(--sage-dark); font-weight: 700; }
.cross-list { list-style: none; padding: 0; margin: 0 0 1em; }
.cross-list li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.cross-list li::before { content: "\2715"; position: absolute; left: 4px; color: #8C2F14; font-weight: 700; }
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.who > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.who h3 { font-size: 20px; }
@media (max-width: 640px) { .who { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Disclaimer pruh a päta ---------- */
.disclaimer-bar { background: var(--honey); }
.disclaimer-bar__inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.disclaimer-bar p { margin: 0; }
.disclaimer-bar a { color: var(--text); font-weight: 700; }
.site-footer { background: var(--text); color: #E9E4DA; }
.site-footer__grid { max-width: 1200px; margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; font-size: 16px; }
.site-footer h2 { font-size: 16px; color: var(--white); margin: 0 0 8px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: #E9E4DA; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: #F2D9A6; }
.site-footer__brand { font-size: 20px; color: var(--white); margin: 0 0 8px; }
.site-footer__bottom { max-width: 1200px; margin: 0 auto; padding: 16px 24px 32px; border-top: 1px solid #45514E; font-size: 14px; color: #C9C3B8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer__bottom button { background: none; border: 0; color: #C9C3B8; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; min-height: 44px; }

/* ---------- 404 a jednoduché stránky ---------- */
.page-head { padding-block: 24px 8px; }
.center-block { text-align: center; max-width: 680px; margin: 0 auto; padding-block: 48px; }
.center-block .btn-row { justify-content: center; }

@media print {
  .site-header, .site-footer, .disclaimer-bar, .cta-band, .engine__actions, .nav { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}

/* ---------- Doplnky: [hidden], filter receptov ---------- */
[hidden] { display: none !important; }
.recipe-filter { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; }
.chip-btn { min-height: 44px; padding: 6px 14px; font: inherit; font-size: 15px; font-weight: 700; border: 2px solid transparent; cursor: pointer; }
.chip-btn[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.chip-btn[aria-pressed="true"]::before { content: "\2713"; margin-right: 4px; }
.chip-btn[data-filter-reset] { background: transparent; border-color: var(--border-2); color: var(--sage); }


/* ==========================================================================
   Interaktívne komponenty (assets/js/jnm-data.js + komponenty/*.js). Prefix .jnm-
   ========================================================================== */
:root { --jnm-ok: #2F5A40; --jnm-ok-bg: #E4EFE7; --jnm-warn: #6E4E00; --jnm-warn-bg: #FBF0D9; --jnm-warn-dot: #B07D12; --jnm-bad: #8E2A12; --jnm-bad-bg: #FBE4DE; --jnm-ease: cubic-bezier(.2,.8,.2,1);
  --c-S: #D98C3C; --c-S-bg: #F9E3CB; --c-S-text: #6E3F0C; --c-S-strong: #A5601A; --c-F: var(--c-FS); --c-F-bg: var(--c-FS-bg); --c-F-text: var(--c-FS-text); --c-F-strong: var(--c-FS-strong); }
[data-jnm] { margin: 0 0 32px; }
.jnm-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); font-size: 16px; }
.jnm-panel h3 { font-size: 20px; margin: 0 0 8px; }
.jnm-panel p { margin: 0 0 .8em; }
.jnm-panel ul { padding: 0; }
@media (max-width: 560px) { .jnm-panel { padding: 16px; border-radius: 18px; } }
.jnm-label { display: block; font-weight: 700; margin: 0 0 8px; }
.jnm-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0 !important; font-size: 14px; color: var(--muted); }
.jnm-disclaimer svg { margin-top: 3px; }
.jnm-disclaimer a { color: var(--muted); }
.jnm-i-L { --c: var(--c-L); --c-bg: var(--c-L-bg); --c-text: var(--c-L-text); --c-strong: var(--c-L-strong); }
.jnm-i-H { --c: var(--c-H); --c-bg: var(--c-H-bg); --c-text: var(--c-H-text); --c-strong: var(--c-H-strong); }
.jnm-i-F { --c: var(--c-F); --c-bg: var(--c-F-bg); --c-text: var(--c-F-text); --c-strong: var(--c-F-strong); }
.jnm-i-S { --c: var(--c-S); --c-bg: var(--c-S-bg); --c-text: var(--c-S-text); --c-strong: var(--c-S-strong); }
.jnm-i-G { --c: var(--c-G); --c-bg: var(--c-G-bg); --c-text: var(--c-G-text); --c-strong: var(--c-G-strong); }
.jnm-i-FM { --c: var(--c-FM); --c-bg: var(--c-FM-bg); --c-text: var(--c-FM-text); --c-strong: var(--c-FM-strong); }
/* prepínače intolerancií */
.jnm-tog-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.jnm-tog-row legend { font-weight: 700; margin: 0 0 10px; padding: 0; font-size: 16px; width: 100%; }
.jnm-tog { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 10px; border-radius: 999px; border: 2px solid var(--border-2); background: var(--white); font: inherit; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.jnm-tog:hover { border-color: var(--text-2); }
.jnm-tog .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); transition: transform .25s var(--jnm-ease); }
.jnm-tog[aria-pressed="true"] { background: var(--c-bg); border-color: var(--c-strong); color: var(--c-text); }
.jnm-tog[aria-pressed="true"] .dot { transform: scale(1.35); }
.jnm-tog[disabled] { cursor: default; }
.jnm-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c-bg, var(--cream-2)); color: var(--c-text, var(--text)); line-height: 1.5; }
.jnm-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); }
@keyframes jnm-in { to { opacity: 1; transform: none; } }
/* 1. Skontrolujte potravinu */
.jnm-fc-search { position: relative; max-width: 560px; }
.jnm-fc-search label { display: block; font-weight: 700; margin-bottom: 8px; }
.jnm-fc-input { width: 100%; min-height: 52px; padding: 12px 48px 12px 16px; border: 2px solid var(--border-2); border-radius: 14px; font: inherit; font-size: 17px; background: var(--white); color: var(--text); }
.jnm-fc-input:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 4px var(--sage-light); }
.jnm-fc-search > svg { position: absolute; right: 16px; top: 46px; color: var(--muted); pointer-events: none; }
.jnm-fc-list { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.jnm-fc-list[hidden] { display: none; }
.jnm-fc-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; margin: 0; }
.jnm-fc-list li small { color: var(--muted); }
.jnm-fc-list li[aria-selected="true"], .jnm-fc-list li:hover { background: var(--sage-light); }
.jnm-fc-tog { margin-top: 18px; }
.jnm-fc-result { min-height: 40px; }
.jnm-fc-empty { color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jnm-fc-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 14px; }
.jnm-fc-title h3 { margin: 0; font-size: 22px; }
.jnm-fc-title small { color: var(--muted); font-size: 15px; }
.jnm-fc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.jnm-fc-card { border: 1px solid var(--border); border-left: 8px solid var(--c); border-radius: 14px; padding: 14px 16px; background: var(--white); display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(10px); animation: jnm-in .45s var(--jnm-ease) forwards; }
.jnm-fc-card:nth-child(2) { animation-delay: .08s; } .jnm-fc-card:nth-child(3) { animation-delay: .16s; } .jnm-fc-card:nth-child(4) { animation-delay: .24s; } .jnm-fc-card:nth-child(5) { animation-delay: .32s; } .jnm-fc-card:nth-child(6) { animation-delay: .4s; }
.jnm-sem { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); animation: jnm-pop .5s var(--jnm-ease); }
@keyframes jnm-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.jnm-sem--y { background: var(--jnm-ok); } .jnm-sem--c { background: var(--jnm-warn-dot); } .jnm-sem--n { background: var(--jnm-bad); }
.jnm-fc-card b { display: block; font-size: 13px; color: var(--c-text); text-transform: uppercase; letter-spacing: .04em; }
.jnm-fc-card strong { display: block; font-size: 17px; margin: 2px 0; }
.jnm-fc-card p { margin: 0; font-size: 14px; color: var(--text-2); }
/* 2. Prienik */
.jnm-venn-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
@media (max-width: 800px) { .jnm-venn-wrap { grid-template-columns: 1fr; } }
.jnm-venn { width: 100%; max-width: 420px; margin: 0 auto; display: block; }
.jnm-venn circle { transition: cx .7s var(--jnm-ease), cy .7s var(--jnm-ease), r .7s var(--jnm-ease), opacity .5s; mix-blend-mode: multiply; }
.jnm-venn text { font-family: inherit; font-weight: 700; font-size: 15px; fill: var(--text); pointer-events: none; }
.jnm-venn text.n { font-size: 26px; fill: var(--sage-dark); }
.jnm-venn text.l { font-size: 12px; fill: var(--muted); font-weight: 500; }
.jnm-venn-lists h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 8px; }
.jnm-venn-lists h3 .n { display: inline-flex; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; align-items: center; justify-content: center; font-size: 14px; background: var(--sage-light); color: var(--sage-dark); }
.jnm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.jnm-tags li { font-size: 14px; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--border); opacity: 0; animation: jnm-in .4s var(--jnm-ease) forwards; margin: 0; }
.jnm-tags li.conf { background: var(--white); }
.jnm-tags li.conf .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 2px 0 4px; vertical-align: middle; }
.jnm-venn-hint { font-size: 15px; color: var(--muted); }
/* 3. Tanier */
.jnm-pl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
@media (max-width: 800px) { .jnm-pl-wrap { grid-template-columns: 1fr; } }
.jnm-pl-tabs { display: flex; gap: 6px; margin: 0 0 14px; flex-wrap: wrap; }
.jnm-pl-tabs button { min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--border-2); background: var(--white); font: inherit; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; }
.jnm-pl-tabs button[aria-selected="true"] { background: var(--sage); color: var(--white); border-color: var(--sage); }
.jnm-pl-palette { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.jnm-pl-palette li { margin: 0; }
.jnm-pl-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); font: inherit; font-size: 15px; color: var(--text); cursor: pointer; transition: transform .2s var(--jnm-ease), border-color .2s, background .2s; }
.jnm-pl-item:hover { border-color: var(--sage); transform: translateY(-2px); }
.jnm-pl-item[aria-pressed="true"] { background: var(--sage-light); border-color: var(--sage); }
.jnm-pl-item .sw { width: 18px; height: 18px; border-radius: 5px; background: var(--sw); border: 1px solid rgba(43,53,51,.12); }
.jnm-pl-item .st { width: 10px; height: 10px; border-radius: 50%; }
.jnm-pl-item .st-y { background: var(--jnm-ok); } .jnm-pl-item .st-c { background: var(--jnm-warn-dot); } .jnm-pl-item .st-n { background: var(--jnm-bad); }
.jnm-plate { width: min(100%, 340px); margin: 0 auto; display: block; }
.jnm-plate .slice { transform-origin: 160px 160px; }
.jnm-plate .slice.in { animation: jnm-slice .6s var(--jnm-ease); }
@keyframes jnm-slice { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.jnm-plate text { font-family: inherit; font-size: 13px; font-weight: 700; fill: var(--text); paint-order: stroke; stroke: #fff; stroke-width: 4px; pointer-events: none; }
.jnm-plate text.empty { fill: var(--muted); font-weight: 500; stroke: none; }
.jnm-pl-msgs { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.jnm-pl-msgs li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; font-size: 15px; margin: 0; animation: jnm-in .4s var(--jnm-ease); }
.jnm-pl-msgs li svg { margin-top: 2px; flex: none; }
.jnm-pl-msgs .is-ok { color: var(--jnm-ok); background: var(--jnm-ok-bg); }
.jnm-pl-msgs .is-warn { color: var(--jnm-warn); background: var(--jnm-warn-bg); }
.jnm-pl-msgs .is-bad { color: var(--jnm-bad); background: var(--jnm-bad-bg); }
.jnm-pl-summary { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 15px; color: var(--muted); }
/* 4. Etikety */
.jnm-lb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 800px) { .jnm-lb-grid { grid-template-columns: 1fr; } }
.jnm-lb-ta { width: 100%; min-height: 200px; padding: 14px 16px; border: 2px solid var(--border-2); border-radius: 14px; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; background: var(--white); color: var(--text); }
.jnm-lb-ta:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 4px var(--sage-light); }
.jnm-lb-out { min-height: 200px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--cream); font-size: 16px; line-height: 1.7; white-space: pre-wrap; }
.jnm-lb-out:empty::before { content: "Tu sa zobrazí zloženie so zvýraznenými slovami."; color: var(--muted); }
mark.jnm-mk { background: var(--c-bg); color: var(--c-text); border-bottom: 2px solid var(--c-strong); padding: 1px 3px; border-radius: 4px; font-weight: 700; cursor: help; animation: jnm-mk .5s var(--jnm-ease); }
mark.jnm-mk.lvl-c { border-bottom-style: dashed; }
mark.jnm-mk-ok { --c-bg: var(--cream-2); --c-text: var(--text-2); --c-strong: var(--border-2); font-weight: 500; }
@keyframes jnm-mk { 0% { background: var(--c-strong); color: #fff; } }
.jnm-lb-sum { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.jnm-lb-sum li { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 15px; padding: 8px 12px; border-radius: 12px; background: var(--c-bg); color: var(--c-text); border-left: 6px solid var(--c); margin: 0; }
.jnm-lb-sum li.is-empty { background: var(--cream); color: var(--text-2); }
.jnm-lb-sum li .w { font-weight: 500; }
.jnm-lb-ex { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; font-size: 14px; }
/* 5. Hero mini-sprievodca (nahrádza statickú ukážku v .hero__visual) */
.jnm-hero-q { margin: 0 0 12px; font-weight: 700; }
.jnm-he-tokens { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.jnm-he-tok { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 2px solid var(--border-2); background: var(--white); color: var(--text); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, border-color .2s, opacity .3s, transform .3s var(--jnm-ease); }
.jnm-he-tok:hover { border-color: var(--c-strong); }
.jnm-he-tok .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.jnm-he-tok[aria-pressed="true"] { opacity: .4; transform: scale(.94); }
.jnm-he-fly { position: fixed; z-index: 50; pointer-events: none; left: 0; top: 0; }
.jnm-he-stage { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; border-top: 1px dashed var(--border-2); padding-top: 18px; }
@media (max-width: 420px) { .jnm-he-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; } .jnm-he-actions { justify-content: center; } }
.jnm-he-plate { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 52%, var(--cream-2) 53% 100%); border: 6px solid var(--cream-2); box-shadow: inset 0 6px 14px rgba(43,53,51,.08); display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 5px; padding: 22px; font-size: 13px; }
.jnm-he-plate.bump { animation: jnm-bump .5s var(--jnm-ease); }
@keyframes jnm-bump { 40% { transform: scale(1.06); } }
.jnm-he-plate .jnm-chip { animation: jnm-in .4s var(--jnm-ease); }
.jnm-he-plate .jnm-chip button { border: 0; background: transparent; padding: 0 0 0 2px; cursor: pointer; display: inline-flex; color: inherit; min-width: 24px; min-height: 24px; align-items: center; justify-content: center; }
.jnm-he-result h2, .jnm-he-result h3 { margin: 0 0 4px; font-size: 19px; }
.jnm-he-result p { color: var(--text-2); font-size: 15px; margin: 0 0 10px; }
.jnm-he-price { font-size: 26px !important; font-weight: 700; color: var(--terra-dark) !important; }
.jnm-he-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.jnm-he-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* 6. Týždenný plán + nákup */
.jnm-wk-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.jnm-wk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .jnm-wk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jnm-wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .jnm-wk-grid { grid-template-columns: 1fr; } }
.jnm-wk-day { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.jnm-wk-day h4 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--sage-dark); }
.jnm-meal { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-size: 14px; line-height: 1.4; }
.jnm-meal.swap { animation: jnm-swap .6s var(--jnm-ease); }
@keyframes jnm-swap { 0% { transform: rotateX(90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.jnm-meal small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.jnm-meal button { margin-top: 6px; min-height: 44px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--cream); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; color: var(--sage-dark); }
.jnm-meal button:hover { background: var(--sage-light); border-color: var(--sage); }
.jnm-shop { margin-top: 28px; border-top: 1px dashed var(--border-2); padding-top: 22px; }
.jnm-shop h3 { margin: 0 0 4px; }
.jnm-shop-cnt { font-size: 15px; margin: 0 !important; }
.jnm-shop-bar { height: 8px; border-radius: 999px; background: var(--cream-2); overflow: hidden; margin: 6px 0 16px; }
.jnm-shop-bar i { display: block; height: 100%; width: 0; background: var(--sage); transition: width .5s var(--jnm-ease); }
.jnm-shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.jnm-shop-grp h4 { margin: 0 0 8px; font-size: 15px; color: var(--sage-dark); display: flex; align-items: center; gap: 8px; }
.jnm-shop-grp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.jnm-shop-grp li { margin: 0; }
.jnm-shop-grp label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px; border-radius: 8px; font-size: 15px; cursor: pointer; transition: background .2s; }
.jnm-shop-grp label:hover { background: var(--cream); }
.jnm-shop-grp input { width: 22px; height: 22px; accent-color: var(--sage); margin: 0; flex: none; }
.jnm-shop-grp input:checked + span { text-decoration: line-through; color: var(--muted); }
@media print { [data-jnm] .jnm-tog-row, .jnm-wk-shuffle, .jnm-meal button { display: none !important; } }
