/**
 * Shop (Spur C): Shop- und Kategorieseiten, Produktkarten, Produktseite, Hinweise, Konto.
 *
 * Ersetzt die abgeschalteten WooCommerce-Stile (woocommerce-general/-layout/-smallscreen).
 * Die Stile der Warenkorb- und Kassenblöcke bleiben unberührt (Spur D, checkout.css).
 * Seitenhintergrund Weiß (body.zel-page-light), Text Anthrazit, Überschriften in der Display-Schrift.
 */

/* ------------------------------------------------------------------ */
/* Grundlagen                                                          */
/* ------------------------------------------------------------------ */

.zel-options[hidden],
.zel-option[hidden],
.zel-cart-notice[hidden],
.zel-price-legal [hidden] {
	display: none !important;
}

.zel-shop {
	--zel-shop-muted: #595959;
	--zel-shop-line: var(--zel-hellgrau);
	padding-top: clamp(0.5rem, 2vw, 1.5rem);
	color: var(--zel-anthrazit);
}

/* Breadcrumb „Shop | Honig & Naschen | Bio Waldhonig“ */
.zel-shop .zel-breadcrumbs {
	margin: 0 0 1.25rem;
	color: #6b6b6b;
	font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
	line-height: 1.2;
}

.zel-shop .zel-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.zel-shop .zel-breadcrumbs a:hover {
	color: var(--zel-anthrazit);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.zel-breadcrumbs__sep {
	padding: 0 0.125rem;
}

/* ------------------------------------------------------------------ */
/* Shop- und Kategorieseiten: Seitenleiste + Raster                    */
/* ------------------------------------------------------------------ */

.zel-shop--archive {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

.zel-shop__main {
	min-width: 0;
}

.zel-shop__head {
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.zel-shop__title {
	margin: 0 0 1.25rem;
	color: var(--zel-anthrazit);
	/* H1 am Handy einheitlich (tokens.css --zel-fs-h1-mobil) */
	font-size: clamp(var(--zel-fs-h1-mobil, 2.5rem), 5vw, 4rem);
}

/* Fließtext im Shop wie überall (tokens.css: 19 px / 1,5 – vorher 16–17 px / 1,7) */
.zel-shop__head .term-description,
.zel-shop__head .page-description {
	max-width: 46rem;
	font-size: var(--zel-fs-text);
	line-height: var(--zel-lh-text);
}

.zel-shop__head .term-description > :last-child,
.zel-shop__head .page-description > :last-child {
	margin-bottom: 0;
}

/* Shop-Einstieg (/shop/): Inhalt der Shop-Seite – die Kategorie-Kacheln – direkt unter dem Titel,
   ohne den großen Abschnittsabstand des Moduls. Das Raster aller Produkte steht unter /shop/alle/. */
.zel-shop__entry > :first-child {
	margin-top: 0;
}

.zel-shop__entry > :last-child {
	margin-bottom: 0;
}

/* Kategorien */
.zel-shop-nav__list,
.zel-shop-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-shop-nav a {
	display: inline-block;
	padding: 0.375rem 0 0.25rem;
	border-bottom: var(--zel-dot) solid transparent;
	color: var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

.zel-shop-nav a:hover,
.zel-shop-nav .current-menu-item > a,
.zel-shop-nav .current-menu-ancestor > a,
.zel-shop-nav .current-menu-parent > a,
.zel-shop-nav .current-product_cat-ancestor > a {
	border-bottom-style: dotted;
	border-bottom-color: currentColor;
}

/* Aktive Kategorie fett wie der aktive Menüpunkt (--zel-fw-heading, 600 – vorher 700) */
.zel-shop-nav .current-menu-item > a {
	font-weight: var(--zel-fw-heading);
}

@media (min-width: 992px) {
	.zel-shop--archive {
		grid-template-columns: 14.5rem minmax(0, 1fr);
		gap: 3rem clamp(2rem, 4vw, 4.5rem);
		align-items: start;
	}

	.zel-shop__sidebar {
		position: sticky;
		top: 2rem;
		padding-top: 0.25rem;
	}

	.zel-shop-nav__list > li + li {
		margin-top: 0.75rem;
	}

	.zel-shop-nav .sub-menu {
		margin: 0.5rem 0 0.25rem 1rem;
	}

	.zel-shop-nav .sub-menu a {
		font-size: 1.1875rem;
	}
}

/* Handy und Tablet: Kategorien als waagrecht wischbare Zeile */
@media (max-width: 991.98px) {
	/* Rechts läuft die Zeile aus – so sieht man, dass es weitere Kategorien gibt (Mobil-Befund); hinten Platz,
	   damit sich die letzte ganz aus dem Verlauf wischen lässt. */
	.zel-shop-nav {
		margin-inline: calc(var(--zel-gutter) * -1);
		padding: 0 var(--zel-gutter) 0.375rem;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
	}

	.zel-shop-nav::-webkit-scrollbar {
		display: none;
	}

	.zel-shop-nav__list {
		display: flex;
		gap: 0.25rem 1.5rem;
		width: max-content;
		padding-right: 2.5rem;
	}

	.zel-shop-nav a {
		padding-block: 0.625rem 0.375rem;
		font-size: 1.25rem;
		white-space: nowrap;
	}

	.zel-shop-nav .sub-menu {
		display: none;
	}
}

/* Raster: 4 / 3 / 2 Spalten */
.zel-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--zel-cards-gap-mobil, 2.5rem 0.875rem); /* 40 / 14 px – gleich für alle Kartenraster am Handy (tokens.css) */
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-products > li {
	display: flex;
	min-width: 0;
	margin: 0;
}

@media (min-width: 768px) {
	.zel-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 3.25rem 1.5rem;
	}
}

@media (min-width: 1200px) {
	.zel-products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 3.5rem 1.75rem;
	}
}

@media (min-width: 992px) {
	.zel-products--matching {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------ */
/* Produktkarte „Raster“ (Markup: zel_render_product_card())           */
/* ------------------------------------------------------------------ */

.zel-card--raster {
	width: 100%;
	color: var(--zel-anthrazit);
}

/* Abstand Bild → Name, Größe und Gewicht des Namens wie bei allen Karten (components.css: --zel-card-gap
   20 px, 20 px, --zel-fw-card) – vorher 16 px Abstand, Name 18–21 px mit 0,01 em Sperrung. */
.zel-card--raster .zel-card__image {
	aspect-ratio: var(--zel-card-ratio-raster, 1 / 1);
}

.zel-card--raster.zel-card--produkt .zel-card__image img {
	padding: 0;
}

.zel-card--raster .zel-card__body {
	padding-right: 0;
}

.zel-card--raster .zel-card__title {
	color: var(--zel-anthrazit);
	overflow-wrap: break-word;
}

.zel-card--raster .zel-card__price {
	margin-top: 0.375rem;
}

.zel-card--raster.is-out-of-stock .zel-card__image img {
	opacity: 0.55;
}

/* Fokus: die ganze Karte bekommt den Rahmen */
.zel-card__title a:focus-visible {
	outline: none;
}

.zel-card__title a:focus-visible::after {
	outline: var(--zel-focus);
	outline-offset: 4px;
}

/* Kleiner runder Button „In den Warenkorb“ auf dem Bild */
.zel-card__cart {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
	text-decoration: none;
	box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease, background 0.2s ease;
}

.zel-card__cart:hover {
	/* dezent wie das Kartenbild (components.css 1.03) – Paket 16, vorher 1.07 */
	transform: scale(1.03);
}

.zel-card__cart:focus-visible {
	outline: var(--zel-focus);
	outline-offset: 3px;
}

.zel-card__cart .zel-icon {
	width: 1.375rem;
	height: 1.375rem;
}

.zel-card__cart-done {
	display: none;
}

.zel-card__cart.is-loading {
	cursor: progress;
	opacity: 0.7;
}

.zel-card__cart.is-added {
	background: var(--zel-gruen);
}

.zel-card__cart.is-added .zel-card__cart-icon {
	display: none;
}

.zel-card__cart.is-added .zel-card__cart-done {
	display: block;
}

@media (max-width: 575.98px) {
	/* 44 px, 8 px vom Rand – dieselben Werte wie der runde Button der Karten in allen Rastern am Handy (tokens.css) */
	.zel-card__cart {
		right: var(--zel-card-button-inset-mobil, 0.5rem);
		bottom: var(--zel-card-button-inset-mobil, 0.5rem);
		width: var(--zel-card-button-mobil, 2.75rem);
		height: var(--zel-card-button-mobil, 2.75rem);
	}
}

/* Badges (Plugin: includes/shop/badges.php, Pflege unter Zelenka → Badges). Farben als CSS-Variablen im
   style-Attribut; ohne sie gelten die bisherigen Werte: „Angebot“ schwarz, „Derzeit nicht erhältlich“ weiß
   mit Rahmen. Die Vorschau im Backend (zelenka-core/assets/css/shop-admin.css) hat dieselben Werte. */
.zel-badge {
	display: inline-block;
	padding: 0.25rem 0.625rem 0.1875rem;
	border: var(--zel-badge-border, 0);
	background: var(--zel-badge-bg, var(--zel-schwarz));
	color: var(--zel-badge-fg, var(--zel-weiss));
	font-family: var(--zel-font-display);
	font-size: 0.9375rem;
	font-weight: var(--zel-fw-heading);
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.zel-badge--stock {
	border: var(--zel-badge-border, 1px solid var(--zel-anthrazit));
	background: var(--zel-badge-bg, var(--zel-weiss));
	color: var(--zel-badge-fg, var(--zel-anthrazit));
}

/* Karte: oben links über dem Bild, mehrere untereinander. */
.zel-card__badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.375rem;
}

/* Produktseite: über dem Titel, nebeneinander. */
.zel-product-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
}

/* ------------------------------------------------------------------ */
/* Preis und Pflichtangaben (zel_product_price_html(), Produktseite)   */
/* ------------------------------------------------------------------ */

.zel-price__amount {
	margin: 0;
	color: var(--zel-anthrazit);
	font-size: 1rem;
	font-weight: 500;
}

.zel-price__amount del,
.zel-product-price > .price del {
	margin-right: 0.375rem;
	color: #595959;
	font-weight: 400;
	opacity: 1;
}

.zel-price__amount ins,
.zel-product-price > .price ins {
	text-decoration: none;
}

.zel-price-legal {
	color: var(--zel-anthrazit);
	font-size: 0.75rem;
	line-height: 1.45;
}

.zel-price-legal p {
	margin: 0;
}

.zel-price-legal a {
	color: inherit;
}

.zel-card .zel-price-legal a {
	position: relative;
	z-index: 2;
}

.zel-price-legal p:empty,
.zel-price-legal span:empty,
.zel-price-legal__tax:empty + .zel-price-legal__sep,
.zel-price-legal__sep:has(+ .zel-price-legal__shipping:empty) {
	display: none;
}

.zel-price-legal .wc-gzd-additional-info,
.zel-price-legal .price-unit {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.zel-price-legal .woocommerce-Price-amount {
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Seitennummern                                                       */
/* ------------------------------------------------------------------ */

.woocommerce-pagination,
.zel-search .pagination {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Seitenzahlen der Suche wie im Shop (WordPress-Markup .nav-links statt ul.page-numbers) */
.zel-search .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination .page-numbers li {
	margin: 0;
}

.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers,
.zel-search .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.625rem;
	border: 1px solid var(--zel-anthrazit);
	border-radius: 999px;
	color: var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 1.25rem;
	font-weight: var(--zel-fw-heading);
	text-decoration: none;
}

.zel-search .nav-links .page-numbers.dots {
	border-color: transparent;
}

.woocommerce-pagination a.page-numbers:hover,
.zel-search .nav-links a.page-numbers:hover {
	background: var(--zel-papier);
}

.woocommerce-pagination span.current,
.zel-search .nav-links .page-numbers.current {
	border-color: var(--zel-schwarz);
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
}

/* ------------------------------------------------------------------ */
/* Hinweise (im Stil .zel-message)                                     */
/* ------------------------------------------------------------------ */

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

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--zel-gruen);
	background: var(--zel-papier);
	color: var(--zel-schwarz);
	font-size: 0.9375rem;
	line-height: 1.5;
	list-style: none;
}

.woocommerce-info {
	border-left-color: var(--zel-anthrazit);
}

.woocommerce-error {
	flex-direction: column;
	align-items: flex-start;
	border-left-color: var(--zel-rot);
	background: #fbeeee;
	color: var(--zel-rot);
	font-weight: 500;
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	color: inherit;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
}

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

/* Hinweis des Demo-Shops */
p.woocommerce-store-notice,
p.demo_store {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	margin: 0;
	padding: 1rem var(--zel-gutter);
	background: var(--zel-anthrazit);
	color: var(--zel-weiss);
	font-size: 0.9375rem;
	text-align: center;
}

p.woocommerce-store-notice a {
	color: inherit;
}

/* ------------------------------------------------------------------ */
/* Buttons im WooCommerce-Markup (Shop, Konto, Hinweise)               */
/* ------------------------------------------------------------------ */

body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce input.button,
.woocommerce-message a.button,
.woocommerce-info a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.625rem 1.25rem;
	border: 0;
	border-radius: 0;
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
	font-family: var(--zel-font-display);
	font-size: 1.125rem;
	/* wie alle Buttons: --zel-fw-heading (600) ohne Sperrung – vorher 700, 0.02em */
	font-weight: var(--zel-fw-heading);
	line-height: 1.1;
	letter-spacing: var(--zel-ls-heading);
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce button.button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
	background: var(--zel-anthrazit);
	color: var(--zel-weiss);
}

/* ------------------------------------------------------------------ */
/* Produktseite: Aufbau                                                */
/* ------------------------------------------------------------------ */

.zel-product-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

.zel-product-top > * {
	min-width: 0;
}

@media (min-width: 768px) {
	.zel-product-top {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
		gap: 0 clamp(2rem, 5vw, 5.5rem);
		align-items: start;
	}

	.zel-product-top > .woocommerce-product-gallery {
		grid-column: 1;
		position: sticky;
		top: 1.5rem;
	}

	.zel-product-top > .summary {
		grid-column: 2;
	}
}

/* Handy: Kaufbereich gleich unter dem Preis, die (oft lange) Beschreibung danach – vorher begann „In den
   Warenkorb“ bei Waldhonig erst nach rund zwei Bildschirmhöhen (Mobil-Befund #35). Nur die Reihenfolge der
   Anzeige; Computer wie im Entwurf. */
@media (max-width: 767.98px) {
	.zel-product-top > .summary {
		display: flex;
		flex-direction: column;
	}

	.zel-product-top > .summary > .zel-product__description {
		order: 1;
		margin-top: 1.75rem;
	}

	.zel-product-top > .summary > .zel-flugstrecke {
		order: 1;
	}
}

/* Flugstrecke je Glas (Einstellungen → Verspieltes, zelenka-core/includes/extras/flugstrecke.php): eine leise Zeile
   mit Biene über Größe und Warenkorb */
.zel-flugstrecke {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	font-style: italic;
	line-height: 1.45;
}

.zel-flugstrecke .zel-icon {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.125rem;
}

/* Galerie (WooCommerce: Flexslider, Zoom, Lightbox) */
.woocommerce-product-gallery {
	position: relative;
	margin: 0;
}

/* Am Handy: Doppeltippen aufs Foto zoomt nicht die Seite (das Doppeltippen gehört der Biene, ueberraschungen.js);
   Wischen und Zwei-Finger-Zoom bleiben. */
@media (hover: none) {
	.woocommerce-product-gallery__image {
		touch-action: manipulation;
	}
}

/* Großansicht (PhotoSwipe von WooCommerce): Die Knöpfe oben rechts stehen in der Reihenfolge Schließen, Teilen,
   Vollbild, Zoom – am Handy stand so der Zoom am Rand und das X eins weiter innen. Das X immer ganz rechts, bei
   Handys mit Kerbe bzw. abgerundeten Ecken innerhalb des sicheren Bereichs. */
.pswp__top-bar .pswp__button--close {
	order: 10;
	margin-right: env(safe-area-inset-right, 0);
}

.pswp__top-bar {
	top: env(safe-area-inset-top, 0);
}

.woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
}

