:root {
	--shop-orange: #ff4802;
	--shop-orange-dark: #d93c00;
	--shop-ink: #222;
	--shop-muted: #666;
	--shop-line: #ececec;
	--shop-bg: #f3f3f3;
	--shop-bg-accent: #f7f7f7;
	--shop-green: #44b115;
	--shop-preorder: #1f6f8b;
	--shop-max: 1180px;
	--shop-font: "Helvetica Neue", Helvetica, Lato, Verdana, Arial, sans-serif;
	/* NLGB2 = ueberarbeitete Font (Kerning W->A + fehlende Zeichen).
	   Zum Zurueckwechseln NLGB2 durch NLGB ersetzen. */
	--shop-display: NLGB2, NLGB, "Helvetica Neue", Helvetica, sans-serif;
	--shop-brand: NLGB2, NLGB, "Helvetica Neue", Helvetica, sans-serif;
	--shop-radius: 15px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body.shop-page {
	font-family: var(--shop-font);
	color: var(--shop-ink);
	background:
		radial-gradient(circle at top left, rgba(0, 0, 0, 0.04), transparent 40%),
		linear-gradient(180deg, var(--shop-bg-accent) 0%, var(--shop-bg) 35%, #fff 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

a {
	color: var(--shop-orange);
	text-decoration: none;
}

a:hover {
	color: #000;
}

.shop-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--shop-line);
}

.shop-header__inner {
	max-width: var(--shop-max);
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
}

.shop-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.shop-brand img {
	display: block;
	height: 64px;
	width: auto;
}

.shop-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	margin-left: auto;
}

.shop-header__actions .shop-steady--out,
.shop-header__actions .shop-steady--in {
	max-width: 16rem;
	text-align: center;
}

.shop-nav {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: center;
}

.shop-nav--desktop {
	display: none;
}

.shop-nav a {
	font-family: var(--shop-brand);
	color: var(--shop-muted);
	font-weight: 400;
	font-size: 1rem;
}

.shop-nav a.is-active,
.shop-nav a:hover {
	color: var(--shop-orange);
}

.shop-header__actions .shop-cart-toggle,
.shop-header__actions .shop-steady--out {
	font-family: var(--shop-font);
	background: var(--shop-orange);
	color: #fff !important;
	font-weight: 700;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border: 0;
	line-height: 1.2;
	position: relative;
}

.shop-header__actions .shop-cart-toggle:hover,
.shop-header__actions .shop-steady--out:hover {
	background: var(--shop-orange-dark);
	color: #fff !important;
}

.shop-cart-toggle__icon,
.shop-steady__icon {
	display: none;
	flex-shrink: 0;
}

.shop-cart-toggle__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: #fff;
	color: var(--shop-orange);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	margin-left: 0.15rem;
}

.shop-cart-toggle__badge[hidden] {
	display: none !important;
}

.shop-menu-toggle {
	display: none;
	appearance: none;
	font-family: var(--shop-font);
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--shop-orange);
	color: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.shop-menu-toggle:hover {
	background: var(--shop-orange-dark);
}

.shop-menu-toggle__bars,
.shop-menu-toggle__bars::before,
.shop-menu-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	position: relative;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.shop-menu-toggle__bars::before,
.shop-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.shop-menu-toggle__bars::before {
	top: -6px;
}

.shop-menu-toggle__bars::after {
	top: 6px;
}

.shop-header.is-menu-open .shop-menu-toggle__bars {
	background: transparent;
}

.shop-header.is-menu-open .shop-menu-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.shop-header.is-menu-open .shop-menu-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

.shop-steady--in {
	font-family: var(--shop-font);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-weight: 700;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: 999px;
	background: #e5e5e5;
	color: var(--shop-ink);
	line-height: 1.2;
	cursor: pointer;
}

.shop-steady--in:hover {
	background: #d5d5d5;
	color: var(--shop-ink);
}

.shop-steady__avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
}

/* Desktop: brand | actions */
@media (min-width: 861px) {
	.shop-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.shop-header__actions {
		margin-left: auto;
	}
}

.widmung-box {
	background: #fff8d6;
	border: 1px solid #ffce00;
	border-radius: var(--shop-radius);
	padding: 0.75rem;
	margin: 0.5rem 0 0.75rem;
	font-size: 0.92rem;
	color: #222;
	line-height: 1.45;
	scroll-margin-top: 6rem;
}

.widmung-banner {
	width: 100%;
	display: block;
	margin: 0 0 0.65rem;
	border-radius: var(--shop-radius);
}

