body {
	background: radial-gradient(circle at top left, #fffaf6 0%, #fdf4ee 45%, #f8efe8 100%);
	color: #594a42;
	font-family: "Nunito", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "slnt" 0;
	scroll-behavior: smooth;
}

a {
	color: inherit;
}

/* Off-canvas menu styles */
.off-canvas {
	left: -250px;
	width: 250px;
}

.off-canvas.open {
	transform: translateX(250px);
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 14px;
}

::-webkit-scrollbar-track {
	background: #f4e7de;
}

::-webkit-scrollbar-thumb {
	background-color: #d9b8a5;
	border-radius: 9999px;
	border: 3px solid #f4e7de;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #cfa38c;
}

.menu-shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 6.5rem 1rem 3rem;
}

.hero-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgba(185, 145, 123, 0.25);
	min-height: 280px;
	background: #fff5ef;
	margin-bottom: 1.25rem;
}

.hero-backdrop {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(248, 227, 214, 0.84) 100%),
		url("/templates/new-template/images/placeholder.svg");
	background-size: cover;
	background-position: center;
	opacity: 0.52;
}

.hero-content {
	position: relative;
	z-index: 1;
	padding: 2.25rem 1.25rem;
	text-align: center;
}

.hero-logo {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 9999px;
	border: 3px solid rgba(194, 146, 122, 0.5);
	margin: 0 auto 0.85rem;
}

.hero-title {
	font-family: "Montserrat Alternates", sans-serif;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.5rem;
}

.hero-contact {
	color: #7a6155;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 0.8rem;
}

.hero-addition {
	color: #725d52;
	max-width: 760px;
	margin: 0.5rem auto;
}

.category-nav-wrap {
	position: sticky;
	top: 4.65rem;
	z-index: 30;
	margin-bottom: 1.25rem;
}

.menu-search-wrap {
	margin-bottom: 1rem;
}

.menu-search-input {
	width: 100%;
	border: 1px solid rgba(189, 154, 133, 0.35);
	background: rgba(255, 250, 246, 0.95);
	border-radius: 0.85rem;
	padding: 0.7rem 0.9rem;
	color: #5c4a41;
}

.menu-search-input:focus {
	outline: none;
	border-color: #c99477;
	box-shadow: 0 0 0 3px rgba(201, 148, 119, 0.15);
}

.menu-search-no-results {
	margin-top: 0.6rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #7b665b;
}

.category-nav {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	padding: 0.75rem 0.75rem 0.4rem 0.75rem;
	border-radius: 9999px;
	background: rgba(255, 244, 237, 0.96);
	border: 1px solid rgba(189, 154, 133, 0.25);
}

.category-nav::-webkit-scrollbar {
	height: 8px;
}

.category-nav::-webkit-scrollbar-track {
	background: transparent;
	margin: 0 1.5rem;
}

.category-nav::-webkit-scrollbar-thumb {
	background-color: #d9b8a5;
	border-radius: 9999px;
	border: 2px solid transparent;
	background-clip: padding-box;
}

.category-nav::-webkit-scrollbar-thumb:hover {
	background-color: #cfa38c;
}

.category-chip {
	white-space: nowrap;
	padding: 0.5rem 0.95rem;
	font-size: 0.85rem;
	font-weight: 700;
	border-radius: 9999px;
	background: #fff8f4;
	border: 1px solid rgba(198, 167, 148, 0.38);
	color: #6a554a;
	transition: all 0.2s ease;
}

.category-chip:hover {
	background: #f2d8ca;
	border-color: #d8b09a;
}

.category-chip.active {
	background: #e8c8b7;
	border-color: #cf9f86;
	color: #503f37;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

.section-wrap {
	padding: 0.5rem 0;
	margin-bottom: 0.6rem;
}

.section-head {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.8rem;
}

.section-head h2 {
	font-family: "Montserrat Alternates", sans-serif;
	font-size: clamp(1.25rem, 3vw, 2rem);
	font-weight: 700;
}

.section-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, rgba(209, 164, 138, 0.95), rgba(209, 164, 138, 0));
}

.menu-list {
	display: grid;
	gap: 0.75rem;
}

.menu-item-card {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 0.7rem;
	align-items: center;
	padding: 0.8rem;
	border-radius: 1rem;
	border: 1px solid rgba(205, 172, 151, 0.28);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(3px);
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.menu-item-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(191, 148, 123, 0.2);
}

.menu-item-media .lazy-container {
	border-radius: 0.8rem;
	overflow: hidden;
}

.menu-item-media-image {
	object-fit: cover;
}

.menu-item-body h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #4f4038;
	margin-bottom: 0.2rem;
}

.menu-item-body p {
	font-size: 0.9rem;
	color: #7b665b;
	line-height: 1.4;
	margin-bottom: 0.35rem;
}