.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
	background: var(--zel-papier);
}

.woocommerce-product-gallery__image a {
	display: block;
}

.woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

.woocommerce-product-gallery__image > a > img.wp-post-image,
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a > img {
	aspect-ratio: 1 / 1;
	object-fit: cover; /* Querformat-Fotos (z. B. Geschenkboxen) füllen das Quadrat ohne Rand oben und unten; ganz zu
	                      sehen sind sie in der Vergrößerung (Kundenwunsch 02.10.) */
}

/* Ohne Skript: weitere Bilder als Reihe unter dem Hauptbild. Mit Skript liegt die Liste in .flex-viewport – dann
   gilt das nicht, sonst rutschen die Bilder ab dem zweiten 10 px nach unten (grauer Balken oben). */
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
	display: inline-block;
	width: calc(20% - 0.25rem);
	margin: 0.625rem 0.25rem 0 0;
	background: var(--zel-papier);
	vertical-align: top;
}

.woocommerce-product-gallery__wrapper .zoomImg {
	background-color: var(--zel-weiss);
}

.woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.625rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	position: relative;
	margin: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 2px solid transparent;
	background: var(--zel-papier);
	opacity: 0.6;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	opacity: 1;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--zel-anthrazit);
}

.woocommerce-product-gallery .flex-control-thumbs img:focus-visible {
	outline: var(--zel-focus);
	outline-offset: 2px;
	opacity: 1;
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 9;
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	overflow: hidden;
	border-radius: 50%;
	background: var(--zel-weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16' y2='16'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 1.375rem no-repeat;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
	color: transparent;
	font-size: 0;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.woocommerce-product-gallery__trigger:hover {
	/* Paket 16: einheitlich 1.03 (vorher 1.06) */
	transform: scale(1.03);
}

.woocommerce-product-gallery__trigger span {
	display: none;
}

/* Zusammenfassung */
.zel-product__title {
	margin: 0 0 1.5rem;
	color: var(--zel-anthrazit);
	font-size: clamp(var(--zel-fs-h1-mobil, 2.25rem), 4vw, 3.25rem);
}

.zel-product-price {
	margin: 0 0 1.75rem;
}

.zel-product-price > .price {
	margin: 0 0 0.375rem;
	color: var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 2rem;
	font-weight: var(--zel-fw-heading);
	line-height: 1.1;
	letter-spacing: var(--zel-ls-heading);
}

.zel-price-legal--single {
	font-size: 0.8125rem;
}

.zel-price-legal--single p + p {
	margin-top: 0.125rem;
}

.woocommerce-product-details__short-description,
.zel-product__description {
	margin: 0 0 1.75rem;
	font-size: var(--zel-fs-text);
	line-height: var(--zel-lh-text);
}

.woocommerce-product-details__short-description > :last-child,
.zel-product__description > :last-child {
	margin-bottom: 0;
}

.zel-product__description a:not([class]) {
	color: var(--zel-braun);
}

.zel-product__description h2,
.zel-product__description h3,
.zel-product__description h4 {
	margin: 1.75rem 0 0.75rem;
	font-size: 1.5rem;
}

.zel-product__after-cart {
	margin: 1.75rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--zel-hellgrau);
	font-size: var(--zel-fs-text);
	line-height: var(--zel-lh-text);
}

.zel-product__after-cart > :last-child {
	margin-bottom: 0;
}

.summary .wc-gzd-additional-info-placeholder:empty {
	display: none;
}

.summary .stock {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

.summary .stock.out-of-stock {
	color: var(--zel-rot);
}

.summary .stock.in-stock {
	color: var(--zel-gruen);
}

/* ------------------------------------------------------------------ */
/* Warenkorb-Formular                                                  */
/* ------------------------------------------------------------------ */

.summary form.cart {
	margin: 0 0 1.5rem;
}

.summary form.cart:not(.variations_form),
.summary .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
}

.summary form.cart .zel-certificate,
.summary form.cart .zel-gift-wrap,
.summary form.cart .zel-cart-notice,
.summary form.cart .wc-gzd-additional-info {
	flex: 1 1 100%;
}

/* Varianten */
.summary table.variations,
.summary table.variations tbody,
.summary table.variations tr,
.summary table.variations th,
.summary table.variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
}

