/* Xe Cung Commerce Core V1.0.0 - shared design tokens and future primitives. */
:root {
	--xcc-font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
	--xcc-red: #ed1b2f;
	--xcc-red-dark: #c90e24;
	--xcc-red-soft: #fff2f4;
	--xcc-green: #16843f;
	--xcc-green-soft: #edf9f1;
	--xcc-ink: #202833;
	--xcc-text: #394452;
	--xcc-muted: #687484;
	--xcc-line: #e2e8ef;
	--xcc-line-soft: #e9eef3;
	--xcc-soft: #f6f8fb;
	--xcc-white: #fff;
	--xcc-radius-sm: 10px;
	--xcc-radius-md: 14px;
	--xcc-radius-lg: 20px;
	--xcc-shadow-card: 0 14px 38px rgba(24, 34, 49, .08);
}

/* Compatibility aliases keep the approved Cart V6 / Checkout V14 / View Order visuals unchanged. */
body.woocommerce-cart {
	--xcm-red: var(--xcc-red);
	--xcm-red-dark: var(--xcc-red-dark);
	--xcm-red-soft: var(--xcc-red-soft);
	--xcm-ink: var(--xcc-ink);
	--xcm-text: var(--xcc-text);
	--xcm-muted: var(--xcc-muted);
	--xcm-line: var(--xcc-line);
	--xcm-soft: var(--xcc-soft);
	--xcm-white: var(--xcc-white);
}

body.xcm-checkout-v13 {
	--xck-red: var(--xcc-red);
	--xck-red-dark: var(--xcc-red-dark);
	--xck-red-soft: #fff3f5;
	--xck-green: var(--xcc-green);
	--xck-green-soft: var(--xcc-green-soft);
	--xck-ink: var(--xcc-ink);
	--xck-title: #252e39;
	--xck-text: #3f4b59;
	--xck-muted: #687585;
	--xck-placeholder: #8995a3;
	--xck-line: #dde5ed;
	--xck-line-soft: var(--xcc-line-soft);
	--xck-soft: var(--xcc-soft);
	--xck-white: var(--xcc-white);
}

body.xcm-view-order-page {
	--xvo-red: var(--xcc-red);
	--xvo-red-dark: #c70c22;
	--xvo-red-soft: var(--xcc-red-soft);
	--xvo-ink: #20242c;
	--xvo-text: #3d4754;
	--xvo-muted: #687382;
	--xvo-line: #e1e7ee;
	--xvo-soft: #f5f7fa;
	--xvo-white: var(--xcc-white);
}

/* New shared primitives. They are opt-in and do not restyle legacy WooCommerce markup. */
.xcc-card {
	border: 1px solid var(--xcc-line);
	border-radius: var(--xcc-radius-lg);
	background: var(--xcc-white);
	box-shadow: var(--xcc-shadow-card);
}

.xcc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--xcc-radius-sm);
	font-family: var(--xcc-font-family);
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.xcc-button--primary {
	color: #fff;
	background: linear-gradient(135deg, #ff4b5d 0%, #ed1b2f 55%, #c90e24 100%);
}

.xcc-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 9px;
	border-radius: 999px;
	font-family: var(--xcc-font-family);
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.xcc-price--accent {
	color: var(--xcc-red);
	font-weight: 850;
}
