/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.pajskr.cz
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
.yoast-breadcrumbs {color:#fff; font-size:14px;}
.yoast-breadcrumbs a{color:#fff;}

/* změnšení fontu kvůli dlouhým názvům ve FR menu */

.page-id-792 .main-navigation .primary-menu-container > ul li.menu-item > a {
    font-size: 18px;
}

/* Název jazyka vedle vlajky */
li.lang-item a::after {
    
    text-transform: uppercase;
    margin-left: 8px;
    font-size: 13px;
}



/* Velikost vlajky */
li.lang-item a img {
    width: 24px !important;
    height: auto !important;
    display: block !important;
}

.blog .post-thumbnail img {
    border-radius: 10px;
}

.blog .wp-block-image img {border-radius:10px !important; }

.wp-block-kadence-image.imghlavnikategorieloop .kb-is-ratio-image img {
    object-fit: contain !important;
}

.kb-gallery-ul .kadence-blocks-gallery-thumb-item .kadence-blocks-gallery-thumb-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img {
    object-fit: contain !important;
	background: #fff;
}

/* Hlavní stránka */

.home-cat__tags
 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.home-cat__tags span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-2);
    background: var(--global-palette7);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    padding: 4px 8px;
    white-space: nowrap;
}

/* Stránka Produkty */

.produktycat .wp-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
	margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.produktycat .wp-block-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f1ece3;
 
}

.produktycat .wp-block-list li:hover {
    background: #f5f5f5;
    padding-left: 28px;
}

.produktycat .wp-block-list li::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background-color: currentColor;
    opacity: 0.4;
    transition: opacity var(--t-fast), transform var(--t-fast);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7h8M8 4l3 3-3 3' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7h8M8 4l3 3-3 3' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.produktycat .wp-block-list li:hover::after {
    opacity: 0.7;
    transform: translateX(3px);
}

.produktycat .wp-block-kadence-column > .kt-inside-inner-col {
    display: flex !important;
    flex-direction: column !important;
}

.produktycat .wp-block-kadence-column > .kt-inside-inner-col > .wp-block-kadence-column {
    flex-shrink: 0;
}

.produktycat .zbrazitbtn {
    margin-top: auto !important;
	margin: -24px;
    padding: 14px;
	background: #ebf8ee;
	color: #166930;
}


.cube-popis__toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #166930;
    cursor: pointer;
    margin-top: 4px;
}
.cube-popis__toggle:hover {
    text-decoration: underline;
}

.cube-popis-auto { 
	font-size: 15px;
	color: #4a4a4a;
	max-width: 860px;
}

/* ============================================================
   1-CUBE — Hero sekce produktové stránky
   Třída: .hero-produkty (Kadence Row → CSS Class)
   Vložit do: Vzhled → Přidat vlastní CSS
   ============================================================ */

/* ============================================================
   HERO WRAPPER
   ============================================================ */
.hero-produkty {
  background: #F3F7F3;
  border-bottom: 1px solid #E0EDE0;
  padding: 48px 0 56px !important;
}

.hero-produkty .kt-row-column-wrap {
  gap: 56px !important;
  align-items: start;
}

.hero-tmavy .yoast-breadcrumbs {
    color: #5a7a5a;
    font-size: 14px;
}

/* ============================================================
   LEVÝ SLOUPEC — galerie
   Hlavní slider: splide:not(.splide--nav)
   Thumbnail strip: splide--nav
   ============================================================ */

/* Hlavní slider track — rámeček a zaoblení (NE thumbnail) */
.hero-produkty .kb-gallery-type-thumbslider .splide:not(.splide--nav) .splide__track {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #C8DCC8;
  background: #fff;
}

/* Hlavní obrázek — výška */
.hero-produkty .kb-gallery-type-thumbslider .splide:not(.splide--nav) .kb-gallery-image-contain {
  height: 420px !important;
  max-height: 420px;
}
.hero-produkty .kb-gallery-type-thumbslider .splide:not(.splide--nav) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Thumbnail strip */
.hero-produkty .splide--nav {
  margin-top: 10px;
}
.hero-produkty .splide--nav .splide__slide {
  border-radius: 7px;
  overflow: hidden;
  border: 2px solid #D8EAD8 !important;
  opacity: 0.7;
  transition: border-color 0.2s, opacity 0.2s;
  cursor: pointer;
}
.hero-produkty .splide--nav .splide__slide:hover {
  border-color: #2E7D32 !important;
  opacity: 1;
}
.hero-produkty .splide--nav .splide__slide.is-active {
  border-color: #2E7D32 !important;
  opacity: 1;
}