.summary table.variations {
	width: 100%;
	margin: 0 0 1.25rem;
}

.summary table.variations tr + tr {
	margin-top: 1.125rem;
}

.summary table.variations th.label {
	margin: 0 0 0.5rem;
}

.summary table.variations th.label label {
	margin: 0;
	font-family: var(--zel-font-display);
	font-size: 1.25rem;
	font-weight: var(--zel-fw-heading);
	letter-spacing: var(--zel-ls-heading);
	text-transform: uppercase;
}

.summary table.variations select {
	max-width: 22rem;
}

.summary .reset_variations {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.25rem 0;
	color: var(--zel-anthrazit);
	font-size: 0.8125rem;
}

.zel-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.zel-option {
	position: relative;
	display: inline-flex;
}

.zel-option__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.zel-option__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 5rem;
	min-height: 2.875rem;
	margin: 0;
	padding: 0.5rem 1.125rem;
	border: 1px solid var(--zel-anthrazit);
	background: var(--zel-weiss);
	color: var(--zel-anthrazit);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.zel-option__label:hover {
	background: var(--zel-papier);
}

.zel-option__input:checked + .zel-option__label {
	border-color: var(--zel-schwarz);
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
}

.zel-option__input:focus-visible + .zel-option__label {
	outline: var(--zel-focus);
	outline-offset: 3px;
}

