:root {
	--wc-menu-primary: #0f6e66;
	--wc-menu-primary-dark: #0b544e;
	--wc-menu-primary-tint: #e2f1ef;
	--wc-menu-bg: #eef2f1;
	--wc-menu-surface: #ffffff;
	--wc-menu-border: #dde3e1;
	--wc-menu-text: #16181d;
	--wc-menu-muted: #666f6d;
	--wc-menu-alert: #c6362a;
	--wc-menu-alert-tint: #fbe6e4;
	--wc-menu-radius: 10px;
	--wc-menu-topbar-h: 64px;
	--wc-menu-catbar-h: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.wc-menu-app {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--wc-menu-text);
	display: flex;
	flex-direction: column;
	height: 100vh;
	background: var(--wc-menu-bg);
}

/* ---------------- Topbar ---------------- */

.wc-menu-topbar {
	height: var(--wc-menu-topbar-h);
	flex: 0 0 auto;
	display: flex;
	align-items: stretch;
	gap: 3px;
	flex-direction: row;
	align-content: space-around;
	justify-content: space-between;
	padding: 0 16px;
	background: var(--wc-menu-primary);
	color: #fff;
}
.wc-menu-topbar__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
/* Logo: original 34px + 7% of the header's width capped at 54px.
   With a logo the header grows to fit it (the same variable moves the sticky bars below). */
:root { --wc-menu-logo-h: min(calc(34px + 7vw), 54px); }
:root:has(.wc-menu-logo) { --wc-menu-topbar-h: max(64px, calc(var(--wc-menu-logo-h) + 12px)); }
.wc-menu-topbar__brand:has(.wc-menu-logo) { flex: none; }
.wc-menu-topbar img.wc-menu-logo { flex: none; height: var(--wc-menu-logo-h); /* beats WooCommerce ".woocommerce-page img { height:auto }" on product pages */ width: auto; max-width: 40vw; object-fit: contain; border-radius: 6px; }
.wc-menu-store-name { font-size: 17px; letter-spacing: .01em; }
.wc-menu-table-badge {
	font-size: 12px;
	font-weight: 700;
	background: rgba(255,255,255,.18);
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 999px;
	padding: 5px 12px;
}

.wc-menu-account-btn {
	flex: 0 0 auto;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.3);
	color: #fff;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 16px;
	cursor: pointer;
	align-self: center;
}

/* ---------------- My Account panel (mobile-menu style slide-out) ---------------- */

.wc-menu-account-overlay {
	position: fixed;
	inset: 0;
	background: rgba(22,24,29,.5);
	z-index: 1250;
	display: flex;
	justify-content: flex-end;
}
.wc-menu-account-panel {
	background: var(--wc-menu-surface);
	width: 100%;
	max-width: 340px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: -6px 0 20px rgba(0,0,0,.15);
}
.wc-menu-account-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid var(--wc-menu-border);
	background: var(--wc-menu-primary);
	color: #fff;
}
.wc-menu-account-panel__header h2 { margin: 0; font-size: 17px; }
.wc-menu-account-panel__close {
	background: rgba(255,255,255,.15);
	border: none;
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 13px;
	cursor: pointer;
}
.wc-menu-account-panel__body { flex: 1; overflow-y: auto; padding: 18px; }
.wc-menu-account-panel__body h3 { font-size: 14px; margin: 18px 0 10px; }
.wc-menu-account-panel__body p { margin: 0 0 12px; }
.wc-menu-account-panel__body label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.wc-menu-account-greeting { font-size: 14px; font-weight: 700; }

.wc-menu-qr-login-section { margin-top: 6px; }
.wc-menu-qr-login-divider { text-align: center; color: var(--wc-menu-muted); font-size: 12px; margin: 4px 0 10px; position: relative; }
.wc-menu-qr-login-divider::before, .wc-menu-qr-login-divider::after { content: ''; display: inline-block; width: 35%; height: 1px; background: var(--wc-menu-border); vertical-align: middle; margin: 0 8px; }
.wc-menu-qr-login-section .wc-menu-btn { width: 100%; margin-bottom: 8px; display: block; text-align: center; box-sizing: border-box; }
.wc-menu-qr-upload-label { cursor: pointer; }
#wc-menu-qr-video { width: 100%; border-radius: 8px; background: #000; margin-bottom: 8px; }

.wc-menu-account-order-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	border: 1px solid var(--wc-menu-border);
	border-radius: 8px;
	margin-bottom: 8px;
	cursor: pointer;
	font-size: 13px;
}
.wc-menu-account-order-row:hover { background: var(--wc-menu-bg); }
.wc-menu-account-order-row__meta { font-size: 11px; color: var(--wc-menu-muted); }

.wc-menu-account-order-items { width: 100%; border-collapse: collapse; margin: 12px 0; }
.wc-menu-account-order-items td { padding: 6px 0; border-bottom: 1px solid var(--wc-menu-border); font-size: 13px; }
.wc-menu-account-order-items__amount { text-align: right; }

