/*
 * Vzhled podle grafické příručky JOSEF SEIBEL (Basic guideline 2021) a josef-seibel.de.
 * Načítá se po style.css a gdpr.css, přepisuje jen vzhled (žádné změny chování).
 *
 * Příručka: písmo Sofia Pro – nadpisy Semi Bold (malá písmena s velkým počátečním, tečka na konci),
 * běžný text Light; barvy černá a bílá, šedé podklady #F0F0F0 / #F6F6F6 / #FAFAFA.
 * Prefix tříd „zn-“ = značka (nové prvky hlavičky, patičky a úvodní stránky).
 */

/* ── Písmo Sofia Pro (webová verze Sofia W03 – střední Evropa, licence ověřuje zákazník) ── */
@font-face {
  font-family: 'SofiaPro';
  src: url('/fonts/sofia-pro/SofiaPro-Light.woff2') format('woff2'),
       url('/fonts/sofia-pro/SofiaPro-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SofiaPro';
  src: url('/fonts/sofia-pro/SofiaPro-Regular.woff2') format('woff2'),
       url('/fonts/sofia-pro/SofiaPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SofiaPro';
  src: url('/fonts/sofia-pro/SofiaPro-SemiBold.woff2') format('woff2'),
       url('/fonts/sofia-pro/SofiaPro-SemiBold.woff') format('woff');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ── Barvy a rozměry ── */
:root {
  --zn-pismo: 'SofiaPro', 'Helvetica Neue', Arial, sans-serif;
  --zn-cerna: #000;
  --zn-text: #212529;     /* text na josef-seibel.de */
  --zn-bila: #fff;
  --zn-seda-1: #f0f0f0;   /* podklad více produktů vedle sebe */
  --zn-seda-2: #f6f6f6;
  --zn-seda-3: #fafafa;
  --zn-linka: #c4c4c4;
  --zn-tlumena: #6b6b6b;  /* doplňkový text (kontrast 5,3 : 1 na bílé) */
  --zn-zlata: #be9f56;    /* jen z loga – „140 years shoes.“ */
  --zn-akce: #FF3131;     /* sleva / akce (cena, štítek) */
  --zn-ok: #2e7d32;       /* skladem, potvrzení */
  --zn-sirka: 1440px;
  --zn-okraj: 24px;
  --zn-vyska-hlavicky: 64px;
  --zn-proklad: -0.025em; /* příručka: proklad −25 (standard) */
}
@media (max-width: 767px) {
  :root { --zn-okraj: 16px; --zn-vyska-hlavicky: 56px; }
}

/* ── Základ ── */
html, body {
  font-family: var(--zn-pismo);
}
body {
  color: var(--zn-text);
  background-color: var(--zn-bila);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body, button, input, optgroup, select, textarea, .btn, .tooltip, .popover {
  font-family: var(--zn-pismo);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--zn-pismo);
  font-weight: 600;
  letter-spacing: var(--zn-proklad);
  color: var(--zn-text);
  text-transform: none;
}
b, strong { font-weight: 600; }
/* div se vzhledem nadpisu (stránka smí mít jen jedno h1); :where = specifičnost 0, třídy prvku dál vyhrávají */
:where(.zn-nadpis-jako-h1) { font-family: var(--zn-pismo); line-height: 1.2; letter-spacing: var(--zn-proklad); text-transform: none; }
a { color: var(--zn-cerna); }
a:hover, a:focus { color: var(--zn-cerna); }
::selection { background: var(--zn-cerna); color: var(--zn-bila); }
:focus-visible { outline: 2px solid var(--zn-cerna); outline-offset: 2px; }

/* ── Tlačítka: černá plná a obrysová, hranaté ── */
.btn {
  border-radius: 0;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}
.btn-primary, .btn-primary:not(:disabled):not(.disabled),
.btn-success, .btn-info, .theme-btn {
  background-color: var(--zn-cerna);
  border-color: var(--zn-cerna);
  color: var(--zn-bila) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-success:hover, .btn-success:focus, .btn-info:hover, .btn-info:focus,
.theme-btn:hover, .theme-btn:focus {
  background-color: #333;
  border-color: #333;
  color: var(--zn-bila) !important;
  box-shadow: none;
}
.btn-default, .btn-secondary, .btn-outline, .btn-light {
  background-color: var(--zn-bila);
  border: 1px solid var(--zn-cerna);
  color: var(--zn-cerna);
}
.btn-default:hover, .btn-secondary:hover, .btn-outline:hover, .btn-light:hover {
  background-color: var(--zn-cerna);
  color: var(--zn-bila);
}

/* ── Formulářová pole ── */
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel],
input[type=number], select, textarea, .form-control {
  border-radius: 0;
  border-color: var(--zn-linka);
  font-weight: 400;
  color: var(--zn-text);
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: var(--zn-cerna);
  box-shadow: none;
}

/* ═════════════════════ Hlavička ═════════════════════ */
.zn-hlavicka {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--zn-bila);
  border-bottom: 1px solid var(--zn-seda-1);
  padding: 0;
}
/* josef-seibel.de při 1440 px: výška 64 (63 + linka), okraje 40, logo 201 × 46, menu od x = 267 */
.zn-hlavicka__radek {
  display: flex;
  align-items: center;
  gap: 0;
  height: 63px;
  padding: 0 40px;
}
.zn-hlavicka__logo {
  flex: 0 0 auto;
  display: block;
  margin-right: 26px;
  line-height: 0;
}
.zn-hlavicka__logo img {
  width: 201px;
  height: 46px;
  margin: 0;
}

/* hlavní menu */
.zn-nav { flex: 1 1 auto; height: 100%; }
.zn-nav__seznam {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}
.zn-nav__polozka { position: static; height: 100%; display: flex; align-items: center; padding: 0; margin: 0; }
.zn-nav__podkategorie li, .zn-menu-mobil li { padding: 0; margin: 0; }
/* .de: 26 px / 500, řádkování 42, odsazení 0 16 px */
.zn-nav__odkaz {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 26px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0;
  color: var(--zn-cerna);
  text-decoration: none;
  position: relative;
}
.zn-nav__odkaz::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  background: var(--zn-cerna);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.zn-nav__polozka:hover .zn-nav__odkaz::after,
.zn-nav__polozka:focus-within .zn-nav__odkaz::after,
.zn-nav__odkaz[aria-current]::after { transform: scaleX(1); }
.zn-nav__odkaz:hover, .zn-nav__odkaz:focus { color: var(--zn-cerna); text-decoration: none; }

/* rozbalovací panel přes celou šířku */
.zn-nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--zn-bila);
  border-top: 1px solid var(--zn-seda-1);
  box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .18);
  visibility: hidden;
  opacity: 0;
  transition: opacity .15s ease, visibility 0s linear .15s;
}
.zn-nav__polozka:hover > .zn-nav__panel,
.zn-nav__polozka:focus-within > .zn-nav__panel {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.zn-nav__panel-vnitrek {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 32px;
  max-width: var(--zn-sirka);
  margin: 0 auto;
  padding: 32px 40px 40px 267px;
}
.zn-nav__podkategorie {
  columns: 3 200px;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zn-nav__podkategorie li { break-inside: avoid; }
.zn-nav__podkategorie a {
  display: inline-block;
  padding: 7px 0;
  font-size: 17px;
  font-weight: 300;
  color: var(--zn-text);
  text-decoration: none;
}
.zn-nav__podkategorie a:hover, .zn-nav__podkategorie a:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.zn-nav__podkategorie .zn-nav__vse a { font-weight: 500; }
.zn-nav__dlazdice {
  display: block;
  background: var(--zn-seda-2);
  text-decoration: none;
  color: var(--zn-text);
}
.zn-nav__dlazdice img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.zn-nav__dlazdice span {
  display: block;
  padding: 10px 14px 14px;
  font-weight: 500;
}

/* ikony vpravo */
.zn-hlavicka__ikony {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
/* .de: ikony 48 × 63 */
.zn-ikona {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 63px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--zn-cerna);
  cursor: pointer;
  text-decoration: none;
}
.zn-ikona svg { width: 26px; height: 26px; }
.zn-ikona svg [stroke] { stroke-width: 2.2; }
.zn-ikona:hover, .zn-ikona:focus { color: var(--zn-cerna); text-decoration: none; }
.zn-ikona__pocet {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--zn-cerna);
  color: var(--zn-bila);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.zn-ikona__pocet:empty { display: none; }

/* přihlášení – rozbalení po najetí */
.zn-ucet { position: relative; height: 100%; display: flex; align-items: center; }
.zn-ucet__panel {
  position: absolute;
  right: -8px;
  top: 100%;
  width: 320px;
  padding: 24px;
  background: var(--zn-bila);
  border: 1px solid var(--zn-seda-1);
  box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .18);
  visibility: hidden;
  opacity: 0;
  transition: opacity .15s ease, visibility 0s linear .15s;
  z-index: 5;
}
.zn-ucet:hover .zn-ucet__panel,
.zn-ucet:focus-within .zn-ucet__panel { visibility: visible; opacity: 1; transition-delay: 0s; }
/* Nadpisy panelu jsou div (ne h2/h3) – panel je na každé stránce a nemá být v osnově nadpisů pro SEO */
.zn-ucet__nadpis,
.zn-ucet__podnadpis { font-family: var(--zn-pismo); font-weight: 600; letter-spacing: var(--zn-proklad); color: var(--zn-text); line-height: 1.2; }
.zn-ucet__nadpis { font-size: 22px; margin: 0 0 16px; text-align: center; }
.zn-ucet__podnadpis { font-size: 17px; margin: 20px 0 10px; }
.zn-ucet__panel label { display: block; margin: 10px 0 4px; font-size: 14px; font-weight: 400; }
.zn-ucet__panel input[type=email],
.zn-ucet__panel input[type=password] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--zn-linka); }
.zn-ucet__panel .btn { width: 100%; height: 46px; margin-top: 16px; font-size: 16px; }
.zn-ucet__panel .zn-ucet__zapomenute { display: inline-block; margin-top: 10px; font-size: 14px; text-decoration: underline; }
.zn-ucet__panel .btn + .btn { margin-top: 8px; }

