@charset "utf-8";

/***************************************************
 * Header neu (mobil + Suchfeld/Warenkorb Desktop)  *
 * Markup: index.html, xtCore/boxes/box_cart*.html, *
 * box_mobile_menu.html, box_versand_kostenlos.html *
 * JS: javascript/HeaderMobile.js                   *
 ***************************************************/

:root {
	--tfm-primary: #507b23;      /* Primärfarbe (neuer Wert vom Kunden folgt) */
	--tfm-primary-dark: #304a15; /* Hover/aktiv */
	--tfm-accent: #cc6200;       /* Warenkorb-Bubble */
	--tfm-text: #333333;
	--tfm-border: #e5e5e5;
	--tfm-header-height: 60px;
}

/* ---------- Warenkorb-Bubble (mobil + Desktop) ---------- */
.tfm-cart-bubble {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--tfm-accent);
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 20px;
	text-align: center;
	pointer-events: none;
}
.box-cart .btn-right {
	position: relative;
}

/* Registrierung: eigene Firmen-Checkbox der COE-Adressprüfung ausblenden (wird per JS mit #as_company synchronisiert, login.html) */
.tfm-coe-company-hook input[type="checkbox"],
.tfm-coe-company-hook input[type="checkbox"] + label {
	display: none;
}
.tfm-coe-company-hook {
	margin-bottom: 0;
}

/* Registrierung als Gast: USt-Id deaktiviert (wie xt_responsive) mit Hinweis darunter */
.tfm-login .form-control[disabled] {
	background-color: #eeeeee;
	cursor: not-allowed;
}
.tfm-login #cust_info_customers_vat_id_hint {
	color: #666666;
	font-size: 13px;
}

/* Registrierung: kompaktere Abstände zwischen Firma-Umschalter, Newsletter, Captcha und Buttons (login.html) */
.tfm-login .tfm-company-toggle {
	margin-bottom: 0;
}
.tfm-login .tfm-company-toggle + #company-fields {
	margin-top: 15px;
}
.tfm-login .tfm-newsletter .checkbox {
	margin-top: 0;
	margin-bottom: 0;
}
.tfm-login .xt-captcha {
	margin-bottom: 0;
}

/* Login/Registrierung mobil: halber Innenabstand der Boxen (global .panel-body 40px) */
@media (max-width: 767px) {
	.tfm-login .panel-body {
		padding: 20px;
	}
	.tfm-login .required.margin-left-30 {
		margin-left: 20px !important;
	}
}

/* Registrierung: Passwortregeln und -stärke (Logik aus xtCore/templates/XT.tpl.js, Markup in login.html) */
.tfm-pw-rules {
	margin: 6px 0 0;
	padding-left: 18px;
	color: #a94442;
	font-size: 13px;
	line-height: 1.5;
}
.tfm-pw-rules:empty,
.tfm-pw-strength:empty {
	display: none;
}
.tfm-pw-strength {
	margin-top: 4px;
	font-size: 13px;
}
.tfm-pw-bar {
	width: 100%;
	max-width: 160px;
	height: 8px;
	margin-top: 6px;
	overflow: hidden;
	border-radius: 4px;
	background-color: #e0e0e0;
}
.tfm-pw-bar .strength-fill {
	width: 0;
	height: 100%;
	border-radius: 4px;
	transition: width 0.3s ease;
}

