/* public/assets/site.css — jediný stylopis webu (SPEC docs/design/web-v2/SPEC.md, v2.1 má přednost); mobil = max-width 760px */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/hanken-grotesk-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/hanken-grotesk-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --bg: #F3F1EC; --surface: #FAF9F6; --img: #E8E6E0; --ink: #262B23; --muted: #666B60; --hairline: #DCD8D0; --line-strong: #C9C4BA;
  --primary: #3D4738; --primary-hover: #2F372B; --tint: #E3E6DD; --brown: #8B624D; --brown-text: #7A5442; --focus-ring: rgba(61, 71, 56, .15);
  --serif: "Newsreader", Georgia, serif; --sans: "Hanken Grotesk", system-ui, sans-serif;
  --wrap: 1320px; --gutter: 40px; --radius: 2px; --header-h: 72px; --bar-h: 36px; --section: 120px;
}
@media (max-width: 760px) { :root { --gutter: 16px; --section: 72px; --header-h: 64px; } }

/* ── Základ ─────────────────────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; }
/* atribut hidden musí vyhrát nad display komponent (odznak košíku, formuláře, upozornění) */
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.65; }
/* nic tučnějšího než 500 (SPEC), ani výchozí tučné písmo prohlížeče */
h1, h2, h3, h4, h5, h6, b, strong, th { font-weight: 500; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--brown-text); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* „e-mail" se nezalomí za spojovníkem (typo v src/web/format.ts) */
.nowrap { white-space: nowrap; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 20; padding: 12px 16px; border-radius: var(--radius); background: var(--primary); color: var(--bg); font-size: 14px; font-weight: 500; text-decoration: none; }
.skip:hover { color: var(--bg); }

