/* My Account and the subscription's «Zahlungsmethode ändern» (order-pay): WooCommerce's own buttons.
   They keep the shop's primary button (Blocksy --theme-button-*, tokens.css). Restrained actions —
   removing a saved card, cancelling the Spar-Abo — use the ghost button of buttons.css. */
/* Every button keeps a transparent border of the ghost's width, as buttons.css does for core buttons: filled and
   outlined actions side by side have the same size. */
:root :is(.woocommerce-MyAccount-content, .woocommerce-order-pay) .button {
	--theme-button-border: var(--ll-border-w-strong) solid transparent;
	--theme-button-border-hover-color: transparent;
}

/* Order and subscription tables: Blocksy pads these buttons only at the sides and counts on its minimum height,
   which tokens.css sets to auto (the design sizes buttons by padding) — they collapsed to a bar. The design's
   compact padding instead (.btn--sm). */
:root .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .button {
	--theme-button-padding: var(--ll-space-12) var(--ll-space-24);
	--theme-button-line-height: var(--ll-lh-relaxed);
}

:root :is(.woocommerce-MyAccount-content, .woocommerce-order-pay) .button:is(.delete, .cancel) {
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: transparent;
	--theme-button-text-initial-color: var(--ll-ink);
	--theme-button-text-hover-color: var(--ll-ink);
	--theme-button-border: var(--ll-border-w-strong) solid var(--ll-border-strong);
	--theme-button-border-hover-color: var(--ll-ink);
}

/* Saved cards: a list nested in the payment list gets the browser's circle markers. */
:root .woocommerce-SavedPaymentMethods {
	margin-inline-start: 0;
	padding-inline-start: 0;
	list-style: none;
}

/* Saved cards on the phone: WooCommerce's responsive table labels every cell with its column title; the actions
   column's title is a non-breaking space, which showed as a lone «:» before the buttons. */
:root .woocommerce-MyAccount-content table.shop_table_responsive td.payment-method-actions::before {
	content: none;
}

/* My Account navigation, keyboard focus: the hover state (Blocksy's active colours) and a light ring inside the row.
   The branded ring outside was cut off by the box's overflow and merged with the active row's background; inside,
   it also marks the active row, which already shows the hover colours. */
:root .woocommerce-MyAccount-navigation li a:focus-visible {
	color: var(--account-nav-text-active-color, var(--theme-palette-color-8));
	background: var(--account-nav-background-active-color, var(--theme-palette-color-1));
	outline-color: var(--ll-white);
	outline-offset: calc(-1 * (var(--ll-focus-w) + var(--ll-focus-offset)));
	border-radius: 0;
}

/* Frame (design mein-konto.html, .account): the page content puts the account into .ll-account inside the beige band
   (scripts/content/pages/mein-konto.html). Navigation as a white card on the left, the content beside it; under
   1000 px the navigation stands above the content in two columns, under 690 px in one. Blocksy's .ct-woo-account is a
   flex row with a 20 % navigation box: a grid instead. */
:root .ll-account .ct-woo-account {
	display: grid;
	grid-template-columns: var(--ll-account-nav-w) minmax(0, 1fr);
	gap: clamp(var(--ll-space-32), 4vw, var(--ll-space-64));
	align-items: start;
}

:root .ll-account .ct-acount-nav {
	width: auto;
	min-width: 0;
	margin: 0;
	overflow: visible;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

:root .ll-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: var(--ll-space-4);
	margin: 0;
	padding: var(--ll-space-8);
	list-style: none;
	border-radius: var(--ll-r-lg);
	background: var(--ll-white);
	box-shadow: var(--ll-shadow-card);
	font-size: var(--ll-small);
}

:root .ll-account .woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	gap: var(--ll-space-12);
	height: auto;
	min-height: var(--ll-tap);
	padding: var(--ll-space-8) var(--ll-space-16);
	border: 0;
	border-radius: var(--ll-r-md);
	background: none;
	color: var(--ll-ink-soft);
	font-weight: 700;
	text-decoration: none;
	transition: background var(--ll-t-fast) ease, color var(--ll-t-fast) ease;
}

