/* Palette colors (partials/swatches.liquid) */

.swatches {
  display: flex;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatches__item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.swatches__chip {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  max-height: 3rem;
  border-radius: 0.375rem;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}

.swatches--compact .swatches__chip {
  max-height: 1.25rem;
}

.swatches__hex {
  font-size: 0.6875rem;
  color: var(--muted);
  white-space: nowrap;
}