/* vyhledávání – vysune se pod hlavičkou */
.zn-hledani {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--zn-bila);
  border-top: 1px solid var(--zn-seda-1);
  box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .18);
  display: none;
}
.zn-hledani.otevreno { display: block; }
.zn-hledani form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px var(--zn-okraj);
}
.zn-hledani input[type=search] {
  flex: 1 1 auto;
  height: 52px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--zn-cerna);
  font-size: 22px;
  font-weight: 300;
  background: transparent;
}
.zn-hledani input[type=search]:focus { outline: none; border-bottom-width: 2px; }
.zn-hledani .btn { height: 52px; padding: 0 28px; font-size: 16px; }

/* proužek se zprávou (správce → krátká zpráva) */
/* .de: výška 48, text 14 px */
.zn-zprava {
  background: var(--zn-akce);
  color: var(--zn-bila);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 14px var(--zn-okraj) 14px;
  line-height: 19.6px;
}
.zn-zprava a { color: var(--zn-bila); text-decoration: underline; margin-left: 8px; }

/* hamburger (třída mobile-menu__icon kvůli stávajícímu přepínání v index.php) */
.zn-hlavicka .mobile-menu__icon {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 0 0 -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  float: none;
  top: auto;
  left: auto;
}
.zn-hlavicka .mobile-menu__icon span {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 2px;
  background: var(--zn-cerna);
  border-radius: 0;
  transition: .2s ease;
  opacity: 1;
  transform: none;
}
.zn-hlavicka .mobile-menu__icon span:nth-child(1) { top: 13px; }
.zn-hlavicka .mobile-menu__icon span:nth-child(2),
.zn-hlavicka .mobile-menu__icon span:nth-child(3) { top: 20px; }
.zn-hlavicka .mobile-menu__icon span:nth-child(4) { top: 27px; }
.zn-hlavicka .mobile-menu__icon.open span:nth-child(1),
.zn-hlavicka .mobile-menu__icon.open span:nth-child(4) { top: 20px; width: 0; left: 21px; }
.zn-hlavicka .mobile-menu__icon.open span:nth-child(2) { transform: rotate(45deg); }
.zn-hlavicka .mobile-menu__icon.open span:nth-child(3) { transform: rotate(-45deg); }

/* mobilní menu (třída mobile-menu__content – přepíná stávající skript) */
.zn-menu-mobil {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--zn-vyska-hlavicky);
  bottom: 0;
  z-index: 1029;
  overflow-y: auto;
  background: var(--zn-bila);
  padding: 8px var(--zn-okraj) 40px;
}
.zn-menu-mobil.open { display: block; }
.zn-menu-mobil ul { list-style: none; margin: 0; padding: 0; }
.zn-menu-mobil > ul > li { border-bottom: 1px solid var(--zn-seda-1); }
.zn-menu-mobil a, .zn-menu-mobil__rozbal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--zn-proklad);
  color: var(--zn-cerna);
  text-align: left;
  text-decoration: none;
}
.zn-menu-mobil__rozbal svg { width: 16px; height: 16px; transition: transform .2s ease; }
.zn-menu-mobil__rozbal[aria-expanded=true] svg { transform: rotate(180deg); }
.zn-menu-mobil ul ul { padding: 0 0 12px 0; }
.zn-menu-mobil ul ul a { padding: 9px 0; font-size: 17px; font-weight: 300; }
.zn-menu-mobil__ucet { margin-top: 24px; display: grid; gap: 8px; }
.zn-menu-mobil__ucet .btn { height: 48px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.zn-menu-mobil .zn-menu-mobil__ucet a.btn-primary { color: var(--zn-bila); }

@media (max-width: 991px) {
  .zn-nav { display: none; }
  .zn-hlavicka .mobile-menu__icon { display: inline-block; }
  .zn-hlavicka__radek { gap: 0; height: calc(var(--zn-vyska-hlavicky) - 1px); padding: 0 var(--zn-okraj); }
  .zn-hlavicka__logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .zn-hlavicka__logo img { width: 140px; height: 40px; }
  .zn-ikona { width: 42px; height: 48px; }
  .zn-ucet__panel { display: none; }
  .zn-hledani form { padding: 16px var(--zn-okraj); }
  .zn-hledani .btn { padding: 0 16px; }
  .zn-hledani input[type=search] { font-size: 18px; }
}
@media (max-width: 400px) {
  .zn-hlavicka__logo img { width: 118px; }
  .zn-ikona { width: 38px; }
  .zn-hlavicka__ikony { gap: 0; }
}
body.zn-menu-otevreno { overflow: hidden; }

/* Hlášky (vložení do košíku apod.) v barvách značky */
.flash-message--positive { background-color: var(--zn-cerna); }
.flash-message--negative { background-color: var(--zn-akce); }

/* ═════════════════════ Patička (rozměry z josef-seibel.de při 1440 px) ═════════════════════ */
/* běžící slogan 150 px / 400, verzálky */
.zn-slogan {
  overflow: hidden;
  padding: 72px 0 0;
  background: var(--zn-bila);
}
.zn-slogan__pas {
  display: flex;
  width: max-content;
  animation: zn-pas 60s linear infinite;
}
.zn-slogan__pas span {
  padding-right: .35em;
  font-size: 150px;
  font-weight: 400;
  line-height: 150px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--zn-cerna);
}
@keyframes zn-pas { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .zn-slogan__pas { animation: none; } }

