/* FM Shop - Design: Shop im Look der tuXedoo-Hauptseite (gehört zu mu-plugins/fm-shop-design.php) */

@font-face {
	font-family: 'Anton';
	src: url(../fm-shop-header/anton-latin.woff2) format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

body.fm-shop {
	--fm-ink: #111;
	--fm-muted: #5a5a5a;
	--fm-line: 2px solid #111;
	--fm-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
	--fm-pad: clamp(1.1rem, 3.2vw, 2.6rem);
	--fm-filter-active-bg: #111;
	--fm-filter-active-fg: #fff;
}

/* ---------- Hintergrund (Bild der Hauptseite, steht fest) ---------- */

body.fm-shop.custom-background {
	background-color: #e9e9e9;
}

body.fm-shop::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	z-index: -1;
	pointer-events: none;
	background: #e9e9e9 url(/assets/images/1280/bgBlackWhite.jpg) center top / cover no-repeat;
}

@media (min-width: 1281px) {
	body.fm-shop::before {
		background-image: url(/assets/images/bgBlackWhite.jpg);
	}
}

/* ---------- Typografie ---------- */

.fm-shop #content h1,
.fm-shop #content h2,
.fm-shop #content h3 {
	font-family: var(--fm-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .025em;
	line-height: 1.15;
	color: var(--fm-ink);
}

/* Seitenüberschrift als schwarzer „Aufkleber“ */
.fm-shop #content h1.page-title,
.fm-shop #content .entry-header h1.entry-title {
	display: inline-block;
	max-width: 100%;
	margin: 0;
	padding: .1em .38em .16em;
	font-size: clamp(2.1rem, 6.2vw, 4.2rem);
	line-height: 1.05;
	letter-spacing: .035em;
	overflow-wrap: anywhere;
	color: #fff;
	background: var(--fm-ink);
	transform: rotate(-2deg);
	transform-origin: left center;
}

.fm-shop #content .woocommerce-products-header {
	margin: 0 0 2.2em;
	padding: 0;
	text-align: left;
}

.fm-shop #content .fm-shop-claim {
	display: table;
	margin: .9em 0 0 1.1em;
	padding: .3em .8em;
	font-size: .82rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--fm-ink);
	background: #fff;
	border: var(--fm-line);
	transform: rotate(1deg);
}

/* Seiten ohne Breadcrumb (Suche): Abstand zwischen Header und Überschrift */
.fm-shop.search .site-header {
	margin-bottom: 4.235801032em;
}

/* ---------- Breadcrumb ---------- */

.fm-shop .storefront-breadcrumb {
	margin: 0 0 3.6em;
	padding: 1.3em 0 0;
}

.fm-shop.single-product .storefront-breadcrumb {
	margin-bottom: 1.3em;
}

.fm-shop .woocommerce-breadcrumb {
	display: inline-block;
	margin: 0;
	padding: .35em .9em;
	font-size: .8rem;
	font-weight: 600;
	color: var(--fm-ink);
	background: #fff;
	border: var(--fm-line);
}

.fm-shop .woocommerce-breadcrumb a {
	color: var(--fm-ink);
}

/* ---------- Inhalts-Panel (alle Seiten außer Produktübersichten) ---------- */

.fm-shop:not(.fm-shop-open) #main {
	margin-bottom: 3em;
	padding: var(--fm-pad);
	background: rgba(255, 255, 255, .96);
	border: var(--fm-line);
}

.fm-shop:not(.fm-shop-open) #main .entry-header {
	margin: calc(-1 * var(--fm-pad) - 1.5rem) 0 1.8em;
	padding: 0;
	text-align: left;
	border: 0;
}

.fm-shop #main .hentry {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

/* ---------- Kategorie-Filter ---------- */

.fm-shop .fm-shop-filter a {
	font-family: var(--fm-display);
	font-weight: 400;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--fm-ink);
	background: #fff;
	border-color: var(--fm-ink);
}

.fm-shop .fm-shop-filter a:hover,
.fm-shop .fm-shop-filter a:focus-visible,
.fm-shop .fm-shop-filter a.is-active {
	color: #fff;
	background: var(--fm-ink);
}

