/* WooCommerce pages (shop, single product, cart, checkout, my-account) — the purchase flow, styled like juvexa's kaufprozess/warenkorb/kasse/bestaetigung, on Tarvexa's tokens. */

/* ---------- Shared progress bar (tx-kfz-*), ported from juvexa's jx-kfz-* ---------- */
.tx-kfz-bar {
	background: var(--sand);
	border-bottom: 1px solid var(--line);
	padding: 22px var(--space-6);
	margin: 0 0 var(--space-6);
}
.tx-kfz-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	max-width: var(--container);
	margin: 0 auto;
}
.tx-kfz-step {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}
.tx-kfz-num {
	width: 32px;
	height: 32px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 500;
	border-radius: var(--radius-sm);
}
.tx-kfz-step--done .tx-kfz-num {
	background: var(--coral);
	color: var(--ink);
	border: 1px solid var(--coral);
}
.tx-kfz-step--active .tx-kfz-num {
	background: var(--ink);
	color: var(--coral-on-dark);
	border: 3px double var(--coral);
}
.tx-kfz-step--future .tx-kfz-num {
	background: var(--paper);
	color: var(--ink-muted);
	border: 1px solid var(--line-strong);
}
.tx-kfz-label {
	font-size: 15px;
}
.tx-kfz-step--done .tx-kfz-label {
	font-weight: 600;
	color: var(--coral-text);
}
.tx-kfz-step--active .tx-kfz-label {
	font-weight: 800;
	color: var(--ink);
}
.tx-kfz-step--future .tx-kfz-label {
	font-weight: 600;
	color: var(--ink-muted);
}
.tx-kfz-connector {
	flex: 1 1 auto;
	min-width: 20px;
	height: 3px;
	background: var(--line);
}
.tx-kfz-connector--done {
	background: var(--coral);
}
.tx-kfz-meta {
	max-width: var(--container);
	margin: 10px auto 0;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--ink-muted);
	text-transform: uppercase;
}
@media (max-width: 700px) {
	.tx-kfz-meta {
		display: none;
	}
	.tx-kfz-label {
		display: none;
	}
}

/* ---------- General WooCommerce harmonization ---------- */
.woocommerce,
.woocommerce-page {
	font-family: var(--font-sans);
}
.woocommerce #content .tx-plain,
.woocommerce-page .tx-plain {
	max-width: var(--container);
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button {
	font-family: var(--font-sans);
	font-weight: 700;
	border-radius: var(--radius-sm);
	background: var(--coral);
	color: var(--ink);
	border: 0;
	padding: 11px 20px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--coral-hover);
	color: var(--ink);
}
.woocommerce table.shop_table {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	border-collapse: separate;
	overflow: hidden;
}
.woocommerce table.shop_table th {
	background: var(--sand);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-secondary);
}
.woocommerce ul.products li.product .price {
	color: var(--coral-text);
	font-weight: 800;
}
.woocommerce span.onsale {
	background: var(--coral);
	color: var(--ink);
	font-family: var(--font-mono);
	font-weight: 500;
}
.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--coral);
}
.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--coral);
}

/* ---------- Single product: minimal, on-brand trust note (juvexa's .jx-note pattern) ---------- */
.tx-product-trust {
	max-width: var(--container);
	margin: 0 auto var(--space-8);
	padding: var(--space-5) var(--space-6);
	background: var(--coral-wash);
	border-radius: var(--radius-md);
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-6);
	font-size: 14px;
	color: var(--ink-secondary);
}
.tx-product-trust strong {
	color: var(--ink);
}

/* ---------- My account: lightly branded ---------- */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-right: 1px solid var(--line);
	padding-right: var(--space-4);
}
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--ink-secondary);
	font-weight: 600;
	text-decoration: none;
}
.woocommerce-MyAccount-navigation li.is-active a {
	background: var(--sand);
	color: var(--ink);
}
.woocommerce-account .woocommerce-MyAccount-content {
	padding-top: var(--space-4);
}
@media (min-width: 700px) {
	.woocommerce-account .woocommerce {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		gap: var(--space-8);
	}
}

