/*
 * Coxwall Store — WooCommerce styles. Bright & airy: white cards (radius 16, soft shadow) on a
 * very light canvas, one emerald accent for primary actions, 17px body, generous spacing.
 *
 * Replaces woocommerce-general / -layout / -smallscreen (dequeued in inc/woocommerce.php) and
 * restyles the Cart / Checkout blocks. Every theme-owned class is prefixed `cxw-` so nothing
 * collides with the theme's own `cx-` components. Logical properties throughout → RTL for free.
 *
 * Contents
 *  1. Tokens & base               8. Product page           15. My Account
 *  2. Buttons                     9. Shop grid              16. License server (cxls-*)
 *  3. Forms                      10. Cart page              17. Cart & Checkout blocks
 *  4. Notices                    11. Checkout shell         18. Motion / print
 *  5. Header cart button         12. Checkout layout
 *  6. Drawer                     13. Payment methods
 *  7. Mini-cart & steppers       14. Thank-you page
 */

/* ------------------------------------------------------------------ */
/* 1. Tokens & base                                                   */
/* ------------------------------------------------------------------ */
:root {
	/* Shared theme tokens (tokens.css) with the brief's values as fallbacks. Primary buttons use
	   emerald-700 (5.5:1 with white text, WCAG AA); emerald-600 is the accent for icons/chips. */
	--cxw-accent: var(--cx-emerald-600, #059669);
	--cxw-primary: var(--cx-emerald-700, #047857);
	--cxw-primary-hover: var(--cx-emerald-800, #065F46);
	--cxw-primary-soft: var(--cx-emerald-50, #ECFDF5);
	--cxw-primary-soft-2: var(--cx-emerald-100, #D1FAE5);
	--cxw-ink: var(--cx-ink, #0B1220);
	--cxw-text: var(--cx-text, #0B1220);
	--cxw-muted: var(--cx-muted, #5B6B82);
	--cxw-border: var(--cx-border, #E6EAF0);
	--cxw-border-strong: #CBD3DE;
	--cxw-surface: var(--cx-surface, #FFFFFF);
	--cxw-canvas: var(--cx-canvas, #F6F8FB);
	--cxw-navy: var(--cx-navy-900, #0A1B33);
	--cxw-error: #DC2626;
	--cxw-error-soft: #FEF2F2;
	--cxw-warn: #B45309;
	--cxw-warn-soft: #FEF3C7;
	--cxw-radius-card: 16px;
	--cxw-radius-btn: 12px;
	--cxw-radius-field: 10px;
	--cxw-radius-sm: 8px;
	--cxw-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 8px 24px rgba(11, 18, 32, .06);
	--cxw-shadow-raise: 0 2px 4px rgba(11, 18, 32, .06), 0 18px 48px rgba(11, 18, 32, .12);
	--cxw-field-h: 48px;
	--cxw-btn-h: 44px;
	--cxw-btn-h-lg: 52px;
	--cxw-summary-w: 420px;
	--cxw-gutter: var(--cx-gutter, clamp(16px, 4vw, 32px));
	--cxw-container: var(--cx-container, 1200px);
	--cxw-font: var(--cx-font, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	--cxw-mono: var(--cx-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--cxw-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--cxw-ink);
	display: block;
	font-weight: 600;
	height: auto;
	inset-inline-start: 8px;
	padding: 12px 20px;
	top: 8px;
	width: auto;
	z-index: 100000;
	border-radius: var(--cxw-radius-sm);
	box-shadow: var(--cxw-shadow-raise);
}

.cxw-wc,
.woocommerce,
.woocommerce-page .cxw-cart,
.cxw-drawer,
.cxw-shell__main,
.cxw-shell__header,
.cxw-shell__footer {
	font-family: var(--cxw-font);
	color: var(--cxw-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.cxw-wc-main {
	display: block;
	max-width: var(--cxw-container);
	margin-inline: auto;
	padding: clamp(20px, 4vw, 48px) var(--cxw-gutter) clamp(56px, 8vw, 112px);
	box-sizing: border-box;
}

.woocommerce *,
.woocommerce *::before,
.woocommerce *::after,
.cxw-drawer *,
.cxw-drawer *::before,
.cxw-drawer *::after,
.cxw-cart-toggle,
.cxw-cart-toggle *,
.cxw-shell__header *,
.cxw-shell__footer * { box-sizing: border-box; }

.woocommerce img,
.cxw-drawer img {
	max-width: 100%;
	height: auto;
}

.woocommerce :focus-visible,
.cxw-drawer :focus-visible,
.cxw-cart-toggle:focus-visible,
.cxw-shell__header :focus-visible,
.cxw-shell__footer :focus-visible {
	outline: 3px solid var(--cxw-ink);
	outline-offset: 2px;
	box-shadow: none;
}

.cxw-icon { flex: none; vertical-align: middle; display: inline-block; }
.cxw-muted { color: var(--cxw-muted); }
.cxw-link,
.woocommerce a.cxw-link {
	color: var(--cxw-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--cxw-border-strong);
}
.cxw-link:hover,
.woocommerce a.cxw-link:hover { color: var(--cxw-primary); text-decoration-color: currentColor; }
.cxw-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cxw-primary);
}
.cxw-summary-title {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--cxw-ink);
}
.cxw-card {
	background: var(--cxw-surface);
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	box-shadow: var(--cxw-shadow);
}
.cxw-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--cxw-canvas);
	border: 1px solid var(--cxw-border);
	color: var(--cxw-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}
.cxw-chip--save { background: var(--cxw-primary-soft); border-color: var(--cxw-primary-soft-2); color: var(--cxw-primary-hover); }

.woocommerce .clear,
.woocommerce .clearfix::after { clear: both; display: block; content: ""; }

.woocommerce-breadcrumb {
	margin: 0 0 clamp(20px, 3vw, 32px);
	font-size: 14px;
	color: var(--cxw-muted);
	overflow-wrap: anywhere;
}
.woocommerce-breadcrumb a { color: inherit; text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--cxw-ink); text-decoration: underline; }
.woocommerce-breadcrumb .cxw-bc-sep { margin-inline: 8px; opacity: .6; }

/* Prices */
.woocommerce .price,
.woocommerce .amount,
.cxw-drawer .amount { font-variant-numeric: tabular-nums; }
.woocommerce .price del { color: var(--cxw-muted); font-weight: 400; margin-inline-end: 6px; }
.woocommerce .price ins { text-decoration: none; }

/* ------------------------------------------------------------------ */
/* 2. Buttons                                                         */
/* ------------------------------------------------------------------ */
.cxw-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.cxw-drawer a.button {
	--btn-bg: var(--cxw-surface);
	--btn-fg: var(--cxw-ink);
	--btn-bd: var(--cxw-border-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--cxw-btn-h);
	padding: 10px 20px;
	border: 1px solid var(--btn-bd);
	border-radius: var(--cxw-radius-btn);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 15px/1.2 var(--cxw-font);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .04);
}
.cxw-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { border-color: var(--cxw-ink); color: var(--cxw-ink); }
.cxw-btn:active { transform: translateY(1px); }

/* Primary: checkout, buy now, pay */
.cxw-btn--primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.checkout-button,
.woocommerce #place_order,
.cxw-drawer a.button.checkout,
.woocommerce a.button.cxw-btn--primary,
.woocommerce button.button.cxw-btn--primary {
	--btn-bg: var(--cxw-primary);
	--btn-fg: #fff;
	--btn-bd: var(--cxw-primary);
	box-shadow: 0 1px 2px rgba(5, 150, 105, .2), 0 8px 20px rgba(5, 150, 105, .18);
}
.cxw-btn--primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover,
.cxw-drawer a.button.checkout:hover,
.woocommerce a.button.cxw-btn--primary:hover,
.woocommerce button.button.cxw-btn--primary:hover {
	--btn-bg: var(--cxw-primary-hover);
	--btn-bd: var(--cxw-primary-hover);
	color: #fff;
}
.cxw-btn--primary:focus-visible,
.woocommerce #place_order:focus-visible { outline-color: var(--cxw-ink); box-shadow: 0 0 0 3px #fff; }

.cxw-btn--secondary,
.woocommerce .button.cxw-btn--secondary { --btn-bg: var(--cxw-surface); --btn-fg: var(--cxw-ink); --btn-bd: var(--cxw-border-strong); }
.cxw-btn--secondary:hover,
.woocommerce .button.cxw-btn--secondary:hover { --btn-bg: var(--cxw-canvas); --btn-bd: var(--cxw-ink); }
.cxw-btn--lg,
.woocommerce .button.cxw-btn--lg { min-height: var(--cxw-btn-h-lg); padding-inline: 24px; font-size: 16px; }
.cxw-btn--block { display: flex; width: 100%; }
.cxw-btn--link,
.cxw-drawer a.button.cxw-btn--link,
.woocommerce .button.cxw-btn--link {
	--btn-bg: transparent;
	--btn-bd: transparent;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cxw-btn--link:hover,
.woocommerce .button.cxw-btn--link:hover { border-color: transparent !important; color: var(--cxw-primary); background: transparent; }

.woocommerce .button:disabled,
.woocommerce .button.disabled,
.woocommerce .button[aria-disabled="true"] {
	opacity: .55;
	cursor: not-allowed;
	box-shadow: none;
}
.woocommerce .button.loading,
.cxw-btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.woocommerce .button.loading::after,
.cxw-btn.loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 18px;
	height: 18px;
	border: 2px solid var(--btn-fg, currentColor);
	border-inline-end-color: transparent;
	border-radius: 50%;
	animation: cxw-spin .7s linear infinite;
}
@keyframes cxw-spin { to { transform: rotate(360deg); } }
.woocommerce a.added_to_cart { display: inline-block; margin-inline-start: 10px; font-weight: 500; }

/* ------------------------------------------------------------------ */
/* 3. Forms                                                           */
/* ------------------------------------------------------------------ */
.woocommerce form .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
}
.woocommerce form .form-row label,
.cxw-coupon__label {
	font-size: 14px;
	font-weight: 500;
	color: var(--cxw-text);
	line-height: 1.4;
}
.woocommerce form .form-row .required { color: var(--cxw-error); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--cxw-muted); font-weight: 400; }

.woocommerce input.input-text,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce input[type="search"],
.woocommerce select,
.woocommerce textarea,
.cxw-coupon input {
	width: 100%;
	min-height: var(--cxw-field-h);
	padding: 12px 16px;
	border: 1px solid var(--cxw-border-strong);
	border-radius: var(--cxw-radius-field);
	background: var(--cxw-surface);
	color: var(--cxw-text);
	font: 400 16px/1.4 var(--cxw-font); /* 16px avoids iOS zoom */
	box-shadow: 0 1px 2px rgba(11, 18, 32, .03);
	transition: border-color .15s, box-shadow .15s;
}
.woocommerce input::placeholder,
.cxw-coupon input::placeholder { color: #8A97AA; }
.woocommerce textarea { min-height: 110px; }
.woocommerce select { -webkit-appearance: none; appearance: none; padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
[dir="rtl"] .woocommerce select { background-position: left 16px center; }
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.cxw-coupon input:focus {
	border-color: var(--cxw-primary);
	box-shadow: 0 0 0 3px var(--cxw-primary-soft-2);
	outline: none;
}
.woocommerce input:focus-visible,
.woocommerce select:focus-visible,
.woocommerce textarea:focus-visible,
.cxw-coupon input:focus-visible { outline: none; }
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cxw-primary);
	flex: none;
}
.woocommerce form .form-row .woocommerce-form__label-for-checkbox,
.woocommerce .woocommerce-form__label-for-checkbox {
	position: relative;
	display: block;
	padding-inline-start: 28px;
	cursor: pointer;
	font-weight: 400;
	line-height: 1.5;
}
.woocommerce .woocommerce-form__label-for-checkbox > input[type="checkbox"] {
	position: absolute;
	inset-inline-start: 0;
	top: 3px;
}
.woocommerce form .form-row .description,
.woocommerce form .form-row .woocommerce-input-wrapper .description {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--cxw-muted);
}

/* Invalid */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.cxw-has-error input.input-text,
.woocommerce form .form-row.cxw-has-error select,
.woocommerce input[aria-invalid="true"],
.cxw-coupon input[aria-invalid="true"] {
	border-color: var(--cxw-error);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--cxw-border-strong); }
.cxw-field-error,
.woocommerce .checkout-inline-error-message {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 6px 0 0;
	color: var(--cxw-error);
	font-size: 13px;
	font-weight: 500;
}
.cxw-field-error::before {
	content: "!";
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--cxw-error);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

/* Two-up rows */
.woocommerce .form-row-first,
.woocommerce .form-row-last { width: 100%; }
@media (min-width: 560px) {
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-address-fields__field-wrapper,
	.woocommerce-EditAccountForm {
		display: flex;
		flex-wrap: wrap;
		column-gap: 14px;
	}
	.woocommerce-billing-fields__field-wrapper > .form-row,
	.woocommerce-shipping-fields__field-wrapper > .form-row,
	.woocommerce-address-fields__field-wrapper > .form-row,
	.woocommerce-EditAccountForm > .form-row,
	.woocommerce-EditAccountForm > fieldset,
	.woocommerce-EditAccountForm > p,
	.woocommerce-EditAccountForm > div { flex: 1 1 100%; min-width: 0; }
	.woocommerce-billing-fields__field-wrapper > .form-row-first,
	.woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce-shipping-fields__field-wrapper > .form-row-first,
	.woocommerce-shipping-fields__field-wrapper > .form-row-last,
	.woocommerce-address-fields__field-wrapper > .form-row-first,
	.woocommerce-address-fields__field-wrapper > .form-row-last,
	.woocommerce-EditAccountForm > .form-row-first,
	.woocommerce-EditAccountForm > .form-row-last { flex: 1 1 calc(50% - 7px); }
}
.woocommerce fieldset { border: 1px solid var(--cxw-border); border-radius: var(--cxw-radius-card); padding: 20px; margin: 8px 0 20px; }
.woocommerce fieldset legend { padding-inline: 6px; font-weight: 600; }

/* select2 / selectWoo (country) */
.woocommerce .select2-container { width: 100% !important; }
.woocommerce .select2-container .select2-selection--single {
	height: var(--cxw-field-h);
	border: 1px solid var(--cxw-border-strong);
	border-radius: var(--cxw-radius-field);
	display: flex;
	align-items: center;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding-inline: 16px 44px; line-height: 1.4; color: var(--cxw-text); }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 100%; inset-inline-end: 10px; }
.woocommerce .select2-container--focus .select2-selection--single,
.woocommerce .select2-container--open .select2-selection--single { border-color: var(--cxw-primary); box-shadow: 0 0 0 3px var(--cxw-primary-soft-2); }
.select2-dropdown { border-color: var(--cxw-border-strong); border-radius: var(--cxw-radius-field); box-shadow: var(--cxw-shadow-raise); }
.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] { background: var(--cxw-primary) !important; }

/* Show-password toggle */
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .show-password-input {
	position: absolute;
	inset-inline-end: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.woocommerce .show-password-input::after { content: "\1F441"; font-size: 16px; opacity: .6; }
.woocommerce .show-password-input.display-password::after { opacity: 1; }

/* ------------------------------------------------------------------ */
/* 4. Notices                                                         */
/* ------------------------------------------------------------------ */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice--error,
.woocommerce .cxw-atc-msg .woocommerce-error {
	position: relative;
	list-style: none;
	margin: 0 0 20px;
	padding: 14px 18px;
	padding-inline-start: 48px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-field);
	background: var(--cxw-surface);
	color: var(--cxw-text);
	font-size: 15px;
	line-height: 1.5;
	display: flow-root;
	box-shadow: var(--cxw-shadow);
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: "";
	position: absolute;
	inset-inline-start: 18px;
	top: 16px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
}
.woocommerce-message { border-color: var(--cxw-primary-soft-2); background: var(--cxw-primary-soft); }
.woocommerce-message::before { background: var(--cxw-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.woocommerce-info { background: var(--cxw-canvas); }
.woocommerce-info::before { background: var(--cxw-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") center/12px no-repeat; }
.woocommerce-error { border-color: rgba(220, 38, 38, .3); background: var(--cxw-error-soft); }
.woocommerce-error::before { background: var(--cxw-error) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/12px no-repeat; }
.woocommerce-error li { margin: 0 0 4px; }
.woocommerce-error li:last-child { margin: 0; }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: inline-end;
	min-height: 36px;
	padding: 6px 14px;
	margin-inline-start: 12px;
	font-size: 14px;
}
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) { color: inherit; font-weight: 600; }
.woocommerce-store-notice,
p.demo_store {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 9990;
	margin: 0;
	padding: 12px var(--cxw-gutter);
	background: var(--cxw-navy);
	color: #fff;
	text-align: center;
	font-size: 14px;
}
.woocommerce-store-notice a { color: #fff; }

/* ------------------------------------------------------------------ */
/* 5. Header cart button                                              */
/* ------------------------------------------------------------------ */
.cxw-cart-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	transition: background-color .15s;
}
.cxw-cart-toggle:hover { background: var(--cxw-canvas); color: inherit; }
.cxw-cart-count {
	position: absolute;
	top: 2px;
	inset-inline-end: 0;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--cxw-primary);
	color: #fff;
	font: 700 11px/20px var(--cxw-font);
	text-align: center;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 0 0 2px var(--cxw-surface);
}
.cxw-cart-count.is-empty { display: none; }

/* ------------------------------------------------------------------ */
/* 6. Drawer                                                          */
/* ------------------------------------------------------------------ */
.cxw-drawer {
	position: fixed;
	inset: 0;
	inset-inline-start: auto;
	margin: 0;
	padding: 0;
	width: min(440px, 100vw);
	max-width: 100vw;
	height: 100%;
	max-height: 100dvh;
	border: 0;
	background: var(--cxw-surface);
	color: var(--cxw-text);
	box-shadow: var(--cxw-shadow-raise);
	overflow: hidden;
}
@media (min-width: 480px) {
	.cxw-drawer {
		inset: 12px 12px 12px auto;
		height: calc(100% - 24px);
		max-height: calc(100dvh - 24px);
		border-radius: 20px;
	}
	[dir="rtl"] .cxw-drawer { inset: 12px auto 12px 12px; }
}
.cxw-drawer:not([open]) { display: none; }
.cxw-drawer::backdrop { background: rgba(11, 18, 32, .4); backdrop-filter: blur(2px); }
.cxw-drawer[open] { animation: cxw-drawer-in .3s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] .cxw-drawer[open] { animation-name: cxw-drawer-in-rtl; }
@keyframes cxw-drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cxw-drawer-in-rtl { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
html.cxw-drawer-open { overflow: hidden; }

.cxw-drawer__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.cxw-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 24px 16px;
	border-bottom: 1px solid var(--cxw-border);
}
.cxw-drawer__title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--cxw-ink); }
.cxw-drawer__count { color: var(--cxw-muted); font-weight: 500; }
.cxw-drawer__close {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-inline-end: -10px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--cxw-ink);
	cursor: pointer;
}
.cxw-drawer__close:hover { background: var(--cxw-canvas); }
.cxw-drawer .widget_shopping_cart_content {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

/* ------------------------------------------------------------------ */
/* 7. Mini-cart & steppers                                            */
/* ------------------------------------------------------------------ */
.cxw-mini { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cxw-mini__list {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	margin: 0;
	padding: 4px 24px;
	list-style: none;
}
.cxw-mini__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--cxw-border);
	transition: opacity .2s;
}
.cxw-mini__item:last-child { border-bottom: 0; }
.cxw-mini__item.is-busy { opacity: .5; pointer-events: none; }
.cxw-mini__thumb img,
.cxw-mini__thumb .cxw-thumb-mock {
	display: grid;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--cxw-border);
}
.cxw-mini__name { margin: 0 0 2px; font-weight: 600; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.cxw-mini__name a { color: var(--cxw-ink); text-decoration: none; }
.cxw-mini__name a:hover { text-decoration: underline; }
.cxw-mini__unit { font-size: 14px; color: var(--cxw-muted); }
.cxw-mini__total { font-weight: 600; font-size: 16px; text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cxw-mini__controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cxw-mini__qty-static { font-size: 14px; color: var(--cxw-muted); }
.cxw-mini__remove {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	color: var(--cxw-muted);
}
.cxw-mini__remove:hover { color: var(--cxw-error); background: var(--cxw-error-soft); }
.cxw-mini__foot {
	padding: 18px 24px calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--cxw-border);
	background: var(--cxw-surface);
}
.cxw-mini__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 4px;
	font-size: 16px;
}
.cxw-mini__subtotal strong { font-weight: 500; color: var(--cxw-muted); }
.cxw-mini__subtotal .amount { font-weight: 700; font-size: 20px; color: var(--cxw-ink); }
.cxw-mini__note { margin: 0 0 16px; font-size: 13px; color: var(--cxw-muted); }
.cxw-mini__buttons { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.cxw-mini__empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 40px 24px;
	text-align: center;
	color: var(--cxw-muted);
}
.cxw-mini__empty p { margin: 0; font-size: 17px; color: var(--cxw-text); }
.cxw-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 20px;
	background: var(--cxw-primary-soft);
	color: var(--cxw-primary);
}

