/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child-Theme für shopforge-test.local — eigenes WooCommerce-Cart-Design im Funnel-Look (Template-Override woocommerce/cart/cart.php). Cart-Styles sind unter .sfcart gescoped, Funnel-Tokens (.sf-btn, --sf-*) sind wiederverwendbar für den Checkout.
Author: ShopForge
Template: blocksy
Version: 2.11.2
Text Domain: blocksy-child
Domain Path: /languages
*/

/* ==========================================================================
   1) FUNNEL-DESIGN-TOKENS (wiederverwendbar — auch für den Checkout)
   Fonts: Überschriften/Preise = Plus Jakarta Sans, Fließtext = Inter.
   Geladen via functions.php (Google Fonts, nur Cart & Checkout).
   ========================================================================== */

:root {
	--sf-font-heading: "Plus Jakarta Sans", "Inter", sans-serif;
	--sf-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--sf-ink: #101418;        /* Titel, Preise, primäre Texte */
	--sf-text: #52575d;       /* Fließtext */
	--sf-muted: #8a9097;      /* Sekundärtext, durchgestrichene Preise */
	--sf-line: #e7e7e9;       /* dezente Rahmen */
	--sf-surface: #f5f5f6;    /* Bild-/Flächen-Hintergrund */

	--sf-radius-card: 16px;
	--sf-radius-control: 12px;

	--sf-btn-bg: #111111;
	--sf-btn-bg-hover: #000000;
	--sf-btn-color: #ffffff;
	--sf-btn-radius: 999px;   /* Pill wie die Funnel-Buttons */

	/* Funnel-Hero-Palette (Sektion 12, Produktseite) — Werte 1:1 aus dem
	   Funnel-Template (--fnl-*). --sf-surface bleibt die neutrale Fläche
	   für Cart/Archiv; --sf-cream ist die Signatur-Fläche des Funnels. */
	--sf-cream: #f7f4ee;
	--sf-cream-2: #f1ede4;
	--sf-line-strong: #dcd8cf;
	--sf-accent: #e05a3a;
	--sf-gold: #f2a83b;
	--sf-green: #2f8f5b;
	--sf-radius-lg: 24px;
	--sf-shadow-sm: 0 1px 2px rgba(20, 22, 28, 0.06), 0 4px 14px rgba(20, 22, 28, 0.05);
}

/* Font-Utilities (opt-in, z. B. für den Checkout) */
.sf-font-heading {
	font-family: var(--sf-font-heading);
}

.sf-font-body {
	font-family: var(--sf-font-body);
}

/* Funnel-Button: schwarz, Pill, weiße Schrift — wie "In den Warenkorb" */
.sf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 15px 30px;
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg);
	border: none;
	border-radius: var(--sf-btn-radius);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.sf-btn:hover,
.sf-btn:focus {
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg-hover);
	text-decoration: none;
}

.sf-btn:active {
	transform: scale(0.985);
}

.sf-btn:focus-visible {
	outline: 2px solid var(--sf-ink);
	outline-offset: 3px;
}

.sf-btn--block {
	display: flex;
	width: 100%;
}

/* Sekundär-Variante (z. B. Gutschein anwenden, Warenkorb aktualisieren) */
.sf-btn--ghost,
.sf-btn--ghost:hover,
.sf-btn--ghost:focus {
	color: var(--sf-ink);
	background: #fff;
	border: 1px solid var(--sf-line);
}

.sf-btn--ghost:hover {
	border-color: var(--sf-ink);
}

/* ==========================================================================
   2) CART (.sfcart) — Grund-Layout
   Blocksy macht .ct-woocommerce-cart-form selbst zum Grid; wir übernehmen
   das Layout komplett selbst.
   ========================================================================== */

.sfcart.ct-woocommerce-cart-form {
	display: block;
}

.sfcart,
.sfcart-xsells,
.sfcart-sticky {
	font-family: var(--sf-font-body);
	color: var(--sf-text);
	/* Blocksys Link-Farbvariablen im Cart auf neutral/ink stellen */
	--theme-link-initial-color: var(--sf-ink);
	--theme-link-hover-color: #000000;
}

.sfcart .sfcart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

@media (min-width: 1000px) {
	.sfcart .sfcart-layout {
		grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
		gap: 40px;
	}
}

.sfcart .woocommerce-cart-form {
	margin: 0;
}

/* ==========================================================================
   3) KOPFZEILE (New-Balance-Aufbau) + TOP-CTA + VERSAND-LABEL
   ========================================================================== */

.sfcart .sfcart-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin: 0 0 16px;
}

.sfcart .sfcart-head__title {
	margin: 0;
	font-family: var(--sf-font-heading);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--sf-ink);
}

.sfcart .sfcart-head__meta {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 15px;
	color: var(--sf-text);
}

/* Meta ("N varer | Summe") nur auf Mobile/Tablet — auf Desktop zeigt die
   Bestellübersicht rechts die Summe bereits an. */
@media (min-width: 1000px) {
	.sfcart .sfcart-head__meta {
		display: none;
	}
}

.sfcart .sfcart-head__sep {
	color: #d4d4d8;
}

.sfcart .sfcart-head__total {
	font-family: var(--sf-font-heading);
	font-weight: 700;
	font-size: 18px;
	color: var(--sf-ink);
	white-space: nowrap;
}

/* Kasse-Button direkt unter der Kopfzeile.
   Nur Mobile/Tablet — auf Desktop übernimmt der CTA in der
   Bestellübersicht (rechte Spalte). Seitlich um den Innenabstand der
   Ordreoversigt-Box (24px) eingerückt, damit er exakt so breit ist wie
   der "Gå til kassen"-Button darin (Symmetrie beider CTAs). */
.sfcart .sfcart-topcta {
	width: auto;
	margin: 0 24px 28px;
}

@media (min-width: 1000px) {
	.sfcart .sfcart-topcta {
		display: none;
	}
}

/* "Versand"-Gruppenlabel über der Artikelliste */
.sfcart .sfcart-group {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--sf-ink);
}

.sfcart .sfcart-group svg {
	flex: none;
}

/* ==========================================================================
   4) ARTIKEL-KARTEN (Tabelle → Cards)
   Wichtig: Selektoren mit table.cart-Präfix schlagen Blocksys Regeln
   ([class*="ct-woocommerce"] .shop_table …), die den Layout-Bug verursachten:
   - product-thumbnail { width: 120px } → Bild lief in den Titel
   - product-quantity/-subtotal/-remove { display: none } unter 1000px
   ========================================================================== */

.sfcart table.cart,
.sfcart table.cart:first-child {
	display: block;
	width: 100%;
	margin: 0;
	border: none;
	background: none;
	box-shadow: none;
}

.sfcart table.cart thead {
	display: none;
}

.sfcart table.cart tbody {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sfcart table.cart :is(td, th) {
	padding: 0;
	border: none;
	background: none;
}

/* einzelne Position als Card */
.sfcart table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr) auto;
	grid-template-areas:
		"thumb name   remove"
		"thumb qty    subtotal";
	column-gap: 18px;
	row-gap: 12px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-card);
	padding: 16px;
	box-shadow: 0 1px 2px rgba(16, 20, 24, 0.03);
}

@media (max-width: 559.98px) {
	.sfcart table.cart tr.cart_item {
		grid-template-columns: 84px minmax(0, 1fr) auto;
		column-gap: 14px;
		padding: 14px;
	}
}

/* Produktbild — feste Spaltenbreite, Blocksys width:120px neutralisieren */
.sfcart table.cart td.product-thumbnail {
	grid-area: thumb;
	width: auto !important; /* Bugfix: Blocksy erzwingt sonst 120px */
	align-self: start;
	background: var(--sf-surface);
	border-radius: var(--sf-radius-control);
	overflow: hidden;
}

.sfcart table.cart td.product-thumbnail a {
	display: block;
}

.sfcart table.cart td.product-thumbnail :is(img, .ct-media-container) {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

/* Weiße Produktfotos verschmelzen mit der grauen Fläche (NB-Look) */
.sfcart table.cart td.product-thumbnail img {
	mix-blend-mode: multiply;
}

/* Titel + Variante */
.sfcart table.cart td.product-name {
	grid-area: name;
	max-width: none;
	font-size: 14px;
	line-height: 1.5;
	color: var(--sf-text);
}

.sfcart .sfcart-item__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--sf-ink);
}

.sfcart .sfcart-item__title a {
	color: inherit;
	text-decoration: none;
}

.sfcart .sfcart-item__title a:hover {
	color: var(--sf-ink);
	text-decoration: underline;
}

/* Varianten-Zeilen: "Farbe: Silber" / "Größe: 2 TB" */
.sfcart table.cart td.product-name dl.variation {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 3px 6px;
	margin: 8px 0 0;
	font-family: var(--sf-font-body);
	font-size: 13px;
	line-height: 1.45;
	color: var(--sf-muted);
}

.sfcart table.cart td.product-name dl.variation > dt,
.sfcart table.cart td.product-name dl.variation > dd {
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.sfcart table.cart td.product-name dl.variation > dt {
	font-weight: 500;
}

.sfcart table.cart td.product-name dl.variation p {
	display: inline;
	margin: 0;
}

.sfcart table.cart td.product-name .backorder_notification {
	display: inline-block;
	margin: 8px 0 0;
	padding: 5px 10px;
	font-size: 12.5px;
	color: #92400e;
	background: #fef3c7;
	border-radius: 8px;
}

/* Mengen-Stepper (+/− um das originale qty-Input herum)
   display-Override nötig: Blocksy blendet die Zelle unter 1000px aus */
.sfcart table.cart td.product-quantity {
	grid-area: qty;
	display: block !important;
	align-self: end;
	text-align: start;
}

.sfcart .sfcart-qty {
	display: inline-flex;
	align-items: center;
	height: 40px;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	background: #fff;
	overflow: hidden;
}

.sfcart .sfcart-qty--fixed {
	height: auto;
	border: none;
	background: none;
	font-size: 14px;
	color: var(--sf-muted);
}

.sfcart .sfcart-qty .sfcart-qty__btn {
	width: 36px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	font-family: var(--sf-font-heading);
	font-size: 17px;
	line-height: 1;
	font-weight: 600;
	color: var(--sf-text);
	transition: background 0.12s ease, color 0.12s ease;
}

.sfcart .sfcart-qty .sfcart-qty__btn:hover {
	background: var(--sf-surface);
	color: var(--sf-ink);
}

.sfcart .sfcart-qty .sfcart-qty__btn:focus-visible {
	outline: 2px solid var(--sf-ink);
	outline-offset: -2px;
}

/* das originale Woo/Blocksy-Quantity-Markup innerhalb des Steppers */
.sfcart .sfcart-qty .quantity {
	position: relative;
	display: inline-flex;
	width: auto;
	height: auto;
	margin: 0;
}

/* Blocksys eigene Pfeil-Overlays ausblenden — wir haben eigene Buttons */
.sfcart .sfcart-qty .quantity .ct-increase,
.sfcart .sfcart-qty .quantity .ct-decrease {
	display: none !important;
}

.sfcart .sfcart-qty input.qty {
	width: 44px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0 4px;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font-family: var(--sf-font-heading);
	font-size: 15px;
	font-weight: 600;
	color: var(--sf-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

.sfcart .sfcart-qty input.qty::-webkit-outer-spin-button,
.sfcart .sfcart-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.sfcart .sfcart-qty input.qty:focus {
	outline: none;
	box-shadow: none;
}

/* Zeilensumme (Preis) — Jakarta; durchgestrichener Alt-Preis in Inter */
.sfcart table.cart td.product-subtotal {
	grid-area: subtotal;
	display: flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 8px;
	align-self: end;
	justify-self: end;
	font-family: var(--sf-font-heading);
	font-weight: 700;
	font-size: 16.5px;
	color: var(--sf-ink);
	text-align: end;
}

.sfcart table.cart td.product-subtotal del {
	font-family: var(--sf-font-body);
	font-weight: 400;
	font-size: 13.5px;
	color: var(--sf-muted);
}

/* Mobil: Streichpreis UNTER den aktuellen Preis stapeln. Die Subtotal-Spalte
   ist `auto` (max-content) und kann nicht schrumpfen — ein breiter Alt-Preis
   neben der Summe ragt sonst in die Mengenleiste (visueller Overlap). */
@media (max-width: 767.98px) {
	.sfcart table.cart td.product-subtotal {
		flex-direction: column;
		align-items: flex-end;
		gap: 0;
		line-height: 1.35;
	}

	.sfcart table.cart td.product-subtotal del {
		order: 2;
	}
}

/* Entfernen (X, oben rechts) */
.sfcart table.cart td.product-remove {
	grid-area: remove;
	display: flex !important;
	justify-content: flex-end;
	align-self: start;
	width: auto;
}

.sfcart table.cart td.product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--sf-line);
	border-radius: 10px;
	color: #5f646a;
	background: #fff;
	transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}

.sfcart table.cart td.product-remove a.remove svg {
	fill: none;
	stroke: currentColor;
}

.sfcart table.cart td.product-remove a.remove:hover {
	color: var(--sf-ink);
	border-color: var(--sf-ink);
	background: #fff;
}

/* ---- Fußzeile der Liste: Gutschein (einklappbar) + Aktualisieren -------- */

.sfcart table.cart tr.sfcart-footer-row {
	display: block;
}

.sfcart table.cart td.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 2px 0;
}

.sfcart .sfcart-coupon {
	flex: 1 1 320px;
	margin: 0;
}

.sfcart .sfcart-coupon > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	list-style: none;
	font-family: var(--sf-font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--sf-ink);
	user-select: none;
	padding: 10px 0;
}

.sfcart .sfcart-coupon > summary:hover {
	text-decoration: underline;
}

.sfcart .sfcart-coupon > summary::-webkit-details-marker {
	display: none;
}

.sfcart .sfcart-coupon > summary svg:last-child {
	transition: transform 0.15s ease;
}

.sfcart .sfcart-coupon[open] > summary svg:last-child {
	transform: rotate(180deg);
}

.sfcart .sfcart-coupon .coupon {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	max-width: 440px;
}

.sfcart .sfcart-coupon .coupon .input-text {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	font-family: var(--sf-font-body);
	font-size: 14.5px;
}

.sfcart .sfcart-coupon .coupon .input-text:focus {
	border-color: var(--sf-ink);
}

/* Sekundär-Button im Funnel-Look (weiß, Pill, dezenter Rahmen) */
.sfcart .sfcart-coupon .coupon button[name="apply_coupon"] {
	height: 46px;
	margin: 0;
	padding: 0 22px;
	white-space: nowrap;
	font-family: var(--sf-font-heading);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sf-ink);
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-btn-radius);
	box-shadow: none;
	transition: border-color 0.12s ease, color 0.12s ease;
}

.sfcart .sfcart-coupon .coupon button[name="apply_coupon"]:hover {
	color: var(--sf-ink);
	background: #fff;
	border-color: var(--sf-ink);
}

/* "Warenkorb aktualisieren"-Button ausblenden: nicht nötig, da der Stepper
   automatisch aktualisiert. Bleibt im DOM, weil cart.js ihn per Klick
   auslöst (programmatischer .click() funktioniert auch bei display:none). */
.sfcart table.cart td.actions > button[name="update_cart"] {
	display: none;
}

/* ==========================================================================
   5) ORDER SUMMARY (rechte Spalte, sticky auf Desktop)
   ========================================================================== */

.sfcart .sfcart-summary {
	min-width: 0;
}

.sfcart .sfcart-summary__inner {
	position: sticky;
	top: calc(24px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px) * var(--sticky-shrink, 100) / 100);
}

@media (max-width: 999.98px) {
	.sfcart .sfcart-summary__inner {
		position: static;
	}
}

.sfcart .sfcart-summary__box {
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-card);
	padding: 26px 24px;
	box-shadow: 0 1px 2px rgba(16, 20, 24, 0.03), 0 12px 32px rgba(16, 20, 24, 0.05);
}

.sfcart .sfcart-summary__title {
	margin: 0 0 6px;
	font-family: var(--sf-font-heading);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--sf-ink);
}

