javascript (function() { function cleanGap() { const gallery = document.querySelector('.ProductItem-gallery'); const details = document.querySelector('.ProductItem-details'); if (!gallery) return; let next = gallery.nextElementSibling; while (next && next.tagName === 'DIV' && !next.innerHTML.trim()) { next.remove(); next = gallery.nextElementSibling; } const zoom = document.querySelector('.Imagezoom-zoomContainer'); if (zoom) zoom.remove(); if (details) { details.style.marginTop = '0'; details.style.paddingTop = '0'; } } document.addEventListener('DOMContentLoaded', cleanGap); window.addEventListener('load', cleanGap); const observer = new MutationObserver((mutations, obs) => { if (document.querySelector('.ProductItem-gallery')) { cleanGap(); } }); observer.observe(document.body, { childList: true, subtree: true }); setTimeout(cleanGap, 1000); })();