/* ---------- Bestätigung: reward panel ---------- */
.tx-bt-hero {
	max-width: var(--container);
	margin: 0 auto var(--space-8);
	padding: var(--space-8);
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	align-items: flex-start;
}
.tx-bt-hero h2 {
	margin: 0;
	color: #fff;
	font-size: 32px;
}
.tx-bt-hero p {
	margin: 0;
	max-width: 60ch;
	color: var(--on-dark-muted);
	font-size: 16px;
	line-height: 1.6;
}
.tx-bt-hero__steps {
	list-style: none;
	margin: 0;
	padding: var(--space-4) 0;
	border-top: 1px solid var(--ink-secondary);
	border-bottom: 1px solid var(--ink-secondary);
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6);
}
.tx-bt-hero__steps li {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 14px;
	color: var(--on-dark-muted);
}
.tx-bt-hero__num {
	width: 22px;
	height: 22px;
	border-radius: var(--radius-full);
	background: var(--coral);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Checkout: Pflicht-Bestätigung "Ich bestelle als Unternehmer" (inc/unternehmer.php) */
.tx-unternehmer {
	margin: var(--space-6) 0;
	padding: var(--space-5) var(--space-6);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 10px;
}

.tx-unternehmer .form-row {
	margin: 0;
	padding: 0;
}

.tx-unternehmer label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	color: var(--ink);
}

.tx-unternehmer input[type="checkbox"] {
	margin-top: 4px;
	flex-shrink: 0;
}

.tx-unternehmer__hint {
	margin: var(--space-3) 0 0;
	font-size: 14px;
	line-height: 21px;
	color: var(--ink-secondary);
}

/* Warenkorb und Kasse: Hinweis "zur bestehenden Lizenz dazubuchen" (inc/vertrauensanker.php) */
.tx-offer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	margin: 0 0 var(--space-6);
	padding: var(--space-6);
	background: var(--coral-wash);
	border: 1px solid var(--line);
	border-radius: 10px;
}

.tx-offer__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
}

.tx-offer__facts {
	display: grid;
	gap: var(--space-3);
	width: 100%;
	margin: 0;
}

.tx-offer__facts > div {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: var(--space-4);
	align-items: baseline;
}

.tx-offer__facts dt {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-secondary);
}

.tx-offer__facts dd {
	margin: 0;
	font-weight: 700;
	color: var(--ink);
}

.tx-offer__facts small {
	font-weight: 500;
	color: var(--ink-secondary);
}

.tx-offer__saving {
	margin: 0;
	font-weight: 700;
	color: var(--ink);
}

.tx-offer__hint {
	margin: 0;
	max-width: 62ch;
	font-size: 14px;
	line-height: 21px;
	color: var(--ink-secondary);
}

@media (max-width: 600px) {
	.tx-offer__facts > div {
		grid-template-columns: 1fr;
		gap: var(--space-1);
	}
}

/* ---------- Progress bar as in the mockups: small numbered boxes, no band, no "Schritt x von y" ---------- */
.tx-kfz-bar {
	background: none;
	border: 0;
	padding: 0;
	margin: 0 0 var(--space-8);
}
.tx-kfz-row {
	max-width: none;
	margin: 0;
	gap: 12px;
}
.tx-kfz-meta {
	display: none;
}
.tx-kfz-num {
	width: 28px;
	height: 28px;
	font-size: 13px;
}
.tx-kfz-step--done .tx-kfz-num {
	background: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
}
.tx-kfz-step--active .tx-kfz-num {
	background: var(--coral);
	color: #fff;
	border: 1px solid var(--coral);
}
.tx-kfz-step--done .tx-kfz-label {
	font-weight: 600;
	color: var(--ink);
}
.tx-kfz-connector {
	width: 44px;
	flex: none;
}

/* ---------- Warenkorb (woocommerce/cart/cart.php, inc/warenkorb.php) ---------- */
.tx-cart {
	max-width: 1200px;
	margin: 0 auto;
}
.tx-cart__head {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin-bottom: var(--space-8);
}
.tx-cart__title {
	margin: 0;
	font-size: clamp(40px, 6vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}
.tx-cart__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: var(--space-6);
	align-items: start;
}
.tx-cart__main {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	min-width: 0;
}