/* Lagerstand je Knopf (product-fields.php): nicht vorrätig ausgegraut mit „Ausgelöffelt“ bzw. „Vergriffen“, wenige Stück mit
   „Fast ausgelöffelt“ bzw. „Fast vergriffen“ – der Hinweis klein unter dem Wert */
.zel-option--aus .zel-option__label,
.zel-option--fast .zel-option__label {
	flex-direction: column;
	gap: 0.125rem;
	padding-block: 0.375rem;
}

.zel-option__hinweis {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.1;
	text-transform: uppercase;
}

.zel-option--aus .zel-option__label {
	border-style: dashed;
	border-color: #8a8a8a;
	background: var(--zel-papier);
	color: #6b6b6b;
}

.zel-option--aus .zel-option__input:checked + .zel-option__label {
	border-style: solid;
	border-color: #6b6b6b;
	background: #6b6b6b;
	color: var(--zel-weiss);
}

.zel-option--fast .zel-option__hinweis {
	color: var(--zel-rot);
}

.zel-option--fast .zel-option__input:checked + .zel-option__label .zel-option__hinweis {
	color: inherit;
}

.zel-option__input:disabled + .zel-option__label {
	border-style: dashed;
	background: var(--zel-weiss);
	color: #6b6b6b;
	text-decoration: line-through;
	cursor: not-allowed;
}

