/* =========================================================
   Sensual Moments — Order Received / Thank You page
   Scope: /checkout/order-received/ only — real classic
   WooCommerce thank-you markup, restyled to the approved
   flat plum/cream language.
   ========================================================= */

body.woocommerce-order-received {
	background: var(--sm-cream) !important;
}

body.woocommerce-order-received .inside-article {
	padding: clamp(54px, 6vw, 86px) 64px clamp(64px, 7vw, 96px) !important;
	background: transparent !important;
}

body.woocommerce-order-received h1.entry-title,
body.woocommerce-order-received .entry-header .entry-title,
body.woocommerce-order-received .page-title {
	width: 100% !important;
	max-width: 1180px !important;
	margin: 0 auto 34px !important;
	color: var(--sm-deep) !important;
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: clamp(32px, 4vw, 44px) !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.15 !important;
	text-align: left !important;
}

body.woocommerce-order-received .entry-content > .woocommerce,
body.woocommerce-order-received .woocommerce-order {
	width: 100% !important;
	max-width: 1180px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.woocommerce-order-received .woocommerce-order {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

body.woocommerce-order-received .woocommerce-notice--success,
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	position: relative !important;
	margin: 0 0 30px !important;
	padding: 20px 24px !important;
	border: 1px solid var(--sm-primary) !important;
	border-radius: 0 !important;
	background: var(--sm-white) !important;
	box-shadow: none !important;
	color: var(--sm-text) !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
}
body.woocommerce-order-received .woocommerce-notice--success::before,
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	display: none !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-overview {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0 !important;
	margin: 0 0 40px !important;
	padding: 0 !important;
	border: 1px solid var(--sm-border) !important;
	border-radius: 0 !important;
	background: var(--sm-white) !important;
	box-shadow: none !important;
	list-style: none !important;
}
body.woocommerce-order-received .woocommerce-order-overview li {
	float: none !important;
	margin: 0 !important;
	padding: 20px 22px !important;
	border-right: 1px solid var(--sm-border) !important;
	color: var(--sm-muted) !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 1.5px !important;
	text-transform: uppercase !important;
}
body.woocommerce-order-received .woocommerce-order-overview li:last-child { border-right: 0 !important; }
body.woocommerce-order-received .woocommerce-order-overview li strong {
	display: block !important;
	margin-top: 8px !important;
	color: var(--sm-deep) !important;
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
	margin: 40px 0 0 !important;
}
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-order h2,
body.woocommerce-order-received .woocommerce-order h3 {
	color: var(--sm-deep) !important;
	font-family: 'Playfair Display', Georgia, serif !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	margin: 0 0 22px !important;
}

body.woocommerce-order-received table.shop_table,
body.woocommerce-order-received .woocommerce-table--order-details,
body.woocommerce-order-received .woocommerce-table--order-downloads {
	width: 100% !important;
	margin: 0 !important;
	border: 1px solid var(--sm-border) !important;
	border-collapse: collapse !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td,
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
	border-color: var(--sm-border) !important;
	padding: 16px 18px !important;
	color: var(--sm-text) !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
}
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received .woocommerce-table--order-details th {
	color: var(--sm-deep) !important;
	font-family: 'Playfair Display', Georgia, serif !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
body.woocommerce-order-received table.shop_table td.product-name,
body.woocommerce-order-received .woocommerce-table__product-name a {
	color: var(--sm-deep) !important;
	font-weight: 500 !important;
}
body.woocommerce-order-received table.shop_table td.product-total,
body.woocommerce-order-received table.shop_table tfoot td,
body.woocommerce-order-received .woocommerce-Price-amount {
	color: var(--sm-primary) !important;
	font-weight: 500 !important;
}
body.woocommerce-order-received .wc-item-meta {
	margin: 6px 0 0 !important;
	color: var(--sm-muted) !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 12px !important;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
body.woocommerce-order-received .woocommerce-columns--addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 24px !important;
	margin: 0 !important;
}
body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
body.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0 !important;
	padding: 22px !important;
	border: 1px solid var(--sm-border) !important;
	border-radius: 0 !important;
	background: var(--sm-white) !important;
	box-shadow: none !important;
	color: var(--sm-text) !important;
	font-family: 'Jost', sans-serif !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 1.65 !important;
}

@media (max-width: 900px) {
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
	body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
	body.woocommerce-order-received .woocommerce-columns--addresses { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
	body.woocommerce-order-received .inside-article { padding-left: 24px !important; padding-right: 24px !important; }
	body.woocommerce-order-received .woocommerce-order-overview { grid-template-columns: 1fr !important; }
}