/* ---------- Sortierleiste + Seitenzahlen ---------- */

.fm-shop #main .storefront-sorting {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .7em 1.2em;
	margin: 0 0 1.75em;
	padding: .6em .9em;
	font-size: .9rem;
	background: #fff;
	border: var(--fm-line);
}

.fm-shop #main .storefront-sorting::before,
.fm-shop #main .storefront-sorting::after {
	display: none;
}

.fm-shop #main .storefront-sorting > * {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.fm-shop #main .storefront-sorting .woocommerce-notices-wrapper {
	flex: 0 0 100%;
}

.fm-shop #main .storefront-sorting .woocommerce-notices-wrapper:empty {
	display: none;
}

.fm-shop #main .storefront-sorting .woocommerce-result-count {
	color: var(--fm-muted);
}

.fm-shop #main .storefront-sorting .woocommerce-pagination {
	margin-left: auto;
}

.fm-shop #main .woocommerce-ordering select {
	-webkit-appearance: none;
	appearance: none;
	max-width: 100%;
	padding: .45em 2.5em .45em 1.1em;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fm-ink);
	cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") right 1em center / .7em auto no-repeat;
	border: var(--fm-line);
	border-radius: 2em;
}

.fm-shop #main .woocommerce-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: .35em;
	margin: 0;
	padding: 0;
	border: 0;
}

.fm-shop #main .woocommerce-pagination .page-numbers li {
	display: block;
	margin: 0;
}

.fm-shop #main .woocommerce-pagination .page-numbers li .page-numbers {
	display: block;
	min-width: 2.4em;
	padding: .3em .6em;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	color: var(--fm-ink);
	background: #fff;
	border: var(--fm-line);
	transition: background-color .15s, color .15s;
}

.fm-shop #main .woocommerce-pagination .page-numbers li .page-numbers.current,
.fm-shop #main .woocommerce-pagination .page-numbers li a.page-numbers:hover,
.fm-shop #main .woocommerce-pagination .page-numbers li a.page-numbers:focus-visible {
	color: #fff;
	background: var(--fm-ink);
}

/* ---------- Produktkarten ---------- */

.fm-shop #main ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75em;
	margin: 0 0 2em;
}

.fm-shop #main ul.products::before,
.fm-shop #main ul.products::after {
	display: none;
}

.fm-shop #main ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 0 0 1.1em;
	font-size: 1rem;
	text-align: center;
	background: #fff;
	border: var(--fm-line);
	transition: transform .18s ease, box-shadow .18s ease;
}

.fm-shop #main ul.products li.product:hover,
.fm-shop #main ul.products li.product:focus-within {
	transform: translate(-4px, -4px);
	box-shadow: 8px 8px 0 var(--fm-ink);
}

.fm-shop #main ul.products li.product .woocommerce-LoopProduct-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.fm-shop #main ul.products li.product img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 0 1em;
	background: #f3f3f3;
	border-bottom: var(--fm-line);
}

.fm-shop #main ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 .35em;
	padding: 0 .7em;
	font-family: var(--fm-display);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-shop #main ul.products li.product .price {
	display: block;
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--fm-ink);
}

.fm-shop #main ul.products li.product .price del {
	font-weight: 400;
	color: var(--fm-muted);
}

.fm-shop #main ul.products li.product .price ins {
	text-decoration: none;
}

.fm-shop #main ul.products li.product .wc-gzd-additional-info {
	margin: .15em 0 1em !important;
	padding: 0 .7em;
	font-size: .75rem;
	color: var(--fm-muted);
}

.fm-shop #main ul.products li.product .wc-gzd-additional-info a {
	color: inherit;
}

.fm-shop #main ul.products li.product .button {
	align-self: stretch;
	margin: auto .9em 0;
	padding-left: .6em;
	padding-right: .6em;
}

.fm-shop #main ul.products li.product .button.added {
	display: none;
}

