/* ==========================================================================
   Siegel — WooCommerce page styles
   Applies to: cart, checkout, my-account, order-received, lost-password.
   No Figma node — built from token files to match site fidelity.

   WooCommerce's own stylesheet (woocommerce-general, woocommerce-layout,
   woocommerce-smallscreen) is dequeued in inc/enqueue.php when this loads.
   All WC markup classes are targeted here from scratch.
   ========================================================================== */

/* ============================================================================
   PAGE FRAME
   ============================================================================ */

.wc-main {
	background: var(--bg-secondary);
}

/* ── Title / breadcrumb band ─────────────────────────────────────────────── */

.wc-hero {
	background: var(--bg-primary);
	border-bottom: 1px solid var(--fig-neutral-100);
	padding-block: 40px 48px;
}

.wc-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wc-hero__breadcrumb {
	display: block;
}

.wc-hero__crumb-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.wc-hero__crumb-link {
	color: var(--text-body-primary);
	text-decoration: none;
	transition: color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-hero__crumb-link:hover { color: var(--fig-siegel-red); }
}

.wc-hero__crumb-sep {
	color: var(--fig-neutral-300);
	font-family: var(--font-body);
	font-size: 0.625rem;
}

.wc-hero__crumb-current {
	color: var(--text-heading-primary);
}

.wc-hero__title {
	margin: 0;
	color: var(--text-heading-primary);
}

/* ── Main content band ───────────────────────────────────────────────────── */

.wc-content {
	padding-block: 64px;
}

/* Reset WooCommerce's own .woocommerce wrapper margins */
.wc-content__inner .woocommerce,
.wc-content__inner .woocommerce-page {
	margin: 0;
	padding: 0;
}

/* ============================================================================
   SHARED — form fields, buttons, notices
   ============================================================================ */

/* ── Labels ──────────────────────────────────────────────────────────────── */

.wc-content__inner label,
.wc-content__inner .woocommerce-form__label {
	display: block;
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-heading-primary);
	margin-block-end: 6px;
}

/* ── Inputs ──────────────────────────────────────────────────────────────── */

.wc-content__inner input[type="text"],
.wc-content__inner input[type="email"],
.wc-content__inner input[type="tel"],
.wc-content__inner input[type="password"],
.wc-content__inner input[type="number"],
.wc-content__inner input[type="search"],
.wc-content__inner select,
.wc-content__inner textarea {
	display: block;
	width: 100%;
	padding: 12px 16px;
	background: var(--bg-secondary);
	border: 1px solid var(--fig-neutral-200);
	border-radius: var(--r-sm);
	font: var(--fw-regular) 0.9010162354rem / 1.4 var(--font-body);
	color: var(--text-heading-primary);
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	transition: border-color var(--dur-fast) linear;
}

.wc-content__inner input:focus,
.wc-content__inner select:focus,
.wc-content__inner textarea:focus {
	outline: none;
	border-color: var(--fig-siegel-red);
	box-shadow: 0 0 0 3px var(--fig-red-100);
}

.wc-content__inner select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%23444546' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.wc-content__inner textarea {
	resize: vertical;
	min-height: 120px;
}

/* Optional field indicator */
.wc-content__inner .optional {
	font-weight: var(--fw-regular);
	color: var(--text-body-primary);
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--font-body);
	font-size: 0.75rem;
}

/* Validation states */
.wc-content__inner .woocommerce-invalid input,
.wc-content__inner .woocommerce-invalid select {
	border-color: var(--fig-siegel-red);
}

.wc-content__inner .woocommerce-invalid-required-field label::after {
	content: ' *';
	color: var(--fig-siegel-red);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

/* Primary — red fill
 *
 * The three selectors with .woocommerce in them are not decoration. The
 * plugin's own stylesheet styles its buttons as
 *
 *     :where(body:not(.woocommerce-block-theme-has-button-styles))
 *     :where(:not(.edit-post-visual-editor)) .woocommerce a.button { ... }
 *
 * and :where() contributes NO specificity, so what actually counts is
 * .woocommerce a.button - (0,2,1). This rule was .wc-content__inner .button -
 * (0,2,0) - so WooCommerce won by one element and Orders and Downloads drew
 * its grey pill instead of the red one. Adding the .woocommerce ancestor and
 * the element makes it (0,3,1), which is the smallest change that wins.
 *
 * It only shows up where WooCommerce renders an <a class="button">: the cart
 * and checkout buttons are <button> and <input>, which its rule matches too
 * but which the theme was already styling by element. */
.wc-content__inner .button,
.wc-content__inner button[type="submit"],
.wc-content__inner input[type="submit"],
.wc-content__inner .wc-proceed-to-checkout .checkout-button,
.wc-content__inner .woocommerce a.button,
.wc-content__inner .woocommerce button.button,
.wc-content__inner .woocommerce input.button,
.wc-content__inner .woocommerce a.woocommerce-Button,
.wc-content__inner .woocommerce button.woocommerce-Button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	background: var(--btn-primary);
	color: var(--fig-siegel-white);
	border: none;
	border-radius: var(--r-sm);
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur-fast) linear;
	-webkit-appearance: none;
	appearance: none;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .button:hover,
	.wc-content__inner button[type="submit"]:hover,
	.wc-content__inner input[type="submit"]:hover,
	.wc-content__inner .wc-proceed-to-checkout .checkout-button:hover,
	.wc-content__inner .woocommerce a.button:hover,
	.wc-content__inner .woocommerce button.button:hover,
	.wc-content__inner .woocommerce input.button:hover,
	.wc-content__inner .woocommerce a.woocommerce-Button:hover,
	.wc-content__inner .woocommerce button.woocommerce-Button:hover {
		background: var(--btn-primary-hover);
	}
}

.wc-content__inner .button:focus-visible,
.wc-content__inner button[type="submit"]:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 3px;
}

/* Secondary / outline variant */
.wc-content__inner .button.alt,
.wc-content__inner .woocommerce-Button--next,
.wc-content__inner .woocommerce-Button--previous,
.wc-content__inner .woocommerce a.button.alt,
.wc-content__inner .woocommerce button.button.alt {
	background: transparent;
	color: var(--text-heading-primary);
	border: 1px solid var(--fig-neutral-200);
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .button.alt:hover {
		background: var(--fig-neutral-50);
	}
}

/* Disabled */
.wc-content__inner .button[disabled],
.wc-content__inner .button.disabled,
.wc-content__inner .woocommerce a.button.disabled,
.wc-content__inner .woocommerce button.button[disabled],
.wc-content__inner .woocommerce input.button[disabled] {
	background: var(--btn-disabled);
	color: var(--fig-neutral-400);
	cursor: not-allowed;
	pointer-events: none;
}

/* ── Notices ─────────────────────────────────────────────────────────────── */

.wc-content__inner .woocommerce-message,
.wc-content__inner .woocommerce-info,
.wc-content__inner .woocommerce-error {
	padding: 16px 20px;
	margin-block-end: 24px;
	border-radius: var(--r-sm);
	border-left: 4px solid;
	font-family: var(--font-body);
	font-size: 0.9010162354rem;
	list-style: none;
}

.wc-content__inner .woocommerce-message {
	background: #f0fdf4;
	border-color: var(--fig-siegel-green);
	color: #15803d;
}

/* No blue. Reported, and measured on /account/orders/ logged in: this notice
   drew #1d4ed8 text on #eff6ff behind a #0072ce bar - the only blue on the
   page, and the two hex values are not tokens, they are Tailwind's blues
   typed in by hand. An informational notice carries no colour meaning here,
   so it takes the page's own grey; the red of an error and the green of a
   success still mean what they say. */
.wc-content__inner .woocommerce-info {
	background: var(--bg-primary);
	border-color: var(--fig-neutral-400);
	color: var(--text-heading-primary);
}

.wc-content__inner .woocommerce-error {
	background: var(--fig-red-100);
	border-color: var(--fig-siegel-red);
	color: var(--fig-red-700);
}

.wc-content__inner .woocommerce-message a,
.wc-content__inner .woocommerce-info a,
.wc-content__inner .woocommerce-error a {
	color: inherit;
	font-weight: var(--fw-bold);
}

/* A notice that carries a button - "... has been added to your cart" with
   View cart - laid the button out inline, so it butted straight against the
   last word with no gap at all. At 375 the sentence wraps to two lines and
   the button landed mid-sentence touching "cart.", which reads as two things
   printed on top of each other.

   Flex with a gap: the button sits at the right on a wide notice and drops to
   its own line when the words need the width. :has() keeps this to notices
   that actually contain a button - .woocommerce-error is a <ul> and laying
   ITS list items out in a row would be a different kind of broken. */
.wc-content__inner .woocommerce-message:has(> .button),
.wc-content__inner .woocommerce-info:has(> .button) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

/* ============================================================================
   CART PAGE
   ============================================================================ */

/* Two-column layout: table left, totals right */
.wc-content__inner .woocommerce-cart-form {
	margin: 0;
}

.wc-content__inner .cart-collaterals {
	margin-top: 48px;
}

