/*
 * Leo Design – Frontend
 * Handy zuerst. Breakpoints: ab 768px Tablet, ab 1025px Desktop (wie Woodmart-Header).
 * Alle Regeln sind mit body.leo-design oder eigenen .leo-Klassen begrenzt.
 */

/* ==========================================================================
   1. Farben, Formen, Schriften
   ========================================================================== */
:root {
	--leo-text: #062028;        /* Text, Überschriften, Footer */
	--leo-body: #44555b;        /* Fließtext */
	--leo-muted: #5b6a70;       /* Nebeninfos (Kontrast ≥ 4,9:1 auf Weiß und Sand) */
	--leo-accent: #c47d22;      /* Akzent für Linien, Markierungen, große Preise */
	--leo-price: #a5671a;       /* Preise/Links als Text: Akzentton mit ≥ 4,5:1 auf Weiß */
	--leo-btn: #9a5f17;         /* Buttons (weiße Schrift 5,2:1) */
	--leo-btn-hover: #82500f;
	--leo-gold: #f6c35b;        /* Topbar, Badges */
	--leo-gold-hover: #f0b43a;
	--leo-sand: #faf6ef;        /* Flächen */
	--leo-sand-2: #f3ebdf;      /* Bild-Platzhalter */
	--leo-line: #ece3d6;        /* Linien */
	--leo-card: #fff;
	--leo-ok: #1f7a45;          /* Lieferstatus (5,3:1) */
	--leo-radius: 10px;
	--leo-radius-sm: 8px;
	--leo-shadow: 0 1px 2px rgba(98, 64, 20, 0.05), 0 6px 18px rgba(98, 64, 20, 0.07);
	--leo-shadow-hover: 0 2px 4px rgba(98, 64, 20, 0.06), 0 10px 26px rgba(98, 64, 20, 0.11);
	--leo-font-head: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
	--leo-font: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
	--leo-gutter: 16px;
	--leo-container: var(--wd-container-w, 1222px);
	--leo-touch: 44px;
	--leo-buybar-h: 98px;
}

@media (min-width: 1025px) {
	:root {
		--leo-gutter: 15px; /* wie Woodmart-Container, damit Kanten fluchten */
	}
}

/* Woodmart-Variablen auf die Leo-Farben setzen */
body.leo-design {
	--wd-primary-color: var(--leo-price);
	--wd-alternative-color: var(--leo-gold);
	--btn-accented-bgcolor: var(--leo-btn);
	--btn-accented-bgcolor-hover: var(--leo-btn-hover);
	--btn-accented-color: #fff;
	--btn-accented-color-hover: #fff;
	--btn-accented-brd-radius: var(--leo-radius);
	--btn-default-brd-radius: var(--leo-radius);
	--wd-brd-radius: var(--leo-radius);
	--wd-form-brd-radius: var(--leo-radius);
	--wd-form-brd-color: var(--leo-line);
	--wd-form-brd-color-focus: var(--leo-accent);
	--notices-success-bg: #eef6f0;
	--notices-success-color: #17402a;
	--notices-warning-bg: #fdf1d8;
	--notices-warning-color: #5c3a0b;
	overflow-x: clip; /* kein waagrechtes Scrollen */
}

/* ==========================================================================
   2. Grundbausteine
   ========================================================================== */
.leo-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.leo-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--leo-container);
	margin-inline: auto;
	padding-inline: var(--leo-gutter);
}

.leo-section {
	padding-block: 40px;
	font-family: var(--leo-font);
	color: var(--leo-body);
}

.leo-section--tight {
	padding-block: 24px;
}

.leo-bg-sand {
	background: var(--leo-sand);
}

.leo-section__head {
	margin: 0 0 20px;
}

.leo-section__title {
	margin: 0;
	font-family: var(--leo-font-head);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--leo-text);
}

.leo-section__sub {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--leo-body);
}

.leo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.leo-grid > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.leo-hide-mobile {
	display: none !important;
}

.leo-btn,
.leo-design .leo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 22px;
	border: 1px solid var(--leo-btn);
	border-radius: var(--leo-radius);
	background: var(--leo-btn);
	box-shadow: none;
	color: #fff;
	font-family: var(--leo-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.leo-btn:hover,
.leo-btn:focus-visible {
	border-color: var(--leo-btn-hover);
	background: var(--leo-btn-hover);
	color: #fff;
}

.leo-btn.leo-btn--ghost,
.leo-design .leo-btn.leo-btn--ghost {
	border-color: var(--leo-text);
	background: #fff;
	color: var(--leo-text);
}

.leo-btn.leo-btn--ghost:hover,
.leo-btn.leo-btn--ghost:focus-visible {
	border-color: var(--leo-text);
	background: var(--leo-text);
	color: #fff;
}

.leo-btn.leo-btn--gold,
.leo-design .leo-btn.leo-btn--gold {
	border-color: var(--leo-gold);
	background: var(--leo-gold);
	color: var(--leo-text);
}

.leo-btn.leo-btn--gold:hover,
.leo-btn.leo-btn--gold:focus-visible {
	border-color: var(--leo-gold-hover);
	background: var(--leo-gold-hover);
	color: var(--leo-text);
}

.leo-textlink,
.leo-design .leo-textlink {
	color: var(--leo-price);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.leo-dot {
	display: inline-block;
	flex: none;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 1px;
}

.leo-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--leo-gold);
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.leo-design :focus-visible {
	outline: 2px solid var(--leo-accent);
	outline-offset: 2px;
}

/* Woodmart: keine Merkliste, kein Vergleich */
body.leo-design .wd-header-wishlist,
body.leo-design .wd-wishlist-btn,
body.leo-design .wd-header-compare,
body.leo-design .wd-compare-btn,
body.leo-design .wd-action-btn.wd-wishlist-icon,
body.leo-design .wd-action-btn.wd-compare-icon {
	display: none !important;
}

/* Woodmart-Container: einheitlicher Seitenrand (16px mobil) */
@media (max-width: 1024px) {
	body.leo-design .container,
	body.leo-design .container-fluid {
		padding-left: var(--leo-gutter);
		padding-right: var(--leo-gutter);
	}
}

/* ==========================================================================
   3. Kopfzeile (Woodmart-Header-Builder) und Topbar [leo_topbar]
   ========================================================================== */
body.leo-design .whb-top-bar {
	background-color: var(--leo-gold);
	color: var(--leo-text);
}

.leo-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 40px;
	width: 100%;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	font-family: var(--leo-font);
	font-size: 12px;
	line-height: 1.4;
	color: var(--leo-text);
	text-align: center;
}

.leo-topbar__item {
	margin: 0;
	padding: 0;
}

.leo-topbar strong {
	font-weight: 700;
	color: var(--leo-text);
}

.leo-topbar a {
	color: var(--leo-text);
	text-decoration: underline;
}

body.leo-design .whb-top-bar .whb-column:has(.leo-topbar) {
	flex: 1 1 auto;
	justify-content: center;
}

body.leo-design .whb-general-header {
	background-color: #fff;
	border-bottom: 1px solid var(--leo-line);
}

body.leo-design .whb-header-bottom {
	background-color: #fff;
	border-bottom: 1px solid var(--leo-line);
}

/* Suche */
body.leo-design .whb-header .wd-search-form input[type="text"],
body.leo-design .whb-header .wd-search-form input[type="search"],
body.leo-design .whb-header .searchform input.s {
	box-sizing: border-box;
	height: var(--leo-touch);
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: var(--leo-sand);
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 16px; /* verhindert Zoom auf iOS */
}

