/* ==========================================================================
   Zauberliebe – WooCommerce im Zauberliebe-Design
   Ersetzt woocommerce-general.css (Farben, Buttons, Sterne). Layout-CSS von
   WooCommerce bleibt aktiv; hier wird es auf Grid umgestellt.
   ========================================================================== */

/* ---------- Grundgerüst ---------- */
.zl-wc__inner { padding-top: 2.5rem; }
.zl-wc__head + .zl-wc__inner { padding-top: 0; }
.zl-wc--single .zl-wc__inner { padding-top: 2rem; }

.zl-breadcrumb { margin: 0 0 2rem; font-size: .8rem; letter-spacing: .02em; color: var(--zl-muted-fg); }
.zl-breadcrumb a { color: var(--zl-muted-fg); transition: color .2s; }
.zl-breadcrumb a:hover { color: var(--zl-cocoa); }
.zl-crumb-sep { margin: 0 .5rem; color: var(--zl-rose); }

body.zl .woocommerce-products-header { margin-bottom: 2.5rem; }
body.zl .woocommerce-products-header__title {
	margin: 0; font-size: clamp(2.75rem, 1.9rem + 3.2vw, 3.75rem); line-height: 1.05;
}
body.zl .term-description { max-width: 42rem; margin-top: 1rem; color: var(--zl-muted-fg); font-size: 1.125rem; line-height: 1.625; }
body.zl .term-description p { margin: 0; }

/* ---------- Werkzeugleiste (Anzahl, Sortierung) ---------- */
body.zl .woocommerce-result-count { float: left; margin: 0 0 2rem; padding-top: .7rem; font-size: .85rem; color: var(--zl-muted-fg); }
body.zl .woocommerce-ordering { float: right; margin: 0 0 2rem; }
@media (max-width: 559px) { body.zl .woocommerce-result-count { float: none; margin-bottom: .75rem; } body.zl .woocommerce-ordering { float: none; } }
body.zl .woocommerce-ordering select,
body.zl .zl-wc select:not(.select2-hidden-accessible),
body.zl .woocommerce form .form-row select {
	padding: .7rem 2.6rem .7rem 1.1rem;
	border: 1px solid var(--zl-border); border-radius: 999px;
	background-color: var(--zl-card);
	color: var(--zl-cocoa); font-size: .9rem;
	-webkit-appearance: none; appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--zl-muted-fg) 50%), linear-gradient(135deg, var(--zl-muted-fg) 50%, transparent 50%);
	background-position: calc(100% - 1.25rem) 50%, calc(100% - .95rem) 50%;
	background-size: .32rem .32rem, .32rem .32rem;
	background-repeat: no-repeat;
}

