/* Hlavolamník – stránka /darek/ (dárkový sešit na míru). Načítá se jen tam (a v _tools/og-darek.html).
   Obálka sešitu je čisté HTML/CSS, velikosti v cqw (kontejner = obálka), takže se škáluje od 180 do 480 px.
   Ilustrace témat: /img/darek/tema-*.svg (z generátoru, viz _tools/render_ornamenty.py). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-cs.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-cs.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

.darek {
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.darek .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; font-optical-sizing: auto; }
.darek h2.serif { font-weight: 560; }

/* Témata: obálka je vždy žlutá (brand v2.1), téma mění jen ilustraci */
[data-theme="zahrada"] { --bc-art: url("/img/darek/tema-zahrada.svg"); }
[data-theme="podzim"] { --bc-art: url("/img/darek/tema-podzim.svg"); }
[data-theme="reky"] { --bc-art: url("/img/darek/tema-reky.svg"); }
[data-theme="stare-casy"] { --bc-art: url("/img/darek/tema-stare-casy.svg"); }
[data-theme="vanoce"] { --bc-art: url("/img/darek/tema-vanoce.svg"); }

/* ================= Obálka sešitu ================= */
.book { position: relative; width: 100%; aspect-ratio: 210 / 297; }
/* listy pod obálkou (sešit má tloušťku) */
.book::before, .book::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px 6px 6px 2px;
  background: #fdfbf6; border: 1px solid #e3dacb;
}
.book::before { transform: translate(5px, 5px); background: #f3ede2; }
.book::after { transform: translate(2.5px, 2.5px); }
.book-cover {
  position: absolute; inset: 0; z-index: 1; container-type: inline-size;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 2px 6px 6px 2px; color: var(--ink);
  background-color: var(--sun);
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.30) 0, rgba(0,0,0,.10) 1.6%, rgba(255,255,255,.16) 2.4%, rgba(255,255,255,0) 5.5%),
    radial-gradient(130% 90% at 25% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%),
    var(--paper-tex);
  box-shadow: 0 1px 1px rgba(40,25,15,.18), 0 10px 22px -6px rgba(40,25,15,.35), 0 30px 60px -20px rgba(40,25,15,.35);
  transition: background-color .35s ease;
}
.bc-brand {
  display: flex; align-items: center; justify-content: center; gap: 1.6cqw;
  margin: 7cqw 0 0; font-weight: 600; font-size: 4.9cqw; letter-spacing: -.005em; text-transform: none;
  color: var(--ink);
  font-family: var(--serif);
  margin-top: 6cqw;
}
.bc-mark { width: 6.4cqw; height: 6.4cqw; background: url("/img/znak-na-zlute.svg") center / contain no-repeat; transform: none; border-radius: 0; }
.bc-label {
  position: relative; z-index: 1;
  margin: 5.5cqw 8cqw 0; padding: 8cqw 6cqw 7cqw; text-align: center; color: var(--ink);
  background: var(--cream) var(--paper-tex); border-radius: 1.4cqw;
  box-shadow: inset 0 0 0 1.6cqw var(--cream), inset 0 0 0 1.85cqw var(--ink), inset 0 0 0 2.4cqw var(--cream), inset 0 0 0 2.55cqw var(--ink), 0 1.2cqw 3cqw rgba(28,37,65,.22);
}
.bc-for { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 5.4cqw; line-height: 1.1; margin: 0; color: var(--tomato-text); }
.bc-name {
  font-family: var(--serif); font-weight: 600; font-size: calc(11.5cqw * var(--name-scale, 1)); line-height: 1.02;
  letter-spacing: -.02em; margin: 1.2cqw 0 0; overflow-wrap: anywhere; font-optical-sizing: auto;
}
.bc-name.is-placeholder { color: #5d6380; }
.bc-orn { width: 30cqw; height: auto; margin: 3.6cqw auto 3cqw; color: var(--tomato); opacity: 1; }
.bc-ded { font-family: var(--serif); font-style: italic; font-size: 4.7cqw; line-height: 1.35; margin: 0; color: #3a4262; overflow-wrap: anywhere; text-wrap: balance; }
.bc-ded:empty, .bc-ded:empty ~ * { display: none; }
.bc-label:has(.bc-ded:empty) .bc-orn { display: none; }
.bc-art {
  flex: 1; margin-top: -6cqw; min-height: 20cqw;
  background: linear-gradient(180deg, rgba(245,180,0,0) 55%, rgba(245,180,0,.55)), var(--bc-art) center 70% / 118% auto no-repeat;
}
.bc-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 2cqw;
  font-size: 2.9cqw; font-weight: 700; color: var(--cream); letter-spacing: .02em;
  padding: 2.6cqw 7cqw;
  background: var(--ink);
}
.bc-level {
  display: inline-flex; align-items: center; gap: .9cqw; background: none; color: var(--sun);
  border-radius: 99px; padding: 0; text-transform: uppercase; letter-spacing: .1em; font-size: 2.6cqw;
}
.bc-level i { width: 1.7cqw; height: 1.7cqw; border-radius: 50%; border: .35cqw solid currentColor; }
.bc-level i:last-of-type { margin-right: .8cqw; }
.bc-level[data-level="1"] i:nth-of-type(1),
.bc-level[data-level="2"] i:nth-of-type(-n+2),
.bc-level[data-level="3"] i { background: currentColor; }

/* ================= Hero ================= */
.dk-hero {
  position: relative; overflow: hidden; padding-block: clamp(1.5rem, 4vw, 4.5rem) clamp(2.5rem, 5vw, 5rem);
  background: var(--paper);
  isolation: isolate;
}
.dk-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .dk-hero-grid { grid-template-columns: 1fr 1.02fr; gap: 3.5rem; } }
.dk-hero h1 { font-size: clamp(2.05rem, 1.35rem + 2.7vw, 3.35rem); line-height: 1.08; max-width: 15ch; margin-bottom: .45em; }
.dk-hero .lead { max-width: 33rem; font-size: 1.15em; }
.dk-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  width: 44%;
  height: 78%;
  background: var(--sun);
  border-radius: 0 0 0 64px;
}
@media (max-width: 959px) { .dk-hero::before { width: 100%; top: 0; height: 18%; border-radius: 0 0 40px 40px; } }
.dk-price {
  margin: 1.6rem 0 1.4rem; padding: 1.2rem 1.3rem 1.3rem; max-width: 34rem;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(42,33,28,.05), 0 12px 30px -12px rgba(42,33,28,.18);
}
.dk-price-main { margin: 0; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.dk-price-main strong { font-family: var(--serif); font-weight: 600; font-size: 2.3rem; line-height: 1; color: var(--ink); }
.dk-price-main span { font-weight: 700; color: var(--ok); }
.dk-price-line { margin: .45rem 0 1rem; color: var(--ink-soft); font-size: 1.125rem; }
.dk-price-line:has(+ .dk-price-line) { margin-bottom: 0; }
.btn-lg { min-height: 60px; font-size: 1.2rem; padding-inline: 1.8em; }
.btn-block { width: 100%; }
.dk-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: 1.125rem; color: var(--ink-soft); }
.dk-trust li { display: flex; gap: .55rem; align-items: center; margin: 0; }
.dk-trust svg { width: 1.3rem; height: 1.3rem; color: var(--ok); flex: none; }

