/*
 * SG Shop – Komponenten für Warenkorb, Drawer und Kasse.
 * Design-Tokens: von der Live-Seite übernommen; Text-Grün abgedunkelt für WCAG AA (≥ 4,5 : 1 auf Creme).
 * Alle Klassen mit Präfix sg-.
 */
:root {
	--sg-color-text: #2b2619;        /* paper-900 */
	--sg-color-text-muted: #6b634c;  /* paper-600 */
	--sg-color-primary: #265c40;      /* tanne */
	--sg-color-primary-text: #265c40; /* tanne, 7,1 : 1 auf Papier */
	--sg-color-primary-soft: #eae9d7; /* tanne-softer */
	--sg-color-track: #e6dcc2;        /* paper-200 */
	--sg-color-border: #e6dcc2;       /* paper-200 */
	--sg-color-surface: #f1e9d3;      /* paper-100 */
	--sg-color-card: #fdfbf4;         /* paper-0 */
	--sg-color-warn: #8a5a12;
	--sg-radius: 999px;
	--sg-space-1: 4px;
	--sg-space-2: 8px;
	--sg-space-3: 12px;
	--sg-space-4: 16px;
	--sg-space-5: 24px;
	/* Schriftgrößen = Styleguide-Tokens (Skala B). Nur diese verwenden.
	   small 16 · ui 17 (nur Bedienelemente) · body 18–20 · total 22 */
	--sg-fs-small: 1rem;
	--sg-fs-ui: 1.0625rem;
	--sg-fs-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	--sg-fs-total: 1.375rem;
	--sg-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Screenreader-Text */
.sg-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.sg-summary dd,
.sg-deposit-badge,
.sg-row-note,
.sg-fill__price {
	font-variant-numeric: tabular-nums lining-nums;
}

.sg-icon {
	width: 1em;
	height: 1em;
	flex: none;
	vertical-align: -0.12em;
}

/* ------------------------------------------------------------------ */
/* Lieferleiste „Wir radeln los": Strecke, Lastenrad, Etappenziele      */
/* Handgezeichnet wie die Stiche von Schnelles Grünzeug – Manufaktur    */
/* ------------------------------------------------------------------ */
.sg-progress {
	/* Farben laut Styleguide (06.10.: Tanne + Papier-Skala): Text paper-900, Spur paper-300, Füllung tanne, Kreis paper-500 (3,6 : 1) */
	--sg-ink: #2b2619;
	--sg-ride-fill: #265c40;          /* tanne = success: Strecke + erreichte Ziele */
	--sg-ride-track: #d5caae;         /* paper-300: noch offene Strecke */
	--sg-ride-ring: #898065;          /* paper-500: offene Kreise */
	--sg-ride-paper: #faf4e4;
	--sg-bike-w: 76px;
	--sg-ms: 24px;                    /* Kreis-Durchmesser; Radius = Abstand Vorderrad → Ziel */
	--sg-ride-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
	--sg-ride-dur: 0.7s;
	container: sg-progress / inline-size;
	display: grid;
	gap: 4px;
	margin: 0;
	color: var(--sg-color-text);
	line-height: 1.3;
	font-style: normal;
}
/* Satz: immer mittig, in jedem Kontext (Drawer-Theme setzt sonst linksbündig) */
.sg-progress .sg-progress__intro {
	margin: 0 0 2px !important;
	padding: 0 !important;
	text-align: center !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text);
	text-wrap: balance;
}
.sg-progress__intro .sg-amount {
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums lining-nums;
}
.sg-progress__intro .sg-free {
	font-weight: 700;
}

.sg-ride__road {
	position: relative;
	height: calc(var(--sg-bike-w) * 0.6667 + var(--sg-ms) / 2 + 2px);
	margin-right: calc(var(--sg-ms) / 2);   /* letzter Kreis endet bündig rechts */
	container-type: inline-size;
}
.sg-ride__track,
.sg-ride__fill-svg {
	position: absolute;
	left: 0;
	bottom: calc(var(--sg-ms) / 2 - 5px);
	display: block;
	width: calc(100cqw + var(--sg-ms) / 2);
	height: 10px;
	overflow: visible;
}
.sg-ride__track path {
	fill: var(--sg-ride-track);
}
.sg-ride__fill {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	overflow: hidden;
	transition: width var(--sg-ride-dur) var(--sg-ride-ease);
}
.sg-ride__fill-svg path {
	fill: var(--sg-ride-fill);
}
/* Lastenrad: rechte Kante = Ende der grünen Strecke */
.sg-ride__bike {
	position: absolute;
	bottom: calc(var(--sg-ms) / 2);
	z-index: 1;
	display: block;
	width: var(--sg-bike-w);
	color: var(--sg-ink);
	line-height: 0;
	transform: translateX(-100%);
	transition: left var(--sg-ride-dur) var(--sg-ride-ease);
}
.sg-ride__bike svg {
	display: block;
	width: 100%;
	height: auto;
}
.sg-ride__bike .sg-ride__light {
	stroke: var(--sg-ride-paper);
}
/* Etappenziele */
.sg-ride__ms {
	position: absolute;
	bottom: 0;
	z-index: 2;
	width: var(--sg-ms);
	height: var(--sg-ms);
	transform: translateX(-50%);
	line-height: 0;
}
.sg-ride__ms svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.sg-ride__ring {
	fill: var(--sg-ride-paper);
	stroke: var(--sg-ride-ring);
	stroke-width: 1.6;
	stroke-linecap: round;
	transition: fill 0.3s ease 0.15s, stroke 0.3s ease 0.15s;
}
.sg-ride__tick {
	fill: none;
	stroke: #faf4e4;
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 0.35s ease 0.35s;
}
.sg-ride__ms.is-done .sg-ride__ring {
	fill: var(--sg-ride-fill);
	stroke: #174b31;
}
.sg-ride__ms.is-done .sg-ride__tick {
	stroke-dashoffset: 0;
}

/* Ziele: rechtsbündig unter dem jeweiligen Kreis, Betrag nie vom €-Zeichen getrennt */
.sg-ride__labels {
	display: grid;
	grid-template-columns: var(--sg-split, 60%) minmax(0, 1fr);
	margin: 4px calc(var(--sg-ms) / 2) 0 0;
	font-size: var(--sg-fs-small);
	line-height: 1.25;
	color: var(--sg-color-text-muted);
}
.sg-progress.is-single .sg-ride__labels {
	grid-template-columns: minmax(0, 1fr);
}
.sg-ride__label {
	justify-self: end;
	margin-right: calc(var(--sg-ms) / -2);
	padding-left: 8px;
	text-align: right;
	white-space: nowrap;
	transition: color 0.3s ease;
}
.sg-ride__label b {
	font-weight: 600;
	color: var(--sg-color-text);
	font-variant-numeric: tabular-nums lining-nums;
	white-space: nowrap;
}
.sg-ride__label.is-done,
.sg-ride__label.is-done b {
	color: var(--sg-color-primary-text);
}
/* Schmale Spalten (Drawer, Kasse): Betrag über der Bezeichnung */
@container sg-progress (max-width: 460px) {
	.sg-progress { --sg-bike-w: 64px; --sg-ms: 22px; }
	.sg-ride__label > b,
	.sg-ride__label > span { display: block; }
}

/* Kontexte */
.sg-progress--drawer {
	margin: 0 0 var(--sg-space-4);
}
.nectar-slide-in-cart .header {
	border-bottom: 0 !important;
}
.sg-progress--cart {
	width: 100%;
	max-width: 560px;
	margin: 0 auto var(--sg-space-5);
}
.sg-progress--checkout {
	margin: 0 0 var(--sg-space-4);
}
/* Kasse: Summen wie im Warenkorb – Text links, Betrag rechts */
.sg-review th {
	text-align: left !important;
	vertical-align: top;
}
.sg-review td {
	text-align: right !important;
	vertical-align: top;
}
.woocommerce-checkout-review-order-table .sg-progress-row td,
.woocommerce table.shop_table .sg-progress-row td {
	padding: var(--sg-space-1) 0 var(--sg-space-3) !important;
	border: 0 !important;
}

/* Währungszeichen: schmales Leerzeichen (U+202F) ist in EB Garamond sehr eng; etwas Luft dazu */
.woocommerce-Price-currencySymbol {
	margin-left: 0.06em;
}