/* ---------- Produktraster ---------- */
body.zl ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 2.5rem 1.5rem;
	margin: 0; padding: 0; list-style: none;
	clear: both;
}
@media (min-width: 1024px) {
	body.zl ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
	body.zl ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 559px) { body.zl ul.products { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
body.zl ul.products::before, body.zl ul.products::after { display: none !important; content: none !important; }
body.zl ul.products li.product {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start;
	float: none !important; width: auto !important; margin: 0 !important; padding: 0;
	clear: none !important;
	text-align: left;
}
body.zl ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; width: 100%; color: inherit; }
body.zl ul.products li.product img {
	width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
	margin: 0 0 1rem;
	border-radius: 1.75rem; background: var(--zl-muted);
	box-shadow: 0 0 0 rgb(0 0 0 / 0);
	transition: transform .5s var(--zl-ease), box-shadow .5s var(--zl-ease);
}
body.zl ul.products li.product:hover img { transform: translateY(-4px); box-shadow: var(--zl-shadow-rose); }
body.zl ul.products li.product .woocommerce-loop-product__title,
body.zl ul.products li.product h2, body.zl ul.products li.product h3 {
	margin: 0; padding: 0 .25rem;
	font-family: var(--zl-font-display); font-size: 1.375rem; font-weight: 400; line-height: 1.25; color: var(--zl-cocoa);
}
body.zl ul.products li.product .price {
	display: block; margin: .3rem 0 0; padding: 0 .25rem;
	color: var(--zl-muted-fg); font-size: 1rem; font-weight: 400;
}
body.zl ul.products li.product .star-rating { margin: .4rem .25rem 0; }
body.zl ul.products li.product .button { margin: 1rem 0 0 .25rem; }
body.zl ul.products li.product .added_to_cart { display: none; }
body.zl ul.products li.product .wc-gzd-additional-info,
body.zl ul.products li.product .price-unit,
body.zl ul.products li.product .tax-info,
body.zl ul.products li.product .shipping-costs-info { display: block; margin: .15rem .25rem 0; font-size: .72rem; color: var(--zl-muted-fg); }

/* Etiketten */
body.zl .onsale,
.zl-soldout {
	position: absolute; top: .9rem; left: .9rem; z-index: 2;
	min-width: 0; min-height: 0; margin: 0; padding: .3rem .75rem;
	border-radius: 999px; background: var(--zl-rose); color: var(--zl-cocoa);
	font-size: .7rem; font-weight: 400; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase;
}
.zl-soldout { background: color-mix(in oklab, var(--zl-bg) 92%, transparent); }
body.zl ul.products li.product.outofstock img { filter: grayscale(.35); opacity: .85; }
body.zl div.product > .onsale { top: 1.25rem; left: 1.25rem; }

/* Preise */
body.zl .price del { opacity: .6; font-size: .9em; margin-right: .35rem; }
body.zl .price ins { text-decoration: none; color: var(--zl-cocoa); }

/* ---------- Buttons (WooCommerce-Klassen → Zauberliebe) ---------- */
body.zl .woocommerce a.button, body.zl .woocommerce button.button, body.zl .woocommerce input.button,
body.zl a.button, body.zl button.button, body.zl input.button,
body.zl .woocommerce #respond input#submit,
body.zl .wc-block-components-button:not(.is-link),
body.zl .wp-block-button.wc-block-components-product-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 0;
	padding: .8rem 1.5rem;
	border: 1px solid transparent; border-radius: 999px;
	background: var(--zl-primary); color: var(--zl-bg);
	font-family: var(--zl-font-sans); font-size: .95rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em;
	text-decoration: none; text-shadow: none;
	box-shadow: var(--zl-shadow-btn);
	cursor: pointer;
	transition: transform .2s var(--zl-ease), background .2s, opacity .2s;
}
body.zl a.button:hover, body.zl button.button:hover, body.zl input.button:hover,
body.zl .wc-block-components-button:not(.is-link):hover {
	background: color-mix(in oklab, var(--zl-cocoa) 88%, var(--zl-rose)); color: var(--zl-bg); transform: translateY(-1px);
}
body.zl ul.products li.product .button { padding: .55rem 1.1rem; font-size: .85rem; }
body.zl ul.products li.product .button:not(.add_to_cart_button),
body.zl ul.products li.product .button.product_type_variable,
body.zl ul.products li.product .button.product_type_grouped,
body.zl ul.products li.product .button.product_type_external,
body.zl a.button.wc-backward, body.zl .woocommerce-MyAccount-content a.button.alt-ghost {
	background: transparent; color: var(--zl-cocoa); border-color: var(--zl-border); box-shadow: none; font-weight: 400;
}
body.zl ul.products li.product .button:not(.add_to_cart_button):hover,
body.zl ul.products li.product .button.product_type_variable:hover { background: color-mix(in oklab, var(--zl-rose-soft) 50%, transparent); color: var(--zl-cocoa); transform: none; }
body.zl .button.loading { opacity: .6; pointer-events: none; }
body.zl .button.added::after {
	content: ""; width: .9rem; height: .9rem; background: currentColor;
	-webkit-mask: var(--zl-i-check) center / contain no-repeat; mask: var(--zl-i-check) center / contain no-repeat;
}
body.zl .button:disabled, body.zl .button.disabled, body.zl .button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Bewertungssterne (ohne WooCommerce-Iconfont) ---------- */
body.zl .star-rating {
	position: relative; display: inline-block; overflow: hidden;
	width: 5.5rem; height: 1rem; font-size: 0; line-height: 0;
}
body.zl .star-rating::before,
body.zl .star-rating span::before {
	content: ""; position: absolute; inset: 0;
	-webkit-mask: var(--zl-i-star-fill) left center / 1.1rem 1rem repeat-x; mask: var(--zl-i-star-fill) left center / 1.1rem 1rem repeat-x;
}
body.zl .star-rating::before { background: var(--zl-border); }
body.zl .star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 0; }
body.zl .star-rating span::before { width: 5.5rem; background: var(--zl-rose); }
body.zl .star-rating span strong { display: none; }

