/* =========================================================
   CORGARDEN.com — globální styly
   Zdroj designu: Figma "DNF.cz_projekty", node 762:34 (HP_corgarden.com)
   Hodnoty (barvy, velikosti, mezery) odpovídají Figmě 1:1 při šířce 1920 px.
   ========================================================= */

/* ---------- Fonty (self-hosted kvůli GDPR v DE — žádné Google Fonts CDN) ---------- */
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


/* ---------- Design tokeny (z Figmy) ---------- */
:root {
  --c-bg: #f4f4f4;          /* pozadí stránky */
  --c-white: #ffffff;
  --c-text: #424241;        /* hlavní text, tmavý banner */
  --c-text-dark: #2b2b2b;   /* text na oranžovém tlačítku */
  --c-accent: #d87d26;      /* aktivní odkaz, nadtitulek */
  --c-accent-light: #f6a456;/* svislá linka, tlačítko, text v banneru, hover šipky */
  --c-black: #000000;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-nav: "Montserrat", system-ui, sans-serif;   /* menu je v Montserratu */

  --container: 1180px;      /* šířka obsahu (1920 − 2×370) */
  --gutter: 24px;           /* mezera mezi dlaždicemi i boční okraj na mobilu */
  --section-gap: 72px;      /* svislá mezera mezi sekcemi */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-head);
  font-size: 17px;
  line-height: normal;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }  /* skryté položky menu */
a { color: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Značka ® vždy v horním indexu (bez vlivu na výšku řádku) */
sup.reg {
  font-size: .5em;
  line-height: 0;
  position: relative;
  top: -.8em;
  vertical-align: baseline;
  margin-left: .04em;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   HLAVIČKA (Figma 760:2) — 88 px (20 + logo 48 + 20), bílá, padding 60 px, jemný stín
   ========================================================= */
.site-header {
  background: var(--c-white);
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .06);
}
.site-header__inner {
  height: 88px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img { width: 219px; height: 48px; }  /* logo výška 48 px */

.main-nav__list {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-nav);
  font-size: 17px;
  white-space: nowrap;
}
.main-nav__list a { color: var(--c-text); text-decoration: none; }
/* Hover: oranžová + podtržení (aktivní položka zůstává tučně, bez podtržení, dokud na ni nenajedeš) */
.main-nav__list a:hover {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-position: from-font;
}
/* Aktivní položka: Montserrat Bold, oranžová, bez podtržení */
.main-nav__list a[aria-current="page"] {
  color: var(--c-accent);
  font-weight: 700;
}

/* Hamburger — jen pro menší displeje */
.nav-toggle { display: none; }
.nav-toggle__btn { display: none; }

@media (max-width: 1100px) {
  .site-header__inner { padding: 0 var(--gutter); height: 80px; }
  .site-header__logo img { width: 185px; height: auto; }
  .nav-toggle__btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; cursor: pointer;
  }
  .nav-toggle__btn span { display: block; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-white);
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .main-nav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav__list a { display: block; padding: 12px 0; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle__btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-toggle__btn { outline: 2px solid var(--c-accent); outline-offset: 2px; }
}

/* =========================================================
   ÚVOD / HERO (Figma 763:99) — svislá linka 5 px + texty
   ========================================================= */
.intro { margin-top: var(--section-gap); }
.intro__inner {
  display: flex;
  gap: 28px;               /* Figma 763:99 (dříve 20 px) */
}
.intro__bar {
  flex: none;
  width: 4px;
  background: var(--c-accent-light);
}
.intro__eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent);
}
.intro__title {
  margin: 20px 0 0;
  font-weight: 700;
  font-size: clamp(30px, 2vw + 14px, 44px);
  line-height: 1.22;
  color: var(--c-text);
}
.intro__title .nowrap { white-space: nowrap; }
/* Tlačítko pod perexem: zarovnané s textem (4 px linka + 28 px mezera) */
.intro__cta { margin: 40px 0 0 32px; }
@media (max-width: 560px) { .intro__cta { margin-top: 28px; width: 100%; max-width: 320px; } }
.intro__lead {
  margin: 20px 0 0;
  max-width: 612px;
  font-size: 17px;
  line-height: 1.35;
}

