/*
Theme Name: Mapa 3D
Theme URI: https://github.com/
Description: Šablona webu s 3D mapami podle manuálu značky v1 (název webu = Nastavení → Obecné → Název webu) – úvod s hledáním místa, Vaše města. / Vaše trasy., grafitový příběh, tři kroky a výzva; stránky (podmínky, kontakt), menu a patička s povinnými odkazy. Grafit, teplá bílá a oranžová, písmo Manrope.
Version: 0.24.0.20261110103827
Requires at least: 6.3
Requires PHP: 7.4
Author: Mapa 3D
License: GPL-2.0-or-later
Text Domain: mapa3d
*/

/* písmo Manrope (SIL Open Font License, assets/fonts/OFL.txt) – latinka a čeština */
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url(assets/fonts/manrope-latin-ext-wght-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: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
	src: url(assets/fonts/manrope-latin-wght-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; }

/* tokeny z manuálu značky (design-tokens.json v1) */
:root {
	--graphite: #262a2b; --graphite-soft: #363c3d;
	--paper: #faf8f4; --white: #fff; --surface: #f0ede7;
	--orange: #c4512d; --orange-hover: #ac4122; --orange-pressed: #92371d; --orange-light: #fbece5; --orange-on-dark: #f0784b;
	--forest: #2f4a39; --forest-ink: #3d6447; --forest-light: #e8eee6;   /* teplá lesní zelená – doplňková barva (mapy) */
	--text-2: #626764; --border: #dcddd6; --border-strong: #858b85;
	--r-s: 8px; --r-control: 12px; --r-image: 16px; --r-card: 16px;   /* jen tři zaoblení – stejně v generátoru */
	--hair: rgba(38, 42, 43, .08);   /* jemné dělicí linky */
	--shadow: 0 1px 2px rgba(38, 42, 43, .05), 0 8px 24px rgba(38, 42, 43, .07);
	--shadow-lg: 0 2px 4px rgba(38, 42, 43, .05), 0 20px 48px rgba(38, 42, 43, .12);
	--wrap: 1280px; --gutter: 48px; --head-h: 80px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--graphite); font: 16px/1.6 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--orange-hover); text-underline-offset: 3px; }
