/*
 * Cart · checkout · my-account · order-received — the WooCommerce funnel skin.
 *
 * SCOPING (read this before adding a rule). This file loads after
 * components.css, so an unscoped selector here silently overrides the global
 * header/footer chrome — that is how the topbar USP row once broke. Every
 * selector below therefore starts at one of the three WooCommerce body classes:
 *
 *     .woocommerce-cart · .woocommerce-checkout · .woocommerce-account
 *
 * and shared blocks use :is(…) over the three (the same pattern archive.css
 * already uses). Block names are unique to this file — hs-funnel-*, hs-basket*,
 * hs-checkout*, hs-account*, hs-thanks*, hs-qtystep. Note .hs-cart is NOT
 * available: it is the header's cart button in components.css.
 *
 * A body class alone is not enough for BARE ELEMENT selectors (input, select,
 * textarea, table, button): the header and footer render inside that same body,
 * so `.woocommerce-cart input:focus` would repaint the topbar search field.
 * Those rules therefore also sit inside `.woocommerce` — the div the cart,
 * checkout and account shortcodes wrap all their output in.
 *
 * WooCommerce's own stylesheets are deliberately NOT dequeued on these pages
 * (inc/woocommerce.php returns early for is_cart/is_checkout/is_account_page),
 * so most rules here override a WC default rather than style bare markup.
 *
 * Colours, spacing, type and radii come from variables.css only. Teal as TEXT
 * uses --accent-text (teal-700, 5.97:1); --accent stays for drawn things —
 * borders, icon glyphs, focus rings.
 *
 * CONTRAST. --fg-3 measures 3.55:1 on --bg-1, which clears the 3:1 bar for
 * graphics but fails the 4.5:1 one for text. It is therefore used in this file
 * for drawn things only (the remove glyph). Every piece of text that used to sit
 * on --fg-3 — the not-yet-reached step labels, table column headers, field
 * placeholders, the variation labels — moved to --fg-2 (6.51:1) on 16 aug 2026.
 * Do not put --fg-3 back on text here.
 */

/* ==========================================================================
   1. Shared funnel furniture
   ========================================================================== */

/* ---- 1.1 Step rail ---- */

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-4);
	margin: 0 0 var(--sp-8);
	padding: 0;
	list-style: none;
	counter-reset: none;
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--fs-14);
	font-weight: var(--fw-semibold);
	color: var(--fg-2);
}

/* The connector between steps. Hidden on the narrowest screens, where the rail
   already wraps and a dangling rule would look broken. */
:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item + .hs-funnel-steps__item::before {
	content: "";
	display: none;
	width: var(--sp-8);
	height: 2px;
	border-radius: var(--r-pill);
	background: var(--border-1);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border-radius: var(--r-pill);
	border: 2px solid var(--border-1);
	background: var(--bg-1);
	font-family: var(--font-display);
	font-size: var(--fs-14);
	font-weight: var(--fw-black);
	color: var(--fg-2);
	font-variant-numeric: tabular-nums;
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__marker .hs-icon {
	width: 14px;
	height: 14px;
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item--done {
	color: var(--accent-text);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item--done .hs-funnel-steps__marker {
	border-color: var(--accent-fill);
	background: var(--accent-fill);
	color: var(--fg-on-brand);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item--current {
	color: var(--fg-1);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item--current .hs-funnel-steps__marker {
	border-color: var(--accent);
	color: var(--accent-text);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

@media ( min-width: 40em ) {
	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps {
		gap: var(--sp-4);
	}

	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item + .hs-funnel-steps__item::before {
		display: block;
	}
}

/* ---- 1.2 Trust block (next to the two conversion buttons) ---- */

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-trust {
	margin-top: var(--sp-5);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--border-2);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-trust__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-2);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-trust__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: var(--sp-2);
	font-size: var(--fs-14);
	line-height: var(--lh-base);
	color: var(--fg-2);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-trust__item .hs-icon {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--hs-green);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-trust__reviews {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: var(--sp-4) 0 0;
	font-size: var(--fs-14);
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
}

:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-trust__reviews .hs-stars .hs-icon {
	width: 15px;
	height: 15px;
}

/* ---- 1.3 Help line ---- */

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .hs-funnel-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2) var(--sp-4);
	margin: var(--sp-6) 0 0;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .hs-funnel-help__intro {
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .hs-funnel-help__link {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-1);
	color: var(--accent-text);
	font-weight: var(--fw-semibold);
	text-decoration: none;
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .hs-funnel-help__link:hover,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .hs-funnel-help__link:focus-visible {
	color: var(--accent-press);
	text-decoration: underline;
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .hs-funnel-help__link .hs-icon {
	width: 16px;
	height: 16px;
}

/* ---- 1.4 Notices ---- */

/* The component itself moved to assets/css/notices.css (16 aug 2026): it is not
   a funnel component — "toegevoegd aan je winkelwagen" prints on the product page
   and the shop archive, where this stylesheet is not enqueued, so keeping the
   rules here left the most-seen notice in the shop looking like raw WooCommerce.
   Only funnel-specific refinements belong below. */

/*
 * On the cart, "Naar winkelwagen" is a button to the page you are on. It cannot
 * be dropped in PHP: hs_add_to_cart_message_html() runs from
 * WC_Form_Handler::add_to_cart_action() on `wp_loaded`, before the main query,
 * so is_cart() is false there no matter which page was requested. Here the page
 * is known, so here is where it goes.
 */
.woocommerce-cart .woocommerce-message .hs-notice__action {
	display: none;
}

/* ---- 1.5 Form controls (one look for every field in the funnel) ---- */

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .form-row,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-form-row {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}

/*
 * Third instance of the clearfix trap (see §1.9 cross-sells and the my-account
 * .col2-set below): woocommerce.css ships
 * `.woocommerce form .form-row::before, ::after { content: " "; display: table }`.
 * Around floats that is invisible; inside the flex column above both pseudos
 * become zero-height flex items that each still claim a `gap`. Measured before
 * this rule: every row 16px taller than its content (107.6px vs 91.6px on
 * /mijn-account/), and 160px of dead whitespace across form.checkout.
 */
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .form-row::before,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .form-row::after,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-form-row::before,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-form-row::after {
	content: none;
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .form-row label,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-form-row label {
	font-size: var(--fs-14);
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
	line-height: var(--lh-snug);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .required {
	color: var(--hs-danger);
	text-decoration: none;
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input[type="text"],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input[type="email"],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input[type="tel"],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input[type="url"],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input[type="number"],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input[type="password"],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce select,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce textarea {
	width: 100%;
	max-width: 100%;
	padding: var(--sp-3) var(--sp-4);
	border: 1px solid var(--border-1);
	border-radius: var(--r-md);
	background: var(--bg-1);
	color: var(--fg-1);
	font-family: inherit;
	font-size: var(--fs-16); /* 16px keeps iOS Safari from zooming on focus. */
	line-height: var(--lh-base);
	transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input::placeholder,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce textarea::placeholder {
	color: var(--fg-2);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input:focus,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce select:focus,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce textarea:focus {
	outline: 0;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce textarea {
	min-height: 7rem;
	resize: vertical;
}

/* Field-level validation state. WooCommerce toggles these classes on the row. */
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-invalid input.input-text,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-invalid select {
	border-color: var(--hs-danger);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .woocommerce-validated input.input-text {
	border-color: var(--hs-green);
}

/* select2 / selectWoo closed control only. Its dropdown is appended to <body>,
   outside every scope this file is allowed to reach, so that keeps WooCommerce's
   own (neutral) styling — see the scoping note at the top. */
:is( .woocommerce-checkout, .woocommerce-account ) .woocommerce .select2-container--default .select2-selection--single {
	height: auto;
	padding: var(--sp-2) var(--sp-2);
	border: 1px solid var(--border-1);
	border-radius: var(--r-md);
	background: var(--bg-1);
}

:is( .woocommerce-checkout, .woocommerce-account ) .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: var(--sp-2);
	color: var(--fg-1);
	line-height: var(--lh-base);
}

/* ---- 1.6 WooCommerce's own buttons, in theme clothing ---- */

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .button,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce button.button,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input.button,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-5);
	border: 1px solid var(--border-1);
	border-radius: var(--r-md);
	background: var(--bg-1);
	color: var(--fg-1);
	font-family: inherit;
	font-size: var(--fs-14);
	font-weight: var(--fw-bold);
	line-height: var(--lh-snug);
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .button:hover,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce button.button:hover,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input.button:hover,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce a.button:hover {
	background: var(--bg-2);
	color: var(--fg-1);
}

/* `.alt` is WooCommerce's primary. Match .hs-btn--primary exactly. */
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .button.alt,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce button.button.alt,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input.button.alt,
.woocommerce-account .woocommerce button[name="save_account_details"],
.woocommerce-account .woocommerce button[name="save_address"] {
	border-color: transparent;
	background: var(--accent-fill);
	color: var(--fg-on-brand);
	box-shadow: var(--shadow-1);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .button.alt:hover,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce button.button.alt:hover,
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce input.button.alt:hover,
.woocommerce-account .woocommerce button[name="save_account_details"]:hover,
.woocommerce-account .woocommerce button[name="save_address"]:hover {
	background: var(--accent-fill-hover);
	color: var(--fg-on-brand);
	box-shadow: var(--shadow-2);
}

:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .button[disabled],
:is( .woocommerce-cart, .woocommerce-checkout, .woocommerce-account ) .woocommerce .button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ==========================================================================
   2. Cart
   ========================================================================== */

/*
 * `minmax(0, 1fr)` on the single-column case is not decoration. An implicit
 * grid column is `auto`, and an `auto` track is at least as wide as its widest
 * item's min-content — so one stubborn child (here: the coupon row, whose apply
 * button will not wrap) stretched the track to 381px inside a 351px container
 * and pushed the whole page into horizontal scroll on a 375px screen. Capping
 * the track at the container makes the item shrink instead of the page grow.
 */
.woocommerce-cart .hs-basket__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-6);
	align-items: start;
}

.woocommerce-cart .hs-basket__grid > * {
	min-width: 0;
}

@media ( min-width: 62em ) {
	.woocommerce-cart .hs-basket__grid {
		grid-template-columns: minmax(0, 1fr) minmax(20rem, 22rem);
		gap: var(--sp-8);
	}
}

/* ---- 2.1 Line items ---- */

/* Mobile-first: the table becomes a stack of cards. WooCommerce's own
   smallscreen stylesheet does the same below 768px with data-title pseudo
   labels; ours labels the parts through layout instead, so those are switched
   off. Table semantics return at >=48em. */
.woocommerce-cart .woocommerce-cart-form table.cart {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
}

.woocommerce-cart .woocommerce-cart-form table.cart thead {
	display: none;
}

.woocommerce-cart .woocommerce-cart-form table.cart tbody {
	display: block;
}

.woocommerce-cart .woocommerce-cart-form table.cart tr {
	display: block;
}

/* Only the item rows become cards. The last row (coupon + update) keeps the
   plain block display above — which is why no :has() is needed to exclude it. */
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	grid-template-areas:
		"thumb name remove"
		"thumb price price"
		"thumb qty subtotal";
	gap: var(--sp-2) var(--sp-4);
	align-items: center;
	margin: 0 0 var(--sp-3);
	padding: var(--sp-4);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
	box-shadow: var(--shadow-1);
}

.woocommerce-cart .woocommerce-cart-form table.cart td {
	display: block;
	padding: 0;
	border: 0;
	font-size: var(--fs-14);
	text-align: left;
}

/* Belt and braces against `data-title` pseudo-labels on cart cells. The one
   stylesheet that generated them (woocommerce-smallscreen.css, with
   `!important`) is now dequeued on the funnel by hs_funnel_dequeue_smallscreen(),
   so no !important is needed here any more — but a plugin adding the same
   pattern would still be caught. */
.woocommerce-cart .woocommerce-cart-form table.cart td::before {
	content: none;
}

.woocommerce-cart .woocommerce-cart-form td.product-thumbnail {
	grid-area: thumb;
	align-self: start;
}

.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
	width: 88px;
	height: 88px;
	object-fit: contain;
	padding: var(--sp-2);
	border: 1px solid var(--border-2);
	border-radius: var(--r-md);
	background: var(--bg-2);
}

.woocommerce-cart .woocommerce-cart-form td.product-name {
	grid-area: name;
	font-size: var(--fs-15);
	font-weight: var(--fw-bold);
	line-height: var(--lh-snug);
	color: var(--fg-1);
}

.woocommerce-cart .woocommerce-cart-form td.product-name a {
	color: var(--fg-1);
	text-decoration: none;
}

.woocommerce-cart .woocommerce-cart-form td.product-name a:hover,
.woocommerce-cart .woocommerce-cart-form td.product-name a:focus-visible {
	color: var(--accent-text);
	text-decoration: underline;
}

/*
 * Variation data ("Opslag geheugen: 256GB", "Kleur: Lichtblauw").
 *
 * This was a wrapping flex row, which ran the pairs together into
 * "Opslag geheugen: 256GB Kleur: Lichtblauw" — the reader has to work out where
 * one attribute stops and the next begins, on exactly the line that confirms
 * they picked the right device. A two-column grid keeps a <dl> reading like a
 * <dl>: label left, value right of it, one pair per line.
 */
.woocommerce-cart .woocommerce-cart-form td.product-name .variation,
.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 2px var(--sp-2);
	margin: var(--sp-2) 0 0;
	font-size: var(--fs-12);
	font-weight: var(--fw-regular);
	line-height: var(--lh-snug);
	color: var(--fg-2);
}

.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dt,
.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd {
	margin: 0;
	padding: 0;
	float: none;
}

.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dt {
	grid-column: 1;
	color: var(--fg-2);
	font-weight: var(--fw-regular);
}

.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd {
	grid-column: 2;
	color: var(--fg-2);
	font-weight: var(--fw-semibold);
}

.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd p {
	margin: 0;
}

/* Unit price. On the mobile card it sits under the name as a quiet line: with a
   quantity of 1 — the normal case here, one device per order — it says the same
   thing as the bold subtotal two rows down, so it must not compete with it. */
.woocommerce-cart .woocommerce-cart-form td.product-price {
	grid-area: price;
	font-size: var(--fs-12);
	color: var(--fg-2);
	font-variant-numeric: tabular-nums;
}

.woocommerce-cart .woocommerce-cart-form td.product-quantity {
	grid-area: qty;
}

.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
	grid-area: subtotal;
	justify-self: end;
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-black);
	color: var(--fg-1);
	font-variant-numeric: tabular-nums;
}

.woocommerce-cart .woocommerce-cart-form td.product-remove {
	grid-area: remove;
	justify-self: end;
}

/*
 * 40×40, not 32×32: WCAG 2.5.8 asks 24px, but this is a destructive control
 * sitting a thumb's width from a price on a phone.
 *
 * ⚠️ SPECIFICITY. woocommerce.css has `.woocommerce a.remove { display:block;
 * font-size:1.5em; height:1em; width:1em; line-height:1 }` at (0,2,1). A rule on
 * `.woocommerce-cart .hs-basket__remove` is (0,2,0) and loses — measured 21×21
 * on 2026-08-16, well under the 24px WCAG floor and less than a quarter of the
 * area intended. Chaining `a.remove` brings this to (0,3,1). The `font-size` and
 * `line-height` resets are needed too: Woo's 1.5em is what made 1em resolve to
 * 21px, and it would otherwise keep scaling the glyph.
 */
.woocommerce-cart a.remove.hs-basket__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: -4px -8px 0 0;
	padding: 0;
	border-radius: var(--r-pill);
	background: transparent;
	color: var(--fg-3);
	font-size: var(--fs-16);
	line-height: 1;
	text-decoration: none;
	transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.woocommerce-cart a.remove.hs-basket__remove:hover,
.woocommerce-cart a.remove.hs-basket__remove:focus-visible {
	background: var(--hs-danger-bg);
	color: var(--hs-danger);
}

/* `svg`, not `.hs-icon`: this markup comes back from
   woocommerce_cart_item_remove_link and keeps its class, but the sizing is kept
   local so it does not depend on components.css winning against Woo's `a.remove`
   font-size rule. */
.woocommerce-cart a.remove.hs-basket__remove svg {
	display: block;
	width: 16px;
	height: 16px;
}

/* Desktop: back to a real table, one row per item. */
@media ( min-width: 48em ) {
	.woocommerce-cart .woocommerce-cart-form table.cart {
		display: table;
		table-layout: fixed;
	}

	.woocommerce-cart .woocommerce-cart-form table.cart thead {
		display: table-header-group;
	}

	.woocommerce-cart .woocommerce-cart-form table.cart tbody {
		display: table-row-group;
	}

	.woocommerce-cart .woocommerce-cart-form table.cart th {
		padding: 0 var(--sp-3) var(--sp-3);
		border: 0;
		font-size: var(--fs-12);
		font-weight: var(--fw-black);
		letter-spacing: var(--tracking-wide);
		text-transform: uppercase;
		text-align: left;
		color: var(--fg-2);
	}

	.woocommerce-cart .woocommerce-cart-form table.cart tr,
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item {
		display: table-row;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.woocommerce-cart .woocommerce-cart-form table.cart td {
		display: table-cell;
		padding: var(--sp-4) var(--sp-3);
		border-top: 1px solid var(--border-1);
		vertical-align: middle;
	}

	/* The actions cell goes back to a real table-cell so its colspan="6" still
	   spans the table; a display:flex <td> makes the engine wrap it in an
	   anonymous single-column cell and the row shrinks. Its two children are
	   placed with a float instead, which is what WooCommerce itself does. */
	.woocommerce-cart .woocommerce-cart-form td.actions {
		display: table-cell;
		overflow: hidden; /* contains the float. */
		text-align: right;
	}

	.woocommerce-cart .woocommerce-cart-form td.actions .coupon {
		float: left;
		width: auto;
		max-width: 60%;
	}

	/*
	 * ⚠️ The widths go on the <th>, not on the <td>.
	 *
	 * `table-layout: fixed` above takes its column widths from the FIRST row of
	 * the table, which here is the <thead> row. The widths used to be declared
	 * on the <td>s only, so the browser ignored all of them and split the table
	 * into six equal 139px columns: the product name got the same room as the
	 * empty remove column, the variation list was squeezed into a 6px value
	 * column, and the whole row read as cramped for no visible reason. Keep
	 * these on th, or move table-layout back to auto — not one without the
	 * other.
	 */
	.woocommerce-cart .woocommerce-cart-form th.product-remove {
		width: 44px;
	}

	.woocommerce-cart .woocommerce-cart-form th.product-thumbnail {
		width: 104px;
	}

	/* Back to normal size in a real column: the 12px treatment exists only to
	   keep the unit price from competing with the subtotal in the mobile card,
	   where the two sit three rows apart instead of side by side. */
	.woocommerce-cart .woocommerce-cart-form td.product-price {
		font-size: var(--fs-14);
	}

	.woocommerce-cart .woocommerce-cart-form th.product-price,
	.woocommerce-cart .woocommerce-cart-form th.product-subtotal {
		width: 7.5rem;
	}

	.woocommerce-cart .woocommerce-cart-form td.product-price,
	.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
		text-align: right;
	}

	.woocommerce-cart .woocommerce-cart-form th.product-quantity {
		width: 8.5rem;
	}

	.woocommerce-cart .woocommerce-cart-form th.product-price,
	.woocommerce-cart .woocommerce-cart-form th.product-subtotal {
		text-align: right;
	}
}

/* ---- 2.2 Quantity stepper ---- */

.woocommerce-cart .woocommerce-cart-form .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--border-1);
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--bg-1);
}

.woocommerce-cart .hs-qtystep {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: var(--bg-2);
	color: var(--fg-1);
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-black);
	line-height: 1;
	cursor: pointer;
	transition: background var(--dur-fast) var(--ease-standard);
}

.woocommerce-cart .hs-qtystep:hover:not( :disabled ) {
	background: var(--accent-soft);
	color: var(--accent-text);
}

.woocommerce-cart .hs-qtystep:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.woocommerce-cart .woocommerce-cart-form .quantity input.qty {
	width: 3.25rem;
	padding: var(--sp-2) 0;
	border: 0;
	border-radius: 0;
	background: var(--bg-1);
	text-align: center;
	font-size: var(--fs-15);
	font-weight: var(--fw-bold);
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}

.woocommerce-cart .woocommerce-cart-form .quantity input.qty:focus {
	box-shadow: none;
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}

.woocommerce-cart .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---- 2.3 Coupon + update row ---- */

.woocommerce-cart .woocommerce-cart-form td.actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	align-items: center;
	margin: var(--sp-5) 0 0;
	padding: var(--sp-5) 0 0;
	border-top: 1px solid var(--border-1);
	background: none;
	box-shadow: none;
}

