.kraho-product-family {
  margin: 0 0 1rem 0;
  clear: both;
}

.kraho-product-family__label {
  margin-bottom: .45rem;
  font-weight: 600;
  line-height: 1.2;
}

.kraho-product-family__items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .55rem;
}

.kraho-product-family__item {
  display: inline-flex;
  flex: 0 0 68px;
  width: 68px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .25rem;
  color: inherit;
  text-decoration: none !important;
  vertical-align: top;
}

.kraho-product-family__thumb {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d5d5d5;
  background: #fff;
  padding: 2px;
  box-sizing: border-box;
}

.kraho-product-family__item:hover .kraho-product-family__thumb {
  border: 2px solid #777;
  padding: 1px;
}

.kraho-product-family__item.is-current .kraho-product-family__thumb {
  border: 3px solid #222;
  padding: 0;
}

.kraho-product-family__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kraho-product-family__value {
  display: block;
  width: 100%;
  overflow: hidden;
  font-size: .72rem;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kraho-product-family__item.is-current .kraho-product-family__value {
  font-weight: 600;
}

.kraho-product-family__noimage {
  padding: .2rem;
  font-size: .68rem;
  line-height: 1.05;
  text-align: center;
}

@media (max-width: 767px) {
  .kraho-product-family__item {
    flex-basis: 62px;
    width: 62px;
  }

  .kraho-product-family__thumb {
    width: 58px;
    height: 58px;
  }
}

/* 1.1.5: unavailable in the selected native size. Links remain clickable. */
.kraho-product-family__item.is-size-unavailable .kraho-product-family__thumb {
  background: #ededed;
  border-color: #b5b5b5;
}
.kraho-product-family__item.is-size-unavailable .kraho-product-family__thumb img {
  opacity: .38;
  filter: grayscale(.65);
}
.kraho-product-family__item.is-size-unavailable .kraho-product-family__noimage {
  opacity: .5;
}
.kraho-product-family__item.is-size-unavailable.is-current .kraho-product-family__thumb {
  border-color: #222;
}
.kraho-product-family__item:focus-visible .kraho-product-family__thumb {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.kraho-product-family__availability-note {
  margin-top: .4rem;
  font-size: .72rem;
  line-height: 1.3;
  color: #666;
}
.kraho-product-family__availability-note[hidden] {
  display: none;
}