/* Warenkorb-Seite: Überschrift mit Status */
.sg-cart-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: var(--sg-space-2) var(--sg-space-3);
	margin: 0 0 var(--sg-space-4);
	text-align: center;
}
.sg-cart-head__title {
	margin: 0 !important;
}
/* Bestätigung als Toast (Styleguide-Komponente Toast): Papierfläche, Rand, Radius 8, Schatten,
   Icon in Tanne, Text in foreground. Unten rechts, mobil unten mittig. */
.sg-toast {
	position: fixed;
	right: 24px;
	bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
	z-index: 100000;
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: min(384px, calc(100vw - 32px));
	margin: 0;
	padding: 12px 8px 12px 16px;
	border: 1px solid #e6dcc2;            /* border = paper-200 */
	border-radius: 8px;                   /* radius-lg */
	background: #fdfbf4;                  /* popover = paper-0 */
	color: #2b2619;                       /* popover-foreground */
	box-shadow: 0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a; /* shadow-lg */
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.9s ease, transform 0.9s ease;
	pointer-events: none;
}
.sg-toast:empty {
	display: none;
}
.sg-toast.is-shown {
	opacity: 1;
	transform: none;
	transition: opacity 0.25s ease, transform 0.25s var(--sg-ease);
	pointer-events: auto;
}
.sg-toast .sg-toast__icon {
	width: 20px;
	height: 20px;
	color: #265c40;                       /* success = tanne */
}
.sg-toast .sg-toast__title {
	margin: 0 !important;
	padding: 0 !important;
	color: #2b2619 !important;
	font-size: var(--sg-fs-ui) !important;      /* Toast-Titel: ui, 600 wie Styleguide */
	font-weight: 600 !important;
	line-height: 1.35 !important;
}
.sg-toast .sg-toast__close {
	display: grid !important;
	place-items: center;
	width: 36px !important;
	min-width: 0 !important;
	height: 36px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	color: #6b634c !important;
	box-shadow: none !important;
	cursor: pointer;
}
.sg-toast .sg-toast__close:hover {
	background: #f1e9d3 !important;       /* muted */
	color: #2b2619 !important;
}
.sg-toast .sg-toast__close:focus-visible {
	outline: 2px solid #265c40 !important;
	outline-offset: 2px !important;
}
.sg-toast .sg-toast__close svg {
	width: 18px;
	height: 18px;
}
@media (max-width: 689px) {
	.sg-toast {
		right: auto;
		left: 50%;
		transform: translate(-50%, 8px);
	}
	.sg-toast.is-shown {
		transform: translate(-50%, 0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.sg-toast,
	.sg-toast.is-shown {
		transition: opacity 0.2s linear;
		transform: none;
	}
	@media (max-width: 689px) {
		.sg-toast,
		.sg-toast.is-shown {
			transform: translateX(-50%);
		}
	}
}

/* ------------------------------------------------------------------ */
/* Warenkorb-Drawer (Salient „Slide-in Cart")                           */
/* Hauptdarsteller sind die Produkte: Fußbereich kompakt, wenige        */
/* Textgrößen (16 px Zeilen, 17 px Namen/Buttons, 18 px Gesamt).         */
/* ------------------------------------------------------------------ */
body .nectar-slide-in-cart.nectar-slide-in-cart .widget_shopping_cart_content {
	padding: 24px 32px 24px !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .sg-progress--drawer {
	margin: 0 0 12px;
}
/* Produktliste: bekommt den Platz, mindestens gut ein Produkt sichtbar (auch auf niedrigen Bildschirmen) */
body .nectar-slide-in-cart.nectar-slide-in-cart ul.cart_list {
	min-height: 168px;
	border-top: 1px solid var(--sg-color-border);
	border-bottom: 1px solid var(--sg-color-border);
}
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item {
	min-height: 0 !important;
	padding: 12px 0 !important;
	border-color: var(--sg-color-border) !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item img {
	width: 64px !important;
	height: 64px !important;
	object-fit: contain;
}
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item .product-details a {
	font-size: var(--sg-fs-body) !important;     /* Produktname: body, kursiv halbfett */
	line-height: 1.25 !important;
	font-weight: 600 !important;
	font-style: italic !important;
	color: #1a160b !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item .product-price,
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item .product-price .amount,
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item .product-price .woocommerce-Price-currencySymbol {
	font-size: var(--sg-fs-body) !important;     /* Produktpreis: body – wie Warenkorb und Kasse */
	line-height: 1.25 !important;
	color: var(--sg-color-text) !important;
	font-variant-numeric: tabular-nums lining-nums;
}
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item a.remove {
	margin-top: 4px !important;
	font-family: inherit !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.3 !important;
	color: var(--sg-color-text-muted) !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
body .nectar-slide-in-cart.nectar-slide-in-cart li.mini_cart_item a.remove:hover {
	color: var(--sg-color-text) !important;
}

/* Summen: Zwischensumme (WooCommerce), Pfand/Lieferung/Gesamt (SG Shop), inkl. MwSt. (Germanized) – eine Optik */
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__total,
body .nectar-slide-in-cart.nectar-slide-in-cart .wc-gzd-total-mini-cart {
	display: flex !important;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin: 0 !important;
	padding: 2px 0 !important;
	border: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	color: var(--sg-color-text);
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__total {
	padding-top: 12px !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__total strong {
	font-weight: 400 !important;
	font-size: inherit !important;
	letter-spacing: 0 !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__total .amount,
body .nectar-slide-in-cart.nectar-slide-in-cart .wc-gzd-total-mini-cart .amount {
	font-size: inherit !important;
	letter-spacing: 0 !important;
	font-variant-numeric: tabular-nums lining-nums;
}
/* inkl. MwSt.: Pflichtangabe, klein und gedämpft direkt unter Gesamt */
body .nectar-slide-in-cart.nectar-slide-in-cart .total-cart-tax {
	padding-top: 0 !important;
	font-size: var(--sg-fs-small) !important;
	color: var(--sg-color-text-muted) !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .total-cart-tax .amount {
	color: inherit !important;
}

/* Buttons: nebeneinander, gleich hoch; Umriss links, Hauptaktion rechts */
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 16px 0 0 !important;
	padding: 0 !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons::before,
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons::after {
	content: none !important;      /* Clearfix von WooCommerce würde im Raster eine leere Zelle belegen */
	display: none !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	float: none !important;
	white-space: nowrap;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons [hidden] {
	display: none !important;
}
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons .sg-min-reason {
	grid-column: 1 / -1;
	margin: 0 !important;
	text-align: center;
	font-size: var(--sg-fs-small);
	line-height: 1.4;
	color: var(--sg-color-text-muted);
}
/* Mengenwahl im Drawer: Bedienelement → ui */
body .nectar-slide-in-cart.nectar-slide-in-cart .quantity input.qty,
body .nectar-slide-in-cart.nectar-slide-in-cart .quantity .plus,
body .nectar-slide-in-cart.nectar-slide-in-cart .quantity .minus {
	font-size: var(--sg-fs-ui) !important;
}
@media (max-width: 420px) {
	body .nectar-slide-in-cart.nectar-slide-in-cart .widget_shopping_cart_content {
		padding: 16px !important;
	}
	body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons {
		grid-template-columns: 1fr;
	}
	body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__buttons .button.checkout {
		order: -1;
	}
}

/* ------------------------------------------------------------------ */
/* Übersicht im Mini-Warenkorb                                          */
/* ------------------------------------------------------------------ */
.sg-summary {
	margin: 0;
	padding: 0;
	font-size: var(--sg-fs-small);
	line-height: 1.4;
}
.sg-summary dt,
.sg-summary summary {
	font-weight: 400;
}
.sg-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--sg-space-4);
	padding: 2px 0;
}
.sg-summary dt,
.sg-summary dd {
	margin: 0;
	font-style: normal;
}
.sg-summary dd {
	text-align: right;
	white-space: nowrap;
}
.sg-summary__row--total dt {
	font-weight: inherit;
}
.sg-summary__row--total {
	margin-top: var(--sg-space-2);
	padding-top: var(--sg-space-2);
	border-top: 1px solid var(--sg-color-border);
	font-size: var(--sg-fs-total);
	font-weight: 700;
	color: #1a160b;
}
.sg-summary__details summary {
	cursor: pointer;
	list-style: none;
}
.sg-summary__details summary::-webkit-details-marker {
	display: none;
}
.sg-summary__details summary::after,
.sg-calc summary::after,
.sg-fill summary::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: var(--sg-space-2);
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s ease;
}
.sg-summary__details[open] summary::after,
.sg-calc[open] summary::after,
.sg-fill[open] summary::after {
	transform: translateY(0) rotate(-135deg);
}
.sg-summary__details summary:focus-visible,
.sg-calc summary:focus-visible,
.sg-fill summary:focus-visible,
.sg-fill__item:focus-visible {
	outline: 2px solid var(--sg-color-primary-text);
	outline-offset: 2px;
}
.sg-summary__note {
	display: block;
	margin-top: var(--sg-space-1);
	font-size: var(--sg-fs-small);
	color: var(--sg-color-text-muted);
}

/* Kostenlos: durchgestrichene Gebühr (gedämpft) + 0,00 € – gleiche Größe und Schnitt wie alle anderen Beträge
   der Zeile (Styleguide: Preise immer paper-900). Gilt in Drawer, Warenkorb und Kasse. */
.sg-summary .sg-free,
.sg-summary .sg-was,
.shop_table .sg-free,
.shop_table .sg-was,
.sg-review .sg-free,
.sg-review .sg-was,
.sg-summary .sg-free .amount,
.sg-summary .sg-was .amount,
.shop_table .sg-free .amount,
.shop_table .sg-was .amount,
.sg-review .sg-free .amount,
.sg-review .sg-was .amount {
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}
.sg-summary .sg-free,
.shop_table .sg-free,
.sg-review .sg-free,
.sg-summary .sg-free .amount,
.shop_table .sg-free .amount,
.sg-review .sg-free .amount {
	color: inherit !important;
}
.sg-was,
.sg-was .amount,
.shop_table .sg-was .amount {
	color: var(--sg-color-text-muted) !important;
}
.sg-was {
	margin-right: 0.3em;
	color: var(--sg-color-text-muted);
	text-decoration-thickness: 1px;
}

/* ------------------------------------------------------------------ */
/* Warenkorb-Summe + Pfandkisten-Section                                */
/* ------------------------------------------------------------------ */
.cart-collaterals .cart_totals.sg-totals {
	float: none !important;
	width: 100% !important;
}
.sg-totals__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}
.sg-totals__grid > .sg-totals__main {
	width: 100%;
	max-width: 560px;
	margin-left: auto;
}
.sg-totals__grid.has-crate {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
}
@media (max-width: 900px) {
	.sg-totals__grid.has-crate {
		grid-template-columns: minmax(0, 1fr);
	}
	/* Pfandkiste bleibt vor der Summe (DOM-Reihenfolge): erst Kiste prüfen/auffüllen, dann Summe und „Zur Kasse“ (Georg 08.10.) */
	.sg-totals__grid > .sg-totals__main {
		max-width: none;
	}
}
.sg-totals .shop_table {
	width: 100%;
	table-layout: auto;
}
.sg-totals .shop_table th {
	width: auto !important;
	text-align: left !important;
	white-space: nowrap;
	vertical-align: top;
}
.sg-totals .shop_table td {
	text-align: right !important;
	white-space: nowrap;
	vertical-align: top;
}
.sg-totals .shop_table td .woocommerce-shipping-methods,
.sg-totals .shop_table td .woocommerce-shipping-destination,
.sg-totals .shop_table td .woocommerce-shipping-calculator {
	white-space: normal;
	text-align: right;
}
.sg-row-note {
	display: inline;
	margin-left: 0.25em;
	font-size: var(--sg-fs-small);
	font-weight: 400;
	white-space: nowrap;
	color: var(--sg-color-text-muted);
}

/* Pfandkisten-Section */
.sg-crate-section {
	display: grid;
	gap: var(--sg-space-3);
	justify-items: start;
}
.sg-crate-section__head h2 {
	margin: 0 !important;
}
.sg-crate-section__meta {
	margin: 2px 0 0 !important;
	padding: 0 !important;
	color: var(--sg-color-text-muted);
	font-size: var(--sg-fs-small) !important;
}
.sg-crates__boxes {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sg-space-4);
}
.sg-crate {
	display: grid;
	grid-template-columns: repeat(var(--sg-cols, 3), 76px);
	grid-auto-rows: 92px;
	gap: 6px;
	padding: 8px;
	border: 3px solid #6f665a;
	border-radius: 6px;
	background: #e9e0cd;
	box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.04);
}
@media (max-width: 420px) {
	.sg-crate {
		grid-template-columns: repeat(var(--sg-cols, 3), 64px);
		grid-auto-rows: 78px;
	}
}
.sg-slot {
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 4px;
	line-height: 1;
}
.sg-slot.is-full {
	background: var(--sg-color-card);
}
.sg-slot.is-full img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
}
.sg-slot.is-empty {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 1.5px dashed #b9ae99;
	background: transparent;
	color: var(--sg-color-primary-text);
	font: inherit;
	font-size: 22px;
	box-shadow: none;
}
button.sg-slot.is-empty {
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
button.sg-slot.is-empty:hover,
button.sg-slot.is-empty:focus-visible {
	border-style: solid;
	border-color: var(--sg-color-primary-text);
	background: var(--sg-color-primary-soft);
	outline: none;
}
.sg-crates__msg {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--sg-color-text-muted);
}

/* Auswahl-Dialog */
.sg-picker {
	width: min(560px, calc(100vw - 32px));
	max-height: min(760px, calc(100vh - 48px));
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--sg-color-card);
	color: var(--sg-color-text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.sg-picker::backdrop {
	background: rgba(29, 29, 27, 0.45);
}
.sg-picker__form {
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	max-height: inherit;
	margin: 0;
}
.sg-picker__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sg-space-3);
	padding: var(--sg-space-4) var(--sg-space-5) 0;
}
.sg-picker__head h3 {
	margin: 0 !important;
}
.sg-picker__close {
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--sg-color-surface) !important;
	color: var(--sg-color-text) !important;
	font-size: 22px !important;
	line-height: 1 !important;
	cursor: pointer;
}
.sg-picker__hint {
	margin: 0 !important;
	padding: var(--sg-space-2) var(--sg-space-5) var(--sg-space-3) !important;
	color: var(--sg-color-text-muted);
	font-size: var(--sg-fs-small) !important;
}
.sg-picker__list {
	overflow-y: auto;
	padding: 0 var(--sg-space-5);
	border-top: 1px solid var(--sg-color-border);
	border-bottom: 1px solid var(--sg-color-border);
	overscroll-behavior: contain;
}
.sg-picker__group {
	margin: 0;
	padding: var(--sg-space-3) 0 0;
	border: 0;
}
.sg-picker__group legend {
	padding: 0;
	font-size: var(--sg-fs-small);
	font-weight: 600;
	color: var(--sg-color-text-muted);
}
.sg-picker__group ul {
	margin: var(--sg-space-1) 0 var(--sg-space-2) !important;
	padding: 0 !important;
	list-style: none !important;
}
.sg-picker__group li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-bottom: 1px solid var(--sg-color-border);
}
.sg-picker__group li:last-child {
	border-bottom: 0;
}
.sg-picker__group li::before,
.sg-picker__group li::marker {
	content: none;
}
.sg-picker__group input[type="checkbox"] {
	position: absolute;
	top: 50%;
	right: 0;
	width: 22px;
	height: 22px;
	margin: -11px 0 0;
	accent-color: #265c40;
	cursor: pointer;
}
.sg-picker__group label {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--sg-space-3);
	margin: 0 !important;
	padding: var(--sg-space-2) 36px var(--sg-space-2) 0;
	cursor: pointer;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.3 !important;
}
.sg-picker__img {
	display: block;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--sg-color-surface);
}
.sg-picker__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.sg-picker__text {
	display: grid;
	min-width: 0;
}
.sg-picker__name {
	font-weight: 600;
}
.sg-picker__size {
	font-size: inherit;
	color: var(--sg-color-text-muted);
}
.sg-picker__price {
	white-space: nowrap;
	font-variant-numeric: tabular-nums lining-nums;
}
.sg-picker__group input:checked + label {
	color: var(--sg-color-primary-text);
}
.sg-picker__group input:focus-visible + label {
	outline: 2px solid var(--sg-color-primary-text);
	outline-offset: 2px;
}
.sg-picker__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sg-space-3);
	padding: var(--sg-space-3) var(--sg-space-5) var(--sg-space-4);
}
.sg-picker__count {
	color: var(--sg-color-text-muted);
	font-size: var(--sg-fs-small);
}
.sg-picker__foot .button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Warenkorb-Seite aktualisiert sich nach Mengenänderungen selbst → Button „Warenkorb aktualisieren" überflüssig
   (ohne JavaScript bleibt er sichtbar). Zeile mit Menge 0 wird bis zur Antwort blass. */
