:root {
	--bz-gold: #F5C518;
	--bz-gold-dark: #E0A800;
	--bz-ink: #1A1400;
	--bz-text: #2b2416;
	--bz-muted: #7a6f57;
	--bz-bg: #f7f4ea;
	--bz-card: #ffffff;
	--bz-danger: #c62828;
	--bz-ok: #2e7d32;
	--bz-tab: 64px;
	--bz-radius: 16px;
	--bz-safe-top: env(safe-area-inset-top, 0px);
	--bz-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	min-height: 100dvh;
	background: var(--bz-bg);
	color: var(--bz-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.45;
}
#bz-app button {
	line-height: 1.15;
}
.navbar, header.web-header, .web-footer, footer, .page-header,
.breadcrumb, .navbar-light, .switch-to-desk, .navbar-login,
a.switch-to-desk { display: none !important; }
.page-content, .page-content-wrapper, .container, .page_content,
.web-page-content, .website-container, main:not(.bz-main) {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

#bz-app {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--bz-bg);
}
.bz-top {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: calc(10px + var(--bz-safe-top)) 14px 10px;
	background: #F5C518;
	background: var(--bz-gold);
	color: var(--bz-ink);
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bz-logo { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; object-fit: contain; }
.bz-brand-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
	text-decoration: none;
	color: inherit;
}
.bz-top-text { flex: 1; min-width: 0; }
.bz-brand { font-weight: 700; font-size: 16px; letter-spacing: .2px; }
.bz-sub { font-size: 12px; opacity: .75; }
.bz-points-pill {
	background: var(--bz-ink);
	color: var(--bz-gold);
	text-decoration: none;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
}
.bz-main {
	flex: 1;
	padding: 12px 16px calc(var(--bz-tab) + var(--bz-safe-bottom) + 18px);
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
}
.bz-tabs {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	height: calc(var(--bz-tab) + var(--bz-safe-bottom));
	padding-bottom: var(--bz-safe-bottom);
	background: #fff;
	border-top: 1px solid #eee4c7;
	display: flex;
	z-index: 30;
}
.bz-tab,
a.bz-tab,
a.bz-tab:hover,
a.bz-tab:focus {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-decoration: none;
	color: var(--bz-muted);
	font-size: 11px;
	font-weight: 600;
}
.bz-tab .ico { font-size: 18px; line-height: 1; }
.bz-tab.active,
a.bz-tab.active,
a.bz-tab.active:hover { color: var(--bz-ink); }

.bz-hero, .bz-card, .bz-guest-card, .bz-post, .bz-composer, .bz-order-card {
	background: var(--bz-card);
	border-radius: var(--bz-radius);
	padding: 16px;
	box-shadow: 0 8px 24px rgba(26,20,0,.06);
	margin-bottom: 14px;
}
.bz-hero {
	background: linear-gradient(160deg, #F5C518 0%, #ffe58a 100%);
	color: var(--bz-ink);
}
.bz-hero h1 { margin: 0 0 6px; font-size: 26px; }
.bz-hero p { margin: 0 0 14px; }
.bz-card-label { font-size: 12px; color: var(--bz-muted); text-transform: uppercase; letter-spacing: .4px; }
.bz-big { font-size: 36px; font-weight: 800; color: var(--bz-ink); }
.muted { color: var(--bz-muted); font-size: 13px; }
.bz-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 8px 2px 10px;
}
.bz-section-head h2 { margin: 0; font-size: 18px; }
.bz-section-head a, .bz-link { color: var(--bz-ink); font-weight: 700; font-size: 13px; }

