/**
 * FoodOrder public styles – fade animations, responsive grid, CSS variables.
 */

:root {
	/* Deep Heritage Red — platformens standardpalette (kan overstyres pr. restaurant i admin) */
	--food-primary: #860f16;
	--food-secondary: #a82a2a;
	--food-accent: #fc8f34;
	--food-bg-light: #f7faf9;
	--food-text-dark: #181c1c;
	--food-font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--food-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	--food-radius: 1rem;
	--food-header-height: 64px;
	--food-bottom-nav-height: 64px;
}

body {
	font-family: var(--food-font);
}

/* Fade animations – activated by IntersectionObserver adding .is-visible */
.fade-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.2s; }
.fade-up.delay-2 { transition-delay: 0.4s; }

/* Landing container */
.food-landing-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem 3rem;
}

.food-landing-container--hero {
	max-width: none;
	padding: 0 0 4rem;
}

/* Hero – premium */
.food-hero--premium {
	position: relative;
	min-height: 52vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem 3.5rem;
	margin-bottom: 0;
	border-radius: 0;
	text-align: center;
	color: #fff;
	overflow: hidden;
	background: linear-gradient(135deg, var(--food-primary) 0%, var(--food-secondary) 55%, #1a1a2e 100%);
}

.food-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 20%, rgba(252, 143, 52, 0.25), transparent 45%),
		radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12), transparent 40%);
	z-index: 0;
}

.food-hero--premium .food-hero-overlay {
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
}

.food-hero--premium .food-hero-content {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

.food-hero-badge {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	margin-bottom: 1.25rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.food-hero--premium h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.15;
	margin: 0 0 1rem;
	color: #fff;
}

.food-hero-lead {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	opacity: 0.95;
	max-width: 640px;
	margin: 0 auto 1.75rem;
}

.food-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.food-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.food-btn--primary {
	background: var(--food-accent);
	color: #1a1a2e;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.food-btn--primary:hover {
	transform: translateY(-2px);
	color: #1a1a2e;
	/* Fallback for browsers without color-mix() */
	background: var(--food-accent);
	/* Darken the accent colour by 12% so hover always matches the brand */
	background: color-mix(in srgb, var(--food-accent) 88%, #000);
}

.food-btn--ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.6);
}

.food-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.food-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.food-hero-stats li {
	min-width: 120px;
}

.food-hero-stats strong {
	display: block;
	font-size: 1.35rem;
}

.food-hero-stats span {
	font-size: 0.85rem;
	opacity: 0.85;
}

.food-hero-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	max-width: 1100px;
	margin: -2.5rem auto 2.5rem;
	padding: 0 1.5rem;
	position: relative;
	z-index: 3;
}

.food-feature-card {
	background: #fff;
	border-radius: var(--food-radius);
	padding: 1.5rem;
	box-shadow: var(--food-shadow);
	text-align: center;
	color: var(--food-text-dark);
}

.food-feature-icon {
	font-size: 2rem;
	display: block;
	margin-bottom: 0.5rem;
}

.food-feature-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}

.food-feature-card p {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.85;
}

.food-menu-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 2rem;
	padding: 0 1rem;
}

.food-menu-header h2 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	color: var(--food-text-dark);
}

.food-menu-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Language switcher */
.food-lang-switcher {
	display: inline-flex;
	align-items: center;
	margin-bottom: 1rem;
}

.food-menu-toolbar,
.food-status-toolbar,
.food-hero-lang {
	display: none;
}

/* Sticky category navigation under header */
.food-category-tabs-wrap {
	position: sticky;
	top: var(--food-header-height, 64px);
	z-index: 900;
	margin: 0 -1rem 1.25rem;
	padding: 0.65rem 1rem;
	background: rgba(245, 247, 250, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.food-category-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	margin-bottom: 0;
	padding-bottom: 0.15rem;
}

.food-category-tabs::-webkit-scrollbar {
	display: none;
}

.food-cat-tab {
	flex-shrink: 0;
	scroll-snap-align: start;
	min-height: 44px;
	padding: 0.65rem 1.15rem;
}

.food-lang-select {
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	font-size: 0.95rem;
	cursor: pointer;
}

.food-hero-lang .food-lang-select {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

@media (max-width: 768px) {
	.food-hero-features {
		grid-template-columns: 1fr;
		margin-top: 0;
	}

	.food-hero--premium {
		min-height: auto;
		padding: 2.5rem 1rem 2.75rem;
	}

	.food-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.food-btn {
		width: 100%;
		min-height: 48px;
	}

	.food-hero-stats {
		gap: 1rem;
	}

	.food-hero-stats li {
		min-width: calc(50% - 0.5rem);
		flex: 1 1 calc(50% - 0.5rem);
	}

	.food-menu-header h2 {
		font-size: 1.6rem;
	}

	.food-product-image img {
		height: 180px;
	}

	.food-add-to-cart {
		min-height: 48px;
		font-size: 1rem;
	}

	.food-options-modal {
		align-items: flex-end;
	}

	.food-options-modal-inner {
		width: 100%;
		max-width: none;
		border-radius: 1rem 1rem 0 0;
		max-height: 90vh;
		padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
	}

	.food-options-actions button {
		min-height: 48px;
	}

	.food-cart-sidebar {
		width: 100%;
		right: -100%;
		padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
	}

	.food-cart-icon {
		bottom: calc(16px + env(safe-area-inset-bottom, 0));
		right: 16px;
		width: 58px;
		height: 58px;
	}

	body.food-ordering-menu-page .food-cart-icon {
		bottom: calc(16px + env(safe-area-inset-bottom, 0));
	}

	.food-form-field input,
	.food-form-field textarea,
	.food-form-field select {
		font-size: 16px;
		min-height: 48px;
	}

	.food-checkout-button {
		min-height: 52px;
		font-size: 1.05rem;
	}

	.food-status-page {
		margin: 1rem auto;
		padding: 1rem;
	}

	.food-status-page input,
	.food-status-page button {
		font-size: 16px;
		min-height: 44px;
	}

	.food-order-history input,
	.food-order-history button {
		width: 100%;
		margin-bottom: 0.5rem;
	}
}

/* Hero (legacy) */
.food-hero {
	position: relative;
	background: var(--food-primary);
	padding: 4rem 2rem;
	text-align: center;
	color: #fff;
	border-radius: 0 0 2rem 2rem;
	margin-bottom: 2rem;
	overflow: hidden;
}

.food-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	border-radius: inherit;
}

.food-hero-content {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	z-index: 1;
}

.food-hero-content h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #fff;
}