/*
 * The coupon field is deliberately quiet.
 *
 * A prominent discount-code box costs conversion: it tells everyone without a
 * code that they are paying too much, and sends them off to a coupon site they
 * often do not come back from. So it is one compact row, secondary weight,
 * not three grey blocks of equal importance next to the thing we want clicked.
 */
.woocommerce-cart .woocommerce-cart-form .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	flex: 1 1 16rem;
	min-width: 0;
	max-width: 26rem;
}

.woocommerce-cart .woocommerce-cart-form .coupon input#coupon_code {
	flex: 1 1 7rem;
	width: auto;
	min-width: 0;
	padding: var(--sp-2) var(--sp-3);
	font-size: var(--fs-14);
}

/* Applying a coupon is a secondary action next to "Doorgaan naar afrekenen":
   quiet weight, and allowed to shrink. `flex: 0 1 auto` rather than `0 0 auto`
   is deliberate — a non-shrinkable button with a long Dutch label ("Waardebon
   toepassen", 186px) sets the row's minimum width and, through the grid track
   above, the page's. */
.woocommerce-cart .woocommerce-cart-form .coupon button[name="apply_coupon"] {
	flex: 0 1 auto;
	min-width: 0;
	padding: var(--sp-2) var(--sp-4);
	font-size: var(--fs-14);
}

/*
 * With JavaScript on, the steppers submit the update themselves; the separate
 * "Bijwerken" button is then a control that can never have anything to do and
 * renders permanently disabled — which is exactly what it looked like.
 *
 * ⚠️ The specificity here is load-bearing. `[name="update_cart"]` alone gives
 * (0,3,0), and §1.6 above sets `display: inline-flex` on
 * `.woocommerce-cart .woocommerce .button` at (0,3,1) — the theme was
 * out-specifying its own hide rule, so the button stayed visible on every
 * screen size. Matching on `.woocommerce` as well brings this to (0,4,1).
 */
.woocommerce-cart .woocommerce .hs-basket-form--js [name="update_cart"] {
	display: none;
}

@media ( min-width: 48em ) {
	.woocommerce-cart .woocommerce-cart-form td.actions {
		margin: 0;
		padding: var(--sp-5) var(--sp-3) 0;
		border-top: 1px solid var(--border-1);
	}
}

/* ---- 2.4 Totals sidebar ---- */

.woocommerce-cart .cart-collaterals {
	width: 100%;
	margin: 0;
}

.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after {
	content: none;
}

/*
 * ⚠️ SPECIFICITY, and it is the whole reason this block exists.
 *
 * woocommerce-layout.css ships
 *     .woocommerce-page .cart-collaterals .cart_totals { float: right; width: 48% }
 * at (0,3,0). This theme's own rule was `.woocommerce-cart .cart_totals` at
 * (0,2,0), so WooCommerce won and the totals card rendered at 48% of the 352px
 * sidebar track — 169px. Everything Job saw followed from that one number:
 * "Totaal€ 429,99" ran together because the <th> still took Woo's 35%, the
 * amount spilled past the rounded border, each USP line broke over three or four
 * lines, "Doorgaan naar afrekenen" wrapped its arrow onto a second line, and the
 * column grew to 750px tall against a 232px cart — which is the "huge empty
 * space" under the table. The grid track was never wrong; the card inside it
 * was.
 *
 * Matching the same `.cart-collaterals .cart_totals` path brings this to (0,3,0)
 * and the later stylesheet wins the tie. Do not shorten this selector.
 */
.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	padding: var(--sp-6);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
	box-shadow: var(--shadow-2);
}

@media ( min-width: 62em ) {
	.woocommerce-cart .cart-collaterals .cart_totals {
		position: sticky;
		top: calc( var(--hs-header-h) + var(--sp-4) );
	}
}

.woocommerce-cart .cart_totals h2 {
	margin: 0 0 var(--sp-4);
	font-size: var(--fs-20);
	font-weight: var(--fw-bold);
}

.woocommerce-cart .cart_totals table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: var(--fs-14);
}

/*
 * The totals table is laid out as a grid, not as a table (measured 11-10-2026:
 * the table rendered 589px wide in a 304px card and pushed the amounts off the
 * page). Two table behaviours caused it: the stacked shipping row below gives
 * its <th>/<td> `display: block`, and blocks inside a table row are wrapped in
 * ONE anonymous cell in the first column — so "Gratis verzending" broke over
 * three lines in a 111px column; and the amount cell is `nowrap`, so the long
 * "(inclusief € 45,12 incl. belasting (21% BTW))" note forced the table wider
 * than the card. As a grid every row is label | amount, the shipping row spans
 * the full width, and the tax note wraps under the amount.
 */
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-cart .cart_totals table.shop_table tbody {
	display: block;
}

.woocommerce-cart .cart_totals table.shop_table tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
}

.woocommerce-cart .cart_totals table.shop_table tr > th,
.woocommerce-cart .cart_totals table.shop_table tr > td {
	display: block;
	width: auto;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping {
	grid-template-columns: minmax(0, 1fr);
}

.woocommerce-cart .cart_totals table.shop_table td small.includes_tax {
	display: block;
	max-width: 22ch;
	margin-left: auto;
	font-family: var(--font-sans);
	font-size: var(--fs-12);
	font-weight: var(--fw-regular);
	line-height: var(--lh-base);
	white-space: normal;
	color: var(--fg-2);
}

/* `width: auto` overrides woocommerce.css's `… .cart_totals table th { width:35% }`
   (same (0,3,1), this sheet loads later). At 35% the label column was 106px and
   the amount was pushed into a column too narrow to hold it. Let the amount take
   what it needs and give the label the rest. */
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
	width: auto;
	padding: var(--sp-3) 0;
	border: 0;
	border-bottom: 1px solid var(--border-2);
	font-weight: var(--fw-regular);
	color: var(--fg-2);
	text-align: left;
	vertical-align: baseline;
}

.woocommerce-cart .cart_totals table.shop_table td {
	width: 1%;
	padding-left: var(--sp-4);
	text-align: right;
	color: var(--fg-1);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
	border-bottom: 0;
	padding-top: var(--sp-4);
	font-family: var(--font-display);
	font-size: var(--fs-20);
	font-weight: var(--fw-black);
	color: var(--fg-1);
}

/* The nowrap above is there to keep an amount on one line; anything that is a
   sentence or a list rather than an amount opts back out. */
.woocommerce-cart .cart_totals table.shop_table td .woocommerce-shipping-destination {
	white-space: normal;
}

/*
 * The shipping row is a choice, not an amount, so it does not belong in the
 * narrow right-hand money column. In a ~300px sidebar the radio labels
 * ("Ophalen in de winkel (Krommenie)") broke over three right-aligned lines.
 * Both cells go full width and stack: the word "Verzending" on its own line with
 * the options underneath, each on one line.
 */
.woocommerce-cart .cart_totals table.shop_table tr.shipping th,
.woocommerce-cart .cart_totals table.shop_table tr.shipping td {
	display: block;
	width: auto;
	padding-left: 0;
	text-align: left;
	white-space: normal;
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping th {
	padding-bottom: 0;
	border-bottom: 0;
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
}

.woocommerce-cart .cart_totals table.shop_table tr.shipping td {
	padding-top: var(--sp-2);
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
	font-size: var(--fs-12);
	color: var(--fg-2);
}

.woocommerce-cart .cart_totals ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-2);
	text-align: left;
}

.woocommerce-cart .cart_totals ul#shipping_method li {
	display: flex;
	align-items: baseline;
	gap: var(--sp-2);
	margin: 0;
	font-size: var(--fs-14);
	color: var(--fg-1);
}

.woocommerce-cart .cart_totals ul#shipping_method li input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--accent-fill);
}

.woocommerce-cart .cart_totals ul#shipping_method li label {
	margin: 0;
	cursor: pointer;
}

/* "De verzendopties worden bij het afrekenen geüpdatet." — a footnote, not a
   money line. */
.woocommerce-cart .cart_totals table.shop_table tr.shipping p {
	margin: var(--sp-2) 0 0;
	font-size: var(--fs-12);
	line-height: var(--lh-base);
	color: var(--fg-2);
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
	padding: var(--sp-5) 0 0;
}

/*
 * ⚠️ SPECIFICITY. woocommerce.css sets
 *     .woocommerce .wc-proceed-to-checkout a.checkout-button { display: block }
 * at (0,2,1), which beats components.css's `.hs-btn { display: inline-flex }` at
 * (0,1,0). The label and the arrow glyph then became two inline boxes in a block
 * and the arrow dropped to a second line — the button rendered 94px tall with a
 * lone → underneath the text. Restoring the flex box here at (0,4,1) is what
 * keeps the icon on the label's line.
 */
.woocommerce-cart .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
}

.woocommerce-cart .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button .hs-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.woocommerce-cart .hs-basket__continue {
	display: block;
	margin-top: var(--sp-3);
	font-size: var(--fs-14);
	font-weight: var(--fw-semibold);
	color: var(--accent-text);
	text-align: center;
	text-decoration: none;
}

.woocommerce-cart .hs-basket__continue:hover,
.woocommerce-cart .hs-basket__continue:focus-visible {
	color: var(--accent-press);
	text-decoration: underline;
}

/* ---- 2.5 Cross-sells (full width, under the grid) ---- */

.woocommerce-cart .cross-sells {
	width: 100%;
	margin: var(--sp-12) 0 0;
	padding-top: var(--sp-8);
	border-top: 1px solid var(--border-1);
}

.woocommerce-cart .cross-sells > h2 {
	margin: 0 0 var(--sp-5);
	font-size: var(--fs-24);
}

.woocommerce-cart .cross-sells ul.products {
	display: grid;
	grid-template-columns: repeat( 2, minmax(0, 1fr) );
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-cart .cross-sells ul.products::before,
.woocommerce-cart .cross-sells ul.products::after {
	content: none;
}

.woocommerce-cart .cross-sells ul.products li.product {
	width: auto;
	margin: 0;
	padding: var(--sp-4);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
	float: none;
	text-align: left;
	font-size: var(--fs-14);
}

/* This is the cross-sell product CARD, not the cart line (that one is a fixed
 * 88px square thumbnail further up), so it follows the catalog cards to 4:3:
 * measured median of the photo library is 1.33 and the live site serves the
 * images uncropped. object-fit: contain keeps every ratio undistorted. */
.woocommerce-cart .cross-sells ul.products li.product img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	margin: 0 0 var(--sp-3);
}

.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 var(--sp-2);
	font-family: var(--font-sans);
	font-size: var(--fs-14);
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
}

.woocommerce-cart .cross-sells ul.products li.product .price {
	display: block;
	margin: 0 0 var(--sp-3);
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-black);
	color: var(--fg-1);
}

@media ( min-width: 48em ) {
	.woocommerce-cart .cross-sells ul.products {
		grid-template-columns: repeat( 4, minmax(0, 1fr) );
	}
}

/* ---- 2.6 Empty cart ---- */

.woocommerce-cart .hs-basket-empty {
	max-width: 34rem;
	margin: var(--sp-8) auto var(--sp-6);
	text-align: center;
}

.woocommerce-cart .hs-basket-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: var(--sp-5);
	border-radius: var(--r-pill);
	background: var(--accent-soft);
	color: var(--accent-text);
}

.woocommerce-cart .hs-basket-empty__icon .hs-icon {
	width: 32px;
	height: 32px;
}

