/**
 * Kasse, Warenkorb, Danke-Seite und „Bestellung bezahlen“ (Spur D).
 *
 * Markup: WooCommerce-Blöcke (Kasse /checkout/, Warenkorb /warenkorb/), Vorlagen
 * woocommerce/checkout/{thankyou,form-pay}.php, template-parts/checkout-{header,footer}.php und die
 * Plugin-Teile aus zelenka-core/includes/shop/checkout.php (.zel-flow, Vertrauensbox, Gratisversand).
 *
 * Geladen nur auf Warenkorb und Kasse (inc/assets.php). Die WooCommerce-Blockstile kommen danach –
 * deshalb beginnen die Regeln für die Blöcke mit „body .zel-flow“.
 *
 * Gestaltung: weißer Grund, Text Anthrazit, Überschriften in der Display-Schrift (Versalien),
 * Kästen in „Papier“, eckige schwarze Buttons, gepunktete Linien wie im übrigen Auftritt.
 */

.zel-flow,
.zel-checkout-header,
.zel-checkout-footer {
	--zel-flow-ink: var(--zel-anthrazit);
	--zel-flow-muted: #595959;
	--zel-flow-line: var(--zel-hellgrau);
	--zel-flow-field: #767676;
	--zel-flow-paper: var(--zel-papier);
	--zel-flow-radius: 0;
}

/* ------------------------------------------------------------------ */
/* Ruhiger Kopf der Kasse                                              */
/* ------------------------------------------------------------------ */

.zel-checkout-header {
	border-bottom: 1px solid var(--zel-flow-line);
	background: #fff;
	color: var(--zel-flow-ink);
}

.zel-checkout-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem clamp(1.5rem, 4vw, 4rem);
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.zel-checkout-header .zel-logo img {
	height: clamp(3.75rem, 6vw, 5.25rem);
}

/* Schritte „Warenkorb → Kasse → Bestätigung“ */
.zel-checkout-steps__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.zel-checkout-steps__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.zel-checkout-steps__item + .zel-checkout-steps__item::before {
	content: "";
	display: block;
	width: clamp(1.5rem, 4vw, 3.5rem);
	border-top: var(--zel-dot) dotted var(--zel-flow-line);
}

.zel-checkout-steps__item.is-done + .zel-checkout-steps__item::before {
	border-top-color: var(--zel-flow-ink);
}

.zel-checkout-steps__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	color: var(--zel-flow-muted);
	font-family: var(--zel-font-display);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

a.zel-checkout-steps__link:hover {
	color: var(--zel-schwarz);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.zel-checkout-steps__number {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 1rem;
	line-height: 1;
}

.zel-checkout-steps__number .zel-icon {
	width: 1rem;
	height: 1rem;
}

.zel-checkout-steps__item.is-done .zel-checkout-steps__link {
	color: var(--zel-flow-ink);
}

.zel-checkout-steps__item.is-done .zel-checkout-steps__number {
	border-color: var(--zel-gruen);
	background: var(--zel-gruen);
	color: #fff;
}

.zel-checkout-steps__item.is-current .zel-checkout-steps__link {
	color: var(--zel-schwarz);
}

.zel-checkout-steps__item.is-current .zel-checkout-steps__number {
	border-color: var(--zel-schwarz);
	background: var(--zel-schwarz);
	color: #fff;
}

/* „Sichere Kasse“ und Telefon */
.zel-checkout-header__service {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.125rem;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.zel-checkout-header__secure {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-weight: 700;
}

.zel-checkout-header__secure .zel-icon,
.zel-checkout-header__phone .zel-icon {
	width: 1.125rem;
	height: 1.125rem;
	flex: 0 0 auto;
}

.zel-checkout-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	color: var(--zel-flow-ink);
	text-decoration: none;
}

.zel-checkout-header__phone:hover .zel-checkout-header__phone-number {
	text-decoration: underline;
}

.zel-checkout-header__phone-label {
	color: var(--zel-flow-muted);
}

@media (max-width: 991.98px) {
	.zel-checkout-header__inner {
		grid-template-columns: auto 1fr;
	}

	.zel-checkout-steps {
		grid-column: 1 / -1;
		grid-row: 2;
		border-top: 1px solid var(--zel-flow-line);
		padding-top: 0.25rem;
	}
}

@media (max-width: 575.98px) {
	.zel-checkout-header__inner {
		padding-top: 0.75rem;
		padding-bottom: 0.25rem;
		gap: 0.5rem 1rem;
	}

	.zel-checkout-header .zel-logo img {
		height: 3.5rem;
	}

	.zel-checkout-steps__link {
		font-size: 1rem;
		letter-spacing: 0.02em;
	}

	.zel-checkout-steps__item + .zel-checkout-steps__item::before {
		width: 1rem;
	}

	.zel-checkout-steps__number {
		width: 1.5rem;
		height: 1.5rem;
		font-size: 0.875rem;
	}

	.zel-checkout-header__phone-label,
	.zel-checkout-header__phone-number {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.zel-checkout-header__service {
		flex-direction: row-reverse;
		align-items: center;
		gap: 0.75rem;
	}

	.zel-checkout-header__phone {
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		border: 1px solid var(--zel-flow-line);
		border-radius: 50%;
	}

	.zel-checkout-header__phone .zel-icon {
		width: 1.25rem;
		height: 1.25rem;
	}
}

/* ------------------------------------------------------------------ */
/* Schlanker Fuß der Kasse                                             */
/* ------------------------------------------------------------------ */

.zel-checkout-footer {
	background: var(--zel-anthrazit);
	color: var(--zel-weiss);
	font-size: var(--zel-fs-small);
	line-height: 1.55;
}

.zel-checkout-footer a {
	color: var(--zel-weiss);
	text-decoration: none;
}

.zel-checkout-footer a:hover {
	text-decoration: underline;
}

.zel-checkout-footer a:focus-visible,
.zel-checkout-footer button:focus-visible {
	outline: 3px solid var(--zel-weiss);
	outline-offset: 3px;
}

.zel-checkout-footer__inner {
	display: grid;
	gap: 1.25rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.zel-checkout-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-checkout-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
}

.zel-checkout-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 254, 0.25);
}

.zel-checkout-footer__legal .zel-withdraw-link {
	min-height: 2.75rem;
}

.zel-checkout-footer__copy {
	margin: 0;
	color: rgba(255, 255, 254, 0.85);
}