/* Item meta (plan, sites, validity) — WooCommerce dl.variation */
.woocommerce dl.variation,
.cxw-drawer dl.variation,
.cxw-review dl.variation,
.wc-item-meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 6px;
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	color: var(--cxw-muted);
	list-style: none;
}
dl.variation dt,
dl.variation dd,
dl.variation dd p { margin: 0; font-weight: 400; }
dl.variation dt { color: var(--cxw-muted); }
.wc-item-meta { display: block; }
.wc-item-meta li { margin: 0; }
.wc-item-meta li p { display: inline; margin: 0; }
.wc-item-meta-label { font-weight: 400; }

/* Thumbnail tile (license products without images) */
.cxw-thumb-mock {
	display: inline-grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 12px;
	background: var(--cxw-primary-soft);
	color: var(--cxw-primary);
	border: 1px solid var(--cxw-primary-soft-2);
}

/* Shared stepper (drawer) + WooCommerce .quantity with +/- */
.cxw-stepper,
.woocommerce div.quantity {
	display: inline-flex;
	align-items: stretch;
	height: 44px;
	border: 1px solid var(--cxw-border-strong);
	border-radius: var(--cxw-radius-btn);
	background: var(--cxw-surface);
	overflow: hidden;
}
.cxw-stepper__btn,
.cxw-qty-btn {
	display: inline-grid;
	place-items: center;
	width: 40px;
	border: 0;
	background: transparent;
	color: var(--cxw-ink);
	cursor: pointer;
}
.cxw-stepper__btn:hover,
.cxw-qty-btn:hover { background: var(--cxw-canvas); }
.cxw-stepper__input,
.woocommerce div.quantity input.qty {
	width: 44px !important;
	min-height: 0 !important;
	height: 100%;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-align: center;
	font: 600 15px var(--cxw-font);
	-moz-appearance: textfield;
	appearance: textfield;
}
.cxw-stepper__input::-webkit-outer-spin-button,
.cxw-stepper__input::-webkit-inner-spin-button,
.woocommerce div.quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cxw-stepper:focus-within,
.woocommerce div.quantity:focus-within { border-color: var(--cxw-primary); box-shadow: 0 0 0 3px var(--cxw-primary-soft-2); }
.cxw-stepper__input:focus-visible,
.woocommerce div.quantity input.qty:focus-visible { outline: none; }
/* No stepper without JS, or when quantity is fixed (sold individually / hidden). */
html:not(.cxw-js) .cxw-qty-btn { display: none; }
.woocommerce div.quantity:has(input[type="hidden"]),
.woocommerce div.quantity:has(input[readonly]) { border: 0; background: transparent; height: auto; }
.woocommerce div.quantity:has(input[type="hidden"]) .cxw-qty-btn,
.woocommerce div.quantity:has(input[readonly]) .cxw-qty-btn { display: none; }
.woocommerce div.quantity.hidden,
.woocommerce div.product form.cart div.quantity:has(input[type="hidden"]) { display: none; }

