/* Preview: consistent thumbnail mat. Full-size viewer intentionally excluded. */
body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child:has(img),
body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child:has(.panel-unified){
 display:flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;width:100%!important;height:auto!important;
 aspect-ratio:1/1!important;overflow:hidden!important;background:#e8e8e6!important;
 padding:16px!important;border-radius:12px!important;
}
body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child > img{
 display:block!important;position:static!important;inset:auto!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;
 margin:0!important;border-radius:0!important;transform:none!important;
}
/* Existing group crops and panel artwork remain intact; only their outer mat is shared. */
body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child > .group-crop,
body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child > .panel-unified{
 flex:0 0 auto!important;max-width:100%!important;max-height:100%!important;
}
/* Wide presentation boards retain their readable landscape layout and same inset. */
body.bk76-type-unified main.catalogue-coherent #fronty-z-przeszkleniem > a:first-child,
body.bk76-type-unified main.catalogue-coherent .catalogue-wide-board > a:first-child{
 aspect-ratio:3/2!important;
}

body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child:has(.bk76-thumb-art){display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;overflow:hidden!important;background:#e8e8e6!important;padding:16px!important;border-radius:12px!important;}
body.bk76-type-unified main.catalogue-coherent .bk76-thumb-art{display:block;width:100%;height:100%;max-width:100%;max-height:100%;overflow:visible;filter:drop-shadow(0 3px 3px rgba(0,0,0,.12));}

body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child:has(.bk76-thumb-art){position:relative!important;}
body.bk76-type-unified main.catalogue-coherent .bk76-thumb-art{position:absolute!important;inset:16px!important;width:calc(100% - 32px)!important;height:calc(100% - 32px)!important;}

body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child:has(.panel-unified){position:relative!important;}
body.bk76-type-unified main.catalogue-coherent [data-catalog-item="true"] > a:first-child > .panel-unified{position:absolute!important;top:16px!important;left:50%!important;transform:translateX(-50%)!important;width:calc(66.666667% - 21.333333px)!important;height:calc(100% - 32px)!important;}
body.bk76-type-unified main.catalogue-coherent #catalogue-item-61 > a:first-child{aspect-ratio:3/2!important;}
body.bk76-type-unified main.catalogue-coherent [data-catalog-group="Z pracowni"] > a:first-child:has(img){aspect-ratio:4/3!important;}

body.bk76-type-unified main.catalogue-coherent .bk76-thumb-pixels{width:100%;height:100%;}
body.bk76-type-unified main.catalogue-coherent .bk76-thumb-pixels img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;aspect-ratio:auto!important;object-fit:fill!important;border-radius:0!important;transform:none!important;}
