#products .productgrid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
#products .product { min-width:0; width:auto; max-width:none; padding:40px 12px 12px; }
#products .product img, #products .product .placeholder { display:grid; width:100%; height:140px; object-fit:contain; }
#products .product h3, .category-row span, #catalogFilters button { overflow-wrap:anywhere; }
#products .product .row .btn { min-width:0; padding-inline:8px; }
#products .product-delete { font-size:.78rem; }
.catalog-tools, .catalog-controls, .category-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.catalog-tools input,.catalog-tools select { flex:1 1 12rem; min-width:0; }
.catalog-controls { margin:12px 0; }
#catalogPages { justify-content:center; }
#categoryList { max-height:55vh; overflow:auto; }
.category-row { margin-block:12px; }
.category-row span { flex:1; }
@media(max-width:1100px){ #products .productgrid {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:550px){ #products .productgrid {grid-template-columns:minmax(0,1fr);} }