/* „JOSEF SEIBEL Online shop.“ 104 / 500, řádek newsletteru v kontejneru 1200 */
.zn-newsletter { padding: 61px 0 0; }
.zn-newsletter__nadpis {
  margin: 8px 0;
  font-size: 104px;
  font-weight: 500;
  line-height: 104px;
  letter-spacing: 0;
  text-align: center;
  color: var(--zn-cerna);
}
.zn-newsletter__radek {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 0 46px;
}
.zn-newsletter__text {
  margin: 0;
  padding: 0 24px 0 16px;
  font-size: 34px;
  font-weight: 500;
  line-height: 37.4px;
  letter-spacing: 0;
  color: var(--zn-text);
}
.zn-newsletter form { padding: 0 40px 0 25px; }
.zn-newsletter__pole {
  display: flex;
  height: 58px;
  border: 1px solid var(--zn-cerna);
}
.zn-newsletter__pole input[type=email] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 13.6px 16px;
  font-size: 24px;
  font-weight: 400;
  color: #495057;
  background: var(--zn-bila) !important;
  box-shadow: none;
}
.zn-newsletter__pole input[type=email] { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.zn-newsletter__pole input[type=email]:focus { outline: none; }
.zn-newsletter__pole button {
  flex: 0 0 77px;
  border: 0;
  background: none;
  font-size: 31px;
  font-weight: 600;
  line-height: 31px;
  color: var(--zn-text);
  cursor: pointer;
}
.zn-newsletter__pole button:hover { background: var(--zn-cerna); color: var(--zn-bila); }
.zn-newsletter__pole:focus-within { outline: 2px solid var(--zn-cerna); outline-offset: 2px; }

/* černá patička: okraje 40, 4 sloupce po 304 s mezerou 48, nadpisy 34/500, odkazy 16/400 po 32 px */
.zn-paticka {
  background: var(--zn-cerna);
  color: var(--zn-bila);
  font-weight: 400;
}
.zn-paticka a { color: var(--zn-bila); text-decoration: none; }
.zn-paticka a:hover, .zn-paticka a:focus { color: var(--zn-bila); text-decoration: underline; text-underline-offset: 3px; }
.zn-paticka__mrizka {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding: 46px 40px 0;
}
.zn-paticka__claim {
  margin: 0;
  font-size: 97px;
  font-weight: 600;
  line-height: 87px;
  letter-spacing: -0.02em;
  color: var(--zn-bila);
}
.zn-paticka__vita { margin: 24px 0 0; max-width: 296px; font-size: 16px; line-height: 21.6px; color: var(--zn-bila); }
.zn-paticka h2 {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0;
  color: var(--zn-bila);
  text-align: left;
}
.zn-paticka span { color: var(--zn-bila); }
.zn-paticka ul { list-style: none; margin: 0; padding: 0; }
.zn-paticka li { margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 400; line-height: 24px; }
.zn-paticka li::before { content: none; }
.zn-paticka__kontakt li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.zn-paticka__kontakt svg { flex: 0 0 24px; width: 24px; height: 24px; }
.zn-paticka__site { display: flex; gap: 20px; margin-top: 16px; }
.zn-paticka__site svg { width: 28px; height: 28px; }
.zn-paticka__heureka { margin-top: 24px; }
.zn-paticka__heureka a.heureka { height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.zn-paticka__heureka img { max-width: 140px; height: auto; border-radius: 0; }
.zn-paticka__heureka #showHeurekaBadgeHere-11 { max-width: 304px; }
.zn-paticka__spodek-vnitrek {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 40px 30px;
  font-size: 16px;
  line-height: 21.6px;
  color: var(--zn-bila);
}
.zn-paticka__spodek { margin: 48px 16px 0; border-top: 1px solid rgba(255, 255, 255, .45); }
.zn-paticka__spodek-vnitrek { padding-left: 24px; padding-right: 24px; }
.zn-paticka__spodek a { color: var(--zn-bila); }
.zn-paticka__pravni { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* mobil: sloupce jako rozbalovací (details/summary – bez JS) */
.zn-paticka details > summary { list-style: none; cursor: default; }
.zn-paticka details > summary::-webkit-details-marker { display: none; }
.zn-paticka details > summary svg { display: none; }
@media (min-width: 768px) {
  .zn-paticka details > summary { pointer-events: none; }
}
@media (max-width: 1199px) {
  .zn-slogan__pas span { font-size: 110px; line-height: 110px; }
  .zn-newsletter__nadpis { font-size: 72px; line-height: 76px; }
  .zn-paticka__mrizka { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .zn-slogan { padding-top: 48px; }
  .zn-slogan__pas span { font-size: 64px; line-height: 64px; }
  .zn-newsletter { padding-top: 32px; }
  .zn-newsletter__nadpis { padding: 0 var(--zn-okraj); font-size: 40px; line-height: 44px; text-align: left; }
  .zn-newsletter__radek { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; padding: 0 var(--zn-okraj) 40px; }
  .zn-newsletter__text { padding: 0; font-size: 24px; line-height: 28px; }
  .zn-newsletter form { padding: 0; }
  .zn-newsletter__pole input[type=email] { font-size: 18px; }
  .zn-paticka__mrizka { grid-template-columns: 1fr; gap: 0; padding: 40px var(--zn-okraj) 0; }
  .zn-paticka__claim { font-size: 72px; line-height: 66px; }
  .zn-paticka__znacka { margin-bottom: 32px; }
  .zn-paticka details { border-top: 1px solid #333; }
  .zn-paticka details:last-of-type { border-bottom: 1px solid #333; }
  .zn-paticka details > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .zn-paticka details > summary h2 { margin: 0; padding: 14px 0; font-size: 24px; line-height: 30px; }
  .zn-paticka details > summary svg { display: block; width: 16px; height: 16px; transition: transform .2s ease; }
  .zn-paticka details[open] > summary svg { transform: rotate(180deg); }
  .zn-paticka details > ul, .zn-paticka details > div { padding-bottom: 16px; }
  .zn-paticka__kontakt-blok { margin-top: 32px; }
  .zn-paticka__kontakt-blok h2 { font-size: 24px; }
  .zn-paticka__spodek-vnitrek { padding: 24px var(--zn-okraj) 30px; font-size: 14px; }
}

/* tlačítko nahoru */
#scroll-top.scroll-up { background-color: var(--zn-cerna); border-radius: 0; left: auto; right: 40px; margin-left: 0; }
/* košík a pokladna nemají newsletter → odskok obsahu od patičky */
#scroll-top + .zn-paticka { margin-top: 80px; }
@media (max-width: 767px) { #scroll-top + .zn-paticka { margin-top: 48px; } }

/* ═════════════════════ Lišta cookies (vzhled) ═════════════════════ */
#cookie_consent_popup { font-family: var(--zn-pismo); }
#cookie_consent_popup .btn-primary { background: var(--zn-bila); color: var(--zn-cerna) !important; border: 1px solid var(--zn-cerna); }
#cookie_consent_popup .btn-primary.gdpr_souhlas { background: var(--zn-cerna); color: var(--zn-bila) !important; }
#cookie_consent_popup .btn-primary:hover { background: var(--zn-cerna); color: var(--zn-bila) !important; }

/* ═════════════════════ Společné prvky obsahu ═════════════════════ */
.zn-skryty {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* velikosti nadpisů naměřené na josef-seibel.de (1440 px): h3 sekce 48/500, h4 sekce 34/500, podnadpis 24/400 */
.zn-nadpis-48, .zn-nadpis-34 {
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  color: var(--zn-text);
}
.zn-nadpis-48 { font-size: 48px; line-height: 1.1; }
.zn-nadpis-34 { font-size: 34px; line-height: 1.1; }
.zn-podnadpis-24 { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.35; text-align: center; }
@media (max-width: 991px) {
  .zn-nadpis-48 { font-size: 36px; }
  .zn-nadpis-34 { font-size: 28px; }
  .zn-podnadpis-24 { font-size: 20px; }
}
@media (max-width: 575px) {
  .zn-nadpis-48 { font-size: 30px; }
  .zn-nadpis-34 { font-size: 24px; }
  .zn-podnadpis-24 { font-size: 18px; padding: 0 var(--zn-okraj); }
}
.zn-stitek {
  display: inline-block;
  padding: 5px 9px 4px;
  background: var(--zn-cerna);
  color: var(--zn-bila);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}
.zn-stitek--sleva { background: var(--zn-akce); }

/* karusel (vodorovný pás s přichycením, šipky přes okraj) */
.zn-karusel-obal { position: relative; }
.zn-karusel {
  display: grid;
  grid-auto-flow: column;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.zn-karusel::-webkit-scrollbar { display: none; }
.zn-karusel > * { scroll-snap-align: start; min-width: 0; }
.zn-karusel:focus-visible { outline: 2px solid var(--zn-cerna); outline-offset: 4px; }
.zn-karusel__sipka {
  position: absolute;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: #3c4650;
  cursor: pointer;
}
.zn-karusel__sipka[hidden] { display: none; }
.zn-karusel__sipka svg { width: 30px; height: 30px; }
.zn-karusel__sipka--kruh { border-radius: 50%; background: rgba(204, 204, 204, .6); color: rgba(16, 16, 16, .45); }
.zn-karusel__sipka--kruh svg { width: 16px; height: 16px; }
.zn-karusel__sipka--kruh:hover { background: #ccc; color: #101010; }
.zn-karusel__tecky { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.zn-karusel__tecky[hidden] { display: none; }
.zn-karusel__tecky span { width: 10px; height: 10px; border-radius: 50%; background: #c4c4c4; }
.zn-karusel__tecky span.aktivni { background: #7f8a8a; }

/* ═════════════════════ Dlaždice produktu (zbozi_inc.php – kategorie i úvod) ═════════════════════ */
/* .de: obrázek 326 × 391 (5 : 6) na vodorovném šedém přechodu, ikona řady vpravo dole 40 px,
   název 24/600, cena 24/300 */
.category__product {
  margin: 0 8px;
  padding: 0 0 16px;
  border-bottom: 0;
  text-align: left;
  font-size: 16px;
  color: var(--zn-text);
}
.category__product:before { display: none; }
.category__product:hover, .category__product:focus { text-decoration: none; color: var(--zn-text); }
/* bez rámečku po kliknutí / návratu zpět; z klávesnice místo rámečku podtržený název */
.category__product:focus, .category__product:focus-visible { outline: none; }
.category__product:focus-visible .category__product__name { text-decoration: underline; text-underline-offset: 4px; }
.category__product__thumb {
  position: relative;
  aspect-ratio: 5 / 6;
  margin: 0;
  background: linear-gradient(90deg, #f0f0f0 0%, #fafafa 100%);
  overflow: hidden;
}
.category__product__thumb img,
img.category__product__thumb__on-hover {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  padding: 10.7% 10.7% 10.7%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: none;
}
.category__product__thumb img:not(.category__product__thumb__on-hover) { transition: opacity .2s ease; }
.category__product:hover .category__product__thumb img:not(.category__product__thumb__on-hover):not(:only-child) { opacity: 0; }
/* štítky (novinka, sleva) vlevo nahoře, ikony vlastností vpravo dole */
.category__product { position: relative; }
/* štítky leží v <a> před obrázkem → stejný rozměr jako obrázek (5 : 6), aby ikony byly v jeho rohu */
.category__product__properties {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  aspect-ratio: 5 / 6;
  padding: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.category__product__property {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  margin: 0;
  object-fit: contain;
  filter: grayscale(1);
}
.category__product__property ~ .category__product__property { right: 62px; }
.category__product__property ~ .category__product__property ~ .category__product__property { right: 108px; }
.category__product__name {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
  color: var(--zn-cerna);
}
.category__product__name br { display: none; }
.category__product__price {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  padding: 0;
  margin: 0;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.1;
  color: var(--zn-text);
}
.category__product__price--old { width: auto; text-align: left; color: var(--zn-tlumena); font-weight: 300; }
.category__product__price--special { width: auto; text-align: left; color: var(--zn-akce); font-weight: 400; }
.category__product__sizes { font-size: 14px; margin-top: 8px; color: var(--zn-text); }
.category__product__size--unavailable { color: var(--zn-linka); }
.category__product__stock { font-size: 14px; font-weight: 400; color: var(--zn-tlumena); }
@media (max-width: 991px) {
  .category__product__name { font-size: 18px; line-height: 24px; margin-top: 12px; }
  .category__product__price { font-size: 18px; }
  .category__product__property { width: 30px; height: 30px; }
  .category__product__properties { inset: 10px; }
}

/* ═════════════════════ Úvodní stránka (rozměry z josef-seibel.de při 1440 px) ═════════════════════ */

/* hlavní banner: přes celou šířku 1440 × 645, text a tlačítka uprostřed spodní poloviny */
.zn-hlavni { position: relative; overflow: hidden; background: var(--zn-seda-1); }
.zn-hlavni__obr { display: block; }
.zn-hlavni__obr img { display: block; width: 100%; aspect-ratio: 1440 / 645; object-fit: cover; }
.zn-hlavni__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 71.5%;
  transform: translateY(-50%);
  text-align: center;
  color: var(--zn-bila);
  pointer-events: none;
}
.zn-hlavni__nadpis, .zn-hlavni__podnadpis { color: var(--zn-bila); text-shadow: 0 0 30px rgba(0, 0, 0, .25); }
.zn-hlavni__nadpis { margin: 0; font-size: 52.8px; font-weight: 700; line-height: 1; letter-spacing: -0.5px; }
.zn-hlavni__podnadpis { margin: -2px 0 18px; font-size: 24px; font-weight: 300; line-height: 1.3; }
.zn-hlavni__tlacitka { display: flex; justify-content: center; gap: 10px; margin-top: 18px; pointer-events: auto; }
.zn-hlavni__tlacitka a {
  min-width: 130px;
  padding: 8px 18px;
  border: 1px solid var(--zn-bila);
  font-size: 21.6px;
  font-weight: 400;
  line-height: 29px;
  text-transform: uppercase;
  color: var(--zn-bila);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.zn-hlavni__tlacitka a:hover, .zn-hlavni__tlacitka a:focus { background: var(--zn-bila); color: var(--zn-cerna); text-decoration: none; }

/* rozcestník Dámy / Páni: nadpis 34/500, dvě dlaždice 396 × 396 na střed, nápis 64,8 Light, proklad 0,15 em */
.zn-rozcestnik { padding: 50px 0 0; }
.zn-rozcestnik .zn-nadpis-34 { margin-bottom: 24px; }
/* h1 úvodu (titulek ze správce, Texty id 2) nad „Pro koho nakupujete?“; h1.třída přebije i mobilní .zn-rozcestnik .zn-nadpis-34 */
.zn-rozcestnik h1.zn-uvod-h1 { margin-bottom: 40px; }
.zn-rozcestnik__mrizka { display: grid; grid-template-columns: repeat(2, 396px); justify-content: center; }
.zn-rozcestnik__dlazdice { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--zn-seda-1); color: var(--zn-bila); text-decoration: none; }
.zn-rozcestnik__dlazdice img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zn-rozcestnik__dlazdice:hover img { transform: scale(1.03); }
.zn-rozcestnik__popis {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64.8px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--zn-bila);
  text-shadow: 0 0 24px rgba(0, 0, 0, .35);
}
.zn-rozcestnik__dlazdice:hover, .zn-rozcestnik__dlazdice:focus { color: var(--zn-bila); text-decoration: none; }

/* doporučené produkty: nadpis 48/500 + podnadpis 24, 4 dlaždice 326 px, mezera 30, okraje 24 */
.zn-doporucene { padding: 30px 0 0; }
.zn-doporucene .zn-podnadpis-24 { margin-bottom: 16px; }
.zn-karusel--produkty { grid-auto-columns: calc((100% - 90px) / 4); gap: 30px; padding: 0 24px; scroll-padding: 0 24px; }
.zn-karusel--produkty .category__product-wrapper { width: auto; margin: 0; }
.zn-karusel--produkty .category__product { margin: 0; padding: 0; }
.zn-karusel--produkty .category__product__sizes,
.zn-karusel--produkty .category__product__stock,
.zn-karusel--produkty .category__product > div[style] { display: none; }
.zn-doporucene .zn-karusel__sipka { top: calc((100vw - 48px - 90px) / 4 * 1.2 / 2 - 24px); }
.zn-doporucene .zn-karusel__sipka--vlevo { left: 18px; }
.zn-doporucene .zn-karusel__sipka--vpravo { right: 18px; }
.zn-doporucene .zn-karusel__sipka svg { width: 34px; height: 34px; }

/* oblíbené kategorie: nadpis 34/500, blok 744 na střed, 4 dlaždice 182 × 310, mezera 5, popisek 25 Light */
.zn-kategorie-sekce { padding: 100px 0 0; }
.zn-kategorie-sekce .zn-nadpis-34 { margin-bottom: 16px; }
.zn-kategorie-sekce .zn-karusel-obal { width: 744px; max-width: 100%; margin: 0 auto; }
.zn-karusel--kategorie { grid-auto-columns: calc((100% - 15px) / 4); gap: 5px; }
.zn-kategorie {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 310px;
  padding: 15px 0 23px;
  background: linear-gradient(90deg, #f0f0f0 0%, #fafafa 100%);
  text-decoration: none;
  color: var(--zn-cerna);
}
.zn-kategorie__obr { position: relative; flex: 1 1 auto; display: block; }
.zn-kategorie__obr img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 8%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; transition: transform .4s ease; }
.zn-kategorie:hover .zn-kategorie__obr img { transform: scale(1.04); }
.zn-kategorie__nazev { display: block; padding: 12px 6px 0; font-size: 25px; font-weight: 300; line-height: 1.2; text-align: center; }
.zn-kategorie:hover, .zn-kategorie:focus { color: var(--zn-cerna); text-decoration: none; }
.zn-kategorie-sekce .zn-karusel__sipka { top: calc(50% - 24px); }
.zn-kategorie-sekce .zn-karusel__sipka--vlevo { left: 9px; }
.zn-kategorie-sekce .zn-karusel__sipka--vpravo { right: 9px; }

/* pohodlí: nadpis 48/500 + podnadpis 24, tři čtverce přes celou šířku, bílý text 52,8/700 + 24 Light */
.zn-pohodli { padding: 100px 0 0; }
.zn-pohodli .zn-podnadpis-24 { margin-bottom: 32px; }
.zn-pohodli__mrizka { display: grid; grid-template-columns: repeat(3, 1fr); }
.zn-pohodli__dlazdice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 24px;
  overflow: hidden;
  background: #1d1d1b;
  color: var(--zn-bila);
  text-align: center;
  text-decoration: none;
}
.zn-pohodli__dlazdice:nth-child(2) { background: #2b2b29; }
.zn-pohodli__dlazdice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zn-pohodli__dlazdice--foto::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
.zn-pohodli__nazev, .zn-pohodli__text { position: relative; z-index: 1; max-width: 380px; }
.zn-pohodli__nazev { font-size: 52.8px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.zn-pohodli__text { margin-top: 12px; font-size: 24px; font-weight: 300; line-height: 1.3; }
.zn-pohodli__dlazdice:hover, .zn-pohodli__dlazdice:focus { color: var(--zn-bila); text-decoration: none; }
.zn-pohodli__dlazdice:hover img { transform: scale(1.04); }

/* tradice: přes celou šířku 1440 × 600, odznak 90 px, nadpis 38,4/500, text 24 Light v šířce 720 */
.zn-tradice { position: relative; margin-top: 40px; min-height: 600px; display: flex; align-items: center; justify-content: center; background: var(--zn-cerna); color: var(--zn-bila); text-align: center; overflow: hidden; }
.zn-tradice__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zn-tradice__foto + .zn-tradice__vnitrek::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .25); }
.zn-tradice__vnitrek { position: relative; z-index: 1; max-width: 720px; padding: 60px var(--zn-okraj); isolation: isolate; }
.zn-tradice__odznak {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--zn-bila);
  color: var(--zn-cerna);
  font-size: 22px;
  font-weight: 600;
}
.zn-tradice h2 { margin: 0; font-size: 38.4px; font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--zn-bila); text-align: center; }
.zn-tradice p { margin: 20px 0 0; font-size: 24px; font-weight: 300; line-height: 1.1; color: var(--zn-bila); }

/* tři body (homepage-points.php – na všech stránkách): 34/700 + 24/400, tři sloupce přes celou šířku */
.zn-body { display: grid; grid-template-columns: repeat(3, 1fr); padding: 53px 0 0; text-align: center; }
.zn-body__bod { padding: 0 16px; }
.zn-body__bod h2 { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: 0; text-align: center; }
.zn-body__bod p { margin: 4px 0 0; font-size: 24px; font-weight: 400; line-height: 1.35; }

@media (max-width: 991px) {
  .zn-rozcestnik__mrizka { grid-template-columns: repeat(2, minmax(0, 396px)); }
  .zn-rozcestnik__popis { font-size: 40px; }
  .zn-karusel--produkty { grid-auto-columns: calc((100% - 60px) / 2.4); }
  .zn-doporucene .zn-karusel__sipka { display: none; }
  .zn-hlavni__nadpis { font-size: 36px; }
  .zn-hlavni__podnadpis { font-size: 18px; }
  .zn-hlavni__tlacitka a { font-size: 16px; min-width: 100px; }
  .zn-pohodli__nazev { font-size: 32px; }
  .zn-pohodli__text { font-size: 18px; }
  .zn-body__bod h2 { font-size: 24px; }
  .zn-body__bod p { font-size: 18px; }
}
@media (max-width: 767px) {
  .zn-hlavni__obr img { aspect-ratio: 4 / 5; }
  .zn-hlavni__text { top: 72%; }
  .zn-rozcestnik { padding-top: 40px; }
  .zn-rozcestnik__mrizka { grid-template-columns: 1fr 1fr; }
  .zn-rozcestnik__popis { font-size: 26px; letter-spacing: .12em; }
  .zn-karusel--produkty { grid-auto-columns: 72%; gap: 16px; padding: 0 16px; scroll-padding: 0 16px; }
  .zn-kategorie-sekce, .zn-pohodli { padding-top: 64px; }
  .zn-kategorie-sekce .zn-karusel-obal { width: auto; padding: 0 16px; }
  .zn-karusel--kategorie { grid-auto-columns: calc((100% - 5px) / 2); }
  .zn-kategorie { height: 260px; }
  .zn-kategorie__nazev { font-size: 20px; }
  .zn-kategorie-sekce .zn-karusel__sipka { display: none; }
  .zn-pohodli__mrizka { grid-template-columns: 1fr; }
  .zn-pohodli__dlazdice { aspect-ratio: 16 / 10; }
  .zn-tradice { min-height: 480px; }
  .zn-tradice h2 { font-size: 30px; }
  .zn-tradice p { font-size: 18px; line-height: 1.35; }
  .zn-body { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; }
}

/* pruh výhod (benefity.php – kategorie) */
.benefits {
  max-width: var(--zn-sirka);
  margin: 40px auto 0;
  padding: 20px var(--zn-okraj);
  border-top: 1px solid var(--zn-seda-1);
  border-bottom: 1px solid var(--zn-seda-1);
  background: none;
}
.benefits .container, .benefits .row { width: auto; max-width: none; margin: 0; padding: 0; }
.benefits .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits__benefit { display: flex; align-items: center; gap: 14px; width: auto; max-width: none; padding: 0; float: none; font-size: 15px; font-weight: 400; line-height: 1.35; text-align: left; }
.benefits__benefit br { display: none; }
.benefits__icon { height: 34px !important; width: auto; margin: 0 !important; filter: grayscale(1) brightness(0); }
.benefits a { color: var(--zn-text); }
@media (max-width: 991px) { .benefits .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .benefits__benefit { font-size: 14px; gap: 10px; } .benefits__icon { height: 28px !important; } }
.benefits .row::before, .benefits .row::after { content: none; display: none; }

/* ═════════════════════ Mobil a tablet podle josef-seibel.de (naměřeno při 390 px) ═════════════════════ */
@media (max-width: 991px) {
  /* hlavička: výška 56, logo vlevo 160 × 46, ikony a hamburger vpravo */
  :root { --zn-vyska-hlavicky: 56px; }
  .zn-hlavicka__radek { height: 55px; padding: 0 16px; }
  .zn-hlavicka__logo { position: static; transform: none; margin: 0; }
  .zn-hlavicka__logo img { width: 160px; height: 46px; }
  .zn-hlavicka__ikony { margin-left: auto; }
  .zn-hlavicka .mobile-menu__icon { order: 99; margin: 0 -6px 0 2px; }
  .zn-ikona { width: 40px; height: 55px; }
  .zn-ikona svg { width: 30px; height: 30px; }
  .zn-ikona__pocet { top: 6px; right: -1px; }
  .zn-hlavicka .mobile-menu__icon span { left: 8px; width: 28px; height: 2.5px; }
  .zn-hlavicka .mobile-menu__icon span:nth-child(1) { top: 12px; }
  .zn-hlavicka .mobile-menu__icon span:nth-child(2),
  .zn-hlavicka .mobile-menu__icon span:nth-child(3) { top: 20px; }
  .zn-hlavicka .mobile-menu__icon span:nth-child(4) { top: 28px; }
  .zn-hlavicka .mobile-menu__icon.open span:nth-child(1),
  .zn-hlavicka .mobile-menu__icon.open span:nth-child(4) { top: 20px; left: 22px; }
}
@media (max-width: 400px) {
  .zn-ikona { width: 38px; }
  .zn-ikona svg { width: 30px; height: 30px; }
}
@media (max-width: 359px) {
  .zn-hlavicka__logo img { width: 130px; height: 37px; }
  .zn-ikona { width: 34px; }
  .zn-ikona svg { width: 26px; height: 26px; }
}
@media (max-width: 767px) {
  /* nadpisy sekcí: h3 34/500, h4 24/500, podnadpis 20 */
  .zn-nadpis-48 { font-size: 34px; line-height: 37.4px; padding: 0 16px; }
  .zn-nadpis-34 { font-size: 24px; line-height: 26.4px; padding: 0 16px; }
  .zn-podnadpis-24 { font-size: 20px; line-height: 27px; padding: 0 16px; }

  /* hlavní banner na výšku 390 × 596, nadpis 44/700, podnadpis 20 Light, tlačítka pod sebou 130 × 42 */
  .zn-hlavni__obr img { aspect-ratio: 390 / 596; }
  .zn-hlavni__text { top: 74%; padding: 0 16px; }
  .zn-hlavni__nadpis { font-size: 44px; line-height: 44px; }
  .zn-hlavni__podnadpis { margin: 0 0 18px; font-size: 20px; line-height: 26px; }
  .zn-hlavni__tlacitka { flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
  .zn-hlavni__tlacitka a { min-width: 130px; padding: 8px 18px; font-size: 18px; line-height: 24.3px; }

  /* rozcestník: nadpis 24, dvě dlaždice přes celou šířku, nápis 32 Light, proklad 0,15 em */
  .zn-rozcestnik { padding-top: 50px; }
  .zn-rozcestnik .zn-nadpis-34 { margin-bottom: 25px; }
  .zn-rozcestnik__mrizka { grid-template-columns: 1fr 1fr; }
  .zn-rozcestnik__popis { font-size: 32px; letter-spacing: .15em; }

  /* produkty: jedna dlaždice přes šířku (okraje 24), mezera 30, název 20/600, cena 20/300, šipka a tečky */
  .zn-doporucene { padding-top: 30px; }
  .zn-doporucene .zn-podnadpis-24 { margin-bottom: 16px; }
  .zn-karusel--produkty { grid-auto-columns: 100%; gap: 30px; padding: 0 24px; scroll-padding: 0 24px; margin: 0; }
  .zn-doporucene .zn-karusel__sipka { top: calc((100vw - 48px) * 1.2 / 2 - 24px); }
  .zn-doporucene .zn-karusel__sipka:not([hidden]) { display: flex; }
  .zn-doporucene .zn-karusel__sipka--vpravo { right: 24px; }
  .zn-doporucene .zn-karusel__sipka--vlevo { left: 24px; }
  .zn-doporucene .zn-karusel__sipka svg { width: 22px; height: 22px; }
  .category__product__name { font-size: 20px; line-height: 32px; margin-top: 16px; }
  .category__product__price { font-size: 20px; line-height: 22px; }
  .category__product__property { width: 30px; height: 30px; }

  /* kategorie: nadpis 24, dvě dlaždice vedle sebe (mezera 5), obrázek nahoře, popisek 20 Light */
  .zn-kategorie-sekce { padding-top: 100px; }
  .zn-kategorie-sekce .zn-karusel-obal { width: auto; padding: 0; }
  .zn-karusel--kategorie { grid-auto-columns: calc((100% - 5px) / 2); gap: 5px; }
  .zn-kategorie { height: 332px; padding: 15px 0 22px; }
  .zn-kategorie__nazev { font-size: 20px; line-height: 27px; }

  /* pohodlí: nadpis 34, čtverce pod sebou přes celou šířku, nápis 44/700 + 20 Light */
  .zn-pohodli { padding-top: 100px; }
  .zn-pohodli .zn-podnadpis-24 { margin-bottom: 32px; }
  .zn-pohodli__mrizka { grid-template-columns: 1fr; }
  .zn-pohodli__dlazdice { aspect-ratio: 1 / 1; }
  .zn-pohodli__nazev { font-size: 44px; line-height: 44px; max-width: 320px; }
  .zn-pohodli__text { font-size: 20px; line-height: 26px; }

  /* tradice: 390 × 388, odznak 90, nadpis 32, text 20 Light v úzkém sloupci */
  .zn-tradice { margin-top: 40px; min-height: 388px; }
  .zn-tradice__vnitrek { max-width: 240px; padding: 20px 0; }
  .zn-tradice h2 { font-size: 32px; line-height: 30.4px; }
  .zn-tradice p { margin-top: 20px; font-size: 20px; line-height: 22px; }

  /* tři body: 24/700 + 20 */
  .zn-body { gap: 0; padding-top: 50px; }
  .zn-body__bod { padding: 0 16px 37px; }
  .zn-body__bod h2 { font-size: 24px; line-height: 33px; }
  .zn-body__bod p { margin-top: 6px; font-size: 20px; line-height: 27px; }

  /* slogan 56, H1 72/500 na střed, newsletter 24/500, pole 48 */
  .zn-slogan { padding-top: 20px; }
  .zn-slogan__pas span { font-size: 56px; line-height: 56px; }
  .zn-newsletter { padding-top: 33px; }
  .zn-newsletter__nadpis { padding: 0 8px; font-size: 72px; line-height: 72px; text-align: center; }
  .zn-newsletter__radek { margin-top: 48px; gap: 24px; padding: 0 16px 40px; }
  .zn-newsletter__text { font-size: 24px; line-height: 26.4px; }
  .zn-newsletter__pole { height: 48px; }
  .zn-newsletter__pole input[type=email] { height: 46px; padding: 10px 16px; font-size: 16px; }

  /* patička: sloupce sbalené bez čar (nadpis 24, šipka), pak hodnocení, „J.S. Shoes.“ 155 px, právní odkazy pod sebou */
  .zn-paticka__mrizka { display: flex; flex-direction: column; gap: 0; padding: 40px 16px 0; }
  .zn-paticka__znacka { order: 9; margin: 40px 0 0; }
  .zn-paticka__claim { font-size: 51px; line-height: 46px; }
  .zn-paticka__vita { display: none; }
  .zn-paticka details, .zn-paticka details:last-of-type { border: 0; }
  .zn-paticka details > summary h2, .zn-paticka__kontakt-blok h2 { margin: 0; padding: 0; font-size: 24px; line-height: 42px; }
  .zn-paticka details > summary { margin-bottom: 16px; }
  .zn-paticka details > summary svg { width: 22px; height: 22px; }
  .zn-paticka details > summary svg path { stroke-width: 1.2; }
  .zn-paticka__kontakt-blok { margin-top: 0; }
  .zn-paticka__heureka { margin-top: 8px; }
  .zn-paticka__heureka img { width: 78px; }
  .zn-paticka__spodek { border: 0; }
  .zn-paticka__spodek-vnitrek { flex-direction: column-reverse; align-items: flex-start; gap: 0; padding: 32px 16px 30px; font-size: 16px; }
  .zn-paticka__pravni { flex-direction: column; gap: 7px; margin-bottom: 7px; }
}

/* ═════════════════════ Plynulé rozměry úvodu podle josef-seibel.de (vzorce z měření 1024–1920 px) ═════════════════════ */
@media (min-width: 768px) {
  /* Dámy / Páni: dlaždice = 25 % + 36 px (pod 1200 px + 24 px), nápis 4,5 vw (nejvýš 75 px) */
  .zn-rozcestnik__mrizka { grid-template-columns: repeat(2, calc(25% + 36px)); }
  .zn-rozcestnik__popis { font-size: min(4.5vw, 75px); letter-spacing: .15em; }
  /* produkty: 4 vedle sebe, obrázek odsazený pevně 42 / 35 px */
  .category__product__thumb img, img.category__product__thumb__on-hover { padding: 42px 35px; }
  .zn-karusel--produkty { grid-auto-columns: calc((100% - 90px) / 4); }
  .zn-doporucene .zn-karusel__sipka { top: calc((100vw - 138px) / 4 * 1.2 / 2 - 24px); }
  .zn-doporucene .zn-karusel__sipka:not([hidden]) { display: flex; }
  /* kategorie: blok = 50 % + 24 px, obrázek 182 : 220, pod ním popisek 25 px (dlaždice 310 px při 1440) */
  .zn-kategorie-sekce .zn-karusel-obal { width: calc(50% + 24px); }
  .zn-kategorie { display: block; height: auto; padding: 15px 0 24px; }
  .zn-kategorie__obr { display: block; aspect-ratio: 182 / 220; }
  .zn-kategorie__obr img { padding: 0; object-position: center bottom; }
  .zn-kategorie__nazev { padding: 17px 6px 0; font-size: 25px; line-height: 34px; }
  /* pohodlí: třetiny mřížky širší o 2 × 24 px (jako .de), přesah oříznutý */
  .zn-pohodli { overflow: hidden; }
  .zn-pohodli__mrizka { margin: 0 -24px; }
  .zn-pohodli__nazev { font-size: min(3.67vw, 52.8px); }
  .zn-pohodli__text { font-size: min(1.67vw, 24px); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .zn-rozcestnik__mrizka { grid-template-columns: repeat(2, calc(25% + 24px)); }
  .zn-nadpis-48 { font-size: 40px; }
  .zn-karusel--produkty { padding: 0 48px; scroll-padding: 0 48px; grid-auto-columns: calc((100% - 90px) / 4); }
  .zn-doporucene .zn-karusel__sipka { top: calc((100vw - 186px) / 4 * 1.2 / 2 - 24px); }
}
@media (max-width: 767px) {
  /* Dámy / Páni na mobilu: (šířka + 16) / 2, přesah oříznutý */
  .zn-rozcestnik { overflow: hidden; }
  .zn-rozcestnik__mrizka { margin: 0 -8px; }
}

/* ═════════════════════ Menu podle josef-seibel.de (rozbalené menu naměřené při 1440 px, mobil při 390 px) ═════════════════════ */
/* podtržení aktivní položky u spodní hrany hlavičky */
.zn-nav__odkaz::after { bottom: 0; height: 2px; left: 16px; right: 16px; }
/* panel: přes celou šířku, odsazení 40 px, sloupce po čtvrtině šířky (336 px při 1440), položky 32 / 500 */
.zn-nav__panel { border-top: 1px solid var(--zn-cerna); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .22); }
.zn-nav__panel-vnitrek {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 40px 40px;
}
.zn-nav__skupina {
  flex: 0 0 calc((100vw - 32px) / 4 - 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.zn-nav__skupina a {
  display: inline-block;
  padding: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 43.2px;
  letter-spacing: 0;
  color: var(--zn-cerna);
  text-decoration: none;
}
.zn-nav__skupina a:hover, .zn-nav__skupina a:focus { color: var(--zn-cerna); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 1199px) {
  .zn-nav__skupina a { font-size: 26px; line-height: 36px; }
}

/* mobilní menu: hledání, záložky 64 px (20 / 500, vybraná podtržená), seznamy 24 / 400 po 40 px, skupiny oddělené čarou */
.zn-menu-mobil { padding: 0 0 40px; }
.zn-menu-mobil__hledani { display: flex; align-items: center; height: 64px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--zn-cerna); }
.zn-menu-mobil__hledani input[type=search] { flex: 1 1 auto; min-width: 0; height: 100%; border: 0 !important; border-radius: 0; padding: 0; font-size: 16px; font-weight: 400; background: none; box-shadow: none; }
.zn-menu-mobil__hledani input[type=search]:focus { outline: none; }
.zn-menu-mobil__hledani button { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--zn-cerna); }
.zn-menu-mobil__hledani button svg { width: 32px; height: 32px; }
.zn-menu-mobil__zalozky { display: flex; border-bottom: 1px solid var(--zn-cerna); }
.zn-menu-mobil__zalozky [role=tab] {
  flex: 1 1 0;
  height: 64px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--zn-cerna);
  background: var(--zn-bila);
  font-size: 20px;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
  color: var(--zn-cerna);
  box-shadow: inset 0 -1px 0 transparent;
}
.zn-menu-mobil__zalozky [role=tab]:last-child { border-right: 0; }
.zn-menu-mobil__zalozky [role=tab][aria-selected=true] { box-shadow: inset 0 -3px 0 var(--zn-cerna); }
.zn-menu-mobil__panel[hidden] { display: none; }
.zn-menu-mobil ul { list-style: none; margin: 0 16px; padding: 18px 0; border-bottom: 1px solid var(--zn-cerna); }
.zn-menu-mobil > ul:last-of-type { border-bottom: 0; }
.zn-menu-mobil__panel ul:last-child { border-bottom: 1px solid var(--zn-cerna); }
.zn-menu-mobil > ul > li, .zn-menu-mobil__panel li { border: 0; }
.zn-menu-mobil ul a {
  display: block;
  padding: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0;
  color: var(--zn-cerna);
  text-decoration: none;
}
.zn-nav__skupina li, .zn-menu-mobil ul li { margin: 0; padding: 0; }
.zn-nav__skupina li::before, .zn-menu-mobil ul li::before { content: none; }
.zn-menu-mobil__hledani input[type=search] { background: none !important; }
@media (max-width: 400px) {
  .zn-ikona svg { width: 32px; height: 32px; }
}
/* kategorie: pole popisku pevně 75 px (dlaždice = 15 + obrázek + 75, tj. 310 px při 1440 jako .de); dvouřádkový název se vejde */
@media (min-width: 768px) {
  .zn-kategorie { padding: 15px 0 0; }
  .zn-kategorie__nazev { display: flex; align-items: center; justify-content: center; height: 75px; padding: 0 6px 6px; line-height: 27px; }
}
/* přechod podkladu dlaždic přesně podle josef-seibel.de, boty v kategoriích s bočním odsazením, černá linka pod hlavičkou */
.zn-kategorie, .category__product__thumb { background: linear-gradient(270deg, #f6f6f6 0%, #fafafa 30.97%, #f0f0f0 100%); }
@media (min-width: 768px) { .zn-kategorie__obr img { padding: 0 11%; } }
.zn-hlavicka { border-bottom-color: var(--zn-cerna); }

/* ═════════════════════ Stránka kategorie (kat.php) – podle josef-seibel.de /damenschuhe/, měření 390–1920 px ═════════════════════ */
/* okraje 40 (≥ 1200) / 24 / 16 (< 768); drobečky 18 px; H1 vlevo ve sloupci 25 %, vpravo rozbalovací tlačítka filtrů */
.zn-kat { background: var(--zn-bila); }
.zn-kat__obal { padding: 0 40px 80px; }
.zn-kat li { margin: 0; padding: 0; }
.zn-kat li::before { content: none; }
.zn-drobky { display: flex; flex-wrap: wrap; align-items: center; min-height: 48px; padding: 12px 0; font-size: 18px; line-height: 24px; color: #6c757d; }
.zn-drobky a, .zn-drobky .breadcrumbs__crumb { margin: 0; padding: 0; color: var(--zn-cerna); font-size: 18px; text-decoration: none; }
.zn-drobky a::after { content: none !important; }
.zn-drobky a + a::before { content: '/'; padding: 0 8px; color: #6c757d; }
.zn-drobky a:last-child:not(:first-child) { color: #6c757d; }
.zn-kat__hlava { position: relative; z-index: 60; display: grid; grid-template-columns: calc(25% - 36px) 1fr; column-gap: 48px; align-items: start; margin-top: 48px; }
.zn-kat__nadpis { margin: 0; text-align: left; font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: normal; color: var(--zn-text); }

/* tlačítka filtrů: 38 px, rámeček 1 px, 16/400, šipka 16 px; otevřené 2 px a panel 300 px s rámečkem 2 px pod ním */
.zn-kat .zn-filtry { display: flex !important; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; height: auto !important; }
.zn-filtry__hlava, .zn-filtry__spodek, .zn-filtry__otevrit { display: none; }
.zn-kat .zn-filtr.category__filter, .zn-filtr { position: relative; margin: 0; padding: 0; border: 0; }
.zn-filtr__tlacitko {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 11px 16px;
  border: 1px solid var(--zn-cerna); border-radius: 0; background: var(--zn-bila);
  font: 400 16px/16px var(--zn-pismo); color: var(--zn-text); white-space: nowrap; cursor: pointer;
}
.zn-filtr__sipka { flex: none; transition: transform .15s ease; }
.zn-filtr.otevreno .zn-filtr__tlacitko { position: relative; z-index: 21; padding: 10px 15px; border-width: 2px; border-bottom-color: var(--zn-bila); }
.zn-filtr.otevreno .zn-filtr__sipka { transform: rotate(180deg); }
/* počet vybraných hodnot: černý čtvereček za šipkou; „Zrušit všechny filtry“ 16/600 podtržené (jako .de) */
.zn-filtr__pocet { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 4px; background: var(--zn-cerna); color: var(--zn-bila); font-size: 14px; font-weight: 600; line-height: 1; }
.zn-filtr__pocet[hidden] { display: none; }
.zn-filtry__zrusit-vse { align-self: center; margin-left: 16px; padding: 0; border: 0; background: none; font: 600 16px/1.2 var(--zn-pismo); color: var(--zn-cerna); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.zn-filtry__zrusit-vse[hidden] { display: none; }
.zn-filtr__panel {
  display: none; position: absolute; top: calc(100% - 2px); left: 0; z-index: 20;
  width: 300px; max-height: 70vh; overflow-y: auto; padding: 16px;
  background: var(--zn-bila); border: 2px solid var(--zn-cerna);
}
.zn-filtr__panel--vpravo { left: auto; right: 0; }
.zn-filtr.otevreno .zn-filtr__panel { display: block; }
/* seznam (řazení, kategorie): položky 24 px s linkami jako .de */
.zn-kat .zn-filtr__panel:has(> .zn-filtr__seznam) { padding: 0; }
.zn-kat .zn-filtr__seznam { list-style: none; margin: 0; padding: 0; }
.zn-kat .zn-filtr__seznam li { border-bottom: 1px solid var(--zn-cerna); font-size: 24px; }
.zn-kat .zn-filtr__seznam li:last-child { border-bottom: 0; }
.zn-kat .zn-filtr__seznam a { display: block; padding: 7px 16px; font-size: 24px; line-height: 32px; font-weight: 400; color: var(--zn-text); text-decoration: none; }
.zn-kat .zn-filtr__seznam a:hover { background: var(--zn-seda-2); text-decoration: none; }
.zn-kat .zn-filtr__seznam a.active { font-weight: 600; color: var(--zn-cerna); text-decoration: none; }
/* velikosti */
.zn-filtr__popisek { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--zn-text); }
.zn-kat .category__filter__sizes { grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 16px; }
.zn-kat .product-size { width: auto; border-radius: 0; border-color: var(--zn-linka); font-size: 14px; }
.zn-kat .product-size--unavailable:after { left: -10%; width: 120%; }
/* zaškrtávátka (šířka, voděodolnost, zateplení) */
.zn-kat .category__filter__checkboxes { gap: 4px; }
.zn-kat .category__filter__checkbox { font-size: 16px; line-height: 1.3; letter-spacing: normal; padding: 4px 0; color: var(--zn-text); }
.zn-kat .category__filter__checkbox::before, .zn-kat .category__filter__checkbox::after { content: none; }
.zn-kat .category__filter__checkbox input[type="checkbox"] { width: 20px; min-width: 20px; height: 20px; margin: 0 12px 0 0; border: 1px solid var(--zn-cerna); border-radius: 0; background-color: var(--zn-bila); }
.zn-kat .category__filter__checkbox input[type="checkbox"]:checked { background: var(--zn-cerna) url("/assets/svg/checkbox.svg") no-repeat center / 12px; }
/* barvy */
.zn-kat .category__filter__colors { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.zn-kat .category__filter__colors::before, .zn-kat .category__filter__colors::after { content: none; }
.zn-kat .category__filter__color { float: none; width: 32px; height: 32px; margin: 0; border: 1px solid var(--zn-linka); }
.zn-kat .category__filter__color.active { border: 1px solid var(--zn-linka); outline: 2px solid var(--zn-cerna); outline-offset: 2px; }
/* pata panelu: tabulka velikostí, zrušit filtr */
.zn-filtr__pata { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.zn-filtr__pata:not(:has(a)):has(.filtr_zrusit:empty) { display: none; }
.zn-kat .zn-filtr__pata .product-size__popup-link { margin: 0; font-size: 14px; font-weight: 600; text-decoration: underline; }
.zn-kat .filtr_zrusit { float: none; margin: 0 0 0 auto; font-size: 14px; color: var(--zn-cerna); text-decoration: underline; cursor: pointer; }

.zn-kat__dodani { margin: 40px 0 16px; font-size: 16px; line-height: 1.35; color: var(--zn-tlumena); }

/* mřížka: 4 sloupce těsně vedle sebe (< 768: 2), mezi řádky 16 px; dlaždice bez velikostí (jako .de) */
.zn-kat .category__products { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 16px; margin: 0; }
.zn-kat .category__product-wrapper { width: auto; margin: 0; }
.zn-kat .category__product { height: auto; margin: 0; padding: 0; }
.zn-kat .category__product__sizes { display: none; }
.zn-kat .category__product__name { margin-top: 16px;     font-size: 2rem;    line-height: 2.5rem; }
.zn-kat .category__product__price { font-size: 24px; line-height: 1.1; }
.zn-kat .category__product__stock { margin-top: 4px; }
.zn-kat .category__products__empty { grid-column: 1 / -1; padding: 80px 0; }

/* stránkování na střed: buňky s rámečkem 1 px, 24 px, aktivní černá (i výstup AJAX filtrů) */
.zn-kat #obsah-zbozi .col-12 { float: none; width: 100%; padding: 0; }
.zn-kat div.pagination { display: block; float: none !important; margin: 0; }
.zn-kat ul.pagination { display: flex; justify-content: center; float: none !important; margin: 48px 0 0; padding: 0; }
.zn-kat ul.pagination > li > a { float: none; display: block; min-width: 35px; margin: 0 0 0 -1px; padding: 8px 12px; border: 1px solid var(--zn-cerna); background: var(--zn-bila); color: var(--zn-cerna); font-size: 24px; line-height: 30px; font-weight: 400; text-align: center; text-decoration: none; }
.zn-kat ul.pagination > li.active > a, .zn-kat ul.pagination > li > a[href]:hover { background: var(--zn-cerna); color: var(--zn-bila); }

/* popis kategorie pod stránkováním: 784 px na střed, 16 / 21.6 */
.zn-kat__popis { max-width: 784px; margin: 64px auto 0; font-size: 16px; line-height: 21.6px; font-weight: 400; color: var(--zn-text); }
.zn-kat__popis p { margin: 0 0 16px; font-size: inherit; line-height: inherit; color: inherit; }
.zn-kat__popis h2, .zn-kat__popis h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.1; font-weight: 500; }

/* výsledky hledání (kat_search.php): pole + tlačítko vedle řazení */
.zn-kat--hledani .zn-kat__ovladani { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.zn-hledat-form { display: flex; flex: 1 1 320px; max-width: 560px; margin: 0; }
.zn-hledat-form input[type=text] { flex: 1; height: 38px; padding: 0 16px; border: 1px solid var(--zn-cerna); border-radius: 0; box-shadow: none; font: 400 16px var(--zn-pismo); }
.zn-hledat-form input[type=submit] { height: 38px; padding: 0 20px; border: 1px solid var(--zn-cerna); border-radius: 0; background: var(--zn-cerna); color: var(--zn-bila); font: 600 16px var(--zn-pismo); }

@media (min-width: 768px) {
  .zn-kat .category__product__thumb img, .zn-kat img.category__product__thumb__on-hover { padding: 42px 35px; }
}
@media (max-width: 1199px) {
  .zn-kat__obal { padding: 0 24px 60px; }
  .zn-kat__hlava { grid-template-columns: calc(25% - 18px) 1fr; column-gap: 24px; }
  .zn-kat .category__product__thumb img, .zn-kat img.category__product__thumb__on-hover { padding: 10% 24px; }
}
/* mobil: tlačítko „Řadit a filtrovat“ 52 px → panel přes celou obrazovku, filtry jako řádky (akordeon), dole „Zobrazit výsledky“ */
@media (max-width: 767px) {
  .zn-kat__obal { padding: 0 16px 48px; }
  .zn-drobky { display: none; }
  .zn-kat__hlava { position: static; display: block; margin-top: 16px; } /* bez z-indexu, jinak panel (fixed) skončí pod hlavičkou webu */
  .zn-kat__nadpis { font-size: 24px; }
  .zn-filtry__otevrit {
    display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; margin: 24px 0 0;
    padding: 13px 16px; border: 1px solid var(--zn-cerna); border-radius: 0; background: var(--zn-bila);
    font: 600 16px/1 var(--zn-pismo); color: var(--zn-cerna);
  }
  .zn-filtry__otevrit-misto { width: 24px; }
  .zn-kat .zn-filtry { display: none !important; position: fixed; inset: 0; z-index: 1100; flex-direction: column; flex-wrap: nowrap; gap: 0; overflow-y: auto; background: var(--zn-bila); }
  .zn-kat .zn-filtry.otevreno { display: flex !important; }
  .zn-filtry__hlava { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--zn-cerna); }
  .zn-filtry__titulek { font-size: 24px; line-height: 32px; font-weight: 500; color: var(--zn-text); }
  .zn-filtry__zavrit { padding: 0; border: 0; background: none; color: var(--zn-cerna); }
  .zn-kat .zn-filtr.category__filter, .zn-filtr { border-bottom: 1px solid var(--zn-cerna); }
  .zn-filtr__tlacitko, .zn-filtr.otevreno .zn-filtr__tlacitko { width: 100%; justify-content: space-between; height: 38px; padding: 0 16px; border: 0; }
  .zn-filtr__sipka { transform: rotate(-90deg); }
  .zn-filtr.otevreno .zn-filtr__sipka { transform: none; }
  .zn-filtr__panel { position: static; width: auto; max-height: none; overflow: visible; padding: 8px 16px 16px; border: 0; }
  .zn-kat .zn-filtr__panel:has(> .zn-filtr__seznam) { padding: 0 0 8px; }
  .zn-kat .zn-filtr__seznam li { border-bottom: 0; }
  .zn-kat .zn-filtr__seznam a { padding: 6px 32px; font-size: 16px; line-height: 22px; }
  .zn-filtry__zrusit-vse { align-self: center; margin: 16px 0 0; }
  .zn-filtry__spodek { display: block; position: sticky; bottom: 0; margin-top: auto; padding: 16px; background: var(--zn-bila); }
  .zn-filtry__vysledky { width: 100%; height: 48px; border: 0; border-radius: 0; background: var(--zn-cerna); color: var(--zn-bila); font: 600 20px/1 var(--zn-pismo); }
  body.zn-bez-posunu { overflow: hidden; }

  .zn-kat__dodani { margin: 24px 0 16px; font-size: 14px; }
  .zn-kat .category__products { grid-template-columns: repeat(2, 1fr); }
  .zn-kat .category__product__thumb img, .zn-kat img.category__product__thumb__on-hover { padding: 10.7% 12px; }
  .zn-kat .category__product__property { right: 8px; bottom: 8px; width: 30px; height: 30px; }
  .zn-kat .category__product__name { font-size: 20px; line-height: 32px; }
  .zn-kat .category__product__price { font-size: 20px; line-height: 22px; }
  .zn-kat ul.pagination > li > a { font-size: 20px; line-height: 25px; min-width: 33px; }
}

/* ═════════════════════ Detail produktu (detail.php) – podle josef-seibel.de, měření 390 / 1024 / 1440 px ═════════════════════ */
/* obsah max. 1240 px (při 1440 okraje 100), fotka 7/12 (5 : 6), informace 5/12, mezera 48 (< 1200: okraje 24, mezera 32) */
.zn-det { background: var(--zn-bila); }
.zn-drobky a + span::before { content: '/'; padding: 0 8px; color: #6c757d; }
.zn-drobky > span { color: #6c757d; }
.zn-det__drobky { padding: 12px 40px; }
.zn-det .oversized-bg { max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }
.zn-det .oversized-bg > .container { width: auto; max-width: 1320px; margin: 48px auto 0; padding: 0 40px 80px; }
.zn-det .oversized-bg > .container > .row { display: grid; grid-template-columns: calc((100% + 48px) * 7 / 12 - 48px) 1fr; column-gap: 48px; align-items: start; margin: 0; }
.zn-det .oversized-bg > .container > .row::before, .zn-det .oversized-bg > .container > .row::after { content: none; }
.zn-det .product__gallery, .zn-det .product__info { position: relative; float: none; width: auto; padding: 0; }
.zn-det li { margin: 0; padding: 0; }
.zn-det li::before { content: none; }

/* galerie: jedna fotka na šedém přechodu, nad ní proužky (náhledy) vpravo nahoře, dole šipky 88 × 64 */
.zn-det .product__gallery__main { position: relative; float: none; width: 100%; margin: 0; aspect-ratio: 5 / 6; background: linear-gradient(270deg, #f6f6f6 0%, #fafafa 30.97%, #f0f0f0 100%); }
.zn-det .product__gallery__main > a { display: block; height: 100%; }
.zn-det #main-image { display: block; width: 100%; height: 100%; max-width: none; padding: 8%; object-fit: contain; mix-blend-mode: multiply; }
.zn-det .product__gallery__thumbs { position: absolute; top: 16px; right: 22px; left: auto; z-index: 5; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; width: auto; max-width: 70%; float: none; margin: 0; padding: 0; }
.zn-det .product__gallery__thumbs a { display: block; width: 37px; height: 16px; margin: 0; padding: 0; border: 0; background: var(--zn-linka); cursor: pointer; }
.zn-det .product__gallery__thumbs a.aktivni { background: var(--zn-cerna); }
.zn-det .product__gallery__thumbs img { display: none; }
.zn-galerie__sipka { position: absolute; bottom: 8px; z-index: 5; display: flex; padding: 0; border: 0; background: none; color: var(--zn-cerna); cursor: pointer; }
.zn-galerie__sipka[hidden] { display: none; }
.zn-galerie__sipka--vlevo { left: 36px; }
.zn-galerie__sipka--vpravo { right: 36px; }
.zn-det__stitky { position: absolute; top: 16px; left: 16px; z-index: 5; }
.zn-det .product__badges { position: absolute; top: 16px; left: 16px; right: auto; bottom: auto; z-index: 5; display: flex; gap: 8px; margin: 0; }
.zn-det__stitky ~ .product__badges { top: 56px; }
.zn-det .product__badge { width: 40px; height: 40px; margin: 0; filter: grayscale(1); }

/* záložky pod fotkou: 24 / 600, aktivní podtržená; popis */
.zn-det .product__tabs { display: flex; justify-content: center; gap: 40px; margin: 40px 0 24px; padding: 0; border: 0; list-style: none; }
.zn-det .product__tabs li { width: auto; float: none; margin: 0 !important; padding: 0 !important; }
.zn-det .product__tabs .tab-link, .zn-det .product__tabs .tab-link:hover { text-decoration: none; }
/* vlastnosti pod popisem a rozbalovací bloky vpravo (dotaz, doprava, výměna): bez karet a stínů, linky jako .de */
.zn-det .product__description__parts { background: var(--zn-seda-2); border-radius: 0; box-shadow: none; }
.zn-det .product__services .panel, .zn-det .product__service { margin: 0; border: 0; border-top: 1px solid var(--zn-cerna); border-radius: 0; box-shadow: none; background: none; }
.zn-det .product__services .panel:last-child { border-bottom: 1px solid var(--zn-cerna); }
.zn-det .product__services { margin-top: 40px; }
.zn-det .product__services .accordion { margin: 0; }
.zn-det .product__services .panel { float: none; width: 100%; padding-left: 0; padding-right: 0; }
.zn-det .product__tabs .tab-link { display: inline-block; padding: 0 0 4px; border-bottom: 2px solid transparent; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--zn-cerna); cursor: pointer; }
.zn-det .product__tabs li.active .tab-link { border-bottom-color: var(--zn-cerna); }
.zn-det .product__description__text, .zn-det .product__description__text p { font-size: 18px; line-height: 1.45; font-weight: 300; color: var(--zn-text); text-align: left; }
/* Černý pruh s kontaktem (.de: výška 254 při 1440, odsazení 48, text 34/500 bílý na střed) */
.zn-det__kontakt { background: var(--zn-cerna); color: var(--zn-bila); text-align: center; padding: 48px 16px; }
.zn-det__kontakt-nadpis { margin: 0 0 12px; font-size: 34px; line-height: 37px; font-weight: 500; color: var(--zn-bila); }
.zn-det__kontakt-tel { display: inline-block; font-size: 34px; line-height: 37px; font-weight: 500; color: var(--zn-bila) !important; text-decoration: none !important; }
.zn-det__kontakt-tel:hover { text-decoration: underline !important; }
.zn-det__kontakt-doba { margin-top: 12px; font-size: 16px; line-height: 22px; font-weight: 500; }
.zn-det__kontakt-doba p { margin: 0; color: var(--zn-bila); }
/* Podobné zboží – karusel jako „Ähnliche Produkte“ (.de: nadpis 48/500, dlaždice pevně 440 px od 992, 240 px 768–991, 290 px < 768; odsazení 40 / 16) */
@media (min-width: 768px) and (max-width: 991px) { .zn-det .zn-det__podobne { grid-auto-columns: 240px !important; } .zn-det__podobne-obal { padding-left: 16px !important; } }
.zn-det__podobne-obal { padding: 96px 0 80px 40px; overflow: hidden; }
.zn-det__podobne-nadpis { margin: 0 0 24px; font-size: 48px; line-height: 1.1; font-weight: 500; color: var(--zn-text); text-align: left; }
.zn-det__karusel { position: relative; }
/* vlastní vrstva pásu – dlaždice při :hover dostávají z-index 50 (style.css) a jinak by překryly šipky */
.zn-det__karusel .zn-det__podobne { position: relative; z-index: 1; }
.zn-det .zn-det__podobne { display: grid; grid-auto-flow: column; grid-auto-columns: 440px; grid-template-columns: none; margin: 0; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.zn-det .zn-det__podobne::-webkit-scrollbar { display: none; }
.zn-det__podobne::before, .zn-det__podobne::after { content: none !important; }
.zn-det__podobne .category__product-wrapper { width: auto; margin: 0; padding: 0; float: none; scroll-snap-align: start; }
.zn-det__podobne .category__product { height: auto; margin: 0; padding: 0; }
.zn-det__podobne .category__product__sizes { display: none; }
.zn-det__podobne .category__product__name { margin-top: 16px; font-size: 2rem; line-height: 32px; font-weight: 600; }
.zn-det__podobne .category__product__price { font-size: 24px; }
.zn-det__podobne .category__product__name, .zn-det__podobne .category__product__price { padding-right: 16px; }
.zn-det__sipka { position: absolute; top: 16px; z-index: 2; width: 56px; height: 48px; padding: 4px 8px; border: 0; background: none; color: var(--zn-cerna); cursor: pointer; }
.zn-det__sipka--vpravo { right: 16px; }
.zn-det__sipka--vlevo { left: 16px; }
.zn-det__sipka:hover, .zn-det__sipka:focus, .zn-det__sipka:active { color: var(--zn-cerna) !important; background: none !important; opacity: .6; outline: none; }
.zn-det__sipka:focus-visible { outline: 2px solid var(--zn-cerna); }
.zn-det__sipka[hidden] { display: none; }

/* informace: název 48/500, cena 24/700, nadpisy sekcí 24/500, velikosti 3 sloupce (56 px, rámeček 2), košík 56 px */
.zn-det .product__info__name { margin: 0; font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--zn-text); }
.zn-det__cena { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 24px; }
.zn-det .product__info__price { margin: 0; padding: 0; font-size: 24px; line-height: 1.1; font-weight: 700; text-align: left; color: var(--zn-text); }
.zn-det .product__info__price--special { order: -1; color: var(--zn-akce); }
.zn-det .product__info__price--old { font-size: 18px; font-weight: 300; color: var(--zn-tlumena); text-decoration: line-through; }
.zn-det .zn-det__sleva { font-size: 16px; font-weight: 400; color: var(--zn-akce); }
.zn-det__doprava { margin: 8px 0 0; font-size: 16px; line-height: 1.35; font-weight: 400; color: var(--zn-text); }
.zn-det .product__info__box { margin: 40px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.zn-det .product__info__box::before, .zn-det .product__info__box::after { content: none; }
.zn-det .product__info__box > .row { margin: 0; }
.zn-det .product__info__box .product-size__popup-link { display: inline-block !important; }
.zn-det .product__info__box > .row::before, .zn-det .product__info__box > .row::after { content: none; }
.zn-det .product__info__sizes__label { display: block; margin: 0 0 16px; padding: 0; font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: normal; text-transform: none; text-align: left; color: var(--zn-text); }
.zn-det .zn-det__varianty { display: flex; flex-wrap: wrap; gap: 16px; }
.zn-det .zn-det__varianty > div { float: none; width: auto; padding: 0; }
.zn-det .product__variant { display: block; padding: 0 0 6px; border-bottom: 2px solid transparent; background: none; box-shadow: none; }
.zn-det .product__variant:hover { border-bottom-color: var(--zn-cerna); }
.zn-det .product__variant img { display: block; width: 72px; height: 80px; padding: 0; object-fit: contain; mix-blend-mode: multiply; }
.zn-det .product__info__sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 2px 2px 0; margin: 0; }
.zn-det .product__info__sizes .product-size {
  width: auto; height: 56px; margin: 0 -2px -2px 0; border: 2px solid var(--zn-cerna); border-radius: 0;
  background: var(--zn-bila); color: var(--zn-text); font-size: 24px; line-height: 52px; font-weight: 400; text-align: center;
}
.zn-det .product__info__sizes .product-size.active, .zn-det .product__info__sizes .product-size.cena:hover { background: var(--zn-cerna); color: var(--zn-bila); }
.zn-det .product__info__sizes .product-size--unavailable { color: var(--zn-linka); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--zn-linka) 50%, transparent calc(50% + 1px)); cursor: not-allowed; }
.zn-det .product__info__sizes .product-size--unavailable:after { content: none; }
.zn-det .product-size__popup-link { display: inline-block; margin: 16px 24px 0 0; font-size: 16px; line-height: 1.2; font-weight: 600; color: var(--zn-cerna); text-decoration: underline; }
.zn-det .product__info__stock-status, .zn-det .product__info__stock-status--external-stock { margin: 24px 0 0; padding: 0; font-size: 16px; line-height: 1.35; font-weight: 400; text-align: left; color: var(--zn-tlumena); }
.zn-det .product__buy {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; margin: 24px 0 0; padding: 0 64px;
  border: 0; border-radius: 0; background: var(--zn-cerna) !important; color: var(--zn-bila); font: 600 24px/1 var(--zn-pismo); text-transform: none; letter-spacing: normal;
}
.zn-det .product__buy:hover { background: #333 !important; }
.zn-det__taska { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1199px) {
  .zn-det__drobky { padding: 12px 24px; }
  .zn-det .oversized-bg > .container { padding: 0 24px 60px; }
  .zn-det .oversized-bg > .container > .row { grid-template-columns: calc((100% + 32px) * 7 / 12 - 32px) 1fr; column-gap: 32px; }
  .zn-det .product__info__name { font-size: 40px; }
}
@media (max-width: 767px) {
  .zn-det__drobky { display: none; }
  .zn-det .oversized-bg > .container { margin-top: 0; padding: 0 16px 48px; }
  .zn-det .oversized-bg > .container > .row { grid-template-columns: 1fr; }
  .zn-det .product__info__name { font-size: 34px; }
  .zn-det__kontakt-nadpis, .zn-det__kontakt-tel { font-size: 24px; line-height: 1.15; }
  .zn-det__podobne-obal { padding: 48px 0 64px 16px; }
  .zn-det__podobne-nadpis { font-size: 34px; }
  .zn-det .zn-det__podobne { grid-auto-columns: 290px; }
  .zn-det__podobne .category__product__name, .zn-det__podobne .category__product__price { font-size: 18px; line-height: 24px; }
}

/* Přeskočit na obsah + <main id="obsah"> (modul seo, POSTUP § Přístupnost): skrytý, viditelný jen při fokusu klávesnicí */
.zn-preskocit { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: 12px 16px; background: #000; color: #fff; }
.zn-preskocit:focus { left: 16px; top: 16px; color: #fff; }
#obsah:focus { outline: 0; }
