/* hfm-filtry 1.1.1 (11. 11. 2026, Petr: „zruš domů a dej kartu s doporučujeme na osu modulu s výběrem“): Průvodce výběrem bez drobečků (Domů › …); karta Doporučujeme jen vedle modulu výběru (místnosti + otázky) – horní hrana s fotkami, spodní s otázkami, ne přes nadpis; základ 1.1.0. */
/* hfm-filtry 1.1.0 (11. 11. 2026, Petr 413 ano): k HIFI Finderu 3.9.0 – drobečky na stránce výsledků zarovnané s obsahem (Průvodce řeší hfm-tools 1.2.58+) (dřív odsazené o šířku panelu); Průvodce výběrem na monitoru v jedné obrazovce: jeden nadpis, místnosti v jedné řadě, otázky hned pod nimi, doporučená sestava vedle (zůstává na očích), tři sestavy výš. Mobil beze změny. */
/* hfm-filtry 1.0.0 (10. 11. 2026): HIFI Finder 3.8.0 – stránka výsledků bez posunu; panel filtrů v kategoriích moderní (bez vnořených posuvníků, zaoblený, zaškrtávátka v barvě webu, čitelné počty, cena na jednom řádku, Značky po 8) – stejný vzhled mají filtry Finderu. Načítat v záhlaví ZA hfm-tools CSS. */

/* ---------- HIFI Finder 3.8.0 (10. 11. 2026, Petr: vzhled výsledků Finderu) ----------
   Stránka /hifi-finder/ bez posunu při načtení: postranní panel pryč, obsah na celou šířku, jeden nadpis (nadpis stránky
   Shoptetu skrytý, nadpis „Výsledky hledání: … (počet)“ kreslí Finder), v drobečcích „Výsledky hledání“ místo interního
   názvu, místo pro výsledky rezervované předem (Finder běží až po vykreslení stránky). Vzhled výsledků je v hifi-finder JS. */
