/*
 * GearDock — Komponenten.
 * Baut ausschliesslich auf den Variablen aus tokens.css auf, damit Light und
 * Dark ohne doppelte Regeln funktionieren.
 */

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

body {
	font-family: var(--font-body);
	background: var(--md-background);
	color: var(--md-on-surface);
	-webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-thumb {
	background: var(--md-outline-variant);
	border-radius: var(--radius-full);
}

.gd-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

:where(a, button, input, select, [tabindex]):focus-visible {
	outline: 2px solid var(--md-primary);
	outline-offset: 2px;
	border-radius: var(--radius-xs);
}

/* ---------- Kopfzeile ---------- */

.gd-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--md-surface);
	border-bottom: 1px solid var(--md-outline-variant);
}

.gd-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px clamp(16px, 4vw, 32px);
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	flex-wrap: wrap;
}

.gd-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.gd-brand__mark {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

/* Die Wortmarke ist reines Schwarz auf Transparenz. Im Dunkelmodus wuerde sie
   im Hintergrund verschwinden — invert() macht daraus sauberes Weiss, ohne
   dass ein zweites Bild gepflegt werden muss. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .gd-brand__mark {
		filter: invert(1);
	}
}

.gd-brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -0.2px;
	white-space: nowrap;
}

.gd-nav {
	display: flex;
	gap: clamp(12px, 2vw, 22px);
	align-items: center;
}

.gd-nav a {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--md-on-surface-variant);
	text-decoration: none;
	transition: color var(--dur-short) var(--ease-standard);
}

.gd-nav a:hover,
.gd-nav .current-menu-item > a {
	color: var(--md-primary);
}

/* Suchfeld — TextField-Optik des Design-Systems */

.gd-search {
	position: relative;
	flex: 1;
	min-width: 160px;
	max-width: 340px;
	display: flex;
	align-items: center;
}

.gd-search__icon {
	position: absolute;
	left: 14px;
	color: var(--md-on-surface-variant);
	pointer-events: none;
}

.gd-search__input {
	width: 100%;
	height: 44px;
	padding: 0 16px 0 42px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--md-on-surface);
	background: var(--md-surface-container-high);
	border: 1px solid transparent;
	border-radius: var(--radius-full);
	transition: border-color var(--dur-short) var(--ease-standard),
		background var(--dur-short) var(--ease-standard);
}

.gd-search__input::placeholder {
	color: var(--md-on-surface-variant);
}

.gd-search__input:focus {
	outline: none;
	border-color: var(--md-primary);
	background: var(--md-surface-container);
}

/* Warenkorb mit Zaehler-Badge */

.gd-cart-link {
	position: relative;
	margin-left: auto;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-full);
	background: var(--md-secondary-container);
	color: var(--md-on-secondary-container);
	text-decoration: none;
	transition: background var(--dur-short) var(--ease-standard);
}

.gd-cart-link:hover {
	background: var(--md-primary-container);
	color: var(--md-on-primary-container);
}

.gd-cart-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: var(--radius-full);
	background: var(--md-error);
	color: var(--md-on-error);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.gd-cart-badge--empty {
	display: none;
}

/* ---------- Hero ---------- */

.gd-hero {
	background: var(--gd-stage-hero);
	padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 32px);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 4vw, 48px);
	flex-wrap: wrap-reverse;
}

.gd-hero__text {
	max-width: 460px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.gd-eyebrow {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--led-teal);
	margin: 0;
}

.gd-hero__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(30px, 5vw, 44px);
	line-height: 1.08;
	font-weight: 700;
	color: var(--gd-on-stage);
}

.gd-hero__lead {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 24px;
	color: var(--gd-on-stage-variant);
}

.gd-hero__actions {
	display: flex;
	gap: 12px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.gd-hero__image {
	width: clamp(200px, 40vw, 280px);
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5));
}

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

.gd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	padding: 0 26px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	border-radius: var(--radius-full);
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur-short) var(--ease-standard),
		color var(--dur-short) var(--ease-standard),
		transform var(--dur-short) var(--ease-standard);
}

.gd-btn:hover {
	transform: translateY(-1px);
}