/* Scéna na stole */
.dk-scene {
  position: relative; width: 100%; max-width: 620px; margin-inline: auto; aspect-ratio: 1 / .96; overflow: hidden;
  border-radius: 28px; isolation: isolate;
  background-color: #e8d9c1;
  background-image:
    radial-gradient(90% 80% at 40% 35%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%),
    repeating-linear-gradient(0deg, rgba(120,90,60,.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(120,90,60,.03) 0 1px, transparent 1px 5px),
    var(--paper-tex);
  box-shadow: 0 24px 50px -24px rgba(28,37,65,.45);
}
.dk-scene > * { position: absolute; }
.dk-scene-book { width: 48%; left: 7%; top: 8%; transform: rotate(-5deg); z-index: 3; }
.dk-sheet {
  width: 42%; right: 5%; top: 27%; transform: rotate(6deg); z-index: 2; aspect-ratio: 210 / 297;
  background: #fffdf8 var(--paper-tex); border-radius: 2px; padding: 6% 5.5%; container-type: inline-size;
  box-shadow: 0 1px 1px rgba(40,25,15,.12), 0 14px 30px -10px rgba(40,25,15,.3);
  display: flex; flex-direction: column;
}
.dk-sheet-head { font-family: var(--serif); font-weight: 600; font-size: 7.4cqw; line-height: 1.1; margin: 0; color: var(--ink); }
.dk-sheet-note { font-size: 4.6cqw; color: var(--ink-soft); margin: 3.2cqw 0 0; line-height: 1.3; }
.dk-sheet .ws-grid { margin-top: 3.6cqw; display: grid; grid-template-columns: repeat(9, 1fr); gap: .6cqw; }
.dk-sheet .ws-grid span {
  aspect-ratio: 1; display: grid; place-items: center; font-weight: 700; font-size: 5.2cqw; line-height: 1;
  border: .35cqw solid #d8cbb8; border-radius: .8cqw; color: var(--ink);
}
.dk-sheet .ws-grid span.f { background: #efe3cf; }
.dk-sheet .ws-grid span.t { background: var(--sun-soft); border-color: var(--sun-deep); }
.dk-sheet-taj { display: flex; flex-wrap: wrap; gap: .8cqw; margin-top: 2.4cqw; }
.dk-sheet-taj span { width: 6.8cqw; height: 6.8cqw; border: .45cqw solid var(--ink); border-radius: .8cqw; display: grid; place-items: center; font-weight: 700; font-size: 4.4cqw; }
.dk-sheet-taj span.gap { border: 0; width: 3cqw; }
.dk-mug { width: 34%; right: -8%; top: -9%; z-index: 4; filter: drop-shadow(0 10px 14px rgba(60,40,20,.28)); }
.dk-pencil { width: 46%; right: 20%; bottom: 5%; transform: rotate(-26deg); z-index: 5; filter: drop-shadow(0 6px 5px rgba(60,40,20,.3)); }
.dk-sprig { width: 15%; left: 2%; bottom: 0; transform: rotate(-24deg); z-index: 1; opacity: .95; }
@media (max-width: 959px) {
  .dk-scene { order: -1; max-width: 520px; }
}

/* ================= Co je uvnitř ================= */
.dk-features { display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .dk-features { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.dk-feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.2rem; box-shadow: var(--shadow); }
.dk-feature h3 { margin: 1rem 0 .4rem; font-size: 1.25rem; }
.dk-feature p { margin: 0; color: var(--ink-soft); font-size: 1.125rem; }
.dk-feature-art { height: clamp(92px, 20vw, 118px); border-radius: 14px; background: #f6eddf var(--paper-tex); display: grid; place-items: center; overflow: hidden; }
.mini-cover {
  width: 78px; height: 104px; background: var(--sun); border-radius: 2px 5px 5px 2px; padding: 16px 8px 0; transform: rotate(-4deg);
  box-shadow: 0 8px 16px -6px rgba(40,25,15,.4); display: block;
}
.mini-cover span, .mini-cover b { display: block; background: var(--cream); text-align: center; font-family: var(--serif); color: var(--ink); }
.mini-cover span { font-style: italic; font-size: 8px; padding-top: 7px; border-radius: 3px 3px 0 0; color: var(--tomato-text); }
.mini-cover b { font-size: 12px; line-height: 1.05; padding: 2px 3px 9px; border-radius: 0 0 3px 3px; font-weight: 600; }
.mini-taj { display: flex; gap: 2px; flex-wrap: nowrap; justify-content: center; }
.mini-taj span { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #fff; }
.mini-taj i { width: 8px; }
.mini-words { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 220px; }
.mini-words span { font-weight: 700; font-size: 14px; letter-spacing: .12em; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun-soft); transform: rotate(var(--r, 0deg)); }
.mini-words span:nth-child(2) { --r: 4deg; } .mini-words span:nth-child(3) { --r: -3deg; } .mini-words span:nth-child(4) { --r: 2deg; }

.dk-subhead { margin: 3rem 0 1.2rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); text-align: center; }
.dk-pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0 0 1rem; }
@media (min-width: 820px) { .dk-pages { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } }
.dk-pages figure { margin: 0; }
.dk-pages img {
  width: 100%; height: auto; border-radius: 3px; background: #fff;
  box-shadow: 0 1px 2px rgba(40,25,15,.12), 0 12px 26px -12px rgba(40,25,15,.35);
}
.dk-pages figcaption { text-align: center; font-weight: 700; font-size: 1rem; margin-top: .6rem; }
.center { text-align: center; }
.center-head { margin-inline: auto; text-align: center; }

/* ================= Konfigurátor (průvodce) ================= */
.dk-konf { background: var(--paper-deep); border-block: 1px solid var(--line); }
.wizard { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .wizard { grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 3rem; } }
.wz-preview { text-align: center; }
.wz-preview .book { max-width: 350px; margin: 0 auto; }
@media (min-width: 960px) { .wz-preview { position: sticky; top: 96px; padding-top: .5rem; } }
/* Mobil: náhled obálky jako lepivý pruh nad krokem, ať je vidět i při psaní */
@media (max-width: 959px) {
  .wz-preview {
    position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: 1rem; text-align: left;
    margin-inline: calc(-1 * var(--gutter)); padding: .6rem var(--gutter);
    background: rgba(244, 234, 217, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
  }
  .wz-preview .book { width: 96px; flex: none; margin: 0; }
  .wz-preview .book::before { transform: translate(3px, 3px); }
  .wz-preview .book::after { transform: translate(1.5px, 1.5px); }
  .wz-cover-desc { margin: 0; font-size: 1rem; }
}
.wz-cover-desc { font-size: 1rem; color: var(--ink-soft); margin: 1.1rem auto 0; max-width: 24rem; }
.wz-main {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 2.2rem); box-shadow: 0 1px 2px rgba(42,33,28,.05), 0 18px 40px -20px rgba(42,33,28,.25);
  min-width: 0;
}
.wz-progress { display: none; font-size: 1rem; }
.is-stepped .wz-progress {
  list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  counter-reset: none; font-size: .92rem; font-weight: 700; color: var(--ink-soft);
}
.wz-progress li { margin: 0; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; position: relative; padding-top: .7rem; line-height: 1.2; font-size: 1rem; }
.wz-progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: var(--line); }
.wz-progress li span { display: none; }
.wz-progress li[aria-current="step"] { color: var(--ink); }
.wz-progress li[aria-current="step"]::before, .wz-progress li.done::before { background: var(--cta); }
.wz-progress li.done { color: var(--ink); }

.wz-step + .wz-step { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.is-stepped .wz-step { display: none; }
.is-stepped .wz-step.is-active { display: block; margin: 0; padding: 0; border: 0; animation: wz-in .25s ease; }
@keyframes wz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wz-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; }
.wz-title:focus { outline: none; }
.wz-num { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-family: "Atkinson Hyperlegible", sans-serif; font-size: 1.05rem; font-weight: 700; }
.wz-lead { color: var(--ink-soft); margin-top: -.4rem; }
.wz-field { margin: 0 0 1.5rem; }
fieldset.wz-field { border: 0; padding: 0; min-width: 0; }
.wz-field legend, .wz-field > label { font-weight: 700; margin-bottom: .55rem; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: 1rem; }
.wz-main .req { color: var(--ink-soft); font-weight: 400; font-size: 1rem; }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap-reverse; }
.wz-nav .btn { margin-left: auto; }
.wz-nav-start { justify-content: flex-start; margin-top: 1rem; }
.wz-nav { display: none; }
.is-stepped .wz-nav { display: flex; }
@media (max-width: 559px) { .wz-nav .btn { width: 100%; } }
.btn-link {
  font: inherit; font-weight: 700; font-size: 1.125rem; color: var(--ink); background: none; border: 0; padding: .6rem .2rem;
  min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: .2em;
  text-decoration-color: var(--tomato);
}
.btn-link:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* Volby jako čipy (radio) */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; margin: 0; }
.chip input, .lvl input, .theme-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: .45rem 1.05rem; border-radius: 999px;
  background: #fff; border: 2px solid #cdbfae; font-weight: 700; font-size: 1.02rem; cursor: pointer; transition: background .15s, border-color .15s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip input:focus-visible + span, .lvl input:focus-visible + .lvl-box, .theme-tile input:focus-visible ~ .tt-art { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Obtížnost */