/* =========================================================
   MŘÍŽKA KATEGORIÍ (Figma 762:38)
   Desktop: 4 sloupce × 276 px, mezera 24 px, řádek 228 px
   ř.1: velká (3 sl. × 2 ř.) + 2 malé vpravo
   ř.2: 2 malé vlevo + velká (3 sl. × 2 ř.)
   ř.3–4: 4 malé
   ========================================================= */
.categories { margin-top: var(--section-gap); }
.tile-grid {
  --cols: 4;
  --inner: min(100vw - 2 * var(--gutter), var(--container));
  --row: calc((var(--inner) - (var(--cols) - 1) * var(--gutter)) / var(--cols) * 0.826);
  display: grid;
  grid-template-columns: repeat(12, 1fr);   /* 12 sloupců: běžná dlaždice = 3, širší (řada po 3) = 4 */
  grid-auto-rows: var(--row);
  gap: var(--gutter);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile-grid > li { min-width: 0; grid-column: span 3; }
.tile-grid > .is-big-left  { grid-column: 1 / 10;  grid-row: 1 / 3; }
.tile-grid > .is-side-1    { grid-column: 10 / 13; grid-row: 1; }
.tile-grid > .is-side-2    { grid-column: 10 / 13; grid-row: 2; }
.tile-grid > .is-side-3    { grid-column: 1 / 4;   grid-row: 3; }
.tile-grid > .is-side-4    { grid-column: 1 / 4;   grid-row: 4; }
.tile-grid > .is-big-right { grid-column: 4 / 13;  grid-row: 3 / 5; }
.tile-grid > .is-third     { grid-column: span 4; }                 /* řada se 3 dlaždicemi přes celou šířku */
.tile-grid > .is-big-left-b { grid-column: 1 / 10; grid-row: span 2; } /* spodní blok: velká vlevo … */
.tile-grid > .is-side-b    { grid-column: 10 / 13; }                /* … a 2 malé pod sebou vpravo */

.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 20px;
  overflow: hidden;
  background: #adadad;               /* placeholder z Figmy, než se načte foto */
  color: var(--c-white);
  text-decoration: none;
  isolation: isolate;
}
.tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s ease;
}
/* Figma: přechod 0 → 20 % černé od 67 %. Kvůli čitelnosti popisků je zesílený. */
.tile::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.68) 100%);
}
.tile__text { min-width: 0; }
.tile__material {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent-light);
}
.tile__name {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  hyphens: auto;             /* dlouhá německá slova (Vogelfutterhäuser) */
  -webkit-hyphens: auto;
}
.is-big-left .tile__name, .is-big-right .tile__name, .is-big-left-b .tile__name { font-size: 34px; }

.tile__arrow { position: relative; flex: none; width: 38px; height: 38px; }
.tile__arrow img { position: absolute; inset: 0; width: 38px; height: 38px; transition: opacity .25s; }
.tile__arrow .is-hover { opacity: 0; }

/* Hover: stín boxu podle Figmy (X 0, Y 4, blur 22, #000 30 %) */
.tile { transition: box-shadow .3s ease; }
.tile:hover, .tile:focus-visible { box-shadow: 0 4px 22px rgba(0, 0, 0, .30); }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.05); }
.tile:hover .tile__arrow .is-hover, .tile:focus-visible .tile__arrow .is-hover { opacity: 1; }
.tile:hover .tile__arrow .is-default, .tile:focus-visible .tile__arrow .is-default { opacity: 0; }
.tile:focus-visible { outline: 3px solid var(--c-accent-light); outline-offset: 3px; }

/* Tablet: 2 sloupce, velké dlaždice přes celou šířku */
@media (max-width: 900px) {
  .tile-grid { --cols: 2; grid-template-columns: repeat(2, 1fr); }
  .tile-grid > li, .tile-grid > [class*="is-side"], .tile-grid > .is-third { grid-column: auto; grid-row: auto; }
  .tile-grid > .is-big-left, .tile-grid > .is-big-right, .tile-grid > .is-big-left-b { grid-column: 1 / -1; grid-row: span 2; }
  .tile-grid > .is-wide-mobile { grid-column: 1 / -1; }   /* lichý počet malých dlaždic – poslední přes celou šířku */
}
/* Mobil: 2 sloupce, velké dlaždice přes celou šířku */
@media (max-width: 560px) {
  .tile-grid { gap: 12px; --row: calc((100vw - 2 * var(--gutter) - 12px) / 2 * 0.9); }
  .tile { padding: 12px; gap: 8px; }
  .tile__material { font-size: 10px; }
  .tile__name { font-size: 15px; margin-top: 2px; }
  .is-big-left .tile__name, .is-big-right .tile__name, .is-big-left-b .tile__name { font-size: 22px; }
  .tile__arrow, .tile__arrow img { width: 28px; height: 28px; }
}