.diet-icons {
	display: flex;
	gap: 0.35rem;
}

.diet-icons img {
	width: 18px;
	height: 18px;
	opacity: 0.9;
}

.menu-item-side {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.2rem;
}

.menu-price {
	font-size: 1.35rem;
	font-weight: 800;
	color: #9b5f3d;
	line-height: 1;
}

.add-tab-btn {
	background: #d7a88e;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	padding: 0.45rem 0.72rem;
	border-radius: 0.65rem;
	transition: background-color 0.2s ease;
}

.add-tab-btn:hover {
	background: #c99477;
}

.addition-block {
	padding: 0.95rem;
	border-radius: 0.9rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(205, 172, 151, 0.28);
	color: #6d594f;
}

.addition-image {
	width: 100%;
	max-width: 360px;
	margin: 0 auto 0.65rem;
	border-radius: 0.9rem;
}

.contact-card {
	padding: 1rem;
	border-radius: 1rem;
	border: 1px solid rgba(205, 172, 151, 0.28);
	background: rgba(255, 255, 255, 0.72);
}

.contact-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.35rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(193, 162, 142, 0.32);
}

.contact-row:last-child {
	border-bottom: 0;
}

.contact-label {
	font-weight: 800;
	color: #9b5f3d;
}

.contact-value {
	color: #5b4a42;
	line-height: 1.55;
}

.contact-map-wrap {
	margin-top: 1rem;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid rgba(205, 172, 151, 0.28);
}

body.modal-open {
	overflow: hidden;
}

.menu-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.menu-modal.hidden {
	display: none;
}

.menu-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(71, 55, 47, 0.45);
	backdrop-filter: blur(4px);
}

.menu-modal-dialog {
	position: relative;
	width: min(920px, 100%);
	border-radius: 1rem;
	background: #fffaf6;
	border: 1px solid #e5cbbc;
	box-shadow: 0 24px 50px rgba(112, 74, 54, 0.24);
	overflow: hidden;
}

.menu-modal-close {
	position: absolute;
	top: 0.65rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	border: 1px solid #debca8;
	background: #fff;
	color: #6a554a;
	font-size: 1.25rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.menu-modal-grid {
	display: grid;
	grid-template-columns: 1fr;
}

.menu-modal-image-wrap {
	background: #f7e7dc;
}

.menu-modal-image {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}

.menu-modal-content {
	padding: 1rem;
}

.menu-modal-title {
	font-family: "Montserrat Alternates", sans-serif;
	font-weight: 700;
	font-size: 1.45rem;
	color: #503f37;
	margin-bottom: 0.5rem;
}

.menu-modal-description {
	color: #6f5b4f;
	line-height: 1.6;
	margin-bottom: 0.8rem;
}

.menu-modal-tags {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.menu-modal-tag {
	padding: 0.3rem 0.6rem;
	border-radius: 9999px;
	font-size: 0.8rem;
	font-weight: 700;
	background: #f3ddd0;
	color: #6a554a;
	border: 1px solid #debfab;
}

.menu-modal-price-wrap {
	display: flex;
	align-items: baseline;
	gap: 0.65rem;
	margin-bottom: 0.9rem;
}

.menu-modal-price-label {
	font-size: 0.88rem;
	font-weight: 700;
	color: #7f675a;
}

.menu-modal-price {
	font-size: 1.85rem;
	font-weight: 800;
	color: #b17255;
	line-height: 1;
}

.menu-modal-add-btn {
	background: #d7a88e;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 0.58rem 0.9rem;
	border-radius: 0.65rem;
	transition: background-color 0.2s ease;
}

.menu-modal-add-btn:hover {
	background: #c99477;
}

footer {
	padding: 2rem 1rem 3rem;
	margin-top: 1rem;
}

#custom-alert-container {
	max-width: 16rem !important;
	right: 1rem !important;
	top: 1rem !important;
}

#custom-alert-container .max-w-sm {
	max-width: 16rem !important;
}

@media (min-width: 768px) {
	.menu-shell {
		padding: 7.25rem 1.4rem 3.5rem;
	}

	.hero-content {
		padding: 3rem 2.25rem;
	}

	.menu-item-card {
		grid-template-columns: 115px 1fr auto;
		gap: 1rem;
		padding: 1rem;
	}

	.menu-item-side {
		grid-column: auto;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 0.55rem;
	}

	.menu-price {
		font-size: 1.55rem;
	}

	.contact-row {
		grid-template-columns: 140px 1fr;
		gap: 1rem;
		align-items: start;
	}

	.menu-modal-grid {
		grid-template-columns: 1.05fr 1.2fr;
	}

	.menu-modal-image {
		height: 100%;
		min-height: 320px;
	}

	.menu-modal-content {
		padding: 1.4rem 1.3rem 1.3rem;
	}
}