:root .ll-account .woocommerce-MyAccount-navigation ul li:hover a {
	background: var(--ll-beige);
	color: var(--ll-ink);
}

:root .ll-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: var(--ll-petrol);
	color: var(--ll-white);
}

/* Keyboard focus as hover (the rule above the frame): beige row with the branded ring inside; on the active row the
   light ring (WCAG 1.4.11 against petrol). */
:root .ll-account .woocommerce-MyAccount-navigation ul li a:focus-visible {
	background: var(--ll-beige);
	color: var(--ll-ink);
	outline-color: var(--ll-petrol);
	border-radius: var(--ll-r-md);
}

:root .ll-account .woocommerce-MyAccount-navigation ul li.is-active a:focus-visible {
	background: var(--ll-petrol);
	color: var(--ll-white);
	outline-color: var(--ll-white);
}

/* Icons: the design's line icons as masks in the text colour, in place of Blocksy's icon font. */
:root .ll-account .woocommerce-MyAccount-navigation ul li a::before {
	content: "";
	flex: none;
	inline-size: var(--ll-icon-m);
	block-size: var(--ll-icon-m);
	margin: 0;
	background: currentcolor;
	-webkit-mask: var(--ll-account-icon, var(--ll-icon-account-dashboard)) center / contain no-repeat;
	mask: var(--ll-account-icon, var(--ll-icon-account-dashboard)) center / contain no-repeat;
}
.woocommerce-MyAccount-navigation-link--orders { --ll-account-icon: var(--ll-icon-account-orders); }
.woocommerce-MyAccount-navigation-link--subscriptions { --ll-account-icon: var(--ll-icon-account-abo); }
.woocommerce-MyAccount-navigation-link--edit-address { --ll-account-icon: var(--ll-icon-account-address); }
.woocommerce-MyAccount-navigation-link--payment-methods,
.woocommerce-MyAccount-navigation-link--spgw_save_card { --ll-account-icon: var(--ll-icon-account-payment); }
.woocommerce-MyAccount-navigation-link--edit-account { --ll-account-icon: var(--ll-icon-account-user); }
.woocommerce-MyAccount-navigation-link--customer-logout { --ll-account-icon: var(--ll-icon-account-logout); }

:root .ll-account .woocommerce-MyAccount-content {
	min-width: 0;
	scroll-margin-top: calc(var(--ll-header-h) + var(--ll-space-16));
	color: var(--ll-ink-soft);
	line-height: var(--ll-lh-relaxed);
}

/* Notices in the account (empty lists, temporary password, «… erfolgreich geändert»): the design's notice card
   (.account__notice), white with the card shadow; Blocksy keeps its icon and puts the button last. */
:root .ll-account .woocommerce-MyAccount-content .woocommerce-notices-wrapper {
	width: auto; /* Blocksy: container width (gutter on both sides) */
	max-width: none;
}

:root .ll-account .woocommerce-MyAccount-content :is(.woocommerce-info, .woocommerce-message) {
	gap: var(--ll-space-16);
	margin-block-end: var(--ll-space-24);
	border: 0;
	border-radius: var(--ll-r-lg);
	background: var(--ll-white);
	box-shadow: var(--ll-shadow-card);
	color: var(--ll-ink);
}

/* A link after the notice text («Ungültiges Spar-Abo. Mein Konto»): as a flex row the notice drops the space between
   the text and the link and puts the link in its own column on phones; as a block they flow as one sentence (the icon
   is positioned absolutely; Lena 2026-11-26). */
:root .ll-account .woocommerce-MyAccount-content .woocommerce-error:has(> .wc-forward) {
	display: block;
	align-content: center;
}