/* =========================================================
   BANNER SPOLUPRÁCE (Figma 762:95) — #424241, 366 px
   ikona 63×100 vlevo, mezera 28 px, obsah zarovnaný nahoru
   ========================================================= */
.partner {
  margin-top: var(--section-gap);
  background: var(--c-text);
  color: var(--c-white);
}
.partner__inner {
  min-height: 366px;
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.partner__icon { flex: none; width: 63px; height: 100px; }
.partner__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.partner__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 2vw + 14px, 44px);
  line-height: 1.22;
}
.partner__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;          /* Figma: řádek 77 px, obsah 57 px */
}
@media (max-width: 560px) {
  .partner__inner { flex-direction: column; gap: 20px; min-height: 0; }
  .partner__icon { width: 44px; height: 70px; }
  .partner__title br { display: none; }
}
.partner__text {
  margin: 0;
  max-width: 740px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-accent-light);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 264px;
  max-width: 100%;
  height: 57px;
  padding: 12px;
  border-radius: 100px;     /* pilulka (dříve 8 px podle Figmy) */
  background: var(--c-accent-light);
  color: var(--c-text-dark);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background-color .2s, box-shadow .2s;
}
/* Hover podle Figmy (komponenta button 777:1770, Variant2) */
.btn:hover {
  background: #ffd4ab;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  text-decoration: underline;
  text-underline-position: from-font;
}
.btn:focus-visible { outline: 3px solid var(--c-white); outline-offset: 3px; }

/* =========================================================
   PATIČKA (Figma 765:173) — bílá, 166 px
   ========================================================= */
.site-footer { background: var(--c-white); }
.site-footer__inner {
  min-height: 166px;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { width: 219px; height: 48px; }
.site-footer__claim { margin: 0; font-size: 14px; color: var(--c-text); }
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
/* Patička: bez podtržení, na hover oranžová + podtržení (stejně jako hlavní menu) */
.footer-nav__list a { color: var(--c-black); text-decoration: none; text-underline-position: from-font; }
.footer-nav__list a:hover { color: var(--c-accent); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* V malém textu (štítek materiálu) by byl index příliš drobný */
.tile__material sup.reg, .site-footer__claim sup.reg, .main-nav__list sup.reg { font-size: .7em; top: -.6em; }

/* =========================================================
   TEXTOVÁ STRÁNKA (Figma 779:1787) — Impressum, Datenschutz…
   linka 4 px jen vedle nadtitulku a H1, perex 19 px, text 17/28 px, sloupec 814 px
   ========================================================= */
.page-intro { margin-top: var(--section-gap); }
.page-intro .intro__inner { align-items: stretch; }
.page-intro__lead {
  margin: 20px 0 0 32px;      /* 4 px linka + 28 px mezera */
  max-width: 596px;
  font-size: 19px;
  line-height: 1.35;
}
.prose {
  margin-top: 80px;
  margin-bottom: var(--section-gap);
}
.prose__inner {
  max-width: 814px;
  margin-left: 38px;          /* zarovnání s textem nad (Figma +6 px) */
  font-size: 17px;
  line-height: 28px;
}
.prose h2 { margin: 48px 0 20px; font-size: 24px; line-height: 1.25; font-weight: 700; }
.prose h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.3;  font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose address { margin: 0 0 28px; }
.prose address { font-style: normal; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: inherit; text-decoration: underline; text-underline-position: from-font; }
.prose a:hover { color: var(--c-accent); }
.prose a.mail { color: var(--c-accent); font-weight: 700; }
.prose .note { font-size: 15px; color: #6b6b69; }
.footer-nav__list a[aria-current="page"] { color: var(--c-accent); }

@media (max-width: 760px) {
  .prose { margin-top: 48px; }
  .prose__inner, .page-intro__lead { margin-left: 0; }
  .page-intro__lead { font-size: 17px; }
  .prose h2 { font-size: 21px; }
  .prose h3 { font-size: 18px; }
}

/* =========================================================
   KONTAKT (Figma 782:1985)
   ========================================================= */
.contact { margin-top: var(--section-gap); margin-bottom: var(--section-gap); }
.contact__head { align-items: stretch; }
.contact__body { margin: 20px 0 0 32px; }          /* zarovnání s textem vedle linky (4 + 28 px) */
.contact__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 596px));
  font-size: 17px;                                 /* Figma: údaje 17 px */
  line-height: 28px;
}
.contact__addr { font-size: 19px; }                /* Figma: adresa 19 px */
.contact__col { font-style: normal; }
.contact__col strong { display: inline-block; margin-bottom: 28px; }
.contact__col a { color: inherit; }
.contact__route { font-size: 15px; color: var(--c-accent) !important; font-weight: 700; text-decoration: none; }
.contact__route:hover { text-decoration: underline; text-underline-position: from-font; }
.contact__route::after { content: " →"; }