a:hover { color: var(--orange-pressed); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: 56px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 40px; line-height: 1.18; font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
p { text-wrap: pretty; }
.lead { font-size: 20px; line-height: 1.55; color: var(--text-2); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
svg { flex: none; }

/* tlačítka: do kulata, bez rámečku – oranžová primární akce, sekundární jemnou výplní */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
	background: var(--orange); color: #fff; font: 700 16px/1.2 Manrope, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--orange-hover); color: #fff; box-shadow: 0 6px 18px rgba(196, 81, 45, .24); }
.btn:active { background: var(--orange-pressed); transform: translateY(1px); box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.btn.small { min-height: 44px; padding: 9px 20px; font-size: 15px; }
.btn.ghost { background: var(--surface); color: var(--graphite); }
.btn.ghost:hover { background: #e7e2d9; color: var(--graphite); box-shadow: none; }

/* logo: slovní značka „vaše místa.“ – grafit, oranžová tečka */
.brand { font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -.035em; color: var(--graphite); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--graphite); }
.brand i { font-style: normal; color: var(--orange); }
.brand img { max-height: 40px; width: auto; }

/* hlavička: plná teplá bílá, logo vlevo, menu, akce vpravo */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--hair); }
.head-in { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.site-head .brand { margin-right: auto; }
.main-nav { display: flex; align-items: center; }
.menu { list-style: none; display: flex; gap: 4px 32px; margin: 0; padding: 0; }
.menu a { color: var(--graphite); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover, .menu .current-menu-item > a { color: var(--orange-hover); }
.nav-cta { display: none; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.icon-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-control); color: var(--graphite); }
.icon-link:hover { background: var(--surface); color: var(--graphite); }
.icon-link svg { width: 22px; height: 22px; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: var(--r-control); background: none; color: var(--graphite); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle svg + svg, .nav-open .nav-toggle svg:first-child { display: none; }
.nav-open .nav-toggle svg + svg { display: block; }
.nav-toggle:hover { background: var(--surface); }
.admin-bar .site-head { top: 32px; }

/* stránky (podmínky, kontakt…) */
main { display: block; }
body:not(.landing) main > .wrap { padding-top: 64px; padding-bottom: 96px; }
.card { background: var(--white); border: 0; box-shadow: var(--shadow); border-radius: var(--r-card); padding: clamp(24px, 5vw, 56px); max-width: 780px; margin: 0 auto; }
.entry h1 { font-size: 40px; margin: 0 0 24px; }
.entry h2 { font-size: 28px; margin: 40px 0 12px; }
.entry :where(p, ul, ol) { max-width: 680px; }
.posts { display: grid; gap: 16px; padding-top: 48px; padding-bottom: 72px; }
.posts article h2 { margin: 0 0 6px; font-size: 24px; } .posts article h2 a { color: var(--graphite); text-decoration: none; }
.meta { color: var(--text-2); font-size: 14px; }

/* jednorázové objevení sekce (jen se skriptem): nejvýše 400 ms, posun 12 px */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- úvod ---------- */
.hero { padding: 88px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 48px; align-items: center; }
.hero h1 { font-size: clamp(64px, 6.4vw, 96px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.hero h1 i { font-style: normal; color: var(--orange); }
.hero .lead { margin: 24px 0 32px; max-width: 26em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.text-link { font-weight: 700; font-size: 16px; color: var(--graphite); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 5px; white-space: nowrap; }
.text-link:hover { color: var(--orange-hover); text-decoration-color: currentColor; }
.hero-pic { margin: 0; }
.hero-pic img { width: 100%; border-radius: var(--r-image); }

/* ---------- výběr mapy: výrobky v jedné řadě, celá karta je odkaz ---------- */
.shop { padding: 104px 0 112px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 40px; }
.shop-head p { margin: 0; color: var(--text-2); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 24px; }
.cards li { scroll-margin-top: calc(var(--head-h) + 16px); }
.cards[style="--n:6"] { grid-template-columns: repeat(3, 1fr); }   /* šest výrobků: dvě řady po třech */
.cards[style="--n:7"], .cards[style="--n:8"] { grid-template-columns: repeat(4, 1fr); }   /* sedm a víc: řady po čtyřech */
.card-p { display: flex; flex-direction: column; background: var(--white); border: 0; border-radius: var(--r-card); overflow: hidden; color: var(--graphite); box-shadow: var(--shadow); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card-p:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card-pic.render img { object-fit: contain; padding: 10%; }
.card-p:hover .card-pic img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.product-name { font-weight: 800; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; color: var(--graphite); text-decoration: none; }
a.product-name:hover { color: var(--orange-hover); text-decoration: underline; }
.card-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: auto; padding-top: 14px; }
.card-more { font-size: 14px; color: var(--text-2); }
.card-more:hover { color: var(--graphite); }
.card-desc { margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.product-meta { margin-top: 8px; color: var(--text-2); font-size: 14px; }
.product-meta b { color: var(--graphite); }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.kind { padding: 22px 26px; border-radius: var(--r-card); background: var(--forest-light); }
.kind h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--forest); }
.kind p { margin: 0; color: var(--graphite-soft); font-size: 15px; line-height: 1.5; }
.kind .kind-names { margin: 0 0 6px; font-weight: 700; font-size: 14px; color: var(--forest-ink); }
.pd-area { margin: 16px 0 24px; padding: 14px 16px; border-radius: var(--r-control); background: var(--forest-light); color: var(--graphite-soft); font-size: 15px; line-height: 1.5; }
.pd-area b { color: var(--forest); }
.card-go { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; min-height: 44px; color: var(--orange-hover); font-weight: 700; font-size: 15px; text-decoration: none; }
.card-go:hover { color: var(--orange-pressed); }
.card-go svg { width: 16px; height: 16px; transition: transform .15s; }
.card-p:hover .card-go svg { transform: translateX(3px); }

/* grafitový příběh */
.story { background: var(--forest); color: var(--paper); padding: 120px 0; }
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 48px; align-items: center; }
.story-pic { margin: 0; }
.story-pic img { width: 100%; border-radius: var(--r-image); }
.story-txt h2 { font-size: 56px; line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }
.story .btn-light { margin-top: 32px; background: var(--paper); color: var(--forest); }
.story .btn-light:hover { background: #fff; color: var(--forest); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.story-txt p { color: #d9e0d4; font-size: 18px; line-height: 1.6; margin: 20px 0 0; max-width: 30em; }

/* jak to funguje */
.how { padding: 120px 0; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--hair); padding-top: 24px; }
.step-num { display: block; font-size: 18px; font-weight: 800; color: var(--forest-ink); }
.step-title { margin-top: 8px; font-size: 22px; line-height: 1.3; }
.step-text { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 26em; }

/* co dostanete + časté otázky */
.info { padding: 112px 0; border-top: 1px solid var(--hair); }
.info-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; align-items: start; }
.info-grid.single { grid-template-columns: minmax(0, 760px); }
.info h2 { font-size: 32px; margin-bottom: 20px; }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--text-2); }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--forest-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text-2); max-width: 40em; }

