const blocks = document.querySelectorAll('.block-works-item');
blocks.forEach(block => {
block.addEventListener('mouseenter', function() {
this.querySelector('.text-block_price').classList.add('text-block_price_hover');
});
block.addEventListener('mouseleave', function() {
this.querySelector('.text-block_price').classList.remove('text-block_price_hover');
});
});