.cart-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: Anton;
	text-transform: uppercase;
	border: 2px solid var(--ink);
	background: var(--yellow);
	color: var(--ink);
	padding: 12px 18px;
	cursor: pointer;
}

/* Ensure the floating cart stays fixed above the page on all viewports */
.cart-nav-btn {
	top: 14px;
	right: 14px;
	z-index: 99;
	width: 100%;
	font-size: 26px;
	border-radius: 10px;
	box-shadow: 0 6px 14px rgba(43, 23, 15, 0.12);
	pointer-events: auto;
}
.floating-cart {
	position: fixed;
	z-index: 99;
	max-width: 300px;
	width: 20%;
	bottom: 14px;
	right: 14px;
}

/* Constrain header content to the same max-width as page sections */
.menu-only-header .wrap {
	max-width: var(--site-max, 1400px);
	margin: 0 auto;
	width: 100%;
}

/* Small top padding so the floating cart doesn't touch the very top and aligns visually with the Home button */
body.menu-page {
	padding-top: 20px;
}

/* Cart count badge - consolidated rule to ensure a perfect circular badge */
.cart-nav-btn span {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	padding: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--cream);
	font-size: 12px;
}
.menu-hero {
	text-align: center;
	padding: 95px 0 75px;
	border-bottom: 2px solid var(--ink);
}
.menu-hero h1 {
	font-size: clamp(76px, 9vw, 138px);
	line-height: 0.82;
	margin: 0;
}
.menu-hero h1 span {
	color: var(--orange);
}
.menu-hero p {
	max-width: 600px;
	margin: 28px auto;
	color: var(--muted);
	line-height: 1.7;
}
.menu-jump {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}
.menu-jump a {
	border: 2px solid var(--ink);
	border-radius: 30px;
	padding: 9px 17px;
	background: var(--paper);
	font-weight: 800;
	font-size: 12px;
	text-transform: uppercase;
}
.menu-section {
	padding: 75px 0 90px;
	background: var(--paper);
}
.menu-section.alt {
	background: var(--cream);
}
.menu-section-heading {
	display: flex;
	gap: 30px;
	align-items: end;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 20px;
	margin-bottom: 30px;
}
.menu-section-heading h2 {
	font-size: clamp(43px, 5vw, 68px);
	margin: 0;
}
.menu-section-heading p {
	color: var(--muted);
}
.menu-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.menu-card {
	background: #fff8eb;
	border: 2px solid #ddc9aa;
	border-radius: 10px;
	padding: 16px;
	min-height: 325px;
	display: flex;
	flex-direction: column;
	position: relative;
	scroll-margin-top: 135px;
	transition: 0.25s;
}
.menu-card:hover,
.menu-card.targeted {
	transform: translateY(-7px);
	border-color: var(--orange);
	box-shadow: 0 16px 24px rgba(43, 23, 15, 0.16);
}
.menu-card.targeted {
	outline: 7px solid rgba(240, 181, 43, 0.35);
}
.menu-food-icon {
	height: 140px;
	display: grid;
	place-items: center;
	background: var(--cream);
	border-radius: 7px;
}
.menu-food-icon svg {
	width: 110px;
}
.tag {
	position: absolute;
	top: 27px;
	left: 27px;
	background: var(--green);
	color: var(--cream);
	padding: 5px 9px;
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
}
.menu-card h3 {
	font-family: Anton;
	text-transform: uppercase;
	font-size: 22px;
	margin: 15px 0 7px;
}
.menu-card p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}
.menu-card-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
}
.menu-price {
	font-family: Anton;
	color: var(--orange);
	font-size: 23px;
}
.add-item {
	border: 2px solid var(--ink);
	background: var(--yellow);
	font-family: Anton;
	text-transform: uppercase;
	padding: 10px 12px;
	cursor: pointer;
}
.cart-overlay {
	position: fixed;
	inset: 0;
	background: #2b170f66;
	z-index: 90;
	opacity: 0;
	visibility: hidden;
}
.cart-overlay.open {
	opacity: 1;
	visibility: visible;
}
.cart-drawer {
	position: fixed;
	right: 0;
	top: 0;
	width: min(450px, 94vw);
	height: 100vh;
	background: var(--cream);
	z-index: 100;
	border-left: 2px solid var(--ink);
	transform: translateX(102%);
	transition: 0.3s;
	display: flex;
	flex-direction: column;
}
.cart-drawer.open {
	transform: none;
}
.cart-header {
	display: flex;
	justify-content: space-between;
	padding: 28px;
	border-bottom: 2px solid var(--ink);
}
.cart-header h2 {
	font-size: 46px;
	margin: 0;
}
.cart-header button {
	width: 42px;
	height: 42px;
	border: 2px solid var(--ink);
	background: var(--paper);
	color: var(--ink);
	font-size: 26px;
}
.cart-item {
	display: flex;
	justify-content: space-between;
	padding: 18px 28px;
	border-bottom: 1px solid var(--line);
}
.cart-item h4 {
	font-family: Anton;
	text-transform: uppercase;
	margin: 0 0 5px;
}
.qty button {
	border: 1px solid var(--ink);
	background: var(--paper);
	width: 28px;
	height: 28px;
}
.cart-empty {
	text-align: center;
	padding: 70px 30px;
}
.cart-footer {
	margin-top: auto;
	padding: 25px 28px;
	background: var(--paper);
	border-top: 2px solid var(--ink);
}
.cart-footer > div {
	display: flex;
	justify-content: space-between;
	font-family: Anton;
	font-size: 22px;
	margin-bottom: 15px;
}
.cart-footer strong {
	color: var(--orange);
}
.cart-footer .button {
	width: 100%;
}
/* Clear-all button in cart footer */
.cart-footer .clear-all {
	width: 100%;
	margin-bottom: 10px;
	border: 2px solid var(--ink);
	background: var(--paper);
	padding: 10px 12px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}