body.zl p.stars { display: inline-flex; gap: .15rem; margin: .25rem 0 1rem; }
body.zl p.stars span { display: inline-flex; gap: .15rem; }
body.zl p.stars a {
	position: relative; display: inline-block; width: 1.5rem; height: 1.5rem;
	font-size: 0; text-indent: -999em; overflow: hidden;
}
body.zl p.stars a::before {
	content: ""; position: absolute; inset: 0; text-indent: 0;
	background: var(--zl-border);
	-webkit-mask: var(--zl-i-star-fill) center / contain no-repeat; mask: var(--zl-i-star-fill) center / contain no-repeat;
	transition: background .15s;
}
body.zl p.stars:hover a::before { background: var(--zl-rose); }
body.zl p.stars:hover a:hover ~ a::before { background: var(--zl-border); }
body.zl p.stars.selected a::before { background: var(--zl-rose); }
body.zl p.stars.selected a.active ~ a::before { background: var(--zl-border); }
body.zl p.stars.selected:hover a::before { background: var(--zl-rose); }
body.zl p.stars.selected:hover a:hover ~ a::before { background: var(--zl-border); }

/* ---------- Produktseite ---------- */
body.zl div.product {
	position: relative;
	display: grid; gap: 3rem;
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) { body.zl div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem 5rem; } }
body.zl div.product div.images,
body.zl div.product div.summary {
	float: none !important; width: auto !important; margin: 0 !important;
}
body.zl div.product .woocommerce-tabs,
body.zl div.product .related,
body.zl div.product .upsells,
body.zl div.product > .wc-gzd-additional-info,
body.zl div.product > .clear { grid-column: 1 / -1; }

body.zl .woocommerce-product-gallery { position: relative; }
body.zl .woocommerce-product-gallery .flex-viewport,
body.zl .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border-radius: 2rem; overflow: hidden; box-shadow: var(--zl-shadow-rose); }
body.zl .woocommerce-product-gallery__image img { width: 100%; height: auto; border-radius: 0; }
body.zl .woocommerce-product-gallery__wrapper { margin: 0; }
body.zl .woocommerce-product-gallery__trigger {
	position: absolute; top: 1rem; right: 1rem; z-index: 5;
	display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
	border-radius: 999px; background: color-mix(in oklab, var(--zl-bg) 90%, transparent);
	font-size: 0; text-indent: -999em; overflow: hidden; box-shadow: var(--zl-shadow-xl);
}
body.zl .woocommerce-product-gallery__trigger::before {
	content: ""; position: absolute; inset: 0; margin: auto; width: 1.15rem; height: 1.15rem; text-indent: 0;
	background: var(--zl-cocoa);
	-webkit-mask: var(--zl-i-search) center / contain no-repeat; mask: var(--zl-i-search) center / contain no-repeat;
}
body.zl .woocommerce-product-gallery__trigger img { display: none !important; }
body.zl .woocommerce-product-gallery .flex-control-thumbs {
	display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0 0; padding: 0; list-style: none;
}
body.zl .woocommerce-product-gallery .flex-control-thumbs li { width: 5rem !important; float: none !important; margin: 0 !important; }
body.zl .woocommerce-product-gallery .flex-control-thumbs img {
	width: 5rem; height: 5rem; object-fit: cover; border-radius: .9rem; cursor: pointer;
	opacity: .55; transition: opacity .2s; border: 2px solid transparent;
}
body.zl .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.zl .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--zl-rose); }

