Aruta,
попробуйте так ...
js
var checkON = document.querySelectorAll('input[type="checkbox"]');
checkON.forEach(function(check) {
check.onclick = function viewDesc(){
var title = this.closest('.upsale__block__bot-right__title-wrap');
var nextTitle = title.nextElementSibling;
nextTitle.classList.toggle("dflex");
nextTitle.classList.toggle("dnone");
}
});
css
.block__check:checked + label img{
transform: scaleY(-1);
}