/* LKdorty – vzhled veřejného webu podle návrhu (podklady/navrh). Barvy jsou CSS proměnné na :root, generují se z nastavení v databázi
   (schéma Pudrová, Bílá s pastely, Mátová, Vanilková, vlastní úprava) – viz schemata.py. Žádný JavaScript, žádné cizí domény.
   Pravidlo: tlumený text (--text-tlumeny) se nikdy nedává na doplňkovou plochu 1 (--plocha-1), kontrast je tam nižší než 4,5 : 1. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--pozadi); color: var(--text);
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px; line-height: 1.55;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; margin: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hover); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--tlacitko); outline-offset: 3px; }
.skok { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--karta); padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.skok:focus { left: 16px; }
.obal { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ---------- tlačítka ---------- */
.tl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; height: 56px; padding: 0 28px;
  border: 0; border-radius: 28px; background: var(--tlacitko); color: var(--tlacitko-text);
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.tl:hover { background: var(--hover); color: var(--tlacitko-text); }
.tl-druhe { background: var(--tlacitko-druhe); color: var(--text); }
.tl-druhe:hover { background: var(--plocha-1); color: var(--text); }
.tl-bily { background: var(--karta); border: 1px solid var(--linka); color: var(--text); }
.tl-bily:hover { background: var(--tlacitko-druhe); color: var(--text); }
.tl-obrys { background: transparent; border: 2px solid var(--text); color: var(--text); height: 52px; border-radius: 26px; white-space: nowrap; }
.tl-obrys:hover { background: var(--text); color: var(--karta); }
.tl-maly { height: 48px; padding: 0 24px; border-radius: 24px; }
.tl-stredni { height: 52px; border-radius: 26px; }
.tl-velke { padding: 0 40px; }
.tl.vypnuto { opacity: .45; pointer-events: none; }

/* ---------- hlavička ---------- */
.hlavicka { padding: 16px 40px 0; }
.hlavicka-pruh {
  position: relative; max-width: 1200px; margin: 0 auto; height: 92px; padding: 0 16px 0 24px;
  background: var(--karta); border: 1px solid var(--linka); border-radius: 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img:first-child { height: 68px; width: auto; }
.logo img:last-child { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-weight: 600; }
.nav a:not(.tl) { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border-bottom: 3px solid transparent; }
.nav a.aktivni { border-bottom-color: var(--akcent-linka); }
.menu-mobil { display: none; position: relative; }
.menu-mobil summary {
  list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--tlacitko-druhe); color: var(--text);
}
.menu-mobil summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 30; width: min(280px, calc(100vw - 24px));
  background: var(--karta); border: 1px solid var(--linka); border-radius: 28px; padding: 12px;
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 12px 32px rgba(74, 46, 31, .16);
}
.menu-panel a:not(.tl) { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 24px; font-weight: 600; }
.menu-panel a:not(.tl):hover { background: var(--tlacitko-druhe); color: var(--text); }
.menu-panel .tl { margin-top: 4px; }

/* ---------- úvod ---------- */
.uvod-sekce { max-width: 1200px; margin: 0 auto; padding: 24px 40px 88px; }
.uvod-hero { position: relative; height: 440px; border-radius: 40px; background: var(--podklad-fotek); overflow: hidden; }
.uvod-hero picture, .uvod-hero-foto { width: 100%; height: 100%; }
.uvod-hero-foto { object-fit: cover; }
.uvod-hero-foto.orez-nahore { object-position: center top; }       /* výřez z administrace: když se fotka musí oříznout, zůstane vidět horní / dolní část */
.uvod-hero-foto.orez-dole { object-position: center bottom; }
.uvod-hero-slide { width: 100%; height: 100%; }
/* Střídání hlavních fotek bez JavaScriptu: každá je vidět 6 s, první (nejnovější) je vidět hned po načtení.
   Další fotka se nejdřív za 1 s rozsvítí NAD předchozí a teprve potom předchozí zmizí, takže pod fotkami nikdy neprosvítí pozadí.
   Fotka č. k začíná o 1 s před svým časem 6k (zpoždění 6k − 1 s). POZOR: v pravidlech .vice-N nepoužívat zkratku `animation:`, ta by vynulovala
   zpoždění z .hsN (je silnější) a všechny fotky by běžely naráz (chyba z 3. 10. 2026: viděla se jen jedna fotka a pak růžové pozadí). Hlídá test_banner_uvod.py. */
