/* =========================================================================
   LADUTI Warenkorb WK1 (body.ldc-cart1). Gestaltung über dem unveränderten WooCommerce-/Blocksy-Warenkorb.
   Weiß, #f5f5f7, Schwarz, neutrale Grautöne; Blau #1f68ea nur am Kassen-Knopf. Mobile first.
   Ziel: Produkt, Menge, Summe, Kasse – in dieser Reihenfolge, ohne Ablenkung.
   ========================================================================= */
body.ldc-cart1 {
	--w-ink: #121212;
	--w-ink-2: #48484d;
	--w-ink-3: #6e6e73;
	--w-tile: #f5f5f7;
	--w-line: rgba(18, 18, 18, 0.1);
	--w-buy: #1f68ea;
	--w-error: #b3261e;
	background: #fff;
	color: var(--w-ink);
	-webkit-font-smoothing: antialiased;
}

body.ldc-cart1 #main .ct-container-full,
body.ldc-cart1 #main .ct-container {
	width: auto;
	max-width: 1104px;
	margin-inline: auto;
	padding: 0 20px 56px;
}

body.ldc-cart1 #main [class*="ct-container"] > article,
body.ldc-cart1 #main .entry-content {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: none;
}

body.ldc-cart1 .wp-block-spacer {
	display: none;
}

/* Titel */
body.ldc-cart1 .hero-section {
	margin: 0;
	padding: 26px 0 0;
	min-height: 0;
	background: none;
}

body.ldc-cart1 .hero-section .entry-header {
	margin: 0;
	padding: 0;
	text-align: left;
}

body.ldc-cart1 .hero-section .page-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.05;
	letter-spacing: -0.045em;
	font-weight: 800;
	color: var(--w-ink);
	text-align: left;
}

body.ldc-cart1 .woocommerce {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--w-ink);
}

/* Hinweise: ruhig. Der blaue „Einkauf fortsetzen“-Knopf entfällt (der Weg steht oben links). */
body.ldc-cart1 .woocommerce-notices-wrapper {
	margin: 0;
}

body.ldc-cart1 .woocommerce-message,
body.ldc-cart1 .woocommerce-info,
body.ldc-cart1 .woocommerce-error {
	display: block;
	margin: 0 0 10px;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: var(--w-tile);
	box-shadow: none;
	font-size: 14px;
	line-height: 1.4;
	color: var(--w-ink-2);
	list-style: none;
}

body.ldc-cart1 .woocommerce-message::before,
body.ldc-cart1 .woocommerce-info::before,
body.ldc-cart1 .woocommerce-error::before,
body.ldc-cart1 .woocommerce-message > svg,
body.ldc-cart1 .woocommerce-info > svg,
body.ldc-cart1 .woocommerce-error > svg {
	display: none;
}

body.ldc-cart1 .woocommerce-error {
	background: #fbeceb;
	color: var(--w-error);
}

body.ldc-cart1 .woocommerce-error li {
	margin: 0;
	padding: 0;
}

body.ldc-cart1 .woocommerce-message .button.wc-forward {
	display: none;
}

body.ldc-cart1 .woocommerce-message a:not(.button),
body.ldc-cart1 .woocommerce-message .restore-item {
	color: var(--w-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Aufbau ---------- */
body.ldc-cart1 .ct-woocommerce-cart-form {
	display: block;
	margin: 0;
}

body.ldc-cart1 .woocommerce-cart-form {
	margin: 0;
	padding: 0;
	border: 0;
}

body.ldc-cart1 table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	background: none;
}

body.ldc-cart1 table.shop_table th,
body.ldc-cart1 table.shop_table td {
	border: 0;
	background: none;
}

/* ---------- Artikel (bis 999 px: Karte aus Bild + Angaben) ---------- */
body.ldc-cart1 table.cart thead {
	display: none;
}

body.ldc-cart1 table.cart tbody {
	display: block;
}

body.ldc-cart1 table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 0 16px;
	align-items: start;
	padding: 18px 0;
	border-top: 1px solid var(--w-line);
}

