
	/* Eigenen Chat-Button auf Produktseiten ausblenden — die Sticky-Kauf-Leiste hat hier Vorrang */
	body.single-product #ehd-cc-launch,
	body.single-product #ehd-cc-panel {
		display: none !important;
		visibility: hidden !important;
	}

	/* Bordeaux Floating-Cart-Bubble (Mini-Cart) auf Produktseiten verbergen
	   — die Sticky-Bar unten übernimmt die CTA-Funktion. */
	body.single-product footer .wp-block-woocommerce-mini-cart,
	body.single-product footer .wc-block-mini-cart {
		display: none !important;
		visibility: hidden !important;
	}

	/* Original Add-to-Cart-Button + Stückzahl im Konfigurator verbergen
	   — Sticky-Bar übernimmt beide. Buttons bleiben im DOM (funktional triggerbar). */
	body.single-product form.cart .quantity,
	body.single-product form.cart .single_add_to_cart_button,
	body.single-product form.cart .woocommerce-variation-add-to-cart .quantity,
	body.single-product .single-product-add-to-cart-quantity,
	body.single-product form.cart button.single_add_to_cart_button {
		position: absolute !important;
		width: 1px !important; height: 1px !important;
		padding: 0 !important; margin: -1px !important;
		overflow: hidden !important; clip: rect(0,0,0,0) !important;
		white-space: nowrap !important; border: 0 !important;
		opacity: 0 !important; pointer-events: none !important;
	}
	/* Falls Theme/WAPF einen anderen Wrapper nutzt — auch noch dezent verbergen */
	body.single-product form.cart .woocommerce-variation-add-to-cart {
		min-height: 0 !important;
	}

	/* Footer-Spacer damit kein Inhalt vom Sticky-Bar verdeckt wird */
	body.single-product {
		padding-bottom: 88px !important;
	}
	@media (max-width: 600px) {
		body.single-product { padding-bottom: 96px !important; }
	}

	/* Sticky Bottom-Bar */
	.ehd-sb {
		position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
		background: linear-gradient(180deg, #ffffff 0%, #faf3e3 100%);
		border-top: 1px solid #c9ad75;
		box-shadow: 0 -6px 28px rgba(122,90,28,.18), inset 0 1px 0 rgba(255,255,255,.6);
		padding: 11px 18px; display: flex; align-items: center; gap: 14px;
		font-family: inherit;
	}
	.ehd-sb::before {
		content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
		background: linear-gradient(90deg, transparent, rgba(160,119,40,.5) 30%, rgba(160,119,40,.5) 70%, transparent);
	}
	.ehd-sb-price { flex: 1; min-width: 0; }
	.ehd-sb-price .label {
		font-size: 10px; color: #7a5a1c; font-weight: 700;
		text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 2px;
	}
	.ehd-sb-price .val {
		font-size: 24px; font-weight: 700; line-height: 1.1;
		color: #28200f; letter-spacing: -.3px;
		background: linear-gradient(135deg,#d4ab5a 0%,#a07728 35%,#7a5a1c 70%,#a07728 100%);
		-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	}
	.ehd-sb-price .hint {
		font-size: 10.5px; color: #5a4628; margin-top: 2px; letter-spacing: .2px;
	}
	.ehd-sb-btn {
		background: linear-gradient(135deg,#d4ab5a 0%,#a07728 35%,#7a5a1c 70%,#a07728 100%);
		color: #fff !important; border: 0;
		padding: 13px 26px; border-radius: 99px;
		font-size: 13px; font-weight: 700; letter-spacing: .8px; cursor: pointer;
		text-transform: uppercase; text-decoration: none;
		box-shadow:
			0 4px 16px rgba(160,119,40,.4),
			inset 0 1px 0 rgba(255,255,255,.3),
			inset 0 -1px 0 rgba(0,0,0,.15);
		display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
		text-shadow: 0 1px 1px rgba(0,0,0,.2);
		transition: transform .15s, box-shadow .15s;
		font-family: inherit;
	}
	.ehd-sb-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(160,119,40,.5), inset 0 1px 0 rgba(255,255,255,.3); }
	.ehd-sb-btn:active { transform: translateY(0); }
	.ehd-sb-btn[disabled] {
		opacity: .55; cursor: not-allowed;
		filter: grayscale(.4);
		box-shadow: none;
	}
	.ehd-sb-btn[disabled]:hover { transform: none; }
	.ehd-sb-btn svg { fill: currentColor; flex: 0 0 16px; }

	/* Mengen-Stepper (Stückwahl) */
	.ehd-sb-qty {
		display: inline-flex; align-items: stretch;
		border: 1px solid #c9ad75; border-radius: 99px;
		background: linear-gradient(180deg, #ffffff, #faf3e3);
		box-shadow: inset 0 1px 2px rgba(122,90,28,.08);
		overflow: hidden; flex: 0 0 auto;
	}
	.ehd-sb-qty button {
		width: 36px; height: 42px; padding: 0;
		background: transparent; border: 0;
		font-size: 18px; font-weight: 700; color: #7a5a1c;
		cursor: pointer; transition: background .15s;
		font-family: inherit; line-height: 1;
	}
	.ehd-sb-qty button:hover { background: rgba(160,119,40,.12); color: #28200f; }
	.ehd-sb-qty button:active { background: rgba(160,119,40,.22); }
	.ehd-sb-qty button:disabled { opacity: .35; cursor: not-allowed; }
	.ehd-sb-qty input {
		width: 40px; height: 42px;
		border: 0; border-left: 1px solid #e6d4b0; border-right: 1px solid #e6d4b0;
		padding: 0; text-align: center;
		font-size: 15px; font-weight: 700; color: #28200f;
		background: transparent; font-family: inherit;
		-moz-appearance: textfield;
	}
	.ehd-sb-qty input:focus { outline: none; background: rgba(255,255,255,.6); }
	.ehd-sb-qty input::-webkit-outer-spin-button,
	.ehd-sb-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

	/* Farb-Swatch (Variante D) */
	.ehd-sb-swatch {
		width: 40px; height: 40px; flex: 0 0 40px;
		border-radius: 50%;
		border: 2px solid #c9ad75;
		box-shadow: 0 0 0 2px #fff, 0 0 0 3px #a07728, 0 4px 10px rgba(160,119,40,.2);
		background: linear-gradient(135deg,#e6d4b0,#c9ad75) center/cover no-repeat;
		display: none; /* default hidden, JS aktiviert wenn Farbe gewählt */
		transition: opacity .15s;
	}
	.ehd-sb-swatch.is-set { display: block; }

	/* Auswahl-Chips (kompakt) */
	.ehd-sb-chips {
		display: flex; gap: 6px; flex-wrap: wrap;
		flex: 1; min-width: 0; align-items: center;
	}
	.ehd-sb-chip {
		font-size: 11px; font-weight: 600; color: #5a4628;
		padding: 5px 9px; border-radius: 7px;
		background: linear-gradient(135deg,#fdf9ee,#f5e9d0);
		border: 1px solid #e6d4b0; letter-spacing: .15px; white-space: nowrap;
		line-height: 1.2;
	}

	/* Versandkostenfrei-Pill — dunkelbordeaux + weiße Schrift */
	.ehd-sb-freeship {
		display: inline-flex; align-items: center; gap: 4px;
		flex: 0 0 auto;
		font-size: 10.5px; font-weight: 700; color: #ffffff;
		padding: 5px 10px; border-radius: 99px;
		background: linear-gradient(135deg,#6b1a2e,#4a0f20);
		border: 1px solid #3a0c1a; letter-spacing: .4px; text-transform: uppercase;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(74,15,32,.25);
		white-space: nowrap;
	}
	.ehd-sb-freeship svg { flex: 0 0 12px; color: #ffffff; }

	@media (max-width: 760px) {
		.ehd-sb-chips { display: none; }
	}
	@media (max-width: 520px) {
		.ehd-sb { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
		.ehd-sb-btn { padding: 11px 16px; font-size: 11.5px; }
		.ehd-sb-price .val { font-size: 19px; }
		.ehd-sb-price .hint { display: block; font-size: 9.5px; margin-top: 1px; }
		.ehd-sb-price .hint .ehd-sb-hint-ship { display: none; }
		.ehd-sb-qty button { width: 32px; height: 38px; font-size: 16px; }
		.ehd-sb-qty input { width: 34px; height: 38px; font-size: 14px; }
		.ehd-sb-swatch { width: 34px; height: 34px; flex: 0 0 34px; }
		.ehd-sb-freeship { font-size: 9px; padding: 4px 8px; }
		.ehd-sb-chips {
			display: flex; flex-basis: 100%; order: 99;
			font-size: 10px; gap: 4px;
		}
		.ehd-sb-chip { font-size: 10px; padding: 3px 7px; }
	}
	@media (max-width: 380px) {
		.ehd-sb-btn span { display: none; }
		.ehd-sb-btn { padding: 11px 14px; }
		.ehd-sb-freeship { padding: 4px 6px; }
	}
		/* 16.11.2026 Bulut: Leiste am Handy „unordentlich verteilt, unstrukturiert“ → festes Raster:
	   Zeile 1 Preis (+ versandkostenfrei darunter) | Menge · Zeile 2 Knopf volle Breite · Zeile 3 Chips in EINER Zeile (wischbar) */
	@media (max-width: 600px) {
		.ehd-sb { display: grid !important; grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "sw price qty" "sw ship qty" "btn btn btn" "chips chips chips";
			column-gap: 10px; row-gap: 6px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
		.ehd-sb-swatch { grid-area: sw; }
		.ehd-sb-price { grid-area: price; }
		.ehd-sb-price .label { display: none; }
		.ehd-sb-price .val { font-size: 21px; }
		.ehd-sb-price .hint { font-size: 10.5px; margin-top: 1px; }
		.ehd-sb-freeship { grid-area: ship; justify-self: start; font-size: 9.5px; padding: 3px 8px; }
		.ehd-sb-qty { grid-area: qty; align-self: center; }
		.ehd-sb-btn { grid-area: btn; width: 100%; justify-content: center; padding: 12px 16px; font-size: 13px; box-sizing: border-box; }
		.ehd-sb-btn span { display: inline !important; }
		.ehd-sb-chips { grid-area: chips; display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 5px; order: 0; flex-basis: auto; margin: 0 -14px; padding: 0 14px; }
		.ehd-sb-chips::-webkit-scrollbar { display: none; }
		.ehd-sb-chip { flex: 0 0 auto; font-size: 10.5px; padding: 3px 8px; }
		.ehd-sb-chips:empty { display: none !important; }
	}
		
