.car-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 34px;
  gap: 4px;
  height: auto;
  min-height: 0;
  flex-shrink: 0;
  margin: 6px 0;
  grid-column: 1 / -1;
  min-width: 0;
}
.car-tags .car-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: 0 3px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.car-tags .car-tag:nth-child(3n + 1), .tag-editor-item:nth-child(3n + 1) {
  background: #c62828; border-color: #c62828; color: #fff;
}
.car-tags .car-tag:nth-child(3n + 2), .tag-editor-item:nth-child(3n + 2) {
  background: #f4d43b; border-color: #f4d43b; color: #24200a;
}
.car-tags .car-tag:nth-child(3n), .tag-editor-item:nth-child(3n) {
  background: #174fba; border-color: #174fba; color: #fff;
}
.tag-editor-item button { color: inherit; }
#carTagPreview { max-width: 420px; }
.car-tags:empty { margin: 0; }
.car-card .car-card-head { min-height: 54px; margin-bottom: 0; }
.car-card .car-card-body { display: flex; flex-direction: column; flex: 1; }
.car-card .car-card-body > .car-card-price,
.car-card .car-card-body > .car-card-actions { margin-top: auto; }
.car-card .car-schimb { margin-bottom: 16px; }