body.zl div.product .summary > * { margin-top: 0; margin-bottom: 0; }
body.zl div.product .summary > * + * { margin-top: 1.25rem; }
body.zl div.product .product_title { font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); line-height: 1.08; }
body.zl div.product .summary .price { font-size: 1.4rem; color: var(--zl-cocoa); }
body.zl div.product .summary .price del { color: var(--zl-muted-fg); }
body.zl div.product .woocommerce-product-details__short-description { color: var(--zl-muted-fg); font-size: 1.05rem; line-height: 1.7; }
body.zl div.product .woocommerce-product-details__short-description > :first-child { margin-top: 0; }
body.zl div.product .woocommerce-product-details__short-description > :last-child { margin-bottom: 0; }
body.zl div.product .woocommerce-product-rating { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
body.zl div.product .woocommerce-review-link { color: var(--zl-muted-fg); }

body.zl div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
body.zl div.product form.cart::before, body.zl div.product form.cart::after { display: none; }
body.zl div.product form.cart.variations_form { display: block; }
body.zl div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; }
body.zl div.product form.cart .single_add_to_cart_button { flex: 1 1 14rem; padding: .95rem 1.75rem; font-size: 1rem; }
body.zl div.product form.cart .single_add_to_cart_button::before {
	content: ""; width: 1.1rem; height: 1.1rem; background: currentColor;
	-webkit-mask: var(--zl-i-bag) center / contain no-repeat; mask: var(--zl-i-bag) center / contain no-repeat;
}
body.zl .quantity { display: inline-flex; float: none !important; margin: 0 !important; }
body.zl .quantity .qty {
	width: 5.5rem; padding: .85rem .75rem;
	border: 1px solid var(--zl-border); border-radius: 999px;
	background: var(--zl-card); color: var(--zl-cocoa); text-align: center; font-size: 1rem;
}
body.zl .quantity .qty:focus { outline: none; border-color: var(--zl-rose); box-shadow: 0 0 0 4px color-mix(in oklab, var(--zl-rose) 22%, transparent); }

body.zl table.variations { width: 100%; border: 0; border-collapse: collapse; margin: 0; }
body.zl table.variations tr { display: grid; gap: .4rem; margin-bottom: 1rem; }
body.zl table.variations th, body.zl table.variations td { display: block; padding: 0; border: 0; text-align: left; background: none; }
body.zl table.variations label { font-size: .875rem; font-weight: 500; color: var(--zl-cocoa); }
body.zl table.variations select { width: 100%; max-width: 24rem; border-radius: .875rem !important; padding: .8rem 2.6rem .8rem 1rem !important; }
body.zl .reset_variations { display: inline-block; margin-top: .5rem; font-size: .8rem; color: var(--zl-muted-fg); text-decoration: underline; text-underline-offset: 2px; }
body.zl .woocommerce-variation-price .price { font-size: 1.25rem; }
body.zl .stock { margin: 0; font-size: .875rem; }
body.zl .stock.in-stock { color: color-mix(in oklab, var(--zl-success) 80%, var(--zl-cocoa)); }
body.zl .stock.out-of-stock { color: var(--zl-danger); }

.zl-personal-note {
	display: block; line-height: 1.5;
	padding: .9rem 1.1rem; border-radius: 1rem;
	background: var(--zl-rose-soft-60); color: var(--zl-cocoa); font-size: .9rem;
}
.zl-personal-note .zl-ic { color: var(--zl-rose); font-size: 1.05rem; margin-right: .45rem; vertical-align: -.15em; }
.zl-personal-note a { text-decoration: underline; text-decoration-color: var(--zl-rose); text-underline-offset: 3px; }

