async function click(){
await ajax.bind(this);
console.log(this.parentNode.parentNode.querySelectorAll(".style-products-wrapper .active-style-product"));
}
function click(){
let p = new Promise(ajax.bind(this));
p.then(console.log(this.parentNode.parentNode.querySelectorAll(".style-products-wrapper .active-style-product")), console.log("ошибка"));
}