/* ===== Nejžádanější produkty: řádkový vzhled ve stylu tabulky ===== */

/* rámeček jako tabulka, hnědá hlavička */
.products-top-wrapper{background:#fff;border:1px solid #d9d9d9;border-radius:0;box-shadow:none;padding:0;margin-bottom:20px}
.products-top-header{background:#8a2e00;color:#fff;font-size:0!important;line-height:0!important;text-align:center;margin:0!important;padding:9px 12px!important;border:0}
.products-top-header::before{content:"Nejžádanější produkty";display:block;font-size:16px;font-weight:700;line-height:1.3;color:#fff}

/* seznam */
#productsTop.products-top{display:block;margin:0}
#productsTop .product{width:100%;max-width:none;margin:0!important;padding:0!important;border-bottom:1px solid #d9d9d9}
#productsTop .product:last-child{border-bottom:0}

/* tvrdý reset výšek a odsazení uvnitř řádku */
#productsTop .product,#productsTop .product *{min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
#productsTop .product *::before,#productsTop .product *::after{min-height:0!important;padding:0!important;margin:0!important}

/* řádek */
#productsTop .p{display:flex;align-items:center;gap:12px;padding:4px 12px!important;border:0;box-shadow:none;text-align:left;background:#fff}
#productsTop .p>*{margin:0!important}

/* obrázek vlevo */
#productsTop .p .image{flex:0 0 40px;width:40px;height:40px!important;padding:0!important;border:0!important;background:#fff}
#productsTop .p .image img{width:40px;height:40px!important;object-fit:contain}
#productsTop .p .extra-flags{display:none}

/* název + dostupnost uprostřed */
#productsTop .p .p-in{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:0!important}
#productsTop .p .p-in-in{flex:1;min-width:0}
#productsTop .p .name,#productsTop .p .name:hover{display:block;font-weight:700!important;font-size:14px!important;line-height:1.2!important;color:#8a2e00!important;text-decoration:none!important}
#productsTop .p .name:hover{text-decoration:underline!important}
#productsTop .p .ratings-wrapper{display:flex;flex-wrap:wrap;gap:0 10px;font-size:12px;line-height:1.2;color:#666}
#productsTop .p .availability,#productsTop .p .availability span,#productsTop .p .p-code{font-size:12px;color:#666!important}
#productsTop .p .p-code::before{content:"/ "}

/* cena vpravo (včetně "/ ks" a "Cena platná pro ...") */
#productsTop .p .p-bottom{flex:0 0 auto;max-width:220px;padding:0!important;text-align:right;background:#fff!important;color:#222}
#productsTop .p .p-bottom *{text-align:right!important;background:transparent!important;line-height:1.2;color:#222!important}
#productsTop .p .p-bottom *::before,#productsTop .p .p-bottom *::after{background:transparent!important;text-align:right!important;color:#222!important}
#productsTop .p .offers,#productsTop .p .prices{display:block;width:100%}
#productsTop .p .price-final{display:block;width:100%;font-size:15px}
#productsTop .p .price-standard-wrapper{display:none}

/* tlačítko "Zobrazit více produktů" */
.products-top-wrapper .button-wrapper{margin:0;padding:6px 12px;border-top:1px solid #d9d9d9}

/* mobil */
@media(max-width:767px){
#productsTop .p .p-in{flex-direction:column;align-items:flex-start;gap:2px}
#productsTop .p .p-bottom{max-width:none;text-align:left}
#productsTop .p .p-bottom *{text-align:left!important}
}