/* Blocksys Sticky/Box-Styling der cart_totals neutralisieren */
.sfcart .sfcart-summary .cart_totals {
	position: static;
	top: auto;
	width: 100%;
	padding: 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.sfcart .sfcart-summary .cart_totals > h2 {
	display: none;
}

.sfcart .sfcart-summary .cart_totals table.shop_table {
	display: block;
	table-layout: auto;
	width: 100%;
	margin: 0;
	border: none;
	background: none;
}

.sfcart .sfcart-summary .cart_totals table.shop_table tbody {
	display: block;
}

.sfcart .sfcart-summary .cart_totals table.shop_table :is(td, th) {
	padding: 0;
	border: none;
	background: none;
}

.sfcart .sfcart-summary .cart_totals tr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--sf-line);
}

.sfcart .sfcart-summary .cart_totals tr > th {
	flex: 0 0 auto;
	font-family: var(--sf-font-body);
	font-weight: 500;
	font-size: 14.5px;
	color: var(--sf-text);
}

.sfcart .sfcart-summary .cart_totals tr > td {
	flex: 1 1 auto;
	text-align: end;
	font-family: var(--sf-font-heading);
	font-weight: 600;
	font-size: 15px;
	color: var(--sf-ink);
	padding-inline-start: 0;
}

/* Versand-Zeile (Blocksy formt sie zu einer einzelnen Zelle um) */
.sfcart .sfcart-summary .cart_totals tr.woocommerce-shipping-totals,
.sfcart .sfcart-summary .cart_totals tr.shipping {
	display: block;
}

.sfcart .sfcart-summary .cart_totals tr.woocommerce-shipping-totals td,
.sfcart .sfcart-summary .cart_totals tr.shipping td {
	display: block;
	text-align: start;
	font-family: var(--sf-font-body);
	font-weight: 400;
}

.sfcart .sfcart-summary .cart_totals .ct-shipping-heading {
	font-family: var(--sf-font-body);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--sf-text);
	margin-bottom: 8px;
}

.sfcart .sfcart-summary .cart_totals ul#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sfcart .sfcart-summary .cart_totals ul#shipping_method li {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 14px;
}

/*
 * Versand-Hinweistext ("Forsendelse vil blive opdateret, når du går videre til
 * siden Kasse.") und der komplette Versandrechner ("Beregn forsendelse"-Link +
 * Land/By/Postnummer-Formular) werden ausgeblendet. Sichtbar bleibt nur die
 * Versandmethode selbst ("Gratis forsendelse"). Gilt für Desktop und Mobile —
 * die Cart-Summary ist auf beiden dieselbe Sektion.
 */
.sfcart .sfcart-summary .cart_totals .woocommerce-shipping-destination,
.sfcart .sfcart-summary .cart_totals .woocommerce-shipping-calculator {
	display: none;
}

/* Gutschein-Zeilen (angewendete Coupons) */
.sfcart .sfcart-summary .cart_totals tr.cart-discount td .woocommerce-remove-coupon {
	display: inline-block;
	margin-inline-start: 8px;
	font-family: var(--sf-font-body);
	font-size: 12.5px;
	font-weight: 500;
	color: #dc2626;
}

/* Gesamtsumme prominent */
.sfcart .sfcart-summary .cart_totals tr.order-total {
	border-bottom: none;
	border-top: 2px solid #16191d1f;
	margin-top: 6px;
	padding-top: 16px;
}

.sfcart .sfcart-summary .cart_totals tr.order-total > th {
	font-family: var(--sf-font-heading);
	font-weight: 700;
	font-size: 16px;
	color: var(--sf-ink);
}

.sfcart .sfcart-summary .cart_totals tr.order-total > td {
	font-family: var(--sf-font-heading);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.01em;
}

.sfcart .sfcart-summary .cart_totals tr.order-total > td small {
	display: block;
	font-family: var(--sf-font-body);
	font-size: 12px;
	font-weight: 400;
	color: var(--sf-muted);
}

/* CTA in der Summary — gleicher Funnel-Look wie .sf-btn */
.sfcart .sfcart-summary .cart_totals .wc-proceed-to-checkout {
	margin: 20px 0 0;
	padding: 0;
}

.sfcart .sfcart-summary .cart_totals .wc-proceed-to-checkout .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 15px 24px;
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg);
	border: none;
	border-radius: var(--sf-btn-radius);
	box-shadow: none;
	text-decoration: none;
	transition: background 0.15s ease;
}

.sfcart .sfcart-summary .cart_totals .wc-proceed-to-checkout .checkout-button:hover {
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg-hover);
}

/* Trust-Elemente */
.sfcart .sfcart-trust {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--sf-line);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sfcart .sfcart-trust__pay {
	display: flex;
}

/* Sammelgrafik mit allen Zahlungsarten (Kachel-Optik steckt bereits im SVG) */
.sfcart .sfcart-trust__pay img {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
}

.sfcart .sfcart-trust__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sfcart .sfcart-trust__points li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: var(--sf-text);
}

.sfcart .sfcart-trust__points svg {
	flex: none;
	color: var(--sf-ink);
}

/* ==========================================================================
   6) CROSS-SELLS
   ========================================================================== */

.sfcart-xsells .cross-sells {
	margin-top: 52px;
}

.sfcart-xsells .cross-sells > h2 {
	margin: 0 0 22px;
	font-family: var(--sf-font-heading);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--sf-ink);
}

/* Raster: einheitliche, kompakte Karten. Blocksys eigenes Grid wird
   überschrieben, damit alle Karten gleich breit sind. */
.sfcart-xsells .cross-sells ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 899.98px) {
	.sfcart-xsells .cross-sells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 599.98px) {
	.sfcart-xsells .cross-sells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px;
	}
}

/* Einzelne Karte: flex-Spalte, damit der Button unten bündig andockt */
.sfcart-xsells .cross-sells ul.products li.product {
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	box-shadow: none;
	text-align: start;
}

.sfcart-xsells .cross-sells ul.products li.product::before,
.sfcart-xsells .cross-sells ul.products li.product::after {
	display: none;
}

/* Bild-Box: einheitliche Größe, Motiv wird eingepasst (nicht beschnitten) */
.sfcart-xsells .cross-sells li.product a.woocommerce-loop-product__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sfcart-xsells .cross-sells li.product :is(img, .ct-media-container) {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	margin: 0 0 12px;
	object-fit: contain;
	background: var(--sf-surface);
	border-radius: 10px;
	mix-blend-mode: multiply;
}

/* Falls das Bild in einen Media-Container gewickelt ist: Motiv einpassen */
.sfcart-xsells .cross-sells li.product .ct-media-container img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	background: none;
	border-radius: inherit;
}

/* Titel: max. 2 Zeilen, feste Höhe → Preise/Buttons stehen bündig */
.sfcart-xsells .cross-sells li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--sf-font-heading);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--sf-ink);
}

/* Kategorie-Meta ("UNCATEGORIZED") ausblenden — unnötiges Rauschen */
.sfcart-xsells .cross-sells li.product .entry-meta {
	display: none;
}

/* Preis */
.sfcart-xsells .cross-sells li.product .price {
	display: block;
	margin: 0 0 12px;
	font-family: var(--sf-font-heading);
	font-size: 14px;
	font-weight: 700;
	color: var(--sf-ink);
}

.sfcart-xsells .cross-sells li.product .price del {
	font-family: var(--sf-font-body);
	font-weight: 400;
	font-size: 12.5px;
	color: var(--sf-muted);
	margin-inline-end: 6px;
}

.sfcart-xsells .cross-sells li.product .price ins {
	text-decoration: none;
}

/* "Tilføj til kurv"-Button: kompakt, Funnel-Pill, unten bündig */
.sfcart-xsells .cross-sells li.product a.button {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 9px 14px;
	font-family: var(--sf-font-heading);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg);
	border: none;
	border-radius: var(--sf-btn-radius);
	box-shadow: none;
	text-align: center;
	transition: background 0.15s ease;
}

.sfcart-xsells .cross-sells li.product a.button:hover {
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg-hover);
}

.sfcart-xsells .cross-sells li.product a.button.added {
	pointer-events: none;
}

/* "added to cart"-Zusatzlink (erscheint nach Klick) dezent darunter */
.sfcart-xsells .cross-sells li.product a.added_to_cart {
	margin-top: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--sf-ink);
	text-decoration: underline;
	text-align: center;
}

/* ==========================================================================
   7) STICKY-CTA — entfernt (auf Wunsch). Die fixierte "Gå til kassen"-Bar
   unten (nur Mobile/Tablet) ist raus; der Kasse-Button steht bereits oben
   und in der Summary-Box. Das Markup .sfcart-sticky bleibt im Cart-Template,
   wird hier aber komplett ausgeblendet — cart.js toggelt .is-visible damit
   ins Leere. Kein Freiraum für eine fixierte Bar mehr reserviert.
   ========================================================================== */

.sfcart-sticky {
	display: none;
}

/* Nur die Lücke zwischen Inhalt und Footer-Trennlinie leicht straffen. */
@media (max-width: 999.98px) {
	body.woocommerce-cart .ct-container-full {
		padding-bottom: 24px;
	}
}

/* ==========================================================================
   8) Hero-Balken (Titel "Cart" + Breadcrumbs) ausblenden. Blocksys
   Hero-Section liegt außerhalb von .sfcart; wir blenden sie nur auf der
   Warenkorb-Seite aus (body.woocommerce-cart). Das restliche Theme bleibt
   unberührt, das Parent-Theme wird nicht angefasst. Die eigene Kopfzeile
   "Mein Warenkorb" ersetzt den Titel.
   ========================================================================== */

body.woocommerce-cart .hero-section {
	display: none;
}

/* WooCommerce-Statusmeldungen auf der Warenkorb-Seite ausblenden
   ("… hinzugefügt", "… entfernt. Rückgängig?", Info-Banner).
   Fehlermeldungen (.woocommerce-error, z. B. ungültiger Gutschein)
   bleiben sichtbar, damit der Nutzer Feedback bekommt. */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info {
	display: none;
}

/* ==========================================================================
   9) SHOP-ARCHIV (Products-Seite + Produktkategorien) — Vorlage-Look.
   Markup kommt aus inc/shop-archive.php, Verhalten aus assets/js/shop-archive.js.
   Scope: body.post-type-archive-product / body.tax-product_cat — Cart-Cross-Sells
   und "Ähnliche Produkte" auf Produktseiten bleiben unberührt.
   ========================================================================== */

/* --- 4 Spalten ab Desktop (Blocksy-Grid-Variable überschreiben) --- */
@media (min-width: 1024px) {
	body.post-type-archive-product [data-products],
	body.tax-product_cat [data-products] {
		--shop-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

/* Falls Blocksy den Zähler doch rendert: Vorlage hat keinen. */
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count {
	display: none;
}

/* Seitenhintergrund: leicht abgesetztes Grau-Blau, damit die weißen
   Karten wie in der Vorlage vom Untergrund abheben. */
body.post-type-archive-product,
body.tax-product_cat {
	background-color: #f7f8fb;
}

/* Schwarzen Hero-Balken ("Products" + Breadcrumb) entfernen — mobil & Desktop.
   Ersatz ist der kompakte .sf-shop-title unter der Trust-Bar (Vorlage-Look). */
body.post-type-archive-product .hero-section,
body.tax-product_cat .hero-section {
	display: none;
}

/* Der Transparent-Header wird auf Shop-Archiven per PHP abgeschaltet
   (inc/shop-archive.php) → Blocksy rendert dort den normalen weißen Header
   wie auf der Einzelprodukt-Seite, kein CSS-Eingriff mehr nötig. */

/* Blocksys Toolbar-Wrapper ist flex (Zähler links / Select rechts). Unsere
   Elemente (Trust-Bar → Titel → Pills) sollen wie die Vorlage untereinander
   stehen — jedes auf voller Breite. */
body.post-type-archive-product .woo-listing-top,
body.tax-product_cat .woo-listing-top {
	display: block;
}

/* Kompakter Seitentitel (wie "iPad" in der Vorlage) */
.sf-shop-title {
	font-size: 38px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--sf-ink);
	margin: 8px 0 20px;
}

@media (max-width: 767.98px) {
	.sf-shop-title {
		font-size: 30px;
		margin: 4px 0 16px;
	}
}

/* --- Trust-Bar --- */
.sf-shop-trust {
	background: #edeff4;
	border-radius: 14px;
	padding: 22px 32px;
	margin: 0 0 24px;
	overflow: hidden;
}

/* Desktop: nur die erste Gruppe, gleichmäßig verteilt. */
.sf-shop-trust__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
}

.sf-shop-trust__group[aria-hidden] {
	display: none;
}

.sf-shop-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sf-ink);
}

.sf-shop-trust__item svg {
	width: 22px;
	height: 22px;
	flex: none;
}

/* Mobil: eine Zeile ohne Umbruch, läuft als nahtlose Endlos-Slideshow.
   Beide (identischen) Gruppen sichtbar; Track wandert um -50% = exakt
   eine Gruppenbreite, dadurch springfreier Loop. */
@media (max-width: 767.98px) {
	.sf-shop-trust {
		padding: 16px 0;
	}

	.sf-shop-trust__track {
		display: flex;
		width: max-content;
		animation: sf-trust-slide 16s linear infinite;
	}

	.sf-shop-trust__group,
	.sf-shop-trust__group[aria-hidden] {
		display: flex;
		flex-wrap: nowrap;
		gap: 0;
	}

	.sf-shop-trust__item {
		white-space: nowrap;
		margin-right: 44px;
		font-size: 13.5px;
	}
}

@keyframes sf-trust-slide {
	to {
		transform: translateX(-50%);
	}
}


/* --- Toolbar: Pills + Popover --- */
.sf-shop-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 28px;
}

.sf-pill {
	position: relative;
}

.sf-pill--sort {
	margin-left: auto;
}

.sf-pill__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--sf-ink);
	background: #ffffff;
	border: 1px solid var(--sf-line);
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.sf-pill__btn strong {
	font-weight: 700;
}

.sf-pill__btn:hover,
.sf-pill.is-open .sf-pill__btn,
.sf-pill--active .sf-pill__btn {
	background: var(--sf-surface);
}

.sf-pill__btn .sf-chevron {
	width: 15px;
	height: 15px;
	transition: transform 0.15s ease;
}

.sf-pill.is-open .sf-pill__btn .sf-chevron {
	transform: rotate(180deg);
}

.sf-pop {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 60;
	min-width: 320px;
	padding: 20px;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.14);
	display: none;
}

.sf-pill--sort .sf-pop {
	left: auto;
	right: 0;
}

.sf-pill.is-open .sf-pop {
	display: block;
}

.sf-pop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.sf-pop__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--sf-ink);
}

.sf-pop__close {
	display: inline-flex;
	padding: 4px;
	border: none;
	background: none;
	color: var(--sf-ink);
	cursor: pointer;
}

.sf-pop__close svg {
	width: 18px;
	height: 18px;
}

/* Preis-Formular (MIN/MAX wie in der Vorlage) */
.sf-price-fields {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.sf-price-fields label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--sf-muted);
}

.sf-price-fields input {
	display: block;
	width: 130px;
	margin-top: 6px;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--sf-ink);
	border: 1px solid var(--sf-line);
	border-radius: 10px;
	background: #ffffff;
}

.sf-price-fields input:focus {
	outline: none;
	border-color: var(--sf-ink);
}

.sf-pop__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 11px 20px;
	font-size: 14px;
	font-weight: 700;
	color: var(--sf-btn-color);
	background: var(--sf-btn-bg);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.sf-pop__apply:hover {
	background: var(--sf-btn-bg-hover);
}

/* Sortier-Liste (Radio-Reihen wie in der Vorlage) */
.sf-sort-form {
	display: block;
}

.sf-sort-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14.5px;
	color: var(--sf-ink);
	cursor: pointer;
	transition: background 0.12s ease;
}

.sf-sort-option:hover,
.sf-sort-option.is-selected {
	background: var(--sf-surface);
}

.sf-sort-option input {
	accent-color: #111111;
	margin: 0;
	flex: none;
}

