/* Výdejní – web jako jídelna v poledne (zadavatel 1. 11. 2026: „udělej ty bistra+bufety, restaurace, jídelny“; laťka Sousedská,
   Silniční a Břitká – jeden fotografický nápad, vrstva fotky nad obřím nadpisem, materiál jako fotka). V úvodu fotka jídelny přes celou
   šířku: nahoře černá plstěná tabule s drážkami na stěně, dole nerezový výdejní pult s hrnci; do drážek tabule je nasouvacími bílými
   písmeny vyskládaný obří nadpis a naběračka v hrnci polévky stojí přes konec nápisu (vrstva photo_layer() nad nápisem – hlavní
   vychytávka Hloubka, theme.js). Pod fotkou pokračuje tabule s textem úvodu. Pod úvodem stejný svět: jídelníček na celý týden na tabuli
   po dnech (Seznam „Jídelní lístek“), ceník na nerezu výdejní linky, výzva a kontakt s výdejní dobou zase nasouvacími písmeny na tabuli.
   Plsť a nerez jsou fotky (assets/tabule.webp, assets/nerez.webp – scripts/vydej-materialy.py; barvu podle palety nemění). Nasouvací
   písmena = písmo nadpisů (Archivo) verzálkami, prostrkaně, bílá plastová se stínem na plsti (žádná maska ani ruční písmo – křída
   patří šabloně Křídová). Na tabuli je text vždy světlý (paleta sekce se uvnitř .vd-board přepne na tmavou), na nerezu vždy tmavý;
   jinde jen barvy z palety (--c-*). Rohy ostré. */