/* „Warenkorb anzeigen“ ersetzt nach dem Hinzufügen den Button (heller Gegenpart) */
.fm-shop #main ul.products li.product .added_to_cart {
	display: block;
	align-self: stretch;
	margin: auto .9em 0;
	padding: .618em .6em;
	font-family: var(--fm-display);
	font-size: 1em;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: .07em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--fm-ink);
	background: #fff;
	border: var(--fm-line);
	transition: background-color .15s, color .15s;
}

.fm-shop #main ul.products li.product .added_to_cart::before {
	content: '✓ ';
}

.fm-shop #main ul.products li.product .added_to_cart:hover,
.fm-shop #main ul.products li.product .added_to_cart:focus-visible {
	color: #fff;
	background: var(--fm-ink);
}

.fm-shop #main .onsale {
	position: absolute;
	top: .7em;
	left: -.5em;
	z-index: 1;
	margin: 0;
	padding: .25em .7em;
	font-family: var(--fm-display);
	font-size: .95rem;
	font-weight: 400;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--fm-ink);
	border: 0;
	border-radius: 0;
	transform: rotate(-4deg);
}

@media (max-width: 767px) {
	.fm-shop #main ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .85em;
	}

	.fm-shop #main ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.1rem;
	}

	.fm-shop #main ul.products li.product .button,
	.fm-shop #main ul.products li.product .added_to_cart {
		margin-left: .6em;
		margin-right: .6em;
		font-size: .82rem;
		letter-spacing: .04em;
	}

	.fm-shop #main ul.products li.product .added_to_cart::after {
		display: none;
	}

	.fm-shop #main .storefront-sorting .woocommerce-pagination {
		margin-left: 0;
	}

	.fm-shop #main .storefront-sorting .woocommerce-ordering,
	.fm-shop #main .storefront-sorting .woocommerce-ordering select {
		width: 100%;
	}

	.fm-shop #content .fm-shop-claim {
		margin-left: .5em;
		letter-spacing: .1em;
	}
}

@media (max-width: 359px) {
	.fm-shop #main ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Buttons ---------- */

.fm-shop #content .button,
.fm-shop #content button[type=submit],
.fm-shop #content input[type=submit] {
	font-family: var(--fm-display);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #fff;
	background: var(--fm-ink);
	border: var(--fm-line);
	border-radius: 0;
	box-shadow: none;
	transition: background-color .15s, color .15s;
}

.fm-shop #content .button:hover,
.fm-shop #content .button:focus-visible,
.fm-shop #content button[type=submit]:hover,
.fm-shop #content button[type=submit]:focus-visible,
.fm-shop #content input[type=submit]:hover,
.fm-shop #content input[type=submit]:focus-visible {
	color: var(--fm-ink);
	background: #fff;
}

.fm-shop #content .button.disabled,
.fm-shop #content .button:disabled,
.fm-shop #content button[type=submit]:disabled {
	opacity: .45;
}

/* ---------- Formularfelder ---------- */

.fm-shop #content input[type=text],
.fm-shop #content input[type=email],
.fm-shop #content input[type=tel],
.fm-shop #content input[type=password],
.fm-shop #content input[type=number],
.fm-shop #content input[type=search],
.fm-shop #content textarea,
.fm-shop #content select,
.fm-shop #content .select2-container .select2-selection {
	color: var(--fm-ink);
	background-color: #fff;
	border: var(--fm-line);
	border-radius: 0;
	box-shadow: none;
}

.fm-shop #content input:focus,
.fm-shop #content textarea:focus,
.fm-shop #content select:focus {
	outline: 2px solid var(--fm-ink);
	outline-offset: 2px;
}

.fm-shop #content form select {
	max-width: 100%;
	padding: .6em .8em;
}

.fm-shop #content .select2-container .select2-selection--single {
	height: auto;
	padding: .5em .3em;
}

.fm-shop #content .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	height: 100%;
}

/* ---------- Tabellen (Warenkorb, Bestellübersicht) ---------- */

.fm-shop #content table.shop_table {
	margin-bottom: 1.5em;
	border-collapse: collapse;
}