/* --- Produktkarten: cleane Karte ohne Button/Kategorie-Label --- */
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #ececee;
	border-radius: 14px;
	padding: 14px 14px 20px;
	transition: box-shadow 0.15s ease;
}

/* Einheitliche Bildfläche: Produktfotos haben gemischte Seitenverhältnisse
   (Demo 500×415, Funnel-Importe 1:1 und 4:3). Feste Ratio + object-fit:contain
   passt zu große Bilder ein, sodass Titel und Preise aller Karten bündig sind. */
body.post-type-archive-product ul.products li.product figure,
body.tax-product_cat ul.products li.product figure {
	margin: 0;
}

body.post-type-archive-product ul.products li.product .ct-media-container,
body.tax-product_cat ul.products li.product .ct-media-container {
	width: 100%;
	aspect-ratio: 41 / 34; /* wie die 500×415-Bestandsbilder → die bleiben randlos */
}

body.post-type-archive-product ul.products li.product .ct-media-container img,
body.tax-product_cat ul.products li.product .ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

body.post-type-archive-product ul.products li.product .ct-media-container,
body.tax-product_cat ul.products li.product .ct-media-container {
	border-radius: 10px;
}

/* Kategorie-Label + Warenkorb-Button raus (Karte wie Vorlage).
   Ebenso Blocksys "TILBUD"-Badge auf Sale-Bildern — die Vorlage hat keins,
   der Rabatt kommt über den grünen Spar-Chip im Preisblock. */
body.post-type-archive-product ul.products li.product .entry-meta,
body.post-type-archive-product ul.products li.product .ct-woo-card-actions,
body.post-type-archive-product ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .entry-meta,
body.tax-product_cat ul.products li.product .ct-woo-card-actions,
body.tax-product_cat ul.products li.product .onsale {
	display: none !important;
}

/* Fetter Titel, prominenter Preis */
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--sf-ink);
	margin-top: 4px;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
}

/* Preis auf gemeinsame Grundlinie: Karte ist flex-column, margin-top:auto
   drückt den Preis in jeder Reihe auf dieselbe Höhe — auch bei 2-zeiligen Titeln. */
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
	display: block;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--sf-ink);
	margin-top: auto;
	padding-top: 10px;
	/* Sale-Block ist 2-zeilig (65px) — gleiche Höhe für alle, damit die
	   Hauptpreise einer Reihe auf derselben Linie beginnen. */
	min-height: 65px;
}

/* Sale-Preisblock (Vorlage-Look): Preis groß, darunter durchgestrichener
   Vergleichspreis + grüner Spar-Chip. Markup aus inc/shop-archive.php. */
.sf-price__now {
	display: block;
	line-height: 1.2;
}

.sf-price__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}

.sf-price__was {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--sf-muted);
	text-decoration: line-through;
}

.sf-price__save {
	font-size: 12.5px;
	font-weight: 700;
	color: #177245;
	background: #e3f5ea;
	padding: 3px 9px;
	border-radius: 8px;
	white-space: nowrap;
}

/* Mobil: beide Pills bündig in EINER Zeile, links ausgerichtet (kein Umbruch,
   kein margin-auto) — kompaktere Pills, damit beide bei 390px nebeneinander passen. */
@media (max-width: 767.98px) {
	.sf-shop-toolbar {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.sf-pill--sort {
		margin-left: 0;
	}

	.sf-pill__btn {
		padding: 9px 14px;
		font-size: 13px;
	}

	.sf-pill--sort .sf-pop {
		left: auto;
		right: 0;
	}

	.sf-pop {
		min-width: 280px;
		max-width: calc(100vw - 40px);
	}
}

/* --- Mobil: kompakte Listen-Karten wie die Vorlage —
   kleines quadratisches Bild links, Titel + Preis rechts. --- */
@media (max-width: 767.98px) {
	body.post-type-archive-product [data-products],
	body.tax-product_cat [data-products] {
		row-gap: 14px !important;
	}

	body.post-type-archive-product ul.products li.product,
	body.tax-product_cat ul.products li.product {
		display: grid;
		grid-template-columns: 116px 1fr;
		grid-template-rows: auto auto;
		align-content: center;
		column-gap: 16px;
		padding: 16px 14px;
	}

	body.post-type-archive-product ul.products li.product figure,
	body.tax-product_cat ul.products li.product figure {
		grid-row: 1 / span 2;
		align-self: center;
	}

	body.post-type-archive-product ul.products li.product .ct-media-container,
	body.tax-product_cat ul.products li.product .ct-media-container {
		width: 116px;
		aspect-ratio: 1 / 1;
	}

	body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
	body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
		grid-column: 2;
		align-self: end;
		margin: 0;
		font-size: 15px;
		text-align: left;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	body.post-type-archive-product ul.products li.product .price,
	body.tax-product_cat ul.products li.product .price {
		grid-column: 2;
		align-self: start;
		margin: 6px 0 0;
		padding: 0;
		font-size: 18px;
		text-align: left;
	}
}

/* ==========================================================================
   10) GLOBALE TYPOGRAFIE — Shop einheitlich zum Funnel-Template.
   Blocksy setzt alle Schriften über die CSS-Variable --theme-font-family
   (Basis = Systemstack, auf Überschriften = Poppins; generiert in
   uploads/blocksy/css/global.css). Wir überschreiben die Variable mit den
   Funnel-Fonts: Plus Jakarta Sans für Überschriften, Inter für Fließtext.
   Die Google Fonts lädt functions.php seitenweit (Handle sf-funnel-fonts).
   Hinweis: spätere Font-Änderungen im Customizer greifen dadurch nicht —
   Schriften werden hier zentral gepflegt.
   ========================================================================== */

:root {
	--theme-font-family: var(--sf-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	--theme-font-family: var(--sf-font-heading);
}

/* Produktkarten-Preise: wie im Cart/Funnel in der Heading-Schrift. */
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
	font-family: var(--sf-font-heading);
}

/* ==========================================================================
   11) FOOTER — heller/weißer Look im Referenz-Stil (Bonvya).
   Nur Design/Typografie, INHALT unangetastet (Widgets bleiben variabel).
   Spaltenüberschriften (Kontakt/Juridisk/Kundeservice) sind vorhanden, waren
   aber in der dunklen Hintergrundfarbe → jetzt sichtbar, klein & uppercase.
   Gilt global (Footer ist auf allen Seiten gleich).
   ========================================================================== */

/* Weißer Grund + dezente Trennlinie zum Inhalt darüber. */
footer#footer,
footer#footer [data-row] {
	background-color: #ffffff !important;
}

footer#footer {
	border-top: 1px solid var(--sf-line);
	/* Blocksy-Farb-Variablen des Footers auf helles Schema drehen. */
	--theme-text-color: var(--sf-text);
	--theme-link-initial-color: var(--sf-text);
	--theme-link-hover-color: var(--sf-ink);
	--theme-headings-color: var(--sf-ink);
	color: var(--sf-text);
	padding-block: 8px;
}

/* Spaltenüberschriften: klein, fett, versal — wie die Vorlage. */
footer#footer .wp-block-heading {
	font-family: var(--sf-font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--sf-ink);
	margin: 0 0 16px;
}

/* Links: kleiner, gedämpft, mit sauberem Hover. */
footer#footer a {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--sf-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

footer#footer a:hover,
footer#footer a:focus {
	color: var(--sf-ink);
}

/* Firmen-/Adresszeilen. */
footer#footer .wp-block-paragraph,
footer#footer p {
	font-size: 13px;
	line-height: 1.7;
	color: var(--sf-text);
	margin: 0 0 6px;
}

/* Link-Listen: dezenter vertikaler Abstand statt zusammengedrängt. */
footer#footer .wp-block-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

footer#footer .wp-block-list li {
	margin: 0;
}

/* Logo-Spalte: nur das Logo zeigen, den Site-Title-Text darunter ausblenden
   (die Vorlage hat keinen Text unter dem Logo). */
footer#footer [data-column="logo"] .site-title-container {
	display: none;
}

/* Copyright-Reihe (falls vorhanden): dunkle Schrift auf Weiß. */
footer#footer [data-row="bottom"] {
	color: var(--sf-muted);
	font-size: 12.5px;
	border-top: 1px solid var(--sf-line);
}

/* ==========================================================================
   12) PRODUKTSEITE (Single Product) — Funnel-Look
   Nur Optik über Blocksys/WCs nativem Markup; PHP-Hooks in
   inc/single-product.php, Verhalten in assets/js/single-product.js.
   Alles unter body.single-product gescoped (kein Leak in Cart/Archiv).
   ========================================================================== */

/* ---------- 12.1 Hero-Layout (Galerie + Buybox) ---------- */

/* Spaltenverhältnis ≈ Funnel (1.05fr/1fr, 56px Gap) */
body.single-product .product-entry-wrapper {
	--product-gallery-width: 51%;
	align-items: flex-start;
	padding-top: 16px;
}

@media (min-width: 1000px) {
	body.single-product .product-entry-wrapper > .entry-summary {
		margin-inline-start: 56px;
		width: calc(100% - var(--product-gallery-width, 51%) - 56px);
	}

	/* Galerie beim Scrollen mitnehmen (wie Funnel-Hero) */
	body.single-product .product-entry-wrapper > .woocommerce-product-gallery {
		position: sticky;
		top: calc(90px + var(--wp-admin--admin-bar--height, 0px));
	}
}

/* Lila Sale-Badge auf dem Bild ausblenden — der Rabatt-Pill am Preis übernimmt */
body.single-product .product-entry-wrapper span.onsale {
	display: none;
}

/* ---------- 12.2 Galerie: Creme-Stage + Thumbnail-Look ---------- */

/* Stage — deckt beide Markup-Fälle ab: Einzelbild (figure.ct-media-container)
   und Flexy-Slider (.flexy-view) */
body.single-product .ct-product-gallery-container > figure.ct-media-container,
body.single-product .ct-product-gallery-container .flexy-view {
	border-radius: var(--sf-radius-lg);
	background: var(--sf-cream);
	overflow: hidden;
	box-shadow: var(--sf-shadow-sm);
}

body.single-product .ct-product-gallery-container figure.ct-media-container img {
	background: var(--sf-cream);
}

/* Thumbnails: 6er-Grid, abgerundet, aktiv = Ink-Rahmen (wie .fnl-thumb) */
body.single-product .flexy-pills[data-type="thumbs"] ol {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin-top: 14px;
	padding: 0;
}

body.single-product .flexy-pills[data-type="thumbs"] ol li {
	width: auto; /* Blocksys --thumbs-width:20% würde die Grid-Zelle schrumpfen */
	aspect-ratio: 1 / 1;
	border: 2px solid transparent;
	border-radius: var(--sf-radius-control);
	overflow: hidden;
	background: var(--sf-cream);
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.1s ease;
}

body.single-product .flexy-pills[data-type="thumbs"] ol li .ct-media-container {
	width: 100%;
	height: 100%;
}

body.single-product .flexy-pills[data-type="thumbs"] ol li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-product .flexy-pills[data-type="thumbs"] ol li:hover {
	transform: translateY(-2px);
}

body.single-product .flexy-pills[data-type="thumbs"] ol li.active {
	border-color: var(--sf-ink);
}

/* Keine Pfeile auf der Stage (wie Funnel: Wechsel via Thumbs/Swipe/Lightbox);
   ebenso die Lupe der Standard-Lightbox — die Funnel-Lightbox übernimmt. */
body.single-product .ct-product-gallery-container [class*="flexy-arrow"],
body.single-product .woocommerce-product-gallery__trigger {
	display: none !important;
}

/* Hauptbild ist klickbar (öffnet die Lightbox) */
body.single-product .ct-product-gallery-container .flexy-view,
body.single-product .ct-product-gallery-container > figure.ct-media-container {
	cursor: zoom-in;
}

body.single-product .ct-product-gallery-container .flexy-view:focus-visible,
body.single-product .ct-product-gallery-container > figure.ct-media-container:focus-visible {
	outline: 2px solid var(--sf-ink);
	outline-offset: 3px;
}

/* „+N"-Overlay auf der 6. Kachel, wenn es mehr Bilder als Kacheln gibt
   (single-product.js setzt .sf-cap auf .flexy-pills und rendert das Label) */
body.single-product .flexy-pills[data-type="thumbs"] ol li {
	position: relative;
}

body.single-product .sf-thumb-more {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 18, 15, 0.55);
	color: #fff;
	font-family: var(--sf-font-heading);
	font-weight: 700;
	font-size: clamp(15px, 2.1vw, 21px);
	letter-spacing: 0.01em;
	pointer-events: none; /* Klick geht an die Kachel darunter (öffnet Lightbox) */
}

@media (min-width: 761px) {
	body.single-product .flexy-pills.sf-cap ol li:nth-child(n+7) {
		display: none;
	}
}

/* ---------- 12.2b Lightbox / Bild-Popup (Funnel-Nachbau, .sf-lb) ---------- */

body.single-product .sf-lb {
	position: fixed;
	inset: 0;
	z-index: 100000; /* über Admin-Bar + Trust-Badge */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

body.single-product .sf-lb[hidden] {
	display: none;
}

body.single-product .sf-lb__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 15, 0.72);
	animation: sf-lb-fade 0.2s ease;
}

body.single-product .sf-lb__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 224px;
	gap: 22px;
	width: min(1080px, 100%);
	max-height: min(88vh, 880px);
	height: min(88vh, 880px);
	background: #fff;
	border-radius: var(--sf-radius-lg);
	padding: 22px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
	animation: sf-lb-in 0.22s ease;
}

body.single-product .sf-lb__main {
	position: relative;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sf-cream);
	border-radius: var(--sf-radius-card);
	overflow: hidden;
}

body.single-product .sf-lb__img {
	max-width: 100%;
	max-height: min(80vh, 820px);
	width: auto;
	height: auto;
	object-fit: contain;
	-webkit-user-drag: none;
	user-select: none;
}

body.single-product .sf-lb__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--sf-ink);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--sf-shadow-sm);
	transition: transform 0.15s ease, background-color 0.15s ease;
}

body.single-product .sf-lb__nav:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.06);
}

body.single-product .sf-lb__nav svg {
	width: 22px;
	height: 22px;
}

body.single-product .sf-lb__nav--prev {
	left: 14px;
}

body.single-product .sf-lb__nav--next {
	right: 14px;
}

body.single-product .sf-lb__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--sf-ink);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--sf-shadow-sm);
	transition: transform 0.15s ease, background-color 0.15s ease;
}

body.single-product .sf-lb__close:hover {
	transform: scale(1.06);
	background: #fff;
}

body.single-product .sf-lb__close svg {
	width: 20px;
	height: 20px;
}

body.single-product .sf-lb__side {
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

body.single-product .sf-lb__count {
	font-size: 13px;
	font-weight: 600;
	color: var(--sf-muted);
	margin-bottom: 12px;
	flex: 0 0 auto;
}

body.single-product .sf-lb__thumbswrap {
	display: flex;
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
}

body.single-product .sf-lb__thumbs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	overflow-y: auto;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
	padding-right: 4px;
}

body.single-product .sf-lb__thumb {
	position: relative;
	padding: 0;
	border: 2px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	overflow: hidden;
	background: var(--sf-cream);
	cursor: pointer;
	aspect-ratio: 1 / 1;
	transition: border-color 0.15s ease;
}

body.single-product .sf-lb__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.single-product .sf-lb__thumb:hover {
	border-color: var(--sf-line-strong);
}

body.single-product .sf-lb__thumb.is-active {
	border-color: var(--sf-ink);
}

