.aic-color-select-native {
  display: none !important;
}

.aic-color-choice-hidden {
  display: none !important;
}

.aic-color-visual-select {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 8px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.aic-color-option {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  background: #fff;
  color: #1f1f1f;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aic-color-option:hover,
.aic-color-option.is-selected {
  border-color: #ff7300;
}

.aic-color-option.is-selected {
  box-shadow: 0 0 0 2px rgba(255, 115, 0, 0.22);
}

.aic-color-option:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.aic-color-option__image,
.aic-color-option__fallback {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.aic-color-option__fallback {
  background: #f4f4f4;
}

.aic-color-image-swatch {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}

.product-variants .aic-color-image-swatch,
.color_to_pick_list .aic-color-image-swatch,
.variant-links .aic-color-image-swatch {
  border-color: #ff7300 !important;
}