@media (min-width: 1024px) {
	/* Cart only. Unscoped, this also claimed the checkout and account pages,
	   which have their own layouts. */
	body.woocommerce-cart .wc-content__inner .woocommerce {
		display: grid;
		/* minmax(0, ...) not plain 1fr: a 1fr track will not shrink below its
		   content's minimum, so at ~1024 the cart table's 681px minimum plus the
		   340 totals and the 48 gap came to 1069 in a 929 container, and the
		   totals box ran 100px off the right of the page. */
		grid-template-columns: minmax(0, 1fr) 340px;
		grid-template-rows: auto auto;
		column-gap: 48px;
		align-items: start;
	}

	/* Notices span full width */
	.wc-content__inner .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.wc-content__inner .woocommerce-cart-form {
		grid-column: 1;
		grid-row: 2;
	}

	.wc-content__inner .cart-collaterals {
		grid-column: 2;
		grid-row: 2;
		margin-top: 0;
	}
}

/* ── Cart table ──────────────────────────────────────────────────────────── */

.wc-content__inner table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: none;
	font-family: var(--font-body);
}

.wc-content__inner table.shop_table th {
	padding: 0 16px 16px;
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--fig-neutral-400);
	text-align: left;
	border-bottom: 1px solid var(--fig-neutral-100);
}

.wc-content__inner table.shop_table th.product-remove { width: 40px; }
.wc-content__inner table.shop_table th.product-thumbnail { width: 80px; }
.wc-content__inner table.shop_table th.product-name { min-width: 200px; }
.wc-content__inner table.shop_table th.product-price { width: 120px; }
.wc-content__inner table.shop_table th.product-quantity { width: 120px; }
.wc-content__inner table.shop_table th.product-subtotal { width: 120px; text-align: right; }

.wc-content__inner table.shop_table td {
	padding: 20px 16px;
	border-bottom: 1px solid var(--fig-neutral-100);
	vertical-align: middle;
}

/* Two-column cart, 1024-1439: let the table actually fit its column.
 *
 * Its minimum width is 681px - six columns of 16px side padding, a 200px name
 * column and the fixed thumbnail/price/qty cells - but next to the 340 totals
 * the column is only 541 wide at 1024. The side padding and the name column's
 * floor therefore scale with the viewport: 8px and 140px at 1024, reaching
 * the designed 16px and 200px at 1440 and staying there. Desktop is unchanged;
 * below 1024 the cart is one column and keeps its own rules.
 *
 * Kept after the shop_table rules above on purpose: same specificity, so
 * source order is what lets these win. Scoped to table.cart so the checkout's
 * order-review table, also a shop_table, is not touched. */
@media (min-width: 1024px) {
	.wc-content__inner table.cart th,
	.wc-content__inner table.cart td {
		padding-inline: clamp(8px, 1.923vw - 11.69px, 16px);
	}

	.wc-content__inner table.cart th.product-name {
		min-width: clamp(140px, 14.42vw - 7.7px, 200px);
	}
}

.wc-content__inner table.shop_table tr:last-child td {
	border-bottom: none;
}

/* Product image cell */
.wc-content__inner table.cart td.product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: var(--r-sm);
	background: var(--bg-primary);
	display: block;
}

/* Product name */
.wc-content__inner table.cart td.product-name a {
	font: var(--fw-bold) 0.9010162354rem / 1.3 var(--font-heading);
	letter-spacing: var(--ls-title);
	color: var(--text-heading-primary);
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner table.cart td.product-name a:hover {
		color: var(--fig-siegel-red);
	}
}

.wc-content__inner table.cart td.product-name dl.variation {
	margin: 4px 0 0;
	font-size: 0.75rem;
	color: var(--text-body-primary);
}

/* Price cells */
.wc-content__inner table.cart td.product-price,
.wc-content__inner table.cart td.product-subtotal {
	font: var(--fw-bold) 0.9010162354rem / 1 var(--font-heading);
	color: var(--text-heading-primary);
}

.wc-content__inner table.cart td.product-subtotal {
	text-align: right;
}

/* Remove button */
.wc-content__inner table.cart td.product-remove a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: transparent;
	color: var(--fig-neutral-300);
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none;
	transition: color var(--dur-fast) linear, background var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner table.cart td.product-remove a.remove:hover {
		background: var(--fig-red-100);
		color: var(--fig-siegel-red);
	}
}

/* Quantity input */
.wc-content__inner .quantity {
	display: flex;
	align-items: center;
	gap: 0;
}

.wc-content__inner input.qty {
	width: 64px;
	padding: 8px 10px;
	text-align: center;
	font: var(--fw-bold) 0.9010162354rem / 1 var(--font-heading);
	border: 1px solid var(--fig-neutral-200);
	border-radius: var(--r-sm);
	appearance: textfield;
	-moz-appearance: textfield;
}

.wc-content__inner input.qty::-webkit-outer-spin-button,
.wc-content__inner input.qty::-webkit-inner-spin-button {
	appearance: none;
	-webkit-appearance: none;
}

/* Cart actions row */
.wc-content__inner table.cart td.actions {
	text-align: right;
	padding-top: 24px;
	border-bottom: none;
}

.wc-content__inner table.cart td.actions .coupon {
	display: flex;
	align-items: center;
	gap: 8px;
	float: left;
}

.wc-content__inner table.cart td.actions .coupon input[type="text"] {
	width: 200px;
}

.wc-content__inner table.cart td.actions .coupon .button {
	padding: 12px 20px;
	background: transparent;
	color: var(--text-heading-primary);
	border: 1px solid var(--fig-neutral-200);
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner table.cart td.actions .coupon .button:hover {
		background: var(--fig-neutral-50);
	}
}

.wc-content__inner table.cart td.actions button[name="update_cart"] {
	padding: 12px 24px;
	font-size: 0.6875rem;
}

/* ── Cart totals box ─────────────────────────────────────────────────────── */

.wc-content__inner .cart_totals {
	background: var(--bg-primary);
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	padding: 24px;
}

.wc-content__inner .cart_totals h2 {
	font: var(--fw-bold) 1rem / 1.25 var(--font-heading);
	letter-spacing: var(--ls-tight);
	color: var(--text-heading-primary);
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--fig-neutral-100);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: var(--ls-wide);
}

.wc-content__inner .cart_totals table.shop_table_responsive {
	border: none;
	margin-bottom: 0;
}

.wc-content__inner .cart_totals table.shop_table_responsive th,
.wc-content__inner .cart_totals table.shop_table_responsive td {
	padding: 10px 0;
	border-bottom: 1px solid var(--fig-neutral-100);
}

.wc-content__inner .cart_totals table.shop_table_responsive th {
	font: var(--fw-bold) 0.75rem / 1 var(--font-heading);
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-body-primary);
	width: 50%;
}

.wc-content__inner .cart_totals table.shop_table_responsive td {
	text-align: right;
	font: var(--fw-regular) 0.9010162354rem / 1 var(--font-body);
	color: var(--text-heading-primary);
}

/* Order total row */
.wc-content__inner .cart_totals .order-total th,
.wc-content__inner .cart_totals .order-total td {
	padding-top: 16px;
	border-bottom: none;
	font: var(--fw-bold) 1rem / 1.25 var(--font-heading);
	color: var(--text-heading-primary);
}

/* Shipping row */
.wc-content__inner .cart_totals .shipping td {
	font-size: 0.8009033203rem;
}

.wc-content__inner .woocommerce-shipping-calculator {
	margin-top: 8px;
}

.wc-content__inner .woocommerce-shipping-calculator .shipping-calculator-button {
	font: var(--fw-bold) 0.75rem / 1 var(--font-heading);
	color: var(--fig-siegel-red);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
}

/* The [Remove] link beside an applied coupon, in the cart totals and the
   checkout order review. No rule touched it, so it was the browser's default
   link blue - the only blue on either page. It is the same kind of small
   in-totals action as "Change address" just above, so it wears that style. */
.wc-content__inner .woocommerce-remove-coupon,
.wc-content__inner .woocommerce-remove-coupon:visited {
	margin-left: 4px;
	font: var(--fw-bold) 0.75rem / 1 var(--font-heading);
	color: var(--fig-siegel-red);
	text-decoration: underline;
	cursor: pointer;
}

.wc-content__inner .woocommerce-remove-coupon:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

/* Proceed to checkout button */
.wc-content__inner .wc-proceed-to-checkout {
	margin-top: 20px;
}

.wc-content__inner .wc-proceed-to-checkout .checkout-button {
	/* border-box, or width:100% plus 32px side padding and a 1px border adds
	   66px on top of the 100% and the button hangs out of the totals panel. On
	   mobile that overhang also pushed the whole cart page sideways. */
	box-sizing: border-box;
	width: 100%;
	text-align: center;
}

/* Return to shop link */
.wc-content__inner .return-to-shop {
	margin-top: 24px;
	text-align: center;
}

.wc-content__inner .return-to-shop .button {
	background: transparent;
	color: var(--text-body-primary);
	border: none;
	padding: 0;
	font: var(--fw-regular) 0.9010162354rem / 1 var(--font-body);
	text-decoration: underline;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .return-to-shop .button:hover {
		color: var(--fig-siegel-red);
	}
}

/* Empty cart */
.wc-content__inner .cart-empty {
	text-align: center;
	padding: 64px 0;
	font: var(--fw-regular) 1rem / 1.5 var(--font-body);
	color: var(--text-body-primary);
}

.wc-content__inner p.cart-empty {
	margin-bottom: 24px;
}

/* ============================================================================
   CHECKOUT PAGE
   ============================================================================ */