/* ============================================================
   PRAVÝ SLOUPEC — H1, popis, ul, tlačítko
   Reálná struktura:
     h1.wp-block-kadence-advancedheading
     div.wp-block-kadence-advancedheading > p + ul + p
     div.kb-buttons-wrap
   ============================================================ */

.hero-produkty .wp-block-kadence-column:last-child .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

/* H1 nadpis produktu */
.hero-produkty .wp-block-kadence-column:last-child h1.wp-block-kadence-advancedheading {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin: 0 0 4px 0;
}

/* Div s obsahem (p + ul) uvnitř advancedheading divu */
.hero-produkty .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading p {
  font-size: 15px;
  color: #3A5A3A;
  line-height: 1.75;
  margin: 0 0 10px 0;
}
.hero-produkty .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading p:last-child {
  margin-bottom: 0;
}

/* UL — kartičky bez odrážky */
.hero-produkty .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-produkty .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading ul li {
  background: #fff;
  border: 1px solid #D8EAD8;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: #3A5A3A;
  line-height: 1.6;
  list-style: none;
}
.hero-produkty .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading ul li::before {
  display: none;
}
/* Strong v li — zelená inline */
.hero-produkty .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading ul li strong {
  color: #2E7D32;
  font-weight: 700;
}

/* Tlačítko — kb-buttons-wrap */
.hero-produkty .wp-block-kadence-column:last-child .kb-buttons-wrap {
  margin-top: 6px;
}
.hero-produkty .wp-block-kadence-column:last-child .kb-buttons-wrap .kb-button {
  background: #2E7D32 !important;
  color: #fff !important;
  border-color: #2E7D32 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  transition: background 0.2s !important;
}
.hero-produkty .wp-block-kadence-column:last-child .kb-buttons-wrap .kb-button:hover {
  background: #256427 !important;
  border-color: #256427 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-produkty .kt-row-column-wrap {
    gap: 36px !important;
  }
  .hero-produkty .wp-block-kadence-column:last-child h1.wp-block-kadence-advancedheading {
    font-size: 26px;
  }
  .hero-produkty .kb-gallery-type-thumbslider .splide:not(.splide--nav) .kb-gallery-image-contain {
    height: 320px !important;
  }
}

@media (max-width: 800px) {
  .hero-produkty {
    padding: 32px 0 40px !important;
  }
  .hero-produkty .kt-row-column-wrap {
    gap: 24px !important;
  }
  .hero-produkty .kb-gallery-type-thumbslider .splide:not(.splide--nav) .kb-gallery-image-contain {
    height: 260px !important;
  }
  .hero-produkty .wp-block-kadence-column:last-child h1.wp-block-kadence-advancedheading {
    font-size: 22px;
  }
}

/* ============================================================
   1-CUBE — Obsah produktové stránky (levý sloupec s textem)
   Cílí na: .single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col
   Vložit do: Vzhled → Přidat vlastní CSS
   ============================================================ */

