/* Keep product identification rows steady when a brand logo is present. */
.d03-site #product-grid .d03-card-identification,
.d03-site #products-grid .d03-card-identification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  column-gap: 8px;
  min-height: 40px;
  margin: 0 0 8px;
}
.d03-site .d03-card-identification > p {
  min-width: 0;
  margin: 0 !important;
}
.d03-site .d03-card-identification .brand-info-card {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 64px;
  height: 36px;
  min-width: 0;
  margin: 0 !important;
}
.d03-site .d03-card-identification .brand-info-card > a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}
.d03-site .d03-card-identification .brand-info-card img {
  display: block;
  width: 60px !important;
  height: 32px !important;
  max-width: 60px !important;
  max-height: 32px !important;
  margin: 0 !important;
  object-fit: contain;
  transform: scale(1.35);
  transform-origin: top right;
}
.d03-site .d03-card-identification .brand-badge-clickable {
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Give product names a shared four-line slot on wide catalogue rows. */
@media (min-width: 1200px) {
  .d03-site #product-grid .card-title,
  .d03-site #products-grid .card-title {
    display: -webkit-box !important;
    min-height: 5.6em !important;
    line-height: 1.4 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
  }
}