.food-hero-content p {
	font-size: 1.2rem;
}

/* Closed notice */
.food-closed-notice {
	background: #fff3cd;
	color: #856404;
	border: 1px solid #ffc107;
	border-radius: var(--food-radius);
	padding: 1rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

/* Category tabs */
.food-cat-tab {
	background: transparent;
	border: 2px solid var(--food-primary);
	padding: 0.6rem 1.5rem;
	border-radius: 40px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	color: var(--food-primary);
}

.food-cat-tab.active,
.food-cat-tab:hover {
	background: var(--food-primary);
	color: #fff;
}

/* Product grid – explicit breakpoints per spec */
.food-products-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) and (max-width: 1199px) {
	.food-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.food-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.food-product-card {
	background: #fff;
	border-radius: var(--food-radius);
	overflow: hidden;
	box-shadow: var(--food-shadow);
	transition: transform 0.2s, box-shadow 0.2s;
}

.food-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.food-product-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.food-product-info {
	padding: 1rem;
}

.food-product-name {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.food-product-desc {
	color: #666;
	font-size: 0.9rem;
	margin: 0 0 0.5rem;
}

.food-product-price {
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--food-primary);
	margin: 0.5rem 0;
}

.food-add-to-cart {
	background: var(--food-primary);
	color: #fff;
	border: none;
	padding: 0.6rem 1rem;
	border-radius: 2rem;
	cursor: pointer;
	width: 100%;
	font-weight: bold;
	transition: background 0.2s;
}

.food-add-to-cart:hover:not(:disabled) {
	background: var(--food-secondary);
}

.food-add-to-cart:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.food-add-to-cart.is-added {
	background: var(--food-accent);
	color: #000;
}

/* Options modal */
.food-options-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1310;
	display: flex;
	align-items: center;
	justify-content: center;
}

.food-options-modal[hidden] {
	display: none;
}

.food-options-modal-inner {
	background: #fff;
	border-radius: var(--food-radius);
	padding: 1.5rem;
	max-width: 420px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
}

.food-options-actions {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
}

.food-options-actions button {
	flex: 1;
	padding: 0.6rem;
	border-radius: 0.5rem;
	cursor: pointer;
}

.food-options-confirm {
	background: var(--food-primary);
	color: #fff;
	border: none;
}

.food-options-cancel {
	background: #eee;
	border: 1px solid #ccc;
}

/* Cart drawer – glider ind fra højre på ALLE skærmstørrelser */
.food-cart-sidebar {
	position: fixed;
	top: 0;
	right: -110%;
	height: 100dvh;
	width: min(440px, 100vw);
	background: #fff;
	box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
	z-index: 2000; /* over bund-menuen, så knapperne aldrig dækkes */
	transition: right 0.28s ease;
	display: flex;
	flex-direction: column;
	padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0));
	overflow: hidden;
}

.food-cart-sidebar.open {
	right: 0;
}