.uvod-hero.vice .uvod-hero-slide { position: absolute; inset: 0; opacity: 0; animation-timing-function: linear; animation-iteration-count: infinite; }
.hs0 { animation-delay: -1s; } .hs1 { animation-delay: 5s; } .hs2 { animation-delay: 11s; } .hs3 { animation-delay: 17s; } .hs4 { animation-delay: 23s; }
.vice-2 .uvod-hero-slide { animation-name: hero-2; animation-duration: 12s; }
.vice-3 .uvod-hero-slide { animation-name: hero-3; animation-duration: 18s; }
.vice-4 .uvod-hero-slide { animation-name: hero-4; animation-duration: 24s; }
.vice-5 .uvod-hero-slide { animation-name: hero-5; animation-duration: 30s; }
@keyframes hero-2 { 0% { opacity: 0; } 8.333% { opacity: 1; } 58.333% { opacity: 1; } 66.667% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-3 { 0% { opacity: 0; } 5.556% { opacity: 1; } 38.889% { opacity: 1; } 44.444% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-4 { 0% { opacity: 0; } 4.167% { opacity: 1; } 29.167% { opacity: 1; } 33.333% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-5 { 0% { opacity: 0; } 3.333% { opacity: 1; } 23.333% { opacity: 1; } 26.667% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .uvod-hero.vice .uvod-hero-slide { animation: none; }
  .uvod-hero.vice .hs0 { opacity: 1; }
}
.uvod-karta {
  position: relative; margin: -140px 56px 0; background: var(--karta); border: 1px solid var(--linka); border-radius: 36px;
  padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: center;
}
.uvod-text { display: flex; flex-direction: column; gap: 14px; }
.uvod-text h1 { font-size: 36px; line-height: 1.2; font-weight: 600; }
.uvod-tlacitka { display: flex; flex-direction: column; gap: 12px; }
.stitek {
  align-self: flex-start; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 17px;
  background: var(--plocha-1); color: var(--text); font-size: 14px; font-weight: 700;
}
.nadpis-sekce { font-size: 42px; line-height: 1.15; font-weight: 700; text-align: center; margin: 0 0 32px; }
.nadpis-vlevo { text-align: left; margin: 0; }
.sekce-kategorie { padding-bottom: 88px; }
.kategorie-mrizka { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.kat-dlazdice {
  display: flex; flex-direction: column; align-items: center; gap: 14px; background: var(--karta); border: 1px solid var(--linka);
  border-radius: 32px; padding: 24px 12px; transition: transform .2s, box-shadow .2s;
}
.kat-dlazdice:hover { color: var(--text); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(74, 46, 31, .10); }
.kat-kruh { display: block; width: min(150px, 100%); aspect-ratio: 1 / 1; border-radius: 50%; background: var(--podklad-fotek); overflow: hidden; }
.kat-kruh picture, .kat-kruh img { width: 100%; height: 100%; object-fit: cover; }
.kat-nazev { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 22px; text-align: center; line-height: 1.2; }

.sekce-bila { background: var(--karta); border-radius: 48px; }
main > .sekce-bila:last-child { border-radius: 48px 48px 0 0; }
.sekce-bila-vnitrek { padding-top: 56px; padding-bottom: 72px; }
.sekce-hlavicka { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }

/* karty dortů */
.dorty-mrizka { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.karta-dortu { display: flex; flex-direction: column; gap: 12px; }
.karta-dortu:hover { color: var(--text); }
.karta-foto { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; background: var(--podklad-fotek); overflow: hidden; }
.karta-foto picture, .karta-foto img { width: 100%; height: 100%; object-fit: cover; }
.karta-foto img { transition: transform .3s; }
.karta-dortu:hover .karta-foto img { transform: scale(1.04); }
.karta-text { padding: 0 8px; }
.karta-nazev { font-weight: 700; }
.karta-dortu:hover .karta-nazev { text-decoration: underline; text-underline-offset: 3px; }
.karta-kat { font-size: 14px; color: var(--text-tlumeny); }

/* reference */
.sekce-reference { padding-top: 88px; padding-bottom: 88px; }
.sekce-reference-stranka { padding-top: 0; }
.ref-mrizka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ref-karta { border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.ref-karta p { font-size: 19px; margin: 0; }
.ref-karta figcaption { font-size: 15px; }
.ref-0 { background: var(--plocha-1); }
.ref-1 { background: var(--karta); border: 1px solid var(--linka); }
.ref-2 { background: var(--plocha-2); }
.sekce-odkaz { text-align: center; margin: 40px 0 0; }

/* fotky z oslav */
.sekce-oslavy { padding-bottom: 88px; }
.oslavy-radek { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.oslavy-mrizka { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.oslava-dlazdice { display: block; aspect-ratio: 1 / 1; border-radius: 24px; background: var(--podklad-fotek); overflow: hidden; }
.oslava-dlazdice picture, .oslava-dlazdice img { width: 100%; height: 100%; object-fit: cover; }
.oslava-dlazdice img { transition: transform .3s; }
.oslava-dlazdice:hover img { transform: scale(1.04); }

/* blok LKstore */
.sekce-lkstore { padding-bottom: 88px; }
.lkstore { background: var(--plocha-2); border-radius: 32px; padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.lkstore-stitek { font-size: 14px; font-weight: 700; }
.lkstore-text { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 28px; line-height: 1.25; }

/* ---------- galerie ---------- */
.galerie-hlavicka, .stranka-hlavicka { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.stranka-hlavicka { gap: 16px; }
.galerie-hlavicka p, .stranka-hlavicka p { margin: 0; }
.galerie-nadpis, .stranka-nadpis { font-size: 60px; line-height: 1.05; font-weight: 700; }
.stitky { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.stitek-odkaz {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 23px; background: var(--karta);
  border: 1px solid var(--linka); font-weight: 700; transition: background-color .15s;
}
.stitek-odkaz:hover { background: var(--plocha-1); color: var(--text); }
.stitek-odkaz.aktivni, .stitek-odkaz.aktivni:hover { background: var(--text); border-color: var(--text); color: var(--karta); }
.hledani { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hledani label { font-size: 14px; font-weight: 700; }
.hledani input[type=search] {
  height: 46px; width: 300px; max-width: 100%; padding: 0 18px; border-radius: 23px; border: 1px solid var(--okraj-pole);
  background: var(--karta); color: var(--text); font: inherit; font-size: 16px;
}
.sekce-galerie .sekce-bila-vnitrek { padding-top: 48px; padding-bottom: 0; }
.hledani-vysledek { margin: 0 0 24px; text-align: center; }
.hledani-vysledek a { text-decoration: underline; font-weight: 700; }
.galerie-dole { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 0 72px; }
.galerie-pocet { font-size: 14px; color: var(--text-tlumeny); }
.prazdno { text-align: center; color: var(--text-tlumeny); margin: 0; padding: 24px 0; }

/* ---------- detail dortu ---------- */
.detail-sekce { padding-top: 28px; padding-bottom: 72px; }
.drobky { font-size: 14px; color: var(--text-tlumeny); margin-bottom: 20px; }
.drobky a { padding: 8px 0; }
.drobky a:hover { text-decoration: underline; color: var(--text-tlumeny); }
.detail-mrizka { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: stretch; }
.detail-foto { position: relative; height: 620px; border-radius: 40px; background: var(--podklad-fotek); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-foto picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.detail-foto img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.detail-karta { background: var(--karta); border: 1px solid var(--linka); border-radius: 40px; padding: 44px; display: flex; flex-direction: column; gap: 24px; }
.detail-karta h1 { font-size: 52px; line-height: 1.05; font-weight: 700; overflow-wrap: anywhere; }
.detail-karta p { margin: 0; }
.stitek-odkaz-maly { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 14px; }
.stitek-odkaz-maly:hover { background: var(--plocha-1); color: var(--text); }
.detail-prevnext { display: flex; gap: 12px; }
.detail-prevnext .tl { flex: 1 1 0; }
.detail-lkstore { margin-top: auto; background: var(--plocha-2); border-radius: 24px; padding: 20px 24px; }
.detail-lkstore a { font-weight: 700; text-decoration: underline; }
.detail-dalsi-nadpis { font-size: 34px; line-height: 1.2; font-weight: 700; margin: 0 0 28px; }

/* ---------- poptávka ---------- */
.poptavka-sekce { padding-top: 48px; padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.poptavka-levo { display: flex; flex-direction: column; gap: 20px; }
.poptavka-nadpis { font-size: 56px; line-height: 1.03; text-align: left; }
.poptavka-uvod { font-size: 19px; margin: 0; }
.poptavka-kontakt { background: var(--plocha-1); border-radius: 28px; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.poptavka-kontakt-stitek { font-size: 14px; font-weight: 700; }
.poptavka-email, .poptavka-ig { display: flex; align-items: center; min-height: 44px; }
.poptavka-email { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 24px; overflow-wrap: anywhere; }
.poptavka-ig { font-weight: 600; }
.poptavka-dort { background: var(--karta); border: 1px solid var(--linka); border-radius: 28px; padding: 20px; display: flex; align-items: center; gap: 16px; }
.poptavka-dort-foto { width: 96px; height: 96px; flex-shrink: 0; border-radius: 20px; background: var(--podklad-fotek); overflow: hidden; }
.poptavka-dort-foto picture, .poptavka-dort-foto img { width: 100%; height: 100%; object-fit: cover; }
.poptavka-dort-stitek { font-size: 14px; color: var(--text-tlumeny); }
.poptavka-dort-nazev { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 22px; line-height: 1.2; }
.poptavka-formular { background: var(--karta); border: 1px solid var(--linka); border-radius: 40px; padding: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.poptavka-zprava { grid-column: span 2; margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--plocha-1); font-weight: 600; }
.pole { display: flex; flex-direction: column; gap: 6px; }
.pole-siroke { grid-column: span 2; }
.poptavka-povinna-pozn { grid-column: span 2; margin: 0; font-size: 15px; color: var(--text-tlumeny); }
.povinne { color: #A12D2D; font-weight: 700; }
.nepovinne { font-weight: 400; font-size: 14px; color: var(--text-tlumeny); }
.nevidet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.poptavka-chyby { background: #FBE9E7; color: #8A1F11; }
.poptavka-chyby ul { margin: 6px 0 0; padding-left: 20px; font-weight: 600; }
.pole-past { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* skryté pole proti robotům */
.pole label { font-size: 15px; font-weight: 700; }
.pole input, .pole select, .pole textarea {
  box-sizing: border-box; width: 100%; border-radius: 16px; border: 1px solid var(--okraj-pole); background: var(--pozadi); color: var(--text); font: inherit;
}
.pole input, .pole select { height: 52px; padding: 0 16px; }
.pole textarea { padding: 14px 16px; resize: vertical; min-height: 140px; }
.pole-soubor { grid-column: span 2; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; border: 2px dashed var(--okraj-pole); font-size: 15px; color: var(--text-tlumeny); }
.pole-soubor .tl { flex-shrink: 0; white-space: nowrap; }
.pole-soubor:focus-within { outline: 3px solid var(--tlacitko); outline-offset: 3px; }
.pole-soubor-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foto-nazev { font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.foto-zprava { margin: 0; color: #A12D2D; font-weight: 600; }
.foto-zprava[hidden] { display: none; }
.skryty-vstup { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.pole-souhlas { grid-column: span 2; display: flex; align-items: center; gap: 12px; font-size: 15px; min-height: 44px; }
.pole-souhlas label { cursor: pointer; }
.pole-souhlas input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--tlacitko); }
.pole-souhlas a { text-decoration: underline; font-weight: 700; }
.tl-formular { grid-column: span 2; height: 60px; border-radius: 30px; font-size: 18px; width: 100%; }

/* ---------- 404, text ---------- */
.chyba-sekce { padding-top: 48px; padding-bottom: 72px; display: flex; justify-content: center; }
.chyba-karta { max-width: 720px; background: var(--karta); border: 1px solid var(--linka); border-radius: 40px; padding: 56px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.chyba-karta .stitek { align-self: center; }
.chyba-karta h1 { font-size: 48px; line-height: 1.1; font-weight: 700; }
.chyba-karta p { margin: 0; }
.chyba-tlacitka { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.text-sekce { padding-bottom: 88px; }
.text-karta { max-width: 820px; margin: 0 auto; background: var(--karta); border: 1px solid var(--linka); border-radius: 32px; padding: 40px 44px; }
.text-karta p:last-child { margin-bottom: 0; }

/* ---------- patička ---------- */
.paticka { background: var(--paticka); color: var(--paticka-text); border-radius: 40px 40px 0 0; }
.paticka-rovna .paticka { border-radius: 0; }
.paticka a, .paticka a:hover { color: var(--paticka-text); }
.paticka a:hover { text-decoration: underline; text-underline-offset: 3px; }
.paticka :focus-visible { outline-color: var(--paticka-text); }
.paticka-vnitrek { max-width: 1200px; margin: 0 auto; padding: 64px 40px; display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.paticka-nadpis { font-size: 44px; line-height: 1.1; font-weight: 700; margin: 0 0 12px; }
.paticka-odkazy { display: flex; gap: 8px 32px; font-size: 18px; flex-wrap: wrap; }
.paticka-odkazy a, .paticka-zasady { display: inline-flex; align-items: center; min-height: 44px; }
.paticka-zasady { font-size: 15px; text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.paticka-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.paticka-logo img:first-child { height: 88px; width: auto; }
.paticka-logo img:last-child { height: 56px; width: auto; }

/* ---------- zlomy ---------- */
@media (max-width: 1100px) {
  .obal { padding-left: 24px; padding-right: 24px; }
  .hlavicka { padding: 16px 24px 0; }
  .uvod-sekce { padding-left: 24px; padding-right: 24px; }
  .uvod-karta { margin: -120px 32px 0; padding: 36px 32px; gap: 28px; }
  .dorty-mrizka, .oslavy-mrizka { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nadpis-sekce { font-size: 36px; }
  .detail-foto { height: 520px; }
  .detail-karta { padding: 32px; }
  .detail-karta h1 { font-size: 42px; }
  .poptavka-sekce { gap: 32px; }
  .poptavka-nadpis { font-size: 48px; }
  .poptavka-formular { padding: 32px; }
  .paticka-vnitrek { padding: 56px 24px; }
  .galerie-nadpis, .stranka-nadpis { font-size: 52px; }
}
@media (max-width: 900px) {
  .hlavicka { padding: 12px 12px 0; }
  .hlavicka-pruh { height: 68px; padding: 0 10px 0 14px; border-radius: 34px; gap: 12px; }
  .logo { gap: 8px; }
  .logo img:first-child { height: 52px; }
  .logo img:last-child { height: 36px; }
  .nav { display: none; }
  .menu-mobil { display: block; }
  .uvod-sekce { padding: 12px 12px 48px; }
  .uvod-hero { height: 340px; border-radius: 32px; }
  .uvod-karta { grid-template-columns: minmax(0, 1fr); margin: -90px 12px 0; padding: 28px 24px; gap: 20px; border-radius: 28px; }
  .uvod-text h1 { font-size: 30px; }
  .kategorie-mrizka { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .kat-dlazdice { border-radius: 24px; padding: 18px 8px; gap: 10px; }
  .kat-nazev { font-size: 18px; }
  .dorty-mrizka, .oslavy-mrizka, .ref-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oslavy-radek { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .oslavy-radek .oslava-dlazdice:nth-child(n+4) { display: none; }
  .sekce-reference { padding-top: 56px; padding-bottom: 56px; }
  .lkstore { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; }
  .lkstore-text { font-size: 24px; }
  .detail-mrizka { grid-template-columns: minmax(0, 1fr); }
  .detail-foto { height: 480px; }
  .poptavka-sekce { grid-template-columns: minmax(0, 1fr); }
  .paticka-vnitrek { flex-direction: column; align-items: flex-start; }
  .paticka-nadpis { font-size: 36px; }
  .sekce-bila-vnitrek { padding-top: 40px; padding-bottom: 48px; }
  .sekce-bila { border-radius: 36px; }
  main > .sekce-bila:last-child { border-radius: 36px 36px 0 0; }
}
@media (max-width: 600px) {
  .poptavka-formular { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; border-radius: 32px; }
  .poptavka-zprava, .poptavka-povinna-pozn, .pole-siroke, .pole-soubor, .pole-souhlas, .tl-formular { grid-column: span 1; }
  .pole-soubor { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .obal { padding-left: 16px; padding-right: 16px; }
  .tl { height: 52px; border-radius: 26px; padding: 0 22px; }
  .tl-maly { height: 48px; }
  .uvod-hero { height: 280px; }
  .uvod-karta { margin: -90px 12px 0; padding: 24px 20px; }
  .uvod-text h1 { font-size: 25px; line-height: 1.22; }
  .stitek { height: 32px; padding: 0 14px; font-size: 13px; }
  .stitek.stitek-odkaz-maly { height: 44px; padding: 0 20px; font-size: 14px; }
  .nadpis-sekce { font-size: 28px; text-align: left; margin: 0 4px 16px; }
  .nadpis-vlevo { margin: 0; }
  .sekce-kategorie { padding-bottom: 36px; }
  .kategorie-mrizka { gap: 8px; }
  .kat-dlazdice { border-radius: 22px; padding: 14px 4px; }
  .kat-kruh { width: 76px; }
  .kat-nazev { font-size: 15px; }
  .sekce-bila-vnitrek { padding-left: 16px; padding-right: 16px; padding-top: 32px; padding-bottom: 32px; }
  .sekce-hlavicka { margin-bottom: 16px; }
  .dorty-mrizka { gap: 16px 12px; }
  .karta-foto { border-radius: 22px; }
  .karta-text { padding: 0 6px; }
  .karta-nazev { font-size: 15px; line-height: 1.3; }
  .karta-kat { font-size: 13px; }
  .ref-mrizka { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ref-karta { padding: 24px; border-radius: 24px; gap: 14px; }
  .ref-karta p { font-size: 17px; }
  .sekce-reference { padding-top: 32px; padding-bottom: 32px; }
  .sekce-oslavy { padding-bottom: 32px; }
  .oslava-dlazdice { border-radius: 16px; }
  .sekce-lkstore { padding-bottom: 32px; }
  .lkstore { border-radius: 24px; gap: 12px; }
  .lkstore-text { font-size: 21px; line-height: 1.2; }
  .lkstore .tl { width: 100%; }
  .galerie-hlavicka, .stranka-hlavicka { padding-top: 32px; padding-bottom: 28px; }
  .galerie-nadpis, .stranka-nadpis { font-size: 38px; }
  .stitek-odkaz { padding: 0 18px; }
  .hledani { width: 100%; }
  .hledani label { flex-basis: 100%; text-align: left; }
  .hledani input[type=search] { flex: 1 1 0; width: auto; min-width: 0; }
  .oslavy-mrizka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .galerie-dole { padding: 32px 0 48px; }
  .galerie-dole .tl { width: 100%; }
  .detail-foto { height: 400px; border-radius: 28px; }
  .detail-karta { padding: 28px 22px; border-radius: 32px; gap: 20px; }
  .detail-karta h1 { font-size: 36px; }
  .detail-dalsi-nadpis { font-size: 28px; }
  .poptavka-sekce { padding-top: 32px; padding-bottom: 48px; }
  .poptavka-nadpis { font-size: 40px; }
  .poptavka-email { font-size: 20px; }
  .chyba-karta { padding: 36px 24px; border-radius: 32px; }
  .chyba-karta h1 { font-size: 34px; }
  .chyba-tlacitka .tl { width: 100%; }
  .text-karta { padding: 28px 22px; border-radius: 28px; }
  .paticka { border-radius: 32px 32px 0 0; }
  .paticka-vnitrek { padding: 40px 20px; gap: 24px; }
  .paticka-nadpis { font-size: 30px; margin-bottom: 8px; }
  .paticka-odkazy { flex-direction: column; gap: 0; }
  .paticka-logo img:first-child { height: 68px; }
  .paticka-logo img:last-child { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