body.leo-design .whb-header .wd-search-form input::placeholder,
body.leo-design .whb-header .searchform input.s::placeholder {
	color: var(--leo-muted);
	opacity: 1;
}

/* Netto/Brutto-Schalter (Leo B2B): nur Höhe für 44px-Touchziel im Header */
body.leo-design .whb-header .leo-b2b-taxswitch {
	box-sizing: border-box;
	height: var(--leo-touch);
	align-items: stretch;
}

body.leo-design .whb-header .leo-b2b-taxswitch .leo-b2b-taxswitch__opt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
}

/* Hauptmenü */
body.leo-design .whb-header .wd-nav-main > li > a,
body.leo-design .whb-header .wd-nav.wd-nav-main > li > a {
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

body.leo-design .whb-header .wd-nav-main > li > a:hover,
body.leo-design .whb-header .wd-nav-main > li.current-menu-item > a {
	color: var(--leo-price);
}

/* Menüpunkt mit CSS-Klasse „leo-menu-accent“ (z. B. Schnellbestellung) */
body.leo-design .leo-menu-accent > a,
body.leo-design .wd-nav .leo-menu-accent > a {
	color: var(--leo-price) !important;
}

/* Konto/Warenkorb (Desktop) */
body.leo-design .whb-header .wd-tools-element .wd-tools-text {
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 14px;
	text-transform: none;
}

/* ---------- Mobiler Header: 3-Spalten-Raster 88px | Logo | 88px ---------- */
@media (max-width: 1024px) {
	body.leo-design .whb-general-header .whb-flex-row {
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr) 88px;
		align-items: center;
		column-gap: 8px;
	}

	body.leo-design .whb-general-header .whb-hidden-lg {
		display: flex;
		align-items: center;
		width: auto !important;
		min-width: 0;
		max-width: none !important;
		flex: none !important;
		gap: 0;
		margin: 0;
		padding: 0;
	}

	body.leo-design .whb-general-header .whb-mobile-left {
		grid-column: 1;
		justify-content: flex-start;
	}

	body.leo-design .whb-general-header .whb-mobile-center {
		grid-column: 2;
		justify-content: center;
	}

	body.leo-design .whb-general-header .whb-mobile-right {
		grid-column: 3;
		justify-content: flex-end;
	}

	body.leo-design .whb-general-header .whb-hidden-lg > * {
		margin: 0 !important;
	}

	/* Alle Symbole in gleich großen 44×44-Feldern, exakt zentriert */
	body.leo-design .whb-general-header .whb-hidden-lg .wd-tools-element {
		margin: 0 !important;
		padding: 0 !important;
	}

	body.leo-design .whb-general-header .whb-hidden-lg .wd-tools-element > a {
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: var(--leo-touch);
		height: var(--leo-touch);
		min-width: var(--leo-touch);
		margin: 0;
		padding: 0 !important;
		color: var(--leo-text);
	}

	body.leo-design .whb-general-header .whb-hidden-lg .wd-tools-text {
		display: none !important;
	}

	/* Zähler-Badge absolut – verschiebt nichts */
	body.leo-design .whb-general-header .wd-tools-icon {
		position: relative;
	}

	body.leo-design .whb-general-header .wd-cart-number,
	body.leo-design .whb-general-header .wd-tools-count {
		position: absolute;
		top: -6px;
		right: -8px;
		min-width: 18px;
		height: 18px;
		margin: 0;
		padding: 0 5px;
		border-radius: 999px;
		background: var(--leo-btn);
		color: #fff;
		font-size: 12px;
		line-height: 18px;
		text-align: center;
	}

	body.leo-design .whb-general-header .whb-mobile-center .wd-logo img,
	body.leo-design .whb-general-header .whb-mobile-center .site-logo img {
		display: block;
		width: auto;
		max-width: 100%;
		max-height: 40px;
		margin-inline: auto;
	}

	/* Zeile darunter (Woodmart: EINE Spalte .whb-col-mobile): Suche flexibel, Schalter fest, 8px Abstand */
	body.leo-design .whb-header-bottom .whb-flex-row {
		display: flex !important;
		align-items: center;
	}

	body.leo-design .whb-header-bottom .whb-col-mobile,
	body.leo-design .whb-header-bottom .whb-column_mobile5 {
		display: flex !important;
		flex: 1 1 100% !important;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between !important;
		gap: 8px;
		box-sizing: border-box;
		width: 100% !important;
		min-width: 0;
		max-width: 100% !important;
		margin: 0;
		padding: 0;
	}

	body.leo-design .whb-header-bottom .whb-col-mobile > *,
	body.leo-design .whb-header-bottom .whb-column_mobile5 > * {
		margin: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.leo-design .whb-header-bottom .whb-col-mobile > .wd-header-search-form,
	body.leo-design .whb-header-bottom .whb-col-mobile > .wd-search-form,
	body.leo-design .whb-header-bottom .whb-column_mobile5 > .wd-header-search-form {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}

	body.leo-design .whb-header-bottom .wd-header-search-form .searchform,
	body.leo-design .whb-header-bottom .wd-header-search-form input {
		width: 100% !important;
		min-width: 0 !important;
	}

	body.leo-design .whb-header-bottom .whb-col-mobile > .wd-header-text,
	body.leo-design .whb-header-bottom .whb-column_mobile5 > .wd-header-text {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 0;
		max-width: none !important;
	}

	body.leo-design .whb-header-bottom .wd-header-text p {
		margin: 0;
	}

	/* Falls doch mehrere Mobil-Spalten verwendet werden */
	body.leo-design .whb-header-bottom .whb-hidden-lg.whb-empty-column {
		display: none !important;
	}

	body.leo-design .whb-header-bottom .whb-hidden-lg:has(.wd-search-form, .searchform):not(.whb-col-mobile) {
		flex: 1 1 auto !important;
		min-width: 0;
	}
}
/* ==========================================================================
   4. Produktkachel
   ========================================================================== */
.leo-has-card,
body.leo-design .leo-has-card {
	display: flex;
	flex-direction: column;
	height: auto;
}

.leo-card {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: var(--leo-card);
	box-shadow: var(--leo-shadow);
	font-family: var(--leo-font);
	text-align: left;
	transition: box-shadow 0.2s ease;
}

.leo-card:hover {
	box-shadow: var(--leo-shadow-hover);
}

.leo-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin: 8px 8px 0;
	overflow: hidden;
	border-radius: var(--leo-radius-sm);
	background: #fff;
}

.leo-card__media img,
.leo-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.leo-card:hover .leo-card__media img {
	transform: scale(1.03);
}

.leo-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 10px 12px 12px;
}