.lvl-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.lvl { display: block; margin: 0; cursor: pointer; }

.lvl-box {
  display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; height: 100%;
  padding: .85rem 1rem; border: 2px solid #cdbfae; border-radius: 16px; background: #fff; transition: border-color .15s, background .15s;
}
.lvl-box strong { font-size: 1.08rem; }
.lvl-box > span:last-child { grid-column: 2; font-size: 1.125rem; color: var(--ink-soft); line-height: 1.3; }
.lvl-box .bars { grid-row: span 2; display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bars i { width: 7px; border-radius: 2px; background: #d9cdbd; }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 70%; } .bars i:nth-child(3) { height: 100%; }
.lvl input[data-level="1"] + .lvl-box .bars i:nth-child(1),
.lvl input[data-level="2"] + .lvl-box .bars i:nth-child(-n+2),
.lvl input[data-level="3"] + .lvl-box .bars i { background: var(--cta); }
.lvl:hover .lvl-box { border-color: var(--ink); }
.lvl input:checked + .lvl-box { border-color: var(--ink); background: var(--sun-tint); box-shadow: inset 0 0 0 1px var(--ink); }
@media (min-width: 1100px) {
  .lvl-grid { grid-template-columns: repeat(3, 1fr); }
  .lvl-box { grid-template-columns: 1fr; row-gap: .25rem; align-content: start; }
  .lvl-box .bars { grid-row: auto; margin-bottom: .2rem; }
  .lvl-box > span:last-child { grid-column: 1; }
}

/* Téma: dlaždice */
.themes { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr)); }
.theme-tile { display: block; margin: 0; cursor: pointer; position: relative; }
.tt-art {
  display: block; aspect-ratio: 16 / 10; border-radius: 14px; border: 3px solid transparent; outline-offset: 2px;
  background: var(--bc-art) center / cover no-repeat, var(--sun);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset; transition: transform .15s;
}
@media (min-width: 1100px) { .themes { grid-template-columns: repeat(5, 1fr); gap: .7rem; } .tt-art { aspect-ratio: 1 / .8; } }
.tt-name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; margin-top: .4rem; }
.theme-tile:hover .tt-art { transform: translateY(-2px); }
.theme-tile input:checked ~ .tt-art { border-color: #fff; box-shadow: 0 0 0 3px var(--ink), 0 0 0 7px var(--sun); }
.theme-tile input:checked ~ .tt-art::after {
  content: "✓"; position: absolute; top: .45rem; right: .45rem; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--cta); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1rem;
}

