/* Vertical category menu: active state driven by vmenu-filter-bridge.js */
.dnxte-vmenu-panel .dnxte-vmenu-item.is-active > a {
	font-weight: 700;
	text-decoration: underline;
}


/* Official brand tokens (freigegeben 25.10.2026, docs/BAUSTEINE-TEMPLATE.md, Abschnitt 7) */
:root {
	--tt-primary: #5e9b29;
	--tt-secondary: #daaf1e;
	--tt-tertiary: #d88500;
	--tt-container-1: #759b53;
	--tt-container-2: #648c41;
	--tt-primary-inv: #ffffe0;
}

/* Loop search (dynamic content "Loop-Suche (Tatanga)"): baseline field
   styling; placement/typography come from the inserting module. */
.tt-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.tt-loop-search {
	display: inline-flex;
	align-items: stretch;
	max-width: 100%;
}

.tt-loop-search__input {
	flex: 1 1 auto;
	min-width: 160px;
	padding: 10px 14px;
	border: 1.6px solid var(--tt-primary);
	border-right: 0;
	border-radius: 3px 0 0 3px;
	background: #fff;
	color: #333;
	font: inherit;
}

.tt-loop-search__input::placeholder {
	color: #818a91;
}

.tt-loop-search__input:focus-visible {
	outline: 2px solid var(--tt-primary);
	outline-offset: 2px;
}

.tt-loop-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 1.6px solid var(--tt-primary);
	border-radius: 0 3px 3px 0;
	background: var(--tt-primary);
	color: var(--tt-primary-inv);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.tt-loop-search__submit:hover {
	background-color: var(--tt-container-2);
}

/* Svelte app (Merkliste, Anfrage): shared tokens plus page-level rules.
   Component styling lives in the Svelte components. */
:root {
	--tt-drawer-width: 380px;
	--tt-drawer-bg: #ffffff;
	--tt-drawer-padding: 24px;
	--tt-drawer-z: 99999;
	--tt-drawer-duration: 0.28s;
	--tt-drawer-easing: ease;
	--tt-wl-checked: var(--tt-primary);
}

/* Badge anchor for triggers that come from Divi modules. */
.ttw-has-badge {
	position: relative;
}

/* Notice shown when JavaScript is unavailable (inc/assets-app.php). */
.ttw-nojs {
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	border: 1px solid currentColor;
	border-radius: 3px;
	font-size: 0.9em;
}
/* Divi 5 Loop: built-in "no results" block. Keep the title, drop the
   long explanation paragraph, add breathing room. */
.not-found-title + p {
	display: none;
}

.not-found-title {
	padding: 1.5rem;
	line-height: 1.2em;
}

/* Thank-you page (inc/inquiry.php): give name and quantity/price room. */
.tt-inquiry__positions {
	margin: 0.75rem 0 1.25rem;
	padding-left: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
}