/* ------------------------------------------------------------------ */
/* 8. Product page                                                    */
/* ------------------------------------------------------------------ */
.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 5vw, 80px);
	position: relative;
}
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product > .summary { min-width: 0; }
.woocommerce div.product > :not(.woocommerce-product-gallery):not(.summary):not(.onsale) { grid-column: 1 / -1; }
@media (min-width: 960px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
	.woocommerce div.product > .woocommerce-product-gallery { position: sticky; top: 96px; }
}
@media (min-width: 1600px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1.2fr) minmax(0, 540px); }
}
.woocommerce span.onsale {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--cxw-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

/* Core gallery (products with images) */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder img {
	display: block;
	width: 100%;
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-canvas);
	border: 1px solid var(--cxw-border);
}
.woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 12px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	opacity: .7;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--cxw-primary); }
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--cxw-surface);
	box-shadow: var(--cxw-shadow);
	font-size: 0;
}
.woocommerce-product-gallery__trigger::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Screenshot gallery in a thin browser frame */
.cxw-gallery { position: relative; }
.cxw-gallery::before {
	content: "";
	position: absolute;
	inset: -8% 0 auto;
	height: 70%;
	background: radial-gradient(60% 60% at 50% 40%, rgba(5, 150, 105, .14), rgba(5, 150, 105, 0) 70%);
	pointer-events: none;
	z-index: 0;
}
.cxw-frame {
	position: relative;
	z-index: 1;
	margin: 0;
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	border: 1px solid var(--cxw-border);
	box-shadow: var(--cxw-shadow-raise);
	overflow: hidden;
}
.cxw-frame__bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--cxw-canvas); border-bottom: 1px solid var(--cxw-border); }
.cxw-frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--cxw-border-strong); }
.cxw-frame__screen { position: relative; background: var(--cxw-canvas); }
.cxw-frame__shot { display: block; }
.cxw-frame__shot[hidden] { display: none; }
.cxw-frame__shot img { display: block; width: 100%; height: auto; }
.cxw-frame__caption { padding: 12px 16px; font-size: 14px; color: var(--cxw-muted); border-top: 1px solid var(--cxw-border); background: var(--cxw-surface); }
.cxw-thumbs {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 12px;
	margin: 16px 0 0;
}
.cxw-thumbs__item {
	display: block;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 12px;
	background: var(--cxw-surface);
	box-shadow: 0 0 0 1px var(--cxw-border);
	overflow: hidden;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.cxw-thumbs__item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; opacity: .75; transition: opacity .15s; }
.cxw-thumbs__item:hover img { opacity: 1; }
.cxw-thumbs__item.is-active { border-color: var(--cxw-primary); box-shadow: 0 0 0 1px var(--cxw-primary); }
.cxw-thumbs__item.is-active img { opacity: 1; }

/* License card (fallback when no screenshot exists yet) */
.cxw-card-mock {
	position: relative;
	display: grid;
	place-items: center;
	padding: clamp(28px, 6vw, 72px);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-canvas);
	border: 1px solid var(--cxw-border);
	aspect-ratio: 4 / 3;
	max-height: 640px;
	overflow: hidden;
}
.cxw-card-mock__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(55% 55% at 50% 45%, rgba(5, 150, 105, .18), rgba(5, 150, 105, 0) 70%);
	pointer-events: none;
}
.cxw-card-mock__card {
	position: relative;
	width: min(100%, 380px);
	padding: clamp(20px, 4vw, 32px);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	border: 1px solid var(--cxw-border);
	box-shadow: var(--cxw-shadow-raise);
}
.cxw-card-mock__head { display: flex; align-items: center; gap: 12px; }
.cxw-card-mock__shield { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cxw-primary-soft); color: var(--cxw-primary); }
.cxw-card-mock__brand { font-size: 20px; color: var(--cxw-ink); letter-spacing: -.01em; }
.cxw-card-mock__plan { margin: 18px 0 12px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--cxw-ink); }
.cxw-card-mock__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.cxw-card-mock__facts li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--cxw-canvas); border: 1px solid var(--cxw-border); font-size: 13px; font-weight: 600; color: var(--cxw-ink); }
.cxw-card-mock__key { padding: 12px; border: 1px dashed var(--cxw-border-strong); border-radius: 10px; font: 600 14px var(--cxw-mono); letter-spacing: .06em; color: var(--cxw-muted); text-align: center; }

/* Summary */
.woocommerce div.product .summary > * { margin-top: 0; }
.woocommerce div.product .product_title {
	margin: 0 0 14px;
	font-size: clamp(32px, 2.2vw + 20px, 44px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: var(--cxw-ink);
	overflow-wrap: anywhere;
}
.woocommerce div.product .woocommerce-product-details__short-description { margin: 0 0 28px; color: var(--cxw-muted); font-size: 17px; line-height: 1.6; }
.woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.woocommerce div.product .summary > .price {
	margin: 0 0 4px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--cxw-ink);
}
.cxw-tax-note { margin: 0 0 20px; font-size: 14px; color: var(--cxw-muted); }
.woocommerce div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; }
.woocommerce .star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 14px; line-height: 1; overflow: hidden; }
.woocommerce .star-rating::before { content: "★★★★★"; position: absolute; inset: 0; color: var(--cxw-border-strong); letter-spacing: .1em; }
.woocommerce .star-rating span { position: absolute; inset-block: 0; inset-inline-start: 0; overflow: hidden; padding-top: 1.5em; }
.woocommerce .star-rating span::before { content: "★★★★★"; position: absolute; top: 0; inset-inline-start: 0; color: var(--cxw-warn); letter-spacing: .1em; }