.woocommerce-cart .hs-basket-empty__title {
	margin: 0 0 var(--sp-3);
	font-size: var(--fs-28);
}

.woocommerce-cart .hs-basket-empty__lead {
	margin: 0;
	font-size: var(--fs-16);
	color: var(--fg-2);
}

.woocommerce-cart .return-to-shop {
	margin: var(--sp-5) 0 0;
	text-align: center;
}

/* "Bekijk alle toestellen" is the only route off an empty cart, so it gets the
   primary treatment instead of §1.6's neutral default — WooCommerce renders it
   as a plain `.button` with no `.alt`, which read as a secondary action on a
   screen that has no primary one. */
.woocommerce-cart .woocommerce .return-to-shop a.button {
	border-color: transparent;
	padding: var(--sp-4) var(--sp-6);
	border-radius: var(--r-lg);
	background: var(--accent-fill);
	color: var(--fg-on-brand);
	font-size: var(--fs-16);
	box-shadow: var(--shadow-1);
}

.woocommerce-cart .woocommerce .return-to-shop a.button:hover {
	background: var(--accent-fill-hover);
	color: var(--fg-on-brand);
	box-shadow: var(--shadow-2);
}

/*
 * The empty state is assembled from three separate hooks plus the template's own
 * "return to shop" paragraph, and the last hook fires *before* that paragraph —
 * so in source order the help line lands above the button. A flex column with
 * one `order` puts the button back where it belongs, without an unreliable
 * :has() or a template copy. The body class comes from hs_funnel_body_class().
 */
.woocommerce-cart.hs-cart-empty .woocommerce {
	display: flex;
	flex-direction: column;
}

.woocommerce-cart.hs-cart-empty .hs-funnel-help {
	order: 1;
	justify-content: center;
	margin-top: var(--sp-8);
}

/* ==========================================================================
   3. Checkout
   ========================================================================== */

/* The collapsible "already a customer?" / "have a coupon?" prompts WooCommerce
   puts above the form. */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin-bottom: var(--sp-3);
}

.woocommerce-checkout form.woocommerce-form-login,
.woocommerce-checkout form.checkout_coupon {
	margin: 0 0 var(--sp-6);
	padding: var(--sp-5);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-2);
	display: grid;
	gap: var(--sp-4);
}

.woocommerce-checkout form.checkout_coupon .form-row {
	margin: 0;
}

@media ( min-width: 40em ) {
	.woocommerce-checkout form.checkout_coupon {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}
}

/* ---- 3.0b Collapsed order summary (mobile only) ---- */

/*
 * Below 62em the order review sits under the whole form, so without this the
 * customer fills in ten fields having last seen what they are buying on the
 * previous page. Rendered by hs_checkout_mobile_summary(); hidden from 62em up,
 * where the sticky right-hand column already answers the same question.
 */
.woocommerce-checkout .hs-checkout__summary {
	margin: 0 0 var(--sp-6);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
}

.woocommerce-checkout .hs-checkout__summary-head {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-4);
	font-size: var(--fs-15);
	color: var(--fg-1);
	cursor: pointer;
	list-style: none;
}

/* Safari still draws the default disclosure triangle without this. */
.woocommerce-checkout .hs-checkout__summary-head::-webkit-details-marker {
	display: none;
}

.woocommerce-checkout .hs-checkout__summary-head:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
	border-radius: var(--r-lg);
}

.woocommerce-checkout .hs-checkout__summary-count {
	font-weight: var(--fw-semibold);
}

.woocommerce-checkout .hs-checkout__summary-total {
	margin-left: auto;
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-black);
	font-variant-numeric: tabular-nums;
}

.woocommerce-checkout .hs-checkout__summary-toggle {
	display: inline-flex;
	color: var(--accent-text);
	transition: transform var(--dur-fast) var(--ease-standard);
}

.woocommerce-checkout .hs-checkout__summary-toggle .hs-icon {
	width: 16px;
	height: 16px;
}

.woocommerce-checkout .hs-checkout__summary[open] .hs-checkout__summary-toggle {
	transform: rotate( 90deg );
}

.woocommerce-checkout .hs-checkout__summary-items {
	margin: 0;
	padding: 0 var(--sp-4);
	list-style: none;
	border-top: 1px solid var(--border-2);
}

.woocommerce-checkout .hs-checkout__summary-item {
	display: flex;
	gap: var(--sp-4);
	padding: var(--sp-3) 0;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

.woocommerce-checkout .hs-checkout__summary-item + .hs-checkout__summary-item {
	border-top: 1px solid var(--border-2);
}

.woocommerce-checkout .hs-checkout__summary-name {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--fg-1);
}

.woocommerce-checkout .hs-checkout__summary-qty {
	color: var(--fg-2);
}

.woocommerce-checkout .hs-checkout__summary-price {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.woocommerce-checkout .hs-checkout__summary-note {
	margin: 0;
	padding: 0 var(--sp-4) var(--sp-4);
	font-size: var(--fs-12);
	color: var(--fg-2);
}

@media ( min-width: 62em ) {
	.woocommerce-checkout .hs-checkout__summary {
		display: none;
	}
}

/* ---- 3.1 Two-column form ---- */

.woocommerce-checkout form.checkout {
	display: grid;
	gap: var(--sp-6);
	align-items: start;
}

@media ( min-width: 62em ) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr) minmax(21rem, 24rem);
		gap: var(--sp-10);
	}

	.woocommerce-checkout form.checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.woocommerce-checkout form.checkout #order_review_heading {
		grid-column: 2;
		grid-row: 1;
	}

	.woocommerce-checkout form.checkout #order_review {
		grid-column: 2;
		grid-row: 2;
		position: sticky;
		top: calc( var(--hs-header-h) + var(--sp-4) );
	}
}

/* WooCommerce floats col-1/col-2 side by side; in a single column they stack. */
.woocommerce-checkout #customer_details.col2-set,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	float: none;
	width: 100%;
	display: block;
}

.woocommerce-checkout #customer_details .col-2 {
	margin-top: var(--sp-8);
}

.woocommerce-checkout .hs-checkout__section-eyebrow {
	margin: 0 0 var(--sp-2);
	color: var(--accent-text);
}

.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading {
	margin: 0 0 var(--sp-5);
	font-size: var(--fs-24);
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
.woocommerce-checkout .woocommerce-account-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-4);
}

@media ( min-width: 40em ) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: repeat( 2, minmax(0, 1fr) );
	}

	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-wide,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-wide {
		grid-column: 1 / -1;
	}

	/* Anything a plugin adds on a third or a quarter shares one grid row rather
	   than claiming a track each. MyParcel splits a NL/BE address into street ·
	   huisnummer · toevoeging on `form-row-third`;
	   without this they would inherit whatever the two-column track does and the
	   address block would fall apart the day that plugin lands. */
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-third,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-third {
		grid-column: span 1;
	}
}

/*
 * ⚠️ SPECIFICITY, and the reason the form had no visible system at all.
 *
 * woocommerce.css ships `.woocommerce form .form-row-first { width: 47%; float:
 * left }` at (0,2,1). This block used to be `.woocommerce-checkout
 * .form-row-first` at (0,2,0), so WooCommerce won and every "half" field became
 * 47% *of its own grid track* — 183px inside a 388px column, with 205px of dead
 * space beside it. Full-width fields ignored the same rule and filled the row.
 * That is the whole explanation for Voornaam/Achternaam being narrow with a gap,
 * Land and Straat being full width, and E-mailadres sitting alone in a quarter
 * of the row: three different widths, none of them chosen.
 *
 * `form.checkout` brings this to (0,3,1) so the grid — and only the grid — sets
 * widths. `.woocommerce-checkout .woocommerce form` covers the address form on
 * my-account, which WooCommerce lays out with the same classes.
 */
.woocommerce-checkout form.checkout .form-row-first,
.woocommerce-checkout form.checkout .form-row-last,
.woocommerce-checkout form.checkout .form-row-wide,
.woocommerce-checkout form.checkout .form-row-third,
.woocommerce-account .woocommerce form .form-row-first,
.woocommerce-account .woocommerce form .form-row-last,
.woocommerce-account .woocommerce form .form-row-wide {
	float: none;
	width: auto;
	margin: 0;
}

/*
 * Required is the default here, so marking it adds noise to every single row.
 * Once bedrijfsnaam is the only optional field, saying "(optioneel)" on that one
 * row is both quieter and more informative than a red asterisk on the other
 * nine. WooCommerce already prints both spans; this chooses which one shows.
 *
 * Safe for assistive tech: the asterisk span is `aria-hidden="true"` in
 * WooCommerce's own markup and the input carries `aria-required="true"`, so
 * nothing that a screen reader reads is being hidden here.
 */
/* Reversed 30-10-2026 (client): the red asterisk shows on every required field
 * again, as on the reference. */
.woocommerce-checkout form.checkout .form-row label .required {
	display: inline;
}

.woocommerce-checkout form.checkout .form-row label .optional {
	font-weight: var(--fw-regular);
	color: var(--fg-2);
}

/* The "waarom vragen we dit" note inside a label (see the billing_phone label in
   inc/woocommerce-checkout.php). Lighter than the field name, same line. */
.woocommerce-checkout form.checkout .form-row label .hs-field-hint {
	font-weight: var(--fw-regular);
	color: var(--fg-2);
}

.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	margin-top: var(--sp-4);
}

.woocommerce-checkout #ship-to-different-address {
	margin: 0;
	font-size: var(--fs-18);
}

.woocommerce-checkout #ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-sans);
	font-size: var(--fs-16);
	font-weight: var(--fw-bold);
	cursor: pointer;
}

/* ---- 3.2 Order review card ---- */

.woocommerce-checkout #order_review {
	padding: var(--sp-6);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
	box-shadow: var(--shadow-2);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 var(--sp-5);
	border: 0;
	border-collapse: collapse;
	font-size: var(--fs-14);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
	padding: 0 0 var(--sp-3);
	border: 0;
	border-bottom: 1px solid var(--border-1);
	font-size: var(--fs-12);
	font-weight: var(--fw-black);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--fg-2);
	text-align: left;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th.product-total,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
	text-align: right;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th {
	padding: var(--sp-3) 0;
	border: 0;
	border-bottom: 1px solid var(--border-2);
	vertical-align: top;
	color: var(--fg-2);
	font-weight: var(--fw-regular);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name {
	color: var(--fg-1);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-snug);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-quantity {
	color: var(--fg-2);
	font-weight: var(--fw-regular);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation {
	margin: var(--sp-1) 0 0;
	font-size: var(--fs-12);
	font-weight: var(--fw-regular);
	color: var(--fg-2);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd p {
	display: inline;
	margin: 0;
	padding: 0;
	float: none;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	color: var(--fg-1);
	font-variant-numeric: tabular-nums;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
	text-align: left;
	font-weight: var(--fw-semibold);
	color: var(--fg-2);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
	border-bottom: 0;
	padding-top: var(--sp-4);
	font-family: var(--font-display);
	font-size: var(--fs-20);
	font-weight: var(--fw-black);
	color: var(--fg-1);
}

/* The "(inclusief € 45,12 incl. belasting (21% BTW))" note under the total, in
 * small body type — it inherited the 20px display face and wrapped into three
 * ragged lines beside the amount (measured 11-10-2026). Same rule as the cart. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td small.includes_tax {
	display: block;
	font-family: var(--font-sans);
	font-size: var(--fs-12);
	font-weight: var(--fw-regular);
	line-height: var(--lh-base);
	white-space: normal;
	color: var(--fg-2);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-2);
	text-align: left;
}

/* Same shipping-choice treatment as the cart: a real radio next to a label that
   is allowed to wrap, rather than an amount squeezed into the money column. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method li {
	display: flex;
	align-items: baseline;
	gap: var(--sp-2);
	margin: 0;
	font-size: var(--fs-14);
	color: var(--fg-1);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method li input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--accent-fill);
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method li label {
	margin: 0;
	cursor: pointer;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping th {
	white-space: nowrap;
}

/* ---- 3.3 Payment methods ---- */

.woocommerce-checkout #payment {
	border: 0;
	border-radius: 0;
	background: none;
}

.woocommerce-checkout #payment ul.payment_methods {
	margin: 0 0 var(--sp-5);
	padding: 0;
	border: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-2);
}

/*
 * And once more: woocommerce.css clearfixes this list too
 * (`.woocommerce-checkout #payment ul.payment_methods::before, ::after`), which
 * in the grid above adds two empty 0px rows plus their gaps. Measured before
 * this rule: grid-template-rows "0px 152px 0px", list 168px instead of 152px.
 */
.woocommerce-checkout #payment ul.payment_methods::before,
.woocommerce-checkout #payment ul.payment_methods::after {
	content: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0;
	padding: var(--sp-4);
	border: 1px solid var(--border-1);
	border-radius: var(--r-md);
	background: var(--bg-1);
	list-style: none;
	transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}

.woocommerce-checkout #payment ul.payment_methods li:hover,
.woocommerce-checkout #payment ul.payment_methods li:focus-within {
	border-color: var(--accent);
	background: var(--hs-teal-50);
}

.woocommerce-checkout #payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--fs-15);
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
	cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li img {
	display: inline-block;
	max-height: 24px;
	width: auto;
	margin: 0;
}

.woocommerce-checkout #payment div.payment_box {
	margin: var(--sp-3) 0 0;
	padding: var(--sp-3) var(--sp-4);
	border-radius: var(--r-sm);
	background: var(--bg-2);
	color: var(--fg-2);
	font-size: var(--fs-14);
}

.woocommerce-checkout #payment div.payment_box::before {
	content: none;
}

.woocommerce-checkout #payment div.payment_box p:last-child {
	margin: 0;
}

/*
 * No gateway configured yet — Mollie is a later phase (BACKLOG fase 5).
 * WooCommerce prints "Er zijn geen betaalmethoden beschikbaar" here, which must
 * read as a problem rather than as chrome: it is the reason the order button
 * below it is switched off (see hs_checkout_order_button_html()). Amber, not the
 * teal .woocommerce-info default, because teal is the theme's "here is some
 * information" colour and this is a blocked state.
 */
.woocommerce-checkout #payment ul.payment_methods > li:only-child {
	padding: 0;
	border: 0;
	background: none;
}

.woocommerce-checkout #payment ul.payment_methods > li:only-child:hover,
.woocommerce-checkout #payment ul.payment_methods > li:only-child:focus-within {
	border: 0;
	background: none;
}

.woocommerce-checkout #payment ul.payment_methods > li:only-child .woocommerce-info {
	margin: 0;
	border-left-color: var(--hs-amber-800);
	background: var(--hs-amber-50);
}

/*
 * A button that cannot do anything must look like it. WooCommerce's `.alt` teal
 * plus the theme's shadow would otherwise still read as the live CTA.
 *
 * Matched on [aria-disabled], not [disabled]: see hs_checkout_order_button_html()
 * — the control stays focusable on purpose so a keyboard user is told why it is
 * off instead of just running out of form. --fg-2 (6.51:1) rather than the usual
 * greyed-out --fg-3, because this text still has to be read.
 */
.woocommerce-checkout .woocommerce #place_order[aria-disabled="true"] {
	background: var(--bg-2);
	color: var(--fg-2);
	border: 1px solid var(--border-1);
	box-shadow: none;
	opacity: 1;
	cursor: not-allowed;
}

.woocommerce-checkout .woocommerce #place_order[aria-disabled="true"]:hover {
	background: var(--bg-2);
	color: var(--fg-2);
	box-shadow: none;
}

/* ---- 3.4 Terms, submit, reassurance ---- */

/*
 * The privacy paragraph is a legal footnote, not an instruction, but WooCommerce
 * prints it *above* the terms checkbox — so the last thing between the totals and
 * the pay button was a grey slab of small print. A flex column lets the checkbox
 * (the thing you must act on) come first and the footnote settle underneath,
 * without touching WooCommerce's markup order in the DOM.
 *
 * `order` moves it visually only; the reading order for a screen reader stays as
 * authored, which is the right way round here — the footnote still precedes the
 * button it belongs to.
 */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	margin: 0 0 var(--sp-5);
	font-size: var(--fs-14);
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
	order: 2;
}