.widmung-hint {
	background: #ffce00;
	color: #000;
	padding: 0.65rem 0.75rem;
	border-radius: var(--shop-radius);
	font-size: 0.85rem;
	line-height: 1.35;
}

.widmung-box .custom-input {
	width: 100%;
	border: 1px solid #666;
	border-radius: var(--shop-radius);
	padding: 0.55rem 0.65rem;
	font: inherit;
	margin-top: 0.35rem;
}

.shop-main {
	max-width: var(--shop-max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 5rem;
}

.shop-breadcrumb {
	margin: 0 0 1.15rem;
}

.shop-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	color: var(--shop-muted);
}

.shop-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.shop-breadcrumb__item:not(:last-child)::after {
	content: "/";
	color: #b5b0a8;
	font-weight: 400;
}

.shop-breadcrumb__item a {
	color: var(--shop-muted);
}

.shop-breadcrumb__item a:hover {
	color: var(--shop-orange);
}

.shop-breadcrumb__item.is-current span {
	color: var(--shop-ink);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: min(52vw, 28rem);
}

.shop-title,
.product-card h2,
.product-detail__info h1,
.related-products__head h2 {
	font-family: var(--shop-display);
	font-weight: 400;
}

.shop-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
	font-kerning: normal;
}

.shop-lead {
	margin: 0 0 1.75rem;
	color: var(--shop-muted);
	font-size: 1.05rem;
}

.shop-hero-banners {
	margin: 0 0 1.75rem;
	width: 100%;
}

.banner-single {
	margin: 0;
	width: 100%;
}

