.speisekarte {
	--sk-gap: 1.25rem;
	--sk-border: #e6e2db;
	--sk-bg: #fff;
	--sk-muted: #6b6560;
	--sk-text: #1c1917;
	--sk-accent: #b45309;
	--sk-accent-hover: #92400e;
	--sk-radius: 12px;
	max-width: 960px;
	margin: 0 auto;
	color: var(--sk-text);
	font-family: inherit;
}

.speisekarte-gruppe {
	margin: 0 0 2.5rem;
}

.speisekarte-kategorie {
	margin: 0 0 0.35rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--sk-border);
	font-size: 1.6rem;
	line-height: 1.2;
}

.speisekarte-kategorie-desc {
	margin: 0 0 1rem;
	color: var(--sk-muted);
}

.speisekarte-liste {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.speisekarte-zeile {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 140px;
	gap: var(--sk-gap);
	align-items: start;
	padding: 0.85rem;
	background: var(--sk-bg);
	border: 1px solid var(--sk-border);
	border-radius: var(--sk-radius);
}

.speisekarte-thumb {
	display: block;
	width: 96px;
	height: 96px;
	padding: 0;
	border: 0;
	background: #f4f1ec;
	border-radius: 10px;
	overflow: hidden;
	cursor: zoom-in;
}

.speisekarte-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.speisekarte-thumb:hover img,
.speisekarte-thumb:focus img {
	transform: scale(1.06);
}

.speisekarte-thumb-platzhalter {
	cursor: default;
	background:
		linear-gradient(135deg, #f4f1ec 0%, #e8e2d8 100%);
}

.speisekarte-name {
	margin: 0 0 0.35rem;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
}

.speisekarte-beschreibung {
	margin: 0;
	color: var(--sk-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.speisekarte-beschreibung p {
	margin: 0 0 0.4em;
}

.speisekarte-beschreibung p:last-child {
	margin-bottom: 0;
}

.speisekarte-col-aktion {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
	text-align: right;
}

.speisekarte-preis {
	font-weight: 700;
	font-size: 1.05rem;
	white-space: nowrap;
}

.speisekarte-add {
	appearance: none;
	border: 0;
	background: var(--sk-accent);
	color: #fff;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
}

.speisekarte-add:hover,
.speisekarte-add:focus {
	background: var(--sk-accent-hover);
}

.speisekarte-add.is-added {
	background: #166534;
}

.speisekarte-leer {
	color: var(--sk-muted);
}

.speisekarte-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 16, 12, 0.82);
	padding: 2rem;
}

.speisekarte-lightbox[hidden] {
	display: none;
}

.speisekarte-lightbox img {
	max-width: min(960px, 92vw);
	max-height: 86vh;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.speisekarte-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.speisekarte-cart {
	max-width: 640px;
	margin: 2rem auto;
	padding: 1.25rem;
	border: 1px solid var(--sk-border, #e6e2db);
	border-radius: 12px;
	background: #fff;
}

.speisekarte-cart-title {
	margin: 0 0 1rem;
}

.speisekarte-cart-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.6rem 0;
	border-bottom: 1px solid #eee;
}

.speisekarte-cart-qty {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.speisekarte-cart-qty button,
.speisekarte-cart-remove,
.speisekarte-cart-clear {
	appearance: none;
	border: 1px solid #ddd;
	background: #fafafa;
	border-radius: 6px;
	cursor: pointer;
	padding: 0.15rem 0.45rem;
}

.speisekarte-qty-input {
	width: 3.2rem;
	text-align: center;
}

.speisekarte-cart-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
}

.speisekarte-cart-total {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
	font-size: 1.05rem;
}

.speisekarte-toast {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 100001;
	background: #166534;
	color: #fff;
	padding: 0.7rem 1rem;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 700px) {
	.speisekarte-zeile {
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas:
			"bild text"
			"bild aktion";
	}

	.speisekarte-col-bild { grid-area: bild; }
	.speisekarte-col-text { grid-area: text; }
	.speisekarte-col-aktion {
		grid-area: aktion;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: left;
	}

	.speisekarte-thumb {
		width: 72px;
		height: 72px;
	}

	.speisekarte-cart-row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"name remove"
			"qty line";
	}

	.speisekarte-cart-name { grid-area: name; }
	.speisekarte-cart-remove { grid-area: remove; justify-self: end; }
	.speisekarte-cart-qty { grid-area: qty; }
	.speisekarte-cart-line { grid-area: line; justify-self: end; }
}