:root .ll-account .woocommerce-MyAccount-content .woocommerce-info .button {
	--theme-button-padding: var(--ll-space-12) var(--ll-space-24); /* design .account__notice .btn--sm */
	--theme-button-line-height: var(--ll-lh-relaxed);
	margin-inline-start: auto;
	white-space: nowrap;
}

/* Tables in the frame (orders, saved payment methods; design .account__card .dtable): the table as a white card,
   lines between the rows, the head small and muted without a band. Actions at the right: «Bezahlen» as the small
   primary button above, everything else as text links (.account__tlink). */
:root .ll-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 0;
	padding: clamp(var(--ll-space-24), 3vw, var(--ll-space-32));
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--ll-r-lg);
	background: var(--ll-white);
	box-shadow: var(--ll-shadow-card);
	font-size: var(--ll-small);
	line-height: var(--ll-lh-relaxed);
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table :is(th, td) {
	padding: var(--ll-space-12) var(--ll-space-16) var(--ll-space-12) 0;
	border: 0;
	border-bottom: var(--ll-border-w) solid var(--ll-border-soft);
	background: none;
	color: var(--ll-ink-soft);
	font-size: var(--ll-small); /* Blocksy sizes table cells itself */
	text-align: start;
	vertical-align: middle;
	white-space: nowrap;
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table :is(th, td):last-child {
	padding-inline-end: 0;
	text-align: end;
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table thead th {
	padding-top: 0;
	font-size: var(--ll-tiny);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-ink-mute);
}

/* The actions column has no visible title (design: «Aktionen» for screen readers only). */
:root .ll-account .woocommerce-MyAccount-content table.shop_table thead th:last-child .nobr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody :is(th, td:first-child) {
	font-weight: var(--ll-weight-bold);
	color: var(--ll-ink);
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child :is(th, td) {
	padding-bottom: 0;
	border-bottom: 0;
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody th a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table .button {
	font-weight: var(--ll-weight-bold); /* WooCommerce's .woocommerce-button: 500 */
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table small {
	display: block;
	font-size: var(--ll-tiny);
	font-weight: var(--ll-weight-book);
	color: var(--ll-ink-mute);
}

/* Status tag (design .account__status, the look of .paper__tag). */
:root .ll-account-status {
	display: inline-block;
	padding: var(--ll-space-4) var(--ll-space-12);
	border-radius: var(--ll-r-full);
	background: var(--ll-petrol-soft);
	color: var(--ll-petrol);
	font-size: var(--ll-tiny);
	font-weight: var(--ll-weight-bold);
	white-space: nowrap;
}

:root .ll-account-status--failed {
	background: var(--ll-error-soft);
	color: var(--ll-error);
}

/* Actions: text links side by side, «Bezahlen» over them at the right (the rare third action keeps the column
   narrow). */
:root .ll-account .woocommerce-MyAccount-content table.shop_table td:last-child .button.pay {
	display: flex;
	width: fit-content;
	margin: 0 0 var(--ll-space-4) auto;
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table td:last-child .button:not(.pay) + .button {
	margin-inline-start: var(--ll-space-16);
}

:root .ll-account .woocommerce-MyAccount-content table.shop_table td:last-child .button:not(.pay) {
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: transparent;
	--theme-button-text-initial-color: var(--ll-petrol);
	--theme-button-text-hover-color: var(--ll-petrol-deep);
	--theme-button-border: 0;
	--theme-button-padding: 0;
	--theme-button-transform: none;
	display: inline-flex;
	width: auto;
	min-width: 0;
	min-height: var(--ll-tap);
	box-shadow: none;
	font-size: var(--ll-small);
	text-decoration: underline;
	text-underline-offset: var(--ll-underline-gap);
}

/* «Zahlungsart hinzufügen» under the card: the small primary button. */
:root .ll-account .woocommerce-MyAccount-content > .button {
	--theme-button-padding: var(--ll-space-12) var(--ll-space-24);
	--theme-button-line-height: var(--ll-lh-relaxed);
	margin-top: var(--ll-space-24);
}

/* Addresses (design .account__addr .account__card): two white cards instead of Blocksy's dashed boxes; heading,
   address, then «… bearbeiten» as a text link at the bottom. The empty state («Du hast bisher keine Adresse dieser Art
   erstellt.») stands in the same card. */
:root .ll-account .woocommerce-MyAccount-content > p:first-of-type {
	margin-block-end: var(--ll-space-24);
}

:root .ll-account .woocommerce-Addresses {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ll-gap-grid);
	margin: 0;
}

:root .ll-account .woocommerce-Addresses::before,
:root .ll-account .woocommerce-Addresses::after {
	content: none;
}

:root .ll-account .woocommerce-Addresses > .woocommerce-Address {
	display: grid;
	align-content: start;
	gap: var(--ll-space-12);
	float: none;
	width: auto;
	margin: 0;
	padding: clamp(var(--ll-space-24), 3vw, var(--ll-space-32));
	border: 0;
	border-radius: var(--ll-r-lg);
	background: var(--ll-white);
	box-shadow: var(--ll-shadow-card);
}

:root .ll-account .woocommerce-Address-title {
	display: contents;
}

:root .ll-account .woocommerce-Address-title h2 {
	margin: 0;
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-tight);
	color: var(--ll-ink);
}

:root .ll-account .woocommerce-Address address {
	order: 1;
	margin: 0;
	font-size: inherit;
	font-style: normal;
	opacity: 1;
}

:root .ll-account .woocommerce-Address-title .edit {
	order: 2;
	display: inline-flex;
	align-items: center;
	justify-self: start;
	min-height: var(--ll-tap);
	float: none;
	font-size: var(--ll-small);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-petrol);
	text-decoration: underline;
	text-underline-offset: var(--ll-underline-gap);
}

:root .ll-account .woocommerce-Address-title .edit:hover {
	color: var(--ll-petrol-deep);
}

/* Forms (edit address, account details): in a white card; the fields are the checkout's (One Page Checkout Pro's
   .opcw-field with floating labels, its checkout.css and our skin opc.css, inc/commerce/account-forms.php). Here only
   the card, the grid (first and last name side by side, the checkout's row gap) and the password section. */
:root .ll-account .woocommerce-MyAccount-content > form {
	padding: clamp(var(--ll-space-24), 3vw, var(--ll-space-32));
	border-radius: var(--ll-r-lg);
	background: var(--ll-white);
	box-shadow: var(--ll-shadow-card);
}

/* The checkout's base type (checkout.css, body.opcw) inside the forms: Blocksy's labels (weight 500, the body's line
   height) would differ from the checkout's. */
:root .ll-account form.opcw {
	line-height: var(--ll-opcw-lh);
}

:root .ll-account form.opcw label {
	font-weight: var(--ll-weight-book);
	line-height: inherit;
}

/* Blocksy's WooCommerce styles (not loaded on the checkout) make every .form-row label a block: the checkbox text ran
   under the box. */
:root .ll-account form.opcw .opcw-check {
	display: flex;
}

:root .ll-account .woocommerce-MyAccount-content > form > h2 {
	margin: 0 0 var(--ll-space-24);
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-tight);
	color: var(--ll-ink);
}

:root .ll-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm, .woocommerce-EditAccountForm fieldset) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--opcw-gap);
	margin: 0;
}

