.pcg-color-group {
  margin: 6px 0 10px;
  max-width: calc(100vw - 32px);
}
.pcg-color-group__heading {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
}
.pcg-color-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.pcg-color-group__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  background: #fff;
}
.pcg-color-group__option:hover,
.pcg-color-group__option:focus {
  border-color: #9a595d;
}
.pcg-color-group__option.is-selected {
  border: 2px solid #222;
}
.pcg-color-group__option img {
  width: 18px;
  height: 18px;
  object-fit: cover;
}
.pcg-color-group__swatch {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, .12);
  box-sizing: border-box;
}
.pcg-color-group__swatch--unknown {
  background: #eee;
}
.pcg-list-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  margin: 0 auto 4px;
  max-width: 210px;
}
.pcg-list-colors__options {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.pcg-list-colors.has-slider .pcg-list-colors__options {
  flex: 0 0 97px;
  width: 97px;
}
.pcg-list-colors__options::-webkit-scrollbar {
  display: none;
}
.pcg-list-colors__option {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.pcg-list-colors__option:hover,
.pcg-list-colors__option:focus,
.pcg-list-colors__option.is-selected {
  border-color: #333;
}
.pcg-list-colors__swatch,
.pcg-list-colors__option img {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  object-fit: cover;
  box-sizing: border-box;
}
.pcg-list-colors__scroll {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
.pcg-list-colors__scroll .material-icons {
  font-size: 20px;
  line-height: 1;
}
.pcg-list-colors__scroll:disabled {
  opacity: .35;
  cursor: default;
}
.pcg-list-image-selected img.first-img {
  opacity: 1 !important;
}