/* Delivery tracking (WooCommerce Local Delivery Manager) */
.wc-menu-account-delivery { margin: 12px 0 16px; padding: 12px; border: 1px solid var(--wc-menu-border); border-radius: 12px; background: var(--wc-menu-primary-tint); display: grid; gap: 8px; }
.wc-menu-account-delivery__driver { margin: 0; font-size: 14px; font-weight: 600; }
.wc-menu-account-delivery .wc-menu-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none; }
.wc-menu-account-delivery .wc-menu-tg-btn { background: #229ed9; border-color: #229ed9; color: #fff; }
.wc-menu-account-delivery .wc-menu-tg-on { margin: 0; color: #1a7f37; font-weight: 600; font-size: 13px; }
.wc-menu-account-order-qr { text-align: center; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--wc-menu-border); }
.wc-menu-account-order-qr p { font-size: 12px; color: var(--wc-menu-muted); margin: 0 0 8px; }
.wc-menu-account-order-qr img { border: 1px solid var(--wc-menu-border); border-radius: 8px; padding: 8px; }

@media (max-width: 480px) {
	.wc-menu-account-panel { max-width: 100%; }
}

/* ---------------- Category bar ---------------- */

.wc-menu-category-bar {
	flex: 0 0 auto;
	height: var(--wc-menu-catbar-h);
	background: var(--wc-menu-surface);
	border-bottom: 1px solid var(--wc-menu-border);
	position: sticky;
	top: 0;
	z-index: 5;
}
.wc-menu-category-bar__scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	height: 100%;
	align-items: center;
	padding: 0 12px;
	scrollbar-width: thin;
}
.wc-menu-category-chip {
	flex: 0 0 auto;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--wc-menu-bg);
	border: 1px solid var(--wc-menu-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--wc-menu-text);
	cursor: pointer;
}
.wc-menu-category-chip.is-active { background: var(--wc-menu-primary); border-color: var(--wc-menu-primary); color: #fff; }

/* ---------------- Main layout ---------------- */

.wc-menu-main {
	flex: 1 1 auto;
	display: flex;
	min-height: 0;
}

.wc-menu-products {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 14px;
	min-width: 0;
}

.wc-menu-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
@media (min-width: 640px) { .wc-menu-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .wc-menu-product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .wc-menu-product-grid { grid-template-columns: repeat(5, 1fr); } }

.wc-menu-product-card {
	background: var(--wc-menu-surface);
	border: 1px solid var(--wc-menu-border);
	border-radius: var(--wc-menu-radius);
	overflow: hidden;
	transition: box-shadow .1s ease;
	cursor: pointer;
}
.wc-menu-product-card.is-disabled { opacity: .55; cursor: not-allowed; }

.wc-menu-product-card__image { aspect-ratio: 1 / 1; background: #f7f7f8; overflow: hidden; position: relative; }
.wc-menu-product-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wc-menu-qty-control {
	position: absolute;
	right: 6px;
	bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--wc-menu-surface);
	border-radius: 999px;
	padding: 4px 6px;
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
	z-index: 1;
}
.wc-menu-qty-control__btn {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: none;
	background: var(--wc-menu-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.wc-menu-qty-control__btn:active { background: var(--wc-menu-primary-dark); }
.wc-menu-qty-control__count {
	min-width: 18px;
	text-align: center;
	font-size: 14px;
	font-weight: 800;
	color: var(--wc-menu-text);
}

.wc-menu-badge {
	position: absolute;
	top: 6px;
	left: 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	z-index: 1;
}
.wc-menu-badge--out { background: var(--wc-menu-alert-tint); color: var(--wc-menu-alert); }

.wc-menu-product-card__body {
	padding: 8px 10px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	gap: 2px;
	align-content: space-between;
	justify-content: space-between;
	flex-wrap: nowrap;
}
.wc-menu-product-card__name {
	color: rgb(255, 105, 0);
	font-size: 15px;
	font-weight: bold;
	line-height: 2.0;
}
.wc-menu-product-card__price { font-size: 13px; font-weight: 700; color: var(--wc-menu-primary); }

.wc-menu-pagination { display: flex; justify-content: center; gap: 6px; padding: 16px 0 8px; }
.wc-menu-page-btn {
	min-width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid var(--wc-menu-border);
	background: var(--wc-menu-surface);
	cursor: pointer;
	font-weight: 600;
}
.wc-menu-page-btn.is-active { background: var(--wc-menu-primary); border-color: var(--wc-menu-primary); color: #fff; }

/* ---------------- Cart panel ---------------- */

.wc-menu-cart {
	flex: 0 0 380px;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	background: var(--wc-menu-surface);
	border-left: 1px solid var(--wc-menu-border);
	position: relative;
}

.wc-menu-cart__header { padding: 16px 18px 12px; border-bottom: 2px solid var(--wc-menu-primary); }
.wc-menu-cart__header h2 { margin: 0; font-size: 18px; }

.wc-menu-cart__items { flex: 1 1 auto; overflow-y: auto; padding: 10px 18px; }
.wc-menu-cart-empty { color: var(--wc-menu-muted); font-size: 14px; text-align: center; margin-top: 40px; }

.wc-menu-cart-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--wc-menu-border); }
.wc-menu-cart-line__image { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; background: var(--wc-menu-bg); }
.wc-menu-cart-line__body { flex: 1 1 auto; min-width: 0; }
.wc-menu-cart-line__name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.wc-menu-cart-line__qty { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.wc-menu-qty-btn {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	border: 1px solid var(--wc-menu-border);
	background: var(--wc-menu-bg);
	cursor: pointer;
	font-weight: 700;
	color: var(--wc-menu-primary);
}

.wc-menu-cart__totals { padding: 12px 18px; border-top: 1px solid var(--wc-menu-border); }
.wc-menu-totals-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--wc-menu-muted); }
.wc-menu-totals-row--total { font-size: 19px; font-weight: 800; color: var(--wc-menu-text); border-top: 1px solid var(--wc-menu-border); margin-top: 6px; padding-top: 10px; }

.wc-menu-cart__actions { padding: 12px 18px 18px; }

.wc-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px 18px;
	border-radius: 999px;
	border: 1px solid var(--wc-menu-border);
	background: var(--wc-menu-bg);
	color: var(--wc-menu-text);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}