.tx-plan-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: 0 1px 3px rgba(31, 33, 38, 0.06);
	overflow: hidden;
}
.tx-plan-card__top {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: var(--space-5);
	padding: var(--space-8);
}
.tx-plan-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	background: var(--coral-wash);
	border-radius: 14px;
}
.tx-plan-card__logo img {
	width: 40px;
	height: 40px;
}
.tx-plan-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	min-width: 0;
}
.tx-plan-card__body .kicker {
	color: var(--coral-text);
}
.tx-plan-card__title {
	margin: 0;
	font-size: 26px;
	line-height: 1.2;
}
.tx-plan-card__text {
	margin: 0;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-secondary);
}
.tx-plan-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: var(--space-2) 0 0;
	padding: 0;
	list-style: none;
}
.tx-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
	border-radius: var(--radius-full);
	background: var(--sand);
	color: var(--ink-secondary);
}
.tx-chip--ok {
	background: var(--success-tint);
	color: var(--success);
}
.tx-plan-card__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
}
.tx-plan-card__price strong {
	font-size: 32px;
	line-height: 1.1;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.tx-plan-card__price > span {
	font-size: 14px;
	color: var(--ink-secondary);
}
.tx-plan-card__controls {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--line);
}
.tx-plan-control {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-6) var(--space-8);
}
.tx-plan-control + .tx-plan-control {
	border-left: 1px solid var(--line);
}
.tx-plan-control__label {
	font-size: 15px;
	font-weight: 700;
}
.tx-plan-control__row {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}
.tx-plan-control__aside {
	font-size: 15px;
	color: var(--ink-secondary);
}
.tx-plan-control__hint {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-secondary);
}
.tx-stepper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.tx-stepper button {
	width: 44px;
	min-height: 48px;
	font: inherit;
	font-size: 20px;
	color: var(--ink);
	background: var(--surface);
	border: 0;
	cursor: pointer;
}
.tx-stepper button:hover:not(:disabled) {
	background: var(--sand);
}
.tx-stepper button:disabled {
	color: var(--ink-muted);
	cursor: not-allowed;
}
.tx-stepper output {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	font-weight: 800;
	font-size: 17px;
}
.tx-toggle {
	display: inline-flex;
	padding: 4px;
	gap: 4px;
	background: var(--sand);
	border-radius: var(--radius-sm);
}
.tx-toggle button {
	min-height: 40px;
	padding: 0 18px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	background: none;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
}
.tx-toggle button[aria-pressed="true"] {
	background: var(--ink);
	color: #fff;
}
.tx-plan-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-5) var(--space-8);
	border-top: 1px solid var(--line);
	background: var(--paper);
}
.tx-plan-card__foot form {
	margin: 0;
}
.tx-plan-card__remove {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-secondary);
	background: none;
	border: 0;
	cursor: pointer;
}
.tx-plan-card__remove:hover {
	color: var(--ink);
}
.tx-link {
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}
.tx-cart__plain {
	margin: 0;
	padding: var(--space-6);
	list-style: none;
}

.tx-cart__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-6);
}
.tx-note-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
}
.tx-note-card--wash {
	background: var(--coral-wash);
	border-color: transparent;
}
.tx-note-card .kicker {
	color: var(--ink-muted);
}
.tx-note-card--wash .kicker {
	color: var(--coral-text);
}
.tx-note-card h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}
.tx-note-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-secondary);
}
.tx-coupon summary {
	list-style: none;
	cursor: pointer;
}
.tx-coupon summary::-webkit-details-marker {
	display: none;
}
.tx-coupon__form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: var(--space-3) 0 0;
}
.tx-coupon__form .input-text {
	flex: 1 1 160px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	font: inherit;
}

/* The dark summary */
.tx-sum {
	position: sticky;
	top: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-8) var(--space-6);
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lift);
}
.tx-sum__kicker {
	color: var(--coral-on-dark);
}
.tx-sum__rows {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
}
.tx-sum__rows > div {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
}
.tx-sum__rows dt,
.tx-sum__rows dd {
	margin: 0;
	font-size: 16px;
}
.tx-sum__rows dd {
	font-family: var(--font-mono);
	text-align: right;
}
.tx-sum__rows .is-discount dd,
.tx-sum__rows .is-discount dd a {
	color: var(--coral-on-dark);
}
.tx-sum__rows .tx-sum__rule {
	padding-top: var(--space-3);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tx-sum__total {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
	padding-top: var(--space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tx-sum__total span {
	font-weight: 700;
}
.tx-sum__total strong {
	margin-left: auto;
	font-size: 38px;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.tx-sum__total small {
	color: rgba(255, 255, 255, 0.7);
}
.tx-sum__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}
.tx-sum .wc-proceed-to-checkout {
	padding: 0;
	margin: 0;
}
.tx-sum .tx-sum__cta,
.tx-sum .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 56px;
	margin: 0;
	padding: 0 24px;
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
	background: var(--coral);
	border: 0;
	border-radius: var(--radius-sm);
	text-decoration: none;
}
.tx-sum .tx-sum__cta:hover,
.tx-sum .checkout-button:hover {
	background: var(--coral-hover);
}
.tx-sum__checks {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: var(--space-4) 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tx-sum__checks li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
}
.tx-sum__checks li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--coral-on-dark);
	font-weight: 800;
}
.tx-cart__collaterals:empty {
	display: none;
}
.tx-cart__help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-5);
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--line);
	color: var(--ink-secondary);
}