/* Plan switcher */
.cxw-plan-switch { margin: 0 0 24px; }
.cxw-plans {
	display: flex;
	gap: 4px;
	padding: 4px;
	margin: 0 0 20px;
	border-radius: 14px;
	background: var(--cxw-canvas);
	border: 1px solid var(--cxw-border);
}
.cxw-plans__item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 52px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--cxw-muted);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s, box-shadow .15s;
}
.cxw-plans__item:hover { color: var(--cxw-ink); }
.cxw-plans__item.is-current {
	background: var(--cxw-surface);
	color: var(--cxw-ink);
	box-shadow: 0 1px 2px rgba(11, 18, 32, .08), 0 4px 12px rgba(11, 18, 32, .06);
}
.cxw-plans__item .cxw-chip { font-size: 11px; padding: 1px 8px; }
@media (min-width: 400px) {
	.cxw-plans__item { flex-direction: row; gap: 8px; }
}
.cxw-price__main,
.woocommerce div.product .cxw-price .price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 6px;
	color: var(--cxw-ink);
	font-weight: 700;
	font-size: clamp(36px, 2vw + 24px, 48px);
	line-height: 1.05;
	letter-spacing: -.02em;
}
.cxw-price__amount .amount { font-size: inherit; }
.cxw-price__period { font-size: 17px; font-weight: 500; color: var(--cxw-muted); letter-spacing: 0; }
.cxw-price__sub { margin: 0; font-size: 15px; color: var(--cxw-muted); }
.cxw-price { transition: opacity .15s; }
.cxw-price.is-switching { opacity: .4; }

/* Add to cart form */
.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
}
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart .single_variation_wrap { display: block; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.woocommerce div.product form.cart .quantity { height: var(--cxw-btn-h-lg); flex: none; }
.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 180px;
	min-height: var(--cxw-btn-h-lg);
	font-size: 16px;
	--btn-bg: var(--cxw-surface);
	--btn-fg: var(--cxw-ink);
	--btn-bd: var(--cxw-border-strong);
}
.woocommerce div.product form.cart .single_add_to_cart_button:not(.cxw-buy-now):hover { --btn-bg: var(--cxw-canvas); --btn-bd: var(--cxw-ink); color: var(--cxw-ink); }
.woocommerce div.product form.cart .cxw-buy-now,
.woocommerce div.product form.cart .single_add_to_cart_button.cxw-buy-now {
	flex: 1 1 100%;
	order: -1;
	--btn-bg: var(--cxw-primary);
	--btn-fg: #fff;
	--btn-bd: var(--cxw-primary);
	box-shadow: 0 1px 2px rgba(5, 150, 105, .2), 0 8px 20px rgba(5, 150, 105, .18);
}
.woocommerce div.product form.cart .cxw-buy-now:hover { --btn-bg: var(--cxw-primary-hover); --btn-bd: var(--cxw-primary-hover); color: #fff; }
.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart .button.wc-variation-selection-needed { opacity: .5; }
.cxw-atc-msg:empty { display: none; }
.cxw-atc-msg { flex: 1 1 100%; }

/* Variations as pills (legacy variable products) */
.woocommerce div.product table.variations,
.woocommerce div.product table.variations tbody,
.woocommerce div.product table.variations tr,
.woocommerce div.product table.variations th,
.woocommerce div.product table.variations td { display: block; width: 100%; padding: 0; border: 0; text-align: start; }
.woocommerce div.product table.variations { margin: 0 0 16px; border-collapse: collapse; }
.woocommerce div.product table.variations tr { margin-bottom: 14px; }
.woocommerce div.product table.variations th.label { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.woocommerce div.product table.variations th.label label { color: var(--cxw-text); }
.woocommerce div.product table.variations .reset_variations { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--cxw-muted); }
.cxw-pills { display: none; flex-wrap: wrap; gap: 8px; }
.cxw-js .cxw-variation-field.has-pills .cxw-pills { display: flex; }
.cxw-js .cxw-variation-field.has-pills select { display: none; }
.cxw-pill { position: relative; }
.cxw-pill input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.cxw-pill label {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: 76px;
	padding: 8px 18px;
	border: 1px solid var(--cxw-border-strong);
	border-radius: 999px;
	background: var(--cxw-surface);
	color: var(--cxw-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s;
}
.cxw-pill__price { font-size: 12px; font-weight: 500; color: var(--cxw-muted); }
.cxw-pill label:hover { border-color: var(--cxw-ink); }
.cxw-pill input:checked + label { background: var(--cxw-primary-soft); border-color: var(--cxw-primary); color: var(--cxw-primary-hover); box-shadow: inset 0 0 0 1px var(--cxw-primary); }
.cxw-pill input:checked + label .cxw-pill__price { color: var(--cxw-primary-hover); }
.cxw-pill input:focus-visible + label { outline: 3px solid var(--cxw-ink); outline-offset: 2px; }
.cxw-pill.is-unavailable label { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.woocommerce div.product .woocommerce-variation { margin-bottom: 14px; }
.woocommerce div.product .stock { font-size: 14px; font-weight: 600; color: var(--cxw-primary); }
.woocommerce div.product .stock.out-of-stock { color: var(--cxw-error); }

/* Trust row */
.cxw-trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.cxw-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--cxw-muted); min-width: 0; }
.cxw-trust li span { overflow-wrap: anywhere; }
.cxw-trust .cxw-icon { color: var(--cxw-accent); }
.cxw-trust--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 18px 4px 0; }
.cxw-trust--compact li { font-size: 13px; }

/* What's included */
.cxw-included {
	margin: 0 0 28px;
	padding: 22px 24px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-canvas);
}
.cxw-included__title { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--cxw-ink); }
.cxw-included__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cxw-included__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--cxw-text); }
.cxw-included__list .cxw-icon { color: var(--cxw-primary); margin-top: 2px; }
@media (min-width: 1200px) {
	.cxw-included__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
	.cxw-included__list li:first-child,
	.cxw-included__list li:nth-child(2),
	.cxw-included__list li:last-child { grid-column: 1 / -1; }
}

/* Accordion */
.cxw-accordion { border-top: 1px solid var(--cxw-border); }
.cxw-accordion__item { border-bottom: 1px solid var(--cxw-border); }
.cxw-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 16px 2px;
	font-size: 17px;
	font-weight: 600;
	color: var(--cxw-ink);
	cursor: pointer;
	list-style: none;
}
.cxw-accordion__summary::-webkit-details-marker { display: none; }
.cxw-accordion__summary .cxw-icon { transition: transform .2s; color: var(--cxw-muted); }
.cxw-accordion__item[open] > .cxw-accordion__summary .cxw-icon { transform: rotate(180deg); }
.cxw-accordion__summary:focus-visible { outline: 3px solid var(--cxw-ink); outline-offset: 2px; border-radius: 6px; }
.cxw-accordion__body { padding: 0 2px 22px; font-size: 16px; line-height: 1.65; color: var(--cxw-text); overflow-wrap: anywhere; }
.cxw-accordion__body > :first-child { margin-top: 0; }
.cxw-accordion__body > :last-child { margin-bottom: 0; }
.cxw-accordion__body h2 { font-size: 1.1rem; }
.cxw-checklist { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.cxw-checklist li { position: relative; padding-inline-start: 28px; }
.cxw-checklist li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .3em;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.6'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cxw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.cxw-tags li { padding: 4px 10px; border-radius: 999px; background: var(--cxw-canvas); border: 1px solid var(--cxw-border); font-size: 13px; }

/* Related / upsells / cross-sells */
.woocommerce .related,
.woocommerce .upsells,
.woocommerce .cross-sells { margin-top: clamp(40px, 6vw, 80px); }
.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce .cross-sells > h2 { font-size: clamp(24px, 1.5vw + 16px, 32px); font-weight: 600; letter-spacing: -.02em; color: var(--cxw-ink); margin: 0 0 24px; }

/* Reviews (inside accordion) */
.woocommerce #reviews .commentlist { margin: 0; padding: 0; list-style: none; }
.woocommerce #reviews .comment_container { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--cxw-border); }
.woocommerce #reviews .comment_container img.avatar { width: 40px; height: 40px; border-radius: 50%; }
.woocommerce #reviews .comment-text { flex: 1; min-width: 0; }
.woocommerce p.stars a { font-size: 0; display: inline-block; width: 1.4em; height: 1.4em; position: relative; }
.woocommerce p.stars a::before { content: "☆"; font-size: 20px; color: var(--cxw-warn); }
.woocommerce p.stars:hover a::before,
.woocommerce p.stars.selected a.active::before,
.woocommerce p.stars.selected a:not(.active)::before { content: "★"; }
.woocommerce p.stars a:hover ~ a::before,
.woocommerce p.stars.selected a.active ~ a::before { content: "☆"; }

/* ------------------------------------------------------------------ */
/* 9. Shop grid                                                       */
/* ------------------------------------------------------------------ */
.woocommerce-products-header__title { font-size: clamp(32px, 2.2vw + 20px, 44px); font-weight: 700; letter-spacing: -.02em; color: var(--cxw-ink); margin: 0 0 16px; }
.woocommerce .woocommerce-result-count { margin: 0 0 16px; color: var(--cxw-muted); font-size: 14px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; max-width: 100%; }
@media (min-width: 700px) {
	.woocommerce .woocommerce-result-count { float: inline-start; }
	.woocommerce .woocommerce-ordering { float: inline-end; }
}
.woocommerce ul.products {
	clear: both;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: clamp(16px, 3vw, 32px);
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: auto;
	margin: 0;
	padding: 20px;
	float: none;
	background: var(--cxw-surface);
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	box-shadow: var(--cxw-shadow);
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .cxw-thumb-mock {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	border-radius: 12px;
	background: var(--cxw-canvas);
	aspect-ratio: 1;
	object-fit: cover;
}
.woocommerce ul.products li.product .cxw-thumb-mock .cxw-icon { width: 25%; height: 25%; }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0; font-size: 17px; font-weight: 600; color: var(--cxw-ink); }
.woocommerce ul.products li.product .price { font-size: 16px; color: var(--cxw-text); }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--cxw-border);
	border-radius: 12px;
	color: var(--cxw-ink);
	text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--cxw-primary); border-color: var(--cxw-primary); color: #fff; }