body.ldc-cart1 table.cart tr.cart_item td {
	display: block;
	width: auto;
	padding: 0;
	text-align: left;
}

body.ldc-cart1 table.cart tr.cart_item td::before {
	display: none;
}

body.ldc-cart1 table.cart td.product-thumbnail .ct-media-container,
body.ldc-cart1 table.cart td.product-thumbnail a {
	display: block;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--w-tile);
}

body.ldc-cart1 table.cart td.product-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

body.ldc-cart1 table.cart td.product-name > a {
	display: block;
	padding-top: 2px;
	font-size: 16.5px;
	line-height: 1.25;
	letter-spacing: -0.015em;
	font-weight: 600;
	color: var(--w-ink);
	text-decoration: none;
}

body.ldc-cart1 table.cart td.product-name dl.variation,
body.ldc-cart1 table.cart td.product-name .backorder_notification {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--w-ink-3);
}

body.ldc-cart1 table.cart td.product-quantity,
body.ldc-cart1 table.cart td.product-subtotal,
body.ldc-cart1 table.cart td.product-remove {
	display: none;
}

/* Menge · Preis · Entfernen */
body.ldc-cart1 .product-mobile-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}

body.ldc-cart1 .quantity[data-type] {
	position: relative;
	display: flex;
	align-items: center;
	flex: none;
	width: 112px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--w-tile);
	box-shadow: none;
}

body.ldc-cart1 .quantity[data-type] input.qty {
	order: 2;
	flex: 1 1 auto;
	width: 28px;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
	color: var(--w-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}

body.ldc-cart1 .quantity[data-type] input.qty::-webkit-outer-spin-button,
body.ldc-cart1 .quantity[data-type] input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.ldc-cart1 .quantity[data-type] .ct-increase,
body.ldc-cart1 .quantity[data-type] .ct-decrease {
	position: static;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 44px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: none;
	font-size: 0;
	color: var(--w-ink);
	cursor: pointer;
	transform: none;
	inset: auto;
}

body.ldc-cart1 .quantity[data-type] .ct-decrease {
	order: 1;
}

body.ldc-cart1 .quantity[data-type] .ct-increase {
	order: 3;
}

body.ldc-cart1 .quantity[data-type] .ct-increase::before,
body.ldc-cart1 .quantity[data-type] .ct-decrease::before {
	content: "";
	position: static;
	width: 12px;
	height: 12px;
	margin: 0;
	border: 0;
	background: linear-gradient(var(--w-ink), var(--w-ink)) center / 12px 1.6px no-repeat;
	transform: none;
	opacity: 1;
}

body.ldc-cart1 .quantity[data-type] .ct-increase::before {
	background: linear-gradient(var(--w-ink), var(--w-ink)) center / 12px 1.6px no-repeat, linear-gradient(var(--w-ink), var(--w-ink)) center / 1.6px 12px no-repeat;
}

body.ldc-cart1 .quantity[data-type] .ct-increase::after,
body.ldc-cart1 .quantity[data-type] .ct-decrease::after {
	display: none;
}

body.ldc-cart1 .ct-product-multiply-symbol {
	flex: none;
	font-size: 13px;
	color: var(--w-ink-3);
}

body.ldc-cart1 .product-mobile-actions > .woocommerce-Price-amount {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 16px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--w-ink);
}

body.ldc-cart1 table.cart td.product-name p.price {
	display: none;
}

body.ldc-cart1 table.cart a.remove {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 -12px 0 auto;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--w-ink-3);
}

body.ldc-cart1 table.cart a.remove svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

@media (hover: hover) {
	body.ldc-cart1 table.cart a.remove:hover {
		background: var(--w-tile);
		color: var(--w-ink);
	}
}

/* ---------- Gutschein (eingeklappt) + „Warenkorb aktualisieren“ (läuft automatisch) ---------- */
body.ldc-cart1 table.cart tr:not(.cart_item) {
	display: block;
	border-top: 1px solid var(--w-line);
}

body.ldc-cart1 table.cart td.actions {
	display: block;
	padding: 4px 0 0;
	text-align: left;
}