@media (max-width: 960px) {
	.tx-cart__grid {
		grid-template-columns: 1fr;
	}
	.tx-sum {
		position: static;
	}
	.tx-plan-card__top {
		grid-template-columns: 56px minmax(0, 1fr);
		padding: var(--space-6);
	}
	.tx-plan-card__logo {
		width: 56px;
		height: 56px;
	}
	.tx-plan-card__price {
		grid-column: 1 / -1;
		align-items: flex-start;
		text-align: left;
	}
	.tx-plan-card__controls {
		grid-template-columns: 1fr;
	}
	.tx-plan-control {
		padding: var(--space-5) var(--space-6);
	}
	.tx-plan-control + .tx-plan-control {
		border-left: 0;
		border-top: 1px solid var(--line);
	}
	.tx-plan-card__foot {
		padding: var(--space-4) var(--space-6);
	}
	.tx-cart__pair {
		grid-template-columns: 1fr;
	}
}

/* Width and paragraph size on the cart and checkout pages: the generic .tx-plain rules (760 px, 17 px text) must not win. */
.woocommerce-cart .tx-plain,
.woocommerce-checkout .tx-plain {
	max-width: calc(1200px + 2 * var(--space-6));
}
.woocommerce-cart .tx-plain > .woocommerce,
.woocommerce-checkout .tx-plain > .woocommerce {
	max-width: none;
}
.tx-cart .tx-plan-card__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-secondary);
}
.tx-cart .tx-plan-control__hint {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-secondary);
}
.tx-cart .tx-note-card p {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-secondary);
}
.tx-cart .tx-sum__note {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}
.tx-cart .tx-sum__checks {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}
.tx-cart .tx-plan-card__chips {
	font-size: 13px;
	line-height: 1.2;
}

/* ---------- Kasse (woocommerce/checkout/form-checkout.php, inc/kasse.php) ---------- */
.tx-co-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.tx-co-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	max-width: var(--container);
	margin: 0 auto;
	padding: var(--space-4) var(--space-6);
}
.tx-co-header .tx-brand__logo {
	height: 36px;
	width: auto;
	display: block;
}
.tx-co-header .tx-kfz-bar {
	margin: 0;
}
.tx-co-header__right {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	font-size: 15px;
}
.tx-co-secure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-secondary);
}
.tx-co-secure svg {
	color: var(--success);
}
.tx-co-footer {
	border-top: 1px solid var(--line);
	background: var(--paper);
}
.tx-co-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	max-width: var(--container);
	margin: 0 auto;
	padding: var(--space-6);
	font-size: 14px;
	color: var(--ink-secondary);
}
.tx-co-footer nav {
	display: flex;
	gap: var(--space-5);
}
.tx-co-footer a {
	color: var(--ink);
}
.tx-co-footer span a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tx-co__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	grid-template-areas:
		"details side"
		"pay side";
	grid-template-rows: auto 1fr;
	column-gap: var(--space-12, 48px);
	align-items: start;
}
.tx-co__details { grid-area: details; min-width: 0; }
.tx-co__pay { grid-area: pay; min-width: 0; }
.tx-co__side { grid-area: side; }
.tx-co__head {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin-bottom: var(--space-8);
}
.tx-co__title {
	margin: 0;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.02em;
}
.tx-co__sec {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
	margin: var(--space-6) 0 var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 2px solid var(--ink);
}
.tx-co .woocommerce-billing-fields__field-wrapper .tx-co__sec {
	margin-top: var(--space-4);
}
.tx-co__sec h2,
.tx-co__h {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--ink);
}
.tx-co__num {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 400;
	color: var(--coral-text);
}
.tx-co__sec-aside {
	margin-left: auto;
	font-size: 15px;
	font-weight: 400;
	color: var(--ink-secondary);
}
.tx-co__sec-aside a {
	font-weight: 700;
	color: var(--ink);
}
.tx-co__sec--payment {
	margin-top: var(--space-10, 40px);
}