/* závěrečná výzva */
.final { padding: 120px 0; text-align: center; background: var(--forest-light); }
.final h2 { font-size: 56px; line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin: 0; }
.final p { color: var(--text-2); font-size: 18px; margin: 16px auto 32px; max-width: 32em; }

/* stav provozu (testovací provoz, objednávky nepřijímáme, oznámení) */
.provoz { margin: 20px 0 0; padding: 12px 16px; border-radius: var(--r-control); font-size: 15px; line-height: 1.5; background: var(--forest-light); color: var(--forest); border: 0; max-width: 34em; }
.provoz-zavreno { background: var(--orange-light); color: var(--orange-pressed); }

/* ---------- detail výrobku ---------- */
.pd-top { padding: 48px 0 96px; }
.pd-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 56px; align-items: start; }
.gallery { min-width: 0; position: relative; }
.g-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-image); background: var(--surface); outline: none; }
.g-main::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.g-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-zoom img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); }
.g-slide figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 999px; background: rgba(250, 248, 244, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; color: var(--text-2); }
.g-count { position: absolute; top: 12px; right: 12px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(38, 42, 43, .72); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.g-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px; }
.g-thumb { flex: none; width: 76px; height: 57px; padding: 0; border: 0; border-radius: var(--r-s); overflow: hidden; background: var(--surface); cursor: pointer; opacity: .72; transition: opacity .15s, box-shadow .15s; }
.g-thumb:hover { opacity: 1; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--graphite); }
.pd-info { position: sticky; top: calc(var(--head-h) + 24px); }
.pd-line { margin: 0 0 6px; font-weight: 700; color: var(--forest-ink); }
.pd-info h1 { font-size: 44px; line-height: 1.1; }
.pd-info .lead { margin: 14px 0 24px; font-size: 18px; }
.pd-sub { font-size: 15px; font-weight: 700; margin: 0 0 8px; letter-spacing: 0; }
.pd-ship { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--hair); }
.pd-ship li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
fieldset.pd-sizes { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
fieldset.pd-sizes legend { padding: 0; margin-bottom: 8px; }
.pd-sizes label { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid #dedad2; border-radius: var(--r-control); background: var(--white); cursor: pointer; font-size: 15px; min-height: 52px; transition: border-color .15s, background .15s, box-shadow .15s; }
.pd-sizes label:hover { border-color: #c9c4ba; }
.pd-sizes label span { flex: 1; }
.pd-sizes input { width: 18px; height: 18px; accent-color: var(--orange); margin: 0; }
.pd-sizes label:has(input:checked) { border-color: var(--orange); background: var(--orange-light); box-shadow: inset 0 0 0 1px var(--orange); }
.pd-incl { margin: 16px 0 0; }
.pd-incl ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text-2); display: grid; gap: 2px; }
.pd-ship-short { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.pd-from { margin: 0 0 16px; color: var(--text-2); }
.pd-info .btn { width: 100%; }
.pd-note { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.pd-block { padding: 80px 0; border-top: 1px solid var(--hair); }
.pd-two { display: grid; grid-template-columns: 4fr 8fr; gap: 16px 56px; align-items: start; }
.pd-two h2 { font-size: 28px; }
.pd-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pd-list li { position: relative; padding-left: 28px; }
.pd-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--forest-ink); }
.pd-text p { margin: 0 0 12px; max-width: 40em; }
.pd-meta { color: var(--text-2); }
.pd-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-docs a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-control); background: var(--white); box-shadow: var(--shadow); color: var(--graphite); text-decoration: none; font-weight: 600; }
.pd-docs a::before { content: "↓"; color: var(--orange); font-weight: 800; }
.pd-docs a:hover { color: var(--orange-hover); }
.product-page .final { margin-top: 0; }
/* zvětšená fotka */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 64px; background: rgba(20, 22, 23, .97); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { position: absolute; bottom: 16px; left: 16px; right: 16px; margin: 0; text-align: center; color: #e6e6e3; font-size: 14px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox :focus-visible { outline-color: #fff; }
.lb-close { top: 12px; right: 12px; font-size: 20px !important; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-open { overflow: hidden; }

/* patička */
.site-foot { background: var(--surface); color: var(--text-2); font-size: 15px; padding: 80px 0 36px; }
.site-foot a { color: var(--graphite); text-decoration: none; }
.site-foot a:hover { color: var(--orange-hover); text-decoration: underline; }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin: 16px 0 0; }
.site-foot h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); margin: 4px 0 16px; }
.site-foot ul, .site-foot .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot .menu { margin-top: 10px; }
.site-foot .menu a { font-size: 15px; font-weight: 400; }
.site-foot .small { border-top: 1px solid var(--hair); margin-top: 48px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.site-foot .small a { color: var(--text-2); text-decoration: underline; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
	:root { --gutter: 32px; --head-h: 64px; }
	.hero-grid, .story-grid { grid-template-columns: 1fr; }
	.shop { padding: 72px 0 80px; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.info-grid { grid-template-columns: 1fr; }
	.pd-grid, .pd-two { grid-template-columns: 1fr; }
	.pd-info { position: static; }
	.info { padding: 80px 0; }
	.head-cta { display: none; }
	.nav-toggle { display: grid; }
	.brand { font-size: 22px; }
	.head-in { gap: 16px; }
	.head-actions { gap: 4px; }
	.main-nav { position: fixed; inset: var(--head-h) 0 auto; height: calc(100dvh - var(--head-h)); background: var(--paper); flex-direction: column; align-items: stretch;
		justify-content: flex-start; gap: 32px; padding: 16px var(--gutter) max(32px, env(safe-area-inset-bottom)); visibility: hidden; opacity: 0;
		transition: opacity .22s var(--ease), visibility 0s .22s; overflow-y: auto; }
	.nav-open .main-nav { visibility: visible; opacity: 1; transition: opacity .22s var(--ease); }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; font-size: 22px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--hair); }
	.nav-cta { display: flex; min-height: 56px; }
	.site-foot .cols { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.story, .how, .final { padding: 88px 0; }
	.story-txt h2, .final h2 { font-size: 44px; }
}
/* ---------- mobil ---------- */
@media (max-width: 767px) {
	:root { --gutter: 20px; }
	body { font-size: 16px; }
	h1, .entry h1 { font-size: 36px; }
	h2 { font-size: 30px; }
	.lead { font-size: 18px; }
	.brand { font-size: 21px; }
	.hero { padding: 32px 0 48px; }
	.hero h1 { font-size: clamp(52px, 15vw, 64px); }
	.hero .lead { margin: 16px 0 24px; }
	.actions { flex-direction: column; align-items: stretch; gap: 16px; }
	.actions .btn { width: 100%; min-height: 56px; }
	.actions .text-link { align-self: flex-start; }
	.shop { padding: 56px 0 64px; }
	.shop-head { margin-bottom: 16px; }
	.cards { grid-template-columns: 1fr; gap: 14px; }
	.kinds { grid-template-columns: 1fr; gap: 12px; }
	.kind { padding: 18px 20px; }
	.card-p:hover { transform: none; }
	.card-p { flex-direction: row; align-items: stretch; }
	.card-pic { flex: none; width: 112px; aspect-ratio: auto; }
	.card-pic.render img { padding: 8px; }
	.card-body { padding: 12px 14px; }
	.product-name { font-size: 17px; }
	.card-desc { font-size: 14px; line-height: 1.4; }
	.product-meta { font-size: 13px; margin-top: 6px; }
	.card-go { font-size: 14px; min-height: 40px; }
	.card-acts { padding-top: 6px; }
	.info { padding: 64px 0; }
	.pd-top { padding: 16px 0 40px; }
	.pd-top .wrap { padding: 0; }
	.pd-info { padding: 0 var(--gutter); }
	.g-main { border-radius: 0; }
	.g-thumbs { display: none; }
	.pd-info h1 { font-size: 32px; }
	.pd-block { padding: 56px 0; }
	.pd-two h2 { font-size: 24px; }
	.info h2 { font-size: 26px; }
	.facts dl div { grid-template-columns: 1fr; gap: 2px; }
	.faq summary { font-size: 16px; }
	.hero-pic { order: -1; margin: 0 0 4px; }   /* na mobilu obrázek hned nahoře – je vidět, co prodáváme */
	.hero-pic img { aspect-ratio: 16 / 9; object-fit: cover; max-height: 230px; }
	.hero { padding-bottom: 8px; }
	.final .btn { width: 100%; min-height: 54px; }
	.story { padding: 72px 0; }
	.story-grid { gap: 28px; }
	.story-txt h2 { font-size: 34px; }
	.story-txt p { font-size: 17px; }
	.how { padding: 72px 0; }
	.steps { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
	.step-title { font-size: 20px; }
	.final { padding: 80px 0; }
	.final h2 { font-size: 32px; }
	.site-foot .cols { gap: 32px 20px; }
	.admin-bar .site-head { top: 0; }
}
@media (max-width: 359px) { :root { --gutter: 16px; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