:root {
  --wrap: 1312px;
  --gutter: clamp(20px, calc(4.44 * var(--vw, 1vw)), 64px);
  --section: calc(clamp(72px, calc(8.4 * var(--vw, 1vw)), 124px) * var(--space));
  --fs-hero: clamp(2.6rem, calc(5.6 * var(--vw, 1vw)), 5.2rem);
  --fs-h1: clamp(2.2rem, calc(4.2 * var(--vw, 1vw)), 3.9rem);
  --fs-h2: clamp(2.2rem, calc(4.2 * var(--vw, 1vw)), 3.9rem);
  --head-weight: 700;
  --head-tracking: .02em;
  --head-line: 1;
  --btn-h: 52px;
  --btn-weight: 600;
  --header-h: 84px;
  --media-bg: color-mix(in srgb, var(--c-bg) 90%, var(--c-text));
  /* materiály (fotky – barvu podle palety nemění) */
  --vd-board-img: url("assets/tabule.webp");
  --vd-board-c: #262827;
  --vd-steel-img: url("assets/nerez.webp");
  --vd-steel-c: #c3c5c6;
  /* nasouvací písmena (materiál): bílá, volba šablony Žlutá; ceny na tabuli druhou sadou písmen */
  --vd-letter: #f3f1ea;
  --vd-letter-2: #f2d27c;
  /* text na tabuli (vždy světlý) a na nerezu (vždy tmavý) */
  --vd-on: #ece9e2;
  --vd-on-2: #c9c6be;
  --vd-steel-ink: #141617;
  --vd-steel-ink-2: #34383a;
  --vd-line: rgb(var(--c-text-rgb) / .2);
  /* výška fotky v úvodu (pod ní pokračuje tabule s textem) */
  --vd-ph: clamp(440px, calc(44 * var(--vw, 1vw)), 700px);
}
:root[data-o-letters="yellow"] { --vd-letter: #f2d27c; --vd-letter-2: #f3f1ea; }
:root[data-scheme="dark"] { --vd-line: rgb(var(--c-text-rgb) / .18); }

/* ---------- tabule: plocha s fotkou materiálu, uvnitř tmavá paleta ---------- */
.vd-board {
  --c-text: var(--vd-on); --c-text-rgb: 236 233 226; --c-muted: var(--vd-on-2); --c-line: rgb(236 233 226 / .2); --c-line-strong: rgb(236 233 226 / .42);
  --c-accent-ink: color-mix(in oklab, var(--c-accent) 40%, #fff); --c-bg: #262827; --c-bg-rgb: 38 40 39; --c-surface: #303231;
  --vd-line: rgb(236 233 226 / .22);
  position: relative; isolation: isolate; color: var(--c-text);
  background: var(--vd-board-img) 0 0 / 280px auto repeat, var(--vd-board-c);
}
/* nerez výdejní linky: světlá plocha s fotkou materiálu, uvnitř světlá paleta s tmavým textem */
.vd-steel {
  --c-text: var(--vd-steel-ink); --c-text-rgb: 20 22 23; --c-muted: var(--vd-steel-ink-2); --c-line: rgb(20 22 23 / .2); --c-line-strong: rgb(20 22 23 / .45);
  --c-accent-ink: color-mix(in oklab, var(--c-accent) 72%, #000); --c-bg: #c3c5c6; --c-bg-rgb: 195 197 198; --c-surface: #b7b9ba;
  --vd-line: rgb(20 22 23 / .22);
  position: relative; isolation: isolate; color: var(--c-text);
  background: var(--vd-steel-img) center / cover no-repeat, var(--vd-steel-c);
}
/* vlastní pozadí sekce (Upravit sekci › Pozadí sekce) má přednost: materiál ustoupí, text bere barvy sekce */
.home-sec[data-sec-bg] :is(.vd-board, .vd-steel) { --c-text: inherit; --c-text-rgb: inherit; --c-muted: inherit; --c-line: inherit; --c-line-strong: inherit;
  --c-accent-ink: inherit; --c-bg: inherit; --c-bg-rgb: inherit; --c-surface: inherit; --vd-line: rgb(var(--c-text-rgb) / .2); --vd-on: var(--c-text); --vd-on-2: var(--c-muted); background: none !important; }
.home-sec[data-sec-bg] .vd-board .vd-letters { color: var(--c-text); text-shadow: none; }

/* nasouvací písmena: verzálky prostrkaně, bílý plast vrhá na plsť tvrdý stín dolů a měkký kolem (písmeno vystupuje z drážky) */
.vd-letters { color: var(--vd-letter); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  text-shadow: 0 .028em 0 rgb(0 0 0 / .55), 0 .05em .08em rgb(0 0 0 / .45); }

/* ---------- typografie a tlačítka ---------- */
body { font-size: calc(1.02rem * var(--fs-scale, 1)); }
h1, h2, .section-title, .page-title { font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em; }
.section-title { font-size: var(--fs-h2); line-height: 1; color: var(--c-text); }
.section-head { margin-bottom: clamp(24px, calc(3 * var(--vw, 1vw)), 44px); }
.eyebrow { color: var(--c-accent-ink); font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.prose { line-height: 1.65; }
.price, .svc-price, .pd-price, .summary-total { font-variant-numeric: lining-nums tabular-nums; }
.btn { font-size: 1rem; letter-spacing: .01em; }
[data-s-buttons="solid"] .btn:hover { background: color-mix(in oklab, var(--c-accent) 86%, #000); border-color: color-mix(in oklab, var(--c-accent) 86%, #000); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.link { text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; font-weight: 600; }
.link:hover { color: var(--c-accent-ink); }
.tag { border-radius: 0; background: var(--c-accent); color: var(--c-on-accent); font-weight: 600; letter-spacing: .01em; }
.tag-sale { background: var(--c-sale); color: var(--c-on-sale, #fff); }
.ph-text { font-family: var(--font-head); font-weight: 700; }

/* ---------- hlavička: stěna jídelny nad tabulí ---------- */
.announce { background: var(--c-text); color: var(--c-bg); font-size: .86rem; }
.vd-head { background: var(--c-bg); border-bottom: 1px solid var(--vd-line); }
.vd-head-inner { gap: clamp(20px, calc(2.6 * var(--vw, 1vw)), 38px); }
.vd-head .logo { margin-right: auto; }
.vd-head .logo-text { font-family: var(--font-logo); font-weight: 700; font-size: 1.55rem; letter-spacing: .06em; text-transform: uppercase; }
.vd-nav { flex: none; gap: clamp(18px, calc(2.36 * var(--vw, 1vw)), 34px); margin-left: auto; }
.vd-nav > a { font-size: 1.04rem; font-weight: 500; letter-spacing: .01em; }
.vd-nav > a::after { display: none; }
.vd-nav > a:hover, .vd-nav > a[aria-current] { color: var(--c-accent-ink); }
.vd-actions { align-items: center; gap: 8px; margin-left: 0; }
.vd-cart { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; margin-left: 4px;
  border: 1.5px solid rgb(var(--c-text-rgb) / .5); color: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.vd-cart .i { width: 18px; height: 18px; }
.vd-cart:hover { border-color: currentColor; }
.vd-cart .cart-count { position: static; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 0; background: var(--c-accent); color: var(--c-on-accent); font-size: .78rem; }
.vd-toggle { display: none; }
.vd-burger { display: block; width: 24px; height: 10px; border-block: 2px solid currentColor; }
/* na úvodu s fotkou leží hlavička průhledně přes světlou stěnu jídelny (inkoust vždy tmavý – stěna je světlá v každé paletě),
   po posunutí na barvě stránky */
.vd-head { transition: background-color .35s, color .35s, border-color .35s; }
.vd-head--cover { background: transparent; border-bottom-color: transparent; color: #1b1c1b; }
.vd-head--cover .vd-cart { border-color: rgb(27 28 27 / .55); }
.vd-head--cover .vd-nav > a:hover { color: #1b1c1b; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.vd-head--cover.is-scrolled { background: var(--c-bg); color: var(--c-text); border-bottom-color: var(--vd-line); }
.vd-head--cover.is-scrolled .vd-cart { border-color: rgb(var(--c-text-rgb) / .5); }
.vd-head--cover.is-scrolled .vd-nav > a:hover { color: var(--c-accent-ink); text-decoration: none; }
body.page-home:has(.vd-head--cover) #sec-hero { margin-top: calc(-1 * var(--header-h) - 1px); }
body.page-home:has(.vd-head--cover) .vd-hero.hero--full { --vd-ph: calc(clamp(440px, calc(44 * var(--vw, 1vw)), 700px) + var(--header-h)); }

/* ---------- úvod: nápis nasouvacími písmeny na plstěné tabuli ---------- */
:root.theme-vydej .vd-hero.hero--full { aspect-ratio: auto; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
  min-height: 0; padding: var(--vd-ph) 0 0; isolation: isolate; overflow: hidden; color: var(--vd-on);
  background: var(--vd-board-img) 0 0 / 280px auto repeat, var(--vd-board-c); }
.vd-hero.hero--full::before { display: none; }
:root.theme-vydej .vd-hero.hero--full .hero-bg { position: absolute; inset: 0 0 auto 0; height: var(--vd-ph); overflow: hidden; background: var(--vd-board-c); }
.vd-hero .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* fotka spodním okrajem přejde do tabule pod ní (fotka i vrstva stejně, ať vrstva přesně sedí) */
:root.theme-vydej .vd-hero.hero--full .hero-bg img { -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent); mask-image: linear-gradient(to bottom, #000 86%, transparent); }
.vd-hero.hero.hero--full .hero-bg::after { display: none; }
.vd-ladle { z-index: 3; pointer-events: none; }
/* nápis vyskládaný z písmen na tabuli ve fotce – polohu a velikost dopočítá theme.js; prvek drží polohu i při úpravách (!important) */
.vd-hero .vd-sign { margin: 0 !important; font-family: var(--font-head); font-weight: 600; line-height: 1.04; letter-spacing: .07em; text-wrap: balance; }
.vd-hero--photo .vd-sign { position: absolute !important; z-index: 2; left: var(--vd-x, 7%) !important; right: auto !important; top: var(--vd-top, 17%);
  width: var(--vd-w, auto) !important; max-width: none !important; padding: .1em 0; text-align: left !important;
  font-size: var(--vd-fs, calc(8 * var(--vw, 1vw))); }
.vd-hero[data-vd-one] .vd-sign { white-space: nowrap; }
.vd-hero .vd-eyebrow { position: absolute; z-index: 2; left: var(--vd-x, 7%); top: var(--vd-et, 6%); margin: 0;
  font-size: clamp(1rem, calc(1.32 * var(--vw, 1vw)), 1.28rem); letter-spacing: .16em; }
/* text na tabuli pod fotkou */
.vd-hero .vd-base { position: relative; z-index: 5; background: none; }
.vd-hero .vd-base-inner { display: flex; align-items: center; gap: 48px; padding-block: clamp(22px, calc(2.4 * var(--vw, 1vw)), 34px) clamp(30px, calc(3.4 * var(--vw, 1vw)), 48px); }
:root .vd-hero .hero-content { max-width: 640px; margin: 0; padding: 0; }
:root .vd-hero .hero-content::before { display: none; }
.vd-hero .hero-text { max-width: none; margin: 0; color: var(--vd-on); font-size: 1.18rem; line-height: 1.5; }
.vd-hero .vd-base .eyebrow { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: .16em; }
.vd-base-actions { display: flex; align-items: center; gap: 30px; margin: 0 0 0 auto; flex: none; }
.vd-hero .vd-link { color: var(--vd-on); font-size: 1.1rem; text-decoration: none; }
.vd-hero .vd-link:hover { color: #fff; }
.vd-cta { min-height: 56px; padding: 0 30px; font-size: 1.1rem; }
/* vlastní fotka bez vrstvy: nápis vyskládaný na tabuli pod fotkou, nad textem úvodu */
.vd-hero:is(.vd-hero--band, .vd-hero--text) .vd-sign { position: relative; z-index: 4; width: auto; padding: clamp(26px, calc(3 * var(--vw, 1vw)), 44px) max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 0;
  font-size: var(--vd-fs, clamp(2.8rem, calc(7 * var(--vw, 1vw)), 6.4rem)); text-align: left; }
.vd-hero:is(.vd-hero--band, .vd-hero--text)[data-vd-one] .vd-sign { white-space: nowrap; }
.vd-hero:is(.vd-hero--band, .vd-hero--text):not([data-vd-one]) .vd-sign { max-width: calc(var(--vd-w, 100%) + 2 * max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)))); }
/* jen text (bez fotky): tabule přes celou šířku */
.vd-hero.hero--text { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, calc(40 * var(--vw, 1vw)), 600px);
  padding: 0; color: var(--vd-on); background: var(--vd-board-img) 0 0 / 280px auto repeat, var(--vd-board-c); }
/* písmena se při prvním zobrazení zasunou do drážek (shora o kousek dolů, jen se zapnutými animacemi) */
@media (prefers-reduced-motion: no-preference) {
  [data-anim="on"] .vd-hero .vd-sign { animation: vd-push calc(.9s * var(--anim-speed, 1)) cubic-bezier(.2, .7, .2, 1) .2s both; }
}
@keyframes vd-push { from { opacity: 0; translate: 0 -.12em; } to { opacity: 1; translate: 0 0; } }
:root.is-editing .vd-hero .vd-sign { animation: none; }

/* ---------- výhody: jedna řada mezi linkami ---------- */
.usp { padding-block: clamp(26px, calc(3 * var(--vw, 1vw)), 44px); }
.usp-list { gap: 0; border-block: 1px solid var(--vd-line); }
.usp-item { padding: 22px clamp(14px, calc(2 * var(--vw, 1vw)), 30px); background: none; border: 0; border-radius: 0; text-align: left; align-items: flex-start; }
.usp-item + .usp-item { border-left: 1px solid var(--vd-line); }
.usp-icon { width: 30px; height: 30px; margin: 0 0 12px; padding: 0; background: none; border-radius: 0; color: var(--c-accent-ink); }
.usp-item strong { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }

/* ---------- jídelníček na tabuli: dny vedle sebe ---------- */
.vd-menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 48px; flex-wrap: wrap; }
.vd-menu .section-title { font-size: clamp(2.4rem, calc(4.6 * var(--vw, 1vw)), 4.4rem); line-height: 1.02; }
.vd-menu-note { margin: 0; max-width: 32em; color: var(--vd-on-2); font-size: 1.08rem; line-height: 1.55; }
.vd-days { display: grid; grid-template-columns: repeat(var(--vd-cols, 5), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--vd-line); }
.vd-day { min-width: 0; padding: 22px clamp(14px, calc(1.6 * var(--vw, 1vw)), 26px) 8px; }
.vd-day:first-child { padding-left: 0; }
.vd-day + .vd-day { border-left: 1px solid var(--vd-line); }
.vd-day-name { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-family: var(--font-head); font-size: clamp(1.25rem, calc(1.6 * var(--vw, 1vw)), 1.55rem); font-weight: 600; line-height: 1.1; }
.vd-day-now { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vd-letter-2); }
.vd-today .vd-day-name { color: var(--vd-letter-2); }
.vd-today .vd-day-name > span { text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .28em; }
.vd-dishes { margin: 0; padding: 0; list-style: none; }
.vd-dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed rgb(236 233 226 / .16); }
.vd-dish:last-child { border-bottom: 0; }
.vd-dish-name { grid-column: 1; font-weight: 600; font-size: 1.04rem; line-height: 1.3; color: var(--vd-on); }
.vd-dish-price { grid-column: 2; grid-row: 1; justify-self: end; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .06em; text-transform: none; line-height: 1; white-space: nowrap; color: var(--vd-letter-2); }
.vd-dish-desc { grid-column: 1 / -1; margin-top: 3px; color: var(--vd-on-2); font-size: .93rem; line-height: 1.45; }
.vd-dish-extra { grid-column: 1 / -1; margin-top: 4px; color: var(--vd-on-2); font-size: .82rem; }
.home-sec[data-sec-bg] .vd-menu :is(.vd-dish-price, .vd-day-now, .vd-today .vd-day-name) { color: var(--c-accent-ink); }

/* ---------- Služby a ceník: nerez výdejní linky ---------- */
.vd-svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, calc(6 * var(--vw, 1vw)), 104px); align-items: start; }
.vd-svc-side .section-head { margin-bottom: 18px; }
.vd-svc-note { margin: 0 0 28px; max-width: 30em; color: var(--c-muted); font-size: 1.1rem; line-height: 1.55; }
.vd-svc-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--media-bg); border-radius: var(--r); }
.vd-svc-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-svc .svc-list.vd-pricelist { display: block; max-width: none; margin: 0; padding: 0; border-top: 3px solid var(--c-text); list-style: none; }
.vd-pricelist .svc { display: block; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--vd-line); }
.vd-pricelist .svc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: baseline; padding: 0; }
.vd-pricelist .svc-name { grid-column: 1; margin: 0; font-family: var(--font-body); font-size: clamp(1.18rem, calc(1.5 * var(--vw, 1vw)), 1.42rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.vd-pricelist .svc-price { grid-column: 2; grid-row: 1; justify-self: end; color: var(--c-accent-ink); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, calc(1.6 * var(--vw, 1vw)), 1.55rem); letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.vd-pricelist .svc-desc { grid-column: 1 / -1; margin: 6px 0 0; max-width: 40em; color: var(--c-muted); font-size: 1rem; }
.vd-pricelist .svc-head { padding: 34px 0 10px; border-bottom: 0; }
.vd-pricelist .svc-head:first-child { padding-top: 18px; }
.vd-pricelist .svc-head .svc-name { font-family: var(--font-body); font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.vd-svc-cta { margin-top: 30px; }
.vd-svc--wide .vd-svc-grid { grid-template-columns: minmax(0, 1fr); }
.vd-svc--wide .vd-pricelist { columns: 2; column-gap: clamp(36px, calc(5.6 * var(--vw, 1vw)), 90px); }
.vd-svc--wide .vd-pricelist .svc { break-inside: avoid; }
.vd-svc.block-services--cards .svc-list { gap: clamp(18px, calc(2.4 * var(--vw, 1vw)), 34px); }
.vd-svc.block-services--cards .svc { background: none; border: 0; border-radius: 0; padding: 0; }
.vd-svc.block-services--cards .svc-media { aspect-ratio: 4 / 5; border-radius: var(--r); }
.vd-svc.block-services--cards .svc-body { padding: 16px 0 0; border-top: 0; }
.vd-svc.block-services--cards .svc-name { font-family: var(--font-body); font-size: 1.3rem; font-weight: 600; }
.vd-svc.block-services--cards .svc-price { color: var(--c-accent-ink); font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }

/* ---------- Tým ---------- */
.block-team .team-media { aspect-ratio: 4 / 5; border-radius: var(--r); }
.block-team .team-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; }
.block-team .team-role { color: var(--c-accent-ink); font-weight: 500; }

/* ---------- Časté dotazy: dvě řady za sebou ---------- */
.block-faq .faq-list { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, calc(5 * var(--vw, 1vw)), 84px); align-items: start; border-top: 0; }
.home-sec[data-sec-cols="1"] .block-faq .faq-list { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.block-faq .faq-item { border-top: 0; border-bottom: 1px solid var(--vd-line); background: none; border-radius: 0; }
.block-faq .faq-item:nth-child(-n + 2) { border-top: 3px solid var(--c-text); }
.home-sec[data-sec-cols="1"] .block-faq .faq-item:nth-child(2) { border-top: 0; }
.block-faq .faq-item summary { padding: 20px 0; font-family: var(--font-body); font-weight: 600; font-size: clamp(1.1rem, calc(1.4 * var(--vw, 1vw)), 1.3rem); line-height: 1.3; }
.block-faq .faq-ico { color: var(--c-accent-ink); }
.block-faq .faq-item .prose { padding-bottom: 22px; color: var(--c-muted); }

/* ---------- Galerie: fotky v řadě jako tácy na pultu ---------- */
.block-gallery .gallery-grid { gap: clamp(14px, calc(1.8 * var(--vw, 1vw)), 26px); align-items: start; }
.block-gallery .gallery-item { aspect-ratio: 4 / 5; border-radius: var(--r); }

/* ---------- O nás ---------- */
.story-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, calc(6.4 * var(--vw, 1vw)), 110px); align-items: center; }
.story-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; }
.story .section-title { margin-bottom: 26px; }
.story .prose { font-size: 1.1rem; max-width: 34em; }