.bz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 12px;
	padding: 12px 16px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	font-size: 15px;
}
.bz-btn.primary { background: var(--bz-ink); color: var(--bz-gold); }
.bz-btn.ghost { background: transparent; color: var(--bz-ink); border: 1px solid #d9cc9a; }
.bz-btn.block { width: 100%; }
.bz-btn.danger { background: var(--bz-danger); color: #fff; }
.bz-btn:disabled { opacity: .5; }

.bz-hscroll {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}
.bz-tile {
	min-width: 0;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #eee4c7;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
}
.bz-tile .bz-menu-photo,
.bz-tile .bz-menu-photo.ph {
	width: 100%;
	height: 96px;
	border-radius: 0;
	font-size: 20px;
	font-weight: 600;
	object-fit: cover;
	background: #f3ead0;
	display: block;
}
.bz-tile .meta, .bz-menu-item .meta { padding: 10px 12px 12px; }
.bz-tile .name, .bz-menu-item .name { font-weight: 600; font-size: 14px; }
.bz-tile .price, .bz-menu-item .price { color: var(--bz-muted); font-size: 13px; }
.bz-post img {
	width: 100%;
	max-height: 240px;
	object-fit: cover;
	border-radius: 12px;
	background: #f3ead0;
	display: block;
}

.bz-featured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.bz-toolbar { display: flex; gap: 8px; margin-bottom: 14px; }
.bz-toolbar select, .bz-toolbar input, .bz-field input, .bz-field textarea, .bz-field select,
.bz-composer textarea, .bz-comment-row input {
	width: 100%;
	border: 1px solid #eadfba;
	border-radius: 10px;
	padding: 9px 12px;
	font-size: 15px;
	background: #fff;
	line-height: 1.3;
	color: var(--bz-text);
}
.bz-cat-select {
	display: block;
	width: 100%;
	margin-bottom: 8px;
	border: 1px solid #eadfba;
	border-radius: 10px;
	padding: 9px 12px;
	font-size: 15px;
	background: #fff;
	line-height: 1.3;
	color: var(--bz-text);
}
.bz-cats-panel { display: none; min-width: 0; }
.bz-cats-label {
	display: none;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bz-muted);
	padding: 0 4px 10px;
}
.bz-cats {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 12px;
	flex-wrap: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.bz-cats::-webkit-scrollbar { display: none; }
.bz-chip {
	border: 0;
	background: #fff;
	border-radius: 999px;
	padding: 6px 12px;
	white-space: nowrap;
	font-weight: 500;
	font-size: 13px;
	color: var(--bz-muted);
	line-height: 1.2;
	cursor: pointer;
}
.bz-chip.active {
	background: var(--bz-ink);
	color: var(--bz-gold);
}
.bz-menu-heading {
	display: none;
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	color: var(--bz-ink);
}
.bz-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}
.bz-menu-item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border: 0;
	border-radius: 14px;
	padding: 0;
	box-shadow: 0 4px 16px rgba(26,20,0,.05);
	min-height: 0;
	overflow: hidden;
	cursor: pointer;
}
.bz-menu-item .media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3ead0;
}
.bz-menu-item img,
.bz-menu-item .bz-menu-photo {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	flex: none;
	object-fit: cover;
	border-radius: 0;
	background: #f3ead0;
	display: block;
}
.bz-menu-item .price-badge {
	position: absolute;
	left: 8px;
	bottom: 8px;
	background: var(--bz-ink);
	color: var(--bz-gold);
	border-radius: 999px;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.bz-menu-item .body {
	flex: 1;
	min-width: 0;
	padding: 8px 10px 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 2px;
	align-self: stretch;
}
.bz-menu-item button.add {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: auto;
	flex: none;
	width: 28px;
	height: 28px;
	min-height: 28px;
	max-height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bz-gold);
	color: var(--bz-ink);
	font: inherit;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(26,20,0,.18);
}
.bz-menu-item button.add:hover {
	background: #ffe58a;
	border-color: transparent;
}