/* Banner: volle Breite im Content-Bereich, natürliche Bildhöhe */
.shop-headergrafik {
	position: relative;
	margin: 0;
	width: 100%;
	background-color: var(--header-bg, #000);
	border: solid 2px var(--header-border, #000);
	border-radius: var(--shop-radius);
	overflow: hidden;
}

.shop-headergrafik__link {
	display: block;
	color: inherit;
}

.shop-headergrafik__link:hover {
	color: inherit;
}

.shop-headergrafik img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
}

.shop-headergrafik--transparent {
	background: transparent;
	border-color: transparent;
	border-width: 0;
}

@media (min-width: 861px) {
	.shop-headergrafik {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		height: max(40vh, 400px);
		min-height: 400px;
		padding-inline: 2.5rem;
	}

	.shop-headergrafik__link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	.shop-headergrafik img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
}

.info-box {
	margin-top: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: var(--shop-radius);
	background: #fff3cd;
	color: #664d03;
	font-size: 0.95rem;
}

.info-box.alert-info { background: #e7f1ff; color: #084298; }
.info-box.alert-success { background: #e8f6e8; color: #0f5132; }
.info-box.alert-warning { background: #fff3cd; color: #664d03; }

.shop-notices {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0.85rem 0 1.35rem;
}

.shop-notice {
	margin: 0;
	padding: 1rem 1.15rem;
	border-radius: var(--shop-radius);
	border: 2px solid transparent;
	background: #fff3cd;
	color: #664d03;
}

.shop-notice.alert-info {
	background: #e7f1ff;
	color: #084298;
	border-color: #8bb4e8;
}

.shop-notice.alert-success {
	background: #e8f6e8;
	color: #0f5132;
	border-color: #8ecf9a;
}

.shop-notice.alert-warning {
	background: #fff3cd;
	color: #664d03;
	border-color: #e0c35a;
}

.shop-notice__headline {
	display: block;
	font-family: var(--shop-display);
	font-size: 1.35rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.4rem;
}

.shop-notice__text {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.45;
}

.product-grid {
	--grid-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
	justify-content: start;
	gap: 1.25rem;
}

.product-grid.is-sparse {
	grid-template-columns: repeat(var(--grid-cols), minmax(0, 22rem));
}

.product-grid__loading,
.product-detail__loading,
.product-grid > p {
	grid-column: 1 / -1;
	padding: 2rem;
	text-align: center;
	color: var(--shop-muted);
}

.product-card {
	background: #fff;
	border: 1px solid var(--shop-line);
	border-radius: var(--shop-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-card__media {
	aspect-ratio: 1 / 1;
	background: #fff;
	display: block;
	overflow: hidden;
	position: relative;
	margin: 0.75rem;
	border-radius: var(--shop-radius);
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: inherit;
}

.product-card__body {
	padding: 1rem 1rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

.product-card__badge {
	align-self: flex-start;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--shop-preorder);
	color: #fff;
	border-radius: var(--shop-radius);
	padding: 0.25rem 0.5rem;
}

.product-card__media .product-card__badge {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	font-size: 0.92rem;
	padding: 0.45rem 0.7rem;
	line-height: 1.1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.product-detail__info > .product-card__badge {
	display: block;
	width: fit-content;
	margin-bottom: 1.35rem;
}

.product-detail__info > .preorder-note {
	margin: 0.25rem 0 0.85rem;
}

.product-card h2 {
	font-size: 1.15rem;
	line-height: 1.25;
	min-height: calc(1.15rem * 1.25 * 2);
	margin: 0;
	color: #333;
}

.product-card h2 a {
	color: inherit;
}

.product-card h2 a:hover {
	color: var(--shop-orange);
}

.product-card__price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--shop-green);
}

.product-card__price small {
	color: #af0000;
	text-decoration: line-through;
	margin-right: 0.35rem;
	font-weight: 600;
}

.product-card__description {
	color: var(--shop-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	flex: 1;
	margin-top: 0.35rem;
}

.product-card__description ul,
.product-detail__content ul {
	margin: 0.35rem 0;
	padding-left: 1.15em;
}

.product-card__description p {
	margin: 0 0 0.65rem;
}

.product-card__description p:last-child {
	margin-bottom: 0;
}

.product-card__widmung {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0.35rem 0 0.5rem;
}

.product-card__widmung-banner {
	width: 100%;
	display: block;
	border-radius: var(--shop-radius);
}

.product-card__widmung-cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.75rem 1rem;
	border-radius: var(--shop-radius);
	background: #fff8d6;
	border: 1px solid #ffce00;
	color: var(--shop-ink) !important;
	font-weight: 700;
	font-size: 0.95rem;
	text-align: center;
	line-height: 1.2;
}

.product-card__widmung-cta:hover {
	background: #fff3b0;
	color: var(--shop-ink) !important;
}

.product-card__actions,
.product-buy {
	display: flex;
	gap: 0;
	margin-top: 0.35rem;
}

.product-card__actions input,
.product-buy input[type="number"] {
	width: 58px;
	border: 1px solid #666;
	border-right: 0;
	border-radius: var(--shop-radius) 0 0 var(--shop-radius);
	padding: 0.7rem;
	font-size: 1rem;
	text-align: right;
}

.product-card__actions button,
.product-buy button,
.checkout-btn,
.quantity_select a {
	appearance: none;
	border: 0;
	background: var(--shop-orange);
	color: #fff !important;
	font-weight: 700;
	padding: 0.75rem 1rem;
	cursor: pointer;
	font-size: 0.95rem;
	flex: 1;
	text-align: center;
}

.product-card__actions button,
.product-buy button,
.quantity_select a {
	border-radius: 0 var(--shop-radius) var(--shop-radius) 0;
}

.checkout-btn {
	border-radius: var(--shop-radius);
}

.product-card.is-preorder .product-card__actions button,
.product-detail.is-preorder .product-buy button {
	background: var(--shop-preorder);
}

.variant-selector {
	margin: 0 0 0.35rem;
}

.product-card select,
.product-detail select,
.variant-selector .productVariantId {
	width: 100%;
	border: 1px solid #666;
	border-radius: var(--shop-radius);
	padding: 0.7rem;
	font-size: 1rem;
	background: #fff;
	margin: 0;
}

.product-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 2rem;
	background: #fff;
	border: 1px solid var(--shop-line);
	border-radius: var(--shop-radius);
	padding: 1.5rem;
}

.product-detail__gallery img.main-image {
	width: 100%;
	display: block;
	background: #fff;
	border-radius: var(--shop-radius);
}

.image-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.65rem;
}

.image-thumbnails img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 2px solid transparent;
	border-radius: var(--shop-radius);
	cursor: pointer;
	opacity: 0.75;
}

.image-thumbnails img.active {
	border-color: var(--shop-orange);
	opacity: 1;
}

.product-detail__info h1 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.product-detail__price {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--shop-green);
	margin-bottom: 1rem;
	display: block;
}

.product-card__gift-only,
.product-detail__gift-only {
	margin: 0.35rem 0 0;
	color: var(--shop-muted);
	font-weight: 700;
}

.price-note {
	position: relative;
	display: inline-block;
	margin: 0.15rem 0 1rem;
	color: var(--shop-muted);
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.4;
}

.price-note__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.95rem;
	height: 0.95rem;
	margin: 0 0 0 0.2rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	vertical-align: -0.15em;
}