body.in-hifi-finder aside.sidebar-left,body.in-hifi-finder aside.sidebar{display:none!important}
body.in-hifi-finder #content,body.in-hifi-finder #content.narrow{width:100%!important;max-width:100%!important;flex:0 0 100%!important;margin-left:0!important;padding-left:0!important}
body.in-hifi-finder .content-inner,body.in-hifi-finder .content-inner>div,body.in-hifi-finder .pageArticleDetail{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.in-hifi-finder .pageArticleDetail>header{display:none!important}
body.in-hifi-finder #navigation-1 [itemprop="name"]{font-size:0!important}
body.in-hifi-finder #navigation-1 [itemprop="name"]::after{content:"Výsledky hledání";font-size:16px}
body.in-hifi-finder #hf-results{display:block;min-height:calc(100vh - 160px)}
@media(max-width:767px){body.in-hifi-finder #hf-results{min-height:calc(100vh - 120px)}}
/* ---------- konec HIFI Finder 3.8.0 ---------- */

/* ---------- Panel filtrů v kategoriích (Petr 10. 11.: „okno filtru je stále hranaté, old school“) ----------
   Bílý zaoblený panel bez šedých bloků, sekce oddělené jemnou čarou, bez vnořených posuvníků (celý panel i Značky),
   Značky: prvních 8 + „Zobrazit všech N“ (počítá CSS čítač, rozbalení klepnutím – hifi-finder 3.8.0), zaškrtávátka
   v barvě webu, počty čitelně v štítku, cena od–do na jednom řádku. Stejný vzhled mají filtry ve Finderu. */
body.type-category aside .box-categories{background:#fff!important;border:1px solid #e3e8eb;border-radius:14px;padding:18px 18px 8px!important;box-shadow:0 10px 30px -22px rgba(15,35,45,.35)}
body.type-category aside .box-categories>h3,body.type-category aside .box-categories>h3 span{background:transparent!important}
body.type-category aside .box-categories #categories{max-height:none!important;overflow:visible!important;background:transparent!important}
body.type-category aside .filters-wrapper{border:0!important;border-top:1px solid #e9edef!important;border-radius:0!important;padding:4px 0 0!important;margin:10px 0 0!important;background:transparent!important}
body.type-category aside .filters-wrapper>h4{padding:12px 0!important;background:transparent!important;font-size:17px!important}
body.type-category #filters,body.type-category #filters #category-filter-hover,body.type-category #filters #category-filter-hover>.filter-section,body.type-category #filters .slider-wrapper,body.type-category #filters .filter-section-boolean,body.type-category #filters .filter-section h4,body.type-category #filters .slider-wrapper h4{background:transparent!important}
body.type-category #filters .slider-wrapper,body.type-category #filters .filter-section-boolean{margin:0!important;padding:0 0 14px!important;border-bottom:1px solid #edf0f2}
body.type-category #filters .filter-section-boolean{padding:14px 0!important}
body.type-category #filters .filter-section-boolean .param-filter-top{padding:0!important}
body.type-category #filters #category-filter-hover>.filter-section{border-bottom:1px solid #edf0f2!important}
body.type-category #filters #category-filter-hover>.filter-section-count{border-bottom:0!important}
body.type-category #filters .filter-section>h4,body.type-category #filters .slider-wrapper>h4{position:relative;padding:14px 28px 10px 0!important;margin:0!important;font-size:16px!important;font-weight:600!important;line-height:1.3!important}
body.type-category #filters .filter-section>h4::after{left:auto!important;right:0!important;top:0!important;width:24px!important;height:100%!important;background-size:14px auto!important}
/* bez vnořených posuvníků: otevřená sekce v plné výšce, Značky bez pevné výšky */
body.type-category #filters #category-filter-hover>.filter-section:not([data-hfm-filter-closed])>h4+form{max-height:none!important;overflow:visible!important;padding:0 0 12px!important;margin:0!important}
body.type-category #filters #manufacturer-filter fieldset{max-height:none!important;min-height:0!important;overflow:visible!important}
body.type-category #filters fieldset>div{display:block!important;position:relative;height:auto!important;min-height:30px;margin:0!important;padding:3px 0;line-height:24px!important;white-space:normal!important}
body.type-category #filters #manufacturer-filter fieldset>div[style*="none"]{display:none!important}
body.type-category #filters fieldset{margin:0!important;padding:0!important;border:0!important;min-width:0}
body.type-category #filters fieldset>.advanced-filters-wrapper:empty{display:none!important}
body.type-category #filters .filter-section>h4+form{margin-top:0!important;padding-top:0!important}
body.type-category #filters .param-filter-top form{margin:0!important;padding:0!important}
/* zaškrtávátka v barvě webu */
body.type-category #filters fieldset input[type=checkbox],body.type-category #filters fieldset input[type=radio]{position:absolute!important;left:0!important;top:5px!important;width:20px!important;height:20px!important;margin:0!important;opacity:0!important;z-index:1;cursor:pointer}
body.type-category #filters label.filter-label{display:flex!important;align-items:flex-start;gap:8px;width:100%!important;padding:0 0 0 32px!important;font-size:15px!important;line-height:24px!important;white-space:normal!important;cursor:pointer}
body.type-category #filters label.filter-label::before{content:""!important;display:block!important;position:absolute!important;left:0!important;top:2px!important;width:20px!important;height:20px!important;box-sizing:border-box;border:1.5px solid #a3adb3!important;border-radius:6px!important;background:#fff center/14px 14px no-repeat!important;transform:none!important;transition:background-color .15s,border-color .15s}
body.type-category #filters label.filter-label::after{content:none!important;display:none!important}
body.type-category #filters fieldset div:hover>label.filter-label::before{border-color:#1c96b7!important}
body.type-category #filters input:checked+label.filter-label::before{border-color:#1c96b7!important;background-color:#1c96b7!important;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M3.5 8.5l3 3 6-7%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E")!important}
body.type-category #filters input:focus-visible+label.filter-label::before{box-shadow:0 0 0 3px rgba(28,150,183,.3)}
body.type-category #filters input:disabled+label.filter-label{opacity:.45}
/* počty čitelně */
body.type-category #filters label.filter-label .filter-count{position:static!important;flex:none;margin:2px 0 0 auto!important;padding:0 8px!important;transform:none!important;border:0!important;border-radius:999px!important;background:#f1f4f6!important;color:#4f5b62!important;font-size:12px!important;font-weight:600!important;line-height:20px!important;width:auto!important;height:auto!important}
body.type-category #filters input:checked+label.filter-label .filter-count{background:#e3f3f7!important;color:#0f6f88!important}
/* Značky: prvních 8, zbytek po „Zobrazit všech N“ (čítač počítá jen značky, které kategorie opravdu nabízí) */
body.type-category #filters #manufacturer-filter form{counter-reset:hfz}
body.type-category #filters #manufacturer-filter fieldset>div:not([style*="none"]){counter-increment:hfz}
body.type-category #filters #manufacturer-filter fieldset:not(.hf-open)>div:nth-child(n+9 of div:not([style*="none"])):not(:has(input:checked)){height:0!important;min-height:0!important;padding:0!important;overflow:hidden;visibility:hidden}
body.type-category #filters #manufacturer-filter fieldset:has(>div:nth-child(9 of div:not([style*="none"])))::after,body.type-category #filters #manufacturer-filter .hf-fold-btn{content:"Zobrazit všech " counter(hfz);display:block;height:34px;margin:4px 0 0;padding:0;border:0;background:none;color:#1c96b7;font:600 14px/34px Inter,sans-serif;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body.type-category #filters #manufacturer-filter .hf-fold-btn::before{content:"Zobrazit všech " counter(hfz)}
body.type-category #filters #manufacturer-filter fieldset.hf-open+.hf-fold-btn::before{content:"Zobrazit méně"}
body.type-category #filters #manufacturer-filter fieldset.hf-js::after{content:none!important;display:none!important}
body.type-category #filters #manufacturer-filter fieldset:not(:has(>div:nth-child(9 of div:not([style*="none"]))))+.hf-fold-btn{display:none}
/* cena: od–do na jednom řádku, posuvník v barvě webu */
body.type-category #filters .slider-wrapper,body.type-category #filters .slider-wrapper>h4{text-align:left!important}
body.type-category #filters .slider-header{width:100%!important;box-sizing:border-box;margin:0!important;display:flex!important;justify-content:space-between!important;gap:8px;padding:2px 0 14px!important;font-size:14px!important;line-height:1.3!important}
body.type-category #filters .slider-header::before,body.type-category #filters .slider-header::after{content:none!important;display:none!important}
body.type-category #filters .slider-header>span{display:block!important;width:auto!important;min-width:0;margin:0!important;float:none!important;padding:6px 10px;border:1px solid #e1e6ea;border-radius:8px;background:#fff;font-weight:500;white-space:nowrap!important;font-size:14px!important}
body.type-category #filters .slider-header>.to{text-align:right}
body.type-category #filters .slider-content{padding:0 12px!important}
body.type-category #filters #slider{height:4px!important;background:#e3e8eb!important;border-radius:4px!important}
body.type-category #filters #slider .ui-slider-range{background:#1c96b7!important}
body.type-category #filters #slider .ui-slider-handle{width:22px!important;height:22px!important;top:-9px!important;margin-left:-11px!important;border:2px solid #1c96b7!important;background:#fff!important;box-shadow:0 2px 6px rgba(15,35,45,.18)!important;outline:0}
body.type-category #filters #slider .ui-slider-handle:focus-visible{box-shadow:0 0 0 4px rgba(28,150,183,.3)!important}
body.type-category #filters .filter-total-count{padding:12px 0 4px;font-size:14px;color:#4f5b62}
/* ---------- konec panelu filtrů ---------- */

/* ---------- 1.1.0: drobečky zarovnané s obsahem na stránce výsledků Finderu (Průvodce a Rezervaci poslechu řeší hfm-tools CSS od 1.2.58 – tady ne, ať to nejde dvakrát) ---------- */
@media(min-width:992px){html body.in-hifi-finder .overall-wrapper .breadcrumbs-wrapper.container{padding-left:15px!important}}

/* ---------- 1.1.0: Průvodce výběrem na monitoru (Petr 11. 11., otázka 413) ----------
   Dřív: dva nadpisy, šest vysokých fotek místností přes celou první obrazovku, otázky a tři sestavy až po posunu, obsah užší
   než záhlaví. Nově: nadpis stránky jako malý štítek nad hlavní otázkou, místnosti v jedné řadě, otázky hned pod nimi,
   doporučená sestava vpravo a při posunu zůstává na očích, tři sestavy začínají už na první obrazovce. */
@media(min-width:1200px){
body:has(.hfm-guide--full) .content-inner,body:has(.hfm-guide--full) .pageArticleDetail{max-width:none!important;width:100%!important}
body:has(.hfm-guide--full) aside.sidebar,body:has(.hfm-guide--full) aside.sidebar-left{display:none!important}
body:has(.hfm-guide--full) #content{width:100%!important;max-width:100%!important;flex:0 0 100%!important;margin-left:0!important;padding-left:0!important}
body:has(.hfm-guide--full) .pageArticleDetail>header h1{margin:0 0 6px!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:.09em;text-transform:uppercase;color:#1c96b7!important}
.hfm-guide.hfm-guide--full{display:grid!important;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto auto auto 1fr;column-gap:36px;align-items:start;max-width:none!important;width:100%!important}
.hfm-guide--full>.hfm-g-head{grid-column:1;grid-row:1;margin:0 0 16px!important}
.hfm-guide--full .hfm-g-hero{margin:0!important;font-size:40px!important;line-height:1.1!important}
.hfm-guide--full .hfm-g-lead{margin:8px 0 0!important;max-width:none!important;font-size:15px!important}
.hfm-guide--full>.hfm-g-stage{display:contents!important}
.hfm-guide--full .hfm-g-ask{grid-column:1;grid-row:2;min-width:0;align-self:start}
.hfm-guide--full .hfm-g-quiz,.hfm-guide--full .hfm-g-steps,.hfm-guide--full .hfm-g-q--tiles{height:auto!important;min-height:0!important}
.hfm-guide--full .hfm-g-tiles{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-content:start!important;gap:10px!important;height:auto!important;min-height:0!important}
.hfm-guide--full .hfm-g-tile{align-self:start!important;height:230px!important;min-height:0!important}
.hfm-guide--full .hfm-g-live-wrap{grid-column:2;grid-row:1/5;position:sticky;top:96px;align-self:start;height:auto!important}
.hfm-guide--full .hfm-g-live{height:auto!important}
.hfm-guide--full .hfm-g-live__media{height:300px!important;min-height:0!important}
.hfm-guide--full .hfm-g-live__media img{max-height:250px;object-fit:contain}
.hfm-guide--full>.hfm-g-band{grid-column:1;grid-row:3;margin:14px 0 0!important;min-width:0}
.hfm-guide--full>.hfm-g-results{grid-column:1/-1;grid-row:5;margin-top:36px!important}
.hfm-guide--full>.hfm-g-bar{grid-column:1/-1}
}

/* 1.1.1: Průvodce bez drobečkové navigace a karta Doporučujeme v ose modulu výběru */
body.in-pruvodce .breadcrumbs-wrapper{display:none!important}
@media(min-width:1200px){
.hfm-guide--full .hfm-g-live-wrap{grid-row:2/4!important;position:relative!important;top:auto!important;align-self:stretch!important;display:flex!important;min-height:0!important;contain:size}
.hfm-guide--full .hfm-g-live{display:flex!important;flex-direction:column;width:100%}
.hfm-guide--full .hfm-g-live__media{flex:1 1 0;height:auto!important;min-height:140px!important}
.hfm-guide--full .hfm-g-live__media img{max-height:min(250px,100%)}
}
/* 1.1.1: pás otázek – při užším sloupci se ceny „60–120 000 Kč“ nevešly do tlačítek a přetékaly: text se zalomí, pod 1 440 px popisek otázky nad tlačítky */
@media(min-width:1200px){
.hfm-guide--full .hfm-g-band .hfm-choices>*,.hfm-guide--full .hfm-g-band .hfm-l-chips .hfm-choice{white-space:normal!important;line-height:1.15!important;padding-left:6px!important;padding-right:6px!important}
}
@media(min-width:1200px) and (max-width:1700px){.hfm-guide--full .hfm-g-band .hfm-l-chips .hfm-choice{font-size:14px!important}}
@media(min-width:1200px) and (max-width:1439px){
.hfm-guide--full .hfm-g-band .hfm-g-q{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
.hfm-guide--full .hfm-g-band .hfm-g-q[data-g-step="ucel"] .hfm-choices{max-width:none!important}
.hfm-guide--full .hfm-g-band .hfm-choices{gap:8px!important}
.hfm-guide--full .hfm-g-band .hfm-l-chips .hfm-choice{font-size:14px!important}
}
