/* ==================================================================
   SVAHOVÉ SEKAČKY — hlavní styly
   Design: varianta 5 (Bold / Conversion)
   ================================================================== */

/* ============ TOKENY ============ */
:root {
  /* ---- paleta: 6 barev + bílá ---- */
  --dark: #0c2419;      /* text, tmavé plochy, patička, logo, popisky na žluté */
  --green: #157a3e;     /* jediná zelená – odkazy, hover, zelené plochy, focus u formuláře */
  --yellow: #f5c518;    /* akce a čísla */
  --yellow-2: #d9a800;  /* hover a stisk žlutých prvků */
  --mut: #5f6f66;       /* vedlejší text na světlém */
  --line: #e6efe9;      /* linky, rámečky, světlé plochy */
  --white: #ffffff;

  /* ---- odvozené průhlednosti (bílá a tmavá, žádná nová barva) ---- */
  --on-dark: rgba(255, 255, 255, 0.72);   /* vedlejší text na tmavém */
  --white-1: rgba(255, 255, 255, 0.14);   /* jemná výplň na tmavém */
  --white-2: rgba(255, 255, 255, 0.5);    /* obrys na tmavém */
  --veil-soft: rgba(12, 36, 25, 0.42);
  --veil: rgba(12, 36, 25, 0.62);
  --veil-strong: rgba(12, 36, 25, 0.94);
  --shade: rgba(12, 36, 25, 0.1);         /* jemný stín */
  --shade-2: rgba(12, 36, 25, 0.22);      /* výraznější stín */

  /* výška lepivé navigace – hero se dopočítává na zbytek obrazovky */
  --nav-h: 78px;

  /* písma */
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

/* ============ RESET ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--white);
  color: var(--dark);
  font-family: var(--font);
  line-height: 1.6;
}
/* nadpisy se lamou vyvazene, odstavce bez osamocenych slov na poslednim radku */
h1,
h2,
h3,
.sub,
.d-title {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4,
.d-title,
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0;
}
h1,
h2 {
  font-weight: 800;
}

/* placeholder pro obrázky (nahradí se fotkami) */
.ph {
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mut);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  font-size: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: 0.2s;
  font-family: inherit;
}

/* ============ NAVIGACE ============ */
nav {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 40;
  box-shadow: 0 2px 12px var(--shade);
}
.nav-in {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.05;
  display: inline-block;
}
.logo b {
  color: inherit;
}
.logo-claim {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark);
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--mut);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-links a:hover {
  color: var(--green);
}
.nav-links .btn {
  background: var(--yellow);
  color: var(--dark);
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 0.88rem;
}

/* hamburger */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  padding: 6px;
}
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
}
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-toggle.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#menu-toggle.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
#mobile-menu {
  display: none;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line);
}
#mobile-menu.is-open {
  display: block;
}
#mobile-menu a {
  display: block;
  padding: 11px 0;
  text-decoration: none;
  color: var(--mut);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
#mobile-menu a:last-child {
  border-bottom: none;
}
#mobile-menu a:hover {
  color: var(--green);
}