/* WooCommerce's clearfix pseudo-elements would be empty grid rows. */
:root .ll-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm)::before,
:root .ll-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm)::after {
	content: none;
}

:root .ll-account :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) .form-row,
:root .ll-account .woocommerce-EditAccountForm > p,
:root .ll-account .woocommerce-EditAccountForm fieldset {
	grid-column: 1 / -1;
	float: none;
	width: auto;
	margin: 0;
}

:root .ll-account :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) .form-row-first {
	grid-column: 1;
}

:root .ll-account :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) .form-row-last {
	grid-column: 2;
}

/* «Passwort ändern» as its own section (design: .account legend), no dashed frame. */
:root .ll-account .woocommerce-EditAccountForm fieldset {
	grid-template-columns: minmax(0, 1fr);
	margin-top: var(--ll-space-24);
	padding: 0;
	border: 0;
}

:root .ll-account .woocommerce-EditAccountForm legend {
	float: left; /* lets the grid gap work below the legend */
	width: 100%;
	margin: 0 0 var(--ll-space-16);
	padding: 0;
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-tight);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-ink);
}

:root .ll-account :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) > p:last-of-type,
:root .ll-account .woocommerce-address-fields > p {
	margin-top: var(--ll-space-24);
}

@media (max-width: 999.98px) {
	:root .ll-account .ct-woo-account {
		grid-template-columns: minmax(0, 1fr);
	}

	:root .ll-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* First and last name stack where the checkout stacks them (checkout.css: .opcw-row--2 under 481 px). */
@media (max-width: 480px) {
	:root .ll-account :is(.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm, .woocommerce-EditAccountForm fieldset) {
		grid-template-columns: minmax(0, 1fr);
	}

	:root .ll-account :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) :is(.form-row-first, .form-row-last) {
		grid-column: 1;
	}
}