/* Gewährleistungslabel als Textlink (Fußbereich, auch im großen Fuß) */
.zel-footer-guarantee .wc-gzd-legal-guarantee,
.zel-footer-guarantee .wc-gzd-legal-guarantee-label {
	margin: 0;
}

.zel-footer-guarantee a.wc-gzd-popover-trigger {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: inherit;
	cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Seitenrahmen: Überschrift „Kasse“ / „Warenkorb“ / „Bestellung bezahlen“ */
/* ------------------------------------------------------------------ */

.zel-kasse .zel-main,
.zel-warenkorb .zel-main,
.zel-danke .zel-main {
	padding-top: clamp(1.5rem, 3.5vw, 3rem);
}

.zel-flow {
	color: var(--zel-flow-ink);
}

.zel-kasse-title,
.zel-warenkorb-title {
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
	font-size: clamp(2.5rem, 4.4vw, 3.4375rem);
}

/* Kopf und Seitentitel liegen bei Kasse und Warenkorb im Block – der Container darf breit sein. */
.zel-kasse .zel-content > .zel-flow,
.zel-warenkorb .zel-content > .zel-flow,
.zel-danke .zel-content > .zel-flow {
	max-width: var(--zel-wide);
}

body .zel-flow .wp-block-woocommerce-checkout,
body .zel-flow .wp-block-woocommerce-cart {
	padding-top: 0;
}

/* Ohne JavaScript (Plugin: zel_checkout_noscript_html) */
.zel-noscript {
	max-width: 48rem;
	margin: 0 0 2rem;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--zel-schwarz);
	background: var(--zel-flow-paper);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.zel-noscript p {
	margin: 0 0 0.5rem;
}

.zel-noscript p:last-child {
	margin-bottom: 0;
}

.zel-noscript a {
	color: var(--zel-schwarz);
	font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Aufbau: Formular links, Übersicht rechts                            */
/* ------------------------------------------------------------------ */

@container (min-width: 700px) {
	body .zel-flow .wc-block-components-sidebar-layout .wc-block-components-main {
		width: auto;
		flex: 1 1 0;
		min-width: 0;
		padding-right: clamp(2.5rem, 5vw, 5.5rem);
	}

	body .zel-flow .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		flex: 0 0 clamp(21rem, 36%, 29rem);
		width: auto;
		padding-left: 0;
	}
}

body .zel-flow .wc-block-checkout__sidebar,
body .zel-flow .wc-block-cart__sidebar {
	display: flex;
	flex-direction: column;
}

/* ------------------------------------------------------------------ */
/* Schritte der Kasse (Kontakt, Lieferung, Geschenk, Versandart, Zahlung) */
/* ------------------------------------------------------------------ */

body .zel-flow .wc-block-components-form .wc-block-components-checkout-step {
	margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

body .zel-flow .wc-block-components-checkout-step__heading-container {
	gap: 0.375rem;
	margin-bottom: 1.25rem;
}

body .zel-flow .wc-block-components-checkout-step__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	min-height: 2.5rem;
	margin: 0;
}

body .zel-flow .wc-block-components-checkout-step__title,
body .zel-flow .wc-block-components-title.wc-block-components-title {
	margin: 0;
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: clamp(1.5rem, 2.2vw, 1.875rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

body .zel-flow .wc-block-components-checkout-step__heading-content {
	font-size: 0.9375rem;
}

body .zel-flow .wc-block-components-checkout-step__heading-content a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--zel-flow-ink);
	font-weight: 500;
	text-decoration: underline;
}

body .zel-flow .wc-block-components-checkout-step__description {
	color: var(--zel-flow-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Schrittnummern als schwarze Kreise, verbunden durch eine gepunktete Linie. */
body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number {
	padding: 0 0 0 3.75rem;
}

body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	content: counter(checkout-step);
	content: counter(checkout-step) / "";
	position: absolute;
	top: 50%;
	left: -3.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--zel-schwarz);
	color: #fff;
	font-family: var(--zel-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-50%);
}

body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content::before,
body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__description::before {
	left: -2.6rem;
	border-left: 3px dotted var(--zel-flow-line);
}

@container (max-width: 519px) {
	body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number {
		padding: 0;
	}

	body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title {
		display: flex;
		align-items: center;
		gap: 0.625rem;
	}

	body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
		position: static;
		flex: 0 0 auto;
		width: 2.125rem;
		height: 2.125rem;
		font-size: 1.125rem;
		transform: none;
	}

	body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content::before,
	body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__description::before {
		display: none;
	}
}

/* Anmelden-Hinweis und Gast-Hinweis */
body .zel-flow .wc-block-checkout__guest-checkout-notice,
body .zel-flow .wc-block-checkout__login-prompt {
	color: var(--zel-flow-muted);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ */
/* Formularfelder                                                      */
/* ------------------------------------------------------------------ */

body .zel-flow .wc-block-components-text-input input:is([type="email"], [type="text"], [type="tel"], [type="number"], [type="password"], [type="url"]),
body .zel-flow .wc-block-components-textarea,
body .zel-flow .wc-block-checkout__add-note .wc-block-components-textarea,
body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__container {
	border: 1px solid var(--zel-flow-field);
	border-radius: var(--zel-flow-radius);
	background-color: #fff;
	color: var(--zel-schwarz);
	font-size: 1rem;
}

body .zel-flow .wc-block-components-text-input input:is([type="email"], [type="text"], [type="tel"], [type="number"], [type="password"], [type="url"]) {
	height: 3.375rem;
}

body .zel-flow .wc-block-components-text-input label,
body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__label {
	color: var(--zel-flow-muted);
	font-size: 1rem;
}

body .zel-flow .wc-block-components-text-input.is-active label,
body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__label {
	color: var(--zel-flow-muted);
}

body .zel-flow .wc-block-components-text-input input:is([type="email"], [type="text"], [type="tel"], [type="number"], [type="password"], [type="url"]):focus,
body .zel-flow .wc-block-components-textarea:focus,
body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__container:focus-within {
	border-color: var(--zel-schwarz);
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 0;
	box-shadow: none;
}

body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	outline: 0;
}

body .zel-flow .wc-block-components-text-input.has-error input,
body .zel-flow .wc-blocks-components-select.has-error .wc-blocks-components-select__container {
	border-color: var(--zel-rot);
	box-shadow: inset 0 0 0 1px var(--zel-rot);
}