/* rám stránky: patička drží u spodního okraje i na krátkých stránkách */
.chrome-full, .chrome-checkout, .chrome-minimal { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* ── Typografie ─────────────────────────────────────────────────────────── */
.eyebrow { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-text); }
.h1 { margin: 0; font-family: var(--serif); font-size: 60px; font-weight: 400; line-height: 1.04; letter-spacing: -.02em; }
.h2 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.h3 { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.lead { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.6; }
.small { font-size: 13px; line-height: 1.45; }
.muted { color: var(--muted); }

/* ── Tlačítka a odkazy ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border: 0; border-radius: var(--radius); background: var(--primary); color: var(--bg); font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 150ms ease; }
.btn:hover { background: var(--primary-hover); color: var(--bg); }
.btn:disabled { opacity: .6; cursor: default; }
.btn:disabled:hover { background: var(--primary); }
.btn--light { background: var(--bg); color: var(--ink); }
/* obrysové tlačítko: stejná velikost a písmo jako .btn, méně výrazné (Odmítnout v liště cookies — ÚOOÚ: souhlas ne výrazně barevnější) */
.btn--outline { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--bg); }
.btn--light:hover { background: var(--surface); color: var(--ink); }
.btn--light:focus-visible { outline-color: var(--bg); }
.btn--block { width: 100%; height: 52px; }
.link { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.link:hover { color: var(--brown-text); }

/* ── Lišta várky ────────────────────────────────────────────────────────── */
.bar { background: var(--tint); color: var(--ink); }
.bar__in { height: var(--bar-h); font-size: 13px; font-weight: 500; line-height: var(--bar-h); letter-spacing: .01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Hlavička: navigace · logo · košík (mobil: menu · logo · košík) ─────── */
.header { background: var(--bg); border-bottom: 1px solid var(--hairline); }
.header__in { height: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 24px; }
.header__nav { grid-area: 1 / 1; display: flex; gap: clamp(18px, 2.4vw, 32px); font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; }
.header__nav a { padding: 14px 0; text-decoration: none; white-space: nowrap; }
.header__nav a[aria-current] { text-decoration: underline; }
.header__logo { grid-area: 1 / 2; display: block; line-height: 0; }
.header__logo img { display: block; width: 61px; height: 52px; }
/* vpravo lupa (/hledat, W5) a taška košíku: každá 44 × 44 px */
.header__tools { grid-area: 1 / 3; justify-self: end; display: flex; align-items: center; margin-right: -11px; }
.header__search, .header__cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.header__search[aria-current], .header__search[aria-expanded="true"] { color: var(--brown-text); }
/* Vyhledávání v liště (uživatel 2026-10-06/07, assets/header-search.js): políčko vpravo od loga až ke košíku — zakryje lupu, košík zůstane vidět;
   panel výsledků pod hlavičkou. Na mobilu (níže) se logo posune doleva, aby políčko mezi ním a košíkem mělo místo. */
.header { position: relative; }
.header:has(.hsearch:not([hidden])) .header__search { visibility: hidden; }
/* týž řádek mřížky jako nástroje (1 / 3), nad lupou; vpravo místo pro košík (44 px, nástroje přečnívají o 11 px) */
.hsearch { grid-area: 1 / 3; z-index: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 44px; margin-right: 41px; border-bottom: 1px solid var(--line-strong); background: var(--bg); color: var(--muted); }
.hsearch:focus-within { border-bottom-color: var(--ink); color: var(--ink); }
/* 16 px: menší písmo v poli iOS Safari při fokusu přiblíží celou stránku (a po zavření ji nechá přiblíženou) */
.hsearch__input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.2; outline: none; }
.hsearch__input::placeholder { color: var(--muted); }
.hsearch__input::-webkit-search-cancel-button { display: none; }
.hsearch__close { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.hsearch-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 6; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-bottom: 1px solid var(--hairline); box-shadow: 0 16px 32px rgba(38, 43, 35, .08); }
.hsearch-panel .wrap { padding-top: 20px; padding-bottom: 32px; }
.hsearch-panel__status { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.hsearch-panel__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.hsearch-panel__empty { margin: 0; }
.hsearch-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; color: var(--ink); text-decoration: none; }
.hsearch-item__media { display: block; width: 64px; height: 64px; overflow: hidden; background: var(--img); }
.hsearch-item__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hsearch-item__text { display: flex; flex-direction: column; min-width: 0; }
.hsearch-item__name { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.hsearch-item__meta { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.hsearch-item__state.is-last { color: var(--brown-text); }
.hsearch-item__price { font-size: 14px; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hsearch-item:hover .hsearch-item__name { color: var(--brown-text); }
.header__burger, .menu__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.header__burger { grid-area: 1 / 1; justify-self: start; display: none; }
.icon { display: block; flex: none; }
.badge { position: absolute; top: 4px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); color: var(--bg); font-size: 11px; font-weight: 500; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
/* pokladna: „← Zpět do nabídky" vlevo, logo uprostřed; minimal (doklad, akce) jen logo */
.header--checkout .header__back { grid-area: 1 / 1; justify-self: start; padding: 14px 0; font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }

/* ── Mobilní menu: <dialog> přes celou obrazovku (display jen když je otevřené) ── */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 var(--gutter) 32px; border: 0; background: var(--bg); color: var(--ink); overflow-y: auto; }
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: transparent; }
html:has(.menu[open]) { overflow: hidden; }
.menu__top { flex: none; height: var(--header-h); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--hairline); }
.menu__close { grid-area: 1 / 1; justify-self: start; }
.menu__nav { display: flex; flex-wrap: wrap; column-gap: 22px; padding-top: 24px; }
.menu__nav a { flex: 0 0 100%; display: flex; align-items: center; min-height: 56px; font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -.01em; text-decoration: none; }
.menu__nav .menu__sub { flex: 0 0 auto; min-height: 44px; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .01em; color: var(--muted); }
.menu__nav .menu__sub:hover { color: var(--brown-text); }
.menu__sub + a:not(.menu__sub) { margin-top: 10px; }
.menu__foot { margin-top: auto; display: flex; flex-wrap: wrap; column-gap: 24px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 14px; }
.menu__foot > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.menu__foot > a:hover { color: var(--brown-text); }
.menu__batch { flex: 0 0 100%; display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.menu__batch .eyebrow { margin-bottom: 6px; font-size: 11px; }
.menu__batch a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .01em; }

/* ── Patička ────────────────────────────────────────────────────────────── */
.footer { background: var(--bg); border-top: 1px solid var(--hairline); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-top: 72px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.footer__col p { margin: 0; }
.footer__col a { text-decoration: none; }
.footer__col .eyebrow { margin-bottom: 4px; font-size: 11px; color: var(--muted); }
.footer__name { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.footer__brand .muted { max-width: 26ch; line-height: 1.6; }
.footer__legal { color: var(--muted); }
/* řádek s IČO pod sloupci: vlasová linka jen přes obsah kontejneru, ne přes okraje */
.footer__cols + .footer__legal { margin-top: 64px; padding-bottom: 40px; font-size: 12px; line-height: 1.5; }
.footer__cols + .footer__legal::before { content: ""; display: block; margin-bottom: 20px; border-top: 1px solid var(--hairline); }
/* pokladna: jen jeden řádek s identifikací a právními odkazy */
.footer--checkout .footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 24px; padding-bottom: 24px; }
.footer--checkout .footer__legal p { margin: 0; font-size: 12px; line-height: 1.5; }
.footer--checkout nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 13px; line-height: 1.45; }
.footer--checkout nav a { padding: 12px 0; text-decoration: none; }
/* „Nastavení cookies“ (jen s Google Analytics): tlačítko, které vypadá jako odkazy patičky */
.footer__consent { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.footer__consent:hover { color: var(--brown-text); }
.footer--checkout nav .footer__consent { padding: 12px 0; }

/* ── Lišta souhlasu s cookies (Google Analytics, jen produkce; zadání 2026-10-29) ── */
/* dole přes obsah, ale nic neblokuje: site.js nastaví --consent-h na výšku lišty → stránka dostane stejné odsazení dole (patička i tlačítka jdou odkrýt)
   a prvek s fokusem se při procházení klávesnicí pod lištu neschová (scroll-padding) */
html { scroll-padding-bottom: var(--consent-h, 0px); }
body { padding-bottom: var(--consent-h, 0px); }
.consent { position: fixed; right: 0; bottom: 0; left: 0; z-index: 10; border-top: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 -8px 24px rgba(38, 43, 35, .08); }
.consent:focus-visible { outline-offset: -4px; } /* fokus po „Nastavení cookies“: rámeček uvnitř, u okraje okna by zmizel */
.consent__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 20px; padding-bottom: 20px; }
.consent__text { flex: 1 1 420px; max-width: 72ch; margin: 0; font-size: 15px; line-height: 1.55; }
/* rovnocenná tlačítka: stejná třída, stejná šířka */
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent__btn { min-width: 136px; }

/* ── Úvod: banner přes celou šířku (2026-10-28: zrcadlená fotka hrnků, text tmavě vlevo nahoře na světlé zdi nad hrnky) ──── */
.hero { position: relative; height: clamp(560px, 55vw, 960px); overflow: hidden; background: var(--img); } /* výška podle šířky: text nad hrnky na každém displeji */
.hero__media { position: absolute; inset: 0; display: block; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 90%; } /* celá šířka, výška ořezem: hrnky dole celé */
.hero__text { position: absolute; inset: 0; display: flex; align-items: flex-start; color: var(--ink); }
.hero__text .wrap { width: 100%; padding-top: clamp(24px, 3vw, 48px); }
.hero__eyebrow { margin-bottom: 16px; font-size: 13px; color: var(--brown-text); }
.hero__title { max-width: 10em; font-size: clamp(40px, 3.4vw, 56px); color: var(--ink); }
.hero__text .btn { margin-top: 24px; }

/* ── Úvod: tři ikony z původního webu (§2) ──────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; column-gap: 20px; }
.feature__icon { grid-row: 1 / span 2; display: block; color: var(--brown-text); }
.feature__title { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.3; transition: color 150ms ease; }
.feature__text { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.feature--link { color: var(--ink); text-decoration: none; }

/* ── O mně: fotka 1:1 ve sloupcích 1–5, text od sloupce 7 (§3) ──────────── */
/* vlasová linka nad sekcí přes celou šířku okna i nad 1320 px (deska Main-v2): border-image vysunutý do stran je jen kresba, posuvník nepřidá */
.about { padding-top: var(--section); padding-bottom: var(--section); border-top: 1px solid var(--hairline); border-image: linear-gradient(var(--hairline), var(--hairline)) 1 / 1px 0 0 / 0 100vmax; }
.about--page { padding-top: 72px; border-top: 0; border-image: none; }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
.about__media { grid-column: 1 / span 5; display: block; aspect-ratio: 1 / 1; background: var(--img); }
.about__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__text { grid-column: 7 / span 6; max-width: 34em; }
.about__text .h1, .about__text .h2 { margin-bottom: 28px; }
.about__text p { margin: 0 0 16px; }
.about__text p:last-child { margin-bottom: 0; }
/* úvod (W2): text O mně vlevo (sloupce 1–5), odkaz do nabídky po kategoriích vpravo (7–12); portrét jen na /o-mne */
.about--home .about__grid { align-items: start; }
.about--home .about__text { grid-column: 1 / span 5; }
.about--home .about__media { margin-bottom: 28px; }
.about__shop { grid-column: 7 / span 6; min-width: 0; }
.about__shop > .h2 { margin-bottom: 28px; }
.home-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin: 0; padding: 0; list-style: none; }
.home-cat { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.home-cat__media { position: relative; display: block; aspect-ratio: 1 / 1; margin-bottom: 12px; overflow: hidden; background: var(--img); }
.home-cat__media picture { position: absolute; inset: 0; display: block; }
.home-cat__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-cat__name { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.home-cat__count { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.about__all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; }

/* ── Novinky: jediný tónovaný pás; nadpis a věta vlevo, formulář od sloupce 7 (§5) ── */
.newsletter { background: var(--tint); }
/* 1. řádek pružný: výšku formuláře (i hlášku po odeslání) pobere řádek nad nadpisem, nadpis zůstane 16 px nad větou jako na desce Main-v2 */
.newsletter__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: 32px; align-items: end; padding-top: 96px; padding-bottom: 96px; }
.newsletter__in > .h2 { grid-column: 1 / span 5; margin-bottom: 16px; }
.newsletter__lead { grid-column: 1 / span 5; grid-row: 2; max-width: 40ch; margin: 0; }
.newsletter__form { grid-column: 7 / span 6; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
.newsletter__form .small { margin: 4px 0 0; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter__row .input { flex: 1 1 240px; width: auto; }

/* ── Formulářové prvky ──────────────────────────────────────────────────── */
.input, .server label input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 15px; }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus, .server label input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); }
.turnstile:empty { display: none; }
.form-msg { margin: 0; font-size: 14px; line-height: 1.45; }
/* prázdná hláška zůstane ve stromu přístupnosti, ale nic nezabírá: role=status ohlásí text, který se do ní teprve doplní (u display: none by ho čtečka nemusela ohlásit) */
.withdraw .form-msg { margin: 0; } /* .prose p by jinak přidal spodní okraj */
.form-msg:empty { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.form-msg.is-error { color: var(--brown-text); }
.input--area { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }

/* ── Textové stránky (Markdown z content/pages) ─────────────────────────── */
.prose { padding-top: 72px; padding-bottom: var(--section); }
.prose > * { max-width: 68ch; }
.prose .h1 { margin-bottom: 32px; }
.prose h2 { margin: 48px 0 16px; font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.prose h3 { margin: 32px 0 12px; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; }
.prose > :last-child { margin-bottom: 0; }
/* odstoupení od smlouvy: formulář pod textem, pole pod sebou, styl polí jako v pokladně; tlačítko na šířku textu (mobil: přes celou šířku jako u novinek) */
.withdraw { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin-top: 32px; }
.withdraw .btn { align-self: flex-start; }
.withdraw noscript .alert { margin-bottom: 0; }

/* ── Nabídka a kategorie: H1, tichý filtr (odkazy na statické stránky), mřížka karet (v2.1 §6, §8; desky Nabidka-v2) ── */
.listing { padding-top: 72px; padding-bottom: var(--section); }
/* aktivní kategorie: linka 1 px přes vlasovou linku řádku (margin-bottom: -1px) */
.filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 40px; margin: 40px 0 48px; border-bottom: 1px solid var(--hairline); }
.filter__cats { display: flex; flex-wrap: wrap; gap: 0 28px; }
.filter__link { margin-bottom: -1px; padding: 14px 0 13px; border-bottom: 1px solid transparent; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; text-decoration: none; transition: color 150ms ease; }
.filter__link:hover, .filter__link[aria-current] { color: var(--ink); }
.filter__link[aria-current] { border-bottom-color: var(--ink); }
.filter__count { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
/* filtr Skladem (uživatel 2026-10-06): přepínač vedle počtu kousků; obrys tmavý kvůli kontrastu ovládacího prvku (WCAG 1.4.11) */
.filter__side { display: flex; align-items: center; gap: 28px; }
.filter__stock { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; cursor: pointer; }
.filter__stock:has(:checked) { color: var(--ink); }
.switch { position: relative; flex: none; width: 34px; height: 20px; margin: 0; border: 1px solid var(--muted); border-radius: 10px; background: var(--surface); cursor: pointer; appearance: none; transition: background-color 150ms ease, border-color 150ms ease; }
.switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform 150ms ease, background-color 150ms ease; }
.switch:checked { border-color: var(--primary); background: var(--primary); }
.switch:checked::before { transform: translateX(14px); background: var(--bg); }
.listing__empty { margin: 0; }
/* vyprodané na konec, dlaždice novinek za ně (třídy is-* přidává assets/stock.js na article.card) */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
.grid > .card.is-soldout { order: 1; }
.grid > .filler { order: 2; }
/* dlaždice je poslední v DOM (pozice n+1): na počítači ji skryj, když je řádek o třech sloupcích plný (n dělitelné 3) */
@media (min-width: 761px) { .grid > .filler:nth-child(3n+1) { display: none; } }

/* ── Karta produktu: bez rámečku, čtvercová fotka, název + cena, parametry, stav jen u výjimek ── */
.card { min-width: 0; }
.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__link:hover { color: var(--ink); }
.card__media { position: relative; aspect-ratio: 1 / 1; margin-bottom: 16px; overflow: hidden; background: var(--img); }
.card__media picture { position: absolute; inset: 0; display: block; }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* druhá fotka se prolne při najetí (dotyk ne) a při fokusu z klávesnice */
.card__alt { opacity: 0; transition: opacity 400ms ease; }
@media (hover: hover) { .card__link:hover .card__alt { opacity: 1; } }
.card__link:focus-visible .card__alt { opacity: 1; }
.card__flag { display: none; }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card__name { margin: 0; max-height: 2.8em; overflow: hidden; font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.4; }
.card__price { margin: 0; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__meta { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.card__status { display: none; margin: 8px 0 0; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--brown-text); }
.card.is-last .card__status { display: block; }
/* vyprodané: tlumený text, fotka .55 bez prolnutí, štítek vlevo nahoře (jen karta — ne galerie detailu, preflight #14) */
.card.is-soldout .card__link { color: var(--muted); }
.card.is-soldout .card__media img { opacity: .55; }
.card.is-soldout .card__alt { display: none; }
.card.is-soldout .card__flag { position: absolute; top: 12px; left: 12px; display: block; padding: 6px 8px 5px; background: var(--bg); color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .14em; text-transform: uppercase; }

/* ── Dlaždice „Novinky e-mailem" doplní neúplný řádek ─────────────────── */
.filler { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 16px; aspect-ratio: 1 / 1; padding: 36px; border: 1px solid var(--hairline); }
.filler__text { margin: 0; max-width: 14em; font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.filler .link { padding: 12px 0; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; }

/* ── Detail produktu: drobečky, galerie 7 sloupců, info 5 sloupců sticky, sekce na vlasových linkách, související (v2.1 §8, §9; desky Produkt-v2, Produkt-mobil-v2) ── */
.crumbs { padding-top: 20px; margin-bottom: 20px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.crumbs a { padding: 6px 0; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brown-text); }
.crumbs > span[aria-hidden] { padding: 0 8px; }
.crumbs > span:last-child { color: var(--ink); }
.product { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; padding-bottom: var(--section); }
.gallery { grid-column: 1 / span 7; min-width: 0; }
/* počítač: první fotka přes celou šířku, ostatní pod ní ve třech sloupcích (deska); zbývají-li jen 1 nebo 2 fotky, dělí si celý řádek */
.gallery__track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery__item { grid-column: span 2; display: block; aspect-ratio: 1 / 1; background: var(--img); }
.gallery__item:first-child, .gallery__item:first-child:nth-last-child(2) ~ .gallery__item { grid-column: 1 / -1; }
.gallery__item:first-child:nth-last-child(3) ~ .gallery__item { grid-column: span 3; }
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* tečky jen na mobilu (náznak swipu); aktivní přepíná site.js */
.gallery__dots { display: none; }
.gallery__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.gallery__dot.is-active { background: var(--ink); }
.product__info { grid-column: 8 / span 5; position: sticky; top: 108px; align-self: start; padding-left: 32px; }
.product__title { margin-top: 14px; font-size: 44px; line-height: 1.08; }
.product__meta { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.product__buyline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 32px; }
.product__price { margin: 0; font-size: 20px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.product__info > .btn--block { margin-top: 24px; }
/* stav jen Skladem / Poslední kus / Vyprodáno (text doplní assets/stock.js); barvy přes třídu na article.product, ne holé .is-* (preflight #14) */
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.4; }
.status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status:empty { display: none; }
.product.is-instock .status::before { background: var(--primary); }
.product.is-last .status { color: var(--brown-text); }
.product.is-last .status::before { background: var(--brown); }
.product.is-soldout .status { color: var(--muted); }
/* hlídání u vyprodaného kusu (místo tlačítka; odeslání a hlášky řeší assets/forms.js) */
.watch { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.watch__title { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .01em; }
.watch__row { display: flex; flex-wrap: wrap; gap: 12px; }
.watch__row .input { flex: 1 1 200px; width: auto; height: 52px; }
.watch__row .btn { height: 52px; }
.watch .small { margin: 4px 0 0; }
/* Popis · Rozměry a péče · Doprava a platba: bez akordeonů, nadpis .h3, vlasové linky mezi sekcemi (v2.1 §9) */
.detail-sec { padding: 24px 0 28px; border-top: 1px solid var(--hairline); }
.detail-sec:first-of-type { margin-top: 48px; }
.detail-sec:last-child { border-bottom: 1px solid var(--hairline); }
.detail-sec .h3 { margin-bottom: 14px; }
.detail-sec p { margin: 0; max-width: 34em; font-size: 15px; line-height: 1.65; }
.detail-sec > * + p { margin-top: 12px; }
.specs + p { margin-top: 16px; }
/* první odstavec pod nadpisem plnou barvou, další tlumeně (deska: Popis, Doprava a platba) */
.detail-sec .h3 + p ~ p { color: var(--muted); }
.specs { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; line-height: 1.65; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-variant-numeric: tabular-nums; }
/* doprava: řádek na způsob (název vlevo, cena vpravo, deska Produkt-mobil-v2), věta o platbě tlumeně */
.rates { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-size: 15px; line-height: 1.65; }
.rates dd { margin: 0; font-variant-numeric: tabular-nums; }
.rates + p { margin-top: 14px; color: var(--muted); }
/* související: vlasová linka přes celou šířku okna (stejně jako .about), mřížka 4 sloupců (mobil 2 — pravidlo .grid níže) */
.related { padding-top: var(--section); padding-bottom: var(--section); border-top: 1px solid var(--hairline); border-image: linear-gradient(var(--hairline), var(--hairline)) 1 / 1px 0 0 / 0 100vmax; }
.related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-bottom: 48px; }
.related__head .link { padding: 12px 0; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ── Pokladna: formulář · souhrn vpravo sticky, kroky 01–03 bez krabic na vlasových linkách, doprava jako řádky (desky Pokladna-v2, Pokladna-mobil-v2; v2.1 §11) ── */
.checkout { padding-top: 56px; padding-bottom: var(--section); }
.checkout__title { margin-bottom: 48px; font-size: 44px; line-height: 1.08; }
.checkout__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.checkout__empty p { margin: 0; font-size: 18px; line-height: 1.6; }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.checkout__main { min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.checkout__summary { position: sticky; top: 32px; align-self: start; }
/* upozornění (vyprodání, chyba odeslání; text doplní checkout.js): ikona kroužku s vykřičníkem jako na desce */
.alert { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-size: 15px; line-height: 1.6; }
.alert::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%238B624D' stroke-width='1.3' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='7.5'/%3E%3Cpath d='M9 5v5M9 12.6v.1'/%3E%3C/svg%3E") center / contain no-repeat; }
noscript .alert { margin-bottom: 40px; }
.step { padding-top: 24px; border-top: 1px solid var(--hairline); }
.step__title { display: flex; gap: 12px; margin: 0 0 24px; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.step__no { color: var(--brown-text); }
/* pole 2 × 2 (adresa: ulice přes celou šířku, město · PSČ); chyba pod polem, prázdná se nezobrazí */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.fields--address { margin-top: 16px; }
.fields--address > .field:first-child, .fields > .field__error { grid-column: 1 / -1; }
/* fakturační adresa (etapa 2b, W4): jméno a ulice přes celou šířku, město · PSČ; firma přes celou šířku, IČO · DIČ */
.fields--billing > .field:nth-child(-n+2), .fields--company > .field:first-child { grid-column: 1 / -1; }
.fields--company { margin-top: 16px; }
/* volba zaškrtnutím uvnitř kroku („Nakupuji na firmu“, „Dodací adresa stejná jako fakturační“): bez linky souhlasu, cíl ≥ 44 px */
.opt-check { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 12px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.opt-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--primary); }
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .01em; }
.field__error { margin: 0; font-size: 13px; line-height: 1.45; color: var(--brown-text); }
.field__error:empty { display: none; }
.input[aria-invalid="true"] { border-color: var(--brown-text); }
/* doprava: řádky s vlasovou linkou; vybraný = 1 px ink + tint, logo v plné barvě (ostatní šedá .8); :has() funguje i bez skriptu, .is-selected doplní checkout.js.
   Blok volby = řádek s přepínačem (.ship__choice) + doplněk zvolené dopravy (.ship__more: výdejní místo / dodací adresa, W3) pod popiskem */
.ship { border-top: 1px solid var(--hairline); }
.ship__opt { position: relative; margin-top: -1px; border: 1px solid transparent; border-bottom-color: var(--hairline); border-radius: var(--radius); transition: background-color 150ms ease, border-color 150ms ease; }
.ship__choice { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 0 20px; cursor: pointer; }
.ship__choice input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.ship__more { padding: 0 20px 18px 54px; } /* 54 = odsazení 20 + přepínač 18 + mezera 16: zarovnané pod název dopravy */
.ship__more:empty { display: none; }
.ship__more > .opt-check:first-child { margin-top: -6px; } /* zaškrtávátko hned pod řádkem volby (cíl 44 px má vlastní vzduch) */
.ship__logo { flex: none; width: 88px; height: 22px; margin-right: 8px; object-fit: contain; object-position: left center; filter: grayscale(1); opacity: .8; }
.ship__label { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.ship__price { font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ship__note { margin: 12px 0 0; } /* doprava × balíky (zadání 2026-10-28): proč se doprava počítá vícekrát */
.ship__opt:is(.is-selected, :has(.ship__choice input:checked)) { z-index: 1; border-color: var(--ink); background: var(--tint); }
.ship__opt:is(.is-selected, :has(.ship__choice input:checked)) .ship__logo { filter: none; opacity: 1; }
/* výdejní místo uvnitř bloku zvolené dopravy (W3): jméno a adresa vybraného místa, pod nimi „Vybrat / Změnit"; bez doplňkového textu */
.pickup { display: flex; flex-direction: column; align-items: flex-start; }
.pickup > p { margin: 0; }
.pickup__name { font-size: 15px; font-weight: 500; line-height: 1.4; }
.pickup__name:empty, .pickup__address:empty { display: none; }
.pickup__open { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.pickup > .field__error { margin-top: 4px; }
.pay-method { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.pay-method + p { max-width: 60ch; margin: 8px 0 0; font-size: 15px; line-height: 1.65; }
/* souhlas a tlačítko oddělené od textu platby vlasovou linkou (deska: mezera 56, linka, 32) — linka je kresba, ne klikací plocha */
.checkbox { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 89px; font-size: 14px; line-height: 1.55; cursor: pointer; }
.checkbox::before { content: ""; position: absolute; top: -33px; left: 0; right: 0; border-top: 1px solid var(--hairline); }
.checkbox input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.checkbox + .field__error { margin-top: 8px; }
.step .turnstile { margin-top: 24px; }
.step .btn--block { margin-top: 24px; font-variant-numeric: tabular-nums; }
.step .btn--block + .small { margin: 14px 0 0; }
/* souhrn: panel (počítač vždy otevřený, hlavička = nadpis h2; <summary> je přepínač jen pro mobil, tady skrytý — čtečka ani tabulátor
   nenajdou mrtvý přepínač); řádky košíku vykresluje checkout.js */
.sum { padding: 28px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); }
.sum__head { display: none; list-style: none; }
.sum__head::-webkit-details-marker { display: none; }
.sum__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; font: inherit; }
.sum__title { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.sum__count { font-size: 13px; line-height: 1.45; color: var(--muted); }
.sum__total-m { display: none; }
.sum__rows, .order-sum__rows { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.sum__row, .order-sum__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; }
.sum__img, .order-sum__img { grid-area: 1 / 1 / 3 / 2; display: block; width: 64px; height: 64px; background: var(--img); }
.sum__img img, .order-sum__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sum__name, .order-sum__name { grid-area: 1 / 2; font-size: 15px; font-weight: 500; line-height: 1.4; }
.sum__qty, .order-sum__qty { grid-area: 2 / 2; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sum__qty .link { color: inherit; text-underline-offset: 3px; }
.sum__qty .link:hover { color: var(--brown-text); }
.sum__select { height: 28px; padding: 0 4px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.sum__price, .order-sum__price { grid-area: 1 / 3; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* vyprodaný řádek (po 409): fotka .55, „Vyprodáno · odebrat" hnědě (deska) */
.sum__row.is-soldout .sum__img img { opacity: .55; }
.sum__row.is-soldout .sum__qty { font-weight: 500; color: var(--brown-text); }
.sum__totals, .order-sum__totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 1.4; }
.sum__totals dt, .order-sum__totals dt { color: var(--muted); }
.sum__totals dd, .order-sum__totals dd { margin: 0; padding-left: 16px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Celkem: linka přes oba sloupce (dt i dd stejně vysoké), stejná výška řádku → účtenka v jedné účaří i při 20px částce */
.sum__totals .sum__grand, .order-sum__totals .order-sum__grand { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--ink); line-height: 26px; }
dt.sum__grand, dt.order-sum__grand { font-weight: 500; }
.sum__totals dt.sum__grand, .order-sum__totals dt.order-sum__grand { padding-top: 22px; } /* +2 px = rozdíl účaří 15px a 20px písma při stejné výšce řádku (změřeno puppeteerem) */
dd.sum__grand, dd.order-sum__grand { font-size: 20px; }
/* mapa dopravce v <dialog> (display jen když je otevřený): počítač 960 × 80vh na střed, rám aspoň 560 px (manuál Balíkovny 360 × 800) */
.pickup-dialog { width: min(960px, calc(100vw - 2 * var(--gutter))); height: 80vh; min-height: min(616px, calc(100vh - 32px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--bg); color: var(--ink); overflow: hidden; }
.pickup-dialog[open] { display: flex; flex-direction: column; }
.pickup-dialog::backdrop { background: rgba(38, 43, 35, .45); }
html:has(.pickup-dialog[open]) { overflow: hidden; }
.pickup-dialog__head { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--hairline); }
/* nápověda k mapě Balíkovny (vada hledání podle PSČ): druhý řádek hlavičky dialogu */
.pickup-dialog__hint { flex-basis: 100%; margin: -6px 0 10px; }
.pickup-dialog__head .menu__close { margin: 0; }
.pickup-dialog__frame { flex: 1 1 auto; display: block; width: 100%; min-height: 0; border: 0; background: var(--surface); }

/* ── Děkovací stránka /objednavka/<token>: text a platba ve sloupcích 1–7, objednávka vpravo 9–12, kroky přes celou šířku (v2.1 §8, §10; desky Dekujeme-v2, Dekujeme-mobil-v2) ── */
/* vlevo nejvýš 4 řádky (eyebrow, H1, perex, platba nebo doklady); 5. řádek 1fr pohltí výšku panelu objednávky, ať se mezery vlevo neroztahují */
.thanks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto auto 1fr; column-gap: 32px; align-items: start; padding-top: 72px; padding-bottom: var(--section); }
.thanks > * { grid-column: 1 / span 7; }
.thanks > .h1 { margin-top: 20px; }
.thanks > .lead { margin-top: 24px; max-width: 54ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.thanks__docs { margin: 32px 0 0; font-size: 15px; line-height: 1.6; }
/* platba: QR vlevo, řádky vpravo na vlasových linkách; „Kopírovat" je textový odkaz */
.pay { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.pay > .eyebrow { margin-bottom: 20px; }
.pay__grid { display: flex; align-items: flex-start; gap: 40px; }
.pay__qr { flex: none; display: flex; flex-direction: column; gap: 10px; width: 200px; margin: 0; }
.pay__qr > [data-spayd] { aspect-ratio: 1 / 1; } /* místo pro QR, než ho order.js vykreslí (bez poskočení stránky) */
.pay__qr svg { display: block; width: 100%; height: auto; mix-blend-mode: multiply; } /* bílé pozadí SVG splyne s pozadím stránky (deska) */
.pay__rows { flex: 1 1 auto; min-width: 0; margin: 0; }
.pay__row { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: baseline; column-gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.pay__row:last-child { border-bottom: 0; }
.pay__row dt { font-size: 14px; line-height: 1.45; color: var(--muted); }
.pay__row dd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-width: 0; margin: 0; }
.pay__row dd > span { min-width: 0; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay__row:has(.copy) dd > span { font-weight: 500; }
.pay__row:first-child dd > span { font-size: 20px; font-weight: 400; line-height: 1.3; } /* částka */
.copy { flex: none; min-height: 36px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; cursor: pointer; transition: color 150ms ease; }
.copy:hover { color: var(--brown-text); }
/* objednávka: panel jako souhrn pokladny (řádky a součty sdílí pravidla .sum__*) */
.thanks > .order-sum { grid-column: 9 / span 4; grid-row: 1 / span 5; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); }
.order-sum > .h3 { font-size: 12px; }
.order-sum > .small { margin: 20px 0 0; }
/* co bude dál: nadpis ve sloupcích 1–3, tři kroky od sloupce 4; hotové kroky číslo zeleně, text tlumeně */
.thanks > .steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.steps > .h2 { grid-column: 1 / span 3; }
.steps__list { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.steps__item { display: flex; flex-direction: column; gap: 12px; }
.steps__no { font-family: var(--serif); font-size: 28px; line-height: 1.15; color: var(--brown); }
.steps__title { margin: 4px 0 0; font-size: 15px; font-weight: 500; line-height: 1.45; letter-spacing: .01em; }
.steps__item p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.steps__item.is-done .steps__no { color: var(--primary); }
.steps__item.is-done .steps__title { color: var(--muted); }
.thanks > .thanks__foot { margin: 56px 0 0; font-size: 14px; line-height: 1.6; }
.thanks > .steps + .thanks__foot { grid-column: 4 / span 9; }

/* ── Spolupráce (/spoluprace, src/web/pages/coop.ts): text a fotka 4 : 5, místa ve třech sloupcích, nabídka jako „O mně", postup jako „Co bude dál" ── */
.coop-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.coop-hero__text { grid-column: 1 / span 6; }
.coop-hero__text .h1 { margin: 20px 0 28px; }
.coop-hero__lead { max-width: 34em; margin: 0; font-size: 18px; line-height: 1.7; }
.coop-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.coop-hero__cta .link { font-size: 15px; }
.coop-hero__media { grid-column: 8 / span 5; display: block; aspect-ratio: 4 / 5; background: var(--img); }
.coop-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.places { padding-top: 80px; padding-bottom: var(--section); border-top: 1px solid var(--hairline); border-image: linear-gradient(var(--hairline), var(--hairline)) 1 / 1px 0 0 / 0 100vmax; }
.places > .h2 { margin-bottom: 48px; }
.places__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin: 0; padding: 0; list-style: none; }
.place__media { display: block; aspect-ratio: 1 / 1; margin-bottom: 20px; background: var(--img); }
.place__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* posuvné fotky místa (varianta A, zadání 2026-10-28): čtvercový pás se scroll-snap, šipky po najetí myší, tečky pod fotkou */
.slides.place__media { position: relative; aspect-ratio: auto; margin-bottom: 0; background: none; } /* tečky (20 px) místo mezery pod fotkou: text míst v řadě zarovnaný */
.slides__track { display: flex; aspect-ratio: 1 / 1; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides__track::-webkit-scrollbar { display: none; }
.slides__item { flex: 0 0 100%; scroll-snap-align: start; background: var(--img); }
.slides__item picture { display: block; width: 100%; height: 100%; }
.slides__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slides__btn { position: absolute; top: calc(50% - 10px); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(250, 249, 246, .92); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity 150ms ease; }
.slides__btn--prev { left: 10px; }
.slides__btn--next { right: 10px; }
.slides:hover .slides__btn:not(:disabled), .slides__btn:focus-visible { opacity: 1; }
.slides__btn:disabled { pointer-events: none; }
.slides__dots { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 20px; }
.slides__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background-color 150ms ease; }
.slides__dot.is-active { background: var(--ink); }
.place__body { display: flex; flex-direction: column; align-items: flex-start; }
.place__name { margin: 8px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.25; }
.place__text { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.place__link { margin-top: 12px; font-size: 14px; line-height: 1.4; text-decoration: underline; }
.offer__list { margin: 0; padding: 0; list-style: none; }
.offer__list li { padding: 14px 0; border-top: 1px solid var(--hairline); }
.offer__list li:last-child { border-bottom: 1px solid var(--hairline); }
.process { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding-top: 72px; padding-bottom: var(--section); border-top: 1px solid var(--hairline); border-image: linear-gradient(var(--hairline), var(--hairline)) 1 / 1px 0 0 / 0 100vmax; }
.coop-cta { background: var(--tint); }
.coop-cta__in { display: flex; flex-direction: column; align-items: center; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.coop-cta__in > .h2 { max-width: 16em; margin-bottom: 16px; }
.coop-cta__in > p { max-width: 36em; margin: 0 0 32px; }

/* ── Vyhledávání /hledat (src/web/pages/search.ts, W5): pole s tlačítkem, řádek s počtem na vlasové lince, výsledky jako mřížka nabídky ── */
.search { padding-top: 72px; padding-bottom: var(--section); }
.search__form { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-top: 40px; }
.search__row { display: flex; gap: 12px; }
.search__row .input { flex: 1 1 auto; width: auto; appearance: none; }
.search__row .btn { flex: none; }
.search noscript .alert { max-width: 640px; margin: 32px 0 0; }
.search__status { margin: 40px 0 48px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); font-size: 13px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.search__empty { margin: 0; max-width: 40em; font-size: 18px; line-height: 1.6; }
/* sdílený odkaz ?q=: mřížka skrytá do prvního filtrování (assets/search.js), ať se nejdřív neukáže celá nabídka; místo zůstává (visibility) */
.search .grid.is-pending { visibility: hidden; }

/* ── Serverové stránky Workeru: doklad, akce prodávající, newsletter (src/pages/ctx.ts, serverPage) ── */
.server { max-width: calc(40rem + 2 * var(--gutter)); padding-top: 40px; padding-bottom: 40px; overflow-wrap: anywhere; }
.server .h1 { margin-bottom: 24px; font-size: 40px; }
.server p { margin: 0 0 16px; }
.server table { width: 100%; margin: 24px 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.server th, .server td { padding: 12px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--hairline); }
.server .num { padding-left: 16px; text-align: right; white-space: nowrap; }
.box { margin: 24px 0; padding: 16px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); }
.box p { margin: 0 0 12px; }
.box p:last-child { margin-bottom: 0; }
.server label input { display: block; margin-top: 8px; }
.server .btn { margin-top: 8px; }

/* ── Mobil ──────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .h1 { font-size: 38px; line-height: 1.08; }
  .h2 { font-size: 28px; }
  .bar__in a { text-underline-offset: 3px; }
  .chrome-full .header { position: sticky; top: 0; z-index: 5; }
  .chrome-full :target { scroll-margin-top: var(--header-h); }
  .header__in { column-gap: 0; }
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .header__logo img { width: 54px; height: 46px; }
  .header__tools { margin-right: -10px; }
  /* vyhledávání: políčko přes celou lištu (menu, logo i košík), panel přes celou šířku */
  /* vyhledávání: logo vlevo (menu se schová), políčko mezi logem a košíkem, lupa pryč */
  .header:has(.hsearch:not([hidden])) .header__in { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; }
  .header:has(.hsearch:not([hidden])) .header__burger, .header:has(.hsearch:not([hidden])) .header__search { display: none; }
  .header:has(.hsearch:not([hidden])) .header__logo { grid-area: 1 / 1; }
  .hsearch { grid-area: 1 / 2; margin-right: 0; gap: 6px; }
  .hsearch-panel { max-height: calc(100dvh - var(--header-h)); }
  .hsearch-panel .wrap { padding-top: 16px; padding-bottom: 24px; }
  .hsearch-panel__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hsearch-item { grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 14px; }
  .hsearch-item__media { width: 56px; height: 56px; }
  .hsearch-item__name { font-size: 17px; }
  .header--checkout .header__back { display: inline-flex; align-items: center; min-height: 44px; padding: 0; line-height: 1; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-top: 48px; }
  .footer__brand { grid-column: 1 / -1; gap: 6px; margin-bottom: 8px; }
  .footer__col:not(.footer__brand) { gap: 0; }
  .footer__col:not(.footer__brand) a { display: flex; align-items: center; min-height: 44px; }
  .footer__cols + .footer__legal { margin-top: 32px; padding-bottom: 32px; }
  .footer--checkout .footer__legal { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 12px; }
  .footer--checkout nav { order: -1; gap: 0 20px; line-height: 1; }
  .footer--checkout nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .footer__col .footer__consent, .footer--checkout nav .footer__consent { display: flex; align-items: center; min-height: 44px; padding: 0; line-height: 1; }
  .consent__in { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .consent__text { flex-basis: 100%; font-size: 14px; line-height: 1.5; }
  .consent__actions { width: 100%; gap: 8px; }
  .consent__btn { min-width: 0; padding: 0 12px; }
  .hero { height: auto; aspect-ratio: 3 / 4; } /* mobil: celá fotka na výšku (banner-m), text na zdi nahoře, hrnky dole */
  .hero__img { object-position: center bottom; }
  .hero__text .wrap { padding-top: 20px; }
  .hero__eyebrow { margin-bottom: 10px; font-size: 11px; }
  .hero__title { max-width: 11em; font-size: 30px; line-height: 1.08; }
  .hero__text .btn { margin-top: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 48px; }
  .feature { align-items: center; }
  .about { padding-top: 0; padding-bottom: 64px; border-top: 0; border-image: none; }
  .about__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; padding-top: 48px; border-top: 1px solid var(--hairline); }
  .about--page { padding-top: 32px; }
  .about--page .about__grid { padding-top: 0; border-top: 0; }
  .about__media, .about__text { grid-column: 1 / -1; }
  .about__text .h1, .about__text .h2 { margin-bottom: 14px; }
  .about__text p { margin-bottom: 14px; }
  .about--home .about__grid { row-gap: 48px; }
  .about--home .about__text, .about__shop { grid-column: 1 / -1; }
  .about--home .about__media { margin-bottom: 20px; }
  .about__shop > .h2 { margin-bottom: 20px; }
  .home-cats { gap: 24px 12px; }
  .home-cat__media { margin-bottom: 10px; }
  .home-cat__name { font-size: 20px; }
  .about__all { margin-top: 16px; font-size: 14px; }
  .coop-hero { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding-top: 32px; padding-bottom: 56px; }
  .coop-hero__text .h1 { margin: 14px 0 18px; }
  .coop-hero__lead { font-size: 16px; line-height: 1.65; }
  .coop-hero__cta { margin-top: 28px; gap: 16px 24px; }
  .places { padding-top: 48px; padding-bottom: 64px; }
  .places > .h2 { margin-bottom: 8px; }
  .places__list { display: block; }
  .place { padding: 24px 0; border-bottom: 1px solid var(--hairline); } /* fotka přes celou šířku nad textem (zadání 2026-10-28) */
  .place__media { margin-bottom: 14px; }
  .slides.place__media { margin-bottom: 0; }
  .slides__btn { display: none; } /* mobil: posun prstem, jen tečky */
  .place__name { margin-top: 4px; font-size: 20px; }
  .place__text { margin-top: 4px; font-size: 14px; line-height: 1.5; }
  .place__link { margin-top: 8px; font-size: 13px; }
  .process { display: block; padding-top: 48px; padding-bottom: 64px; border-top: 0; border-image: none; }
  .coop-cta__in { padding-top: 56px; padding-bottom: 56px; }
  .coop-cta__in > p { margin-bottom: 24px; }
  .newsletter__in { display: block; padding-top: 48px; padding-bottom: 48px; }
  .newsletter__in > .h2 { margin-bottom: 10px; }
  .newsletter__lead { margin-bottom: 24px; }
  .newsletter__row { flex-direction: column; gap: 10px; }
  .newsletter__row .input { flex: none; width: 100%; }
  .newsletter__form .small { margin-top: 4px; }
  .input, .server label input { font-size: 16px; }
  .prose { padding-top: 32px; padding-bottom: 64px; }
  .prose h2 { margin-top: 40px; }
  .withdraw { margin-top: 24px; }
  .withdraw .btn { align-self: stretch; }
  /* Nabídka (deska Nabidka-mobil-v2): počet kousků vpravo vedle H1, pod nimi filtr s vlasovou linkou */
  .listing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; padding-top: 32px; padding-bottom: 64px; }
  .listing > *, .filter > *, .filter__side > * { grid-column: 1 / -1; }
  .listing > .h1 { grid-column: 1; }
  .filter { display: contents; }
  .filter__side { display: contents; }
  .filter__side > .filter__count { grid-area: 1 / 2; }
  .filter__stock { justify-self: start; margin: -12px 0 12px; }
  .filter__cats { gap: 0 20px; margin: 16px 0 24px; border-bottom: 1px solid var(--hairline); }
  .filter__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  /* dlaždice jen tam, kde doplní řádek o dvou sloupcích (je poslední v DOM: lichá pozice = sudý počet karet) */
  .grid > .filler:nth-child(odd) { display: none; }
  /* karta: název (max. 2 řádky) a parametry v rezervované výšce 62 px, cena pod nimi zarovnaná v celém řádku mřížky.
     ::after přes řádky 2–3 drží výšku 12 + 62 px; pružný řádek parametrů dostane, co názvu zbude. Sloupec 1 všem výslovně:
     automatické umístění by kvůli ::after poslalo název do dalšího sloupce. Název má overflow: clip, ne hidden —
     hidden z něj udělá posuvný kontejner s minimální výškou 0 a řádek názvu by se do výpočtu nezapočetl (cena by „skákala"). */
  .card__link { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto; }
  .card__link > *, .card__row > *, .card__link::after { grid-column: 1; }
  .card__link::after { content: ""; grid-row: 2 / 4; height: 74px; }
  .card__row { display: contents; }
  .card__media { grid-row: 1; margin-bottom: 0; }
  .card__name { grid-row: 2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 40px; margin-top: 12px; overflow: hidden; overflow: clip; line-height: 20px; letter-spacing: .01em; }
  .card__meta { grid-row: 3; margin-top: 3px; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card__price { grid-row: 4; margin-top: 6px; line-height: 22px; }
  .card__status { grid-row: 5; margin-top: 2px; line-height: 19px; }
  .card.is-soldout .card__flag { top: 8px; left: 8px; }
  .filler { gap: 6px; padding: 14px; }
  .filler .eyebrow { font-size: 11px; }
  .filler__text { font-size: 18px; }
  .filler .link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: 14px; line-height: 1; }
  /* Detail (deska Produkt-mobil-v2): drobečky 44 px, galerie přes celou šířku se swipem a tečkami, info pod ní bez sticky */
  .crumbs { display: flex; flex-wrap: wrap; align-items: center; padding-top: 0; margin-bottom: 0; line-height: 1; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .product { display: block; padding-bottom: 0; }
  .gallery { margin: 0 calc(-1 * var(--gutter)); }
  .gallery__track { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 100%; scroll-snap-align: start; }
  .gallery__dots { display: flex; align-items: center; justify-content: center; gap: 38px; height: 44px; }
  .product__info { position: static; padding: 12px 0 0; }
  .product__info > .eyebrow { font-size: 11px; }
  .product__title { margin-top: 10px; font-size: 32px; line-height: 1.1; }
  .product__meta { margin-top: 8px; }
  .product__buyline { align-items: center; gap: 16px; margin-top: 20px; }
  .product__price { line-height: 28px; }
  .status { line-height: 20px; }
  .watch { padding-top: 20px; border-top: 1px solid var(--hairline); }
  .watch__row { flex-direction: column; gap: 10px; }
  .watch__row .input { flex: none; width: 100%; height: 48px; }
  .watch .small { margin-top: 2px; }
  .detail-sec:first-of-type { margin-top: 40px; }
  .related { padding-top: 56px; padding-bottom: 64px; border-top: 0; border-image: none; }
  .related__head { flex-wrap: nowrap; gap: 16px; margin-bottom: 16px; }
  .related__head .link { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: 14px; line-height: 1; }
  /* Pokladna (deska Pokladna-mobil-v2): souhrn jako sbalitelný pruh přes celou šířku hned pod hlavičkou (cena vždy vidět), pod ním H1 a kroky.
     form má display: contents, aby souhrn mohl předběhnout H1; atribut hidden (prázdný košík) dál vyhrává díky !important. */
  .checkout { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 48px; }
  .checkout__title { margin: 32px 0 28px; font-size: 32px; line-height: 1.1; }
  .checkout__grid { display: contents; }
  .checkout__main { gap: 40px; }
  .checkout__summary { position: static; order: -1; align-self: stretch; margin: 0 calc(-1 * var(--gutter)); }
  .alert { gap: 12px; padding: 14px 16px; line-height: 1.55; }
  noscript .alert { margin-bottom: 28px; }
  .step { padding-top: 16px; }
  .step__title { margin-bottom: 20px; }
  .fields { gap: 16px 12px; }
  .fields:not(.fields--address):not(.fields--billing):not(.fields--company) > .field:nth-child(n+3) { grid-column: 1 / -1; }
  .fields--address, .fields--billing { grid-template-columns: minmax(0, 1fr) 120px; }
  .opt-check input { width: 20px; height: 20px; }
  .field { gap: 6px; }
  .field__label { font-size: 13px; line-height: 1.45; letter-spacing: 0; }
  .ship__choice { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; gap: 6px 14px; min-height: 72px; padding: 12px 14px; }
  .ship__choice input { grid-area: 1 / 1 / 3 / 2; width: 20px; height: 20px; accent-color: var(--primary); }
  .ship__more { padding: 0 14px 14px 48px; } /* 48 = 14 + přepínač 20 + mezera 14 */
  .ship__logo { grid-area: 1 / 2; width: 96px; height: 18px; margin: 0; }
  .ship__label { grid-column: 2; grid-row: 1 / 3; font-weight: 400; line-height: 1.35; }
  .ship__logo + .ship__label { grid-row: 2; }
  .ship__price { grid-area: 1 / 3 / 3 / 4; }
  .pickup__name { line-height: 1.45; }
  .pay-method + p { line-height: 1.6; }
  .checkbox { gap: 12px; min-height: 44px; margin-top: 65px; line-height: 1.5; }
  .checkbox::before { top: -25px; }
  .checkbox input { width: 20px; height: 20px; margin-top: 1px; }
  .step .btn--block { margin-top: 16px; }
  .step .btn--block + .small { margin-top: 16px; }
  .sum { padding: 0; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  /* hlavička souhrnu: „Váš košík · 2 kusy", pod tím „Zobrazit / Skrýt souhrn" (jen kresba — stav ohlásí <summary>), cena, šipka */
  .sum__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: auto auto; align-items: center; gap: 0; min-height: 64px; padding: 10px var(--gutter); cursor: pointer; }
  .sum__heading { display: none; }
  .sum__head::before { content: "Zobrazit souhrn"; content: "Zobrazit souhrn" / ""; grid-area: 2 / 1 / 3 / 3; contain: inline-size; margin-top: 2px; font-size: 13px; line-height: 1.3; color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .sum[open] > .sum__head::before { content: "Skrýt souhrn"; content: "Skrýt souhrn" / ""; }
  .sum__head::after { content: ""; grid-area: 1 / 4 / 3 / 5; width: 16px; height: 16px; margin-left: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23262B23' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 200ms ease; }
  .sum[open] > .sum__head::after { transform: rotate(180deg); }
  .sum__title { grid-area: 1 / 1; font-size: 14px; line-height: 1.3; letter-spacing: .01em; text-transform: none; }
  .sum__count { grid-area: 1 / 2; font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; color: var(--ink); }
  .sum__count:not(:empty)::before { content: "\00a0· "; }
  .sum__total-m { display: block; grid-area: 1 / 3 / 3 / 4; margin-left: 12px; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .sum__rows { gap: 0; margin: 0 var(--gutter); }
  .sum__row, .order-sum__row { grid-template-rows: auto auto; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .sum__name, .order-sum__name { align-self: end; }
  .sum__qty, .order-sum__qty { align-self: start; margin-top: 0; }
  .sum__qty .link { position: relative; }
  .sum__qty .link::after { content: ""; position: absolute; top: 50%; left: -4px; right: -4px; height: 44px; transform: translateY(-50%); }
  .sum__price, .order-sum__price { grid-row: 1 / 3; align-self: center; }
  .sum__totals { row-gap: 6px; margin: 0 var(--gutter); padding: 14px 0 20px; line-height: 1.5; }
  .sum__totals .sum__grand, .order-sum__totals .order-sum__grand { margin-top: 6px; padding-top: 12px; }
  .sum__totals dt.sum__grand, .order-sum__totals dt.order-sum__grand { padding-top: 14px; }
  .pickup-dialog { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; }
  .pickup-dialog__head { padding: 0 6px 0 var(--gutter); }
  /* Děkovací stránka (deska Dekujeme-mobil-v2): jeden sloupec v pořadí DOM — text, platba (QR nad řádky), objednávka, kroky pod sebou */
  .thanks { display: flex; flex-direction: column; align-items: stretch; padding-top: 32px; padding-bottom: 64px; }
  .thanks > .eyebrow { font-size: 11px; }
  .thanks > .h1 { margin-top: 12px; font-size: 32px; line-height: 1.1; }
  .thanks > .lead { margin-top: 12px; font-size: 16px; }
  .pay { margin-top: 32px; padding-top: 24px; }
  .pay > .eyebrow { margin-bottom: 0; }
  .pay__grid { flex-direction: column; align-items: stretch; gap: 0; }
  .pay__qr { align-self: center; align-items: center; gap: 12px; width: 208px; padding: 20px 0 24px; text-align: center; }
  .pay__row { display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-height: 68px; padding: 10px 0; border-top: 1px solid var(--hairline); border-bottom: 0; }
  .pay__row:last-child { border-bottom: 1px solid var(--hairline); }
  .pay__row dt { font-size: 13px; }
  .pay__row dd { align-items: center; }
  .pay__row dd > span, .pay__row:has(.copy) dd > span { font-size: 17px; font-weight: 400; }
  .pay__row:first-child dd > span { font-size: 20px; line-height: 1.35; }
  .copy { min-height: 44px; font-size: 14px; }
  .thanks > .order-sum { margin-top: 48px; padding: 0; border: 0; border-radius: 0; background: none; }
  .order-sum > .h3 { margin-bottom: 12px; }
  .order-sum__rows { gap: 0; margin: 0; }
  .order-sum__totals { row-gap: 6px; margin: 0; padding-top: 14px; line-height: 1.5; }
  .order-sum > .small { margin-top: 14px; }
  .thanks > .steps { display: block; margin-top: 48px; padding-top: 0; border-top: 0; }
  .steps > .h2 { margin-bottom: 4px; }
  .steps__list { display: block; }
  .steps__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
  .steps__no { grid-row: 1 / span 2; line-height: 1; }
  .steps__title { margin: 0; font-size: 16px; line-height: 1.4; letter-spacing: 0; }
  .steps__item p { grid-column: 2; line-height: 1.6; }
  .thanks > .thanks__foot { margin-top: 28px; font-size: 13px; line-height: 1.45; }
  .search { padding-top: 32px; padding-bottom: 64px; }
  .search__form { margin-top: 20px; }
  .search noscript .alert { margin-top: 24px; }
  .search__status { margin: 24px 0; padding-bottom: 12px; }
  .search__empty { font-size: 16px; }
  .server { padding-top: 24px; padding-bottom: 40px; }
  .server .h1 { font-size: 32px; line-height: 1.1; }
  .server .btn { width: 100%; }
}

/* ── Tisk (doklad se ukládá do PDF tiskem stránky) ──────────────────────── */
@media print {
  .header, .header--minimal, .skip, .btn, .consent { display: none; } /* .header--minimal výslovně: třída rámu minimal má v site.css své místo (test server-pages) */
  body { background: #fff; }
}