/*
 * Only the <label> is the flex row (checkbox | sentence). The sentence itself
 * — "Ik heb de <a>algemene voorwaarden</a> van de site gelezen…" — stays plain
 * text: as a flex container its text runs and the link became three columns
 * ("Ik / heb / de" stacked beside the link), measured 11-10-2026.
 */
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
	display: block;
	min-width: 0;
}

/* ⚠️ SPECIFICITY: something in WooCommerce's form CSS sets this label to
 * `display: block` above the (0,2,0) rule below, so the checkbox sat on its own
 * line above the sentence. Matching through form + .form-row wins it back. */
.woocommerce-checkout .woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-2);
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: var(--sp-2);
	line-height: var(--lh-base);
	color: var(--fg-2);
	cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
.woocommerce-checkout .woocommerce-form__input-checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: 0 0 18px;
	accent-color: var(--accent-fill);
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
	margin: 0;
	font-size: var(--fs-12);
	line-height: var(--lh-base);
	color: var(--fg-2);
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
	margin: 0;
}

.woocommerce-checkout #place_order {
	width: 100%;
	padding: var(--sp-4) var(--sp-6);
	border-radius: var(--r-lg);
	font-size: var(--fs-16);
}

.woocommerce-checkout .hs-checkout__secure {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: var(--sp-3) 0 0;
	font-size: var(--fs-12);
	color: var(--fg-2);
}

.woocommerce-checkout .hs-checkout__secure .hs-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: var(--hs-green);
}

/* ==========================================================================
   4. Order received / bedankpagina — redesign 1-11-2026 (client)

   One confirmation panel (check mark, "Bedankt, {voornaam}!", the order facts
   as one row) over two columns from 62em: how the order reaches you and what
   happens next on the left, "Je bestelling" on the right — the checkout's own
   panels, 40×30 icon box and summary. All of it is WooCommerce's thankyou.php
   markup; inc/woocommerce-checkout.php (section 5) only rewords it.
   ========================================================================== */

.woocommerce-order-received .woocommerce-order { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.woocommerce-order-received .woocommerce-order > * { margin-top: 0; }

/* ---- 4.1 The confirmation panel: notice + facts drawn as one ---- */

.woocommerce-checkout .woocommerce-thankyou-order-received {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: var(--sp-1) var(--sp-5);
	margin: 0;
	padding: var(--sp-8) var(--sp-8) var(--sp-6);
	border: 0;
	border-radius: var(--r-xl) var(--r-xl) 0 0;
	background: var(--hs-green-50);
	font-family: var(--font-sans);
	font-size: var(--fs-16);
	font-weight: var(--fw-regular);
	line-height: var(--lh-base);
	color: var(--fg-1);
}

.woocommerce-checkout .hs-ty__mark {
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: var(--r-pill);
	background: var(--hs-green-700);
	color: var(--fg-on-brand);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--hs-green-700) 28%, transparent);
	animation: hs-ty-mark 520ms var(--ease-out) both;
}

.woocommerce-checkout .hs-ty__mark .hs-icon { width: 28px; height: 28px; }

/* The one moment on the page: the mark settles in. */
@keyframes hs-ty-mark { from { transform: scale(.72); } }
@media ( prefers-reduced-motion: reduce ) {
	.woocommerce-checkout .hs-ty__mark { animation: none; }
}

.woocommerce-checkout .hs-ty__title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
	font-weight: var(--fw-bold);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--hs-green-800);
	text-wrap: balance;
}

.woocommerce-checkout .hs-ty__lead { color: var(--fg-1); }
.woocommerce-checkout .hs-ty__lead strong { font-weight: var(--fw-semibold); overflow-wrap: anywhere; }

/* The facts row: label over value, a hairline above, no boxes. woocommerce.css
 * floats these items with a dashed rule and uppercase 0.715em at (0,2,2), and
 * clears the list with ::before/::after that would become grid cells. */
.woocommerce-checkout .woocommerce ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: var(--sp-4) var(--sp-6);
	margin: 0 0 var(--sp-8);
	padding: var(--sp-5) var(--sp-8) var(--sp-8);
	border: 0;
	border-radius: 0 0 var(--r-xl) var(--r-xl);
	background:
		linear-gradient(color-mix(in srgb, var(--hs-green-700) 18%, transparent), color-mix(in srgb, var(--hs-green-700) 18%, transparent)) center top / calc(100% - 2 * var(--sp-8)) 1px no-repeat,
		var(--hs-green-50);
	list-style: none;
}

.woocommerce-checkout .woocommerce ul.woocommerce-order-overview::before,
.woocommerce-checkout .woocommerce ul.woocommerce-order-overview::after { content: none; }

.woocommerce-checkout .woocommerce ul.woocommerce-order-overview li,
.woocommerce-checkout .woocommerce ul.woocommerce-order-overview li:last-of-type {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: var(--fs-14);
	font-weight: var(--fw-regular);
	line-height: var(--lh-snug);
	letter-spacing: normal;
	text-transform: none;
	color: var(--hs-green-800);
}

.woocommerce-checkout .woocommerce ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: var(--sp-1);
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-bold);
	line-height: 1.3;
	text-transform: none;
	color: var(--fg-1);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

/* ---- 4.2 Failed payment ---- */

/*
 * The failure path. A cancelled or refused iDEAL payment lands on this very
 * template, and WooCommerce prints its explanation as one plain grey paragraph
 * with a "Betalen" link that looks like every other secondary button — the same
 * visual weight as "Verder winkelen". On a €439 order that is the single most
 * expensive moment on the site to be unclear about.
 *
 * The markup is WooCommerce's own (thankyou.php), so this styles rather than
 * rebuilds: a red block, and the retry link promoted to the primary button.
 * hs_thankyou_failed_help() puts the phone number underneath, and
 * hs_thankyou_steps() already refuses to tick the step rail off on a failure.
 * (1-11-2026: a hairline all round instead of the thick red bar on the left.)
 */
.woocommerce-checkout .woocommerce-thankyou-order-failed {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	margin: 0 0 var(--sp-4);
	padding: var(--sp-5) var(--sp-6);
	border: 1px solid color-mix(in srgb, var(--hs-danger) 35%, transparent);
	border-radius: var(--r-xl);
	background: var(--hs-danger-bg);
	font-size: var(--fs-16);
	line-height: var(--lh-base);
	color: var(--fg-1);
}

.woocommerce-checkout .woocommerce-thankyou-order-failed-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin: 0 0 var(--sp-8);
}

.woocommerce-checkout .woocommerce .woocommerce-thankyou-order-failed-actions a.button.pay {
	border-color: transparent;
	background: var(--accent-fill);
	color: var(--fg-on-brand);
	box-shadow: var(--shadow-1);
}

.woocommerce-checkout .woocommerce .woocommerce-thankyou-order-failed-actions a.button.pay:hover {
	background: var(--accent-fill-hover);
	color: var(--fg-on-brand);
	box-shadow: var(--shadow-2);
}

/* The help line printed under the failure block is a direct sibling of the order
   details heading, and .hs-funnel-help only carries a top margin — so the phone
   number sat flush against "Bestelgegevens". */
.woocommerce-checkout .woocommerce-order > .hs-funnel-help {
	margin-bottom: var(--sp-8);
}

/* ---- 4.3 The panels: "Je bestelling", the addresses, the next steps ---- */

.woocommerce-checkout .woocommerce-order-details,
.woocommerce-checkout .woocommerce-customer-details,
.woocommerce-checkout .hs-thanks {
	margin: 0 0 var(--sp-6);
	padding: var(--sp-6);
	border: 0;
	border-radius: var(--r-xl);
	background: var(--bg-2);
}

.woocommerce-checkout .woocommerce-order-details__title,
.woocommerce-checkout .woocommerce-column__title,
.woocommerce-checkout .hs-thanks__title {
	margin: 0 0 var(--sp-4);
	font-family: var(--font-display);
	font-size: var(--fs-22, 1.375rem);
	font-weight: var(--fw-bold);
	line-height: 1.2;
	color: var(--fg-1);
}

/* "Je bestelling": the checkout summary's look. */
.woocommerce-checkout table.woocommerce-table--order-details {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: var(--fs-14);
}

.woocommerce-checkout table.woocommerce-table--order-details th,
.woocommerce-checkout table.woocommerce-table--order-details td {
	padding: var(--sp-3) 0;
	border: 0;
	border-bottom: 1px solid var(--border-1);
	background: none;
	text-align: left;
	vertical-align: top;
	color: var(--fg-1);
}

.woocommerce-checkout table.woocommerce-table--order-details thead th {
	padding-top: 0;
	font-size: var(--fs-12);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--fg-2);
}

.woocommerce-checkout table.woocommerce-table--order-details :is(thead th, td):last-child { padding-left: var(--sp-4); text-align: right; white-space: nowrap; }

/* The line: photo, name, quantity, attributes one per line. */
.woocommerce-checkout table.woocommerce-table--order-details td.product-name { position: relative; height: 96px; padding-left: calc(56px + var(--sp-4)); }
.woocommerce-checkout .hs-ty-thumb { position: absolute; top: var(--sp-3); left: 0; display: flex; align-items: center; justify-content: center; width: 56px; height: 72px; padding: var(--sp-1); border-radius: var(--r-md); background: var(--bg-1); }
.woocommerce-checkout .hs-ty-thumb img { width: auto; max-width: 100%; height: auto; max-height: 100%; margin: 0; }
.woocommerce-checkout table.woocommerce-table--order-details td.product-name > a { font-weight: var(--fw-bold); color: var(--fg-1); text-decoration: none; }
.woocommerce-checkout table.woocommerce-table--order-details td.product-name > a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-checkout table.woocommerce-table--order-details .product-quantity { font-weight: var(--fw-regular); color: var(--fg-2); }
.woocommerce-checkout table.woocommerce-table--order-details ul.wc-item-meta { margin: var(--sp-1) 0 0; padding: 0; list-style: none; font-size: var(--fs-14); color: var(--fg-2); }
.woocommerce-checkout table.woocommerce-table--order-details ul.wc-item-meta li { margin: 0; }
.woocommerce-checkout table.woocommerce-table--order-details ul.wc-item-meta li strong { font-weight: var(--fw-regular); }
.woocommerce-checkout table.woocommerce-table--order-details ul.wc-item-meta li p { display: inline; margin: 0; }

.woocommerce-checkout table.woocommerce-table--order-details tfoot th { font-weight: var(--fw-regular); color: var(--fg-2); }
.woocommerce-checkout table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-checkout table.woocommerce-table--order-details tfoot tr:last-child td {
	padding-top: var(--sp-4);
	border-bottom: 0;
	font-family: var(--font-display);
	font-size: var(--fs-22, 1.375rem);
	font-weight: var(--fw-bold);
	color: var(--fg-1);
}

/* Factuuradres / Verzendadres (shown to the logged-in owner only). */
.woocommerce-checkout .woocommerce-customer-details .woocommerce-columns--addresses { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); margin: 0; }
.woocommerce-checkout .woocommerce-customer-details .woocommerce-columns--addresses::before,
.woocommerce-checkout .woocommerce-customer-details .woocommerce-columns--addresses::after { content: none; }
.woocommerce-checkout .woocommerce .woocommerce-customer-details .woocommerce-column { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-style: normal;
	font-size: var(--fs-15);
	line-height: var(--lh-loose);
	color: var(--fg-1);
}
.woocommerce-checkout .woocommerce-customer-details address p { margin: var(--sp-2) 0 0; color: var(--fg-2); }
@media ( min-width: 40em ) {
	.woocommerce-checkout .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- 4.4 Left panel: Afhalen / Bezorging, "Wat gebeurt er nu?", actions ---- */

.woocommerce-checkout .hs-ty-ship + .hs-thanks__title { margin-top: var(--sp-8); }
.woocommerce-checkout .hs-ty-ship__card { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-4); border: 1px solid var(--border-1); border-radius: var(--r-lg); background: var(--bg-1); }
.woocommerce-checkout .hs-ty-ship__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 4px; }
.woocommerce-checkout .hs-ty-ship__name { font-size: var(--fs-15); font-weight: var(--fw-semibold); color: var(--fg-1); }
.woocommerce-checkout .hs-ty-ship__text { font-size: var(--fs-14); line-height: 1.4; color: var(--fg-2); }
.woocommerce-checkout .hs-ty-ship__text a { color: inherit; text-decoration: none; }
.woocommerce-checkout .hs-ty-ship__text a:hover,
.woocommerce-checkout .hs-ty-ship__text a:focus-visible { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

.woocommerce-checkout .hs-thanks__steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-5);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.woocommerce-checkout .hs-thanks__step {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"icon title"
		"icon text";
	gap: 0 var(--sp-3);
	align-items: start;
}

.woocommerce-checkout .hs-thanks__step .hs-icon {
	grid-area: icon;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--accent-text);
}

.woocommerce-checkout .hs-thanks__step-title {
	grid-area: title;
	font-weight: var(--fw-bold);
	color: var(--fg-1);
}

.woocommerce-checkout .hs-thanks__step-text {
	grid-area: text;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

.woocommerce-checkout .hs-thanks__empty { margin: var(--sp-6) 0 0; font-size: var(--fs-14); color: var(--fg-2); }

.woocommerce-checkout .hs-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin: var(--sp-8) 0 0;
}

@media ( min-width: 48em ) {
	.woocommerce-checkout .hs-thanks__steps {
		grid-template-columns: repeat( 3, minmax(0, 1fr) );
		gap: var(--sp-6);
	}
}

/* ---- 4.5 Two columns from 62em, on a received order (not a failed one) ---- */

@media ( min-width: 62em ) {
	.woocommerce-order-received .woocommerce-order:has(.woocommerce-thankyou-order-received) {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: var(--sp-6);
	}
	.woocommerce-order-received .woocommerce-order:has(.woocommerce-thankyou-order-received) > * { grid-column: 1; }
	.woocommerce-order-received .woocommerce-order:has(.woocommerce-thankyou-order-received) > :is(.hs-funnel-steps, .woocommerce-thankyou-order-received, .woocommerce-order-overview) { grid-column: 1 / -1; }
	/* Rows 1–3 are rail, notice and facts; the summary spans the left column's rows. */
	.woocommerce-order-received .woocommerce-order:has(.woocommerce-thankyou-order-received) > .woocommerce-order-details { grid-column: 2; grid-row: 4 / span 6; }
}

@media ( max-width: 40em ) {
	.woocommerce-checkout .woocommerce-thankyou-order-received { gap: var(--sp-1) var(--sp-4); padding: var(--sp-6) var(--sp-5) var(--sp-5); }
	.woocommerce-checkout .hs-ty__mark { width: 44px; height: 44px; }
	.woocommerce-checkout .hs-ty__mark .hs-icon { width: 22px; height: 22px; }
	.woocommerce-checkout .woocommerce ul.woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--sp-5) var(--sp-5) var(--sp-6); background-size: calc(100% - 2 * var(--sp-5)) 1px, auto; }
	.woocommerce-checkout .woocommerce-order-details,
	.woocommerce-checkout .woocommerce-customer-details,
	.woocommerce-checkout .hs-thanks { padding: var(--sp-5); }
}

/* ==========================================================================
   5. My account
   ========================================================================== */

/*
 * Redesign 16-11-2026 (client: "het ziet er niet uit"). One sidebar card — the
 * greeting with an initial on top, the menu below it, Uitloggen apart at the
 * foot — beside one content panel. On a phone the menu becomes a row of
 * swipeable pills under a compact greeting, so the page content starts on the
 * first screen instead of after five full-width menu rows.
 */

.woocommerce-account .hs-account-greeting {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"avatar hello"
		"avatar meta";
	align-items: center;
	gap: 0 var(--sp-3);
	margin: 0;
	padding: var(--sp-4);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
}

.woocommerce-account .hs-account-greeting__avatar {
	grid-area: avatar;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--hs-teal-50);
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-bold);
	color: var(--accent-text);
}

