/* =========================================================
   Koriandr & Limetka, styl
   Papír, tuš, akvarel. Teplé, klidné, čitelné i v kuchyni.
   ========================================================= */
:root {
  --paper: #FBF6EC;
  --paper-2: #F4ECDC;
  --card: #FFFDF8;
  --ink: #2B2420;
  --ink-soft: #6A5D52;
  --line: rgba(43, 36, 32, .14);
  --herb: #4E7A3A;
  --herb-2: #7FA65A;
  --herb-wash: #E3EDD2;
  --chili: #C8432F;
  --lime: #B5CC52;
  --turmeric: #E3A93A;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(43,36,32,.05), 0 10px 30px -18px rgba(43,36,32,.35);
  --serif: 'Fraunces', Georgia, serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --sans: 'Work Sans', system-ui, -apple-system, sans-serif;
  --header-bg: rgba(251, 246, 236, .9);
  --note: #FFF5D6;
  --pressed: #FBE3DE;
  --timer-bg: #FDF3DC;
  --timer-ink: #8A5A0E;
  --art-bg: #FBF6EC;
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .14 0 0 0 0 .12 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--herb-2); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--herb); font-size: 1.5rem; line-height: 1.1; margin: 0; }
.hand.big { font-size: 2.1rem; }
.muted { color: var(--ink-soft); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* --- hlavička --- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: var(--header-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text { font-family: var(--serif); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.logo-text em { font-family: var(--hand); font-style: normal; color: var(--chili); font-size: 1.5rem; padding: 0 1px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav a:hover { background: var(--paper-2); }
.main-nav a.active { background: var(--ink); color: var(--paper); }
.badge { background: var(--chili); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; font-weight: 600; }
@media (max-width: 560px) {
  .logo-text { font-size: 1.05rem; }
  .main-nav a { padding: 7px 9px; font-size: .88rem; }
}

/* --- úvod --- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding: 40px 0 16px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ''; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .32em; z-index: -1;
  background: var(--lime); opacity: .55; border-radius: 40% 60% 50% 50%; transform: rotate(-1.5deg);
}
.hero .hero-lead { font-size: 1.15rem; max-width: 34em; margin: 18px 0 0; color: var(--ink-soft); }
.hero .sign { margin-top: 14px; font-size: 1.7rem; color: var(--chili); transform: rotate(-2deg); display: inline-block; }
.hero-art { margin: 0 -16px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; gap: 0; }
  .hero-art { order: -1; max-width: 520px; margin: 0 auto; }
}

/* --- filozofie --- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 40px; }
.value { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.value svg { width: 46px; height: 46px; flex: none; }
.value h3 { font-size: 1.1rem; margin-bottom: 2px; }
.value p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* --- filtry --- */
.filters { padding: 12px 0; margin-bottom: 8px; border-bottom: 1px solid transparent; }
.filters.stuck { border-bottom-color: var(--line); }
.search {
  display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 4px 6px 4px 16px; box-shadow: var(--shadow);
}
.search input { flex: 1; border: 0; background: transparent; font: inherit; padding: 9px 0; min-width: 0; color: var(--ink); }
.search input:focus { outline: none; }
.search svg { width: 20px; height: 20px; flex: none; opacity: .6; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px;
  font-size: .92rem; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .sw { width: 10px; height: 10px; border-radius: 50%; }
.chip.tag { font-size: .85rem; padding: 4px 12px; }
.chip.tag[aria-pressed="true"] { background: var(--herb); border-color: var(--herb); }

/* --- sekce kuchyně --- */
.cuisine-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 34px 0 14px; }
.cuisine-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cuisine-head .hand { font-size: 1.35rem; color: var(--ink-soft); font-weight: 500; }
.cuisine-head .count { margin-left: auto; font-size: .9rem; color: var(--ink-soft); }

/* --- karty --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: 0 1px 0 rgba(43,36,32,.05), 0 18px 40px -20px rgba(43,36,32,.45); }
.card > a { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.card .art { background: var(--art-bg); aspect-ratio: 4 / 3; border-bottom: 1px dashed var(--line); }
.card .art svg { width: 100%; height: 100%; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .kicker { font-family: var(--hand); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.card h3 { font-size: 1.35rem; }
.card .sub { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.card .meta { margin-top: auto; padding-top: 10px; display: flex; gap: 14px; font-size: .85rem; color: var(--ink-soft); align-items: center; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); display: grid; place-items: center;
}
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn[aria-pressed="true"] path { fill: var(--chili); stroke: var(--chili); }
.diff { display: inline-flex; gap: 3px; align-items: center; }
.diff i { width: 7px; height: 7px; border-radius: 50%; border: 1.3px solid var(--ink-soft); }
.diff i.on { background: var(--ink-soft); }
.empty { text-align: center; padding: 60px 0; }
.empty .hand { font-size: 2rem; }

/* --- detail receptu --- */
.back { display: inline-flex; align-items: center; gap: 6px; margin: 18px 0 6px; text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.back:hover { color: var(--ink); }
.r-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 26px; }
.r-art { background: var(--art-bg); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px; transform: rotate(-1deg); }
.r-art svg { width: 100%; }
.r-head .kicker { font-family: var(--hand); font-size: 1.6rem; font-weight: 700; }
.r-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
.r-head .sub { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-soft); margin: 6px 0 14px; font-style: italic; font-weight: 400; }
.r-head .intro { font-size: 1.06rem; margin: 0 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.fact { background: var(--paper-2); border-radius: 12px; padding: 8px 14px; font-size: .9rem; line-height: 1.3; }
.fact b { display: block; font-size: 1.05rem; font-family: var(--serif); }
.herb-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; align-items: center; }
.herb-pill { background: var(--herb-wash); color: var(--herb); border-radius: 999px; padding: 3px 12px; font-size: .88rem; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 600;
  border: 1.5px solid var(--ink); background: transparent; text-decoration: none; font-size: .98rem;
}
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { filter: brightness(.85); }
.btn:not(.primary):hover { background: var(--paper-2); }
.btn[aria-pressed="true"] { background: var(--pressed); border-color: var(--chili); color: var(--chili); }
@media (max-width: 860px) {
  .r-head { grid-template-columns: 1fr; gap: 18px; }
  .r-art { max-width: 560px; }
}

.r-body { display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: 36px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.ingredients { position: sticky; top: 74px; }
.ingredients h2, .steps-col h2 { font-size: 1.6rem; margin-bottom: 12px; }
@media (max-width: 860px) {
  .r-body { grid-template-columns: 1fr; }
  .ingredients { position: static; }
}

/* přepínač porcí */
.servings { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--herb-wash); border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; }
.servings .lbl { font-weight: 600; font-size: .95rem; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--herb); background: var(--card);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center; color: var(--herb); font-weight: 600;
}
.stepper button:hover { background: var(--herb); color: #fff; }
.stepper button:disabled { opacity: .35; pointer-events: none; }
.stepper output { min-width: 86px; text-align: center; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.stepper output small { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--ink-soft); }
.quick-scale { display: flex; gap: 6px; margin: -4px 0 14px; flex-wrap: wrap; }
.quick-scale button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 3px 10px; font-size: .82rem; }
.quick-scale button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.ing-group { margin: 0 0 14px; }
.ing-group h3 { font-family: var(--hand); font-size: 1.35rem; color: var(--herb); font-weight: 700; margin: 6px 0 4px; }
.ing-list { list-style: none; margin: 0; padding: 0; }
.ing-list li { border-bottom: 1px dashed var(--line); }
.ing-list label { display: grid; grid-template-columns: 22px 104px 1fr; gap: 10px; align-items: baseline; padding: 8px 0; cursor: pointer; }
.ing-list input { appearance: none; width: 20px; height: 20px; border: 1.6px solid var(--ink-soft); border-radius: 6px; margin: 0; position: relative; top: 4px; background: var(--card); }
.ing-list input:checked { background: var(--herb); border-color: var(--herb); }
.ing-list input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ing-list .q { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ing-list .q.flash { animation: flash .5s ease; }
@keyframes flash { 0% { color: var(--chili); transform: scale(1.12); } 100% { color: inherit; transform: none; } }
.ing-list .n small { display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.3; }
.ing-list input:checked ~ .q, .ing-list input:checked ~ .n { opacity: .4; text-decoration: line-through; }
.ing-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.link-btn:hover { color: var(--ink); }

/* kroky */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.step:last-child { border-bottom: 0; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--hand); font-size: 1.7rem; font-weight: 700;
  background: var(--herb-wash); color: var(--herb); border: 1.5px solid var(--herb-2);
}
.step h3 { font-size: 1.2rem; margin: 4px 0 4px; }
.step p { margin: 0; }
.step.done .num { background: var(--herb); color: #fff; }
.step.done h3, .step.done p { opacity: .45; }
.timer-btn {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--turmeric); background: var(--timer-bg);
  border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 600; color: var(--timer-ink);
}
.timer-btn.running { background: var(--turmeric); color: #fff; }
.timer-btn svg { width: 15px; height: 15px; }

.tip {
  position: relative; margin: 28px 0 0; padding: 22px 22px 20px 24px; background: var(--note); border-radius: 6px 22px 8px 18px;
  transform: rotate(-.6deg); box-shadow: 0 10px 24px -18px rgba(0,0,0,.4);
}
.tip::before { content: ''; position: absolute; top: -10px; left: 40px; width: 90px; height: 22px; background: rgba(181,204,82,.55); transform: rotate(-3deg); }
.tip .hand { color: var(--chili); font-size: 1.7rem; margin-bottom: 4px; }
.tip p { margin: 0; font-size: 1.04rem; }
.pairing { margin-top: 18px; display: flex; gap: 10px; align-items: baseline; color: var(--ink-soft); }
.pairing .hand { font-size: 1.35rem; color: var(--herb); }
.related { margin: 56px 0 20px; }
.related h2 { font-size: 1.8rem; margin-bottom: 14px; }

/* --- nákupní seznam --- */
.page-head { margin: 30px 0 18px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; }
.shop-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.shop-list { list-style: none; margin: 0; padding: 0; }
.shop-list li { border-bottom: 1px dashed var(--line); }
.shop-list label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; cursor: pointer; }
.shop-list input { appearance: none; width: 20px; height: 20px; border: 1.6px solid var(--ink-soft); border-radius: 6px; margin: 0; position: relative; top: 4px; }
.shop-list input:checked { background: var(--herb); border-color: var(--herb); }
.shop-list input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.shop-list .q { font-weight: 600; white-space: nowrap; }
.shop-list .from { display: block; font-size: .8rem; color: var(--ink-soft); }
.shop-list input:checked ~ span { opacity: .4; text-decoration: line-through; }
.shop-recipes { list-style: none; padding: 0; margin: 0; }
.shop-recipes li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.shop-recipes .mini { width: 64px; flex: none; border-radius: 10px; overflow: hidden; background: var(--art-bg); }
.shop-recipes a { text-decoration: none; font-weight: 600; flex: 1; line-height: 1.25; }
.shop-recipes small { display: block; font-weight: 400; color: var(--ink-soft); }
.icon-btn { border: 0; background: transparent; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); }
.icon-btn:hover { background: var(--paper-2); color: var(--chili); }
@media (max-width: 860px) { .shop-grid { grid-template-columns: 1fr; } }

/* --- režim vaření --- */
.cook {
  position: fixed; inset: 0; z-index: 100; background: var(--paper); display: flex; flex-direction: column;
  animation: fadeUp .25s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cook-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cook-top .title { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cook-progress { height: 5px; background: var(--paper-2); }
.cook-progress div { height: 100%; background: var(--herb-2); transition: width .3s ease; }
.cook-main { flex: 1; overflow-y: auto; display: grid; grid-template-columns: 1fr 320px; }
.cook-step { padding: clamp(20px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; max-width: 860px; margin: 0 auto; width: 100%; }
.cook-step .hand { font-size: 2rem; }
.cook-step h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 6px 0 16px; }
.cook-step p { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.5; margin: 0; }
.cook-step .timer-big {
  margin-top: 26px; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px;
  background: var(--timer-bg); border: 2px solid var(--turmeric); font-size: 1.3rem; font-weight: 600; color: var(--timer-ink);
}
.cook-step .timer-big.running { background: var(--turmeric); color: #fff; }
.cook-step .timer-big.ring { animation: ring .5s ease infinite alternate; background: var(--chili); border-color: var(--chili); color: #fff; }
@keyframes ring { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.cook-ings { border-left: 1px solid var(--line); padding: 20px; overflow-y: auto; background: var(--card); }
.cook-ings h3 { font-family: var(--hand); font-size: 1.5rem; color: var(--herb); margin: 0 0 6px; }
.cook-ings ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .95rem; }
.cook-ings li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.cook-ings b { font-variant-numeric: tabular-nums; }
.cook-nav { display: flex; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.cook-nav .btn { flex: 1; justify-content: center; padding: 16px; font-size: 1.1rem; }
.cook-dots { display: flex; gap: 6px; justify-content: center; align-items: center; }
.cook-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.cook-dots i.on { background: var(--herb); width: 22px; border-radius: 6px; }
.wake { font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .cook-main { grid-template-columns: 1fr; }
  .cook-ings { display: none; }
  .cook-ings.open { display: block; position: fixed; inset: 60px 0 84px; z-index: 5; border-left: 0; }
}

/* --- toast --- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  transition: all .25s ease; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- patička --- */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 36px 16px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.footer-inner p { margin: 4px 0 0; max-width: 36em; }
.footer-app { border: 1.5px dashed var(--herb-2); border-radius: var(--radius); padding: 16px 18px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* --- tisk --- */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .actions, .back, .related, .fav-btn, .quick-scale, .ing-tools, .timer-btn, .stepper button, .filters { display: none !important; }
  .r-head { grid-template-columns: 1fr 1.4fr; }
  .r-body { grid-template-columns: 1fr 1.6fr; }
  .panel, .r-art { box-shadow: none; transform: none; }
  .ingredients { position: static; }
  .step { break-inside: avoid; }
}

/* --- příběh jídla --- */
.story-link { display: inline-block; margin-left: 4px; font-family: var(--hand); font-size: 1.3rem; font-weight: 700; color: var(--chili); text-decoration: none; white-space: nowrap; }
.story-link:hover { text-decoration: underline; }
.story { margin: 40px 0 0; padding: clamp(18px, 3vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); scroll-margin-top: 80px; position: relative; overflow: hidden; }
.story::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--herb-wash); opacity: .7; filter: url(#sk-wash); }
.story > * { position: relative; }
.story-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; max-width: 26em; }
.story-head .hand { font-size: 1.5rem; color: var(--chili); }
.origin-card { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 0; margin: 14px 0 18px; border: 1.5px dashed var(--herb-2); border-radius: 18px; background: var(--paper); }
.origin-card > div { padding: 9px 14px; border-left: 1.5px dashed var(--herb-2); }
.origin-card > div:first-child { border-left: 0; }
.origin-card .hand { display: block; font-size: 1.1rem; margin-bottom: 0; }
.origin-card b { font-weight: 500; font-size: .9rem; line-height: 1.35; display: block; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.story h3 { font-size: 1.08rem; margin-bottom: 4px; }
.story-cols p { margin: 0; font-size: .98rem; line-height: 1.6; }

.why-title { margin-top: 20px; }
.why-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why-list > div { background: var(--paper); border-radius: 12px; padding: 10px 12px; border-left: 3px solid var(--herb-2); }
.why-list dt { font-family: var(--serif); font-weight: 600; font-size: .98rem; margin-bottom: 2px; }
.why-list dd { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 760px) {
  .origin-card { grid-template-columns: 1fr; }
  .origin-card > div { border-left: 0; border-top: 1.5px dashed var(--herb-2); display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; align-items: baseline; padding: 7px 12px; }
  .origin-card > div:first-child { border-top: 0; }
  .story-cols { grid-template-columns: 1fr; gap: 16px; }
  .why-list { grid-template-columns: 1fr; }
}
/* Průvodce surovinami a stránky kuchyní */
.guide-head { max-width: 46em; }
.guide-head .hand { font-size: 1.5rem; color: var(--chili); margin: 0; }
.guide-head .intro { font-size: 1.08rem; }
.guide-cards { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.guide-cards > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.guide-cards dt { font-family: var(--serif); font-weight: 700; margin-bottom: 4px; }
.guide-cards dd { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.guide-cards .guide-tip { background: var(--note); border-color: transparent; }
.guide-cards .guide-tip dt { font-size: 1.35rem; font-weight: 700; color: var(--chili); font-family: var(--hand); }
.guide-h { margin: 22px 0 10px; font-size: 1.3rem; }
.guide-sec { margin-top: 34px; }
.guide-sec h2 { font-size: 1.35rem; margin-bottom: 12px; }
.guide-basics { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.guide-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.guide-index.cuisines { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.guide-item { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.guide-item:hover { transform: translateY(-2px); border-color: var(--herb-2); }
.guide-item b { font-family: var(--serif); font-size: 1.08rem; }
.guide-item small { color: var(--ink-soft); font-size: .86rem; }
a.chip { text-decoration: none; color: var(--ink); }
a.kicker { text-decoration: none; }
a.kicker:hover { text-decoration: underline; }
.ing-guide { margin: 10px 0 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.ing-guide span { font-weight: 600; color: var(--ink); }
.ing-guide a { color: var(--herb); }

/* sestavená menu */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 18px; }
.menu-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.menu-card h2 { margin: 0; font-size: 1.35rem; }
.menu-card > .muted { margin: 4px 0 10px; font-size: .92rem; }
.menu-courses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.menu-courses li { border-top: 1px dashed var(--line); padding-top: 10px; }
.menu-courses .hand { display: block; color: var(--chili); font-size: 1.15rem; }
.menu-courses a { color: var(--ink); text-decoration-color: var(--herb); }
.menu-courses p { margin: 4px 0 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.5; }

/* kuchařské techniky */
.tech-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tech-facts span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--ink-soft); }
.tech-facts b { color: var(--ink); margin-left: 4px; }
.tech-gear { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tech-gear li { background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 6px 12px; font-size: .92rem; }
.tech-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 46em; }
.tech-steps li { counter-increment: st; position: relative; padding: 12px 16px 12px 58px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.tech-steps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--herb); color: #fff; font-weight: 700; display: grid; place-items: center; }
.tech-steps b { font-family: var(--serif); font-size: 1.05rem; }
.tech-steps p { margin: 4px 0 0; color: var(--ink-soft); line-height: 1.55; }
.tech-tips { margin: 0; padding: 16px 18px 16px 36px; background: var(--note); border-radius: 16px; max-width: 46em; }
.tech-tips li { margin: 6px 0; line-height: 1.55; }
.tech-fix { display: grid; gap: 10px; margin: 0; max-width: 46em; }
.tech-fix > div { border-left: 4px solid var(--chili); padding: 6px 0 6px 14px; }
.tech-fix dt { font-weight: 700; }
.tech-fix dd { margin: 2px 0 0; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 520px) { .tech-steps li { padding-left: 52px; } }
.footer-explore { display: flex; flex-wrap: wrap; gap: 6px 14px; max-width: 1180px; margin: 0 auto; padding: 0 16px 16px; font-size: .9rem; }
.footer-explore b { width: 100%; font-weight: 600; }
.footer-explore a { color: var(--ink-soft); }
/* Odkazy pro bio (/odkazy) */
.links-page { max-width: 520px; margin: 0 auto; padding-top: 26px; padding-bottom: 40px; }
.links-head { text-align: center; margin-bottom: 18px; }
.links-logo { display: flex; justify-content: center; }
.links-logo svg { width: 84px; height: 78px; }
.links-head h1 { font-size: 1.9rem; font-weight: 800; margin: 4px 0 6px; }
.links-head p { margin: 0 auto; max-width: 30em; color: var(--ink-soft); }
.links-list { display: grid; gap: 10px; }
.links-btn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.links-btn:hover { transform: translateY(-2px); border-color: var(--herb-2); }
.links-btn .i { font-size: 1.5rem; flex: none; width: 36px; text-align: center; }
.links-btn b { display: block; font-size: 1.02rem; }
.links-btn small { display: block; color: var(--ink-soft); font-size: .86rem; margin-top: 2px; }
.links-btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.links-btn.primary small { color: rgba(255,255,255,.75); }
.links-social { text-align: center; margin-top: 18px; font-size: .95rem; }
.links-social a { color: var(--herb); font-weight: 600; }
.faq { margin: 28px 0 0; padding: clamp(18px, 3vw, 28px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.faq h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 800; margin: 0 0 8px; }
.faq details { border-top: 1.5px dashed var(--line); }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 12px 28px 12px 0; font-family: var(--serif); font-weight: 600; font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 8px; font-size: 1.4rem; color: var(--herb); font-family: var(--sans, inherit); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 14px; font-size: .96rem; color: var(--ink-soft); line-height: 1.6; max-width: 46em; }
@media print { .faq details { display: block; } .faq details > p { display: block; } }
@media print { .story { box-shadow: none; break-before: page; } .story-link { display: none; } }

/* --- Rohlík.cz --- */
.shop-list li { display: flex; align-items: center; gap: 8px; }
.shop-list li label { flex: 1; }
.rohlik-link { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--herb); border: 1.5px solid var(--herb-wash); background: var(--card); }
.rohlik-link:hover { background: var(--herb); color: #fff; border-color: var(--herb); }
.rohlik-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--herb-wash); border: 1.5px dashed var(--herb-2); }
.rohlik-cta b { display: block; font-family: var(--serif); font-size: 1.2rem; }
.rohlik-cta span { display: block; font-size: .93rem; max-width: 40em; }
.rohlik-assist { position: fixed; right: 16px; bottom: 16px; z-index: 150; width: min(380px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); padding: 16px 18px 14px; animation: fadeUp .25s ease; }
.ra-top { display: flex; align-items: center; gap: 10px; }
.ra-top .hand { flex: 1; font-size: 1.5rem; }
.ra-bar { height: 5px; background: var(--paper-2); border-radius: 4px; margin: 8px 0 14px; overflow: hidden; }
.ra-bar div { height: 100%; background: var(--herb-2); transition: width .3s; }
.ra-q { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.ra-name { margin: 2px 0 8px; font-size: 1.15rem; font-weight: 500; }
.ra-help { font-size: .88rem; margin: 0 0 14px; }
.ra-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ra-actions .btn { flex: 1; justify-content: center; padding: 10px 14px; }

/* --- sezóna --- */
.season-now { margin: 6px 0 10px; }
.season-line { margin: -4px 0 16px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.season-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; position: relative; top: 1px; }
.cuisine-head a.count { text-decoration: none; font-weight: 600; color: var(--herb); }
.season-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; font-size: .9rem; color: var(--ink-soft); }
.season-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cal-month { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--sc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 20px; scroll-margin-top: 80px; }
.cal-month.now { outline: 3px solid var(--sc); outline-offset: 3px; transform: rotate(-.4deg); }
.cal-month header .hand { color: var(--sc); font-size: 1.3rem; filter: brightness(.8); }
.cal-month h2 { font-size: 1.9rem; font-weight: 800; }
.cal-theme { margin: 2px 0 8px; font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.cal-line { margin: 0 0 10px; font-size: .96rem; }
.cal-month h3 { font-family: var(--hand); font-size: 1.25rem; color: var(--herb); margin: 12px 0 4px; }
.cal-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cal-chips span { background: var(--paper-2); border-radius: 999px; padding: 2px 10px; font-size: .82rem; }
.cal-chips.herbs span { background: var(--herb-wash); color: var(--herb); }
.cal-recipes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cal-recipes a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.cal-recipes .mini { width: 48px; flex: none; border-radius: 8px; overflow: hidden; background: var(--art-bg); }
.cal-planned { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--ink-soft); }
.cal-planned li::marker { content: '✎  '; }

/* --- sběr kontaktů --- */
.lead { margin: 40px 0; padding: clamp(20px, 4vw, 36px); border-radius: 28px; background: var(--note); display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; position: relative; box-shadow: 0 14px 34px -24px rgba(0,0,0,.45); }
.lead::before { content: ''; position: absolute; top: -12px; left: 56px; width: 110px; height: 24px; background: rgba(181,204,82,.6); transform: rotate(-3deg); }
.lead-copy .hand { color: var(--chili); font-size: 1.8rem; }
.lead-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 4px 0 10px; }
.lead-copy p { margin: 0; }
.lead-form { display: grid; gap: 12px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form label > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 3px; }
.lead-form input[type=email], .lead-form input[name=name] { width: 100%; font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.lead-form input:focus { outline: none; border-color: var(--herb-2); }
.lead-form fieldset { border: 0; margin: 0; padding: 0; }
.lead-form legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.lead-form legend small { font-weight: 400; color: var(--ink-soft); }
.lead-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 12px; font-size: .88rem; cursor: pointer; }
.pick input:checked + span { background: var(--herb); border-color: var(--herb); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--herb-2); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .85rem; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--herb); }
.lead-submit { justify-self: start; }
.lead-msg { margin: 0; font-size: .9rem; min-height: 1.2em; }
.lead-msg.err { color: var(--chili); font-weight: 600; }
.lead-msg .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--herb); text-decoration: underline; cursor: pointer; }
.lead-form input[aria-invalid="true"] { border-color: var(--chili); box-shadow: 0 0 0 2px color-mix(in srgb, var(--chili) 25%, transparent); }
.lead-done { display: block; text-align: center; }
.lead-done .hand { color: var(--herb); font-size: 2rem; }
.lead-done p { margin: 4px 0; }
@media (max-width: 820px) { .lead { grid-template-columns: 1fr; } .lead-row { grid-template-columns: 1fr; } }
.owner-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--herb); }
.leads-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.leads-table th, .leads-table td { text-align: left; padding: 8px 10px; border-bottom: 1px dashed var(--line); white-space: nowrap; }

