/* Baton landing demo: a mock WordPress with the real tour on top.
   Everything inside .bd-canvas is in design px (1040 x 600) and gets scaled to fit.
   The tour layer (spotlight, tip, cursor) stays in real px so it reads on phones. */

.bd-root {
	--bd-accent: #2f5bea;
	--bd-ease: cubic-bezier(0.77, 0, 0.175, 1);
	--bd-out: cubic-bezier(0.23, 1, 0.32, 1);
	--bd-dim: rgba(14, 19, 38, 0.48);

	aspect-ratio: 1040 / 600;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	position: relative;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.bd-root.no-anim *,
.bd-root.no-anim *::after {
	transition: none !important;
}

.bd-canvas {
	background: #f0f0f1;
	color: #1d2327;
	font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	height: 600px;
	left: 0;
	letter-spacing: normal;
	position: absolute;
	text-align: left;
	top: 0;
	transform-origin: 0 0;
	transition: transform 600ms var(--bd-ease);
	width: 1040px;
}

.bd-canvas[hidden] {
	display: none;
}

.bd-canvas * {
	box-sizing: border-box;
}

:where(.bd-canvas) p {
	margin: 0;
}

.bd-canvas .is-target {
	cursor: pointer;
}

.bd-screen {
	filter: blur(3px);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 300ms ease, filter 300ms ease, visibility 0s 300ms;
	visibility: hidden;
}

.bd-screen.is-on {
	filter: none;
	opacity: 1;
	transition: opacity 300ms ease, filter 300ms ease, visibility 0s;
	visibility: visible;
}

/* ---------- wp-admin ---------- */

.bd-ab {
	align-items: center;
	background: #1d2327;
	color: #f0f0f1;
	display: flex;
	gap: 18px;
	height: 32px;
	padding: 0 14px 0 10px;
}

.bd-ab-logo {
	border: 2px solid #c3c4c7;
	border-radius: 50%;
	height: 18px;
	width: 18px;
}

.bd-ab-baton {
	align-items: center;
	display: flex;
	gap: 6px;
}

.bd-ab-baton::before {
	background: var(--bd-accent);
	border-radius: 3px;
	content: "";
	height: 10px;
	width: 10px;
}

.bd-ab-howdy {
	margin-left: auto;
}

.bd-side {
	background: #1d2327;
	bottom: 0;
	left: 0;
	padding-top: 10px;
	position: absolute;
	top: 32px;
	width: 160px;
}

.bd-mi {
	align-items: center;
	color: #f0f0f1;
	display: flex;
	font-size: 14px;
	gap: 10px;
	height: 34px;
	padding: 0 12px;
}

.bd-mi i {
	background: #a7aaad;
	border-radius: 4px;
	height: 16px;
	opacity: 0.55;
	width: 16px;
}

.bd-mi.is-on {
	background: #2271b1;
}

.bd-mi.is-on i {
	background: #fff;
	opacity: 1;
}

.bd-mi.is-pressed,
.bd-btn.is-pressed {
	filter: brightness(0.85);
}

.bd-main {
	bottom: 0;
	left: 160px;
	padding: 18px 22px;
	position: absolute;
	right: 0;
	top: 32px;
}

.bd-h1 {
	font-size: 23px;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 16px;
}

.bd-title-row {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
}

.bd-title-row .bd-h1 {
	margin: 0;
}

.bd-btn {
	align-items: center;
	background: #f6f7f7;
	border: 1px solid #2271b1;
	border-radius: 3px;
	color: #2271b1;
	display: inline-flex;
	font-size: 13px;
	height: 30px;
	padding: 0 10px;
	white-space: nowrap;
}

.bd-btn-p {
	background: #2271b1;
	color: #fff;
}

.bd-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr 1fr;
}

.bd-box {
	background: #fff;
	border: 1px solid #c3c4c7;
	min-height: 150px;
	padding: 0 14px 14px;
}

.bd-box-h {
	border-bottom: 1px solid #f0f0f1;
	font-size: 14px;
	font-weight: 600;
	margin: 0 -14px 12px;
	padding: 10px 14px;
}

.bd-sub {
	color: #50575e;
	margin: 0 0 8px;
}

