/* Shared card presentation for Elanterna and Alphaboat.
   Feature selection, labels and order belong to abcustomizeddatasheet. */
body :is(.product-miniature, .ab-model) .abcds-pl {
  --spec-ink: var(--el-ink, var(--ab-ink));
  --spec-muted: var(--el-muted, var(--ab-muted));
  --spec-paper: var(--el-paper, var(--ab-paper));
  --spec-highlight: #e8f4fb;
  --spec-line: var(--el-line, var(--ab-line));
  --spec-radius: var(--el-radius, var(--ab-radius));
  margin: 0 0 .75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--spec-ink);
  line-height: 1.45;
}
:is(.product-miniature, .ab-model) .abcds-pl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}
:is(.product-miniature, .ab-model) .abcds-pl-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  grid-column: 1 / -1;
  min-width: 0;
  gap: .25rem;
  padding: .625rem .75rem;
  border: 1px solid var(--spec-line);
  border-radius: var(--spec-radius);
  background: var(--spec-paper);
  overflow-wrap: anywhere;
}
:is(.product-miniature, .ab-model) .abcds-pl-item:nth-child(-n+2) {
  grid-column: auto;
  background: var(--spec-highlight);
}
:is(.product-miniature, .ab-model) .abcds-pl-item:only-child { grid-column: 1 / -1; }
:is(.product-miniature, .ab-model) .abcds-pl-label {
  font-size: .8125rem;
  font-weight: 400;
  color: var(--spec-muted);
}
:is(.product-miniature, .ab-model) .abcds-pl-sep { display: none; }
:is(.product-miniature, .ab-model) .abcds-pl-value {
  flex: none;
  min-width: 0;
  font-size: .875rem;
  font-weight: 700;
  text-align: left;
  color: var(--spec-ink);
}
:is(.product-miniature, .ab-model) .abcds-pl-item:nth-child(-n+2) .abcds-pl-value {
  margin-top: auto;
  font-size: 1.25rem;
}
:is(.product-miniature, .ab-model) .abcds-pl-group-title { font-size: .875rem; }
@media (max-width: 575px) {
  :is(.product-miniature, .ab-model) .abcds-pl-item:nth-child(-n+2) .abcds-pl-value {
    font-size: 1.125rem;
  }
}
