.bold_option_element:has(.bold_option_value_swatch span[style^="background-image"]) {
  display: block !important;
  /* width: 90%; */
  width: 100%;
}

.bold_option_value:has(.bold_option_value_swatch span[style^="background-image"]) {
  display: block !important;
  /* width: 85%; */
  width: 100%;
}

.bold_option_value_swatch:has(span[style^="background-image"]) {
  width: 80px !important;
  height: 80px !important;
}

.bold_option.bold_option_swatch {
  padding: 10px;
  box-shadow: 0 0 3px rgba(0, 0, 0, .5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.bold_tooltip {
  background: url('/cdn/shop/files/info-circle.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.bold_option_value:has(.bold_option_value_swatch span[style^="background-image"]) {
  .bold_option_swatch_title {
    display: contents;
    color: #000;
    font-size: 16px;
    span {
      width: max-content;
      line-height: 10px;
      height: 20px !important;
      text-align: left;
    }
  }
  label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 0;
  }
  label:has(> .bold_tooltip) {
    padding-left: 28px;
  }
  label:has(> .bold_tooltip) .bold_tooltip {
    top: 50%;
    left: 0;
  }
  .bold_option_value_price {
    width: max-content;
  }
  .bold_tooltip{
    position: absolute;
    top: 56px;
    left: 180px;
  }
}

@media screen and (min-width: 769px) {
  .bold_tooltip {
    width: 18px;
    height: 18px;
  }
}

@media screen and (max-width: 768px) {
  .bold_option.bold_option_swatch {
    padding: 8px;
  }
  .bold_option_value:has(.bold_option_value_swatch span[style^="background-image"]) {
      label:has(> .bold_tooltip) {
      padding-left: 23px;
    }
  }
}

.bold_option_value:has(.bold_option_value_swatch span[style^="background-image"]) .bold_option_swatch_title:after {
  display: none;
}

.bold_option_value:has(.bold_option_value_swatch span[style^="background-image"]) .bold_option_value:hover .bold_option_swatch_title span {
  line-height: 1px !important;
}

.bold_option_swatch:has(.bold_option_value_swatch span[style^="background-image"]) > .bold_option_title{
  display:none;
}

.bold_option_swatch input[type=checkbox] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--sm-color-pri);
  border-radius: 3px;
  position: relative;
  &::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--sm-color-pri);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-color-white);
  }
  &:checked {
    border-color: var(--sm-color-pri);
    background-color: var(--sm-color-pri);

    &::before {
      opacity: 1;
    }
  }
}

.bold_swatch_selected:has(.bold_option_value_swatch span[style^="background-color"]){
  box-shadow: 0 0 0 3px #b3b3b3!important;
}