/* Legacy catalogue columns are grid items. Percentage widths must not apply twice. */
body main .row-products > :is(.product-item, :has(> .product-item)) {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: none;
  float: none;
  margin: 0 !important;
}
body main .row-products > :has(> .product-item) {
  display: flex;
  padding: 0;
}
body main .row-products .product-item {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: none;
  padding: 12px;
  margin: 0 !important;
}
body main .row-products .product-item :is(form, fieldset) {
  min-width: 0;
  max-width: 100%;
}
body main .row-products .product-item .product-title {
  display: block;
  height: auto;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}
body main .row-products .product-item img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 168px;
  object-fit: contain;
  margin-inline: auto;
}
body main .row-products .product-item .product-price {
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 799px) {
  body main .row-products .product-item { padding: 8px; }
  body main .row-products .product-item img { max-height: 128px; }
}