.single_variation_wrap .woocommerce-variation {
	margin: 0 0 1rem;
}

.single_variation_wrap .woocommerce-variation:empty {
	display: none;
}

.woocommerce-variation-description {
	font-size: 0.9375rem;
}

.woocommerce-variation-description > :last-child {
	margin-bottom: 0;
}

/* Menge −/+ */
.summary .quantity {
	display: inline-flex;
	align-items: stretch;
	height: 3.375rem;
	border: 1px solid var(--zel-anthrazit);
	background: var(--zel-weiss);
}

.summary .quantity .qty {
	width: 4.5rem;
	min-height: 0;
	height: 100%;
	padding: 0 0.25rem;
	border: 0;
	background: transparent;
	color: var(--zel-anthrazit);
	font-size: 1.125rem;
	font-weight: 500;
	text-align: center;
}

.summary .zel-qty .qty {
	width: 3.25rem;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.summary .quantity .qty:focus-visible {
	outline-offset: -3px;
}

.zel-qty__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.875rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--zel-anthrazit);
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
}

.zel-qty__button:hover:not(:disabled) {
	background: var(--zel-papier);
}

.zel-qty__button:disabled {
	opacity: 0.35;
	cursor: default;
}

.zel-qty__button:focus-visible {
	outline-offset: -3px;
}

@media (max-width: 479.98px) {
	.zel-qty__button {
		width: 2.75rem;
	}

	.summary .zel-qty .qty {
		width: 2.75rem;
	}

	.summary .single_add_to_cart_button {
		padding-inline: 1rem;
		font-size: 1.1875rem;
	}
}

/* „In den Warenkorb“ */
.summary .single_add_to_cart_button {
	display: inline-flex;
	flex: 1 1 10rem;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3.375rem;
	padding: 0.875rem 1.5rem;
	border: 0;
	border-radius: 0;
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
	font-family: var(--zel-font-display);
	font-size: 1.3125rem;
	font-weight: var(--zel-fw-heading);
	line-height: 1.1;
	letter-spacing: var(--zel-ls-heading);
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
}

.summary .single_add_to_cart_button:hover {
	background: var(--zel-anthrazit);
}

.summary .single_add_to_cart_button.disabled,
.summary .single_add_to_cart_button:disabled {
	/* Sichtbar noch nicht bereit (Mobil-Befund #11: sah vorher aktiv aus), aber lesbar – Anthrazit auf Papier
	   10 : 1. Ein Tippen zeigt den Hinweis unter der Auswahl (product.js) statt eines Browser-Alarms. */
	background: var(--zel-papier);
	box-shadow: inset 0 0 0 2px var(--zel-hellgrau);
	color: var(--zel-anthrazit);
	opacity: 1;
	cursor: not-allowed;
}

/* Überfahren, Fokus, Drücken: bleibt beim ruhigen Zustand (vorher Weiß auf Papier, kaum lesbar). */
.summary .single_add_to_cart_button.disabled:is(:hover, :focus, :active),
.summary .single_add_to_cart_button:disabled:is(:hover, :focus, :active) {
	background: var(--zel-papier);
	color: var(--zel-anthrazit);
}

/* Hinweis „Bitte wählen Sie zuerst …“ unter der Variantenauswahl */
.zel-options-hint {
	margin: 0.5rem 0 0;
	color: var(--zel-rot);
	font-size: var(--zel-fs-small);
	font-weight: 500;
}

.summary .single_add_to_cart_button.is-loading {
	opacity: 0.75;
	cursor: progress;
}

/* Geschenkverpackung – darf schmaler werden als „Geschenkverpackung“ in einer Zeile (320 px: sonst 15 px
   seitliches Scrollen), der Titel trennt dann */
.zel-gift-wrap {
	position: relative;
	min-width: 0;
}

.zel-gift-wrap__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.zel-gift-wrap__label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: fit-content; /* nur so breit wie nötig (Kundenwunsch 02.10.) */
	max-width: 100%;
	min-height: 3.25rem; /* kompakt (Kundenwunsch 02.10.: vorher 76 px hoch) */
	margin: 0;
	padding: 0.375rem 0.875rem 0.375rem 0.375rem;
	border: 1px solid var(--zel-anthrazit);
	background: var(--zel-weiss);
	font-weight: 400;
	cursor: pointer;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.zel-gift-wrap__label:hover {
	background: var(--zel-papier);
}

.zel-gift-wrap__media {
	display: grid;
	flex: 0 0 2.5rem;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	overflow: hidden;
	background: var(--zel-papier);
}

.zel-gift-wrap__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zel-gift-wrap__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.zel-gift-wrap__title {
	overflow-wrap: anywhere;
	hyphens: auto;
	-webkit-hyphens: auto;
	/* nur „GESCHENK-VERPACKUNG“, nicht „GESCHENKVERPA-CKUNG“ */
	hyphenate-limit-chars: 12 8 8;
	-webkit-hyphenate-limit-before: 8;
	-webkit-hyphenate-limit-after: 8;
	color: var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 1.0625rem;
	font-weight: var(--zel-fw-card);
	line-height: 1.1;
	letter-spacing: var(--zel-ls-heading);
	text-transform: uppercase;
}

.zel-gift-wrap__price {
	font-size: 0.875rem;
}

