.wd-swatches-product {
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: 8px;
}

.wd-swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
}


.wd-swatch.selected {
  border-color: #949494;
  border: 3px solid transparent;
}

.wd-swatch-bg {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.wd-swatch-text {
  font-size: 10px;
  margin-top: 4px;
  text-align: center;
}

.wd-swatch:hover::after {
  content: attr(data-title);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111;
  color: white;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 1000;
}

.wd-swatch.disabled {
    cursor: not-allowed;
    /* filter: grayscale(0%); */
    opacity: 0.7;
    border: 3px solid transparent;
    border-color: #d90404;
    border-radius: 10px;
}

.wd-swatch:hover::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top: none;
  border-bottom-color: #111;
  z-index: 1000;
}

#color-container {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 20px;
}

#color-container table {
  border-collapse: collapse !important;
  border: none !important;
  width: auto !important;
}

#color-container td,
#color-container th {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  vertical-align: top !important;
}

#color-container th.label.cell {
  padding-right: 12px !important;
  font-weight: bold;
  white-space: nowrap;
}

#color-container .value.cell.with-swatches {
  padding: 0 !important;
}