/* ============ HERO ============ */
header.hero {
  background: var(--dark);
  color: var(--white);
  min-height: calc(93svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 48px 24px 92px;
  position: relative;
  overflow: hidden;
}
header.hero > .wrap {
  width: 100%;
}

/* --- video na pozadí hero sekce --- */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--dark) url("../videos/hero-poster.jpg?v=2") center / cover no-repeat;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video.is-playing {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(100deg, var(--veil-strong) 0%, var(--veil) 46%, var(--veil-soft) 100%),
    linear-gradient(to top, var(--veil) 0%, transparent 42%);
}
.hero-cue {
  z-index: 2;
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}
.hero-cue:hover {
  color: var(--white);
}
.hero-cue span {
  font-size: 1rem;
  line-height: 1;
}
header.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-in {
  display: block;
}
.hero-text {
  max-width: 720px;
  text-shadow: 0 2px 18px var(--veil);
}
.pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 15px;
  margin-bottom: 22px;
}
header.hero h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  max-width: 840px;
  line-height: 1.08;
  margin-bottom: 20px;
}
header.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}
header.hero p {
  font-size: 1.24rem;
  max-width: 600px;
  opacity: 0.92;
  margin-bottom: 32px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
header.hero .btn {
  background: var(--yellow);
  color: var(--dark);
  padding: 16px 34px;
  border-radius: 5px;
  font-size: 1.05rem;
}
.btn-ghost {
  background: transparent;
  border: 2px solid var(--white-2);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
}
/* stejna velikost pisma jako u zluteho tlacitka - obe pak maji shodnou vysku */
header.hero .btn-ghost {
  font-size: 1.05rem;
}
.stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-size: 2.2rem;
  color: var(--yellow);
  line-height: 1;
}
.stat span {
  font-size: 0.88rem;
  opacity: 0.8;
}

