/*
 * Echo product page — layout repair after the gallery is removed.
 *
 * Enqueued only on the Echo product (see product-page.php), never site-wide.
 *
 * Astra lays a single product out as two columns and sizes the summary to
 * roughly half. With `woocommerce_show_product_images` removed there is no left
 * column to sit beside, so the summary keeps its width and floats in the middle
 * of the page with a large void to its left. These rules let it take the full
 * width and cap it so the price and the Enroll button do not end up marooned at
 * opposite ends of a wide screen.
 */

.single-product div.product .summary.entry-summary {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	float: none;
}

/*
 * Astra's own two-column rule is more specific than the above on some layouts,
 * so the container is neutralised as well rather than escalating with !important.
 */
.single-product div.product {
	display: block;
}

/* The gallery column can still be emitted as an empty wrapper by some templates. */
.single-product div.product .woocommerce-product-gallery {
	display: none;
}

/*
 * The thank-you page's "set up your workspace" prompt. Plain and self-contained:
 * it appears below WooCommerce's order table and should read as part of it.
 */
.echo-setup-prompt {
	margin: 2em 0;
	padding: 1.5em;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}

.echo-setup-prompt h2 {
	margin-top: 0;
}