/* ============================================================
   ZÁKLADNÍ TYPOGRAFIE
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col {
  font-size: 15px;
  color: #3A5A3A;
  line-height: 1.75;
}

/* ============================================================
   ODSTAVCE
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p {
  font-size: 15px;
  color: #3A5A3A;
  line-height: 1.75;
  margin-bottom: 14px;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   PSEUDO-NADPISY: <p><strong><u>Text</u></strong></p>
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p:has(> strong > u) {
  font-size: 17px;
  font-weight: 700;
  color: #1A2E1A;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E8F4E8;
  line-height: 1.3;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p > strong > u {
  text-decoration: none;
  color: #1A2E1A;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p:has(> strong > u):first-child {
  margin-top: 0;
}

/* ============================================================
   ČÍSLOVANÝ SEZNAM  ol
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ol {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: ol-counter;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ol li {
  counter-increment: ol-counter;
  background: #F8FAF8;
  border: 1px solid #D8EAD8;
  border-radius: 10px;
  padding: 14px 18px 14px 52px;
  font-size: 14px;
  color: #3A5A3A;
  line-height: 1.65;
  position: relative;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  background: #2E7D32;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ol li strong:first-child {
  display: block;
  font-size: 15px;
  color: #1A2E1A;
  margin-bottom: 3px;
}

/* ============================================================
   ODRÁŽKOVÝ SEZNAM  ul (první úroveň)
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul li {
  font-size: 15px;
  color: #3A5A3A;
  line-height: 1.65;
  padding-left: 22px;
  position: relative;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #2E7D32;
  font-weight: 700;
  font-size: 14px;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul li strong {
  color: #1A2E1A;
}

/* VNOŘENÝ UL (příslušenství — ul > li > ul) */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul li ul {
  margin: 8px 0 0 0;
  gap: 6px;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul li ul li {
  font-size: 14px;
  padding-left: 18px;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ul li ul li::before {
  content: '–';
  color: #7A9A7A;
  font-weight: 400;
  font-size: 14px;
}

/* ============================================================
   TABULKY — figure.wp-block-table I holé <table>
   ============================================================ */

/* Figure wrapper (pokud přítomen) */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table {
  margin: 0 0 24px 0;
  overflow-x: auto;
}

/* Společné styly pro oba případy */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #D8EAD8;
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Záhlaví — první řádek tbody */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:first-child,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:first-child {
  background: #2E7D32;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:first-child td,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:first-child td {
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 14px;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.2);
  text-align: left;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:first-child td:last-child,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:first-child td:last-child {
  border-right: none;
}

/* Datové řádky */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr {
  border-bottom: 1px solid #E8F4E8;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:last-child,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:last-child {
  border-bottom: none;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:nth-child(even):not(:first-child),
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:nth-child(even):not(:first-child) {
  background: #F8FAF8;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:nth-child(odd):not(:first-child),
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:nth-child(odd):not(:first-child) {
  background: #fff;
}

/* Buňky */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody td,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody td {
  padding: 10px 14px;
  color: #1A2E1A;
  border-right: 1px solid #E8F4E8;
  line-height: 1.5;
  vertical-align: middle;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody td:last-child,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody td:last-child {
  border-right: none;
}

/* První sloupec — zvýraznění */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-table table tbody tr:not(:first-child) td:first-child,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:not(:first-child) td:first-child {
  background: #F3F7F3;
  font-weight: 600;
  color: #2E5A2E;
}

/* ============================================================
   TABULKA — ANO / NE → fajfka / křížek
   JS (1cube-ano-ne.js) přidá třídy cell--ano a cell--ne
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden td.cell--ano,
.single-produkty-cube .kt-row-layout-left-golden td.cell--ne {
  font-size: 0;
  color: transparent;
  text-align: center;
  vertical-align: middle;
}
.single-produkty-cube .kt-row-layout-left-golden td.cell--ano::before {
  content: '✓';
  font-size: 16px;
  font-weight: 700;
  color: #2E7D32;
  display: inline-block;
}
.single-produkty-cube .kt-row-layout-left-golden td.cell--ne::before {
  content: '✗';
  font-size: 16px;
  font-weight: 700;
  color: #C62828;
  display: inline-block;
}

/* ============================================================
   OBRÁZKY  figure.wp-block-image
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-image {
  margin: 24px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #D8EAD8;
  display: inline-block;
}
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col figure.wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   KURZÍVA — popisky (strong > em nebo em)
   ============================================================ */
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p > em,
.single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col p > strong > em {
  font-size: 13px;
  color: #7A9A7A;
  font-style: italic;
  font-weight: 400;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 800px) {
  .single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
  }
  .single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col table tbody tr:not(:first-child) td:first-child {
    min-width: 100px;
  }
  .single-produkty-cube .kt-row-layout-left-golden .kt-inside-inner-col ol li {
    padding-left: 44px;
  }
}

/* ============================================================
   DOKUMENTY KE STAŽENÍ  (.doc-list / .doc-item)
   Shortcode: [ke_stazeni]
   ============================================================ */
.prod-section { 
    background: #F3F7F3;
    padding: 15px;
    margin-top: 25px;
    border-radius: 12px;
	border: 1px solid #C8DCC8;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #D8EAD8;
  border-radius: 10px;
  padding: 16px 20px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.doc-item:hover {
  background: #F0F8F0;
  border-color: #2E7D32;
  box-shadow: 0 4px 16px rgba(46,125,50,0.1);
}
.doc-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.doc-title {
  font-size: 14px;
  font-weight: 600;
  color: #1A2E1A;
}
.doc-type {
  font-size: 12px;
  color: #7A9A7A;
}
.doc-arrow {
  flex-shrink: 0;
  transition: transform 0.15s;
}
.doc-item:hover .doc-arrow {
  transform: translateX(4px);
}


/* ============================================================
   FAQ ACCORDION  (.faq-list / .faq-item)
   Shortcode: [faq_produkty]
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid #D8EAD8;
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: #1A2E1A;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #2E7D32;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary {
  color: #2E7D32;
  border-bottom: 1px solid #D8EAD8;
}
.faq-item__body {
  padding: 16px 20px;
  font-size: 14px;
  color: #3A5A3A;
  line-height: 1.7;
}
.faq-item__body p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #3A5A3A;
  line-height: 1.7;
}
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body ul,
.faq-item__body ol {
  padding-left: 20px;
  margin: 8px 0 12px 0;
}
.faq-item__body li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #3A5A3A;
  line-height: 1.65;
}
.faq-item__body strong { color: #1A2E1A; }


/* ============================================================
   1-CUBE — Sidebar produktové stránky
   Shortcode: [produkt_sidebar]
   Vložit do: Vzhled → Přidat vlastní CSS
   ============================================================ */

/* ============================================================
   WRAPPER
   ============================================================ */
.prod-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================================
   1. POPTÁVKOVÝ BOX
   ============================================================ */
.sidebar-inquiry {
  background: #F3F7F3;
  border: 1px solid #C8DCC8;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-inquiry h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1A2E1A;
  margin: 0;
}
.sidebar-inquiry .btn--primary {
  background: #2E7D32;
  color: #fff;
  border: 2px solid #2E7D32;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.sidebar-inquiry .btn--primary:hover {
  background: #256427;
  border-color: #256427;
  color: #fff;
}
.sidebar-inquiry__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding-top: 4px;
  border-top: 1px solid #C8DCC8;
  margin-top: 4px;
}
.sidebar-inquiry__contact a {
  color: #2E7D32;
  font-weight: 600;
  text-decoration: none;
}
.sidebar-inquiry__contact a:hover {
  text-decoration: underline;
}

/* ============================================================
   2. TOC — NAVIGACE OBSAHEM
   ============================================================ */
.sidebar-toc {
  background: #fff;
  border: 1px solid #D8EAD8;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-toc h4 {
  font-size: 12px;
  font-weight: 700;
  color: #1A2E1A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
}
.sidebar-toc a {
  font-size: 13px;
  color: #5A7A5A;
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  display: block;
  text-decoration: none;
}
.sidebar-toc a:hover {
  background: #F0F7F0;
  color: #2E7D32;
}
.sidebar-toc a.active {
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 600;
}

/* ============================================================
   3. SOUVISEJÍCÍ PŘÍSTROJE
   ============================================================ */
.sidebar-related {
  background: #fff;
  border: 1px solid #D8EAD8;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-related h4 {
  font-size: 12px;
  font-weight: 700;
  color: #1A2E1A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
}
.sidebar-related__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 7px;
  font-size: 13px;
  color: #3A5A3A;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sidebar-related__item:hover {
  background: #F0F7F0;
  color: #2E7D32;
}
.pnav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 2px 6px;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8DCC8;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ============================================================
   TOC — aktivní položka při scrollu (JS níže)
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 800px) {
  .prod-sidebar {
    position: static;
  }
}





/* ============================================================
   1-CUBE — Výpis kategorií (.cat-grid / .cat-card)
   Shortcode: [produkty_kategorie]
   Vložit do: Vzhled → Přidat vlastní CSS
   ============================================================ */

/* ============================================================
   GRID — 3 sloupce
   ============================================================ */
.produktykategorie .cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* ============================================================
   KARTA
   ============================================================ */
.produktykategorie .cat-card {
  background: #fff;
  border: 1px solid #E6E0D6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.produktykategorie .cat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  border-color: #239E46;
  transform: translateY(-3px);
}

/* ============================================================
   OBRÁZEK
   ============================================================ */
.produktykategorie .cat-card__img-wrap {
  display: block;
  overflow: hidden;
  height: 200px;
  background: #fff;
  flex-shrink: 0;
  border-bottom: 1px solid #F1ECE3;
}
.produktykategorie .cat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 20px;
  transition: transform 0.4s ease;
}
.produktykategorie .cat-card:hover .cat-card__img-wrap img {
  transform: scale(1.05);
}
.produktykategorie .cat-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #F4F2ED;
}

