.ws-demo-tools,
.ws-demo-tools *,
.ws-demo-buy {
	box-sizing: border-box;
}

.ws-demo-tools {
	position: fixed;
	top: 50%;
	left: 18px;
	z-index: 980;
	width: 78px;
	padding: 14px 10px;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--paper-light) 94%, transparent);
	box-shadow: 0 16px 40px color-mix(in srgb, var(--ink) 18%, transparent);
	color: var(--ink);
	text-align: center;
	transform: translateY(-50%);
	backdrop-filter: blur(12px);
}

.ws-demo-tools > p {
	margin: 0 0 10px;
	font-family: var(--body);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .11em;
	line-height: 1.35;
	text-transform: uppercase;
}

.ws-demo-tools > div {
	display: grid;
	gap: 7px;
	justify-content: center;
}

.ws-demo-tools button {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.ws-demo-tools button[aria-pressed="true"] {
	border-color: var(--ink);
}

.ws-demo-tools button span {
	display: block;
	width: 22px;
	height: 22px;
	border: 2px solid var(--paper-light);
	border-radius: 50%;
	background: var(--ws-demo-swatch);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);
}

.ws-demo-tools output {
	display: block;
	margin-top: 10px;
	font-family: var(--body);
	font-size: 9px;
	font-weight: 650;
	line-height: 1.25;
}

.ws-demo-buy {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 980;
	display: grid;
	gap: 1px;
	min-width: 220px;
	padding: 14px 20px;
	border: 1px solid color-mix(in srgb, var(--paper-light) 65%, transparent);
	border-radius: 999px;
	background: var(--ink);
	box-shadow: 0 14px 35px color-mix(in srgb, var(--ink) 28%, transparent);
	color: var(--paper-light);
	font-family: var(--body);
	text-decoration: none;
}

.ws-demo-buy span {
	font-size: 10px;
	opacity: .74;
}

.ws-demo-buy strong {
	font-size: 13px;
	letter-spacing: .035em;
}

.weddingstory-demo .ws-owner-editor {
	display: none !important;
}

@media (max-width: 720px) {
	.ws-demo-tools {
		top: auto;
		right: 10px;
		bottom: 66px;
		left: 10px;
		width: auto;
		padding: 6px 8px;
		overflow-x: auto;
		text-align: left;
		transform: none;
	}

	.ws-demo-tools > p,
	.ws-demo-tools output {
		display: none;
	}

	.ws-demo-tools > div {
		display: grid;
		grid-template-columns: repeat(9, minmax(0, 1fr));
		gap: 1px;
	}

	.ws-demo-tools button {
		width: 100%;
		min-width: 0;
		height: 28px;
	}

	.ws-demo-tools button span {
		width: 18px;
		height: 18px;
	}

	.ws-demo-buy {
		right: 10px;
		bottom: 10px;
		left: 10px;
		justify-content: center;
		min-width: 0;
		padding: 10px 16px;
		text-align: center;
	}

	.ws-demo-buy span {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws-demo-tools,
	.ws-demo-buy {
		scroll-behavior: auto;
	}
}