.price-note__info svg {
	display: block;
	width: 0.95rem;
	height: 0.95rem;
}

.price-note__info[aria-expanded="true"] {
	color: var(--shop-ink);
}

.price-note__pop {
	position: absolute;
	z-index: 6;
	left: 0;
	top: calc(100% + 0.35rem);
	width: max-content;
	max-width: min(16rem, 78vw);
	padding: 0.45rem 0.6rem;
	background: #fff;
	border: 1px solid var(--shop-line);
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	color: var(--shop-ink);
	text-align: left;
	font-size: 0.78rem;
	line-height: 1.4;
}

.price-note__pop[hidden] {
	display: none !important;
}

.product-detail__info .price-note {
	margin-bottom: 0.15rem;
}

.delivery-note {
	margin: 0 0 1rem;
	color: var(--shop-muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

.product-accordions {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-top: 1.5rem;
}

.product-accordion {
	background: transparent;
	overflow: hidden;
}

.product-accordion summary {
	cursor: pointer;
	padding: 0.35rem 0;
	color: var(--shop-muted);
	font-size: 0.82rem;
	font-weight: 400;
	list-style: none;
}

.product-accordion summary::-webkit-details-marker {
	display: none;
}

.product-accordion summary::after {
	content: "";
	display: inline-block;
	width: 0.32rem;
	height: 0.32rem;
	margin-left: 0.4rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	vertical-align: 0.12em;
}

.product-accordion[open] summary::after {
	transform: rotate(225deg);
	vertical-align: -0.05em;
}

.product-accordion__body {
	padding: 0 0 0.55rem;
	color: var(--shop-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.product-accordion--quiet summary {
	font-size: 0.78rem;
}

.product-detail__price small {
	color: #af0000;
	text-decoration: line-through;
	margin-right: 0.4rem;
	font-weight: 600;
	font-size: 0.85em;
}

.product-detail__content {
	margin-top: 1.5rem;
	line-height: 1.65;
	color: var(--shop-muted);
}

.preorder-release {
	margin: 0 0 0.85rem;
	color: var(--shop-preorder);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.35;
}

.preorder-countdown {
	margin: 0 0 0.85rem;
}

.preorder-countdown__time {
	margin: 0;
	color: var(--shop-preorder);
	font-weight: 700;
	font-size: 1.15rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

.preorder-countdown__date {
	margin: 0.2rem 0 0;
	color: var(--shop-muted);
	font-size: 0.95rem;
	line-height: 1.35;
}

.product-card .preorder-release {
	margin: 0;
	font-size: 0.82rem;
}

.preorder-note {
	background: #e8f4f7;
	color: #134b5f;
	padding: 0.75rem 0.9rem;
	margin: 0 0 1rem;
	font-size: 0.95rem;
	border-radius: var(--shop-radius);
}

.related-products {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--shop-line);
}

.related-products__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.related-products__head h2 {
	font-size: 1.35rem;
	margin: 0;
	letter-spacing: -0.02em;
}

.related-products__head a {
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
}

.product-grid--compact {
	--grid-cols: 4;
	gap: 0.85rem;
}

.product-grid--compact.is-sparse {
	grid-template-columns: repeat(var(--grid-cols), minmax(0, 16rem));
}

.product-card--compact .product-card__media {
	margin: 0.55rem;
}

.product-card--compact .product-card__body {
	padding: 0.75rem 0.8rem 0.9rem;
	gap: 0.35rem;
}

.product-card--compact h2 {
	font-size: 0.98rem;
	min-height: calc(0.98rem * 1.25 * 2);
}

.product-card--compact .product-card__price {
	font-size: 1.05rem;
}

.product-card--compact .product-card__media .product-card__badge {
	font-size: 0.78rem;
	padding: 0.35rem 0.55rem;
	top: 0.45rem;
	left: 0.45rem;
}

.product-card--compact .product-card__actions input {
	width: 48px;
	padding: 0.55rem;
	font-size: 0.9rem;
}

.product-card--compact .product-card__actions button {
	font-size: 0.82rem;
	padding: 0.55rem 0.65rem;
	border-radius: var(--shop-radius);
	width: 100%;
}

.product-card__more {
	display: block;
	margin-top: 0.35rem;
	padding: 0.4rem 0.7rem;
	border-radius: var(--shop-radius);
	background: #e5e5e5;
	color: #444;
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1.2;
	text-align: center;
}

.product-card__more:hover {
	background: #d5d5d5;
	color: #222;
}

.product-card--compact select {
	font-size: 0.9rem;
	padding: 0.45rem 0.55rem;
}

/* --- Cart slide-in (aligned with legacy bestellen_de.php) --- */
#cart.cart-drawer {
	transition: right 0.25s;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	position: fixed;
	top: 4.5rem;
	right: -420px;
	bottom: auto;
	width: 92%;
	max-width: 360px;
	height: auto;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
	background-color: #fff;
	box-sizing: border-box;
	padding: 16px;
	border-radius: var(--shop-radius) 0 0 var(--shop-radius);
	z-index: 5000000;
	overflow: hidden;
	font-family: var(--shop-font);
	font-size: 14px;
	color: #000;
}

.cart-confirm__item {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	min-height: 4.5rem;
}

.cart-confirm__media {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f3f3;
}

.cart-confirm__media img,
.cart-confirm__fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cart-confirm__name {
	margin: 0;
	font-weight: 700;
	line-height: 1.3;
}

.cart-confirm__variant,
.cart-confirm__qty {
	margin: 0.15rem 0 0;
	color: #666;
	font-size: 0.85rem;
}

#cart.cart-drawer.show {
	right: 0;
}

#cart.cart-drawer h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 10px;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	min-height: 30px;
}

#cart.cart-drawer h3 .cart-title {
	float: none;
}