/* ============================================================
   TĚLO — nadpis + popis
   ============================================================ */
.produktykategorie .cat-card__body {
  padding: 22px 24px 18px;
  border-bottom: 1px solid #E6E0D6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.produktykategorie .cat-card__body h2 {
  font-size: 19px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.2;
  margin: 0;
  border: none;
  padding: 0;
}
.produktykategorie .cat-card__body p {
  font-size: 13px;
  color: #4A4A4A;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SUBKATEGORIE / PRODUKTY
   ============================================================ */
.produktykategorie .cat-card__subcats {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.produktykategorie .cat-card__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 24px;
  font-size: 13px;
  color: #1A1A1A;
  text-decoration: none;
  border-bottom: 1px solid #F1ECE3;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.produktykategorie .cat-card__sublink:last-child {
  border-bottom: none;
}
.produktykategorie .cat-card__sublink svg {
  flex-shrink: 0;
  color: #8A8A8A;
  transition: color 0.2s ease, transform 0.2s ease;
}
.produktykategorie .cat-card__sublink:hover {
  background: #EBF8EE;
  color: #166930;
  padding-left: 28px;
}
.produktykategorie .cat-card__sublink:hover svg {
  color: #166930;
  transform: translateX(3px);
}

/* ============================================================
   PATIČKA — CTA odkaz
   ============================================================ */
.produktykategorie .cat-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  color: #166930;
  text-decoration: none;
  background: #EBF8EE;
  border-top: 1px solid #E6E0D6;
  transition: background 0.2s ease, color 0.2s ease;
}
.produktykategorie .cat-card__footer svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.produktykategorie .cat-card__footer:hover {
  background: #daf0e0;
  color: #1E8239;
}
.produktykategorie .cat-card__footer:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .produktykategorie .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .produktykategorie .cat-grid {
    grid-template-columns: 1fr;
  }
  .produktykategorie .cat-card__img-wrap {
    height: 160px;
  }
}