.leo-card__brand {
	margin: 0 0 2px;
	overflow: hidden;
	color: var(--leo-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.leo-card__title,
body.leo-design .leo-card__title {
	display: -webkit-box;
	min-height: calc(2 * 1.35em);
	margin: 0 0 8px;
	padding: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	font-family: var(--leo-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.leo-card__title a {
	color: var(--leo-text);
	text-decoration: none;
}

/* Ganze Kachel klickbar (großes Touch-Ziel); Button und Links liegen darüber */
.leo-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.leo-card__action,
.leo-card__meta a {
	position: relative;
	z-index: 2;
}

.leo-card__title a:hover {
	color: var(--leo-price);
}

.leo-card__price {
	margin: 0;
	color: var(--leo-price);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}

.leo-card__price .amount,
.leo-card__price bdi {
	color: var(--leo-price);
}

.leo-card__price del,
.leo-card__price del .amount {
	color: var(--leo-muted);
	font-size: 13px;
	font-weight: 400;
}

.leo-card__price ins {
	text-decoration: none;
}

.leo-card__per {
	color: var(--leo-body);
	font-size: 12px;
	font-weight: 400;
}

.leo-card__meta,
.leo-card__base {
	margin: 2px 0 0;
	color: var(--leo-muted);
	font-size: 12px;
	line-height: 1.45;
}

.leo-card__meta a {
	color: var(--leo-muted);
	text-decoration: underline;
}

.leo-card__stock {
	display: flex;
	align-items: baseline;
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.4;
}

.leo-card__stock.is-instock {
	color: var(--leo-ok);
}

.leo-card__stock.is-onbackorder {
	color: #8a5414;
}

.leo-card__stock.is-outofstock {
	color: var(--leo-muted);
}

.leo-card__time {
	display: none;
}

.leo-card__action {
	margin-top: auto;
	padding-top: 12px;
}

.leo-card__action .button,
.leo-card__action .added_to_cart,
body.leo-design .leo-card__action a.button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: var(--leo-touch);
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var(--leo-btn);
	border-radius: var(--leo-radius-sm);
	background: var(--leo-btn);
	box-shadow: none;
	color: #fff;
	font-family: var(--leo-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
}

.leo-card__action .button:hover,
.leo-card__action .button:focus-visible {
	border-color: var(--leo-btn-hover);
	background: var(--leo-btn-hover);
	color: #fff;
}

.leo-card__action .added_to_cart {
	margin-top: 6px;
	border-color: var(--leo-line);
	background: #fff;
	color: var(--leo-text);
}

.leo-card__action .button.loading {
	opacity: 0.7;
}

/* Woodmart-Icons im Button ausblenden (keine Icon-Flut) */
.leo-card__action .button::before,
.leo-card__action .button::after {
	display: none !important;
}

/* Ausverkauft: dezent */
.leo-card.is-outofstock .leo-card__media,
.leo-card.is-outofstock .leo-card__price {
	opacity: 0.55;
}

.leo-card.is-outofstock .leo-card__action .button {
	border-color: var(--leo-line);
	background: #fff;
	color: var(--leo-text);
}

/* Woodmart-Raster: 2 Spalten auf dem Handy, gleiche Höhen */
@media (max-width: 767px) {
	body.leo-design .products.wd-grid-g,
	body.leo-design .wd-products.wd-grid-g,
	body.leo-design .wd-products-element .wd-grid-g {
		--wd-col: 2 !important;
		--wd-col-sm: 2 !important;
		--wd-gap: 12px;
		--wd-gap-sm: 12px;
	}
}

body.leo-design .leo-has-card .product-element-bottom,
body.leo-design .leo-has-card .wd-buttons {
	display: none;
}

/* ==========================================================================
   5. Kategorieseite
   ========================================================================== */
body.leo-cat-head .page-title,
body.leo-cat-head .wd-page-title,
body.leo-cat-head .term-description,
body.leo-cat-head .page-description,
body.leo-cat-head .shop-loop-head .wd-breadcrumbs,
body.leo-cat-head .shop-loop-head .woocommerce-breadcrumb {
	display: none !important;
}

.leo-cathead {
	box-sizing: border-box;
	flex: 0 0 100%;
	grid-column: 1 / -1;
	order: -2;
	width: 100%;
	max-width: 100%;
	padding: 16px 0 8px;
	font-family: var(--leo-font);
}

.row > .leo-cathead {
	padding-left: 15px;
	padding-right: 15px;
}

.leo-breadcrumb {
	margin: 0 0 12px;
	color: var(--leo-muted);
	font-size: 13px;
	line-height: 1.5;
}

.leo-breadcrumb a {
	color: var(--leo-muted);
	text-decoration: none;
}

.leo-breadcrumb a:hover {
	color: var(--leo-price);
	text-decoration: underline;
}

.leo-cathead__title,
body.leo-design .leo-cathead__title {
	margin: 0 0 10px;
	color: var(--leo-text);
	font-family: var(--leo-font-head);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.leo-cathead__intro {
	max-width: 760px;
	color: var(--leo-body);
	font-size: 15px;
	line-height: 1.5;
}

.leo-cathead__intro p {
	margin: 0 0 0.75em;
}

.leo-cathead__intro p:last-child {
	margin-bottom: 0;
}

.leo-cathead__more,
body.leo-design .leo-cathead__more {
	display: inline-flex;
	align-items: center;
	min-height: var(--leo-touch);
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--leo-price);
	font-family: var(--leo-font);
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.leo-cathead__more[hidden] {
	display: none;
}

@media (max-width: 767px) {
	.leo-js .leo-cathead__intro:not(.is-open) {
		max-height: 3em; /* 2 Zeilen */
		overflow: hidden;
	}
}

/* Leiste „Filter | Sortieren“ (nur Handy) */
.leo-shopbar {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
	flex: 0 0 100%;
	margin: 0 0 12px;
}

.leo-shopbar__btn,
body.leo-design .leo-shopbar .leo-shopbar__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-sizing: border-box;
	min-height: var(--leo-touch);
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: #fff;
	box-shadow: none;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.leo-shopbar__btn[hidden] {
	display: none;
}

.leo-shopbar__count {
	color: var(--leo-price);
}

.leo-shopbar__sort .woocommerce-ordering {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	padding: 0;
}

.leo-shopbar__sort .woocommerce-ordering select,
.leo-shopbar__sort select.orderby {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	opacity: 0;
	font-size: 16px;
	cursor: pointer;
}

@media (max-width: 767px) {
	body.leo-archive .woocommerce-ordering:not(.leo-shopbar__sort .woocommerce-ordering),
	body.leo-archive .wd-show-sidebar-btn,
	body.leo-archive .wd-sidebar-opener,
	body.leo-archive .wd-products-per-page,
	body.leo-archive .wd-products-shop-view {
		display: none !important;
	}

	/* Filter stehen im Panel, nicht über/unter den Produkten */
	body.leo-archive:not(.leo-filter-open) .sidebar-container:not(.wd-side-hidden) {
		display: none;
	}

	body.leo-filter-open {
		overflow: hidden;
	}

	body.leo-filter-open .leo-filter-panel {
		position: fixed !important;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 100001;
		display: block !important;
		box-sizing: border-box;
		width: min(88vw, 360px) !important;
		max-width: none !important;
		height: 100%;
		margin: 0 !important;
		padding: 0 16px 24px !important;
		overflow-y: auto;
		background: #fff;
		transform: none !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body.leo-filter-open .leo-filter-backdrop {
		position: fixed;
		inset: 0;
		z-index: 100000;
		display: block;
		background: rgba(6, 32, 40, 0.45);
	}
}

.leo-filter-backdrop {
	display: none;
}

.leo-filterhead {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -16px 8px;
	padding: 8px 8px 8px 16px;
	border-bottom: 1px solid var(--leo-line);
	background: #fff;
}

.leo-filterhead__title {
	margin: 0;
	color: var(--leo-text);
	font-family: var(--leo-font-head);
	font-size: 18px;
	font-weight: 500;
}

.leo-filterhead__close,
body.leo-design .leo-filterhead__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--leo-touch);
	height: var(--leo-touch);
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--leo-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

@media (min-width: 768px) {
	.leo-shopbar {
		display: none;
	}
}

/* Ergebnisanzahl, Sortierung (Desktop) */
body.leo-archive .woocommerce-result-count {
	color: var(--leo-body);
	font-family: var(--leo-font);
	font-size: 14px;
}

body.leo-archive .woocommerce-ordering select {
	min-height: var(--leo-touch);
	border: 0;
	background-color: transparent;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 14px;
}

/* Filter-Widgets als ruhige Checkbox-Listen */
body.leo-archive .sidebar-container .widget-title,
body.leo-archive .sidebar-container .widget .title,
body.leo-archive .sidebar-container .wp-block-heading {
	margin-bottom: 10px;
	color: var(--leo-text);
	font-family: var(--leo-font-head);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

body.leo-archive .sidebar-container .widget {
	margin-bottom: 24px;
	padding: 0;
	border: 0;
}

body.leo-archive .sidebar-container .woocommerce-widget-layered-nav-list,
body.leo-archive .sidebar-container .woocommerce-widget-layered-nav-list li,
body.leo-archive .sidebar-container .wc-layered-nav-term {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.leo-archive .sidebar-container .woocommerce-widget-layered-nav-list li a,
body.leo-archive .sidebar-container .wc-layered-nav-term a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	color: var(--leo-body);
	font-family: var(--leo-font);
	font-size: 15px;
	text-decoration: none;
}

body.leo-archive .sidebar-container .woocommerce-widget-layered-nav-list li a::before,
body.leo-archive .sidebar-container .wc-layered-nav-term a::before {
	content: "";
	flex: none;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	border: 1.5px solid #b9ad9c;
	border-radius: 4px;
	background: #fff center / 12px no-repeat;
}

body.leo-archive .sidebar-container .woocommerce-widget-layered-nav-list li.chosen a::before,
body.leo-archive .sidebar-container .wc-layered-nav-term.chosen a::before {
	border-color: var(--leo-btn);
	background-color: var(--leo-btn);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.5 2.5L10 3.3' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
	body.leo-archive .sidebar-container .woocommerce-widget-layered-nav-list li a,
	body.leo-archive .sidebar-container .wc-layered-nav-term a {
		min-width: var(--leo-touch);
		min-height: var(--leo-touch);
	}
}

body.leo-archive .sidebar-container input[type="checkbox"] {
	accent-color: var(--leo-btn);
}

/* SEO-Text unter den Produkten */
.leo-seo {
	max-width: 820px;
	margin: 40px 0 0;
	padding-top: 32px;
	border-top: 1px solid var(--leo-line);
	color: var(--leo-body);
	font-family: var(--leo-font);
	font-size: 15px;
	line-height: 1.6;
}

.leo-seo h2,
.leo-seo h3 {
	margin: 1.4em 0 0.5em;
	color: var(--leo-text);
	font-family: var(--leo-font-head);
	font-weight: 500;
	line-height: 1.3;
	text-transform: none;
}

.leo-seo h2 {
	font-size: 20px;
}

.leo-seo h3 {
	font-size: 17px;
}

.leo-seo > :first-child {
	margin-top: 0;
}

.leo-seo a {
	color: var(--leo-price);
}

/* ==========================================================================
   6. Produktseite
   ========================================================================== */
.leo-single__brand {
	margin: 0 0 4px;
	color: var(--leo-muted);
	font-family: var(--leo-font);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.leo-single .summary .product_title,
body.leo-single .product_title.entry-title {
	margin: 0 0 12px;
	color: var(--leo-text);
	font-family: var(--leo-font-head);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.leo-price {
	margin: 0 0 12px;
	font-family: var(--leo-font);
}

.leo-price .leo-price__main,
body.leo-single .summary .leo-price p.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin: 0;
	color: var(--leo-price);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
}

.leo-price .amount,
.leo-price bdi {
	color: var(--leo-price);
}

.leo-price del,
.leo-price del .amount {
	color: var(--leo-muted);
	font-size: 17px;
	font-weight: 400;
}

.leo-price ins {
	text-decoration: none;
}

.leo-price .leo-price__per,
.leo-price .leo-price__sep,
.leo-price .woocommerce-price-suffix {
	color: var(--leo-body);
	font-size: 13px;
	font-weight: 400;
}

.leo-price .woocommerce-price-suffix + .woocommerce-price-suffix {
	margin-left: 0;
}

.leo-baseprice {
	margin: 4px 0 0;
	color: var(--leo-body);
	font-size: 13px;
	line-height: 1.4;
}

.leo-baseprice[hidden] {
	display: none;
}

.leo-baseprice .amount,
.leo-baseprice bdi {
	color: inherit;
	font-weight: 400;
}

/* Staffeltabelle von Leo B2B: gleiche Breite wie die Buttons darunter (nur Ausrichtung) */
body.leo-single .summary .leo-b2b-tiers {
	max-width: none;
}

/* Varianten */
body.leo-single .variations_form table.variations {
	width: 100%;
	margin: 0 0 12px;
	border: 0;
}

body.leo-single .variations_form table.variations tr {
	display: block;
	margin-bottom: 12px;
}

body.leo-single .variations_form table.variations th,
body.leo-single .variations_form table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

body.leo-single .variations_form table.variations th.label,
body.leo-single .variations_form table.variations .label label {
	margin-bottom: 6px;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.leo-js .leo-varselect {
	display: none;
}

/* Woodmart-Swatches und Dropdown ausblenden, sobald Leo-Felder in der Zelle stehen (Dropdown bleibt im DOM für WooCommerce) */
.leo-js .variations_form td:has(.leo-varbtns) select,
.leo-js .variations_form td:has(.leo-varbtns) .wd-select,
.leo-js .variations_form td:has(.leo-varbtns) .wd-swatches-product,
.leo-js .variations_form td:has(.leo-varbtns) .wd-swatches-single,
.leo-js .variations_form td:has(.leo-varbtns) .swatches-select,
.leo-js .variations_form td:has(.leo-varbtns) .wd-swatch-divider {
	display: none !important;
}

.leo-varbtns {
	display: none;
}

.leo-js .leo-varbtns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.leo-varbtn,
body.leo-design .leo-varbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: var(--leo-touch);
	min-height: var(--leo-touch);
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius-sm);
	background: #fff;
	box-shadow: none;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.leo-design .leo-varbtn:hover {
	border-color: var(--leo-accent);
	background: #fff;
	color: var(--leo-text);
}

.leo-varbtn.is-active,
body.leo-design .leo-varbtn.is-active {
	border-color: var(--leo-text);
	box-shadow: inset 0 0 0 1px var(--leo-text);
	background: #fff;
	color: var(--leo-text);
}

body.leo-design .leo-varbtn.is-disabled {
	color: var(--leo-muted);
	text-decoration: line-through;
	opacity: 0.6;
	cursor: not-allowed;
}

body.leo-single .variations_form .reset_variations {
	display: inline-flex;
	align-items: center;
	min-height: var(--leo-touch);
	color: var(--leo-price);
	font-size: 14px;
}

/* Menge + Warenkorb auf gleicher Höhe */
body.leo-single .summary form.cart:not(.variations_form),
body.leo-single .summary .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}

body.leo-single .summary form.cart .quantity {
	display: inline-flex;
	align-items: stretch;
	height: 52px;
	margin: 0;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: #fff;
}

body.leo-single .summary form.cart .quantity input.qty {
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--leo-text);
	font-size: 16px;
}

body.leo-single .summary form.cart .quantity .minus,
body.leo-single .summary form.cart .quantity .plus {
	min-width: var(--leo-touch);
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--leo-text);
}

body.leo-single .summary .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 52px;
	margin: 0;
	border-radius: var(--leo-radius);
	background-color: var(--leo-btn);
	color: #fff;
	font-family: var(--leo-font);
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

body.leo-single .summary .single_add_to_cart_button:hover {
	background-color: var(--leo-btn-hover);
	color: #fff;
}

/* Hinweise unter dem Button */
.leo-single__info {
	margin: 16px 0 0;
	font-family: var(--leo-font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--leo-body);
}

.leo-single__info p {
	margin: 0 0 6px;
}

.leo-single__stock {
	display: flex;
	align-items: baseline;
	color: var(--leo-ok);
}

.leo-single__stock.is-onbackorder {
	color: #8a5414;
}

.leo-single__stock[hidden] {
	display: none;
}

.leo-single__bulk a {
	display: inline-flex;
	align-items: center;
	min-height: var(--leo-touch);
	color: var(--leo-price);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.leo-single-sections .summary .stock.in-stock,
body.leo-single-sections .woocommerce-variation-availability .stock.in-stock,
body.leo-single-sections .woocommerce-tabs,
body.leo-single-sections .summary .product_meta,
body.leo-single-sections .summary .product-share,
body.leo-single-sections .summary .wd-social-icons {
	display: none !important;
}

/* Ausklappbare Abschnitte */
.leo-sections {
	margin: 24px 0 0;
	border-top: 1px solid var(--leo-line);
	font-family: var(--leo-font);
}

.leo-section-acc {
	border-bottom: 1px solid var(--leo-line);
}

.leo-section-acc__head {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 40px 0 0;
	color: var(--leo-text);
	font-size: 15px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.leo-section-acc__head::-webkit-details-marker {
	display: none;
}

.leo-section-acc__head::before,
.leo-section-acc__head::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 12px;
	height: 2px;
	background: var(--leo-text);
	transition: transform 0.2s ease;
}

.leo-section-acc__head::after {
	transform: rotate(90deg);
}

.leo-section-acc[open] > .leo-section-acc__head::after {
	transform: rotate(0deg);
}

.leo-section-acc__body {
	padding: 0 0 20px;
	color: var(--leo-body);
	font-size: 15px;
	line-height: 1.6;
}

.leo-section-acc__body > :first-child {
	margin-top: 0;
}

.leo-section-acc__body table.woocommerce-product-attributes,
.leo-section-acc__body table.shop_attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.leo-section-acc__body table.woocommerce-product-attributes th,
.leo-section-acc__body table.woocommerce-product-attributes td {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid var(--leo-line);
	background: none;
	font-size: 14px;
	text-align: left;
	vertical-align: top;
}

.leo-section-acc__body table.woocommerce-product-attributes th {
	width: 45%;
	padding-right: 12px;
	color: var(--leo-text);
	font-weight: 600;
}

.leo-section-acc__body table.woocommerce-product-attributes td p {
	margin: 0;
}

/* Galerie */
body.leo-single .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.leo-single .woocommerce-product-gallery .wd-carousel-item img,
body.leo-single .woocommerce-product-gallery figure img {
	border-radius: var(--leo-radius);
}

body.leo-single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
body.leo-single .woocommerce-product-gallery .wd-gallery-images {
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: #fff;
	overflow: hidden;
}

/* Kaufleiste (Handy) */
.leo-buybar {
	display: none;
}

@media (max-width: 767px) {
	body.leo-has-buybar {
		padding-bottom: calc(var(--leo-buybar-h) + env(safe-area-inset-bottom, 0px));
	}

	body.leo-has-buybar .leo-buybar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		display: grid;
		grid-template-areas: "total total" "qty btn";
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: 20px 48px;
		align-items: stretch;
		gap: 6px 8px;
		box-sizing: border-box;
		height: calc(var(--leo-buybar-h) + env(safe-area-inset-bottom, 0px));
		padding: 12px var(--leo-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--leo-line);
		background: #fff;
		box-shadow: 0 -6px 18px rgba(98, 64, 20, 0.08);
		font-family: var(--leo-font);
	}

	/* Menge + Button stehen in der Leiste */
	body.leo-has-buybar .summary form.cart .quantity,
	body.leo-has-buybar .summary form.cart .single_add_to_cart_button,
	body.leo-has-buybar .wd-sticky-btn,
	body.leo-has-buybar .wd-toolbar {
		display: none !important;
	}

	body.leo-has-buybar .scrollToTop {
		bottom: calc(var(--leo-buybar-h) + 12px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

.leo-qty {
	display: grid;
	grid-template-columns: repeat(3, var(--leo-touch));
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: #fff;
}

.leo-qty__btn,
body.leo-design .leo-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--leo-touch);
	min-height: var(--leo-touch);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--leo-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.leo-qty__input,
body.leo-design input.leo-qty__input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--leo-text);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.leo-qty__input::-webkit-outer-spin-button,
.leo-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.leo-buybar__btn,
body.leo-design .leo-buybar__btn {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	min-height: var(--leo-touch);
	margin: 0;
	padding: 4px 12px;
	border: 0;
	border-radius: var(--leo-radius);
	background: var(--leo-btn);
	box-shadow: none;
	color: #fff;
	font-family: var(--leo-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.leo-buybar__btn:hover,
.leo-buybar__btn:focus-visible {
	background: var(--leo-btn-hover);
	color: #fff;
}


/* ==========================================================================
   7. Startseiten-Bausteine
   ========================================================================== */

/* Hero */
.leo-hero {
	padding-block: 16px 40px;
}

.leo-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: center;
}

.leo-hero__media {
	order: -1; /* Handy: Bild oben */
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-radius: var(--leo-radius);
	background: var(--leo-sand-2);
}

.leo-hero__picture,
.leo-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.leo-hero__title,
body.leo-design .leo-hero__title {
	margin: 0 0 10px;
	color: var(--leo-text);
	font-family: var(--leo-font-head);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.leo-hero__lead {
	margin: 0 0 20px;
	color: var(--leo-body);
	font-size: 15px;
	line-height: 1.55;
}

.leo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.leo-hero__actions .leo-btn {
	flex: 1 1 100%;
}

.leo-hero__mlink {
	margin: 14px 0 0;
	text-align: center;
}

.leo-hero__mlink a {
	display: inline-flex;
	align-items: center;
	min-height: var(--leo-touch);
	color: var(--leo-text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Branchen-Kacheln */
.leo-tile {
	display: flex;
}

.leo-tile__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: #fff;
	box-shadow: var(--leo-shadow);
	color: var(--leo-text);
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.leo-tile__link:hover {
	box-shadow: var(--leo-shadow-hover);
	color: var(--leo-text);
}

.leo-tile__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--leo-sand-2);
}

.leo-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.leo-tile__link:hover .leo-tile__media img {
	transform: scale(1.03);
}

.leo-tile__label {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: var(--leo-touch);
	padding: 8px 12px;
	font-family: var(--leo-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.leo-tile__arrow {
	display: none;
	color: var(--leo-price);
}

/* Bestseller: Karussell (Handy) / Raster (Desktop) */
.leo-carousel {
	display: grid;
	grid-auto-columns: 72%;
	grid-auto-flow: column;
	gap: 12px;
	margin: 0 calc(-1 * var(--leo-gutter));
	padding: 4px var(--leo-gutter) 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-padding-inline: var(--leo-gutter);
	scroll-snap-type: x mandatory;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.leo-carousel::-webkit-scrollbar {
	display: none;
}

.leo-carousel:focus-visible {
	outline: 2px solid var(--leo-accent);
	outline-offset: -2px;
}

.leo-carousel__item {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	scroll-snap-align: start;
}

.leo-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	height: 8px;
	margin-top: 12px;
}

.leo-dots__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #d9cdbb;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.leo-dots__dot.is-active {
	width: 20px;
	background: var(--leo-accent);
}

/* Kategorien */
.leo-catcard {
	display: flex;
}

.leo-catcard__link {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 64px;
	padding: 10px;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: #fff;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.leo-catcard__link:hover {
	border-color: #dccfbc;
	box-shadow: var(--leo-shadow);
	color: var(--leo-text);
}

.leo-catcard__media {
	flex: none;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--leo-sand-2);
}

.leo-catcard__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.leo-catcard__name {
	min-width: 0;
	overflow-wrap: break-word; /* nur, wenn ein einzelnes Wort gar nicht passt */
	word-break: normal;
	-webkit-hyphens: manual;
	hyphens: manual;
}

/* Boxen: Großkunden (dunkel), Über uns (Sand) */
.leo-box {
	box-sizing: border-box;
	height: 100%;
	padding: 24px 20px;
	border-radius: var(--leo-radius);
	font-family: var(--leo-font);
}

.leo-box__title,
body.leo-design .leo-box__title {
	margin: 0 0 10px;
	font-family: var(--leo-font-head);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.leo-box--dark {
	background: var(--leo-text);
	color: rgba(255, 255, 255, 0.85);
}

.leo-box--dark .leo-box__title {
	color: #fff;
}

.leo-box__text {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.55;
}

.leo-box__action {
	margin: 0;
}

.leo-box--dark .leo-btn {
	width: 100%;
}

.leo-box--sand {
	border: 1px solid var(--leo-line);
	background: var(--leo-sand);
	color: var(--leo-body);
}

.leo-box--sand .leo-box__title {
	color: var(--leo-text);
}

.leo-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.leo-about__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--leo-radius-sm);
	background: var(--leo-sand-2);
}

.leo-about__media.is-empty {
	display: none;
}

.leo-about__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.leo-about__text p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.55;
}

.leo-duo__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

/* Vorteile */
.leo-usps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--leo-line);
	border-radius: var(--leo-radius);
	background: var(--leo-line);
	list-style: none;
}

.leo-usp {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 14px 16px;
	background: #fff;
	font-family: var(--leo-font);
	list-style: none;
}

.leo-usp__title {
	color: var(--leo-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.leo-usp__text {
	color: var(--leo-body);
	font-size: 13px;
	line-height: 1.45;
}

/* Bewertungen: nur Rahmen für das Bewertungs-Plugin */
.leo-bewertungen__slot {
	min-width: 0;
}

/* ==========================================================================
   8. Footer [leo_footer]
   ========================================================================== */
.leo-footer {
	background: var(--leo-text);
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--leo-font);
	font-size: 14px;
	line-height: 1.5;
}

.leo-footer .leo-wrap {
	padding-top: 32px;
	padding-bottom: 8px;
}

.leo-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.leo-footer__brand {
	padding-bottom: 20px;
}

.leo-footer__logo,
.leo-design .leo-footer__logo {
	display: inline-flex;
	align-items: center;
	min-height: var(--leo-touch);
	line-height: 0;
	text-decoration: none;
}

.leo-footer__logo img {
	display: block;
	width: auto;
	max-width: 180px;
	height: auto;
	max-height: 44px;
}

.leo-footer__logo-text {
	color: #fff;
	font-family: var(--leo-font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.leo-footer__text {
	max-width: 320px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.78);
}

.leo-footer__title,
body.leo-design .leo-footer__title {
	margin: 0;
	color: #fff;
	font-family: var(--leo-font-head);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.leo-footer__toggle,
body.leo-design .leo-footer__toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #fff;
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.leo-footer__icon {
	position: relative;
	width: 12px;
	height: 12px;
	margin-right: 4px;
}

.leo-footer__icon::before,
.leo-footer__icon::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	width: 12px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease;
}

.leo-footer__icon::after {
	transform: rotate(90deg);
}

.leo-footer__col.is-open .leo-footer__icon::after {
	transform: rotate(0deg);
}

.leo-footer__links {
	margin: 0;
	padding: 0 0 12px;
	list-style: none;
}

.leo-js .leo-footer__col:not(.is-open) .leo-footer__links {
	display: none;
}

.leo-footer__links li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.leo-footer__links a {
	display: flex;
	align-items: center;
	min-height: var(--leo-touch);
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.leo-footer__links a:hover,
.leo-footer__links a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.leo-footer__col:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.leo-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.leo-footer .leo-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	padding-bottom: 20px;
	font-size: 13px;
}

.leo-footer__bottom p {
	margin: 0;
}

.leo-footer__meta a {
	color: rgba(255, 255, 255, 0.78);
}

.leo-footer__sep {
	color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   9. WooCommerce-Hinweise und Cookie-Leiste
   ========================================================================== */
body.leo-design .woocommerce-message,
body.leo-design .woocommerce-info,
body.leo-design .woocommerce-error,
body.leo-design .wc-block-components-notice-banner {
	position: relative;
	margin: 0 0 16px;
	padding: 14px 16px 14px 18px;
	border: 1px solid var(--leo-line);
	border-left: 4px solid var(--leo-accent);
	border-radius: var(--leo-radius);
	background: var(--leo-sand);
	box-shadow: none;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 15px;
	line-height: 1.5;
	list-style: none;
}

body.leo-design .woocommerce-message {
	border-left-color: var(--leo-ok);
	background: #eef6f0;
}

body.leo-design .woocommerce-error,
body.leo-design .wc-block-components-notice-banner.is-error {
	border-left-color: #b3261e;
	background: #fdeceb;
	color: #5f1410;
}

body.leo-design .woocommerce-message::before,
body.leo-design .woocommerce-info::before,
body.leo-design .woocommerce-error::before {
	color: inherit;
}

body.leo-design .woocommerce-message a,
body.leo-design .woocommerce-info a,
body.leo-design .woocommerce-error a {
	color: inherit;
	text-decoration: underline;
}

body.leo-design .woocommerce-message .button,
body.leo-design .woocommerce-info .button,
body.leo-design .woocommerce-error .button {
	min-height: var(--leo-touch);
	border-radius: var(--leo-radius-sm);
	background: var(--leo-btn);
	color: #fff;
	text-decoration: none;
}

/* Woodmart-Cookie-Hinweis */
body.leo-design .wd-cookies-popup {
	border-radius: var(--leo-radius);
	background: var(--leo-text);
	box-shadow: 0 10px 30px rgba(6, 32, 40, 0.25);
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--leo-font);
}

body.leo-design .wd-cookies-popup .cookies-info-text,
body.leo-design .wd-cookies-popup p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

body.leo-design .wd-cookies-popup a:not(.btn):not(.button) {
	color: var(--leo-gold);
}

body.leo-design .wd-cookies-popup .cookies-accept-btn,
body.leo-design .wd-cookies-popup .btn,
body.leo-design .wd-cookies-popup .button {
	min-height: var(--leo-touch);
	border-radius: var(--leo-radius-sm);
	background: var(--leo-gold);
	color: var(--leo-text);
	font-weight: 600;
	text-transform: none;
}

/* ==========================================================================
   10. Tablet und Desktop
   ========================================================================== */
@media (min-width: 768px) {
	.leo-hide-mobile {
		display: revert !important;
	}

	.leo-hero__actions .leo-btn.leo-hide-mobile {
		display: inline-flex !important;
	}

	.leo-show-mobile {
		display: none !important;
	}

	.leo-section {
		padding-block: 56px;
	}

	.leo-section--tight {
		padding-block: 32px;
	}

	.leo-section__title {
		font-size: 26px;
	}

	.leo-section__sub {
		font-size: 15px;
	}

	.leo-section__head {
		margin-bottom: 24px;
	}

	.leo-grid {
		gap: 16px;
	}

	.leo-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.leo-topbar {
		font-size: 13px;
	}

	.leo-topbar__item.leo-hide-mobile {
		display: list-item !important;
		list-style: none;
	}

	/* Kachel */
	.leo-card__title,
	body.leo-design .leo-card__title {
		font-size: 15px;
	}

	.leo-card__price {
		font-size: 19px;
	}

	.leo-card__time {
		display: inline;
	}

	.leo-card__body {
		padding: 12px 16px 16px;
	}

	.leo-card__media {
		margin: 12px 12px 0;
	}

	/* Hero */
	.leo-hero {
		padding-block: 56px;
	}

	.leo-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 48px;
	}

	.leo-hero__media {
		order: 0;
		aspect-ratio: 4 / 3;
	}

	.leo-hero__title,
	body.leo-design .leo-hero__title {
		font-size: 34px;
	}

	.leo-hero__lead {
		font-size: 16px;
	}

	.leo-hero__actions .leo-btn {
		flex: 0 0 auto;
	}

	/* Branchen */
	.leo-tile__label {
		padding: 12px 16px;
		font-size: 15px;
	}

	.leo-tile__arrow {
		display: inline;
	}

	/* Bestseller: Raster */
	.leo-carousel {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-columns: auto;
		gap: 16px;
		margin: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	.leo-dots {
		display: none;
	}

	/* Kategorien */
	.leo-catcard__link {
		min-height: 72px;
		padding: 12px;
		font-size: 15px;
	}

	.leo-catcard__media {
		width: 48px;
		height: 48px;
	}

	/* Boxen */
	.leo-box {
		padding: 32px;
	}

	.leo-box__title,
	body.leo-design .leo-box__title {
		font-size: 24px;
	}

	.leo-box--dark .leo-btn {
		width: auto;
	}

	.leo-duo__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 20px;
	}

	.leo-about {
		grid-template-columns: 160px minmax(0, 1fr);
		gap: 24px;
		align-items: center;
	}

	.leo-about__media {
		aspect-ratio: 1 / 1;
	}

	/* Vorteile */
	.leo-usps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.leo-usp {
		padding: 18px 20px;
	}

	/* Kategorieseite */
	.leo-cathead {
		padding: 24px 0 16px;
	}

	.leo-cathead__title,
	body.leo-design .leo-cathead__title {
		font-size: 30px;
	}

	/* Produktseite */
	body.leo-single .summary .product_title,
	body.leo-single .product_title.entry-title {
		font-size: 28px;
	}

	.leo-price .leo-price__main,
	body.leo-single .summary .leo-price p.price {
		font-size: 30px;
	}

	/* Footer: Spalten nebeneinander, immer offen */
	.leo-footer .leo-wrap {
		padding-top: 48px;
		padding-bottom: 24px;
	}

	.leo-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	.leo-footer__brand {
		grid-column: 1 / -1;
		padding-bottom: 0;
	}

	.leo-footer__toggle,
	body.leo-design .leo-footer__toggle {
		min-height: 0;
		margin-bottom: 12px;
		border-top: 0;
		pointer-events: none;
		cursor: default;
	}

	.leo-footer__icon {
		display: none;
	}

	.leo-js .leo-footer__col:not(.is-open) .leo-footer__links,
	.leo-footer__links {
		display: block;
		padding: 0;
	}

	.leo-footer__col:last-child {
		border-bottom: 0;
	}

	.leo-footer .leo-footer__bottom-inner {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px 24px;
	}
}

@media (min-width: 1025px) {
	.leo-carousel {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
	}

	.leo-grid {
		gap: 20px;
	}

	.leo-section {
		padding-block: 64px;
	}

	.leo-hero {
		padding-block: 64px;
	}

	.leo-hero__title,
	body.leo-design .leo-hero__title {
		font-size: 38px;
	}

	.leo-footer__grid {
		grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
	}

	.leo-footer__brand {
		grid-column: auto;
	}

	.leo-footer__links a {
		min-height: 0;
		padding: 4px 0;
	}
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
	.leo-card,
	.leo-card__media img,
	.leo-tile__media img,
	.leo-dots__dot,
	.leo-section-acc__head::after,
	.leo-footer__icon::after {
		transition: none !important;
	}

	.leo-card:hover .leo-card__media img,
	.leo-tile__link:hover .leo-tile__media img {
		transform: none;
	}
}

/* Logo-Link im mobilen Header: 44px hohes Touch-Ziel */
@media (max-width: 1024px) {
	body.leo-design .whb-general-header .whb-mobile-center .wd-logo > a,
	body.leo-design .whb-general-header .whb-mobile-center .site-logo > a {
		display: flex;
		align-items: center;
		min-height: var(--leo-touch);
	}
}
/* Handy: Feinschliff für Touch-Ziele und Mindestschrift */
@media (max-width: 767px) {
	/* Buttons einer Kachelreihe gleich hoch, auch wenn der Text umbricht */
	.leo-card__action .button,
	.leo-card__action .added_to_cart,
	body.leo-design .leo-card__action a.button {
		min-height: 48px;
		padding: 6px;
		font-size: 13px;
	}


}

/* Leo-B2B-Kleintexte: nur Schriftgröße auf das Minimum von 12px (keine Umgestaltung) */
body.leo-design .leo-b2b-tiers .leo-b2b-tiers__save,
body.leo-design .leo-b2b-tiers .leo-b2b-tiers__badge,
body.leo-design .leo-b2b-units .leo-b2b-units__meta {
	font-size: 12px;
}

/* Brotkrumen: größere Tippfläche ohne optische Verschiebung (Handy + Tablet) */
@media (max-width: 1024px) {
	.leo-breadcrumb a {
		display: inline-flex;
		align-items: center;
		min-height: var(--leo-touch);
		margin: 0 -9px;
		padding: 0 9px;
	}

	.leo-breadcrumb {
		margin-bottom: 4px;
	}
}

/* ==========================================================================
   11. Ergänzungen 1.1.0 (Staging-Test Woodmart 8.3.4)
   ========================================================================== */

/* Kaufleiste: Summe links oben, darunter Menge + einzeiliger Button */
.leo-buybar__total {
	grid-area: total;
	display: flex;
	align-items: baseline;
	gap: 6px;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	color: var(--leo-body);
	font-size: 13px;
	line-height: 20px;
	white-space: nowrap;
}

.leo-buybar__sum {
	color: var(--leo-text);
	font-size: 16px;
	font-weight: 700;
}

.leo-buybar__sum .amount,
.leo-buybar__sum bdi {
	color: var(--leo-text);
}

.leo-buybar .leo-qty {
	grid-area: qty;
}

.leo-buybar__btn,
body.leo-design .leo-buybar__btn {
	grid-area: btn;
	flex-wrap: nowrap;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 12px;
}

/* Cookie-Hinweis vollständig über der Kaufleiste, im Leo-Stil */
body.leo-design .wd-cookies-popup {
	z-index: 10010 !important;
	padding: 16px;
	border: 0;
}

body.leo-design .wd-cookies-popup .cookies-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}

body.leo-design .wd-cookies-popup .cookies-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--leo-touch);
	min-height: var(--leo-touch);
	color: var(--leo-gold);
	text-decoration: underline;
}

body.leo-design .wd-cookies-popup .cookies-accept-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	border: 0;
	text-decoration: none;
}