#cart .closeCart {
	float: none;
	overflow: hidden;
	display: block;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	background-image: url("../img/close.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	text-indent: -500px;
	color: transparent;
}

#cart .cart-drawer__body {
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#cart_positions {
	overflow-x: hidden;
	overflow-y: auto;
	flex: 1 1 auto;
	min-height: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

#cart_page_positions {
	margin-bottom: 0;
}

.cart-empty {
	padding: 1.5rem 0.5rem;
	text-align: center;
	color: var(--shop-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 10rem;
	width: 100%;
	box-sizing: border-box;
}

.cart-empty p {
	margin: 0 0 0.85rem;
}

.cart-empty__link {
	display: inline-flex;
	font-weight: 700;
	color: var(--shop-orange) !important;
}

.cart_position {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
	padding: 0.9rem 0;
	font-size: 14px;
}

.cart_position + .cart_position {
	border-top: 1px solid var(--shop-line);
}

.cart_position__media {
	display: block;
	width: 72px;
	height: 72px;
	border: 1px solid var(--shop-line);
	border-radius: var(--shop-radius);
	overflow: hidden;
	background: #fff;
	flex-shrink: 0;
}

.cart_position__media img,
.cart_position__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cart_position__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
}

.cart_position__title {
	font-family: var(--shop-display);
	font-size: 1rem;
	font-weight: 400;
	color: var(--shop-ink) !important;
	line-height: 1.25;
	display: block;
}

.cart_position__title:hover {
	color: var(--shop-orange) !important;
}

.cart_position__badge {
	align-self: flex-start;
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--shop-preorder);
	color: #fff;
	border-radius: var(--shop-radius);
	padding: 0.2rem 0.45rem;
	margin-bottom: 0.15rem;
}

.cart_position__badge--promo {
	background: var(--shop-green, #44b115);
}

.qty-stepper--locked {
	opacity: 0.55;
	pointer-events: none;
}

.qty-stepper--locked .qty-stepper__btn:disabled {
	cursor: not-allowed;
	background: #eee;
	color: #999;
}

.qty-stepper--locked .qty-stepper__input {
	color: #666;
	background: #f7f7f7;
}

.cart_position__variant,
.cart_position__attr {
	display: block;
	font-size: 0.8rem;
	color: #888;
	margin-top: 0.15rem;
}

.cart_position__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
}

.cart_position__controls {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.qty-stepper {
	display: inline-flex;
	align-items: stretch;
	height: 2rem;
	border: 1px solid #666;
	border-radius: var(--shop-radius);
	overflow: hidden;
	background: #fff;
	box-sizing: border-box;
}

.qty-stepper__btn {
	appearance: none;
	border: 0;
	background: #f3f3f3;
	color: #222;
	width: 1.85rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.qty-stepper__btn:hover {
	background: #e8e8e8;
}

.qty-stepper__input {
	width: 2.2rem;
	border: 0;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	text-align: center;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	padding: 0;
	-moz-appearance: textfield;
}

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

.cart_position__price {
	text-align: right;
	white-space: nowrap;
}

.cart_position__total {
	display: block;
	color: var(--shop-green);
	font-weight: 700;
	font-size: 1rem;
}

.cart_position__unit {
	display: block;
	color: #888;
	font-size: 0.75rem;
	margin-top: 0.1rem;
}

.remove_item {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #f7f7f7;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
	box-sizing: border-box;
}

.remove_item img {
	display: block;
	width: 14px;
	height: 14px;
	opacity: 0.4;
	transition: opacity 0.15s ease;
}

.remove_item:hover {
	background: #ececec;
	border-color: #ccc;
}

.remove_item:hover img {
	opacity: 0.7;
}

#cart .cart_position {
	font-size: 14px;
}

#cart .cart-drawer__footer {
	padding-top: 12px;
}