/* ============ SEKCE ============ */
.sec {
  padding: 84px 0;
  scroll-margin-top: 90px;
}
/* prvni sekce pod navigaci - mensi horni odsazeni */
.sec-prvni {
  padding-top: 44px;
}
/* sekce, ktera primo navazuje na predchozi */
.sec-navazuje {
  padding-top: 0;
}
.sec h2 {
  font-size: 2.7rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.center {
  text-align: center;
}
.sub {
  color: var(--mut);
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.center .sub {
  margin: 0 auto 48px;
}
.sec-dark {
  background: var(--dark);
  color: var(--white);
}
.sec-dark h2 {
  color: var(--white);
}
.sec-dark .sub {
  color: var(--on-dark);
}
.sec-dark .about p {
  color: var(--on-dark);
}
.sec-dark .ph {
  background: var(--white-1);
  color: var(--on-dark);
}

/* ============ VÝHODY ============ */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
}
/* neni to prokliknutelna karta, takze zadna plocha ani hover - jen vypis
   ve dvou sloupcich oddeleny linkou */
.tile {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.tile .ico {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile .ico img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  /* původně černé PNG → barva sekce Naše sekačky */
  filter: invert(11%) sepia(32%) saturate(746%) hue-rotate(110deg) brightness(93%) contrast(92%);
}
.tile h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.tile p {
  color: var(--mut);
  font-size: 0.95rem;
  max-width: 44ch;
}

/* ============ KARTY SEKAČEK ============ */
.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.model {
  background: var(--white);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.model:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(12, 36, 25, 0.5);
}
.model-b {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.model h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.model h3 a {
  text-decoration: none;
}
.model .desc {
  color: var(--mut);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.model table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.model table {
  font-variant-numeric: tabular-nums;
}
.model table td {
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--mut);
}
.model table td:last-child {
  text-align: right;
  color: var(--dark);
  font-weight: 700;
}
.price {
  color: var(--green);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.price small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.avail {
  font-size: 0.92rem;
  color: var(--mut);
  margin-bottom: 4px;
}
.avail b {
  color: var(--dark);
}
.model .btn {
  display: block;
  font-size: 0.95rem;
  text-align: center;
  background: var(--yellow);
  color: var(--dark);
  padding: 13px;
  border-radius: 5px;
}
.model .btn2 {
  display: block;
  font-size: 0.95rem;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}
.model .btn2:hover {
  border-color: var(--green);
  color: var(--green);
}
.model-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.model-actions .btn,
.model-actions .btn2 {
  flex: 1;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* "Detail" zabere jen svou sirku, hlavni akce dostane zbytek -
   "Pridat do poptavky" se pak vejde na jeden radek */
.model-actions .btn2 {
  flex: 0 1 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* ============ VIDEO A GALERIE ============ */
.video {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 16 / 9;
}
.video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--dark);
}

/* ============ REFERENCE ============ */

/* ============ O NÁS ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about .ph {
  height: 300px;
  border-radius: 10px;
}
/* foto provozovny je na vysku - drzime ho uzsi, at neprerusta text vedle */
.about-foto {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
.about-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 820 / 1024;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 840px) {
  .about-foto {
    justify-self: stretch;
    max-width: none;
  }
  .about-foto img {
    aspect-ratio: 4 / 3;
    object-position: 50% 30%;
  }
}
.about p + p {
  margin-top: 14px;
}
.about p {
  color: var(--mut);
}

/* ============ CTA PRUH ============ */
.cta-band {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 70px 24px;
  border-radius: 12px;
  margin: 0 24px;
}
.cta-band h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.cta-band p {
  opacity: 0.92;
  margin-bottom: 26px;
}
.cta-band .btn {
  background: var(--dark);
  color: var(--white);
  padding: 16px 38px;
  border-radius: 6px;
}

/* ============ FORMULÁŘ ============ */
.sec-poptavka .d-title {
  margin-bottom: 6px;
}
.sec-poptavka .sub {
  margin-bottom: 36px;
}
form.inquiry h3 {
  margin-bottom: 6px;
}
form.inquiry {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 36px;
  max-width: 640px;
  margin: 34px auto 0;
  box-shadow: 0 12px 40px var(--shade);
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 14px 0 5px;
  color: var(--mut);
}
input,
select,
textarea {
  width: 100%;
  padding: 13px;
  border: 2px solid var(--line);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
}
textarea {
  height: 100px;
}
.gdpr {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.82rem;
  color: var(--mut);
}
.gdpr input {
  width: auto;
}
.gdpr label {
  margin: 0;
  font-weight: 400;
}
.gdpr a {
  color: var(--green);
}
/* odkaz "Pridat dalsi sekacku" pod polozkami poptavky */
.cart-pridat {
  margin-top: 6px;
}
form.inquiry .btn {
  width: 100%;
  background: var(--yellow);
  color: var(--dark);
  padding: 16px;
  border-radius: 6px;
  font-size: 1.02rem;
  margin-top: 6px;
}

/* ============ KONTAKT ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.contact .sub {
  margin-bottom: 28px;
}
.kontakt-adresa {
  color: var(--mut);
  font-size: 0.95rem;
}
.kontakt-ico {
  color: var(--mut);
  font-size: 0.9rem;
  margin-top: 14px;
}
.person {
  margin-bottom: 20px;
}
.person .name {
  font-weight: 800;
}
.person .role {
  color: var(--mut);
  font-size: 0.9rem;
}
.person a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}
.person .mail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
  margin-top: 6px;
}
.person .mail-row span {
  color: var(--mut);
  font-size: 0.9rem;
  min-width: 148px;
}
/* mapa se nacita rovnou (souhlas je uvedeny v cookie liste a v zasadach) */
.map {
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ============ PATIČKA ============ */
footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: 56px 0 0;
  font-size: 0.85rem;
}
/* horni cast: znacka / kontakt / prodejce - oddelene mezerou, ne teckami */
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
}
.foot-logo {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
}
.foot-claim {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.foot-perex {
  margin-top: 16px;
  max-width: 34ch;
  line-height: 1.65;
}
.foot-nadpis {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.foot-tel {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--yellow);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.foot-maily {
  list-style: none;
  display: grid;
  gap: 12px;
}
.foot-maily span {
  display: block;
  font-size: 0.76rem;
}
.foot-maily a {
  text-decoration: none;
}
.foot-adresa {
  font-style: normal;
  line-height: 1.8;
}
.foot-udaje {
  margin-top: 14px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
/* spodni linka: copyright vlevo, pravni odkazy a autor vpravo */
.foot-spodek {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-top: 20px;
  padding-bottom: 30px;
  border-top: 1px solid var(--white-1);
  font-size: 0.8rem;
}
.foot-odkazy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
footer a {
  color: var(--white);
}
/* akce, ktera vypada jako odkaz (nastaveni cookies) - barvu bere z okoli
   stejne jako <a>, v paticce je jako ostatni odkazy bila */
.odkaz-akce {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
footer .odkaz-akce {
  color: var(--white);
}
.odkaz-akce:hover {
  text-decoration: none;
}

/* ==================================================================
   DETAIL SEKAČKY
   ================================================================== */
.btn-acc {
  background: var(--yellow);
  color: var(--dark);
  padding: 15px 32px;
  border-radius: 4px;
}
.btn-line {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--dark);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
}
.btn-line:hover {
  border-color: var(--green);
  color: var(--green);
}

.crumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--mut);
  font-size: 0.92rem;
  text-decoration: none;
  margin-bottom: 24px;
  font-weight: 600;
}
.crumb:hover {
  color: var(--green);
}

.detail-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "gallery side";
  column-gap: 46px;
  row-gap: 0;
  align-items: start;
}
.detail-top .gallery {
  grid-area: gallery;
}
.detail-top .d-side {
  grid-area: side;
}
.gallery .main {
  height: 380px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.d-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.d-lead {
  color: var(--mut);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
/* pravni stranka - nadpis pod drobeckem a uzsi sazba textu */
.sec-pravni .d-title {
  margin-top: 18px;
}
.sec-pravni .d-lead {
  max-width: 760px;
}
.d-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green);
  margin: 16px 0;
  font-variant-numeric: tabular-nums;
}
.buybar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}
.cart-item .qty {
  margin-top: 8px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.qty button {
  width: 42px;
  height: 46px;
  border: none;
  background: var(--white);
  color: var(--dark);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}
.qty button:hover {
  color: var(--green);
}
.qty span {
  width: 48px;
  text-align: center;
  font-weight: 700;
}
.d-note {
  font-size: 0.85rem;
  color: var(--mut);
  margin-top: 6px;
}
.d-block {
  margin-top: 50px;
}
/* Popis a video oddelujeme o kousek vic */
.d-block-oddeleny {
  margin-top: 60px;
}
.d-block .feat,
.d-block .spec-grid,
.d-block .usel,
.d-block .video {
  margin-top: 16px;
}
.d-text {
  color: var(--mut);
  max-width: 820px;
  margin-top: 16px;
}
.d-block h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  font-variant-numeric: tabular-nums;
}
.spec-grid div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.spec-grid div span:first-child {
  color: var(--mut);
}
.spec-grid div span:last-child {
  font-weight: 700;
  text-align: right;
}
.feat {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}
.feat li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.97rem;
}
.feat li:before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex: none;
}
.usel {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.usel li {
  font-size: 0.97rem;
}
.usel li::marker {
  color: var(--green);
}
.usecards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.usecard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  font-size: 0.95rem;
}
.usecard .u-ico {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.related {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* ==================================================================
   POPTÁVKA (košík)
   ================================================================== */
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-areas:
    "list summary"
    "form summary";
  column-gap: 36px;
  row-gap: 0;
  align-items: flex-start;
}
.cart-grid .cart-list {
  grid-area: list;
}
.cart-grid .cart-form {
  grid-area: form;
}
.cart-grid .summary {
  grid-area: summary;
}
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 14px;
}
.cart-item h4 {
  font-size: 1.08rem;
  margin-bottom: 3px;
}
.cart-item .ci-price {
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
}
.cart-item .rm {
  background: none;
  font-size: 0.82rem;
  border: none;
  color: var(--mut);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  margin-top: 8px;
  padding: 0;
  font-family: inherit;
}
.cart-item .rm:hover {
  color: var(--dark);
}
.cart-item .ci-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 28px;
  position: sticky;
  top: 120px;
}
.summary h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.summary .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 0.94rem;
  color: var(--mut);
}
.sum-block + .sum-block {
  margin-top: 14px;
}
.sum-prices {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.summary .row b {
  color: var(--dark);
}
.summary .tot {
  font-weight: 800;
  font-size: 1.1rem;
  border-top: 2px solid var(--dark);
  margin-top: 14px;
  padding-top: 14px;
  color: var(--dark);
}
.empty {
  text-align: center;
  padding: 48px 20px 64px;
  color: var(--mut);
}
.empty .big {
  font-size: 3.4rem;
  margin-bottom: 16px;
}
.empty h3 {
  color: var(--dark);
  margin-bottom: 8px;
}
.empty p {
  margin-bottom: 22px;
}
.thanks {
  text-align: center;
  padding: 70px 20px;
}
.thanks .big {
  font-size: 3.4rem;
  margin-bottom: 16px;
}
.thanks h2 {
  margin-bottom: 12px;
}
.thanks p {
  color: var(--mut);
  max-width: 520px;
  margin: 0 auto 26px;
}
.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 20px;
  height: 20px;
  /* 1px dole vyrovnava metriku Barlow (velky ascent, maly descent):
     flex centruje radkovy box, ne samotnou cislici, takze bez teto
     kompenzace sedi cislo cca pul pixelu pod stredem odznaku */
  padding: 0 5px 1px;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
/* tlačítko s odznakem zarovnat na střed jako flex, ať odznak nesedí na účaří */
.nav-links .btn,
#mobile-menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
#mobile-menu a {
  display: flex;
}
.cart-count-badge:empty,
.cart-count-badge[hidden] {
  display: none;
}

