/* =======================================================================
   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: "Inter", -apple-system, "Helvetica Neue", "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-role-courier: #0A1C17;
}

.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:var(--beez-header-bg, #1d222c); color:var(--beez-header-fg, #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(127,127,127,.22); border:none; color:var(--beez-header-fg, #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;
}
.beez-menu-info-btn {
	flex:0 0 100%; order:5; margin-top:8px; align-self:flex-start;
	display:inline-flex; align-items:center; gap:5px; width:auto;
	padding:6px 12px; border-radius:999px; background:rgba(127,127,127,.20); border:1px solid rgba(127,127,127,.30);
	color:var(--beez-header-fg, #fff); font-family:inherit; font-size:12px; font-weight:700; cursor:pointer;
	position:relative; z-index:1; -webkit-tap-highlight-color:transparent; transition:background .18s;
}
.beez-menu-info-btn:hover, .beez-menu-info-btn:active { background:rgba(127,127,127,.32); }

.beez-info-sheet-body { padding-bottom:calc(20px + env(safe-area-inset-bottom, 0px)); }
.beez-info-sheet-brand { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.beez-info-sheet-brand img { width:44px; height:44px; border-radius:12px; object-fit:cover; flex:none; }
.beez-info-sheet-brand strong { font-size:16.5px; font-weight:800; color:var(--beez-ink); }
.beez-info-sheet-about { margin:0 0 16px; font-size:13.5px; line-height:1.7; color:var(--beez-muted); white-space:pre-line; }
.beez-info-sheet-contact { display:flex; flex-direction:column; gap:8px; }
.beez-info-sheet-row {
	display:flex; align-items:flex-start; gap:10px; padding:11px 13px; border:1.5px solid var(--beez-border);
	border-radius:var(--beez-radius-sm); font-size:13.5px; font-weight:600; color:var(--beez-ink);
	text-decoration:none; line-height:1.5;
}
a.beez-info-sheet-row:hover { border-color:var(--beez-pink); color:var(--beez-pink-dark); }
.beez-info-sheet-row-wifi { align-items:center; }
.beez-info-sheet-wifi-text { flex:1; min-width:0; }
.beez-info-sheet-wifi-pass { display:block; margin-top:2px; font-weight:400; color:var(--beez-muted); font-size:12.5px; }
.beez-info-sheet-wifi-pass code { font-family:inherit; font-weight:700; color:var(--beez-ink); background:var(--beez-cream); padding:1px 6px; border-radius:6px; }
.beez-info-sheet-wifi-copy {
	flex:none; border:1.5px solid var(--beez-border); background:#fff; color:var(--beez-pink-dark);
	font-family:inherit; font-size:12.5px; font-weight:700; padding:7px 12px; border-radius:999px; cursor:pointer; transition:.15s;
}
.beez-info-sheet-wifi-copy:hover { border-color:var(--beez-pink); }
.beez-info-sheet-wifi-copy.is-copied { background:var(--beez-pink); color:#fff; border-color:var(--beez-pink); }

/* 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-tag-size { color:#2461ad; background:#e3edfb; }
.beez-tag-color { color:#8a2c9c; background:#f3e3fa; }
.beez-grid-tags { margin-top:6px; }
.beez-item-sheet-tags { margin:2px 0 0; }
.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; }
/* Subtle "from" marker on cards whose price is derived from the cheapest
   size/color variant rather than a common price (e.g. "15,000₮+"). */
.beez-price-from-hint { font-weight:700; margin-left:1px; }

/* --------------------------------------------------------- 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-variant {
	display:inline-flex; align-self:flex-start; font-size:11px; font-weight:700; color:#2461ad;
	background:#e3edfb; border-radius:999px; padding:2px 9px;
}

.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; }
.beez-cart-checkout-btn:disabled { opacity:.55; cursor:not-allowed; }

/* ------------------------------------------------------------- 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-gallery { width:100%; height:100%; }
.beez-item-sheet-gallery .beez-item-sheet-gallery-img,
.beez-item-sheet-gallery #beez-item-sheet-img { width:100%; height:100%; object-fit:cover; display:block; }

/* The product photo is always shown as a full-width hero strip above the
   product info (bigger and easier to see) rather than a small side thumb;
   with multiple photos this strip also becomes a horizontal swipe gallery. */