/* Two-column layout */
@media (min-width: 1024px) {
	/* The columns live on the FORM: #customer_details and #order_review are its
	   children. The old selector wanted ONE element carrying both
	   .woocommerce-checkout and .woocommerce - nothing does. That class sits on
	   the <form> and on <body>, never on the wrapper div, so it never matched
	   and the checkout had no column layout at all. */
	.wc-content__inner form.checkout {
		display: grid;
		grid-template-columns: 1fr 380px;
		column-gap: 64px;
		align-items: start;
	}

	.wc-content__inner .woocommerce-checkout .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	/* Rows are pinned, not left to auto-placement.
	   The form has three children: #customer_details, the "Your order"
	   heading, and #order_review. Column alone was not enough - the heading
	   took the only column-2 cell in row 1, so the review table was pushed
	   into row 2, which begins BELOW the full-height billing column. The
	   heading sat correctly at the top right while its table rendered a
	   thousand pixels further down, under the form.
	   Safe to pin: the notices wrapper is outside the form, so nothing else
	   competes for these rows. */
	/* The left column now carries the whole decision sequence - address,
	   shipping, payment, place order - and the right column is the summary
	   alone, matching the block checkout the client approved.
	   #payment and .siegel-shipping are moved into this column by
	   inc/woocommerce/checkout-layout.php. */
	/* Rows are explicit, and #customer_details spans the summary's two rows.
	   Letting it sit in row 1 alone made row 1 as tall as the whole billing
	   form, so the summary - pinned to row 2 - began a thousand pixels down
	   its own empty column. Spanning it means row 1 is only as tall as the
	   heading, and the summary starts directly beneath it. */
	/* Column 1 is the default for EVERY child of the form, so a field added by
	   a plugin - Square's "Precise Address?", say - lands in the decision
	   column automatically instead of being stranded in the summary. Rows are
	   left to auto-placement for the same reason: the count is not fixed. */
	.wc-content__inner form.checkout > * {
		grid-column: 1;
	}

	/* The block checkout gives the summary no heading - the panel speaks for
	   itself - and removing it here also removes the row it was forcing the
	   summary beneath. The h3 stays in the DOM for screen readers. */
	.wc-content__inner #order_review_heading {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	/* Spans well past the rows the left column uses, so the summary stays at
	   the top of its column instead of being pinned to one row and dragging
	   a gap into the other. align-self keeps it from stretching. */
	/* One item, spanning every row the left column uses, pinned to the top. */
	.wc-content__inner #order_review {
		grid-column: 2;
		grid-row: 1 / span 50;
		align-self: start;
	}

	/* Shipping and payment are pushed to the end of the column regardless of
	   what else the form picks up, so Place Order is always the last thing. */
	.wc-content__inner .siegel-shipping { order: 90; }
	.wc-content__inner #payment { order: 100; }
}

/* ── Section headings (billing, shipping, your order) ───────────────────── */

.wc-content__inner h3#ship-to-different-address,
.wc-content__inner h3#order_review_heading,
.wc-content__inner .woocommerce-billing-fields h3,
.wc-content__inner .woocommerce-shipping-fields h3,
.wc-content__inner .woocommerce-additional-fields h3 {
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-heading-primary);
	margin: 0 0 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--fig-neutral-100);
}

/* ── Form rows ───────────────────────────────────────────────────────────── */

.wc-content__inner .woocommerce-billing-fields__field-wrapper,
.wc-content__inner .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
}

.wc-content__inner p.form-row {
	margin: 0;
}

.wc-content__inner p.form-row-wide,
.wc-content__inner p.form-row-first,
.wc-content__inner p.form-row-last {
	margin: 0;
}

.wc-content__inner p.form-row-wide {
	grid-column: 1 / -1;
}

/* Ship to different address toggle */
.wc-content__inner h3#ship-to-different-address {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	margin-top: 40px;
}

.wc-content__inner h3#ship-to-different-address label {
	margin: 0;
	cursor: pointer;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}

/* The tick box here is drawn in assets/css/forms.css with every other one on
   the site. It used to have its own 18px box with a solid red fill and a
   white tick, which is why signed-out checkout showed four different
   checkboxes at once. Only its position in the heading stays local. */

/* Additional fields / order notes */
.wc-content__inner .woocommerce-additional-fields {
	margin-top: 40px;
}

/* ── Order review table ───────────────────────────────────────────────────── */

.wc-content__inner #order_review {
	background: var(--bg-primary);
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	padding: 24px;
}

.wc-content__inner #order_review table.shop_table {
	margin-bottom: 0;
}

.wc-content__inner #order_review table.shop_table th {
	padding: 0 0 14px;
	font-size: 0.6875rem;
}

.wc-content__inner #order_review table.shop_table td {
	padding: 14px 0;
	text-align: right;
}

.wc-content__inner #order_review table.shop_table .product-name {
	text-align: left;
	font: var(--fw-bold) 0.8009033203rem / 1.3 var(--font-heading);
	letter-spacing: var(--ls-title);
	color: var(--text-heading-primary);
}

.wc-content__inner #order_review table.shop_table .product-total {
	font: var(--fw-bold) 0.9010162354rem / 1 var(--font-heading);
	color: var(--text-heading-primary);
}

.wc-content__inner #order_review .cart_item .product-name .product-quantity {
	font: var(--fw-regular) 0.75rem / 1 var(--font-body);
	color: var(--text-body-primary);
}

.wc-content__inner #order_review .order-total td,
.wc-content__inner #order_review .order-total th {
	font: var(--fw-bold) 1rem / 1 var(--font-heading);
	padding-top: 16px;
	border-bottom: none;
}

/* ── Payment methods ─────────────────────────────────────────────────────── */

.wc-content__inner #payment {
	background: var(--bg-secondary);
	border-radius: var(--r-sm);
	margin-top: 24px;
}

.wc-content__inner #payment .wc_payment_methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

/* Each method is a card, and the ROW lives on the <li>.
 *
 * WooCommerce renders the radio as a SIBLING of the label, not inside it:
 *   <li> <input type="radio"> <label>…</label> <div class="payment_box">…
 *
 * The previous rule put display:flex on the LABEL, which only laid out the
 * label's own text and left it a full-width block — so it dropped onto the
 * line below its radio, with nothing indented and no padding. Putting the
 * grid on the <li> is what actually pairs the control with its name. */
.wc-content__inner #payment .wc_payment_method {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 12px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--bg-primary);
	transition: border-color var(--dur-fast) linear;
}

/* The selected method is the one thing here that should read as chosen, so it
   takes the brand stroke rather than a fill — a tint would fight the panel. */
.wc-content__inner #payment .wc_payment_method:has(input:checked) {
	border-color: var(--fig-siegel-red);
}

.wc-content__inner #payment .wc_payment_method > input[type="radio"] {
	grid-column: 1;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--fig-siegel-red);
}

.wc-content__inner #payment .wc_payment_method > label {
	grid-column: 2;
	display: block;
	margin: 0;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	font: var(--fw-bold) 0.9010162354rem / 1.25 var(--font-heading);
	color: var(--text-heading-primary);
}

.wc-content__inner #payment .wc_payment_method label img {
	height: 24px;
	width: auto;
	vertical-align: middle;
}

/* Column 2 so the description hangs under the NAME, not under the radio —
   the indent is what makes the pair read as one block. */
.wc-content__inner #payment .payment_box {
	grid-column: 2;
	padding: 8px 0 0;
	font: var(--fw-regular) 0.8009033203rem / 1.5 var(--font-body);
	color: var(--text-body-primary);
}

.wc-content__inner #payment .payment_box p {
	margin: 0;
}

.wc-content__inner #payment .place-order {
	margin-top: 24px;
}

.wc-content__inner #payment .place-order #place_order {
	width: 100%;
}

/* Privacy / terms note */
.wc-content__inner .woocommerce-terms-and-conditions-wrapper {
	font: var(--fw-regular) 0.8009033203rem / 1.5 var(--font-body);
	color: var(--text-body-primary);
	margin-bottom: 16px;
}

.wc-content__inner .woocommerce-terms-and-conditions-wrapper a {
	color: var(--fig-siegel-red);
}

/* ── Order received ──────────────────────────────────────────────────────── */

/* Two columns: what was bought on the left, where it is going on the right,
   with the thank-you line and the order summary spanning both.

   It was a single 720px column with everything stacked - thank you, summary,
   items, then addresses a screen further down - which is a lot of scrolling
   to confirm one purchase.

   The grid collapses to one column below 900, which is what the client asked
   for and what the content wants anyway: an address and a table of items
   side by side need the width.

   :last-child is doing real work in here. An order with no stored addresses -
   a guest checkout that never filled them, or a test order - renders no
   customer-details section at all, and without this the items table would sit
   in the left track with an empty column beside it. */
.wc-content__inner .woocommerce-order {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
	max-width: none;
}

@media (min-width: 900px) {
	.wc-content__inner .woocommerce-order {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: 32px;
	}

	.wc-content__inner .woocommerce-order > .woocommerce-notice,
	.wc-content__inner .woocommerce-order > .woocommerce-order-overview {
		grid-column: 1 / -1;
	}

	/* Nothing to put beside it: let it keep the old single-column width. */
	.wc-content__inner .woocommerce-order > .woocommerce-order-details:last-child {
		grid-column: 1 / -1;
		max-width: 720px;
	}
}

