/* ZL web v3 (nadpisy s vlastní barvou nepřebarvuje; Val. Meziříčí bez duplicitního H1) (tlačítka jen v obsahu #content-wrapper, hlavičku nechává vláknu menu) – vzhled jako na nové homepage pro kategorie, detail produktu, značky a textové stránky. Načítá se z HTML kódů (záhlaví), blok ZL web.
   NEPLATÍ pro úvodní stránku (má vlastní zl-hp) ani pro košík a pokladnu (body.ordering-process). Hlavička: jen dočasně tmavě zelená, dokud vlákno menu nezapne novou (html.zl-menu). Vrácení: smazat blok ZL web. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&display=swap");
body:not(.type-index):not(.ordering-process){--zl-g:#2f6e35;--zl-gd:#1f4d24;--zl-gl:#eef6ec;--zl-line:#e3e8e1;--zl-t:#1f2a22;--zl-x:#3f4d44;--zl-m:#5f6b63;--zl-f:"Fraunces",Georgia,serif;color:var(--zl-x)}

/* HLAVIČKA – dočasně stejná tmavě zelená lišta jako na HP (místo fotky louky) */
html:not(.zl-menu) body:not(.type-index):not(.ordering-process) #header{background:var(--zl-gd)!important;background-image:none!important}
html:not(.zl-menu) body:not(.type-index):not(.ordering-process) #header:before,html:not(.zl-menu) body:not(.type-index):not(.ordering-process) #header:after{background:none!important;background-image:none!important}
html:not(.zl-menu) body:not(.type-index):not(.ordering-process) .header-navigation{background:var(--zl-gd)!important}

/* NADPISY */
body:not(.type-index):not(.ordering-process) h1,body:not(.type-index):not(.ordering-process) .h1,body:not(.type-index):not(.ordering-process) .category-title{font-family:var(--zl-f)!important;font-weight:700!important;color:var(--zl-t)!important;text-transform:none!important;letter-spacing:0!important}
body:not(.type-index):not(.ordering-process) h1{font-size:30px!important;line-height:1.15!important}
body:not(.type-index):not(.ordering-process) .p-detail h1,body:not(.type-index):not(.ordering-process) .p-detail-inner h1{font-size:28px!important}
body:not(.type-index):not(.ordering-process) main h2:not([style*="color"]),body:not(.type-index):not(.ordering-process) main .h2:not([style*="color"]),body:not(.type-index):not(.ordering-process) main h3:not([style*="color"]),body:not(.type-index):not(.ordering-process) main .h3:not([style*="color"]){color:var(--zl-t)!important;text-transform:none!important}
body:not(.type-index):not(.ordering-process) main h2,body:not(.type-index):not(.ordering-process) main .h2{font-family:var(--zl-f)!important;font-weight:700!important}
body:not(.type-index):not(.ordering-process) .breadcrumbs,body:not(.type-index):not(.ordering-process) .breadcrumbs a{color:var(--zl-m)!important;font-size:13px}
body:not(.type-index):not(.ordering-process) .breadcrumbs a:hover{color:var(--zl-g)!important}
body:not(.type-index):not(.ordering-process) main a:not(.btn):not(.p-name):not(.p-image){color:var(--zl-g)}

/* LEVÝ SLOUPEC */
body:not(.type-index):not(.ordering-process) .sidebar h4,body:not(.type-index):not(.ordering-process) .sidebar .h4,body:not(.type-index):not(.ordering-process) .sidebar .box h4{color:var(--zl-t)!important;font-weight:700!important;text-transform:none!important;border-color:var(--zl-line)!important}
body:not(.type-index):not(.ordering-process) .sidebar .categories a{color:var(--zl-x)!important}
body:not(.type-index):not(.ordering-process) .sidebar .categories a:hover,body:not(.type-index):not(.ordering-process) .sidebar .categories .active>a,body:not(.type-index):not(.ordering-process) .sidebar .categories li.active>a,body:not(.type-index):not(.ordering-process) .sidebar .categories a.expanded{color:var(--zl-g)!important}
body:not(.type-index):not(.ordering-process) .sidebar .search-form button,body:not(.type-index):not(.ordering-process) .sidebar .btn,body:not(.type-index):not(.ordering-process) #content-wrapper .search .btn{background:var(--zl-g)!important;border-color:var(--zl-g)!important;color:#fff!important}

