body.ks-site.single-product .ks-color-swatches-enabled > select[name^="attribute_"][name*="boja"] {
  position: absolute !important;
  width: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.ks-site.single-product .ks-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-block: 4px 10px;
}

body.ks-site.single-product .ks-color-swatch {
  display: inline-flex;
  flex: 0 1 92px;
  min-width: 78px;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 2px solid var(--ks-line);
  border-radius: 9px;
  background: var(--ks-white);
  color: var(--ks-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

body.ks-site.single-product .ks-color-swatch:hover:not(:disabled) {
  border-color: var(--ks-blue);
}

body.ks-site.single-product .ks-color-swatch.is-selected {
  border-color: var(--ks-ink);
  box-shadow: 0 0 0 2px var(--ks-white), 0 0 0 4px var(--ks-blue);
}

body.ks-site.single-product .ks-color-swatch:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

body.ks-site.single-product .ks-color-swatch__chip {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid #718096;
  border-radius: 50%;
  background: var(--ks-swatch-color);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 45%);
}

body.ks-site.single-product .ks-color-swatch.is-unmapped .ks-color-swatch__chip {
  position: relative;
  background: repeating-linear-gradient(135deg, #fff 0 6px, #dce5ef 6px 12px);
}

body.ks-site.single-product .ks-color-swatch.is-unmapped .ks-color-swatch__chip::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ks-ink);
  content: "?";
  font-size: 14px;
  font-weight: 800;
}

body.ks-site.single-product .ks-color-swatch__label {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  body.ks-site.single-product .ks-color-swatches {
    gap: 8px;
  }

  body.ks-site.single-product .ks-color-swatch {
    flex-basis: calc(50% - 4px);
    max-width: calc(50% - 4px);
    min-height: 48px;
  }
}

/* Jedinstven status Woo izbora boje na svim kategorijama. */
body.ks-site.single-product .variations label .ks-selected-color-name {
  color: var(--ks-blue);
  font-weight: 800;
}

body.ks-site.single-product.ks-v1-bins-product .ks-color-swatch.is-selected {
  border-color: var(--ks-blue);
  background: color-mix(in srgb, var(--ks-blue) 7%, var(--ks-white));
}

body.ks-site.single-product.ks-v1-bins-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch.is-selected {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.ks-site.single-product.ks-v1-bins-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch.is-selected .ks-color-swatch__chip {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px var(--ks-white), 0 0 0 5px var(--ks-blue), 0 2px 8px rgb(9 49 93 / 24%);
}

/* 240 l H: real Woo variations, presented with the compact V1 color language. */
body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatches {
  align-items: center;
  gap: 9px;
  width: auto;
  margin-block: 6px 12px;
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch {
  position: relative;
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch:hover:not(:disabled) {
  border-color: transparent;
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch__chip {
  width: 20px;
  height: 20px;
  border: 2px solid var(--ks-white);
  box-shadow: 0 0 0 1px #8ca0b5;
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch:hover:not(:disabled) .ks-color-swatch__chip,
body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch:focus-visible .ks-color-swatch__chip {
  box-shadow: 0 0 0 2px var(--ks-blue);
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch.is-selected {
  border-color: transparent;
  box-shadow: none;
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch.is-selected .ks-color-swatch__chip {
  box-shadow: 0 0 0 2px var(--ks-white), 0 0 0 4px var(--ks-ink);
}

body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatches {
    gap: 9px;
  }

  body.ks-site.single-product:is(.ks-v1-family-plasticni-kontejneri, .postid-258, .postid-267, .ks-v1-native-colors) .ks-color-swatch {
    flex-basis: 24px;
    max-width: 24px;
    min-height: 24px;
  }
}