.fm-shop #content table.shop_table th,
.fm-shop #content table.shop_table td {
	padding: .9em .8em;
	vertical-align: middle;
	background: transparent;
	border-bottom: 1px solid #d6d6d6;
}

.fm-shop #content table.shop_table thead th {
	padding: .55em .8em;
	font-family: var(--fm-display);
	font-size: .9rem;
	font-weight: 400;
	letter-spacing: .07em;
	text-transform: uppercase;
	border-bottom: var(--fm-line);
}

.fm-shop #content table.shop_table tr.order-total th,
.fm-shop #content table.shop_table tr.order-total td {
	padding: .75em .667em;
	font-size: 1.2rem;
	font-weight: 700;
	border-top: var(--fm-line);
	border-bottom: 0;
}

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

.fm-shop #content table.cart th,
.fm-shop #content table.cart td {
	padding-left: .55em;
	padding-right: .55em;
}

.fm-shop #content table.cart td.product-remove {
	width: 2.2em;
	padding-right: 0;
}

.fm-shop #content table.cart td.product-remove a.remove::before {
	color: var(--fm-ink);
	transition: color .15s;
}

.fm-shop #content table.cart td.product-remove a.remove:hover::before,
.fm-shop #content table.cart td.product-remove a.remove:focus-visible::before {
	color: #c4161c;
}

.fm-shop #content table.cart td.product-thumbnail {
	width: 100px;
}

.fm-shop #content table.cart td.product-thumbnail img {
	display: block;
	width: 84px;
	max-width: none;
	height: auto;
	margin: 0;
	border: var(--fm-line);
}

.fm-shop #content table.cart td.product-name a {
	font-family: var(--fm-display);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .03em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--fm-ink);
}

.fm-shop #content table.cart td.product-name a:hover,
.fm-shop #content table.cart td.product-name a:focus-visible {
	text-decoration: underline;
}

.fm-shop #content table.cart td.product-name .variation,
.fm-shop #content table.cart td.product-name .wc-item-meta {
	margin: .3em 0 0;
	font-size: .85rem;
	color: var(--fm-muted);
}

.fm-shop #content table.cart td.product-subtotal {
	font-weight: 700;
}

.fm-shop #content .quantity .qty {
	width: 4.2em;
	padding: .5em .3em;
	font-weight: 700;
	text-align: center;
}

.fm-shop #content table.cart td.actions {
	padding: 1.1em 0 0;
	border: 0;
}

/* „Aktualisieren“ ist Nebensache – heller Button, der große schwarze gehört der Kasse */
.fm-shop #content table.cart td.actions .button {
	color: var(--fm-ink);
	background: #fff;
}

.fm-shop #content table.cart td.actions .button:not(:disabled):hover,
.fm-shop #content table.cart td.actions .button:not(:disabled):focus-visible {
	color: #fff;
	background: var(--fm-ink);
}

.fm-shop #content table.cart td.actions .button:disabled {
	opacity: .35;
}

.fm-shop #content .cart-collaterals .cart_totals {
	float: none;
	width: auto;
	margin: 0;
	background: #fff;
	border: var(--fm-line);
}

.fm-shop #content .cart-collaterals .cart_totals > h2 {
	margin: 0;
	padding: .5em .8em .55em;
	font-size: 1.35rem;
	color: #fff;
	background: var(--fm-ink);
}

.fm-shop #content .cart-collaterals .cart_totals table.shop_table {
	margin: 0;
}

.fm-shop #content .cart-collaterals .cart_totals table.shop_table th {
	width: 42%;
	font-weight: 600;
}

.fm-shop #content .cart-collaterals .wc-proceed-to-checkout {
	margin: 0;
	padding: 1em .8em;
}

.fm-shop #content .cart-collaterals .checkout-button {
	display: block;
	width: 100%;
	margin: 0;
	padding: .75em .6em;
	font-size: 1.35rem;
	text-align: center;
}

