/* PP kategorie 2026-12 (Patrik Pilous): verze A, wellnessdarky.cz. Načítá se ze Záhlaví HTML kódů. */
.type-category .filter-section-boolean,.type-category .category-header-pagination{display:none!important}
.type-category .category-header{justify-content:flex-end}
.type-category ul.subcategories.with-image li a{text-decoration:none}
.pp-filtr-btn,.pp-fo-head,.pp-fo-foot,.pp-fo-bg{display:none}

@media (min-width:768px){
.type-category .sidebar .box-filters{border:0!important;padding-left:0!important}
.type-category ul.subcategories.with-image{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:4px 0 22px!important}
.type-category ul.subcategories.with-image li{float:none!important;width:auto!important;max-width:none!important;padding:8px 4px!important;margin:0!important}
.type-category ul.subcategories.with-image li a{display:flex!important;flex-direction:column;align-items:center;gap:10px;text-align:center;height:auto!important;overflow:visible!important}
.type-category ul.subcategories.with-image li .text{overflow:visible!important;height:auto!important;display:block!important;-webkit-line-clamp:unset!important;text-overflow:clip!important}
.type-category ul.subcategories.with-image li .image{width:auto!important;height:auto!important;margin:0!important}
.type-category ul.subcategories.with-image li .image img{width:auto!important;height:56px!important;object-fit:contain}
.type-category ul.subcategories.with-image li .text{font-size:15px!important;line-height:1.3;text-align:center!important;padding:0!important}
}

@media (max-width:767px){
.type-category ul.subcategories.with-image{display:flex!important;flex-wrap:nowrap!important;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:10px 0 14px!important;padding:0 0 4px!important;scrollbar-width:none;max-width:100%}
.type-category ul.subcategories.with-image::-webkit-scrollbar{display:none}
.type-category ul.subcategories.with-image li{flex:0 0 100px!important;width:100px!important;max-width:100px!important;height:100px;float:none!important;padding:0!important;margin:0!important;border:1px solid #cfe3e7;border-radius:0;box-sizing:border-box;scroll-snap-align:start;background:#fff}
.type-category ul.subcategories.with-image li a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:100%!important;overflow:hidden!important;padding:6px 4px;box-sizing:border-box;text-align:center}
.type-category ul.subcategories.with-image li .text{overflow:visible!important;height:auto!important;display:block!important;-webkit-line-clamp:unset!important;text-overflow:clip!important}
.type-category ul.subcategories.with-image li:first-child:nth-last-child(-n+2),.type-category ul.subcategories.with-image li:first-child:nth-last-child(-n+2)~li{flex:1 1 0!important;width:auto!important;max-width:none!important}
.type-category .category-header .sortingToggle__label{display:none}
.type-category .category-header .sortingToggle{width:100%;min-height:44px;justify-content:center;gap:6px}
.type-category ul.subcategories.with-image li .image{width:auto!important;height:auto!important;margin:0!important}
.type-category ul.subcategories.with-image li .image img{width:auto!important;height:38px!important;object-fit:contain}
.type-category ul.subcategories.with-image li .text{font-size:12px!important;line-height:1.25!important;text-align:center!important;padding:0!important}

.type-category .category-header{display:flex!important;gap:8px;align-items:stretch}
.type-category .category-header .listSorting{flex:1 1 0;min-width:0}
.pp-filtr-btn{flex:1 1 0;min-height:44px;border:1px solid #009FB7;background:#fff;color:#00788a;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;cursor:pointer}
.pp-filtr-btn svg{flex:none}
.pp-filtr-btn .pp-pocet{background:#009FB7;color:#fff;font-size:11px;min-width:18px;height:18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}

body.pp-js.type-category #filters-wrapper{display:none}
body.pp-js.pp-fo #filters-wrapper{display:block;position:fixed;left:0;right:0;bottom:0;max-height:86vh;overflow-y:auto;background:#fff;z-index:100001;padding:0 16px 84px;box-shadow:0 -6px 24px rgba(0,0,0,.25);overscroll-behavior:contain}
body.pp-fo{overflow:hidden}
body.pp-fo .pp-fo-bg{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100000}
.pp-fo-head{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 0;margin:0 0 6px;border-bottom:1px solid #edf1f2;z-index:2}
.pp-fo-head strong{font-size:20px}
.pp-fo-head button{width:44px;height:44px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:#252525}
.pp-fo-foot{position:fixed;left:0;right:0;bottom:0;padding:12px 16px;background:#fff;border-top:1px solid #edf1f2;z-index:100002;display:none}
body.pp-fo .pp-fo-foot{display:block}
.pp-fo-foot button{width:100%;height:48px;border:0;background:#009FB7;color:#fff;font-weight:800;font-size:15px;cursor:pointer}
body.pp-fo #filters-wrapper .filter-section-count{display:none}
}

/* v3 (2. 12.): štítek Nejoblíbenější s plamenem na prvním produktu kategorie (vkládá JS), klidnější hover karet na desktopu */
.type-category #products .product a.image{position:relative;display:block}
.pp-top-badge{position:absolute;top:10px;left:10px;z-index:3;display:inline-flex;align-items:center;gap:5px;background:#009FB7;color:#fff;font:700 12px/1 Nunito,sans-serif;padding:6px 10px;border-radius:3px;pointer-events:none}
.pp-top-badge svg{width:13px;height:13px;flex:none}
.id-684 a.image[href*="poukaz-v-hodnote"]:after,.id-738 a.image[href*="poukaz-v-hodnote"]:after{content:none!important}
@media (min-width:768px){
.type-category .products-block>div:hover{box-shadow:none!important}
.type-category .products-block>div:hover .p-in-in a{text-decoration:none!important}
.type-category .products-block>div .p-in-in .name:hover{text-decoration:none!important}
.type-category .products-block>div:hover .name,.type-category .products-block>div:hover .name span{color:#00788a!important}
.type-category .products-block>div:hover .p-bottom .btn{background:#009FB7!important;color:#fff!important;border-color:#009FB7!important}
.type-category .products-block .p .image img{transition:opacity .2s}
.type-category .products-block .p>a.image:hover img{opacity:.9!important}
}