.tt-inquiry__position {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.tt-inquiry__position span:last-child {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* Kooperationspartner carousel (inc/partners.php + PartnerModal.svelte).
   The class is intentionally scoped so other post carousels are untouched. */
.tt-partner-carousel .dnxte-post-thumb a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	padding: 1.25rem;
	background: #fff;
	overflow: hidden;
}

.tt-partner-carousel .dnxte-post-thumb a::after,
.tt-partner-carousel .dnxte-blog-imgoverlay {
	display: none;
}

.tt-partner-carousel .dnxte-post-thumb a img,
.tt-partner-carousel .dnxte-blog-featured-image {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: contain !important;
	object-position: center;
}

.tt-partner-carousel .swiper-slide {
	height: auto;
	cursor: pointer;
}

.tt-partner-carousel.dnxte_post_carousel .dnxte-entry-title a:focus-visible {
	outline: 2px solid var(--tt-primary);
	outline-offset: 3px;
	border-radius: 2px;
}

.tt-partner-carousel .dnxte-blog-carousel-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tt-partner-carousel .dnxte-content-wrapper {
	flex: 1 1 auto;
}

.tt-partner-carousel.dnxte_post_carousel .dnxte-entry-title {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	min-height: 2.6em;
	overflow-wrap: anywhere;
}

/* The module wraps the title in an inline link; clamp the link as well so
   presets that reset the heading display cannot expose a third line. */
.tt-partner-carousel.dnxte_post_carousel .dnxte-entry-title > a {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	max-height: 3em;
	overflow: hidden !important;
	overflow-wrap: anywhere;
}

.tt-partner-carousel.dnxte_post_carousel .dnxte-post-excerpt,
.tt-partner-carousel.dnxte_post_carousel .dnxte-blog-post-content {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	min-height: 3em;
	overflow-wrap: anywhere;
}

.tt-partner-carousel .dnxte-post-excerpt p,
.tt-partner-carousel .dnxte-blog-post-content p {
	margin-top: 0;
	margin-bottom: 0;
}
/* Divi contact form: the two e-mail fields must match. */
.tt-email-mismatch {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-left: 4px solid #c0392b;
	background: #fdf0ee;
	color: #8c2b1e;
	font-size: 14px;
	line-height: 1.5;
	flex: 0 0 100%;
	box-sizing: border-box;
}

.tt-email-mismatch-field input {
	border-color: #c0392b !important;
}

/* Packaging unit hint below the product quantity input (inc/packaging-unit.php). */
.tt-packaging-unit {
	margin: 0.4rem 0 0;
	font-size: 0.82em;
	color: #5a5a5a;
}

/* Divi WooCommerce Product Images: the module's max-height only caps the
   wrapper. FlexSlider otherwise keeps the image's natural height. Let the
   inner gallery inherit the module max-height and scale the image inside it. */
.et_pb_wc_images .et_pb_module_inner,
.et_pb_wc_images .woocommerce-product-gallery,
.et_pb_wc_images .woocommerce-product-gallery .flex-viewport,
.et_pb_wc_images .woocommerce-product-gallery__wrapper,
.et_pb_wc_images .woocommerce-product-gallery__image,
.et_pb_wc_images .woocommerce-product-gallery__image a,
.et_pb_wc_images .woocommerce-product-gallery__image img {
	max-height: inherit;
}

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

.et_pb_wc_images .woocommerce-product-gallery__image img {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	object-fit: contain;
	margin: 0 auto;
}

/* Catalog status + infinite scroll (result-count.js). */
.tt-catalog-status {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	color: #5a5a5a;
}

.tt-catalog-sentinel {
	width: 100%;
	height: 1px;
}

.tt-catalog-sentinel[hidden] {
	display: none;
}

.tt-catalog-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 1.25rem 0;
	color: #5a5a5a;
	font-size: 0.9rem;
}

.tt-catalog-loading[hidden] {
	display: none;
}

.tt-catalog-spinner {
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid rgb(0 0 0 / 15%);
	border-top-color: var(--tt-primary, #5e9b29);
	border-radius: 50%;
	animation: tt-catalog-spin 0.8s linear infinite;
}

@keyframes tt-catalog-spin {
	to {
		transform: rotate(360deg);
	}
}

.tt-catalog-error {
	margin: 0;
	padding: 0.5rem 0 1rem;
	color: #a1231b;
	font-size: 0.85rem;
	text-align: center;
}

.tt-catalog-error[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.tt-catalog-spinner {
		animation: none;
	}
}

/* Product category archives: Divi renders the body layout without the .et-l
   wrapper, so the generated grid column CSS does not apply. Restore the
   desktop/tablet/mobile column counts. */
.tax-product_cat .et_grid_group {
	--column-count: 3;
	grid-template-columns: repeat(var(--column-count), minmax(0, 1fr));
}

@media only screen and (max-width: 980px) {
	.tax-product_cat .et_grid_group {
		--column-count: 2;
	}
}

@media only screen and (max-width: 767px) {
	.tax-product_cat .et_grid_group {
		--column-count: 1;
	}
}