/* Handy: kompakt (Text links, Buttons darunter rechts), immer im Bild */
@media (max-width: 767px) {
	body.leo-design .wd-cookies-popup {
		--leo-cookie-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		right: var(--leo-gutter) !important;
		left: var(--leo-gutter) !important;
		box-sizing: border-box;
		width: auto !important;
		max-width: none !important;
		max-height: calc(100vh - var(--leo-cookie-bottom) - 16px);
		max-height: calc(100dvh - var(--leo-cookie-bottom) - 16px);
		padding: 12px 14px !important;
		text-align: left !important;
	}

	/* Über der Kaufleiste */
	body.leo-has-buybar .wd-cookies-popup {
		--leo-cookie-bottom: calc(var(--leo-buybar-h) + 8px + env(safe-area-inset-bottom, 0px));
	}

	/* Sichtbarer Zustand (Woodmart: .popup-display; Absicherung per JS: .leo-cookie-fix):
	   Woodmarts Einblend-Verschiebung aufheben und fest über der Kaufleiste verankern. */
	body.leo-design .wd-cookies-popup.popup-display,
	body.leo-design .wd-cookies-popup.leo-cookie-fix {
		top: auto !important;
		bottom: var(--leo-cookie-bottom) !important;
		margin: 0 !important;
		transform: none !important;
		translate: none !important;
	}

	body.leo-design .wd-cookies-popup .wd-cookies-inner,
	body.leo-design .wd-cookies-popup .cookies-inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		max-height: inherit;
		margin: 0;
		padding: 0;
		text-align: left;
	}

	body.leo-design .wd-cookies-popup .cookies-info-text {
		flex: 1 1 auto;
		min-height: 0;
		max-height: calc(2 * 18px); /* 2 Zeilen, längerer Text scrollt */
		margin: 0;
		overflow-y: auto;
		font-size: 13px;
		line-height: 18px;
		text-align: left;
	}

	body.leo-design .wd-cookies-popup .cookies-info-text p {
		margin: 0;
		font-size: 13px;
		line-height: 18px;
	}

	body.leo-design .wd-cookies-popup .cookies-buttons {
		display: flex !important;
		flex: none;
		flex-direction: row !important;
		flex-wrap: nowrap;
		align-items: center !important;
		justify-content: flex-end;
		gap: 8px;
		margin: 0;
	}

	body.leo-design .wd-cookies-popup .cookies-accept-btn,
	body.leo-design .wd-cookies-popup .cookies-more-btn {
		flex: none;
		margin: 0 !important;
	}

	body.leo-design .wd-cookies-popup .cookies-accept-btn {
		min-width: 120px;
	}
}