#cart .cart-promo-hint:not([hidden]) {
	flex-shrink: 0;
}

#cart #subtotal {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 18px;
	display: flex;
	font-weight: bold;
	justify-content: space-between;
}

#cart #subtotal .price {
	color: #44b115;
}

#cart .shipping {
	display: block;
	background-color: #ffe900;
	color: #000;
	font-weight: bold;
	font-size: 13px !important;
	padding: 8px 10px;
	text-align: center;
	border-radius: var(--shop-radius);
	margin-bottom: 8px;
}

#cart .shipping.reached {
	background-color: #44b115;
	color: #fff;
}

#cart a#checkout.checkout-btn {
	background-color: #ff4802;
	color: #fff !important;
	font-weight: bold;
	padding: 12px 15px;
	text-align: center;
	display: block;
	border-radius: var(--shop-radius);
	font-size: 18px;
	text-decoration: none;
	margin-bottom: 8px;
	opacity: 0.25;
	pointer-events: none;
	border: 0;
}

#cart a#checkout.checkout-btn.is-ready {
	opacity: 1;
	pointer-events: auto;
}

#cart .cart-page-btn {
	display: block;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	padding: 10px 14px;
	margin: 0 0 6px;
	border-radius: var(--shop-radius);
	background: #6b6b6b;
	color: #fff !important;
	text-decoration: none;
}

#cart .cart-page-btn:hover {
	background: #555;
	color: #fff !important;
}

#cart .cart-drawer__legal {
	padding-top: 4px;
	text-align: center;
	font-size: 10px;
	color: #666;
	line-height: 1.35;
	max-width: none;
	margin: 0;
}

#cart .cart-drawer__legal-text {
	margin: 0 0 0.35rem;
}

#cart .cart-drawer__legal-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem 0.15rem;
}

#cart .cart-drawer__legal a {
	font-size: 11px !important;
	color: #afafaf;
	padding: 5px;
	text-decoration: none;
	display: inline-block;
}

#cart .cart-drawer__legal a:hover {
	color: #000;
}

#cart .cart-promo-hint {
	background: #e8f6e8;
	color: #0f5132;
	padding: 8px 10px;
	margin: 8px 0 0;
	font-size: 12px;
	border-radius: var(--shop-radius);
}

#cart.loading:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	z-index: 500;
}

#cart.loading:after {
	content: "Warenkorb wird aktualisiert...";
	position: absolute;
	top: 50%;
	left: 25px;
	right: 25px;
	transform: translateY(-50%);
	text-align: center;
	z-index: 501;
	font-weight: bold;
}

#cart.loading.redirect:after {
	content: "Bitte warten...";
}

.cart-page__positions {
	background: #fff;
	border: 1px solid var(--shop-line);
	border-radius: var(--shop-radius);
	padding: 0.35rem 1rem 0.5rem;
	min-height: 16rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.cart-page .cart_position {
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 1rem;
	padding: 1.1rem 0;
	font-size: 0.95rem;
}

.cart-page .cart_position__media {
	width: 96px;
	height: 96px;
}

.cart-page .cart_position__title {
	font-size: 1.15rem;
}

.cart-page__subtotal {
	display: flex;
	justify-content: space-between;
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.cart-page__subtotal .price {
	color: #44b115;
}

.cart-page .shipping {
	display: block;
	background: transparent;
	padding: 0;
	margin-bottom: 10px;
}

.cart-page .shipping__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--shop-radius);
}

.cart-page .shipping__img[hidden] {
	display: none;
}

.cart-page .shipping.reached {
	background: transparent;
}

.cart-page__count {
	margin: -0.55rem 0 0.9rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--shop-muted);
}

.cart-page__list {
	min-width: 0;
}