/* Login-Seite: Kästen "Ich bin bereits Kunde", "Neuer Kunde", "Als Gast" aufklappbar (login.html) */
.tfm-login-box > summary {
	position: relative;
	display: block;
	padding-right: 40px;
	cursor: pointer;
	list-style: none;
}
.tfm-login-box > summary::-webkit-details-marker {
	display: none;
}
.tfm-login-box > summary:after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 9px;
	height: 9px;
	margin-top: -7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s;
}
.tfm-login-box[open] > summary:after {
	margin-top: -2px;
	transform: rotate(-135deg);
}
.tfm-login-box:not([open]) > summary {
	border-bottom: 0;
}
.tfm-login-box__sub {
	display: block;
	margin-top: 3px;
	color: #666666;
	font-size: 13px;
	font-weight: normal;
}
/* Gast / Registrieren: ganzer Kasten ist Link zur Seite, Pfeil nach rechts */
a.tfm-login-box--link {
	display: block;
	color: inherit;
	text-decoration: none;
}
a.tfm-login-box--link:hover,
a.tfm-login-box--link:focus {
	color: inherit;
	text-decoration: none;
}
.tfm-login-box--link > .panel-heading {
	position: relative;
	display: block;
	padding-right: 40px;
	border-bottom: 0;
}
.tfm-login-box--link:hover > .panel-heading,
.tfm-login-box--link:focus > .panel-heading {
	background-color: #ebebeb;
}
.tfm-login-box--link > .panel-heading:after {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	width: 9px;
	height: 9px;
	margin-top: -5px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

/* Login: "Als Gast bestellen" hervorgehoben (floristik24-Shops, login.html $guest_first) */
a.tfm-login-box--primary {
	border: 2px solid var(--tfm-primary);
}
a.tfm-login-box--primary > .panel-heading {
	background-color: #f3f8ec;
}
a.tfm-login-box--primary > .panel-heading strong,
a.tfm-login-box--primary > .panel-heading:after {
	color: var(--tfm-primary);
	border-color: var(--tfm-primary);
}
a.tfm-login-box--primary:hover > .panel-heading,
a.tfm-login-box--primary:focus > .panel-heading {
	background-color: #e6f0d9;
}
/* Login-Auswahl mobil (einspaltig): Gast-Box nach oben, obwohl sie am Desktop in der linken Spalte steht */
@media (max-width: 991px) {
	.tfm-login--choice {
		display: flex;
		flex-direction: column;
		margin-left: 0;
		margin-right: 0;
	}
	.tfm-login--choice:before,
	.tfm-login--choice:after {
		display: none;
	}
	.tfm-login--choice > .col {
		display: contents;
	}
	.tfm-login--choice .tfm-login-box--primary {
		order: -1;
	}
}
/* Login: "Passwort vergessen?" als kleiner Textlink unter dem Passwortfeld, rechtsbündig */
.tfm-login-forgot {
	margin: 6px 0 0;
	text-align: right;
	font-size: 13px;
}
/* Textlinks erkennbar: grün, unterstrichen (auch "Datenschutzerklärung" in der Registrierung) */
.tfm-login-forgot a,
.tfm-text-link {
	color: var(--tfm-primary);
	text-decoration: underline;
}
.tfm-login-forgot a:hover,
.tfm-login-forgot a:focus,
.tfm-text-link:hover,
.tfm-text-link:focus {
	color: var(--tfm-primary-dark);
}
/* Großer grüner Knopf über die ganze Breite (Anmelden, Registrieren, Weiter) wie im Checkout (css/checkout.css),
   "‹ Zurück" als kleiner Link darunter */
.tfm-btn-cta,
.tfm-btn-cta:focus {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	border-radius: 8px;
	background: var(--tfm-primary);
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
	white-space: normal;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.tfm-btn-cta:hover,
.tfm-btn-cta:active {
	background: var(--tfm-primary-dark);
	color: #ffffff;
}
.tfm-btn-cta .fa {
	margin-right: 4px;
}
#loginbox .tfm-btn-cta {
	margin-top: 20px;
}
.tfm-form-submit {
	clear: both;
	text-align: center;
}
.tfm-form-submit .checkbox,
.tfm-form-submit p {
	text-align: left;
}
.tfm-btn-cta-back {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 8px;
	color: var(--tfm-primary);
	font-size: 14px;
	text-decoration: underline;
}
.tfm-btn-cta-back:hover,
.tfm-btn-cta-back:focus {
	color: var(--tfm-primary-dark);
}
/* Telefon als type=tel (Ziffernblock am Handy): Aussehen wie die übrigen Felder (Template.css input[type=text]) */
.tfm-login input[type=tel] {
	display: block;
	width: 100%;
	height: 36px;
	padding: 6px 12px;
	font-size: 17px;
	line-height: 1.3;
	color: #555555;
	background-color: #ffffff;
	background-image: none;
	border: 1px solid #e0e0e0;
	border-radius: 0;
	box-shadow: none;
}

/* Passwortfelder mit Auge zum Anzeigen (javascript/PasswordToggle.js) */
.tfm-pw {
	position: relative;
	display: block;
}
.tfm-pw .form-control {
	padding-right: 44px;
}
.tfm-pw .form-control::-ms-reveal {
	display: none; /* eigenes Auge von Edge ausblenden */
}
.tfm-pw__toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777777;
	font-size: 17px;
}
.tfm-pw__toggle:hover,
.tfm-pw__toggle:focus {
	color: var(--tfm-primary);
}

