/* =========================================================
   trockeneis24 – Shop- und Kundenseiten
   Warenkorb, Kasse, Danke-Seite, Mein Konto (Login, Registrierung,
   Passwort, Bestellungen, Adressen, Kontodaten, Rücksendungen),
   Kunden-Bereich (Bestellverfolgung), Registrieren, Vertrag widerrufen.

   Geladen nur auf diesen Seiten (includes/woocommerce.php), Body-Klasse
   .te-wc-page. Inhalte der Shortcodes stecken im Elementor-Widget
   .te-wc-shortcode – alle Formular-/Tabellenregeln gelten nur darin,
   Kopf, Fuß und Warenkorb-Drawer bleiben unberührt.

   Spezifität: Das Kit färbt `button` und `input` mit
   .elementor-kit-N … (bis 0,4,1). Felder und Buttons hier daher mit
   dreifacher Klasse ($S = .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode).
   Quelle der Optik: Prototyp (recht.css .legal-hero/.crumbs,
   kontakt.css .cform/.field/.check, widerruf.css, produkt.css .qty,
   styles.css .btn/.cart__*). Werte nur aus tokens.css.
   ========================================================= */

/* ---------- Seitenkopf ---------- */
.e-con.te-page-head {
	position: relative;
	overflow: clip;
	--padding-top: calc(var(--te-header-h, 76px) + clamp(1rem, 2.5vw, 1.75rem));
	--padding-bottom: clamp(1.75rem, 3.6vw, 2.75rem);
	--padding-left: var(--shell-pad);
	--padding-right: var(--shell-pad);
	--gap: 0px;
	background:
		radial-gradient(110% 80% at 92% -10%, oklch(0.945 0.028 262) 0%, transparent 55%),
		radial-gradient(80% 60% at 0% 100%, oklch(0.960 0.016 262) 0%, transparent 60%),
		var(--bg);
}
.admin-bar .e-con.te-page-head { --padding-top: calc(var(--te-header-h, 76px) + clamp(1rem, 2.5vw, 1.75rem)); }
.te-page-head .crumbs { margin-bottom: clamp(1.1rem, 2.4vw, 1.75rem); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.35rem; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: rotate(45deg); margin-right: 0.25rem; }
.crumbs a { color: var(--ink-2); font-weight: 500; transition: color 0.16s; }
.crumbs a:hover { color: var(--brand-strong); }
.crumbs [aria-current="page"] { color: var(--brand-strong); font-weight: 700; }
.te-page-head .te-page-head__kicker { margin-bottom: 0.7rem; }
.te-page-title {
	margin: 0;
	font-size: var(--e-global-typography-th1page-font-size, clamp(2.4rem, 5vw, 3.8rem));
	font-weight: 800;
	line-height: 1.03;
	letter-spacing: -0.03em;
	color: var(--ink);
	text-wrap: balance;
}
/* Funktionsseiten (Warenkorb, Kasse, Konto): etwas kleinerer Titel, damit der Inhalt früher beginnt */
:is(.te-wc--cart, .te-wc--checkout, .te-wc--thankyou, .te-wc--account) .te-page-title { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.te-page-head .te-page-intro { margin-top: 0.9rem; }
.te-page-head .te-page-intro p { margin: 0; }
/* Einleitung nur für Gäste auf der Login-Seite */
:is(.te-wc-konto, .te-wc-endpoint) .te-intro-gast { display: none; }

/* Bestellschritte Warenkorb → Kasse → Bestätigung */
.te-page-head__steps { margin-top: clamp(1.1rem, 2.2vw, 1.5rem); }
.te-steps-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.te-steps-buy li { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.te-steps-buy li + li::before { content: ""; width: clamp(1.25rem, 4vw, 2.5rem); height: 1.5px; background: var(--line-2); border-radius: 2px; margin-right: 0.15rem; }
.te-steps-buy a { display: inline-flex; align-items: center; gap: 0.4rem; color: inherit; border-radius: var(--r-pill); }
.te-steps-buy__no {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	font-size: var(--text-xs); font-weight: 800; font-variant-numeric: tabular-nums;
	color: var(--muted); background: var(--surface); border: 1.5px solid var(--line-2);
}
.te-steps-buy__no svg { width: 14px; height: 14px; }
.te-steps-buy li.is-current { color: var(--ink); font-weight: 800; }
.te-steps-buy li.is-current .te-steps-buy__no { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.te-steps-buy li.is-done { color: var(--brand-strong); }
.te-steps-buy li.is-done .te-steps-buy__no { color: var(--brand-strong); background: var(--brand-soft); border-color: var(--brand-line); }
.te-steps-buy li.is-done + li::before { background: var(--brand-line); }
@media (hover: hover) { .te-steps-buy a:hover .te-steps-buy__label { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- Inhalt ---------- */
.e-con.te-shop-body { --gap: 0px; }
.te-wc-shortcode, .te-wc-shortcode .elementor-shortcode { width: 100%; }
.te-wc-shortcode { color: var(--ink-2); font-size: var(--text-base); }
.te-wc-shortcode .woocommerce { width: 100%; }
.te-wc-shortcode :is(h2, h3) { color: var(--ink); letter-spacing: -0.015em; }
.te-wc-shortcode a:not(.button) { color: var(--brand-strong); }
@media (hover: hover) { .te-wc-shortcode a:not(.button):hover { color: var(--brand); } }
.te-wc-shortcode .clear { clear: both; }
.te-wc-shortcode .col2-set::before, .te-wc-shortcode .col2-set::after,
/* Clearfix-Pseudoelemente von WooCommerce wären in Grid-Containern eigene Rasterzellen */
.te-wc-shortcode :is(.woocommerce, form.checkout, .woocommerce-cart-form, .woocommerce-MyAccount-content, .woocommerce-Addresses, .woocommerce-customer-details, .addresses)::before,
.te-wc-shortcode :is(.woocommerce, form.checkout, .woocommerce-cart-form, .woocommerce-MyAccount-content, .woocommerce-Addresses, .woocommerce-customer-details, .addresses)::after { content: none !important; display: none !important; }

/* Grundformen: Überschriften, Hervorhebungen, Tabellen (Shiptastic, eu-owb u. a. ohne eigene Regeln) */
.te-wc-shortcode h2 { margin: 0 0 0.85rem; font-size: var(--e-global-typography-th3l-font-size, clamp(1.2rem, 2vw, 1.5rem)); font-weight: 800; line-height: 1.15; }
.te-wc-shortcode mark { padding: 0.1em 0.5em; border-radius: var(--r-pill); background: var(--mist); color: var(--ink); font-weight: 700; }
.te-wc-shortcode mark.order-status { background: var(--brand-soft); color: var(--brand-strong); }
.te-wc-shortcode.te-wc-shortcode table.shop_table {
	width: 100%; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface);
}
.te-wc-shortcode.te-wc-shortcode table.shop_table :is(th, td) { padding: 0.75rem 0.9rem; border: 0; border-top: 1px solid var(--line); font-size: var(--text-sm); text-align: left; vertical-align: middle; background: none; }
.te-wc-shortcode.te-wc-shortcode table.shop_table thead th { border-top: 0; background: var(--bg-2); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.te-wc-shortcode.te-wc-shortcode table.shop_table tbody tr:first-child :is(th, td) { border-top: 0; }
.te-wc-shortcode.te-wc-shortcode table.shop_table thead + tbody tr:first-child :is(th, td) { border-top: 1px solid var(--line); }

/* Gemeinsame Karte */
.te-card-x,
.te-wc-shortcode :is(.cart_totals, .woocommerce-MyAccount-navigation, .woocommerce-Address, .woocommerce-order-details, .woocommerce-customer-details > .addresses > .col-1, .woocommerce-customer-details > .addresses > .col-2) {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

/* =========================================================
   Formularfelder – ein System für alle Formulare
   (WooCommerce, Germanized, Shiptastic, eu-owb, CPS-Anzeige)
   ========================================================= */
.te-wc-shortcode label,
.te-wc-shortcode .form-row > label {
	display: block;
	margin: 0 0 0.4rem;
	font-size: var(--text-sm);
	font-weight: 700;
	line-height: 1.4;
	color: var(--ink);
}
.te-wc-shortcode .required { color: var(--brand-strong); font-weight: 700; text-decoration: none; border: 0; }
.te-wc-shortcode .optional { font-size: var(--text-xs); font-weight: 600; color: var(--muted); }
.te-wc-shortcode .form-row { margin: 0 0 1rem; padding: 0; }
.te-wc-shortcode .form-row .woocommerce-input-wrapper { display: block; }
.te-wc-shortcode .form-row .description,
.te-wc-shortcode .woocommerce-input-wrapper .description,
.te-wc-shortcode .form-row em {
	display: block; margin-top: 0.4rem; padding: 0; font-style: normal;
	font-size: var(--text-xs); line-height: 1.5; color: var(--muted); background: none; border: 0;
}
.te-wc-shortcode .woocommerce-input-wrapper .description::before { content: none; }
.te-wc-shortcode .woocommerce-input-wrapper .description { position: static !important; }

.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], input.input-text, textarea, select) {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0.7rem 0.95rem;
	font-family: inherit;
	font-size: var(--text-base);
	font-weight: 400;
	line-height: 1.4;
	color: var(--ink);
	background-color: var(--bg);
	border: 1.5px solid var(--line-2);
	border-radius: var(--r-sm);
	box-shadow: none;
	outline: none;
	transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
	-webkit-appearance: none;
	appearance: none;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode select {
	padding-right: 2.6rem; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 16px;
}
.te-wc-shortcode :is(input, textarea)::placeholder { color: oklch(0.65 0.02 262); opacity: 1; }
@media (hover: hover) {
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input.input-text, textarea, select):hover:not(:disabled):not(:focus) { border-color: color-mix(in oklch, var(--brand) 45%, var(--line-2)); }
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], input.input-text, textarea, select):focus {
	border-color: var(--brand);
	background-color: var(--surface);
	box-shadow: 0 0 0 4px var(--brand-soft);
	outline: none;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input, textarea, select):disabled,
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input, textarea)[readonly] { color: var(--muted); background-color: var(--surface-2); cursor: not-allowed; }

/* Fehler- und Erfolgszustand (WooCommerce setzt .woocommerce-invalid / .woocommerce-validated an .form-row) */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-invalid :is(input.input-text, input[type="email"], input[type="tel"], input[type="password"], textarea, select, .select2-selection),
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input, textarea, select)[aria-invalid="true"] {
	border-color: var(--caution-deep);
	box-shadow: 0 0 0 4px var(--caution-soft);
}
.te-wc-shortcode .woocommerce-invalid > label { color: var(--te-err-ink, oklch(0.42 0.09 58)); }
.te-wc-shortcode .woocommerce-invalid label .required { color: var(--caution-deep); }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-validated:not(.woocommerce-invalid) :is(input.input-text, input[type="email"], input[type="tel"]):not(:placeholder-shown):not(:focus) { border-color: oklch(0.62 0.13 155 / 0.6); }
.te-wc-shortcode .woocommerce-validated:not(.woocommerce-invalid) .select2-selection { border-color: var(--line-2); }
.te-wc-shortcode :is(.checkout-inline-error-message, .woocommerce-input-wrapper .woocommerce-error, .form-row .te-field-err) {
	display: flex; align-items: flex-start; gap: 0.4rem;
	margin: 0.45rem 0 0; padding: 0; list-style: none;
	font-size: var(--text-xs); font-weight: 700; line-height: 1.45;
	color: var(--te-err-ink, oklch(0.42 0.09 58));
	background: none; border: 0;
}
.te-wc-shortcode .checkout-inline-error-message::before {
	content: ""; flex: none; width: 14px; height: 14px; margin-top: 0.1rem; border-radius: 50%;
	background: var(--caution-deep) 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.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 17v.1'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Checkbox und Radio (eigene Optik, nativ bedienbar) */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="checkbox"], input[type="radio"]) {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	display: inline-block;
	width: 22px; height: 22px; min-height: 0;
	margin: 0.05rem 0 0; padding: 0;
	vertical-align: top;
	background: var(--bg) center / 14px no-repeat;
	border: 1.5px solid var(--line-2);
	border-radius: 7px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode input[type="radio"] { border-radius: 50%; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode input[type="checkbox"]:checked {
	background-color: var(--brand); border-color: var(--brand);
	background-image: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode input[type="radio"]:checked { border-color: var(--brand); background: var(--surface); box-shadow: inset 0 0 0 5px var(--brand); }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="checkbox"], input[type="radio"]):focus { outline: none; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode label:is(.checkbox, .woocommerce-form__label-for-checkbox) > input[type="checkbox"],
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .form-row label:has(> input[type="checkbox"]) > input[type="checkbox"] { position: absolute; left: 0; top: 0; margin: 0; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="checkbox"], input[type="radio"]):focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) { .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(input[type="checkbox"], input[type="radio"]):not(:checked):hover { border-color: var(--brand); } }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-invalid input[type="checkbox"] { border-color: var(--caution-deep); box-shadow: 0 0 0 4px var(--caution-soft); }
/* Beschriftung neben Checkbox/Radio: Text ist die Beschriftung (Gehirn: Akzeptanz ohne Extra-Überschrift) */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(label.checkbox, .woocommerce-form__label-for-checkbox, label.woocommerce-form__label-for-checkbox, .form-row label:has(> input[type="checkbox"])) {
	position: relative; display: block !important; padding-left: 2.15rem; min-height: 24px;
	margin: 0; font-size: var(--text-sm); font-weight: 500; line-height: 1.5; color: var(--ink-2); cursor: pointer;
}
.te-wc-shortcode :is(label.checkbox, .woocommerce-form__label-for-checkbox) a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.te-wc-shortcode :is(label.checkbox, .woocommerce-form__label-for-checkbox) abbr.required { text-decoration: none; margin-left: 0.15rem; }

/* Passwort anzeigen (WooCommerce .show-password-input) */
.te-wc-shortcode .password-input { position: relative; display: block; width: 100%; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .password-input input { padding-right: 3.2rem; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .show-password-input {
	position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; min-height: 0; padding: 0; margin: 0;
	color: var(--muted); background: transparent; background-image: none;
	border: 0; border-radius: 8px; box-shadow: none; font-size: 0;
}
.te-wc-shortcode .show-password-input::before, .te-wc-shortcode .show-password-input::after { content: none; }
.te-wc-shortcode .show-password-input::before {
	content: ""; display: block; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: url("../icons/te24-auge.svg") center / contain no-repeat; mask: url("../icons/te24-auge.svg") center / contain no-repeat;
}
.te-wc-shortcode .show-password-input.display-password::before { -webkit-mask-image: url("../icons/te24-auge-zu.svg"); mask-image: url("../icons/te24-auge-zu.svg"); }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .show-password-input:is(:hover, :focus) { background: transparent; color: var(--muted); }
@media (hover: hover) { .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .show-password-input:hover { color: var(--brand-strong); background: var(--brand-soft); } }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .show-password-input:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 0; color: var(--brand-strong); }

/* Passwortstärke */
.te-wc-shortcode .woocommerce-password-strength {
	margin-top: 0.5rem; padding: 0.45rem 0.75rem; border-radius: var(--r-sm);
	font-size: var(--text-xs); font-weight: 700; text-align: left; border: 1px solid transparent;
}
.te-wc-shortcode .woocommerce-password-strength.short,
.te-wc-shortcode .woocommerce-password-strength.bad { background: var(--caution-soft); border-color: var(--caution-line); color: oklch(0.42 0.09 58); }
.te-wc-shortcode .woocommerce-password-strength.good { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-strong); }
.te-wc-shortcode .woocommerce-password-strength.strong { background: oklch(0.62 0.13 155 / 0.10); border-color: oklch(0.62 0.13 155 / 0.35); color: oklch(0.38 0.1 155); }
.te-wc-shortcode .woocommerce-password-hint { display: block; margin-top: 0.4rem; font-size: var(--text-xs); color: var(--muted); line-height: 1.5; }

/* selectWoo / select2 (Land in Kasse und Adressen) */
.te-wc-page .select2-container { width: 100% !important; }
.te-wc-page .select2-container--default .select2-selection--single {
	height: auto; min-height: 48px;
	display: flex; align-items: center;
	padding: 0.55rem 2.6rem 0.55rem 0.95rem;
	background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.85rem center / 16px no-repeat;
	border: 1.5px solid var(--line-2);
	border-radius: var(--r-sm);
	transition: border-color 0.18s, box-shadow 0.18s;
}
.te-wc-page .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--ink); font-size: var(--text-base); }
.te-wc-page .select2-container--default .select2-selection--single .select2-selection__arrow { display: none; }
.te-wc-page .select2-container--default.select2-container--focus .select2-selection--single,
.te-wc-page .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--brand); background-color: var(--surface); box-shadow: 0 0 0 4px var(--brand-soft); }
.te-wc-page .select2-dropdown { border: 1.5px solid var(--brand); border-radius: var(--r-sm); box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface); }
.te-wc-page .select2-container--open .select2-dropdown--below { margin-top: 4px; border-radius: var(--r-sm); }
.te-wc-page .select2-container--open .select2-dropdown--above { margin-top: -4px; border-radius: var(--r-sm); }
.te-wc-page .select2-search--dropdown { padding: 0.5rem; }
.te-wc-page .select2-container--default .select2-search--dropdown .select2-search__field { min-height: 40px; padding: 0.5rem 0.75rem; border: 1.5px solid var(--line-2); border-radius: 8px; font: inherit; }
.te-wc-page .select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--brand); outline: none; }
.te-wc-page .select2-results__option { padding: 0.55rem 0.85rem; font-size: var(--text-sm); }
.te-wc-page .select2-container--default .select2-results__option--highlighted[aria-selected],
.te-wc-page .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--brand-soft); color: var(--brand-strong); }
.te-wc-page .select2-container--default .select2-results__option[aria-selected="true"],
.te-wc-page .select2-container--default .select2-results__option[data-selected="true"] { background: var(--mist); color: var(--ink); font-weight: 700; }