/* Blätter-Pfeile der Thumb-Leiste (nur mobil sichtbar) */
body.single-product .sf-lb__tnav {
	display: none;
	flex: 0 0 auto;
	align-self: center;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: var(--sf-cream);
	color: var(--sf-ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	box-shadow: var(--sf-shadow-sm);
	transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

body.single-product .sf-lb__tnav svg {
	width: 18px;
	height: 18px;
}

body.single-product .sf-lb__tnav:hover:not(.is-disabled) {
	background: var(--sf-cream-2);
	transform: scale(1.05);
}

body.single-product .sf-lb__tnav.is-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

@keyframes sf-lb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes sf-lb-in {
	from { opacity: 0; transform: translateY(8px) scale(0.99); }
	to { opacity: 1; transform: none; }
}

/* Mobil: Vollbild-Dialog, Thumbs als horizontaler Strip mit Blätter-Pfeilen */
@media (max-width: 760px) {
	body.single-product .sf-lb {
		padding: 0;
	}

	body.single-product .sf-lb__dialog {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr) auto;
		gap: 14px;
		width: 100%;
		max-height: 100%;
		height: 100%;
		border-radius: 0;
		padding: 16px;
	}

	body.single-product .sf-lb__main {
		touch-action: pan-y;
	}

	body.single-product .sf-lb__side {
		max-height: none;
		flex: 0 0 auto;
		overflow: visible;
	}

	body.single-product .sf-lb__thumbswrap {
		align-items: center;
		gap: 8px;
		overflow: visible;
	}

	body.single-product .sf-lb__tnav {
		display: inline-flex;
	}

	body.single-product .sf-lb__thumbs {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 10px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding: 2px 0;
	}

	body.single-product .sf-lb__thumbs::-webkit-scrollbar {
		display: none;
	}

	body.single-product .sf-lb__thumb {
		flex: 0 0 72px;
		width: 72px;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	body.single-product .sf-lb__nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-product .sf-lb__backdrop,
	body.single-product .sf-lb__dialog {
		animation: none;
	}
}

/* ---------- 12.3 Trustpilot-Block über dem Titel ---------- */

body.single-product .sf-tp {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	margin-bottom: 16px;
}

body.single-product .sf-tp__logo {
	height: 24px;
	width: auto;
	display: block;
}

body.single-product .sf-tp__row {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

body.single-product .sf-tp__stars {
	height: 19px;
	width: auto;
	display: block;
	flex-shrink: 0;
}

body.single-product .sf-tp__text {
	font-family: var(--sf-font-body);
	font-size: 13px;
	line-height: 1;
	color: var(--sf-text);
}

body.single-product .sf-tp__text strong {
	color: var(--sf-ink);
	font-weight: 700;
}

/* ---------- 12.4 Titel + Kurzbeschreibung (Subtitle) ---------- */

body.single-product h1.product_title {
	font-family: var(--sf-font-heading);
	font-size: clamp(30px, 4.4vw, 46px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--sf-ink);
	margin-bottom: 10px;
}

body.single-product .entry-summary .woocommerce-product-details__short-description {
	color: var(--sf-text);
	font-size: 17px;
	line-height: 1.6;
	max-width: 46ch;
	margin-bottom: 6px;
}

/* ---------- 12.5 Preis-Block ---------- */

body.single-product .entry-summary .price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin: 16px 0 0;
}

/* Aktueller Preis (ins bei Sale, sonst der einzelne amount) */
body.single-product .entry-summary .price .woocommerce-Price-amount {
	font-family: var(--sf-font-heading);
	font-size: 34px;
	font-weight: 800;
	color: var(--sf-ink);
}

body.single-product .entry-summary .price ins {
	text-decoration: none;
	background: none;
}

/* Alter Preis: klein, muted, durchgestrichen */
body.single-product .entry-summary .price del {
	text-decoration: none;
	order: 2;
}

body.single-product .entry-summary .price del .woocommerce-Price-amount {
	font-family: var(--sf-font-body);
	font-size: 18px;
	font-weight: 400;
	color: var(--sf-muted);
	text-decoration: line-through;
}

/* WC sortiert del vor ins — im Funnel steht der Aktionspreis zuerst */
body.single-product .entry-summary .price .sale-price {
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

body.single-product .entry-summary .price ins {
	order: 1;
}

/* Rabatt-Pill „−72 %" (via woocommerce_get_price_html angehängt) */
body.single-product .sf-price-save {
	order: 3;
	font-family: var(--sf-font-body);
	font-size: 13px;
	font-weight: 700;
	color: var(--sf-accent);
	background: rgba(224, 90, 58, 0.1);
	padding: 4px 10px;
	border-radius: 999px;
	align-self: center;
	white-space: nowrap;
}

/* Steuer-/Frachthinweis unterm Preis */
body.single-product .sf-taxnote {
	font-size: 13px;
	color: var(--sf-muted);
	margin: 6px 0 0;
}

/* Varianten-Preis unter den Varianten ausblenden — der Produktpreis steht
   bereits oben unter dem Titel und spiegelt dort die aktive Variante
   (single-product.js → found_variation). Kein doppelter Preis. */
body.single-product .woocommerce-variation-price {
	display: none;
}

body.single-product .woocommerce-variation-availability {
	font-size: 13.5px;
	color: var(--sf-text);
}

/* ---------- 12.6 Kaufbereich: Menge, Lager, CTA, Microtrust, Payments ---------- */

body.single-product .ct-cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 18px;
	margin-top: 26px;
	width: 100%;
}

/* „Antal"-Label vor dem Stepper (reines Design-Element wie im Funnel) */
body.single-product .ct-cart-actions::before {
	content: "Antal";
	order: 0;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--sf-ink);
}

/* Mengen-Stepper als Pill */
body.single-product .ct-cart-actions .quantity {
	order: 1;
	border: 1px solid var(--sf-line-strong);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

body.single-product .ct-cart-actions .quantity .qty {
	border: none;
	background: transparent;
	font-weight: 600;
	color: var(--sf-ink);
}

/* Lagerhinweis mit Puls-Punkt — darf schrumpfen, damit er neben dem
   Stepper bleibt statt umzubrechen */
body.single-product .sf-stock {
	order: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sf-gold);
}

body.single-product .sf-stock__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--sf-gold);
	box-shadow: 0 0 0 4px rgba(242, 168, 59, 0.18);
	animation: sf-stock-pulse 1.6s ease-in-out infinite;
}

@keyframes sf-stock-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(242, 168, 59, 0.18); }
	50% { box-shadow: 0 0 0 4px rgba(242, 168, 59, 0.38); }
}

/* CTA: schwarzer Voll-Pill-Button mit Hover-Lift (wie .fnl-cta) */
body.single-product .entry-summary .single_add_to_cart_button {
	order: 3;
	flex: 1 1 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 24px;
	border: none;
	border-radius: 999px;
	background: var(--sf-btn-bg) !important;
	color: var(--sf-btn-color) !important;
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 8px 22px rgba(23, 24, 28, 0.18);
	transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.single-product .entry-summary .single_add_to_cart_button:hover {
	background: #26282e !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(23, 24, 28, 0.24);
}

body.single-product .entry-summary .single_add_to_cart_button:active {
	transform: translateY(0);
}

/* Warenkorb-Icon vor dem Button-Text (SVG als Mask, currentColor-fähig) */
body.single-product .entry-summary .single_add_to_cart_button::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.5 3h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57L21 8H5.5" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9.5" cy="20" r="1.5" fill="black"/><circle cx="18" cy="20" r="1.5" fill="black"/></svg>') no-repeat center / contain;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.5 3h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57L21 8H5.5" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9.5" cy="20" r="1.5" fill="black"/><circle cx="18" cy="20" r="1.5" fill="black"/></svg>') no-repeat center / contain;
}

/* Microtrust-Zeile unter dem CTA */
body.single-product .sf-microtrust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	padding: 0;
	margin: 20px 0 0;
}

body.single-product .sf-microtrust li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--sf-text);
	margin: 0;
}

body.single-product .sf-microtrust .sf-ico {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--sf-green);
}

/* Zahlarten-Grafik */
body.single-product .sf-payments {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin-top: 22px;
}

/* ---------- 12.7 Varianten-Pills (.sfv, Optik-Schicht über den Selects) ---------- */

body.single-product .sfv {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 22px 0 4px;
}

body.single-product .sfv-dim {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

body.single-product .sfv-dim-label {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sf-text);
}

body.single-product .sfv-dim-label b {
	color: var(--sf-ink);
	font-weight: 700;
}

body.single-product .sfv-opts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.single-product .sfv-btn {
	appearance: none;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	padding: 11px 18px;
	min-height: 44px;
	border-radius: 999px;
	border: 1.5px solid var(--sf-line-strong);
	background: #fff;
	color: var(--sf-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.single-product .sfv-btn:hover {
	border-color: var(--sf-ink);
}

body.single-product .sfv-btn.is-active {
	border-color: var(--sf-ink);
	background: var(--sf-ink);
	color: #fff;
	box-shadow: var(--sf-shadow-sm);
}

body.single-product .sfv-btn.is-off {
	opacity: 0.35;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Native Varianten-UI verstecken, sobald die Pills stehen — die Selects
   bleiben im DOM voll funktionsfähig (variation.js), nur unsichtbar.
   Der Reset-Link („Ryd") bleibt sichtbar. */
body.single-product form.sf-has-pills table.variations,
body.single-product form.sf-has-pills table.variations tbody,
body.single-product form.sf-has-pills table.variations tr,
body.single-product form.sf-has-pills table.variations td {
	display: block;
	margin: 0;
	padding: 0;
	border: none;
}

body.single-product form.sf-has-pills table.variations th.label {
	display: none;
}

body.single-product form.sf-has-pills table.variations select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

body.single-product form.sf-has-pills .reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	color: var(--sf-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- 12.8 Tabs (künftige Produktbeschreibung) ---------- */

body.single-product .woocommerce-tabs ul.wc-tabs li a {
	font-family: var(--sf-font-heading);
	font-weight: 600;
	color: var(--sf-text);
}

body.single-product .woocommerce-tabs ul.wc-tabs li.active a {
	color: var(--sf-ink);
}

body.single-product .woocommerce-Tabs-panel {
	color: var(--sf-text);
	font-size: 15.5px;
	line-height: 1.7;
}

/* ---------- 12.9 FAQ-Akkordeon ---------- */

body.single-product .sf-faq {
	max-width: 820px;
	margin: 64px auto 0;
	padding: 0 24px;
}

body.single-product .sf-faq__title {
	text-align: center;
	font-family: var(--sf-font-heading);
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
	color: var(--sf-ink);
	margin-bottom: 34px;
}

body.single-product .sf-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.single-product .sf-acc {
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s ease;
}

body.single-product .sf-acc.is-open {
	border-color: var(--sf-line-strong);
	box-shadow: var(--sf-shadow-sm);
}

body.single-product .sf-acc__head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	background: transparent;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--sf-ink);
}

body.single-product .sf-acc__head:hover {
	background: transparent;
	color: var(--sf-ink);
}

body.single-product .sf-acc__chev {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	color: var(--sf-muted);
	transition: transform 0.25s ease;
}

body.single-product .sf-acc.is-open .sf-acc__chev {
	transform: rotate(180deg);
}

body.single-product .sf-acc__body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

body.single-product .sf-acc__body p {
	padding: 0 22px 20px;
	margin: 0;
	color: var(--sf-text);
	font-size: 15px;
}

/* ---------- 12.10 Trust-Bar unter dem Hero (full-bleed Creme-Streifen) ---------- */

body.single-product .sf-ptrust {
	margin: 56px calc(50% - 50vw) 0;
	background: var(--sf-cream);
	border-top: 1px solid var(--sf-line);
	border-bottom: 1px solid var(--sf-line);
}

body.single-product .sf-ptrust__grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding: 28px 24px;
}

body.single-product .sf-ptrust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

body.single-product .sf-ptrust__item > div {
	min-width: 0;
}

body.single-product .sf-ptrust__ico {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--sf-line-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--sf-ink);
}

body.single-product .sf-ptrust__ico svg {
	width: 22px;
	height: 22px;
}

body.single-product .sf-ptrust__item strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--sf-ink);
}

body.single-product .sf-ptrust__item span {
	font-size: 12.5px;
	color: var(--sf-muted);
}

/* ---------- 12.11 Related-Produkte („Relaterede varer") im Karten-Look ---------- */

body.single-product section.related > h2 {
	font-family: var(--sf-font-heading);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 800;
	color: var(--sf-ink);
	margin-bottom: 22px;
}

/* Karte wie im Shop-Archiv: weiß, dezenter Rahmen, Hover-Schatten */
body.single-product section.related ul.products li.product {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececee;
	border-radius: 14px;
	padding: 14px 14px 20px;
	transition: box-shadow 0.15s ease;
}

body.single-product section.related ul.products li.product:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

body.single-product section.related ul.products li.product figure {
	margin: 0;
}

body.single-product section.related ul.products li.product .ct-media-container {
	width: 100%;
	aspect-ratio: 41 / 34;
	border-radius: 10px;
}

body.single-product section.related ul.products li.product .ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Badge, Kategorie-Label und Karten-Button raus (cleane Karte wie Archiv) */
body.single-product section.related ul.products li.product .onsale,
body.single-product section.related ul.products li.product .entry-meta,
body.single-product section.related ul.products li.product .ct-woo-card-actions {
	display: none !important;
}

body.single-product section.related ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--sf-ink);
	margin-top: 4px;
}

body.single-product section.related ul.products li.product .woocommerce-loop-product__title a {
	color: inherit;
}

body.single-product section.related ul.products li.product .price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--sf-ink);
	margin-top: auto;
	padding-top: 10px;
}

body.single-product section.related ul.products li.product .price ins {
	text-decoration: none;
	background: none;
	order: 1;
}

body.single-product section.related ul.products li.product .price del {
	text-decoration: none;
	order: 2;
}

body.single-product section.related ul.products li.product .price del .woocommerce-Price-amount {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--sf-muted);
	text-decoration: line-through;
}

/* ---------- 12.12 Mobile ---------- */

@media (max-width: 999px) {
	body.single-product .product-entry-wrapper > .woocommerce-product-gallery {
		position: static;
	}
}

@media (max-width: 760px) {
	body.single-product .sf-ptrust__grid {
		grid-template-columns: 1fr 1fr;
		gap: 22px 16px;
	}

	body.single-product .sf-faq {
		margin-top: 44px;
	}

	/* Thumbnail-Grid mobil: Punkte statt Bilder (wie Funnel-Dots) */
	body.single-product .flexy-pills[data-type="thumbs"] ol {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
	}

	body.single-product .flexy-pills[data-type="thumbs"] ol li {
		width: 7px;
		height: 7px;
		border: none;
		border-radius: 999px;
		background: var(--sf-line-strong);
		transition: width 0.25s ease, background-color 0.25s ease;
	}

	body.single-product .flexy-pills[data-type="thumbs"] ol li.active {
		width: 22px;
		background: var(--sf-ink);
	}

	body.single-product .flexy-pills[data-type="thumbs"] ol li img,
	body.single-product .flexy-pills[data-type="thumbs"] ol li .ct-media-container,
	body.single-product .sf-thumb-more {
		display: none;
	}
}

@media (max-width: 460px) {
	body.single-product .sf-ptrust__grid {
		grid-template-columns: 1fr;
	}

	body.single-product .entry-summary .price .woocommerce-Price-amount {
		font-size: 30px;
	}
}

/* ==========================================================================
   13. CHECKOUT (.sfck) — One-Page-Checkout im Funnel-Look
   Klassischer Shortcode-Checkout; Markup: woocommerce/checkout/*.php.
   Payment-Bereich bleibt WooCommerce-Stock — hier NUR kosmetisches CSS auf
   die Stock-Klassen (#payment, .wc_payment_method, .payment_box, #place_order).
   ========================================================================== */

/* ---------- 13.1 Reduzierter Header (Tunnel) — STRIKT checkout-scoped ------
   Alles unter body.woocommerce-checkout: Navigation, Suche & Co. verschwinden,
   nur das Logo (Rückweg zum Shop) bleibt. Das Warenkorb-Icon entfernt der
   Blocksy-Filter blocksy:header:item-view-path:cart serverseitig
   (inc/thankyou.php) — es rendert gar nicht erst. */

body.woocommerce-checkout header#header [data-id^="menu"],
body.woocommerce-checkout header#header [data-id^="search"],
body.woocommerce-checkout header#header [data-id^="button"],
body.woocommerce-checkout header#header [data-id^="account"],
body.woocommerce-checkout header#header .ct-header-account,
body.woocommerce-checkout header#header [data-id="mobile-menu-toggle"],
body.woocommerce-checkout header#header .ct-header-trigger {
	display: none !important;
}