body .zel-flow .wc-block-components-text-input.has-error label,
body .zel-flow .wc-block-components-validation-error,
body .zel-flow .wc-block-components-validation-error > p {
	color: var(--zel-rot);
}

body .zel-flow .wc-block-components-validation-error {
	font-size: 0.875rem;
	line-height: 1.4;
}

body .zel-flow .wc-block-components-validation-error svg {
	fill: currentColor;
}

/* „+ Adresszusatz hinzufügen“ und ähnliche Textschalter */
body .zel-flow .wc-block-components-address-form__address_2-toggle,
body .zel-flow .wc-block-components-totals-coupon__button-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--zel-flow-ink);
	font-size: 0.9375rem;
	text-decoration: underline;
}

/* Adresskarte (gespeicherte Adresse) */
body .zel-flow .wc-block-components-address-card {
	border: 1px solid var(--zel-flow-line);
	border-radius: var(--zel-flow-radius);
	background: var(--zel-flow-paper);
}

body .zel-flow .wc-block-components-address-card__edit {
	color: var(--zel-flow-ink);
	font-weight: 500;
	text-decoration: underline;
}

/* Häkchen */
body .zel-flow .wc-block-components-checkbox {
	margin-top: 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

body .zel-flow .wc-block-components-checkbox .wc-block-components-checkbox__label,
body .zel-flow .wc-block-components-checkbox label > span {
	font-size: 0.9375rem;
	line-height: 1.5;
}

body .zel-flow .wc-block-components-checkbox label {
	align-items: flex-start;
	min-height: 2.75rem;
	color: var(--zel-flow-ink);
	cursor: pointer;
}

body .zel-flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0 0.75rem 0 0;
	border: 2px solid var(--zel-flow-ink);
	border-radius: var(--zel-flow-radius);
	background: #fff;
}

body .zel-flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--zel-schwarz);
	background: var(--zel-schwarz);
}

body .zel-flow .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 2px;
	box-shadow: none;
}

body .zel-flow .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	top: 0.25rem;
	left: 0.25rem;
	width: 1rem;
	height: 1rem;
	margin: 0;
	fill: #fff;
}

body .zel-flow .wc-block-components-checkbox.has-error .wc-block-components-checkbox__input[type="checkbox"] {
	border-color: var(--zel-rot);
	box-shadow: 0 0 0 1px var(--zel-rot);
}

/* Auswahlfelder als Karten (Versandart, Zahlungsart, Abholung) */
body .zel-flow .wc-block-components-radio-control--highlight-checked,
body .zel-flow .wc-block-components-radio-control-accordion-option,
body .zel-flow .wc-block-components-radio-control__option {
	border-radius: var(--zel-flow-radius);
}

body .zel-flow .wc-block-components-radio-control--highlight-checked::after,
body .zel-flow .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option,
body .zel-flow .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option {
	border-radius: var(--zel-flow-radius);
}

body .zel-flow .wc-block-components-radio-control--highlight-checked::after {
	border-color: var(--zel-flow-line);
}

body .zel-flow .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body .zel-flow .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	background: var(--zel-flow-paper);
	box-shadow: inset 0 0 0 2px var(--zel-schwarz);
}

body .zel-flow .wc-block-components-radio-control__option {
	min-height: 3.5rem;
	color: var(--zel-flow-ink);
}

body .zel-flow .wc-block-components-radio-control__label,
body .zel-flow .wc-block-components-radio-control__label-group {
	font-size: 1rem;
	font-weight: 500;
}

body .zel-flow .wc-block-components-radio-control__secondary-label {
	flex: 0 0 auto;
	padding-left: 0.75rem;
	font-weight: 700;
}

body .zel-flow .wc-block-components-radio-control__label {
	min-width: 0;
	overflow-wrap: anywhere;
}

body .zel-flow .wc-block-components-radio-control__description,
body .zel-flow .wc-block-components-radio-control__secondary-description {
	color: var(--zel-flow-muted);
	font-size: 0.875rem;
}

body .zel-flow .wc-block-components-radio-control .wc-block-components-radio-control__input {
	width: 1.375rem;
	height: 1.375rem;
	min-width: 1.375rem;
	border: 2px solid var(--zel-flow-ink);
	background: #fff;
}

body .zel-flow .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border-color: var(--zel-schwarz);
}

body .zel-flow .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	background: var(--zel-schwarz);
}

body .zel-flow .wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 2px;
	box-shadow: none;
}