.wc-content__inner .woocommerce-order > .woocommerce-order-details,
.wc-content__inner .woocommerce-order > .woocommerce-customer-details {
	box-sizing: border-box;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--fig-siegel-white);
}

@media (min-width: 768px) {
	.wc-content__inner .woocommerce-order > .woocommerce-order-details,
	.wc-content__inner .woocommerce-order > .woocommerce-customer-details {
		padding: 32px;
	}
}

.wc-content__inner .woocommerce-order > section > h2:first-child {
	margin: 0 0 24px;
}

/* The one sentence that says it worked, which was body copy among body copy.
   margin-block-end because margin: 0 left it sitting directly on top of the
   box below - measured at 0px between them on the live page. */
.wc-content__inner .woocommerce-thankyou-order-received {
	margin: 0 0 24px;
	font: var(--fw-bold) 1.25rem / 1.5rem var(--font-heading);
	color: var(--text-heading-primary);
}

/* ── Order received, signed out ───────────────────────────────────────────
   A guest following the link from their confirmation email does not see the
   order: WooCommerce asks them to log in or to confirm the email address the
   order was placed with. That form arrived as loose markup on a white page -
   a sentence, a field and a button, all flush left against nothing.

   Boxed like the Login and Register panels on the account page, so the two
   places the site asks you to identify yourself look like each other.

   The whole block is centred at 560 rather than left in a 1345px row. A
   single short form pinned to the left edge of a wide page reads as the
   page having failed to load the rest of itself; centred, it reads as a
   step to complete. This is the one screen on the site that is a single
   task with nothing else on it. */
.wc-content__inner .woocommerce:has(.woocommerce-verify-email) {
	max-width: 560px;
	margin-inline: auto;
}

.wc-content__inner .woocommerce:has(.woocommerce-verify-email) .woocommerce-thankyou-order-received {
	text-align: center;
}

.wc-content__inner .woocommerce-verify-email {
	box-sizing: border-box;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--fig-siegel-white);
}

@media (min-width: 768px) {
	.wc-content__inner .woocommerce-verify-email {
		padding: 32px;
	}
}

/* The explaining sentence gets its own breathing room; the rows are tighter
   to each other than they are to it. */
.wc-content__inner .woocommerce-verify-email > p:first-of-type {
	margin: 0 0 24px;
	color: var(--text-body-primary);
}

.wc-content__inner .woocommerce-verify-email .form-row {
	margin: 0 0 16px;
}

.wc-content__inner .woocommerce-verify-email .form-row label {
	display: block;
	margin: 0 0 6px;
}

/* Full width: there is one action in this box, and a 110px button adrift at
   the bottom left of a 560px card is the sort of thing that reads as
   unfinished. */
.wc-content__inner .woocommerce-verify-email button {
	width: 100%;
}

.wc-content__inner .woocommerce-verify-email .form-row:last-child {
	margin: 0;
}

.wc-content__inner .woocommerce-verify-email input[type="email"] {
	box-sizing: border-box;
	width: 100%;
}

/* "...you must either login or verify..." - the one link in the box, and the
   browser's blue without this. */
.wc-content__inner .woocommerce-verify-email a {
	color: var(--fig-siegel-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* WooCommerce wraps the order number, the date and the status in <mark>,
   which every browser paints highlighter-yellow. On "Order #2843 was placed
   on 8 November, 2026 and is currently Cancelled" that is three yellow
   blocks in one sentence, and it reads as a page someone has scribbled on.
   Reported by the client. <mark> stays in the markup - it is telling a
   screen reader these are the values that matter - it just stops shouting. */
.wc-content__inner mark,
.wc-content__inner .woocommerce-order-overview mark {
	background: none;
	color: var(--text-heading-primary);
	font-weight: var(--fw-bold);
}

.wc-content__inner .woocommerce-order-overview {
	list-style: none;
	margin: 0 0 40px;
	padding: 24px;
	background: var(--bg-primary);
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
}

.wc-content__inner .woocommerce-order-overview li {
	font: var(--fw-bold) 0.75rem / 1 var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--fig-neutral-400);
}

.wc-content__inner .woocommerce-order-overview li strong {
	display: block;
	font: var(--fw-bold) 1rem / 1.25 var(--font-heading);
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-heading-primary);
	margin-top: 4px;
}

/* ============================================================================
   MY ACCOUNT PAGE
   ============================================================================ */

@media (min-width: 768px) {
	.wc-content__inner .woocommerce-MyAccount-navigation + .woocommerce-MyAccount-content {
		/* Reset — layout handled below */
	}

	/* My Account only: 220px navigation + content. Unscoped, this was the last
	   grid rule to match the checkout wrapper, which squeezed the entire
	   checkout form into the 220px navigation track.

	   :has() narrows it further, to account pages that actually HAVE a
	   navigation - which means logged in. Logged out there is no nav, so
	   Login and Register were landing in the 220px track together: measured
	   on /account/, both forms inside a 220px column on a 1236px page, with
	   the fields at 220px and the rest of the row empty. */
	body.woocommerce-account .wc-content__inner .woocommerce {
		display: block;
	}

	body.woocommerce-account .wc-content__inner .woocommerce:has(.woocommerce-MyAccount-navigation) {
		display: grid;
		grid-template-columns: 220px 1fr;
		column-gap: 64px;
		align-items: start;
	}

	/* Notices span full width */
	.wc-content__inner .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.wc-content__inner .woocommerce-MyAccount-navigation {
		grid-column: 1;
	}

	.wc-content__inner .woocommerce-MyAccount-content {
		grid-column: 2;
	}
}

/* ── Navigation sidebar ──────────────────────────────────────────────────── */

.wc-content__inner .woocommerce-MyAccount-navigation {
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	overflow: hidden;
}

.wc-content__inner .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wc-content__inner .woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid var(--fig-neutral-100);
}

.wc-content__inner .woocommerce-MyAccount-navigation ul li:last-child {
	border-bottom: none;
}

.wc-content__inner .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 14px 20px;
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-heading-primary);
	text-decoration: none;
	border-left: 3px solid transparent;
	transition:
		color var(--dur-fast) linear,
		border-color var(--dur-fast) linear,
		background var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .woocommerce-MyAccount-navigation ul li a:hover {
		color: var(--fig-siegel-red);
		background: var(--bg-primary);
		border-left-color: var(--fig-siegel-red);
	}
}

.wc-content__inner .woocommerce-MyAccount-navigation ul li.is-active a,
.wc-content__inner .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
	color: var(--fig-siegel-red);
	background: var(--bg-primary);
	border-left-color: var(--fig-siegel-red);
}

/* Logout link — muted */
.wc-content__inner .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--text-body-primary);
	font-weight: var(--fw-regular);
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--font-body);
}

/* ── Account content area ────────────────────────────────────────────────── */

.wc-content__inner .woocommerce-MyAccount-content {
	font: var(--fw-regular) 0.9010162354rem / 1.6 var(--font-body);
	color: var(--text-body-primary);
}

/* No blue anywhere in this design.
 *
 * The content area set its own colour but said nothing about links, so the
 * order numbers on Orders, the file names on Downloads and the inline links
 * in the notices fell through to the browser's default - blue, underlined,
 * and purple once visited. Buttons are excluded: they carry their own
 * colours from the rules above. */
.wc-content__inner .woocommerce-MyAccount-content a:not(.button):not([class*="woocommerce-Button"]),
.wc-content__inner .woocommerce-MyAccount-content a:not(.button):not([class*="woocommerce-Button"]):visited {
	color: var(--text-heading-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .woocommerce-MyAccount-content a:not(.button):not([class*="woocommerce-Button"]):hover {
		color: var(--fig-siegel-red);
	}
}

.wc-content__inner .woocommerce-MyAccount-content a:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

.wc-content__inner .woocommerce-MyAccount-content p {
	margin: 0 0 16px;
}

.wc-content__inner .woocommerce-MyAccount-content h2,
.wc-content__inner .woocommerce-MyAccount-content h3 {
	font-family: var(--font-heading);
	font-weight: var(--fw-bold);
	color: var(--text-heading-primary);
	letter-spacing: var(--ls-tight);
	margin: 0 0 20px;
}

.wc-content__inner .woocommerce-MyAccount-content h2 { font-size: 1.25rem; }
.wc-content__inner .woocommerce-MyAccount-content h3 { font-size: 1rem; }

/* Orders table */
.wc-content__inner .woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
}

.wc-content__inner .woocommerce-orders-table th {
	padding: 0 16px 14px;
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--fig-neutral-400);
	text-align: left;
	border-bottom: 1px solid var(--fig-neutral-100);
}

.wc-content__inner .woocommerce-orders-table td {
	padding: 16px;
	border-bottom: 1px solid var(--fig-neutral-100);
	font: var(--fw-regular) 0.8009033203rem / 1 var(--font-body);
	color: var(--text-heading-primary);
}

.wc-content__inner .woocommerce-orders-table .button {
	padding: 8px 16px;
	font-size: 0.6875rem;
}

/* The Order cell is a <th scope="row">, not a <td>. Left alone it picks up the
   thead treatment above - uppercase, grey, bold Aktiv, zero top padding - so
   the order number sat 20px higher than everything else on its own row.
   And table.shop_table drops the border under its last row, which is right for
   the cart but left the orders list with no line under the final order. */