/* --- mini-kuchařka --- */
.mb-recipe { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; break-inside: avoid; }
.mb-head { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.mb-head h2 { font-size: 2rem; font-weight: 800; }
.mb-body { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; margin-top: 14px; font-size: .95rem; }
.mb-body h3 { font-family: var(--hand); color: var(--herb); font-size: 1.4rem; }
.mb-body ul { padding-left: 18px; margin: 4px 0; }
.mb-body ol { padding-left: 20px; margin: 4px 0; }
.mb-body li { margin-bottom: 4px; }
.mb-tip { background: var(--note); padding: 10px 14px; border-radius: 10px; }
@media (max-width: 760px) { .mb-head, .mb-body { grid-template-columns: 1fr; } .mb-head > .mb-art { max-width: 260px; } }
@media print { .lead, .season-legend { display: none !important; } .mb-recipe { break-after: page; border: 0; } }
.bday { grid-template-columns: 1fr; }
.bday-in { display: flex; gap: 8px; }
.bday-in select { font: inherit; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.lead-form label > span small { font-weight: 400; color: var(--ink-soft); }
.rohlik-link.cheap { width: auto; padding: 0 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-decoration: none; }
.lead-form .consent > span { font-weight: 400; font-size: .85rem; margin: 0; }
.lead-form .pick > span { font-weight: 500; margin: 0; }

/* --- formulář v2: stačí e-mail --- */
.email-main > span:first-child { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.email-row, .lead-form label > .email-row { display: flex; gap: 10px; align-items: stretch; margin: 0; }
.email-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.email-row input:focus { outline: none; border-color: var(--herb-2); box-shadow: 0 0 0 3px var(--herb-wash); }
.email-row .btn { flex: none; white-space: nowrap; }
.hint, .lead-form label > .hint { display: block; margin-top: 10px; font-size: .85rem; color: var(--herb); font-weight: 600; }
.lead-more { border-top: 1px dashed var(--line); padding-top: 8px; }
.lead-more summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink-soft); list-style: none; }
.lead-more summary::-webkit-details-marker { display: none; }
.lead-more summary::before { content: '+ '; color: var(--herb); font-weight: 700; }
.lead-more[open] summary::before { content: '− '; }
.lead-more summary small { font-weight: 400; }
.lead-more-in { display: grid; gap: 12px; margin-top: 12px; }
.lead-form .field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 3px; }
.lead-form .field input { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.consent a { color: var(--herb); }
@media (max-width: 420px) { .email-row, .lead-form label > .email-row { flex-direction: column; gap: 10px; } .email-row .btn { width: 100%; justify-content: center; } }

/* --- vyskakovací lišta --- */
.nl-pop { position: fixed; right: 16px; bottom: 16px; z-index: 140; width: min(380px, calc(100vw - 32px)); background: var(--note); border-radius: 22px; padding: 18px 18px 12px; box-shadow: 0 22px 50px -20px rgba(0,0,0,.5); animation: fadeUp .35s ease; }
.nl-pop .nl-x { position: absolute; top: 8px; right: 8px; }
.nl-pop .hand { color: var(--chili); font-size: 1.7rem; }
.nl-pop-t { margin: 4px 30px 10px 0; font-size: .95rem; }
.nl-pop .lead-form { gap: 8px; }
.nl-pop .consent { font-size: .78rem; }
.nl-pop .lead-done { margin: 0; padding: 6px 0; background: none; box-shadow: none; }
.nl-pop .lead-done::before { display: none; }
@media (max-width: 560px) {
  .nl-pop { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; padding: 14px 16px calc(10px + env(safe-area-inset-bottom)); }
  .nl-pop-t { font-size: .9rem; }
}

/* --- cookies lišta --- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 160; width: min(560px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: 0 22px 50px -20px rgba(0,0,0,.45); }
.ck-t { margin: 0 0 12px; font-size: .9rem; line-height: 1.5; }
.ck-t a { color: var(--herb); }
.ck-opts { display: grid; gap: 6px; margin-bottom: 12px; font-size: .9rem; }
.ck-opts input { accent-color: var(--herb); margin-right: 6px; }
.ck-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-btns .btn { flex: 1; justify-content: center; padding: 9px 12px; font-size: .9rem; }
@media (max-width: 560px) { .ck { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); } }

/* --- patička: právní odkazy --- */
.footer-sub { margin-top: 14px !important; }
.footer-legal { max-width: 1180px; margin: 0 auto; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); border-top: 1px dashed var(--line); font-size: .88rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.footer-legal a, .footer-legal .link-btn { color: var(--ink-soft); font-size: .88rem; }
.footer-legal .link-btn { padding: 0; margin: 0; line-height: inherit; font-family: inherit; vertical-align: baseline; }
.footer-legal p { margin: 0; }

/* --- právní stránky --- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--card); min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 9px 12px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.legal th { font-family: var(--serif); background: var(--paper-2); }
.legal a { color: var(--herb); }
.unsub { max-width: 480px; margin: 14px 0; }
@media print { .nl-pop, .ck, .footer-legal { display: none !important; } }

/* --- mobil: hlavička na dva řádky, obrázek v úvodu --- */
.hero-art { width: 100%; }
.hero-art svg { width: 100%; height: auto; }
.logo-text { white-space: nowrap; }
body { overflow-x: clip; }
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; padding: 8px 12px 6px; gap: 4px; padding-top: calc(8px + env(safe-area-inset-top)); }
  .logo { flex: 1 1 100%; justify-content: center; }
  .logo-mark svg { width: 30px; height: 28px; }
  .logo-text { font-size: 1.1rem; }
  .main-nav { flex: 1 1 100%; justify-content: space-between; gap: 2px; }
  .main-nav a { flex: 1; justify-content: center; padding: 7px 4px; font-size: .86rem; }
  .filters { top: 0; }
  .ingredients { top: 0; }
  .r-head h1 { font-size: 2.3rem; }
  .ing-list label { grid-template-columns: 22px 96px 1fr; gap: 8px; }
  .step { grid-template-columns: 44px 1fr; gap: 10px; }
  .step .num { width: 40px; height: 40px; font-size: 1.4rem; }
  .actions .btn { padding: 10px 14px; font-size: .92rem; }
  .cook-nav .btn { padding: 14px 10px; font-size: 1rem; }
  .cook-dots { display: none; }
}
.nl-pop .email-row { flex-direction: row; }
.nl-pop .email-row .btn { width: auto; }
@media (max-width: 560px) { .nl-pop .hand { font-size: 1.4rem; } .nl-pop-t { margin-bottom: 8px; } .nl-pop .consent { font-size: .74rem; gap: 8px; } }