.zel-gift-wrap__check {
	display: grid;
	flex: 0 0 1.375rem;
	place-items: center;
	width: 1.375rem;
	height: 1.375rem;
	border: 2px solid var(--zel-anthrazit);
	color: transparent;
	transition: background 0.15s ease;
}

.zel-gift-wrap__input:checked + .zel-gift-wrap__label {
	border-color: var(--zel-schwarz);
	box-shadow: inset 0 0 0 1px var(--zel-schwarz);
}

.zel-gift-wrap__input:checked + .zel-gift-wrap__label .zel-gift-wrap__check {
	border-color: var(--zel-schwarz);
	background: var(--zel-schwarz);
	color: var(--zel-weiss);
}

.zel-gift-wrap__input:focus-visible + .zel-gift-wrap__label {
	outline: var(--zel-focus);
	outline-offset: 3px;
}

/* Vorschau der Verpackung: kleines Quadrat über dem Vorschaubild, beim Überfahren und bei Tastatur-Fokus, nur am
   Desktop (wie auf Live, aber kleiner). Fängt keine Maus ab, damit sie beim Weiterziehen verschwindet. */
.zel-gift-wrap__preview {
	display: none;
}

@media (min-width: 992px) {
	.zel-gift-wrap__preview {
		position: absolute;
		bottom: calc(100% + 0.5rem);
		left: -1px;
		z-index: 20;
		display: block;
		width: 11rem;
		aspect-ratio: 1;
		border: 1px solid var(--zel-hellgrau);
		background: var(--zel-weiss);
		box-shadow: 2px 2px 20px rgb(0 0 0 / 30%);
		pointer-events: none;
		visibility: hidden;
		opacity: 0;
		transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
	}

	.zel-gift-wrap__preview-image {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.zel-gift-wrap__label:hover .zel-gift-wrap__preview,
	.zel-gift-wrap__input:focus-visible + .zel-gift-wrap__label .zel-gift-wrap__preview {
		visibility: visible;
		opacity: 1;
	}
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
	.zel-gift-wrap__preview {
		transition: none;
	}
}

/* Urkunde */
.zel-certificate {
	min-width: 0;
	margin: 0;
	padding: 1.25rem 1.25rem 0.375rem;
	border: 0;
	background: var(--zel-papier);
}

.zel-certificate__legend {
	float: left;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	color: var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 1.375rem;
	font-weight: var(--zel-fw-heading);
	line-height: 1.1;
	letter-spacing: var(--zel-ls-heading);
	text-transform: uppercase;
}

.zel-certificate__legend + * {
	clear: both;
}

.zel-form-row {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin: 0 0 1rem;
}

.zel-form-row__label {
	margin: 0;
	font-weight: 500;
}

.zel-form-row__required,
.zel-form-row__optional {
	font-size: 0.8125rem;
	font-weight: 400;
}

.zel-form-row__hint {
	color: var(--zel-anthrazit);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.zel-form-row__error {
	color: var(--zel-rot);
	font-size: 0.875rem;
	font-weight: 500;
}

.zel-form-row__input[aria-invalid="true"] {
	border-color: var(--zel-rot);
	box-shadow: inset 0 0 0 1px var(--zel-rot);
}

textarea.zel-form-row__input {
	min-height: 5.5rem;
}

/* Meldung unter dem Button */
.zel-cart-notice {
	margin: 0.25rem 0 0;
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--zel-gruen);
	background: #edf5f2;
	color: var(--zel-schwarz);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.zel-cart-notice--error {
	border-left-color: var(--zel-rot);
	background: #fbeeee;
	color: var(--zel-rot);
	font-weight: 500;
}

.zel-cart-notice a {
	color: inherit;
}

/* ------------------------------------------------------------------ */
/* Unter der Zusammenfassung                                           */
/* ------------------------------------------------------------------ */

.zel-product-section {
	margin-top: clamp(3rem, 7vw, 5.5rem);
}

.zel-product-section__title {
	margin-bottom: 2rem;
	color: var(--zel-anthrazit);
	font-size: clamp(2rem, 3.6vw, 2.875rem);
}

/* Geschmacksprofil */
.zel-profile {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	gap: 1rem;
}

.zel-profile__box {
	padding: 1.5rem 1.5rem 1.375rem;
	background: var(--zel-papier);
}

.zel-profile__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.625rem;
	color: var(--zel-anthrazit);
	font-size: 1.3125rem;
}

.zel-profile__icon {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	stroke-width: 2;
}

.zel-profile__text {
	font-size: var(--zel-fs-text);
	line-height: var(--zel-lh-text);
}

.zel-profile__text > :last-child {
	margin-bottom: 0;
}

/* Bio */
.zel-bio-box {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2rem);
	margin-top: 1rem;
	padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
	background: var(--zel-bio);
}

.zel-bio-box__seal {
	flex: 0 0 auto;
	width: clamp(4rem, 8vw, 5.5rem);
	height: auto;
}

.zel-bio-box__text {
	font-size: 0.9375rem;
	line-height: 1.65;
}

.zel-bio-box__text > :last-child {
	margin-bottom: 0;
}

@media (max-width: 479.98px) {
	.zel-bio-box {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Anwendung und Hinweise / Weitere Angaben (sichtbare Produktmerkmale, z. B. bei Kosmetik) */
.zel-product-attributes__text,
.zel-product-attributes__list {
	max-width: 52rem;
	font-size: var(--zel-fs-text);
	line-height: var(--zel-lh-text);
	overflow-wrap: break-word;
}

.zel-product-attributes__text > :last-child {
	margin-bottom: 0;
}

.zel-product-attributes__text strong {
	font-weight: 700;
}

.zel-product-attributes__list {
	margin: 0;
	border-top: var(--zel-dot) dotted var(--zel-anthrazit);
}

.zel-product-attributes__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.25rem 2rem;
	padding: 0.875rem 0;
	border-bottom: var(--zel-dot) dotted var(--zel-anthrazit);
}

.zel-product-attributes__row dt {
	font-weight: 700;
}

.zel-product-attributes__row dd {
	margin: 0;
}

.zel-product-attributes__row dd > :last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.zel-product-attributes__row {
		grid-template-columns: 14rem minmax(0, 1fr);
	}
}

