So we have that $\overline{\mathbb{Z}[\frac{1}{p}]} = \mathbb{R}$ that $\mathbb{Z}[\frac{1}{p}]$ is dense in $\mathbb{R}$. How can it be that $\mathbb{Z}[\frac{1}{p}]$ under the diagonal map $t \mapsto (t,t)$ is now a lattice in $\mathbb{R} \times \mathbb{Q}_p$ ?
First we have the diagonal embedding and then we have the inclusion map: $$ \mathbb{Z}[\tfrac{1}{p}] \to \mathbb{Z}[\tfrac{1}{p}] \times \mathbb{Z}[\tfrac{1}{p}] \to \mathbb{R} \times \mathbb{Q}_p $$ So we have that $\mathbb{Z}[\frac{1}{p}] \subseteq \mathbb{R}$ in one metric and $\mathbb{Z}[\frac{1}{p}] \subseteq \mathbb{Q}_p$ in the $p$-adic metric.
The product of two metric spaces is could be metric space, there is certainly a product topology. Here one metric Euclidean and the other is non-Archimedian.