/* ------------------------------------------------------------------ */
/* 10. Cart page                                                      */
/* ------------------------------------------------------------------ */
.cxw-cart__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 20px;
	margin: 0 0 clamp(20px, 3vw, 32px);
}
.cxw-cart__title { margin: 0; font-size: clamp(32px, 2.2vw + 20px, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: var(--cxw-ink); }
.cxw-cart__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}
@media (min-width: 960px) {
	.cxw-cart__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); }
	.cxw-cart__summary { position: sticky; top: 96px; }
}
@media (min-width: 1600px) {
	.cxw-cart__grid { grid-template-columns: minmax(0, 1fr) 440px; }
}

.cxw-cart__items { padding: 8px clamp(16px, 2.5vw, 28px) 0; }
.cxw-lines { width: 100%; border-collapse: collapse; margin: 0; }
.cxw-lines thead th {
	padding: 14px 0 12px;
	border-bottom: 1px solid var(--cxw-border);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--cxw-muted);
	text-align: start;
}
.cxw-lines thead th.product-subtotal { text-align: end; }
.cxw-lines td { padding: 22px 0; border-bottom: 1px solid var(--cxw-border); vertical-align: top; }
.cxw-lines td + td { padding-inline-start: 16px; }
.cxw-lines .product-thumbnail { width: 112px; }
.cxw-lines .product-thumbnail img,
.cxw-lines .product-thumbnail .cxw-thumb-mock {
	display: grid;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border: 1px solid var(--cxw-border);
	border-radius: 12px;
}
.cxw-lines .product-name a { color: var(--cxw-ink); font-weight: 600; text-decoration: none; font-size: 17px; overflow-wrap: anywhere; }
.cxw-lines .product-name a:hover { text-decoration: underline; }
.cxw-unit-price { display: block; margin-top: 2px; font-size: 14px; color: var(--cxw-muted); }
.cxw-lines .product-subtotal { text-align: end; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cxw-qty-row { display: flex; align-items: center; gap: 8px; }
.cxw-remove,
.woocommerce a.remove.cxw-remove {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: var(--cxw-muted);
	font-size: 0;
}
.cxw-remove .cxw-icon { width: 18px; height: 18px; }
.cxw-remove:hover,
.woocommerce a.remove.cxw-remove:hover { color: var(--cxw-error); background: var(--cxw-error-soft); }
.cxw-lines .backorder_notification { margin: 6px 0 0; font-size: 13px; color: var(--cxw-warn); }

.cxw-cart-actions-row td { border-bottom: 0; padding-top: 16px; padding-bottom: 20px; }
.cxw-cart-actions-row .coupon { display: none; }
.cxw-js .cxw-update-cart { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cxw-js .cxw-cart-actions-row td:not(:has(> :not(.cxw-update-cart):not(input[type="hidden"]))) { padding: 0; }

@media (max-width: 699.98px) {
	.cxw-lines thead { display: none; }
	.cxw-lines,
	.cxw-lines tbody { display: block; }
	.cxw-lines tr.cart_item {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name total"
			"thumb qty qty";
		gap: 10px 14px;
		padding: 18px 0;
		border-bottom: 1px solid var(--cxw-border);
	}
	.cxw-lines tr.cart_item td { display: block; padding: 0 !important; border: 0; }
	.cxw-lines tr.cart_item td::before { display: none; }
	.cxw-lines .product-thumbnail { grid-area: thumb; width: auto; }
	.cxw-lines .product-thumbnail img,
	.cxw-lines .product-thumbnail .cxw-thumb-mock { width: 72px; height: 72px; }
	.cxw-lines .product-name { grid-area: name; min-width: 0; }
	.cxw-lines .product-quantity { grid-area: qty; }
	.cxw-lines .product-subtotal { grid-area: total; }
	.cxw-cart-actions-row { display: block; }
	.cxw-cart-actions-row td { display: block; padding: 12px 0 0; }
}

/* Summary card */
.cxw-cart__summary-card { padding: clamp(20px, 3vw, 28px); }
.cxw-coupon { margin: 0 0 20px; }
.cxw-coupon__label { display: block; margin: 0 0 6px; }
.cxw-coupon__row { display: flex; gap: 8px; }
.cxw-coupon__row input { flex: 1; min-width: 0; }
.cxw-coupon__row .button,
.cxw-coupon__row .cxw-btn { flex: none; min-height: var(--cxw-field-h); }
.cxw-coupon.is-busy { opacity: .6; pointer-events: none; }
.cxw-coupon__msg:empty { display: none; }
.cxw-coupon__msg { margin-top: 10px; }
.cxw-coupon__msg .woocommerce-error,
.cxw-coupon__msg .woocommerce-message,
.cxw-coupon__msg .woocommerce-info { margin: 0; font-size: 14px; padding-block: 10px; box-shadow: none; }
.cxw-coupon__msg .woocommerce-error::before,
.cxw-coupon__msg .woocommerce-message::before { top: 12px; }

.cxw-totals,
.cxw-review__totals { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.cxw-totals th,
.cxw-totals td,
.cxw-review__totals th,
.cxw-review__totals td { padding: 8px 0; border: 0; font-size: 15px; font-weight: 400; vertical-align: top; }
.cxw-totals th,
.cxw-review__totals th { text-align: start; color: var(--cxw-muted); }
.cxw-totals td,
.cxw-review__totals td { text-align: end; color: var(--cxw-text); }
.cxw-totals td::before { display: none; }
.cxw-totals .order-total th,
.cxw-totals .order-total td,
.cxw-review__totals .order-total th,
.cxw-review__totals .order-total td { padding-top: 16px; margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--cxw-ink); border-top: 1px solid var(--cxw-border); }
.cxw-totals .order-total td .amount,
.cxw-review__totals .order-total td .amount { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.cxw-totals .includes_tax,
.cxw-review__totals .includes_tax { display: block; font-size: 12px; font-weight: 400; color: var(--cxw-muted); }
.cart-discount td,
.cart-discount th { color: var(--cxw-primary-hover) !important; }
.woocommerce-remove-coupon { margin-inline-start: 6px; font-size: 13px; color: var(--cxw-muted); }
.cxw-tax-note--cart { margin: 12px 0 18px; }
.wc-proceed-to-checkout { display: grid; gap: 10px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: var(--cxw-btn-h-lg); font-size: 16px; }
.cxw-express { margin-top: 16px; }
.cxw-express__title { margin: 0 0 8px; font-size: 13px; color: var(--cxw-muted); text-align: center; }

/* Empty cart */
.cxw-empty {
	max-width: 520px;
	margin: clamp(24px, 6vw, 80px) auto;
	text-align: center;
}
.cxw-empty .cxw-empty__icon { width: 80px; height: 80px; border-radius: 24px; margin-bottom: 20px; }
.cxw-empty__title { margin: 0 0 12px; font-size: clamp(28px, 2vw + 16px, 36px); font-weight: 700; letter-spacing: -.02em; color: var(--cxw-ink); }
.cxw-empty__text { margin: 0 0 28px; color: var(--cxw-muted); line-height: 1.6; }
.cxw-empty .return-to-shop .button { padding-inline: 28px; }
.cxw-empty__login { margin-top: 20px; font-size: 15px; color: var(--cxw-muted); }

/* ------------------------------------------------------------------ */
/* 11. Checkout shell                                                 */
/* ------------------------------------------------------------------ */
body.cxw-checkout-shell {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--cxw-canvas);
	font-family: var(--cxw-font);
	color: var(--cxw-text);
	overflow-x: clip;
}
.cxw-shell__header { background: var(--cxw-surface); border-bottom: 1px solid var(--cxw-border); }
.cxw-shell__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1180px;
	margin-inline: auto;
	padding: 14px var(--cxw-gutter);
	box-sizing: content-box;
}
.cxw-shell__brand { flex: 1; min-width: 0; }
.cxw-shell__brand img { display: block; max-height: 40px; width: auto; }
.cxw-shell__name {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--cxw-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.cxw-shell__mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--cxw-primary); color: #fff; }
.cxw-shell__secure { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cxw-primary-soft); font-size: 13px; font-weight: 600; color: var(--cxw-primary-hover); white-space: nowrap; }
.cxw-shell__cart { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -10px; color: var(--cxw-ink); border-radius: 12px; }
.cxw-shell__cart:hover { background: var(--cxw-canvas); }
.cxw-shell__main { flex: 1; display: block; }
.cxw-shell__footer { border-top: 1px solid var(--cxw-border); background: var(--cxw-surface); }
.cxw-shell__footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px var(--cxw-gutter);
	list-style: none;
	box-sizing: content-box;
}
.cxw-shell__footer a { font-size: 13px; color: var(--cxw-muted); text-decoration: none; }
.cxw-shell__footer a:hover { color: var(--cxw-ink); text-decoration: underline; }
@media (max-width: 479.98px) {
	.cxw-shell__secure span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cxw-shell__secure { padding: 8px; }
}

/* ------------------------------------------------------------------ */
/* 12. Checkout layout                                                */
/* ------------------------------------------------------------------ */
.cxw-co {
	max-width: 1180px;
	margin-inline: auto;
	padding: 0 var(--cxw-gutter) 64px;
	box-sizing: content-box;
}
.cxw-co__pre:empty,
.cxw-co__pre:not(:has(*:not(.woocommerce-notices-wrapper:empty))) { display: none; }
.cxw-co__pre { padding-top: 24px; }
.cxw-co__pre .woocommerce-form-login,
.cxw-co__pre .checkout_coupon {
	margin: 0 0 18px;
	padding: 24px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	box-shadow: var(--cxw-shadow);
}
.cxw-co__pre .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 12px; }
.cxw-co-coupon-inline .woocommerce-form-coupon-toggle,
.cxw-co-coupon-inline .cxw-co__pre form.checkout_coupon { display: none !important; }
.cxw-coupon--checkout { display: none; margin: 20px 0; padding-block: 20px; border-block: 1px solid var(--cxw-border); }
.cxw-co-coupon-inline .cxw-coupon--checkout { display: block; }