/* Produktsicherheit */
.zel-details {
	border-top: var(--zel-dot) dotted var(--zel-anthrazit);
	border-bottom: var(--zel-dot) dotted var(--zel-anthrazit);
}

.zel-details__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.5rem;
	padding: 0.75rem 0;
	color: var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 1.5rem;
	font-weight: var(--zel-fw-heading);
	letter-spacing: var(--zel-ls-heading);
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}

.zel-details__summary::-webkit-details-marker {
	display: none;
}

.zel-details__summary::after {
	content: "+";
	font-size: 1.75rem;
	font-weight: 500;
}

.zel-details[open] .zel-details__summary::after {
	content: "–";
}

.zel-details__content {
	padding: 0 0 1.5rem;
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* Video */
.zel-video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
}

.zel-video__start {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--zel-weiss);
}

.zel-video__start::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.18);
	transition: background 0.2s ease;
}

.zel-video__start:hover::after {
	background: rgba(0, 0, 0, 0.3);
}

.zel-video__start:focus-visible {
	outline: var(--zel-focus);
	outline-offset: 3px;
}

.zel-video__poster,
.zel-video__poster img {
	display: block;
	width: 100%;
	height: 100%;
}

.zel-video__poster img {
	object-fit: cover;
}

.zel-video__bubble {
	position: absolute;
	top: calc(50% - var(--zel-bubble) / 2);
	left: calc(50% - var(--zel-bubble) / 2);
	z-index: 1;
	pointer-events: none;
}

.zel-video__start:hover .zel-video__bubble {
	/* Paket 16: einheitlich 1.03 (vorher 1.04) */
	transform: scale(1.03);
}

.zel-video__bubble .zel-icon {
	fill: currentColor;
}

.zel-video__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.zel-video__note {
	margin: 0.625rem 0 0;
	color: var(--zel-anthrazit);
	font-size: 0.8125rem;
}

/* Passt dazu */
.zel-matching .zel-products {
	margin-top: 0.5rem;
}

/* Unter Rezepten (Paket 17): so breit wie auf der Produktseite (--zel-wide), nicht nur die Textspalte */
.zel-content > .zel-matching--rezept {
	max-width: var(--zel-wide);
	margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

/* Überschrift auf Beige weiß wie „Weitere Rezepte“ (auf hellen Seiten anthrazit wie auf der Produktseite) */
.zel-matching--rezept .zel-product-section__title {
	color: var(--zel-heading-color, var(--zel-weiss));
}

.zel-page-light .zel-matching--rezept .zel-product-section__title {
	color: var(--zel-anthrazit);
}

/* ------------------------------------------------------------------ */
/* Hinweis Bienenpatenschaft vor dem Fußbereich                        */
/* ------------------------------------------------------------------ */

.zel-patenschaft-hint {
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 7.5rem);
	background: var(--zel-beige);
	color: var(--zel-schwarz);
}

.zel-patenschaft-hint__inner {
	display: grid;
	gap: calc(var(--zel-bubble) * 0.5 + 2rem);
	align-items: center;
}

.zel-patenschaft-hint__media {
	position: relative;
	margin-right: calc(var(--zel-bubble) * 0.35);
}

.zel-patenschaft-hint__image {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.zel-patenschaft-hint__illu {
	width: min(60%, 16rem);
	height: auto;
	margin-inline: auto;
}

.zel-patenschaft-hint__bubble {
	position: absolute;
	right: calc(var(--zel-bubble) * -0.35);
	bottom: calc(var(--zel-bubble) * -0.4);
	z-index: 1;
}

.zel-patenschaft-hint .zel-patenschaft-hint__title {
	margin-bottom: 1.5rem;
	color: var(--zel-weiss);
	font-size: var(--zel-fs-h2);
}

.zel-patenschaft-hint__copy {
	max-width: 36rem;
	font-size: var(--zel-fs-text);
	line-height: var(--zel-lh-text);
}

.zel-patenschaft-hint__copy > :last-child {
	margin-bottom: 0;
}

.zel-patenschaft-hint__copy a {
	color: inherit;
}

@media (min-width: 768px) {
	.zel-patenschaft-hint__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(3rem, 7vw, 7rem);
	}
}

/* ------------------------------------------------------------------ */
/* Dialog „Versandinformationen“                                       */
/* ------------------------------------------------------------------ */

.zel-dialog {
	width: min(42rem, calc(100% - 2rem));
	max-height: min(82vh, 50rem);
	padding: 0;
	overflow: auto;
	border: 0;
	background: var(--zel-weiss);
	color: var(--zel-anthrazit);
	box-shadow: var(--zel-shadow);
}

.zel-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.zel-dialog__box {
	position: relative;
	padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
}

.zel-dialog__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--zel-anthrazit);
	cursor: pointer;
}

.zel-dialog__close:hover {
	background: var(--zel-papier);
}

/* Lange Wörter („Versandinformationen“) dürfen am Handy nicht unter den Schließen-Knopf laufen. */
.zel-dialog__title {
	display: inline-block;
	max-width: calc(100% - 3rem);
	margin: 0 3rem 1.25rem 0;
	padding-bottom: 0.5rem;
	border-bottom: var(--zel-dot) dotted currentColor;
	color: var(--zel-anthrazit);
	font-size: clamp(1.375rem, 6.5vw, 2.1875rem);
	overflow-wrap: break-word;
	hyphens: auto;
}