.contact-list { list-style: none; margin: 0; padding: 0; font-weight: 700; }
.contact-list li { display: flex; align-items: center; gap: 20px; }
.contact-list a { color: var(--c-text); text-decoration: none; }
.contact-list a:hover { color: var(--c-accent); text-decoration: underline; text-underline-position: from-font; }
.contact-list img { flex: none; }
.contact-list--lg { margin-top: 28px; font-size: 20px; line-height: 34px; }
.contact-list--sm { font-size: 15px; line-height: 34px; justify-content: center; }

/* Lidé: karta 340 px, mezera 100 px, foto 340 × 510 s plným zaoblením */
.people {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 100px;
  margin: var(--section-gap) 0 0;
  padding: 0;
  list-style: none;
}
.person { width: 340px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.person__photo { width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 200px; background: #e2e2e2; }
.person__name { margin: 0; font-size: 17px; line-height: 28px; }
.person__name span { font-size: 15px; font-weight: 400; }
.person__line { display: block; width: 88px; height: 1px; background: var(--c-accent-light); }
.person .contact-list li { gap: 12px; }
.person__lang { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 700; }   /* jazyky kontaktu */

.contact__factory { display: block; width: 100%; height: 623px; object-fit: cover; object-position: center 55%; background: #d9d9d9; }

@media (max-width: 900px) {
  .contact__cols { grid-template-columns: 1fr; row-gap: 28px; }
  .contact__addr { font-size: 17px; }
  .contact__factory { height: 420px; }
}
@media (max-width: 760px) {
  .contact__factory { height: auto; aspect-ratio: 4 / 3; }   /* mobilní výřez 1200 × 900 */
  .contact__body { margin-left: 0; }
  .contact-list--lg { font-size: 18px; }
  .contact-list li { gap: 14px; }
}
/* Mobil: lidé ve 2 sloupcích */
@media (max-width: 560px) {
  .people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .person { width: auto; min-width: 0; gap: 12px; align-items: flex-start; text-align: left; }
  .person .contact-list { max-width: 100%; }
  .person .contact-list a { text-align: left; line-height: 1.4; }
  .person__name { font-size: 15px; line-height: 22px; }
  .person__name span { font-size: 13px; }
  .contact-list--sm { font-size: 11.5px; line-height: 26px; justify-content: flex-start; }
  .person .contact-list li { gap: 6px; }
  .contact-list--sm img { width: 16px; height: 16px; }
}

/* =========================================================
   SEZNAM PRODUKTŮ KATEGORIE (Figma 798:32)
   ========================================================= */
.list-intro { margin-top: var(--section-gap); }
.list-intro .intro__inner { align-items: stretch; }
.breadcrumb-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--c-accent); text-decoration: none;
}
.breadcrumb-back img { width: 28px; height: 28px; margin-left: -9px; }   /* ikona má vlastní okraj */
.breadcrumb-back:hover { text-decoration: underline; text-underline-position: from-font; }
.list-intro .intro__title { margin-top: 20px; }
.list-intro__text {
  margin: 20px 0 0;
  max-width: 1138px;
  font-size: 15px;            /* Figma 13 px – zvětšeno kvůli čitelnosti */
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
  margin: var(--section-gap) 0;
  padding: 0;
  list-style: none;
}
.product-card { display: flex; flex-direction: column; gap: 20px; color: inherit; text-decoration: none; }
.product-card__img {
  position: relative; overflow: hidden; aspect-ratio: 276 / 230; background: #adadad;
  transition: box-shadow .3s ease;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card__img::after {        /* jemný přechod dole jako ve Figmě */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 67%, rgba(0,0,0,.2) 100%);
}
.product-card__info { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-card__label { display: block; font-size: 13px; text-transform: uppercase; color: var(--c-accent); }
.product-card__name { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--c-text); }
.product-card__dims { display: block; font-size: 15px; color: var(--c-text); }
.product-card__arrow { position: relative; flex: none; width: 38px; height: 38px; }
.product-card__arrow img { position: absolute; inset: 0; transition: opacity .25s; }
.product-card__arrow .is-hover { opacity: 0; }
.product-card:hover .product-card__img { box-shadow: 0 4px 22px rgba(0,0,0,.30); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card:hover .product-card__arrow .is-hover { opacity: 1; }
.product-card:hover .product-card__arrow .is-default { opacity: 0; }
.product-card:hover .product-card__name { text-decoration: underline; text-underline-position: from-font; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .product-grid { gap: 32px 12px; margin: 48px 0; }
  .product-card { gap: 12px; }
  .product-card__info { gap: 8px; align-items: flex-start; }
  .product-card__label { font-size: 10px; }
  .product-card__name { font-size: 14px; }
  .product-card__dims { font-size: 13px; }
  .product-card__arrow, .product-card__arrow img { width: 28px; height: 28px; }
  .list-intro__text { font-size: 15px; }
}

/* =========================================================
   DETAIL PRODUKTU (3. úroveň) – návrh Claude podle Figmy 803:390
   bez ceny, skladu a košíku; hlavní akce = poptávka
   ========================================================= */
.pd { margin-top: 48px; }
.pd__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 34px;
  align-items: start;
}
/* Galerie */
.pd-gallery__main {
  position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden;
}
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__main img.is-packshot { object-fit: contain; padding: 24px; }
.pd-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.pd-gallery__thumbs button {
  display: block; width: 100%; padding: 0; border: 2px solid transparent; background: #fff; cursor: pointer;
  aspect-ratio: 4 / 3; overflow: hidden; transition: border-color .2s;
}
.pd-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumbs button:hover,
.pd-gallery__thumbs button[aria-current="true"] { border-color: var(--c-accent-light); }

/* Info vpravo */
.pd-info { min-width: 0; }
.pd-info__head { display: flex; gap: 28px; }   /* linka jen u nadpisu */
.pd-info__head .intro__bar { align-self: stretch; }
.pd-info__body { margin-left: 32px; }
.pd-info__title { margin: 0; font-size: clamp(30px, 2vw + 14px, 44px); line-height: 1.15; font-weight: 700; }
.pd-info__sub { margin: 8px 0 0; font-size: 22px; }
.pd-info__code { margin: 12px 0 0; font-size: 13px; color: #6b6b69; }
.pd-info__lead { margin: 30px 0 0; font-size: 19px; line-height: 28px; }

.pd-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin: 34px 0 0; padding: 0; list-style: none;
  background: #e2e2e2; border: 1px solid #e2e2e2;
}
.pd-facts li { background: #fff; padding: 12px 16px; font-size: 15px; line-height: 1.35; }
.pd-facts span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-accent); }
.pd-facts strong { font-size: 17px; }

