/* Ported from resources/scss/components/_products.scss */
body .products.nc-algolia-products{display:grid;grid-gap:1.5rem;grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:640px){body .products.nc-algolia-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){body .products.nc-algolia-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){body .products.nc-algolia-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
body .products img{width:auto;margin:0 auto 1rem auto}
body .products .product{background:#fff;border-radius:10px;border:1px solid #D6CCC7;padding:1rem;overflow:hidden;float:none;width:auto;margin:0;display:flex;flex-direction:column;justify-content:space-between}
body .products .product__supplier{font-size:1.1rem;color:#002a3a}
body .products .product__sku{font-size:.8rem;text-align:right;color:#002a3a}
body .products .product__title{color:#000;font-size:1rem;line-height:1;font-weight:400;margin-bottom:1.5rem}
body .products .product__link{display:block}
body .products .product__link:hover,body .products .product__link:focus{outline:0}
body .products .product .product__image{height:180px;display:flex;align-items:center;justify-content:center;padding:.25rem 0}
@media(min-width:640px) and (max-width:1199px){body .products .product .product__image{height:260px}}
body .products .product .product__image img{max-height:100%;width:auto}
body .products .product:hover,body .products .product:focus{outline:2px solid #666}

/* pagination */
.woocommerce-pagination{margin-top:2.5rem}
.woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;list-style:none;margin:0;padding:1.5rem 0}
.woocommerce-pagination .page-numbers li{margin:0}
.woocommerce-pagination a.page-numbers,.woocommerce-pagination span.page-numbers{display:flex;align-items:center;justify-content:center;min-width:2.5rem;min-height:2.5rem;padding:.5rem .75rem;border:1px solid #D6CCC7;border-radius:10px;background:#fff;color:#002a3a;font-weight:600;text-decoration:none}
.woocommerce-pagination a.page-numbers:hover,.woocommerce-pagination a.page-numbers:focus{border-color:#ff8000;color:#ff8000}
.woocommerce-pagination span.page-numbers.current{background:#ff8000;border-color:#ff8000;color:#fff}
.woocommerce-pagination span.page-numbers.dots{border:0;background:none}

/* related products / spare parts use the same grid as category pages */
.related ul.products,.nc-spareparts ul.products{display:grid;grid-gap:1.5rem;grid-template-columns:repeat(1,minmax(0,1fr))}
@media(min-width:640px){.related ul.products,.nc-spareparts ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.related ul.products,.nc-spareparts ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.related ul.products,.nc-spareparts ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* add to cart (ported from _products.scss) */
body .products .product__btn{width:100%;display:flex;align-items:center;justify-content:center;font-weight:400;margin-top:auto}
body .products .product .added-to-cart{display:none;align-items:center;justify-content:center;color:#000;border-radius:10px;border:1px solid #ff8000;min-height:var(--theme-button-min-height,40px)}
body .products .product.added .product__btn{display:none}
body .products .product.added .added-to-cart{display:flex}

/* handpicked products block: column count from the block setting */
@media(min-width:1200px){body .products.nc-algolia-products.nc-handpicked{grid-template-columns:repeat(var(--nc-columns),minmax(0,1fr))}}
