/* BP Full Variant Matrix: visual state only. Inputs remain clickable so the
   module can align the other groups to a real combination before PrestaShop AJAX. */
.bp-fvm-unavailable {
  opacity: .48;
}

.bp-fvm-unavailable-label,
.bp-fvm-unavailable-option {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.bp-fvm-unavailable-label {
  position: relative;
  cursor: pointer;
}

.bp-fvm-unavailable .input-color__swatch,
.bp-fvm-unavailable .color,
.bp-fvm-unavailable-label .input-color__swatch,
.bp-fvm-unavailable-label .color {
  position: relative;
}

.bp-fvm-unavailable .input-color__swatch::after,
.bp-fvm-unavailable-label .input-color__swatch::after {
  content: "×";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
  color: currentColor;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .8);
  pointer-events: none;
}

.bp-fvm-unavailable.is-selected,
.bp-fvm-unavailable:has(input:checked) {
  opacity: 1;
}