.cxw-co__form {
	display: flex;
	flex-direction: column;
	margin: 0;
}
.cxw-co__main { min-width: 0; padding-top: 20px; display: grid; gap: 16px; align-content: start; }
.cxw-co__summary { min-width: 0; order: -1; }
.cxw-co__details { display: grid; gap: 16px; }

.cxw-co-section {
	margin: 0;
	padding: clamp(20px, 3vw, 28px);
	background: var(--cxw-surface);
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	box-shadow: var(--cxw-shadow);
}
.cxw-co-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 0 0 16px; }
.cxw-co-section__head .cxw-co-section__title { margin: 0; }
.cxw-co-section__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--cxw-ink); }
.cxw-co-section__num {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--cxw-primary-soft);
	color: var(--cxw-primary-hover);
	font-size: 13px;
	font-weight: 700;
}
.cxw-co-section__badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--cxw-primary-hover); }
.cxw-co-section__sub { margin: -8px 0 18px; font-size: 14px; color: var(--cxw-muted); }
.cxw-co-section__head + .cxw-co-section__sub { margin-top: -10px; }
.cxw-co-section .cxw-link { font-size: 14px; }
.cxw-co-note {
	display: flex;
	gap: 10px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: var(--cxw-radius-field);
	background: var(--cxw-primary-soft);
	font-size: 13px;
	line-height: 1.5;
	color: var(--cxw-primary-hover);
}
.cxw-co-note .cxw-icon { margin-top: 2px; }
.cxw-co-section .woocommerce-billing-fields__field-wrapper > .form-row:last-child { margin-bottom: 0; }
.cxw-co-section .woocommerce-account-fields > :last-child { margin-bottom: 0; }
.cxw-co__details .col-1,
.cxw-co__details .col-2 { width: auto; float: none; display: grid; gap: 16px; }
.cxw-co__details .col-2:not(:has(*)) { display: none; }
.woocommerce-shipping-fields:empty,
.woocommerce-additional-fields:not(:has(.form-row)) { display: none; }
.woocommerce-additional-fields h3 { font-size: 20px; color: var(--cxw-ink); }
#ship-to-different-address { font-size: 16px; margin: 0 0 14px; }
.cxw-virtual-checkout .woocommerce-shipping-fields { display: none; }

/* Mobile summary toggle bar ("Show order summary") */
.cxw-co-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 16px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	color: var(--cxw-ink);
	font: 500 15px var(--cxw-font);
	cursor: pointer;
	text-align: start;
	box-shadow: var(--cxw-shadow);
}
.cxw-co-toggle[hidden] { display: none; }
.cxw-co-toggle[aria-expanded="true"] { border-end-start-radius: 0; border-end-end-radius: 0; border-bottom-color: transparent; }
.cxw-co-toggle__label { display: inline-flex; align-items: center; gap: 8px; color: var(--cxw-primary-hover); }
.cxw-co-toggle__label .cxw-icon--chevron { transition: transform .2s; }
.cxw-co-toggle[aria-expanded="true"] .cxw-icon--chevron { transform: rotate(180deg); }
.cxw-co-toggle__total { font-size: 18px; font-weight: 700; color: var(--cxw-ink); font-variant-numeric: tabular-nums; }
.cxw-co-toggle__total small { display: none; }
.cxw-co__summary-panel.is-collapsed { display: none; }
.cxw-co__summary-card {
	padding: clamp(20px, 3vw, 28px);
	background: var(--cxw-surface);
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	box-shadow: var(--cxw-shadow);
}
.cxw-co-toggle[aria-expanded="true"] + .cxw-co__summary-panel .cxw-co__summary-card { border-start-start-radius: 0; border-start-end-radius: 0; border-top: 0; }

@media (min-width: 1000px) {
	.cxw-co { --cxw-co-gap: clamp(32px, 4vw, 56px); }
	.cxw-co__pre { max-width: calc(100% - var(--cxw-summary-w) - var(--cxw-co-gap)); }
	.cxw-co__form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--cxw-summary-w);
		column-gap: var(--cxw-co-gap);
		align-items: start;
	}
	.cxw-co__main { padding-top: 32px; }
	.cxw-co__summary { order: 0; position: sticky; top: 24px; padding-top: 32px; }
	.cxw-co__summary-panel.is-collapsed { display: block; }
}
@media (min-width: 1000px) and (max-width: 1099.98px) {
	.cxw-co { --cxw-summary-w: 380px; }
}

/* Review table */
.cxw-review__items { width: 100%; border-collapse: collapse; margin: 0; }
.cxw-review__items td { padding: 10px 0; border: 0; vertical-align: middle; }
.cxw-review__items .product-total { text-align: end; white-space: nowrap; font-weight: 600; padding-inline-start: 12px; font-variant-numeric: tabular-nums; font-size: 15px; }
.cxw-review__line { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cxw-review__thumb { position: relative; flex: none; }
.cxw-review__thumb img,
.cxw-review__thumb .cxw-thumb-mock {
	display: grid;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 1px solid var(--cxw-border);
	border-radius: 12px;
}
.cxw-review__thumb img { background: var(--cxw-surface); }
.cxw-review__thumb .cxw-thumb-mock .cxw-icon { width: 24px; height: 24px; }
.cxw-review__qty {
	position: absolute;
	top: -8px;
	inset-inline-end: -8px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--cxw-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--cxw-surface);
}
.cxw-review__info { min-width: 0; flex: 1; }
.cxw-review__name { display: block; font-weight: 600; font-size: 15px; color: var(--cxw-ink); overflow-wrap: anywhere; }
.cxw-review__price { margin-inline-start: auto; font-weight: 600; font-size: 15px; white-space: nowrap; }
.cxw-review__totals { margin-top: 8px; }
.woocommerce-checkout-review-order-table.blockUI,
.woocommerce-checkout-review-order-table .blockUI.blockOverlay { border-radius: var(--cxw-radius-card); }

/* Shipping rows when a physical item is present */
.woocommerce-shipping-totals td ul#shipping_method { margin: 0; padding: 0; list-style: none; }

/* ------------------------------------------------------------------ */
/* 13. Payment methods (cards)                                        */
/* ------------------------------------------------------------------ */
.woocommerce-checkout-payment,
#payment { background: transparent; border-radius: 0; }
#payment ul.payment_methods {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}
#payment ul.payment_methods li {
	position: relative;
	margin: 0;
	padding: 0;
	border: 1px solid var(--cxw-border-strong);
	border-radius: var(--cxw-radius-btn);
	background: var(--cxw-surface);
	list-style: none;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
	overflow: hidden;
}
#payment ul.payment_methods li:hover { border-color: var(--cxw-ink); }
#payment ul.payment_methods li > input[type="radio"] {
	position: absolute;
	top: 19px;
	inset-inline-start: 18px;
	z-index: 1;
}
#payment ul.payment_methods li > label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	min-height: 56px;
	margin: 0;
	padding: 16px 18px;
	padding-inline-start: 48px;
	font-weight: 600;
	font-size: 16px;
	color: var(--cxw-ink);
	cursor: pointer;
}
#payment ul.payment_methods li > label img {
	max-height: 24px;
	width: auto;
	margin-inline-start: auto;
	display: inline-block;
}
#payment ul.payment_methods li:has(> input:checked) {
	border-color: var(--cxw-primary);
	box-shadow: 0 0 0 1px var(--cxw-primary), var(--cxw-shadow);
	background: var(--cxw-surface);
}
#payment ul.payment_methods li:has(> input:focus-visible) { outline: 3px solid var(--cxw-ink); outline-offset: 2px; }
#payment .payment_box {
	margin: 0;
	padding: 16px 18px 20px;
	border-top: 1px solid var(--cxw-border);
	background: var(--cxw-canvas);
	font-size: 14px;
	color: var(--cxw-text);
}
#payment .payment_box p:last-child { margin-bottom: 0; }
#payment .payment_box fieldset { border: 0; padding: 0; margin: 0; }
#payment .payment_box .form-row:last-child { margin-bottom: 0; }
#payment ul.payment_methods li.woocommerce-notice { padding: 16px; }
#payment .place-order { margin: 0; padding: 0; }
#payment .woocommerce-terms-and-conditions-wrapper { margin: 0 0 18px; font-size: 14px; color: var(--cxw-muted); }
#payment .woocommerce-terms-and-conditions-wrapper a { color: var(--cxw-ink); }
#payment .woocommerce-terms-and-conditions-wrapper .form-row:last-child { margin-bottom: 0; }
#payment .woocommerce-terms-and-conditions {
	max-height: 220px;
	overflow: auto;
	margin: 0 0 12px;
	padding: 14px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-field);
	background: var(--cxw-surface);
}
#payment .validate-required .woocommerce-terms-and-conditions-checkbox-text { color: var(--cxw-text); }
.woocommerce #place_order {
	display: flex;
	width: 100%;
	min-height: 56px;
	font-size: 17px;
	font-weight: 600;
}
.woocommerce-checkout .blockUI.blockOverlay { border-radius: var(--cxw-radius-card); }

