/* Centre the compact catalogue grid without enlarging the book cards. */
body.mhsp-catalogue #main ul.products{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,220px))!important;
    justify-content:center!important;
    gap:24px!important;
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
body.mhbp-book-page #main .related.products>h2{text-align:center;margin-bottom:28px}
body.mhbp-book-page #main .related.products ul.products{
    display:flex!important;flex-wrap:wrap;justify-content:center!important;
    gap:24px!important;width:100%!important;margin:0 auto!important;
}
body.mhbp-book-page #main .related.products ul.products::before,
body.mhbp-book-page #main .related.products ul.products::after{display:none!important}
body.mhbp-book-page #main .related.products ul.products li.product{
    float:none!important;clear:none!important;flex:0 1 220px!important;
    width:calc((100% - 72px)/4)!important;max-width:220px;min-width:0;
    margin:0!important;box-sizing:border-box;text-align:center;
}
/* Storefront's fixed previous/next product previews. */
body.single-product .storefront-product-pagination{display:none!important}
/* Keep the cover still, including when hovering or clicking. */
body.mhbp-book-page .woocommerce-product-gallery .zoomImg,
body.mhbp-book-page .woocommerce-product-gallery__trigger{display:none!important}
body.mhbp-book-page .woocommerce-product-gallery__image>a{pointer-events:none;cursor:default}
@media(max-width:900px){
body.mhsp-catalogue #main ul.products{grid-template-columns:repeat(3,minmax(0,220px))!important;gap:18px!important}
body.mhbp-book-page #main .related.products ul.products li.product{flex-basis:calc((100% - 24px)/2)!important;width:calc((100% - 24px)/2)!important}
}
@media(max-width:600px){
body.mhsp-catalogue #main ul.products{grid-template-columns:repeat(2,minmax(0,220px))!important;gap:12px!important}
body.mhbp-book-page #main .related.products ul.products{gap:12px!important}
body.mhbp-book-page #main .related.products ul.products li.product{flex-basis:calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important}
}
@media(max-width:360px){body.mhsp-catalogue #main ul.products{grid-template-columns:minmax(0,220px)!important}}