.wc-content__inner .woocommerce-orders-table tbody th {
	padding: 20px 16px;
	font: var(--fw-regular) 0.8009033203rem / 1 var(--font-body);
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-heading-primary);
	vertical-align: middle;
}

.wc-content__inner .woocommerce-orders-table tbody tr:last-child th,
.wc-content__inner .woocommerce-orders-table tbody tr:last-child td {
	border-bottom: 1px solid var(--fig-neutral-100);
}

/* Addresses */
.wc-content__inner .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.wc-content__inner .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.wc-content__inner .woocommerce-Address-title h3 {
	margin: 0;
}

.wc-content__inner .woocommerce-Address-title .edit {
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--fig-siegel-red);
	text-decoration: none;
}

.wc-content__inner address {
	font-style: normal;
	font: var(--fw-regular) 0.9010162354rem / 1.6 var(--font-body);
	color: var(--text-body-primary);
}

/* Account details / edit account form */
.wc-content__inner .woocommerce-EditAccountForm .form-row {
	margin-bottom: 20px;
}

.wc-content__inner .woocommerce-EditAccountForm fieldset {
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	padding: 20px;
	margin-top: 32px;
}

.wc-content__inner .woocommerce-EditAccountForm legend {
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-heading-primary);
	padding-inline: 8px;
}

/* ── Signed out at checkout ───────────────────────────────────────────────
   The login and coupon forms only render for a guest, so they were never
   looked at while the rest of the checkout was being built. Reported by the
   client, and measured signed out: the coupon input ran the full 1345px
   container, and "Lost your password?" was rgb(0,0,238) - the browser's
   default link blue, with no rule of any kind touching it.
   ------------------------------------------------------------------------ */

/* Login / register form */
.wc-content__inner .woocommerce-form-login,
.wc-content__inner .woocommerce-form-register {
	max-width: 480px;
}

/* ── Lost password, and setting the new one ──────────────────────────────
   /account/lost-password/ had no styling of its own at all: the form, its
   one field and its button ran the full 1345px container on an otherwise
   empty page, which reads as a page that failed to finish loading rather
   than as a task to complete.

   Boxed and centred at 560, the same treatment as the signed-out
   order-received screen next door - the two are the same kind of page, one
   short form and nothing else on it. .lost_reset_password is on both the
   "enter your email" form and the "choose a new password" form that follows
   the emailed link, so both get it. */
.wc-content__inner .woocommerce:has(.lost_reset_password) {
	max-width: 560px;
	margin-inline: auto;
}

.wc-content__inner .lost_reset_password {
	box-sizing: border-box;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--fig-siegel-white);
}

@media (min-width: 768px) {
	.wc-content__inner .lost_reset_password {
		padding: 32px;
	}
}

/* The explaining sentence gets room; the rows are tighter to each other
   than they are to it. */
.wc-content__inner .lost_reset_password > p:first-of-type {
	margin: 0 0 24px;
	color: var(--text-body-primary);
}

.wc-content__inner .lost_reset_password .form-row {
	margin: 0 0 16px;
	width: auto;
	float: none;
}

.wc-content__inner .lost_reset_password .form-row:last-of-type {
	margin: 0;
}

.wc-content__inner .lost_reset_password label {
	display: block;
	margin: 0 0 6px;
}

.wc-content__inner .lost_reset_password .input-text {
	box-sizing: border-box;
	width: 100%;
}

/* One action in the box; a 150px button adrift at the bottom left of a
   560px card reads as unfinished. */
.wc-content__inner .lost_reset_password .button {
	width: 100%;
}

/* The coupon row: a field and its button, side by side, on the same width as
   the login form above it so the two read as one stack rather than one form
   and one full-bleed band. */
.wc-content__inner .checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 12px;
	max-width: 480px;
	margin: 0 0 24px;
}

.wc-content__inner .checkout_coupon .form-row {
	margin: 0;
}

.wc-content__inner .checkout_coupon .form-row-first {
	flex: 1 1 200px;
}

.wc-content__inner .checkout_coupon .form-row-last {
	flex: 0 0 auto;
}

/* The clearfix WooCommerce prints after the two rows would otherwise take a
   line of its own in a flex container. */
.wc-content__inner .checkout_coupon .clear {
	display: none;
}

.wc-content__inner .checkout_coupon .input-text {
	box-sizing: border-box;
	width: 100%;
}

/* Default blue, on a page with no other blue on it. The bottom margin is
   doing separate work: measured at 0px, the link was sitting directly on
   the "Have a coupon?" bar below it. */
.wc-content__inner .lost_password {
	margin: 16px 0 24px;
}

.wc-content__inner .lost_password a {
	color: var(--fig-siegel-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wc-content__inner .woocommerce-form-login .form-row,
.wc-content__inner .woocommerce-form-register .form-row {
	margin-bottom: 20px;
}

/* Every checkbox label WooCommerce prints: Remember me, Create an account?,
   and anything a plugin adds with the same class. They were display:block,
   so a 20px box and its words did not share a line, and they carried the
   6px bottom margin meant for a FIELD label - which is what left 6px
   between "Remember me" and the Login button underneath it. */
.wc-content__inner .woocommerce-form__label-for-checkbox,
.wc-content__inner .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

/* The button is a sibling of the Remember me label inside one <p>. */
.wc-content__inner .woocommerce-form-login__submit {
	margin-top: 16px;
}

/* "Create an account?" sat on the bottom edge of the email field - measured
   at 0px between them. */
.wc-content__inner .woocommerce-account-fields {
	margin-top: 20px;
}

/* Its box is drawn in forms.css too - it was the 16px one. */

.wc-content__inner .woocommerce-form-login__rememberme label {
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
	font: var(--fw-regular) 0.9010162354rem / 1 var(--font-body);
	cursor: pointer;
}

.wc-content__inner .woocommerce-LostPassword {
	margin-top: 12px;
}

.wc-content__inner .woocommerce-LostPassword a {
	font: var(--fw-regular) 0.8009033203rem / 1 var(--font-body);
	color: var(--fig-siegel-red);
}

/* The privacy sentence under the Register form - and the same sentence at
   checkout - links out to the policy page. Nothing set a colour on it, so it
   came out as the browser's default #0000EE: measured on /account/ logged
   out, the single blue element on the page. Red, like "Lost your password?"
   directly above it. */
.wc-content__inner .woocommerce-privacy-policy-text a,
.wc-content__inner .woocommerce-terms-and-conditions-wrapper a {
	color: var(--fig-siegel-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* WooCommerce's reveal-password control, which was rendering as a 16x6 grey
   nub with an outset border beside the password field.

   It is a <button> with no text; its eye comes from the WooCommerce icon font
   through ::after, and this theme does not load that font, so there was
   nothing to see but the browser's default button chrome. Drawn here instead,
   at a size worth tapping. */
.wc-content__inner .woocommerce form .password-input {
	position: relative;
	display: block;
}

.wc-content__inner .woocommerce form .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: var(--r-xs);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6d6f' stroke-width='1.6'%3E%3Cpath d='M1.5 12S5 5.5 12 5.5 22.5 12 22.5 12 19 18.5 12 18.5 1.5 12 1.5 12Z'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
	cursor: pointer;
	opacity: 0.65;
	transition: opacity var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .woocommerce form .show-password-input:hover {
		opacity: 1;
	}
}

.wc-content__inner .woocommerce form .show-password-input.display-password {
	opacity: 1;
}

.wc-content__inner .woocommerce form .show-password-input:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

/* ── Login and Register, side by side in their own boxes ──────────────────
   The rule here before this one never fired: it read
   .wc-content__inner .woocommerce-account .woocommerce:not(.logged-in), and
   woocommerce-account is a BODY class, so it was looking for it inside the
   content wrapper where it has never been. Hence a page with two forms
   stacked in a narrow column, which is what was reported.

   Each column is a bordered box on the theme's own radius, the same one the
   account navigation uses, and they stretch to equal height so the pair
   reads as one unit rather than two notes of different lengths.

   SCOPED TO #customer_login, NOT .col2-set. The first version of this used
   .col2-set, which is the class WooCommerce wraps Login and Register in -
   and ALSO the class on #customer_details at checkout, and on the pair of
   address cards under My account. So the billing and shipping fieldsets got
   boxed and forced into two 434px columns with their inputs squeezed to
   172px, which is what broke the checkout layout. The id belongs to the
   login screen alone and cannot reach either of them. */
.wc-content__inner #customer_login {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: stretch;
}

@media (min-width: 900px) {
	.wc-content__inner #customer_login {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

.wc-content__inner #customer_login > div {
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--fig-siegel-white);
}

@media (min-width: 768px) {
	.wc-content__inner #customer_login > div {
		padding: 32px;
	}
}

.wc-content__inner #customer_login h2 {
	margin: 0 0 24px;
}

.wc-content__inner #customer_login .form-row {
	margin: 0 0 16px;
}

/* The fields were sized by the column; now the column is wide, they need
   telling. Checkboxes and submits keep their own widths. */