body .zel-flow .wc-block-components-radio-control-accordion-content {
	color: var(--zel-flow-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

body .zel-flow .wc-block-components-button:not(.is-link) {
	min-height: 3.5rem;
	padding: 1rem 1.5rem;
	border: 0;
	border-radius: var(--zel-flow-radius);
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
	font-family: var(--zel-font-display);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: background 0.2s ease;
}

body .zel-flow .wc-block-components-button:not(.is-link):hover {
	background: var(--zel-anthrazit);
	color: var(--zel-weiss);
}

body .zel-flow .wc-block-components-button:not(.is-link):focus,
body .zel-flow .wc-block-components-button:not(.is-link):focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 3px;
	box-shadow: none;
}

body .zel-flow .wc-block-components-button:not(.is-link):disabled,
body .zel-flow .wc-block-components-button:not(.is-link)[aria-disabled="true"] {
	opacity: 0.55;
}

body .zel-flow .wc-block-components-button.outlined {
	border: 2px solid var(--zel-schwarz);
	background: transparent;
	color: var(--zel-schwarz);
}

body .zel-flow .wc-block-components-button.outlined:hover {
	background: var(--zel-flow-paper);
	color: var(--zel-schwarz);
}

/* „zurück zum Warenkorb“ im Formular */
body .zel-flow .wc-block-components-checkout-return-to-cart-button {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding-left: 1.5rem;
	color: var(--zel-flow-ink);
	font-weight: 500;
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Seitenspalte: Übersicht, Summe, Häkchen, Bestell-Button             */
/* ------------------------------------------------------------------ */

body .zel-flow .wp-block-woocommerce-checkout-order-summary-block,
body .zel-flow .wp-block-woocommerce-cart-order-summary-block {
	border: 0;
	border-radius: var(--zel-flow-radius);
	background: var(--zel-flow-paper);
}

body .zel-flow .wc-block-components-checkout-order-summary__title {
	padding: 1.25rem 1.25rem 0.75rem;
	border: 0;
}

body .zel-flow .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text,
body .zel-flow .wc-block-cart__totals-title.wc-block-cart__totals-title {
	margin: 0;
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

body .zel-flow .wc-block-cart__totals-title.wc-block-cart__totals-title {
	display: block;
	padding: 1.25rem 1.25rem 0.5rem;
	text-align: left;
}

body .zel-flow .wc-block-components-checkout-order-summary__title-price {
	font-weight: 700;
}

body .zel-flow .wc-block-components-totals-wrapper {
	padding: 1rem 1.25rem;
	border-top: 1px solid var(--zel-flow-line);
}

body .zel-flow .wc-block-components-totals-wrapper:first-child {
	border-top: 0;
}

body .zel-flow .wc-block-components-totals-wrapper:empty,
body .zel-flow .wc-gzd-checkout .wc-block-components-totals-wrapper.wc-gzd-show-total-wrapper:empty {
	display: none;
}

body .zel-flow .wc-block-components-totals-wrapper.slot-wrapper:not(:has(* *)) {
	display: none;
}

/* Positionen in der Übersicht (Germanized färbt sie sonst grau, siehe „Tabellenfarbe“ der Button-Lösung) */
body .zel-flow .wc-block-components-order-summary,
body .zel-flow .wc-gzd-checkout .wc-block-components-order-summary,
body .zel-flow .wc-gzd-checkout .wc-block-components-order-summary.is-large {
	padding: 0 1.25rem;
	background: transparent;
}

body .zel-flow table.shop_table {
	background: transparent;
}

body .zel-flow .wc-block-components-order-summary .wc-block-components-order-summary-item {
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--zel-flow-line);
	font-size: 0.875rem;
}

body .zel-flow .wc-block-components-order-summary .wc-block-components-order-summary-item:last-child {
	border-bottom: 0;
}

body .zel-flow .wc-block-components-order-summary-item__image {
	width: 4rem;
}

body .zel-flow .wc-block-components-order-summary-item__image > img {
	width: 4rem;
	max-width: 4rem;
	height: 4rem;
	background: #fff;
	object-fit: contain;
}

body .zel-flow .wc-block-components-order-summary-item__quantity {
	min-width: 1.5rem;
	height: 1.5rem;
	border: 2px solid var(--zel-flow-paper);
	background: var(--zel-schwarz);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	box-shadow: none;
}

body .zel-flow .wc-block-components-order-summary-item__description {
	padding-left: 1rem;
}

body .zel-flow .wc-block-components-product-name,
body .zel-flow .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

body .zel-flow .wc-block-components-product-metadata,
body .zel-flow .wc-block-components-product-details {
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

body .zel-flow .wc-block-components-product-metadata__description {
	display: none;
}

body .zel-flow .wc-block-components-order-summary-item__total-price {
	font-weight: 700;
}

/* Gutschein */
body .zel-flow .wc-block-components-totals-coupon .wc-block-components-panel__button {
	min-height: 2.75rem;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	color: var(--zel-flow-ink);
	font-size: 0.9375rem;
	font-weight: 500;
}

body .zel-flow .wc-block-components-totals-coupon__form {
	gap: 0.5rem;
}

body .zel-flow .wc-block-components-totals-coupon__button:not(.is-link) {
	min-height: 3.375rem;
	padding: 0.75rem 1rem;
	font-size: 1.125rem;
}

body .zel-flow .wc-block-components-chip {
	border-radius: var(--zel-flow-radius);
	background: #fff;
	color: var(--zel-flow-ink);
	box-shadow: inset 0 0 0 1px var(--zel-flow-line);
}

/* Summen */
body .zel-flow .wc-block-components-totals-item {
	color: var(--zel-flow-ink);
	font-size: 0.9375rem;
}

body .zel-flow .wc-block-components-totals-item__description {
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
}

body .zel-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body .zel-flow .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

body .zel-flow .wc-block-components-totals-footer-item-tax {
	margin-top: 0.25rem;
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
}

/* Germanized: Summe, Häkchen und Button bleiben beim Scrollen sichtbar. */
body .zel-flow .wc-gzd-checkout-submit {
	top: 1.5rem;
	z-index: 2;
	margin-top: 1rem;
	padding: 0 1.25rem 1.25rem;
	background: var(--zel-flow-paper);
}

body .zel-flow .wc-gzd-checkout-submit .wp-block-woocommerce-checkout-order-summary-block {
	background: transparent;
}

body .zel-flow .wc-gzd-checkout-submit .wc-block-components-totals-wrapper.wc-gzd-show-total-wrapper:not(.slot-wrapper) {
	padding: 1.25rem 0 1rem;
	border-top: 0;
	border-bottom: var(--zel-dot) dotted var(--zel-flow-ink);
}

body .zel-flow .wc-gzd-checkout .wc-gzd-checkout-submit .wc-block-checkout__actions {
	padding: 1rem 0 0;
	border-top: 0;
}

body .zel-flow .wc-gzd-checkout .wc-gzd-checkout-submit .wc-block-checkout__actions .wc-block-components-checkout-place-order-button {
	width: 100%;
	margin-bottom: 0;
}

body .zel-flow .wc-gzd-checkout-submit .wc-block-components-checkout-return-to-cart-button {
	display: none;
}

/* Pflicht-Häkchen „AGB und Widerrufsbelehrung“ direkt über dem Button */
body .zel-flow .wc-gzd-checkboxes {
	margin: 0;
	padding-top: 0.5rem;
}

body .zel-flow .wc-gzd-checkboxes .wc-gzd-checkbox {
	margin-top: 0.75rem;
}

body .zel-flow .wc-gzd-checkboxes .wc-block-components-checkbox label {
	font-size: 0.9375rem;
	line-height: 1.5;
}

body .zel-flow .wc-gzd-checkboxes a {
	color: var(--zel-flow-ink);
	font-weight: 500;
	text-decoration: underline;
}

body .zel-flow .wc-gzd-checkboxes .wc-block-components-checkbox.has-error label,
body .zel-flow .wc-gzd-checkboxes .wc-block-components-checkbox.has-error a {
	color: var(--zel-flow-ink);
}

/* Gewährleistungslabel (EU): unter dem Button, maßvoll groß, Klick öffnet die volle Fassung. */
body .zel-flow .wc-block-checkout__sidebar > .wc-gzd-legal-guarantee,
body .zel-flow .wc-block-cart__sidebar > .wc-gzd-legal-guarantee {
	order: 3;
}

body .zel-flow .zel-trust-wrapper {
	order: 4;
}

body .zel-flow .wc-gzd-legal-guarantee {
	margin: 1.25rem 0 0;
	padding: 0;
}

body .zel-flow .wc-gzd-legal-guarantee:empty,
body .zel-flow .wc-gzd-legal-guarantee:not(:has(img, a)) {
	display: none;
}

body .zel-flow .wc-gzd-legal-guarantee .wc-gzd-popover-wrapper .wc-gzd-popover-trigger img.wc-gzd-legal-guarantee-image-preview {
	width: 100%;
	min-width: 0;
	max-width: 12.5rem;
}

body .zel-flow .wc-gzd-legal-guarantee .wc-gzd-legal-guarantee-image-preview {
	display: block;
	width: 100%;
	max-width: 12.5rem;
	height: auto;
	border: 1px solid var(--zel-flow-line);
}

body .zel-flow .wc-gzd-popover-trigger {
	display: inline-block;
	cursor: zoom-in;
}

body .zel-flow .wc-gzd-popover-trigger:focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 3px;
}

/* Vertrauensbox (Plugin: zel_checkout_trust_html) */
.zel-trust {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--zel-flow-line);
	color: var(--zel-flow-ink);
	font-size: 0.875rem;
	line-height: 1.5;
}

.zel-trust__list {
	display: grid;
	gap: 0.875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-trust__item {
	display: grid;
	grid-template-columns: 2.25rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	margin: 0;
}

.zel-trust__item > .zel-icon {
	width: 1.5rem;
	height: 1.5rem;
	margin: 0.125rem auto 0;
	stroke-width: 1.75;
}

.zel-trust__seal {
	width: 2.25rem;
	height: auto;
}

.zel-trust__item strong {
	display: block;
	font-weight: 700;
}

.zel-trust__item a {
	color: var(--zel-flow-ink);
	overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ */
/* Hinweise                                                            */
/* ------------------------------------------------------------------ */

body .zel-flow .wc-block-components-notice-banner {
	align-items: flex-start;
	padding: 0.875rem 1rem;
	border: 0;
	border-left: 4px solid var(--zel-flow-ink);
	border-radius: var(--zel-flow-radius);
	background: var(--zel-flow-paper);
	color: var(--zel-flow-ink);
	font-size: 0.9375rem;
	line-height: 1.5;
}

body .zel-flow .wc-block-components-notice-banner > svg {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--zel-flow-ink);
	fill: #fff;
}

body .zel-flow .wc-block-components-notice-banner.is-error {
	border-left-color: var(--zel-rot);
	background: #fbeeee;
	color: var(--zel-rot);
}

body .zel-flow .wc-block-components-notice-banner.is-error > svg {
	background: var(--zel-rot);
}

body .zel-flow .wc-block-components-notice-banner.is-success {
	border-left-color: var(--zel-gruen);
	background: #eaf3f0;
	color: #1f5f4e;
}

body .zel-flow .wc-block-components-notice-banner.is-success > svg {
	background: var(--zel-gruen);
}

body .zel-flow .wc-block-components-notice-banner.is-warning {
	border-left-color: var(--zel-braun);
	background: #f8efe9;
	color: #6f3b1d;
}

body .zel-flow .wc-block-components-notice-banner.is-warning > svg {
	background: var(--zel-braun);
}

body .zel-flow .wc-block-components-notice-banner a {
	color: inherit;
	font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Warenkorb                                                           */
/* ------------------------------------------------------------------ */

body .zel-flow .wc-block-cart-items {
	border-bottom: 1px solid var(--zel-flow-line);
}

body .zel-flow .wc-block-cart-items__header {
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body .zel-flow .wc-block-cart-items__header th {
	padding-bottom: 0.75rem;
	border-bottom: var(--zel-dot) dotted var(--zel-flow-ink);
}

body .zel-flow .wc-block-cart-items .wc-block-cart-items__row {
	padding: 1.5rem 0;
	border-top: 1px solid var(--zel-flow-line);
}

body .zel-flow .wc-block-cart-items .wc-block-cart-items__row:first-child {
	border-top: 0;
}

body .zel-flow .wc-block-cart-item__image {
	width: 7.5rem;
	padding-right: 1.25rem;
}

body .zel-flow .wc-block-cart-item__image a,
body .zel-flow .wc-block-cart-item__image img {
	display: block;
}

body .zel-flow .wc-block-cart-item__image img {
	width: 100%;
	aspect-ratio: 1;
	background: var(--zel-flow-paper);
	object-fit: contain;
}

body .zel-flow .wc-block-cart-item__product .wc-block-components-product-name {
	display: inline-block;
	margin-bottom: 0.375rem;
	font-size: 1.375rem;
	text-decoration: none;
}

body .zel-flow .wc-block-cart-item__product a.wc-block-components-product-name:hover {
	text-decoration: underline;
}

body .zel-flow .wc-block-cart-item__prices {
	margin-bottom: 0.375rem;
	color: var(--zel-flow-muted);
	font-size: 0.9375rem;
}

body .zel-flow .wc-block-cart-item__total {
	font-size: 1.125rem;
	font-weight: 700;
}

body .zel-flow .wc-block-cart-item__quantity {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-top: 0.75rem;
}

/* Mengenwahl wie in der Schublade: eckig, 44 px */
body .zel-flow .wc-block-components-quantity-selector {
	width: auto;
	min-width: 8.25rem;
	margin: 0;
	border: 1px solid var(--zel-flow-ink);
	border-radius: var(--zel-flow-radius);
}

body .zel-flow .wc-block-components-quantity-selector::after {
	display: none;
}

body .zel-flow .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button {
	min-width: 2.75rem;
	height: 2.75rem;
	color: var(--zel-flow-ink);
	font-size: 1.25rem;
	opacity: 1;
}

body .zel-flow .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button:hover:not(:disabled) {
	background: var(--zel-flow-paper);
}

body .zel-flow .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.35;
}

body .zel-flow .wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button:focus-visible,
body .zel-flow .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 0;
	box-shadow: none;
}

body .zel-flow .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	min-width: 2.75rem;
	height: 2.75rem;
	color: var(--zel-schwarz);
	font-size: 1rem;
	font-weight: 500;
}

body .zel-flow .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	color: var(--zel-flow-ink);
}

