To align Product Name - Gallery Images in Squarespace Product, you can use this code to Custom CSS box.
/* align product title gallery image */
section.product-details.ProductItem-details {
padding-top: 0px !important;
top: -10px;
}
result