.wc-block-product:has([data-zoom-hover="true"]) { overflow: hidden; } .wc-block-product:has([data-zoom-hover="true"]) img { transition: all 0.3s ease-in-out; } .wc-block-product:has([data-zoom-hover="true"]):hover img { transform: scale(1.1); transform-origin: center center; }