/* Boxed step (checkout / thank you with theme-lite wrapper) */
.dreamflows-step-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
}

body.dreamflows-step-checkout .woocommerce-checkout {
	width: 100%;
}

/* Canvas — blank white page for Elementor / imported designs */
html.dreamflows-canvas-root,
body.dreamflows-canvas {
	margin: 0 !important;
	padding: 0 !important;
	background: #ffffff !important;
	background-image: none !important;
}

body.dreamflows-canvas #dreamflows-canvas-wrap,
body.dreamflows-canvas .dreamflows-container {
	min-height: 100vh;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #ffffff;
}

body.dreamflows-canvas .entry-content,
body.dreamflows-canvas .elementor {
	margin: 0;
}

body.dreamflows-canvas .elementor-section-wrap {
	width: 100%;
}

.df-thankyou-wrap {
	box-sizing: border-box;
	width: min(960px, calc(100% - 32px));
	margin: 48px auto;
	padding: 28px;
	color: #172033;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.55;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.df-thankyou-wrap * {
	box-sizing: border-box;
}

.df-thankyou-wrap p {
	margin: 0 0 16px;
}

.df-thankyou-wrap .woocommerce-notice,
.df-thankyou-wrap .woocommerce-thankyou-order-received {
	margin: 0 0 22px;
	padding: 16px 18px;
	color: #065f46;
	font-size: 20px;
	font-weight: 700;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
}

.df-thankyou-wrap .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.df-thankyou-wrap .woocommerce-order-overview li {
	margin: 0;
	padding: 14px;
	color: #64748b;
	font-size: 11px;
	text-transform: uppercase;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-align: center;
	flex: 1 1 160px;
	max-width: 220px;
	min-width: 130px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}

.df-thankyou-wrap .woocommerce-order-overview strong {
	display: block;
	margin-top: 4px;
	color: #0f172a;
	font-size: 14px;
	text-transform: none;
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
}


.df-thankyou-wrap h2,
.df-thankyou-wrap .woocommerce-order-details__title,
.df-thankyou-wrap .woocommerce-column__title {
	margin: 28px 0 14px;
	color: #0f172a;
	font-size: 22px;
	line-height: 1.25;
}

.df-thankyou-wrap table.shop_table,
.df-thankyou-wrap .woocommerce-table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.df-thankyou-wrap table.shop_table th,
.df-thankyou-wrap table.shop_table td,
.df-thankyou-wrap .woocommerce-table th,
.df-thankyou-wrap .woocommerce-table td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #e2e8f0;
}

.df-thankyou-wrap table.shop_table tr:last-child th,
.df-thankyou-wrap table.shop_table tr:last-child td,
.df-thankyou-wrap .woocommerce-table tr:last-child th,
.df-thankyou-wrap .woocommerce-table tr:last-child td {
	border-bottom: 0;
}

.df-thankyou-wrap table.shop_table th,
.df-thankyou-wrap .woocommerce-table th {
	font-weight: 700;
	background: #f8fafc;
}

.df-thankyou-wrap .woocommerce-customer-details address {
	margin: 0;
	padding: 18px;
	color: #334155;
	font-style: normal;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.df-thankyou-wrap a {
	color: #0f766e;
	text-decoration: none;
}

.df-thankyou-wrap a:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.df-thankyou-wrap {
		width: min(100% - 20px, 960px);
		margin: 24px auto;
		padding: 18px;
	}

	.df-thankyou-wrap .woocommerce-notice,
	.df-thankyou-wrap .woocommerce-thankyou-order-received {
		font-size: 17px;
	}

	.df-thankyou-wrap table.shop_table th,
	.df-thankyou-wrap table.shop_table td,
	.df-thankyou-wrap .woocommerce-table th,
	.df-thankyou-wrap .woocommerce-table td {
		padding: 10px;
	}
}

/* Thank You Header Styles */
.df-thankyou-header-wrap {
	text-align: center;
	margin: 24px auto 32px;
	padding: 0 16px;
}

.df-thankyou-check-circle {
	width: 60px;
	height: 60px;
	background: #10b981; /* Default emerald green */
	color: #ffffff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 16px;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.df-thankyou-page-title {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

/* Hide default WooCommerce success notice box since we have our own unified header */
.df-thankyou-wrap .woocommerce-notice.woocommerce-thankyou-order-received {
	display: none !important;
}