/* The customer details: one column wrapper, a two-column field grid */
.tx-co #customer_details {
	display: block;
	width: auto;
	float: none;
}
.tx-co #customer_details .col-1,
.tx-co #customer_details .col-2 {
	float: none;
	width: auto;
	max-width: none;
}
.tx-co .woocommerce-billing-fields > h3,
.tx-co .woocommerce-additional-fields > h3 {
	display: none;
}
.tx-co .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--space-5);
}
.tx-co .woocommerce-billing-fields__field-wrapper .form-row {
	float: none;
	width: auto;
	margin: 0 0 var(--space-5);
	padding: 0;
}
.tx-co .woocommerce-billing-fields__field-wrapper .form-row-wide {
	grid-column: 1 / -1;
}
/* Columns by field, not by class: the address script rewrites first/last/wide per country. */
.tx-co #billing_email_field,
.tx-co #billing_company_field,
.tx-co #billing_address_1_field {
	grid-column: 1 / -1;
}
.tx-co #billing_first_name_field,
.tx-co #billing_postcode_field,
.tx-co #billing_country_field {
	grid-column: 1;
	clear: none;
}
.tx-co #billing_last_name_field,
.tx-co #billing_city_field,
.tx-co #billing_vat_field {
	grid-column: 2;
	clear: none;
}
.tx-co #billing_phone_field {
	grid-column: 1;
	clear: none;
}
.tx-co .woocommerce-billing-fields__field-wrapper label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ink);
}
.tx-co .woocommerce-billing-fields__field-wrapper .input-text,
.tx-co .woocommerce-billing-fields__field-wrapper select,
.tx-co .select2-selection {
	min-height: 48px;
	box-sizing: border-box;
	padding: 12px 14px;
	font-family: var(--font-sans);
	font-size: 16px;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
}
.tx-co .woocommerce-billing-fields__field-wrapper .description {
	display: block;
	margin-top: var(--space-2);
	font-size: 13px;
	color: var(--ink-muted);
}

/* The dark order card. Sticky below the sticky header so it stays in view while the form scrolls;
   the grid column spans both rows, so the card has the whole form height to travel in. */