body.sg-cart-auto .woocommerce-cart-form button[name="update_cart"] {
	display: none !important;
}
.woocommerce-cart-form tr.cart_item.sg-row-removing {
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

/* Rechenweg: Titel wie ein UI-Text (halbfett), Erklärung klein und gedämpft – Hierarchie Titel > Text */
.sg-calc {
	margin: var(--sg-space-3) 0 var(--sg-space-4);
}
.sg-calc summary {
	width: fit-content;
	cursor: pointer;
	color: var(--sg-color-primary-text);
	font-size: var(--sg-fs-ui) !important;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
}
.sg-calc summary::-webkit-details-marker {
	display: none;
}
.sg-calc__body {
	display: grid;
	gap: var(--sg-space-2);
	max-width: 34em;
	padding-top: var(--sg-space-2);
	color: var(--sg-color-text-muted);
}
.sg-calc__body p {
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.5 !important;
	color: var(--sg-color-text-muted) !important;
}

/* Kassen-Button im Warenkorb: das Theme setzt 25 px Innenabstand → 70 px hoch. Auf Standardhöhe (48 px) bringen. */
body .cart-collaterals .sg-totals .wc-proceed-to-checkout a.checkout-button {
	min-height: 48px;
	margin: 0 !important;
	padding: 12px 24px !important;
	font-size: var(--sg-fs-ui) !important;
	line-height: 1.4 !important;
}

/* Lieferzeile (informativ) */
.sg-delivery-row td .sg-was {
	margin-right: 6px;
}

/* ------------------------------------------------------------------ */
/* Kasse: Zahlungsarten, Rechtstext-Checkbox, Bestell-Button            */
/* Das Theme gibt jeder Zeile 34–40 px Zeilenhöhe bei 16–20 px Schrift  */
/* (deshalb die großen Lücken) und dem Button 25 px Innenabstand.        */
/* ------------------------------------------------------------------ */
/* Reihenfolge an der Kasse: Zahlungsarten → Rechtstext-Checkbox → „Jetzt kaufen" (Baymard: Zustimmung direkt am Button).
   Germanized setzt die Checkbox im Salient-Layout über die Zahlungsarten und verwaltet sie außerhalb von #payment
   (wird bei jeder Aktualisierung separat ersetzt) – deshalb nur optisch umsortiert, nichts im DOM verschoben. */
body.woocommerce-checkout #order_review {
	display: flex;
	flex-direction: column;
}
body.woocommerce-checkout #order_review > #payment {
	display: contents;
}
body.woocommerce-checkout #order_review > * {
	order: 6;
}
body.woocommerce-checkout #order_review > .shop_table {
	order: 0;
}
body.woocommerce-checkout #order_review > .sg-coupon {
	order: 1;
}
body.woocommerce-checkout #order_review > #payment > ul.payment_methods {
	order: 2;
}
body.woocommerce-checkout #order_review > .ppcp-messages {
	order: 3;
	margin: 12px 0 0;
}
body.woocommerce-checkout #order_review > .wc-gzd-checkbox-placeholder {
	order: 4;
}
body.woocommerce-checkout #order_review > .wc-gzd-checkbox-placeholder-legal {
	margin-top: 16px;
}
body.woocommerce-checkout #order_review > #payment > .place-order {
	order: 5;
}

