/* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */ /* This file is generated by vega-design 2.0.77 */
/**
 * Deprecated. Not for use in new websites.
 * https://developer.mozilla.org/en-US/docs/Web/CSS/word-break#break-word
 */
:host {
  display: inline-block;
  vertical-align: middle;
}

.vega-color-swatch-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 4px;
}

.swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: rgba(var(--v-bg-primary, 252, 252, 252, 1));
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.shape-basket .swatch {
  border-radius: 8px;
}

.shape-block .swatch {
  border-radius: 0px;
}

.check-icon {
  position: relative;
  z-index: 1;
}

.swatch-clear .swatch {
  background-color: rgba(var(--v-bg-transparent, 0, 0, 0, 0));
  border-width: 1px;
  border-style: solid;
  border-color: rgba(var(--v-border-color-danger, 230, 50, 87, 1));
}
.swatch-clear .swatch .clear-line {
  position: absolute;
  width: 141%;
  height: 0;
  border-top-width: 1px;
  border-left-width: 0px;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-style: solid;
  border-color: rgba(var(--v-border-color-danger, 230, 50, 87, 1));
  transform: rotate(-45deg);
  transform-origin: center;
}

.color-fill {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.size-extra-small .swatch {
  width: 24px;
  height: 24px;
  min-width: 24px;
}
.size-extra-small.shape-basket .swatch {
  border-radius: 4px;
}

.size-small .swatch {
  width: 40px;
  height: 40px;
  min-width: 40px;
}
.size-small.shape-basket {
  border-radius: 8px;
}

.size-medium .swatch {
  width: 48px;
  height: 48px;
  min-width: 48px;
}
.size-medium.shape-basket {
  border-radius: 8px;
}

@media (hover: hover) {
  :host(:not(.disabled)) .swatch:hover {
    border: 1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));
  }
  :host(:not(.disabled)) .swatch-clear .swatch:hover {
    border-color: rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1));
  }
  :host(:not(.disabled)) .swatch-clear .swatch:hover .clear-line {
    border-color: rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1));
  }
}

.vega-color-swatch-container:focus-visible {
  outline: 2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));
  outline-offset: 2px;
}
.vega-color-swatch-container:focus-visible .swatch {
  border-width: 1px;
  border-style: solid;
  border: 1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));
}
.vega-color-swatch-container:focus-visible.swatch-clear {
  outline: 2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));
  outline-offset: 2px;
}
.vega-color-swatch-container:focus-visible.swatch-clear .swatch {
  border-color: rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1));
}
.vega-color-swatch-container:focus-visible.swatch-clear .swatch .clear-line {
  border-color: rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1));
}

:host(:not(.disabled)) .vega-color-swatch-container {
  cursor: pointer;
}

:host(.disabled) .vega-color-swatch-container {
  cursor: not-allowed;
}

:host(.disabled) .swatch {
  border-color: rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1));
  pointer-events: none;
}
:host(.disabled) .swatch .color-fill,
:host(.disabled) .swatch .check-icon {
  opacity: 0.5;
}
:host(.disabled) .swatch .label-container {
  color: rgba(var(--v-text-disabled, 176, 180, 181, 1));
}
:host(.disabled) .swatch .clear-line {
  border-color: rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1));
}

.swatch-label {
  margin-left: 8px;
}