@media (max-width: 640px) {
  .site-header { position: sticky; }
}
.consent-note { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }
.consent-note a { color: var(--herb); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ck-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ck-ico { font-size: 1.5rem; }
.ck-head .hand { color: var(--chili); font-size: 1.6rem; }
.ck-opts label { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: start; line-height: 1.4; }
.ck-opts input { margin-top: 3px; }

/* ---------- velcí průvodci: /pruvodce/<id> ---------- */
.gd-hero { position: relative; }
.gd-toc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gd-toc a { font-size: .88rem; padding: 5px 12px; border-radius: 999px; background: var(--herb-wash); color: var(--ink); text-decoration: none; }
.gd-toc a:hover { background: var(--lime); }
.gd-formula { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gd-formula li { position: relative; background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 16px; padding: 30px 14px 14px; }
.gd-formula li + li::before { content: '+'; position: absolute; left: -12px; top: 50%; transform: translate(-50%, -50%); font: 700 1.3rem var(--serif); color: var(--ink-soft); }
.gd-num { position: absolute; top: -18px; left: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: 700 1rem var(--serif); }
.gd-formula b { font-family: var(--serif); font-size: 1.08rem; display: block; }
.gd-formula p { margin: 6px 0 8px; font-size: .9rem; line-height: 1.5; }
.gd-formula small { display: block; margin-top: 6px; color: var(--ink); font-size: .92rem; line-height: 1.5; }
.gd-tastes { margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gd-tastes > div { background: var(--note); border-radius: 16px; padding: 14px 16px; }
.gd-tastes dt { font: 700 1.5rem var(--hand); color: var(--chili); }
.gd-tastes dd { margin: 2px 0 0; font-size: .95rem; line-height: 1.55; }
.gd-steps { list-style: none; counter-reset: gs; padding: 0; margin: 8px 0 0; max-width: 46em; position: relative; }
.gd-steps::before { content: ''; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--herb-wash); }
.gd-steps li { counter-increment: gs; position: relative; padding: 4px 0 16px 58px; }
.gd-steps li::before { content: counter(gs); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--herb); color: #fff; display: grid; place-items: center; font: 700 1.1rem var(--serif); }
.gd-steps b { font-family: var(--serif); font-size: 1.05rem; }
.gd-steps p { margin: 4px 0 0; color: var(--ink-soft); line-height: 1.55; }
.gd-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 14px; }
.gd-calc .gd-n { font: 700 1.3rem var(--serif); min-width: 1.6em; text-align: center; }
.gd-step { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.gd-step:hover { background: var(--herb-wash); }
.gd-dresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gd-dress { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.gd-dress-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; }
.gd-dress h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.gd-ratio { font: 700 1.4rem var(--hand); color: var(--herb); white-space: nowrap; }
.gd-bar { display: flex; min-height: 30px; border-radius: 10px; overflow: hidden; margin: 10px 0 6px; font-size: .78rem; }
.gd-seg { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 4px; color: var(--ink); line-height: 1.1; overflow: hidden; }
.gd-seg.s0 { background: var(--turmeric); } .gd-seg.s1 { background: var(--lime); } .gd-seg.s2 { background: var(--herb-wash); } .gd-seg.s3 { background: var(--note); }
.gd-amounts { margin: 0 0 8px; font-weight: 600; font-size: .9rem; color: var(--herb); }
.gd-dress > p:last-child { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--ink-soft); }
.gd-combos { display: grid; gap: 10px; }
.gd-combo { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; display: grid; grid-template-columns: 190px 1fr; gap: 10px; align-items: center; }
.gd-combo > b { font-family: var(--serif); }
.gd-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gd-chips span { font-size: .85rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); border-left: 6px solid var(--c); background: var(--paper); }
.gd-tag { display: block; margin-top: 6px; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 1000px) {
  .gd-formula { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .gd-formula li:nth-child(3n+1)::before { display: none; }
  .gd-tastes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .gd-formula { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-formula li:nth-child(3n+1)::before { display: block; }
  .gd-formula li:nth-child(2n+1)::before { display: none; }
  .gd-dresses, .gd-tastes { grid-template-columns: 1fr; }
  .gd-combo { grid-template-columns: 1fr; }
}

.gd-plain { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gd-plain li::before, .gd-plain li + li::before { display: none !important; }
.gd-plain small { color: var(--ink-soft); }

/* zvýrazněná omáčka v receptu (technika s callout) */
.sauce-callout { display: block; margin: 16px 0 6px; padding: 14px 16px; border-radius: 16px; background: var(--note); border: 2px dashed var(--turmeric); color: var(--ink); text-decoration: none; }
.sauce-callout .hand { display: block; font-size: 1.35rem; color: var(--chili); line-height: 1; }
.sauce-callout b { display: block; font-family: var(--serif); font-size: 1.1rem; margin: 4px 0; }
.sauce-callout p { margin: 0 0 6px; font-size: .93rem; line-height: 1.5; }
.sauce-more { font-weight: 600; color: var(--herb); font-size: .9rem; }
.sauce-callout:hover { background: #FFEFC2; }