.wc-content__inner #customer_login input:not([type="checkbox"]):not([type="submit"]) {
	box-sizing: border-box;
	width: 100%;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1023px) {
	.wc-content__inner .woocommerce-cart-form,
	.wc-content__inner .cart-collaterals {
		grid-column: 1 / -1;
	}

	.wc-content__inner .woocommerce:has(.woocommerce-cart-form) {
		grid-template-columns: 1fr;
	}

	/* Checkout, stacked.

	   inc/woocommerce/checkout-layout.php moves #payment - and Place Order
	   inside it - up into the left column, which is right for the two-column
	   desktop where the summary sits in its own column alongside. Below 1024
	   there is no second column, so the source order showed through and the
	   page read: address, shipping, payment, PLACE ORDER, and only then YOUR
	   ORDER with the totals. You were asked to commit before being shown what
	   you were committing to.

	   The desktop block already orders this column with order: 90 and 100; the
	   same mechanism puts the summary between the two, so the sequence is
	   address, shipping, what it costs, how to pay, place order. The totals
	   are read directly above the button, with the shipping choice that
	   produced them just above that. */
	.wc-content__inner form.checkout {
		display: flex;
		flex-direction: column;
	}

	.wc-content__inner #order_review_heading { order: 90; }

	/* The 40px top margin is desktop rhythm, where this panel starts a column.
	   Here it follows its own heading, which already carries 24px. */
	.wc-content__inner #order_review {
		order: 91;
		margin-top: 0;
	}

	.wc-content__inner #payment { order: 100; }
}

@media (max-width: 767px) {
	.wc-content {
		padding-block: 40px;
	}

	.wc-hero {
		padding-block: 24px 32px;
	}

	/* Cart: responsive table — stack cells */
	.wc-content__inner table.shop_table thead {
		display: none;
	}

	.wc-content__inner table.shop_table,
	.wc-content__inner table.shop_table tbody,
	.wc-content__inner table.shop_table tr,
	.wc-content__inner table.shop_table td {
		display: block;
		width: 100%;
	}

	/* ...except the checkout summary, which is not a cart table.

	   The rule above was written for the cart - table.cart gets its own grid
	   immediately below - but .shop_table also matches the checkout review
	   table, and stacking that one wrecked it: tr and td became blocks while
	   th stayed a table-cell, so every line split in two, with the amount
	   alone underneath its label in a half-width right-aligned box. Subtotal,
	   shipping, GST and Total each took two lines and none of the figures
	   lined up with anything.

	   It is two columns of short text. It wants to stay a table. */
	/* ...and nor is the order details table, on order-received or on
	   view-order under My account. Same story as the checkout summary
	   below it: .shop_table matched a rule written for the cart, so every
	   line split in two with the amount stranded under its label. The
	   client reported it as mobile formatting on both pages. */
	.wc-content__inner table.woocommerce-table--order-details,
	.wc-content__inner table.woocommerce-table--order-details tbody,
	.wc-content__inner table.woocommerce-table--order-details tfoot,
	.wc-content__inner table.woocommerce-checkout-review-order-table,
	.wc-content__inner table.woocommerce-checkout-review-order-table tbody,
	.wc-content__inner table.woocommerce-checkout-review-order-table tfoot {
		display: revert;
		width: 100%;
	}

	.wc-content__inner table.woocommerce-table--order-details tr,
	.wc-content__inner table.woocommerce-checkout-review-order-table tr {
		display: table-row;
		width: auto;
	}

	.wc-content__inner table.woocommerce-table--order-details th,
	.wc-content__inner table.woocommerce-table--order-details td,
	.wc-content__inner table.woocommerce-checkout-review-order-table th,
	.wc-content__inner table.woocommerce-checkout-review-order-table td {
		display: table-cell;
		width: auto;
	}

	.wc-content__inner table.woocommerce-table--order-details th,
	.wc-content__inner table.woocommerce-checkout-review-order-table th {
		text-align: left;
	}

	.wc-content__inner table.woocommerce-table--order-details td,
	.wc-content__inner table.woocommerce-checkout-review-order-table td {
		text-align: right;
	}

	.wc-content__inner table.cart tr {
		position: relative;
		padding: 16px 0;
		border-bottom: 1px solid var(--fig-neutral-100);
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-rows: auto auto;
		gap: 8px 12px;
		align-items: start;
	}

	.wc-content__inner table.cart td {
		padding: 0;
		border: none;
	}

	.wc-content__inner table.cart td.product-remove {
		grid-column: 3;
		grid-row: 1;
	}

	.wc-content__inner table.cart td.product-thumbnail {
		grid-column: 1;
		grid-row: 1 / 3;
	}

	.wc-content__inner table.cart td.product-name {
		grid-column: 2;
		grid-row: 1;
	}

	.wc-content__inner table.cart td.product-price {
		grid-column: 2;
		grid-row: 2;
	}

	.wc-content__inner table.cart td.product-price::before {
		content: attr(data-title) ': ';
		font-weight: var(--fw-regular);
		color: var(--text-body-primary);
		font-size: 0.8009033203rem;
	}

	.wc-content__inner table.cart td.product-quantity {
		grid-column: 2;
		grid-row: 3;
	}

	.wc-content__inner table.cart td.product-subtotal {
		display: none; /* price × qty readable without a third column */
	}

	.wc-content__inner table.cart td.actions {
		grid-column: 1 / -1;
	}

	.wc-content__inner table.cart td.actions .coupon {
		flex-direction: column;
		align-items: flex-start;
	}

	.wc-content__inner table.cart td.actions .coupon input[type="text"] {
		width: 100%;
	}

	/* Checkout: single column */
	.wc-content__inner form.checkout {
		grid-template-columns: 1fr;
	}

	.wc-content__inner .woocommerce-billing-fields__field-wrapper,
	.wc-content__inner .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.wc-content__inner #order_review {
		margin-top: 40px;
	}

	/* My account: single column */
	.wc-content__inner .woocommerce {
		grid-template-columns: 1fr;
	}

	.wc-content__inner .woocommerce-MyAccount-navigation {
		margin-bottom: 32px;
	}

	.wc-content__inner .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.wc-content__inner table.cart td.product-name a {
		font-size: 0.8009033203rem;
	}
}

/* ============================================================================
   PALLET FORKLIFT CONFIRMATION
   Rendered by inc/woocommerce/pallet-forklift.php, immediately above Place
   Order and only when a pallet is in the cart. This is a gate on the order,
   not a preference, so it reads at body weight rather than as fine print.
   ============================================================================ */

.siegel-forklift {
	margin-block: 16px 24px;
	padding-top: 16px;
	border-top: 1px solid var(--fig-neutral-100);
}

/* Scoped to .wc-content__inner to outrank its own `label` rule, which sets
   every checkout label bold, 0.75rem, uppercase and tracked out for field
   captions like "FIRST NAME *". This one is a sentence the customer has to
   read and agree to, so it is reset to body copy. */
.wc-content__inner .siegel-forklift__label {
	display: flex;
	font: var(--fw-regular) 0.875rem / 1.375rem var(--font-body);
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-body-primary);
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	/* The label is the hit area. The box itself is 20px, well under the 44px
	   minimum, so the padding here is what makes it reliably tappable rather
	   than growing the control and breaking the drawn proportion. */
	padding-block: 12px;
}

/* The box itself is drawn in assets/css/forms.css, with the contact form's.
   What stays here is where it sits, which is a fact about this label and not
   about the control: flex-start pins the box to the text BLOCK, which sits a
   couple of pixels above the first line's cap height on a wrapping label. */
.siegel-forklift__input,
.siegel-terms__input {
	margin: 2px 0 0;
}

.wc-content__inner .siegel-forklift__text {
	text-transform: none;
	letter-spacing: normal;
}

/* Advisory line under the tick box, for the customer who cannot tick it.
   Indented to the label's TEXT rather than its box - 18px control plus the
   label's own 12px gap - so the two read as one block instead of the second
   line starting further left than the first. Same size as the label it
   follows, set apart by colour alone. */
.wc-content__inner .siegel-forklift__help {
	margin: -6px 0 0;
	padding-left: 30px;
	font: var(--fw-regular) 0.875rem / 1.375rem var(--font-body);
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-caption);
}

/* ── Terms acknowledgement ───────────────────────────────────────────────
   The sibling of the forklift confirmation, and deliberately identical: two
   gates above the same button that looked different from each other would
   read as one being an afterthought. The rules are shared rather than
   duplicated so they cannot drift apart later.

   It carries no top border of its own - the forklift box above it already
   draws one when both are showing, and two lines would box the pair in. */
.siegel-terms {
	margin-block: 0 24px;
}

.siegel-terms:first-child {
	margin-block-start: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--fig-neutral-100);
}

.wc-content__inner .siegel-terms__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-block: 12px;
	font: var(--fw-regular) 0.875rem / 1.375rem var(--font-body);
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-body-primary);
	cursor: pointer;
}

/* The tick box itself is drawn with the forklift one above - they are the
   same control and were already identical. */

.wc-content__inner .siegel-terms__text {
	text-transform: none;
	letter-spacing: normal;
}