/* ------------------------------------------------------------------ */
/* 14. Thank-you page                                                 */
/* ------------------------------------------------------------------ */
.cxw-ty { max-width: 1180px; margin-inline: auto; padding: 28px var(--cxw-gutter) 64px; box-sizing: content-box; }
.cxw-ty__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1000px) {
	.cxw-ty { padding-top: 48px; }
	.cxw-ty__grid { grid-template-columns: minmax(0, 1fr) var(--cxw-summary-w); gap: clamp(32px, 4vw, 56px); }
	.cxw-ty__summary { position: sticky; top: 24px; }
}
.cxw-ty__main { display: grid; gap: 16px; min-width: 0; }
.cxw-ty__head { display: flex; align-items: flex-start; gap: 18px; margin: 0 0 8px; }
.cxw-ty__check {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cxw-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(5, 150, 105, .25);
}
.cxw-ty__head .cxw-eyebrow { margin: 6px 0 4px; }
.cxw-ty__title { margin: 0 0 6px; font-size: clamp(30px, 2vw + 18px, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: var(--cxw-ink); overflow-wrap: anywhere; }
.cxw-ty__lead { margin: 0; font-size: 17px; color: var(--cxw-muted); overflow-wrap: anywhere; }
.cxw-ty__card { padding: clamp(20px, 3vw, 28px); min-width: 0; }
.cxw-ty__card > :last-child { margin-bottom: 0; }
.cxw-ty__card-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--cxw-ink); }
.cxw-ty__card .woocommerce-notice,
.cxw-ty__card .woocommerce-thankyou-order-received { margin: 0 0 6px; padding: 0; border: 0; background: none; font-size: 15px; box-shadow: none; }
.cxw-ty__card .woocommerce-thankyou-order-received::before { display: none; }
.cxw-ty__card--failed .woocommerce-notice { color: var(--cxw-error); }
.cxw-ty__card--failed .woocommerce-thankyou-order-failed-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cxw-ty__license { border-color: var(--cxw-primary-soft-2); background: var(--cxw-primary-soft); }
.cxw-ty__license .cxw-ty__card-title .cxw-icon { color: var(--cxw-primary); }
.cxw-ty__license--pending { border-color: #FDE68A; background: var(--cxw-warn-soft); }
.cxw-ty__license--pending .cxw-ty__card-title .cxw-icon { color: var(--cxw-warn); }
.cxw-keys { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.cxw-keys__item { padding: 16px; border-radius: var(--cxw-radius-btn); background: var(--cxw-surface); border: 1px solid var(--cxw-primary-soft-2); box-shadow: var(--cxw-shadow); }
.cxw-keys__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cxw-keys__key {
	flex: 1 1 220px;
	min-width: 0;
	padding: 12px 14px;
	border-radius: var(--cxw-radius-field);
	background: var(--cxw-canvas);
	border: 1px dashed var(--cxw-border-strong);
	font: 600 clamp(14px, 1.2vw + 10px, 18px) var(--cxw-mono);
	letter-spacing: .04em;
	color: var(--cxw-ink);
	user-select: all;
	overflow-wrap: anywhere;
}
.cxw-keys__meta { margin: 10px 0 0; font-size: 14px; color: var(--cxw-muted); }
.cxw-keys__download { margin-top: 14px; }
.cxw-steps { counter-reset: cxw-step; display: grid; gap: 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.cxw-steps li { counter-increment: cxw-step; position: relative; display: grid; gap: 2px; padding-inline-start: 46px; min-height: 32px; }
.cxw-steps li::before {
	content: counter(cxw-step);
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cxw-primary-soft);
	color: var(--cxw-primary-hover);
	font-size: 14px;
	font-weight: 700;
}
.cxw-steps strong { color: var(--cxw-ink); font-weight: 600; }
.cxw-steps span { font-size: 15px; color: var(--cxw-muted); line-height: 1.5; }
.cxw-ty__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px 24px; margin: 10px 0 0; }
.cxw-ty__facts div { min-width: 0; }
.cxw-ty__facts dt { font-size: 13px; color: var(--cxw-muted); }
.cxw-ty__facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.cxw-ty__facts address { font-style: normal; line-height: 1.5; }
.cxw-ty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.cxw-ty__summary { padding: clamp(20px, 3vw, 28px); }
.cxw-ty__items { display: grid; gap: 16px; margin: 0 0 12px; padding: 0; list-style: none; }
.cxw-plain-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
/* BACS details etc. from gateways */
.cxw-ty .woocommerce-bacs-bank-details,
.cxw-ty .wc-bacs-bank-details-heading { margin-top: 0; }
.cxw-ty ul.wc-bacs-bank-details { padding: 20px; border: 1px solid var(--cxw-border); border-radius: var(--cxw-radius-card); background: var(--cxw-surface); list-style: none; }

/* ------------------------------------------------------------------ */
/* 15. My Account                                                     */
/* ------------------------------------------------------------------ */
.woocommerce-account.logged-in .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
@media (min-width: 860px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
	.woocommerce-account.logged-in .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
	.cxw-account-nav { position: sticky; top: 96px; }
}
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.cxw-account-nav ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 8px; list-style: none; }
.cxw-account-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: 10px;
	color: var(--cxw-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.cxw-account-nav a .cxw-icon { color: var(--cxw-muted); }
.cxw-account-nav a:hover { background: var(--cxw-canvas); color: var(--cxw-ink); }
.cxw-account-nav .is-active a,
.cxw-account-nav a[aria-current="page"] { background: var(--cxw-primary-soft); color: var(--cxw-primary-hover); font-weight: 600; }
.cxw-account-nav .is-active a .cxw-icon,
.cxw-account-nav a[aria-current="page"] .cxw-icon { color: var(--cxw-primary); }
.cxw-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--cxw-muted); }
@media (max-width: 859.98px) {
	.cxw-account-nav ul li { flex: 1 1 auto; }
	.cxw-account-nav a { justify-content: center; }
}
@media (min-width: 860px) {
	.cxw-account-nav ul { flex-direction: column; flex-wrap: nowrap; }
	.cxw-account-nav .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--cxw-border); }
}
.woocommerce-MyAccount-content > h2:first-child,
.woocommerce-MyAccount-content h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--cxw-ink); }

.cxw-dash__head { margin: 0 0 24px; }
.cxw-dash__title { margin: 0 0 4px; font-size: clamp(28px, 2vw + 16px, 36px) !important; font-weight: 700 !important; letter-spacing: -.02em; }
.cxw-dash__head p { margin: 0; font-size: 15px; }
.cxw-dash__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cxw-dash__card {
	display: grid;
	gap: 4px;
	padding: 22px;
	color: var(--cxw-text);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cxw-dash__card:hover { border-color: var(--cxw-border-strong); box-shadow: var(--cxw-shadow-raise); transform: translateY(-1px); color: var(--cxw-text); }
.cxw-dash__card--primary { border-color: var(--cxw-primary-soft-2); background: var(--cxw-primary-soft); }
.cxw-dash__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: var(--cxw-canvas); color: var(--cxw-ink); }
.cxw-dash__card--primary .cxw-dash__icon { background: var(--cxw-surface); color: var(--cxw-primary); }
.cxw-dash__label { font-weight: 600; font-size: 17px; color: var(--cxw-ink); }
.cxw-dash__value { font-size: 14px; font-weight: 600; color: var(--cxw-primary-hover); }
.cxw-dash__card:not(.cxw-dash__card--primary) .cxw-dash__value { color: var(--cxw-text); }
.cxw-dash__hint { font-size: 13px; color: var(--cxw-muted); }

/* Account tables (orders, downloads, license sites) */
.woocommerce table.shop_table:not(.cxw-lines):not(.cxw-review__items):not(.cxw-review__totals):not(.cxw-totals) {
	width: 100%;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	margin: 0 0 24px;
	font-size: 15px;
	background: var(--cxw-surface);
	box-shadow: var(--cxw-shadow);
}
.woocommerce table.shop_table:not(.cxw-lines):not(.cxw-review__items):not(.cxw-review__totals):not(.cxw-totals) th,
.woocommerce table.shop_table:not(.cxw-lines):not(.cxw-review__items):not(.cxw-review__totals):not(.cxw-totals) td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--cxw-border);
	text-align: start;
	vertical-align: middle;
}
.woocommerce table.shop_table:not(.cxw-lines):not(.cxw-review__items):not(.cxw-review__totals):not(.cxw-totals) thead th {
	background: var(--cxw-canvas);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cxw-muted);
}
.woocommerce table.shop_table:not(.cxw-lines) tbody tr:last-child > *,
.woocommerce table.shop_table:not(.cxw-lines) tfoot tr:last-child > * { border-bottom: 0; }
.woocommerce table.shop_table tfoot th { font-weight: 600; }
.woocommerce table.my_account_orders .button,
.woocommerce table.woocommerce-orders-table .button { min-height: 36px; padding: 6px 12px; font-size: 13px; margin: 2px; }
.woocommerce .woocommerce-orders-table__cell-order-status,
.woocommerce mark.order-status { background: none; font-weight: 600; }
@media (max-width: 767.98px) {
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) thead { display: none; }
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals),
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) tbody,
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) tr,
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) td { display: block; }
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) tr { padding: 8px 0; border-bottom: 1px solid var(--cxw-border); }
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) tbody tr:last-child { border-bottom: 0; }
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		border: 0 !important;
		padding: 6px 16px !important;
		text-align: end !important;
		overflow-wrap: anywhere;
	}
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) td::before {
		content: attr(data-title);
		flex: none;
		font-weight: 600;
		color: var(--cxw-muted);
		text-align: start;
	}
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) td:not([data-title])::before { content: none; }
	.woocommerce table.shop_table_responsive:not(.cxw-lines):not(.cxw-totals) td:not([data-title]) { justify-content: flex-end; }
}