.woocommerce-account .hs-account-greeting__hello {
	grid-area: hello;
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	color: var(--fg-1);
}

.woocommerce-account .hs-account-greeting__meta {
	grid-area: meta;
	margin: 2px 0 0;
	overflow: hidden;
	font-size: var(--fs-14);
	color: var(--fg-2);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	margin: var(--sp-3) 0 var(--sp-6);
}

/* Phone and tablet: one row of pills that scrolls sideways. */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	gap: var(--sp-2);
	margin: 0;
	padding: 0 0 var(--sp-1);
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
	display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	flex: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: var(--sp-2) var(--sp-4);
	border: 1px solid var(--border-1);
	border-radius: var(--r-pill);
	background: var(--bg-1);
	font-size: var(--fs-14);
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible {
	border-color: var(--hs-teal-200);
	background: var(--hs-teal-50);
	color: var(--accent-text);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	border-color: var(--accent-fill);
	background: var(--accent-fill);
	color: var(--fg-on-brand);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--fg-2);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:focus-visible {
	border-color: var(--hs-danger);
	background: var(--hs-danger-bg);
	color: var(--hs-danger);
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
}

/* Desktop: sidebar card (greeting + menu) beside the content panel. */
@media ( min-width: 62em ) {
	.woocommerce-account.logged-in .woocommerce {
		display: grid;
		grid-template-columns: 16rem minmax(0, 1fr);
		/* Greeting, menu, then a free row that takes up the height of a long
		   content panel, so the first two stay at their own height. */
		grid-template-rows: auto auto 1fr;
		gap: 0 var(--sp-8);
		align-items: start;
	}

	/* Notices, when WooCommerce prints them above everything, span the row. */
	.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.woocommerce-account.logged-in .hs-account-greeting {
		grid-column: 1;
		grid-row: 1;
		padding: var(--sp-5);
		border-bottom: 0;
		border-radius: var(--r-lg) var(--r-lg) 0 0;
	}

	.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
		grid-column: 1;
		grid-row: 2;
		margin: 0;
	}

	.woocommerce-account.logged-in .woocommerce-MyAccount-content {
		grid-column: 2;
		grid-row: 1 / -1;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: grid;
		gap: 2px;
		padding: var(--sp-2) var(--sp-2) var(--sp-3);
		border: 1px solid var(--border-1);
		border-top-color: var(--border-2);
		border-radius: 0 0 var(--r-lg) var(--r-lg);
		background: var(--bg-1);
		overflow: visible;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: var(--sp-3) var(--sp-4);
		border: 0;
		border-radius: var(--r-md);
		background: transparent;
		color: var(--fg-2);
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
		background: var(--accent-fill);
		color: var(--fg-on-brand);
	}

	/* Uitloggen apart from the pages, under a hairline. */
	.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: var(--sp-2);
		padding-top: var(--sp-2);
		border-top: 1px solid var(--border-2);
	}

	.woocommerce-account .woocommerce-MyAccount-content {
		padding: var(--sp-8);
		border: 1px solid var(--border-1);
		border-radius: var(--r-lg);
		background: var(--bg-1);
		box-shadow: var(--shadow-1);
	}

	/* The forms already sit in this panel: no second card inside the first. */
	.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
	.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-address-fields {
		padding: 0;
		border: 0;
		box-shadow: none;
	}
}

/* Headings inside the panel: calm and dark, not the page-title teal. */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	margin: var(--sp-8) 0 var(--sp-4);
	font-family: var(--font-display);
	font-size: var(--fs-20);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	color: var(--fg-1);
}

.woocommerce-account .woocommerce-MyAccount-content > :first-child,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper + *,
.woocommerce-account .woocommerce-MyAccount-content form > h2:first-child,
.woocommerce-account .woocommerce-MyAccount-content .hs-account-latest__title {
	margin-top: 0;
}

/* WooCommerce's two dashboard paragraphs (the "Hallo X (niet X? Log uit)" line
   and "Vanaf je account dashboard kun je …") repeat what the tiles below show,
   and their "Log uit" link skipped the confirmation. The theme's blocks replace them. */
.hs-account-dashboard .woocommerce-MyAccount-content > p:not(.hs-funnel-help) {
	display: none;
}

/* ---- 5.0 Order status label ---- */

.woocommerce-account .hs-order-status {
	display: inline-block;
	padding: 2px var(--sp-3);
	border-radius: var(--r-pill);
	background: var(--bg-3);
	font-family: var(--font-sans);
	font-size: var(--fs-12);
	font-weight: var(--fw-bold);
	line-height: 1.6;
	color: var(--fg-1);
	white-space: nowrap;
	vertical-align: middle;
}

.woocommerce-account .hs-order-status--processing { background: var(--hs-info-bg); color: var(--hs-info); }
.woocommerce-account .hs-order-status--completed { background: var(--hs-success-bg); color: var(--hs-success); }
.woocommerce-account .hs-order-status--on-hold,
.woocommerce-account .hs-order-status--pending { background: var(--hs-warning-bg); color: var(--hs-amber-800); }
.woocommerce-account .hs-order-status--cancelled,
.woocommerce-account .hs-order-status--failed,
.woocommerce-account .hs-order-status--refunded { background: var(--hs-danger-bg); color: var(--hs-danger); }

/* "Bestelling #39623 is geplaatst op … en is op dit moment In de wacht." */
.woocommerce-account .woocommerce-MyAccount-content mark {
	background: none;
	font-weight: var(--fw-bold);
	color: var(--fg-1);
}

/* ---- 5.1 Dashboard: latest order + tiles ---- */

.woocommerce-account .hs-account-latest__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-5);
	border: 1px solid var(--hs-teal-100);
	border-radius: var(--r-lg);
	background: var(--hs-teal-50);
}

.woocommerce-account .hs-account-latest__main {
	flex: 1 1 18rem;
	min-width: 0;
}

.woocommerce-account .hs-account-latest__number {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	font-weight: var(--fw-bold);
	color: var(--fg-1);
}

.woocommerce-account .hs-account-latest__items {
	margin: var(--sp-1) 0 0;
	overflow: hidden;
	font-size: var(--fs-14);
	color: var(--fg-1);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.woocommerce-account .hs-account-latest__meta {
	margin: var(--sp-1) 0 0;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

.woocommerce-account .hs-account-latest__empty {
	margin: 0 0 var(--sp-4);
	font-size: var(--fs-14);
	color: var(--fg-2);
}

.woocommerce-account .hs-account-tiles {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-3);
	margin: var(--sp-6) 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .hs-account-tiles__item {
	margin: 0;
	list-style: none;
}

.woocommerce-account .hs-account-tiles__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"icon title"
		"icon text";
	gap: 2px var(--sp-3);
	height: 100%;
	padding: var(--sp-4) var(--sp-5);
	text-decoration: none;
	transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}

.woocommerce-account .hs-account-tiles__link:hover {
	border-color: var(--hs-teal-200);
	box-shadow: var(--shadow-2);
}

.woocommerce-account .hs-account-tiles__link .hs-icon {
	grid-area: icon;
	box-sizing: content-box;
	width: 20px;
	height: 20px;
	padding: var(--sp-2);
	border-radius: var(--r-md);
	background: var(--hs-teal-50);
	color: var(--accent-text);
}

.woocommerce-account .hs-account-tiles__title {
	grid-area: title;
	font-weight: var(--fw-bold);
	color: var(--fg-1);
}

.woocommerce-account .hs-account-tiles__text {
	grid-area: text;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

@media ( min-width: 40em ) {
	.woocommerce-account .hs-account-tiles {
		grid-template-columns: repeat( auto-fit, minmax(13rem, 1fr) );
	}
}

.woocommerce-account .woocommerce-MyAccount-content .hs-funnel-help {
	margin: var(--sp-8) 0 0;
}

/* ---- 5.2 Orders table ---- */

.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.woocommerce-table--order-details,
.woocommerce-account table.shop_table {
	width: 100%;
	margin: 0 0 var(--sp-6);
	border: 0;
	border-collapse: collapse;
	font-size: var(--fs-14);
}

.woocommerce-account table.shop_table thead th {
	padding: 0 var(--sp-3) var(--sp-3);
	border: 0;
	border-bottom: 1px solid var(--border-1);
	font-size: var(--fs-12);
	font-weight: var(--fw-black);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--fg-2);
	text-align: left;
}

.woocommerce-account table.shop_table td,
.woocommerce-account table.shop_table tbody th,
.woocommerce-account table.shop_table tfoot th {
	padding: var(--sp-4) var(--sp-3);
	border: 0;
	border-bottom: 1px solid var(--border-2);
	color: var(--fg-2);
	text-align: left;
	vertical-align: middle;
}

.woocommerce-account table.shop_table tfoot th {
	font-weight: var(--fw-semibold);
	color: var(--fg-1);
}

.woocommerce-account table.shop_table tfoot tr:last-child th,
.woocommerce-account table.shop_table tfoot tr:last-child td {
	border-bottom: 0;
}

.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-number a {
	font-weight: var(--fw-bold);
	color: var(--accent-text);
	text-decoration: none;
}

.woocommerce-account table.shop_table td.woocommerce-orders-table__cell-order-actions {
	text-align: right;
}

/* Phones: every order a small card instead of a table that scrolls sideways. */
@media ( max-width: 47.99em ) {
	.woocommerce-account table.woocommerce-orders-table thead {
		display: none;
	}

	.woocommerce-account table.woocommerce-orders-table,
	.woocommerce-account table.woocommerce-orders-table tbody,
	.woocommerce-account table.woocommerce-orders-table tr {
		display: block;
	}

	.woocommerce-account table.woocommerce-orders-table tr {
		margin: 0 0 var(--sp-3);
		padding: var(--sp-3) var(--sp-4);
		border: 1px solid var(--border-1);
		border-radius: var(--r-lg);
		background: var(--bg-1);
	}

	/* Block, label floated left: a flex row would split "€ 482,94 voor 1 item"
	   into separate items. */
	.woocommerce-account table.woocommerce-orders-table td,
	.woocommerce-account table.woocommerce-orders-table tbody th {
		display: block;
		padding: var(--sp-2) 0;
		border: 0;
		text-align: right;
	}

	.woocommerce-account table.woocommerce-orders-table td::before,
	.woocommerce-account table.woocommerce-orders-table tbody th::before {
		content: attr(data-title);
		float: left;
		margin-right: var(--sp-3);
		font-size: var(--fs-12);
		font-weight: var(--fw-bold);
		letter-spacing: var(--tracking-wide);
		text-transform: uppercase;
		color: var(--fg-2);
	}

	.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
		content: none;
	}

	.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
		width: 100%;
	}
}

.woocommerce-account .woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

/* ---- 5.5 Logout confirmation (hs_account_logout_dialog(), account.js) ---- */

.hs-logout-dialog {
	width: min(26rem, calc(100vw - 2 * var(--sp-4)));
	padding: var(--sp-6);
	border: 0;
	border-radius: var(--r-lg);
	background: var(--bg-1);
	box-shadow: var(--shadow-3);
	color: var(--fg-1);
}

.hs-logout-dialog::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.hs-logout-dialog__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-20);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
}

.hs-logout-dialog__text {
	margin: var(--sp-2) 0 0;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

.hs-logout-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--sp-2);
	margin: var(--sp-6) 0 0;
}

/* ---- 5.3 Addresses ---- */

.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-4);
	margin: 0;
}

.woocommerce-account .woocommerce-Address {
	width: auto;
	float: none;
	padding: var(--sp-5);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
}

.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--sp-2);
	margin: 0 0 var(--sp-3);
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title::before,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title::after {
	/* WooCommerce's clearfix: in this flex row they are items that push the
	   heading right and the edit link onto a second line. */
	content: none;
}

.woocommerce-account .woocommerce-Address-title .edit {
	float: none;
}

.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0;
	font-size: var(--fs-18);
	/* 18px bold is not WCAG large text: the darker teal (5,96:1). */
	color: var(--heading-color-sm);
}

.woocommerce-account .woocommerce-Address-title .edit {
	padding: var(--sp-1) var(--sp-3);
	border: 1px solid var(--border-1);
	border-radius: var(--r-pill);
	font-size: var(--fs-12);
	font-weight: var(--fw-semibold);
	color: var(--accent-text);
	text-decoration: none;
}

.woocommerce-account .woocommerce-Address-title .edit:hover,
.woocommerce-account .woocommerce-Address-title .edit:focus-visible {
	border-color: var(--hs-teal-200);
	background: var(--hs-teal-50);
}

.woocommerce-account .woocommerce-Address address {
	margin: 0;
	font-style: normal;
	font-size: var(--fs-14);
	line-height: var(--lh-loose);
	color: var(--fg-2);
}

@media ( min-width: 48em ) {
	.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: repeat( 2, minmax(0, 1fr) );
	}
}

/* ---- 5.4 Account forms (login, register, lost password, edit account) ---- */

.woocommerce-account .hs-account-login-intro {
	max-width: 46ch;
	margin: 0 0 var(--sp-6);
	font-size: var(--fs-16);
	color: var(--fg-2);
}

.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--sp-6);
}

/*
 * WooCommerce clears its float layout with `.col2-set::before/::after {
 * content: " "; display: table }`. Harmless around floats, but in a GRID
 * container those two pseudo elements are real grid items: on the addresses
 * screen the 2-column track then filled as ::before | billing / shipping |
 * ::after, which is the staircase (billing top right, shipping bottom left).
 * There is nothing left to clear here since .col-1/.col-2 are un-floated just
 * below, so the clearfix goes.
 */
.woocommerce-account .u-columns.col2-set::before,
.woocommerce-account .u-columns.col2-set::after {
	content: none;
}

.woocommerce-account .u-columns.col2-set .col-1,
.woocommerce-account .u-columns.col2-set .col-2 {
	float: none;
	width: auto;
}

@media ( min-width: 48em ) {
	.woocommerce-account .u-columns.col2-set {
		grid-template-columns: repeat( 2, minmax(0, 1fr) );
		gap: var(--sp-8);
	}
}

.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register,
.woocommerce-account form.woocommerce-ResetPassword,
.woocommerce-account form.woocommerce-EditAccountForm,
.woocommerce-account form.woocommerce-address-fields {
	display: grid;
	gap: var(--sp-4);
	margin: 0;
	padding: var(--sp-6);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-1);
	box-shadow: var(--shadow-1);
}

.woocommerce-account form.woocommerce-EditAccountForm fieldset,
.woocommerce-account form.woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
	display: grid;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	border: 0;
}

/* First and last name side by side; every other row full width. */
@media ( min-width: 40em ) {
	.woocommerce-account form.woocommerce-EditAccountForm,
	.woocommerce-account form.woocommerce-address-fields .woocommerce-address-fields__field-wrapper {
		grid-template-columns: repeat( 2, minmax(0, 1fr) );
	}

	.woocommerce-account form.woocommerce-EditAccountForm > *:not(.form-row-first):not(.form-row-last),
	.woocommerce-account form.woocommerce-address-fields .woocommerce-address-fields__field-wrapper > *:not(.form-row-first):not(.form-row-last) {
		grid-column: 1 / -1;
	}
}

/* "Wachtwoord wijzigen" as its own soft card under the name and e-mail fields
   (16-11-2026), so it reads as an optional extra and not as more required rows. */
.woocommerce-account form.woocommerce-EditAccountForm fieldset {
	margin-top: var(--sp-4);
	padding: var(--sp-5);
	border: 1px solid var(--border-1);
	border-radius: var(--r-lg);
	background: var(--bg-2);
}

/* Floated, the legend leaves the fieldset border and becomes an ordinary grid
   row inside the card, with the grid gap below it like every other row. */
.woocommerce-account form.woocommerce-EditAccountForm legend {
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--font-display);
	font-size: var(--fs-18);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	color: var(--fg-1);
}

/* The hint sits right under the heading (account.js moves it there). */
.woocommerce-account form.woocommerce-EditAccountForm .hs-pw-hint {
	margin: calc(-1 * var(--sp-3)) 0 0;
	font-size: var(--fs-14);
	color: var(--fg-2);
}