.wc-content__inner .siegel-terms__text a {
	color: var(--fig-siegel-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wc-content__inner .siegel-terms__text .required {
	border: 0;
	color: var(--fig-siegel-red);
	text-decoration: none;
}

/* ============================================================================
   SCREEN-READER-ONLY TEXT

   WooCommerce marks up labels it does not want drawn - "Remove item",
   "Thumbnail image", and a per-row "<product> quantity" label on every qty
   input - with .screen-reader-text, and relies on woocommerce-general to hide
   them. inc/enqueue.php dequeues that sheet on exactly these three pages so
   this file can own the styling, which left the class with no rule at all:
   the cart drew "REMOVE ITEM", "THUMBNAIL IMAGE" and the product name again
   inside the quantity column.

   Other pages were never affected - WooCommerce's sheet still loads there.
   The theme's own skip link is handled separately in header.css.
   ============================================================================ */

.wc-content__inner .screen-reader-text,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Still reachable by keyboard: anything focusable in here comes back into
   view rather than moving focus to something nobody can see. */
.wc-content__inner .screen-reader-text:focus,
.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
}

/* ============================================================================
   ORDER REVIEW — PRODUCT THUMBNAILS
   Added by woocommerce/checkout/review-order.php so the summary reads like
   the cart. The image is decorative: the product name sits right beside it,
   so the markup marks it aria-hidden rather than repeating the name to a
   screen reader.
   ============================================================================ */

.wc-content__inner .woocommerce-checkout-review-order-table td.product-name {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.wc-content__inner .siegel-review__thumb {
	flex: 0 0 auto;
	width: 48px;
	line-height: 0;
}

.wc-content__inner .siegel-review__img {
	/* border-box so the 1px border sits inside the 48, not on top of it - */
	/* content-box was drawing these 50px square. */
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--bg-primary);
}

/* The name, quantity and any variation data stay one block beside the image. */
.wc-content__inner .siegel-review__text {
	flex: 1 1 auto;
	min-width: 0;
}

/* The product name was drawing in the browser's default link blue and
   underlined - the only blue on the checkout, and reported as such. It is a
   line in a list of what you are buying, not a call to action: it keeps the
   heading colour, and the hover underline is what says it is clickable. The
   same reasoning as the cart drawer, which reads the same way.

   The thumbnail is wrapped in the same link, so the picture and the words go
   to one place; line-height:0 on the wrapper keeps the image flush. */
.wc-content__inner .siegel-review__text a {
	color: var(--text-heading-primary);
	text-decoration: none;
	font-weight: inherit;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .siegel-review__text a:hover {
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

.wc-content__inner .siegel-review__text a:focus-visible,
.wc-content__inner .siegel-review__thumb a:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

.wc-content__inner .siegel-review__thumb a {
	display: block;
	line-height: 0;
}

/* ============================================================================
   SHIPPING OPTIONS (left column)
   Same card language as the payment methods so the two read as one sequence.
   ============================================================================ */

.wc-content__inner .siegel-shipping:empty { display: none; }

.wc-content__inner .siegel-shipping__title,
.wc-content__inner #payment > h3,
.wc-content__inner .siegel-payment-title {
	font: var(--fw-bold) 1rem / 1.25 var(--font-heading);
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-heading-primary);
	margin: 32px 0 12px;
}

.wc-content__inner .siegel-shipping__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.wc-content__inner .siegel-shipping__option {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 12px;
	padding: 16px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--bg-primary);
	transition: border-color var(--dur-fast) linear;
}

.wc-content__inner .siegel-shipping__option:has(input:checked) {
	border-color: var(--fig-siegel-red);
}

.wc-content__inner .siegel-shipping__input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--fig-siegel-red);
}

.wc-content__inner .siegel-shipping__label {
	display: block;
	margin: 0;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	font: var(--fw-bold) 0.75rem / 1.25 var(--font-heading);
	color: var(--text-heading-primary);
}

.wc-content__inner .siegel-shipping__cost {
	font: var(--fw-bold) 0.75rem / 1.25 var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-heading-primary);
}

/* ============================================================================
   PLACE ORDER BUTTON
   It was inheriting the generic secondary button - transparent on a grey
   hairline - which made the single most important control on the site look
   like a disabled one. It carries the brand red, as the PDP add-to-cart does.
   ============================================================================ */

.wc-content__inner #payment .place-order #place_order,
.wc-content__inner #place_order {
	width: 100%;
	background: var(--btn-primary);
	color: var(--fig-siegel-white);
	border: 1px solid var(--btn-primary);
	border-radius: var(--r-sm);
	padding: 18px 32px;
	font: var(--fw-bold) 0.875rem / 1 var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner #place_order:hover {
		background: var(--text-heading-primary);
		border-color: var(--text-heading-primary);
	}
}

.wc-content__inner #place_order:focus-visible {
	outline: 2px solid var(--text-heading-primary);
	outline-offset: 2px;
}

/* ============================================================================
   SQUARE CREDIT CARD FIELDS
   Square renders its card inputs as hosted iframes inside a bare fieldset, so
   without a frame of their own they sat as a grey slab against the card.
   ============================================================================ */

.wc-content__inner .payment_box fieldset {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
}

.wc-content__inner .payment_box fieldset legend {
	padding: 0;
	font: var(--fw-bold) 0.75rem / 1 var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--text-heading-primary);
}

.wc-content__inner .wc-square-credit-card-new-payment-method-form {
	display: grid;
	gap: 10px;
	margin-top: 10px;
}

/* Square writes its own inline height on these containers; the frame, radius
   and padding are ours so the inputs match every other field on the page. */
.wc-content__inner .payment_box .wc-square-credit-card-hosted-field,
.wc-content__inner .payment_box [id^="wc-square-credit-card-hosted-field"] {
	box-sizing: border-box;
	padding: 0 14px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--fig-siegel-white);
}

/* ============================================================================
   CHECKBOXES OUTSIDE THE FORKLIFT BLOCK
   These two selectors used to set appearance:auto and accent-color, which is
   what made "Create an account?" a raw browser checkbox next to three drawn
   ones. Both are in the shared list in assets/css/forms.css now; all that is
   left here is the gap between a box and its words.
   ============================================================================ */

.wc-content__inner #ship-to-different-address input[type="checkbox"],
.wc-content__inner .woocommerce-form__input-checkbox {
	margin: 0 10px 0 0;
	vertical-align: middle;
}

.wc-content__inner #ship-to-different-address label {
	display: flex;
	align-items: center;
	cursor: pointer;
}

/* ============================================================================
   ORDER SUMMARY — TOTALS

   The totals lines are label/value pairs, not column headings. They were
   inheriting table.shop_table th, which is built for the CART's headers -
   11px uppercase grey - and pairing that with a 16px value made each row look
   misaligned even though the cells line up to the pixel. Matching the sizes is
   what fixes it; only Total carries weight, as in the approved design.

   Horizontal cell padding is dropped because the panel already has 24px.
   ============================================================================ */

.wc-content__inner #order_review .woocommerce-checkout-review-order-table th,
.wc-content__inner #order_review .woocommerce-checkout-review-order-table td {
	padding-left: 0;
	padding-right: 0;
}

.wc-content__inner #order_review .woocommerce-checkout-review-order-table tfoot th,
.wc-content__inner #order_review .woocommerce-checkout-review-order-table tfoot td {
	padding-block: 12px;
	font: var(--fw-regular) 0.875rem / 1.375rem var(--font-body);
	letter-spacing: normal;
	text-transform: none;
	color: var(--text-body-primary);
	border-bottom: 1px solid var(--fig-neutral-100);
	vertical-align: baseline;
}

.wc-content__inner #order_review .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	white-space: nowrap;
}

/* Total is the one line that should carry weight. */
.wc-content__inner #order_review .woocommerce-checkout-review-order-table tfoot .order-total th,
.wc-content__inner #order_review .woocommerce-checkout-review-order-table tfoot .order-total td {
	padding-top: 16px;
	border-bottom: none;
	font: var(--fw-bold) 1.125rem / 1.25 var(--font-heading);
	color: var(--text-heading-primary);
}

/* Column headers stay small and quiet - they label the item list, not totals. */
.wc-content__inner #order_review .woocommerce-checkout-review-order-table thead th {
	padding-bottom: 12px;
}

/* Item rows: the name should not be squeezed by generous cart padding in a
   330px panel. */
.wc-content__inner #order_review .woocommerce-checkout-review-order-table tbody td {
	padding-block: 14px;
	font: var(--fw-regular) 0.875rem / 1.375rem var(--font-body);
	vertical-align: top;
}

.wc-content__inner #order_review .woocommerce-checkout-review-order-table .product-total,
.wc-content__inner #order_review .woocommerce-checkout-review-order-table th.product-total {
	text-align: right;
	white-space: nowrap;
}

/* ============================================================================
   STICKY ORDER SUMMARY

   The left column runs to ~2000px on this checkout, so by the time anyone
   reaches Place Order the totals they are agreeing to have been off screen for
   a long while. The summary follows them down instead.

   top is --anchor-offset, not a new number. That token is documented in
   _tokens-layout.css as the clearance for the SCROLLED header: header.js tucks
   the utility bar and 121px stays over the viewport, which 136 clears with a
   little air. A sticky panel only matters once the page has scrolled, so that
   is precisely the state to measure against - and it stays correct if the
   header ever changes, since that file is the single place to edit it.

   Desktop only: below 1024 the columns stack, and a panel that followed the
   reader down a single-column form would sit on top of the fields.
   ============================================================================ */