/* ---------- 13.2 Seitencontainer ---------- */

body.woocommerce-checkout .sfck,
body.woocommerce-checkout .woocommerce {
	font-family: var(--sf-font-body);
	color: var(--sf-ink);
}

/* Seitentitel ausblenden — die Sektionsüberschriften führen den Nutzer */
body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout h1.entry-title {
	display: none;
}

/* ---------- 13.3 Zwei-Spalten-Grid (wie Cart) ---------- */

.sfck-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	/* KEIN align-items:start — die Spalten müssen sich strecken, sonst hat
	   die sticky Summary keinen Laufraum. */
	margin-top: 4px;
}

@media (min-width: 1000px) {
	/* Echtes 50/50 (Electrolager-Aufteilung) */
	.sfck-cols {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 48px;
	}

	.sfck-side__inner {
		position: sticky;
		top: calc(24px + var(--admin-bar, 0px) + var(--header-sticky-height-animated, 0px));
	}
}

/* Betaling-Sektion (linke Spalte, unter Levering / hinter der
   Leveringsmetode-Karte) */
.sfck-payment {
	margin-top: 30px;
}

/* ---------- 13.3b Leveringsmetode-Karte (ausgewählte Versandart) ----------
   Sitzt zwischen Levering-Adresse und Betaling. Eine einzige, immer
   ausgewählte Option (pro Zone nur Gratis-Versand): Shopify-Muster mit
   Akzent-Rahmen + gefülltem Radio, Liefertermin fett, Track & Trace darunter,
   Preis rechts. Liefertermin/Preis kommen serverseitig (inc/checkout.php). */

.sfck-ship {
	margin-top: 30px;
}

.sfck-ship__option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1.5px solid var(--sf-accent);
	border-radius: var(--sf-radius-control);
	background: color-mix(in srgb, var(--sf-accent) 5%, #fff);
}

.sfck-ship__radio {
	position: relative;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid var(--sf-accent);
	background: #fff;
}

.sfck-ship__radio::after {
	content: "";
	position: absolute;
	inset: 3.5px;
	border-radius: 50%;
	background: var(--sf-accent);
}

.sfck-ship__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.sfck-ship__title {
	font-family: var(--sf-font-body);
	font-size: 13px; /* kleiner: passt auf eine Zeile */
	font-weight: 600;
	line-height: 1.3;
	color: var(--sf-ink);
}

.sfck-ship__sub {
	font-size: 12px;
	line-height: 1.3;
	color: var(--sf-muted);
}

/* Rechte Spalte der Karte: Fragtfirma-Logo oben, Preis darunter (rechtsbündig,
   Shopify-Muster). Logo kommt aus sf_checkout_shipping_logo(). */
.sfck-ship__aside {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
}

.sfck-ship__logo {
	display: inline-flex;
	align-items: center;
}

.sfck-ship__logo-img {
	display: block;
	max-height: 13px; /* verkleinert (~über die Hälfte von zuvor 22px) */
	width: auto;
}

/* Platzhalter, bis ein echtes Logo hinterlegt ist (Filter
   sf_checkout_shipping_logo oder assets/img/shipping-carrier.svg). */
.sfck-ship__logo-ph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	height: 22px;
	padding: 0 8px;
	border: 1px dashed var(--sf-muted);
	border-radius: 6px;
	font-family: var(--sf-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--sf-muted);
	background: #fff;
}

.sfck-ship__price {
	font-family: var(--sf-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--sf-ink);
}

/* ---------- 13.4 Countdown-Pille „OBS! Varen er næsten udsolgt" ---------- */
/* Eigenständige Pille unter der Ordreoversigt-Leiste (normaler Abstand wie
   andere Checkout-Elemente). Farbvarianten über Modifier-Klassen: --red
   (Standard), --warm (Amber-Verlauf) und --dark (Anthrazit); Auswahl via
   Filter sf_checkout_timer_variant in inc/checkout.php, alle aus --sf-Tokens
   per color-mix abgeleitet.
   EIN Text auf allen Viewports: das <p> ist Flex-Container mit space-between
   → Satztext links (darf auf max. zwei Zeilen umbrechen, anonymes Flex-Item
   mit min-width:0), Timer rechts vertikal zentriert (flex-shrink:0). Die
   Pille wächst dabei in der Höhe mit; die absolut positionierte Linie sitzt
   unabhängig davon am unteren Rand. Urgency: ablaufende 3px-Linie unten
   (scaleX, nur transform) + Puls-Punkt; letzte Minute .is-critical → Rot. */

.sfck-timer {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 12px 16px 14px;
	border-radius: var(--sf-radius-control);
	font-family: var(--sf-font-body); /* explizit — nie System-Font-Fallback */
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

/* Grid statt Flex: der Satztext (anonymes Item in der 1fr-Spur) nutzt die
   VOLLE verfügbare Breite zum Umbrechen — bei space-between-Flex belegte er
   nur seine „bevorzugte" Zeilenbreite und wäre früher (3-zeilig) umgebrochen.
   Timer sitzt in der auto-Spur rechts, vertikal zentriert (align-items). */
.sfck-timer__text {
	display: grid;
	flex: 1;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 12px;
	margin: 0;
	min-width: 0; /* 1fr-Spur darf unter die Satz-Maximalbreite schrumpfen */
}

/* Live-Indikator: kleiner Punkt mit sanftem 2s-Puls. flex-start + kleiner
   Versatz → sitzt an der ERSTEN Textzeile (nicht mittig zwischen zwei). */
.sfck-timer__dot {
	flex: none;
	align-self: flex-start;
	margin-top: 6px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	animation: sfck-timer-pulse 2s ease-in-out infinite;
	transition: background-color 0.6s ease;
}

@keyframes sfck-timer-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(0.7); opacity: 0.5; }
}

/* Timer: Shop-Schrift, semibold, etwas größer, Tabular-Ziffern.
   flex-shrink:0 → schrumpft nie, bricht nie um. */
.sfck-timer__count {
	flex: none;
	font-family: var(--sf-font-body);
	font-size: 15.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	transition: color 0.6s ease;
}

/* Sehr schmale Viewports (≤360px): der lange Satz würde bei 14px auf DREI
   Zeilen umbrechen. Etwas kleinere Schrift + engeres Padding schaffen die
   Breite, damit er sicher in ZWEI Zeilen passt (390px+ bleibt bei 14px). */
@media (max-width: 374.98px) {
	.sfck-timer {
		gap: 8px;
		padding: 11px 12px 13px;
		font-size: 13px;
	}

	.sfck-timer__text {
		column-gap: 10px;
	}

	.sfck-timer__count {
		font-size: 14px;
	}

	.sfck-timer__dot {
		margin-top: 5px;
	}
}

/* Ablaufende Linie am unteren Rand — nur transform (kein Layout-Thrashing),
   die 1s-Linear-Transition glättet den Sekundentick. */
.sfck-timer__bar {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 100%;
	transform-origin: left;
	transition: transform 1s linear, background-color 0.6s ease;
}

/* --- Variante A „warm": satter Amber-Verlauf, dunkelbrauner Text --- */
.sfck-timer--warm {
	background: linear-gradient(
		105deg,
		color-mix(in srgb, var(--sf-gold) 86%, #fff) 0%,
		color-mix(in srgb, var(--sf-accent) 42%, var(--sf-gold)) 100%
	);
	color: color-mix(in srgb, #000 74%, var(--sf-gold));
}

.sfck-timer--warm .sfck-timer__count {
	color: color-mix(in srgb, #000 84%, var(--sf-gold));
}

.sfck-timer--warm .sfck-timer__dot,
.sfck-timer--warm .sfck-timer__bar {
	background: color-mix(in srgb, #000 66%, var(--sf-accent));
}

.sfck-timer--warm.is-critical .sfck-timer__count {
	color: color-mix(in srgb, var(--sf-accent) 55%, #6b0f00);
}

.sfck-timer--warm.is-critical .sfck-timer__bar,
.sfck-timer--warm.is-critical .sfck-timer__dot {
	background: color-mix(in srgb, var(--sf-accent) 55%, #6b0f00);
}

/* --- Variante C „red" (Standard, User-Wahl): sattes tiefes Rot aus
   --sf-accent, weißer Text, weiße Ablauflinie. Letzte Minute vertieft
   sich der Hintergrund (Linie/Timer bleiben weiß — kein Blinken). --- */
.sfck-timer--red {
	background: linear-gradient(
		105deg,
		color-mix(in srgb, var(--sf-accent) 88%, #fff) 0%,
		color-mix(in srgb, var(--sf-accent) 78%, #5c0c00) 100%
	);
	color: rgba(255, 255, 255, 0.94);
	transition: background 0.6s ease;
}

.sfck-timer--red .sfck-timer__count {
	color: #fff;
}

.sfck-timer--red .sfck-timer__dot,
.sfck-timer--red .sfck-timer__bar {
	background: rgba(255, 255, 255, 0.85);
}

/* Dezente Spur unter der weißen Ablauflinie, damit der Reststand auf dem
   roten Grund als Linie lesbar bleibt (Inset-Shadow statt Extra-Element) */
.sfck-timer--red {
	box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.22);
}

.sfck-timer--red.is-critical {
	background: linear-gradient(
		105deg,
		color-mix(in srgb, var(--sf-accent) 72%, #5c0c00) 0%,
		color-mix(in srgb, var(--sf-accent) 55%, #400800) 100%
	);
}

/* --- Variante B „dark": Anthrazit, weißer Text, Amber-Akzente --- */
.sfck-timer--dark {
	background: color-mix(in srgb, var(--sf-ink) 94%, var(--sf-gold));
	color: rgba(255, 255, 255, 0.92);
}

.sfck-timer--dark .sfck-timer__count,
.sfck-timer--dark .sfck-timer__dot,
.sfck-timer--dark .sfck-timer__bar {
	color: var(--sf-gold);
	background-color: transparent;
}

.sfck-timer--dark .sfck-timer__dot,
.sfck-timer--dark .sfck-timer__bar {
	background-color: var(--sf-gold);
}

.sfck-timer--dark.is-critical .sfck-timer__count {
	color: var(--sf-accent);
}

.sfck-timer--dark.is-critical .sfck-timer__dot,
.sfck-timer--dark.is-critical .sfck-timer__bar {
	background-color: var(--sf-accent);
}

@media (prefers-reduced-motion: reduce) {
	.sfck-timer__dot {
		animation: none;
	}

	.sfck-timer__bar {
		transition: none;
	}
}

.sfck-h2 {
	margin: 0 0 14px;
	font-family: var(--sf-font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--sf-ink);
}

.sfck-section + .sfck-section {
	margin-top: 30px;
}

/* WCs Standard-Überschrift im Billing-Bereich neutralisieren */
.sfck .woocommerce-billing-fields > h3 {
	display: none;
}

/* ---------- 13.5 Formularfelder: Floating-Labels (Shopify-Feldsprache) ------
   Das native WC-<label> liegt IM Kasten: leer = zentrierter Platzhalter,
   bei Fokus/Wert wandert es klein nach oben (es verschwindet nie).
   Zustände: :focus-within (CSS) + :has(:not(:placeholder-shown)) (CSS) +
   .has-value (JS-Fallback für Autofill/AJAX, checkout.js). Die Felder liegen
   außerhalb der update_order_review-Fragmente. */

.sfck-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.sfck-fields .form-row {
	position: relative;
	grid-column: 1 / -1;
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
}

/* Feld-Paare (Fornavn|Efternavn, Postnummer|By) bleiben auf ALLEN Breiten
   nebeneinander (Electrolager-Muster) — kein Mobile-Stapeln. */
.sfck-fields .form-row.sfck-field--half {
	grid-column: auto / span 1;
}

/* In den schmalen Halbfeldern (mobil ~165px) braucht das Floating-Label
   den Platz bis fast zur rechten Kante, sonst schneidet die Ellipse
   längere Namen wie „Postnummer" unnötig früh ab. */
@media (max-width: 560px) {
	.sfck-fields .form-row.sfck-field--half > label {
		left: 13px;
		right: 10px;
	}

	.sfck-fields .form-row.sfck-field--half .input-text {
		padding-left: 12px;
		padding-right: 10px;
	}
}

/* Reine Hidden-Feld-Zeilen (z. B. injiziert das Redsys-Plugin 9 unsichtbare
   3DS-Browserdaten-Felder als billing-Felder) erzeugen sonst leere
   Grid-Zeilen samt Gaps. display:none entfernt nur die Layout-Zeile —
   die hidden-Inputs bleiben im DOM und werden normal mitgesendet. */
.sfck-fields .form-row:has(> .woocommerce-input-wrapper > input[type="hidden"]:only-child) {
	display: none;
}

/* Label = Platzhalter im Kasten (Ruhezustand: vertikal zentriert) */
.sfck-fields .form-row > label {
	position: absolute;
	top: 50%;
	left: 15px;
	right: 38px;
	transform: translateY(-50%);
	margin: 0;
	z-index: 2;
	pointer-events: none;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--sf-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: top 0.14s ease, transform 0.14s ease, font-size 0.14s ease,
		color 0.14s ease;
}

/* Gefloatet: klein nach oben (Fokus, Wert, JS-Fallback; Land permanent —
   das Select ist immer vorbelegt) */
.sfck-fields .form-row:focus-within > label,
.sfck-fields .form-row.has-value > label,
.sfck-fields .form-row:has(.input-text:not(:placeholder-shown)) > label,
.sfck-fields #billing_country_field > label {
	top: 8px;
	transform: none;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--sf-text);
}

/* Pflicht-Sterne raus — optionale Felder tragen „(valgfri)" */
.sfck .form-row .required {
	display: none;
}

.sfck .form-row .woocommerce-input-wrapper {
	display: block;
}

/* Feld-Kästen: definierter Rahmen, Token-Radius (12px), 52px Höhe;
   Eingabetext sitzt unter dem gefloateten Label */
.sfck .form-row .input-text,
.sfck .form-row select {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 21px 14px 7px;
	background: #fff;
	border: 1px solid #c9cdd3;
	border-radius: var(--sf-radius-control);
	font-family: var(--sf-font-body);
	font-size: 15px;
	color: var(--sf-ink);
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Native Platzhalter unsichtbar — das Label übernimmt diese Rolle.
   (Attribut bleibt gesetzt, damit :placeholder-shown funktioniert.) */
.sfck .form-row .input-text::placeholder {
	color: transparent;
	opacity: 0;
}

.sfck .form-row .input-text:focus,
.sfck .form-row select:focus {
	outline: none;
	border-color: var(--sf-ink);
	box-shadow: 0 0 0 1px var(--sf-ink);
}

/* select2 (Land): gleiche Kastenoptik; Auswahltext unter dem Label */
.sfck .select2-container .select2-selection--single {
	min-height: 52px;
	border: 1px solid #c9cdd3;
	border-radius: var(--sf-radius-control);
	background: #fff;
}

.sfck .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 1.3;
	padding: 24px 30px 7px 14px;
	color: var(--sf-ink);
	font-size: 15px;
}

.sfck .select2-container .select2-selection--single .select2-selection__arrow {
	height: 50px;
	right: 8px;
}

.sfck .select2-container--focus .select2-selection--single,
.sfck .select2-container--open .select2-selection--single {
	border-color: var(--sf-ink);
	box-shadow: 0 0 0 1px var(--sf-ink);
}

/* Validierung: roter Rahmen + rotes Label + rote Meldung darunter */
.sfck .form-row.woocommerce-invalid .input-text,
.sfck .form-row.woocommerce-invalid select,
.sfck .form-row.woocommerce-invalid .select2-selection--single {
	border-color: #c0392b;
	box-shadow: 0 0 0 1px #c0392b;
}

/* (.sfck-Präfix hebt die Spezifität über den :has-Float-Selektor) */
.sfck .sfck-fields .form-row.woocommerce-invalid > label {
	color: #c0392b;
}

.sfck .form-row.woocommerce-validated .input-text,
.sfck .form-row.woocommerce-validated select {
	border-color: #c9cdd3;
	box-shadow: none;
}

/* WCs native Inline-Fehlermeldung direkt unter dem Feld */
.sfck .form-row .checkout-inline-error-message {
	display: block;
	margin: 6px 2px 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: #c0392b;
}

/* ---------- 13.6 Ordreoversigt (rechte Spalte — NUR Summary) --------------
   Gemutete, zusammenhängende Fläche (Electrolager-Look) statt weißer
   Border-Karte. Reihenfolge Artikel → Rabatkode → Summen: #order_review und
   das Table-Element werden per display:contents aufgelöst (alle Table-Boxen
   sind ohnehin auf block/flex umgestylt), tbody/coupon/tfoot ordnen per
   flex order. Fragment-sicher: die ersetzte Table bekommt die Regeln sofort
   wieder, ihre DOM-Position ändert sich nicht. */

.sfck-side__inner {
	background: var(--sf-surface);
	border-radius: var(--sf-radius-card);
	padding: 28px 26px;
}

@media (min-width: 1000px) {
	.sfck-side__inner {
		display: flex;
		flex-direction: column;
	}

	.sfck-side #order_review,
	.sfck-side .woocommerce-checkout-review-order-table {
		display: contents;
	}

	.sfck-side .woocommerce-checkout-review-order-table tbody { order: 1; }
	.sfck-side .sfck-coupon { order: 2; margin-top: 16px; }
	.sfck-side .woocommerce-checkout-review-order-table tfoot { order: 3; margin-top: 16px; }
	.sfck-side .sfck-trust { order: 4; }
}

.sfck-side__title {
	margin: 0 0 18px;
	font-family: var(--sf-font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--sf-ink);
}

/* Die Review-„Tabelle" als Karten-Layout */
.sfck table.woocommerce-checkout-review-order-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	margin: 0;
}

.sfck .woocommerce-checkout-review-order-table tbody,
.sfck .woocommerce-checkout-review-order-table tfoot,
.sfck .woocommerce-checkout-review-order-table tr,
.sfck .woocommerce-checkout-review-order-table th,
.sfck .woocommerce-checkout-review-order-table td {
	display: block;
	border: 0;
	padding: 0;
	background: none;
	text-align: left;
}

.sfck .woocommerce-checkout-review-order-table tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

/* Artikelzeilen */
.sfck .woocommerce-checkout-review-order-table tr.cart_item {
	padding: 0 0 14px;
	align-items: flex-start;
}

.sfck .woocommerce-checkout-review-order-table tbody {
	border-bottom: 1px solid var(--sf-line);
	margin-bottom: 14px;
	padding-bottom: 2px;
}

.sfck-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.sfck-item__thumb {
	position: relative;
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	background: #fff; /* hebt sich von der Surface-Fläche ab */
	border: 1px solid var(--sf-line);
}

.sfck-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 10px;
	mix-blend-mode: multiply;
}

.sfck-item__qty {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sf-ink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1;
	border-radius: 999px;
}

.sfck-item__info {
	display: block;
	min-width: 0;
}

.sfck-item__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sf-ink);
}

.sfck-item__info .variation {
	margin: 4px 0 0;
	display: block;
	font-size: 12.5px;
	color: var(--sf-muted);
}

.sfck-item__info .variation dt,
.sfck-item__info .variation dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.sfck-item__info .variation dd p {
	display: inline;
	margin: 0;
}

.sfck .woocommerce-checkout-review-order-table .product-total {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--sf-ink);
}

.sfck-item__was,
.sfck .woocommerce-checkout-review-order-table .product-total del {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--sf-muted);
	text-decoration: line-through;
	text-align: right;
}

/* Summenzeilen */
.sfck .woocommerce-checkout-review-order-table tfoot tr {
	padding: 5px 0;
	font-size: 14px;
}

.sfck .woocommerce-checkout-review-order-table tfoot th {
	font-weight: 400;
	color: var(--sf-text);
}

.sfck .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	font-weight: 600;
	color: var(--sf-ink);
}