/* Návrhy věnování */
.suggest { display: flex; flex-direction: column; gap: .45rem; margin-top: .6rem; }
.suggest:empty { display: none; }
.suggest button {
  font: inherit; font-size: .98rem; text-align: left; color: var(--ink); background: #faf5ed; border: 1.5px dashed #cdbfae;
  border-radius: 12px; padding: .55rem .85rem; min-height: 44px; cursor: pointer; font-family: var(--serif); font-style: italic;
}
.suggest button:hover { border-color: var(--ink); border-style: solid; }
.suggest button[aria-pressed="true"] { border: 2px solid var(--cta); background: var(--sun-tint); }

.wz-more { border: 2px solid var(--line); border-radius: 16px; background: #fff; margin: 0 0 .5rem; }
.wz-more summary { cursor: pointer; font-weight: 700; padding: .9rem 1rem; min-height: 48px; list-style: none; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.wz-more summary::-webkit-details-marker { display: none; }
.wz-more summary::before { content: "+"; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sun-pale); display: grid; place-items: center; flex: none; }
.wz-more[open] summary::before { content: "–"; }
.wz-more .field { padding: 0 1rem 1rem; margin: 0; }

/* Shrnutí */
.recap { margin: 0 0 1.4rem; border: 2px solid var(--line); border-radius: 16px; background: #fffdf9; }
.recap > div { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: .8rem 1rem; }
.recap > div + div { border-top: 1px solid var(--line); }
.recap dt { grid-column: 1; font-size: 1rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.recap dd { margin: 0; grid-column: 1; font-size: 1.1rem; font-weight: 700; overflow-wrap: anywhere; }
.recap dd.recap-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1rem; }
.recap dd.is-empty { font-weight: 400; color: var(--ink-soft); }
.wz-price { background: var(--sun-tint); border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: 1.6rem; }
.wz-price-main { margin: 0; font-size: 1.05rem; }
.wz-price-main strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-right: .3rem; }
.wz-price-line { margin: .3rem 0 0; font-size: 1rem; color: var(--ink-soft); }
.wz-form-intro { background: var(--sun-tint); border-radius: 14px; padding: .9rem 1rem; font-size: 1rem; }
.wz-form .micro { font-size: 1rem; color: var(--ink-soft); margin: .8rem 0 0; }

/* ================= Jak to probíhá ================= */
.dk-steps { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.2rem; counter-reset: none; }
@media (min-width: 820px) { .dk-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.dk-steps li { margin: 0; text-align: center; padding: 0 .5rem; }
.dk-step-num {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto .8rem; border-radius: 50%;
  background: var(--sun); border: 2px solid var(--sun); font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink);
}
.dk-steps h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.dk-steps p { color: var(--ink-soft); margin: 0; font-size: 1.125rem; }

/* ================= Závěr ================= */
.dk-final { background: var(--paper); box-shadow: inset 0 8px 0 var(--sun); }
.dk-final-inner { text-align: center; }
.dk-final h2 { max-width: 22ch; margin-inline: auto; }
.dk-final p { color: var(--ink-soft); }

/* ---------- Přijde zabalený jako dárek (#baleni) ---------- */
.dk-pack { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .dk-pack { grid-template-columns: 1.25fr 1fr; gap: 3rem; } }
.dk-pack-img { margin: 0; }
.dk-pack-img img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #d6b88f; }
.dk-pack-img figcaption { margin-top: .6rem; font-size: 1rem; color: var(--ink-soft); text-align: center; }
.dk-pack-text h2 { margin: .3rem 0 .8rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.12; }
.dk-pack-text > p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.125rem; }
.dk-pack-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.dk-pack-list li { position: relative; padding-left: 1.7rem; font-size: 1.125rem; line-height: 1.45; }
.dk-pack-list li::before { content: ""; position: absolute; left: .25rem; top: .5em; width: .62rem; height: .62rem; background: var(--sun); transform: rotate(45deg); border-radius: 2px; }
.dk-pack-text .note { margin: 0; font-size: 1.125rem; }