@media (min-width: 1024px) {
	.wc-content__inner #order_review {
		position: sticky;
		top: var(--anchor-offset);

		/* A long cart can be taller than the viewport. Without this the foot of
		   the panel - the Total, the one line that matters most - would be
		   unreachable, because a sticky element cannot be scrolled past its own
		   height. Letting the panel scroll internally keeps it reachable. */
		max-height: calc(100vh - var(--anchor-offset) - 24px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

@media (prefers-reduced-motion: reduce) {
	/* Nothing animates here, but a panel that moves with the page is still
	   motion to some readers. */
	.wc-content__inner #order_review {
		position: static;
		max-height: none;
	}
}

/* Delivery promise -------------------------------------------------------
   Sits above the shipping options: it answers "when", which is the question
   the radio buttons underneath it are about. */
.siegel-delivery-promise {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	padding: 12px 16px;
	border: 1px solid #e6e7e7;
	border-left: 3px solid var(--fig-siegel-red, #d41927);
	border-radius: 2px;
	background: #f9fafa;
	color: #3c3d3d;
	font: 400 0.875rem/1.25rem var(--font-body);
}

.siegel-delivery-promise__icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	background: var(--fig-siegel-red, #d41927);
	/* A clock, drawn as a mask so it inherits the brand red rather than
	   shipping a second red asset. */
	-webkit-mask: var(--siegel-clock) center / contain no-repeat;
	mask: var(--siegel-clock) center / contain no-repeat;
}

:root {
	--siegel-clock: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm0 14.5A6.5 6.5 0 1 1 8 1.5a6.5 6.5 0 0 1 0 13zM8.75 4h-1.5v4.31l3.3 1.98.77-1.29-2.57-1.54z'/%3E%3C/svg%3E");
}

/* ── Wishlist page ────────────────────────────────────────────────────────── */
/*
 * Desktop is a <table class="shop_table">, so it already inherits the table
 * treatment above and needs almost nothing. Mobile is a different component
 * entirely: YITH swaps to a <ul> of <li> cards, each with its own little
 * label/value tables, and ships it centred with default link styling - a
 * blue underlined product name over a full-width image. Everything below is
 * that mobile card put back into the theme's language.
 */

.wc-content__inner .wishlist-title h2 {
	margin: 0 0 20px;
}

/* The shared shop_table header is `padding: 0 16px 14px` - no top padding,
   because everywhere else it is a bare label sitting above a rule. YITH fills
   this one with grey, so that asymmetry showed: the labels sat hard against
   the top edge of the band with all the space underneath. Even, and still
   shallower than a body row. */
.wc-content__inner table.wishlist_table thead th {
	padding: 14px 16px;
}

/* The remove column: faint until you reach for it. */
.wc-content__inner table.wishlist_table .product-remove a {
	color: var(--fig-neutral-400);
	font-size: 1.125rem;
	line-height: 1;
	text-decoration: none;
	transition: color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner table.wishlist_table .product-remove a:hover { color: var(--btn-primary); }
}

.wc-content__inner .wishlist_table .product-name a {
	color: var(--text-heading-primary);
	text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .wishlist_table .product-name a:hover { text-decoration: underline; }
}

/* Mobile: the <ul> variant. */
@media (max-width: 767px) {
	.wc-content__inner ul.wishlist_table {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.wc-content__inner ul.wishlist_table > li {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 16px;
		border: 1px solid var(--fig-neutral-100);
		border-radius: var(--r-sm);
		text-align: left;
	}

	/* Thumbnail beside the detail, not a full-width hero above it. */
	.wc-content__inner ul.wishlist_table .item-wrapper {
		display: flex;
		gap: 12px;
		align-items: flex-start;
	}

	.wc-content__inner ul.wishlist_table .product-thumbnail {
		flex: 0 0 88px;
		width: 88px;
		margin: 0;
	}

	.wc-content__inner ul.wishlist_table .product-thumbnail img {
		display: block;
		width: 88px;
		height: 88px;
		object-fit: contain;
		background: var(--bg-primary);
		border-radius: var(--r-sm);
	}

	.wc-content__inner ul.wishlist_table .item-details {
		flex: 1 1 auto;
		min-width: 0;
	}

	.wc-content__inner ul.wishlist_table .product-name { margin: 0 0 8px; }

	.wc-content__inner ul.wishlist_table .product-name h3 {
		margin: 0;
		font: var(--fw-bold) 1rem / 1.25rem var(--font-heading);
		letter-spacing: var(--ls-tight);
	}

	/* The label/value pairs YITH renders as nested tables. */
	.wc-content__inner ul.wishlist_table table { width: 100%; }

	.wc-content__inner ul.wishlist_table td,
	.wc-content__inner ul.wishlist_table td.label,
	.wc-content__inner ul.wishlist_table td.value {
		padding: 2px 0;
		border: 0;
		/* YITH right-aligns the value column, which left the price and the
		   stock state hanging off on their own against the card edge. Its own
		   rule carries !important, so this has to as well. */
		text-align: left !important;
		vertical-align: top;
	}

	.wc-content__inner ul.wishlist_table td.label {
		width: 72px;
		color: var(--fig-neutral-400);
		font: var(--fw-bold) 0.6875rem / 1rem var(--font-heading);
		letter-spacing: var(--ls-wide);
		text-transform: uppercase;
	}

	.wc-content__inner ul.wishlist_table td.value {
		color: var(--text-heading-primary);
		font: var(--fw-regular) 0.8009033203rem / 1.125rem var(--font-body);
	}

	.wc-content__inner ul.wishlist_table .additional-info-wrapper {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	/* The action reads as a button here, like every other one on the site. */
	.wc-content__inner ul.wishlist_table .product-add-to-cart a {
		/* content-box plus width:100% plus padding overflows the card. */
		box-sizing: border-box;
		display: flex;
		width: 100%;
		min-height: 44px;
		align-items: center;
		justify-content: center;
		padding: 12px 16px;
		border: 1px solid var(--btn-primary);
		border-radius: var(--r-sm);
		background: var(--btn-primary);
		color: var(--fig-siegel-white);
		font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
		letter-spacing: var(--ls-wide);
		text-transform: uppercase;
		text-decoration: none;
	}
}

/* ── Cart coupon, moved above the checkout button ─────────────────────────── */
/*
 * See inc/woocommerce/cart-coupon.php. It renders inside
 * .wc-proceed-to-checkout, so it inherits that box's width and sits directly
 * on top of the button.
 */

.wc-content__inner .siegel-cart-coupon {
	margin: 0 0 16px;
}

.wc-content__inner .siegel-cart-coupon__label {
	display: block;
	margin-bottom: 8px;
	color: var(--fig-neutral-400);
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
}

.wc-content__inner .siegel-cart-coupon__row {
	display: flex;
	gap: 8px;
}

.wc-content__inner .siegel-cart-coupon__input {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 12px 14px;
	border: 1px solid var(--fig-neutral-100);
	border-radius: var(--r-sm);
	background: var(--fig-siegel-white);
	color: var(--text-heading-primary);
	font: var(--fw-regular) 0.875rem / 1.25rem var(--font-body);
}

.wc-content__inner .siegel-cart-coupon__input:focus {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 1px;
}

/*
 * Apply button. The compound selector is deliberate: the shared submit-button
 * rule near the top of this file, `.wc-content__inner button[type="submit"]`,
 * is (0,2,1) and paints every submit red with 14px 32px padding and no border.
 * A lone `.siegel-cart-coupon__btn` is (0,2,0) and lost to it, so the outlined
 * button written here never rendered. Naming the form too makes it (0,3,0),
 * and (0,4,0) on hover, which clears the shared hover rule at (0,3,1).
 */
.wc-content__inner .siegel-cart-coupon .siegel-cart-coupon__btn {
	box-sizing: border-box;
	flex: 0 0 auto;
	height: 46px;
	padding: 0 20px;
	border: 1px solid var(--text-heading-primary);
	border-radius: var(--r-sm);
	background: transparent;
	color: var(--text-heading-primary);
	cursor: pointer;
	font: var(--fw-bold) 0.75rem / 1rem var(--font-heading);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	transition: background var(--dur-fast) linear, color var(--dur-fast) linear;
}

@media (hover: hover) and (pointer: fine) {
	.wc-content__inner .siegel-cart-coupon .siegel-cart-coupon__btn:hover {
		background: var(--text-heading-primary);
		color: var(--fig-siegel-white);
	}
}

.wc-content__inner .siegel-cart-coupon .siegel-cart-coupon__btn:focus-visible {
	outline: 2px solid var(--btn-stroke-focused);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.wc-content__inner .siegel-cart-coupon .siegel-cart-coupon__btn { transition: none; }
}

/* ── Checkout coupon, above Place order ──────────────────────────────────── */
/*
 * See inc/woocommerce/checkout-coupon.php. Same component as the cart coupon,
 * so it takes every rule above; only its message line is new. The line is
 * empty until a code is tried, and takes no space while it is.
 *
 * It renders last inside #order_review, under the Total row. Space above only:
 * the panel's own 24px padding already sits below it, and the 24px bottom
 * margin this carried in its old position - above Place order in the left
 * column - stacked with that padding for 49px of dead grey.
 */
.wc-content__inner .siegel-cart-coupon--checkout {
	margin: 20px 0 0;
}

.wc-content__inner .siegel-cart-coupon__notice:empty {
	display: none;
}

.wc-content__inner .siegel-cart-coupon__notice {
	margin-top: 8px;
}

.wc-content__inner .siegel-cart-coupon__notice .woocommerce-error,
.wc-content__inner .siegel-cart-coupon__notice .woocommerce-message {
	margin: 0;
}