.cart-page .checkout-btn {
	background-color: #ff4802;
	color: #fff !important;
	font-weight: bold;
	padding: 15px;
	text-align: center;
	display: block;
	border-radius: var(--shop-radius);
	font-size: 20px;
	text-decoration: none;
	margin-bottom: 10px;
	opacity: 0.25;
	pointer-events: none;
}

.cart-page .checkout-btn.is-ready {
	opacity: 1;
	pointer-events: auto;
}

.cart-continue {
	display: block;
	text-align: center;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

@media (min-width: 981px) {
	.cart-page__layout:has(.cart-empty) .cart-continue {
		display: none;
	}
}

.cart-promo-hint {
	background: #e8f6e8;
	color: #0f5132;
	padding: 0.65rem 0.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.88rem;
	border-radius: var(--shop-radius);
}

.cart-preorder-warning:not([hidden]) {
	display: block;
	margin: 0.75rem 0;
	padding: 0.9rem 1rem;
	border-radius: var(--shop-radius);
	border: 1px solid #9bc5d4;
	background: #e8f4f7;
	color: #134b5f;
}

.cart-preorder-warning__title {
	display: block;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	margin-bottom: 0.35rem;
}

.cart-preorder-warning__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
}

body.shop-modal-open {
	overflow: hidden;
}

.shop-modal[hidden] {
	display: none !important;
}

.shop-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
}

.shop-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(20, 24, 28, 0.55);
	cursor: pointer;
}

.shop-modal__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 440px);
	background: #fff;
	border-radius: 16px;
	padding: 1.75rem 1.5rem 1.4rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(31, 111, 139, 0.25);
	animation: shop-modal-in 0.22s ease-out;
}

@keyframes shop-modal-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.shop-modal__icon {
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	display: grid;
	place-items: center;
	margin: 0 auto 1rem;
	background: #1f6f8b;
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1;
}

.shop-modal__title {
	margin: 0 0 0.65rem;
	font-family: var(--shop-display);
	font-size: 1.45rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	text-align: center;
	color: var(--shop-ink);
	line-height: 1.2;
}

.shop-modal__text {
	margin: 0 0 1.35rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #333;
	text-align: center;
}

.shop-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.shop-modal__btn {
	appearance: none;
	border: 0;
	border-radius: var(--shop-radius);
	padding: 0.85rem 1rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
}

.shop-modal__btn--primary {
	background: #1f6f8b;
	color: #fff;
}

.shop-modal__btn--primary:hover {
	background: #18586d;
}

.shop-modal__btn--ghost {
	background: #f3f5f6;
	color: #333;
}

.shop-modal__btn--ghost:hover {
	background: #e7ebed;
}

.cart-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
	gap: 1.5rem;
	align-items: stretch;
}

.cart-page__summary {
	background: #fff;
	border: 1px solid var(--shop-line);
	border-radius: var(--shop-radius);
	padding: 1.25rem;
	position: sticky;
	top: 5rem;
	align-self: start;
	width: 100%;
	box-sizing: border-box;
}

.cart-page__summary-title {
	font-family: var(--shop-display);
	font-size: 1.2rem;
	font-weight: 400;
	margin: 0 0 1rem;
}

.shop-footer {
	max-width: var(--shop-max);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
	text-align: center;
	color: var(--shop-muted);
	font-size: 0.92rem;
}

.shop-footer__note {
	display: block;
	margin: 0 auto 0.85rem;
}

.shop-footer__note .price-note__pop {
	left: 50%;
	transform: translateX(-50%);
}

.shop-footer__withdraw {
	margin: 0 0 0.75rem;
}

.shop-footer__withdraw-btn {
	appearance: none;
	border: 0;
	background: var(--shop-ink);
	color: #fff;
	font: inherit;
	font-weight: 700;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	cursor: pointer;
}

.shop-footer__withdraw-btn:hover {
	background: #000;
}

.shop-footer__links a {
	display: inline-block;
	padding: 0.35rem;
	color: #afafaf;
	font-size: 0.85rem;
}

.shop-cart-fab {
	display: none;
	position: fixed;
	right: 12px;
	bottom: 12px;
	z-index: 1000;
	border: 2px solid #fff;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
	background: var(--shop-orange);
	color: #fff;
	font-weight: 700;
	padding: 0.85rem 1.1rem;
	border-radius: 999px;
	cursor: pointer;
}

@media (max-width: 980px) {
	.product-grid {
		--grid-cols: 2;
	}

	.product-grid--compact {
		--grid-cols: 3;
	}

	.product-detail,
	.cart-page__layout {
		grid-template-columns: 1fr;
	}

	.cart-page__summary {
		position: static;
		top: auto;
	}
}

