/* Martinez Distro — only Kapee Products And Categories Box, static 4x2 grid. */
html body .products-and-categories-box .section-content .products.zm-md-static-grid {
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 grid-auto-flow:row!important;grid-auto-rows:244px!important;gap:0!important;
 align-items:stretch!important;align-content:start!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
/* Kapee wraps two products in each .carousel-group; flatten those wrappers. */
html body .products-and-categories-box .section-content .products.zm-md-static-grid > .carousel-group {display:contents!important;}
html body .products-and-categories-box .section-content .products.zm-md-static-grid > .carousel-group > .product {
 display:block!important;float:none!important;clear:none!important;flex:none!important;
 grid-column:auto!important;grid-row:auto!important;position:relative!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:244px!important;min-height:244px!important;max-height:244px!important;
 padding:0!important;margin:0!important;box-sizing:border-box!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid > .carousel-group > .product > .product-wrapper {
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 position:relative!important;float:none!important;justify-content:flex-start!important;
 width:100%!important;height:244px!important;min-height:244px!important;max-height:244px!important;
 padding:9px 10px!important;margin:0!important;overflow:hidden!important;
 box-sizing:border-box!important;transform:none!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image {
 display:flex!important;flex:0 0 178px!important;align-items:flex-end!important;
 justify-content:center!important;position:relative!important;
 width:100%!important;height:178px!important;min-height:178px!important;max-height:178px!important;
 min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;
 background:#fff!important;box-sizing:border-box!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a.woocommerce-LoopProduct-link {
 display:flex!important;align-items:flex-end!important;justify-content:center!important;
 position:relative!important;width:100%!important;height:100%!important;max-height:100%!important;
 min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a img.front-image,
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a img.wp-post-image {
 display:block!important;position:static!important;float:none!important;flex:0 0 auto!important;
 width:100%!important;max-width:176px!important;min-width:0!important;
 height:170px!important;min-height:170px!important;max-height:170px!important;
 object-fit:contain!important;object-position:center bottom!important;
 aspect-ratio:auto!important;padding:0!important;margin:0 auto!important;
 box-sizing:border-box!important;transform:none!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a img.hover-image {
 position:absolute!important;top:auto!important;bottom:0!important;left:50%!important;
 width:100%!important;max-width:176px!important;height:170px!important;max-height:170px!important;
 object-fit:contain!important;object-position:center bottom!important;
 padding:0!important;transform:translateX(-50%)!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-info {
 display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
 justify-content:flex-end!important;position:relative!important;
 width:100%!important;min-width:0!important;height:43px!important;
 min-height:43px!important;max-height:43px!important;
 margin:auto 0 0!important;padding:0!important;overflow:hidden!important;
 box-sizing:border-box!important;transform:none!important;
}
html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-title {
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
 overflow:hidden!important;text-overflow:ellipsis!important;
 font-size:13px!important;line-height:19px!important;font-weight:400!important;
 height:38px!important;max-height:38px!important;width:100%!important;
 min-width:0!important;margin:0!important;padding:0!important;
}
@media(max-width:1023px) {
 html body .products-and-categories-box .section-content .products.zm-md-static-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:575px) {
 html body .products-and-categories-box .section-content .products.zm-md-static-grid {grid-auto-rows:205px!important;}
 html body .products-and-categories-box .section-content .products.zm-md-static-grid > .carousel-group > .product,
 html body .products-and-categories-box .section-content .products.zm-md-static-grid > .carousel-group > .product > .product-wrapper {
  height:205px!important;min-height:205px!important;max-height:205px!important;
 }
 html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image {
  flex-basis:142px!important;height:142px!important;min-height:142px!important;max-height:142px!important;
 }
 html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a img.front-image,
 html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a img.wp-post-image,
 html body .products-and-categories-box .section-content .products.zm-md-static-grid .product-image > a img.hover-image {
  max-width:132px!important;height:136px!important;min-height:136px!important;max-height:136px!important;
 }
}
