/* Elementor sets the column count in its responsive widget controls.
   Let items fill their tracks, including when WooCommerce sets four-column widths. */
.tn-editable-catalogue ul.products.elementor-grid > li.product,
.woocommerce .tn-editable-catalogue ul.products[class*="columns-"] > li.product {
    float: none;
    clear: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
}
.tn-editable-catalogue ul.products { display: grid; }
:where(.tn-editable-catalogue) ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.tn-editable-catalogue ul.products::before,
.tn-editable-catalogue ul.products::after { display: none; }
:where(.tn-editable-catalogue) li.product { border: 1px solid #dfd9d5; border-radius: 10px; background: #fff; overflow: hidden; }
:where(.tn-editable-catalogue) li.product :is(h2,.price,.button) { margin-inline: 14px; }
@media(max-width:1024px){:where(.tn-editable-catalogue) ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){:where(.tn-editable-catalogue) ul.products{grid-template-columns:minmax(0,1fr)}}