body.ldc-cart1 table.cart td.actions > button[name="update_cart"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

body.ldc-cart1 .ldcw-coupon-toggle {
	display: block;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--w-ink-2);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	cursor: pointer;
}

body.ldc-cart1 .woocommerce-cart-form .coupon {
	display: flex;
	gap: 8px;
	width: auto;
	margin: 0 0 12px;
	padding: 0;
	float: none;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw]:not(.is-open) {
	display: none;
}

body.ldc-cart1 .woocommerce-cart-form .coupon input.input-text {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--w-tile);
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	color: var(--w-ink);
}

body.ldc-cart1 .woocommerce-cart-form .coupon input.input-text:focus {
	border-color: var(--w-ink);
	background: #fff;
	outline: none;
}

body.ldc-cart1 .woocommerce-cart-form .coupon button.button {
	flex: none;
	width: auto;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--w-ink);
	box-shadow: none;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

/* ---------- Zusammenfassung ---------- */
body.ldc-cart1 .cart_totals {
	float: none;
	width: auto;
	margin: 6px 0 0;
	padding: 18px 0 0;
	border: 0;
	border-top: 1px solid var(--w-line);
	border-radius: 0;
	background: none;
	box-shadow: none;
}

body.ldc-cart1 .cart_totals > h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

body.ldc-cart1 .cart_totals table.shop_table,
body.ldc-cart1 .cart_totals table.shop_table tbody {
	display: block;
}

body.ldc-cart1 .cart_totals table.shop_table tr {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 5px 0;
	border: 0;
}

body.ldc-cart1 .cart_totals table.shop_table th,
body.ldc-cart1 .cart_totals table.shop_table td {
	display: block;
	width: auto;
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 400;
	color: var(--w-ink-2);
	text-align: left;
}

body.ldc-cart1 .cart_totals table.shop_table td {
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--w-ink);
}

body.ldc-cart1 .cart_totals table.shop_table td::before {
	display: none;
}

body.ldc-cart1 .cart_totals tr.ldcw-ship td {
	color: var(--w-ink-3);
}

body.ldc-cart1 .cart_totals tr.cart-discount td {
	color: var(--w-ink);
}

body.ldc-cart1 .cart_totals tr.cart-discount a.woocommerce-remove-coupon {
	margin-left: 6px;
	font-size: 13px;
	color: var(--w-ink-3);
	text-decoration: underline;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals {
	display: block;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

body.ldc-cart1 .cart_totals tr.order-total {
	margin-top: 10px;
	padding-top: 14px !important;
	border-top: 1px solid var(--w-line) !important;
}

body.ldc-cart1 .cart_totals tr.order-total th {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--w-ink);
}

body.ldc-cart1 .cart_totals tr.order-total td strong {
	display: block;
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: -0.035em;
	font-weight: 800;
	color: var(--w-ink);
}

body.ldc-cart1 .cart_totals tr.order-total td small {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--w-ink-3);
}

/* ---------- Zur Kasse ---------- */
body.ldc-cart1 .wc-proceed-to-checkout {
	margin: 18px 0 0;
	padding: 0;
}

body.ldc-cart1 .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--w-buy);
	box-shadow: none;
	font-size: 17.5px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

body.ldc-cart1 .wc-proceed-to-checkout a.checkout-button:hover {
	background: #1a5cd6;
}

body.ldc-cart1 .wc-proceed-to-checkout a.checkout-button:active {
	transform: scale(0.985);
}

body.ldc-cart1 .ldcw-trust {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

body.ldc-cart1 .ldcw-trust li {
	position: relative;
	margin: 0;
	padding: 3px 0 3px 26px;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--w-ink-2);
}

body.ldc-cart1 .ldcw-trust li::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 0;
	width: 17px;
	height: 17px;
	background: center / contain no-repeat;
}

body.ldc-cart1 .ldcw-trust__pay::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348484d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.8a4 4 0 0 1 8 0v2.7'/%3E%3C/svg%3E");
}