body.woocommerce-checkout #payment ul.payment_methods {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	line-height: 1.4 !important;
}
body.woocommerce-checkout #payment ul.payment_methods > li {
	margin: 0 !important;
	padding: 12px 0 !important;
	border-bottom: 1px solid var(--sg-color-border);
	font-size: var(--sg-fs-ui) !important;
	line-height: 1.4 !important;
	list-style: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods > li:last-child {
	border-bottom: 0;
}
body.woocommerce-checkout #payment ul.payment_methods > li > input.input-radio {
	width: 20px;
	height: 20px;
	margin: 0 10px 0 0 !important;
	vertical-align: -4px;
	accent-color: #265c40;
}
body.woocommerce-checkout #payment ul.payment_methods > li > label {
	display: inline !important;
	margin: 0 !important;
	font-size: var(--sg-fs-ui) !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text) !important;
	cursor: pointer;
}
body.woocommerce-checkout #payment ul.payment_methods > li > label img {
	max-height: 24px;
	margin: 0 0 0 8px !important;
	vertical-align: middle;
}
/* Details einer Zahlungsart: eingerückt unter der Bezeichnung, klein und ruhig */
body.woocommerce-checkout #payment div.payment_box {
	margin: 8px 0 0 30px !important;
	padding: 0 !important;
	background: none !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.45 !important;
	color: #403a2a !important;               /* paper-800 */
}
body.woocommerce-checkout #payment div.payment_box::before {
	display: none !important;               /* Sprechblasen-Pfeil des Themes */
}
body.woocommerce-checkout #payment div.payment_box p,
body.woocommerce-checkout #payment div.payment_box label,
body.woocommerce-checkout #payment div.payment_box fieldset {
	margin: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	line-height: inherit !important;
}
body.woocommerce-checkout #payment div.payment_box p + p {
	margin-top: 8px !important;
}
body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin-top: 12px !important;
}
body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0 !important;
	accent-color: #265c40;
}
/* Rechtstext-Checkbox (Germanized): normaler Text, Links in Tanne, Kästchen auf der ersten Zeile */
body.woocommerce-checkout .checkbox-legal,
body.woocommerce-checkout .wc-gzd-checkbox-placeholder p.form-row {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.45 !important;
}
body.woocommerce-checkout .checkbox-legal label,
body.woocommerce-checkout .wc-gzd-checkbox-placeholder p.form-row label {
	position: relative;
	display: block !important;
	margin: 0 !important;
	padding-left: 28px !important;           /* Kästchen links, Text samt * fließt daneben */
	font-size: inherit !important;
	line-height: inherit !important;
	color: var(--sg-color-text) !important;
}
body.woocommerce-checkout .checkbox-legal input[type="checkbox"],
body.woocommerce-checkout .wc-gzd-checkbox-placeholder p.form-row input[type="checkbox"] {
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	margin: 0 !important;
	accent-color: #265c40;
}
body.woocommerce-checkout .checkbox-legal a,
body.woocommerce-checkout .wc-gzd-checkbox-placeholder a {
	color: #265c40 !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
body.woocommerce-checkout .checkbox-legal .required,
body.woocommerce-checkout .checkbox-legal .woocommerce-gzd-legal-checkbox-text,
body.woocommerce-checkout .wc-gzd-checkbox-placeholder label > span {
	color: inherit !important;               /* Theme färbt den Text in der alten Akzentfarbe */
}
/* Bestell-Button: Standardhöhe 48 px, Tanne (Theme setzt 25 px Innenabstand und altes Grün) */
body.woocommerce-checkout #payment .place-order {
	margin: 0 !important;
	padding: 16px 0 0 !important;
}
body.woocommerce-checkout #order_review #payment #place_order,
body.woocommerce-checkout #payment #place_order {
	width: 100%;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 24px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #265c40 !important;
	color: #faf4e4 !important;
	font-size: var(--sg-fs-ui) !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
}
body.woocommerce-checkout #order_review #payment #place_order:hover:not(:disabled) {
	background: #174b31 !important;
}
body.woocommerce-checkout #order_review #payment #place_order:disabled {
	opacity: 0.5;
}

/* ------------------------------------------------------------------ */
/* Liefergebiet                                                         */
/* ------------------------------------------------------------------ */
.sg-area {
	display: grid;
	gap: var(--sg-space-1);
	padding: var(--sg-space-3) var(--sg-space-4);
	border-left: 3px solid var(--sg-color-warn);
	background: var(--sg-color-surface);
	text-align: left;
	font-size: var(--sg-fs-small);
	line-height: 1.4;
}
.sg-area a {
	color: var(--sg-color-primary-text);
	text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Mindestbestellwert                                                   */
/* ------------------------------------------------------------------ */
/* Gesperrter Kassen-Button: überall dieselbe Hauptaktion (Tanne), nur blass – gleiche Größe wie aktiv */
body .button.sg-button-disabled,
body .button.sg-button-disabled:hover,
body .button.sg-button-disabled:focus {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 24px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #265c40 !important;
	color: #faf4e4 !important;
	font-size: var(--sg-fs-ui) !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	opacity: 0.45 !important;
	cursor: not-allowed;
	box-shadow: none !important;
	transform: none !important;
}
body .sg-min-reason,
body.sg-typo p.sg-min-reason {
	margin: var(--sg-space-2) 0 0 !important;
	padding: 0 !important;
	text-align: center;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text-muted) !important;
}