body .zel-flow .wc-block-cart-item__remove-link:hover {
	background: var(--zel-flow-paper);
}

body .zel-flow .wc-block-cart-item__remove-link:focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 0;
}

/* Gratisversand-Balken (Plugin: assets/js/checkout.js) */
.zel-free-shipping {
	margin: 0 0 1rem;
	padding: 0.875rem 1.25rem 1rem;
	border: 1px solid var(--zel-flow-line);
	background: #fff;
}

.zel-free-shipping__text {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
}

.zel-free-shipping__track {
	height: 0.5rem;
	overflow: hidden;
	border-radius: 0.25rem;
	background: var(--zel-flow-line);
}

.zel-free-shipping__fill {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--zel-schwarz);
	transition: width 0.4s ease;
}

.zel-free-shipping.is-reached .zel-free-shipping__fill {
	background: var(--zel-gruen);
}

.zel-free-shipping__note {
	margin: 0.5rem 0 0;
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.zel-free-shipping__note[hidden] {
	display: none;
}

/* Zur Kasse */
body .zel-flow .wc-block-cart__submit {
	margin: 0;
	padding: 1.25rem;
	background: var(--zel-flow-paper);
}

body .zel-flow .wc-block-cart__submit-container {
	padding: 0;
}

body .zel-flow .wc-block-cart__submit-button {
	width: 100%;
}

body .zel-flow .wc-block-cart__payment-options:empty {
	display: none;
}

/* Wiederkommende Blöcke im Warenkorb: Cross-Sells und leerer Warenkorb */
body .zel-flow .wp-block-woocommerce-cart-cross-sells-block {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

body .zel-flow .wp-block-woocommerce-cart-cross-sells-block .wp-block-heading,
body .zel-flow .wp-block-woocommerce-empty-cart-block .wp-block-heading {
	margin: 0 0 1.5rem;
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: clamp(1.75rem, 3vw, 2.1875rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

body .zel-flow .wp-block-woocommerce-empty-cart-block {
	padding: clamp(2rem, 5vw, 4rem) 0;
	text-align: center;
}

/* Leerer Warenkorb: unser Warenkorb-Symbol statt des traurigen WooCommerce-Gesichts */
body .zel-flow .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	width: 4.5rem;
	height: 4.5rem;
	background-color: var(--zel-flow-ink);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

body .zel-flow .zel-cart-empty__text {
	max-width: 32rem;
	margin: 0 auto 1.5rem;
	color: var(--zel-flow-muted);
}

@container (max-width: 699px) {
	body .zel-flow .wc-block-cart-items td {
		border-top: 0;
	}

	body .zel-flow .wc-block-cart-items .wc-block-cart-items__row {
		border-top: 1px solid var(--zel-flow-line);
	}

	body .zel-flow .wc-block-cart-items .wc-block-cart-items__row:first-child {
		border-top: 0;
	}

	body .zel-flow .wc-block-cart-item__image {
		width: 5.5rem;
		padding-right: 1rem;
	}

	body .zel-flow .wc-block-cart-item__product .wc-block-components-product-name {
		font-size: 1.1875rem;
	}

	body .zel-flow .wc-block-cart__sidebar {
		margin-top: 1.5rem;
	}
}

/* ------------------------------------------------------------------ */
/* Danke-Seite                                                         */
/* ------------------------------------------------------------------ */

.zel-thankyou {
	max-width: 62rem;
	margin: 0 auto;
	color: var(--zel-flow-ink);
}

.zel-thankyou__head {
	margin-bottom: clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.zel-thankyou__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: var(--zel-gruen);
	color: #fff;
}

.zel-thankyou__badge .zel-icon {
	width: 2.25rem;
	height: 2.25rem;
}

.zel-thankyou__badge--failed {
	background: var(--zel-rot);
}

.zel-thankyou__title {
	display: inline-block;
	margin: 0 0 1.25rem;
	color: var(--zel-flow-ink);
}

.zel-thankyou__lead {
	max-width: 44rem;
	margin: 0 auto;
	color: var(--zel-schwarz);
	font-size: clamp(1.125rem, 1.8vw, 1.5rem);
}

.zel-thankyou__text {
	max-width: 42rem;
	margin: 0 auto 1.5rem;
	font-size: 1.0625rem;
	line-height: 1.6;
}

/* Eckdaten */
.zel-thankyou__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 1px;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: 0;
	border: 1px solid var(--zel-flow-line);
	background: var(--zel-flow-line);
	list-style: none;
}

.zel-thankyou__facts li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0;
	padding: 1rem 1.25rem;
	background: var(--zel-flow-paper);
}

.zel-thankyou__fact-label {
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.zel-thankyou__facts strong {
	font-size: 1.0625rem;
	overflow-wrap: anywhere;
}

/* So geht es weiter */
.zel-thankyou__subtitle,
.zel-thankyou .woocommerce-order-details__title,
.zel-thankyou .woocommerce-column__title,
.zel-thankyou .wc-bacs-bank-details-heading {
	margin: 0 0 1.25rem;
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: clamp(1.75rem, 3vw, 2.1875rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.zel-thankyou__next {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.zel-thankyou__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: zel-step;
}

.zel-thankyou__step {
	position: relative;
	margin: 0;
	padding: 1.5rem 1.25rem 1.25rem;
	border-top: var(--zel-dot) dotted var(--zel-flow-ink);
}

.zel-thankyou__step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.875rem;
	border-radius: 50%;
	background: var(--zel-schwarz);
	color: #fff;
}

.zel-thankyou__step-icon .zel-icon {
	width: 1.375rem;
	height: 1.375rem;
}

.zel-thankyou__step-title {
	margin: 0 0 0.375rem;
	color: var(--zel-flow-ink);
	font-size: 1.25rem;
}

.zel-thankyou__step-text {
	margin: 0;
	color: var(--zel-flow-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
	.zel-thankyou__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.5rem;
	}

	.zel-thankyou__step {
		display: grid;
		grid-template-columns: 3rem minmax(0, 1fr);
		column-gap: 1rem;
		padding: 1.25rem 0;
	}

	.zel-thankyou__step-icon {
		grid-row: span 2;
		margin: 0;
	}
}

/* Zahlungshinweise (Vorkasse: Bankverbindung) */
.zel-thankyou__payment {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	border-left: 4px solid var(--zel-schwarz);
	background: var(--zel-flow-paper);
}

.zel-thankyou__payment > p {
	font-size: 1rem;
	line-height: 1.6;
}

.zel-thankyou__payment > :last-child,
.zel-thankyou__payment .woocommerce-bacs-bank-details > :last-child {
	margin-bottom: 0;
}

.zel-thankyou .wc-bacs-bank-details-heading {
	font-size: 1.5rem;
}

.zel-thankyou .wc-bacs-bank-details-account-name {
	margin: 0 0 0.75rem;
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-text);
	font-size: 1rem;
	font-weight: 700;
	text-transform: none;
}

.zel-thankyou ul.wc-bacs-bank-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.zel-thankyou ul.wc-bacs-bank-details li {
	margin: 0;
	color: var(--zel-flow-muted);
	font-size: 0.875rem;
}

.zel-thankyou ul.wc-bacs-bank-details li strong {
	display: block;
	color: var(--zel-schwarz);
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
}

/* Bestelldetails und Adressen (WooCommerce-Vorlagen order/order-details*.php) */
.zel-thankyou__details {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.zel-thankyou .woocommerce-order-details,
.zel-thankyou .woocommerce-customer-details {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.zel-thankyou table.shop_table,
.zel-pay table.shop_table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.zel-thankyou table.shop_table th,
.zel-thankyou table.shop_table td,
.zel-pay table.shop_table th,
.zel-pay table.shop_table td {
	padding: 0.875rem 0.75rem 0.875rem 0;
	border-bottom: 1px solid var(--zel-flow-line);
	text-align: left;
	vertical-align: top;
}

.zel-thankyou table.shop_table thead th,
.zel-pay table.shop_table thead th {
	padding-top: 0;
	border-bottom: var(--zel-dot) dotted var(--zel-flow-ink);
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.zel-thankyou table.shop_table :is(th, td):last-child,
.zel-pay table.shop_table :is(th, td):last-child {
	padding-right: 0;
	text-align: right;
}

.zel-thankyou table.shop_table .woocommerce-Price-amount,
.zel-pay table.shop_table .woocommerce-Price-amount {
	white-space: nowrap;
}

.zel-thankyou table.shop_table small.shipped_via,
.zel-pay table.shop_table small.shipped_via {
	display: block;
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
}

.zel-thankyou table.shop_table tbody .product-name a {
	color: var(--zel-flow-ink);
	font-weight: 700;
}

.zel-thankyou table.shop_table tfoot th,
.zel-pay table.shop_table tfoot th {
	font-weight: 400;
}

.zel-thankyou table.shop_table tfoot tr:last-child :is(th, td),
.zel-pay table.shop_table tfoot tr.zel-pay__total--order_total :is(th, td) {
	border-bottom: 0;
	font-family: var(--zel-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
}

.zel-thankyou table.shop_table tfoot tr:last-child small,
.zel-pay table.shop_table tfoot tr.zel-pay__total--order_total small {
	display: block;
	font-family: var(--zel-font-text);
	font-size: 0.8125rem;
	font-weight: 400;
	text-transform: none;
}

.zel-thankyou .wc-item-meta,
.zel-pay .wc-item-meta {
	margin: 0.375rem 0 0;
	padding: 0;
	color: var(--zel-flow-muted);
	font-size: 0.8125rem;
	list-style: none;
}

.zel-thankyou .wc-item-meta li,
.zel-pay .wc-item-meta li {
	margin: 0;
}

.zel-thankyou .wc-item-meta p,
.zel-pay .wc-item-meta p {
	display: inline;
	margin: 0;
}

.zel-thankyou .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1.5rem;
}

.zel-thankyou .woocommerce-column {
	width: auto;
	float: none;
}

.zel-thankyou address {
	padding: 1.25rem;
	border: 1px solid var(--zel-flow-line);
	font-style: normal;
	line-height: 1.6;
}

.zel-thankyou address p {
	margin: 0.25rem 0 0;
}

.zel-thankyou .woocommerce-column__title {
	font-size: 1.5rem;
}

/* Bienenpost und „Weiter einkaufen“ */
.zel-thankyou__bienenpost {
	display: grid;
	grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--zel-beige);
	color: var(--zel-schwarz);
}

.zel-thankyou__bienenpost .zel-thankyou__subtitle {
	color: var(--zel-schwarz);
}

.zel-thankyou__kuvert {
	width: 100%;
	max-width: 9rem;
	height: auto;
}

@media (max-width: 575.98px) {
	.zel-thankyou__bienenpost {
		grid-template-columns: minmax(0, 1fr);
	}

	.zel-thankyou__kuvert {
		max-width: 6rem;
	}
}

.zel-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1rem;
	margin: 0;
}

.zel-thankyou__actions--end {
	padding-top: 0.5rem;
}

.zel-thankyou .zel-btn:focus-visible,
.zel-pay .zel-btn:focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 3px;
}

/* Hinweise aus WooCommerce auf der Danke-Seite und „Bestellung bezahlen“ (klassische Ausgabe) */
.zel-flow .woocommerce-error,
.zel-flow .woocommerce-info,
.zel-flow .woocommerce-message {
	margin: 0 0 1.5rem;
	padding: 0.875rem 1rem;
	border-left: 4px solid var(--zel-flow-ink);
	background: var(--zel-flow-paper);
	color: var(--zel-flow-ink);
	list-style: none;
}

.zel-flow .woocommerce-error {
	border-left-color: var(--zel-rot);
	background: #fbeeee;
	color: var(--zel-rot);
}

.zel-flow .woocommerce-message {
	border-left-color: var(--zel-gruen);
}

/* ------------------------------------------------------------------ */
/* „Bestellung bezahlen“                                               */
/* ------------------------------------------------------------------ */

.zel-pay__lead {
	max-width: 48rem;
	margin: -0.75rem 0 clamp(1.5rem, 3vw, 2.5rem);
	color: var(--zel-flow-ink);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.zel-pay {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
	gap: clamp(2rem, 5vw, 5.5rem);
	align-items: start;
}

.zel-pay__subtitle {
	margin: 0 0 1.25rem;
	color: var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.zel-pay__table .product-quantity {
	width: 4rem;
	white-space: nowrap;
}

.zel-pay__table .product-name {
	font-weight: 500;
}

.zel-pay__payment {
	position: sticky;
	top: 1.5rem;
	padding: 1.25rem;
	background: var(--zel-flow-paper);
}

.zel-pay #payment {
	background: transparent;
}

.zel-pay .wc_payment_methods {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.zel-pay .wc_payment_method {
	margin: 0;
	border: 1px solid var(--zel-flow-line);
	background: #fff;
}

.zel-pay .wc_payment_method:has(> input:checked) {
	box-shadow: inset 0 0 0 2px var(--zel-schwarz);
}

.zel-pay .wc_payment_method > input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.zel-pay .wc_payment_method > label {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	min-height: 3.5rem;
	margin: 0;
	padding: 0.75rem 1rem 0.75rem 3.25rem;
	color: var(--zel-flow-ink);
	font-weight: 500;
	cursor: pointer;
}

.zel-pay .wc_payment_method > label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1rem;
	width: 1.375rem;
	height: 1.375rem;
	border: 2px solid var(--zel-flow-ink);
	border-radius: 50%;
	background: #fff;
	transform: translateY(-50%);
}

.zel-pay .wc_payment_method > input:checked + label::before {
	border-color: var(--zel-schwarz);
	background: radial-gradient(circle, var(--zel-schwarz) 0 45%, #fff 50%);
}

.zel-pay .wc_payment_method > input:focus-visible + label {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 2px;
}

.zel-pay .wc_payment_method > label img {
	display: inline-block;
	max-height: 1.5rem;
	width: auto;
	margin-left: auto;
}

.zel-pay .payment_box {
	padding: 0 1rem 1rem 3.25rem;
	color: var(--zel-flow-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.zel-pay .payment_box p:last-child {
	margin-bottom: 0;
}

.zel-pay__amount {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	padding-bottom: 0.875rem;
	border-bottom: var(--zel-dot) dotted var(--zel-flow-ink);
	font-family: var(--zel-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.zel-pay__amount small {
	display: block;
	width: 100%;
	font-family: var(--zel-font-text);
	font-size: 0.8125rem;
	font-weight: 400;
	text-transform: none;
}

.zel-pay .form-row {
	margin: 0;
}

.zel-pay .wc-gzd-checkbox-placeholder,
.zel-pay .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 1rem;
}

.zel-pay #payment label.woocommerce-form__label-for-checkbox,
.zel-pay #payment .wc-gzd-checkbox-placeholder p.form-row label.woocommerce-form__label-for-checkbox {
	position: relative;
	display: block;
	min-height: 2.75rem;
	padding-left: 2.25rem;
	margin: 0.75rem 0 0;
	color: var(--zel-flow-ink);
	font-size: 0.9375rem;
	line-height: 1.5;
	cursor: pointer;
}

.zel-pay #payment label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0;
	accent-color: var(--zel-schwarz);
}

.zel-pay label.woocommerce-form__label-for-checkbox input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--zel-schwarz);
	outline-offset: 2px;
}

.zel-pay label.woocommerce-form__label-for-checkbox a {
	color: var(--zel-flow-ink);
	font-weight: 500;
}

.zel-pay #place_order,
.zel-pay__button {
	width: 100%;
	min-height: 3.5rem;
	font-size: 1.375rem;
}

@media (max-width: 991.98px) {
	.zel-pay {
		grid-template-columns: minmax(0, 1fr);
	}

	.zel-pay__payment {
		position: static;
	}
}

/* ------------------------------------------------------------------ */
/* Bewegung reduzieren                                                 */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.zel-free-shipping__fill,
	body .zel-flow .wc-block-components-button:not(.is-link) {
		transition: none;
	}
}

/* ------------------------------------------------------------------ */
/* Feinschliff                                                         */
/* ------------------------------------------------------------------ */

/* Land/Region: Beschriftung und Wert nicht aneinanderkleben */
body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__container {
	height: 3.375rem;
}

body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__label {
	top: 0.375rem;
	font-size: 0.8125rem;
}

body .zel-flow .wc-blocks-components-select .wc-blocks-components-select__select {
	padding-top: 1.25rem;
	font-size: 1rem;
}

/* „Hinweis zur Bestellung“ unter den nummerierten Schritten einrücken */
@container (min-width: 520px) {
	body .zel-flow .wc-block-checkout__form--with-step-numbers .wc-block-checkout__order-notes {
		padding-left: 3.75rem;
	}
}

/* Warenkorb: Produktname, Trennlinien, Summe */
body .zel-flow .wc-block-cart-items {
	border-collapse: collapse;
}

body .zel-flow .wc-block-cart-items td {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	border-top: 1px solid var(--zel-flow-line);
}

body .zel-flow .wc-block-cart-items .wc-block-cart-items__row:first-child td {
	border-top: 0;
}

body .zel-flow .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product .wc-block-components-product-name {
	font-size: 1.375rem;
	line-height: 1.15;
}

body .zel-flow .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 1.375rem;
}

body .zel-flow .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.75rem;
}

body .zel-flow .wp-block-woocommerce-cart-order-summary-block {
	margin-bottom: 0;
}

body .zel-flow .wc-block-cart__submit {
	padding-top: 0.25rem;
}

/* Gutschein-Zeile kompakt */
body .zel-flow .wc-block-components-totals-coupon.wc-block-components-panel {
	margin: 0;
}

body .zel-flow .wc-block-components-panel__button {
	padding-top: 0;
	padding-bottom: 0;
}

/* Danke-Seite: Aktionen der Bestellung (Widerruf, Rechnung) als kleine Buttons */
.zel-thankyou .order-actions-button,
.zel-thankyou .woocommerce-button,
.zel-thankyou tfoot .order-actions a,
.zel-thankyou td a.button {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	margin: 0 0 0.25rem 0.5rem;
	padding: 0.5rem 1rem;
	border: 2px solid var(--zel-schwarz);
	background: #fff;
	color: var(--zel-schwarz);
	font-family: var(--zel-font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

.zel-thankyou .order-actions-button:hover,
.zel-thankyou .woocommerce-button:hover,
.zel-thankyou td a.button:hover {
	background: var(--zel-flow-paper);
}

/* Schritte oben auf dem Handy in eine Zeile */
@media (max-width: 575.98px) {
	.zel-checkout-steps__list {
		flex-wrap: nowrap;
		gap: 0.375rem;
	}

	.zel-checkout-steps__item {
		gap: 0.375rem;
	}

	.zel-checkout-steps__link {
		gap: 0.375rem;
		font-size: 0.9375rem;
		letter-spacing: 0;
	}

	.zel-checkout-steps__item + .zel-checkout-steps__item::before {
		width: 0.75rem;
	}

	.zel-checkout-steps__number {
		width: 1.375rem;
		height: 1.375rem;
		border-width: 2px;
		font-size: 0.8125rem;
	}
}

.zel-pay #payment label.woocommerce-form__label-for-checkbox .required {
	color: var(--zel-rot);
	text-decoration: none;
}
