/**
 * Wcommero Pro — Thank You / order received Elementor widgets
 */

.szp-thankyou-editor-notice {
	margin: 0 0 16px;
	padding: 10px 14px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--szp-ty-muted, #5a5f6e);
	background: #f4f6ff;
	border: 1px dashed #c5cce8;
	border-radius: 8px;
}

.szp-thankyou--sample .woocommerce-order-overview {
	opacity: 0.92;
}

.szp-thankyou-skin {
	--szp-ty-accent: var(--storzen-theme, #FF3636);
	--szp-ty-radius: 10px;
	--szp-ty-border: #e4e6ed;
	--szp-ty-muted: #5a5f6e;
	--szp-ty-text: var(--storzen-text, #1a1d26);
	--szp-ty-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

/* Order summary strip */
.szp-thankyou-order-summary .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	list-style: none;
	margin: 0 0 24px;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid var(--szp-ty-border);
	border-radius: var(--szp-ty-radius);
	box-shadow: var(--szp-ty-shadow);
}

.szp-thankyou-order-summary .woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: var(--szp-ty-muted);
	line-height: 1.5;
}

.szp-thankyou-order-summary .woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--szp-ty-text);
}

/* Order details table (core WC markup) */
.szp-thankyou-order-details-wrap .woocommerce-order-details {
	margin-bottom: 0;
}

.szp-thankyou-order-details-wrap .woocommerce-order-details__title,
.szp-thankyou-order-details-wrap .woocommerce-column__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--szp-ty-text);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f1f5;
}

.szp-thankyou-order-details-wrap .woocommerce-table--order-details {
	border: 1px solid var(--szp-ty-border);
	border-radius: var(--szp-ty-radius);
	overflow: hidden;
	box-shadow: var(--szp-ty-shadow);
	margin-bottom: 24px;
}

.szp-thankyou-order-details-wrap .woocommerce-table--order-details th,
.szp-thankyou-order-details-wrap .woocommerce-table--order-details td {
	padding: 14px 18px;
	border-color: #f0f1f5;
}

.szp-thankyou-order-details-wrap .woocommerce-columns--addresses {
	margin-top: 8px;
}

.szp-thankyou-order-details-wrap .woocommerce-column--billing-address,
.szp-thankyou-order-details-wrap .woocommerce-column--shipping-address {
	background: #fafbfc;
	border: 1px solid var(--szp-ty-border);
	border-radius: var(--szp-ty-radius);
	padding: 18px 20px;
}

/* Upsell — uses same markup as elementor/templates/grid.php (shop-card-items) */
.szp-thankyou-upsell {
	margin-top: 32px;
	padding-top: 8px;
}

.szp-thankyou-upsell .szp-thankyou-upsell__title {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--szp-ty-text);
}

.szp-thankyou-upsell .szp-thankyou-upsell-grid.shop-section {
	padding-top: 0;
	padding-bottom: 0;
}

.szp-thankyou-upsell .szp-thankyou-upsell-grid .wco-container {
	max-width: 100%;
}