.wc-menu-btn--primary { background: var(--wc-menu-primary); border-color: var(--wc-menu-primary); color: #fff; }
.wc-menu-btn--primary:active { background: var(--wc-menu-primary-dark); }
.wc-menu-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------------- Checkout form ---------------- */

.wc-menu-checkout-form { padding: 16px 18px; overflow-y: auto; }
.wc-menu-checkout-form h2 { margin: 0 0 14px; font-size: 18px; }
.wc-menu-checkout-form p { margin: 0 0 12px; }
.wc-menu-checkout-form label { display: block; font-size: 13px; font-weight: 600; color: var(--wc-menu-text); }
.wc-menu-input {
	width: 100%;
	margin-top: 4px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid var(--wc-menu-border);
	font-size: 14px;
	font-family: inherit;
}
.wc-menu-checkout-total { font-size: 16px; }
.wc-menu-checkout-error { color: var(--wc-menu-alert); font-size: 13px; min-height: 1.2em; }

.wc-menu-delivery-section { margin-bottom: 4px; }
.wc-menu-delivery-note {
	background: var(--wc-menu-primary-tint);
	color: var(--wc-menu-primary-dark);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 600;
	margin: 0 0 12px;
}
.wc-menu-delivery-section .wc-menu-btn { width: auto; margin: 4px 0 6px; padding: 8px 16px; font-size: 13px; }

.wc-menu-payment-method { margin: 0 0 14px; }
.wc-menu-payment-method > label:first-child { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.wc-menu-payment-method__option {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 400 !important;
	padding: 10px 12px;
	border: 1px solid var(--wc-menu-border);
	border-radius: 8px;
	margin-bottom: 8px;
	cursor: pointer;
}
.wc-menu-payment-method__option input { width: auto; margin: 0; }
.wc-menu-payment-method__option:has(input:checked) { border-color: var(--wc-menu-primary); background: var(--wc-menu-primary-tint); }
.wc-menu-location-status { font-size: 12px; color: var(--wc-menu-muted); margin: 0 0 10px; min-height: 1.2em; }
.wc-menu-location-status--error { color: var(--wc-menu-alert); font-weight: 600; }
.wc-menu-location-map-wrap { margin: 0 0 10px; border-radius: 8px; overflow: hidden; border: 1px solid var(--wc-menu-border); }
.wc-menu-location-map { display: block; width: 100%; height: 15vh; border: 0; }
.wc-menu-checkout-form__actions { display: flex; gap: 8px; }
.wc-menu-checkout-form__actions .wc-menu-btn { width: auto; flex: 1; }

.wc-menu-checkout-points {
	background: var(--wc-menu-bg);
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 14px;
	font-size: 13px;
}
.wc-menu-link-btn {
	background: none;
	border: none;
	color: var(--wc-menu-primary);
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}
.wc-menu-login-box { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.wc-menu-points-balance { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.wc-menu-points-redeem { margin-top: 10px; }
.wc-menu-points-redeem label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 4px; }
.wc-menu-points-redeem__row { display: flex; gap: 6px; }
.wc-menu-points-redeem__row .wc-menu-input { flex: 1; }
.wc-menu-btn-max {
	flex: 0 0 auto;
	border: 1px solid var(--wc-menu-primary);
	background: var(--wc-menu-surface);
	color: var(--wc-menu-primary);
	border-radius: 8px;
	padding: 0 14px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.wc-menu-points-none { font-size: 12px; color: var(--wc-menu-muted); margin: 8px 0 0; }

/* ---------------- Order complete ---------------- */

.wc-menu-order-complete { padding: 40px 24px; text-align: center; }
.wc-menu-order-complete__points {
	background: #fff3e0;
	border: 1px solid #ff8c00;
	border-radius: 25px;
	padding: 12px 18px;
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 700;
	color: #b35c00;
}
.wc-menu-order-complete__points div + div { margin-top: 4px; }
#wc-menu-order-extra-btn { margin-top: 10px; }
.wc-menu-order-complete__icon {
	width: 72px;
	height: 72px;
	line-height: 72px;
	border-radius: 50%;
	background: var(--wc-menu-primary);
	color: #fff;
	font-size: 34px;
	margin: 0 auto 16px;
}
.wc-menu-order-complete h2 { margin: 0 0 8px; }
.wc-menu-order-complete p { color: var(--wc-menu-muted); margin: 0 0 6px; }
.wc-menu-order-complete .wc-menu-btn { margin-top: 20px; }

/* ---------------- Mobile / tablet responsive (matches WooCommerce POS Pro's own pattern) ---------------- */

.wc-menu-mobile-cart-toggle { display: none; }
.wc-menu-cart__mobile-close { display: none; }

.wc-menu-mobile-cart-toggle {
	position: fixed;
	bottom: 18px;
	left: 16px;
	right: 16px;
	z-index: 900;
	align-items: center;
	justify-content: space-between;
	background: var(--wc-menu-primary);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 10px 10px 22px;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(0,0,0,.28);
	cursor: pointer;
}

.wc-menu-mobile-cart-toggle__count {
	white-space: nowrap;
}

.wc-menu-mobile-cart-toggle__total {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.wc-menu-mobile-cart-toggle__paynow {
	background: var(--wc-menu-surface);
	color: var(--wc-menu-primary);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .03em;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.wc-menu-cart {
		display: none;
		max-width: none;
		border-left: none;
		border-top: 1px solid var(--wc-menu-border);
	}
	.wc-menu-cart.wc-menu-cart--mobile-active {
		display: flex;
		position: fixed;
		inset: 0;
		z-index: 1000;
		flex-basis: auto;
	}
	.wc-menu-products { flex: 1 1 auto; }

	.wc-menu-cart__mobile-close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 10px;
		right: 10px;
		width: 36px;
		height: 36px;
		border-radius: 50%;
		border: none;
		background: var(--wc-menu-bg);
		color: var(--wc-menu-text);
		font-size: 16px;
		cursor: pointer;
		z-index: 1;
	}

	.wc-menu-mobile-cart-toggle.is-visible { display: flex; }
}

@media (max-width: 480px) {
	.wc-menu-product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- Variation picker modal ---------------- */

.wc-menu-modal-root:empty { display: none; }
.wc-menu-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(22,24,29,.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1300;
	padding: 16px;
}
.wc-menu-modal {
	background: var(--wc-menu-surface);
	border-radius: var(--wc-menu-radius);
	padding: 24px;
	width: 100%;
	max-width: 400px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
}
.wc-menu-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: var(--wc-menu-bg);
	color: var(--wc-menu-text);
	font-size: 14px;
	cursor: pointer;
}
.wc-menu-modal__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.wc-menu-modal h2 { margin: 0 0 16px; font-size: 18px; }
.wc-menu-modal label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.wc-menu-modal p { margin: 0 0 14px; }
.wc-menu-modal .wc-menu-btn { margin-top: 6px; }

/* ---------------- Variation picker (switch-style option buttons + sticky Add bar) ---------------- */

/* The variation picker is a full-screen widget, not a small centered
   card -- edge-to-edge on every device so there's room for a proper
   full-bleed product photo plus every attribute without cramming. */
.wc-menu-modal-overlay--variation { padding: 0; }
.wc-menu-modal--variation {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	border-radius: 0;
	overflow: hidden;
	padding-bottom: 0;
}
.wc-menu-variation-modal__scroll { overflow-y: auto; flex: 1 1 auto; }

/* Full-bleed product image -- cancels the modal's own side/top padding
   (the negative margin trick already used for the sticky bar below) so
   the photo runs edge-to-edge and reads as a complete, uncropped hero
   image rather than a small inset thumbnail. */
.wc-menu-modal--variation .wc-menu-modal__image {
	width: calc(100% + 48px);
	max-width: none;
	aspect-ratio: 4 / 3;
	margin: -24px -24px 18px;
	border-radius: 0;
}
.wc-menu-modal--variation .wc-menu-modal__close {
	background: rgba(0, 0, 0, .45);
	color: #fff;
}
.wc-menu-quickview-description {
	font-size: 14px;
	line-height: 1.6;
	color: var(--wc-menu-muted);
	margin: 0 0 14px;
}
.wc-menu-quickview-description p { margin: 0 0 10px; }

.wc-menu-variation-switch-group { margin-bottom: 14px; }
.wc-menu-variation-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.wc-menu-variation-switch__option {
	flex: 0 0 auto;
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--wc-menu-bg);
	border: 1px solid var(--wc-menu-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--wc-menu-text);
	cursor: pointer;
}
.wc-menu-variation-switch__option.is-active { background: var(--wc-menu-primary); border-color: var(--wc-menu-primary); color: #fff; }

.wc-menu-variation-modal__sticky-bar {
	flex: 0 0 auto;
	background: var(--wc-menu-surface);
	border-top: 1px solid var(--wc-menu-border);
	margin: 14px -24px 0;
	padding: 12px 24px 24px;
}
.wc-menu-variation-modal__sticky-bar .wc-menu-checkout-total { margin: 0 0 10px; }
.wc-menu-variation-sticky-row { display: flex; align-items: center; gap: 12px; }
.wc-menu-variation-qty {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--wc-menu-border);
	border-radius: 999px;
	padding: 4px 6px;
}
.wc-menu-variation-qty__btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	background: var(--wc-menu-primary);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.wc-menu-variation-qty__btn:active { background: var(--wc-menu-primary-dark); }
.wc-menu-variation-qty__btn:disabled { opacity: .35; cursor: default; }
.wc-menu-variation-qty__count { min-width: 20px; text-align: center; font-size: 15px; font-weight: 800; }
.wc-menu-variation-sticky-row__add { flex: 1; margin-top: 0; }

/* ---------------- Current location (header centre) ---------------- */

.wc-menu-topbar__brand { min-width: 0; flex: 0 1 auto; }
.wc-menu-store-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-menu-location-pill {
	flex: 0 1 420px;
	min-width: 0;
	align-self: center;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px 5px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.35);
	background: rgba(255,255,255,.15);
	color: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.wc-menu-location-pill:hover { background: rgba(255,255,255,.24); }
.wc-menu-location-pill:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.wc-menu-location-pill__icon { flex: none; font-size: 16px; }
.wc-menu-location-pill__body { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.wc-menu-location-pill__text { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-menu-location-pill__sub { font-size: 11px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-menu-location-pill__sub:empty { display: none; }
.wc-menu-location-pill.is-detecting .wc-menu-location-pill__icon,
.wc-menu-location-pill.is-idle .wc-menu-location-pill__icon { animation: wc-menu-loc-pulse 1s ease-in-out infinite; }
.wc-menu-location-pill.is-outside,
.wc-menu-location-pill.is-denied,
.wc-menu-location-pill.is-error,
.wc-menu-location-pill.is-unsupported { background: var(--wc-menu-alert); border-color: rgba(255,255,255,.6); }
@keyframes wc-menu-loc-pulse { 50% { opacity: .35; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .wc-menu-location-pill__icon { animation: none !important; } }

.wc-menu-location-banner {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: var(--wc-menu-alert-tint);
	color: var(--wc-menu-alert);
	font-size: 14px;
	font-weight: 600;
	border-bottom: 1px solid rgba(198,54,42,.25);
}
.wc-menu-location-banner[hidden] { display: none; }
.wc-menu-location-banner__text { flex: 1; min-width: 0; }
.wc-menu-location-banner__retry { flex: none; border: 1px solid var(--wc-menu-alert); background: #fff; color: var(--wc-menu-alert); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.wc-menu-location-banner.is-shake { animation: wc-menu-loc-shake .4s; }
@keyframes wc-menu-loc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.is-location-blocked { opacity: .55; }

@media (max-width: 600px) {
	.wc-menu-topbar { padding: 0 10px; gap: 8px; }
	.wc-menu-topbar__brand:has(.wc-menu-logo) .wc-menu-store-name { display: none; }
	.wc-menu-store-name { max-width: 30vw; font-size: 15px; }
	.wc-menu-location-pill { padding: 4px 10px 4px 8px; }
}

a.wc-menu-topbar__brand { color: inherit; text-decoration: none; }

/* ---------------- One-page product checkout ---------------- */

body.wc-menu-product-body { background: var(--wc-menu-bg); }
.wc-menu-app--product { height: auto; min-height: 100vh; display: block; }
.wc-menu-app--product .wc-menu-topbar { position: sticky; top: 0; z-index: 1100; }
.wc-menu-app--product .wc-menu-location-banner { position: sticky; top: var(--wc-menu-topbar-h); z-index: 1090; }

.wc-menu-pp { padding: 0 0 calc(150px + env(safe-area-inset-bottom)); }
.wc-menu-pp__layout { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
	.wc-menu-pp__layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; padding: 24px 24px 0; }
	.wc-menu-pp__media { position: sticky; top: calc(var(--wc-menu-topbar-h) + 24px); align-self: start; }
	.wc-menu-pp__slides { border-radius: 16px; }
}

.wc-menu-pp__slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--wc-menu-surface); aspect-ratio: 1 / 1; }
.wc-menu-pp__slides::-webkit-scrollbar { display: none; }
.wc-menu-pp__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.wc-menu-pp__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wc-menu-pp__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; }
.wc-menu-pp__thumb { flex: 0 0 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--wc-menu-surface); cursor: pointer; }
.wc-menu-pp__thumb.is-active { border-color: var(--wc-menu-primary); }
.wc-menu-pp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wc-menu-pp__info { padding: 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.wc-menu-pp__title { margin: 0; font-size: 24px; line-height: 1.25; }
.wc-menu-pp__price { font-size: 22px; font-weight: 800; color: var(--wc-menu-primary); }
.wc-menu-pp__price del { color: var(--wc-menu-muted); font-weight: 400; font-size: 16px; margin-right: 6px; }
.wc-menu-pp__price ins { text-decoration: none; }
.wc-menu-pp__stock.is-out { margin: 0; color: var(--wc-menu-alert); font-weight: 700; }
.wc-menu-pp__short, .wc-menu-pp__desc-body { color: var(--wc-menu-text); line-height: 1.6; font-size: 15px; overflow-wrap: anywhere; }
.wc-menu-pp__short > :first-child, .wc-menu-pp__desc-body > :first-child { margin-top: 0; }
.wc-menu-pp__short > :last-child, .wc-menu-pp__desc-body > :last-child { margin-bottom: 0; }
.wc-menu-pp__desc-body img { max-width: 100%; height: auto; border-radius: 8px; }
.wc-menu-pp__card { background: var(--wc-menu-surface); border: 1px solid var(--wc-menu-border); border-radius: 14px; padding: 16px; }
.wc-menu-pp__card h2 { margin: 0 0 12px; font-size: 17px; }
.wc-menu-pp__desc summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.wc-menu-pp__desc[open] summary { margin-bottom: 10px; }
.wc-menu-pp__loading { margin: 0; color: var(--wc-menu-muted); }
.wc-menu-pp__variations .wc-menu-variation-switch-group + .wc-menu-variation-switch-group { margin-top: 12px; }
.wc-menu-pp__variations .wc-menu-checkout-error:empty { display: none; }
.wc-menu-pp__checkout label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.wc-menu-pp__checkout p { margin: 0 0 12px; }
.wc-menu-pp__checkout .wc-menu-input { width: 100%; font-size: 16px; }
.wc-menu-pp__checkout .wc-menu-payment-method__option { font-weight: 400; }
.wc-menu-pp__checkout .wc-menu-checkout-points:empty { display: none; }

/* Sticky bar: total above, quantity + Checkout below. */
.wc-menu-pp-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
	background: var(--wc-menu-surface);
	border-top: 1px solid var(--wc-menu-border);
	box-shadow: 0 -8px 24px rgba(22,24,29,.12);
	padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
}
.wc-menu-pp-bar[hidden] { display: none; }
.wc-menu-pp-bar > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.wc-menu-pp-bar__error { margin: 0 auto 6px; font-size: 13px; }
.wc-menu-pp-bar__error:empty { display: none; }
.wc-menu-pp-bar__total { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.wc-menu-pp-bar__label { color: var(--wc-menu-muted); font-size: 14px; }
.wc-menu-pp-bar__discount { font-size: 12px; color: var(--wc-menu-primary); font-weight: 600; }
.wc-menu-pp-bar__amount { margin-left: auto; font-size: 22px; font-weight: 800; }
.wc-menu-pp-bar__row { display: flex; gap: 10px; align-items: stretch; }
.wc-menu-pp-qty { flex: none; display: flex; align-items: center; border: 1px solid var(--wc-menu-border); border-radius: 12px; overflow: hidden; background: var(--wc-menu-bg); }
.wc-menu-pp-qty__btn { width: 44px; min-height: 50px; border: 0; background: transparent; font-size: 22px; font-weight: 700; color: var(--wc-menu-primary); cursor: pointer; }
.wc-menu-pp-qty__btn:disabled { color: var(--wc-menu-muted); opacity: .45; cursor: default; }
.wc-menu-pp-qty__input { width: 44px; border: 0; background: transparent; text-align: center; font-size: 18px; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.wc-menu-pp-qty__input::-webkit-outer-spin-button, .wc-menu-pp-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wc-menu-pp-qty.is-single { opacity: .6; pointer-events: none; }
.wc-menu-pp-bar__checkout { flex: 1; min-height: 50px; font-size: 17px; font-weight: 800; border-radius: 12px; }
.wc-menu-pp-bar__checkout:disabled { opacity: .6; }
.wc-menu-pp-bar__checkout.is-location-blocked { background: var(--wc-menu-muted); border-color: var(--wc-menu-muted); }

.wc-menu-pp-done { position: fixed; inset: 0; z-index: 1300; background: rgba(22,24,29,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.wc-menu-pp-done[hidden] { display: none; }
.wc-menu-pp-done .wc-menu-order-complete { background: var(--wc-menu-surface); border-radius: 18px; padding: 24px; max-width: 420px; width: 100%; text-align: center; display: grid; gap: 10px; }
.wc-menu-pp-done .wc-menu-order-complete .wc-menu-btn { text-decoration: none; text-align: center; }
.wc-menu-pp__slides { max-height: 62vh; }
.wc-menu-pp__card, .wc-menu-pp__checkout .wc-menu-input { scroll-margin-top: calc(var(--wc-menu-topbar-h) + 60px); scroll-margin-bottom: 190px; }

/* Sticky bar hardening: themes often force inputs/buttons to 100% width or big
   min-widths -- keep quantity compact and Checkout always visible. */
.wc-menu-app--product .wc-menu-pp-bar__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
.wc-menu-app--product .wc-menu-pp-qty { display: flex; flex-wrap: nowrap; width: auto; max-width: 150px; min-width: 0; }
.wc-menu-app--product .wc-menu-pp-qty .wc-menu-pp-qty__btn { flex: 0 0 42px; width: 42px; min-width: 0; max-width: 42px; padding: 0; margin: 0; box-shadow: none; line-height: 1; }
.wc-menu-app--product .wc-menu-pp-qty input.wc-menu-pp-qty__input { flex: 0 0 44px; width: 44px; min-width: 0; max-width: 56px; height: auto; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; display: block; text-align: center; font-size: 18px; }
.wc-menu-app--product .wc-menu-pp-bar .wc-menu-pp-bar__checkout { width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; justify-content: center; }
.wc-menu-app .wc-menu-topbar .wc-menu-account-btn { width: 36px; min-width: 0; max-width: 36px; height: 36px; padding: 0; margin: 0; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.wc-menu-app .wc-menu-topbar .wc-menu-location-pill { min-width: 0; width: auto; margin: 0 auto; }
.wc-menu-done-extra { display: grid; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--wc-menu-border); }
.wc-menu-done-extra__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--wc-menu-muted); }
.wc-menu-order-complete .wc-menu-done-extra .wc-menu-done-extra__btn { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; margin-top: 0; }
.wc-menu-done-extra__icon { font-size: 20px; line-height: 1; }
.wc-menu-done-extra__icon-img { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; flex: none; }
.wc-menu-pp-done .wc-menu-done-extra { margin-top: 6px; }
.wc-menu-pp-done .wc-menu-order-complete .wc-menu-btn { margin-top: 0; }

/* 🔥 Flash Sale */
.wc-menu-pp-flash { border-radius: 14px; padding: 12px 14px; color: #fff; background: linear-gradient(120deg, #e11d48, #f97316); box-shadow: 0 6px 18px rgba(225, 29, 72, .25); display: grid; gap: 6px; }
.wc-menu-pp-flash[hidden] { display: none; }
.wc-menu-pp-flash__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wc-menu-pp-flash__title { font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.wc-menu-pp-flash__pct { background: #fff; color: #e11d48; border-radius: 999px; padding: 2px 10px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.wc-menu-pp-flash__pct:empty { display: none; }
.wc-menu-pp-flash__timer { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wc-menu-pp-flash__timer[hidden] { display: none; }
.wc-menu-pp-flash__label { font-size: 13px; opacity: .95; }
.wc-menu-pp-flash__clock { font: 800 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wc-menu-pp-flash__limit { margin: 0; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.18); border-radius: 8px; padding: 4px 8px; justify-self: start; }
.wc-menu-pp-flash__limit[hidden] { display: none; }
.wc-menu-pp-flash.is-upcoming { background: linear-gradient(120deg, #7c3aed, #db2777); }
.wc-menu-pp-flash.is-ended { background: #6b7280; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
	.wc-menu-pp-flash:not(.is-ended) .wc-menu-pp-flash__title { animation: wc-menu-flash-pulse 1.6s ease-in-out infinite; }
}
@keyframes wc-menu-flash-pulse { 50% { opacity: .75; } }
.wc-menu-pp-flash__limit.is-used { background: rgba(0,0,0,.25); border-radius: 6px; padding: 4px 8px; font-weight: 700; }

/* ---------------- 🔥 Flash Sale popup (menu page) ---------------- */
html.wc-menu-flash-open, html.wc-menu-flash-open body { overflow: hidden; }
.wc-menu-flash-popup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; font-family: inherit; }
.wc-menu-flash-popup[hidden] { display: none; }
.wc-menu-flash-popup *, .wc-menu-flash-popup *::before, .wc-menu-flash-popup *::after { box-sizing: border-box; }
.wc-menu-flash-popup__backdrop { position: absolute; inset: 0; background: rgba(15, 10, 10, .62); animation: wcmoFade .2s ease; }
.wc-menu-flash-popup__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: linear-gradient(160deg, #dc2626, #ea580c 60%, #f59e0b); border-radius: 22px; padding: 14px 0 12px; box-shadow: 0 24px 60px rgba(0,0,0,.4); color: #fff; animation: wcmoPop .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes wcmoFade { from { opacity: 0; } }
@keyframes wcmoPop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.wc-menu-flash-popup__head { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 10px 18px; }
.wc-menu-flash-popup__head h2 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 800; color: #fff; letter-spacing: .01em; }
.wc-menu-flash-popup__head h2 small { font-size: 14px; font-weight: 600; opacity: .85; }
.wc-menu-flash-popup__close { width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff; font-size: 26px; line-height: 38px; text-align: center; cursor: pointer; flex: none; }
.wc-menu-flash-popup__close:hover { background: rgba(255,255,255,.35); }
.wc-menu-flash-popup__viewport { position: relative; min-height: 0; flex: 1 1 auto; display: flex; }
.wc-menu-flash-popup__track { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding: 2px 9% 6px; scrollbar-width: none; width: 100%; cursor: grab; touch-action: pan-x pan-y; }
.wc-menu-flash-popup__track::-webkit-scrollbar { display: none; }
.wc-menu-flash-popup__track.is-single { padding: 2px 16px 6px; cursor: auto; }
.wc-menu-flash-popup__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.wc-menu-flash-card { flex: 0 0 82%; scroll-snap-align: center; scroll-snap-stop: always; background: #fff; color: #1f2937; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; max-height: 100%; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.is-single .wc-menu-flash-card { flex-basis: 100%; }
.wc-menu-flash-card.is-ended { filter: grayscale(.9); opacity: .75; }
.wc-menu-flash-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #f3f4f6; flex: none; }
.wc-menu-flash-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.wc-menu-flash-card__pct { position: absolute; top: 10px; left: 10px; background: #dc2626; color: #fff; font-weight: 800; font-size: 15px; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wc-menu-flash-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; min-height: 0; }
.wc-menu-flash-card__timer { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; background: #fee2e2; color: #b91c1c; border-radius: 8px; padding: 4px 9px; font-size: 13px; font-weight: 600; }
.wc-menu-flash-card__timer.is-upcoming { background: #ede9fe; color: #6d28d9; }
.wc-menu-flash-card.is-ended .wc-menu-flash-card__timer { background: #e5e7eb; color: #374151; }
.wc-menu-flash-card__clock { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; }
.wc-menu-flash-card__name { margin: 2px 0 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: #111827; }
.wc-menu-flash-card__price { font-size: 18px; font-weight: 800; color: #dc2626; }
.wc-menu-flash-card__price del { color: #9ca3af; font-weight: 500; font-size: 14px; margin-right: 4px; }
.wc-menu-flash-card__price ins { text-decoration: none; }
.wc-menu-flash-card__desc { margin: 0; font-size: 13px; line-height: 1.45; color: #4b5563; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wc-menu-flash-card__note { margin: 0; font-size: 12px; font-weight: 600; color: #92400e; background: #fef3c7; border-radius: 6px; padding: 3px 8px; align-self: flex-start; }
.wc-menu-flash-card__btn { display: flex; align-items: center; justify-content: center; margin-top: 4px; min-height: 46px; border-radius: 12px; background: #dc2626; color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; }
.wc-menu-flash-card__btn:hover { background: #b91c1c; }
.wc-menu-flash-popup__nav { position: absolute; top: 34%; z-index: 2; width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #dc2626; font-size: 26px; line-height: 36px; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: pointer; }
.wc-menu-flash-popup__nav--prev { left: 6px; }
.wc-menu-flash-popup__nav--next { right: 6px; }
.wc-menu-flash-popup__nav:disabled { opacity: 0; pointer-events: none; }
@media (hover: none) { .wc-menu-flash-popup__nav { display: none; } }
.wc-menu-flash-popup__dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; flex-wrap: wrap; }
.wc-menu-flash-popup__dot { width: 8px; height: 8px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .2s; }
.wc-menu-flash-popup__dot.is-on { width: 22px; background: #fff; }
.wc-menu-flash-popup__hint { margin: 6px 0 0; text-align: center; font-size: 12px; opacity: .85; color: #fff; }
.wc-menu-flash-popup :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.wc-menu-flash-card :focus-visible { outline-color: #2563eb; }
@media (prefers-reduced-motion: reduce) { .wc-menu-flash-popup__box, .wc-menu-flash-popup__backdrop { animation: none; } .wc-menu-flash-popup__track { scroll-behavior: auto; } }

/* 🔥 chip in the category bar (re-opens the popup) */
.wc-menu-flash-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; margin: 0 8px 0 0; padding: 6px 12px; min-height: 36px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #dc2626, #f97316); color: #fff; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 2px 8px rgba(220,38,38,.35); }
.wc-menu-flash-chip b { background: #fff; color: #dc2626; border-radius: 999px; min-width: 20px; height: 20px; line-height: 20px; font-size: 12px; text-align: center; padding: 0 5px; }
.wc-menu-category-bar.has-flash { display: flex; align-items: center; padding-left: 12px; }
.wc-menu-category-bar.has-flash .wc-menu-category-bar__scroll { flex: 1 1 auto; min-width: 0; padding-left: 0; }

/* Description content (full HTML, shortcodes, blocks, embeds) */
.wc-menu-pp__short img, .wc-menu-pp__short video, .wc-menu-pp__desc-body video, .wc-menu-pp__short iframe, .wc-menu-pp__desc-body iframe, .wc-menu-pp__short embed, .wc-menu-pp__desc-body embed, .wc-menu-pp__short object, .wc-menu-pp__desc-body object { max-width: 100%; }
.wc-menu-pp__short img, .wc-menu-pp__short video, .wc-menu-pp__desc-body video { height: auto; }
.wc-menu-pp__desc-body iframe[src*="youtube"], .wc-menu-pp__desc-body iframe[src*="youtu.be"], .wc-menu-pp__desc-body iframe[src*="vimeo"], .wc-menu-pp__short iframe[src*="youtube"], .wc-menu-pp__short iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.wc-menu-pp__desc-body .wp-block-embed, .wc-menu-pp__desc-body figure { margin: 0 0 1em; max-width: 100%; }
.wc-menu-pp__desc-body table, .wc-menu-pp__short table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.wc-menu-pp__desc-body td, .wc-menu-pp__desc-body th, .wc-menu-pp__short td, .wc-menu-pp__short th { border: 1px solid var(--wc-menu-border); padding: 6px 8px; text-align: left; }
.wc-menu-pp__desc-body input, .wc-menu-pp__desc-body select, .wc-menu-pp__desc-body textarea { max-width: 100%; }

/* 📤 Share (Telegram Mini App) next to the price */
.wc-menu-pp__price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wc-menu-pp__price-row .wc-menu-pp__price { min-width: 0; }
.wc-menu-pp-share { display: inline-flex; align-items: center; gap: 6px; flex: none; margin: 0; padding: 8px 14px; min-height: 40px; width: auto; border-radius: 999px; border: 1px solid var(--wc-menu-border); background: var(--wc-menu-surface, #fff); color: var(--wc-menu-primary); font: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.wc-menu-pp-share[hidden] { display: none; }
.wc-menu-pp-share:hover { background: var(--wc-menu-primary-tint); }
.wc-menu-pp-share.is-busy { opacity: .6; cursor: progress; }
.wc-menu-pp-share { flex-direction: column; gap: 2px; }
.wc-menu-pp-share.has-reward { background: linear-gradient(135deg, #229ED9, #1c7fc0); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(34,158,217,.35); border-radius: 16px; }
.wc-menu-pp-share.has-reward:hover { background: linear-gradient(135deg, #1c8fc7, #176da5); }
.wc-menu-pp-share__sub { font-size: 11px; font-weight: 600; opacity: .95; }
.wc-menu-pp-share__sub[hidden] { display: none; }
.wc-menu-pp-ref { display: grid; gap: 6px; padding: 10px 12px; border: 1px dashed #93c5fd; background: #eff6ff; border-radius: 12px; font-size: 13px; color: #1e3a8a; }
.wc-menu-pp-ref[hidden] { display: none; }
.wc-menu-pp-ref b { font-size: 14px; }
.wc-menu-pp-ref__bar { display: block; height: 8px; border-radius: 8px; background: #dbeafe; overflow: hidden; }
.wc-menu-pp-ref__bar i { display: block; height: 100%; background: #229ED9; border-radius: 8px; }
.wc-menu-pp-ref__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: #475569; font-size: 12px; }
/* 💬 Ask Admin next to Share */
.wc-menu-pp__actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wc-menu-pp-ask, .wc-menu-pp-ask:visited { text-decoration: none; }
.wc-menu-pp-ask { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; margin: 0; padding: 8px 14px; min-height: 40px; width: auto; border-radius: 999px; border: 1px solid #229ED9; background: #fff; color: #1c7fc0; font: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; }
.wc-menu-pp-ask[hidden] { display: none; }
.wc-menu-pp-ask:hover { background: #e8f5fc; }
.wc-menu-pp-ask.is-busy { opacity: .6; cursor: progress; }

/* 🔥 Flash Sale badge + countdown on menu cards */
.wc-menu-card-flash {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 2;
	padding: 2px 7px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff3d00, #ff9100);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.wc-menu-card-flash.is-soon {
	background: #6d4c41;
}
.wc-menu-card-timer {
	position: absolute;
	left: 6px;
	bottom: 8px;
	z-index: 2;
	max-width: calc(100% - 64px);
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(0, 0, 0, .7);
	color: #fff;
	font-size: 10px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wc-menu-card-timer__clock {
	font-variant-numeric: tabular-nums;
	color: #ffd54f;
}

/* 🔔 Back-in-stock alert */
.wc-menu-restock-btn {
	display: block;
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 14px;
	border: 1px dashed #2aabee;
	border-radius: 10px;
	background: #eaf6fd;
	color: #0b6fa4;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}
.wc-menu-restock-btn.is-on {
	border-style: solid;
	border-color: #1f9d55;
	background: #e9f7ef;
	color: #1f7a45;
}
.wc-menu-restock-btn.is-busy { opacity: .6; }

/* 🔁 Order again */
.wc-menu-reorder-btn { width: 100%; margin-top: 12px; }

.wc-menu-toast {
	position: fixed;
	left: 50%;
	top: 76px;
	z-index: 100000;
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border-radius: 10px;
	background: rgba(20, 20, 20, .92);
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	transform: translate(-50%, -20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.wc-menu-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 🔗 Share sheet (browser) + 🏆 leaderboard */
.wc-menu-sheet { position: fixed; inset: 0; z-index: 100001; background: rgba(15, 23, 42, 0); display: flex; align-items: flex-end; justify-content: center; transition: background .2s; }
.wc-menu-sheet.is-open { background: rgba(15, 23, 42, .45); }
.wc-menu-sheet__panel { width: 100%; max-width: 480px; max-height: 86vh; overflow: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .2s ease-out; box-sizing: border-box; }
.wc-menu-sheet.is-open .wc-menu-sheet__panel { transform: none; }
@media (min-width: 700px) { .wc-menu-sheet { align-items: center; } .wc-menu-sheet__panel { border-radius: 18px; } }
.wc-menu-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 16px; }
.wc-menu-sheet__x { border: 0; background: #f1f5f9; width: 32px; height: 32px; border-radius: 50%; font-size: 14px; cursor: pointer; }
.wc-menu-sheet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.wc-menu-sheet__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border: 0; background: none; color: #0f172a; font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; border-radius: 12px; }
.wc-menu-sheet__item:hover { background: #f8fafc; }
.wc-menu-sheet__item i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e2e8f0; font-style: normal; font-size: 20px; font-weight: 700; }
.wc-menu-sheet__item.is-fb i { background: #1877f2; color: #fff; font-family: Arial, sans-serif; font-size: 26px; }
.wc-menu-sheet__item.is-ms i { background: linear-gradient(135deg, #00b2ff, #a033ff); color: #fff; }
.wc-menu-sheet__item.is-tg i { background: #229ed9; color: #fff; }
.wc-menu-sheet__link { margin-top: 12px; display: grid; gap: 4px; }
.wc-menu-sheet__link small { color: #475569; }
.wc-menu-sheet__link input { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 13px; color: #334155; background: #f8fafc; }
.wc-menu-pp-ref__login { color: #1d4ed8; font-weight: 600; text-decoration: none; }
.wc-menu-lb-btn { justify-self: start; border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.wc-menu-lb-btn.is-busy { opacity: .6; }
.wc-menu-lb__sub { margin: -6px 0 8px; color: #64748b; font-size: 13px; }
.wc-menu-lb__prize { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: #fffbeb; color: #92400e; font-weight: 600; font-size: 14px; }
.wc-menu-lb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wc-menu-lb__row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f8fafc; }
.wc-menu-lb__row.is-me { background: #eff6ff; outline: 2px solid #93c5fd; }
.wc-menu-lb__rank { text-align: center; font-size: 18px; font-weight: 700; color: #475569; font-variant-numeric: tabular-nums; }
.wc-menu-lb__name { display: grid; font-weight: 600; color: #0f172a; min-width: 0; }
.wc-menu-lb__name em { font-style: normal; color: #2563eb; font-weight: 600; }
.wc-menu-lb__name small, .wc-menu-lb__pts small { font-weight: 400; color: #64748b; font-size: 12px; }
.wc-menu-lb__pts { display: grid; text-align: right; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.wc-menu-lb__mine { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cbd5e1; }
.wc-menu-lb__empty { color: #64748b; text-align: center; padding: 16px 0; }

/* ✈️ Open in Telegram (website product page) */
.wc-menu-pp-open-tg { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; justify-self: start; width: max-content; max-width: 100%; padding: 8px 14px; border-radius: 999px; background: #229ed9; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 2px 6px rgba(34, 158, 217, .35); }
.wc-menu-pp-open-tg[hidden] { display: none; }
.wc-menu-pp-open-tg.is-busy { opacity: .6; }
.wc-menu-pp-open-tg__icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #229ed9; font-size: 12px; }
.wc-menu-sheet__item.is-tgchat i { background: #229ed9; color: #fff; }

/* 📍 Location help (in-app browsers) + 🗺️ map picker */
.wc-menu-loc-help { display: grid; gap: 8px; margin: 8px 0 4px; padding: 10px 12px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; font-size: 13px; }
.wc-menu-loc-help[hidden] { display: none; }
.wc-menu-loc-help__why { margin: 0; }
.wc-menu-loc-help__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.wc-menu-loc-help__btns .wc-menu-btn { flex: 1 1 auto; justify-content: center; text-align: center; text-decoration: none; padding: 9px 12px; font-size: 14px; }
.wc-menu-loc-help__map { background: #0f766e !important; color: #fff !important; border-color: #0f766e !important; }
.wc-menu-loc-help__tg { background: #229ed9 !important; color: #fff !important; border-color: #229ed9 !important; }
.wc-menu-loc-help__hint { color: #9a3412; }
.wc-menu-location-banner .wc-menu-loc-help, .wc-menu-location-banner + .wc-menu-loc-help { margin: 6px 12px; }
.wc-menu-mappick .wc-menu-sheet__panel { max-width: 560px; display: grid; gap: 10px; }
.wc-menu-mappick__search { display: flex; gap: 6px; }
.wc-menu-mappick__search input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 15px; }
.wc-menu-mappick__map { position: relative; height: 52vh; min-height: 260px; border-radius: 12px; overflow: hidden; background: #e2e8f0; }
.wc-menu-mappick__canvas { position: absolute; inset: 0; }
.wc-menu-mappick__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 38px; line-height: 1; z-index: 500; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.wc-menu-mappick__addr { margin: 0; font-size: 14px; color: #0f172a; min-height: 2.6em; }
.wc-menu-mappick__addr.is-outside { color: #b91c1c; font-weight: 700; }
.wc-menu-mappick__ok { width: 100%; }
.wc-menu-mappick__search input { flex: 1 1 auto; width: auto; height: 44px; box-sizing: border-box; background: #fff; }
.wc-menu-mappick__search .wc-menu-btn { flex: 0 0 auto; width: auto; min-width: 48px; height: 44px; padding: 0 14px; margin: 0; }

/* 📍 "My location" button on the map picker */
.wc-menu-mappick__me { position: absolute; right: 10px; bottom: 28px; z-index: 600; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: #fff; color: #1d4ed8; font: inherit; font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px rgba(15, 23, 42, .25); cursor: pointer; }
.wc-menu-mappick__me-ico { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #1d4ed8; position: relative; box-sizing: border-box; }
.wc-menu-mappick__me-ico::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #1d4ed8; }
.wc-menu-mappick__me.is-busy { opacity: .7; }
.wc-menu-mappick__me.is-busy .wc-menu-mappick__me-ico { animation: wcmo-me-pulse 1s ease-in-out infinite; }
@keyframes wcmo-me-pulse { 50% { transform: scale(.7); } }

/* Product panel (menu quick view): 🔥 Flash Sale countdown + 💬 Ask Admin / 📤 Share */
.wc-menu-qv-flash { margin: 14px 0 4px; }
.wc-menu-qv-price-row { margin: 4px 0 10px; }
.wc-menu-qv-price-row .wc-menu-checkout-total { margin: 0; }
.wc-menu-modal--variation .wc-menu-pp-ref { margin-bottom: 12px; }
.wc-menu-qv-flash + h2 { margin-top: 12px; }