.gd-btn--filled {
	background: var(--md-primary);
	color: var(--md-on-primary);
}

.gd-btn--filled:hover {
	background: var(--md-tertiary);
	color: var(--md-on-tertiary);
}

.gd-btn--outlined {
	background: transparent;
	border-color: var(--md-outline);
	color: var(--md-primary);
}

/* Auf der dunklen Buehne braucht der Outlined-Button hellen Text */
.gd-hero .gd-btn--outlined,
.is-style-geardock-stage .gd-btn--outlined {
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
}

.gd-hero .gd-btn--outlined:hover,
.is-style-geardock-stage .gd-btn--outlined:hover {
	background: rgba(255, 255, 255, .1);
}

.gd-btn--tonal {
	background: var(--md-secondary-container);
	color: var(--md-on-secondary-container);
}

/* ---------- Chips (Filter, Sortierung, Varianten) ---------- */

.gd-chip,
.is-style-geardock-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 14px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--md-on-surface-variant);
	background: transparent;
	border: 1px solid var(--md-outline-variant);
	border-radius: var(--radius-full);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--dur-short) var(--ease-standard),
		border-color var(--dur-short) var(--ease-standard),
		color var(--dur-short) var(--ease-standard);
}

.gd-chip:hover {
	background: var(--md-surface-container-high);
	color: var(--md-on-surface);
}

.gd-chip[aria-pressed="true"],
.gd-chip--selected,
.gd-chip.is-active {
	background: var(--md-secondary-container);
	border-color: transparent;
	color: var(--md-on-secondary-container);
}

.gd-chipset {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gd-chipset__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--md-on-surface-variant);
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.gd-chipset__items {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

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

.gd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 20px;
}

.gd-card,
.is-style-geardock-card {
	background: var(--md-surface-container-low);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--dur-short) var(--ease-standard),
		box-shadow var(--dur-short) var(--ease-standard);
}

.gd-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--elevation-2);
}

.gd-card__media {
	aspect-ratio: 1;
	background: var(--md-surface-container-highest);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 26px;
	box-sizing: border-box;
}

.gd-card__media img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.gd-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gd-card__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	margin: 0;
}

.gd-card__title a {
	color: inherit;
	text-decoration: none;
}

.gd-card__meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--md-on-surface-variant);
}

.gd-card__meta .gd-icon {
	color: var(--led-amber);
}

.gd-card__price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	margin-top: 2px;
}

/* ---------- WooCommerce-Produktraster angleichen ---------- */

/* Woo legt die Produktliste als gefloatete Prozentspalten aus
   (li.product { width: 22.05%; float: left }). Das muss vollstaendig
   zurueckgesetzt werden, sonst quetscht es die Karten im Raster zusammen.
   Die Selektoren sind bewusst so lang wie Woos eigene. */

.woocommerce ul.products,
.woocommerce-page ul.products,
.wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 20px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
}

/* Woo definiert Kartenbreiten fuer jede Spaltenzahl einzeln
   (.columns-1 bis .columns-6) — die sind spezifischer als ein einfacher
   Selektor. Deshalb hier mit dem Attributselektor gegenhalten und eine
   eindeutige Breite setzen: width:auto wuerde zusammen mit dem Bild
   (width:100%) eine Zirkelbeziehung bilden und die Karte auf
   Inhaltsbreite schrumpfen lassen. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce[class*="columns-"] ul.products li.product,
.wc-block-product {
	width: 100%;
	max-width: none;
	justify-self: stretch;
	float: none;
	clear: none;
	margin: 0;
	padding: 0 0 16px;
	background: var(--md-surface-container-low);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: left;
	transition: transform var(--dur-short) var(--ease-standard),
		box-shadow var(--dur-short) var(--ease-standard);
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover {
	transform: translateY(-2px);
	box-shadow: var(--elevation-2);
}

/* Bildflaeche */
.woocommerce ul.products li.product a img,
.wc-block-product .wc-block-components-product-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--md-surface-container-highest);
	margin: 0 0 14px;
	padding: 22px;
	box-sizing: border-box;
	display: block;
	border-radius: 0;
	box-shadow: none;
}