body.zl div.product .product_meta {
	padding-top: 1.25rem; border-top: 1px solid var(--zl-border-60);
	display: grid; gap: .25rem; font-size: .8rem; color: var(--zl-muted-fg);
}
body.zl div.product .product_meta a { color: var(--zl-cocoa); }
body.zl div.product .product_meta a:hover { color: var(--zl-rose); }

/* Tabs */
body.zl .woocommerce-tabs { margin-top: 1rem; }
body.zl .woocommerce-tabs ul.tabs {
	display: flex; flex-wrap: nowrap; gap: .5rem; overflow-x: auto; scrollbar-width: none;
	margin: 0 0 2rem; padding: 0 0 1rem; list-style: none;
	border-bottom: 1px solid var(--zl-border-60);
}
body.zl .woocommerce-tabs ul.tabs::before, body.zl .woocommerce-tabs ul.tabs::after { display: none; }
body.zl .woocommerce-tabs ul.tabs li { flex-shrink: 0; margin: 0; padding: 0; border: 0; background: none; white-space: nowrap; }
body.zl .woocommerce-tabs ul.tabs li a {
	display: inline-block; padding: .6rem 1.2rem; border-radius: 999px;
	font-size: .9rem; color: color-mix(in oklab, var(--zl-cocoa) 80%, transparent); transition: background .2s, color .2s;
}
body.zl .woocommerce-tabs ul.tabs li a:hover { background: var(--zl-rose-soft-60); color: var(--zl-cocoa); }
body.zl .woocommerce-tabs ul.tabs li.active a { background: var(--zl-rose-soft); color: var(--zl-cocoa); }
body.zl .woocommerce-Tabs-panel { max-width: 48rem; color: color-mix(in oklab, var(--zl-cocoa) 88%, transparent); line-height: 1.75; }
body.zl .woocommerce-Tabs-panel > h2:first-child { font-size: 1.85rem; margin-top: 0; }
body.zl table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
body.zl table.woocommerce-product-attributes th, body.zl table.woocommerce-product-attributes td { padding: .75rem 0; border-bottom: 1px solid var(--zl-border-60); text-align: left; font-weight: 400; }
body.zl table.woocommerce-product-attributes th { width: 35%; color: var(--zl-muted-fg); font-size: .875rem; }
body.zl table.woocommerce-product-attributes p { margin: 0; }

/* Bewertungen */
body.zl #reviews .commentlist { list-style: none; margin: 0 0 2rem; padding: 0; }
body.zl #reviews .commentlist li { margin: 0 0 1rem; padding: 1.25rem; border: 1px solid var(--zl-border-60); border-radius: 1.25rem; background: var(--zl-card); }
body.zl #reviews .commentlist li img.avatar { float: left; width: 2.75rem; height: 2.75rem; margin-right: 1rem; border-radius: 999px; }
body.zl #reviews .comment-text .meta { margin: 0 0 .5rem; font-size: .8rem; color: var(--zl-muted-fg); }
body.zl #reviews .comment-text .star-rating { float: right; }
body.zl #review_form input[type="text"], body.zl #review_form input[type="email"], body.zl #review_form textarea {
	width: 100%; padding: .75rem 1rem; border: 1px solid var(--zl-border); border-radius: .875rem; background: var(--zl-card);
}
body.zl #review_form label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 500; }

/* Ähnliche Produkte */
body.zl .related > h2, body.zl .upsells > h2, body.zl .cross-sells > h2 {
	margin: 2rem 0 2rem; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
}

