/* mojee-nejprodavanejsi-v5.css | 6. 12. 2026 | v4 + karusel i na tabletu (do ~1219 px vč. posuvníku, kde šablona ukazuje jen 2 produkty a tlačítko) | blok Nejprodávanější v kategoriích (#productsTop; ne dkLab Naposledy navštívené): malý obrázek 72 px vlevo, vpravo název, dostupnost, cena, obsah svisle na střed, karta bez prázdného místa (~100 px). Mobil do 767 px: karusel do strany se všemi 4 produkty, bez tlačítka Zobrazit více. Šablona dává kartě mřížku 8 řádků pro výpis a 3.–4. produkt skrývá (.inactive) – přepisujeme jen tady. */
html body #productsTop .product>.pw-product-card{display:grid!important;grid-template-columns:72px 1fr!important;grid-template-rows:auto auto auto!important;align-content:center!important;column-gap:12px!important;row-gap:4px!important;height:100%!important;box-sizing:border-box;padding:10px 12px!important;align-items:start}
html body #productsTop .product>.pw-product-card>.image{grid-column:1!important;grid-row:1 / span 3!important;align-self:center!important;width:72px!important;height:72px!important;margin:0!important}
html body #productsTop .product>.pw-product-card>.image img{width:72px!important;height:72px!important;padding:4px!important;object-fit:contain}
html body #productsTop .product>.pw-product-card .name{grid-column:2!important;grid-row:1!important;min-height:0!important;font-size:14px!important;line-height:1.3!important}
html body #productsTop .product>.pw-product-card .availability{grid-column:2!important;grid-row:2!important}
html body #productsTop .product>.pw-product-card .prices{grid-column:2!important;grid-row:3!important;min-height:0!important;margin:0!important}
html body #productsTop .product>.pw-product-card .pw-card-colors:not(:has(*)){display:none!important}
@media (max-width:1219px){
  html body #productsTop{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x mandatory;gap:12px!important;padding:0 0 10px!important;align-items:stretch!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  html body #productsTop::-webkit-scrollbar{display:none}
  html body #productsTop>.product{flex:0 0 74%!important;max-width:74%!important;position:static!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;transform:none!important;scroll-snap-align:start;margin:0!important}
  html body .products-top-wrapper:has(#productsTop) .button-wrapper{display:none!important}
}
@media (min-width:768px) and (max-width:1219px){
  html body #productsTop>.product{flex:0 0 38%!important;max-width:38%!important}
}
