Hi, please don't search by any placeholder text as it will change the browser language. You should use the locator which will be consistent with all browser languages.
In your case, if the browser language is English, then placeholder text will be "Search".
I have modified your code.
input_search = wait(browser, 20).until(EC.visibility_of_element_located((By.XPATH, "//input[contains(@class,'XTCLo')]")))
Hope this helps! :)