/* Raster für Adressfelder: Vorname/Nachname nebeneinander, Rest volle Breite */
.te-wc-shortcode :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper, .woocommerce-account-fields .create-account) {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem;
}
.te-wc-shortcode :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper, .woocommerce-account-fields .create-account) > * { grid-column: 1 / -1; }
.te-wc-shortcode :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) > :is(.form-row-first, .form-row-last) { grid-column: auto; }
.te-wc-shortcode.te-wc-shortcode .form-row:is(.form-row-first, .form-row-last, .form-row-wide),
.te-wc-shortcode.te-wc-shortcode :is(.form-row-first, .form-row-last) { float: none; width: auto; }
.te-wc-shortcode .form-row-wide { clear: none; }
.te-wc-shortcode .hidden, .te-wc-shortcode .form-row.hidden { display: none !important; }
@media (max-width: 560px) {
	.te-wc-shortcode :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper) > :is(.form-row-first, .form-row-last) { grid-column: 1 / -1; }
}

/* =========================================================
   Buttons – Primär (Marke) und Sekundär (weiß, Linie)
   Kit-Hover (Verlauf/Fläche) und Theme-:focus neutralisiert, Akzent nur bei echtem Zeiger.
   ========================================================= */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button, button[type="submit"], a.button, input.button, input[type="submit"]):not(.show-password-input):not(.te-qty__btn):not(.te-icon-btn) {
	--te-b-bg: var(--surface);
	--te-b-ink: var(--ink);
	--te-b-line: var(--line-2);
	--te-b-bg-h: var(--surface);
	--te-b-ink-h: var(--brand-strong);
	--te-b-line-h: var(--brand-line);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 46px;
	margin: 0;
	padding: 0.78em 1.35em;
	font-family: inherit; font-size: var(--text-base); font-weight: 700; line-height: 1.15; letter-spacing: -0.006em;
	text-align: center; text-decoration: none; text-transform: none; white-space: normal;
	color: var(--te-b-ink);
	background: var(--te-b-bg);
	background-image: none;
	border: 1px solid var(--te-b-line);
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-sm);
	cursor: pointer;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button, button[type="submit"], a.button, input.button, input[type="submit"]):not(.show-password-input):not(.te-qty__btn):not(.te-icon-btn):is(:hover, :focus, :active) {
	color: var(--te-b-ink); background: var(--te-b-bg); background-image: none; border-color: var(--te-b-line);
}
@media (hover: hover) {
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button, button[type="submit"], a.button, input.button, input[type="submit"]):not(.show-password-input):not(.te-qty__btn):not(.te-icon-btn):not(:disabled):hover {
		color: var(--te-b-ink-h); background: var(--te-b-bg-h); border-color: var(--te-b-line-h); box-shadow: var(--shadow-md); transform: translateY(-1px);
	}
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button, button[type="submit"], a.button, input.button, input[type="submit"]):focus-visible {
	outline: 2.5px solid var(--brand); outline-offset: 3px;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button, button[type="submit"]):is(:disabled, .disabled, [aria-disabled="true"]) {
	opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none;
}

/* Primär */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button.alt, .checkout-button, #place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit, button[name="save_address"], button[name="save_account_details"], button[name="track"], .woocommerce-form-return_request__submit, .woocommerce-ResetPassword .woocommerce-Button, .te-btn-primary, .woocommerce-form-track-order button[type="submit"], .woocommerce-form-coupon button[name="apply_coupon"]) {
	--te-b-bg: var(--brand);
	--te-b-ink: var(--brand-ink);
	--te-b-line: var(--brand);
	--te-b-bg-h: var(--brand-strong);
	--te-b-ink-h: var(--brand-ink);
	--te-b-line-h: var(--brand-strong);
	box-shadow: var(--shadow-brand);
}
@media (hover: hover) {
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.button.alt, .checkout-button, #place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit, button[name="save_address"], button[name="save_account_details"], button[name="track"], .woocommerce-form-return_request__submit, .woocommerce-ResetPassword .woocommerce-Button, .te-btn-primary, .woocommerce-form-track-order button[type="submit"]):not(:disabled):hover {
		box-shadow: 0 14px 32px color-mix(in oklch, var(--brand) 40%, transparent);
	}
}
.te-wc-shortcode .button svg { width: 1.1em; height: 1.1em; }
/* Großer Abschluss-Button */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.checkout-button, #place_order) { width: 100%; min-height: 56px; font-size: var(--text-md); padding: 1em 1.5em; }