/* Order details on My Account → View order */
.woocommerce-order-details,
.woocommerce-customer-details { margin-bottom: 28px; }
.woocommerce-order-details__title,
.woocommerce-column__title { font-size: 19px; color: var(--cxw-ink); }
.woocommerce-customer-details address {
	padding: 20px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	font-style: normal;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.woocommerce .col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 { width: auto; float: none; }
.woocommerce-Addresses .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.woocommerce-Addresses .woocommerce-Address-title h2 { margin: 0; font-size: 19px; }

/* Login / register */
.woocommerce-account:not(.logged-in) .woocommerce,
.woocommerce-form-login.cxw-standalone { max-width: 960px; margin-inline: auto; }
.woocommerce-account:not(.logged-in) .woocommerce > h2 { font-size: clamp(28px, 2vw + 16px, 36px); font-weight: 700; letter-spacing: -.02em; color: var(--cxw-ink); }
.woocommerce-account .u-columns.col2-set { gap: clamp(20px, 4vw, 48px); }
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	box-shadow: var(--cxw-shadow);
	margin: 0 0 20px;
}
.woocommerce form.login .form-row:has(.woocommerce-form-login__submit) { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce .lost_password { font-size: 14px; }
.woocommerce .woocommerce-privacy-policy-text { font-size: 13px; color: var(--cxw-muted); }

/* ------------------------------------------------------------------ */
/* 16. License server (My Account → Licenses)                         */
/* ------------------------------------------------------------------ */
.cxls-account { --cx-navy: var(--cxw-ink); --cx-emerald: var(--cxw-primary); }
.cxls-help { margin: 0 0 20px; padding: 14px 16px; border-radius: var(--cxw-radius-field); background: var(--cxw-primary-soft); color: var(--cxw-primary-hover); font-size: 14px; line-height: 1.6; }
.cxls-license {
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	padding: clamp(18px, 2.5vw, 26px);
	margin: 0 0 16px;
	background: var(--cxw-surface);
	box-shadow: var(--cxw-shadow);
}
.cxls-license-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cxls-license-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.cxls-plan { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--cxw-ink); margin: 0; }
.cxls-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--cxw-canvas); border: 1px solid var(--cxw-border); color: var(--cxw-muted); font-size: 12px; font-weight: 600; }
.cxls-badge-active { background: var(--cxw-primary-soft); border-color: var(--cxw-primary-soft-2); color: var(--cxw-primary-hover); }
.cxls-badge-expired,
.cxls-badge-revoked { background: var(--cxw-error-soft); border-color: #FECACA; color: #B91C1C; }
.cxls-badge-suspended { background: var(--cxw-warn-soft); border-color: #FDE68A; color: #92400E; }
.cxls-keyline { margin: 16px 0 6px; }
.cxls-key,
code.cxls-key {
	display: inline-block;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: var(--cxw-radius-field);
	background: var(--cxw-canvas);
	border: 1px dashed var(--cxw-border-strong);
	font: 600 15px var(--cxw-mono);
	letter-spacing: .04em;
	color: var(--cxw-ink);
	user-select: all;
	overflow-wrap: anywhere;
}
.cxls-meta,
.cxls-none { color: var(--cxw-muted); font-size: 14px; margin: 6px 0 0; }
.cxls-meta a { color: var(--cxw-ink); }
.woocommerce .cxls-download.button,
.cxls-download.button {
	--btn-bg: var(--cxw-primary);
	--btn-fg: #fff;
	--btn-bd: var(--cxw-primary);
}
.woocommerce .cxls-download.button:hover { --btn-bg: var(--cxw-primary-hover); --btn-bd: var(--cxw-primary-hover); color: #fff; }
.woocommerce table.cxls-sites { margin: 16px 0 0 !important; box-shadow: none !important; }
.cxls-sites form { margin: 0; }
.cxls-sites td { overflow-wrap: anywhere; }
.woocommerce .cxls-sites .cxls-deactivate { min-height: 36px; padding: 6px 12px; font-size: 13px; white-space: nowrap; --btn-fg: var(--cxw-error); --btn-bd: #FECACA; box-shadow: none; }
.woocommerce .cxls-sites .cxls-deactivate:hover { --btn-bg: var(--cxw-error-soft); border-color: var(--cxw-error); color: var(--cxw-error); }
.cxls-keys { list-style: none; padding-inline-start: 0; }
.woocommerce-coxwall-licenses {
	margin: 0 0 28px;
	padding: clamp(18px, 3vw, 26px);
	border: 1px solid var(--cxw-primary-soft-2);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-primary-soft);
}
.woocommerce-coxwall-licenses:empty { display: none; }
.woocommerce-coxwall-licenses h2 { margin-top: 0; }
@media (max-width: 600px) {
	.cxls-download.button { width: 100%; }
	.cxls-key,
	code.cxls-key { font-size: 13px; }
	.woocommerce .cxls-sites .cxls-deactivate { width: 100%; min-height: 44px; }
}

/* ------------------------------------------------------------------ */
/* 17. Cart & Checkout blocks                                         */
/* ------------------------------------------------------------------ */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	--wc-cxw-radius: var(--cxw-radius-field);
	font-family: var(--cxw-font);
	color: var(--cxw-text);
	max-width: 1180px;
	margin-inline: auto;
	padding-inline: var(--cxw-gutter);
	box-sizing: content-box;
}
.wc-block-components-sidebar-layout { gap: 0; }
@media (min-width: 900px) {
	.wc-block-components-sidebar-layout .wc-block-components-main { padding-inline-end: clamp(24px, 4vw, 56px); }
	.wc-block-checkout.wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.wc-block-cart .wc-block-components-sidebar {
		padding: 28px;
		border-radius: var(--cxw-radius-card);
		background: var(--cxw-surface);
		border: 1px solid var(--cxw-border);
		box-shadow: var(--cxw-shadow);
	}
}
.wc-block-checkout__form .wc-block-components-checkout-step {
	padding: clamp(20px, 3vw, 28px);
	margin-bottom: 16px;
	border: 1px solid var(--cxw-border);
	border-radius: var(--cxw-radius-card);
	background: var(--cxw-surface);
	box-shadow: var(--cxw-shadow);
}
.wc-block-components-title.wc-block-components-title,
.wc-block-components-checkout-step__title { color: var(--cxw-ink); font-weight: 600; letter-spacing: -.01em; }
.wc-block-components-checkout-step__description { color: var(--cxw-muted); }
.wc-block-components-text-input input[type],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
	border: 1px solid var(--cxw-border-strong) !important;
	border-radius: var(--wc-cxw-radius) !important;
	background: var(--cxw-surface) !important;
	color: var(--cxw-text) !important;
	font-family: var(--cxw-font) !important;
}
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--cxw-primary) !important;
	box-shadow: 0 0 0 3px var(--cxw-primary-soft-2) !important;
	outline: none;
}
.wc-block-components-text-input.has-error input,
.wc-block-components-validation-error { --cx-err: var(--cxw-error); }
.wc-block-components-validation-error { color: var(--cxw-error) !important; font-weight: 500; }
.wc-block-components-text-input.has-error input { border-color: var(--cxw-error) !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important; }
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: var(--cxw-btn-h-lg);
	border-radius: var(--cxw-radius-btn) !important;
	background: var(--cxw-primary) !important;
	border-color: var(--cxw-primary) !important;
	color: #fff !important;
	font-family: var(--cxw-font) !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	text-decoration: none !important;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: var(--cxw-primary-hover) !important; border-color: var(--cxw-primary-hover) !important; }
.wc-block-components-button:not(.is-link):focus-visible { outline: 3px solid var(--cxw-ink) !important; outline-offset: 2px; box-shadow: none !important; }
.wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link) {
	min-height: 48px;
	background: var(--cxw-surface) !important;
	color: var(--cxw-ink) !important;
	border: 1px solid var(--cxw-border-strong) !important;
}
.wc-block-components-radio-control--highlight-checked,
.wc-block-components-radio-control-accordion-option,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option {
	border-radius: var(--cxw-radius-btn);
}
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option { background: var(--cxw-surface); }
.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--cxw-primary) !important;
	border-radius: var(--cxw-radius-btn);
}
.wc-block-components-radio-control__input:checked { border-color: var(--cxw-primary) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--cxw-primary) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--cxw-primary); border-color: var(--cxw-primary); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-components-product-name { color: var(--cxw-ink) !important; font-weight: 600; text-decoration: none; }
.wc-block-cart-items__header { color: var(--cxw-muted); font-size: 12px; letter-spacing: .06em; }
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img { border-radius: var(--wc-cxw-radius); border: 1px solid var(--cxw-border); }
.wc-block-components-order-summary-item__quantity {
	background: var(--cxw-ink) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 0 0 2px var(--cxw-surface) !important;
}
.wc-block-components-quantity-selector {
	border-radius: var(--cxw-radius-btn) !important;
	border-color: var(--cxw-border-strong) !important;
}
.wc-block-components-quantity-selector::after { border-color: var(--cxw-border-strong) !important; border-radius: var(--cxw-radius-btn) !important; }
.wc-block-cart-item__remove-link { color: var(--cxw-muted) !important; font-size: 13px !important; }
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value { font-variant-numeric: tabular-nums; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 18px; font-weight: 700; color: var(--cxw-ink); }
.wc-block-components-notice-banner { border-radius: var(--cxw-radius-field) !important; font-family: var(--cxw-font); }
.wc-block-components-notice-banner.is-error { border-color: var(--cxw-error) !important; background: var(--cxw-error-soft) !important; }
.wc-block-components-notice-banner.is-success { border-color: var(--cxw-primary) !important; background: var(--cxw-primary-soft) !important; }
.wc-block-checkout__terms { font-size: 14px; color: var(--cxw-muted); }
.wc-block-checkout__terms a,
.wc-block-components-checkout-return-to-cart-button { color: var(--cxw-ink) !important; }
.wc-block-components-express-payment { border-radius: var(--cxw-radius-card); }
.wc-block-cart__empty-cart__title { color: var(--cxw-ink); }

/* ------------------------------------------------------------------ */
/* 18. Motion / print                                                 */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.cxw-drawer[open],
	.woocommerce .button.loading::after,
	.cxw-btn.loading::after { animation: none; }
	.cxw-accordion__summary .cxw-icon,
	.cxw-co-toggle__label .cxw-icon--chevron,
	.cxw-price,
	.cxw-dash__card,
	.cxw-plans__item,
	.cxw-thumbs__item { transition: none; }
}
@media print {
	.cxw-cart-toggle,
	.cxw-drawer,
	.cxw-shell__cart,
	.cxw-co-toggle,
	.cxw-ty__actions,
	.cxw-keys [data-cxw-copy] { display: none !important; }
	.cxw-co__summary-panel.is-collapsed { display: block; }
	.cxw-card,
	.cxw-co-section { box-shadow: none; }
}