.woocommerce-account form.woocommerce-EditAccountForm fieldset input {
	background: var(--bg-1);
}

/* Closed until asked for (account.js); the grid above would otherwise win over `hidden`. */
.woocommerce-account form.woocommerce-EditAccountForm fieldset[hidden] {
	display: none;
}

.woocommerce-account form.woocommerce-EditAccountForm .hs-pw-toggle {
	justify-self: start;
	margin-top: var(--sp-2);
}

.woocommerce-account .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--fs-14);
	color: var(--fg-2);
	cursor: pointer;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	accent-color: var(--accent-fill);
}

.woocommerce-account .woocommerce-LostPassword {
	margin: 0;
	font-size: var(--fs-14);
}

.woocommerce-account .woocommerce-LostPassword a {
	color: var(--accent-text);
	font-weight: var(--fw-semibold);
}

.woocommerce-account .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: var(--sp-2);
	font-size: var(--fs-14);
	font-weight: var(--fw-regular);
	color: var(--fg-2);
	cursor: pointer;
}

.woocommerce-account .woocommerce-privacy-policy-text {
	font-size: var(--fs-12);
	color: var(--fg-2);
}

.woocommerce-account .woocommerce-password-strength {
	padding: var(--sp-2) var(--sp-3);
	border-radius: var(--r-sm);
	font-size: var(--fs-12);
	font-weight: var(--fw-semibold);
}

.woocommerce-account .woocommerce-password-strength.short,
.woocommerce-account .woocommerce-password-strength.bad {
	background: var(--hs-danger-bg);
	color: var(--hs-danger);
}

.woocommerce-account .woocommerce-password-strength.good {
	background: var(--hs-amber-100);
	color: var(--hs-amber-800);
}

.woocommerce-account .woocommerce-password-strength.strong {
	background: var(--hs-green-100);
	color: var(--hs-green-800);
}

.woocommerce-account .woocommerce-password-hint {
	font-size: var(--fs-12);
	color: var(--fg-2);
}

/* ---- 5.5 Signed out: the login page as one centred card (5-11-2026, Janyar) ----
 * Registration is off, so the page is just the login form: a full-width form
 * with a white "Login" button that read as an empty field. Now one card — title,
 * the intro line, the fields, a full-width teal button, "wachtwoord vergeten",
 * the help line — also for the lost-password screen, which shares the wrapper. */

.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
	display: flex;
	flex-direction: column;
	max-width: 28rem;
	margin: 0 auto var(--sp-12);
	padding: var(--sp-8);
	border: 1px solid var(--border-1);
	border-radius: var(--r-xl);
	background: var(--bg-1);
	box-shadow: var(--shadow-2);
}

/* The heading first, then the intro (the intro prints before it, at priority 5). */
.woocommerce-account:not(.logged-in) .entry-content > .woocommerce > h2 {
	order: -1;
	margin: 0 0 var(--sp-2);
	font-family: var(--font-display);
	font-size: var(--fs-28);
	line-height: var(--lh-snug);
	color: var(--fg-1);
}

.woocommerce-account:not(.logged-in) .hs-account-login-intro {
	margin-bottom: var(--sp-6);
	font-size: var(--fs-15);
}

.woocommerce-account:not(.logged-in) form.woocommerce-form-login,
.woocommerce-account:not(.logged-in) form.woocommerce-ResetPassword {
	padding: 0;
	border: 0;
	box-shadow: none;
}

.woocommerce-account:not(.logged-in) form.woocommerce-form-login .form-row:not(.form-row-wide) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--sp-4);
	margin: 0;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login__submit,
.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-ResetPassword button.button {
	width: 100%;
	min-height: 48px;
	border-color: transparent;
	background: var(--accent-fill);
	color: var(--fg-on-brand);
	font-size: var(--fs-16);
	box-shadow: var(--shadow-1);
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login__submit:hover,
.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-ResetPassword button.button:hover {
	background: var(--accent-fill-hover);
	color: var(--fg-on-brand);
}

.woocommerce-account:not(.logged-in) .woocommerce-LostPassword {
	text-align: center;
}

.woocommerce-account:not(.logged-in) .entry-content > .woocommerce > .hs-funnel-help {
	justify-content: center;
	margin: var(--sp-6) 0 0;
	padding-top: var(--sp-5);
	border-top: 1px solid var(--border-2);
	text-align: center;
}

@media ( max-width: 30em ) {
	.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
		padding: var(--sp-6) var(--sp-5);
	}
}

/* Registration on (5-11-2026, Janyar): login and register no longer share the
 * one narrow card, where "Registreren" broke over two lines and its text ran
 * one word per line. The wrapper becomes a plain column (intro and help line
 * centred), and each form is its own card side by side from 48em, register on
 * the soft panel colour so the two read as two choices. */
.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(> .u-columns) {
	max-width: 58rem;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(> .u-columns) > .hs-account-login-intro {
	max-width: none;
	text-align: center;
}

.woocommerce-account:not(.logged-in) .u-columns.col2-set .col-1,
.woocommerce-account:not(.logged-in) .u-columns.col2-set .col-2 {
	display: flex;
	flex-direction: column;
	padding: var(--sp-8);
	border: 1px solid var(--border-1);
	border-radius: var(--r-xl);
	background: var(--bg-1);
	box-shadow: var(--shadow-2);
}

.woocommerce-account:not(.logged-in) .u-columns.col2-set .col-2 {
	background: var(--bg-2);
	box-shadow: none;
}

.woocommerce-account:not(.logged-in) .u-columns.col2-set h2 {
	margin: 0 0 var(--sp-5);
	font-family: var(--font-display);
	font-size: var(--fs-28);
	line-height: var(--lh-snug);
	color: var(--fg-1);
}

.woocommerce-account:not(.logged-in) form.woocommerce-form-register {
	flex: 1;
	align-content: start;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.woocommerce-account:not(.logged-in) form.woocommerce-form-register > p:not(.form-row) {
	margin: 0;
	font-size: var(--fs-15);
	color: var(--fg-2);
}

/* The register button at the card's foot, so both buttons line up. */
.woocommerce-account:not(.logged-in) form.woocommerce-form-register > .form-row:last-of-type {
	margin: auto 0 0;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-register__submit {
	width: 100%;
	min-height: 48px;
	border-color: var(--accent-fill);
	background: var(--bg-1);
	color: var(--accent-text);
	font-size: var(--fs-16);
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-register__submit:hover {
	background: var(--accent-fill);
	color: var(--fg-on-brand);
}

@media ( max-width: 30em ) {
	.woocommerce-account:not(.logged-in) .u-columns.col2-set .col-1,
	.woocommerce-account:not(.logged-in) .u-columns.col2-set .col-2 {
		padding: var(--sp-6) var(--sp-5);
	}
}

/* ==========================================================================
   6. Narrow-screen safety net (320px must stay usable)
   ========================================================================== */

@media ( max-width: 22.5em ) {
	.woocommerce-cart .woocommerce-cart-form table.cart tr {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		gap: var(--sp-2) var(--sp-3);
		padding: var(--sp-3);
	}

	.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
		width: 64px;
		height: 64px;
	}

	.woocommerce-cart .woocommerce-cart-form .quantity input.qty {
		width: 2.5rem;
	}

	.woocommerce-cart .hs-qtystep {
		width: 32px;
	}

	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__label {
		font-size: var(--fs-12);
	}

	.woocommerce-checkout #order_review,
	.woocommerce-cart .cart-collaterals .cart_totals {
		padding: var(--sp-4);
	}

	/*
	 * "Doorgaan naar afrekenen" is 22 characters and .hs-btn sets
	 * `white-space: nowrap`, so at 320px it ran straight out of its own button
	 * (measured: the D and the arrow both clipped). Let the label wrap rather
	 * than shrink it below 14px — the button is full width, so two lines cost
	 * nothing, and shortening the label would weaken the clearest CTA on the
	 * page. Same treatment for the order button on the checkout.
	 */
	.woocommerce-cart .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button,
	.woocommerce-checkout .woocommerce #place_order {
		flex-wrap: wrap;
		padding: var(--sp-3) var(--sp-4);
		font-size: var(--fs-14);
		white-space: normal;
	}
}

/* ==========================================================================
 * Cart, round 24-10-2026: accessory add-ons under the items.
 * ========================================================================== */

/* "Maak je bestelling compleet" (inc/addons.php): the photo carries the card,
 * name and price centred under it, one quiet button at the foot. */
.woocommerce-cart .hs-cart-addons { margin-top: var(--sp-10); }
.woocommerce-cart .hs-cart-addons__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-24); font-weight: var(--fw-bold); color: var(--heading-color); }
.woocommerce-cart .hs-cart-addons__intro { margin: var(--sp-1) 0 var(--sp-5); color: var(--fg-2); }
.woocommerce-cart .hs-cart-addons__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.woocommerce-cart .hs-cart-addon { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); padding: var(--sp-5) var(--sp-4) var(--sp-4); border: 1px solid var(--border-2); border-radius: var(--r-xl); background: var(--bg-1); text-align: center; transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), translate 160ms var(--ease-out); }
.woocommerce-cart .hs-cart-addon:hover { border-color: var(--hs-teal-200); box-shadow: 0 12px 28px rgba(16, 42, 46, .08); translate: 0 -2px; }
.woocommerce-cart .hs-cart-addon__media { display: grid; place-items: center; width: 100%; height: 132px; margin-bottom: var(--sp-3); color: var(--hs-teal-800); }
.woocommerce-cart .hs-cart-addon__media img { max-width: 100%; max-height: 132px; width: auto; height: auto; object-fit: contain; transition: scale 240ms var(--ease-out); }
.woocommerce-cart .hs-cart-addon:hover .hs-cart-addon__media img { scale: 1.04; }
.woocommerce-cart .hs-cart-addon__media .hs-icon { width: 40px; height: 40px; }
.woocommerce-cart .hs-cart-addon__name { font-family: var(--font-display); font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.3; color: var(--fg-1); text-wrap: balance; }
.woocommerce-cart .hs-cart-addon__price { font-family: var(--font-display); font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--hs-teal-800); font-variant-numeric: tabular-nums; }
.woocommerce-cart .hs-cart-addon__add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: auto; padding: 10px 12px; border: 1.5px solid var(--hs-teal-800); border-radius: var(--r-lg); background: var(--bg-1); color: var(--hs-teal-800); font-family: var(--font-display); font-size: var(--fs-14); font-weight: var(--fw-bold); line-height: 1; text-decoration: none; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.woocommerce-cart .hs-cart-addon__price { margin-bottom: var(--sp-4); }
/* Price and button sit together at the foot, so every button lines up
 * whatever the length of the name above it. */
.woocommerce-cart .hs-cart-addon__foot { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: auto; }
.woocommerce-cart .hs-cart-addon__add:hover,
.woocommerce-cart .hs-cart-addon__add:focus-visible { background: var(--hs-teal-800); color: var(--fg-on-brand); }
.woocommerce-cart .hs-cart-addon__add .hs-icon { width: 16px; height: 16px; }

@media (max-width: 767px) {
	.woocommerce-cart .hs-cart-addons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
	.woocommerce-cart .hs-cart-addon { padding: var(--sp-4) var(--sp-3) var(--sp-3); }
	.woocommerce-cart .hs-cart-addon__media { height: 104px; }
	.woocommerce-cart .hs-cart-addon__media img { max-height: 104px; }
}
/* ==========================================================================
 * Cart rows, round 24-10-2026 (client reference): one card with plain rows.
 * Photo, the name with a one-line summary ("128GB • Zwart • A Grade"), the
 * stepper whose minus becomes a bin at 1 (checkout.js), the amount. The first
 * device has a trade-in tip under it (hs_cart_tradein_tip()); a line divides
 * a device from its accessories and from the next device. No table header,
 * no unit price, no separate remove cross: the bin does that.
 *
 * The selectors repeat the ones of the older card and table rules above on
 * purpose, so these win by order at the same specificity on every width.
 * ========================================================================== */