body.ldc-cart1 .ldcw-trust__cust::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348484d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Mitlaufende Kassenzeile (nur mobil, nur wenn der Knopf nicht im Bild ist) ---------- */
body.ldc-cart1 .ldcw-sticky {
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px 10px 18px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: saturate(1.5) blur(18px);
	backdrop-filter: saturate(1.5) blur(18px);
	box-shadow: 0 12px 34px rgba(18, 18, 18, 0.16), 0 0 0 1px rgba(18, 18, 18, 0.06);
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

body.ldc-cart1 .ldcw-sticky[hidden] {
	display: none;
}

body.ldc-cart1 .ldcw-sticky.is-on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

body.ldc-cart1 .ldcw-sticky__sum {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.ldc-cart1 .ldcw-sticky__l {
	font-size: 12px;
	line-height: 1.2;
	color: var(--w-ink-3);
}

body.ldc-cart1 .ldcw-sticky__v {
	font-size: 17px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
	white-space: nowrap;
	color: var(--w-ink);
}

body.ldc-cart1 .ldcw-sticky__go {
	flex: none;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--w-buy);
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

/* ---------- Leerer Warenkorb ---------- */
body.ldc-cart1 .wc-empty-cart-message {
	margin: 0;
}

body.ldc-cart1 .cart-empty.woocommerce-info {
	margin: 18px 0 0;
	padding: 0;
	background: none;
	font-size: 17px;
	line-height: 1.4;
	color: var(--w-ink-2);
	text-align: left;
}

body.ldc-cart1 p.return-to-shop {
	margin: 22px 0 0;
	text-align: left;
}

body.ldc-cart1 p.return-to-shop a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--w-ink);
	box-shadow: none;
	font-size: 16.5px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

/* ---------- Tablet ---------- */
@media (min-width: 690px) {
	body.ldc-cart1 #main .ct-container-full,
	body.ldc-cart1 #main .ct-container {
		padding: 0 32px 80px;
	}

	body.ldc-cart1 .hero-section {
		padding-top: 44px;
	}

	body.ldc-cart1 .hero-section .page-title {
		font-size: 40px;
	}

	body.ldc-cart1 .woocommerce {
		max-width: 620px;
		margin-top: 22px;
	}

	body.ldc-cart1 .ldcw-sticky {
		display: none;
	}
}

/* ---------- Desktop: links die Artikel, rechts die Zusammenfassung auf ruhiger Fläche ---------- */
@media (min-width: 1000px) {
	body.ldc-cart1 .hero-section {
		padding-top: 64px;
	}

	body.ldc-cart1 .hero-section .page-title {
		font-size: 52px;
	}

	body.ldc-cart1 .woocommerce {
		max-width: none;
		margin-top: 34px;
	}

	body.ldc-cart1 .ct-woocommerce-cart-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: 64px;
		align-items: start;
	}

	body.ldc-cart1 table.cart tr.cart_item {
		grid-template-columns: 104px minmax(0, 1fr) auto auto 44px;
		gap: 0 20px;
		align-items: center;
		padding: 22px 0;
	}

	body.ldc-cart1 table.cart td.product-thumbnail .ct-media-container,
	body.ldc-cart1 table.cart td.product-thumbnail a {
		width: 104px;
		height: 104px;
	}

	body.ldc-cart1 table.cart td.product-name > a {
		padding: 0;
		font-size: 18px;
	}

	body.ldc-cart1 table.cart td.product-name p.price {
		display: block;
		margin: 4px 0 0;
		font-size: 14px;
		color: var(--w-ink-3);
	}

	body.ldc-cart1 .product-mobile-actions {
		display: none;
	}

	body.ldc-cart1 table.cart td.product-quantity,
	body.ldc-cart1 table.cart td.product-subtotal,
	body.ldc-cart1 table.cart td.product-remove {
		display: block;
	}

	body.ldc-cart1 table.cart td.product-subtotal {
		min-width: 110px;
		font-size: 17px;
		font-weight: 600;
		font-variant-numeric: tabular-nums;
		white-space: nowrap;
		text-align: right;
	}

	body.ldc-cart1 table.cart a.remove {
		margin: 0;
	}

	body.ldc-cart1 table.cart td.actions {
		padding-top: 8px;
	}

	body.ldc-cart1 .woocommerce-cart-form .coupon {
		max-width: 420px;
	}

	body.ldc-cart1 .cart_totals {
		position: sticky;
		top: 32px;
		margin: 0;
		padding: 30px 30px 28px;
		border: 0;
		border-radius: 26px;
		background: var(--w-tile);
	}

	body.ldc-cart1 .cart_totals > h2 {
		position: static;
		width: auto;
		height: auto;
		margin: 0 0 14px;
		overflow: visible;
		clip: auto;
		font-size: 20px;
		line-height: 1.2;
		letter-spacing: -0.03em;
		font-weight: 700;
		color: var(--w-ink);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ldc-cart1 * {
		transition: none !important;
	}
}