/* Lange Button-Texte (Übersetzungen) dürfen umbrechen */
.tfm-btn-wrap {
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
}

/* Scroll-Kopf (Desktop): Suchfeld passt in die 70px hohe Leiste */
#scrolldown .box-search .input-group .form-control,
#scrolldown .box-search .input-group .btn {
	height: 46px;
}

/* ---------- USP-Leiste ---------- */
.top-bar.tfm-usp {
	background-color: var(--tfm-primary);
	color: #ffffff;
	font-weight: normal;
}
.tfm-usp__track {
	display: flex;
	margin: 0;
	padding: 0;
}
.tfm-usp__item {
	position: relative;
	flex: 1 1 25%;
	min-width: 0;
	padding: 0 10px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tfm-usp__item + .tfm-usp__item:before {
	content: "";
	position: absolute;
	left: 0;
	top: 15%;
	bottom: 15%;
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.tfm-usp__item .fa {
	margin-right: 6px;
}
.tfm-usp__item a,
.tfm-usp__item a:hover,
.tfm-usp__item a:focus {
	color: inherit;
}

/* ---------- Meldung "In den Warenkorb gelegt" kompakt mit Knopf (xtCore/pages/info_handler.html) ---------- */
.alert.tfm-added {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
}
.tfm-added__text {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
}
.tfm-added__name {
	display: -webkit-box;
	overflow: hidden;
	font-weight: bold;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.tfm-added__btn {
	flex: 0 0 auto;
	padding: 7px 12px;
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
}

/* ---------- Suchfeld (mobil + Desktop) ---------- */
.box-search .input-group {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 2px solid var(--tfm-primary);
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
}
.box-search .input-group:focus-within {
	box-shadow: 0 0 0 3px rgba(80, 123, 35, 0.2);
}
.box-search .input-group .form-control,
#header .header-top .col > .inner.top-search .box-search .input-group .form-control {
	flex: 1 1 auto;
	float: none;
	width: 1%;
	height: 46px;
	padding: 8px 14px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 16px; /* >= 16px: kein Auto-Zoom in iOS */
}
.box-search .input-group-btn {
	display: flex;
	width: auto;
}
.box-search .input-group-btn label {
	display: flex;
	margin: 0;
}
.box-search .input-group-btn .submit-button,
#header .header-top .col > .inner.top-search .box-search .input-group .input-group-btn .btn {
	width: 56px;
	height: auto;
	min-height: 46px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--tfm-primary);
	color: #ffffff;
	font-size: 20px;
}
.box-search .input-group-btn .submit-button:hover,
.box-search .input-group-btn .submit-button:focus {
	background: var(--tfm-primary-dark);
	color: #ffffff;
}