@media (max-width: 860px) {
	.shop-brand img {
		height: 48px;
	}

	.shop-header__actions {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
	}

	.shop-header__actions .shop-steady--in {
		font-size: 0.68rem;
		padding: 0.4rem 0.55rem;
		max-width: 9.2rem;
		line-height: 1.15;
	}

	.shop-cart-toggle__icon,
	.shop-steady__icon {
		display: block;
	}

	.shop-cart-toggle__label,
	.shop-header__actions .shop-steady--out .shop-steady__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.shop-header__actions .shop-cart-toggle,
	.shop-header__actions .shop-steady--out {
		width: 44px;
		height: 44px;
		padding: 0;
		max-width: none;
		border-radius: 999px;
	}

	.shop-cart-toggle__badge {
		position: absolute;
		top: -2px;
		right: -2px;
		min-width: 1.2rem;
		height: 1.2rem;
		box-shadow: 0 0 0 2px #fff;
	}

}

@media (max-width: 720px) {
	.product-grid {
		--grid-cols: 1;
	}

	.product-grid--compact {
		--grid-cols: 2;
	}

	.product-grid.is-sparse,
	.product-grid--compact.is-sparse {
		grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr));
	}

	.product-grid,
	.product-grid--compact {
		gap: 0.75rem;
	}

	.related-products__head {
		flex-wrap: wrap;
	}

	.shop-cart-fab {
		display: none;
	}
}

/* iPhone 12/13 mini is 375px wide. The next iPhone size is 390px. */
@media (max-width: 389px) {
	.product-grid--compact {
		--grid-cols: 1;
	}
}

.withdrawal-modal__panel {
	width: min(100%, 520px);
	max-height: min(92vh, 760px);
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.withdrawal-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.25rem 1.25rem 0.75rem;
	border-bottom: 1px solid var(--shop-line);
}

.withdrawal-modal__title {
	margin: 0;
	font-family: var(--shop-display);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--shop-ink);
}

.withdrawal-modal__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.1rem 0.35rem;
	border-radius: 8px;
}

.withdrawal-modal__close:hover {
	background: #f3f5f6;
}

.withdrawal-modal__body {
	padding: 1rem 1.25rem 1.25rem;
	overflow: auto;
}

.withdrawal-form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.withdrawal-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.withdrawal-field--message {
	display: none;
}

.withdrawal-form:has([data-withdrawal-partial]:checked) .withdrawal-field--message,
.withdrawal-form:has([data-withdrawal-add-message]:checked) .withdrawal-field--message {
	display: flex;
}

.withdrawal-label {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--shop-ink);
	line-height: 1.35;
}

.withdrawal-input,
.withdrawal-textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #dfe6e9;
	border-radius: 10px;
	padding: 0.65rem 0.75rem;
	font: inherit;
	color: var(--shop-ink);
	background: #fff;
}

.withdrawal-input:focus,
.withdrawal-textarea:focus {
	outline: 2px solid rgba(31, 111, 139, 0.35);
	border-color: #1f6f8b;
}

.withdrawal-textarea {
	min-height: 110px;
	resize: vertical;
}

.withdrawal-summary {
	white-space: pre-wrap;
	background: #f6f8f8;
	border-radius: 10px;
	padding: 0.75rem 0.85rem;
	margin: 0.75rem 0 1rem;
	line-height: 1.45;
}

.withdrawal-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.92rem;
	line-height: 1.4;
	cursor: pointer;
}

.withdrawal-checkbox {
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.withdrawal-privacy,
.withdrawal-law {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--shop-muted);
}

.withdrawal-privacy a {
	color: #1f6f8b;
}

.withdrawal-submit {
	appearance: none;
	border: 0;
	border-radius: var(--shop-radius);
	padding: 0.9rem 1rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	background: #1f6f8b;
	color: #fff;
}

.withdrawal-submit:hover {
	background: #18586d;
}

.withdrawal-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.withdrawal-alert {
	margin-bottom: 0.75rem;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: #fdecea;
	color: #611a15;
	font-size: 0.9rem;
	line-height: 1.4;
}

.withdrawal-alert--error {
	background: #fdecea;
	color: #611a15;
}

.withdrawal-modal [hidden] {
	display: none !important;
}

.withdrawal-success:not([hidden]) {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: center;
	padding: 0.5rem 0 0.25rem;
}

.withdrawal-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