/* ---------- Korrekturen nach der ersten Sichtprüfung ---------- */
/* bis 999 px gelten nur die Angaben im Namensfeld (Menge · Preis · Entfernen); die Tabellenspalten sind für den Desktop */
@media (max-width: 999.98px) {
	body.ldc-cart1 table.cart tr.cart_item td.product-quantity,
	body.ldc-cart1 table.cart tr.cart_item td.product-subtotal,
	body.ldc-cart1 table.cart tr.cart_item td.product-remove {
		display: none !important;
	}

	body.ldc-cart1 table.cart tr.cart_item {
		position: relative;
	}

	body.ldc-cart1 table.cart td.product-name > a {
		padding-right: 40px; /* Platz für „Entfernen“ oben rechts */
	}

	body.ldc-cart1 .product-mobile-actions {
		justify-content: space-between;
		margin-top: 14px;
	}

	body.ldc-cart1 .product-mobile-actions .ct-product-multiply-symbol {
		display: none;
	}

	body.ldc-cart1 .product-mobile-actions > .woocommerce-Price-amount {
		flex: 0 1 auto;
		text-align: right;
	}

	body.ldc-cart1 .product-mobile-actions a.remove {
		position: absolute;
		top: 8px;
		right: -12px;
		margin: 0;
	}
}

body.ldc-cart1 .ldcw-trust li.ldcw-trust__pay::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348484d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.8a4 4 0 0 1 8 0v2.7'/%3E%3C/svg%3E");
}

body.ldc-cart1 .ldcw-trust li.ldcw-trust__cust::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348484d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* mobil kompakter: der Kassen-Knopf soll bei einem Produkt im ersten Bildschirm liegen */
@media (max-width: 689.98px) {
	body.ldc-cart1 .hero-section {
		padding-top: 20px;
	}

	body.ldc-cart1 .hero-section .page-title {
		font-size: 28px;
	}

	body.ldc-cart1 .woocommerce {
		margin-top: 12px;
	}

	body.ldc-cart1 .woocommerce-message,
	body.ldc-cart1 .woocommerce-info {
		padding: 10px 14px;
		font-size: 13.5px;
	}

	body.ldc-cart1 table.cart tr.cart_item {
		padding: 16px 0;
	}

	body.ldc-cart1 .cart_totals {
		margin-top: 0;
		padding-top: 12px;
	}

	body.ldc-cart1 .cart_totals tr.order-total {
		margin-top: 6px;
		padding-top: 10px !important;
	}

	body.ldc-cart1 .wc-proceed-to-checkout {
		margin-top: 14px;
	}
}

@media (min-width: 1000px) {
	body.ldc-cart1 table.cart tr.cart_item {
		grid-template-columns: 104px minmax(150px, 1fr) auto auto 44px;
		gap: 0 16px;
	}

	body.ldc-cart1 table.cart td.product-subtotal {
		min-width: 96px;
	}

	body.ldc-cart1 .woocommerce-notices-wrapper {
		max-width: calc(100% - 464px);
	}
}