/* ---------- Header mobil (< 992px) ---------- */
@media (max-width: 991px) {
	/* Reihenfolge: Logo-Zeile, USP-Leiste, Suche */
	#header {
		display: flex;
		flex-direction: column;
	}
	#header > * {
		order: 4;
	}
	#header > .tfm-mh-bar {
		order: 1;
	}
	#header > .top-bar {
		order: 2;
	}
	#header > .tfm-mh-search {
		order: 3;
	}
}

/* ---------- Logo-Zeile: mobil (< 992px) und auf Fokus-Seiten (Warenkorb, Kasse) auch Desktop ----------
   Sichtbarkeit steuert index.html (visible-xs visible-sm bzw. auf Fokus-Seiten immer) */
.tfm-mh-bar {
	background: #ffffff;
}
/* 3 Spalten: links/rechts gleich breit, damit das Logo mittig bleibt - auch bei langem "‹ Shop"-Text */
.tfm-mh-bar .container {
	display: grid;
	grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
	align-items: center;
	gap: 8px;
	height: var(--tfm-header-height);
}
.tfm-mh-bar .container:before,
.tfm-mh-bar .container:after {
	display: none;
}
.tfm-mh-burger {
	display: flex;
	justify-self: start;
	align-items: center; /* (44 - 20) / 2 = 12px: Icon auf ganzen Pixeln */
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tfm-primary);
}
.tfm-mh-burger__icon {
	display: block;
	fill: currentColor;
}
/* Fokus-Seite (Warenkorb): "‹ Shop" statt Burger, rechts gleich breiter Platzhalter, damit das Logo mittig bleibt */
.tfm-mh-back {
	display: inline-flex;
	justify-self: start;
	align-items: center;
	gap: 4px;
	max-width: 100%;
	min-width: 0;
	height: 44px;
	color: var(--tfm-primary);
	font-size: 16px;
	font-weight: bold;
}
.tfm-mh-back__text {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.tfm-mh-back:hover,
.tfm-mh-back:focus {
	color: var(--tfm-primary-dark);
	text-decoration: none;
}
.tfm-mh-back__icon {
	margin-top: -4px;
	font-size: 30px;
	line-height: 1;
}
.tfm-mh-logo {
	min-width: 0;
	text-align: center;
}
.tfm-mh-logo img {
	max-width: 50vw; /* lässt links/rechts Platz für "‹ Shop" bzw. Burger und Warenkorb */
	max-height: 40px;
	width: auto;
	height: auto;
}
.tfm-mh-cart {
	justify-self: end;
	text-align: right;
}
.tfm-cart-icon {
	position: relative;
	display: inline-block;
	padding: 6px 4px;
	color: var(--tfm-primary);
	font-size: 26px;
	line-height: 1;
}
.tfm-cart-icon:hover,
.tfm-cart-icon:focus {
	color: var(--tfm-primary-dark);
}
/* Fokus-Seite: keine Suche darunter, daher eigene Trennlinie zum Inhalt */
.tfm-mh-bar--focus {
	border-bottom: 1px solid var(--tfm-border);
}
/* Login (nur mobil, index.html): Aufbau wie im Warenkorb (Logo mittig); "‹ Warenkorb" ist länger als "‹ Shop",
   daher Logo etwas schmaler, damit links Platz bleibt */
.tfm-mh-bar--to-cart .container {
	gap: 12px;
}
.tfm-mh-bar--to-cart .tfm-mh-back {
	font-size: 14px;
}
.tfm-mh-bar--to-cart .tfm-mh-back__icon {
	font-size: 26px;
}
.tfm-mh-bar--to-cart .tfm-mh-logo img {
	max-width: 36vw;
	max-width: min(36vw, calc(100vw - 230px)); /* sehr schmale Geräte (320px): Logo kleiner statt "Waren…" */
}
/* Login mobil: ohne USP-Leiste (am Desktop bleibt sie, index.html) */
@media (max-width: 991px) {
	.customer-wrap.login-action-wrap .top-bar.tfm-usp {
		display: none;
	}
}

/* USP-Leiste und Suche mobil */
@media (max-width: 991px) {
	.top-bar.tfm-usp {
		padding: 8px 0;
		font-size: 13px;
	}
	.top-bar.tfm-usp .container {
		padding: 0;
	}
	.tfm-usp__track {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.tfm-usp__track::-webkit-scrollbar {
		display: none;
	}
	/* nur noch 2 USPs (Versand, Lieferdatum): fest nebeneinander, Breite nach Text, ohne Icons (Platz) */
	.tfm-usp__item {
		flex: 1 1 auto;
		padding: 0 6px;
		scroll-snap-align: start;
	}
	.tfm-usp__item .fa {
		display: none;
	}
	/* Trenner nur zwischen den beiden USPs einer Seite, nicht links am ersten der nächsten */
	.tfm-usp__item:nth-child(odd):before {
		display: none;
	}
	/* beim Wischen immer paarweise einrasten */
	.tfm-usp__item:nth-child(even) {
		scroll-snap-align: none;
	}

	.tfm-mh-search {
		padding: 12px 0;
		background: #ffffff;
		border-bottom: 1px solid var(--tfm-border);
	}
}

/* ---------- Mobiles Menü (Vollbild, Drilldown) ---------- */
html.tfm-mm-open,
html.tfm-mm-open body {
	overflow: hidden;
}
/* Trusted-Shops-Siegel (eigener Container mit z-index 2147483647, 0x0 groß; das Siegel ist das fixe div darin,
   Standard bottom: 10px) - darf Menü und Quickbuy-Leiste nicht überdecken */
html.tfm-mm-open [id^="trustbadge-container-"] {
	display: none !important;
}
@media (max-width: 991px) { /* Quickbuy-Leiste gibt es bis 991px (css/product.css) */
	[id^="trustbadge-container-"] > div > div {
		transition: bottom 0.25s ease;
	}
	/* Produktseite: über die Quickbuy-Leiste (66px) */
	html.tfm-quickbuy-visible [id^="trustbadge-container-"] > div > div {
		bottom: 86px !important;
	}
}
.tfm-mm {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1060;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	transform: translateX(-100%);
	transition: transform 0.25s ease;
}
.tfm-mm[hidden] {
	display: none;
}
.tfm-mm.is-open {
	transform: none;
}
@media (min-width: 992px) {
	.tfm-mm {
		display: none !important;
	}
}
.tfm-mm__head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	height: var(--tfm-header-height);
	padding: 0 0 0 15px;
	border-bottom: 2px solid var(--tfm-primary);
}
.tfm-mm__logo img {
	max-height: 40px;
	width: auto;
	height: auto;
}
/* gleiche Breite wie die Pfeil-Spalte (.tfm-mm__next, 52px) => X steht in einer Flucht mit den Pfeilen */
.tfm-mm__close {
	width: 52px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tfm-text);
	font-size: 36px;
	line-height: 1;
}
.tfm-mm__body {
	position: relative;
	flex: 1 1 auto;
	overflow: hidden;
	overflow: clip; /* nicht per Fokus/Script scrollbar (Browser ohne clip nutzen hidden + JS-Schutz) */
}
.tfm-mm__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding-bottom: 40px;
	background: #ffffff;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
