/* Bound both axes: grid intrinsic minimums must not enlarge product images. */
.product-art { --product-image-inset: 18px; }
.product-art:has(> img) {
  background: #f4f4f2;
  border-color: #858783;
}
.product-art > img {
  position: absolute;
  inset: var(--product-image-inset);
  width: calc(100% - 2 * var(--product-image-inset));
  height: calc(100% - 2 * var(--product-image-inset));
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: none;
}
.product-art .art-type, .product-art .art-add { z-index: 1; }
.detail-dialog .product-art {
  height: clamp(240px, 42vh, 420px);
  --product-image-inset: 24px;
}
.product-description { white-space: pre-line; overflow-wrap: anywhere; }
.product-tax-note { margin: 4px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-card .product-title { overflow-wrap: anywhere; }
.supplier-import-status { white-space: pre-line; }
@media (max-width: 600px) {
  .product-art { --product-image-inset: 12px; }
  .detail-dialog .product-art { height: 260px; height: min(360px, 42svh); --product-image-inset: 18px; }
}

.quote-total { font-weight: 650; font-size: 19px; line-height: 1.5; padding: 16px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }

.catalog-pages:not([hidden]) { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; margin:28px 0 0; }
#product-grid { scroll-margin-top: 125px; }