/* mobil: „Menge × Einzelpreis“ bleibt als Angabe erhalten (die Summe steht in der Zusammenfassung) */
@media (max-width: 999.98px) {
	body.ldc-cart1 .product-mobile-actions {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 6px 8px;
	}

	body.ldc-cart1 .product-mobile-actions .ct-product-multiply-symbol {
		display: inline;
		margin-left: auto;
	}

	body.ldc-cart1 .product-mobile-actions > .woocommerce-Price-amount {
		flex: none;
	}
}

@media (max-width: 359.98px) {
	body.ldc-cart1 table.cart tr.cart_item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 0 14px;
	}

	body.ldc-cart1 table.cart td.product-thumbnail .ct-media-container,
	body.ldc-cart1 table.cart td.product-thumbnail a {
		width: 72px;
		height: 72px;
	}

	body.ldc-cart1 .quantity[data-type] {
		width: 100px;
	}

	body.ldc-cart1 .quantity[data-type] .ct-increase,
	body.ldc-cart1 .quantity[data-type] .ct-decrease {
		width: 38px;
	}
}

/* Fehlermeldung zum Gutschein (WooCommerce setzt sie in das Gutscheinfeld) */
body.ldc-cart1 .woocommerce-cart-form .coupon {
	flex-wrap: wrap;
}

body.ldc-cart1 .woocommerce-cart-form .coupon .coupon-error-notice {
	flex: 0 0 100%;
	order: 5;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--w-error);
}

body.ldc-cart1 .woocommerce-cart-form .coupon input.input-text.has-error {
	border-color: var(--w-error);
}

/* mobil: „×“ gehört fest zum Einzelpreis (bleibt auch beim Umbruch langer Währungen zusammen) */
@media (max-width: 999.98px) {
	body.ldc-cart1 .product-mobile-actions .ct-product-multiply-symbol {
		display: none;
	}

	body.ldc-cart1 .product-mobile-actions > .woocommerce-Price-amount {
		margin-left: auto;
	}

	body.ldc-cart1 .product-mobile-actions > .woocommerce-Price-amount::before {
		content: "×\00a0";
		font-size: 13px;
		font-weight: 400;
		color: var(--w-ink-3);
	}
}

/* leerer Warenkorb: ohne Hinweisfläche */
body.ldc-cart1 .woocommerce .cart-empty.woocommerce-info,
body.ldc-cart1 .woocommerce .wc-empty-cart-message .woocommerce-info {
	min-height: 0 !important;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 17px;
	color: var(--w-ink-2);
}

@media (min-width: 1000px) {
	body.ldc-cart1 .woocommerce .cart-empty.woocommerce-info {
		font-size: 19px;
	}

	body.ldc-cart1 p.return-to-shop a.button {
		min-height: 56px;
		padding: 0 34px;
		font-size: 17px;
	}
}

/* ---------- Übergänge ---------- */
/* sehr schmale Bildschirme (Fold außen, iPhone SE 1) */
@media (max-width: 359.98px) {
	body.ldc-cart1 .quantity[data-type] {
		width: 92px;
	}

	body.ldc-cart1 .quantity[data-type] .ct-increase,
	body.ldc-cart1 .quantity[data-type] .ct-decrease {
		width: 34px;
	}

	body.ldc-cart1 .product-mobile-actions a.remove {
		right: -8px;
	}

	body.ldc-cart1 .cart_totals table.shop_table tr {
		flex-wrap: wrap;
		gap: 2px 12px;
	}

	body.ldc-cart1 .cart_totals table.shop_table td {
		margin-left: auto;
	}

	body.ldc-cart1 .cart_totals tr.order-total td strong {
		font-size: 21px;
	}
}