/* ============ TOAST ============ */
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: 0.28s;
  z-index: 60;
  box-shadow: 0 8px 30px var(--shade-2);
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ 404 ============ */
.err {
  text-align: center;
  padding: 110px 24px 90px;
}
.err h1 {
  margin-bottom: 12px;
}
.err p {
  color: var(--mut);
  max-width: 520px;
  margin: 0 auto 28px;
}
.err .cta-row {
  justify-content: center;
}
.err .code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}

/* ==================================================================
   RESPONZIVITA
   ================================================================== */
@media (max-width: 980px) {
  header.hero h1 {
    font-size: 2.8rem;
  }
  .stats {
    gap: 26px;
  }
}

@media (max-width: 840px) {
  :root {
    --nav-h: 66px;
  }
  header.hero {
    min-height: auto;
    padding: 56px 24px 76px;
  }
  .hero-text {
    max-width: none;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .about,
  .contact,
  .frow {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  /* na mobilu zůstane v liště jen tlačítko Poptávka s počtem kusů,
     ostatní odkazy jsou v rozbalovacím menu */
  .nav-links {
    display: flex;
    gap: 0;
    margin-left: auto;
  }
  .nav-links li:not(:last-child) {
    display: none;
  }
  .nav-links .btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }
  #menu-toggle {
    display: inline-flex;
    margin-left: 6px;
  }
  #mobile-menu a[href$="poptavka.html"] {
    display: none;
  }
  .sec {
    padding: 60px 0;
  }
  .sec h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 820px) {
  .detail-top,
  .cart-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .detail-top {
    grid-template-areas:
      "head"
      "gallery"
      "buy";
  }
  .detail-top .d-side {
    display: contents;
  }
  .detail-top .d-head {
    grid-area: head;
  }
  .detail-top .d-buy {
    grid-area: buy;
  }
  .cart-grid {
    grid-template-areas:
      "list"
      "summary"
      "form";
  }
  .spec-grid,
  .feat {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .gallery .main {
    height: 260px;
  }
  .d-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 520px) {
  .cart-item {
    grid-template-columns: 70px 1fr;
  }
  .cart-item .ci-right {
    grid-column: 1 / -1;
    align-items: flex-start;
  }
  .cta-band {
    padding: 50px 20px;
  }
  .cta-band h2 {
    font-size: 1.6rem;
  }
  /* tlacitka v hero uz jsou pod sebou - at maji stejnou sirku */
  .cta-row {
    display: grid;
    gap: 12px;
  }
  .cta-row .btn,
  .cta-row .btn-ghost {
    text-align: center;
  }
}

/* poznámka pod formulářem */
.form-note {
  font-size: 0.84rem;
  color: var(--mut);
  text-align: center;
  margin-top: 14px;
}

/* ==================================================================
   PŘÍSTUPNOST A STAVY (hover / focus)
   ================================================================== */

/* viditelný focus pro klávesnici – na světlém i tmavém pozadí */
:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 3px;
  border-radius: 2px;
}
header.hero :focus-visible,
.sec-dark :focus-visible,
footer :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--white);
}

