<script>
document.querySelectorAll('.ProductList-item, .ProductItem-relatedProducts-item').forEach(item => {
const h1 = item.querySelector('.ProductList-title');
const link = item.querySelector('.ProductList-item-link, .ProductItem-relatedProducts-link');
if (h1 && link) {
const a = document.createElement('a');
a.href = link.href;
a.className = 'ProductList-title';
a.textContent = h1.textContent;
h1.parentNode.replaceChild(a, h1);
}
});
</script>