/* Pfandhinweis an Produkten */
.sg-deposit-badge {
	margin: var(--sg-space-1) 0 0;
	font-size: var(--sg-fs-small);
	font-style: normal;
	color: var(--sg-color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
	.sg-ride__fill,
	.sg-ride__bike,
	.sg-ride__ring,
	.sg-ride__tick,
	.sg-ride__label,
	.sg-summary__details summary::after,
	.sg-calc summary::after,
	.sg-fill summary::after {
		transition: none;
	}
}

/* Absende-Buttons von Suchfeldern bleiben so, wie Theme und WordPress sie vorsehen (unsichtbar, Enter sucht).
   Die Button-Regeln der Typografie-Ebene (input[type=submit]) dürfen sie nicht sichtbar machen:
   – Salient-Suche im Kopf (.search-box__button)
   – Suche in der WordPress-Werkzeugleiste (nur für eingeloggte Admins sichtbar, war der grüne „Suchen"-Button) */
.search-box__button {
	opacity: 0 !important;
	pointer-events: none !important;
}
body #wpadminbar #adminbarsearch .adminbar-button {
	display: none !important;
}

/* Liefergebiet: Hinweis unter dem PLZ-Feld der Kasse */
.sg-area-slot {
	display: block;
}
.sg-area-slot:empty {
	display: none;
}
.sg-area-slot .sg-area {
	display: grid;
	margin-top: var(--sg-space-2);
}
.sg-area-slot .sg-area > span {
	display: block;
}
.sg-area-short {
	color: var(--sg-color-text-muted);
	font-size: var(--sg-fs-small);
}


/* Warenkorb-Summe: Lieferzeile mit Hinweis darf umbrechen und bleibt lesbar */
.sg-totals .shop_table tr.woocommerce-shipping-totals td,
.sg-review tr.woocommerce-shipping-totals td {
	white-space: normal !important;
}
.sg-totals .shop_table tr.woocommerce-shipping-totals td .sg-area,
.sg-review tr.woocommerce-shipping-totals td .sg-area {
	max-width: 30em;
	margin-left: auto;
	text-align: left;
	white-space: normal;
	font-size: var(--sg-fs-small);
}
@media (max-width: 600px) {
	.sg-totals .shop_table tr.woocommerce-shipping-totals td .sg-area {
		max-width: none;
	}
}

/* ------------------------------------------------------------------ */
/* 1.3.7 · Eine Summe für Drawer, Warenkorb und Kasse                   */
/* Gleiche Zeilen, gleiche Größen: Zeilen small (Label und Betrag        */
/* normal, paper-900), Zusatzzeile small gedämpft, Gesamt total fett     */
/* mit Linie darüber, inkl. MwSt. small gedämpft. Keine Streifen, keine  */
/* fetten Labels (Theme und Typo-Ebene setzen beides).                   */
/* ------------------------------------------------------------------ */
body .sg-totals table.shop_table,
body .woocommerce-checkout-review-order-table table.sg-review {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	background: transparent !important;
}
body .sg-totals table.shop_table tr,
body .woocommerce-checkout-review-order-table table.sg-review tr {
	display: table-row !important;
	background: transparent !important;
	border: 0 !important;
}
body .sg-totals table.shop_table th,
body .sg-totals table.shop_table td,
body .woocommerce-checkout-review-order-table table.sg-review th,
body .woocommerce-checkout-review-order-table table.sg-review td {
	display: table-cell !important;
	padding: 4px 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: var(--sg-fs-small) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	color: var(--sg-color-text) !important;
	vertical-align: baseline !important;
}
body .sg-totals table.shop_table td,
body .woocommerce-checkout-review-order-table table.sg-review td {
	padding-left: var(--sg-space-4) !important;
	text-align: right !important;
}
/* Mobil zeigt WooCommerce sonst nur „Label: Betrag" über data-title und blendet die Zusatzzeile aus */
body .sg-totals table.shop_table td::before {
	content: none !important;
	display: none !important;
}
body .sg-totals table.shop_table td .amount,
body .woocommerce-checkout-review-order-table table.sg-review td .amount {
	font-size: inherit !important;
	font-weight: inherit !important;
	color: inherit !important;
}
body .sg-totals table.shop_table .sg-row-note,
body .woocommerce-checkout-review-order-table table.sg-review .sg-row-note {
	display: inline;
	font-size: var(--sg-fs-small) !important;
	color: var(--sg-color-text-muted) !important;
}
body .sg-totals table.shop_table tr.order-total th,
body .sg-totals table.shop_table tr.order-total td,
body .woocommerce-checkout-review-order-table table.sg-review tr.order-total th,
body .woocommerce-checkout-review-order-table table.sg-review tr.order-total td {
	padding-top: var(--sg-space-3) !important;
	border-top: 1px solid var(--sg-color-border) !important;
	font-size: var(--sg-fs-total) !important;
	font-weight: 700 !important;
	color: #1a160b !important;
}
body .sg-totals table.shop_table tr.order-total td strong,
body .woocommerce-checkout-review-order-table table.sg-review tr.order-total td strong {
	font-weight: inherit !important;
}
/* inkl. MwSt. (Germanized: order-tax, WooCommerce: tax-total) und Hinweise in der Gesamtzeile */
body .sg-totals table.shop_table tr.order-tax th,
body .sg-totals table.shop_table tr.order-tax td,
body .sg-totals table.shop_table tr.tax-total th,
body .sg-totals table.shop_table tr.tax-total td,
body .woocommerce-checkout-review-order-table table.sg-review tr.order-tax th,
body .woocommerce-checkout-review-order-table table.sg-review tr.order-tax td,
body .woocommerce-checkout-review-order-table table.sg-review tr.tax-total th,
body .woocommerce-checkout-review-order-table table.sg-review tr.tax-total td,
body .sg-totals table.shop_table tr.order-total small,
body .woocommerce-checkout-review-order-table table.sg-review tr.order-total small {
	padding-top: 0 !important;
	font-size: var(--sg-fs-small) !important;
	font-weight: 400 !important;
	color: var(--sg-color-text-muted) !important;
}
/* Gutscheinzeile: „Entfernen" klein in Tanne */
body .sg-totals table.shop_table .woocommerce-remove-coupon,
body .woocommerce-checkout-review-order-table table.sg-review .woocommerce-remove-coupon {
	margin-left: var(--sg-space-2);
	color: var(--sg-color-primary-text) !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
/* Lieferzeile: Salient setzt Liste und Label der Versandart eigene Größen */
body .woocommerce-checkout-review-order-table table.sg-review #shipping_method,
body .woocommerce-checkout-review-order-table table.sg-review #shipping_method li,
body .woocommerce-checkout-review-order-table table.sg-review #shipping_method label,
body .woocommerce-checkout-review-order-table table.sg-review tr.woocommerce-shipping-totals td > label {
	margin: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	list-style: none;
}
/* Drawer: Zwischensumme (WooCommerce) wie die übrigen Zeilen */
body .nectar-slide-in-cart.nectar-slide-in-cart .woocommerce-mini-cart__total strong {
	color: inherit;
}

/* ------------------------------------------------------------------ */
/* Kasse: „Deine Bestellung" – Produkte wie im Drawer                   */
/* ------------------------------------------------------------------ */
body.woocommerce-checkout #order_review_heading {
	margin: 0 0 var(--sg-space-3) !important;
	padding: 0 !important;
}
body.woocommerce-checkout #order_review {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.woocommerce-checkout #order_review div.woocommerce-checkout-review-order-table {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body.woocommerce-checkout #order_review .product-container {
	margin: 0 0 var(--sg-space-4) !important;
	padding: 0 !important;
	border-top: 1px solid var(--sg-color-border);
	border-bottom: 1px solid var(--sg-color-border);
	background: transparent !important;
}
body.woocommerce-checkout #order_review .product-container .cart_item {
	display: flex !important;
	align-items: center;
	gap: var(--sg-space-4);
	margin: 0 !important;
	padding: var(--sg-space-3) 0 !important;
	border: 0 !important;
}
body.woocommerce-checkout #order_review .product-container .cart_item::before,
body.woocommerce-checkout #order_review .product-container .cart_item::after {
	content: none !important;                 /* Clearfix des Themes wäre sonst ein Flex-Element mit Abstand */
	display: none !important;
}
body.woocommerce-checkout #order_review .product-container .cart_item + .cart_item {
	border-top: 1px solid var(--sg-color-border) !important;
}
body.woocommerce-checkout #order_review .product-container .product-image {
	flex: none;
	width: 64px !important;
	margin: 0 !important;
}
body.woocommerce-checkout #order_review .product-container .product-image img {
	display: block;
	width: 64px !important;
	height: 64px !important;
	margin: 0 !important;
	object-fit: contain;
}
body.woocommerce-checkout #order_review .product-container .product-info {
	display: flex !important;
	flex: 1 1 0;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: var(--sg-space-4);
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-body) !important;
	line-height: 1.25 !important;
	color: var(--sg-color-text);
	font-variant-numeric: tabular-nums lining-nums;
}
body.woocommerce-checkout #order_review .product-container .product-info .inner {
	min-width: 0;
}
body.woocommerce-checkout #order_review .product-container .product-info h4 {
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-body) !important;     /* Produktname: body, kursiv halbfett – wie im Drawer */
	line-height: 1.25 !important;
	font-style: italic !important;
	font-weight: 600 !important;
	color: #1a160b !important;
}
body.woocommerce-checkout #order_review .product-container .product-info h4 a {
	color: inherit !important;
	font: inherit !important;
	text-decoration: none;
}
body.woocommerce-checkout #order_review .product-container .product-info .product-quantity {
	display: block;
	margin-top: 2px;
	font-size: var(--sg-fs-small) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text-muted) !important;
}
body.woocommerce-checkout #order_review .product-container .product-info > .amount,
body.woocommerce-checkout #order_review .product-container .product-info > span {
	flex: none;
	font-size: var(--sg-fs-body) !important;
	font-weight: 400 !important;
	color: var(--sg-color-text) !important;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Gutschein: ein Bauteil in Warenkorb und Kasse                        */
