/* =======================================================================
   Beez Order App — brand system
   Matches the Beez admin dashboard (dark maroon + pink/purple/blue/orange
   gradient accents, rounded cards) and travelsim.beez.mn's layout language
   (pill badges, numbered steps, sticky CTA, clean rounded cards).
   ======================================================================= */

:root {
	--beez-maroon: #111111;
	--beez-maroon-soft: #1a1a1a;
	--beez-pink: #E8184B;
	--beez-pink-dark: #c5103d;
	--beez-purple: #9c27f2;
	--beez-blue: #2196f3;
	--beez-orange: #ff2d78;
	--beez-teal: #22C55E;
	--beez-cream: #f5f5f5;
	--beez-ink: #111111;
	--beez-muted: #aaaaaa;
	--beez-border: #f0f0f0;
	--beez-radius: 16px;
	--beez-radius-sm: 10px;
	--beez-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	--beez-shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.12);
	--beez-grad-pink: #E8184B;
	--beez-grad-purple: linear-gradient(135deg, #b224ef 0%, #7b2ff7 100%);
	--beez-grad-blue: linear-gradient(135deg, #3a8dff 0%, #1c62e0 100%);
	--beez-grad-orange: linear-gradient(135deg, #ff5f97 0%, #e0245e 100%);
	--beez-grad-rose: linear-gradient(135deg, #ff5f97 0%, #e0245e 100%);
	--beez-font: -apple-system, "Helvetica Neue", "Manrope", "Segoe UI", system-ui, sans-serif;
	/* Role-specific header backgrounds */
	--beez-role-admin: #111111;
	--beez-role-manager: #1C0A14;
	--beez-role-waiter: #0E1A2B;
	--beez-role-kitchen: #0F1A0E;
}

.beez-register-wrap, .beez-dashboard, .beez-menu-page, .beez-order-status {
	font-family: var(--beez-font);
	color: var(--beez-ink);
	max-width: 720px;
	margin: 0 auto;
}

/* ---------------------------------------------------------------- forms */
.beez-form label, .beez-form h3 { display:block; margin:14px 0 6px; font-weight:700; }
.beez-form h3 { font-size:15px; text-transform:uppercase; letter-spacing:.04em; color:var(--beez-pink-dark); margin-top:26px; }
.beez-form input[type=text], .beez-form input[type=email], .beez-form input[type=password],
.beez-form input[type=number], .beez-form input[type=url], .beez-inline-form select {
	width:100%; max-width:420px; padding:11px 14px; border:1.5px solid var(--beez-border);
	border-radius:var(--beez-radius-sm); font-family:inherit; font-size:14px; background:#fff;
	transition:border-color .15s;
}
.beez-form input:focus, .beez-inline-form select:focus {
	outline:none; border-color:var(--beez-pink);
}

.beez-btn {
	background:var(--beez-pink); color:#fff; border:none; padding:13px 26px;
	border-radius:12px; cursor:pointer; font-weight:800; font-family:inherit; font-size:14px;
	box-shadow:none; transition:transform .12s, opacity .12s;
}
.beez-btn:hover { opacity:.9; transform:translateY(-1px); }
.beez-btn:active { transform:translateY(0); opacity:1; }
.beez-btn-sm { padding:9px 16px; font-size:13px; border-radius:10px; box-shadow:none; }

.beez-alert { padding:12px 16px; border-radius:var(--beez-radius-sm); margin:12px 0; font-size:14px; font-weight:600; }
.beez-alert-success { background:#e3faf0; color:#0a8a4e; }
.beez-alert-error { background:#fde7ea; color:#c21b3e; }
.beez-alert-warning { background:#fff4e0; color:#a05a00; }
.beez-hint { color:var(--beez-muted); font-size:13px; line-height:1.5; }

/* ---------------------------------------------------------------- tabs */
.beez-dashboard h2 { font-size:22px; margin-bottom:4px; }
.beez-tabs { display:flex; gap:4px; margin:18px 0 22px; background:var(--beez-cream); padding:5px; border-radius:999px; }
.beez-tab-btn {
	flex:1; background:none; border:none; padding:10px 14px; cursor:pointer; font-weight:700;
	font-family:inherit; font-size:13px; color:var(--beez-muted); border-radius:20px; transition:.15s;
}
.beez-tab-btn.active { color:#fff; background:var(--beez-pink); box-shadow:none; }

.beez-row {
	display:flex; justify-content:space-between; align-items:center; padding:12px 14px;
	border:1px solid var(--beez-border); border-radius:var(--beez-radius-sm); margin-bottom:8px; background:#fff;
}
.beez-row button { background:none; border:none; color:var(--beez-muted); cursor:pointer; font-size:16px; }
.beez-row button:hover { color:var(--beez-pink-dark); }
.beez-inline-form { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 26px; align-items:center; }

.beez-table-card {
	display:inline-block; text-align:center; margin:0 10px 10px 0; padding:16px;
	border:1px solid var(--beez-border); border-radius:var(--beez-radius); background:#fff; box-shadow:var(--beez-shadow);
}
.beez-table-card strong { display:block; margin-bottom:8px; }
.beez-table-card img { border-radius:8px; }
.beez-table-card .beez-btn-sm { display:inline-block; margin:8px 4px 0; text-decoration:none; color:#fff; }

/* ------------------------------------------------------------ homepage badge */
.beez-badge {
	display:inline-flex; align-items:center; gap:6px; background:var(--beez-cream); color:var(--beez-pink-dark);
	font-weight:700; font-size:12px; padding:6px 14px; border-radius:999px; margin-bottom:14px;
}

/* ---------------------------------------------------------------- sticky nav (shared) */
.beez-nav {
	position: sticky; top: 0; z-index: 500; background: #fff; border-bottom: 1px solid var(--beez-border);
}
.beez-nav-inner {
	max-width: 1180px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center;
	justify-content: space-between; gap: 16px; font-family: var(--beez-font);
}
.beez-logo { font-weight: 800; font-size: 17px; color: var(--beez-maroon); text-decoration: none; white-space: nowrap; order: 1; }
.beez-nav-links { display: flex; gap: 28px; order: 2; }
.beez-nav-links a { color: var(--beez-ink); text-decoration: none; font-weight: 600; font-size: 14px; opacity: .78; transition: opacity .15s, color .15s; }
.beez-nav-links a:hover { opacity: 1; color: var(--beez-pink-dark); }
.beez-nav-cta { text-decoration: none; white-space: nowrap; order: 3; }
.beez-nav-toggle-input { display: none; }
.beez-nav-toggle { display: none; }

@media (max-width: 720px) {
	.beez-nav-inner { flex-wrap: wrap; }
	.beez-nav-links {
		order: 4; flex: 1 0 100%; flex-direction: column; gap: 2px;
		max-height: 0; overflow: hidden; transition: max-height .2s ease;
	}
	.beez-nav-links a { padding: 10px 0; opacity: 1; }
	.beez-nav-toggle-input:checked ~ .beez-nav-links { max-height: 260px; }
	.beez-nav-toggle {
		display: flex; order: 2; width: 34px; height: 34px; align-items: center; justify-content: center;
		border: 1.5px solid var(--beez-border); border-radius: 8px; font-size: 15px; cursor: pointer;
	}
	.beez-nav-cta { order: 3; padding: 9px 16px; font-size: 13px; }
}

/* -------------------------------------------------------- page hero band (shared) */
.beez-page-hero { text-align: center; padding: 44px 20px 38px; max-width: 620px; margin: 0 auto; }
.beez-page-hero h1 { font-size: clamp(24px,4vw,32px); font-weight: 800; color: var(--beez-maroon); margin: 0 0 10px; }
.beez-page-hero p { color: var(--beez-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }


/* --------------------------------------------------------- menu / order page */
.beez-menu-page {
	-webkit-text-size-adjust:100%;
	padding-bottom:calc(146px + env(safe-area-inset-bottom, 0px));
	--beez-header-h:12px;
	max-width:560px;
	margin:0 auto;
	background:var(--beez-cream);
}
.beez-menu-page * { box-sizing:border-box; }
/* Defensive resets: the shortcode can render inside any WP theme, and some
   themes/lazy-load plugins apply broad `img`/`button` rules (e.g. absolute-
   positioned lazy-load placeholders) that would otherwise break this layout. */
.beez-menu-page img { max-width:100%; height:auto; border:0; }
.beez-menu-page button { font-family:inherit; -webkit-appearance:none; appearance:none; margin:0; }
body.beez-scroll-lock { overflow:hidden; position:fixed; width:100%; }

.beez-menu-header {
	position:relative; overflow:hidden; text-align:left; padding:22px 20px 24px; margin:14px 14px 6px;
	background:#1d222c; color:#fff; display:flex; align-items:center; gap:12px; flex-wrap:wrap;
	border-radius:var(--beez-radius); box-shadow:0 12px 30px rgba(15,17,22,.18);
}
.beez-menu-header-deco { position:absolute; top:16px; right:18px; color:#cda85b; opacity:.55; pointer-events:none; }
.beez-menu-header-logo { width:36px; height:36px; border-radius:9px; object-fit:cover; flex:none; position:relative; z-index:1; }
.beez-menu-header h2 {
	margin:0; font-size:clamp(18px, 5.5vw, 21px); font-weight:800; line-height:1.3; flex:1; min-width:0;
	position:relative; z-index:1; word-break:break-word; padding-right:50px;
}
.beez-menu-header p {
	margin:6px 0 0; opacity:.7; font-size:13px; width:100%; display:flex; align-items:center; gap:5px;
	position:relative; z-index:1;
}
.beez-menu-header-cart {
	position:absolute; top:18px; right:18px; z-index:2; flex:none; width:38px; height:38px;
	border-radius:50%; background:rgba(255,255,255,.14); border:none; color:#fff; font-size:16px;
	display:flex; align-items:center; justify-content:center; cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.beez-menu-header-cart .beez-cart-count {
	position:absolute; top:-4px; right:-4px; min-width:17px; height:17px; padding:0 4px; border-radius:999px;
	background:var(--beez-pink); color:#fff; font-size:10px; font-weight:800;
	display:flex; align-items:center; justify-content:center; line-height:1;
}

/* single-column body: sticky horizontal category pill row + scrollable product list */
.beez-menu-body { display:flex; flex-direction:column; align-items:stretch; }

.beez-menu-nav {
	flex:none; width:100%; background:var(--beez-cream);
	position:sticky; top:var(--beez-header-h); z-index:20; align-self:flex-start;
	overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; -ms-overflow-style:none; scrollbar-width:none;
	display:flex; flex-direction:row; gap:8px; padding:10px 14px 12px;
}
.beez-menu-nav::-webkit-scrollbar { display:none; }
.beez-nav-item {
	display:flex; flex-direction:row; align-items:center; justify-content:center; flex:none; text-align:center;
	background:#fff; border:1.5px solid var(--beez-border); border-radius:999px; cursor:pointer;
	font-family:inherit; font-size:12.5px; font-weight:700; color:var(--beez-ink);
	padding:10px 18px; gap:6px; line-height:1.25; white-space:nowrap;
	transition:opacity .15s, background-color .15s, color .15s, border-color .15s, box-shadow .15s;
	-webkit-tap-highlight-color:transparent;
}
.beez-nav-icon { display:none; }
.beez-nav-item:active { opacity:.85; }
.beez-nav-item.active {
	background:var(--beez-pink); color:#fff; font-weight:800;
	border-color:transparent; box-shadow:none;
}
/* "Шинэ бүтээгдэхүүн" is always the first (leftmost) pill in the nav row. */
.beez-nav-item-new { border-color:var(--beez-pink); color:var(--beez-pink-dark); }
.beez-nav-item-new .beez-nav-icon { display:inline; }
.beez-nav-item-new.active { background:var(--beez-pink); color:#fff; }

.beez-menu-content { flex:1; min-width:0; padding:2px 14px 24px; }
.beez-cat-section { scroll-margin-top:var(--beez-header-h); }
.beez-cat-title {
	margin:18px 2px 12px; font-size:clamp(16px, 4.4vw, 19px); font-weight:800; color:var(--beez-maroon);
	line-height:1.3; word-break:break-word;
}
.beez-cat-section:first-child .beez-cat-title { margin-top:8px; }

.beez-products { display:flex; flex-direction:column; gap:14px; }
.beez-product-card {
	position:relative; isolation:isolate; display:flex; align-items:flex-start; gap:12px;
	padding:16px; border-bottom:none;
	background:#fff; border-radius:var(--beez-radius); box-shadow:var(--beez-shadow);
	border:1px solid var(--beez-border); overflow:hidden; transition:box-shadow .15s, transform .15s; cursor:pointer;
}
.beez-product-card:active { transform:scale(.99); }
.beez-product-thumb { order:-1; }
.beez-product-info { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
.beez-product-name {
	font-size:clamp(14.5px, 4vw, 16px); font-weight:800; line-height:1.3;
	word-break:break-word; overflow-wrap:anywhere;
}
.beez-product-desc {
	margin:4px 0 0; font-size:12.5px; color:var(--beez-muted); line-height:1.5;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word;
}
.beez-product-tags { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin-top:9px; }
.beez-product-tag {
	display:inline-flex; align-items:center; gap:3px; white-space:nowrap;
	font-size:11px; font-weight:700; color:var(--beez-muted); background:var(--beez-cream);
	border-radius:999px; padding:5px 11px; line-height:1.4;
}
.beez-tag-calories { color:#1f8a4c; background:#e2f5e6; }
.beez-tag-allergen { color:#9c6b12; background:#faecc8; }
.beez-spicy-rating { display:inline-flex; align-items:center; gap:1px; }
.beez-chili { font-size:12px; opacity:.25; filter:grayscale(1); }
.beez-chili.is-active { opacity:1; filter:none; }

/* ------------------------------------------------------- rating / favorite */
.beez-rating-badge {
	display:inline-flex; align-items:center; gap:4px; background:#fff; color:var(--beez-ink);
	font-size:12px; font-weight:800; padding:6px 10px; border-radius:999px;
	box-shadow:0 6px 14px rgba(43,17,22,.16);
}
.beez-rating-badge::before { content:"★"; color:#ffb020; font-size:12px; }
.beez-fav-btn {
	position:relative; width:36px; height:36px; border-radius:50%; background:#fff; border:none;
	color:var(--beez-pink); display:flex; align-items:center; justify-content:center; font-size:15px;
	box-shadow:0 6px 14px rgba(43,17,22,.16); cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.beez-fav-btn.is-active { color:var(--beez-pink-dark); }
.beez-fav-btn::before { content:''; position:absolute; inset:-8px; }

/* --------------------------------------------------------------- promo banner */
.beez-promo-banner {
	position:relative; overflow:hidden; border-radius:22px; padding:22px 20px; margin:0 0 18px;
	background:var(--beez-grad-pink); color:#fff; box-shadow:0 14px 30px rgba(233,30,99,.28);
}
.beez-promo-banner h3 { margin:0 0 6px; font-size:17px; font-weight:800; }
.beez-promo-banner p { margin:0 0 14px; font-size:13px; opacity:.92; line-height:1.5; max-width:70%; }
.beez-promo-banner .beez-btn-light {
	background:#fff; color:var(--beez-pink-dark); box-shadow:none; padding:11px 20px; font-size:13px;
}
.beez-product-bottom { margin-top:12px; display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:8px 10px; }
.beez-product-price-wrap { display:flex; align-items:baseline; gap:8px; flex:1 1 auto; min-width:max-content; }
.beez-product-price {
	color:var(--beez-pink-dark); font-weight:800; font-size:clamp(15px, 4vw, 18px);
}
.beez-product-price-old {
	color:var(--beez-muted); font-weight:600; font-size:12.5px; text-decoration:line-through;
}
.beez-product-price-discounted { color:#c5103d; }

/* --------------------------------------------------------- ribbons (new/discount) */
.beez-product-ribbons {
	position:absolute; top:10px; left:10px; z-index:2; display:flex; flex-direction:column; gap:5px; align-items:flex-start;
}
.beez-ribbon {
	display:inline-flex; align-items:center; font-size:10.5px; font-weight:800; letter-spacing:.02em;
	color:#fff; padding:4px 9px; border-radius:999px; line-height:1.3; box-shadow:0 3px 8px rgba(0,0,0,.15);
	white-space:nowrap;
}
.beez-ribbon-new { background:var(--beez-purple); }
.beez-ribbon-discount { background:var(--beez-pink); }
/* `position:relative` here (plus the forced-static rule on the <img> below) stops
   any global theme/lazy-load CSS that targets bare `img` tags with absolute
   positioning from pulling the photo out of the card and over the price/button. */
.beez-product-thumb {
	position:relative; flex:none; width:92px; height:92px; border-radius:18px;
	overflow:hidden; background:var(--beez-cream); align-self:flex-start;
}
.beez-product-thumb img {
	position:static !important; width:100% !important; height:100% !important; max-width:none !important;
	object-fit:cover; display:block;
}

/* Add button: visual size stays compact, but the tappable hit-area is enlarged
   via a transparent pseudo-element (better mobile ergonomics without a bulkier look). */
.beez-add-btn {
	position:relative; flex:none; width:30px; height:30px; border-radius:10px;
	background:var(--beez-pink); color:#fff; border:none; font-size:18px; font-weight:800; cursor:pointer;
	box-shadow:none; line-height:1; -webkit-tap-highlight-color:transparent;
}
.beez-add-btn::before { content:''; position:absolute; inset:-10px; }
.beez-add-btn:active { transform:scale(.92); }

/* ---------------------------------------------------------- cart trigger bar */
.beez-cart-bar {
	position:fixed; left:0; right:0; bottom:calc(var(--beez-tabbar-h, 62px) + env(safe-area-inset-bottom, 0px)); background:#111; color:#fff;
	padding:12px 16px; border-radius:14px 14px 0 0;
	display:flex; justify-content:space-between; align-items:center; gap:12px;
	box-shadow:0 -4px 16px rgba(0,0,0,.15); z-index:900; cursor:pointer;
	-webkit-tap-highlight-color:transparent;
}
.beez-cart-bar-info { display:flex; align-items:center; gap:10px; min-width:0; font-size:13px; font-weight:700; }
.beez-cart-bar-icon {
	position:relative; flex:none; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.14);
	display:flex; align-items:center; justify-content:center; font-size:17px;
}
.beez-cart-count {
	position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; padding:0 4px; border-radius:999px;
	background:var(--beez-pink); color:#fff; font-size:10.5px; font-weight:800;
	display:flex; align-items:center; justify-content:center; line-height:1;
}
.beez-cart-bar-cta {
	flex:none; background:var(--beez-pink); color:#fff; padding:11px 18px; border-radius:11px;
	font-size:13px; font-weight:800; white-space:nowrap; box-shadow:none;
}

/* ---------------------------------------------------------------- tab bar (bottom nav) */
.beez-tabbar {
	position:fixed; left:0; right:0; bottom:0; z-index:920;
	display:flex; align-items:stretch; justify-content:space-around;
	background:#fff; border-top:1px solid var(--beez-border);
	padding:7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
	box-shadow:0 -2px 10px rgba(0,0,0,.06);
	-webkit-tap-highlight-color:transparent;
}
.beez-tabbar-item {
	flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
	gap:3px; background:none; border:none; padding:6px 4px; color:var(--beez-muted);
	cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.beez-tabbar-icon { position:relative; width:24px; height:24px; display:flex; align-items:center; justify-content:center; }
.beez-tabbar-icon svg { width:22px; height:22px; }
.beez-tabbar-label { font-size:11px; font-weight:700; line-height:1.1; }
.beez-tabbar-item.active { color:var(--beez-pink); }
a.beez-tabbar-item { text-decoration:none; }
.beez-tabbar-badge {
	position:absolute; top:-4px; right:-6px; min-width:15px; height:15px; padding:0 3px; border-radius:999px;
	background:var(--beez-pink); color:#fff; font-size:9.5px; font-weight:800;
	display:flex; align-items:center; justify-content:center; line-height:1;
}


/* ---------------------------------------------------------------- cart panel */
.beez-cart-overlay {
	position:fixed; inset:0; z-index:1000; visibility:hidden; pointer-events:none;
}
.beez-cart-overlay.open { visibility:visible; pointer-events:auto; }
.beez-cart-backdrop {
	position:absolute; inset:0; background:rgba(20,8,10,.5); opacity:0; transition:opacity .22s ease;
}
.beez-cart-overlay.open .beez-cart-backdrop { opacity:1; }

.beez-cart-panel {
	position:absolute; left:0; right:0; bottom:0; max-width:560px; margin:0 auto;
	background:#fff; border-radius:20px 20px 0 0; box-shadow:0 -8px 30px rgba(0,0,0,.15);
	max-height:88vh; display:flex; flex-direction:column;
	transform:translateY(100%); transition:transform .26s cubic-bezier(.32,.72,0,1);
	padding-bottom:env(safe-area-inset-bottom, 0px);
}
.beez-cart-overlay.open .beez-cart-panel { transform:translateY(0); }

.beez-cart-panel-handle { width:36px; height:4px; border-radius:999px; background:var(--beez-border); margin:10px auto 0; flex:none; }
.beez-cart-panel-header {
	flex:none; display:flex; align-items:center; justify-content:space-between; padding:12px 18px 10px;
	border-bottom:1px solid var(--beez-border);
}
.beez-cart-panel-header h3 { margin:0; font-size:15.5px; font-weight:800; color:var(--beez-maroon); }
.beez-cart-close {
	position:relative; background:none; border:none; font-size:22px; line-height:1; color:var(--beez-muted);
	cursor:pointer; padding:4px;
}
.beez-cart-close::before { content:''; position:absolute; inset:-10px; }

.beez-cart-items { flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:4px 18px; }

.beez-cart-row { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--beez-border); }
.beez-cart-row:last-child { border-bottom:none; }
.beez-cart-row-thumb { flex:none; width:52px; height:52px; border-radius:14px; overflow:hidden; background:var(--beez-cream); }
.beez-cart-row-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.beez-cart-row-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.beez-cart-row-name { font-size:13.5px; font-weight:700; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.beez-cart-row-price { font-size:12.5px; color:var(--beez-pink-dark); font-weight:700; }

.beez-cart-row-note { margin-top:2px; }
.beez-cart-row-note-add {
	background:none; border:none; padding:0; font-size:11.5px; font-weight:700; color:var(--beez-muted);
	cursor:pointer; text-align:left; -webkit-tap-highlight-color:transparent;
}
.beez-cart-row-note-add:active { color:var(--beez-pink-dark); }
.beez-cart-row-note-display {
	display:inline-flex; align-items:center; gap:4px; max-width:100%; background:#fff6e5; border:1px solid #ffe1a8;
	border-radius:8px; padding:3px 8px; font-size:11.5px; font-weight:600; color:#9a5b00; cursor:pointer;
	-webkit-tap-highlight-color:transparent;
}
.beez-cart-row-note-display span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:220px; }
.beez-cart-row-note-readonly { cursor:default; }
.beez-cart-row-note-input {
	width:100%; resize:vertical; min-height:38px; margin-top:4px; padding:8px 10px; font-family:inherit;
	font-size:12.5px; color:var(--beez-ink); border:1.5px solid var(--beez-border); border-radius:8px; box-sizing:border-box;
}
.beez-cart-row-note-input:focus { outline:none; border-color:var(--beez-pink); }
.beez-cart-row-note-save {
	margin-top:6px; background:var(--beez-pink); color:#fff; border:none; border-radius:8px; padding:6px 12px;
	font-size:11.5px; font-weight:700; cursor:pointer; -webkit-tap-highlight-color:transparent;
}

.beez-cart-row-qty { flex:none; display:flex; align-items:center; gap:8px; }
.beez-qty-btn {
	position:relative; flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid var(--beez-border);
	background:#fff; color:var(--beez-maroon); font-size:15px; line-height:1; cursor:pointer;
	display:flex; align-items:center; justify-content:center; -webkit-tap-highlight-color:transparent;
}
.beez-qty-btn::before { content:''; position:absolute; inset:-10px; }
.beez-qty-btn:active { background:var(--beez-cream); }
.beez-qty-btn.beez-qty-plus { background:var(--beez-pink); border-color:transparent; color:#fff; box-shadow:none; }
.beez-qty-value { min-width:16px; text-align:center; font-size:13px; font-weight:800; }

.beez-cart-remove {
	position:relative; flex:none; background:none; border:none; font-size:15px; color:var(--beez-muted);
	cursor:pointer; padding:4px; margin-left:2px; -webkit-tap-highlight-color:transparent;
}
.beez-cart-remove::before { content:''; position:absolute; inset:-10px; }
.beez-cart-remove:active { color:var(--beez-pink-dark); }

.beez-cart-empty { display:none; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:60px 20px 50px; text-align:center; }
.beez-cart-empty p { margin:0; color:var(--beez-muted); font-size:13.5px; }

.beez-cart-panel-footer { flex:none; padding:14px 18px 18px; border-top:1px solid var(--beez-border); }
.beez-cart-panel-footer #beez-checkout-error { margin:0 0 10px; }
.beez-cart-total-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.beez-cart-total-row span { font-size:13px; color:var(--beez-muted); font-weight:600; }
.beez-cart-total-row strong { font-size:19px; color:var(--beez-maroon); font-weight:800; }
.beez-cart-checkout-btn { width:100%; display:flex; align-items:center; justify-content:center; padding:14px; font-size:14.5px; border-radius:14px !important; }

/* ------------------------------------------------------------- bill details */
.beez-order-notes-box {
	background:#fff6e5; border:2px solid #ffcb6b; border-radius:var(--beez-radius-sm);
	padding:14px 16px; margin:14px 0 4px;
}
.beez-order-notes-box h4 {
	margin:0 0 8px; font-size:14px; font-weight:800; color:#9a5b00;
}
.beez-order-notes-list { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:6px; }
.beez-order-notes-list li { font-size:13.5px; line-height:1.4; color:#6b4300; }
.beez-order-notes-list li strong { color:#9a5b00; font-weight:800; }

.beez-bill-details { padding:14px 0 4px; }
.beez-bill-details h4 { margin:0 0 10px; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--beez-maroon); }
.beez-bill-row { display:flex; align-items:center; justify-content:space-between; padding:5px 0; font-size:13.5px; }
.beez-bill-row span { color:var(--beez-muted); font-weight:600; }
.beez-bill-row strong { font-weight:700; color:var(--beez-ink); }

/* ------------------------------------------------------------ item detail sheet */
.beez-item-sheet-overlay {
	position:fixed; inset:0; z-index:1050; visibility:hidden; pointer-events:none;
}
.beez-item-sheet-overlay.open { visibility:visible; pointer-events:auto; }
.beez-item-sheet-overlay .beez-cart-backdrop { position:absolute; inset:0; background:rgba(20,8,10,.5); opacity:0; transition:opacity .22s ease; }
.beez-item-sheet-overlay.open .beez-cart-backdrop { opacity:1; }

.beez-item-sheet {
	position:absolute; left:0; right:0; bottom:0; max-width:560px; margin:0 auto;
	background:#fff; border-radius:20px 20px 0 0; box-shadow:0 -20px 50px rgba(0,0,0,.25);
	max-height:88vh; display:flex; flex-direction:column;
	transform:translateY(100%); transition:transform .26s cubic-bezier(.32,.72,0,1);
	padding-bottom:env(safe-area-inset-bottom, 0px);
}
.beez-item-sheet-overlay.open .beez-item-sheet { transform:translateY(0); }

.beez-item-sheet-body { flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:14px 20px 4px; }
.beez-item-sheet-top { display:flex; align-items:flex-start; gap:14px; }
.beez-item-sheet-thumb {
	flex:none; width:76px; height:76px; border-radius:18px; overflow:hidden; background:var(--beez-cream);
}
.beez-item-sheet-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.beez-item-sheet-info { flex:1; min-width:0; padding-top:4px; display:flex; flex-direction:column; gap:8px; }
.beez-item-sheet-info strong { font-size:17px; font-weight:800; color:var(--beez-ink); line-height:1.3; word-break:break-word; }
.beez-item-sheet-price { font-size:16px; font-weight:800; color:var(--beez-pink-dark); }
.beez-item-sheet-desc { margin:14px 0 0; font-size:13px; color:var(--beez-muted); line-height:1.6; }

.beez-item-sheet-qty-row {
	display:flex; align-items:center; justify-content:space-between; gap:12px;
	margin-top:20px; padding:14px 16px; border:1.5px solid var(--beez-border); border-radius:var(--beez-radius-sm);
	font-size:14px; font-weight:700; color:var(--beez-ink);
}
.beez-qty-stepper { display:flex; align-items:center; gap:12px; }
.beez-qty-stepper .beez-qty-value { min-width:22px; text-align:center; font-size:14px; font-weight:800; }

.beez-item-sheet-note-row { margin-top:14px; }
.beez-item-sheet-note-row label { display:block; font-size:12.5px; font-weight:700; color:var(--beez-muted); margin-bottom:6px; }
.beez-item-sheet-note {
	width:100%; resize:vertical; min-height:44px; padding:10px 12px; font-family:inherit; font-size:13.5px;
	color:var(--beez-ink); border:1.5px solid var(--beez-border); border-radius:var(--beez-radius-sm); box-sizing:border-box;
}
.beez-item-sheet-note:focus { outline:none; border-color:var(--beez-pink); }

.beez-item-sheet-add-btn {
	flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px;
	margin:14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); padding:14px 20px;
	background:var(--beez-pink); color:#fff; border:none; border-radius:14px;
	cursor:pointer; font-family:inherit; box-shadow:none;
	-webkit-tap-highlight-color:transparent;
}
.beez-item-sheet-add-left, .beez-item-sheet-add-right { display:flex; flex-direction:column; text-align:left; }
.beez-item-sheet-add-right { text-align:right; }
.beez-item-sheet-add-btn strong { font-size:15px; font-weight:800; line-height:1.3; }
.beez-item-sheet-add-btn small { font-size:11px; opacity:.85; font-weight:600; margin-top:1px; }

.beez-checkout-page {
	position:fixed; inset:0; z-index:1100; background:var(--beez-cream);
	visibility:hidden; opacity:0; transform:translateX(24px);
	transition:opacity .22s ease, transform .22s ease, visibility .22s;
	display:flex; flex-direction:column;
}
.beez-checkout-page.open { visibility:visible; opacity:1; transform:translateX(0); }
.beez-checkout-page-header {
	flex:none; display:flex; align-items:center; gap:12px; padding:16px 18px;
	background:#fff; border-bottom:1px solid var(--beez-border);
	padding-top:calc(16px + env(safe-area-inset-top, 0px));
}
.beez-checkout-page-header h2 { margin:0; font-size:16.5px; font-weight:800; color:var(--beez-maroon); }
.beez-checkout-page-back {
	flex:none; width:36px; height:36px; border-radius:50%; border:1.5px solid var(--beez-border);
	background:#fff; color:var(--beez-maroon); font-size:17px; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.beez-checkout-page-back:hover { border-color:var(--beez-pink); color:var(--beez-pink-dark); }
.beez-checkout-page-body { flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:6px 18px; max-width:560px; width:100%; margin:0 auto; display:flex; flex-direction:column; }
.beez-checkout-brand {
	margin-top:auto; padding:16px 20px 28px; text-align:center; font-size:12.5px; font-weight:700;
	color:#fff; background:var(--beez-pink); border-radius:var(--beez-radius);
	margin-bottom:16px; letter-spacing:.02em;
}
.beez-checkout-page-footer {
	flex:none; padding:14px 18px 18px; border-top:1px solid var(--beez-border); background:#fff;
	max-width:560px; width:100%; margin:0 auto; padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px));
}
.beez-checkout-page-footer #beez-checkout-error { margin:0 0 10px; }

/* -------------------------------------------------- previous-order mini card */
.beez-order-status-mini {
	margin:24px auto; padding:28px 20px; text-align:center; background:#fff;
	border-radius:var(--beez-radius); border:1px solid var(--beez-border);
}
.beez-order-status-mini-number { margin:0 0 10px; font-size:18px; font-weight:800; color:var(--beez-maroon); }
.beez-order-status-mini-label {
	display:inline-block; margin:0 0 14px; padding:7px 16px; border-radius:999px;
	background:#fbe6ec; color:var(--beez-pink-dark, var(--beez-pink)); font-size:13.5px; font-weight:700;
}
.beez-order-status-mini-total { margin:0; font-size:22px; font-weight:800; }
.beez-order-status-mini-table { width:100%; text-align:left; margin:0 0 18px; }
.beez-order-status-mini-table .beez-receipt-item-name { padding-right:12px; }
.beez-order-status-mini-note { margin-top:2px; text-align:left; }
.beez-checkout-row-qty { flex:none; font-size:13px; font-weight:700; color:var(--beez-muted); }

/* ------------------------------------------------------- payment methods */
.beez-payment-methods { margin:6px 0 18px; }
.beez-payment-methods-title { margin:0 0 10px; font-size:13px; font-weight:800; color:var(--beez-maroon); }
.beez-payment-option {
	display:flex; align-items:center; gap:10px; padding:13px 14px; margin-bottom:8px;
	border-radius:var(--beez-radius-sm); border:2px solid var(--beez-border); cursor:pointer;
	-webkit-tap-highlight-color:transparent; transition:border-color .15s, background-color .15s, box-shadow .15s;
	background:#fff;
}
.beez-payment-option input { position:absolute; opacity:0; width:0; height:0; }
.beez-payment-option-icon { font-size:19px; line-height:1; }
.beez-payment-option-label { font-weight:700; font-size:14px; flex:1; color:var(--beez-muted); }

/* Flat list rows with a trailing checkmark circle — unselected options sit
   quiet in grey, the chosen method is highlighted in pink with a filled check. */
.beez-payment-option-check {
	flex:none; width:22px; height:22px; border-radius:50%; border:1.5px solid var(--beez-border);
	display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800;
	color:transparent; background:#fff; transition:background-color .15s, border-color .15s, color .15s;
}
.beez-payment-option.is-selected { border-color:var(--beez-pink); background:#FEF2F4; }
.beez-payment-option.is-selected .beez-payment-option-label { color:var(--beez-ink); }
.beez-payment-option.is-selected .beez-payment-option-check {
	background:var(--beez-pink); border-color:transparent; color:#fff;
}

.beez-bank-transfer-details {
	margin-top:4px; padding:14px 16px; background:var(--beez-cream); border-radius:var(--beez-radius-sm);
}
.beez-bank-transfer-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:4px 0; font-size:13.5px; }
.beez-bank-transfer-row span { color:var(--beez-muted); font-weight:600; }

@media (max-width:480px) {
	.beez-nav-item { font-size:11.5px; padding:9px 15px; }
	.beez-menu-header { padding:18px 16px 20px; margin:10px 10px 6px; }
	.beez-menu-content { padding:2px 10px 24px; }
	.beez-product-card { padding:14px; gap:10px; }
	.beez-product-thumb { width:70px; height:70px; border-radius:14px; }
	.beez-cart-bar-cta { padding:10px 14px; font-size:12.5px; }
}
@media (max-width:380px) {
	.beez-nav-item { font-size:11px; padding:8px 13px; }
	.beez-product-card { padding:12px; gap:8px; }
	.beez-product-thumb { width:60px; height:60px; border-radius:12px; }
	.beez-product-tag { font-size:10.5px; padding:4px 9px; }
	.beez-product-bottom { margin-top:10px; }
}
@media (max-width:340px) {
	.beez-nav-item { font-size:10.5px; padding:7px 11px; }
	.beez-product-thumb { display:none; }
}

/* -------------------------------------------------------------- order status */
.beez-order-status { text-align:center; padding:40px 20px calc(90px + env(safe-area-inset-bottom, 0px)); }
.beez-order-status h2 { font-size:20px; }
#beez-status-label {
	display:inline-block; padding:8px 18px; border-radius:20px; font-weight:700; font-size:13px;
	background:#FEE2EA; color:#B0002C; margin:10px 0;
}
.beez-receipt { margin-top:24px; padding:20px; border:1px solid var(--beez-border); border-radius:var(--beez-radius); text-align:left; }
.beez-receipt img { margin-top:10px; border-radius:8px; }
.beez-receipt-head { text-align:center; margin-bottom:14px; padding-bottom:14px; border-bottom:1px dashed var(--beez-border); }
.beez-receipt-head strong { display:block; font-size:15px; }
.beez-receipt-table { width:100%; border-collapse:collapse; }
.beez-receipt-table td { padding:8px 0; vertical-align:top; font-size:13.5px; border-bottom:1px dashed var(--beez-border); }
.beez-receipt-item-name { padding-right:12px; }
.beez-receipt-item-qty { color:var(--beez-text-muted, #8a8a8a); margin-left:4px; }
.beez-receipt-item-total { text-align:right; white-space:nowrap; font-weight:600; }
.beez-receipt-total-row { display:flex; justify-content:space-between; align-items:center; margin-top:14px; padding-top:14px; border-top:1px solid var(--beez-border); font-size:15px; }
.beez-receipt-thanks { text-align:center; margin-top:10px; }
.beez-receipt-print-btn { display:block; margin:14px auto 0; }
@media print {
	body * { visibility:hidden; }
	#beez-receipt-print, #beez-receipt-print * { visibility:visible; }
	#beez-receipt-print { position:absolute; left:0; top:0; width:100%; border:none; }
	.beez-receipt-print-btn { display:none; }
}

.beez-payment-instructions {
	margin:18px 0; padding:18px 20px; border-radius:var(--beez-radius); text-align:left;
}
.beez-payment-instructions strong { display:block; font-size:15px; margin-bottom:6px; }
.beez-payment-instructions p { margin:6px 0; font-size:13.5px; }
.beez-payment-instructions-red {
	background:#c8102e; color:#fff; box-shadow:0 8px 20px rgba(200,16,46,.3);
}
.beez-payment-instructions-red .beez-bank-transfer-row span { color:rgba(255,255,255,.75); }
.beez-payment-instructions-red .beez-bank-transfer-row strong { color:#fff; }
.beez-payment-instructions-red .beez-hint { color:rgba(255,255,255,.85); }

/* ------------------------------------------------------------ step badges (optional use) */
.beez-steps { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin:24px 0; }
.beez-step { flex:1; min-width:150px; text-align:center; padding:18px 12px; border-radius:var(--beez-radius); background:var(--beez-cream); }
.beez-step-num {
	width:32px; height:32px; border-radius:50%; background:var(--beez-pink); color:#fff; font-weight:800;
	display:flex; align-items:center; justify-content:center; margin:0 auto 8px; font-size:13px;
}

/* --------------------------------------------------------- registration layout */
.beez-register-wrap { max-width: 1060px; padding-bottom: 60px; }
.beez-register-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }

.beez-register-side {
	background: var(--beez-cream); border-radius: var(--beez-radius); padding: 26px 22px; position: sticky; top: 86px;
}
.beez-register-side h3 {
	font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--beez-pink-dark);
	margin: 0 0 16px; font-weight: 800;
}
.beez-side-step { display: flex; gap: 12px; margin-bottom: 18px; }
.beez-side-step:last-child { margin-bottom: 0; }
.beez-side-num {
	flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--beez-pink); color: #fff;
	font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center;
}
.beez-side-step strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.beez-side-step p { margin: 0; font-size: 12.5px; color: var(--beez-muted); line-height: 1.5; }
.beez-side-divider { height: 1px; background: var(--beez-border); margin: 20px 0; }
.beez-side-perk { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13px; color: var(--beez-ink); }
.beez-side-perk:last-child { margin-bottom: 0; }
.beez-side-perk .beez-perk-icon { flex: none; }

.beez-form-card {
	background: #fff; border: 1px solid var(--beez-border); border-radius: var(--beez-radius);
	padding: 32px 30px; box-shadow: var(--beez-shadow);
}
.beez-form-card .beez-form h3:first-child { margin-top: 0; }
.beez-form-card .beez-form input { max-width: none; }
.beez-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.beez-form-card .beez-btn { width: 100%; justify-content: center; display: flex; align-items: center; margin-top: 18px; }

@media (max-width: 780px) {
	.beez-register-grid { grid-template-columns: 1fr; }
	.beez-register-side { position: static; }
	.beez-register-wrap { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
	.beez-form-row { grid-template-columns: 1fr; }
	.beez-form-card { padding: 24px 18px; }
	.beez-menu-page, .beez-dashboard, .beez-register-wrap, .beez-order-status { padding-left: 10px; padding-right: 10px; }
}

/* -------------------------------------------------------------- login page */
.beez-login-wrap { max-width: 460px; padding: 50px 20px 80px; margin: 0 auto; }
.beez-login-card {
	background: #fff; border: 1px solid var(--beez-border); border-radius: var(--beez-radius);
	padding: 34px 30px; box-shadow: var(--beez-shadow); text-align: center;
}
.beez-login-card h1 { font-size: 24px; margin: 0 0 6px; color: var(--beez-maroon); }
.beez-login-card .beez-hint { margin-bottom: 18px; }
.beez-login-form { text-align: left; }
.beez-login-form label { display: block; margin: 12px 0 6px; font-weight: 700; font-size: 13.5px; }
.beez-login-form input[type=text], .beez-login-form input[type=password] {
	width: 100%; padding: 11px 14px; border: 1.5px solid var(--beez-border); border-radius: var(--beez-radius-sm);
	font-family: inherit; font-size: 14px;
}
.beez-login-form input:focus { outline: none; border-color: var(--beez-pink); }
.beez-login-remember { display: flex !important; align-items: center; gap: 8px; font-weight: 600 !important; font-size: 13px; margin: 12px 0 !important; }
.beez-login-remember input { width: auto; }
.beez-login-form .beez-btn { width: 100%; margin-top: 8px; }
.beez-login-forgot { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--beez-muted); text-decoration: none; }
.beez-login-forgot:hover { color: var(--beez-pink-dark); }
.beez-login-register { font-size: 13px; color: var(--beez-muted); margin: 0; }
.beez-login-register a { color: var(--beez-pink-dark); font-weight: 700; text-decoration: none; }
.beez-nav-login-link { }

/* ============================================================= MENU LANG TOGGLE */
.beez-menu-lang-btn {
	position: absolute;
	top: 18px;
	right: 62px; /* left of the cart button (38px wide + 6px gap + some space) */
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.22);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.18s;
}
.beez-menu-lang-btn:hover,
.beez-menu-lang-btn:active {
	background: rgba(255,255,255,0.26);
}
.beez-menu-lang-btn.is-translating {
	opacity: 0.7;
	cursor: wait;
}
/* nudge restaurant name to not overlap the two buttons */
.beez-menu-header h2 { padding-right: 110px; }

/* UI chrome bilingual spans */
.beez-ui-en { display: none; }
.beez-ui-mn { display: inline; }

.beez-menu-page.beez-en .beez-ui-mn { display: none !important; }
.beez-menu-page.beez-en .beez-ui-en { display: inline !important; }

/* Subtle loading shimmer while translation fetches */
.beez-menu-page.beez-en.beez-translating .beez-product-name,
.beez-menu-page.beez-en.beez-translating .beez-product-desc,
.beez-menu-page.beez-en.beez-translating .beez-cat-title {
	opacity: 0.45;
	transition: opacity 0.2s;
}