/* ---------- Hinweise ---------- */
body.zl .woocommerce-notices-wrapper:empty { display: none; }
body.zl .woocommerce-message, body.zl .woocommerce-info, body.zl .woocommerce-error,
body.zl .wc-block-components-notice-banner {
	position: relative;
	display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
	margin: 0 0 2rem; padding: 1rem 1.25rem; list-style: none;
	border: 1px solid var(--zl-border-60); border-left: 4px solid var(--zl-rose); border-radius: 1rem;
	background: var(--zl-card); color: var(--zl-cocoa); font-size: .95rem;
	box-shadow: none;
}
body.zl .woocommerce-message::before, body.zl .woocommerce-info::before, body.zl .woocommerce-error::before { content: none; }
body.zl .woocommerce-error { border-left-color: var(--zl-danger); flex-direction: column; align-items: flex-start; }
body.zl .woocommerce-error li { margin: 0; }
body.zl .woocommerce-message .button, body.zl .woocommerce-info .button { order: 2; margin-left: auto; padding: .5rem 1rem; font-size: .85rem; }
body.zl .woocommerce-message a:not(.button), body.zl .woocommerce-info a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
body.zl .wc-block-components-notice-banner > svg { fill: var(--zl-rose); background: none; }
body.zl .wc-block-components-notice-banner.is-error { border-left-color: var(--zl-danger); }

/* ---------- Seitenzahlen ---------- */
body.zl .woocommerce-pagination { margin-top: 3.5rem; text-align: center; }
body.zl .woocommerce-pagination ul.page-numbers { display: inline-flex; gap: .5rem; margin: 0; padding: 0; list-style: none; border: 0; }
body.zl .woocommerce-pagination ul.page-numbers li { border: 0; float: none; }
body.zl .woocommerce-pagination .page-numbers a, body.zl .woocommerce-pagination .page-numbers span {
	display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .85rem;
	border: 1px solid var(--zl-border); border-radius: 999px; font-size: .9rem; color: var(--zl-cocoa); background: transparent;
}
body.zl .woocommerce-pagination .page-numbers span.current { background: var(--zl-primary); border-color: var(--zl-primary); color: var(--zl-bg); }
body.zl .woocommerce-pagination .page-numbers a:hover { background: var(--zl-rose-soft); }

/* ---------- Warenkorb, Kasse, Konto (Seiten) ---------- */
.zl-page--shop .entry-content { padding-bottom: 2rem; }

/* WooCommerce-Blöcke (Standard seit WooCommerce 8) */
body.zl .wp-block-woocommerce-cart, body.zl .wp-block-woocommerce-checkout { font-family: var(--zl-font-sans); color: var(--zl-cocoa); }
body.zl .wc-block-components-title, body.zl .wc-block-cart__totals-title, body.zl .wc-block-components-checkout-step__title {
	font-family: var(--zl-font-display) !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important;
}
body.zl .wc-block-components-checkout-step__title { font-size: 1.6rem !important; }
body.zl .wc-block-cart__totals-title { font-size: 1.4rem !important; }
body.zl .wc-block-components-product-name { font-family: var(--zl-font-display); font-size: 1.25rem; color: var(--zl-cocoa); text-decoration: none; }
body.zl .wc-block-cart-item__image img, body.zl .wc-block-components-order-summary-item__image img { border-radius: .9rem; }
body.zl .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.zl .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content,
body.zl .wp-block-woocommerce-checkout-order-summary-block {
	border-radius: 1.5rem;
}
body.zl .wc-block-cart__sidebar, body.zl .wc-block-checkout__sidebar {
	padding: 1.5rem; border: 1px solid var(--zl-border-60); border-radius: 1.75rem; background: var(--zl-card);
}
body.zl .wc-block-components-text-input input, body.zl .wc-block-components-text-input textarea,
body.zl .wc-blocks-components-select .wc-blocks-components-select__select,
body.zl .wc-block-components-combobox .wc-block-components-combobox-control input,
body.zl .wc-block-components-textarea {
	border-radius: .875rem !important; border-color: var(--zl-border) !important; background: color-mix(in oklab, var(--zl-bg) 70%, white) !important;
}
body.zl .wc-block-components-text-input input:focus, body.zl .wc-block-components-textarea:focus {
	border-color: var(--zl-rose) !important; box-shadow: 0 0 0 3px color-mix(in oklab, var(--zl-rose) 22%, transparent) !important; outline: none !important;
}
body.zl .wc-block-components-radio-control__option, body.zl .wc-block-components-radio-control-accordion-option { border-radius: 1rem; }
body.zl .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
body.zl .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 1.5px var(--zl-rose); }
body.zl .wc-block-components-radio-control__input:checked { border-color: var(--zl-primary); }
body.zl .wc-block-components-radio-control__input:checked::before { background: var(--zl-primary); }
body.zl .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--zl-primary); border-color: var(--zl-primary); }
body.zl .wc-block-components-button:not(.is-link) { width: auto; min-height: 3.25rem; }
body.zl .wc-block-cart__submit-button, body.zl .wc-block-components-checkout-place-order-button { width: 100%; }
body.zl .wc-block-components-quantity-selector { border-radius: 999px; overflow: hidden; }
body.zl .wc-block-components-quantity-selector::after { border-radius: 999px !important; border-color: var(--zl-border) !important; }
body.zl .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.zl .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--zl-font-display); font-size: 1.4rem; font-weight: 400; }
body.zl .wc-block-components-sale-badge { border-radius: 999px; border-color: var(--zl-rose); background: var(--zl-rose-soft); color: var(--zl-cocoa); }
body.zl .wc-block-components-panel__button, body.zl .wc-block-components-totals-coupon-link { color: var(--zl-cocoa); }