/* ============================================================
   1-CUBE — Výpis subkategorií (.subcat-grid / .subcat-card)
   Shortcode: [subkategorie_vypis]
   Vložit do: Vzhled → Přidat vlastní CSS
   ============================================================ */

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

/* ============================================================
   KARTA — odkaz
   ============================================================ */
.subcat-card {
  background: #fff;
  border: 1px solid #E6E0D6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.subcat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  border-color: #239E46;
  transform: translateY(-2px);
  color: inherit;
}

/* ============================================================
   OBRÁZEK
   ============================================================ */
.subcat-card__img {
  display: block;
  background: #fff;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid #F1ECE3;
  padding: 16px;
  flex-shrink: 0;
}
.subcat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.subcat-card:hover .subcat-card__img img {
  transform: scale(1.06);
}

/* ============================================================
   TĚLO — název + popis
   ============================================================ */
.subcat-card__body {
  padding: 18px 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.subcat-card__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.25;
  margin: 0;
}
.subcat-card__body p {
  font-size: 13px;
  color: #4A4A4A;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PATIČKA
   ============================================================ */
.subcat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #F1ECE3;
  font-size: 12.5px;
  font-weight: 600;
  color: #166930;
}
.subcat-card__footer svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.subcat-card:hover .subcat-card__footer {
  background: #daf0e0;
}
.subcat-card:hover .subcat-card__footer svg {
  transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .subcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .subcat-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   1-CUBE — Výpis produktů (.product-grid / .product-card)
   Shortcode: [produkty_vypis]
   Vložit do: Vzhled → Přidat vlastní CSS
   ============================================================ */

/* ============================================================
   HLAVIČKA SEKCE — nadpis + počet
   ============================================================ */
.product-listing__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.product-listing__title {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  border: none;
  padding: 0;
}
.product-listing__count {
  font-size: 13px;
  color: #8A8A8A;
}

/* ============================================================
   GRID — 4 sloupce
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ============================================================
   KARTA
   ============================================================ */
.product-card {
  background: #fff;
  border: 1px solid #E6E0D6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  border-color: #239E46;
  transform: translateY(-2px);
  color: inherit;
}

/* ============================================================
   OBRÁZEK
   ============================================================ */
.product-card__img {
  display: block;
  background: #fff;
  padding: 16px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid #F1ECE3;
  flex-shrink: 0;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img img {
  transform: scale(1.06);
}

/* ============================================================
   TĚLO — název + CTA
   ============================================================ */
.product-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card__name {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.45;
}
.product-card__cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: #166930;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}
.product-card:hover .product-card__cta {
  gap: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}