@media (max-width: 689.98px) {
	:root .ll-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: minmax(0, 1fr);
	}

	:root .ll-account .woocommerce-MyAccount-content .woocommerce-info .button {
		margin-inline-start: 0;
	}

	:root .ll-account .woocommerce-Addresses {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Small buttons get the regular padding on phones (buttons.css, .ll-btn-sm). */
	:root .ll-account .woocommerce-MyAccount-content table.shop_table td:last-child .button.pay,
	:root .ll-account .woocommerce-MyAccount-content > .button {
		--theme-button-padding: var(--ll-space-16) var(--ll-space-24);
	}

	/* Tables as labelled rows: the order number (or the card) as the row head without a label, then label left and
	   value right, the actions at the right. */
	:root .ll-account .woocommerce-MyAccount-content table.shop_table :is(thead, tbody, tr) {
		display: block;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr {
		padding: var(--ll-space-12) 0;
		border-bottom: var(--ll-border-w) solid var(--ll-border-soft);
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr:first-child {
		padding-top: 0;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody :is(th, td),
	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child :is(th, td) {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: var(--ll-space-12);
		padding: var(--ll-space-4) 0;
		border: 0;
		text-align: end;
		white-space: normal;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody td::before {
		content: attr(data-title);
		float: none;
		font-weight: var(--ll-weight-book);
		color: var(--ll-ink-mute);
		text-align: start;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody :is(th, td:first-child),
	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child :is(th, td:first-child) {
		display: block;
		margin-bottom: var(--ll-space-4);
		text-align: start;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody :is(td:first-child, td:last-child)::before {
		content: none;
	}

	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody td:last-child,
	:root .ll-account .woocommerce-MyAccount-content table.shop_table tbody tr:last-child td:last-child {
		display: block;
	}

}

/* Login link (inc/commerce/account-login-link.php). Logged out, My Account shows the password login and the login link
   side by side from the desktop breakpoint, «oder» between them on a vertical line; below, stacked with a horizontal
   line. Blocksy hides WooCommerce's «Anmelden» heading and centres the login form at --ll-login-form-w; here the
   heading shows, so both columns start with one. On tablets two columns would not fit Turnstile's fixed-width widget.
   The confirm page has no login form and keeps the single centred column. */
:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > h2 {
	display: block;
}

:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > h2,
:root .ll-login-link h2 {
	margin-bottom: var(--ll-gap-group);
	font-size: var(--ll-h4);
}

:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > :is(h2, .woocommerce-form-login, .ll-login-or) {
	max-width: var(--ll-login-form-w);
	margin-inline: auto;
}

:root .ll-login-link {
	max-width: var(--ll-login-form-w);
	margin-inline: auto;
}

:root .ll-login-link h2 {
	margin-bottom: var(--ll-space-12);
}

:root .ll-login-link__intro {
	margin-bottom: var(--ll-gap-group);
	color: var(--ll-ink-soft);
	font-size: var(--ll-small);
}

:root .ll-login-link :is(.woocommerce-message, .woocommerce-error) {
	margin-bottom: var(--ll-gap-group);
}

/* The message takes the focus after the redirect so screen readers announce it; it is no control, so no focus ring. */
:root #ll-login-link-notice:focus {
	outline: none;
}

/* The confirmation after a request: text only, without Blocksy's notice icon and the room it keeps on the left
   (Niels 2026-11-20). */
:root .ll-login-link .woocommerce-message {
	padding: var(--ll-space-16);
}

:root .ll-login-link .woocommerce-message::before {
	display: none;
}

:root .ll-login-link button[type="submit"] {
	width: 100%;
}

:root .ll-login-or {
	display: flex;
	gap: var(--ll-space-16);
	align-items: center;
	margin-block: var(--ll-space-40);
	color: var(--ll-ink-soft);
	font-size: var(--ll-small);
}

:root .ll-login-or::before,
:root .ll-login-or::after {
	flex: 1;
	border-top: var(--ll-border-w) solid var(--ll-hairline);
	content: "";
}

@media (min-width: 1000px) {

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login) {
		display: grid;
		grid-template-areas:
			"notices notices notices"
			"heading divider link"
			"login divider link";
		grid-template-columns: minmax(0, var(--ll-login-form-w)) auto minmax(0, var(--ll-login-form-w));
		grid-template-rows: auto auto 1fr;
		column-gap: var(--ll-space-48);
		justify-content: center;
	}

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login)
		> :is(h2, .woocommerce-form-login, .ll-login-or, .ll-login-link) {
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > .woocommerce-notices-wrapper {
		grid-area: notices;
	}

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > h2 {
		grid-area: heading;
	}

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > .woocommerce-form-login {
		grid-area: login;
	}

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > .ll-login-or {
		flex-direction: column;
		grid-area: divider;
		margin-block: 0;
	}

	:root .ct-woo-unauthorized:has(> .woocommerce-form-login) > .ll-login-link {
		grid-area: link;
	}

	:root .ll-login-or::before,
	:root .ll-login-or::after {
		border-top: 0;
		border-inline-start: var(--ll-border-w) solid var(--ll-hairline);
	}
}

/* Link to the request form under the header modal's login, and the hint in the account details' password section. */
:root .ll-login-link-hint {
	margin: var(--ll-space-16) 0 0;
	font-size: var(--ll-small);
	text-align: center;
}

:root .ll-account-hint {
	margin-bottom: var(--ll-gap-box);
	color: var(--ll-ink-soft);
	font-size: var(--ll-small);
}

/* Dashboard (design mein-konto.html, panel «Dashboard»; inc/commerce/account-dashboard.php): the greeting, then the
   cards «Nächste Spar-Abo-Bestellung» and «Letzte Bestellung» side by side, under 690 px stacked. Each card is one
   link that lifts on hover; the text link at its bottom only looks like one. */
:root .ll-account .ll-account-hello {
	margin-block-end: var(--ll-space-24);
}

:root .ll-account .ll-account-dash {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ll-gap-grid);
	align-items: start;
}

:root .ll-account .ll-account-card {
	display: grid;
	align-content: start;
	gap: var(--ll-space-8);
	padding: clamp(var(--ll-space-24), 3vw, var(--ll-space-32));
	border-radius: var(--ll-r-lg);
	background: var(--ll-white);
	box-shadow: var(--ll-shadow-card);
	color: inherit;
	text-decoration: none;
	transition: transform var(--ll-t-fast) ease;
}

:root .ll-account .ll-account-card--link:hover {
	transform: translateY(var(--ll-lift));
}

:root .ll-account .ll-account-card p {
	margin: 0;
}

:root .ll-account .ll-account-card__label {
	font-size: var(--ll-overline);
	font-weight: var(--ll-weight-bold);
	letter-spacing: var(--ll-tracking-caps);
	text-transform: uppercase;
	color: var(--ll-ink-mute);
}

:root .ll-account .ll-account-card__date {
	margin-block-start: var(--ll-space-4);
	font-size: var(--ll-h3);
	font-weight: var(--ll-weight-bold);
	line-height: var(--ll-lh-tight);
	color: var(--ll-ink);
}

:root .ll-account .ll-account-card__date .ll-account-status {
	margin-inline-start: var(--ll-space-8);
	vertical-align: middle;
}

:root .ll-account .ll-account-card__link {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	min-height: var(--ll-tap);
	font-size: var(--ll-small);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-petrol);
	text-decoration: underline;
	text-underline-offset: var(--ll-underline-gap);
}

:root .ll-account .ll-account-card--link:hover .ll-account-card__link {
	color: var(--ll-petrol-deep);
}

/* Spar-Abo tiles (design .account__item): one per product, stacked; the total once below them. */
:root .ll-account .ll-account-item {
	display: flex;
	align-items: center;
	gap: var(--ll-space-16);
	padding: var(--ll-space-12) var(--ll-space-16);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-r-md);
}

:root .ll-account .ll-account-item img {
	flex: none;
	width: var(--ll-account-thumb);
	height: var(--ll-account-thumb);
	object-fit: contain;
	border-radius: var(--ll-r-sm);
	background: var(--ll-beige);
}

:root .ll-account .ll-account-item__body {
	flex: 1;
	min-width: 0;
}

:root .ll-account .ll-account-item__name {
	font-weight: var(--ll-weight-bold);
	line-height: var(--ll-lh-snug);
	color: var(--ll-ink);
}

:root .ll-account .ll-account-item__meta {
	font-size: var(--ll-tiny);
	color: var(--ll-ink-mute);
}

:root .ll-account .ll-account-item .ll-plan__discount {
	margin: var(--ll-space-4) 0 0;
	white-space: nowrap;
}

:root .ll-account .ll-account-item__price {
	font-weight: var(--ll-weight-bold);
	color: var(--ll-ink);
	font-variant-numeric: tabular-nums;
}

:root .ll-account .ll-account-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--ll-space-16);
	margin-block-start: var(--ll-space-8);
}