@media (min-width: 900px) {
	.fm-shop.woocommerce-cart #content .entry-content > .woocommerce:has(> .cart-collaterals) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(17em, 20em);
		gap: 0 2em;
		align-items: start;
	}

	.fm-shop.woocommerce-cart #content .entry-content > .woocommerce:has(> .cart-collaterals) > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.fm-shop.woocommerce-cart #content .cart-collaterals {
		position: sticky;
		top: 6em;
		float: none;
		width: auto;
		margin: 0;
	}

	.fm-shop.woocommerce-cart #content table.cart {
		margin-bottom: 0;
	}
}

@media (max-width: 767px) {
	/* Storefront stapelt die Zeilen mobil zu Blöcken – jeder Artikel wird eine Karte */
	.fm-shop #content table.cart tr.cart_item {
		position: relative;
		display: block;
		margin-bottom: 1em;
		border: var(--fm-line);
	}

	.fm-shop #content table.cart tr.cart_item td {
		padding: .6em .8em;
	}

	.fm-shop #content table.cart tr.cart_item td:last-child {
		border-bottom: 0;
	}

	.fm-shop #content table.cart td.product-thumbnail {
		width: auto;
	}

	.fm-shop #content table.cart td.product-thumbnail img {
		margin: 0 auto;
	}

	.fm-shop #content table.cart td.product-remove {
		width: auto;
		height: 0;
		padding: 0;
		border: 0;
	}

	.fm-shop #content table.cart td.product-remove a.remove {
		top: .5em;
		right: .5em;
	}

	.fm-shop #content table.cart td.actions .button {
		width: 100%;
	}

	.fm-shop #content .cart-collaterals .cart_totals table.shop_table th {
		width: auto;
	}
}

/* ---------- Gewährleistungs-Hinweis (EU-Label, aufklappbar) ---------- */

.fm-shop .eugn-notice--reveal {
	--eugn-line: #111;
	--eugn-line-hover: #111;
	--eugn-fill: #fff;
	--eugn-fill-hover: #111;
}

.fm-shop .eugn-notice--reveal .eugn-notice__trigger {
	padding: .62em .9em;
	font-family: var(--fm-display);
	font-weight: 400;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--fm-ink);
	border-width: 2px;
	border-radius: 0;
	transition: background-color .15s, color .15s;
}

.fm-shop .eugn-notice--reveal .eugn-notice__trigger:hover,
.fm-shop .eugn-notice--reveal .eugn-notice__trigger:focus-visible {
	color: #fff;
}

.fm-shop .eugn-notice--reveal[open] .eugn-notice__frame {
	background: #fff;
	border: var(--fm-line);
	border-top: 0;
	border-radius: 0;
}

/* ---------- Kasse ---------- */

/* Produktnamen in der Bestellübersicht nicht mitten im Wort umbrechen */
.fm-shop #content .woocommerce-checkout-review-order-table .product-name {
	width: 62%;
}

.fm-shop #content .woocommerce-checkout-review-order-table td.product-name,
.fm-shop #content .woocommerce-checkout-review-order-table td.product-name * {
	word-break: normal;
	overflow-wrap: break-word;
}

.fm-shop #content #place_order {
	width: 100%;
	padding: .8em 1em;
	font-size: 1.35rem;
}

/* ---------- Footer ---------- */

.fm-shop .site-footer .button {
	font-family: var(--fm-display);
	font-weight: 400;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #fff;
	background: transparent;
	border: 2px solid #fff;
	border-radius: 0;
	box-shadow: none;
	transition: background-color .15s, color .15s;
}

.fm-shop .site-footer .button:hover,
.fm-shop .site-footer .button:focus-visible {
	color: #111;
	background: #fff;
}

/* ---------- Hinweis-Meldungen (hinzugefügt, leer, Fehler) ---------- */

.fm-shop .woocommerce-message,
.fm-shop .woocommerce-info,
.fm-shop .woocommerce-error,
.fm-shop .woocommerce-noreviews,
.fm-shop p.no-comments {
	position: relative;
	min-height: 3.3em;
	margin: 0 0 1.6em;
	padding: .85em 1.1em .85em 4.3em;
	font-weight: 600;
	line-height: 1.5;
	color: var(--fm-ink);
	list-style: none;
	background: #fff;
	border: var(--fm-line);
	border-radius: 0;
	outline: 0;
}