.zel-dialog__content {
	font-size: 0.9375rem;
	line-height: 1.7;
}

.zel-dialog__content a {
	color: var(--zel-braun);
}

.zel-dialog__content h2,
.zel-dialog__content h3 {
	margin-top: 1.5rem;
	color: var(--zel-anthrazit);
	font-size: 1.375rem;
}

/* ------------------------------------------------------------------ */
/* Mein Konto und Formulare im WooCommerce-Markup                      */
/* ------------------------------------------------------------------ */

/* Konto nach der Anmeldung (Navigation, Übersicht, Bestellungen, Adressen): account.css */

.woocommerce-account .woocommerce {
	color: var(--zel-anthrazit);
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.woocommerce-account .u-columns.col2-set {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

@media (min-width: 768px) {
	.woocommerce-account .u-columns.col2-set {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword {
	max-width: 34rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--zel-papier);
}

.woocommerce form .form-row {
	margin: 0 0 1rem;
}

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.375rem;
	font-weight: 500;
}

.woocommerce form .form-row .required {
	border: 0;
	color: var(--zel-rot);
	text-decoration: none;
}

.woocommerce form .form-row .woocommerce-form__label-for-checkbox,
.woocommerce .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
}

.woocommerce form .form-row input[type="checkbox"],
.woocommerce .woocommerce-form__input-checkbox {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	accent-color: var(--zel-schwarz);
}

@media (min-width: 768px) {
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last {
		display: inline-block;
		width: calc(50% - 0.5rem);
		vertical-align: top;
	}

	.woocommerce form .form-row-first {
		margin-right: 0.875rem;
	}
}

.woocommerce form .form-row-wide {
	clear: both;
}

.woocommerce .password-input {
	position: relative;
	display: block;
}

.woocommerce .show-password-input {
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23404040' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 1.25rem no-repeat;
	transform: translateY(-50%);
	cursor: pointer;
}

.woocommerce .show-password-input.display-password {
	opacity: 0.55;
}

.woocommerce .lost_password {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
}

.woocommerce .lost_password a {
	color: var(--zel-anthrazit);
}

.woocommerce table.shop_table,
.woocommerce table.woocommerce-orders-table,
.woocommerce table.woocommerce-table {
	width: 100%;
	margin: 0 0 1.75rem;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 0.75rem 0.625rem;
	border-bottom: 1px solid var(--zel-hellgrau);
	text-align: left;
	vertical-align: top;
}

.woocommerce table.shop_table thead th {
	border-bottom: 2px solid var(--zel-anthrazit);
	font-family: var(--zel-font-display);
	font-size: 1.125rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.woocommerce table.shop_table .button {
	min-height: 2.5rem;
	margin: 0.125rem 0.25rem 0.125rem 0;
	padding: 0.5rem 0.875rem;
	font-size: 1rem;
}

@media (max-width: 767.98px) {
	.woocommerce table.shop_table_responsive thead {
		display: none;
	}

	.woocommerce table.shop_table_responsive tr {
		display: block;
		padding: 0.75rem 0;
		border-bottom: 1px solid var(--zel-hellgrau);
	}

	.woocommerce table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.25rem 0;
		border: 0;
		text-align: right;
	}

	.woocommerce table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 500;
		text-align: left;
	}
}

.woocommerce-Addresses {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

@media (min-width: 768px) {
	.woocommerce-Addresses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.woocommerce-Address address,
.woocommerce-customer-details address {
	padding: 1.25rem;
	background: var(--zel-papier);
	font-style: normal;
	line-height: 1.65;
}

.woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.woocommerce-password-strength {
	margin-top: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.woocommerce-password-strength.strong {
	background: #e3f1ec;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
	background: #fbeeee;
	color: var(--zel-rot);
}

.woocommerce-password-strength.good {
	background: #fdf3e2;
}

.woocommerce-password-hint {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.8125rem;
}

/* ------------------------------------------------------------------ */
/* Bewegung reduzieren                                                 */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.zel-card__cart,
	.woocommerce-product-gallery__trigger,
	.zel-video__start::after {
		transition: none;
	}

	.zel-card__cart:hover,
	.woocommerce-product-gallery__trigger:hover,
	.zel-video__start:hover .zel-video__bubble {
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Suchergebnisse (search.php): Produkte als Karten, übrige als Liste  */
/* ------------------------------------------------------------------ */

.zel-search {
	padding-bottom: var(--zel-section);
}

.zel-search__title {
	margin: clamp(2rem, 4vw, 3rem) 0 1.5rem;
}

.zel-search-results {
	display: grid;
	gap: 1.75rem;
	max-width: var(--zel-narrow);
	margin: 0;
	padding: 0;
	list-style: none;
}

.zel-search-results__item {
	display: grid;
	gap: 0.25rem;
}

.zel-search-results__link {
	color: var(--zel-schwarz);
	font-family: var(--zel-font-display);
	font-size: 1.5rem;
	font-weight: var(--zel-fw-heading);
	letter-spacing: var(--zel-ls-heading);
	line-height: 1.15;
	text-transform: uppercase;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.zel-search-results__link:hover,
.zel-search-results__link:focus-visible {
	text-decoration: underline;
}

.zel-search-results__excerpt {
	margin: 0;
	color: var(--zel-anthrazit);
}

/* Such-H1 („Suche: …“, zel-heading--h2) am Handy so groß wie die übrigen H1 */
@media (max-width: 575.98px) {
	body.search .zel-page-head__title.zel-heading--h2 {
		font-size: var(--zel-fs-h1-mobil);
	}
}
