/* MAGSY – jen vzhled filtru v kategorii (2026-10-30). Nemění podkategorie ani SEO obsah. Návrat: smazat odkaz v hlavičce HTML kódů. */
html body.type-category #content .filter-sections{background:#eaf1fb!important;border:1px solid #c9d8ef!important;border-radius:14px!important;padding:20px 22px 14px!important;box-shadow:0 6px 20px rgba(22,58,117,.06)!important}
html body.type-category #content .filter-sections::before{content:"Filtrovat produkty"!important;display:flex!important;align-items:center!important;min-height:36px;padding-left:46px!important;margin:0 0 14px!important;font-family:'Jost',sans-serif!important;font-size:22px!important;font-weight:700!important;line-height:1.2!important;color:#163a75!important;text-transform:none!important;letter-spacing:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23163a75'/%3E%3Cpath d='M10.5 12h15l-5.6 6.6v5.6l-3.8 1.9v-7.5z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") left center/36px 36px no-repeat!important}

/* boxy */
html body.type-category #content #category-filter-hover .filter-section > h4,
html body.type-category #content #category-filter-hover .slider-wrapper{background:#fff!important;border:1px solid #c9d8ef!important;border-radius:8px!important;box-sizing:border-box!important}
html body.type-category #content #category-filter-hover .filter-section > h4{min-height:52px!important;padding:14px 40px 14px 16px!important;display:flex!important;align-items:center!important;font-family:'Jost',sans-serif!important;font-size:15px!important;font-weight:600!important;line-height:1.25!important;text-transform:none!important;letter-spacing:0!important;color:#1c2230!important;cursor:pointer;transition:border-color .15s}
html body.type-category #content #category-filter-hover .filter-section > h4 span{text-transform:none!important;letter-spacing:0!important;font:inherit!important;color:inherit!important}
html body.type-category #content #category-filter-hover .filter-section > h4:hover,
html body.type-category #content #category-filter-hover .filter-section.otevreny > h4{border-color:#163a75!important}
html body.type-category #content #category-filter-hover .filter-section.otevreny > h4{border-radius:8px 8px 0 0!important}
html body.type-category #content #category-filter-hover .filter-section > h4::after{border-color:#163a75!important}

/* cena */
html body.type-category #content #category-filter-hover .slider-wrapper{min-height:52px;padding:8px 16px 6px!important}
html body.type-category #content #category-filter-hover .slider-wrapper h4{border:0!important;background:transparent!important;min-height:0!important;padding:0!important;margin:0 0 2px!important;font-family:'Jost',sans-serif!important;font-size:13px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;color:#4a5262!important}
html body.type-category #content #category-filter-hover .slider-wrapper h4 span{text-transform:none!important;font:inherit!important;color:inherit!important}
html body.type-category #content #category-filter-hover .ui-slider-range{background:#163a75!important}
html body.type-category #content #category-filter-hover .ui-slider-handle{background:#fff!important;border:3px solid #163a75!important;box-sizing:border-box!important;width:18px!important;height:18px!important;box-shadow:0 1px 4px rgba(0,0,0,.15)}
html body.type-category #content #category-filter-hover .slider-header{font-size:13px!important;color:#5b6372!important}

/* rozbalená nabídka */
html body.type-category #content #category-filter-hover .filter-section.otevreny > form{border:1px solid #163a75!important;border-top:0!important;border-radius:0 0 8px 8px!important;box-shadow:0 10px 24px rgba(22,58,117,.14)!important;padding:16px 18px!important}
html body.type-category #content #category-filter-hover .filter-section .filter-label{font-size:15px!important;color:#1c2230!important}

/* mobil: jedno tlačítko, po kliknutí pod sebou */
@media (max-width:767px){
html body.type-category #content .filter-sections{padding:0!important;border-radius:12px!important;box-shadow:none!important;position:relative}
html body.type-category #content .filter-sections::before{min-height:56px;margin:0!important;padding:0 48px 0 62px!important;background-position:14px center!important;background-size:34px 34px!important;font-size:18px!important;cursor:pointer}
html body.type-category #content .filter-sections::after{content:""!important;position:absolute;right:20px;top:20px;width:10px;height:10px;border-right:2px solid #163a75;border-bottom:2px solid #163a75;transform:rotate(45deg);transition:transform .2s;pointer-events:none}
html body.type-category #content .filter-sections.mg-fz-open::after{top:25px;transform:rotate(-135deg)}
html body.type-category #content .filter-sections.mg-fz:not(.mg-fz-open) > *{display:none!important}
html body.type-category #content .filter-sections.mg-fz-open{padding:0 12px 4px!important}
html body.type-category #content .filter-sections.mg-fz-open::before{margin:0 -12px!important}
html body.type-category #content .filter-sections > .slider-wrapper{width:auto!important;max-width:none!important;margin-bottom:8px!important}
html body.type-category #content #category-filter-hover{flex-direction:column!important;flex-wrap:nowrap!important;margin:0!important}
html body.type-category #content #category-filter-hover > .slider-wrapper,
html body.type-category #content #category-filter-hover > .filter-section{width:100%!important;max-width:none!important;flex:0 0 auto!important;margin:0 0 8px!important}
html body.type-category #content #category-filter-hover .filter-section.otevreny > form{position:static!important;width:auto!important}
}