/* Klassischer Warenkorb / Kasse (falls Shortcodes genutzt werden) */
body.zl table.shop_table { width: 100%; border: 1px solid var(--zl-border-60); border-radius: 1.5rem; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--zl-card); }
body.zl table.shop_table th, body.zl table.shop_table td { padding: 1rem 1.25rem; border-top: 1px solid var(--zl-border-60); text-align: left; vertical-align: middle; }
body.zl table.shop_table thead th { border-top: 0; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--zl-muted-fg); }
body.zl table.shop_table img { width: 4rem; border-radius: .75rem; }
body.zl table.shop_table .product-name a { font-family: var(--zl-font-display); font-size: 1.2rem; }
body.zl a.remove {
	display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px;
	color: var(--zl-muted-fg) !important; font-size: 1.2rem; line-height: 1; text-decoration: none;
}
body.zl a.remove:hover { background: color-mix(in oklab, var(--zl-danger) 12%, transparent); color: var(--zl-danger) !important; }
body.zl .cart-collaterals .cart_totals, body.zl #order_review, body.zl .woocommerce-checkout-review-order {
	padding: 1.5rem; border: 1px solid var(--zl-border-60); border-radius: 1.75rem; background: var(--zl-card);
}
body.zl .cart_totals h2, body.zl #order_review_heading, body.zl .woocommerce-billing-fields h3, body.zl .woocommerce-shipping-fields h3, body.zl .woocommerce-additional-fields h3 { font-size: 1.6rem; margin: 0 0 1rem; }
body.zl .wc-proceed-to-checkout .checkout-button { width: 100%; padding: 1rem; font-size: 1rem; }
body.zl .coupon { display: flex; gap: .5rem; flex-wrap: wrap; }
body.zl .coupon .input-text { min-width: 10rem; }
body.zl .woocommerce form .form-row { margin: 0 0 1rem; padding: 0; }
body.zl .woocommerce form .form-row label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 500; line-height: 1.4; }
body.zl .woocommerce form .form-row .input-text,
body.zl .woocommerce form .form-row textarea,
body.zl .coupon .input-text,
body.zl .woocommerce-account input.input-text {
	width: 100%; padding: .8rem 1rem; border: 1px solid var(--zl-border); border-radius: .875rem;
	background: color-mix(in oklab, var(--zl-bg) 70%, white); color: var(--zl-cocoa); font-size: 1rem; line-height: 1.4;
}
body.zl .woocommerce form .form-row select { width: 100%; border-radius: .875rem; }
body.zl .woocommerce form .form-row .input-text:focus, body.zl .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--zl-rose); box-shadow: 0 0 0 4px color-mix(in oklab, var(--zl-rose) 22%, transparent); }
body.zl .woocommerce form .form-row .required { color: var(--zl-rose); text-decoration: none; }
body.zl .woocommerce form .form-row.woocommerce-invalid .input-text { border-color: var(--zl-danger); }
body.zl #payment { border-radius: 1.25rem; background: color-mix(in oklab, var(--zl-rose-soft) 30%, transparent); padding: 1rem; margin-top: 1.5rem; }
body.zl #payment ul.payment_methods { margin: 0; padding: 0; list-style: none; border: 0; }
body.zl #payment ul.payment_methods li { padding: .6rem 0; }
body.zl #payment div.payment_box { margin: .5rem 0 0; padding: .9rem 1rem; border-radius: .9rem; background: var(--zl-card); font-size: .875rem; color: var(--zl-muted-fg); }
body.zl #payment div.payment_box::before { display: none; }
body.zl #place_order { width: 100%; margin-top: 1rem; padding: 1rem; font-size: 1rem; }
body.zl .select2-container .select2-selection--single { height: auto; padding: .55rem .5rem; border: 1px solid var(--zl-border); border-radius: .875rem; background: color-mix(in oklab, var(--zl-bg) 70%, white); }
body.zl .select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); right: .5rem; }
body.zl .select2-dropdown { border-color: var(--zl-border); border-radius: .875rem; overflow: hidden; }
body.zl .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--zl-rose-soft); color: var(--zl-cocoa); }