/* Aufklapper wie „So berechnen sich …", Feld und Button wie die        */
/* Formularfelder der Kasse (48 px, paper-0, Rand paper-500, Radius 6). */
/* ------------------------------------------------------------------ */
.sg-coupon {
	margin: var(--sg-space-3) 0 0;
}
body.woocommerce-checkout #order_review > .sg-coupon {
	margin: var(--sg-space-3) 0 var(--sg-space-4);
}
.sg-coupon summary {
	width: fit-content;
	cursor: pointer;
	list-style: none;
	color: var(--sg-color-primary-text);
	font-size: var(--sg-fs-ui) !important;
	font-weight: 600;
	line-height: 1.4;
}
.sg-coupon summary::-webkit-details-marker {
	display: none;
}
.sg-coupon summary::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: var(--sg-space-2);
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s ease;
}
.sg-coupon[open] summary::after {
	transform: translateY(0) rotate(-135deg);
}
.sg-coupon summary:focus-visible {
	outline: 2px solid var(--sg-color-primary-text);
	outline-offset: 2px;
}
.sg-coupon__body {
	display: grid;
	gap: var(--sg-space-1);
	padding-top: var(--sg-space-3);
}
body .sg-coupon .sg-coupon__label {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text) !important;
}
.sg-coupon__row {
	display: flex;
	gap: var(--sg-space-2);
}
body .sg-coupon input.sg-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 0.75em !important;
	border: 1px solid #898065 !important;   /* paper-500, wie die Felder der Kasse */
	border-radius: 6px !important;
	background: #fdfbf4 !important;          /* paper-0 */
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: var(--sg-fs-ui) !important;
	line-height: 1.3 !important;
	letter-spacing: 0.02em;
	color: var(--sg-color-text) !important;
}
body .sg-coupon input.sg-coupon__input:focus-visible {
	outline: 2px solid var(--sg-color-primary-text) !important;
	outline-offset: 2px !important;
}
body .sg-coupon input.sg-coupon__input[aria-invalid="true"] {
	border-color: #9b2d52 !important;        /* Rote Bete: Fehler */
}
body .sg-coupon .button.sg-coupon__apply {
	flex: none;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px !important;
	height: 48px;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 1.5px solid #265c40 !important;
	border-radius: 6px !important;
	background: transparent !important;
	color: #265c40 !important;
	font-size: var(--sg-fs-ui) !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	transform: none !important;
}
body .sg-coupon .button.sg-coupon__apply:hover,
body .sg-coupon .button.sg-coupon__apply:focus-visible {
	background: #eae9d7 !important;
	border-color: #174b31 !important;
	color: #174b31 !important;
}
body .sg-coupon .button.sg-coupon__apply::before,
body .sg-coupon .button.sg-coupon__apply::after {
	content: none !important;
	display: none !important;
}
.sg-coupon.is-busy .sg-coupon__apply {
	opacity: 0.6;
	cursor: progress;
}
body .sg-coupon .sg-coupon__msg {
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text-muted) !important;
}
body .sg-coupon .sg-coupon__msg:empty {
	display: none;
}
body .sg-coupon .sg-coupon__msg.is-error {
	color: #9b2d52 !important;
}
/* Warenkorb: altes Gutscheinfeld unter der Tabelle entfällt; die Zeile darunter ist dann leer
   (Button „Warenkorb aktualisieren" ist mit Skript ohnehin ausgeblendet). */
body.sg-coupon-on .woocommerce-cart-form td.actions .coupon {
	display: none !important;
}
body.sg-coupon-on.sg-cart-auto .woocommerce-cart-form tr:has(> td.actions) {
	display: none !important;
}
/* Kasse: WooCommerces Gutschein-Leiste (falls ein Theme sie selbst ausgibt) */
body.sg-coupon-on .woocommerce-form-coupon-toggle,
body.sg-coupon-on form.checkout_coupon {
	display: none !important;
}

/* Warenkorb: Abstand zwischen „Zur Kasse" und den PayPal-Buttons (bis sie in PayPal abgeschaltet sind) */
body .sg-totals .wc-proceed-to-checkout .ppc-button-wrapper,
body .sg-totals .wc-proceed-to-checkout [id^="ppc-button"],
body .sg-totals .wc-proceed-to-checkout .ppcp-messages {
	margin-top: var(--sg-space-3) !important;
}
body .sg-totals .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
}