.wc-block-product .wc-block-components-product-image {
	margin: 0 0 14px;
}

/* Titel */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-product .wp-block-post-title,
.wc-block-product .wc-block-components-product-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	padding: 0 16px;
	margin: 0 0 6px;
	color: var(--md-on-surface);
}

.woocommerce ul.products li.product a,
.wc-block-product .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

/* Preis */
.woocommerce ul.products li.product .price,
.wc-block-product .wc-block-components-product-price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	color: var(--md-on-surface);
	padding: 0 16px;
	margin: 0;
}

.woocommerce ul.products li.product .price del {
	color: var(--md-on-surface-variant);
	font-weight: 400;
	font-size: 14px;
}

/* Bewertungssterne */
.woocommerce ul.products li.product .star-rating,
.wc-block-product .wc-block-components-product-rating {
	margin: 0 16px 6px;
	color: var(--led-amber);
	font-size: 12px;
}

/* Aktionsschaltflaeche unten in der Karte */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
	margin: 14px 16px 0;
	padding: 11px 18px;
	font-size: 13px;
	text-align: center;
	display: block;
	width: auto;
}

/* "Ausgewählt"-Hinweis nach dem Hinzufuegen */
.woocommerce ul.products li.product .added_to_cart {
	background: var(--md-secondary-container);
	color: var(--md-on-secondary-container);
	border-radius: var(--radius-full);
	font-weight: 600;
	text-decoration: none;
}

/* Ergebniszaehler und Sortierung als eigene Zeile ueber dem Raster */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin: 0 0 20px;
}

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

.gd-stage,
.is-style-geardock-stage {
	background: var(--gd-stage);
	border-radius: var(--radius-xl);
	color: var(--gd-on-stage);
}

.woocommerce div.product div.images,
.wc-block-components-product-image-gallery {
	border-radius: var(--radius-xl);
	background: var(--gd-stage);
	padding: 32px;
	box-sizing: border-box;
}

.woocommerce div.product div.images img {
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45));
}

.woocommerce div.product .product_title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	color: var(--md-on-surface);
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
	border-radius: var(--radius-lg);
	overflow: hidden;
}

/* Miniaturen: Woo legt sie als schwebende Liste ueber das Hauptbild. Als
   eigene Reihe unterhalb der Buehne, mit derselben dunklen Flaeche wie der
   Rest der Galerie — sonst stehen helle Kacheln im dunklen Bild. */
/* Eine scrollbare Zeile wie im Entwurf, kein Umbruch auf drei Reihen.
   Woo verteilt die Miniaturen sonst per columns-4 auf 25%-Spalten. */
.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0 0 4px;
	list-style: none;
	position: static;
	overflow-x: auto;
	scrollbar-width: thin;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	width: auto;
	flex: 0 0 auto;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar {
	height: 6px;
}

.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, .2);
	border-radius: var(--radius-full);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, .14);
	padding: 4px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, .04);
	opacity: 1;
	cursor: pointer;
	transition: border-color var(--dur-short) var(--ease-standard),
		background var(--dur-short) var(--ease-standard);
}

.woocommerce div.product div.images .flex-control-thumbs li img:hover {
	background: rgba(255, 255, 255, .1);
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
	border-color: var(--md-primary);
	background: rgba(255, 255, 255, .12);
}

/* Zoom-Lupe von Woo an die Tokens angleichen */
.woocommerce div.product .woocommerce-product-gallery__trigger {
	background: rgba(255, 255, 255, .12);
	border-radius: var(--radius-full);
	color: #fff;
	top: 16px;
	right: 16px;
}

/* ---------- Farb-Chips statt Varianten-Dropdown ---------- */

/* Das Auswahlmenue bleibt als Wahrheit im DOM (WooCommerce liest es aus),
   wird aber ausgeblendet. Die Chips daneben schreiben hinein. */
.gd-swatches {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 4px 0 2px;
}