.woocommerce-cart .woocommerce-cart-form table.cart { display: block; width: 100%; margin: 0; padding: 0 var(--sp-6); border: 1px solid var(--border-1); border-radius: var(--r-xl); background: var(--bg-1); box-shadow: var(--shadow-1); }
.woocommerce-cart .woocommerce-cart-form table.cart thead { display: none; }
.woocommerce-cart .woocommerce-cart-form table.cart tbody { display: block; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) auto 7rem;
	grid-template-areas: "thumb name qty subtotal";
	gap: 0 var(--sp-5);
	align-items: center;
	margin: 0;
	padding: var(--sp-5) 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item + tr.cart_item:not(.hs-cart-item--addon),
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item:not(.hs-cart-item--addon) + tr.hs-cart-item--addon { border-top: 1px solid var(--border-1); }
.woocommerce-cart .woocommerce-cart-form table.cart tr.hs-cart-item--addon + tr.hs-cart-item--addon { padding-top: 0; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td { display: block; padding: 0; border: 0; background: none; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-price { display: none; }
.woocommerce-cart .hs-basket-form--js table.cart tr.cart_item td.product-remove { display: none; }

.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail { grid-area: thumb; align-self: start; padding: 0; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail::before,
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail::after { content: none; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail img { display: block; width: 80px; height: 80px; padding: 0; border: 0; border-radius: var(--r-md); background: none; object-fit: contain; }

.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name { grid-area: name; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-family: var(--font-display); font-size: var(--fs-16); font-weight: var(--fw-bold); line-height: 1.3; color: var(--hs-teal-800); }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name a { color: var(--hs-teal-800); text-decoration: none; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name a:hover { text-decoration: underline; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item dl.variation { display: block; margin: 0; font-family: var(--font-sans); font-size: var(--fs-14); font-weight: var(--fw-regular); line-height: 1.4; color: var(--fg-2); }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item dl.variation dt { display: inline; margin: 0; padding: 0; float: none; font-weight: var(--fw-regular); }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item dl.variation dd,
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item dl.variation dd p { display: inline; margin: 0; padding: 0; float: none; }
/* "Label: waarde | Label: waarde", the pairs split by a thin rule (client reference). */
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item dl.variation dt ~ dt::before { content: ""; display: inline-block; width: 1px; height: .85em; margin: 0 var(--sp-2); background: var(--border-1); vertical-align: -1px; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item dl.variation dd { margin-left: .25em; color: var(--fg-1); }

/* The tip runs from under the photo, across the bottom of the row: placed on
 * the row, because it is printed inside the name cell. */
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item:has(.hs-cart-tip) { position: relative; padding-bottom: calc(var(--sp-5) + 24px + var(--sp-4)); }
.woocommerce-cart .woocommerce-cart-form .hs-cart-tip { position: absolute; left: 0; bottom: var(--sp-5); display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0; font-family: var(--font-sans); font-size: var(--fs-15); font-weight: var(--fw-semibold); color: var(--fg-1); text-decoration: underline dotted var(--border-1); text-underline-offset: 5px; }
.woocommerce-cart .woocommerce-cart-form .hs-cart-tip:hover { color: var(--hs-teal-800); text-decoration-color: currentColor; }
.woocommerce-cart .woocommerce-cart-form .hs-cart-tip .hs-icon { flex: none; width: 20px; height: 20px; color: var(--hs-green); }

.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity { grid-area: qty; }
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-subtotal { grid-area: subtotal; font-family: var(--font-display); font-size: var(--fs-16); font-weight: var(--fw-bold); text-align: right; color: var(--fg-1); font-variant-numeric: tabular-nums; }

/* Stepper: white, teal glyphs, a bin instead of the minus at 1. */
.woocommerce-cart .woocommerce-cart-form .quantity { border-color: var(--border-1); border-radius: var(--r-md); }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep { width: 38px; background: var(--bg-1); color: var(--hs-teal-800); }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep--down { border-right: 1px solid var(--border-2); }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep--up { border-left: 1px solid var(--border-2); }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep__bin { display: none; }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep.is-remove .hs-qtystep__minus { display: none; }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep.is-remove .hs-qtystep__bin { display: inline-flex; }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep__bin .hs-icon { width: 17px; height: 17px; }
.woocommerce-cart .woocommerce-cart-form .hs-qtystep.is-remove:hover { color: var(--danger, #c0392b); }

/* The voucher row closes the card, full width (it was an anonymous table
 * cell once the table became a block). */
.woocommerce-cart .woocommerce-cart-form table.cart tr:not(.cart_item) { display: block; }
.woocommerce-cart .woocommerce-cart-form table.cart td.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); width: 100%; padding: var(--sp-4) 0; border-top: 1px solid var(--border-1); }
.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: var(--sp-2); float: none; max-width: none; }

/* Phone: the amount top right beside the name, the stepper under the name. */
@media (max-width: 47.99em) {
	.woocommerce-cart .woocommerce-cart-form table.cart { padding: 0 var(--sp-4); }
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name subtotal"
			"thumb qty qty";
		gap: var(--sp-3) var(--sp-4);
		align-items: start;
		padding: var(--sp-4) 0;
	}
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail img { width: 64px; height: 64px; }
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-name { font-size: var(--fs-15); }
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-quantity { justify-self: start; }
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-subtotal { font-size: var(--fs-15); }
	/* Room for the tip on two lines: on a narrow phone it wraps. */
	.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item:has(.hs-cart-tip) { padding-bottom: calc(var(--sp-4) + 44px + var(--sp-4)); }
	.woocommerce-cart .woocommerce-cart-form .hs-cart-tip { bottom: var(--sp-4); font-size: var(--fs-14); }
}

/* Accessory line in the order summary: indented under its device. */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.hs-cart-item--addon td.product-name { padding-left: var(--sp-6); font-size: var(--fs-14); }
.hs-addon-art { object-fit: contain; background: var(--hs-mint); border-radius: var(--r-lg); }

/* ==========================================================================
 * Checkout in three columns (24-10-2026): Gegevens | Bezorging & betaalwijze |
 * De bestelling. Each column a light panel. Markup: hs_checkout_delivery_column()
 * and hs_checkout_submit_slot(); the shipping methods and the order button are
 * put in place by assets/js/checkout-layout.js.
 * ========================================================================== */
.woocommerce-checkout form.checkout {
	grid-template-areas: "details" "delivery" "heading" "review" "submit";
	row-gap: 0;
}
.woocommerce-checkout form.checkout #customer_details { grid-area: details; margin-bottom: var(--sp-6); }
.woocommerce-checkout form.checkout .hs-co-delivery { grid-area: delivery; margin-bottom: var(--sp-6); }
.woocommerce-checkout form.checkout #order_review_heading { grid-area: heading; }
.woocommerce-checkout form.checkout #order_review { grid-area: review; }
.woocommerce-checkout form.checkout .hs-co-submit { grid-area: submit; }

/* Panels. The right column is three grid items drawn as one panel. */
.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout .hs-co-panel { padding: var(--sp-6); border-radius: var(--r-xl); background: var(--bg-2); }
.woocommerce-checkout .hs-co-delivery { display: grid; gap: var(--sp-4); }
.woocommerce-checkout form.checkout #order_review_heading { margin: 0; padding: var(--sp-6) var(--sp-6) var(--sp-4); border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--bg-2); }
.woocommerce-checkout form.checkout #order_review { position: static; padding: 0 var(--sp-6); border: 0; border-radius: 0; background: var(--bg-2); box-shadow: none; }
.woocommerce-checkout form.checkout .hs-co-submit { padding: var(--sp-2) var(--sp-6) var(--sp-6); border-radius: 0 0 var(--r-xl) var(--r-xl); background: var(--bg-2); }
.woocommerce-checkout form.checkout .hs-co-submit:empty { padding: 0 0 var(--sp-6); }
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .hs-co-title { margin: 0 0 var(--sp-5); font-family: var(--font-display); font-size: var(--fs-22, 1.375rem); font-weight: var(--fw-bold); line-height: 1.2; color: var(--fg-1); }
.woocommerce-checkout #customer_details input.input-text,
.woocommerce-checkout #customer_details select,
.woocommerce-checkout #customer_details .select2-selection { background: var(--bg-1); }

/* Bezorging: the shipping methods as cards. */
.woocommerce-checkout .hs-co-shipping__empty { margin: 0; padding: var(--sp-4); border-radius: var(--r-lg); background: var(--bg-1); font-size: var(--fs-14); color: var(--fg-2); text-align: center; }
.woocommerce-checkout .hs-co-shipping ul#shipping_method { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li { position: relative; display: flex; align-items: center; gap: var(--sp-3); margin: 0; padding: var(--sp-4); border: 1px solid var(--border-1); border-radius: var(--r-lg); background: var(--bg-1); font-size: var(--fs-15); }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li:has(input:checked) { border-color: var(--hs-teal-800); box-shadow: inset 0 0 0 1px var(--hs-teal-800); }
.woocommerce-checkout .hs-co-shipping ul#shipping_method input { margin: 0; accent-color: var(--hs-teal-800); }
.woocommerce-checkout .hs-co-shipping ul#shipping_method label { flex: 1; margin: 0; cursor: pointer; }
.woocommerce-checkout .hs-co-shipping p { margin: 0; font-size: var(--fs-14); color: var(--fg-2); }

/* Betaalwijze inside its panel: no second box. */
.woocommerce-checkout .hs-co-panel #payment { padding: 0; border: 0; background: transparent; }
.woocommerce-checkout .hs-co-panel #payment ul.payment_methods { margin: 0; padding: 0; border: 0; }

@media ( min-width: 62em ) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "details heading" "details review" "delivery submit";
		grid-template-rows: auto auto 1fr;
		column-gap: var(--sp-6);
	}
	.woocommerce-checkout form.checkout .hs-co-submit { align-self: start; }
}
@media ( min-width: 75em ) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .95fr);
		grid-template-areas: "details delivery heading" "details delivery review" "details delivery submit";
		grid-template-rows: auto auto 1fr;
	}
	.woocommerce-checkout form.checkout #customer_details,
	.woocommerce-checkout form.checkout .hs-co-delivery { margin-bottom: 0; }
	.woocommerce-checkout form.checkout #customer_details,
	.woocommerce-checkout form.checkout .hs-co-delivery { align-self: start; }
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: repeat( 2, minmax(0, 1fr) ); }
}