/* ------------------------------------------------------------------ */
/* Leerer Warenkorb (Drawer und Seite)                                  */
/* ------------------------------------------------------------------ */
.sg-empty {
	display: grid;
	justify-items: center;
	gap: var(--sg-space-3);
	max-width: 22em;
	margin: 0 auto;
	padding: var(--sg-space-5) 0;
	text-align: center;
}
.sg-empty__art {
	display: block;
	width: 132px;
	margin-bottom: var(--sg-space-2);
	color: #2b2619;
	line-height: 0;
}
.sg-empty__art svg {
	display: block;
	width: 100%;
	height: auto;
}
.sg-empty__art .sg-ride__light {
	stroke: #faf4e4;
}
body .sg-empty .sg-empty__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-body) !important;
	font-style: italic !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: #1a160b !important;
}
body .sg-empty .sg-empty__text {
	text-wrap: balance;
	margin: 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.5 !important;
	color: var(--sg-color-text-muted) !important;
}
body .sg-empty .button.sg-empty__cta {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px !important;
	margin: var(--sg-space-2) 0 0 !important;
	padding: 12px 32px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #265c40 !important;
	color: #faf4e4 !important;
	font-size: var(--sg-fs-ui) !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	transform: none !important;
}
body .sg-empty .button.sg-empty__cta:hover {
	background: #174b31 !important;
}
body .sg-empty .button.sg-empty__cta:focus-visible {
	outline: 2px solid #265c40 !important;
	outline-offset: 2px !important;
}
/* Drawer: Salients „Go to shop" und die ausgegraute Summe samt Buttons entfallen; Leerzustand mittig */
body .nectar-slide-in-cart .widget_shopping_cart_content:has(.sg-empty) .woocommerce-mini-cart__empty-message,
body .nectar-slide-in-cart .widget_shopping_cart_content:has(.sg-empty) .nectar-inactive {
	display: none !important;
}
body .nectar-slide-in-cart .widget_shopping_cart_content:has(.sg-empty) {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100% - 24px);
}
.sg-empty--drawer {
	padding-bottom: 15vh;
}
/* Seite: WooCommerces „Zurück zum Shop" entfällt (steckt im Leerzustand) */
.sg-empty--page {
	padding: var(--sg-space-5) 0 64px;
}
body .sg-empty--page ~ .return-to-shop,
body .woocommerce:has(.sg-empty--page) .return-to-shop,
body .woocommerce:has(.sg-empty--page) .cart-empty.woocommerce-info {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Übergang: Iconic Delivery Slots im SG-Look (1.3.8)                   */
/* Entfällt mit dem eigenen Modul „Liefertage“ – dann diesen Abschnitt   */
/* und iconicLook() in sg-shop.js löschen.                              */
/* ------------------------------------------------------------------ */
/* Box: kein grauer Kopf, kein weißer Kasten – Überschrift wie „Deine Bestellung“ */
body.woocommerce-checkout #jckwds-fields.wds-fieldbox {
	margin: 0 0 var(--sg-space-5) !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
body.woocommerce-checkout #jckwds-fields .wds-fieldbox-header {
	margin: 0 0 var(--sg-space-3) !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body.woocommerce-checkout #jckwds-fields .wds-fieldbox-header__title {
	display: block;
	font-size: var(--sg-fs-h3, 1.625rem) !important;
	font-style: italic !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #1a160b !important;
}
body.woocommerce-checkout #jckwds-fields .iconic-wds-fields__fields,
body.woocommerce-checkout #jckwds-fields .wds-fieldbox-sub-field,
body.woocommerce-checkout #jckwds-fields .form-row {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body.woocommerce-checkout #jckwds-fields .form-row label {
	display: block;
	margin: 0 0 var(--sg-space-1) !important;
	font-size: var(--sg-fs-small) !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text) !important;
}
/* Feld wie alle Kassenfelder; Kalender-Symbol rechts (es öffnet etwas), Iconics Symbol links lag über dem Datum */
body.woocommerce-checkout #jckwds-fields .woocommerce-input-wrapper::before {
	content: none !important;
	display: none !important;
}
body.woocommerce-checkout #jckwds-fields input#jckwds-delivery-date {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 44px 0 0.75em !important;
	border: 1px solid #898065 !important;
	border-radius: 6px !important;
	background-color: #fdfbf4 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b634c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 20px 20px !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: var(--sg-fs-ui) !important;
	line-height: 1.3 !important;
	color: var(--sg-color-text) !important;
	cursor: pointer;
	font-variant-numeric: lining-nums tabular-nums;
}
body.woocommerce-checkout #jckwds-fields input#jckwds-delivery-date:focus {
	border-color: #265c40 !important;
	outline: 2px solid #265c40 !important;
	outline-offset: 2px !important;
}
/* Iconics Hinweis-Blase („Bitte wähle einen Liefertag.“, altes Grün) → ruhiger Hinweis mit Bestellschluss (per Skript) */
body.woocommerce-checkout #jckwds-fields .form-row .description {
	display: none !important;
}
body.woocommerce-checkout #jckwds-fields .sg-wds-hint {
	margin: var(--sg-space-2) 0 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text-muted) !important;
}
body.woocommerce-checkout #jckwds-fields .iconic-wds-fields__error .woocommerce-error {
	margin: 0 0 var(--sg-space-3) !important;
}