/* Keine weißen Lücken auf Seiten mit Leo-Bausteinen (Woodmart .wd-content-layout padding 40px) */
body.leo-has-blocks .wd-content-layout,
body.leo-has-blocks .main-page-wrapper > .wd-content-layout,
body.leo-design .wd-content-layout:has(.leo-section) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.leo-has-blocks .main-page-wrapper {
	padding-top: 0 !important;
}

body.leo-has-blocks .entry-content > p:empty,
body.leo-has-blocks .wp-block-shortcode:empty {
	display: none;
}

/* Footer im Woodmart-Prefooter: ohne Abstand, dunkler Hintergrund auf voller Breite */
body.leo-design .wd-prefooter:has(.leo-footer) {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--leo-text);
	border: 0;
}

body.leo-design .wd-prefooter:has(.leo-footer) > .container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.leo-footer {
	/* Volle Breite unabhängig vom Container, ohne waagrechtes Scrollen */
	box-shadow: 0 0 0 100vmax var(--leo-text);
	clip-path: inset(0 -100vmax);
}



/* Brotkrumen: eigenes Markup mit festem Trenner */
.leo-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.leo-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.leo-breadcrumb__sep {
	margin: 0 8px;
	color: var(--leo-muted);
}

.leo-breadcrumb [aria-current="page"] {
	color: var(--leo-body);
}