:root .ll-account .ll-account-total > span {
	font-size: var(--ll-small);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-ink-mute);
}

:root .ll-account .ll-account-total p {
	text-align: end;
}

:root .ll-account .ll-account-total strong {
	display: block;
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-tight);
	color: var(--ll-ink);
	font-variant-numeric: tabular-nums;
}

:root .ll-account .ll-account-total small {
	display: block;
	font-size: var(--ll-tiny);
	color: var(--ll-ink-mute);
}

/* Spar-Abo (design mein-konto.html, panel «Spar-Abo»; inc/commerce/account-abo.php): cards 24 px apart, inside 16 px;
   the head card with the date and the interval side by side, the deadline as a petrol note, the tiles of the
   dashboard with their actions, «Bestelltermin verschieben» as the small primary button and the other actions as
   text links. */
:root .ll-account .ll-account-abo {
	display: grid;
	gap: var(--ll-space-24);
}

:root .ll-account .ll-account-abo > .ll-account-card {
	gap: var(--ll-space-16);
}

:root .ll-account .ll-account-card h2 {
	margin: 0;
	font-size: var(--ll-h4);
	line-height: var(--ll-lh-tight);
	color: var(--ll-ink);
}

:root .ll-account .ll-account-next,
:root .ll-account .ll-account-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--ll-space-12);
}