.pd-variants { margin: 30px 0 0; font-size: 15px; }
.pd-variants ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.pd-variants a, .pd-variants span.is-current {
  display: inline-block; padding: 6px 14px; border-radius: 100px; border: 1px solid #c9c9c7;
  font-size: 14px; color: var(--c-text); text-decoration: none; background: #fff;
}
.pd-variants span.is-current { border-color: var(--c-accent-light); background: var(--c-accent-light); font-weight: 700; color: var(--c-text-dark); }
.pd-variants a:hover { border-color: var(--c-accent); color: var(--c-accent); }

.pd-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 38px 0 0; }
.pd-cta__link { font-weight: 700; font-size: 15px; color: var(--c-text); }
.pd-cta__link:hover { color: var(--c-accent); }
.pd-contact {
  display: flex; align-items: center; gap: 14px; margin: 34px 0 0; padding-top: 30px;
  border-top: 2px solid var(--c-accent-light); font-size: 15px; line-height: 1.45;
}
.pd-contact img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.pd-contact a { color: var(--c-text); font-weight: 700; text-decoration: none; }
.pd-contact a:hover { color: var(--c-accent); text-decoration: underline; }

/* Výhody (pás pod horní částí) */
.pd-usp {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: 66px 0 0; padding: 32px 0; list-style: none;
  border-top: 1px solid #dcdcda; border-bottom: 1px solid #dcdcda;
}
/* ikony a texty podle CZ eshopu */
.pd-usp li { display: flex; align-items: center; gap: 16px; font-size: 15px; line-height: 1.4; }
.pd-usp img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.pd-usp strong { display: block; font-size: 17px; margin-bottom: 2px; }