/* =========================================================
   Warenkorb
   ========================================================= */
.te-wc--cart .te-wc-shortcode .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
}
.te-wc--cart .te-wc-shortcode .woocommerce > :is(.woocommerce-notices-wrapper, .te-empty, .wc-empty-cart-message, .return-to-shop, .cart-empty) { grid-column: 1 / -1; }
.te-wc--cart .te-wc-shortcode .woocommerce-notices-wrapper { margin: 0; }
.te-wc--cart .te-wc-shortcode .woocommerce-cart-form { grid-column: 1; min-width: 0; margin: 0; }
.te-wc--cart .te-wc-shortcode .cart-collaterals { grid-column: 2; width: auto; position: sticky; top: var(--te-sticky-top, calc(var(--te-header-h, 76px) + 1.25rem)); }
.te-wc--cart .te-wc-shortcode .cart-collaterals .cart_totals { float: none; width: auto; }
.te-wc--cart .te-wc-shortcode .cart-collaterals .cross-sells { display: none; }

/* Positionen als Karten */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.shop_table.cart { display: block; overflow: visible; width: 100%; margin: 0; border: 0; border-radius: 0; background: none; }
.te-wc-shortcode table.shop_table.cart thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.te-wc-shortcode table.shop_table.cart tbody { display: grid; gap: 0.85rem; }
.te-wc-shortcode table.shop_table.cart tr.cart_item {
	position: relative;
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto minmax(6.5rem, auto);
	grid-template-areas:
		"thumb name name remove"
		"thumb price qty subtotal";
	column-gap: 1.1rem;
	row-gap: 0.85rem;
	align-items: center;
	padding: clamp(0.9rem, 2vw, 1.15rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.shop_table.cart tr.cart_item td {
	display: block; padding: 0; border: 0; background: none; text-align: left; min-width: 0;
}
.te-wc-shortcode table.shop_table.cart tr.cart_item td::before { content: none !important; display: none; }
.te-wc-shortcode table.shop_table.cart td.product-thumbnail { grid-area: thumb; align-self: start; }
.te-wc-shortcode table.shop_table.cart td.product-thumbnail a { display: block; }
.te-wc-shortcode table.shop_table.cart td.product-thumbnail img {
	width: 92px; height: 92px; max-width: none; object-fit: cover; border-radius: var(--r-md);
	background: linear-gradient(160deg, oklch(0.22 0.02 260), oklch(0.12 0.015 262));
}
.te-wc-shortcode table.shop_table.cart td.product-name { grid-area: name; align-self: start; padding-right: 0.5rem; }
.te-wc-shortcode table.shop_table.cart td.product-name > a { font-size: var(--text-md); font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
@media (hover: hover) { .te-wc-shortcode table.shop_table.cart td.product-name > a:hover { color: var(--brand-strong); } }
.te-wc-shortcode table.shop_table.cart td.product-name .wc-gzd-cart-info { display: inline; margin: 0; font-size: var(--text-xs); color: var(--muted); }
.te-wc-shortcode table.shop_table.cart td.product-name .wc-gzd-cart-info + .wc-gzd-cart-info::before { content: " · "; }
.te-wc-shortcode table.shop_table.cart td.product-name > a + .wc-gzd-cart-info { display: inline; }
.te-wc-shortcode table.shop_table.cart td.product-name > a::after { content: ""; display: block; height: 0.2rem; }
.te-wc-shortcode table.shop_table.cart td.product-name dl.variation { margin: 0.25rem 0 0; font-size: var(--text-xs); color: var(--muted); }

/* CPS-Lieferinfo je Position (te24-shop, Inline-Stile überstimmt) */
.te-wc-shortcode .cps-cart-shipping-info.cps-cart-shipping-info {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, auto));
	justify-content: start;
	gap: 0.35rem 1.25rem;
	margin: 0.75rem 0 0 !important;
	padding: 0.7rem 0.85rem !important;
	font-size: var(--text-xs) !important;
	line-height: 1.45;
	color: var(--ink-2);
	background: var(--mist) !important;
	border: 1px solid var(--mist-line);
	border-radius: var(--r-sm) !important;
}
.te-wc-shortcode .cps-cart-shipping-info > div { margin: 0 !important; display: block; min-width: 0; }
.te-wc-shortcode .cps-cart-shipping-info strong { display: block; margin-bottom: 0.1rem; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.te-wc-shortcode .cps-cart-shipping-info .cps-cart-date { color: var(--ink); font-weight: 700; }
.te-wc-shortcode .cps-cart-shipping-info :is(select, .cps-legacy-method) { margin-top: 0.3rem; }

.te-wc-shortcode table.shop_table.cart td.product-price { grid-area: price; font-size: var(--text-sm); color: var(--muted); line-height: 1.4; }
.te-wc-shortcode table.shop_table.cart td.product-price > .woocommerce-Price-amount { color: var(--ink-2); font-weight: 600; }
.te-wc-shortcode table.shop_table.cart td.product-price .unit-price { display: block; margin: 0; font-size: var(--text-xs); }
.te-wc-shortcode table.shop_table.cart td.product-quantity { grid-area: qty; justify-self: end; }
.te-wc-shortcode table.shop_table.cart td.product-subtotal { grid-area: subtotal; justify-self: end; text-align: right; font-size: var(--text-md); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.te-wc-shortcode table.shop_table.cart td.product-subtotal :is(.tax_label, small) { display: block; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc-shortcode table.shop_table.cart td.product-remove { grid-area: remove; align-self: start; justify-self: end; margin: -0.35rem -0.35rem 0 0; }
.te-wc-shortcode table.shop_table.cart a.remove {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	font-size: 0; color: var(--muted) !important; background: transparent; border: 0;
	transition: background-color 0.16s, color 0.16s;
}
.te-wc-shortcode table.shop_table.cart a.remove::before {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3Cpath d='M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12'/%3E%3Cpath d='M9 7V4.5A1.5 1.5 0 0 1 10.5 3h3A1.5 1.5 0 0 1 15 4.5V7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3Cpath d='M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12'/%3E%3Cpath d='M9 7V4.5A1.5 1.5 0 0 1 10.5 3h3A1.5 1.5 0 0 1 15 4.5V7'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) { .te-wc-shortcode table.shop_table.cart a.remove:hover { color: var(--caution-deep) !important; background: var(--caution-soft); } }
.te-wc-shortcode table.shop_table.cart a.remove:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 1px; }

/* Aktionszeile: Gutschein (einklappbar) + Aktualisieren */
.te-wc-shortcode table.shop_table.cart tr:not(.cart_item) { display: block; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.shop_table.cart td.actions {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
	padding: 0.25rem 0 0; border: 0; background: none;
}
.te-wc-shortcode table.shop_table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; float: none; }
.te-wc-shortcode table.shop_table.cart td.actions .coupon[hidden] { display: none; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.shop_table.cart td.actions .coupon #coupon_code { width: 220px; min-height: 46px; }
.te-wc-shortcode table.shop_table.cart td.actions > button[name="update_cart"] { margin-left: auto; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-coupon-toggle {
	display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.4rem 0.2rem;
	font-size: var(--text-sm); font-weight: 700; color: var(--brand-strong);
	background: transparent; background-image: none; border: 0; border-radius: var(--r-sm); box-shadow: none;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-coupon-toggle:is(:hover, :focus) { background: transparent; color: var(--brand-strong); }
.te-wc-shortcode .te-coupon-toggle::before {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("../icons/te24-plus.svg") center / contain no-repeat; mask: url("../icons/te24-plus.svg") center / contain no-repeat;
	transition: transform 0.2s var(--ease);
}
.te-wc-shortcode .te-coupon-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
@media (hover: hover) { .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-coupon-toggle:hover { text-decoration: underline; text-underline-offset: 3px; } }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-coupon-toggle:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; }
/* Mit Mengen-Stepper aktualisiert sich der Warenkorb selbst; der Knopf bleibt für Tastatur/ohne JS erreichbar */
.te-js-cart .te-wc-shortcode button[name="update_cart"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.te-wc-shortcode .woocommerce-cart-form.processing { opacity: 0.6; }

/* Mengen-Stepper (Prototyp produkt.css .qty) */
.te-wc-shortcode .quantity { display: inline-flex; align-items: center; }
.te-wc-shortcode .quantity.te-qty {
	border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); padding: 0 3px;
	transition: border-color 0.18s, box-shadow 0.18s;
}
.te-wc-shortcode .quantity.te-qty:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .quantity.te-qty input.qty {
	width: 3ch; min-width: 2.6rem; min-height: 40px; padding: 0; text-align: center;
	font-weight: 800; font-size: var(--text-md); font-variant-numeric: tabular-nums;
	border: 0; background: transparent; box-shadow: none; -moz-appearance: textfield;
}
.te-wc-shortcode .quantity input.qty::-webkit-outer-spin-button,
.te-wc-shortcode .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-qty__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; min-height: 0; padding: 0; margin: 0;
	color: var(--ink); background: transparent; background-image: none;
	border: 0; border-radius: 50%; box-shadow: none; font-size: 0;
	transition: background-color 0.16s, color 0.16s;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-qty__btn:is(:hover, :focus) { background: transparent; color: var(--ink); }
@media (hover: hover) { .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-qty__btn:hover:not(:disabled) { background: var(--brand-soft); color: var(--brand-strong); } }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-qty__btn:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 0; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .te-qty__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.te-wc-shortcode .te-qty__btn::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--te-ico) center / contain no-repeat; mask: var(--te-ico) center / contain no-repeat; }
.te-wc-shortcode .te-qty__btn--minus { --te-ico: url("../icons/te24-minus.svg"); }
.te-wc-shortcode .te-qty__btn--plus { --te-ico: url("../icons/te24-plus.svg"); }

/* Summen-Karte */
.te-wc-shortcode .cart_totals { padding: clamp(1.25rem, 2.4vw, 1.6rem); }
.te-wc-shortcode .cart_totals > h2 { margin: 0 0 0.85rem; font-size: var(--e-global-typography-secondary-font-size, 1.16rem); font-weight: 800; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode :is(.cart_totals, .woocommerce-checkout-review-order) table.shop_table { overflow: visible; width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; background: none; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .cart_totals table.shop_table :is(th, td) {
	padding: 0.6rem 0; border: 0; border-top: 1px solid var(--line); background: none;
	font-size: var(--text-sm); vertical-align: top; line-height: 1.5;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .cart_totals table.shop_table tr:first-child :is(th, td) { border-top: 0; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .cart_totals table.shop_table th { width: 45%; font-weight: 600; color: var(--muted); text-align: left; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .cart_totals table.shop_table td { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.te-wc-shortcode .cart_totals table.shop_table td::before { content: none !important; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .cart_totals table.shop_table tr.order-total :is(th, td) { padding-top: 0.85rem; border-top: 1.5px solid var(--line-2); font-size: var(--text-md); font-weight: 800; color: var(--ink); }
.te-wc-shortcode .cart_totals table.shop_table tr.order-total td strong { font-size: 1.35rem; letter-spacing: -0.01em; }
.te-wc-shortcode :is(.cart_totals, .woocommerce-checkout-review-order) small.includes_tax { display: block; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc-shortcode :is(.cart_totals, .woocommerce-checkout-review-order) tr:is(.order-tax, .tax-rate) :is(th, td) { padding-top: 0.15rem; border-top: 0; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
/* Versand: Paket-Zeilen und Rechner. Steht die CPS-Versandgebühr schon in den Summen, ist der Rechner ohne Nutzen
   (die Preise je Position stehen fest) – Zeile ausblenden, berechnet wird an der Kasse mit der Adresse. */
.te-wc-shortcode .cart_totals table:has(tr.fee) tr:is(.shipping, .woocommerce-shipping-totals):has(.woocommerce-shipping-calculator):not(:has(#shipping_method)) { display: none; }
.te-wc-shortcode .cart_totals .woocommerce-shipping-totals td { text-align: right; }
.te-wc-shortcode .cart_totals #shipping_method { margin: 0; padding: 0; list-style: none; }
.te-wc-shortcode .woocommerce-shipping-destination { margin: 0.25rem 0 0; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc-shortcode .woocommerce-shipping-calculator { margin: 0.25rem 0 0; }
.te-wc-shortcode .shipping-calculator-button { font-size: var(--text-xs); font-weight: 700; color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.te-wc-shortcode .shipping-calculator-button::after { content: none; }
.te-wc-shortcode .shipping-calculator-form { margin-top: 0.75rem; text-align: left; }
.te-wc-shortcode .shipping-calculator-form .form-row { margin-bottom: 0.6rem; }
.te-wc-shortcode .woocommerce-shipping-methods li { margin: 0; text-align: right; }
.te-wc-shortcode .woocommerce-shipping-totals small,
.te-wc-shortcode .woocommerce-shipping-contents { display: block; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc-shortcode .wc-proceed-to-checkout { padding: 1.1rem 0 0; }
.te-wc-shortcode .wc-proceed-to-checkout .checkout-button { margin: 0; }
.te-secure { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin: 0.85rem 0 0; font-size: var(--text-xs); font-weight: 600; color: var(--muted); text-align: center; }
.te-secure svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.te-cart-note { margin: 0 0 0.9rem; padding: 0.65rem 0.8rem; font-size: var(--text-xs); line-height: 1.5; color: var(--ink-2); background: var(--mist); border-radius: var(--r-sm); }
/* Germanized-Hinweise unter den Summen */
.te-wc-shortcode :is(.wc-gzd-cart-info, .wc-gzd-additional-info, .small-business-info) { font-size: var(--text-xs); color: var(--muted); }

/* Leerer Warenkorb */
.te-empty {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem;
	max-width: 560px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md);
}
.te-empty__ico {
	display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 0.5rem;
	border-radius: var(--r-lg); color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-line);
}
.te-empty__ico svg { width: 34px; height: 34px; }
.te-wc-shortcode .te-empty__title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; line-height: 1.15; }
.te-empty__text { margin: 0 0 0.75rem; max-width: 42ch; color: var(--muted); }
.te-wc--cart .te-wc-shortcode .return-to-shop { display: none; }

/* =========================================================
   Kasse
   ========================================================= */
.te-wc--checkout .te-wc-shortcode .woocommerce > .woocommerce-notices-wrapper,
.te-wc--checkout .te-wc-shortcode .woocommerce-form-coupon-toggle,
.te-wc--checkout .te-wc-shortcode .woocommerce-form-login-toggle { max-width: none; }
.te-wc--checkout .te-wc-shortcode :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info { margin-bottom: 0.85rem; }
.te-wc--checkout .te-wc-shortcode :is(form.checkout_coupon, form.woocommerce-form-login) {
	margin: 0 0 1.25rem; padding: clamp(1.1rem, 2.4vw, 1.5rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.te-wc--checkout .te-wc-shortcode form.checkout_coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem; align-items: end; max-width: 560px; }
.te-wc--checkout .te-wc-shortcode form.checkout_coupon > p:not(.form-row) { grid-column: 1 / -1; margin: 0; font-size: var(--text-sm); }
.te-wc--checkout .te-wc-shortcode form.checkout_coupon .form-row { margin: 0; width: auto; float: none; }
.te-wc--checkout .te-wc-shortcode form.checkout_coupon .clear { display: none; }
.te-wc--checkout .te-wc-shortcode form.woocommerce-form-login { max-width: 560px; }
.te-wc--checkout .te-wc-shortcode form.woocommerce-form-login > p:first-child { margin-top: 0; font-size: var(--text-sm); }

.te-wc--checkout .te-wc-shortcode form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
}
.te-wc--checkout .te-wc-shortcode form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.te-wc--checkout .te-wc-shortcode form.checkout:has(> .woocommerce-NoticeGroup) #customer_details { grid-row: 2 / span 3; }
.te-wc--checkout .te-wc-shortcode form.checkout:has(> .woocommerce-NoticeGroup) .te-review { grid-row: 2; }
.te-wc--checkout .te-wc-shortcode form.checkout > .woocommerce-NoticeGroup .woocommerce-error { margin: 0; }
.te-wc--checkout .te-wc-shortcode #customer_details { grid-column: 1; grid-row: 1 / span 3; display: grid; gap: 1.25rem; width: auto; margin: 0; }
.te-wc--checkout .te-wc-shortcode #customer_details > :is(.col-1, .col-2) { float: none; width: auto; max-width: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.te-wc--checkout .te-wc-shortcode :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, .woocommerce-account-fields) {
	padding: clamp(1.25rem, 2.6vw, 1.75rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.te-wc--checkout .te-wc-shortcode .woocommerce-account-fields:not(:has(input)) { display: none; }
.te-wc--checkout .te-wc-shortcode .woocommerce-account-fields > p.create-account { margin: 0; }
.te-wc--checkout .te-wc-shortcode .woocommerce-account-fields div.create-account { margin-top: 1rem; }
.te-wc--checkout .te-wc-shortcode .woocommerce-shipping-fields:not(:has(.shipping_address)) { display: none; }
.te-wc--checkout .te-wc-shortcode :is(.woocommerce-billing-fields, .woocommerce-additional-fields) > h3,
.te-wc--checkout .te-wc-shortcode #order_review_heading {
	margin: 0 0 1.1rem; font-size: var(--e-global-typography-th3l-font-size, clamp(1.2rem, 2vw, 1.5rem)); font-weight: 800; line-height: 1.15;
}
.te-wc--checkout .te-wc-shortcode #ship-to-different-address { margin: 0; font-size: var(--text-base); }
.te-wc--checkout .te-wc-shortcode #ship-to-different-address label { font-size: var(--text-base); font-weight: 700; color: var(--ink); }
.te-wc--checkout .te-wc-shortcode .shipping_address { margin-top: 1.25rem; }
.te-wc--checkout .te-wc-shortcode .woocommerce-additional-fields .form-row:last-child { margin-bottom: 0; }
.te-wc--checkout .te-wc-shortcode .wc-gzd-edit-data-notice {
	margin: 0 0 1rem; padding: 0.7rem 0.85rem; font-size: var(--text-xs); line-height: 1.5; color: var(--ink-2);
	background: var(--mist); border: 0; border-radius: var(--r-sm);
}
.te-wc--checkout .te-wc-shortcode .woocommerce-billing-fields__field-wrapper > .form-row:last-child,
.te-wc--checkout .te-wc-shortcode .woocommerce-shipping-fields__field-wrapper > .form-row:last-child { margin-bottom: 0; }

/* Rechte Spalte: Bestellübersicht als Karte */
.te-wc--checkout .te-wc-shortcode .te-review {
	grid-column: 2; grid-row: 1;
	position: sticky; top: var(--te-sticky-top, calc(var(--te-header-h, 76px) + 1.25rem));
	padding: clamp(1.25rem, 2.6vw, 1.6rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.te-wc--checkout .te-wc-shortcode form.checkout > :is(#order_review_heading, #order_review) { grid-column: 2; }
.te-wc--checkout .te-wc-shortcode #order_review { display: flex; flex-direction: column; float: none; width: auto; }
.te-wc--checkout .te-wc-shortcode #order_review #order_review_heading { order: 0; }
.te-wc--checkout .te-wc-shortcode #order_review > h3 { margin: 0 0 0.85rem; font-size: var(--e-global-typography-secondary-font-size, 1.16rem); font-weight: 800; }
.te-wc--checkout .te-wc-shortcode #order_review #order_review_heading { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--e-global-typography-secondary-font-size, 1.16rem); }

/* Zahlungsarten als auswählbare Karten */
.te-wc--checkout .te-wc-shortcode #payment { background: none; border-radius: 0; }
.te-wc--checkout .te-wc-shortcode #payment ul.payment_methods { display: grid; gap: 0.6rem; margin: 0; padding: 0; border: 0; list-style: none; }
.te-wc--checkout .te-wc-shortcode #payment ul.payment_methods::before, .te-wc--checkout .te-wc-shortcode #payment ul.payment_methods::after { content: none; }
.te-wc--checkout .te-wc-shortcode #payment li.wc_payment_method {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.75rem;
	margin: 0; padding: 0.85rem 1rem;
	background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--r-md);
	transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
	cursor: pointer;
}
.te-wc--checkout .te-wc-shortcode #payment li.wc_payment_method:has(> input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.te-wc--checkout .te-wc-shortcode #payment li.wc_payment_method:has(> input:focus-visible) { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.te-wc--checkout .te-wc-shortcode #payment li.wc_payment_method > label { margin: 0; font-size: var(--text-base); font-weight: 700; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.te-wc--checkout .te-wc-shortcode #payment li.wc_payment_method > label::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.te-wc--checkout .te-wc-shortcode #payment li.wc_payment_method > label img { max-height: 24px; width: auto; margin: 0; }
.te-wc--checkout .te-wc-shortcode #payment .payment_box {
	grid-column: 1 / -1; position: relative; z-index: 1;
	margin: 0.75rem 0 0; padding: 0.75rem 0.85rem;
	font-size: var(--text-sm); line-height: 1.5; color: var(--ink-2);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: auto;
}
.te-wc--checkout .te-wc-shortcode #payment .payment_box::before { content: none; display: none; }
.te-wc--checkout .te-wc-shortcode #payment .payment_box p { margin: 0; }
.te-wc--checkout .te-wc-shortcode #payment .place-order:not(.wc-gzd-place-order) { margin: 0; padding: 0; }
.te-wc--checkout .te-wc-shortcode #payment .woocommerce-notice,
.te-wc--checkout .te-wc-shortcode #payment .woocommerce-info { margin: 0; }

/* Rechtstexte (Germanized) */
.te-wc--checkout .te-wc-shortcode .wc-gzd-checkbox-placeholder:empty { display: none; }
.te-wc--checkout .te-wc-shortcode .wc-gzd-checkbox-placeholder .form-row { margin: 1rem 0 0; }
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode .wc-gzd-checkbox-placeholder-legal .form-row { padding: 0.85rem 0.95rem !important; background: var(--mist); border-radius: var(--r-sm); }
.te-wc--checkout .te-wc-shortcode .woocommerce-privacy-policy-text,
.te-wc--checkout .te-wc-shortcode .woocommerce-terms-and-conditions-wrapper { font-size: var(--text-xs); line-height: 1.55; color: var(--muted); }

/* Positionen in der Übersicht */
.te-wc--checkout .te-wc-shortcode table.woocommerce-checkout-review-order-table { margin-top: 1.25rem; }
.te-wc--checkout .te-wc-shortcode table.woocommerce-checkout-review-order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-checkout-review-order-table :is(th, td) {
	padding: 0.65rem 0; border: 0; border-top: 1px solid var(--line); background: none; font-size: var(--text-sm); vertical-align: top; line-height: 1.5;
}
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: 0; }
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-checkout-review-order-table td.product-total,
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-checkout-review-order-table tfoot th { text-align: left; font-weight: 600; color: var(--muted); }
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-checkout-review-order-table tr.order-total :is(th, td) { padding-top: 0.85rem; border-top: 1.5px solid var(--line-2); font-size: var(--text-md); font-weight: 800; color: var(--ink); }
.te-wc--checkout .te-wc-shortcode table.woocommerce-checkout-review-order-table tr.order-total td strong { font-size: 1.3rem; }
.te-wc--checkout .te-wc-shortcode table.woocommerce-checkout-review-order-table td.product-name { color: var(--ink); font-weight: 700; padding-right: 0.75rem; }
.te-wc--checkout .te-wc-shortcode td.product-name { position: relative; padding-left: 74px !important; min-height: 72px; }
.te-wc--checkout .te-wc-shortcode.te-wc-shortcode .wc-gzd-cart-item-name-wrapper { display: block !important; }
.te-wc--checkout .te-wc-shortcode .wc-gzd-cart-item-thumbnail { position: absolute; left: 0; top: 0.65rem; width: 56px; height: 56px; margin: 0; }
.te-wc--checkout .te-wc-shortcode .wc-gzd-cart-item-thumbnail img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); margin: 0; max-width: none; background: linear-gradient(160deg, oklch(0.22 0.02 260), oklch(0.12 0.015 262)); }
/* Menge als Plakette am Bild */
.te-wc--checkout .te-wc-shortcode td.product-name .product-quantity {
	position: absolute; left: 42px; top: calc(0.65rem - 7px); z-index: 1;
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0.6875rem; font-weight: 800; color: #fff; background: var(--navy); box-shadow: 0 0 0 2px var(--surface);
}
.te-wc--checkout .te-wc-shortcode td.product-name :is(.wc-gzd-cart-info, .wc-gzd-item-desc, p) { margin: 0.2rem 0 0; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc--checkout .te-wc-shortcode td.product-total .unit-price { display: block; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc--checkout .te-wc-shortcode .cps-checkout-shipping {
	display: block; margin-top: 0.4rem; padding: 0.45rem 0.6rem; font-size: var(--text-xs) !important; font-weight: 500; line-height: 1.45; color: var(--ink-2);
	background: var(--mist); border-radius: 8px;
}
.te-wc--checkout .te-wc-shortcode .cps-checkout-shipping * { font-size: inherit !important; color: inherit !important; margin: 0 !important; }
.te-wc--checkout .te-wc-shortcode .cps-checkout-shipping strong { font-weight: 800; color: var(--ink) !important; }
.te-wc--checkout .te-wc-shortcode tr.wc-gzd-cart-edit-order td,
.te-wc--checkout .te-wc-shortcode .wc-gzd-cart-edit-order { text-align: left; }
.te-wc--checkout .te-wc-shortcode .wc-gzd-cart-edit-order .button,
.te-wc--checkout .te-wc-shortcode a.wc-gzd-edit-order { min-height: 38px; padding: 0.5em 1em; font-size: var(--text-sm); box-shadow: none; }

/* Kaufen-Button (Germanized: direkt unter der Übersicht) */
.te-wc--checkout .te-wc-shortcode .wc-gzd-order-submit { margin-top: 1.1rem; }
.te-wc--checkout .te-wc-shortcode .wc-gzd-order-submit .form-row { margin: 0; padding: 0; }
.te-wc--checkout .te-wc-shortcode .blockUI.blockOverlay { border-radius: var(--r-lg); background: var(--surface) !important; opacity: 0.6 !important; }

/* Shiptastic-Abholstation-Dialog */
.te-wc-page .wc-stc-modal-content { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* =========================================================
   Danke-Seite
   ========================================================= */
.te-wc--thankyou .te-wc-shortcode .woocommerce-order { display: grid; gap: 1.25rem; }
.te-wc--thankyou .te-wc-shortcode .woocommerce-thankyou-order-received {
	position: relative; display: grid; gap: 0.35rem;
	margin: 0; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem) calc(clamp(1.25rem, 3vw, 1.75rem) + 64px);
	background: oklch(0.62 0.13 155 / 0.10); border: 1px solid oklch(0.62 0.13 155 / 0.35); border-radius: var(--r-lg);
	color: var(--ink-2);
}
.te-wc--thankyou .te-wc-shortcode .woocommerce-thankyou-order-received::before {
	content: ""; position: absolute; left: clamp(1.25rem, 3vw, 1.75rem); top: clamp(1.25rem, 3vw, 1.75rem);
	width: 48px; height: 48px; border-radius: 50%;
	background: oklch(0.6 0.13 155) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 24px no-repeat;
	box-shadow: 0 0 0 6px oklch(0.62 0.13 155 / 0.14);
}
.te-thanks__title { display: block; font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 800; line-height: 1.2; color: oklch(0.38 0.1 155); letter-spacing: -0.01em; }
.te-thanks__text { display: block; font-size: var(--text-sm); line-height: 1.55; }
.te-wc--thankyou .te-wc-shortcode ul.woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem;
	margin: 0; padding: 0; list-style: none;
}
.te-wc--thankyou .te-wc-shortcode ul.woocommerce-order-overview::before,
.te-wc--thankyou .te-wc-shortcode ul.woocommerce-order-overview::after { content: none; }
.te-wc--thankyou .te-wc-shortcode ul.woocommerce-order-overview li {
	float: none; margin: 0; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
	font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); line-height: 1.4;
}
.te-wc--thankyou .te-wc-shortcode ul.woocommerce-order-overview li strong { display: block; margin-top: 0.2rem; font-size: var(--text-base); letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 800; word-break: break-word; }
.te-wc--thankyou .te-wc-shortcode .woocommerce-order > p:not(.woocommerce-thankyou-order-received),
.te-wc--thankyou .te-wc-shortcode .woocommerce-order > .wc-gzd-order-info,
.te-wc--thankyou .te-wc-shortcode section.woocommerce-bacs-bank-details {
	margin: 0; padding: 0.95rem 1.1rem; font-size: var(--text-sm); background: var(--mist); border-radius: var(--r-md);
}

/* Bestelldetails (Danke-Seite, Konto „Bestellung ansehen“) */
.te-wc-shortcode .woocommerce-order-details { margin: 0; padding: clamp(1.25rem, 2.6vw, 1.6rem); }
.te-wc-shortcode .woocommerce-order-details__title,
.te-wc-shortcode .woocommerce-column__title,
.te-wc-shortcode .woocommerce-customer-details h2 { margin: 0 0 0.85rem; font-size: var(--e-global-typography-secondary-font-size, 1.16rem); font-weight: 800; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-table--order-details { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; background: none; overflow: visible; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-table--order-details :is(th, td) { padding: 0.75rem 0; border: 0; border-top: 1px solid var(--line); background: none; font-size: var(--text-sm); vertical-align: top; text-align: left; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-table--order-details thead th { border-top: 0; padding-top: 0; background: none; font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.te-wc-shortcode table.woocommerce-table--order-details :is(td.product-total, tfoot td, thead th.product-total) { text-align: right; font-variant-numeric: tabular-nums; }
.te-wc-shortcode table.woocommerce-table--order-details td.product-name { font-weight: 700; color: var(--ink); padding-right: 1rem; }
.te-wc-shortcode table.woocommerce-table--order-details td.product-name a { color: var(--ink); text-decoration: none; }
.te-wc-shortcode table.woocommerce-table--order-details tfoot th { font-weight: 600; color: var(--muted); }
.te-wc-shortcode table.woocommerce-table--order-details tfoot td { font-weight: 700; color: var(--ink); }
.te-wc-shortcode table.woocommerce-table--order-details tfoot tr:has(.te-order-total) :is(th, td) { font-size: var(--text-md); font-weight: 800; color: var(--ink); border-top: 1.5px solid var(--line-2); }
.te-wc-shortcode table.woocommerce-table--order-details tfoot tr:has(.te-order-total) td { font-size: 1.25rem; }
.te-wc-shortcode table.woocommerce-table--order-details tfoot tr:has(.te-order-tax) :is(th, td) { padding-top: 0; border-top: 0; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc-shortcode table.woocommerce-table--order-details tfoot td small { font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
/* CPS-Block je Position (te24-shop, Inline-Stile überstimmt) */
.te-wc-shortcode .cps-order-shipping.cps-order-shipping {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, max-content)); gap: 0.35rem 1.25rem;
	margin: 0.6rem 0 0 !important; padding: 0.65rem 0.8rem !important;
	font-size: var(--text-xs) !important; font-weight: 500; line-height: 1.45; color: var(--ink-2) !important;
	background: var(--mist) !important; border: 1px solid var(--mist-line); border-radius: var(--r-sm) !important;
}
.te-wc-shortcode .cps-order-shipping > div { margin: 0 !important; }
.te-wc-shortcode .cps-order-shipping strong { display: block; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
/* CPS-Daten je Position (Versandart, Versandkosten, Lieferdatum) als Lieferkasten */
.te-wc-shortcode ul.wc-item-meta {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, max-content)); gap: 0.35rem 1.25rem;
	margin: 0.6rem 0 0; padding: 0.65rem 0.8rem; list-style: none;
	font-size: var(--text-xs); font-weight: 500; line-height: 1.45; color: var(--ink-2);
	background: var(--mist); border: 1px solid var(--mist-line); border-radius: var(--r-sm);
}
.te-wc-shortcode ul.wc-item-meta li { display: flex; flex-direction: column; margin: 0; }
.te-wc-shortcode ul.wc-item-meta .wc-item-meta-label { float: none; margin: 0; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.te-wc-shortcode ul.wc-item-meta p { margin: 0; display: inline; }
.te-wc-shortcode table.woocommerce-table--order-details td.product-name :is(.wc-gzd-item-desc, .wc-gzd-cart-info, .delivery-time-info, .units-info) { display: block; margin: 0.2rem 0 0; font-size: var(--text-xs); font-weight: 500; color: var(--muted); }
.te-wc-shortcode .order-again { margin: 1rem 0 0; }

/* Adressen (Danke-Seite, Bestellung ansehen) */
.te-wc-shortcode .woocommerce-customer-details { margin: 0; }
.te-wc-shortcode .woocommerce-customer-details > .addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.te-wc-shortcode .woocommerce-customer-details > .addresses > :is(.col-1, .col-2) { float: none; width: auto; padding: clamp(1.1rem, 2.4vw, 1.4rem); }
.te-wc-shortcode .woocommerce-customer-details address {
	margin: 0; padding: 0; border: 0; font-style: normal; font-size: var(--text-sm); line-height: 1.6; color: var(--ink-2);
}
.te-wc-shortcode .woocommerce-customer-details address p { margin: 0.4rem 0 0; padding: 0; }
.te-wc-shortcode .woocommerce-customer-details address p::before { content: none; }
.te-wc-shortcode .woocommerce-customer-details > address { padding: clamp(1.1rem, 2.4vw, 1.4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* =========================================================
   Mein Konto
   ========================================================= */
/* Angemeldet: Navigation links, Inhalt rechts */
.te-wc-konto .te-wc-shortcode .woocommerce {
	display: grid;
	grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
}
.te-wc-konto .te-wc-shortcode .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.te-wc-shortcode .woocommerce-MyAccount-navigation {
	float: none; width: auto; padding: 0.5rem;
	position: sticky; top: calc(var(--te-header-h, 76px) + 1.25rem);
}
.te-wc-shortcode .woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.te-wc-shortcode .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.te-wc-shortcode .woocommerce-MyAccount-navigation li a {
	display: flex; align-items: center; gap: 0.75rem;
	min-height: 46px; padding: 0.6rem 0.85rem;
	font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); text-decoration: none;
	border-radius: var(--r-sm);
	transition: background-color 0.16s, color 0.16s;
}
.te-wc-shortcode .woocommerce-MyAccount-navigation li a::before {
	content: ""; flex: none; width: 20px; height: 20px; background: currentColor; opacity: 0.85;
	-webkit-mask: var(--te-ico, url("../icons/te24-pfeil-rechts.svg")) center / contain no-repeat;
	mask: var(--te-ico, url("../icons/te24-pfeil-rechts.svg")) center / contain no-repeat;
}
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--dashboard { --te-ico: url("../icons/te24-uebersicht.svg"); }
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--orders { --te-ico: url("../icons/te24-paket.svg"); }
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--edit-address { --te-ico: url("../icons/te24-standort.svg"); }
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--payment-methods { --te-ico: url("../icons/te24-karte.svg"); }
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--edit-account { --te-ico: url("../icons/te24-person.svg"); }
.te-wc-shortcode :is(.woocommerce-MyAccount-navigation-link--view-shipments, .woocommerce-MyAccount-navigation-link--view-return-shipments) { --te-ico: url("../icons/te24-ruecksendung.svg"); }
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--customer-logout { --te-ico: url("../icons/te24-abmelden.svg"); margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--line); }
@media (hover: hover) { .te-wc-shortcode .woocommerce-MyAccount-navigation li a:hover { background: var(--mist); color: var(--ink); } }
.te-wc-shortcode .woocommerce-MyAccount-navigation li.is-active a { background: var(--brand-soft); color: var(--brand-strong); font-weight: 800; }
.te-wc-shortcode .woocommerce-MyAccount-navigation li.is-active a::before { opacity: 1; }
.te-wc-shortcode .woocommerce-MyAccount-navigation li a:focus-visible { outline: 2.5px solid var(--brand); outline-offset: -2px; }
.te-wc-shortcode .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }

.te-wc-shortcode .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; display: grid; gap: 1.25rem; }
.te-wc-shortcode .woocommerce-MyAccount-content > * { margin-top: 0; margin-bottom: 0; }
.te-wc-shortcode .woocommerce-MyAccount-content > p { font-size: var(--text-base); color: var(--ink-2); }
.te-wc-shortcode .woocommerce-MyAccount-content mark { padding: 0.1em 0.5em; border-radius: var(--r-pill); background: var(--mist); color: var(--ink); font-weight: 700; }
.te-wc-shortcode .woocommerce-MyAccount-content mark.order-status { background: var(--brand-soft); color: var(--brand-strong); }

/* Übersicht (Template myaccount/dashboard.php) */
.te-dash-hello {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1.5rem;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: var(--on-navy);
	border-radius: var(--r-lg); box-shadow: var(--shadow-md);
	position: relative; overflow: hidden;
}
.te-dash-hello::after { content: "\2749"; position: absolute; right: 4%; top: -0.6rem; font-size: 6rem; line-height: 1; color: oklch(1 0 0 / 0.06); pointer-events: none; }
.te-dash-hello > div { max-width: 52ch; position: relative; z-index: 1; }
.te-wc-shortcode .te-dash-hello h2 { margin: 0 0 0.35rem; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; line-height: 1.15; color: #fff; }
.te-dash-hello p { margin: 0; font-size: var(--text-sm); color: var(--on-navy-mut); line-height: 1.55; }
.te-dash-hello__who { position: relative; z-index: 1; font-size: var(--text-xs) !important; }
.te-wc-shortcode .te-dash-hello__who a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.te-dash-last {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem 1.5rem;
	padding: clamp(1.1rem, 2.6vw, 1.5rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.te-dash-last__head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.te-wc-shortcode .te-dash-label { margin: 0; font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.te-dash-last__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin: 0; }
.te-dash-last__facts div { display: flex; flex-direction: column; gap: 0.1rem; }
.te-dash-last__facts dt { font-size: var(--text-xs); color: var(--muted); }
.te-dash-last__facts dd { margin: 0; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.te-dash-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem; }
.te-wc-shortcode a.te-dash-tile {
	display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; align-items: center;
	padding: 1rem 1.1rem; color: var(--ink); text-decoration: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
@media (hover: hover) { .te-wc-shortcode a.te-dash-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-line); color: var(--ink); } }
.te-wc-shortcode a.te-dash-tile:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; }
.te-dash-tile__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--brand-strong); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.te-dash-tile__ico svg { width: 22px; height: 22px; }
.te-dash-tile__text { display: grid; gap: 0.1rem; }
.te-dash-tile__text strong { font-size: var(--text-base); font-weight: 800; }
.te-dash-tile__text small { font-size: var(--text-xs); color: var(--muted); line-height: 1.45; }

/* Status-Etiketten */
.te-badge, .te-wc-shortcode .woocommerce-orders-table__cell-order-status {
	--te-badge-bg: var(--mist); --te-badge-ink: var(--ink-2); --te-badge-dot: var(--muted);
}
.te-badge {
	display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
	font-size: var(--text-xs); font-weight: 800; line-height: 1.3; white-space: nowrap;
	color: var(--te-badge-ink); background: var(--te-badge-bg);
}
.te-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--te-badge-dot); }
:is(.te-badge--processing, .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status) { --te-badge-bg: var(--brand-soft); --te-badge-ink: var(--brand-strong); --te-badge-dot: var(--brand); }
:is(.te-badge--on-hold, .te-badge--pending, .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status) { --te-badge-bg: var(--caution-soft); --te-badge-ink: oklch(0.42 0.09 58); --te-badge-dot: var(--caution); }
:is(.te-badge--completed, .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status) { --te-badge-bg: oklch(0.62 0.13 155 / 0.12); --te-badge-ink: oklch(0.38 0.1 155); --te-badge-dot: oklch(0.6 0.13 155); }
:is(.te-badge--cancelled, .te-badge--failed, .te-badge--refunded, .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status, .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status) { --te-badge-bg: var(--mist); --te-badge-ink: var(--muted); --te-badge-dot: var(--line-2); }

/* Bestellungen-Tabelle */
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table,
.te-wc-shortcode .woocommerce-MyAccount-content table.shop_table.shop_table_responsive:not(.woocommerce-table--order-details) {
	width: 100%; margin: 0; border-collapse: separate; border-spacing: 0;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table :is(th, td),
.te-wc-shortcode .woocommerce-MyAccount-content table.shop_table.shop_table_responsive:not(.woocommerce-table--order-details) :is(th, td) {
	padding: 0.9rem 1rem; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; vertical-align: middle; font-size: var(--text-sm);
}
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table thead th,
.te-wc-shortcode .woocommerce-MyAccount-content table.shop_table.shop_table_responsive:not(.woocommerce-table--order-details) thead th {
	border-top: 0; background: var(--bg-2); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.te-wc-shortcode .woocommerce-orders-table__cell-order-number a { font-weight: 800; color: var(--ink); text-decoration: none; }
.te-wc-shortcode .woocommerce-orders-table__cell-order-status { white-space: nowrap; }
.te-wc-shortcode td.woocommerce-orders-table__cell-order-status > * { display: inline; }
.te-wc-shortcode td.woocommerce-orders-table__cell-order-status { color: var(--te-badge-ink); font-weight: 800; font-size: var(--text-xs); }
.te-wc-shortcode td.woocommerce-orders-table__cell-order-status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 0.45rem; border-radius: 50%; background: var(--te-badge-dot); vertical-align: 0.05em; }
.te-wc-shortcode .woocommerce-orders-table__cell-order-date { white-space: nowrap; }
.te-wc-shortcode .woocommerce-MyAccount-content > :is(h2, h3),
.te-wc-shortcode .woocommerce-MyAccount-content section > h2 { margin: 0.5rem 0 0; font-size: var(--e-global-typography-th3l-font-size, 1.4rem); font-weight: 800; line-height: 1.15; }
/* Kontaktzeilen in Adressen: eigene Umriss-Icons statt Icon-Font */
.te-wc-shortcode .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email) { position: relative; padding-left: 1.6rem; }
.te-wc-shortcode .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email)::before {
	content: "" !important; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; margin: 0; background: var(--muted); font-family: inherit;
	-webkit-mask: var(--te-ico) center / contain no-repeat; mask: var(--te-ico) center / contain no-repeat;
}
.te-wc-shortcode .woocommerce-customer-details--phone { --te-ico: url("../icons/te24-telefon.svg"); }
.te-wc-shortcode .woocommerce-customer-details--email { --te-ico: url("../icons/te24-mail.svg"); }
.te-wc-shortcode td.woocommerce-orders-table__cell-order-status::after { content: none; }
.te-wc-shortcode .woocommerce-orders-table__cell-order-total { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.te-wc-shortcode .woocommerce-orders-table__cell-order-actions { text-align: right !important; white-space: nowrap; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-orders-table__cell-order-actions .button,
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-MyAccount-content table .button { min-height: 38px; padding: 0.5em 1em; font-size: var(--text-sm); box-shadow: none; margin: 0.15rem 0 0.15rem 0.35rem; }
.te-wc-shortcode .woocommerce-pagination { display: flex; justify-content: space-between; gap: 0.75rem; }

/* Leerer Zustand (keine Bestellungen o. ä.) */
.te-wc-shortcode .woocommerce-MyAccount-content > .woocommerce-info,
.te-wc-shortcode .woocommerce-MyAccount-content > .woocommerce-message { margin: 0; }

/* Adressen-Übersicht */
.te-wc-shortcode .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.te-wc-shortcode .woocommerce-Addresses::before, .te-wc-shortcode .woocommerce-Addresses::after { content: none; }
.te-wc-shortcode .woocommerce-Address { float: none; width: auto; padding: clamp(1.1rem, 2.4vw, 1.4rem); display: grid; gap: 0.75rem; align-content: start; }
.te-wc-shortcode .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.te-wc-shortcode .woocommerce-Address-title::before, .te-wc-shortcode .woocommerce-Address-title::after { content: none; }
.te-wc-shortcode .woocommerce-Address-title h2 { margin: 0; font-size: var(--e-global-typography-secondary-font-size, 1.16rem); font-weight: 800; }
.te-wc-shortcode .woocommerce-Address-title a.edit {
	float: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 38px; padding: 0.35rem 0.85rem;
	font-size: var(--text-sm); font-weight: 700; color: var(--brand-strong); text-decoration: none;
	border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface);
}
.te-wc-shortcode .woocommerce-Address-title a.edit::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("../icons/te24-stift.svg") center / contain no-repeat; mask: url("../icons/te24-stift.svg") center / contain no-repeat; }
@media (hover: hover) { .te-wc-shortcode .woocommerce-Address-title a.edit:hover { border-color: var(--brand-line); background: var(--brand-soft); } }
.te-wc-shortcode .woocommerce-Address address { margin: 0; font-style: normal; font-size: var(--text-sm); line-height: 1.6; color: var(--ink-2); }

/* Formulare im Konto (Adresse bearbeiten, Kontodaten) als Karte */
.te-wc-shortcode :is(.woocommerce-EditAccountForm, .woocommerce-MyAccount-content > form, .woocommerce-ResetPassword, .woocommerce-form-track-order) {
	margin: 0; padding: clamp(1.25rem, 3vw, 1.9rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.te-wc-shortcode .woocommerce-MyAccount-content > form > h2,
.te-wc-shortcode .woocommerce-MyAccount-content > form > h3 { margin: 0 0 1rem; font-size: var(--e-global-typography-secondary-font-size, 1.16rem); font-weight: 800; }
.te-wc-shortcode .woocommerce-EditAccountForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.te-wc-shortcode .woocommerce-EditAccountForm > * { grid-column: 1 / -1; }
.te-wc-shortcode .woocommerce-EditAccountForm > :is(.form-row-first, .form-row-last) { grid-column: auto; }
.te-wc-shortcode .woocommerce-EditAccountForm > .clear { display: none; }
.te-wc-shortcode .woocommerce-EditAccountForm fieldset { margin: 0.5rem 0 1rem; padding: 1.1rem 1.1rem 0.25rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.te-wc-shortcode .woocommerce-EditAccountForm legend { padding: 0 0.4rem; font-size: var(--text-sm); font-weight: 800; color: var(--ink); }
.te-wc-shortcode .woocommerce-EditAccountForm > p:last-of-type,
.te-wc-shortcode .woocommerce-address-fields > p:last-child { margin: 0.5rem 0 0; }
@media (max-width: 560px) { .te-wc-shortcode .woocommerce-EditAccountForm > :is(.form-row-first, .form-row-last) { grid-column: 1 / -1; } }

/* Gast: Anmelden und Registrieren als Karten nebeneinander */
.te-wc-konto-gast .te-wc-shortcode .woocommerce { display: grid; gap: 1.25rem; }
.te-wc-shortcode #customer_login.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); width: auto; margin: 0; }
.te-wc-shortcode #customer_login > :is(.col-1, .col-2),
.te-wc-konto-gast .te-wc-shortcode .woocommerce > form.woocommerce-form-login {
	float: none; width: auto; max-width: none; margin: 0;
	padding: clamp(1.4rem, 3vw, 2.1rem);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md);
}
.te-wc-shortcode #customer_login > .col-2 { background: linear-gradient(180deg, var(--surface), var(--bg)); box-shadow: var(--shadow-sm); }
.te-wc-shortcode #customer_login h2 { margin: 0 0 0.3rem; font-size: var(--e-global-typography-th3l-font-size, clamp(1.2rem, 2vw, 1.5rem)); font-weight: 800; }
.te-wc-shortcode :is(#customer_login form, .te-auth-card form) { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.te-form-card .te-auth__lead { display: none; }
.te-wc-shortcode .woocommerce-form-register .form-row:has(input[type="checkbox"]) { margin-bottom: 1.25rem; }
.te-auth-card--done h2 { margin: 0 0 0.5rem; font-size: var(--e-global-typography-th3l-font-size, 1.4rem); font-weight: 800; }
.te-auth-card--done p { margin: 0 0 1rem; }
.te-auth__lead { margin: 0 0 1.25rem; font-size: var(--text-sm); color: var(--muted); line-height: 1.55; }
.te-auth__note { margin: 0 0 1rem; font-size: var(--text-sm); color: var(--muted); }
/* „Angemeldet bleiben“ + Anmelden-Button, darunter „Passwort vergessen?“ */
.te-wc-shortcode .woocommerce-form-login > p.form-row:not(.form-row-wide):not(.woocommerce-form-row) {
	display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin: 0.25rem 0 0;
}
.te-wc-shortcode .woocommerce-form-login .woocommerce-form-login__rememberme { order: -1; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-form-login__submit,
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-form-register__submit { width: 100%; min-height: 52px; margin: 0; float: none; }
.te-wc-shortcode .woocommerce-LostPassword { margin: 1rem 0 0; text-align: center; font-size: var(--text-sm); }
.te-wc-shortcode .woocommerce-LostPassword a { font-weight: 700; }
.te-wc-shortcode .woocommerce-form-register .woocommerce-privacy-policy-text { margin: 0 0 1rem; font-size: var(--text-xs); line-height: 1.55; color: var(--muted); }
.te-wc-shortcode .woocommerce-form-register .woocommerce-privacy-policy-text p { margin: 0; }
.te-wc-shortcode .woocommerce-form-register .form-row:last-of-type { margin-bottom: 0; }
.te-auth-hint {
	display: flex; align-items: center; gap: 0.85rem;
	padding: 0.95rem 1.15rem; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--mist-line);
}
.te-auth-hint__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: var(--brand-strong); background: var(--surface); }
.te-auth-hint__ico svg { width: 20px; height: 20px; }
.te-auth-hint p { margin: 0; font-size: var(--text-sm); color: var(--ink-2); line-height: 1.5; }
.te-auth-hint strong { color: var(--ink); }

/* Passwort vergessen / neu setzen */
.te-wc-shortcode .woocommerce-ResetPassword { max-width: 560px; }
.te-wc-shortcode .woocommerce-ResetPassword > p:first-child { margin: 0 0 1.25rem; font-size: var(--text-sm); color: var(--ink-2); line-height: 1.55; }
.te-wc-shortcode .woocommerce-ResetPassword .form-row-first, .te-wc-shortcode .woocommerce-ResetPassword .form-row-last { width: 100%; }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-ResetPassword .woocommerce-Button { width: 100%; min-height: 52px; }
.te-wc-ep--lost-password .te-wc-shortcode .woocommerce-MyAccount-content > p:only-of-type,
.te-wc-ep--lost-password .te-wc-shortcode .woocommerce > p:not([class]) {
	max-width: 560px; margin: 0; padding: clamp(1.25rem, 3vw, 1.75rem); font-size: var(--text-sm); line-height: 1.6; color: var(--ink-2);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.te-wc-ep--lost-password .te-wc-shortcode .woocommerce-message,
.te-wc-ep--lost-password .te-wc-shortcode .woocommerce > .woocommerce-message + p { max-width: 560px; }

/* =========================================================
   Formularkarte + Seitenleiste (Registrieren, Kunden-Bereich, Vertrag widerrufen)
   ========================================================= */
.e-con.te-form-grid {
	--display: grid;
	display: grid !important;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
.e-con.te-form-card {
	--padding-top: clamp(1.5rem, 3.5vw, 2.5rem); --padding-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
	--padding-left: clamp(1.5rem, 3.5vw, 2.5rem); --padding-right: clamp(1.5rem, 3.5vw, 2.5rem);
	--gap: 1.25rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md);
}
/* Formularkopf: Icon-Box (Icon in Markenfläche, Titel, Hinweis) wie Prototyp .wd-form__head */
.te-form-head { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.te-form-head .elementor-icon-box-wrapper { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; text-align: left !important; }
.te-form-head .elementor-icon-box-icon { margin: 0 !important; }
.te-form-head .elementor-icon {
	display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--r-md);
	background: linear-gradient(150deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: var(--shadow-brand);
}
.te-form-head .elementor-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; }
.te-form-head .elementor-icon-box-title { margin: 0 0 0.15rem !important; }
.te-form-head .elementor-icon-box-description { margin: 0; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order,
.te-form-card .te-wc-shortcode .order-withdrawal-request,
.te-form-card .te-wc-shortcode .te-auth-card { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order > p:first-child { margin: 0 0 1.25rem; font-size: var(--text-sm); color: var(--muted); line-height: 1.55; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order > * { grid-column: 1 / -1; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order > :is(.form-row-first, .form-row-last) { grid-column: auto; width: auto; float: none; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order > .clear { display: none; }
.te-form-card .te-wc-shortcode .woocommerce-form-track-order > .form-row:last-of-type { display: flex; justify-content: flex-end; margin: 0.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
	.te-form-card .te-wc-shortcode .woocommerce-form-track-order > :is(.form-row-first, .form-row-last) { grid-column: 1 / -1; }
	.te-form-card .te-wc-shortcode .woocommerce-form-track-order > .form-row:last-of-type .button { width: 100%; }
}
/* Ergebnis der Bestellverfolgung */
.te-form-card .te-wc-shortcode .woocommerce > p.order-info { margin: 0 0 1rem; padding: 0.95rem 1.1rem; font-size: var(--text-sm); background: var(--mist); border-radius: var(--r-md); }
.te-form-card .te-wc-shortcode .woocommerce-order-details { padding: 0; border: 0; box-shadow: none; margin-top: 1.25rem; }
.te-form-card .te-wc-shortcode .woocommerce-customer-details { margin-top: 1.25rem; }

/* eu-owb Widerrufsformular */
.te-wc-shortcode .order-withdrawal-request .eu-owb-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.te-wc-shortcode .order-withdrawal-request .eu-owb-form-fields > * { grid-column: 1 / -1; }
.te-wc-shortcode .order-withdrawal-request .eu-owb-form-fields > :is(.form-row-first, .form-row-last) { grid-column: auto; width: auto; float: none; }
.te-wc-shortcode .order-withdrawal-request .eu-owb-form-fields > .form-row-order-number { grid-column: 1 / -1; }
.te-wc-shortcode .order-withdrawal-request .clear { display: none; }
.te-wc-shortcode .order-withdrawal-request .form-row-submit { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.te-wc-shortcode .order-withdrawal-request .form-row-submit::before { content: "* Pflichtfelder"; font-size: var(--text-xs); color: var(--muted); }
.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .order-withdrawal-request .woocommerce-form-return_request__submit { margin-left: auto; min-height: 52px; padding: 0.95em 1.6em; font-size: var(--text-md); }
.te-wc-shortcode .order-withdrawal-request .woocommerce-form-return_request__submit::before {
	content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("../icons/te24-haken.svg") center / contain no-repeat; mask: url("../icons/te24-haken.svg") center / contain no-repeat;
}
.te-wc-shortcode .eu-owb-notice-wrapper:empty { display: none; }
.te-wc-shortcode .eu-owb-order-item-select-wrapper:empty { display: none; }
.te-wc-shortcode .eu-owb-order-item-select-wrapper { margin: 0 0 1rem; padding: 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.te-wc-shortcode .order-withdrawal-request.processing { opacity: 0.6; pointer-events: none; }
@media (max-width: 560px) {
	.te-wc-shortcode .order-withdrawal-request .eu-owb-form-fields > :is(.form-row-first, .form-row-last, .form-row-email, .form-row-email-repeat) { grid-column: 1 / -1; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .order-withdrawal-request .woocommerce-form-return_request__submit { width: 100%; }
}
/* Widerrufs-Button in Konto/Bestellung (eu-owb) */
.te-wc-shortcode .eu-owb-order-withdraw-from-contract-button { margin: 0; text-align: left !important; }

/* Seitenleiste */
.e-con.te-aside { --gap: 1rem; position: sticky; top: calc(var(--te-header-h, 76px) + 1.5rem); }
.e-con.te-side-card {
	--padding-top: 1.25rem; --padding-bottom: 1.25rem; --padding-left: 1.35rem; --padding-right: 1.35rem; --gap: 0.85rem;
	background: var(--surface); border: 1px solid oklch(1 0 0 / 0.7); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.e-con.te-side-card--help { background: var(--mist); box-shadow: none; border-color: var(--mist-line); }
.te-side-card__title .elementor-heading-title { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.te-side-card p { margin: 0; }
.te-mini-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
.te-mini-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.te-mini-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; font-size: var(--text-sm); font-weight: 800; color: var(--brand-strong); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.te-mini-steps strong { display: block; font-size: var(--text-sm); color: var(--ink); }
.te-mini-steps small { font-size: var(--text-xs); color: var(--muted); }
.te-link-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.te-link-list a { overflow-wrap: anywhere; }
.te-link-list a { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); font-weight: 700; color: var(--ink-2); transition: color 0.16s; }
.te-link-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.te-link-list a::after { content: "\2192"; color: var(--brand); }
@media (hover: hover) { .te-link-list a:hover { color: var(--brand-strong); } }
.te-help { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
.te-help a { font-size: var(--text-md); font-weight: 800; color: var(--brand-strong); }
.te-help small { margin-top: 0.3rem; font-size: var(--text-xs); color: var(--muted); }
.te-dots ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.te-dots li { position: relative; padding-left: 1.4rem; line-height: 1.45; }
.te-dots li::before { content: ""; position: absolute; left: 0.2rem; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1079px) {
	.te-wc--checkout .te-wc-shortcode form.checkout { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); }
}
@media (max-width: 959px) {
	.te-wc--cart .te-wc-shortcode .woocommerce,
	.te-wc--checkout .te-wc-shortcode form.checkout,
	.te-wc-konto .te-wc-shortcode .woocommerce,
	.e-con.te-form-grid { grid-template-columns: minmax(0, 1fr); }
	.te-wc--cart .te-wc-shortcode :is(.woocommerce-cart-form, .cart-collaterals),
	.te-wc--checkout .te-wc-shortcode :is(#customer_details, .te-review, form.checkout > #order_review_heading, form.checkout > #order_review) { grid-column: 1; grid-row: auto; }
	.te-wc--cart .te-wc-shortcode .cart-collaterals,
	.te-wc--checkout .te-wc-shortcode .te-review,
	.e-con.te-aside { position: static; }
	/* Konto-Navigation als waagerechte Leiste */
	.te-wc-shortcode .woocommerce-MyAccount-navigation { position: static; padding: 0.35rem; overflow-x: auto; scrollbar-width: none; }
	.te-wc-shortcode .woocommerce-MyAccount-navigation::-webkit-scrollbar { display: none; }
	.te-wc-shortcode .woocommerce-MyAccount-navigation ul { display: flex; gap: 0.25rem; width: max-content; }
	.te-wc-shortcode .woocommerce-MyAccount-navigation li a { white-space: nowrap; min-height: 44px; padding: 0.5rem 0.8rem; }
	.te-wc-shortcode .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
	.te-wc-shortcode #customer_login.col2-set { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
	/* Weitere Tabellen (z. B. Shiptastic-Sendungen) waagerecht scrollbar statt Seitenüberlauf */
	.te-wc-shortcode.te-wc-shortcode table.shop_table:not(.cart):not(.woocommerce-orders-table):not(.woocommerce-table--order-details):not(.woocommerce-checkout-review-order-table):not(.cart_totals table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.te-wc-shortcode .cart_totals table.shop_table { display: table; }
	.te-steps-buy { gap: 0.3rem; flex-wrap: nowrap; }
	.te-steps-buy li { gap: 0.3rem; font-size: var(--text-xs); }
	.te-steps-buy li + li::before { width: 0.85rem; }
	.te-steps-buy__no { width: 24px; height: 24px; }
	.te-wc-shortcode table.shop_table.cart tr.cart_item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name remove"
			"price price price"
			"qty qty subtotal";
		column-gap: 0.85rem; row-gap: 0.7rem;
	}
	.te-wc-shortcode table.shop_table.cart td.product-thumbnail img { width: 64px; height: 64px; border-radius: var(--r-sm); }
	.te-wc-shortcode table.shop_table.cart td.product-name { padding-right: 0; }
	.te-wc-shortcode table.shop_table.cart td.product-quantity { justify-self: start; }
	.te-wc-shortcode table.shop_table.cart td.product-price { display: flex !important; flex-wrap: wrap; gap: 0.15rem 0.5rem; align-items: baseline; padding-top: 0.6rem; border-top: 1px dashed var(--line); }
	.te-wc-shortcode .cps-cart-shipping-info.cps-cart-shipping-info { grid-template-columns: minmax(0, 1fr); margin-left: calc(-64px - 0.85rem) !important; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.shop_table.cart td.actions { flex-direction: column; align-items: stretch; }
	.te-wc-shortcode table.shop_table.cart td.actions .coupon { flex-wrap: nowrap; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.shop_table.cart td.actions .coupon #coupon_code { width: auto; flex: 1; }
	.te-wc-shortcode :is(.woocommerce-Addresses, .woocommerce-customer-details > .addresses) { grid-template-columns: minmax(0, 1fr); }
	.te-dash-last { grid-template-columns: minmax(0, 1fr); }
	/* Bestellungen als Karten */
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table { border: 0; background: none; box-shadow: none; overflow: visible; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table thead { display: none; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table tbody { display: grid; gap: 0.75rem; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table tr {
		display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1rem; padding: 1rem 1.1rem;
		background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
	}
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table :is(td, th) { display: flex !important; justify-content: space-between; gap: 0.75rem; padding: 0 !important; border: 0 !important; background: none; text-align: left !important; }
.te-wc-shortcode table.woocommerce-orders-table th.woocommerce-orders-table__cell-order-number { grid-column: 1; font-size: var(--text-md); }
.te-wc-shortcode table.woocommerce-orders-table th.woocommerce-orders-table__cell-order-number::before { content: none; }
.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-status::before { content: none; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td::before { content: attr(data-title); float: none; font-size: var(--text-xs); font-weight: 600; color: var(--muted); }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number { grid-column: 1; font-size: var(--text-md); }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-number::before { content: none; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-status { grid-column: 2; grid-row: 1; align-self: center; padding: 0.25rem 0.65rem !important; border-radius: var(--r-pill); background: var(--te-badge-bg); }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-status::before { content: none; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td:is(.woocommerce-orders-table__cell-order-date, .woocommerce-orders-table__cell-order-total, .woocommerce-orders-table__cell-order-actions) { grid-column: 1 / -1; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 0.4rem; padding-top: 0.6rem !important; border-top: 1px solid var(--line) !important; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before { content: none; }
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .woocommerce-orders-table__cell-order-actions .button { margin: 0; }
}
@media (max-width: 559px) {
	.te-wc-shortcode .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.te-wc-shortcode .woocommerce-EditAccountForm { grid-template-columns: minmax(0, 1fr); }
	.te-dash-tiles { grid-template-columns: minmax(0, 1fr); }
	.te-wc-shortcode table.woocommerce-table--order-details td.product-name { padding-right: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.te-wc-shortcode *, .te-steps-buy * { transition: none !important; }
}

/* =========================================================
   Mobil-Feinschliff (Audit 2026-10-21, _relaunch/berichte/mobil.md)
   ========================================================= */
/* Konto › Adressen: WooCommerce' eigenes .col2-set .col-1 { width: 48% } (0,3,0) machte die Karten halb so breit
   wie ihre Rasterzelle – mobil lief der Bearbeiten-Knopf aus der Karte (Seite 405 px breit bei 390). */
.te-wc-shortcode .woocommerce-Addresses.woocommerce-Addresses > .woocommerce-Address { float: none; width: auto; max-width: none; }
.te-wc-shortcode .woocommerce-Address-title { flex-wrap: wrap; }
@media (max-width: 560px) {
	.te-wc-shortcode .woocommerce-Address-title { flex-direction: column; align-items: flex-start; }
}

/* „Sichere Bezahlung …“: Symbol läuft mit dem zentrierten Text statt links abseits zu stehen */
.te-secure { display: block; line-height: 1.6; }
.te-secure svg { display: inline-block; vertical-align: -0.2em; margin-right: 0.4rem; }

@media (max-width: 719px) {
	/* Warenkorb-Position: Entfernen-Knopf oben rechts in der Karte, Name und CPS-Lieferkasten nutzen die volle Breite */
	.te-wc-shortcode.te-wc-shortcode table.shop_table.cart tr.cart_item {
		grid-template-areas:
			"thumb name name"
			"price price price"
			"qty qty subtotal";
	}
	.te-wc-shortcode.te-wc-shortcode table.shop_table.cart td.product-remove { position: absolute; top: 0.5rem; right: 0.5rem; margin: 0; }
	.te-wc-shortcode.te-wc-shortcode table.shop_table.cart td.product-name { padding-right: 2.5rem !important; }
	.te-wc-shortcode.te-wc-shortcode .cps-cart-shipping-info.cps-cart-shipping-info { margin-right: -2.5rem !important; }

	/* Passwort anzeigen: volle 44 px */
	.te-wc-shortcode.te-wc-shortcode.te-wc-shortcode .show-password-input { width: 44px; height: 44px; right: 2px; }
	/* Kleine Textlinks als 44 px hohe Ziele */
	.te-wc-shortcode .woocommerce-LostPassword a,
	.te-help a { display: inline-flex; align-items: center; min-height: 44px; }
	.te-help { gap: 0; }
}