body:not(.type-index):not(.ordering-process) .pageElement__heading,body:not(.type-index):not(.ordering-process) .pageElement__heading span{color:var(--zl-t)!important;font-weight:700!important;text-transform:none!important}
body:not(.type-index):not(.ordering-process) .btn--link{color:var(--zl-g)!important}

/* ŘAZENÍ V KATEGORII */
body:not(.type-index):not(.ordering-process) .category-header,body:not(.type-index):not(.ordering-process) .listSorting{border-color:var(--zl-line)!important}
body:not(.type-index):not(.ordering-process) .listSorting__control--current,body:not(.type-index):not(.ordering-process) .listSorting a.active,body:not(.type-index):not(.ordering-process) .category-header .active,body:not(.type-index):not(.ordering-process) .category-header input:checked+label{background:var(--zl-g)!important;border-color:var(--zl-g)!important;color:#fff!important}

/* PRODUKTOVÉ KARTY – stejné jako na HP */
body:not(.type-index):not(.ordering-process) .products-block .p{display:flex!important;flex-direction:column;gap:10px;text-align:left!important}
body:not(.type-index):not(.ordering-process) .products-block .p-image{display:block!important;background:linear-gradient(135deg,#f1f5ef,#e2eadf);border-radius:8px;padding:10px;height:auto!important}
body:not(.type-index):not(.ordering-process) .products-block .p-image img{display:block;margin:0 auto;mix-blend-mode:multiply;max-height:190px;width:auto;object-fit:contain}
body:not(.type-index):not(.ordering-process) .products-block .stars-placeholder,body:not(.type-index):not(.ordering-process) .products-block .p-code,body:not(.type-index):not(.ordering-process) .products-block .p-desc,body:not(.type-index):not(.ordering-process) .products-block .quantity,body:not(.type-index):not(.ordering-process) .products-block .p-tools>a.btn,body:not(.type-index):not(.ordering-process) .products-block .p-tools .btn-primary{display:none!important}
body:not(.type-index):not(.ordering-process) .products-block .p-in{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:6px 8px;padding:0!important;text-align:left!important;height:auto!important;flex:1}
body:not(.type-index):not(.ordering-process) .products-block .p-bottom,body:not(.type-index):not(.ordering-process) .products-block .p-tools{display:contents!important}
body:not(.type-index):not(.ordering-process) .products-block .p-bottom{visibility:visible!important;opacity:1!important}
body:not(.type-index):not(.ordering-process) .products-block .p-bottom *{visibility:visible!important}
body:not(.type-index):not(.ordering-process) .products-block .p-name{grid-column:1/-1;order:1;min-height:0!important;height:auto!important;margin:0!important;text-align:left!important}
body:not(.type-index):not(.ordering-process) .products-block .p-name span{text-transform:none!important;font-size:14px!important;font-weight:700!important;line-height:1.3!important;color:var(--zl-t)!important;text-align:left!important}
body:not(.type-index):not(.ordering-process) .products-block .p-name:hover span{color:var(--zl-g)!important}
body:not(.type-index):not(.ordering-process) .products-block .availability{grid-column:1/-1;order:2;margin:0!important;text-align:left!important;font-size:12px!important}
body:not(.type-index):not(.ordering-process) .products-block .availability *{text-transform:none!important;font-size:12px!important;font-weight:700!important}
body:not(.type-index):not(.ordering-process) .products-block .p-in>div:not(.p-bottom):not(.stars-placeholder){order:3;margin:0!important;text-align:left!important}
body:not(.type-index):not(.ordering-process) .products-block .prices,body:not(.type-index):not(.ordering-process) .products-block .prices-top,body:not(.type-index):not(.ordering-process) .products-block .price{text-align:left!important;justify-content:flex-start!important;margin:0!important}
body:not(.type-index):not(.ordering-process) .products-block .price-final strong{font-size:16px!important;font-weight:700!important;color:var(--zl-t)!important}
body:not(.type-index):not(.ordering-process) .products-block .pr-list-unit,body:not(.type-index):not(.ordering-process) .products-block .price-measure{font-size:12px!important;color:var(--zl-m)!important}
body:not(.type-index):not(.ordering-process) .products-block form.pr-action{order:4;margin:0!important;display:block!important;width:auto!important}
body:not(.type-index):not(.ordering-process) .products-block .add-to-cart-button{background:var(--zl-g)!important;border-color:var(--zl-g)!important;color:#fff!important;border-radius:6px!important;padding:7px 11px!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;min-height:0!important;height:auto!important;width:auto!important;text-transform:none!important;box-shadow:none!important}
body:not(.type-index):not(.ordering-process) .products-block .add-to-cart-button:hover{filter:brightness(1.1)}

/* DETAIL PRODUKTU */
body:not(.type-index):not(.ordering-process) .p-detail .price-final,body:not(.type-index):not(.ordering-process) .p-detail .price-final strong,body:not(.type-index):not(.ordering-process) .p-detail .price-final-holder{color:var(--zl-t)!important;font-size:26px!important;font-weight:700!important;font-family:inherit}
body:not(.type-index):not(.ordering-process) .p-detail .availability-label{background:var(--zl-gl)!important;color:var(--zl-g)!important;border-radius:6px!important;font-weight:700!important;text-transform:none!important}
body:not(.type-index):not(.ordering-process) .p-detail .add-to-cart-button,body:not(.type-index):not(.ordering-process) #content-wrapper .btn.btn-conversion,body:not(.type-index):not(.ordering-process) #content-wrapper .btn-cart{background:var(--zl-g)!important;border-color:var(--zl-g)!important;color:#fff!important;border-radius:8px!important;font-weight:700!important;text-transform:none!important;box-shadow:none!important}
body:not(.type-index):not(.ordering-process) .p-detail .add-to-cart-button:hover,body:not(.type-index):not(.ordering-process) #content-wrapper .btn.btn-conversion:hover{filter:brightness(1.1)}
body:not(.type-index):not(.ordering-process) .p-detail .quantity{border-radius:8px!important}
body:not(.type-index):not(.ordering-process) .p-detail .quantity button,body:not(.type-index):not(.ordering-process) .p-detail .quantity .increase,body:not(.type-index):not(.ordering-process) .p-detail .quantity .decrease{color:var(--zl-g)!important}
body:not(.type-index):not(.ordering-process) .p-detail-tabs a,body:not(.type-index):not(.ordering-process) .shp-tabs-wrapper a{color:var(--zl-x)!important;text-transform:none!important}
body:not(.type-index):not(.ordering-process) .p-detail-tabs .active a,body:not(.type-index):not(.ordering-process) .shp-tabs-wrapper li.active a,body:not(.type-index):not(.ordering-process) .shp-tabs-wrapper .shp-tab-link.active{color:var(--zl-g)!important;border-color:var(--zl-g)!important}
body:not(.type-index):not(.ordering-process) #content-wrapper .btn.btn-primary{background:var(--zl-g)!important;border-color:var(--zl-g)!important;color:#fff!important;text-transform:none!important}
body:not(.type-index):not(.ordering-process) #content-wrapper .btn.btn-secondary,body:not(.type-index):not(.ordering-process) #content-wrapper .btn.btn-default{background:#fff!important;border-color:var(--zl-g)!important;color:var(--zl-gd)!important;text-transform:none!important}

/* PRUH VÝHOD pod obsahem – světle zelený jako na HP */
body:not(.type-index):not(.ordering-process) .benefitBanner{background:var(--zl-gl)!important;border-radius:10px}

/* v3: stránka Val. Meziříčí (id 4961) – nadpis stránky jen pro vyhledávače, vizuálně začíná úvodní fotkou jako v návrhu */
.id-4961 .pageArticleDetail>h1,.id-4961 main#content>h1,.id-4961 .content-wrapper-in h1:not([style]){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important}