/* schmaler Desktop / Tablet quer: Zusammenfassung schmaler, Artikelzeile kompakter – nichts überdeckt sich */
@media (min-width: 1000px) and (max-width: 1199.98px) {
	body.ldc-cart1 .ct-woocommerce-cart-form {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 40px;
	}

	body.ldc-cart1 table.cart tr.cart_item {
		grid-template-columns: 88px minmax(110px, 1fr) auto auto 40px;
		gap: 0 12px;
	}

	body.ldc-cart1 table.cart td.product-thumbnail .ct-media-container,
	body.ldc-cart1 table.cart td.product-thumbnail a {
		width: 88px;
		height: 88px;
	}

	body.ldc-cart1 table.cart td.product-name > a {
		font-size: 16.5px;
	}

	body.ldc-cart1 .quantity[data-type] {
		width: 104px;
	}

	body.ldc-cart1 .quantity[data-type] .ct-increase,
	body.ldc-cart1 .quantity[data-type] .ct-decrease {
		width: 38px;
	}

	body.ldc-cart1 table.cart td.product-subtotal {
		min-width: 84px;
		font-size: 16px;
	}

	body.ldc-cart1 .cart_totals {
		padding: 24px 22px 22px;
	}

	body.ldc-cart1 .woocommerce-notices-wrapper {
		max-width: calc(100% - 380px);
	}
}

/* Gutschein-Knopf: neutral (Schwarz), nie in Kaufblau */
body.ldc-cart1 .woocommerce-cart-form .coupon {
	flex-wrap: wrap;
	align-items: center;
}

body.ldc-cart1 .woocommerce-cart-form .coupon input.input-text {
	flex: 1 1 140px !important;
	width: auto !important;
}

body.ldc-cart1 .woocommerce-cart-form .coupon button.button[name="apply_coupon"] {
	flex: none !important;
	width: auto !important;
	height: 48px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--w-ink) !important;
	box-shadow: none !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
}

/* =========================================================================
   Feinschliff 12.10.2026 (Rückmeldung des Nutzers): Gutscheinfeld kompakt, Versand ruhig, Hinweise proportional.
   ========================================================================= */

/* ---------- Hinweise: eine ruhige, schmale Zeile ---------- */
body.ldc-cart1 .woocommerce .woocommerce-notices-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	max-width: none;
	margin: 0;
}

body.ldc-cart1 .woocommerce .woocommerce-notices-wrapper:empty {
	display: none;
}

body.ldc-cart1 .woocommerce .woocommerce-message,
body.ldc-cart1 .woocommerce .woocommerce-info:not(.cart-empty),
body.ldc-cart1 .woocommerce .woocommerce-error {
	display: block !important;
	width: fit-content;
	max-width: 100%;
	min-height: 0 !important;
	margin: 0 0 12px !important;
	padding: 9px 14px 9px 36px !important;
	border-radius: 12px;
	background: var(--w-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348484d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 12px 10px / 16px no-repeat;
	font-size: 13.5px;
	line-height: 1.35;
	font-weight: 400;
	color: var(--w-ink-2);
}

body.ldc-cart1 .woocommerce .woocommerce-notices-wrapper > :last-child {
	margin-bottom: 14px !important;
}

body.ldc-cart1 .woocommerce .woocommerce-error {
	padding-left: 14px !important;
	background: #fbeceb;
	color: var(--w-error);
}

body.ldc-cart1 .woocommerce .woocommerce-message > *:not(a),
body.ldc-cart1 .woocommerce .woocommerce-info > *:not(a) {
	margin: 0;
}

@media (min-width: 1000px) {
	body.ldc-cart1 .woocommerce .woocommerce-notices-wrapper {
		max-width: none;
	}

	body.ldc-cart1 .woocommerce .woocommerce-message,
	body.ldc-cart1 .woocommerce .woocommerce-info:not(.cart-empty),
	body.ldc-cart1 .woocommerce .woocommerce-error {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		font-size: 14px;
		background-position: 12px 11px;
	}
}

/* ---------- Gutschein: geschlossen eine leise Textzeile, geöffnet ein kompaktes Feld mit „Einlösen“ darin ---------- */
body.ldc-cart1 table.cart td.actions {
	padding: 2px 0 2px;
}

body.ldc-cart1 .ldcw-coupon-toggle {
	min-height: 40px;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--w-ink-3);
	text-decoration-color: rgba(18, 18, 18, 0.25);
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw].is-open {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0;
	width: 100%;
	max-width: 340px;
	margin: 0 0 10px !important;
	padding: 0 4px 0 0;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--w-tile);
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw].is-open:focus-within {
	border-color: var(--w-ink);
	background: #fff;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw] input.input-text {
	grid-column: 1;
	width: 100% !important;
	height: 44px !important;
	min-height: 0 !important;
	padding: 0 8px 0 14px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: none !important;
	box-shadow: none !important;
	font-size: 16px !important; /* iOS zoomt bei kleineren Schriften in das Feld */
	line-height: 1.2 !important;
	text-align: left !important;
	color: var(--w-ink) !important;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw] input.input-text::placeholder {
	color: var(--w-ink-3);
	opacity: 1;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw] button.button[name="apply_coupon"] {
	grid-column: 2;
	height: 36px !important;
	padding: 0 14px !important;
	border-radius: 9px !important;
	background: none !important;
	font-size: 14.5px !important;
	font-weight: 600 !important;
	color: var(--w-ink) !important;
}