/* Symbol sitzt in einem schwarzen Block am linken Rand */
.fm-shop .woocommerce-message::before,
.fm-shop .woocommerce-info::before,
.fm-shop .woocommerce-error::before,
.fm-shop .woocommerce-noreviews::before,
.fm-shop p.no-comments::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.3em;
	font-size: 1em;
	color: #fff;
	background: var(--fm-ink);
}

.fm-shop .woocommerce-error {
	border-color: #c4161c;
}

.fm-shop .woocommerce-error::before {
	background: #c4161c;
}

.fm-shop .woocommerce-error li {
	margin: 0;
}

.fm-shop .woocommerce-message,
.fm-shop .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4em .45em;
}

.fm-shop .woocommerce-message a:not(.button),
.fm-shop .woocommerce-info a:not(.button),
.fm-shop .woocommerce-error a:not(.button) {
	font-weight: 700;
	color: var(--fm-ink);
	text-decoration: underline;
}

.fm-shop #content .woocommerce-message .button,
.fm-shop #content .woocommerce-info .button,
.fm-shop #content .woocommerce-error .button {
	order: 2;
	float: none;
	margin: -.2em 0 -.2em auto;
	padding: .3em .9em;
	font-size: .9rem;
	line-height: 1.5;
	color: var(--fm-ink);
	background: #fff;
	border: 2px solid var(--fm-ink) !important;
}

.fm-shop #content .woocommerce-message .button:hover,
.fm-shop #content .woocommerce-message .button:focus-visible,
.fm-shop #content .woocommerce-info .button:hover,
.fm-shop #content .woocommerce-info .button:focus-visible,
.fm-shop #content .woocommerce-error .button:hover,
.fm-shop #content .woocommerce-error .button:focus-visible {
	color: #fff;
	background: var(--fm-ink);
	opacity: 1;
}

/* Meldung über einer Produktübersicht: Luft zur schrägen Überschrift */
.fm-shop-open #content > .col-full > .woocommerce > :last-child {
	margin-bottom: 3.2em;
}

.fm-shop #content .return-to-shop {
	margin: 0;
}

@media (max-width: 567px) {
	.fm-shop #content .woocommerce-message .button,
	.fm-shop #content .woocommerce-info .button,
	.fm-shop #content .woocommerce-error .button {
		margin: .2em auto 0 0;
	}
}

/* ---------- Mobile Fußleiste: Suche wie im Header (dunkle Pill, bei Fokus weiß) ---------- */

.fm-shop .storefront-handheld-footer-bar .site-search {
	padding: .9em 1em;
	border-top: 1px solid rgba(255, 255, 255, .18);
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search form {
	position: relative;
	margin: 0;
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search form::before {
	top: 50%;
	left: 1.25em;
	line-height: 1;
	color: #fbfbfb;
	opacity: .7;
	transform: translateY(-50%);
	transition: color .15s, opacity .15s;
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search input[type=search] {
	width: 100%;
	padding: .7em 1.2em .7em 2.7em;
	font-size: 1rem; /* 16px: sonst zoomt iOS beim Antippen */
	line-height: 1.3;
	color: #fbfbfb;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 2em;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search input[type=search]::placeholder {
	color: #fbfbfb;
	opacity: .6;
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search input[type=search]:focus {
	color: #111;
	background: #fff;
	border-color: #fff;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .28);
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search input[type=search]:focus::placeholder {
	color: #111;
}

.fm-shop .storefront-handheld-footer-bar .site-search .widget_product_search form:focus-within::before {
	color: #111;
	opacity: 1;
}

/* ---------- Produktseite ---------- */

.fm-shop.single-product #content div.product .product_title {
	margin-bottom: .3em;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.fm-shop.single-product #content div.product p.price {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--fm-ink);
}

.fm-shop.single-product #content div.product .woocommerce-product-gallery__image img {
	border: var(--fm-line);
}

.fm-shop.single-product #content div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	border: var(--fm-line);
}

.fm-shop.single-product #content div.product .stock {
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.fm-shop #main ul.products li.product {
		transition: none;
	}
}