/* ==========================================================================
 * Order summary, round 24-10-2026 (inc/woocommerce-checkout.php): a photo per
 * line, the package icon on the insured fee, a larger total, one VAT line.
 * ========================================================================== */
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name { position: relative; padding-left: 72px; min-height: 56px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .hs-co-thumb { position: absolute; left: 0; top: var(--sp-3); display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--border-2); border-radius: var(--r-md); background: var(--bg-1); }
.woocommerce-checkout .woocommerce-checkout-review-order-table .hs-co-thumb img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart_item td { min-height: 56px; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart_item:not(.hs-cart-item--addon) td { padding-bottom: var(--sp-4); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.cart_item:not(.hs-cart-item--addon) td.product-name { padding-bottom: calc(var(--sp-4) + 8px); }

/* Accessories: tucked under their device, smaller photo. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.hs-cart-item--addon td.product-name { min-height: 36px; padding-left: calc(var(--sp-6) + 48px); font-size: var(--fs-14); font-weight: var(--fw-medium, 500); }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.hs-cart-item--addon .hs-co-thumb { left: var(--sp-6); top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: var(--r-sm); }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.hs-cart-item--addon td { padding-top: var(--sp-2); padding-bottom: var(--sp-2); }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.hs-cart-item--addon td { height: 52px; vertical-align: middle; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item:has(+ tr.hs-cart-item--addon) td { border-bottom: 0; }

.woocommerce-checkout .woocommerce-checkout-review-order-table tr.fee td { vertical-align: middle; }

/* The total: the number the customer is about to pay, so the largest on the page. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th { vertical-align: baseline; font-size: var(--fs-20); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td { vertical-align: baseline; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td > strong { font-size: var(--fs-32); line-height: 1.1; letter-spacing: -0.01em; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td small.hs-total-tax { margin-top: var(--sp-1); font-size: var(--fs-14); text-align: right; white-space: nowrap; }
/* The margin scheme as a tooltip on the VAT line under the total, cart and
* checkout alike (hs_order_total_html()). Shown on hover and focus, and on a
* tap through aria-expanded. Opens upward and to the left: the line sits at
* the right edge of a column. */
:is(.woocommerce-cart, .woocommerce-checkout) .hs-ftip { position: relative; display: inline-block; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-ftip__btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: help; text-decoration: underline dotted; text-decoration-color: var(--fg-3, #8a9496); text-underline-offset: 3px; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-ftip__btn .hs-icon { flex: none; width: 15px; height: 15px; color: var(--hs-teal-800); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-ftip__bubble { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 20; width: max-content; max-width: 260px; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: var(--fg-1); color: var(--fg-on-brand); font-family: var(--font-sans); font-size: var(--fs-13, .8125rem); font-weight: var(--fw-regular); line-height: 1.45; text-align: left; white-space: normal; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-ftip__bubble::after { content: ""; position: absolute; top: 100%; right: 14px; border: 6px solid transparent; border-top-color: var(--fg-1); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-ftip__btn:is(:hover, :focus-visible, [aria-expanded="true"]) + .hs-ftip__bubble { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.woocommerce-cart .cart_totals table.shop_table td small.includes_tax:has(.hs-ftip) { max-width: none; }

/* The coupon: a fold-out row above the total on cart and checkout
* (hs_funnel_coupon_row()); the cart table's own field is hidden (client, 24-10-2026). With
* JavaScript on, the cart's actions row has nothing visible left: the update
* button is clicked by checkout.js and the nonce is a hidden field. */
.woocommerce-cart .woocommerce-cart-form td.actions .coupon { display: none; }
.woocommerce-cart .hs-basket-form--js table.cart tr:not(.cart_item):has(td.actions) { display: none; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.hs-co-coupon-row td { padding: 0; text-align: left; font-variant-numeric: normal; }
.woocommerce-cart .cart_totals table.shop_table tr.hs-co-coupon-row { display: block; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.woocommerce-cart .cart_totals table.shop_table tr.hs-co-coupon-row td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-4) 0; list-style: none; cursor: pointer; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fg-1); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon summary::-webkit-details-marker { display: none; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon summary:hover { color: var(--hs-teal-800); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon summary .hs-icon { flex: none; width: 16px; height: 16px; rotate: 90deg; transition: rotate 200ms var(--ease-out); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon[open] summary .hs-icon { rotate: -90deg; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__form { display: flex; gap: var(--sp-2); padding-bottom: var(--sp-4); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__form input.input-text { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: var(--sp-2) var(--sp-3); border: 1px solid var(--border-1); border-radius: var(--r-md); background: var(--bg-1); font-size: var(--fs-15); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__form input.input-text:focus { border-color: var(--hs-teal-800); outline: 2px solid color-mix(in srgb, var(--hs-teal-800) 20%, transparent); outline-offset: 0; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__apply { flex: none; min-height: 44px; padding: 0 var(--sp-5); border: 0; border-radius: var(--r-md); background: var(--hs-teal-800); color: var(--fg-on-brand); font-family: var(--font-display); font-size: var(--fs-15); font-weight: var(--fw-bold); cursor: pointer; transition: background-color 160ms var(--ease-out), opacity 160ms var(--ease-out); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__apply:hover { background: var(--hs-teal-900, var(--hs-teal-800)); }
/* Grey until there is a code, as in the reference. */
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__form input:placeholder-shown + .hs-co-coupon__apply { background: var(--fg-3, #8a9496); opacity: .7; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon.is-busy .hs-co-coupon__apply { opacity: .5; pointer-events: none; }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__msg { margin: calc(var(--sp-2) * -1) 0 var(--sp-4); font-size: var(--fs-13, .8125rem); color: var(--hs-green-800, #1f7a4d); }
:is(.woocommerce-cart, .woocommerce-checkout) .hs-co-coupon__msg.is-error { color: var(--danger, #c0392b); }

/* Cart and checkout: the title without its mint band, and closer to the step
* rail under it (client, 24-10-2026). The body-class prefix outranks the
* band rules in content.css whatever the load order. */
:is(.woocommerce-cart, .woocommerce-checkout) .hs-titleband { padding-block: var(--sp-8) var(--sp-5); background: none; }

/* No subtotal in the cart totals (client, 26-10-2026): with no shipping row yet
* it only repeated the total. cart-totals.php prints it without a hook. */
.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal { display: none; }

/* ==========================================================================
 * Checkout round 30-10-2026 (client): Particulier/Zakelijk, logos on the
 * shipping and payment options with their cost on the right, the variation
 * lines as a list, the EU line above the button.
 * ========================================================================== */

/* Type klant: label and both radios on one line, as on the reference. The
 * company row is hidden for Particulier. */
/* By id: the generic .form-row rule stacks its children in a column. */
.woocommerce-checkout #billing_customer_type_field { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-5); }
.woocommerce-checkout .hs-customer-type > label { width: auto; margin: 0; }
.woocommerce-checkout .hs-customer-type .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-5); }
.woocommerce-checkout .hs-customer-type input.input-radio { margin: 0; accent-color: var(--hs-teal-800); }
.woocommerce-checkout .hs-customer-type label.radio { display: inline; margin: 0 0 0 calc(var(--sp-2) * -1); font-size: var(--fs-15); cursor: pointer; }
.woocommerce-checkout #billing_company_field[hidden] { display: none; }

/* Shipping options: logo · name · price in grey right after it. */
.woocommerce-checkout .hs-co-shipping .hs-ship { display: flex; align-items: center; gap: var(--sp-3); }
/* One tile for every logo, shipping and payment alike: 32px, white, hairline,
 * the logo contained inside (client reference, 30-10-2026). */
.woocommerce-checkout .hs-ship-logo,
.woocommerce-checkout #payment ul.payment_methods li label img { box-sizing: border-box; display: grid; flex: none; place-items: center; width: 36px; height: 36px; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-sm); background: var(--bg-1); object-fit: contain; }
.woocommerce-checkout .hs-ship-logo img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.woocommerce-checkout .hs-ship-logo:empty { border: 0; background: none; }
.woocommerce-checkout .hs-ship-name { font-weight: var(--fw-semibold); }
.woocommerce-checkout .hs-co-shipping .hs-ship-price { font-size: var(--fs-14); color: var(--fg-2); white-space: nowrap; } /* Room after the name (client, 1-11-2026). */
/* Name + price on one line, the line about it under them (client, 30-10-2026). */
.woocommerce-checkout .hs-co-shipping .hs-ship-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.woocommerce-checkout .hs-co-shipping .hs-ship-text { font-size: var(--fs-14); line-height: 1.4; color: var(--fg-2); }
/* The address is plain grey text; colour and underline only on hover (client, 1-11-2026). */
.woocommerce-checkout .hs-co-shipping .hs-ship-text a { color: inherit; text-decoration: none; }
.woocommerce-checkout .hs-co-shipping .hs-ship-text a:hover,
.woocommerce-checkout .hs-co-shipping .hs-ship-text a:focus-visible { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
/* "Gratis verzenden · Gratis" says it twice: no price on that one. */
/* Pickup shows no price in the list (it is free anyway, client 30-10-2026); standard
 * delivery shows "Gratis" in grey after its name, without a background since 1-11-2026
 * (it was a grey label). The summary row keeps its plain price. */
.woocommerce-checkout .hs-co-shipping :is(.hs-ship--local_pickup, .hs-ship--pickup_location) .hs-ship-price { display: none; }
/* The drawn icons (parcel, shop) at the size of the logos. */
.woocommerce-checkout .hs-ship-logo > .hs-icon { width: 28px; height: 28px; color: var(--fg-1); }
/* Pickup after a rule of its own, apart from the deliveries. */
.woocommerce-checkout .hs-co-shipping ul#shipping_method li:has(.hs-ship--local_pickup, .hs-ship--pickup_location):not(:first-child) { margin-top: calc(var(--sp-6) - var(--sp-2) + 1px); }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li:has(.hs-ship--local_pickup, .hs-ship--pickup_location):not(:first-child)::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--sp-3) * -1 - 1px); border-top: 1px solid var(--border-1); }

/* Payment options: logo left, title, "Gratis" / "+4,99% toeslag" after it. */
.woocommerce-checkout #payment ul.payment_methods li label { width: calc(100% - 2em); vertical-align: middle; }
.woocommerce-checkout #payment ul.payment_methods li label img { order: -1; }
.woocommerce-checkout #payment ul.payment_methods li label .hs-pay-cost { font-size: var(--fs-14); font-weight: var(--fw-regular); color: var(--fg-2); white-space: nowrap; }

/* Je bestelling: the variation as a list, one "Label: waarde" per line. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table dl.variation dd::after { content: "\A"; white-space: pre; }

/* The EU line, right above the order button. */
.woocommerce-checkout .hs-checkout__obligation { margin: var(--sp-3) 0 var(--sp-2); font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--fg-1); text-align: left; }

/* Street and town found by the postcode lookup: locked, as on the reference. */
.woocommerce-checkout form.checkout .form-row input.input-text.hs-looked-up { border-color: var(--hs-green-700); background: var(--bg-2); color: var(--fg-2); cursor: default; }

/* The order photo whole, never cut: fitted with max-width/-height, which no
 * WooCommerce rule touches (a longer one sets its height to auto, so
 * height: 100% lost and a 54×80 photo was clipped in its 56px box). Flex, not
 * the grid it was: a percentage max-height does not resolve in a grid track. */
.woocommerce-checkout .woocommerce-checkout-review-order-table .hs-co-thumb { display: flex; align-items: center; justify-content: center; padding: var(--sp-1); }
.woocommerce-checkout .woocommerce-checkout-review-order-table .hs-co-thumb img { width: auto; max-width: 100%; max-height: 100%; }


/* The country field as a plain select (selectWoo is dequeued on the funnel,
 * 30-10-2026), sized and drawn like the text inputs, with a chevron on its
 * wrapper (a select has no ::after). The mask's colour is only its shape. */
.woocommerce-checkout form.checkout .form-row select { box-sizing: border-box; width: 100%; height: 50px; padding: 0 var(--sp-8) 0 var(--sp-4); border: 1px solid var(--border-1); border-radius: var(--r-md); background: var(--bg-1); font-size: var(--fs-16); color: var(--fg-1); cursor: pointer; appearance: none; }
.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper:has(> select) { position: relative; display: block; }
.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper:has(> select)::after { content: ""; position: absolute; top: 50%; right: var(--sp-4); width: 14px; height: 14px; translate: 0 -50%; background: var(--fg-2); pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ==========================================================================
 * Checkout round 2, 30-10-2026 (client): "Stap N" on the cards, a spinner
 * while the address is looked up, the step rail as plain circles.
 * ========================================================================== */

/* "Stap 1 Gegevens" … "Stap 4 Je bestelling", in teal before the title. In CSS
 * because WooCommerce prints two of these titles itself, escaped. */
.woocommerce-checkout .woocommerce-billing-fields > h3::before { content: "Stap 1"; }
.woocommerce-checkout #hs-co-shipping-title::before { content: "Stap 2"; }
.woocommerce-checkout #hs-co-payment-title::before { content: "Stap 3"; }
.woocommerce-checkout #order_review_heading::before { content: "Stap 4"; }
.woocommerce-checkout :is(.woocommerce-billing-fields > h3, #hs-co-shipping-title, #hs-co-payment-title, #order_review_heading)::before { color: var(--accent-text); margin-right: .6em; }

/* Street and town while the postcode lookup runs. */
.woocommerce-checkout form.checkout .form-row.hs-is-looking .woocommerce-input-wrapper { position: relative; display: block; }
.woocommerce-checkout form.checkout .form-row.hs-is-looking .woocommerce-input-wrapper::after { content: ""; position: absolute; top: 50%; right: var(--sp-4); width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--border-1); border-top-color: var(--hs-teal-800); border-radius: var(--r-pill); animation: hs-co-spin .7s linear infinite; }
@keyframes hs-co-spin { to { transform: rotate(360deg); } }
@media ( prefers-reduced-motion: reduce ) {
	.woocommerce-checkout form.checkout .form-row.hs-is-looking .woocommerce-input-wrapper::after { animation-duration: 2s; }
}

/* The step rail: circles without numbers; the current one filled, a done one
 * keeps its tick. */
:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__marker { width: 20px; height: 20px; flex-basis: 20px; }
:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__marker .hs-icon { width: 12px; height: 12px; }
:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item--current .hs-funnel-steps__marker { background: var(--accent-fill); border-color: var(--accent-fill); }

/* Phones (5-11-2026, Janyar: "lelijk op telefoon"): it wrapped to two ragged
 * lines. Now three equal columns, the circle over its label, and a line from
 * circle to circle — teal once the step before it is done. */
@media ( max-width: 39.99em ) {
	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 0; margin-bottom: var(--sp-6); }
	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item { position: relative; flex-direction: column; gap: 6px; text-align: center; line-height: 1.25; }
	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item + .hs-funnel-steps__item::before { display: block; position: absolute; top: 9px; right: calc( 50% + 16px ); width: calc( 100% - 32px ); }
	:is( .woocommerce-cart, .woocommerce-checkout ) .hs-funnel-steps__item--done + .hs-funnel-steps__item::before { background: var(--accent-fill); }
}

/* "+ appartement, suite enz. toevoegen" (checkout-layout.js) and the field it
 * unfolds. A small text link under street + town, as on the reference. */
.woocommerce-checkout form.checkout .form-row.hs-unit-field[hidden] { display: none; }
.woocommerce-checkout form.checkout .form-row.hs-unit-toggle { margin-top: calc(var(--sp-2) * -1); }
.woocommerce-checkout .hs-unit-toggle button { padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-14); color: var(--fg-1); cursor: pointer; }
.woocommerce-checkout .hs-unit-toggle button:hover,
.woocommerce-checkout .hs-unit-toggle button:focus-visible { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

/* Step 2 and 3: every icon and logo in the same box at the top of its option
 * (client, 30-10-2026). The radio sits level with that box. */
.woocommerce-checkout .hs-co-shipping ul#shipping_method li { align-items: flex-start; }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li > input { margin-top: 11px; }
.woocommerce-checkout .hs-co-shipping .hs-ship { align-items: flex-start; }
.woocommerce-checkout .hs-ship-logo > .hs-icon { width: 100%; height: 100%; }
/* One box for every icon in step 2 and 3: 40×30, the shape of the payment
 * logos (4:3 artwork), so a logo fills it and a square icon (parcel, shop,
 * PostNL) stands just as tall in the middle. A square box made the payment
 * logos a quarter shorter than the shipping icons. */
.woocommerce-checkout .hs-ship-logo,
.woocommerce-checkout #payment ul.payment_methods li label img { width: 40px; height: 30px; }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li > input { margin-top: 9px; }

/* The apartment link left under the street, not centred by the row's flex. */
.woocommerce-checkout form.checkout .form-row.hs-unit-toggle { align-items: flex-start; text-align: left; }
/* "Particulier *" / "Zakelijk *": the asterisk belongs to "Type klant" only. */
.woocommerce-checkout form.checkout .form-row.hs-customer-type label.radio .required { display: none; }

/* ==========================================================================
 * Checkout round 4, 1-11-2026 (client)
 * ========================================================================== */

/* The PostNL logo whole in its 40×30 box. Flex, not the shared tile's grid: a
 * percentage height does not resolve in a grid track, so the 40px-wide square
 * logo stayed 40px tall and lost a quarter to overflow: hidden. */
.woocommerce-checkout .hs-ship-logo { display: flex; align-items: center; justify-content: center; }
.woocommerce-checkout .hs-ship-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; }

/* The whole card is the click target, shipping and payment alike: the padding
 * moves from the card (li) to its label, which now fills it, and the radio sits
 * on top of the label's left padding, level with the 30px icon box. Before, a
 * click on the card's empty space did nothing. */
.woocommerce-checkout .hs-co-shipping ul#shipping_method li,
.woocommerce-checkout #payment ul.payment_methods li { position: relative; padding: 0; }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li > input.shipping_method,
.woocommerce-checkout #payment ul.payment_methods li > input.input-radio { position: absolute; top: calc(var(--sp-4) + 7px); left: var(--sp-4); width: 16px; height: 16px; margin: 0; }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li > label,
.woocommerce-checkout #payment ul.payment_methods li > label { display: flex; width: auto; padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-4) + 16px + var(--sp-3)); cursor: pointer; }
/* A single method comes as a hidden input: no radio, no room for one. */
.woocommerce-checkout .hs-co-shipping ul#shipping_method li > input[type="hidden"] + label { padding-left: var(--sp-4); }
.woocommerce-checkout #payment ul.payment_methods li > label { align-items: center; }
/* width: auto (6-11-2026): woocommerce.css sets width: 100%, so with these side
 * margins the opened box (card fields, KBC bank list) stuck out 16px past the card. */
.woocommerce-checkout #payment div.payment_box { width: auto; margin: 0 var(--sp-4) var(--sp-4); }
.woocommerce-checkout .hs-co-shipping ul#shipping_method li > label > .hs-ship { flex: 1; min-width: 0; }

/* Checkout errors as a notification top right (client, 1-11-2026), not a block
 * at the top of the form — in the three-column grid that landed bottom left,
 * under "Gegevens", out of sight. WooCommerce still prepends the group to the
 * form and focuses it; checkout-layout.js adds the close button. Under the
 * sticky header: topbar + header (+ the admin bar when logged in). */
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup {
	position: fixed;
	z-index: 200;
	top: calc(var(--hs-topbar-h) + var(--hs-header-h) + var(--sp-4));
	right: var(--sp-4);
	width: min(26rem, calc(100vw - 2 * var(--sp-4)));
	margin: 0;
	animation: hs-co-toast 320ms var(--ease-out) both;
}
.admin-bar.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { top: calc(32px + var(--hs-topbar-h) + var(--hs-header-h) + var(--sp-4)); }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup .woocommerce-error {
	position: relative;
	margin: 0;
	padding: var(--sp-4) var(--sp-10) var(--sp-4) var(--sp-4);
	border: 1px solid color-mix(in srgb, var(--hs-danger) 35%, transparent);
	border-radius: var(--r-lg);
	box-shadow: 0 12px 32px rgba(15, 23, 26, .16), 0 2px 6px rgba(15, 23, 26, .08);
}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup .woocommerce-error li + li { margin-top: var(--sp-2); }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup .woocommerce-error a { color: var(--fg-1); }
.woocommerce-checkout .hs-co-toast-close { position: absolute; top: var(--sp-2); right: var(--sp-2); display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-md); background: none; color: var(--fg-2); cursor: pointer; }
.woocommerce-checkout .hs-co-toast-close:hover { background: color-mix(in srgb, var(--hs-danger) 10%, transparent); color: var(--fg-1); }
.woocommerce-checkout .hs-co-toast-close .hs-icon { width: 16px; height: 16px; }
@keyframes hs-co-toast { from { opacity: 0; transform: translateY(-8px); } }
@media ( prefers-reduced-motion: reduce ) {
	.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { animation: none; }
}
@media ( max-width: 48.875em ) {
	.admin-bar.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { top: calc(46px + var(--hs-topbar-h) + var(--hs-header-h) + var(--sp-4)); }
}

/* Order received, round 2 (1-11-2026): the e-mail is already in the line above
 * the facts (and broke mid-word in a fifth column); the way the order reaches
 * you comes before the invoice address — grid order, the markup is Woo's. */
.woocommerce-checkout .woocommerce ul.woocommerce-order-overview li.woocommerce-order-overview__email { display: none; }
.woocommerce-order-received .woocommerce-order > .woocommerce-customer-details { order: 1; }
/* Name and price with room between them (client, 1-11-2026) as a flex gap, so
 * a price that wraps under a long name starts flush left, not indented. */
.woocommerce-checkout .hs-co-shipping .hs-ship-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--sp-2); }

/* ==========================================================================
 * Live fixes, 3-11-2026 (client): MyParcel and Mollie on the live site
 * ========================================================================== */

/* MyParcel's own street · number · suffix (inc/woocommerce-checkout.php,
 * hs_checkout_field_grid()): four tracks where they appear, so postcode takes
 * half a row and number + suffix a quarter each; straat · plaats under them. */
@media ( min-width: 40em ) {
	.woocommerce-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper):has(> [id$="_house_number_field"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.woocommerce-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper):has(> [id$="_house_number_field"]) > .form-row { grid-column: span 2; }
	.woocommerce-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper):has(> [id$="_house_number_field"]) > .form-row-wide { grid-column: 1 / -1; }
	.woocommerce-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper):has(> [id$="_house_number_field"]) > :is([id$="_house_number_field"], [id$="_house_number_suffix_field"]) { grid-column: span 1; }
}

/* No description under a chosen payment method ("Gratis betaalmethode"): the
 * cost is already on the option. A box that holds a form — Mollie's card
 * fields, the KBC bank list — stays. Folded, not display: none: WooCommerce
 * opens the chosen one with an inline display: block (jQuery slideDown). */
.woocommerce-checkout #payment div.payment_box:not(:has(input:not([type="hidden"]), select, textarea, iframe, .mollie-components)) { visibility: hidden; max-height: 0; margin: 0; padding-block: 0; overflow: hidden; }

/* Order received: the total's VAT line under the amount, as on the checkout. */
.woocommerce-checkout table.woocommerce-table--order-details tfoot td:last-child { white-space: normal; }
.woocommerce-checkout .hs-ty-vat { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: var(--fs-13, .8125rem); font-weight: var(--fw-regular); color: var(--fg-2); }

/* MyParcel's "Bezorgopties" (carrier and package type, woocommerce_after_order_details)
 * says nothing the page does not, and on a pickup order it says PostNL. Hidden on
 * this page only; My account keeps it for the track & trace link. */
.woocommerce-order-received .woocommerce-order > section[class$="-delivery-options"] { display: none; }

/* MyParcel's own stylesheet gives every .form-row-third but the last a 16px right
 * margin, at a specificity of (0,5,0) (its :not() takes its strongest argument):
 * in our grid that made "Nummer" and "Straat" 16px narrower than their
 * neighbours (live, 3-11-2026). The grid gap is the spacing; the id outranks it
 * without !important. */
.woocommerce-checkout #customer_details :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > .form-row-third { margin: 0; }

/* Round 7, 5-11-2026 (Janyar): "Maak een account aan" at the foot of Gegevens
 * was a loose native checkbox, out of line with the rest. Now an option card
 * like a shipping option: checkbox, title, and the line under it saying what an
 * account gives you (hs_checkout_create_account_note(), also a <label>, so the
 * whole card text toggles it). Teal edge when ticked. */
.woocommerce-checkout .woocommerce-account-fields { display: block; margin-top: var(--sp-5); padding: var(--sp-4); border: 1px solid var(--border-1); border-radius: var(--r-lg); background: var(--bg-1); transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard); }
.woocommerce-checkout .woocommerce-account-fields:has(#createaccount:checked) { border-color: var(--hs-teal-800); box-shadow: inset 0 0 0 1px var(--hs-teal-800); }
.woocommerce-checkout form.checkout .woocommerce-account-fields .form-row.create-account { margin: 0; padding: 0; }
.woocommerce-checkout form.checkout .woocommerce-account-fields .form-row label.checkbox { display: flex; align-items: center; gap: var(--sp-3); margin: 0; font-size: var(--fs-15); font-weight: var(--fw-bold); line-height: 1.3; color: var(--fg-1); cursor: pointer; }
.woocommerce-checkout form.checkout #createaccount { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--hs-teal-800); }
.woocommerce-checkout form.checkout .hs-create-account__note { display: block; margin: var(--sp-1) 0 0 calc( 18px + var(--sp-3) ); font-size: var(--fs-14); font-weight: var(--fw-regular); line-height: 1.45; color: var(--fg-2); cursor: pointer; }
/* Only when the shop asks for a password: that field opens inside the card. */
.woocommerce-checkout form.checkout .woocommerce-account-fields div.create-account { margin-top: var(--sp-4); }