.sfck .woocommerce-checkout-review-order-table tr.sfck-savings th,
.sfck .woocommerce-checkout-review-order-table tr.sfck-savings td {
	color: var(--sf-green);
	font-weight: 600;
}

.sfck .woocommerce-checkout-review-order-table tr.order-total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--sf-line);
}

.sfck .woocommerce-checkout-review-order-table tr.order-total th,
.sfck .woocommerce-checkout-review-order-table tr.order-total td {
	font-family: var(--sf-font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--sf-ink);
}

/* ---------- 13.7 Payment — NUR Kosmetik auf Stock-Markup ---------- */

.sfck #payment {
	background: none;
	border-radius: 0;
	margin-top: 4px;
}

.sfck #payment ul.wc_payment_methods {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	overflow: hidden;
}

.sfck #payment ul.wc_payment_methods li.wc_payment_method {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--sf-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.sfck #payment ul.wc_payment_methods li.wc_payment_method:first-child {
	border-top: 0;
}

.sfck #payment li.wc_payment_method input.input-radio {
	accent-color: var(--sf-ink);
	width: 17px;
	height: 17px;
	margin: 13px 0 13px 14px;
	flex: none;
}

.sfck #payment li.wc_payment_method > label {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 14px 13px 10px;
	margin: 0;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--sf-ink);
	cursor: pointer;
}

.sfck #payment li.wc_payment_method > label img {
	max-height: 22px;
	width: auto;
	margin-left: auto;
}

.sfck #payment div.payment_box {
	flex-basis: 100%;
	width: 100%;
	margin: 0;
	padding: 12px 14px 14px;
	background: var(--sf-surface);
	border: 0;
	border-radius: 0;
	font-size: 13.5px;
	color: var(--sf-text);
}

.sfck #payment div.payment_box::before {
	display: none;
}

.sfck #payment div.payment_box p {
	margin: 0 0 8px;
}

.sfck #payment div.payment_box p:last-child {
	margin-bottom: 0;
}

/* Eingebettete Gateway-Inhalte (z. B. Karten-iframe) nie überlaufen lassen */
.sfck #payment div.payment_box iframe {
	max-width: 100%;
	border: 0;
}

/* Kauf-Button (Stock-#place_order): eckig mit Feld-Radius (12px) statt
   Pille — gleicher Rhythmus wie die Feld-Kästen. Nur CSS. */
.sfck #payment .form-row.place-order {
	margin: 0;
	padding: 0;
}

.sfck #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 15px 30px;
	background: var(--sf-btn-bg);
	color: var(--sf-btn-color);
	border: 0;
	border-radius: var(--sf-radius-control);
	font-family: var(--sf-font-heading);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.sfck #place_order:hover {
	background: var(--sf-btn-bg-hover);
}

.sfck #place_order:active {
	transform: scale(0.985);
}

.sfck #place_order:focus-visible {
	outline: 2px solid var(--sf-ink);
	outline-offset: 3px;
}

/* Microcopy unter dem Button (Hook woocommerce_review_order_after_submit) */
.sfck-paynote {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 12px 0 0;
	font-size: 12.5px;
	color: var(--sf-muted);
}

/* AGB-/Privacy-Hinweistext (WC-Stock) dezent */
.sfck .woocommerce-terms-and-conditions-wrapper {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: var(--sf-muted);
}

/* ---------- 13.8 Trust-Block unter der Summary ---------- */

.sfck-trust {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--sf-line);
}

.sfck-trust__pay {
	display: block;
	width: 100%;
	max-width: 320px;
	height: auto;
	margin: 0 auto 14px;
}

.sfck-trust__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.sfck-trust__points li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: var(--sf-text);
}

.sfck-trust__points svg {
	flex: none;
	color: var(--sf-ink);
}

/* ---------- 13.9 Rabatkode in der Ordreoversigt (Shopify-Muster) ----------
   Markup in form-checkout.php, Versand über WCs nativen apply_coupon-AJAX
   (checkout.js). Damit das Feld ZWISCHEN Summen und Betaling sitzt, obwohl
   Tabelle+Payment gemeinsam in #order_review rendern: #order_review wird per
   display:contents aufgelöst und die Karte per flex/order sortiert (gleiche
   Technik wie das Mobile-Reordering, dort seit Etappe 1 verifiziert). */

.sfck-coupon__row {
	display: flex;
	gap: 8px;
}

/* Floating-Label auch hier (gleiche Feldsprache wie das Formular) */
.sfck-coupon__field {
	position: relative;
	flex: 1;
	min-width: 0;
	display: block;
}

.sfck-coupon__field > label {
	position: absolute;
	top: 50%;
	left: 15px;
	transform: translateY(-50%);
	margin: 0;
	z-index: 2;
	pointer-events: none;
	font-size: 14px;
	font-weight: 400;
	color: var(--sf-muted);
	transition: top 0.14s ease, transform 0.14s ease, font-size 0.14s ease,
		color 0.14s ease;
}

.sfck-coupon__field:focus-within > label,
.sfck-coupon__field.has-value > label,
.sfck-coupon__field:has(.input-text:not(:placeholder-shown)) > label {
	top: 7px;
	transform: none;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--sf-text);
}

.sfck-coupon__field .input-text {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 20px 14px 6px;
	background: #fff;
	border: 1px solid #c9cdd3;
	border-radius: var(--sf-radius-control);
	font-family: var(--sf-font-body);
	font-size: 14px;
	color: var(--sf-ink);
}

.sfck-coupon__field .input-text::placeholder {
	color: transparent;
	opacity: 0;
}

.sfck-coupon__field .input-text:focus {
	outline: none;
	border-color: var(--sf-ink);
	box-shadow: 0 0 0 1px var(--sf-ink);
}

.sfck-coupon__apply {
	flex: none;
	min-height: 52px;
	padding: 10px 18px;
	background: #fff;
	color: var(--sf-ink);
	border: 1px solid #c9cdd3;
	border-radius: var(--sf-radius-control);
	font-family: var(--sf-font-body);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.sfck-coupon__apply:hover {
	border-color: var(--sf-ink);
}

.sfck-coupon__apply.is-busy {
	opacity: 0.6;
	cursor: wait;
}

/* AJAX-Antwort (WC-Notice) kompakt im Kartenkontext */
.sfck-coupon__notice { margin: 0; }

.sfck-coupon__notice .woocommerce-error,
.sfck-coupon__notice .woocommerce-message,
.sfck-coupon__notice .woocommerce-info {
	margin: 8px 0 0;
	padding: 9px 12px;
	font-size: 12.5px;
	border-radius: 10px;
	background: var(--sf-surface);
	color: var(--sf-text);
	list-style: none;
}

.sfck-coupon__notice .woocommerce-error {
	color: #c0392b;
}

.sfck-coupon__notice .woocommerce-error::before,
.sfck-coupon__notice .woocommerce-message::before,
.sfck-coupon__notice .woocommerce-info::before {
	display: none;
}

/* (Desktop-Reihenfolge der Summary jetzt in 13.6 — Payment liegt links) */

/* ---------- 13.10 Notices (Fehler oben im Formular) ---------- */

body.woocommerce-checkout ul.woocommerce-error,
body.woocommerce-checkout .woocommerce-message {
	border-radius: var(--sf-radius-control);
	font-size: 14px;
}

/* ---------- 13.11 Mobile Summary-Bar + Spaltenreihenfolge ---------- */

.sfck-summarybar {
	display: none;
}

@media (max-width: 999.98px) {
	/* Bar sichtbar; Accordion-Verhalten kommt in Etappe 2 (checkout.js) —
	   bis dahin ist die Summary mobil einfach offen sichtbar. */
	/* Full-Bleed-Leiste: oben bündig an der Header-Trennlinie (das
	   Container-padding-top von 20px wird per negativem Margin aufgehoben),
	   links/rechts bis an den Viewport-Rand (50vw-Trick); das padding-inline
	   stellt die Content-Flucht auf die Container-Linie wieder her. Keine
	   Pille mehr — nur eine Hairline unten als Abschluss (dient aufgeklappt
	   als Trenner zum Panel). */
	.sfck-summarybar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		/* <button> shrink-to-fit: volle Breite + die beiden 50vw-Überhänge
		   explizit rechnen (width:auto/100% reichen hier nicht). */
		width: calc(100% + 2 * (50vw - 50%));
		margin: -20px calc(50% - 50vw) 0;
		padding: 14px calc(50vw - 50%);
		background: var(--sf-surface);
		border: 0;
		border-bottom: 1px solid var(--sf-line);
		border-radius: 0;
		font-family: var(--sf-font-body);
		font-size: 14px;
		font-weight: 600;
		color: var(--sf-ink);
		cursor: pointer;
	}

	.sfck-summarybar__label {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.sfck-summarybar__total {
		font-family: var(--sf-font-heading);
		font-weight: 700;
		font-size: 15px;
	}

	/* Mobil-Stapel: Summary-Accordion OBEN (Artikel → Rabatkode → Summen),
	   dann Kontakt → Levering → Betaling (liegt jetzt nativ in .sfck-main —
	   kein Payment-Reordering mehr nötig), Trust zuletzt. Nur die Summary
	   wird per display:contents aufgelöst und sortiert. */
	.sfck-cols {
		display: flex;
		flex-direction: column;
		margin-top: 0; /* aufgeklapptes Panel dockt direkt an die Leiste an */
		gap: 0; /* Desktop-Grid-Gap (28px) würde die Panel-Blöcke auseinanderreißen */
	}

	.sfck-side,
	.sfck-side__inner,
	.sfck-side #order_review,
	.sfck-side .woocommerce-checkout-review-order-table {
		display: contents;
	}

	.sfck-side__title {
		display: none; /* die Summary-Bar übernimmt die Überschrift */
	}

	/* Zusammenhängender Surface-Block: Artikel (oben) + Rabatkode (Mitte)
	   + Summen (unten) — Electrolager-Reihenfolge auch im Accordion.
	   Full-bleed wie die Leiste darüber (gleicher 50vw-Trick), damit
	   auf- und zugeklappt ein durchgehendes randloses Bild entsteht;
	   die Hairline der Leiste trennt Bar und Panel, das tfoot schließt
	   das Panel unten mit derselben Hairline ab. */
	.sfck-side .woocommerce-checkout-review-order-table tbody {
		order: -4;
		background: var(--sf-surface);
		border-radius: 0;
		padding: 16px calc(50vw - 50%) 4px;
		margin: 0 calc(50% - 50vw);
		border-bottom: 0;
	}

	.sfck-side .sfck-coupon {
		order: -3;
		background: var(--sf-surface);
		padding: 4px calc(50vw - 50%) 12px;
		margin: 0 calc(50% - 50vw);
	}

	.sfck-side .woocommerce-checkout-review-order-table tfoot {
		order: -2;
		background: var(--sf-surface);
		border-radius: 0;
		border-bottom: 1px solid var(--sf-line);
		padding: 8px calc(50vw - 50%) 16px;
		margin: 0 calc(50% - 50vw);
	}

	.sfck-main {
		order: 0;
		margin-top: 18px; /* Abstand Leiste/Panel → Countdown-Pille */
	}

	.sfck-payment #payment {
		/* Blocksys woocommerce.css zieht #payment mobil mit negativen
		   Seitenrändern full-bleed — im Funnel-Layout unerwünscht. */
		margin: 2px 0 0;
	}

	.sfck-trust {
		order: 2;
		margin-top: 32px; /* ersetzt das frühere Grid-Gap (28px) + 4px */
		padding-top: 14px;
	}

	/* Accordion: Ordreoversigt standardmäßig ZU, die Bar klappt auf/zu
	   (checkout.js toggelt .is-open auf .sfck-cols + aria-expanded).
	   Artikel, Rabatkode UND Summen gehören zur aufklappbaren Gruppe. */
	.sfck-cols:not(.is-open) .woocommerce-checkout-review-order-table tbody,
	.sfck-cols:not(.is-open) .woocommerce-checkout-review-order-table tfoot,
	.sfck-cols:not(.is-open) .sfck-coupon {
		display: none;
	}

	.sfck-summarybar__chev {
		transition: transform 0.18s ease;
	}

	.sfck-summarybar[aria-expanded="true"] .sfck-summarybar__chev {
		transform: rotate(180deg);
	}
}