.tx-co__side {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	position: sticky;
	top: 100px;
}
.tx-co__sum {
	position: static;
	gap: 0;
	padding: 0;
	background: none;
	box-shadow: none;
	border-radius: 0;
	color: var(--ink);
}
.tx-co__sumhead,
.tx-co__product {
	background: var(--ink);
	color: #fff;
	padding-left: var(--space-6);
	padding-right: var(--space-6);
}
.tx-co__sumhead {
	padding-top: var(--space-8);
	padding-bottom: var(--space-4);
	border-radius: var(--radius-md) var(--radius-md) 0 0;
	box-shadow: var(--shadow-lift);
}
.tx-co__product {
	margin-bottom: 0;
	padding-bottom: var(--space-4);
	border-bottom: 0;
}
.tx-co__product > div {
	min-width: 0;
}
.tx-co__sumhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.tx-co__change {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	border-bottom: 2px solid var(--coral);
}
.tx-co__product {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}
.tx-co__logo {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #fff;
	border-radius: var(--radius-sm);
}
.tx-co__logo img {
	width: 26px;
	height: 26px;
}
.tx-co__product strong {
	display: block;
	font-size: 16px;
}
.tx-co__product span:not(.tx-co__logo) {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: var(--space-4) var(--space-6) var(--space-8);
	background: var(--ink);
	border: 0;
	border-top: 0;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	box-shadow: var(--shadow-lift);
	color: #fff;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table thead,
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table tr.cart_item {
	display: none;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table tbody,
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table tfoot {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table tbody {
	margin-bottom: var(--space-3);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table tr {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	background: none;
	border: 0;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table th,
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table td {
	display: block;
	padding: 0;
	background: none;
	border: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table td {
	font-family: var(--font-mono);
	text-align: right;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .is-discount td,
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .cart-discount td,
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .cart-discount td a {
	color: var(--coral-on-dark);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .order-total {
	align-items: baseline;
	padding-top: var(--space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .order-total th {
	font-weight: 700;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .order-total td {
	font-family: var(--font-sans);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .order-total td small {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .tx-co__meta {
	font-size: 13px;
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .tx-co__meta th,
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .tx-co__meta td {
	font-family: var(--font-sans);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}
.woocommerce .tx-co__sum table.woocommerce-checkout-review-order-table .tx-co__meta:first-of-type {
	padding-top: var(--space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tx-co__after {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	padding: var(--space-6);
	background: var(--sand);
	border-radius: var(--radius-md);
}
.tx-co__after .kicker {
	color: var(--ink-muted);
}
.tx-co__after ol {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}
.tx-co__after li {
	display: flex;
	gap: var(--space-3);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
}
.tx-co__after li span {
	flex: none;
	font-family: var(--font-mono);
	font-size: 12px;
	padding-top: 3px;
	color: var(--coral-text);
}

/* Payment methods as cards, the order button in a card */
.woocommerce html body .woocommerce .tx-co #payment {
	background: transparent !important;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.woocommerce .tx-co #payment ul.payment_methods {
	background: transparent;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin: 0 0 var(--space-6);
	padding: 0;
	border: 0;
	list-style: none;
}
.woocommerce .tx-co #payment ul.payment_methods > li {
	display: grid;
	grid-template-columns: 24px 1fr;
	align-items: center;
	column-gap: 14px;
	margin: 0;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.woocommerce .tx-co #payment ul.payment_methods > li:has(> input:checked) {
	border: 2px solid var(--coral);
	background: var(--coral-wash);
}
.woocommerce .tx-co #payment ul.payment_methods > li > input {
	grid-column: 1;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--coral);
}
.woocommerce .tx-co #payment ul.payment_methods > li > label {
	grid-column: 2;
	display: block;
	margin: 0;
	padding: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
}
.woocommerce .tx-co #payment ul.payment_methods > li > div.payment_box {
	grid-column: 1 / -1;
	width: calc(100% + 40px);
	box-sizing: border-box;
	margin: 12px -20px -16px;
}
.woocommerce .tx-co #payment div.payment_box {
	margin: 0;
	padding: 16px 20px;
	font-size: 15px;
	color: var(--ink-secondary);
	background: var(--surface);
	border-top: 1px solid var(--line);
	border-radius: 0;
}
.woocommerce .tx-co #payment div.payment_box::before {
	display: none;
}
.woocommerce .tx-co #payment .form-row.place-order {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	margin: 0;
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
}
.woocommerce .tx-co #payment .woocommerce-privacy-policy-text,
.woocommerce .tx-co #payment .woocommerce-terms-and-conditions-wrapper {
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-secondary);
}
.woocommerce .tx-co #payment #place_order {
	width: 100%;
	min-height: 56px;
	padding: 0 24px;
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
	background: var(--coral);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	float: none;
}
.woocommerce .tx-co #payment #place_order:hover {
	background: var(--coral-hover);
}

@media (max-width: 960px) {
	.tx-co__grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"details"
			"pay"
			"side";
		grid-template-rows: auto;
		row-gap: var(--space-8);
	}
	.tx-co__side {
		position: static;
	}
	.tx-co .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
	/* The by-field columns above would otherwise make a second, off-screen column. */
	.tx-co #customer_details .woocommerce-billing-fields__field-wrapper > p.form-row {
		grid-column: 1 / -1;
	}
	.tx-co-header__inner {
		flex-wrap: wrap;
		gap: var(--space-3);
	}
	.tx-co-header__right {
		display: none;
	}
}

/* German Market prints the order review as: table, the terms text, its checkboxes, the order button (all inside #order_review).
   They sit under the dark card in light colours; the button stays directly under the summary. */
.tx-co__sum #order_review {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}
.tx-co__sum #order_review > .woocommerce-terms-and-conditions {
	max-height: 160px;
	overflow-y: auto;
	padding: var(--space-3) var(--space-4);
	font-size: 13px;
	line-height: 1.5;
	color: var(--ink-secondary);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.tx-co__sum #order_review > .woocommerce-terms-and-conditions h2,
.tx-co__sum #order_review > .woocommerce-terms-and-conditions p {
	margin: 0 0 var(--space-2);
	font-size: 13px;
	line-height: 1.5;
	color: inherit;
}
.tx-co__sum #order_review > .woocommerce-terms-and-conditions h2 {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}
.tx-co__sum #order_review > p.form-row {
	margin: 0;
	padding: 0;
}
.tx-co__sum #order_review > p.form-row label {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--ink);
}
.tx-co__sum #order_review > p.form-row input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--coral);
}
.tx-co__sum #order_review #place_order {
	width: 100%;
	min-height: 56px;
	padding: 0 24px;
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
	background: var(--coral);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	float: none;
}
.tx-co__sum #order_review #place_order:hover {
	background: var(--coral-hover);
}
/* Without German Market the button lives in the payment block; with it, that block holds only a fallback button. */
html body .woocommerce .tx-co #payment .form-row.place-order:not(:has(#place_order)) {
	display: none;
}