/* přeskočení navigace */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

/* --- navigace --- */
.nav-links a,
#mobile-menu a,
.logo {
  transition: color 0.18s ease;
}
.logo:hover {
  opacity: 0.75;
}
#menu-toggle:hover {
  color: var(--green);
}

/* --- tlačítka --- */
.btn-ghost {
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-ghost:hover {
  background: var(--white-1);
  border-color: var(--white);
}
/* žlutá řada – hover vždy tmavší žlutá, popisek zůstává tmavý */
.nav-links .btn:hover,
header.hero .btn:hover,
.model .btn:hover,
form.inquiry .btn:hover,
.btn-acc:hover {
  background: var(--yellow-2);
  color: var(--dark);
}
.model .btn2,
.crumb,
.qty button,
.cart-item .rm,
.person a,
footer a {
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

/* stisk - lehke zamacknuti, at je akce citit i na dotyku */
.btn:active,
.btn2:active,
.btn-ghost:active,
.btn-line:active,
.gal-toggle:active,
.qty button:active,
.crumb:active {
  transform: translateY(1px);
}

/* --- karty sekaček --- */
.model h3 a {
  transition: color 0.18s ease;
}
.model h3 a:hover,
.model:hover h3 a {
  color: var(--green);
}

/* --- poptávka --- */
.qty button:hover {
  background: var(--line);
}

/* --- odkazy v patičce a kontaktech --- */
footer a:hover,
.person a:hover {
  text-decoration: underline;
}

/* --- formulář --- */
input[type="checkbox"] {
  width: auto;
  padding: 0;
  border-width: 1px;
  border-radius: 3px;
  accent-color: var(--green);
  flex: none;
  margin-top: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: var(--mut);
}
select {
  cursor: pointer;
  background: var(--white);
}

/* --- podnadpisy na detailu sekačky (nesmí mít velikost sekčního nadpisu) --- */
.d-block h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 4px;
}

/* --- omezení animací dle nastavení systému --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .model:hover {
    transform: none;
  }
}

/* ==================================================================
   FOTKY SEKAČEK (náhledy v kartách + hlavní foto na detailu)
   ================================================================== */
.model-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.model-photo picture,
.main-photo picture,
.ci-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.model-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--line);
}
.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============ POPTÁVKA – ceny s DPH i bez DPH ============ */
.ci-photo {
  display: block;
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.18s ease;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
}
.ci-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ci-photo:hover {
  box-shadow: inset 0 0 0 2px var(--dark);
}
.cart-item .ci-price-vat {
  font-size: 0.84rem;
  color: var(--mut);
}
.cart-item .ci-sum {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
  text-align: right;
  line-height: 1.2;
}
.cart-item .ci-sum small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.summary .tot span:last-child {
  color: var(--green);
}
.summary-note {
  color: var(--mut);
  font-size: 0.84rem;
  margin-top: 14px;
}