/* ---------- výzva nasouvacími písmeny na tabuli ---------- */
.vd-callout { padding-block: var(--section); }
.vd-cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, calc(5 * var(--vw, 1vw)), 90px); align-items: end; }
.vd-callout .vd-cta-title { margin: 0; font-size: clamp(2.4rem, calc(5.2 * var(--vw, 1vw)), 5rem); line-height: 1.04; }
.vd-cta-text { margin: 0 0 22px; max-width: 30em; color: var(--vd-on-2); font-size: 1.12rem; line-height: 1.55; }
.vd-cta-act { margin: 0; }

/* ---------- Kontakt a výdejní doba na tabuli ---------- */
.vd-contact .section-title { font-size: clamp(2.4rem, calc(4.6 * var(--vw, 1vw)), 4.4rem); line-height: 1.02; }
.vd-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, calc(5 * var(--vw, 1vw)), 80px); align-items: start; }
.vd-contact--solo .vd-contact-grid { grid-template-columns: minmax(0, 1fr); }
.vd-contact a:not(.btn) { color: var(--vd-on); text-decoration-color: rgb(236 233 226 / .4); text-underline-offset: 4px; }
.vd-contact a:not(.btn):hover { color: #fff; }
.vd-muted, .vd-contact .hours-note { color: var(--vd-on-2); }
.vd-facts { display: grid; margin: 0; border-top: 1px solid var(--vd-line); }
.vd-facts > div { display: grid; grid-template-columns: minmax(9.5em, 13em) minmax(0, 1fr); column-gap: 20px; padding: 14px 0; border-bottom: 1px dashed rgb(236 233 226 / .2); }
.vd-facts > div:last-child { border-bottom: 0; }
.vd-facts dt { margin: 0; font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: var(--vd-letter); }
.vd-facts dd { margin: 0; line-height: 1.55; }
.vd-contact .hours-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; }
.vd-contact .hours-list > div { display: flex; gap: 10px; }
.vd-contact .hours-list dt { min-width: 4.4em; margin: 0; font-family: var(--font-body); font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: inherit; color: var(--vd-on-2); }
.vd-contact .hours-list dd { white-space: nowrap; }
.vd-store + .vd-store { margin-top: 30px; }
.vd-store-name { margin: 0 0 10px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.vd-contact .map-box { margin-top: 24px; }
.vd-contact .contact-cta { margin-top: 30px; }
.vd-contact-photo { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--media-bg); border-radius: var(--r); }
.vd-contact-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- novinky, text ---------- */
.newsletter { background: none; }
.newsletter-inner { border-top: 3px solid var(--c-text); padding-top: clamp(26px, calc(3 * var(--vw, 1vw)), 44px); }
.newsletter-form input { border-radius: var(--r); }