:root .ll-account .ll-account-card__head {
	align-items: center;
}

:root .ll-account .ll-account-card .ll-account-note {
	justify-self: start;
	padding: var(--ll-space-8) var(--ll-space-16);
	border-radius: var(--ll-r-md);
	background: var(--ll-petrol-soft);
	font-size: var(--ll-small);
	color: var(--ll-petrol-deep);
}

:root .ll-account .ll-account-acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ll-space-8) var(--ll-space-24);
}

:root .ll-account .ll-account-button {
	--theme-button-padding: var(--ll-space-12) var(--ll-space-24);
	--theme-button-line-height: var(--ll-lh-relaxed);
	--theme-button-font-size: var(--ll-small);
}

:root .ll-account .ll-account-link {
	display: inline-flex;
	align-items: center;
	min-height: var(--ll-tap);
	padding: 0;
	border: 0;
	background: none;
	color: var(--ll-petrol);
	font-size: var(--ll-small);
	font-weight: var(--ll-weight-bold);
	text-decoration: underline;
	text-underline-offset: var(--ll-underline-gap);
	cursor: pointer;
}

:root .ll-account .ll-account-link:hover {
	color: var(--ll-petrol-deep);
}

:root .ll-account .ll-account-acts__payment {
	display: grid;
}