.gd-swatch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--md-on-surface-variant);
	background: transparent;
	border: 1px solid var(--md-outline-variant);
	border-radius: var(--radius-full);
	cursor: pointer;
	transition: background var(--dur-short) var(--ease-standard),
		border-color var(--dur-short) var(--ease-standard),
		color var(--dur-short) var(--ease-standard);
}

.gd-swatch:hover {
	background: var(--md-surface-container-high);
	color: var(--md-on-surface);
}

.gd-swatch[aria-pressed="true"] {
	background: var(--md-secondary-container);
	border-color: transparent;
	color: var(--md-on-secondary-container);
}

/* Farbpunkt im Chip */
.gd-swatch__dot {
	width: 14px;
	height: 14px;
	border-radius: var(--radius-full);
	border: 1px solid var(--md-outline);
	flex-shrink: 0;
}

.gd-swatch--schwarz .gd-swatch__dot {
	background: #2B2B2B;
}

.gd-swatch--weiss .gd-swatch__dot {
	background: #FFFFFF;
}

/* Woos Auswahlmenue verstecken, sobald die Chips uebernommen haben.
   Der lange Selektor ist Absicht: woocommerce.css laedt nach diesem
   Stylesheet und setzt das select mit .woocommerce div.product form.cart
   .variations select — ein kuerzerer Selektor verliert. */
.woocommerce div.product form.cart.gd-has-swatches .variations select {
	display: none;
}

/* Die Tabellenzeilen von Woo brauchen ohne Beschriftungsspalte kein
   Tabellenlayout mehr. */
.woocommerce div.product form.cart.gd-has-swatches .variations,
.woocommerce div.product form.cart.gd-has-swatches .variations tbody,
.woocommerce div.product form.cart.gd-has-swatches .variations tr,
.woocommerce div.product form.cart.gd-has-swatches .variations td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
}

.gd-has-swatches .reset_variations {
	font-size: 13px;
	font-weight: 600;
	color: var(--md-primary);
	margin-left: 4px;
}

/* Mengen-Stepper als Pille */

.woocommerce .quantity,
.wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--md-outline-variant);
	border-radius: var(--radius-full);
	padding: 4px;
	background: transparent;
	overflow: hidden;
}

.woocommerce .quantity input.qty,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	width: 48px;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--md-on-surface);
	box-shadow: none;
}

.wc-block-components-quantity-selector__button {
	border: 0;
	background: transparent;
	color: var(--md-on-surface-variant);
	border-radius: var(--radius-full);
	width: 36px;
	height: 36px;
	cursor: pointer;
	transition: background var(--dur-short) var(--ease-standard);
}

.wc-block-components-quantity-selector__button:hover {
	background: var(--md-surface-container-high);
	color: var(--md-on-surface);
}

/* Variantenauswahl als Chips statt Dropdown */

.woocommerce div.product form.cart .variations {
	border: 0;
	margin-bottom: 18px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
	border: 0;
	padding: 0 0 8px;
	display: block;
	text-align: left;
}