/* To trin: kurv (standard) og kasse (.is-checkout) */
.food-cart-step {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.food-cart-sidebar .food-cart-step-kasse { display: none; }
.food-cart-sidebar.is-checkout .food-cart-step-kasse { display: flex; }
.food-cart-sidebar.is-checkout .food-cart-step-kurv { display: none; }

.food-cart-foot {
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 2px solid #f0f0f1;
}

.food-goto-checkout {
	display: block;
	width: 100%;
	margin-top: 0.75rem;
	padding: 0.95rem;
	border: 0;
	border-radius: 999px;
	background: var(--food-accent, #fc8f34);
	color: #301400;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
.food-goto-checkout:active { transform: scale(0.98); }

.food-shop-videre {
	display: block;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.8rem;
	border: 1px solid #dde1e7;
	border-radius: 999px;
	background: transparent;
	color: var(--food-primary, #860f16);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

.food-back-to-cart {
	background: none;
	border: none;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.4rem 0 0;
	color: var(--food-primary, #860f16);
}

.food-cart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	flex: 0 0 auto;
}

.food-cart-header .food-cart-titel { margin-right: auto; }

.food-close-cart {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}

.food-cart-items {
	flex: 1;
	overflow-y: auto;
}

.food-cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
	gap: 0.5rem;
}

.food-cart-item-name {
	flex: 1;
	font-size: 0.9rem;
}

.food-cart-item-price {
	font-weight: 600;
	white-space: nowrap;
}

.cart-remove {
	background: #fee;
	border: none;
	color: #c00;
	cursor: pointer;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 0.8rem;
}

.food-cart-total {
	padding: 1rem 0;
	font-size: 1.1rem;
	border-top: 2px solid #eee;
	margin-top: 0.5rem;
}

.food-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1990; /* lige under kurv-panelet, over alt andet */
}

.food-cart-overlay[hidden] {
	display: none;
}

.food-cart-icon {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: var(--food-primary);
	color: #fff;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	border: none;
}

.food-cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	background: var(--food-accent);
	color: #000;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

/* Checkout form */
.food-checkout-form {
	margin-top: 1rem;
}

.food-form-field {
	margin-bottom: 0.75rem;
}

.food-form-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
}

.food-form-field .required {
	color: #c00;
}

.food-form-field input,
.food-form-field textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	font-size: 1rem;
	box-sizing: border-box;
}

.food-form-errors {
	background: #fee;
	color: #c00;
	padding: 0.75rem;
	border-radius: 0.5rem;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
}

.food-checkout-button {
	background: var(--food-primary);
	color: #fff;
	border: none;
	padding: 0.75rem;
	border-radius: 2rem;
	cursor: pointer;
	width: 100%;
	font-weight: bold;
	font-size: 1rem;
	margin-top: 0.5rem;
	transition: background 0.2s;
}

.food-checkout-button:hover:not(:disabled) {
	/* Fallback for browsers without color-mix() */
	background: var(--food-primary);
	/* Darken the primary colour by 15% so hover always matches the brand */
	background: color-mix(in srgb, var(--food-primary) 85%, #000);
}

.food-checkout-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Status page */
.food-status-page {
	max-width: 480px;
	margin: 1rem auto 5rem;
	padding: 1rem 1.25rem 2rem;
}

.food-status-hero {
	text-align: center;
	margin-bottom: 1.5rem;
}

.food-status-order-no {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--food-primary);
	letter-spacing: 0.04em;
	margin: 0 0 0.25rem;
}

.food-status-heading {
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.food-status-pill {
	display: inline-block;
	margin: 0;
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	background: var(--food-primary-fixed, #ffdad7);
	color: var(--food-primary);
}

.food-status-pill.is-confirmed,
.food-status-pill.is-preparing { background: #fdece2; color: #944a00; }
.food-status-pill.is-ready,
.food-status-pill.is-out_for_delivery { background: rgba(39, 174, 96, 0.12); color: #1b7a43; }
.food-status-pill.is-delivered { background: #e8f7ee; color: #1b7a43; }
.food-status-pill.is-cancelled { background: #fdecea; color: #ba1a1a; }
.food-status-pill.is-new { background: #fff8ee; color: #944a00; }
.food-status-pill.is-error { background: #fdecea; color: #ba1a1a; }

.food-status-time,
.food-status-total {
	color: var(--food-muted, #59413f);
	font-size: 0.95rem;
	margin: 0.5rem 0 0;
}

.food-status-total {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--food-text);
}

.food-status-steps {
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 0.35rem;
	padding: 0;
	margin: 0 0 1.5rem;
	counter-reset: none;
}

.food-status-steps li {
	flex: 1;
	text-align: center;
	position: relative;
	padding-top: 1.5rem;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--food-muted, #59413f);
}

.food-step-dot {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #e2e8f0;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #e2e8f0;
}

.food-status-steps li.is-done .food-step-dot,
.food-status-steps li.is-active .food-step-dot {
	background: var(--food-primary);
	box-shadow: 0 0 0 2px var(--food-primary);
}

.food-status-steps li.is-active .food-step-label {
	color: var(--food-primary);
	font-weight: 800;
}

.food-status-items {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 1rem 1.1rem;
	margin-bottom: 1.25rem;
}

.food-status-items-title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
}

.food-status-item-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.food-status-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.5rem 0.75rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.95rem;
}

.food-status-item:last-child { border-bottom: 0; }
.food-status-item-qty { font-weight: 800; color: var(--food-primary); }
.food-status-item-price { font-weight: 700; white-space: nowrap; }
.food-status-opt { color: #ba1a1a; font-size: 0.85rem; font-style: italic; }

.food-status-timeline {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.food-status-timeline li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.9rem;
}

.food-status-timeline li strong { color: var(--food-text); }
.food-status-timeline li span { color: var(--food-muted, #59413f); font-size: 0.82rem; }

/* Responsive */
@media (max-width: 767px) {
	.food-hero-content h1 {
		font-size: 1.8rem;
	}
}

body.food-ordering-menu-page .food-header-cart-btn {
	display: inline-flex;
}

body.food-ordering-menu-page #food-header-cart-btn[hidden] {
	display: none !important;
}

@media (min-width: 992px) {
	body.food-ordering-menu-page:has(#food-header-cart-btn) .food-cart-icon {
		display: none;
	}
}

@media (max-width: 991px) {
	body.food-ordering-menu-page .food-header-cart-btn {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fade-up {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.food-cart-sidebar {
		transition: none;
	}
}

/* ===== Mobile & tablet bottom tab bar ===== */
.food-bottom-nav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1100;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
	padding-bottom: env(safe-area-inset-bottom, 0);
}

body.food-has-bottom-nav .food-bottom-nav {
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	min-height: var(--food-bottom-nav-height);
}

body.food-has-bottom-nav {
	padding-bottom: calc(var(--food-bottom-nav-height) + env(safe-area-inset-bottom, 0));
}

body.food-has-bottom-nav .site-footer {
	padding-bottom: calc(1rem + var(--food-bottom-nav-height) + env(safe-area-inset-bottom, 0));
}

.food-bottom-nav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	min-height: var(--food-bottom-nav-height);
	padding: 0.35rem 0.25rem;
	border: none;
	background: transparent;
	color: #64748b;
	text-decoration: none;
	font-size: 0.68rem;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.food-bottom-nav__item.is-active {
	color: var(--food-primary);
}

.food-bottom-nav__item.is-active .food-bottom-nav__icon {
	background: rgba(44, 125, 160, 0.12);
}

.food-bottom-nav__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 32px;
	border-radius: 999px;
}

.food-bottom-nav__icon svg {
	width: 22px;
	height: 22px;
}

.food-bottom-nav__badge {
	position: absolute;
	top: -2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--food-accent);
	color: #1a1a2e;
	font-size: 0.65rem;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
}

.food-bottom-nav__badge:empty,
.food-bottom-nav__count:empty {
	display: none;
}

/* Hide floating cart when bottom nav is visible */
@media (max-width: 1199px) {
	body.food-has-bottom-nav .food-cart-icon {
		display: none !important;
	}

	body.food-has-bottom-nav .food-site-nav-toggle {
		display: none;
	}

	body.food-has-bottom-nav .food-site-header__inner {
		justify-content: center;
	}

	body.food-has-bottom-nav .food-site-brand {
		max-width: 100%;
		justify-content: center;
		text-align: center;
	}

	.food-cart-sidebar {
		padding-bottom: calc(1rem + var(--food-bottom-nav-height) + env(safe-area-inset-bottom, 0));
	}
}

/* ===== Tablet layout (768px – 1199px) ===== */
@media (min-width: 768px) and (max-width: 1199px) {
	:root {
		--food-bottom-nav-height: 72px;
	}

	.food-bottom-nav__item {
		font-size: 0.78rem;
		gap: 0.35rem;
	}

	.food-bottom-nav__icon {
		width: 48px;
		height: 38px;
	}

	.food-bottom-nav__icon svg {
		width: 26px;
		height: 26px;
	}

	.food-landing-container {
		max-width: 960px;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.food-hero--premium {
		padding: 3rem 2rem 3.5rem;
		border-radius: 0 0 1.5rem 1.5rem;
	}

	.food-hero-features {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		max-width: 960px;
	}

	.food-menu-section {
		max-width: 960px;
	}

	.food-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}

	.food-product-card {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		min-height: 140px;
	}

	.food-product-image {
		flex: 0 0 38%;
		max-width: 38%;
	}

	.food-product-image img {
		height: 100%;
		min-height: 140px;
	}

	.food-product-info {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 1rem 1.15rem;
	}

	.food-add-to-cart {
		width: auto;
		align-self: flex-start;
		min-width: 140px;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.food-category-tabs-wrap {
		top: calc(var(--food-header-height) + 4px);
		margin-left: -1.25rem;
		margin-right: -1.25rem;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.food-cat-tab {
		min-height: 46px;
		padding: 0.7rem 1.35rem;
		font-size: 0.95rem;
	}

	.food-cart-sidebar {
		width: min(420px, 92vw);
		right: calc(-1 * min(420px, 92vw));
	}

	.food-cart-sidebar.open {
		right: 0;
	}

	.food-status-page {
		max-width: 720px;
		padding: 1.5rem 2rem;
	}

	.food-options-modal-inner {
		max-width: 520px;
		width: 92%;
		border-radius: var(--food-radius);
	}

	.food-options-modal {
		align-items: center;
	}
}

/* Tablet landscape – 3 product columns */
@media (min-width: 1024px) and (max-width: 1199px) {
	.food-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.food-product-card {
		flex-direction: column;
		min-height: auto;
	}

	.food-product-image {
		flex: none;
		max-width: none;
	}

	.food-product-image img {
		min-height: 160px;
		height: 160px;
	}

	.food-add-to-cart {
		width: 100%;
		align-self: stretch;
	}
}

/* Desktop: hide bottom nav */
@media (min-width: 1200px) {
	body.food-has-bottom-nav {
		padding-bottom: 0;
	}

	body.food-has-bottom-nav .food-bottom-nav {
		display: none !important;
	}
}

/* ===== Dedicated cart page (mobile / tablet) ===== */
.food-cart-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 1rem 1rem 2rem;
}

.food-cart-page__header {
	margin-bottom: 1.25rem;
}

.food-cart-page__back {
	display: inline-block;
	margin-bottom: 0.75rem;
	color: var(--food-primary);
	text-decoration: none;
	font-weight: 600;
}

.food-cart-page__title {
	margin: 0 0 0.35rem;
	font-size: 1.65rem;
	color: #1a1a2e;
}

.food-cart-page__lead {
	margin: 0;
	color: #64748b;
}

.food-cart-page__empty {
	text-align: center;
	padding: 2.5rem 1rem;
	background: #f8fafc;
	border-radius: 1rem;
}

.food-cart-page__shop-link {
	display: inline-block;
	margin-top: 1rem;
}

.food-cart-page__body {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.food-cart-items--page {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.food-cart-item--page {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 0.85rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.food-cart-item--page .food-cart-item__main {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.food-cart-item--page .food-cart-item-name {
	font-size: 1rem;
	color: #1a1a2e;
}

.food-cart-item-qty {
	font-size: 0.85rem;
	color: #64748b;
}

.food-cart-item--page .food-cart-item__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.food-cart-total--page {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	margin-bottom: 1rem;
	background: rgba(44, 125, 160, 0.08);
	border-radius: 0.85rem;
	font-size: 1.1rem;
}

.food-cart-page__summary {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 1rem;
	padding: 1rem;
}

/* (Fjernet: reglen der skjulte kurv-panelet på mobil/tablet.
   Panelet glider nu ind på alle skærmstørrelser.) */

/* Status tab alert after placing order (green / red pulse) */
.food-bottom-nav__status-dot {
	position: absolute;
	top: 2px;
	right: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #22c55e;
	border: 2px solid #fff;
}

.food-bottom-nav__item--status-alert {
	color: #16a34a;
}

.food-bottom-nav__item--status-alert .food-bottom-nav__icon {
	animation: food-status-icon-pulse 1.4s ease-in-out infinite;
}

.food-bottom-nav__item--status-alert .food-bottom-nav__icon svg {
	animation: food-status-color-pulse 1.4s ease-in-out infinite;
}

.food-bottom-nav__item--status-alert .food-bottom-nav__status-dot {
	animation: food-status-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes food-status-color-pulse {
	0%, 100% {
		color: #22c55e;
		filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.55));
	}
	50% {
		color: #ef4444;
		filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.65));
	}
}

@keyframes food-status-icon-pulse {
	0%, 100% {
		background: rgba(34, 197, 94, 0.18);
	}
	50% {
		background: rgba(239, 68, 68, 0.2);
	}
}

@keyframes food-status-dot-pulse {
	0%, 100% {
		background: #22c55e;
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
	}
	50% {
		background: #ef4444;
		box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15);
	}
}

@media (prefers-reduced-motion: reduce) {
	.food-bottom-nav__item--status-alert .food-bottom-nav__icon,
	.food-bottom-nav__item--status-alert .food-bottom-nav__icon svg,
	.food-bottom-nav__item--status-alert .food-bottom-nav__status-dot {
		animation: none;
	}

	.food-bottom-nav__item--status-alert .food-bottom-nav__icon svg {
		color: #ef4444;
	}

	.food-bottom-nav__item--status-alert .food-bottom-nav__status-dot {
		background: #ef4444;
	}
}

/* =============================================================
   MODERN CHECKOUT FORM — floating labels, GloriaFood-inspired
   ============================================================= */

/* Field wrapper */
.fo-checkout-field {
	margin-bottom: 14px;
}
.fo-checkout-field[data-show-if] {
	display: none;
}
.fo-checkout-field[data-show-if].fo-visible {
	display: block;
}

/* Input wrap — icon + floating label */
.fo-input-wrap {
	display: flex;
	align-items: stretch;
	border: 1.5px solid #dde1e7;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}
.fo-input-wrap:focus-within {
	border-color: var(--food-primary, #860f16);
	box-shadow: 0 0 0 3px rgba(44,125,160,.12);
}
.fo-input-wrap--textarea {
	align-items: flex-start;
}

/* Icon */
.fo-input-icon {
	width: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f7f8fa;
	border-right: 1px solid #e8eaed;
	font-size: 16px;
	line-height: 1;
}
.fo-input-icon--top {
	padding-top: 14px;
	align-items: flex-start;
}

/* Label + input area */
.fo-label-input {
	flex: 1;
	position: relative;
}
.fo-float-label {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: #9ca3af;
	pointer-events: none;
	transition: all .15s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 16px);
	font-weight: 400;
	margin: 0;
	display: block;
}
.fo-input-wrap--textarea .fo-float-label {
	top: 14px;
	transform: none;
}
/* Float up when focused or has value */
.fo-label-input:focus-within .fo-float-label,
.fo-checkout-input:not(:placeholder-shown) ~ .fo-float-label,
.fo-float-label.is-up {
	top: 6px;
	transform: translateY(0);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--food-primary, #860f16);
}
.fo-input-wrap--textarea .fo-label-input:focus-within .fo-float-label {
	top: 6px;
	transform: none;
}

/* The actual input */
.fo-checkout-input {
	display: block;
	width: 100%;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent;
	font-size: 14px;
	color: #1a1a1a;
	font-family: inherit;
	padding: 20px 12px 6px !important;
	min-height: 52px;
	box-sizing: border-box;
	-webkit-appearance: none;
}
textarea.fo-checkout-input {
	min-height: 80px;
	resize: vertical;
	padding-top: 24px !important;
}

/* Required marker */
.fo-required { color: #ef4444; margin-left: 2px; }

/* Inline action button (coupon check, etc.) */
.fo-input-action-btn {
	flex-shrink: 0;
	padding: 0 16px;
	background: none;
	border: none;
	border-left: 1px solid #e8eaed;
	font-size: 13px;
	font-weight: 600;
	color: var(--food-primary, #860f16);
	cursor: pointer;
	transition: background .12s, color .12s;
	white-space: nowrap;
}
.fo-input-action-btn:hover {
	background: var(--food-primary, #860f16);
	color: #fff;
}

/* Field hint / message */
.fo-field-hint {
	font-size: 12px;
	color: #9ca3af;
	margin: 4px 0 0 4px;
}
.fo-field-message {
	font-size: 13px;
	margin: 6px 0 0;
	padding: 8px 12px;
	border-radius: 6px;
}
.fo-field-message.is-success { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.fo-field-message.is-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }

/* Radio group */
.fo-radio-group { margin-bottom: 4px; }
.fo-radio-group-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #6b7280;
	margin-bottom: 8px;
}
.fo-radio-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fo-radio-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.fo-radio-option:has(input:checked) {
	border-color: var(--food-primary, #860f16);
	background: rgba(44,125,160,.04);
}
.fo-radio-option input[type="radio"] {
	display: none;
}
.fo-radio-box {
	width: 18px;
	height: 18px;
	border: 2px solid #d1d5db;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: border-color .15s;
}
.fo-radio-option:has(input:checked) .fo-radio-box {
	border-color: var(--food-primary, #860f16);
}
.fo-radio-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--food-primary, #860f16);
	display: none;
}
.fo-radio-option:has(input:checked) .fo-radio-dot {
	display: block;
}
.fo-radio-label-text {
	font-size: 14px;
	color: #1a1a1a;
	font-weight: 500;
}

/* Loyalty balance */
.fo-loyalty-balance {
	font-size: 13px;
	color: var(--food-primary, #860f16);
	padding: 8px 12px;
	background: rgba(44,125,160,.06);
	border-radius: 6px;
	margin: 0 0 12px;
}

/* Stripe card */
.fo-stripe-wrap {
	margin-bottom: 14px;
}
.fo-stripe-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #6b7280;
	margin-bottom: 8px;
}
.fo-stripe-card {
	border: 1.5px solid #dde1e7;
	border-radius: 8px;
	padding: 14px 16px;
	background: #fff;
}

/* Checkout form submit button */
.food-checkout-form .food-checkout-button {
	width: 100%;
	padding: 15px;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	background: var(--food-primary, #860f16);
	color: #fff;
	cursor: pointer;
	transition: opacity .15s, transform .1s;
	margin-top: 8px;
	letter-spacing: .01em;
}
.food-checkout-form .food-checkout-button:hover { opacity: .9; }
.food-checkout-form .food-checkout-button:active { transform: scale(.99); }
.food-checkout-form .food-checkout-button:disabled {
	opacity: .55;
	cursor: not-allowed;
}

/* Checkout form errors */
.food-form-errors {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #dc2626;
	border-radius: 6px;
	padding: 10px 14px;
	font-size: 13px;
	margin-bottom: 12px;
}

/* JS: float label up when input has value */
.fo-checkout-input:not([value=""]):not([value]) {
	/* handled by JS class fo-has-value */
}



/* ===== Menukort i listeform (klassisk menukort-layout) ===== */
.food-menu-liste {
	max-width: 1040px;
	margin: 0 auto;
}

.food-menu-sektion {
	margin-bottom: 2.25rem;
}

.food-menu-sektion-titel {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0 0 0.25rem;
	color: var(--food-text, #301400);
}

.food-menu-sektion-desc {
	color: #6b7280;
	margin: 0 0 1rem;
	font-size: 0.95rem;
}

.food-menu-sektion-items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 3rem;
}

@media (max-width: 767px) {
	.food-menu-sektion-items {
		grid-template-columns: 1fr;
	}
}

/* Én ret = én række: navn+beskrivelse til venstre, pris + plus til højre.
   Høj specificitet, så gamle .food-product-card-kortregler ikke blander sig. */
.food-menu-liste .food-menu-item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0.25rem;
	margin: 0;
	border: 0;
	border-bottom: 1px solid #e5e7eb;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.15s ease;
	border-radius: 6px;
}

.food-menu-liste .food-menu-item:hover {
	background: rgba(0, 0, 0, 0.03);
	transform: none;
}

.food-menu-item:hover {
	background: rgba(0, 0, 0, 0.03);
}

.food-menu-item-tekst { min-width: 0; }

.food-menu-item-navn {
	font-size: 1.02rem;
	font-weight: 700;
	margin: 0;
	color: var(--food-text, #301400);
}

.food-menu-item-nr { color: var(--food-primary, #860f16); }

.food-menu-item-desc {
	margin: 0.2rem 0 0;
	color: #6b7280;
	font-size: 0.9rem;
	line-height: 1.4;
}

.food-menu-item-side {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex: 0 0 auto;
}

.food-menu-item-pris {
	font-weight: 700;
	font-size: 1.02rem;
	white-space: nowrap;
}

.food-menu-liste .food-menu-item .food-menu-item-add {
	width: 34px;
	min-width: 34px;
	max-width: 34px;
	height: 34px;
	min-height: 34px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: var(--food-accent, #fc8f34);
	color: #301400;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
	transition: transform 0.1s ease;
}

.food-menu-liste .food-menu-item .food-menu-item-add:active { transform: scale(0.9); }
.food-menu-liste .food-menu-item .food-menu-item-add:disabled { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }

/* Kurv-knappen: rund boble på desktop, fuldbreds-bar på mobil */
@media (max-width: 767px) {
	.food-cart-icon {
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0));
		width: auto;
		height: 54px;
		border-radius: 999px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		font-weight: 700;
	}
}


/* ============================================================
   FASE 1 — Mobil bestillings-UI (OrderYOYO-stil). ≤767px only.
   Desktop uændret. Base-styles til produktside/info-ark er skjult
   som standard og åbnes kun af JS på mobil.
   ============================================================ */

/* Topbar & info-ark er skjult på desktop */
.food-mtopbar { display: none; }

/* ---- Fuldskærms produktside (global base, vises kun via JS på mobil) ---- */
.food-product-page {
	position: fixed; inset: 0; z-index: 2100;
	background: #fff; display: flex; flex-direction: column;
}
.food-product-page[hidden] { display: none; }
.food-product-page-head {
	display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
	padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top, 0));
	border-bottom: 1px solid #eceff2;
}
.food-product-back {
	background: #f2f4f6; border: 0; border-radius: 50%;
	width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
	cursor: pointer; color: #333; flex: 0 0 auto;
}
.food-product-page-title { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.food-product-page-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 16px 28px; }
.food-product-page-desc { color: #6b7280; font-size: 15px; margin: 0 0 18px; }
.food-ppo-group-title { font-size: 17px; font-weight: 700; margin: 6px 0 12px; }
.food-ppo-row {
	display: flex; align-items: center; gap: 12px;
	padding: 13px 12px; border: 1px solid #e5e7eb; border-radius: 10px;
	margin-bottom: 10px; cursor: pointer;
}
.food-ppo-row input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.food-ppo-box {
	width: 22px; height: 22px; border: 2px solid #c7ced6; border-radius: 5px;
	flex: 0 0 auto; position: relative; transition: background .15s, border-color .15s;
}
.food-ppo-row input:checked + .food-ppo-box { background: var(--food-primary, #860f16); border-color: var(--food-primary, #860f16); }
.food-ppo-row input:checked + .food-ppo-box::after {
	content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.food-ppo-name { flex: 1; font-size: 15px; }
.food-ppo-price { color: #6b7280; font-size: 14px; white-space: nowrap; }
.food-product-page-foot {
	flex: 0 0 auto; display: flex; align-items: stretch;
	background: #c8781a; padding-bottom: env(safe-area-inset-bottom, 0);
}
.food-product-page-total {
	display: flex; align-items: center; justify-content: center; padding: 0 18px;
	color: #fff; font-weight: 800; font-size: 15px; text-transform: uppercase;
	background: rgba(0, 0, 0, .13); white-space: nowrap;
}
.food-product-page-add {
	flex: 1; border: 0; background: transparent; color: #fff;
	font-size: 16px; font-weight: 800; padding: 18px 12px; cursor: pointer;
}
.food-product-page-add:active { background: rgba(0, 0, 0, .08); }

/* ---- Info-ark ---- */
.food-info-sheet { position: fixed; inset: 0; z-index: 2200; background: rgba(10, 29, 45, .5); display: flex; align-items: flex-end; justify-content: center; }
.food-info-sheet[hidden] { display: none; }
.food-info-sheet-inner { background: #fff; width: 100%; max-width: 520px; border-radius: 16px 16px 0 0; padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0)); }
.food-info-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.food-info-sheet-head strong { font-size: 17px; }
.food-info-close { background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: #555; }
.food-info-sheet-inner p { margin: 6px 0; font-size: 14px; }
.food-info-status { font-weight: 700; }
.food-info-status.is-open { color: #1b7a43; }
.food-info-status.is-closed { color: #b3261e; }

/* Chevron på kategori er kun til mobil */
.food-menu-sektion-chevron { display: none; }

/* ============================================================
   MOBIL (≤767px)
   ============================================================ */
@media (max-width: 767px) {
	/* Skjul desktop-elementer der ikke er i det nye look */
	.food-menu-header,                       /* "Vores menu"-overskrift */
	.food-category-tabs-wrap,                /* horisontale kategori-chips */
	.food-menu-liste .food-menu-item-add,   /* +-knap på rækker */
	.food-cart-icon:not(.food-mtopbar-cart) /* flydende kurv-FAB */
	{ display: none !important; }

	/* Topbar */
	.food-mtopbar {
		display: flex; align-items: center; justify-content: space-between;
		position: sticky; top: 0; z-index: 1500; margin: 0 -1rem 0;
		background: #fff; border-bottom: 1px solid #eceff2;
		padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top, 0));
	}
	.food-mtopbar-name { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
	.food-mtopbar-actions { display: flex; align-items: center; gap: 4px; }
	.food-mtopbar-info, .food-mtopbar-cart {
		background: none; border: 0; padding: 8px; cursor: pointer; color: #333;
		position: relative; display: flex; align-items: center; justify-content: center;
	}
	.food-mtopbar-badge {
		position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px;
		background: var(--food-accent, #fc8f34); color: #301400; border-radius: 999px;
		font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; padding: 0 4px;
	}

	/* Kategori som grå bjælke m. chevron */
	.food-menu-sektion-head {
		display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
		background: #eef0f2; margin: 0 -1rem; padding: 13px 14px; cursor: pointer;
		border-top: 1px solid #e2e5e8;
	}
	.food-menu-liste .food-menu-sektion-titel { font-size: 16px; margin: 0; }
	.food-menu-liste .food-menu-sektion-desc { font-size: 12px; color: #6b7280; margin: 2px 0 0; }
	.food-menu-sektion-chevron { display: block; color: #9aa4ad; flex: 0 0 auto; margin-top: 1px; transition: transform .2s ease; }
	.food-menu-sektion.is-collapsed .food-menu-sektion-chevron { transform: rotate(-90deg); }
	.food-menu-sektion.is-collapsed .food-menu-sektion-items { display: none; }

	/* Simple rækker */
	.food-menu-liste { margin: 0; }
	.food-menu-liste .food-menu-sektion { margin-bottom: 0; }
	.food-menu-liste .food-menu-item {
		padding: 14px 2px; border-radius: 0; gap: 12px;
		border-bottom: 1px solid #ececec; cursor: pointer;
	}
	.food-menu-liste .food-menu-item:hover { background: transparent; }
	.food-menu-liste .food-menu-item:active { background: rgba(0, 0, 0, .03); }
	.food-menu-item-navn { font-size: 15px; }
	.food-menu-item-desc { font-size: 13px; }
	.food-menu-item-pris { font-size: 15px; }
}


/* ===== Strukturerede tilvalgsgrupper (menu → kurv) ===== */
.food-ppo-group { margin-bottom: 18px; }
.food-ppo-group .food-ppo-group-title { display: flex; align-items: center; gap: 6px; }
.food-ppo-req { color: var(--food-primary, #860f16); font-weight: 700; font-size: 13px; }

/* Radio-variant: rund boks med udfyldt prik */
.food-ppo-radio .food-ppo-box { border-radius: 50%; }
.food-ppo-radio input:checked + .food-ppo-box { background: #fff; border-color: var(--food-primary, #860f16); }
.food-ppo-radio input:checked + .food-ppo-box::after {
	content: ""; position: absolute; left: 3px; top: 3px; right: 3px; bottom: 3px;
	width: auto; height: auto; border: 0; border-radius: 50%;
	background: var(--food-primary, #860f16); transform: none;
}

/* Deaktiveret valg (max nået) */
.food-ppo-row input:disabled ~ .food-ppo-name,
.food-ppo-row input:disabled ~ .food-ppo-price { opacity: .4; }
.food-ppo-row input:disabled + .food-ppo-box { opacity: .4; }

/* Ugyldig (påkrævet ikke opfyldt) */
.food-ppo-group.food-ppo-invalid .food-ppo-group-title { color: var(--food-error, #e74c3c); }
.food-ppo-group.food-ppo-invalid .food-ppo-req { color: var(--food-error, #e74c3c); }

/* Fejl-banner over "Tilføj til kurv" */
.food-product-page-error, .food-options-error {
	background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0;
	border-radius: 10px; padding: 10px 14px; margin: 0 16px 10px; font-size: 14px; font-weight: 600;
}
.food-options-error { margin: 0 0 10px; }