/* Kalender (jQuery-UI-Datepicker von Iconic): Papier statt Dunkelblau, Tanne für wählbare Tage */
#ui-datepicker-div.ui-datepicker {
	width: 304px !important;
	margin-top: 6px;
	padding: 12px !important;
	border: 1px solid #e6dcc2 !important;
	border-radius: 8px !important;
	background: #fdfbf4 !important;
	box-shadow: 0 4px 6px -2px rgba(43, 38, 25, 0.06), 0 12px 20px -6px rgba(43, 38, 25, 0.16) !important;
	color: #2b2619 !important;
	font-family: "EB Garamond", Garamond, "Times New Roman", serif !important;
	z-index: 1000 !important;
}
#ui-datepicker-div .ui-datepicker-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
#ui-datepicker-div .ui-datepicker-title {
	margin: 0 !important;
	font-size: var(--sg-fs-ui) !important;
	font-weight: 600 !important;
	line-height: 36px !important;
	color: #1a160b !important;
	font-family: inherit !important;
}
#ui-datepicker-div .ui-datepicker-title span {
	font: inherit !important;
	color: inherit !important;
}
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
	position: absolute !important;
	top: 0 !important;
	width: 36px !important;
	height: 36px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	color: #265c40 !important;
	cursor: pointer;
}
#ui-datepicker-div .ui-datepicker-prev { left: 0 !important; }
#ui-datepicker-div .ui-datepicker-next { right: 0 !important; }
#ui-datepicker-div .ui-datepicker-prev:hover:not(.ui-state-disabled),
#ui-datepicker-div .ui-datepicker-next:hover:not(.ui-state-disabled) {
	background: #eae9d7 !important;
}
#ui-datepicker-div .ui-datepicker-prev.ui-state-disabled,
#ui-datepicker-div .ui-datepicker-next.ui-state-disabled {
	color: #d5caae !important;
	cursor: default;
}
#ui-datepicker-div .ui-datepicker-prev::before,
#ui-datepicker-div .ui-datepicker-next::before,
#ui-datepicker-div .ui-datepicker-prev .ui-icon,
#ui-datepicker-div .ui-datepicker-next .ui-icon {
	display: none !important;
}
#ui-datepicker-div .ui-datepicker-prev::after,
#ui-datepicker-div .ui-datepicker-next::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.75px solid currentColor;
	border-bottom: 1.75px solid currentColor;
}
#ui-datepicker-div .ui-datepicker-prev::after { transform: translate(-30%, -50%) rotate(135deg); }
#ui-datepicker-div .ui-datepicker-next::after { transform: translate(-70%, -50%) rotate(-45deg); }
#ui-datepicker-div table.ui-datepicker-calendar {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 2px !important;
	background: transparent !important;
}
#ui-datepicker-div .ui-datepicker-calendar th {
	padding: 4px 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-family: inherit !important;
	font-size: var(--sg-fs-small) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: #6b634c !important;
}
#ui-datepicker-div .ui-datepicker-calendar th span {
	font: inherit !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: inherit !important;
}
#ui-datepicker-div .ui-datepicker-calendar td {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	opacity: 1 !important;
}
#ui-datepicker-div .ui-datepicker-calendar td .ui-state-default {
	display: block !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: var(--sg-fs-ui) !important;
	font-weight: 400 !important;
	line-height: 36px !important;
	text-align: center !important;
	color: #afa487 !important;               /* nicht wählbar: paper-400 */
	font-variant-numeric: lining-nums tabular-nums;
}
/* wählbar: Tanne, halbfett, Fläche beim Zeigen */
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default {
	color: #265c40 !important;
	font-weight: 600 !important;
	box-shadow: inset 0 0 0 1px #dddfcd !important;
}
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default:hover,
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default.ui-state-hover {
	background: #eae9d7 !important;
	color: #174b31 !important;
}
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default.ui-state-active,
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default.ui-state-active.ui-state-hover,
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-default.ui-state-active:hover {
	background: #265c40 !important;
	box-shadow: none !important;
	color: #faf4e4 !important;
}
#ui-datepicker-div .ui-datepicker-calendar td.ui-datepicker-today .ui-state-default {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
/* Iconics Punkte/Tooltips an Tagen */
#ui-datepicker-div .ui-datepicker-calendar td::before,
#ui-datepicker-div .ui-datepicker-calendar td::after {
	display: none !important;
}
#ui-datepicker-div .ui-datepicker-calendar td .ui-state-default::before,
#ui-datepicker-div .ui-datepicker-calendar td .ui-state-default::after {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Liefertage (Modul ab 1.4.0)                                          */
/* Kasse: Termine als Karten, nach Monat gruppiert und waagerecht       */
/* blätterbar; Monatsname klebt am linken Rand, solange seine Karten     */
/* sichtbar sind. Kein Kasten drumherum (Georg 08.10.).                  */
/* ------------------------------------------------------------------ */
.sg-dd {
	min-width: 0;
	margin: 0 0 var(--sg-space-5) !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body .sg-dd .sg-dd__title {
	display: block;
	float: none;
	width: 100%;
	margin: 0 0 var(--sg-space-3) !important;
	padding: 0 !important;
	font-size: var(--sg-fs-h3, 1.625rem) !important;
	font-style: italic !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: #1a160b !important;
}
.sg-dd__rail {
	position: relative;
}
/* Kanten blenden aus, solange es in die Richtung weitergeht */
.sg-dd__rail::before,
.sg-dd__rail::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 6px;
	z-index: 1;
	width: 28px;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
/* Die Spur ragt 2 px über die Schiene hinaus (Fokusring), also decken die Kanten diese 2 px mit ab – sonst bleibt ein Schlitz. */
.sg-dd__rail::before {
	left: -2px;
	background: linear-gradient(90deg, #faf4e4, rgba(250, 244, 228, 0));
}
.sg-dd__rail::after {
	right: -2px;
	background: linear-gradient(270deg, #faf4e4, rgba(250, 244, 228, 0));
}
.sg-dd.is-start .sg-dd__rail::before,
.sg-dd.is-end .sg-dd__rail::after {
	opacity: 0;
}
.sg-dd__track {
	display: flex;
	align-items: flex-start;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-left: 2px;
	scrollbar-width: none;
	margin: 0 -2px;
	padding: 2px 2px 6px;
}
.sg-dd__track::-webkit-scrollbar {
	display: none;
}
.sg-dd__group {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: var(--sg-space-2);
}
/* Monatstrenner: unsere normale Trennlinie (1 px paper-200 wie überall), genau so hoch wie die Karten,
   waagerecht mittig im Abstand zwischen den Monaten. Kein Verlauf (Georg 08.10.). */
.sg-dd__group + .sg-dd__group {
	margin-left: var(--sg-space-4);
	padding-left: var(--sg-space-4);
	border: 0;
}
.sg-dd__group + .sg-dd__group .sg-dd__days {
	position: relative;
}
.sg-dd__group + .sg-dd__group .sg-dd__days::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(-1 * var(--sg-space-4) - 0.5px);
	width: 1px;
	background: var(--sg-color-border);
	pointer-events: none;
}
.sg-dd__month {
	position: sticky;
	left: 0;
	align-self: flex-start;
	padding-right: var(--sg-space-2);
	font-size: var(--sg-fs-small);
	font-weight: 400;                         /* Styleguide „Klein“: normal, gedämpft – kein Halbfett für Beschriftungen */
	line-height: 1.4;
	color: var(--sg-color-text-muted);
}
/* Beim Blättern bleibt der Monat lesbar: rechts neben der ausgeblendeten Kante */
.sg-dd:not(.is-start) .sg-dd__month {
	left: 28px;
}
.sg-dd__days {
	display: flex;
	gap: var(--sg-space-2);
}
.sg-dd__day {
	position: relative;
	flex: none;
	scroll-snap-align: start;
}
.sg-dd__day input,
.sg-dd__chip input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	appearance: none;
}
body .sg-dd .sg-dd__day label {
	display: grid;
	justify-items: center;
	gap: 2px;
	width: 88px;
	margin: 0 !important;
	padding: 10px 6px 9px !important;
	border: 1px solid #898065;
	border-radius: 6px;
	background: #fdfbf4;
	text-align: center;
	line-height: 1.2 !important;
	color: var(--sg-color-text);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
body .sg-dd .sg-dd__chip label {
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
body .sg-dd label::before,
body .sg-dd label::after {
	content: none !important;
	display: none !important;
}
.sg-dd__wd {
	font-size: var(--sg-fs-small);
	color: var(--sg-color-text-muted);
}
.sg-dd__num {
	font-size: var(--sg-fs-total);
	font-weight: 600;
	color: #1a160b;
	font-variant-numeric: lining-nums tabular-nums;
}
.sg-dd__rel {
	font-size: var(--sg-fs-small);
	color: var(--sg-color-text-muted);
	white-space: nowrap;
}
/* Hover: Fläche tanne-softer + Rand Tanne (wie Umriss-Buttons im Styleguide). Gewählt: tanne-soft + 2 px Tanne. */
body .sg-dd .sg-dd__day input:hover + label {
	border-color: #265c40;
	background: #eae9d7;
}
body .sg-dd .sg-dd__day input:checked + label,
body .sg-dd .sg-dd__day input:checked:hover + label {
	padding: 9px 5px 8px !important;
	border: 2px solid #265c40;
	background: #dddfcd;
}
.sg-dd__day input:checked + label .sg-dd__wd,
.sg-dd__day input:checked + label .sg-dd__rel {
	color: #403a2a;
}
.sg-dd__day input:focus-visible + label,
.sg-dd__chip input:focus-visible + label {
	outline: 2px solid #265c40;
	outline-offset: 2px;
}
/* Pfeile: nur am Rechner und nur, wenn es weitergeht; senkrecht mittig zu den Karten (--sg-dd-mid vom Skript) */
body .sg-dd .sg-dd__nav {
	position: absolute;
	top: var(--sg-dd-mid, 77px);
	z-index: 2;
	width: 36px;
	height: 36px;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #d5caae !important;
	border-radius: 6px !important;
	background: #fdfbf4 !important;
	box-shadow: 0 2px 6px rgba(43, 38, 25, 0.12) !important;
	color: #265c40 !important;
	cursor: pointer;
	transform: translateY(-50%);
}
.sg-dd__nav--prev { left: -14px; }
.sg-dd__nav--next { right: -14px; }
.sg-dd__nav::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.75px solid currentColor;
	border-bottom: 1.75px solid currentColor;
}
.sg-dd__nav--prev::after { transform: translate(-30%, -50%) rotate(135deg); }
.sg-dd__nav--next::after { transform: translate(-70%, -50%) rotate(-45deg); }
body .sg-dd .sg-dd__nav:hover {
	background: #eae9d7 !important;
}
.sg-dd__nav:focus-visible {
	outline: 2px solid #265c40;
	outline-offset: 2px;
}
.sg-dd__nav[hidden] {
	display: none !important;
}
@media (pointer: coarse) {
	.sg-dd__nav {
		display: none !important;
	}
}
/* Wunschzeit: optional, ohne Gewähr */
.sg-dd__pref {
	min-width: 0;
	margin: var(--sg-space-5) 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
body .sg-dd .sg-dd__pref-title {
	display: block;
	margin: 0 0 var(--sg-space-2) !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text) !important;
}
.sg-dd__optional {
	color: var(--sg-color-text-muted);
}
.sg-dd__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sg-space-2);
}
.sg-dd__chip {
	position: relative;
}
body .sg-dd .sg-dd__chip label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #898065;
	border-radius: 6px;
	background: #fdfbf4;
	font-size: var(--sg-fs-ui) !important;
	line-height: 1.2 !important;
	color: var(--sg-color-text);
	cursor: pointer;
}
body .sg-dd .sg-dd__chip input:hover + label {
	border-color: #265c40;
	background: #eae9d7;
}
body .sg-dd .sg-dd__chip input:checked + label,
body .sg-dd .sg-dd__chip input:checked:hover + label {
	border-color: #265c40;
	box-shadow: inset 0 0 0 1px #265c40;
	background: #dddfcd;
}
body .sg-dd .sg-dd__note,
body .sg-dd .sg-dd__none {
	margin: var(--sg-space-2) 0 0 !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	color: var(--sg-color-text-muted) !important;
}
body .sg-dd .sg-dd__none {
	color: var(--sg-color-text) !important;
}

/* Produktseite: „Kommt Mittwoch, 14. Okt. zu dir" direkt unter „In den Warenkorb" */
body .sg-eta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: var(--sg-space-3) 0 var(--sg-space-4) !important;
	padding: 0 !important;
	font-size: var(--sg-fs-small) !important;
	line-height: 1.4 !important;
	color: #403a2a !important;
}
.sg-eta__art,
.sg-next__art {
	display: block;
	flex: none;
	width: 44px;
	color: #2b2619;
	line-height: 0;
}
.sg-eta__art svg,
.sg-next__art svg {
	display: block;
	width: 100%;
	height: auto;
}
.sg-eta__art .sg-ride__light,
.sg-next__art .sg-ride__light {
	stroke: #faf4e4;
}
.sg-eta b,
.sg-next b {
	font-weight: 600;
	color: #2b2619;
}
/* Shortcode [sg_naechste_lieferung] (Leiste über dem Kopf): ruhig, Text auf Papier */
.sg-next {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--sg-fs-small);
	line-height: 1.4;
	color: #2b2619;
}
.sg-next__art {
	width: 36px;
}
.sg-next .sg-next__art .sg-ride__light {
	stroke: #f1e9d3;
}
.sg-eta[hidden],
.sg-next[hidden] {
	display: none !important;
}
/* Wunschzeit mobil: 2 × 2 statt einer umbrechenden Reihe */
@media (max-width: 480px) {
	.sg-dd__chips {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.sg-dd__chip {
		min-width: 0;
	}
	body .sg-dd .sg-dd__chip label {
		box-sizing: border-box;
		width: 100%;
		justify-content: center;
	}
}