.woocommerce div.product form.cart .variations label {
	font-size: 12px;
	font-weight: 600;
	color: var(--md-on-surface-variant);
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

/* ---------- Buttons von WooCommerce angleichen ---------- */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	border-radius: var(--radius-full);
	background: var(--md-primary);
	color: var(--md-on-primary);
	padding: 14px 24px;
	border: 0;
	transition: background var(--dur-short) var(--ease-standard),
		color var(--dur-short) var(--ease-standard);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:hover {
	background: var(--md-tertiary);
	color: var(--md-on-tertiary);
}

/* ---------- WooCommerce-Hinweise und Brotkrumen ---------- */

/* Woo liefert Hinweisboxen mit fest verdrahtetem hellen Hintergrund. Im
   Dunkelmodus leuchten die sonst als weisser Balken aus der Seite.
   Es gibt zwei Auspraegungen: die klassische (.woocommerce-info) und die
   Block-Variante (.wc-block-components-notice-banner). Beide brauchen es. */

.wc-block-components-notice-banner {
	background: var(--md-surface-container-high) !important;
	color: var(--md-on-surface) !important;
	border: 0 !important;
	border-left: 4px solid var(--md-primary) !important;
	border-radius: var(--radius-md) !important;
	font-family: var(--font-body);
	font-size: 14px;
	align-items: center;
}

.wc-block-components-notice-banner > svg {
	fill: var(--md-primary);
	background: transparent !important;
}

.wc-block-components-notice-banner.is-error {
	border-left-color: var(--md-error) !important;
}

.wc-block-components-notice-banner.is-error > svg {
	fill: var(--md-error);
}

.wc-block-components-notice-banner.is-success {
	border-left-color: var(--status-online) !important;
}

.wc-block-components-notice-banner.is-success > svg {
	fill: var(--status-online);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: var(--md-surface-container-high);
	color: var(--md-on-surface);
	border-top: 0;
	border-left: 4px solid var(--md-primary);
	border-radius: var(--radius-md);
	padding: 16px 20px 16px 52px;
	font-size: 14px;
	line-height: 22px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	color: var(--md-primary);
	top: 16px;
	left: 20px;
}

.woocommerce-error {
	border-left-color: var(--md-error);
}

.woocommerce-error::before {
	color: var(--md-error);
}

.woocommerce-message a.button,
.woocommerce-info a.button {
	padding: 8px 16px;
	font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--md-on-surface-variant);
	margin-bottom: 20px;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--md-on-surface-variant);
	text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--md-primary);
}

/* Sortier-Dropdown und Ergebniszaehler des Shop-Archivs */

.woocommerce .woocommerce-result-count {
	font-size: 14px;
	color: var(--md-on-surface-variant);
}

.woocommerce .woocommerce-ordering select {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--md-on-surface);
	background: var(--md-surface-container-high);
	border: 1px solid var(--md-outline-variant);
	border-radius: var(--radius-full);
	padding: 8px 16px;
}

/* Blaettern */

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
	display: flex;
	gap: 8px;
	justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: var(--radius-full);
	min-width: 38px;
	height: 38px;
	line-height: 38px;
	padding: 0 12px;
	font-weight: 600;
	font-size: 14px;
	color: var(--md-on-surface-variant);
	background: transparent;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--md-secondary-container);
	color: var(--md-on-secondary-container);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--md-surface-container-high);
	color: var(--md-on-surface);
}

/* ---------- USP-Reihe ---------- */

.gd-usps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}

.gd-usp {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.gd-usp .gd-icon {
	color: var(--md-primary);
}

.gd-usp__title {
	font-weight: 600;
	font-size: 14px;
}

.gd-usp__text {
	font-size: 13px;
	color: var(--md-on-surface-variant);
	margin-top: 2px;
	line-height: 20px;
}

/* ---------- Abschnittskopf ---------- */

.gd-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 8px;
}

.gd-section-head h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 600;
}

.gd-section-head a {
	font-size: 14px;
	font-weight: 600;
	color: var(--md-primary);
	text-decoration: none;
}

/* ---------- Fusszeile ---------- */

.gd-footer {
	margin-top: auto;
	background: var(--md-surface-container-low);
	border-top: 1px solid var(--md-outline-variant);
	padding: 40px clamp(16px, 4vw, 32px) 24px;
}

.gd-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
}

.gd-footer__col-title {
	font-weight: 600;
	font-size: 13px;
	color: var(--md-on-surface);
	margin-bottom: 2px;
}

.gd-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gd-footer a {
	font-size: 13px;
	color: var(--md-on-surface-variant);
	text-decoration: none;
}

.gd-footer a:hover {
	color: var(--md-primary);
}

.gd-footer__bottom {
	max-width: 1280px;
	margin: 24px auto 0;
	border-top: 1px solid var(--md-outline-variant);
	padding-top: 16px;
	font-size: 12px;
	color: var(--md-outline);
}

/* ---------- Mobil ---------- */

@media (max-width: 782px) {
	.gd-header__inner {
		gap: 12px;
	}

	.gd-search {
		order: 3;
		max-width: none;
		flex-basis: 100%;
	}

	.gd-cart-link {
		order: 2;
	}

	.gd-nav {
		order: 4;
		flex-basis: 100%;
		overflow-x: auto;
		padding-bottom: 4px;
	}
}
