/* =========================================================
   bb-demos — homepage editing demos (see bb-demos.js and README)
   Layout: a mock editor panel next to a mini website in a browser frame.
   Stacks on phones. Kill switch: 'bb-demos' => false in functions.php.
   ========================================================= */

.bb-demo {
	--d-panel: #1F2329;
	--d-panel-2: #2A2F37;
	--d-panel-line: #3A404A;
	--d-panel-text: #E6E9EE;
	--d-panel-muted: #9AA3AF;
	--d-accent: var(--bb-action);
	--d-head-font: var(--bb-font-serif);
	display: grid;
	grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
	font-family: var(--bb-font-sans);
}
@media (max-width: 860px) {
	.bb-demo { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Mock editor panel ---- */
.bb-demo-panel {
	background: var(--d-panel);
	color: var(--d-panel-text);
	border-radius: 18px;
	padding: 0 0 20px;
	box-shadow: 0 30px 60px -36px rgba(11, 18, 32, .55);
	overflow: hidden;
}
.bb-demo-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: var(--d-panel-2);
	border-bottom: 1px solid var(--d-panel-line);
	font: 600 13px/1.2 var(--bb-font-sans);
	letter-spacing: .02em;
}
.bb-demo-bar::after { content: ""; width: 16px; height: 2px; background: var(--d-panel-muted); box-shadow: 0 -5px 0 var(--d-panel-muted), 0 5px 0 var(--d-panel-muted); }
.bb-demo-tabs { display: flex; border-bottom: 1px solid var(--d-panel-line); }
.bb-demo-tabs span { flex: 1; padding: 11px 6px; text-align: center; font-size: 12px; color: var(--d-panel-muted); }
.bb-demo-tabs .is-on { color: var(--d-panel-text); box-shadow: inset 0 -2px 0 var(--d-accent); }
.bb-demo-panel .bb-demo-label,
.bb-demo-panel legend {
	display: block;
	margin: 18px 18px 8px;
	padding: 0;
	font: 500 12px/1.3 var(--bb-font-sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--d-panel-muted);
}
.bb-demo-input {
	display: block;
	box-sizing: border-box;
	width: calc(100% - 36px);
	margin: 0 18px;
	min-height: 96px;
	padding: 12px 14px;
	border: 1px solid var(--d-panel-line);
	border-radius: 10px;
	background: #14171C;
	color: #FFFFFF;
	font: 400 16px/1.45 var(--bb-font-sans); /* 16px keeps iPhone from zooming in */
	resize: vertical;
}
.bb-demo-input:focus { outline: 2px solid var(--d-accent); outline-offset: 2px; border-color: transparent; }
.bb-demo-hint { margin: 10px 18px 0 !important; font-size: 13px !important; line-height: 1.45; color: var(--d-panel-muted) !important; }

/* Style demo controls */
.bb-demo-panel fieldset { border: 0; margin: 0; padding: 0; }
.bb-demo-swatches, .bb-demo-fonts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 18px; }
.bb-demo-swatches label, .bb-demo-fonts label { position: relative; cursor: pointer; }
.bb-demo-swatches input, .bb-demo-fonts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bb-demo-swatches span {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sw);
	box-shadow: 0 0 0 2px var(--d-panel);
}
.bb-demo-swatches input:checked + span { box-shadow: 0 0 0 2px var(--d-panel), 0 0 0 4px #FFFFFF; }
.bb-demo-swatches input:focus-visible + span { outline: 2px solid #FFFFFF; outline-offset: 6px; }
.bb-demo-fonts span {
	display: block;
	min-height: 44px;
	box-sizing: border-box;
	padding: 10px 14px;
	border: 1px solid var(--d-panel-line);
	border-radius: 10px;
	font-size: 15px;
	color: var(--d-panel-text);
}
.bb-demo-fonts input:checked + span { border-color: #FFFFFF; background: var(--d-panel-2); }
.bb-demo-fonts input:focus-visible + span { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.bb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Mini website in a browser frame ---- */
.bb-demo-site {
	background: #FFFFFF;
	border: 1px solid var(--bb-line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 30px 60px -36px rgba(11, 18, 32, .35);
	display: flex;
	flex-direction: column;
}
.bb-demo-chrome {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 11px 14px;
	background: var(--bb-mist);
	border-bottom: 1px solid var(--bb-line);
}
.bb-demo-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DD; }
.bb-demo-chrome span {
	margin-left: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #FFFFFF;
	font: 500 12px/1 var(--bb-font-mono);
	color: var(--bb-muted);
}
.bb-demo-page { padding: 22px 26px 30px; flex: 1; }
.bb-demo-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.bb-demo-nav b { font: 600 15px/1 var(--d-head-font); color: var(--bb-ink); margin-right: auto; }
.bb-demo-nav span { width: 34px; height: 6px; border-radius: 3px; background: var(--bb-line); }
.bb-demo-kicker { margin: 0 0 8px !important; font: 600 11px/1.2 var(--bb-font-sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--d-accent) !important; }
.bb-demo-title {
	margin: 0 0 12px !important;
	font-family: var(--d-head-font) !important;
	font-size: clamp(26px, 3.4vw, 40px) !important;
	line-height: 1.08 !important;
	font-weight: 400 !important;
	color: var(--bb-ink) !important;
	min-height: 1.1em;
	overflow-wrap: anywhere;
	transition: background-color 300ms linear;
	border-radius: 6px;
}
.bb-demo-text.is-typing .bb-demo-title { background-color: rgba(20, 114, 163, .08); box-shadow: 0 0 0 6px rgba(20, 114, 163, .08); }
.bb-demo-sub { margin: 0 0 18px !important; font-size: 15px !important; color: var(--bb-muted) !important; }
.bb-demo-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--d-accent);
	color: #FFFFFF;
	font: 600 13px/1 var(--bb-font-sans);
}

/* Style demo: switched with :has(), no JavaScript needed */
.bb-demo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.bb-demo-cards div { padding: 12px; border-radius: 10px; background: var(--bb-mist); }
.bb-demo-cards i { display: block; width: 22px; height: 22px; border-radius: 6px; background: var(--d-accent); opacity: .9; margin-bottom: 10px; }
.bb-demo-cards b { display: block; font: 400 15px/1.2 var(--d-head-font); color: var(--bb-ink); }
.bb-demo-cards span { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: #D5DCE5; }
.bb-demo-site, .bb-demo-btn, .bb-demo-cards i, .bb-demo-kicker { transition: background-color 400ms ease, color 400ms ease; }
.bb-demo-style:has(input[value="forest"]:checked) { --d-accent: #2F6B4F; }
.bb-demo-style:has(input[value="clay"]:checked)   { --d-accent: #B0502B; }
.bb-demo-style:has(input[value="plum"]:checked)   { --d-accent: #6B3F7A; }
.bb-demo-style:has(input[value="clean"]:checked)  { --d-head-font: var(--bb-font-sans); }
.bb-demo-style:has(input[value="techy"]:checked)  { --d-head-font: var(--bb-font-mono); }
.bb-demo-style:has(input[value="clean"]:checked) .bb-demo-title,
.bb-demo-style:has(input[value="techy"]:checked) .bb-demo-title { font-weight: 500 !important; letter-spacing: -.01em; font-size: clamp(22px, 3vw, 34px) !important; }

/* Drag demo */
.bb-demo-stack { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F6F8FB; }
.bb-demo-stack li {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 10px 8px 6px;
	background: #FFFFFF;
	border: 1px solid var(--bb-line);
	border-radius: 14px;
	user-select: none;
}
.bb-demo-stack li.is-dragging { z-index: 2; box-shadow: 0 18px 36px -12px rgba(11, 18, 32, .35); border-color: var(--bb-action); cursor: grabbing; }
.bb-demo-handle {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--bb-muted);
	font-size: 20px;
	line-height: 1;
	cursor: grab;
	touch-action: none; /* lets a finger drag the handle without scrolling the page */
}
.bb-demo-handle:hover, .bb-demo-handle:focus-visible { background: var(--bb-mist); color: var(--bb-ink); }
.bb-demo-move { display: flex; gap: 4px; }
.bb-demo-move button {
	width: 40px;
	height: 40px;
	border: 1px solid var(--bb-line);
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--bb-ink);
	font-size: 16px;
	cursor: pointer;
}
.bb-demo-move button:hover { border-color: var(--bb-action); color: var(--bb-action); }
.bb-demo-move button:focus-visible, .bb-demo-handle:focus-visible { outline: 2px solid var(--bb-action); outline-offset: 2px; }
.bb-demo-mock { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.bb-demo-mock b { font: 400 18px/1.15 var(--bb-font-serif); color: var(--bb-ink); min-width: 92px; }
.bb-demo-mock .m-lines { flex: 1; display: grid; gap: 6px; }
.bb-demo-mock .m-lines span { height: 6px; border-radius: 3px; background: #DCE3EC; }
.bb-demo-mock .m-lines span:nth-child(2) { width: 70%; }
.bb-demo-mock .m-pill { width: 64px; height: 22px; border-radius: 999px; background: var(--bb-action); flex: none; }
.bb-demo-mock .m-cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bb-demo-mock .m-cards span { height: 30px; border-radius: 6px; background: var(--bb-mist); }
.bb-demo-mock .m-quote { flex: 1; font: italic 400 15px/1.3 var(--bb-font-serif); color: var(--bb-muted); }
.bb-demo-status { margin: 0 !important; padding: 10px 18px 14px; font-size: 13px !important; color: var(--bb-muted) !important; min-height: 1.4em; background: #F6F8FB; }
@media (max-width: 560px) {
	.bb-demo-mock .m-lines, .bb-demo-mock .m-cards { display: none; }
	.bb-demo-mock b { min-width: 0; }
	.bb-demo-page { padding: 18px; }
	.bb-demo-cards { grid-template-columns: repeat(2, 1fr); }
	.bb-demo-cards div:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bb-demo *, .bb-demo-stack li { transition: none !important; }
}

/* Theme button styles reset: Hello Elementor gives every <button> a filled look and padding. */
.bb-demo-handle, .bb-demo-move button { padding: 0 !important; box-shadow: none; text-transform: none; letter-spacing: 0; }
.bb-demo-handle { background: transparent !important; color: var(--bb-muted) !important; border: 0 !important; }
.bb-demo-handle:hover, .bb-demo-handle:focus-visible { background: var(--bb-mist) !important; color: var(--bb-ink) !important; }
.bb-demo-move button { background: #FFFFFF !important; color: var(--bb-ink) !important; }
.bb-demo-move button:hover { color: var(--bb-action) !important; }
@media (max-width: 560px) {
	.bb-demo-stack { padding: 12px; }
	.bb-demo-stack li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px; padding-right: 6px; }
	.bb-demo-mock { gap: 8px; }
	.bb-demo-mock .m-pill, .bb-demo-mock .m-quote { display: none; }
	.bb-demo-mock b { font-size: 17px; white-space: nowrap; }
}

/* Breathing room between the two settings groups (colors, then fonts). */
.bb-demo-panel fieldset + fieldset { margin-top: 26px; }

/* ---------- Drag demo v2: Navigator panel + live page preview ---------- */
.bb-demo-drag .bb-demo-panel .bb-demo-stack { padding: 4px 18px 0; background: transparent; gap: 8px; }
.bb-demo-drag .bb-demo-panel .bb-demo-stack li {
	grid-template-columns: 44px minmax(0, 1fr) auto;
	padding: 4px 6px 4px 2px;
	background: var(--d-panel-2);
	border: 1px solid var(--d-panel-line);
	border-radius: 10px;
	color: var(--d-panel-text);
}
.bb-demo-drag .bb-demo-panel .bb-demo-stack li.is-dragging { border-color: #FFFFFF; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.bb-demo-drag .bb-demo-name { font: 500 15px/1.2 var(--bb-font-sans); color: var(--d-panel-text); }
.bb-demo-drag .bb-demo-panel .bb-demo-handle { color: var(--d-panel-muted) !important; }
.bb-demo-drag .bb-demo-panel .bb-demo-handle:hover,
.bb-demo-drag .bb-demo-panel .bb-demo-handle:focus-visible { background: #3A404A !important; color: #FFFFFF !important; }
.bb-demo-drag .bb-demo-panel .bb-demo-move button {
	background: #1F2329 !important;
	color: var(--d-panel-text) !important;
	border-color: var(--d-panel-line);
}
.bb-demo-drag .bb-demo-panel .bb-demo-move button:hover { color: #FFFFFF !important; border-color: #FFFFFF; }
.bb-demo-drag .bb-demo-panel .bb-demo-move button:focus-visible,
.bb-demo-drag .bb-demo-panel .bb-demo-handle:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.bb-demo-drag .bb-demo-panel .bb-demo-status { background: transparent; padding: 12px 18px 0; color: var(--d-panel-muted) !important; }
.bb-demo-blocks { display: flex; flex-direction: column; gap: 10px; }
.bb-demo-block { border-radius: 12px; padding: 14px 16px; }
.bb-demo-block p { margin: 0 !important; }
.bb-demo-block.b-welcome { background: var(--bb-mist); }
.bb-demo-block .b-title { font: 400 22px/1.1 var(--bb-font-serif) !important; color: var(--bb-ink) !important; margin: 4px 0 10px !important; }
.bb-demo-block .b-head { font: 400 18px/1.1 var(--bb-font-serif) !important; color: var(--bb-ink) !important; margin-bottom: 8px !important; }
.bb-demo-block.b-menu { background: #FFFFFF; border: 1px solid var(--bb-line); }
.bb-demo-block .b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bb-demo-block .b-cards span { padding: 18px 8px 8px; border-radius: 8px; background: #F6F1EA; font: 500 12px/1.2 var(--bb-font-sans); color: #6B4A2F; }
.bb-demo-block.b-reviews { background: var(--bb-ink); }
.bb-demo-block .b-stars { color: #E7B44B !important; letter-spacing: .1em; font-size: 14px !important; }
.bb-demo-block .b-quote { font: italic 400 20px/1.2 var(--bb-font-serif) !important; color: #FFFFFF !important; }
.bb-demo-block.b-visit { display: grid; grid-template-columns: 1fr 72px; column-gap: 12px; background: #FFFFFF; border: 1px solid var(--bb-line); }
.bb-demo-block.b-visit .b-map { grid-column: 2; grid-row: 1 / span 2; border-radius: 8px; background: repeating-linear-gradient(45deg, #DCE3EC 0 6px, #EEF2F7 6px 12px); }
.bb-demo-block .b-line { font-size: 13px !important; color: var(--bb-muted) !important; }
@media (max-width: 560px) {
	.bb-demo-block .b-title { font-size: 19px !important; }
	.bb-demo-block .b-quote { font-size: 17px !important; }
}

/* ==========================================================================
   Demo 4: Standard vs. Signature. Same menu content, two presentations.
   The Standard/Signature switch is two radio buttons, so it works without
   JavaScript (the :has() rules below swap the look). In the Signature
   version a catering calculator (bb-demos.js) builds an order for the
   chosen headcount and stacks a little box for every pack.
   ========================================================================== */
.bb-sig {
	--sig-warm: #B0502B;
	--sig-cream: #FBF4EA;
	display: grid;
	gap: 18px;
	font-family: var(--bb-font-sans);
}

/* ---- The Standard / Signature switch ---- */
.bb-sig-switch {
	display: inline-flex;
	justify-self: start;
	gap: 4px;
	margin: 0;
	padding: 4px;
	border: 1px solid var(--bb-line);
	border-radius: 999px;
	background: #FFFFFF;
}
.bb-sig-switch label { position: relative; cursor: pointer; }
.bb-sig-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bb-sig-switch span {
	display: block;
	min-height: 44px;
	box-sizing: border-box;
	padding: 12px 22px;
	border-radius: 999px;
	font: 600 15px/1.3 var(--bb-font-sans);
	color: var(--bb-muted);
	transition: background-color 300ms var(--bb-ease), color 300ms var(--bb-ease);
}
.bb-sig-switch input:checked + span { background: var(--bb-ink); color: #FFFFFF; }
.bb-sig-switch input[value="signature"]:checked + span { background: var(--sig-warm); }
.bb-sig-switch input:focus-visible + span { outline: 2px solid var(--bb-action); outline-offset: 2px; }

/* ---- Standard version: a plain, tidy list ---- */
.bb-sig-page { padding: clamp(20px, 3vw, 34px); }
.bb-sig-page p { margin: 0; }
.bb-sig-title {
	margin: 2px 0 18px !important;
	font: 400 clamp(26px, 3vw, 36px)/1.05 var(--bb-font-serif);
	color: var(--bb-ink);
}
.bb-sig-cater,
.bb-sig-art { display: none; }
.bb-sig-menu { list-style: none; margin: 0; padding: 0; }
.bb-sig-menu li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--bb-line);
}
.bb-sig-name { font-weight: 500; color: var(--bb-ink); }
.bb-sig-price { color: var(--bb-ink); }
.bb-sig-note { grid-column: 1 / -1; font-size: 14px; color: var(--bb-muted); }

/* ---- Signature version: a warm bakery case ---- */
.bb-sig-site { transition: background-color 400ms var(--bb-ease); }
.bb-sig:has(input[value="signature"]:checked) .bb-sig-site { background: var(--sig-cream); }
.bb-sig:has(input[value="signature"]:checked) .bb-demo-kicker { color: var(--sig-warm) !important; }

/* The catering calculator (only once JS is running, since it needs JS) */
.bb-sig.is-live:has(input[value="signature"]:checked) .bb-sig-cater {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(16px, 3vw, 32px);
	align-items: center;
	margin: -4px 0 18px;
	padding: clamp(16px, 2.4vw, 24px);
	border-radius: 18px;
	background: #FFFFFF;
	box-shadow: 0 16px 32px -22px rgba(11, 18, 32, .5);
	animation: bb-sig-in 500ms var(--bb-ease) both;
}
.bb-sig-cater-main { display: grid; gap: 10px; }
.bb-sig-cater label { font-size: 15px; font-weight: 500; color: var(--bb-ink); }
.bb-sig-count { display: flex; align-items: center; gap: 14px; }
.bb-sig-count input[type="range"] {
	flex: 1;
	min-height: 44px; /* comfortable touch target */
	margin: 0;
	accent-color: var(--sig-warm);
	cursor: pointer;
}
.bb-sig-people-out {
	min-width: 5.4em;
	font: 400 26px/1 var(--bb-font-serif);
	color: var(--sig-warm);
	text-align: right;
}

/* The order lines and total */
.bb-sig-order { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--bb-ink); }
.bb-sig-order li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px dashed var(--bb-line);
}
.bb-sig-order b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bb-sig-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 2px 0 0 !important;
	font-size: 14px;
	color: var(--bb-muted);
}
.bb-sig-total-out { font: 400 30px/1 var(--bb-font-serif); color: var(--bb-ink); font-variant-numeric: tabular-nums; }
.bb-sig-cta {
	justify-self: start;
	margin-top: 4px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--sig-warm);
	font: 600 14px/1 var(--bb-font-sans);
	color: #FFFFFF;
}

/* The boxes: one little pastry box per pack, filling up as the slider moves.
   data-kind matches the item's place in the menu, so colors line up with
   the menu cards below. */
.bb-sig-boxes {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	gap: 8px;
	min-height: 180px;
	padding: 14px;
	border-radius: 14px;
	background: var(--sig-cream);
}
.bb-sig-stack { display: contents; } /* boxes from every item share one row flow */
.bb-sig-crate {
	--dot: #C98A3E;
	position: relative;
	width: 54px;
	height: 40px;
	border: 2px solid #E6D3BC;
	border-radius: 6px;
	background:
		radial-gradient(circle, var(--dot) 46%, transparent 50%) 0 0 / 33.33% 50%,
		#FFFFFF;
	background-origin: content-box;
	padding: 3px;
	box-sizing: border-box;
	animation: bb-sig-drop 380ms var(--bb-ease) both;
}
.bb-sig-crate[data-kind="3"] { --dot: #8E4A23; }
.bb-sig-crate[data-kind="4"] {
	/* coffee box: a carton with a spout instead of pastries */
	border-color: #8A5A3C;
	background: linear-gradient(#5A3A26, #3E2617);
}
.bb-sig-crate[data-kind="4"]::after {
	content: "";
	position: absolute;
	top: 5px;
	right: 6px;
	width: 10px;
	height: 6px;
	border-radius: 2px;
	background: #E6D3BC;
}
@keyframes bb-sig-drop {
	from { opacity: 0; transform: translateY(-14px) scale(.9); }
	to { opacity: 1; transform: none; }
}

/* Menu items become cards */
.bb-sig:has(input[value="signature"]:checked) .bb-sig-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.bb-sig:has(input[value="signature"]:checked) .bb-sig-menu li {
	position: relative;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	row-gap: 4px;
	padding: 14px;
	border: 0;
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: 0 14px 28px -22px rgba(11, 18, 32, .5);
	animation: bb-sig-in 500ms var(--bb-ease) both;
	transition: opacity 350ms var(--bb-ease), transform 300ms var(--bb-ease), box-shadow 300ms var(--bb-ease);
}
.bb-sig:has(input[value="signature"]:checked) .bb-sig-menu li:nth-child(2) { animation-delay: 80ms; }
.bb-sig:has(input[value="signature"]:checked) .bb-sig-menu li:nth-child(3) { animation-delay: 160ms; }
.bb-sig:has(input[value="signature"]:checked) .bb-sig-menu li:nth-child(4) { animation-delay: 240ms; }
@keyframes bb-sig-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
.bb-sig:has(input[value="signature"]:checked) .bb-sig-name { font: 400 19px/1.1 var(--bb-font-serif); }
.bb-sig:has(input[value="signature"]:checked) .bb-sig-price {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sig-cream);
	font-weight: 600;
	color: var(--sig-warm);
}
.bb-sig:has(input[value="signature"]:checked) .bb-sig-note { grid-column: 2 / 3; font-size: 13px; }

/* Pastry "art": a different bake color per item, plus a wisp of steam */
.bb-sig:has(input[value="signature"]:checked) .bb-sig-art {
	display: block;
	grid-row: 1 / span 2;
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #E9C48F, #A86B32 70%);
	transition: filter 350ms var(--bb-ease);
}
.bb-sig .bb-sig-menu li:nth-child(2) .bb-sig-art { background: radial-gradient(circle at 35% 35%, #F2C27B, #C98A3E 70%); }
.bb-sig .bb-sig-menu li:nth-child(3) .bb-sig-art { background: radial-gradient(circle at 35% 35%, #E3A56A, #8E4A23 70%); }
.bb-sig .bb-sig-menu li:nth-child(4) .bb-sig-art { background: radial-gradient(circle at 40% 40%, #8A5A3C, #3E2617 70%); }
.bb-sig-art::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -16px;
	width: 10px;
	height: 18px;
	margin-left: -5px;
	border-left: 2px solid rgba(74, 85, 104, .4);
	border-radius: 50%;
	opacity: 0;
	animation: bb-sig-steam 1.8s ease-in-out infinite;
}
@keyframes bb-sig-steam {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

/* In the Signature version every card gets its wisp of steam */
.bb-sig:has(input[value="signature"]:checked) .bb-sig-art::after { opacity: 1; }

@media (max-width: 560px) {
	.bb-sig:has(input[value="signature"]:checked) .bb-sig-menu { grid-template-columns: minmax(0, 1fr); }
	.bb-sig.is-live:has(input[value="signature"]:checked) .bb-sig-cater { grid-template-columns: minmax(0, 1fr); }
	.bb-sig-boxes { min-height: 0; }
	.bb-sig-people-out { font-size: 22px; min-width: 4.8em; }
}
@media (prefers-reduced-motion: reduce) {
	.bb-sig *, .bb-sig *::after { animation: none !important; transition: none !important; }
}
