.attribute-selector {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;

  &__row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
  }

  &__label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #A0A0A0;
    min-width: 44px;
  }

  &__options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  &__swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid transparent;
    padding: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;

    &:hover {
      transform: scale(1.05);
    }

    &--selected {
      border-color: var(--tenant-primary);
      box-shadow:
        0 0 0 2px rgba(255, 255, 255, 1),
        0 0 0 3px var(--tenant-primary);
    }

    &--disabled {
      opacity: 0.3;
      cursor: not-allowed;
      pointer-events: none;
    }
  }

  &__text-option {
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: #666666;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    min-width: 34px;
    min-height: 34px;
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    &--selected {
      background: var(--tenant-primary);
      border-color: var(--tenant-primary);
      color: #ffffff;
    }

    &--disabled {
      opacity: 0.4;
      cursor: not-allowed;
      background-color: #f9f9f9;
      color: #b0b0b0;
      pointer-events: none;
    }
  }
}