:root .ll-account .ll-account-acts__payment small,
:root .ll-account .ll-account-card small {
	font-size: var(--ll-tiny);
	font-weight: 400;
	color: var(--ll-ink-mute);
}

:root .ll-account .ll-account-item__acts {
	gap: 0 var(--ll-space-16);
}

/* The orders of the subscription: the order list's table inside the card, without a second box. */
:root .ll-account .ll-account-card table.shop_table {
	padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

:root .ll-account .ll-account-addr {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ll-gap-grid);
}

:root .ll-account .ll-account-addr > div {
	display: grid;
	gap: var(--ll-space-8);
	align-content: start;
	padding: var(--ll-space-16) var(--ll-space-24);
	border: 1px solid var(--ll-border);
	border-radius: var(--ll-r-md);
}

:root .ll-account .ll-account-addr h3 {
	margin: 0;
	font-size: var(--ll-body);
	font-weight: var(--ll-weight-bold);
	color: var(--ll-ink);
}

:root .ll-account .ll-account-addr address {
	margin: 0;
	font-style: normal;
}

:root .ll-account .ll-account-cancel {
	margin: 0;
	text-align: center;
}

:root .ll-account .ll-account-cancel a {
	display: inline-flex;
	align-items: center;
	min-height: var(--ll-tap);
	font-size: var(--ll-small);
	color: var(--ll-petrol); /* design: .account__panel p > a wins over .account__cancel a */
	text-decoration: underline;
	text-underline-offset: var(--ll-underline-gap);
}

:root .ll-account .ll-account-cancel a:hover {
	color: var(--ll-petrol-deep);
}

:root .ll-account .ll-account-card .ll-decl-list {
	font-size: var(--ll-small);
}

@media (max-width: 689.98px) {
	:root .ll-account .ll-account-dash,
	:root .ll-account .ll-account-addr {
		grid-template-columns: 1fr;
	}

	:root .ll-account .ll-account-next {
		flex-direction: column;
		gap: var(--ll-space-4);
	}

	/* Design: on the phone every button gets 16 px at top and bottom, .btn--sm included. */
	:root .ll-account .ll-account-acts > .ll-account-button {
		--theme-button-padding: var(--ll-space-16) var(--ll-space-24);
		flex-basis: 100%;
	}
}

/* «Passwort vergessen?» (WooCommerce): a link alone on its line, 16 px high, below the smallest target (WCAG 2.5.8,
   axe target-size in CI 2026-11-24). At least --ll-target-min high, the text centred in it. */
:root .woocommerce-LostPassword a {
	display: inline-flex;
	align-items: center;
	min-block-size: var(--ll-target-min);
}

/* «Passwort anzeigen» (WooCommerce): its button measured 14 × 14 px, below the smallest target (WCAG 2.5.8). At least
   --ll-target-min, the eye icon centred; WooCommerce keeps the position inside the field. */
:root .woocommerce form .show-password-input {
	display: grid;
	place-items: center;
	min-inline-size: var(--ll-target-min);
	min-block-size: var(--ll-target-min);
}