.leo-breadcrumb--single {
	padding: 16px 0 4px;
}

/* Produktseite: Woodmart-Attributtabelle und Brotkrumen nicht in der Kaufbox */
body.leo-single-sections .summary .woocommerce-product-attributes,
body.leo-single-sections .summary .shop_attributes,
body.leo-single-sections .summary .wd-product-attributes,
body.leo-single-sections .summary .woocommerce-breadcrumb,
body.leo-single-sections .summary .wd-breadcrumbs,
body.leo-single-sections .summary .yoast-breadcrumb,
body.leo-single-sections .summary .rank-math-breadcrumb {
	display: none !important;
}

body.leo-single-sections .summary .leo-sections .woocommerce-product-attributes,
body.leo-single-sections .summary .leo-sections .shop_attributes {
	display: table !important;
}

/* Kategorie Handy: Ergebnisanzahl aus, Filter-Knopf wie „Sortieren“ */
@media (max-width: 767px) {
	body.leo-archive .woocommerce-result-count {
		display: none !important;
	}
}

body.leo-design .leo-shopbar .leo-shopbar__btn,
body.leo-design .leo-shopbar .leo-shopbar__btn:hover,
body.leo-design .leo-shopbar .leo-shopbar__btn:focus {
	border: 1px solid var(--leo-line);
	background: #fff;
	box-shadow: none;
	color: var(--leo-text);
	font-family: var(--leo-font);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

body.leo-design .leo-shopbar .leo-shopbar__btn:hover {
	border-color: var(--leo-accent);
}
/* 1.1.1: Grid-Elemente nie breiter als ihre Spalte (langes Wort verbreitert die Kachel nicht) */
.leo-grid > li,
.leo-catcard,
.leo-catcard__link,
.leo-tile,
.leo-tile__link,
.leo-carousel__item {
	min-width: 0;
}

.leo-catcard__name,
.leo-tile__label > span:first-child {
	min-width: 0;
	overflow-wrap: break-word; /* bricht nur, wenn ein Wort allein nicht in die Zeile passt */
	word-break: normal;
	-webkit-hyphens: manual;
	hyphens: manual;
}

@media (max-width: 389px) {
	/* Mehr Platz für den Namen, damit z. B. „Hygienepapier“ ungebrochen passt */
	.leo-catcard__link {
		gap: 8px;
		padding: 10px 8px;
		font-size: 13px;
	}

	.leo-catcard__media {
		width: 32px;
		height: 32px;
	}
}
/* Absicherung auf allen Breiten: Woodmarts Einblend-Verschiebung aufheben, wenn das Popup aus dem Bild ragt */
body.leo-design .wd-cookies-popup.leo-cookie-fix {
	transform: none !important;
	translate: none !important;
}