.bz-cart-bar {
	position: fixed;
	left: 16px; right: 16px;
	bottom: calc(var(--bz-tab) + var(--bz-safe-bottom) + 8px);
	background: var(--bz-ink);
	color: var(--bz-gold);
	border: 0;
	border-radius: 16px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	z-index: 25;
}
.bz-cart-bar .badge {
	background: var(--bz-gold);
	color: var(--bz-ink);
	border-radius: 999px;
	min-width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.bz-cart-bar strong { margin-left: auto; }

.bz-banner {
	background: #fff6cc;
	border-radius: 12px;
	padding: 10px 12px;
	margin-bottom: 10px;
	font-weight: 700;
}

.bz-sheet-back, .bz-modal-back {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.45);
	z-index: 40;
}
.bz-sheet, .bz-modal {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: #fff;
	border-radius: 20px 20px 0 0;
	padding: 16px 16px calc(18px + var(--bz-safe-bottom));
	z-index: 41;
	max-height: 86vh;
	overflow: auto;
}
.bz-modal { left: 12px; right: 12px; bottom: 12px; border-radius: 16px; }
.bz-sheet h2, .bz-modal h2 { margin: 0 0 12px; }
.bz-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f3ead0;
}
.bz-line > :first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bz-qty { display: flex; align-items: center; gap: 8px; }
.bz-qty button {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 0;
	background: #f6f0dc;
	font-size: 16px;
	line-height: 1;
	flex: 0 0 28px;
	padding: 0;
}

.bz-composer-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.bz-file { font-weight: 700; font-size: 13px; cursor: pointer; }
.bz-file input { display: none; }
.bz-post .who { font-weight: 800; }
.bz-post .when { color: var(--bz-muted); font-size: 12px; }
.bz-post .body { margin: 8px 0; white-space: pre-wrap; }
.bz-actions { display: flex; gap: 8px; }
.bz-actions button {
	border: 0; background: #f6f0dc; border-radius: 999px;
	padding: 6px 12px; font-weight: 700; cursor: pointer;
}
.bz-actions button.liked { background: var(--bz-gold); }
.bz-comments { margin-top: 10px; }
.bz-comment { font-size: 14px; margin: 6px 0; }
.bz-comment b { margin-right: 6px; }
.bz-comment-row { display: flex; gap: 8px; margin-top: 8px; }

.bz-rewards-card {
	background: linear-gradient(145deg, #1A1400, #3b3114);
	color: var(--bz-gold);
	border-radius: 18px;
	padding: 20px;
	margin-bottom: 14px;
}
.bz-rewards-card .no { letter-spacing: 2px; font-size: 18px; font-weight: 800; }
.bz-qr { text-align: center; background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.bz-qr img { width: 180px; height: 180px; }
.bz-txn { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0e6c8; }

.bz-status {
	display: inline-block;
	border-radius: 999px;
	padding: 3px 8px;
	font-size: 12px;
	background: #f5edd3;
	font-weight: 700;
}

.bz-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--bz-tab) + 24px);
	transform: translateX(-50%) translateY(20px);
	background: var(--bz-ink);
	color: #fff;
	padding: 10px 14px;
	border-radius: 12px;
	opacity: 0;
	pointer-events: none;
	transition: .2s ease;
	z-index: 50;
	max-width: 86vw;
}
.bz-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.bz-top .bz-tabs { display: none; }
.bz-tabs-mobile { display: flex; }

.bz-order-title {
	margin: 0 0 2px;
	font-size: 22px;
	font-weight: 600;
}
.bz-order-lead { margin: 0 0 12px; }
.bz-order-head { margin-bottom: 4px; }
.bz-cart-panel { display: none; }
.bz-field { margin-top: 10px; }
.bz-field label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 4px;
	color: var(--bz-muted);
}
.bz-menu-photo.ph {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, #f6f0dc, #eadfba);
	color: var(--bz-muted);
	font-weight: 600;
	font-size: 28px;
	border-radius: 0;
}
.bz-menu-empty {
	grid-column: 1 / -1;
	padding: 28px 8px;
	text-align: center;
}
.bz-order-main { min-width: 0; }
.bz-cart-panel .bz-line:last-of-type {
	border-bottom: 0;
	margin-top: 4px;
}
.bz-menu-item .muted {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 12px;
	line-height: 1.35;
}
.bz-cart-empty {
	color: var(--bz-muted);
	padding: 24px 8px;
	text-align: center;
}
#bz-app[data-page="order"] .bz-main {
	padding-bottom: calc(var(--bz-tab) + var(--bz-safe-bottom) + 88px);
}

@media (max-width: 520px) {
	.bz-toolbar { flex-direction: column; }
	.bz-toolbar select { width: 100%; }
}