/* Popis + technická data */
.pd__details {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  margin-top: 66px; align-items: start;
}
.pd-card { background: #fff; padding: 32px; }
.pd h2 { margin: 0 0 20px; font-size: 24px; line-height: 1.25; }
.pd h3 { margin: 38px 0 12px; font-size: 17px; }
.pd-text p, .pd-text ul { margin: 0 0 22px; font-size: 17px; line-height: 28px; }
.pd-text ul { padding-left: 1.2em; }
/* Texty seznamu a detailu do bloku (HP ne); dělení slov (lang="de") brání velkým mezerám */
.pd-text p,
.list-intro__text,
.pd-corten__intro,
.pd-timeline li,
.pd-note { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.pd-specs { width: 100%; border-collapse: collapse; font-size: 16px; }
.pd-specs th, .pd-specs td { padding: 10px 0; border-bottom: 1px solid #ececea; text-align: left; vertical-align: top; }
.pd-specs th { width: 45%; font-weight: 700; padding-right: 16px; }
.pd-list { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 28px; }

/* COR-TEN – patina v čase */
.pd-corten { margin-top: 82px; }
.pd-corten__intro { max-width: 800px; font-size: 17px; line-height: 28px; margin: 0 0 32px; }
.pd-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pd-timeline li { background: #fff; padding: 20px; font-size: 15px; line-height: 1.45; }
.pd-timeline .swatch { display: block; height: 10px; margin: -20px -20px 16px; }
.pd-timeline strong { display: block; font-size: 17px; margin-bottom: 6px; }
.pd-note {
  margin: 24px 0 0; padding: 20px 24px; background: #fff7ef; border-left: 4px solid var(--c-accent-light);
  font-size: 15px; line-height: 1.55;
}
.pd-note strong { display: block; margin-bottom: 4px; font-size: 16px; }

.pd-related { margin-top: 82px; }
.pd-related .product-grid { margin-top: 24px; }

@media (max-width: 1100px) {
  .pd__top, .pd__details { grid-template-columns: 1fr; gap: 32px; }
  .pd-usp, .pd-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pd-info { gap: 16px; }
  .pd-info__sub { font-size: 18px; }
  .pd-info__lead { font-size: 17px; }
  .pd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-facts li { padding: 10px 12px; font-size: 14px; }
  .pd-card { padding: 20px; }
  .pd-usp { gap: 20px 12px; }
  .pd-cta .btn { width: 100%; }
  .pd-gallery__thumbs { gap: 6px; }
}
.breadcrumb-back sup.reg { font-size: .7em; top: -.55em; }
.pd-contact img { flex: none; }
@media (max-width: 560px) { .pd-facts strong { font-size: 15px; } }
@media (max-width: 760px) { .pd-info__body { margin-left: 0; } }
@media (max-width: 560px) { .pd-usp { gap: 24px 12px; } .pd-usp li { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; min-width: 0; } .pd-usp strong { font-size: 15px; hyphens: auto; } .pd-usp img { width: 44px; height: 44px; } }
.pd-specs__note { margin: 8px 0 0; font-size: 13px; color: #8a8a88; }
/* Odkaz na druhou materiálovou variantu kategorie (výpis) */
.list-intro__pair { margin: 14px 0 0; font-size: 15px; }
.list-intro__pair a { color: var(--accent, #d87d26); font-weight: 700; text-decoration: none; }
.list-intro__pair a:hover { text-decoration: underline; text-underline-position: from-font; }