/* plovoucí lišta detailu produktu: bez boxu se slevovým kódem */
.fix-detail-header .shkDiscountPromoExtension,.fix-detail-header .shkDiscountPromo{display:none!important}

/* řazení jako tlačítka pod filtrem (podle grafiky) */
html body.type-category #content #category-header{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:space-between;align-items:center;gap:12px;padding:0 0 14px!important;border-bottom:1px solid #e3e7ee;margin:24px 0 24px!important}
html body.type-category #content #category-header>.listSorting{order:1!important;position:static!important;margin:0!important}
html body.type-category #content #category-header>.category-header-pagination{order:2!important;margin-left:auto!important;font-size:14px;color:#5b6372}
html body.type-category #content .listSorting .sortingToggle{display:none!important}
html body.type-category #content .listSorting .listSorting__controls{display:flex!important;flex-wrap:wrap;gap:6px;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important}
html body.type-category #content .listSorting .listSorting__control{border:1px solid #dfe3ea!important;border-radius:20px!important;padding:8px 14px!important;background:#fff!important;color:#1c2230!important;font-family:'Jost',sans-serif!important;font-size:14px!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;width:auto!important;height:auto!important;line-height:1.2!important;margin:0!important;display:inline-flex!important;white-space:nowrap}
html body.type-category #content .listSorting .listSorting__control:hover{border-color:#163a75!important}
html body.type-category #content .listSorting .listSorting__control[class*="--current"],html body.type-category #content .listSorting .listSorting__control.active{background:#163a75!important;border-color:#163a75!important;color:#fff!important;font-weight:500!important}
html body.type-category #content .listSorting .listSorting__control::before,html body.type-category #content .listSorting .listSorting__control::after{display:none!important}
@media (max-width:767px){
html body.type-category #content .filter-sections{margin:0 0 4px!important}
html body.type-category #content #category-header{margin:14px 0 16px!important;padding-bottom:12px!important;gap:8px}
html body.type-category #content #category-header>.listSorting{width:100%;min-width:0}
html body.type-category #content .listSorting .listSorting__controls{flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px!important}
html body.type-category #content .listSorting .listSorting__controls::-webkit-scrollbar{display:none}
html body.type-category #content .listSorting .listSorting__control{padding:7px 12px!important;font-size:13px!important;flex:0 0 auto}
html body.type-category #content #category-header>.category-header-pagination{margin-left:0!important;font-size:13px}
}
@media (max-width:767px){
html body.type-category #content .category-content-wrapper{display:flex!important;flex-direction:column!important}
html body.type-category #content .category-content-wrapper>*{order:3;min-width:0}
html body.type-category #content .category-content-wrapper>#filters-wrapper,html body.type-category #content .category-content-wrapper>.sr-only{order:0}
html body.type-category #content .category-content-wrapper>.filters-wrapper{order:1}
html body.type-category #content .category-content-wrapper>#category-header{order:2}
}
@media (max-width:767px){html body.type-category #content .category-content-wrapper>#filters-wrapper{margin:0!important}html body.type-category #content .category-content-wrapper>.filters-wrapper{margin-top:16px!important}}

/* podkategorie: jen vzhled (samostatné karty), rozložení a viditelnost beze změny */
html body.type-category #content ul.subcategories>li{border:0!important;background:transparent!important;box-shadow:none!important}
html body.type-category #content ul.subcategories>li>a{margin:5px!important;background:#fff!important;border:1px solid #dfe3ea!important;border-radius:10px!important;min-height:64px;box-sizing:border-box!important;transition:border-color .15s,box-shadow .15s}
html body.type-category #content ul.subcategories>li>a:hover{border-color:#163a75!important;box-shadow:0 4px 14px rgba(22,58,117,.10)!important}
html body.type-category #content ul.subcategories>li>a .text{font-family:'Jost',sans-serif!important;font-size:14px!important;font-weight:600!important;color:#1c2230!important}
html body.type-category #content ul.subcategories>li>a:hover .text{color:#163a75!important}
html body.type-category #content ul.subcategories>li>a::after{border-color:#163a75!important;color:#163a75!important}
@media (max-width:767px){html body.type-category #content ul.subcategories>li>a{margin:3px!important;padding-left:6px!important;padding-right:6px!important}html body.type-category #content ul.subcategories>li>a .text{font-size:13px!important}}