@media (max-width: 840px) {
  .map,
  .map iframe {
    min-height: 300px;
  }
}

/* ==================================================================
   GALERIE + LIGHTBOX
   ================================================================== */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.gal-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: var(--line);
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-item:hover {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}
.gal-item.is-hidden {
  display: none;
}
.gal-grid.je-rozbaleno .gal-item.is-hidden {
  display: block;
}
.gal-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.gal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 30px;
  border: 2px solid var(--dark);
  border-radius: 5px;
  background: transparent;
  color: var(--dark);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.gal-toggle:hover {
  border-color: var(--green);
  color: var(--green);
}
.gal-toggle-ico {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}
.gal-toggle[aria-expanded="true"] .gal-toggle-ico {
  transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
  .gal-toggle-ico {
    transition: none;
  }
}

/* ==================================================================
   GALERIE – SCÉNA („kino“, filmový pás, před / po, fotky zblízka)
   ================================================================== */
.sec-kino {
  background: var(--white);
}
.sec-kino .kino-lower p {
  color: var(--mut);
}

/* --- kino: jedno velké video --- */
.kino {
  margin-top: 34px;
}
.kino-stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.kino-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.kino-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0;
  background: var(--yellow);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: background 0.18s ease;
}
.kino-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-left: 26px solid var(--dark);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}
.kino-play:hover {
  background: var(--yellow-2);
}
.kino-stage.hraje .kino-play {
  display: none;
}
.kino-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--white-2);
  background: var(--veil);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.kino-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kino-nav:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
}
.kino-prev {
  left: 16px;
}
.kino-next {
  right: 16px;
}
/* při přehrávání šipky uhnou z cesty nativním ovládacím prvkům */
.kino-stage.hraje .kino-nav {
  top: 16px;
  transform: none;
}
.kino-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 4px 0;
}
.kino-cap b {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.15;
}
.kino-cap span {
  flex: none;
  color: var(--mut);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --- filmový pás pod videem --- */
.kino-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.kino-th {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.kino-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kino-th:hover {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}
.kino-th.is-on {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}
.kino-dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

/* --- spodní část: před / po + stroj zblízka --- */
.kino-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 64px;
  align-items: start;
}
.kino-lower h3 {
  font-size: 1.7rem;
  font-weight: 800;
}
.kino-lower p {
  margin-top: 8px;
  max-width: 48ch;
}
.predpo {
  position: relative;
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
}
.predpo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.predpo-po {
  clip-path: inset(0 0 0 var(--cut, 50%));
}
.predpo-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut, 50%);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.predpo-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2419' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M9 7l-4 5 4 5M15 7l4 5-4 5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}
.predpo-lb {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.predpo-pred {
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
}
.predpo-poo {
  right: 12px;
  background: var(--yellow);
  color: var(--dark);
}
.predpo input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.predpo:has(input:focus-visible) {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.kino-fotky {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.kino-fotky .gal-item {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.gal-dalsi-txt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--veil);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  transition: background 0.18s ease;
}
.gal-dalsi-txt small {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  margin-top: 4px;
}
.gal-dalsi:hover .gal-dalsi-txt {
  background: var(--veil-strong);
}
.sec-kino .gal-more {
  justify-content: flex-start;
  margin-top: 18px;
}

/* --- celá galerie (rozbalí se pod spodní částí) --- */
.gal-all {
  grid-column: 1 / -1;
  display: none;
  margin-top: 8px;
}
.gal-all.je-rozbaleno {
  display: grid;
}
@media (max-width: 840px) {
  .kino-stage {
    aspect-ratio: 16 / 10;
  }
  .kino-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .kino-cap b {
    font-size: 1.2rem;
  }
  .kino-lower {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 48px;
  }
  .kino-nav {
    width: 40px;
    height: 40px;
  }
  .kino-play {
    width: 68px;
    height: 68px;
  }
  .kino-play::before {
    border-left-width: 20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }
}

/* miniatury v detailu sekačky */
.gallery .thumbs .gal-item {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
}
.thumb-more::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  background: var(--veil);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- lightbox --- */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--veil-strong);
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.open {
  display: flex;
}
#lb-stage {
  max-width: 94vw;
  max-height: 84dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img[hidden],
#lb-video[hidden] {
  display: none !important;
}
#lb-img,
#lb-video {
  max-width: 94vw;
  max-height: 84dvh;
  object-fit: contain;
  border-radius: 5px;
  display: block;
}
#lb-img {
  cursor: zoom-in;
  background: var(--dark);
}
#lb-img.zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}
#lb-video {
  background: var(--dark);
  width: min(94vw, 1280px);
}
.lb-btn {
  position: fixed;
  background: var(--white-1);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 201;
  transition: background 0.18s ease, color 0.18s ease;
}
.lb-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-btn:hover {
  background: var(--white);
  color: var(--dark);
}
#lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
#lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
#lb-close {
  top: 18px;
  right: 18px;
}
#lb-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.82rem;
  background: var(--veil);
  padding: 4px 14px;
  border-radius: 20px;
  z-index: 201;
}
#lb-caption {
  position: fixed;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--on-dark);
  font-size: 0.9rem;
  text-align: center;
  max-width: 88vw;
  z-index: 201;
}
@media (max-width: 640px) {
  #lb-stage,
  #lb-img,
  #lb-video {
    max-height: 62dvh;
  }
  .lb-btn {
    width: 44px;
    height: 44px;
  }
  #lb-prev {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 20px;
    transform: translateX(-56px);
  }
  #lb-next {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(12px);
  }
  #lb-close {
    top: 12px;
    right: 12px;
  }
  #lb-counter {
    bottom: 82px;
  }
  #lb-caption {
    bottom: 110px;
    font-size: 0.84rem;
    max-width: 84vw;
  }
  .gal-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
}