.bd-glance {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.bd-glance li,
.bd-list li {
	color: #2271b1;
}

.bd-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bd-list li {
	padding: 3px 0;
}

.bd-list span {
	color: #50575e;
	display: inline-block;
	width: 52px;
}

.bd-label {
	display: block;
	margin: 0 0 4px;
}

.bd-field {
	background: #fff;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	color: #50575e;
	display: block;
	height: 30px;
	margin: 0 0 10px;
	padding: 5px 8px;
}

.bd-tall {
	height: 46px;
}

.bd-ok {
	background: #00a32a;
	border-radius: 50%;
	display: inline-block;
	height: 10px;
	margin-right: 6px;
	width: 10px;
}

.bd-views {
	color: #50575e;
	margin: 0 0 10px;
}

.bd-views b {
	color: #1d2327;
}

.bd-table {
	background: #fff;
	border: 1px solid #c3c4c7;
}

.bd-tr {
	border-top: 1px solid #f0f0f1;
	display: grid;
	grid-template-columns: 1fr 120px 150px;
	padding: 10px 12px;
}

.bd-tr:nth-child(even) {
	background: #f6f7f7;
}

.bd-th {
	border-top: 0;
	font-weight: 600;
}

.bd-tr span:first-child {
	color: #2271b1;
	font-weight: 600;
}

.bd-th span:first-child {
	color: #1d2327;
}

.bd-tr small {
	color: #50575e;
	font-weight: 400;
	margin-left: 6px;
}

.bd-tr span + span {
	color: #50575e;
}

/* block editor */

.bd-ed {
	background: #fff;
	inset: 0;
	position: absolute;
}

.bd-ed-bar {
	align-items: center;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	gap: 12px;
	height: 56px;
	padding-right: 14px;
}

.bd-ed-w {
	background: #1e1e1e;
	height: 56px;
	width: 56px;
}

.bd-ed-plus {
	align-items: center;
	background: #1e1e1e;
	border-radius: 2px;
	color: #fff;
	display: flex;
	font-size: 18px;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.bd-ed-tool {
	background: #ddd;
	border-radius: 3px;
	height: 16px;
	width: 16px;
}

.bd-ed-doc {
	background: #f0f0f0;
	border-radius: 4px;
	color: #50575e;
	margin: 0 auto;
	padding: 6px 60px;
}

.bd-ed-end {
	align-items: center;
	display: flex;
	gap: 14px;
}

.bd-ed-link {
	color: #50575e;
}

.bd-ed-end .bd-btn {
	border-radius: 2px;
	height: 32px;
	padding: 0 12px;
}

.bd-ed-body {
	margin: 60px auto 0;
	width: 620px;
}

.bd-ed-title {
	align-items: center;
	color: #1e1e1e;
	display: flex;
	font: 500 40px/1.2 Georgia, "Times New Roman", serif;
	margin: 0 -8px 26px;
	min-height: 60px;
	padding: 4px 8px;
}

.bd-ph {
	color: #8c8f94;
}

.bd-ed-title.has-text .bd-ph {
	display: none;
}

.bd-caret {
	background: #1e1e1e;
	display: none;
	height: 44px;
	margin-left: 2px;
	width: 2px;
}

.bd-ed-title.has-text .bd-caret {
	animation: bd-blink 1s steps(1) infinite;
	display: block;
}

@keyframes bd-blink {
	50% {
		opacity: 0;
	}
}

.bd-ed-p {
	color: #8c8f94;
	font: 18px/1.6 Georgia, "Times New Roman", serif;
	margin: 0;
}

.bd-snack {
	background: #1e1e1e;
	border-radius: 2px;
	bottom: 24px;
	color: #fff;
	left: 24px;
	opacity: 0;
	padding: 14px 18px;
	position: absolute;
	transform: translateY(10px);
	transition: opacity 240ms ease, transform 240ms var(--bd-out);
}

.bd-snack.is-on {
	opacity: 1;
	transform: none;
}

/* login */

.bd-login {
	align-items: center;
	display: flex;
	flex-direction: column;
	padding-top: 80px;
}

.bd-login-logo {
	border: 5px solid #3c434a;
	border-radius: 50%;
	height: 64px;
	margin-bottom: 24px;
	width: 64px;
}

.bd-login-box {
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 24px;
	width: 320px;
}

.bd-login-box .bd-field {
	color: #1d2327;
	font-size: 15px;
	height: 38px;
	margin-bottom: 16px;
	padding: 8px 10px;
}

.bd-login-row {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.bd-login-row .bd-btn {
	height: 32px;
	padding: 0 14px;
}

.bd-cb {
	border: 1px solid #8c8f94;
	border-radius: 4px;
	display: inline-block;
	height: 16px;
	margin-right: 6px;
	vertical-align: -3px;
	width: 16px;
}

.bd-login-back {
	color: #50575e;
	margin-top: 22px;
}

/* ---------- a shop on the front end ---------- */

.bs {
	background: oklch(0.985 0.006 80);
	color: oklch(0.24 0.03 50);
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

.bs-head {
	align-items: center;
	border-bottom: 1px solid oklch(0.9 0.02 70);
	display: flex;
	gap: 28px;
	height: 64px;
	padding: 0 36px;
}

.bs-logo {
	font-size: 22px;
	font-style: italic;
	margin-right: auto;
}

.bs-head nav {
	display: flex;
	gap: 6px;
}

.bs-head nav span {
	border-radius: 4px;
	font-size: 15px;
	padding: 6px 10px;
}

.bs-cart {
	align-items: center;
	display: flex;
	font-size: 15px;
	gap: 8px;
}

.bs-count {
	align-items: center;
	background: oklch(0.24 0.03 50);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	height: 20px;
	justify-content: center;
	min-width: 20px;
	padding: 0 6px;
	transition: transform 200ms var(--bd-out);
}

.bs-count.is-bump {
	transform: scale(1.2);
}

.bs-photo {
	background: radial-gradient(120% 90% at 30% 25%, oklch(0.8 0.1 70), oklch(0.6 0.11 55) 60%, oklch(0.45 0.09 45));
	border-radius: 10px;
}

.bs-p2 {
	background: radial-gradient(120% 90% at 30% 25%, oklch(0.62 0.06 45), oklch(0.42 0.05 40) 60%, oklch(0.32 0.04 35));
}

.bs-p3 {
	background: radial-gradient(120% 90% at 30% 25%, oklch(0.88 0.06 85), oklch(0.74 0.09 70) 60%, oklch(0.6 0.1 55));
}

.bs-hero {
	align-items: center;
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr 420px;
	padding: 48px 36px 0;
}

.bs-hero .bs-h1 {
	font-size: 46px;
	font-weight: 600;
	line-height: 1.05;
	margin: 0 0 14px;
}

.bs-hero p {
	font-size: 17px;
	margin: 0 0 22px;
	max-width: 34ch;
}

.bs-kick {
	color: oklch(0.5 0.08 50);
	font-size: 14px !important;
	font-style: italic;
	margin-bottom: 10px !important;
}

.bs-hero .bs-photo {
	height: 380px;
}

.bs-btn {
	background: oklch(0.24 0.03 50);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 13px 20px;
}

.bs-btn.is-pressed,
.bs-opt.is-pressed,
.bs-card.is-pressed {
	filter: brightness(0.9);
}

.bs-h {
	font-size: 34px;
	font-weight: 600;
	margin: 30px 36px 20px;
}

.bs-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
	padding: 0 36px;
}

.bs-card {
	border-radius: 12px;
	padding: 8px 8px 12px;
}

.bs-card .bs-photo {
	height: 270px;
	margin-bottom: 12px;
}

.bs-card b {
	display: block;
	font-size: 18px;
	font-weight: 600;
	padding: 0 4px;
}

.bs-card span {
	color: oklch(0.45 0.04 50);
	font-size: 15px;
	padding: 0 4px;
}

.bs-prod {
	display: grid;
	gap: 40px;
	grid-template-columns: 420px 1fr;
	padding: 34px 36px 0;
}

.bs-prod .bs-photo {
	height: 440px;
}

.bs-crumbs {
	color: oklch(0.45 0.04 50);
	font-size: 14px;
	margin: 6px 0 10px;
}

.bs-prod .bs-h1 {
	font-size: 38px;
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 8px;
}

.bs-price {
	font-size: 22px;
	margin: 0 0 14px;
}

.bs-desc {
	font-size: 16px;
	margin: 0 0 22px;
	max-width: 36ch;
}

.bs-label {
	font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0 0 10px;
}

.bs-opts {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.bs-opt {
	border: 1px solid oklch(0.8 0.03 60);
	border-radius: 999px;
	font: 500 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding: 11px 18px;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.bs-opt.is-chosen {
	background: oklch(0.24 0.03 50);
	border-color: oklch(0.24 0.03 50);
	color: #fff;
}

.bs-add {
	padding: 15px 28px;
}

.bs-toast {
	background: oklch(0.24 0.03 50);
	border-radius: 8px;
	color: #fff;
	font: 500 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	opacity: 0;
	padding: 14px 18px;
	position: absolute;
	right: 36px;
	top: 76px;
	transform: translateY(-6px);
	transition: opacity 240ms ease, transform 240ms var(--bd-out);
}

.bs-toast.is-on {
	opacity: 1;
	transform: none;
}

/* Baton's own "suggest a tour" pill (Pro) */
.bs-suggest {
	align-items: center;
	background: #fff;
	border-radius: 999px;
	bottom: 22px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
	color: #1d2327;
	display: flex;
	font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	gap: 10px;
	padding: 6px 6px 6px 18px;
	position: absolute;
	right: 22px;
	transition: opacity 260ms ease, transform 260ms var(--bd-out);
	z-index: 1;
}

.bs-suggest.is-gone {
	opacity: 0;
	transform: translateY(10px) scale(0.97);
}

.bs-suggest-go {
	background: var(--bd-accent);
	border-radius: 999px;
	color: #fff;
	padding: 11px 16px;
}

.bs-suggest-go.is-pressed {
	filter: brightness(0.9);
}

/* ---------- the tour ---------- */

.bd-layer {
	inset: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 200ms ease;
	z-index: 2;
}

/* frozen while the page runs its own tour */
.bd-root.is-held .bd-layer {
	opacity: 0;
	visibility: hidden;
}

.bd-spot {
	border-radius: 8px;
	box-shadow: 0 0 0 3px var(--bd-accent), 0 0 0 3000px var(--bd-dim);
	height: 0;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: transform 600ms var(--bd-ease), width 600ms var(--bd-ease), height 600ms var(--bd-ease), opacity 220ms ease;
	width: 0;
}

.bd-spot.is-jump {
	transition: opacity 220ms ease;
}

.bd-spot.is-on {
	opacity: 1;
}

/* the ring that keeps pulsing out from the spot to click, as in the plugin */
.bd-spot::after {
	animation: bd-ring 1.6s var(--bd-out) infinite;
	border: 3px solid var(--bd-accent);
	border-radius: inherit;
	content: "";
	inset: -3px;
	position: absolute;
}

@keyframes bd-ring {
	0% {
		opacity: 0.9;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(1.14);
	}
}

.bd-tip {
	--ax: 50%;
	--ay: 50%;

	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
	color: #1d2327;
	filter: blur(2px);
	font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	left: 0;
	letter-spacing: normal;
	max-width: calc(100% - 16px);
	opacity: 0;
	padding: 14px 16px 10px;
	pointer-events: none;
	position: absolute;
	text-align: left;
	top: 0;
	transform: translateY(var(--dy, 6px)) scale(0.97);
	transform-origin: var(--ax) var(--oy, 0);
	transition: opacity 200ms ease, transform 220ms var(--bd-out), filter 200ms ease;
	width: 262px;
}

.bd-tip.is-on {
	filter: none;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.bd-tip::before {
	background: #fff;
	content: "";
	display: none;
	height: 12px;
	left: var(--ax);
	position: absolute;
	transform: translateX(-50%) rotate(45deg);
	width: 12px;
}

.bd-tip.is-below::before {
	display: block;
	top: -6px;
}

.bd-tip.is-above::before {
	bottom: -6px;
	display: block;
}

.bd-tip-count {
	color: #50575e;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.bd-tip-bar {
	background: #dcdcde;
	border-radius: 999px;
	height: 4px;
	margin-bottom: 10px;
	overflow: hidden;
}

.bd-tip-bar span {
	background: var(--bd-accent);
	display: block;
	height: 100%;
	transform-origin: 0 50%;
	transition: transform 300ms var(--bd-out);
}

.bd-tip-text {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 4px;
}

.bd-tip-hint {
	color: #50575e;
	font-size: 12.5px;
	margin: 0 0 10px;
}

.bd-tip-row {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.bd-tip-mark {
	color: #50575e;
	font-size: 11px;
}

.bd-next {
	appearance: none;
	background: var(--bd-accent);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: 600 13px/1 inherit;
	font-family: inherit;
	margin-left: auto;
	min-height: 32px;
	padding: 9px 15px;
	transition: transform 140ms var(--bd-out), filter 140ms ease;
}

.bd-next:hover {
	filter: brightness(1.08);
}

.bd-next:active {
	transform: scale(0.96);
}

.bd-next:focus-visible {
	outline: 2px solid var(--bd-accent);
	outline-offset: 2px;
}

.bd-cursor {
	height: 24px;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: transform 720ms var(--bd-ease), opacity 200ms ease;
	width: 24px;
	z-index: 1;
}

.bd-cursor.is-on {
	opacity: 1;
}

.bd-cursor svg {
	display: block;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
	transform-origin: 3px 2px;
	transition: transform 120ms var(--bd-out);
}

.bd-cursor.is-press svg {
	transform: scale(0.84);
}

.bd-ripple {
	background: var(--bd-accent);
	border-radius: 50%;
	height: 40px;
	margin: -20px 0 0 -20px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 40px;
}

.bd-sr {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.bd-caption {
	transition: opacity 200ms ease, filter 200ms ease;
}

.bd-caption.is-out {
	filter: blur(2px);
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.bd-canvas,
	.bd-spot,
	.bd-cursor {
		transition-property: opacity;
	}

	.bd-spot::after,
	.bd-ed-title.has-text .bd-caret {
		animation: none;
	}

	.bd-tip {
		filter: none;
		transform: none;
	}

	.bd-screen {
		filter: none;
	}
}