@media (min-width: 768px) {
	.bz-main {
		max-width: 1100px;
		padding: 22px 24px calc(var(--bz-tab) + var(--bz-safe-bottom) + 28px);
	}
	#bz-app[data-page="order"] .bz-main {
		max-width: 1180px;
		padding-bottom: calc(var(--bz-tab) + var(--bz-safe-bottom) + 88px);
	}
	.bz-top {
		padding-left: 24px;
		padding-right: 24px;
	}
	.bz-toolbar select {
		flex: 0 0 160px;
		width: auto;
	}
	.bz-order {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 20px;
		align-items: start;
	}
	.bz-cat-select { display: none; }
	.bz-cats-panel {
		display: block;
		position: sticky;
		top: 76px;
		background: #fff;
		border-radius: 16px;
		padding: 16px 12px;
		border: 1px solid #eee4c7;
		max-height: calc(100dvh - 100px);
		overflow: auto;
	}
	.bz-menu-heading { display: block; }
	.bz-cats-label { display: block; }
	.bz-cats {
		flex-direction: column;
		flex-wrap: nowrap;
		overflow: visible;
		padding-bottom: 0;
		gap: 2px;
	}
	.bz-chip {
		width: 100%;
		text-align: left;
		border-radius: 10px;
		padding: 9px 12px;
		background: transparent;
		font-size: 14px;
	}
	.bz-chip.active {
		background: var(--bz-ink);
		color: var(--bz-gold);
	}
	.bz-menu {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
	.bz-featured {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
	.bz-order-head { display: none; }
	.bz-sheet, .bz-modal {
		left: 50%;
		right: auto;
		bottom: auto;
		top: 50%;
		transform: translate(-50%, -50%);
		width: min(480px, 92vw);
		border-radius: 20px;
		max-height: 82vh;
		padding: 22px;
	}
	.bz-cart-bar {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		width: min(520px, calc(100% - 48px));
	}
}

@media (min-width: 1024px) {
	.bz-top .bz-tabs {
		display: flex;
		position: static;
		flex: 1;
		height: auto;
		border: 0;
		background: transparent;
		padding: 0;
		justify-content: center;
		gap: 2px;
	}
	.bz-top .bz-tab,
	.bz-top a.bz-tab,
	.bz-top a.bz-tab:hover,
	.bz-top a.bz-tab:focus {
		flex: 0 0 auto;
		flex-direction: row;
		gap: 6px;
		padding: 6px 12px;
		border-radius: 999px;
		font-size: 13px;
		font-weight: 600;
		min-width: 0;
		height: auto;
		max-height: none;
	}
	.bz-top .bz-tab.active {
		background: rgba(26,20,0,.12);
	}
	.bz-tabs-mobile { display: none !important; }
	.bz-brand-link { flex: 0 0 auto; }
	.bz-main {
		padding: 28px 32px 40px;
		max-width: 1240px;
	}
	.bz-top {
		padding: calc(10px + var(--bz-safe-top)) 28px 10px;
	}
	.bz-brand { font-size: 18px; }
	#bz-app[data-page="order"] .bz-main {
		max-width: 1400px;
		padding-bottom: 40px;
	}
	.bz-order {
		display: grid;
		grid-template-columns: 210px minmax(0, 1fr) 280px;
		gap: 22px;
		align-items: start;
	}
	.bz-menu {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}
	.bz-featured {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.bz-cart-panel {
		display: flex;
		flex-direction: column;
		position: sticky;
		top: 76px;
		align-self: start;
		max-height: calc(100vh - 100px);
		max-height: calc(100dvh - 100px);
		overflow: auto;
		background: #fff;
		border-radius: 16px;
		padding: 18px 16px 16px;
		border: 1px solid #eee4c7;
		box-shadow: none;
		min-height: 0;
	}
	.bz-order-head {
		display: none;
	}
	.bz-cart-panel h2 {
		margin: 0 0 12px;
		font-size: 16px;
		font-weight: 600;
	}
	.bz-cart-bar { display: none !important; }
	.bz-toast {
		bottom: 32px;
	}
}

@media (min-width: 1280px) {
	.bz-order {
		grid-template-columns: 220px minmax(0, 1fr) 300px;
	}
}