/* Seznam jako tabulka (Seznamy › Tabulka) */
.lst-table { border-top: 3px solid var(--c-text); }
.lst-row { border-bottom-color: var(--vd-line); }
.lst-head { color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.lst-c--title { font-weight: 600; font-size: 1.12rem; }
.lst-c--price { color: var(--c-accent-ink); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.lst-group { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Brzy otevíráme / Dočasně zavřeno: nadpis nasouvacími písmeny na tabuli */
.soon-content { position: relative; isolation: isolate; color: var(--vd-on); background: var(--vd-board-img) 0 0 / 280px auto repeat, var(--vd-board-c); }
.soon-content .hero-title { color: var(--vd-letter); font-weight: 600; line-height: 1.04; letter-spacing: .07em; text-shadow: 0 .028em 0 rgb(0 0 0 / .55), 0 .05em .08em rgb(0 0 0 / .45); }
.soon-content .hero-text, .soon-content :is(.soon-links, .soon-links a) { color: var(--vd-on-2); }
.soon-content .logo { color: var(--vd-on); }

/* ---------- kategorie a zboží (e-shop) ---------- */
.cat-grid { gap: clamp(14px, calc(1.8 * var(--vw, 1vw)), 26px); }
@media (min-width: 861px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-card { background: none; border: 0; border-radius: 0; padding: 0; text-decoration: none; }
.cat-media { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--media-bg); }
.cat-body { display: block; padding: 14px 0 0; border-top: 0; }
.cat-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, calc(1.5 * var(--vw, 1vw)), 1.45rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.cat-count { display: block; margin-top: 6px; color: var(--c-muted); }
.cat-card:hover .cat-name { color: var(--c-accent-ink); }
.pc { background: none; border: 0; border-radius: 0; }
.pc-media { border-radius: var(--r); background: var(--media-bg); }
.pc-body { padding: 14px 0 0; }
.pc-name { font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.pc-price .price { color: var(--c-accent-ink); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.pc-add { border-radius: 0; }
.section-link { font-weight: 600; color: var(--c-accent-ink); }
.pd-price { color: var(--c-accent-ink); }
.summary { border-radius: 0; background: var(--c-surface); }
.page-head { border-bottom: 3px solid var(--c-text); padding-bottom: 18px; }

/* bannery: fotka, dole pás tabule s nadpisem z nasouvacích písmen (bez vlastního štítku – štítky z úprav mají přednost) */
.banner { border-radius: var(--r); overflow: hidden; min-height: clamp(300px, calc(30 * var(--vw, 1vw)), 440px); }
.banner:not([data-label]) .banner-body { position: absolute; left: 0; right: 0; bottom: 0; top: auto; max-width: none; margin: 0;
  padding: clamp(18px, calc(2.2 * var(--vw, 1vw)), 30px) clamp(20px, calc(2.6 * var(--vw, 1vw)), 38px);
  background: var(--vd-board-img) 0 0 / 280px auto repeat, var(--vd-board-c); color: var(--vd-on); text-shadow: none; border-radius: 0; }
.banner:not([data-label]) .banner-title { color: var(--vd-letter); font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, calc(2.2 * var(--vw, 1vw)), 2.2rem); line-height: 1.05;
  letter-spacing: .07em; text-transform: uppercase; text-shadow: 0 .028em 0 rgb(0 0 0 / .55), 0 .05em .08em rgb(0 0 0 / .45); }
.banner:not([data-label]) .banner-text { color: var(--vd-on-2); }
.banner:not([data-label]) .banner-cta { color: var(--vd-on); border-bottom: 2px solid currentColor; text-decoration: none; font-weight: 600; }
.banner::after { display: none; }

/* ---------- patička: pás tabule, pod ním plocha z palety ---------- */
.vd-foot { background: var(--c-surface); color: var(--c-text); border-top: 0; padding-top: 0; }
.vd-foot-board { padding-block: clamp(30px, calc(3.6 * var(--vw, 1vw)), 52px); }
.vd-foot-claim { margin: 0; max-width: 30em; font-size: clamp(1.5rem, calc(2.3 * var(--vw, 1vw)), 2.2rem); line-height: 1.15; }
.vd-foot-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: clamp(34px, calc(4 * var(--vw, 1vw)), 56px) clamp(22px, calc(2.6 * var(--vw, 1vw)), 34px); border-bottom: 3px solid var(--c-text); }
.vd-foot .logo-text { font-family: var(--font-logo); font-weight: 700; font-size: clamp(2rem, calc(3.4 * var(--vw, 1vw)), 3.2rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1; color: var(--c-text); }
.vd-foot-side { display: grid; justify-items: end; gap: 18px; }
.vd-foot .footer-grid { padding-block: clamp(28px, calc(3.2 * var(--vw, 1vw)), 44px); }
.vd-foot .footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.vd-foot .footer-links a:hover { color: var(--c-accent-ink); }
.vd-foot .footer-bottom { border-top: 1px solid var(--c-line); }

/* ---------- užší okno počítače ---------- */
@media (min-width: 861px) and (max-width: 1080px) {
  :root:not([data-fluid]) .vd-nav { gap: 18px; }
  :root:not([data-fluid]) .vd-cart-label { display: none; }
  :root:not([data-fluid]) .vd-days { grid-template-columns: repeat(min(3, var(--vd-cols, 5)), minmax(0, 1fr)); row-gap: 18px; }
  :root:not([data-fluid]) .vd-day { border-left: 0 !important; padding-left: 0; padding-right: 26px; }
  :root:not([data-fluid]) .vd-base-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  :root:not([data-fluid]) .vd-base-actions { margin: 0; }
  :root:not([data-fluid]) .vd-contact--solo .vd-facts > div { grid-template-columns: minmax(8em, 11em) minmax(0, 1fr); }
}

/* ---------- telefon (navržený na 390 px) ---------- */
@media (max-width: 860px) {
  :root { --header-h: 64px; --vd-ph: calc(120 * var(--vw, 1vw)); }
  body.page-home:has(.vd-head--cover) .vd-hero.hero--full { --vd-ph: calc(calc(120 * var(--vw, 1vw)) + var(--header-h)); }
  .vd-head--cover .nav { color: var(--c-text); }
  .vd-head .logo-text { font-size: 1.3rem; }
  .vd-toggle { display: inline-flex; }
  .vd-cart { height: 38px; padding: 0 10px; gap: 6px; border: 0; }
  .vd-cart-label { display: none; }
  .vd-head .nav { color: var(--c-text); }
  .vd-nav > a { font-size: 1.6rem; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; }
  /* úvod: fotka nahoře (pevná výška), pod ní pokračuje tabule s textem a tlačítkem */
  :root.theme-vydej .vd-hero.hero.hero--full { display: flex; min-height: 0; padding: var(--vd-ph) 0 0; }
  :root.theme-vydej .vd-hero.hero.hero--full .hero-bg { position: absolute; inset: 0 0 auto 0; height: var(--vd-ph); min-height: 0; max-height: none; aspect-ratio: auto; }
  .vd-hero .vd-base-inner { flex-direction: column; align-items: stretch; gap: 20px; padding-block: 8px 34px; }
  .vd-hero .hero-text { font-size: 1.04rem; }
  .vd-base-actions { margin: 0; flex-direction: row-reverse; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; }
  .vd-cta { min-height: 52px; flex: 1 1 auto; justify-content: center; font-size: 1.04rem; }
  .vd-hero .vd-link { font-size: 1.02rem; }
  .vd-hero .vd-eyebrow { font-size: .9rem; letter-spacing: .12em; }
  .vd-hero:is(.vd-hero--band, .vd-hero--text) .vd-sign { padding: 22px var(--gutter) 0; font-size: var(--vd-fs, 2.8rem); }
  .vd-hero.hero--text { min-height: 0; padding-top: 70px; }
  .usp-list { grid-template-columns: 1fr; }
  .usp-item + .usp-item { border-left: 0; border-top: 1px solid var(--vd-line); }
  .vd-days { grid-template-columns: minmax(0, 1fr); }
  .vd-day, .vd-day:first-child { padding: 20px 0 6px; }
  .vd-day + .vd-day { border-left: 0; border-top: 1px solid var(--vd-line); }
  .vd-svc-grid, .vd-contact-grid, .story-inner, .vd-cta-inner { grid-template-columns: minmax(0, 1fr); }
  .vd-svc-photo { aspect-ratio: 5 / 4; }
  .vd-svc--wide .vd-pricelist { columns: 1; }
  .vd-pricelist .svc-body { column-gap: 14px; }
  .block-faq .faq-list { grid-template-columns: minmax(0, 1fr); }
  .block-faq .faq-item:nth-child(2) { border-top: 0; }
  .vd-facts > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .vd-foot-top { flex-direction: column; align-items: flex-start; }
  .vd-foot-side { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .vd-hero .vd-sign { animation: none; }
}