/* Scrollleiste ausblenden (Scrollen bleibt möglich): eine sichtbare Desktop-Scrollleiste (~15px)
   würde die Pfeile nach links aus der Flucht mit dem X schieben */
.tfm-mm__panel {
	scrollbar-width: none;
}
.tfm-mm__panel::-webkit-scrollbar {
	display: none;
}
.tfm-mm__panel.is-active {
	transform: none;
	visibility: visible;
	transition: transform 0.25s ease, visibility 0s;
}
.tfm-mm__panel.is-left {
	transform: translateX(-30%);
}
.tfm-mm--instant .tfm-mm__panel {
	transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.tfm-mm,
	.tfm-mm__panel {
		transition: none !important;
	}
}
.tfm-mm__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Blöcke der Hauptebene: Konto/Kasse | Angebote, Bestseller, ... | Neuheiten + Kategorien | Abmelden */
.tfm-mm__list--secondary,
.tfm-mm__list--categories,
.tfm-mm__list--account {
	border-top: 10px solid #f5f5f5;
}
.tfm-mm__list--account .fa {
	width: 20px;
	color: var(--tfm-primary);
}
/* Konto bzw. Anmelden | Zur Kasse in einer Zeile */
.tfm-mm__quick {
	display: flex;
	border-bottom: 1px solid var(--tfm-border);
}
.tfm-mm__quick-link {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 14px 10px;
	color: var(--tfm-text);
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
}
.tfm-mm__quick-link + .tfm-mm__quick-link {
	border-left: 1px solid var(--tfm-border);
}
.tfm-mm__quick-link:hover,
.tfm-mm__quick-link:focus {
	background: #f7f7f7;
	color: var(--tfm-primary);
	text-decoration: none;
}
.tfm-mm__quick-link .fa {
	color: var(--tfm-primary);
	font-size: 18px;
}
.tfm-mm__item {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid var(--tfm-border);
}
.tfm-mm__link {
	flex: 1 1 auto;
	min-width: 0;
	padding: 14px 15px;
	color: var(--tfm-text);
	font-size: 16px;
	line-height: 1.3;
}
.tfm-mm__link:hover,
.tfm-mm__link:focus {
	background: #f7f7f7;
	color: var(--tfm-primary);
	text-decoration: none;
}
.tfm-mm__link.is-current {
	color: var(--tfm-primary);
	font-weight: bold;
}
.tfm-mm__next,
.tfm-mm__back {
	position: relative;
	flex: 0 0 52px;
	padding: 0;
	border: 0;
	background: none;
}
.tfm-mm__next:hover,
.tfm-mm__next:focus,
.tfm-mm__back:hover,
.tfm-mm__back:focus {
	background: #f7f7f7;
}
.tfm-mm__next:before,
.tfm-mm__back:after {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	border-left: 1px solid var(--tfm-border);
}
.tfm-mm__next:before {
	left: 0;
}
.tfm-mm__back:after {
	right: 0;
}
/* Dreiecke als Maske: Farbe kommt aus --tfm-primary (folgt einer neuen Primärfarbe automatisch) */
.tfm-mm__next-icon,
.tfm-mm__back-icon {
	display: inline-block;
	width: 12px;
	height: 14px;
	vertical-align: middle;
	background-color: var(--tfm-primary);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.tfm-mm__next-icon {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M1.5 1.5v11l9-5.5z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M1.5 1.5v11l9-5.5z'/%3E%3C/svg%3E");
}
.tfm-mm__back-icon {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M10.5 1.5v11l-9-5.5z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M10.5 1.5v11l-9-5.5z'/%3E%3C/svg%3E");
}
.tfm-mm__panel-head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid var(--tfm-border);
	background: #ffffff;
}
.tfm-mm__panel-title {
	flex: 1 1 auto;
	min-width: 0;
	padding: 14px 15px;
	color: var(--tfm-text);
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
}
.tfm-mm__panel-title:hover,
.tfm-mm__panel-title:focus {
	color: var(--tfm-primary);
	text-decoration: none;
}

/* "Nach oben"-Pfeil mobil (< 992px): nur beim Hochscrollen sichtbar (javascript/HeaderMobile.js initBackToTop),
   damit er beim Lesen und Tippen keine Knöpfe verdeckt; auf Login/Registrierung/Gast und im Checkout gar nicht (index.html) */
@media (max-width: 991px) {
	#back-to-top {
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s, visibility 0.2s;
	}
	html.tfm-totop-show #back-to-top.affix {
		opacity: 1;
		visibility: visible;
	}
	#back-to-top .scrollToTop {
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.9);
	}
}