.beez-item-sheet-top-has-gallery { flex-direction:column; }
.beez-item-sheet-thumb-gallery {
	width:100%; height:220px; border-radius:16px; background:var(--beez-cream);
}
.beez-item-sheet-thumb-gallery .beez-item-sheet-gallery {
	display:flex; overflow-x:auto; scroll-snap-type:x mandatory; height:100%;
	-webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.beez-item-sheet-thumb-gallery .beez-item-sheet-gallery::-webkit-scrollbar { display:none; }
.beez-item-sheet-thumb-gallery .beez-item-sheet-gallery-img {
	flex:none; width:100%; height:100%; scroll-snap-align:start;
	object-fit:contain; background:var(--beez-cream);
}
.beez-item-sheet-gallery-dots {
	display:none; justify-content:center; gap:6px; margin-top:8px;
}
.beez-item-sheet-gallery-dot {
	width:6px; height:6px; border-radius:50%; background:var(--beez-border); cursor:pointer; transition:background .15s, transform .15s;
}
.beez-item-sheet-gallery-dot.active { background:var(--beez-pink); transform:scale(1.25); }

.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-variant-row { margin-top:16px; }
.beez-item-sheet-variant-row label { display:block; font-size:12.5px; font-weight:700; color:var(--beez-muted); margin-bottom:8px; }
.beez-variant-options { display:flex; flex-wrap:wrap; gap:8px; }
.beez-variant-chip {
	font-family:inherit; font-size:13px; font-weight:700; color:var(--beez-ink); background:var(--beez-cream);
	border:1.5px solid var(--beez-border); border-radius:999px; padding:8px 16px; cursor:pointer;
	-webkit-tap-highlight-color:transparent; transition:border-color .15s, background .15s, color .15s;
}
.beez-variant-chip.is-selected { border-color:var(--beez-pink); background:var(--beez-pink); color:#fff; }
.beez-variant-chip.is-soldout { opacity:.5; cursor:not-allowed; text-decoration:line-through; }
.beez-variant-chip.is-soldout:hover { border-color:var(--beez-border); background:var(--beez-cream); }
.beez-item-sheet-variant-error { margin:10px 0 0; font-size:12.5px; font-weight:700; color:#c0392b; }

.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 { flex:1; min-width:0; margin:0; font-size:16.5px; font-weight:800; color:var(--beez-maroon); }
.beez-checkout-page-back,
.beez-checkout-page-info {
	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,
.beez-checkout-page-info: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; }
.beez-bank-transfer-value { display:inline-flex; align-items:center; gap:6px; }
.beez-copy-btn {
	display:inline-flex; align-items:center; justify-content:center;
	width:24px; height:24px; padding:0; border:none; border-radius:6px;
	background:transparent; cursor:pointer; font-size:14px; line-height:1;
	color:inherit; opacity:.75; transition:opacity .15s, background .15s, transform .15s;
}
.beez-copy-btn:hover { opacity:1; background:rgba(0,0,0,.06); }
.beez-copy-btn:active { transform:scale(.9); }
.beez-copy-btn.is-copied { opacity:1; }
.beez-payment-instructions-red .beez-copy-btn:hover { background:rgba(255,255,255,.15); }

/* ---------------------------------------------------- order type / delivery */
.beez-order-type-toggle { display:flex; gap:10px; margin:10px 0 16px; }
.beez-order-type-btn {
	flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 10px;
	border-radius:var(--beez-radius-sm); border:2px solid var(--beez-border); background:#fff; cursor:pointer;
	font-family:inherit; -webkit-tap-highlight-color:transparent; transition:border-color .15s, background-color .15s;
}
.beez-order-type-icon { font-size:22px; line-height:1; }
.beez-order-type-label { font-size:13px; font-weight:700; color:var(--beez-muted); }
.beez-order-type-btn.is-selected { border-color:var(--beez-pink); background:#FEF2F4; }
.beez-order-type-btn.is-selected .beez-order-type-label { color:var(--beez-ink); }

.beez-delivery-form { margin:0 0 18px; padding:14px 16px; background:var(--beez-cream); border-radius:var(--beez-radius-sm); }
.beez-form-group { margin-bottom:12px; }
.beez-form-group:last-child { margin-bottom:0; }
.beez-form-group label { display:block; font-size:12.5px; font-weight:700; color:var(--beez-muted); margin-bottom:6px; }
.beez-form-input {
	width:100%; 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; background:#fff;
}
.beez-form-textarea { resize:vertical; min-height:44px; }
.beez-form-input:focus { outline:none; border-color:var(--beez-pink); }
.beez-form-input.beez-input-error { border-color:#d33; }

.beez-delivery-summary {
	margin:14px 0; padding:14px 16px; background:var(--beez-cream); border-radius:var(--beez-radius-sm); text-align:left;
}
.beez-delivery-summary strong { display:block; margin-bottom:6px; color:var(--beez-maroon); font-size:13.5px; }
.beez-delivery-summary p { margin:2px 0; font-size:13.5px; color:var(--beez-ink); }

@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-delivery-status-label {
	display:inline-block; padding:8px 18px; border-radius:20px; font-weight:700; font-size:13px;
	margin:0 0 10px; transition:background .2s ease, color .2s ease;
}
.beez-delivery-status-pending { background:#FFF3D6; color:#9A6B00; }
.beez-delivery-status-delivered { background:#E1F6EA; color:#12794A; }
.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(127,127,127,0.20);
	border: 1px solid rgba(127,127,127,0.30);
	color: var(--beez-header-fg, #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(127,127,127,0.32);
}
.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;
}

/* ================================================================
   GRID CATALOG LAYOUT
   2-column app-style product grid (matches mobile food app design).
   Applied when the tenant sets menu_layout = 'grid'.
   ================================================================ */

/* Override the default flex-column stack with a 2-column grid */
.beez-products-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* The grid card itself: vertical stack, white card with rounded corners */
.beez-grid-card {
	flex-direction: column;
	align-items: stretch;
	padding: 0;
	gap: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0,0,0,.09);
	border: 1px solid var(--beez-border);
	cursor: pointer;
	transition: box-shadow .15s, transform .15s;
	position: relative;
}
.beez-grid-card:active { transform: scale(.98); }

/* Circular image centered at the top of the card */
.beez-grid-img-wrap {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--beez-cream);
	padding: 10px 10px 0;
}
.beez-grid-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}
.beez-grid-img-placeholder {
	font-size: 40px;
	opacity: .5;
	line-height: 1;
}

/* Text + price row inside the card */
.beez-grid-info {
	padding: 10px 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}
.beez-grid-name {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	word-break: break-word;
}
.beez-grid-spicy { font-size: 10px; }
.beez-grid-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	gap: 6px;
	flex-wrap: wrap;
}

/* Compact + button for grid cards */
.beez-grid-add-btn {
	width: 28px;
	height: 28px;
	border-radius: 9px;
	font-size: 16px;
	flex: none;
}

/* Grid ribbon overlay (top-left of card) */
.beez-grid-ribbons {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Tighter price text for grid */
.beez-grid-info .beez-product-price {
	font-size: 14px;
}
.beez-grid-info .beez-product-price-old {
	font-size: 11px;
}

/* Responsive: single column on very small screens */
@media (max-width: 340px) {
	.beez-products-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   DASHBOARD — Layout Picker (Settings tab)
   ================================================================ */

.beez-layout-picker-wrap {
	margin: 0 0 20px;
}
.beez-layout-picker {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.beez-layout-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 12px 16px;
	border: 2px solid var(--beez-border);
	border-radius: var(--beez-radius-sm);
	background: var(--beez-cream);
	transition: border-color .15s, background .15s;
	min-width: 100px;
}
.beez-layout-option input[type="radio"] { display: none; }
.beez-layout-option:hover,
.beez-layout-option.is-active {
	border-color: var(--beez-pink);
	background: #fff0f3;
}

/* List layout preview — 3 stacked rows */
.beez-layout-preview {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 64px;
}
.beez-layout-preview-list span {
	display: block;
	height: 14px;
	border-radius: 6px;
	background: #ddd;
}
.beez-layout-preview-list span:nth-child(1) { background: #c0c0c0; }
.beez-layout-preview-list span:nth-child(2) { background: #d5d5d5; }
.beez-layout-preview-list span:nth-child(3) { background: #e5e5e5; }

/* Grid layout preview — 2×2 grid of squares */
.beez-layout-preview-grid {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 5px;
	width: 64px;
}
.beez-layout-preview-grid span {
	width: calc(50% - 3px);
	aspect-ratio: 1;
	border-radius: 8px;
	background: #ddd;
}
.beez-layout-preview-grid span:nth-child(odd) { background: #c0c0c0; }
.beez-layout-preview-grid span:nth-child(even) { background: #d5d5d5; }

.beez-layout-option-label {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--beez-ink);
}

/* -------------------------------------------------- Special Offers banner */
.beez-special-offers {
	padding: 0 0 4px;
}
.beez-special-offers-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px 8px;
}
.beez-special-offers-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--beez-text, #111);
}
.beez-so-banner {
	margin: 0 12px;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	background-color: #e0e0e0;
	height: 140px;
	position: relative;
	overflow: hidden;
}
.beez-so-banner .beez-so-banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 100%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 14px 18px;
	gap: 5px;
}
.beez-so-banner .beez-so-banner-badge {
	display: inline-block;
	background: var(--beez-accent, #E8184B);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 8px;
}
.beez-so-banner .beez-so-banner-title {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-shadow: 0 1px 6px rgba(0,0,0,.5);
	line-height: 1.2;
}

/* ---------------------------------------------------- Buy X Get Y banner */
.beez-bxgy-banner {
	margin: 12px 12px 0;
	border-radius: 16px;
	background: linear-gradient(135deg, #b224ef 0%, #7b2ff7 100%);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.beez-bxgy-banner-icon {
	font-size: 28px;
	line-height: 1;
	flex-shrink: 0;
}
.beez-bxgy-banner-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.beez-bxgy-banner-badge {
	display: inline-block;
	align-self: flex-start;
	background: rgba(255,255,255,.22);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 6px;
}
.beez-bxgy-banner-title {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

/* ------------------------------------------------ Store closed banner (Тохиргоо -> Ажлын цаг) */
.beez-store-closed-banner {
	margin: 12px 12px 0;
	border-radius: 16px;
	background: #fdecec;
	border: 1.5px solid #f5b5b5;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.beez-store-closed-icon {
	font-size: 24px;
	line-height: 1;
	flex-shrink: 0;
}
.beez-store-closed-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.beez-store-closed-text strong {
	color: #b3261e;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}
.beez-store-closed-hours {
	color: #8a3a35;
	font-size: 12.5px;
	font-weight: 600;
}

/* Discount amount shown in the cart/checkout bill breakdown and receipt */
.beez-bill-discount-value {
	color: var(--beez-teal, #22C55E);
}
