/* Produktliste: keine seitliche Scrollfläche, auch bei vielen Aktionen. */
.product-catalog {
  min-width: 0;
}

.product-catalog-head,
.product-catalog-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.65fr) minmax(105px, .62fr) minmax(110px, .52fr) minmax(170px, .75fr) minmax(150px, auto);
  gap: 14px;
  align-items: center;
}

.product-catalog-head {
  padding: 0 14px 10px;
  color: var(--muted, #61728f);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.product-catalog-row {
  min-width: 0;
  padding: 14px;
  border-top: 1px solid #dfe7f2;
}

.catalog-product,
.catalog-field {
  min-width: 0;
}

.catalog-product .product-cell {
  min-width: 0;
}

.catalog-product .product-name,
.catalog-product .product-meta {
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-product .product-name {
  white-space: nowrap;
}

.catalog-field {
  display: grid;
  gap: 3px;
  color: #172b4d;
  overflow-wrap: anywhere;
}

.catalog-field b {
  font-size: .98rem;
}

.catalog-label {
  display: none;
  color: var(--muted, #61728f);
  font-size: .75rem;
  font-weight: 700;
}

.catalog-stock {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.catalog-actions {
  justify-self: end;
  justify-content: flex-end;
}

.catalog-actions .small-button {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .product-catalog-head { display: none; }
  .product-catalog-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
  }
  .catalog-product { grid-column: 1; }
  .catalog-facts {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 14px;
  }
  .catalog-label { display: block; }
  .catalog-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 700px) {
  .product-catalog-row { grid-template-columns: minmax(0, 1fr); }
  .catalog-product,
  .catalog-facts,
  .catalog-actions { grid-column: 1; grid-row: auto; }
  .catalog-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-actions { justify-self: stretch; justify-content: stretch; }
  .catalog-actions .small-button { flex: 1 1 140px; }
  .catalog-product .product-name { white-space: normal; }
}