@media (hover: hover) {
	body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw] button.button[name="apply_coupon"]:hover {
		background: rgba(18, 18, 18, 0.06) !important;
	}
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw].is-open:has(.coupon-error-notice) {
	border-color: rgba(179, 38, 30, 0.55);
	margin-bottom: 30px !important; /* Platz für die Meldung unter dem Feld */
	position: relative;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw] .coupon-error-notice {
	position: absolute;
	top: calc(100% + 6px);
	left: 2px;
	right: 0;
	grid-column: 1 / -1;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.3;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--w-error);
}

/* ---------- Versand (nur wenn WooCommerce ihn berechnet hat): Bezeichnung links, Versandart und Betrag rechts, Ziel klein darunter ---------- */
body.ldc-cart1 .cart_totals table.shop_table tr.woocommerce-shipping-totals {
	display: block;
	padding: 5px 0;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals > td {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 16px;
	align-items: baseline;
	width: 100%;
	text-align: left;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals .ct-shipping-heading {
	grid-column: 1;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 400;
	color: var(--w-ink-2);
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method {
	grid-column: 2;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method li {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method label {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	color: var(--w-ink);
	font-variant-numeric: tabular-nums;
}

/* mehrere Versandarten zur Wahl: Liste über die volle Breite, je Zeile Auswahl links und Betrag rechts */
body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method:has(li:nth-child(2)) {
	grid-column: 1 / -1;
	margin-top: 4px;
	text-align: left;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method:has(li:nth-child(2)) li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals ul#shipping_method input[type="radio"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--w-ink);
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals .woocommerce-shipping-destination {
	grid-column: 1 / -1;
	margin: 2px 0 0;
	padding: 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--w-ink-3);
	text-align: left;
	text-wrap: pretty;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals .woocommerce-shipping-destination strong {
	font-weight: 400;
	color: inherit;
}

body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals .woocommerce-shipping-calculator,
body.ldc-cart1 .cart_totals tr.woocommerce-shipping-totals .shipping-calculator-button {
	grid-column: 1 / -1;
	font-size: 12.5px;
	color: var(--w-ink-3);
}

/* ---------- Mitlaufende Kassenzeile: nie über einem offenen Gutscheinfeld oder der Tastatur ---------- */
body.ldc-cart1.ldcw-coupon-open .ldcw-sticky,
body.ldc-cart1.ldcw-typing .ldcw-sticky {
	opacity: 0 !important;
	transform: translateY(16px) !important;
	pointer-events: none !important;
}

/* längere Gutschein-Meldungen dürfen zwei Zeilen haben (nichts wird abgeschnitten) */
body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw].is-open:has(.coupon-error-notice) {
	margin-bottom: 46px !important;
}

body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw] .coupon-error-notice {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
}

@media (max-width: 359.98px) {
	body.ldc-cart1 .woocommerce-cart-form .coupon[data-ldcw].is-open:has(.coupon-error-notice) {
		margin-bottom: 64px !important; /* sehr schmal: die Meldung kann drei Zeilen haben */
	}
}