/* ---------- 13.12 Blocksy-Akzente → Funnel-Tokens (Lila-Sweep) ----------
   Blocksys Palette (#5B38ED) steckt in Theme-CSS-Variablen und färbt Radios,
   Links, Fokus-Ringe und select2. Im Checkout-Scope werden die Variablen auf
   die Funnel-Tokens gezogen — alles Blocksy-Styling folgt automatisch. */

body.woocommerce-checkout {
	--theme-palette-color-1: var(--sf-ink);
	--theme-palette-color-2: #000000;
	--theme-link-initial-color: var(--sf-ink);
	--theme-link-hover-color: #000000;
	--theme-form-field-border-focus-color: var(--sf-ink);
	--theme-button-background-initial-color: var(--sf-btn-bg);
	--theme-button-background-hover-color: var(--sf-btn-bg-hover);
	/* Radios/Checkboxen: Blocksy zeichnet den sichtbaren Kreis als
	   label::before und färbt ihn über diese beiden Variablen. */
	--theme-form-selection-field-active-color: var(--sf-ink);
	--theme-form-selection-field-initial-color: #b9bec5;
}

/* Radios/Checkboxen: Blocksy rendert sie custom (appearance:none) mit
   hartem Palette-Lila — im Checkout direkt auf Ink überschreiben. */
body.woocommerce-checkout .sfck input[type="radio"],
body.woocommerce-checkout .sfck input[type="checkbox"] {
	accent-color: var(--sf-ink);
}

body.woocommerce-checkout .sfck input[type="radio"]:checked,
body.woocommerce-checkout .sfck input[type="checkbox"]:checked {
	border-color: var(--sf-ink) !important;
	background-color: var(--sf-ink) !important;
}

body.woocommerce-checkout .sfck input[type="radio"]:focus-visible,
body.woocommerce-checkout .sfck input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--sf-ink);
	outline-offset: 2px;
}

/* (Der sichtbare Radio-/Checkbox-Kreis ist bei Blocksy das label::before —
   die Färbung läuft vollständig über die beiden Selection-Variablen oben.) */

/* select2-Dropdown: Highlight/Auswahl in Ink statt Theme-Lila (das Dropdown
   rendert in einem Body-Container außerhalb von .sfck) */
body.woocommerce-checkout .select2-container .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-container .select2-results__option--highlighted[data-selected] {
	background-color: var(--sf-ink);
	color: #fff;
}

body.woocommerce-checkout .select2-dropdown {
	border-color: var(--sf-line);
	border-radius: var(--sf-radius-control);
	overflow: hidden;
}

/* ---------- 13.13 Leerraum unterm Header reduzieren (checkout-scoped) ---- */

body.woocommerce-checkout .ct-container-full {
	padding-top: 24px;
}

/* ---------- 13.14 Header-Trennlinie + Inhalt hochrücken (nur Checkout-
   Formular, nicht die Danke-Seite — deren Hero-Abstand ist abgestimmt) ---- */

/* Graue Linie unter dem Header (volle Breite) */
body.woocommerce-checkout:not(.sf-order-received) .ct-container-full {
	border-top: 1px solid var(--sf-line);
	padding-top: 20px;
}

/* Der leere Titel-Wrapper (.hero-section, h1 versteckt via 13.2) hinterließ
   40px margin-bottom — komplett raus, der Inhalt beginnt direkt unter der
   Linie. */
body.woocommerce-checkout:not(.sf-order-received) .hero-section {
	display: none;
}

/* ==========================================================================
   14. DANKE-SEITE (.sfty) — order-received-Endpoint im Funnel-Look
   Scope: body.sf-order-received (Body-Klasse aus inc/thankyou.php; zusätzlich
   trägt der Endpoint .woocommerce-checkout, daher greifen 13.1/13.13 mit).
   Markup: woocommerce/checkout/thankyou.php + order/order-details-customer.php
   ========================================================================== */

/* ---------- 14.1 Grundgerüst: schmale zentrierte Spalte ---------- */

body.sf-order-received .sfty {
	max-width: 760px;
	margin-inline: auto;
	font-family: var(--sf-font-body);
	color: var(--sf-text);
	--theme-link-initial-color: var(--sf-ink);
	--theme-link-hover-color: #000000;
}

/* ---------- 14.2 Hero: Erfolgs-Häkchen + Headline + Meta-Zeile ---------- */

.sfty .sfty-hero {
	padding: 16px 0 30px;
	text-align: center;
}

.sfty .sfty-hero__check {
	display: inline-flex;
}

.sfty .sfty-hero__check svg {
	width: 72px;
	height: 72px;
}

.sfty .sfty-check-circle,
.sfty .sfty-check-tick {
	fill: none;
	stroke: var(--sf-green);
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sfty .sfty-check-circle {
	stroke-width: 2.5;
}

.sfty .sfty-check-tick {
	stroke-width: 3;
}

.sfty .sfty-hero__title {
	margin: 16px 0 10px;
	font-family: var(--sf-font-heading);
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--sf-ink);
}

.sfty .sfty-hero__meta {
	display: flex;
	justify-content: center;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0;
	font-size: 15.5px;
	color: var(--sf-text);
}

.sfty .sfty-hero__order {
	font-family: var(--sf-font-heading);
	font-weight: 700;
	color: var(--sf-ink);
}

.sfty .sfty-hero__sep {
	color: var(--sf-muted);
}

/* Gateway-Hinweise (woocommerce_thankyou_<gateway>, z. B. Efterkrav-/
   Bankoverførsel-Instruktionen) landen als lose <p>/Sektionen direkt in
   .sfty — zentriert und gedämpft, damit sie zum Hero passen. */
.sfty > p {
	max-width: 560px;
	margin: -8px auto 26px;
	text-align: center;
	font-size: 15px;
	color: var(--sf-text);
}

/* Bankoverførsel: WC rendert Kontodaten als section.woocommerce-bacs-bank-details
   mit h2/ul — dezent als Card darstellen, damit nichts „nackt" wirkt. */
.sfty > section:not(.woocommerce-order-details):not(.woocommerce-customer-details) {
	margin-bottom: 20px;
}

/* ---------- 14.3 Card-Optik: Bestellübersicht + Adressen ---------- */

.sfty .woocommerce-order-details,
.sfty .sfty-address {
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-card);
	box-shadow: var(--sf-shadow-sm);
	padding: 22px 26px;
}

.sfty .woocommerce-order-details {
	margin-bottom: 20px;
}

.sfty .woocommerce-order-details__title,
.sfty .sfty-address__title {
	margin: 0 0 12px;
	font-family: var(--sf-font-heading);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--sf-ink);
}

/* Ordreinformationer-Tabelle: nüchterne Tabelle → luftige Zeilen.
   Präfix body.sf-order-received schlägt Blocksys .shop_table-Regeln
   ([class*="ct-woocommerce"] …) ohne !important. */
body.sf-order-received .sfty table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
}

body.sf-order-received .sfty table.shop_table th,
body.sf-order-received .sfty table.shop_table td {
	border: 0;
	padding: 12px 0;
	background: none;
	text-align: left;
}

body.sf-order-received .sfty table.shop_table thead th {
	padding-top: 0;
	font-family: var(--sf-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sf-muted);
	border-bottom: 1px solid var(--sf-line);
}

body.sf-order-received .sfty table.shop_table tbody tr + tr > * {
	border-top: 1px dashed var(--sf-line);
}

body.sf-order-received .sfty table.shop_table .product-name {
	color: var(--sf-ink);
}

body.sf-order-received .sfty table.shop_table .product-quantity {
	font-weight: 600;
	color: var(--sf-muted);
	white-space: nowrap;
}

body.sf-order-received .sfty table.shop_table th.product-total,
body.sf-order-received .sfty table.shop_table td.product-total {
	text-align: right;
	white-space: nowrap;
}

body.sf-order-received .sfty table.shop_table td.product-total {
	font-family: var(--sf-font-heading);
	font-weight: 700;
	color: var(--sf-ink);
}

/* Verbleibende tfoot-Zeilen (z. B. Levering/Rabat — Subtotal/Total/Zahlart
   entfernt inc/thankyou.php serverseitig) */
body.sf-order-received .sfty table.shop_table tfoot th,
body.sf-order-received .sfty table.shop_table tfoot td {
	border-top: 1px solid var(--sf-line);
	font-weight: 600;
	color: var(--sf-ink);
}

body.sf-order-received .sfty table.shop_table tfoot td {
	text-align: right;
}

/* ---------- 14.4 Adress-Cards (1 oder 2 Spalten) ---------- */

.sfty .sfty-addresses {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

@media (min-width: 700px) {
	.sfty .sfty-addresses[data-count="2"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.sfty .sfty-address address {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	line-height: 1.65;
	color: var(--sf-text);
}

.sfty .sfty-address .woocommerce-customer-details--phone {
	margin: 10px 0 0;
}

/* ---------- 14.5 Minimal-Footer: Link-Zeile (+ Akzeptanz-Hinweis) ----------
   Scope body.woocommerce-checkout deckt BEIDE Seiten mit Minimal-Footer ab:
   das Checkout-Formular und die Danke-Seite (trägt dieselbe Body-Klasse). */

/* Trennlinie oben zeichnet bereits das <footer>-Element (Blocksy) —
   hier nur noch die Innenabstände der Link-Zeile. */
body.woocommerce-checkout #footer .sfty-footer {
	padding: 18px 0 30px;
}

body.woocommerce-checkout .sfty-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--sf-font-body);
	font-size: 14px;
}

body.woocommerce-checkout .sfty-footer__links a {
	color: var(--sf-text);
	text-decoration: none;
}

body.woocommerce-checkout .sfty-footer__links a:hover {
	color: var(--sf-ink);
	text-decoration: underline;
}

/* Akzeptanz-Hinweis unter der Link-Zeile (nur Checkout, mit Links im Text) */
body.woocommerce-checkout .sfty-footer__note {
	max-width: 560px;
	margin: 14px auto 0;
	text-align: center;
	font-family: var(--sf-font-body);
	font-size: 13px;
	line-height: 1.6;
	color: var(--sf-muted);
}

body.woocommerce-checkout .sfty-footer__note a {
	color: var(--sf-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.woocommerce-checkout .sfty-footer__note a:hover {
	color: var(--sf-ink);
}

/* ---------- 14.6 Einblende-Animation (dezent, nur bei erlaubter Motion) ---
   Häkchen zeichnet sich ein (Stroke-Draw), danach steigen Hero/Cards mit
   gestaffeltem Fade auf. Ohne Motion-Freigabe: alles sofort sichtbar. */

@media (prefers-reduced-motion: no-preference) {
	.sfty .sfty-check-circle {
		stroke-dasharray: 151;
		stroke-dashoffset: 151;
		animation: sfty-draw 0.6s ease-out 0.1s forwards;
	}

	.sfty .sfty-check-tick {
		stroke-dasharray: 36;
		stroke-dashoffset: 36;
		animation: sfty-draw 0.35s ease-out 0.55s forwards;
	}

	.sfty .sfty-hero,
	.sfty .woocommerce-order-details,
	.sfty .woocommerce-customer-details {
		animation: sfty-rise 0.5s ease-out both;
	}

	.sfty .woocommerce-order-details {
		animation-delay: 0.12s;
	}

	.sfty .woocommerce-customer-details {
		animation-delay: 0.24s;
	}
}

@keyframes sfty-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes sfty-rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
}

/* ---------- 14.7 Mobile ---------- */

@media (max-width: 699px) {
	.sfty .sfty-hero {
		padding: 8px 0 24px;
	}

	.sfty .sfty-hero__check svg {
		width: 60px;
		height: 60px;
	}

	.sfty .woocommerce-order-details,
	.sfty .sfty-address {
		padding: 18px 16px;
	}

	body.woocommerce-checkout #footer .sfty-footer {
		padding: 14px 16px 24px;
	}

	body.woocommerce-checkout .sfty-footer__links {
		gap: 8px 20px;
	}
}

/* ==========================================================================
   15. GLOBALER FOOTER — kompakt auf Mobile
   Die Abstände (Row-Padding 36px, Sektions-Gap 24px, linksbündig) kommen aus
   dem Customizer (footer_placements: rowTopBottomSpacing/footerItemsGap/
   horizontal_alignment — responsive gepflegt). Hier nur, was der Footer-
   Builder nicht kann: 2-Spalten-Anordnung der Link-Sektionen, Logo-
   Ausblendung, dichtere Widget-Typografie. Breakpoint = Blocksys Mobile-
   Grenze (689.98px). Danke-Seite hat einen eigenen Footer (Sektion 14.5)
   und ist nicht betroffen.
   ========================================================================== */

@media (max-width: 689.98px) {
	/* Link-Sektionen als zwei schmale Spalten. Positionsbasiert statt
	   Widget-IDs — bleibt beim Klonen gültig. */
	#footer [data-row*="middle"] > .ct-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Kontakt-Sektion (erste Spalte: Firma/Adresse/Mail/Telefon) und Logo
	   auf Mobile komplett ausblenden — Juridisk + Kundeservice rücken damit
	   an den Anfang. Weder Widget-Areas noch das Logo-Element haben im
	   Footer-Builder eine Geräte-Sichtbarkeits-Option. */
	#footer [data-row*="middle"] > .ct-container > div:first-child,
	#footer [data-row*="middle"] > .ct-container > [data-column="logo"] {
		display: none;
	}

	/* Widget-Innenabstände dichter: Überschrift→Liste 16→10px,
	   Link-Zeilen ~30px statt ~34px (bleibt gut tappbar). */
	#footer .ct-widget .wp-block-heading {
		margin-bottom: 10px;
	}

	/* Blocksy rendert Widget-Listen als Flex-Spalte mit gap:10px —
	   Zeilenabstand läuft über das gap, nicht über li-Margins. */
	#footer .ct-widget .wp-block-list {
		line-height: 1.5;
		gap: 7px;
	}

	#footer .ct-widget .wp-block-list li {
		margin-block: 0;
	}

	#footer .ct-widget p {
		margin-block: 0 10px;
	}

	#footer .ct-widget p:last-child {
		margin-block-end: 0;
	}
}

/* ==========================================================================
   16) STATISCHE SEITEN: TRACK & TRACE + KONTAKT (.sfpg) — inc/pages.php
   Beide Seiten rendern über Shortcodes; Blocksy-Hero ist per Post-Meta aus,
   die H1 kommt aus dem Layout. Nur --sf-Tokens, keine Festfarben.
   ========================================================================== */

.sfpg {
	font-family: var(--sf-font-body);
	color: var(--sf-text);
	padding: 16px 0 72px;
}

.sfpg-title {
	font-family: var(--sf-font-heading);
	font-weight: 800;
	color: var(--sf-ink);
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.15;
	margin: 0 0 10px;
}

.sfpg-sub {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

/* Cards + Buttons (Funnel-Optik) */
.sfpg-card {
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-card);
	box-shadow: var(--sf-shadow-sm);
	padding: 28px;
}

.sfpg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--sf-btn-bg);
	color: var(--sf-btn-color);
	border: 1px solid var(--sf-btn-bg);
	border-radius: var(--sf-btn-radius);
	padding: 13px 28px;
	font-family: var(--sf-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sfpg-btn:hover {
	background: var(--sf-btn-bg-hover);
	color: var(--sf-btn-color);
}

.sfpg-btn--outline {
	background: transparent;
	color: var(--sf-ink);
	border-color: var(--sf-ink);
}

.sfpg-btn--outline:hover {
	background: var(--sf-ink);
	color: #fff;
}

/* Formularfelder (Mockup Track & Trace) */
.sfpg-field {
	margin: 0;
}

.sfpg-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--sf-ink);
	margin-bottom: 6px;
}

.sfpg-field input {
	width: 100%;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	padding: 12px 14px;
	font-family: var(--sf-font-body);
	font-size: 16px;
	color: var(--sf-ink);
}

.sfpg-field input:focus {
	border-color: var(--sf-ink);
	outline: none;
	box-shadow: none;
}

.sfpg-field input::placeholder {
	color: var(--sf-muted);
}

/* --- 16.1 Track & Trace: zentrierte schmale Spalte ----------------------- */
.sfpg-track {
	max-width: 560px;
	margin-inline: auto;
	text-align: center;
}

.sfpg-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--sf-surface);
	color: var(--sf-ink);
	margin-bottom: 18px;
}