.cart-toast {
	position: fixed;
	left: 94%;
	top: 85%;
	width: 130px;
	border-radius: 10px;
	opacity: 0;
	background: var(--green);
	color: var(--cream);
	padding: 12px 20px;
	z-index: 110;
	font-family: Anton;
	text-transform: uppercase;
	transition: 0.3s ease-in-out;
}
.cart-toast.show {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Menu-page specific header styles */
.menu-only-header {
	position: relative;
}
.menu-only-header .menu-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
	font-size: 14px;
}
.home-btn {
	/* display: inline-block; */
	border: 2px solid var(--ink);
	background: var(--cream);
	padding: 8px 12px;
	border-radius: 6px;
	text-transform: uppercase;
	font-weight: 700;
	color: inherit;
}

/* Floating cart button placed at very top-right for menu page */
/* (defined earlier; keep compact fixed positioning) */
@media (max-width: 1000px) {
	.menu-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	/* Make each category a horizontal scroller with snap on small screens */
	.menu-grid {
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		gap: 12px;
		padding-bottom: 28px; /* extra space so cards aren't near scrollbar */
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}
	.menu-grid::-webkit-scrollbar {
		height: 8px;
	}
	.menu-grid::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.08);
		border-radius: 8px;
	}
	.menu-section-heading {
		display: block;
	}
	.menu-hero h1 {
		font-size: 64px;
	}

	/* Reduce vertical spacing between sections on mobile */
	.menu-section {
		padding: 28px 0 36px;
	}
	.menu-section-heading {
		padding-bottom: 10px;
		margin-bottom: 12px;
		border-bottom-width: 1px;
	}

	/* Hide full nav on small screens and make non-floating cart sticky at top */
	header .navlinks {
		display: none;
	}
	/* Compact cards for mobile: hide description by default */
	.menu-card {
		min-height: 220px;
		padding: 10px;
		flex: 0 0 82%;
		max-width: 82%;
		scroll-snap-align: start;
		/* disable hover/transition on touch devices */
		transition: none;
	}
	.menu-card:hover {
		transform: none;
		box-shadow: none;
	}
	.menu-food-icon {
		height: 90px;
	}
	.menu-card h3 {
		font-size: 18px;
		margin: 10px 0 6px;
	}
	.menu-price {
		font-size: 18px;
	}
	/* Show descriptions on horizontal cards; keep them compact */
	.menu-card p {
		display: block;
		margin-top: 8px;
		color: var(--muted);
		font-size: 12px;
	}

	/* Reduce section heading size to save vertical space */
	.menu-section-heading h2 {
		font-size: 20px;
	}
	.menu-section-heading p {
		font-size: 12px;
		margin-top: 6px;
	}
	.home-btn {
		padding: 6px 10px;
		margin-left: 12px;
		font-size: 12px;
	}
	.floating-cart {
		position: fixed;
		z-index: 99;
		font-size: 16px;
		width: 35%;
		bottom: 14px;
		right: 14px;
	}
	.cart-nav-btn {
		color: var(--ink);
	}
	.cart-nav-btn span {
		display: inline-grid;
		place-items: center;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: var(--ink);
		color: var(--cream);
		font-size: 16px;
	}

	.cart-toast {
		left: 80%;
		top: 85%;
		width: 130px;
	}
}