/* --- poptávkový formulář: past na roboty a chybová hláška --- */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid var(--green);
  border-left-width: 4px;
  border-radius: 3px;
  background: var(--line);
  color: var(--dark);
  font-size: 0.94rem;
}
.form-error[hidden] {
  display: none;
}
.inquiry button[type="submit"][disabled] {
  opacity: 0.65;
  cursor: default;
}

/* --- právní stránka (zásady ochrany osobních údajů) --- */
/* užší, vycentrovaný sloupec pro textové stránky (zásady OOÚ) */
.wrap-uzky {
  max-width: 760px;
}
.legal {
  margin-top: 34px;
}
.legal h2 {
  font-size: 1.35rem;
  margin: 34px 0 10px;
  color: var(--dark);
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p {
  color: var(--mut);
  margin-bottom: 12px;
}
.legal p b {
  color: var(--dark);
}
.legal a {
  color: var(--green);
  font-weight: 600;
}
.legal .feat {
  margin-bottom: 14px;
}

/* --- cookie lišta --- */
#cookie-lista {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--dark);
  color: var(--white);
  border-top: 3px solid var(--yellow);
  transform: translateY(110%);
  transition: transform 0.32s ease;
}
#cookie-lista.je-videt {
  transform: translateY(0);
}
#cookie-lista .ck-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}
#cookie-lista h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}
#cookie-lista p {
  color: var(--on-dark);
  font-size: 0.94rem;
  max-width: 70ch;
}
#cookie-lista a {
  color: var(--white);
  text-decoration: underline;
}
#cookie-lista .ck-btns {
  display: flex;
  gap: 12px;
  flex: none;
}
#cookie-lista .btn2 {
  background: transparent;
  border: 2px solid var(--white-2);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
#cookie-lista .btn2:hover {
  border-color: var(--white);
  background: var(--white-1);
}
#cookie-lista .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 26px;
}
@media (max-width: 780px) {
  #cookie-lista .ck-in {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 18px 20px;
  }
  #cookie-lista .ck-btns {
    flex-direction: row;
  }
  #cookie-lista .ck-btns button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #cookie-lista {
    transition: none;
  }
}