.sfpg-badge svg {
	width: 30px;
	height: 30px;
}

.sfpg-track__card {
	display: grid;
	gap: 16px;
	text-align: left;
	margin-top: 28px;
}

.sfpg-track__card .sfpg-btn {
	width: 100%;
	margin-top: 4px;
}

.sfpg-track__help {
	font-size: 14px;
	color: var(--sf-muted);
	line-height: 1.6;
	margin: 18px auto 0;
	max-width: 440px;
}

.sfpg-track__help a {
	color: var(--sf-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --- 16.2 Kontakt: 2 Spalten, mobil gestackt ------------------------------ */
.sfpg-contact {
	max-width: 1080px;
	margin-inline: auto;
}

.sfpg-contact__head {
	margin-bottom: 28px;
}

.sfpg-contact__head .sfpg-sub {
	max-width: 640px;
}

.sfpg-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.sfpg-contact__aside {
	display: grid;
	gap: 16px;
}

.sfpg-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sf-font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--sf-ink);
	margin: 0 0 12px;
}

.sfpg-card__title svg {
	width: 20px;
	height: 20px;
	flex: none;
	color: var(--sf-ink);
}

.sfpg-aside-card {
	padding: 22px;
}

.sfpg-aside-card p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 12px;
}

.sfpg-aside-card p:last-child {
	margin-bottom: 0;
}

.sfpg-aside-card a:not(.sfpg-btn) {
	color: var(--sf-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sfpg-note {
	color: var(--sf-muted);
	font-size: 14px;
}

.sfpg-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.sfpg-checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: var(--sf-text);
}

.sfpg-checks svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--sf-green);
}

/* --- 16.3 WPForms im Funnel-Look (nur innerhalb der Formular-Card) ------- */
.sfpg-form .wpforms-container {
	margin: 0;
}

/* 2-Spalten-Grid: Felder mit Builder-Klasse sfpg-half teilen sich eine Zeile
   (Navn + E-mail), alle anderen laufen über die volle Breite. */
.sfpg-form .wpforms-form .wpforms-field-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.sfpg-form .wpforms-form .wpforms-field {
	grid-column: 1 / -1;
	padding: 0 0 18px;
}

.sfpg-form .wpforms-form .wpforms-field.sfpg-half {
	grid-column: auto;
}

.sfpg-form .wpforms-form .wpforms-field-label {
	font-family: var(--sf-font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--sf-ink);
	margin: 0 0 6px;
}

.sfpg-form .wpforms-form input[type="text"],
.sfpg-form .wpforms-form input[type="email"],
.sfpg-form .wpforms-form textarea {
	width: 100%;
	max-width: 100%; /* WPForms begrenzt "medium" sonst auf 60 % */
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-control);
	padding: 12px 14px;
	font-family: var(--sf-font-body);
	font-size: 16px;
	color: var(--sf-ink);
	box-shadow: none;
}

.sfpg-form .wpforms-form input:focus,
.sfpg-form .wpforms-form textarea:focus {
	border-color: var(--sf-ink);
	outline: none;
	box-shadow: none;
}

.sfpg-form .wpforms-form ::placeholder {
	color: var(--sf-muted);
}

.sfpg-form .wpforms-form textarea {
	min-height: 140px;
	resize: vertical;
}

.sfpg-form .wpforms-form .wpforms-submit-container {
	padding: 0;
}

.sfpg-form .wpforms-form button[type="submit"] {
	width: 100%;
	background: var(--sf-btn-bg);
	color: var(--sf-btn-color);
	border: 1px solid var(--sf-btn-bg);
	border-radius: var(--sf-btn-radius);
	padding: 14px 28px;
	font-family: var(--sf-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 0.15s ease;
}

.sfpg-form .wpforms-form button[type="submit"]:hover {
	background: var(--sf-btn-bg-hover);
}

.sfpg-form .wpforms-form label.wpforms-error {
	font-size: 13px;
	margin-top: 6px;
}

/* Erfolgsmeldung im Token-Look statt WPForms-Grün (modernes Markup nutzt
   .wpforms-confirmation-container, klassisches -container-full) */
.sfpg-form .wpforms-confirmation-container,
.sfpg-form .wpforms-confirmation-container-full {
	background: rgba(47, 143, 91, 0.08);
	border: 1px solid var(--sf-green);
	border-radius: var(--sf-radius-control);
	color: var(--sf-ink);
	padding: 18px 20px;
}

/* --- 16.4 Responsive ------------------------------------------------------ */
@media (max-width: 899.98px) {
	.sfpg-contact__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 689.98px) {
	.sfpg {
		padding: 8px 0 48px;
	}

	.sfpg-card {
		padding: 20px;
	}

	.sfpg-badge {
		width: 56px;
		height: 56px;
		margin-bottom: 14px;
	}

	/* Navn + E-mail mobil untereinander */
	.sfpg-form .wpforms-form .wpforms-field.sfpg-half {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   17) STARTSEITE (.sfh) — front-page.php + inc/homepage.php
   Funnel-Look nach Bonvya-Referenz: Hero-Slider auf Warm-Sand-Fläche,
   Tagline-Band, Kategorie-Mosaik, zwei Produkt-Karussells, dunkle
   Newsletter-Karte (Mockup), Inspirationskarten.
   Farben ausschließlich aus den Tokens (Sektion 1); die Hero-Fläche ist
   über die Option shopforge_home_hero_bg (Customizer) übersteuerbar.
   ========================================================================== */

.sfh {
	--sfh-hero-bg: var(--sf-cream-2);
	--sfh-gap: 16px;

	font-family: var(--sf-font-body);
	color: var(--sf-text);
	overflow-x: clip;
}

.sfh-container {
	width: min(100% - 40px, 1200px);
	margin-inline: auto;
}

.sfh-sec {
	padding: 28px 0;
}

.sfh-sec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.sfh-sec__title {
	margin: 0;
	font-family: var(--sf-font-heading);
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--sf-ink);
}

/* Runde Navigations-Buttons (Karussells + Hero) — 44px Touch-Ziel */
.sfh-nav {
	display: flex;
	gap: 8px;
}

.sfh-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--sf-line-strong);
	border-radius: 50%;
	background: var(--sf-ink);
	color: #fff;
	cursor: pointer;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.sfh-nav__btn svg {
	width: 18px;
	height: 18px;
}

.sfh-nav__btn--ghost {
	background: transparent;
	color: var(--sf-ink);
	border-color: color-mix(in srgb, var(--sf-ink) 30%, transparent);
}

.sfh-nav__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Platzhalter-Slot (Bild via Customizer nachrüstbar) */
.sfh-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--sf-cream), var(--sf-cream-2));
	color: var(--sf-line-strong);
	border-radius: inherit;
}

.sfh-placeholder svg {
	width: 56px;
	height: 56px;
}

/* --- 17.1 Hero-Slider ------------------------------------------------- */

.sfh-hero {
	background: var(--sfh-hero-bg);
}

.sfh-hero__viewport {
	overflow: hidden;
}

.sfh-hero__track {
	display: flex;
	transition: transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
	.sfh-hero__track {
		transition: none;
	}
}

.sfh-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.sfh-slide__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	padding-top: clamp(32px, 5vw, 64px);
	padding-bottom: clamp(16px, 2.5vw, 32px);
}

.sfh-slide__title {
	margin: 0;
	font-family: var(--sf-font-heading);
	font-size: clamp(34px, 4.6vw, 58px);
	font-weight: 800;
	line-height: 1.06;
	color: var(--sf-ink);
}

.sfh-slide__title em {
	font-style: italic;
}

.sfh-slide__sub {
	margin: 16px 0 26px;
	max-width: 46ch;
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.55;
}

.sfh-slide__cta {
	display: inline-block;
	padding: 14px 30px;
	border-radius: var(--sf-btn-radius);
	background: var(--sf-btn-bg);
	color: var(--sf-btn-color);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.sfh-slide__cta:hover {
	background: var(--sf-btn-bg-hover);
	color: var(--sf-btn-color);
}

.sfh-slide__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--sf-radius-lg);
	overflow: hidden;
}

.sfh-slide__media img,
.sfh-slide__media .sfh-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sfh-hero__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 22px;
}

.sfh-hero__dots {
	display: flex;
	gap: 8px;
}

.sfh-hero__dot {
	width: 11px;
	height: 11px;
	padding: 0;
	border: 1.5px solid color-mix(in srgb, var(--sf-ink) 45%, transparent);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.sfh-hero__dot[aria-current="true"] {
	background: var(--sf-ink);
	border-color: var(--sf-ink);
}

.sfh-hero__btns {
	display: flex;
	gap: 8px;
}

/* Play/Pause: im Laufzustand Pause-Glyph, pausiert Play-Glyph */
.sfh-nav__btn .sfh-ico-play {
	display: none;
}

.sfh-nav__btn.is-paused .sfh-ico-play {
	display: block;
}

.sfh-nav__btn.is-paused .sfh-ico-pause {
	display: none;
}

/* --- 17.2 Tagline-Band ------------------------------------------------ */

.sfh-tagline {
	background: var(--sf-surface);
	text-align: center;
	padding: clamp(36px, 5vw, 56px) 0;
}

.sfh-tagline__title {
	margin: 0;
	font-family: var(--sf-font-heading);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800;
	color: var(--sf-ink);
}

.sfh-tagline__sub {
	margin: 10px 0 0;
	font-size: 15px;
	color: var(--sf-muted);
}

/* --- 17.3 Kategorie-Mosaik -------------------------------------------- */

.sfh-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--sfh-gap);
}

.sfh-cat {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-card);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sfh-cat:hover {
	transform: translateY(-2px);
	box-shadow: var(--sf-shadow-sm);
}

.sfh-cat--lg {
	grid-column: span 2;
	grid-row: span 2;
}

.sfh-cat__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
}

.sfh-cat--lg .sfh-cat__media {
	aspect-ratio: auto;
	flex: 1;
	min-height: 220px;
}

.sfh-cat__media img,
.sfh-cat__media .sfh-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 9%;
}

.sfh-cat__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px 14px;
	border-top: 1px solid var(--sf-line);
}

.sfh-cat__name {
	font-weight: 600;
	font-size: 15px;
	color: var(--sf-ink);
}

.sfh-cat__count {
	font-size: 13px;
	color: var(--sf-muted);
}

/* --- 17.4 Produkt-Karussells ------------------------------------------ */

.sfh-carousel {
	display: flex;
	gap: var(--sfh-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 2px; /* Karten-Border/Schatten nicht abschneiden */
}

.sfh-carousel::-webkit-scrollbar {
	display: none;
}

.sfh-carousel > * {
	scroll-snap-align: start;
}

/* 4 Karten je Ansicht auf Desktop; Mood-Kachel zählt wie eine Karte */
.sfh-card,
.sfh-mood {
	flex: 0 0 calc((100% - 3 * var(--sfh-gap) - 4px) / 4);
}

.sfh-mood {
	position: relative;
	border-radius: var(--sf-radius-card);
	overflow: hidden;
	background: var(--sf-cream);
}

.sfh-mood img,
.sfh-mood .sfh-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sfh-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sf-line);
	border-radius: var(--sf-radius-card);
	overflow: hidden;
}

.sfh-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: #fff;
}

.sfh-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 7%;
}

.sfh-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sf-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.sfh-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 10px 14px 16px;
	border-top: 1px solid var(--sf-line);
}

.sfh-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sf-ink);
	text-decoration: none;
}

.sfh-card__title:hover {
	color: var(--sf-ink);
	text-decoration: underline;
}

.sfh-stars {
	position: relative;
	display: inline-block;
	align-self: flex-start;
	font-size: 13px;
	letter-spacing: 2px;
	line-height: 1;
	color: var(--sf-line-strong);
}

.sfh-stars__fill {
	position: absolute;
	inset: 0 auto auto 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--sf-gold);
}

.sfh-card__price {
	font-size: 16px;
	font-weight: 700;
	color: var(--sf-ink);
}

.sfh-card__price del {
	margin-right: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--sf-muted);
}

.sfh-card__price ins {
	text-decoration: none;
}

.sfh-card__btn,
.sfh .sfh-card__btn.button {
	margin-top: auto;
	padding: 11px 12px;
	border: 1.5px solid var(--sf-ink);
	border-radius: var(--sf-btn-radius);
	background: transparent;
	color: var(--sf-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.sfh-card__btn:hover,
.sfh .sfh-card__btn.button:hover {
	background: var(--sf-btn-bg);
	color: var(--sf-btn-color);
}

.sfh .sfh-card__btn.loading {
	opacity: 0.6;
	cursor: wait;
}

/* WCs "Vis kurv"-Link nach dem AJAX-Add dezent unter dem Button */
.sfh-card__body .added_to_cart {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--sf-green);
	text-decoration: none;
}

/* --- 17.5 Newsletter-Karte (reines Mockup) ----------------------------- */

.sfh-news {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(20px, 3vw, 36px);
	align-items: center;
	padding: clamp(26px, 4vw, 44px);
	border-radius: var(--sf-radius-lg);
	background: var(--sf-ink);
	color: #fff;
}

.sfh-news__badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--sf-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sfh-news__title {
	margin: 12px 0 8px;
	font-family: var(--sf-font-heading);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 800;
	color: #fff;
}

.sfh-news__sub {
	margin: 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.72);
}

.sfh-news__action {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sfh-news__field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 200px;
	height: 52px;
	padding: 0 8px 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
}

.sfh-news__field svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	opacity: 0.7;
}

.sfh-news__field input {
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: var(--sf-font-body);
	font-size: 14.5px;
}

.sfh-news__field input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.sfh-news__field input:focus {
	outline: none;
}

.sfh-news__field:focus-within {
	border-color: rgba(255, 255, 255, 0.5);
}

.sfh-news__btn {
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--sf-accent);
	color: #fff;
	font-family: var(--sf-font-body);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.sfh-news__btn:hover {
	filter: brightness(0.94);
}

.sfh-news__note {
	margin: 2px 0 0;
	width: 100%;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.55);
}

/* --- 17.6 Inspirationskarten ------------------------------------------ */

.sfh-inspo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--sfh-gap);
}

.sfh-inspo__card {
	display: block;
	text-decoration: none;
}

.sfh-inspo__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--sf-radius-card);
	overflow: hidden;
	background: var(--sf-cream);
}

.sfh-inspo__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.sfh-inspo__card:hover .sfh-inspo__media img {
	transform: scale(1.03);
}

.sfh-inspo__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 4px 0;
	color: var(--sf-ink);
}

.sfh-inspo__title {
	font-size: 15px;
	font-weight: 600;
}

.sfh-inspo__row svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

/* --- 17.7 Abstände + Breakpoints --------------------------------------- */

.sfh-sec--cats {
	padding-top: 44px;
}

.sfh-sec--inspo {
	padding-bottom: 64px;
}

/* Tablet: 3 Karten je Ansicht */
@media (max-width: 1023.98px) {
	.sfh-card,
	.sfh-mood {
		flex-basis: calc((100% - 2 * var(--sfh-gap) - 4px) / 3);
	}
}

@media (max-width: 767.98px) {
	.sfh-slide__inner {
		grid-template-columns: 1fr;
		padding-top: 36px;
	}

	.sfh-slide__media {
		order: 2;
	}

	.sfh-news {
		grid-template-columns: 1fr;
	}
}

/* Mobil: 2 Karten je Ansicht, Kategorie-Mosaik 2-spaltig */
@media (max-width: 689.98px) {
	.sfh-card,
	.sfh-mood {
		flex-basis: calc((100% - var(--sfh-gap) - 4px) / 2);
	}

	.sfh-cats {
		grid-template-columns: 1fr 1fr;
	}

	.sfh-cat--lg {
		grid-column: span 2;
		grid-row: auto;
	}

	.sfh-cat--lg .sfh-cat__media {
		aspect-ratio: 16 / 10;
		flex: none;
	}

	.sfh-sec__title {
		font-size: 20px;
	}

	.sfh-card__btn,
	.sfh .sfh-card__btn.button {
		font-size: 13px;
		padding: 10px 8px;
	}
}