/* Mein Konto */
body.zl .woocommerce-account .woocommerce { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { body.zl .woocommerce-account .woocommerce { grid-template-columns: 15rem 1fr; } }
body.zl .woocommerce-MyAccount-navigation, body.zl .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
body.zl .woocommerce-MyAccount-navigation ul { display: grid; gap: .25rem; margin: 0; padding: .5rem; list-style: none; border: 1px solid var(--zl-border-60); border-radius: 1.5rem; background: var(--zl-card); }
body.zl .woocommerce-MyAccount-navigation a { display: block; padding: .65rem 1rem; border-radius: .9rem; font-size: .95rem; transition: background .2s; }
body.zl .woocommerce-MyAccount-navigation a:hover { background: var(--zl-rose-soft-60); }
body.zl .woocommerce-MyAccount-navigation .is-active a { background: var(--zl-rose-soft); }
body.zl .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
body.zl .woocommerce-account .u-columns { display: grid; gap: 2rem; }
@media (min-width: 800px) { body.zl .woocommerce-account .u-columns { grid-template-columns: 1fr 1fr; } }
body.zl .woocommerce-account .u-column1, body.zl .woocommerce-account .u-column2 { float: none !important; width: auto !important; padding: 1.75rem; border: 1px solid var(--zl-border-60); border-radius: 1.75rem; background: var(--zl-card); }
body.zl .woocommerce-account h2 { font-size: 1.85rem; margin-top: 0; }

/* ---------- Warenkorb-Schublade: Lade- und Busy-Zustand ---------- */
.zl-cart__loading { display: grid; place-items: center; padding: 4rem 0; }
.zl-spinner {
	width: 1.75rem; height: 1.75rem; border-radius: 999px;
	border: 2px solid var(--zl-rose-soft); border-top-color: var(--zl-rose);
	animation: zl-spin .8s linear infinite;
}
@keyframes zl-spin { to { transform: rotate(360deg); } }
.zl-cart__body.is-busy { opacity: .55; pointer-events: none; transition: opacity .2s; }
.zl-cart__name a { color: inherit; }
.zl-cart__name a:hover { color: var(--zl-rose); }
.zl-cart__foot .zl-btn { text-decoration: none; }
