/*
 * Liniza Storybook: shop pages. They use the plugin's full-page template
 * (views/front/layout.php), so this file styles the whole page; the theme's
 * styles are not loaded there. Everything is prefixed lsb-.
 */

/* ------------------------------------------------------------------ Tokens */

.lsb-canvas,
.lsb {
	/* Brand "bulle Aurore" (includes/Brand.php): blue → violet → pink → peach. */
	--lsb-grad: linear-gradient(120deg, #4f46ff 0%, #a855f7 38%, #ff5ca8 72%, #ffb057 100%);
	--lsb-glow: 0 16px 34px -14px rgba(140, 80, 255, .75);
	--lsb-night: #0c0b1d;
	--lsb-ink: #14112b;
	--lsb-muted: #4e4a6b;
	--lsb-muted-2: #5d5978;
	--lsb-blue: #6d3df5;
	--lsb-blue-dark: #5326d8;
	--lsb-sky: #f3effe;
	--lsb-sky-2: #e6dcff;
	--lsb-gold: #ffb057;
	--lsb-gold-soft: #fff1e0;
	--lsb-pink: #ff5ca8;
	--lsb-line: #e8e4f3;
	--lsb-soft: #f8f6fd;
	--lsb-ok: #1f9a54;
	--lsb-ok-ink: #1f6b3a;
	--lsb-ok-soft: #ddf3e4;
	--lsb-error: #a63a1c;
	--lsb-error-soft: #fde4dc;
	--lsb-display: "Fredoka", system-ui, sans-serif;
	--lsb-tech: "Space Grotesk", system-ui, sans-serif;
	--lsb-text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lsb-ease: cubic-bezier(.2, .7, .2, 1);
	--lsb-spring: cubic-bezier(.3, 1.5, .5, 1);
	--lsb-shadow: 0 30px 70px -40px rgba(20, 17, 43, .45);
	--lsb-top: var(--wp-admin--admin-bar--height, 0px);
}

body.lsb-canvas {
	margin: 0;
	background: #fff;
	color: var(--lsb-ink);
	font-family: var(--lsb-text);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.lsb-canvas--checkout {
	background: var(--lsb-soft);
}

html:has(body.lsb-canvas) {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--lsb-top) + 90px);
}

.lsb-canvas *,
.lsb-canvas *::before,
.lsb-canvas *::after {
	box-sizing: border-box;
}

.lsb-canvas img {
	max-width: 100%;
	height: auto;
	display: block;
}

.lsb-canvas h1,
.lsb-canvas h2,
.lsb-canvas h3 {
	font-family: var(--lsb-display);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0;
	color: inherit;
}

.lsb-canvas p {
	margin: 0;
}

.lsb-canvas a {
	color: var(--lsb-blue);
}

.lsb-canvas a:hover {
	color: var(--lsb-blue-dark);
}

.lsb-canvas :focus-visible {
	outline: 3px solid var(--lsb-gold);
	outline-offset: 3px;
}

/* :where() keeps these resets weaker than the component rules. */
:where(.lsb-canvas) :where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
}

.lsb-skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	background: var(--lsb-ink);
	color: #fff !important;
	padding: 10px 16px;
	border-radius: 10px;
}

.lsb-skip:focus {
	top: calc(var(--lsb-top) + 12px);
}

.lsb-main {
	min-height: 60vh;
}

.lsb-muted { color: var(--lsb-muted); }
.lsb-center { text-align: center; }

/* ------------------------------------------------------------------ Header */

.lsb-header {
	position: sticky;
	top: var(--lsb-top);
	z-index: 50;
	background: rgba(255, 255, 255, .84);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid rgba(227, 229, 240, .85);
}

.lsb-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}

.lsb-logo,
.lsb-footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--lsb-ink) !important;
}

.lsb-mark {
	flex: none;
	filter: drop-shadow(0 8px 14px rgba(140, 80, 255, .35));
	transition: transform .35s var(--lsb-spring);
}

.lsb-logo:hover .lsb-mark { transform: rotate(-6deg) scale(1.06); }

.lsb-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.lsb-logo__name {
	font-family: var(--lsb-display);
	font-weight: 700;
	font-size: 28px;
	letter-spacing: -0.01em;
}

.lsb-logo__tag {
	margin-top: 3px;
	padding-left: 2px;
	font-family: var(--lsb-tech);
	font-weight: 700;
	font-size: 9.5px;
	letter-spacing: .42em;
	text-transform: uppercase;
	background: var(--lsb-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lsb-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
	font-weight: 700;
	font-size: 15px;
}

.lsb-nav__link {
	position: relative;
	color: var(--lsb-ink) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.lsb-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: var(--lsb-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--lsb-ease);
}

.lsb-nav__link:hover::after {
	transform: scaleX(1);
}

.lsb-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lsb-gold);
	color: var(--lsb-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
	flex: none;
}

/* Order steps */

.lsb-stepper {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	font-weight: 800;
	font-size: 14px;
}

.lsb-stepper__step,
.lsb-stepper__step a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--lsb-muted-2);
	text-decoration: none;
}

.lsb-stepper__step.is-current,
.lsb-stepper__step.is-done a {
	color: var(--lsb-ink);
}

.lsb-stepper__dot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #eef0f6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	transition: transform .25s var(--lsb-spring);
}

.is-current .lsb-stepper__dot {
	background: var(--lsb-blue);
	color: #fff;
	box-shadow: 0 0 0 5px var(--lsb-sky-2);
}

.is-done .lsb-stepper__dot {
	background: var(--lsb-sky-2);
	color: var(--lsb-blue);
}

.is-done a:hover .lsb-stepper__dot {
	transform: scale(1.12);
}

.lsb-progress {
	height: 4px;
	background: #eef0f6;
}

.lsb-progress span {
	display: block;
	height: 100%;
	width: var(--lsb-to);
	background: var(--lsb-blue);
	border-radius: 0 4px 4px 0;
	animation: lsb-fill 1s .25s cubic-bezier(.6, 0, .2, 1) both;
}

/* ----------------------------------------------------------------- Buttons */

.lsb-button {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 13px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--lsb-grad);
	background-size: 160% 100%;
	background-position: 0 50%;
	color: #fff !important;
	font-family: var(--lsb-text);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	box-shadow: var(--lsb-glow);
	transition: transform .2s, box-shadow .25s, background-position .45s var(--lsb-ease);
}

.lsb-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 38px -14px rgba(255, 92, 168, .7);
	background-position: 100% 50%;
	color: #fff !important;
}

.lsb-button:active {
	transform: none;
}

.lsb-button:disabled {
	background: var(--lsb-line);
	color: var(--lsb-muted-2) !important;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.lsb-button .lsb-arrow {
	transition: transform .25s var(--lsb-ease);
}

.lsb-button:hover .lsb-arrow {
	transform: translateX(5px);
}

.lsb-button--large { min-height: 58px; padding: 17px 30px; font-size: 17px; }
.lsb-button--small { min-height: 44px; padding: 11px 18px; font-size: 15px; }
.lsb-button--block { display: flex; width: 100%; }
.lsb-button--dark { background: var(--lsb-night); box-shadow: none; }
.lsb-button--dark:hover { background: #24204a; box-shadow: 0 14px 28px -12px rgba(20, 17, 43, .6); }

.lsb-button--ghost,
.lsb-button--secondary {
	background: #fff;
	color: var(--lsb-ink) !important;
	box-shadow: inset 0 0 0 1.5px #ddd6f0;
}

.lsb-button--ghost:hover,
.lsb-button--secondary:hover {
	background: #fff;
	color: var(--lsb-ink) !important;
	box-shadow: inset 0 0 0 1.5px var(--lsb-ink);
}

.lsb-button--pay {
	background: #ffc439;
	box-shadow: none;
	color: var(--lsb-ink) !important;
}

.lsb-button--pay:hover {
	background: #f5b623;
	color: var(--lsb-ink) !important;
	box-shadow: 0 14px 28px -14px rgba(20, 17, 43, .5);
}

/* A light sweep crossing the main buttons now and then. */
.lsb-shine::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: lsb-shine 4s 1.6s infinite;
	pointer-events: none;
}

.lsb-icon-button {
	width: 44px;
	height: 44px;
	flex: none;
	border: 0;
	border-radius: 14px;
	background: #f3f4f8;
	color: var(--lsb-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s, transform .2s, color .2s;
}

.lsb-icon-button:hover {
	background: var(--lsb-error-soft);
	color: var(--lsb-error);
	transform: rotate(-8deg);
}

.lsb-round {
	width: 48px;
	height: 48px;
	flex: none;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--lsb-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 16px -10px rgba(20, 17, 43, .5);
	transition: transform .2s var(--lsb-spring);
}

.lsb-round:hover { transform: scale(1.08); }
.lsb-round--dark { background: var(--lsb-ink); color: #fff; }

.lsb-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	transition: gap .2s;
}

.lsb-back:hover { gap: 10px; }

/* ----------------------------------------------------------------- Notices */

.lsb-notice {
	max-width: 1152px;
	margin: 24px auto 0;
	padding: 14px 18px 14px 50px;
	border-radius: 16px;
	position: relative;
	font-weight: 600;
	animation: lsb-up .5s var(--lsb-ease) both;
}

.lsb-notice::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 16px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: currentColor;
	opacity: .9;
	-webkit-mask: radial-gradient(circle, #000 35%, transparent 36%);
	mask: radial-gradient(circle, #000 35%, transparent 36%);
}

.lsb-notice ul { margin: 0; padding-left: 18px; }
.lsb-notice--success { background: var(--lsb-ok-soft); color: var(--lsb-ok-ink); }
.lsb-notice--info { background: var(--lsb-sky); color: var(--lsb-blue-dark); }
.lsb-notice--error { background: var(--lsb-error-soft); color: var(--lsb-error); }

.lsb > .lsb-notice {
	width: calc(100% - 48px);
}

/* ----------------------------------------------------------------- Layouts */

.lsb-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 24px 30px;
}

.lsb-section--narrow { max-width: 860px; }

.lsb-section__head {
	text-align: center;
	margin-bottom: 48px;
}

.lsb-section__head--left,
.lsb-section__head--split {
	text-align: left;
}

.lsb-section__head h2 {
	font-size: clamp(32px, 4vw, 48px);
	letter-spacing: -0.035em;
	margin-top: 10px;
}

.lsb-section__head p {
	margin-top: 14px;
	font-size: 18px;
	color: var(--lsb-muted);
}

.lsb-eyebrow {
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lsb-blue);
}

.lsb-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 24px 90px;
}

.lsb-split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px;
	margin-top: 10px;
}

.lsb-split__main {
	flex: 999 1 560px;
	min-width: 0;
}

.lsb-split__side {
	flex: 1 1 360px;
	min-width: 0;
	position: sticky;
	top: calc(var(--lsb-top) + 100px);
}

.lsb-split__main > h1,
.lsb-title-row h1 {
	font-size: clamp(34px, 4vw, 50px);
	letter-spacing: -0.04em;
}

.lsb-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.lsb-title-row h1 {
	margin-right: 6px;
}

.lsb-lead {
	margin-top: 12px !important;
	font-size: 17px;
	line-height: 1.65;
	color: var(--lsb-muted);
	max-width: 660px;
}

.lsb-subtitle {
	font-size: 24px !important;
	margin: 44px 0 16px !important;
}

.lsb-panel {
	background: #fff;
	border-radius: 32px;
	padding: 30px;
	box-shadow: var(--lsb-shadow), 0 0 0 1px var(--lsb-line);
}

.lsb-panel > h2 {
	font-size: 27px;
}

.lsb-pill {
	display: inline-flex;
	align-items: center;
	background: #f3f4f8;
	color: var(--lsb-muted);
	font-weight: 800;
	font-size: 13px;
	padding: 7px 13px;
	border-radius: 999px;
}

.lsb-pill--gold { background: var(--lsb-gold); color: var(--lsb-ink); }
.lsb-pill--blue { background: var(--lsb-sky); color: var(--lsb-blue-dark); }

/* -------------------------------------------------------------------- Hero */

.lsb-hero {
	position: relative;
	overflow: hidden;
	background: var(--lsb-sky);
}

.lsb-hero__inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 24px 104px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}

.lsb-hero__text {
	flex: 1 1 480px;
	min-width: 0;
}

.lsb-hero h1 {
	font-size: clamp(42px, 5.6vw, 74px);
	line-height: 1;
	letter-spacing: -0.04em;
}

.lsb-hero__lead {
	margin-top: 30px !important;
	font-size: 19px;
	line-height: 1.65;
	color: var(--lsb-muted);
	max-width: 540px;
}

.lsb-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px !important;
	background: #fff;
	border-radius: 999px;
	padding: 8px 16px 8px 8px;
	font-weight: 800;
	font-size: 14px;
	box-shadow: 0 6px 20px -12px rgba(20, 17, 43, .4);
}

.lsb-badge span {
	background: var(--lsb-gold);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
}

.lsb-scribble {
	position: relative;
	display: inline-block;
	color: var(--lsb-blue);
	background: var(--lsb-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.lsb-scribble svg {
	position: absolute;
	left: -4%;
	bottom: -14px;
	width: 108%;
	height: 22px;
	overflow: visible;
}

.lsb-scribble path {
	fill: none;
	stroke: var(--lsb-pink);
	stroke-width: 7;
	stroke-linecap: round;
	stroke-dasharray: 320;
	animation: lsb-draw 1.3s .7s cubic-bezier(.6, 0, .2, 1) both;
}

.lsb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.lsb-perks {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lsb-perks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .78);
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 700;
}

.lsb-perks svg { color: var(--lsb-blue); }

/* Hero demo (views/front/partials/hero-demo.php): a photo is dragged onto a
   book, the book draws the child, the child becomes the hero; once, then it
   stays on the finished books. Sizes are design pixels of a 600 × 660 stage
   (--u), so the scene scales with its box. The rules without animation are
   the final state, which is what reduced motion shows. */
.lsb-demo {
	position: relative;
	flex: 1 1 420px;
	min-width: 0;
	max-width: 560px;
	aspect-ratio: 600 / 660;
	container-type: inline-size;
}

.lsb-demo__stage {
	position: absolute;
	inset: 0;
	--u: calc(100cqw / 600);
	/* Where the photos come from: the text column on wide screens. */
	--sx: -330;
	--sy: 470;
	--hx: -250;
	--hy: 420;
}

.lsb-demo svg { display: block; }
.lsb-demo__book { position: absolute; }
.lsb-demo__book--l { left: calc(10 * var(--u)); top: calc(120 * var(--u)); width: calc(230 * var(--u)); height: calc(300 * var(--u)); rotate: -9deg; }
.lsb-demo__book--r { left: calc(340 * var(--u)); top: calc(70 * var(--u)); width: calc(240 * var(--u)); height: calc(310 * var(--u)); rotate: 8deg; }
.lsb-demo__book--f { left: calc(150 * var(--u)); top: calc(190 * var(--u)); width: calc(270 * var(--u)); height: calc(350 * var(--u)); rotate: -2deg; }

.lsb-demo__cover {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: calc(6 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)) calc(6 * var(--u));
	border-left: calc(10 * var(--u)) solid #5b4aa8;
	box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-28 * var(--u)) rgba(20, 17, 43, .55);
}

.lsb-demo__book--r .lsb-demo__cover { border-left-color: #2f7d4a; }
.lsb-demo__book--f .lsb-demo__cover { border-left: calc(12 * var(--u)) solid #1f6aa5; box-shadow: 0 calc(40 * var(--u)) calc(70 * var(--u)) calc(-28 * var(--u)) rgba(20, 17, 43, .6); }
.lsb-demo__art { position: absolute; inset: 0; width: 100%; height: 100%; }

.lsb-demo__title {
	position: absolute;
	left: calc(12 * var(--u));
	right: calc(12 * var(--u));
	top: calc(14 * var(--u));
	padding: calc(7 * var(--u)) calc(10 * var(--u));
	border-radius: calc(10 * var(--u));
	background: rgba(20, 17, 43, .62);
	color: #fff;
	font-family: var(--lsb-display);
	font-weight: 600;
	font-size: calc(14 * var(--u));
	line-height: 1.25;
	text-align: center;
}

.lsb-demo__title > span { display: block; }
.lsb-demo__title > .lsb-demo__title-name { position: absolute; left: calc(10 * var(--u)); right: calc(10 * var(--u)); top: calc(7 * var(--u)); }
.lsb-demo__book--f .lsb-demo__title { font-size: calc(16 * var(--u)); padding-top: calc(8 * var(--u)); }
.lsb-demo__book--f .lsb-demo__title > .lsb-demo__title-name { top: calc(8 * var(--u)); }

.lsb-demo__hero,
.lsb-demo__burst { position: absolute; }
.lsb-demo__book--l .lsb-demo__hero { left: calc(34 * var(--u)); bottom: calc(26 * var(--u)); width: calc(96 * var(--u)); height: calc(134 * var(--u)); }
.lsb-demo__book--r .lsb-demo__hero { left: calc(112 * var(--u)); bottom: calc(30 * var(--u)); width: calc(96 * var(--u)); height: calc(134 * var(--u)); }
.lsb-demo__book--f .lsb-demo__hero { left: calc(76 * var(--u)); bottom: calc(34 * var(--u)); width: calc(110 * var(--u)); height: calc(154 * var(--u)); }
.lsb-demo__kid { transform-origin: 50% 100%; }
.lsb-demo__book--r .lsb-demo__burst { left: calc(85 * var(--u)); bottom: calc(40 * var(--u)); width: calc(150 * var(--u)); height: calc(150 * var(--u)); }
.lsb-demo__book--f .lsb-demo__burst { left: calc(46 * var(--u)); bottom: calc(50 * var(--u)); width: calc(170 * var(--u)); height: calc(170 * var(--u)); }

.lsb-demo__tag {
	position: absolute;
	right: calc(12 * var(--u));
	bottom: calc(12 * var(--u));
	padding: calc(6 * var(--u)) calc(12 * var(--u));
	border-radius: 999px;
	background: #fff;
	font-family: var(--lsb-display);
	font-weight: 600;
	font-size: calc(13 * var(--u));
	box-shadow: 0 calc(8 * var(--u)) calc(18 * var(--u)) calc(-8 * var(--u)) rgba(20, 17, 43, .5);
}

.lsb-demo__book--f .lsb-demo__tag { right: calc(14 * var(--u)); bottom: calc(14 * var(--u)); padding: calc(7 * var(--u)) calc(13 * var(--u)); font-size: calc(14 * var(--u)); }

.lsb-demo__glow {
	position: absolute;
	inset: calc(10 * var(--u));
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: calc(14 * var(--u));
	border: calc(3 * var(--u)) dashed #fff;
	border-radius: calc(12 * var(--u));
	background: rgba(168, 85, 247, .18);
}

.lsb-demo__glow span {
	padding: calc(6 * var(--u)) calc(12 * var(--u));
	border-radius: 999px;
	background: #fff;
	color: var(--lsb-blue);
	font-size: calc(12 * var(--u));
	font-weight: 800;
}

.lsb-demo__load {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: calc(14 * var(--u));
	background: rgba(12, 11, 29, .62);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	color: #fff;
	font-family: var(--lsb-display);
	font-weight: 600;
	font-size: calc(15 * var(--u));
}

.lsb-demo__spinner {
	width: calc(64 * var(--u));
	height: calc(64 * var(--u));
	animation: lsb-hx-spin 1s linear 16;
}

.lsb-demo__bar {
	width: calc(130 * var(--u));
	height: calc(6 * var(--u));
	border-radius: 999px;
	background: rgba(255, 255, 255, .2);
	overflow: hidden;
}

.lsb-demo__bar span {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	background: var(--lsb-grad);
}

.lsb-demo__photo {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 5;
	width: calc(130 * var(--u));
	height: calc(152 * var(--u));
	padding: calc(8 * var(--u)) calc(8 * var(--u)) 0;
	border-radius: calc(6 * var(--u));
	background: #fff;
	box-shadow: 0 calc(24 * var(--u)) calc(40 * var(--u)) calc(-16 * var(--u)) rgba(20, 17, 43, .55);
}

.lsb-demo__photo svg { width: 100%; height: calc(110 * var(--u)); }

.lsb-demo__photo span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc(34 * var(--u));
	font-family: "Caveat", cursive;
	font-weight: 700;
	font-size: calc(20 * var(--u));
	color: var(--lsb-muted);
}

.lsb-demo__cursor {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 6;
	width: calc(30 * var(--u));
	height: calc(30 * var(--u));
	transform-origin: calc(4 * var(--u)) calc(4 * var(--u));
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
}

.lsb-demo__steps {
	position: absolute;
	left: 50%;
	bottom: 0;
	translate: -50% 0;
	display: grid;
	white-space: nowrap;
}

.lsb-demo__steps > span {
	grid-area: 1 / 1;
	justify-self: center;
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--u));
	padding: calc(8 * var(--u)) calc(18 * var(--u)) calc(8 * var(--u)) calc(8 * var(--u));
	border-radius: 999px;
	background: #fff;
	font-weight: 800;
	font-size: calc(15 * var(--u));
	box-shadow: 0 calc(14 * var(--u)) calc(28 * var(--u)) calc(-14 * var(--u)) rgba(140, 80, 255, .6);
}

.lsb-demo__steps b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(28 * var(--u));
	height: calc(28 * var(--u));
	border-radius: 50%;
	background: var(--lsb-grad);
	color: #fff;
	font-family: var(--lsb-display);
	font-weight: 700;
}

/* Final state (without the animation, and where it ends). */
.lsb-hx--photo-boy, .lsb-hx--photo-girl, .lsb-hx--cursor-boy, .lsb-hx--cursor-girl,
.lsb-hx--glow-f, .lsb-hx--glow-r, .lsb-hx--load-f, .lsb-hx--load-r,
.lsb-hx--ghost-f, .lsb-hx--ghost-r, .lsb-hx--burst-f, .lsb-hx--burst-r,
.lsb-hx--t0f, .lsb-hx--t0r, .lsb-hx--step1, .lsb-hx--step2 { opacity: 0; }

/* The scene, played once, after a short pause for the title. */
.lsb-hx {
	animation-duration: 13.5s;
	animation-delay: .9s;
	animation-timing-function: cubic-bezier(.45, .05, .25, 1);
	animation-iteration-count: 1;
	animation-fill-mode: both;
}

.lsb-hx--photo-boy { animation-name: lsb-hx-photo-boy; }
.lsb-hx--photo-girl { animation-name: lsb-hx-photo-girl; }
.lsb-hx--cursor-boy { animation-name: lsb-hx-cursor-boy; }
.lsb-hx--cursor-girl { animation-name: lsb-hx-cursor-girl; }
.lsb-hx--glow-f { animation-name: lsb-hx-glow-f; }
.lsb-hx--glow-r { animation-name: lsb-hx-glow-r; }
.lsb-hx--load-f { animation-name: lsb-hx-load-f; }
.lsb-hx--load-r { animation-name: lsb-hx-load-r; }
.lsb-hx--bar-f { animation-name: lsb-hx-bar-f; animation-timing-function: linear; }
.lsb-hx--bar-r { animation-name: lsb-hx-bar-r; animation-timing-function: linear; }
.lsb-hx--ghost-f, .lsb-hx--t0f { animation-name: lsb-hx-hide-f; }
.lsb-hx--ghost-r, .lsb-hx--t0r { animation-name: lsb-hx-hide-r; }
.lsb-hx--t1f { animation-name: lsb-hx-show-f; }
.lsb-hx--t1r { animation-name: lsb-hx-show-r; }
.lsb-hx--kid-f { animation-name: lsb-hx-kid-f; }
.lsb-hx--kid-r { animation-name: lsb-hx-kid-r; }
.lsb-hx--burst-f { animation-name: lsb-hx-burst-f; }
.lsb-hx--burst-r { animation-name: lsb-hx-burst-r; }
.lsb-hx--tag-f { animation-name: lsb-hx-tag-f; }
.lsb-hx--tag-r { animation-name: lsb-hx-tag-r; }
.lsb-hx--step1 { animation-name: lsb-hx-step1; }
.lsb-hx--step2 { animation-name: lsb-hx-step2; }
.lsb-hx--step3 { animation-name: lsb-hx-step3; }

@keyframes lsb-hx-spin { to { transform: rotate(360deg); } }

@keyframes lsb-hx-photo-boy {
	0% { opacity: 0; transform: translate(calc(var(--sx) * var(--u)), calc(var(--sy) * var(--u))) rotate(-14deg) scale(.9); }
	3% { opacity: 1; transform: translate(calc(var(--hx) * var(--u)), calc(var(--hy) * var(--u))) rotate(-8deg) scale(1); }
	8% { opacity: 1; transform: translate(calc(var(--hx) * var(--u)), calc(var(--hy) * var(--u))) rotate(-8deg) scale(1.05); }
	20% { opacity: 1; transform: translate(calc(220 * var(--u)), calc(290 * var(--u))) rotate(4deg) scale(1.05); }
	21.5% { opacity: 1; transform: translate(calc(220 * var(--u)), calc(290 * var(--u))) rotate(0deg) scale(1); }
	24%, 100% { opacity: 0; transform: translate(calc(220 * var(--u)), calc(305 * var(--u))) rotate(0deg) scale(.25); }
}

@keyframes lsb-hx-cursor-boy {
	0% { opacity: 0; transform: translate(calc((var(--sx) + 104) * var(--u)), calc((var(--sy) + 122) * var(--u))) scale(1); }
	3%, 6.5% { opacity: 1; transform: translate(calc((var(--hx) + 104) * var(--u)), calc((var(--hy) + 122) * var(--u))) scale(1); }
	7.2% { opacity: 1; transform: translate(calc((var(--hx) + 104) * var(--u)), calc((var(--hy) + 122) * var(--u))) scale(.82); }
	8% { opacity: 1; transform: translate(calc((var(--hx) + 104) * var(--u)), calc((var(--hy) + 122) * var(--u))) scale(1); }
	20% { opacity: 1; transform: translate(calc(324 * var(--u)), calc(412 * var(--u))) scale(1); }
	21.5% { opacity: 1; transform: translate(calc(324 * var(--u)), calc(412 * var(--u))) scale(.82); }
	22.5% { opacity: 1; transform: translate(calc(324 * var(--u)), calc(412 * var(--u))) scale(1); }
	28% { opacity: 1; transform: translate(calc(470 * var(--u)), calc(560 * var(--u))) scale(1); }
	31%, 100% { opacity: 0; transform: translate(calc(490 * var(--u)), calc(580 * var(--u))) scale(1); }
}

@keyframes lsb-hx-photo-girl {
	0%, 46% { opacity: 0; transform: translate(calc(var(--sx) * var(--u)), calc(var(--sy) * var(--u))) rotate(14deg) scale(.9); }
	49% { opacity: 1; transform: translate(calc(var(--hx) * var(--u)), calc(var(--hy) * var(--u))) rotate(7deg) scale(1); }
	53% { opacity: 1; transform: translate(calc(var(--hx) * var(--u)), calc(var(--hy) * var(--u))) rotate(7deg) scale(1.05); }
	63% { opacity: 1; transform: translate(calc(395 * var(--u)), calc(150 * var(--u))) rotate(4deg) scale(1.05); }
	64.5% { opacity: 1; transform: translate(calc(395 * var(--u)), calc(150 * var(--u))) rotate(8deg) scale(1); }
	67%, 100% { opacity: 0; transform: translate(calc(395 * var(--u)), calc(165 * var(--u))) rotate(8deg) scale(.25); }
}

@keyframes lsb-hx-cursor-girl {
	0%, 46% { opacity: 0; transform: translate(calc((var(--sx) + 104) * var(--u)), calc((var(--sy) + 122) * var(--u))) scale(1); }
	49%, 52% { opacity: 1; transform: translate(calc((var(--hx) + 104) * var(--u)), calc((var(--hy) + 122) * var(--u))) scale(1); }
	52.7% { opacity: 1; transform: translate(calc((var(--hx) + 104) * var(--u)), calc((var(--hy) + 122) * var(--u))) scale(.82); }
	53.5% { opacity: 1; transform: translate(calc((var(--hx) + 104) * var(--u)), calc((var(--hy) + 122) * var(--u))) scale(1); }
	63% { opacity: 1; transform: translate(calc(499 * var(--u)), calc(272 * var(--u))) scale(1); }
	64.5% { opacity: 1; transform: translate(calc(499 * var(--u)), calc(272 * var(--u))) scale(.82); }
	65.5% { opacity: 1; transform: translate(calc(499 * var(--u)), calc(272 * var(--u))) scale(1); }
	71% { opacity: 1; transform: translate(calc(560 * var(--u)), calc(470 * var(--u))) scale(1); }
	74%, 100% { opacity: 0; transform: translate(calc(575 * var(--u)), calc(490 * var(--u))) scale(1); }
}

@keyframes lsb-hx-glow-f { 0%, 13% { opacity: 0; } 18%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes lsb-hx-glow-r { 0%, 56% { opacity: 0; } 61%, 65% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes lsb-hx-load-f { 0%, 22.5% { opacity: 0; } 24%, 36% { opacity: 1; } 37.5%, 100% { opacity: 0; } }
@keyframes lsb-hx-load-r { 0%, 65.5% { opacity: 0; } 67%, 79% { opacity: 1; } 80.5%, 100% { opacity: 0; } }
@keyframes lsb-hx-bar-f { 0%, 23.5% { width: 0; } 36%, 100% { width: 100%; } }
@keyframes lsb-hx-bar-r { 0%, 66.5% { width: 0; } 79%, 100% { width: 100%; } }
@keyframes lsb-hx-hide-f { 0%, 36.5% { opacity: 1; } 37.5%, 100% { opacity: 0; } }
@keyframes lsb-hx-hide-r { 0%, 79.5% { opacity: 1; } 80.5%, 100% { opacity: 0; } }
@keyframes lsb-hx-show-f { 0%, 36.5% { opacity: 0; } 37.5%, 100% { opacity: 1; } }
@keyframes lsb-hx-show-r { 0%, 79.5% { opacity: 0; } 80.5%, 100% { opacity: 1; } }
@keyframes lsb-hx-kid-f { 0%, 36.5% { opacity: 0; transform: scale(.55); } 39% { opacity: 1; transform: scale(1.14); } 41.5%, 100% { opacity: 1; transform: scale(1); } }
@keyframes lsb-hx-kid-r { 0%, 79.5% { opacity: 0; transform: scale(.55); } 82% { opacity: 1; transform: scale(1.14); } 84.5%, 100% { opacity: 1; transform: scale(1); } }
@keyframes lsb-hx-burst-f { 0%, 37% { opacity: 0; transform: scale(.3); } 39.5% { opacity: 1; transform: scale(1); } 45%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes lsb-hx-burst-r { 0%, 80% { opacity: 0; transform: scale(.3); } 82.5% { opacity: 1; transform: scale(1); } 88%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes lsb-hx-tag-f { 0%, 39% { opacity: 0; transform: translateY(10px); } 41.5%, 100% { opacity: 1; transform: none; } }
@keyframes lsb-hx-tag-r { 0%, 82% { opacity: 0; transform: translateY(10px); } 84.5%, 100% { opacity: 1; transform: none; } }
@keyframes lsb-hx-step1 { 0%, 2% { opacity: 0; } 3.5%, 23% { opacity: 1; } 24.5%, 47% { opacity: 0; } 48.5%, 66% { opacity: 1; } 67.5%, 100% { opacity: 0; } }
@keyframes lsb-hx-step2 { 0%, 23% { opacity: 0; } 24.5%, 37% { opacity: 1; } 38.5%, 66% { opacity: 0; } 67.5%, 80% { opacity: 1; } 81.5%, 100% { opacity: 0; } }
@keyframes lsb-hx-step3 { 0%, 37% { opacity: 0; } 38.5%, 46% { opacity: 1; } 47.5%, 80% { opacity: 0; } 81.5%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.lsb-demo .lsb-hx,
	.lsb-demo__spinner { animation: none; }
}

.lsb-blob {
	position: absolute;
	pointer-events: none;
	animation: lsb-blob 14s ease-in-out infinite;
}

.lsb-blob--a { left: -160px; top: -140px; width: 560px; fill: #dfe5fd; }
.lsb-blob--b { right: -120px; bottom: -180px; width: 520px; fill: #fdebc2; animation-delay: -6s; }

.lsb-stars {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.lsb-stars__gold { fill: var(--lsb-gold); }
.lsb-stars__blue { fill: #9faaf0; }

.lsb-stars g > *,
.lsb-stars circle {
	transform-box: fill-box;
	transform-origin: center;
	animation: lsb-twinkle 3.2s ease-in-out infinite;
}

.lsb-stars g > :nth-child(2) { animation-delay: -1.1s; }
.lsb-stars g > :nth-child(3) { animation-delay: -2.2s; }

/* ------------------------------------------------------------------- Books */

/* A page: image with its text box. Font size is in points on a ~20 cm (567 pt) page, scaled to the width. */
.lsb-book {
	position: relative;
	container-type: inline-size;
	border-radius: 5px 16px 16px 5px;
	overflow: hidden;
	background: var(--lsb-sky);
	box-shadow: 0 22px 40px -18px rgba(20, 17, 43, .55);
}

.lsb-book::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 10px 0 0 rgba(0, 0, 0, .08);
	pointer-events: none;
}

.lsb-book__image {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.lsb-book__text {
	position: absolute;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center; /* The text sits in the middle of its box (PageLayout rectangle). */
	padding: 2.5cqw 3cqw;
	border-radius: 2cqw;
	font-family: var(--lsb-text);
	font-size: calc(var(--lsb-size, 18) / 567 * 100cqw);
	line-height: 1.35;
	font-weight: 700;
	white-space: pre-line;
}

.lsb-book__text:empty { display: none; }

/* ----------------------------------------------------------------- Marquee */

.lsb-marquee {
	background: var(--lsb-ink);
	color: #fff;
	overflow: hidden;
	padding: 16px 0;
}

.lsb-marquee__track {
	display: flex;
	width: max-content;
	gap: 44px;
	font-family: var(--lsb-display);
	font-weight: 700;
	font-size: 20px;
	white-space: nowrap;
	animation: lsb-marquee 38s linear infinite;
}

.lsb-marquee b { color: var(--lsb-gold); font-weight: 400; }

/* ------------------------------------------------------------ How it works */

.lsb-how {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.lsb-how__step {
	background: #fff;
	border: 1px solid var(--lsb-line);
	border-radius: 26px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform .3s var(--lsb-ease), box-shadow .3s;
}

.lsb-how__step:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 40px -26px rgba(20, 17, 43, .45);
}

.lsb-how__step h3 { font-size: 22px; }
.lsb-how__step p { color: var(--lsb-muted); line-height: 1.6; }

.lsb-how__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.lsb-icon {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: var(--lsb-sky);
	color: var(--lsb-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .35s var(--lsb-spring);
}

.lsb-how__step:hover .lsb-icon { transform: rotate(-8deg) scale(1.1); }

.lsb-how__n {
	font-family: var(--lsb-display);
	font-weight: 800;
	font-size: 44px;
	color: #e3e7fb;
}

.lsb-how__step--accent { background: var(--lsb-blue); border-color: var(--lsb-blue); color: #fff; }
.lsb-how__step--accent p { color: #e1e5ff; }
.lsb-how__step--accent .lsb-icon { background: var(--lsb-gold); color: var(--lsb-ink); }
.lsb-how__step--accent .lsb-how__n { color: #4a5de0; }

/* ----------------------------------------------------------------- Filters */

.lsb-filters {
	display: grid;
	gap: 16px;
	margin-bottom: 36px;
}

.lsb-filters__group {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.lsb-filters__group legend {
	float: left;
	padding: 0;
	margin-right: 4px;
	font-weight: 800;
	font-size: 14px;
	color: var(--lsb-muted);
}

.lsb-filters__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}

.lsb-filters__select {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 14px;
	color: var(--lsb-muted);
}

.lsb-filters__select select,
.lsb-field select {
	appearance: none;
	-webkit-appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23171a3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	padding-right: 40px !important;
	cursor: pointer;
}

.lsb-filters__select select {
	font-weight: 700;
	color: var(--lsb-ink);
	min-height: 46px;
	padding: 10px 16px;
	border: 1.5px solid #ddd6f0;
	border-radius: 14px;
}

.lsb-filters__reset {
	justify-self: start;
	font-weight: 700;
	font-size: 14px;
}

/* Boy/girl and style of the covers, kept in the browser (catalogue.js). */
.lsb-prefs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin: -12px 0 28px;
	padding: 14px 18px;
	border-radius: 18px;
	background: var(--lsb-sky);
}

.lsb-prefs[hidden] { display: none; }

/* Hidden radio/checkbox + styled span: filter chips, gender, styles. */
.lsb-chip input,
.lsb-segment input,
.lsb-style input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lsb-chip span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1.5px solid #ddd6f0;
	background: #fff;
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .15s;
}

.lsb-chip span:hover {
	transform: translateY(-1px);
	border-color: var(--lsb-ink);
}

.lsb-chip i {
	font-style: normal;
	min-width: 24px;
	height: 24px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	background: var(--lsb-sky);
	color: var(--lsb-blue-dark);
	margin-right: -6px;
}

.lsb-chip input:checked + span {
	background: var(--lsb-ink);
	border-color: var(--lsb-ink);
	color: #fff;
}

.lsb-chip input:checked + span i {
	background: var(--lsb-gold);
	color: var(--lsb-ink);
}

.lsb-chip--small span {
	min-height: 40px;
	padding: 8px 14px;
	font-size: 14px;
}

.lsb-chip input:focus-visible + span,
.lsb-segment input:focus-visible + span,
.lsb-style input:focus-visible + .lsb-style__card {
	outline: 3px solid var(--lsb-gold);
	outline-offset: 3px;
}

/* -------------------------------------------------------------- Story cards */

.lsb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 30px;
}

.lsb-card {
	background: #fff;
	border: 1px solid var(--lsb-line);
	border-radius: 28px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px -22px rgba(20, 17, 43, .35);
	transition: transform .45s var(--lsb-ease), box-shadow .45s;
	animation: lsb-pop .6s var(--lsb-ease) both;
}

.lsb-card:nth-child(2) { animation-delay: .08s; }
.lsb-card:nth-child(3) { animation-delay: .16s; }

.lsb-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 34px 60px -30px rgba(20, 17, 43, .5);
}

.lsb-card__cover {
	position: relative;
	display: block;
	background: var(--lsb-tint, var(--lsb-sky));
	padding: 34px 44px 30px 36px;
	perspective: 1100px;
}

/* Page edges on the right, and a 3D turn on hover. */
.lsb-card__cover .lsb-book {
	overflow: visible;
	transform-origin: left center;
	transition: transform .6s var(--lsb-ease);
	box-shadow: 4px 0 0 -1px #fff, 5px 0 0 -1px #e5e7f2, 8px 0 0 -2px #fff, 9px 0 0 -2px #e5e7f2, 0 22px 40px -18px rgba(20, 17, 43, .55);
}

.lsb-card__cover .lsb-book__image {
	border-radius: 5px 14px 14px 5px;
}

.lsb-card:hover .lsb-card__cover .lsb-book {
	transform: rotateY(-16deg) translateX(-4px);
}

.lsb-card__tier {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--lsb-gold);
	font-weight: 800;
	font-size: 13px;
	color: var(--lsb-ink);
	padding: 7px 13px;
	border-radius: 999px;
	box-shadow: 0 8px 16px -8px rgba(20, 17, 43, .4);
	transition: transform .35s var(--lsb-spring);
}

.lsb-card:hover .lsb-card__tier { transform: rotate(-6deg) scale(1.08); }

.lsb-card__body {
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.lsb-card__body h3 { font-size: 25px; letter-spacing: -0.025em; }
.lsb-card__body h3 a { color: var(--lsb-ink) !important; text-decoration: none; }
.lsb-card__body > p { color: var(--lsb-muted); line-height: 1.62; flex: 1; }

.lsb-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	padding-top: 18px;
	border-top: 1px dashed var(--lsb-line);
}

.lsb-card__footer > div { line-height: 1.15; }
.lsb-price { font-family: var(--lsb-display); font-size: 27px; letter-spacing: -0.02em; display: block; }
.lsb-card__meta { color: var(--lsb-muted); font-size: 14px; }

.lsb-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.lsb-tag {
	background: var(--lsb-sky);
	color: var(--lsb-blue-dark);
	font-weight: 800;
	font-size: 13px;
	padding: 6px 11px;
	border-radius: 9px;
}

.lsb-tag--light { background: #f3f4f8; color: var(--lsb-muted); }

.lsb-empty {
	border: 2px dashed #ddd6f0;
	border-radius: 28px;
	padding: 60px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: var(--lsb-muted);
}

.lsb-empty svg { color: var(--lsb-blue); }
.lsb-empty h3 { font-size: 26px; color: var(--lsb-ink); }

/* ------------------------------------------------------------- Styles band */

.lsb-styles-band {
	position: relative;
	overflow: hidden;
	background: var(--lsb-night);
	color: #fff;
	margin-top: 90px;
}

.lsb-styles-band .lsb-section { position: relative; padding-bottom: 110px; }
.lsb-styles-band .lsb-eyebrow { color: var(--lsb-gold); }
.lsb-styles-band .lsb-section__head p { color: #c9ceea; }

.lsb-style-samples {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}

.lsb-style-sample {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: transform .45s var(--lsb-ease);
}

.lsb-style-sample:hover { transform: translateY(-8px) rotate(-1.5deg); }

.lsb-style-sample img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 24px;
	transition: box-shadow .45s;
}

.lsb-style-sample:hover img { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }

.lsb-style-sample figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lsb-style-sample figcaption span {
	background: var(--lsb-gold);
	color: var(--lsb-ink);
	font-weight: 800;
	font-size: 13px;
	padding: 5px 12px;
	border-radius: 999px;
}

.lsb-style-sample strong { font-family: var(--lsb-display); font-size: 24px; }

/* --------------------------------------------------------------------- FAQ */

.lsb-faq { display: grid; gap: 12px; }

.lsb-faq__item {
	background: var(--lsb-soft);
	border-radius: 22px;
	padding: 4px 24px;
}

.lsb-faq__item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-family: var(--lsb-display);
	font-weight: 700;
	font-size: 20px;
}

.lsb-faq__item summary::-webkit-details-marker { display: none; }

.lsb-faq__plus {
	position: relative;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	transition: transform .3s var(--lsb-ease), background .3s;
}

.lsb-faq__plus::before,
.lsb-faq__plus::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 2.6px;
	border-radius: 2px;
	background: var(--lsb-ink);
	transform: translate(-50%, -50%);
	transition: background .3s;
}

.lsb-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.lsb-faq__item[open] .lsb-faq__plus { transform: rotate(45deg); background: var(--lsb-blue); }
.lsb-faq__item[open] .lsb-faq__plus::before,
.lsb-faq__item[open] .lsb-faq__plus::after { background: #fff; }

.lsb-faq__item p {
	padding-bottom: 20px;
	color: var(--lsb-muted);
	line-height: 1.65;
}

.lsb-faq__item[open] p { animation: lsb-up .4s var(--lsb-ease) both; }

/* --------------------------------------------------------------------- CTA */

.lsb-cta {
	position: relative;
	overflow: hidden;
	background: var(--lsb-night);
	color: #fff;
	border-radius: 36px;
	padding: 64px 48px;
	margin-bottom: 70px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.lsb-cta::before {
	content: "";
	position: absolute;
	right: -80px;
	top: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: var(--lsb-grad);
	opacity: .55;
	filter: blur(30px);
	animation: lsb-blob 14s ease-in-out infinite;
}

.lsb-cta > * { position: relative; }
.lsb-cta > div { max-width: 620px; }
.lsb-cta h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
.lsb-cta h2 { color: #fff; }
.lsb-cta p { margin-top: 14px; font-size: 18px; color: #d6d0f5; }

/* ------------------------------------------------------------------ Footer */

.lsb-footer {
	border-top: 1px solid var(--lsb-line);
	background: #fff;
}

.lsb-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	font-size: 14px;
	color: var(--lsb-muted);
}

.lsb-footer__brand .lsb-logo__name { font-size: 22px; }
.lsb-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }
.lsb-footer a { color: var(--lsb-muted) !important; text-decoration: none; }
.lsb-footer a:hover { color: var(--lsb-ink) !important; }

/* ----------------------------------------------------- Step 1: story page */

.lsb-stage {
	position: relative;
	overflow: hidden;
	margin-top: 26px;
	background: #e8f3e6;
	border-radius: 32px;
	padding: 40px 40px 26px;
}

.lsb-stage::before {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: #d7ebd3;
}

.lsb-live {
	position: absolute;
	top: 18px;
	left: 20px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: 999px;
	padding: 7px 14px 7px 10px;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 6px 16px -10px rgba(20, 17, 43, .5);
}

.lsb-live i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--lsb-ok);
	animation: lsb-pulse 1.6s ease-out infinite;
}

.lsb-stage__book {
	position: relative;
	max-width: 540px;
	margin: 0 auto;
}

.lsb-book--large {
	box-shadow: 0 40px 70px -30px rgba(20, 17, 43, .6);
	border-radius: 6px 20px 20px 6px;
}

.lsb-book.is-turning {
	animation: lsb-turn .6s var(--lsb-ease) both;
	transform-origin: left center;
}

.lsb-stage__nav {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.lsb-thumb {
	width: 76px;
	padding: 4px;
	border: 3px solid transparent;
	border-radius: 14px;
	background: rgba(255, 255, 255, .6);
	cursor: pointer;
	transition: transform .25s var(--lsb-spring), border-color .2s, background .2s;
}

.lsb-thumb img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 9px;
}

.lsb-thumb:hover { transform: translateY(-3px); }

.lsb-thumb[aria-pressed="true"] {
	border-color: var(--lsb-ink);
	background: #fff;
	transform: translateY(-4px);
}

.lsb-stage__hint {
	position: relative;
	margin-top: 16px !important;
	text-align: center;
	font-size: 14px;
	color: #3d5a40;
}

.lsb-tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
}

.lsb-tiles li {
	background: #fff;
	border-radius: 20px;
	padding: 20px;
	font-size: 14px;
	color: var(--lsb-muted);
	box-shadow: 0 0 0 1px var(--lsb-line);
	transition: transform .25s var(--lsb-spring);
}

.lsb-tiles li:hover { transform: translateY(-3px); }
.lsb-tiles svg { color: var(--lsb-blue); margin-bottom: 10px; }
.lsb-tiles strong { display: block; font-family: var(--lsb-display); font-size: 19px; color: var(--lsb-ink); }

/* ------------------------------------------------------------------- Forms */

.lsb-form,
.lsb-customize {
	display: grid;
	gap: 20px;
}

.lsb-customize > h2 + p { margin-top: -14px; }

.lsb-field {
	display: grid;
	gap: 8px;
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.lsb-field > span,
.lsb-field > legend,
.lsb-field__label {
	font-weight: 800;
	font-size: 15px;
	padding: 0;
}

.lsb-field > legend { margin-bottom: 10px; }

.lsb-field__label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
}

.lsb-field__label small {
	font-weight: 600;
	font-size: 13px;
	color: var(--lsb-muted-2);
}

.lsb-field input[type="text"],
.lsb-field input[type="email"],
.lsb-field input[type="tel"],
.lsb-field input[type="password"],
.lsb-field select,
.lsb-field textarea {
	width: 100%;
	min-height: 54px;
	padding: 14px 16px;
	border: 1.5px solid var(--lsb-line);
	border-radius: 16px;
	background-color: var(--lsb-soft);
	color: var(--lsb-ink);
	font-weight: 700;
	font-size: 16px;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.lsb-field textarea { resize: vertical; min-height: 96px; }
.lsb-field select { padding-right: 40px; }
.lsb-field input:hover,
.lsb-field select:hover,
.lsb-field textarea:hover { border-color: #b7bee8; }

.lsb-field input:focus,
.lsb-field select:focus,
.lsb-field textarea:focus {
	outline: none;
	background-color: #fff;
	border-color: var(--lsb-blue);
	box-shadow: 0 0 0 4px var(--lsb-sky-2);
}

.lsb-field ::placeholder { color: #8a8fab; font-weight: 600; }

.lsb-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.lsb-field--grow { flex: 2 1 180px; }
.lsb-field--age { flex: 1 1 110px; }

.lsb-hint {
	font-size: 14px;
	color: var(--lsb-muted-2);
	margin-top: 10px !important;
}

.lsb-honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Boy / girl switch with a sliding thumb. */
.lsb-segment {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	background: #f1f3f9;
	padding: 6px;
	border-radius: 18px;
}

.lsb-segment__thumb {
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 6px;
	width: calc(50% - 6px);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 6px 16px -8px rgba(20, 17, 43, .4);
	transition: transform .4s cubic-bezier(.3, 1.3, .5, 1);
}

.lsb-segment:has(label:nth-of-type(2) input:checked) .lsb-segment__thumb {
	transform: translateX(100%);
}

.lsb-segment label { position: relative; z-index: 1; }

.lsb-segment span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border-radius: 13px;
	font-weight: 700;
	color: var(--lsb-muted-2);
	cursor: pointer;
	transition: color .3s;
}

.lsb-segment input:checked + span { color: var(--lsb-ink); font-weight: 800; }

.lsb-styles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

/* Language of the book (Réglages → Langues): the note shows once a translated language is chosen. */
.lsb-languages__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lsb-languages__note {
	display: none;
	margin-top: 8px;
}

.lsb-languages:has(input[data-lsb-translated]:checked) .lsb-languages__note { display: block; }

.lsb-style__card {
	position: relative;
	display: block;
	padding: 6px 6px 10px;
	border: 2.5px solid var(--lsb-line);
	border-radius: 18px;
	background: #fff;
	text-align: center;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	transition: transform .25s var(--lsb-spring), border-color .2s, background .2s;
}

.lsb-style__card:hover { transform: translateY(-3px); }

.lsb-style__card img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 11px;
	margin-bottom: 8px;
}

.lsb-style__check {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--lsb-blue);
	border: 3px solid #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0);
	transition: transform .35s var(--lsb-spring);
}

.lsb-style input:checked + .lsb-style__card {
	border-color: var(--lsb-blue);
	background: var(--lsb-sky);
}

.lsb-style input:checked + .lsb-style__card .lsb-style__check { transform: scale(1); }

.lsb-pricebox {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-radius: 20px;
	padding: 18px 20px;
	background: var(--lsb-ink);
	color: #fff;
}

.lsb-pricebox small { display: block; font-weight: 700; font-size: 13px; color: #c9ceea; }
.lsb-pricebox strong { font-family: var(--lsb-display); font-size: 34px; letter-spacing: -0.03em; line-height: 1.05; }
.lsb-pricebox p { text-align: right; font-size: 13px; color: #c9ceea; line-height: 1.5; }
.lsb-pricebox b { color: var(--lsb-gold); }

/* ---------------------------------------------------------- Step 2: photos */

.lsb-photos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.lsb-slot {
	margin: 0;
	min-height: 300px;
	border-radius: 24px;
}

.lsb-slot.is-filled {
	background: #fff;
	padding: 12px;
	box-shadow: 0 16px 40px -28px rgba(20, 17, 43, .5), 0 0 0 1px var(--lsb-line);
	animation: lsb-pop .55s var(--lsb-ease) both;
}

.lsb-slot__image {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: var(--lsb-sky);
}

.lsb-slot__image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* A scan line crosses each new photo once. */
.lsb-slot__image::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--lsb-gold);
	box-shadow: 0 0 14px var(--lsb-gold);
	animation: lsb-scan 1.1s .3s ease-in-out both;
}

.lsb-slot__small { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--lsb-gold); color: var(--lsb-night); font-style: normal; font-size: 11px; font-weight: 800; }

.lsb-slot__ok {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	background: #fff;
	color: var(--lsb-ok-ink);
	font-weight: 800;
	font-size: 12px;
	padding: 6px 11px;
	border-radius: 999px;
	box-shadow: 0 6px 14px -8px rgba(20, 17, 43, .5);
}

.lsb-slot figcaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 4px 2px;
	font-size: 14px;
	font-weight: 800;
}

.lsb-slot figcaption form { margin: 0; }

.lsb-slot--drop { display: flex; }

.lsb-dropzone {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 18px;
	text-align: center;
	border: 2.5px dashed #9faaf0;
	border-radius: 24px;
	background: #f4f6ff;
	cursor: pointer;
	transition: background .25s, border-color .25s, transform .25s;
}

.lsb-dropzone:hover,
.lsb-dropzone.is-over {
	background: #ebeeff;
	border-color: var(--lsb-blue);
	transform: translateY(-3px);
}

.lsb-dropzone input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.lsb-dropzone strong { font-family: var(--lsb-display); font-size: 20px; }

.lsb-dropzone span[data-lsb-files] {
	font-size: 14px;
	color: var(--lsb-muted);
	line-height: 1.5;
}

.lsb-dropzone__icon {
	position: relative;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--lsb-blue);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 24px -10px rgba(109, 61, 245, .8);
	animation: lsb-bob 2.4s ease-in-out infinite;
}

.lsb-dropzone__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid var(--lsb-blue);
	animation: lsb-ring 1.8s ease-out infinite;
}

.lsb-dropzone.is-sending .lsb-dropzone__icon::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: var(--lsb-gold);
	animation: lsb-spin .8s linear infinite;
}

.lsb-slot--empty {
	border: 2px dashed var(--lsb-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--lsb-muted-2);
	font-weight: 800;
	overflow: hidden;
}

.lsb-slot--empty > span {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #eef0f6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--lsb-display);
	font-size: 20px;
}

/* Local preview of a chosen photo, before it is sent. */
.lsb-slot--empty.has-preview {
	border: 0;
	padding: 0;
	animation: lsb-pop .5s var(--lsb-ease) both;
}

.lsb-slot--empty.has-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
}

.lsb-meter {
	margin-top: 22px;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
}

.lsb-meter__bar {
	flex: 1;
	height: 12px;
	border-radius: 999px;
	background: var(--lsb-line);
	overflow: hidden;
}

.lsb-meter__bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--lsb-blue);
	animation: lsb-grow 1s .3s cubic-bezier(.3, 1.2, .5, 1) both;
	transform-origin: left;
}

.lsb-meter__bar.is-full i { background: var(--lsb-ok); }

.lsb-tips {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin-top: 32px;
}

.lsb-tips__card {
	background: #fff;
	border-radius: 24px;
	padding: 26px;
	box-shadow: 0 0 0 1px var(--lsb-line);
}

.lsb-tips__card h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px !important;
	margin-bottom: 16px !important;
}

.lsb-tips__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.lsb-tips__icon--ok { background: var(--lsb-ok-soft); color: var(--lsb-ok-ink); }
.lsb-tips__icon--no { background: var(--lsb-error-soft); color: var(--lsb-error); }

.lsb-tips ul {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 9px;
	color: #3a3f60;
}

.lsb-privacy {
	margin-top: 18px;
	display: flex;
	gap: 16px;
	align-items: center;
	background: var(--lsb-ink);
	color: #e4e7fa;
	border-radius: 24px;
	padding: 22px 26px;
	line-height: 1.6;
}

.lsb-privacy > span {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #24204a;
	color: var(--lsb-gold);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------------------------------------------------------- Step 3: address */

.lsb-address {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	box-shadow: 0 0 0 1px var(--lsb-line);
}

.lsb-address__wide { grid-column: 1 / -1; }

.lsb-next {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}

.lsb-next li {
	background: #fff;
	border-radius: 22px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--lsb-muted);
	box-shadow: 0 0 0 1px var(--lsb-line);
	transition: transform .3s var(--lsb-ease);
}

.lsb-next li:hover { transform: translateY(-4px); }

.lsb-next span {
	width: 40px;
	height: 40px;
	border-radius: 14px;
	background: var(--lsb-sky);
	color: var(--lsb-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}

.lsb-next strong { font-family: var(--lsb-display); font-size: 18px; color: var(--lsb-ink); }

/* --------------------------------------------------------------- Recap box */

.lsb-recap { display: grid; gap: 16px; padding: 26px; }

.lsb-recap__cover {
	background: #e8f3e6;
	border-radius: 22px;
	padding: 24px 24px 26px;
	display: flex;
	justify-content: center;
}

.lsb-recap__cover .lsb-book {
	width: 190px;
	transform: rotate(-4deg);
	animation: lsb-float 6s ease-in-out infinite;
	--lsb-r: -4deg;
}

.lsb-recap h2 { font-size: 22px; line-height: 1.15; }

.lsb-recap__list {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px 16px;
	font-size: 15px;
}

.lsb-recap__list dt { color: var(--lsb-muted-2); }
.lsb-recap__list dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.lsb-recap__dedication { font-weight: 600 !important; font-style: italic; }

.lsb-recap__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px dashed var(--lsb-line);
	font-weight: 800;
}

.lsb-recap__total strong { font-family: var(--lsb-display); font-size: 32px; letter-spacing: -0.03em; }

/* Promo code: the field under the total, or the applied code above it. */
.lsb-coupon { font-size: 14px; }
.lsb-coupon summary { cursor: pointer; font-weight: 800; color: var(--lsb-blue); }
.lsb-coupon__form { display: flex; gap: 8px; margin-top: 10px; }
.lsb-coupon__form input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1.5px solid var(--lsb-line);
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.lsb-coupon__form input:focus { outline: none; border-color: var(--lsb-blue); }
.lsb-coupon__form .lsb-button { padding: 10px 18px; }
.lsb-coupon.is-applied {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: 16px;
	background: var(--lsb-ok-soft);
	color: var(--lsb-ok-ink);
	font-weight: 700;
}
.lsb-coupon.is-applied s { margin-left: 6px; color: var(--lsb-muted); font-weight: 600; }
.lsb-coupon.is-applied form { margin: 0; }
.lsb-coupon__remove {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}
.lsb-free { display: grid; gap: 14px; }

.lsb-recap .lsb-hint { margin-top: -6px !important; }

.lsb-usd {
	background: var(--lsb-gold-soft);
	border-radius: 16px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.5;
}

.lsb-missing {
	margin: 0;
	padding: 12px 14px 12px 32px;
	border-radius: 16px;
	background: var(--lsb-error-soft);
	color: var(--lsb-error);
	font-size: 14px;
	font-weight: 700;
}

.lsb-secure {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 13px;
	color: var(--lsb-muted);
}

.lsb-secure svg { flex: none; }

.lsb-ok { color: var(--lsb-ok-ink) !important; font-weight: 800; }

.lsb-missing--info {
	padding-left: 14px;
	background: var(--lsb-sky);
	color: var(--lsb-blue-dark);
}

/* Payment: consent box, then the PayPal buttons (locked until it is ticked). */
.lsb-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px;
	border-radius: 16px;
	background: var(--lsb-soft);
	box-shadow: inset 0 0 0 1.5px var(--lsb-line);
	font-size: 14px;
	line-height: 1.5;
	font-weight: 600;
	cursor: pointer;
	transition: box-shadow .2s, background .2s;
}

.lsb-consent:hover { box-shadow: inset 0 0 0 1.5px #b7bee8; }

.lsb-consent input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.lsb-consent__box {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: #fff;
	box-shadow: inset 0 0 0 2px #b7bee8;
	color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, box-shadow .2s, transform .3s var(--lsb-spring);
}

.lsb-consent:has(input:checked) {
	background: var(--lsb-ok-soft);
	box-shadow: inset 0 0 0 1.5px rgba(31, 154, 84, .35);
}

.lsb-consent input:checked + .lsb-consent__box {
	background: var(--lsb-ok);
	box-shadow: none;
	color: #fff;
	transform: scale(1.08);
}

.lsb-consent input:focus-visible + .lsb-consent__box {
	outline: 3px solid var(--lsb-gold);
	outline-offset: 2px;
}

.lsb-paypal {
	position: relative;
	min-height: 104px;
	transition: opacity .3s, filter .3s;
}

.lsb-paypal.is-locked { opacity: .45; filter: grayscale(.6); }

.lsb-paypal__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 104px;
	border-radius: 999px;
	color: var(--lsb-muted-2);
	font-size: 14px;
	font-weight: 700;
}

.lsb-paypal__busy {
	position: absolute;
	inset: -6px;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .92);
	font-weight: 800;
}

.lsb-paypal.is-busy .lsb-paypal__busy { display: flex; }

.lsb-spinner {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid var(--lsb-sky-2);
	border-top-color: var(--lsb-blue);
	animation: lsb-spin .8s linear infinite;
}

.lsb-pay-msg { font-size: 14px; font-weight: 700; }
.lsb-pay-msg:empty { display: none; }
.lsb-pay-msg.is-error { color: var(--lsb-error); }
.lsb-pay-msg.is-wait { color: var(--lsb-blue-dark); }

.lsb-sandbox {
	font-size: 13px;
	font-weight: 700;
	color: #7a5600;
	background: repeating-linear-gradient(-45deg, var(--lsb-gold-soft) 0 10px, #fdebbd 10px 20px);
	border-radius: 12px;
	padding: 8px 12px;
}

/* Confetti bursting out of the button when the 3rd photo arrives. */
.lsb-cta-wrap { position: relative; }

.lsb-confetti {
	position: absolute;
	left: 50%;
	top: 50%;
	pointer-events: none;
}

.lsb-confetti i {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--lsb-blue);
	animation: lsb-burst 1.2s var(--lsb-ease) both;
}

.lsb-confetti i:nth-child(5n + 2) { background: var(--lsb-gold); }
.lsb-confetti i:nth-child(5n + 3) { background: var(--lsb-ok); }
.lsb-confetti i:nth-child(5n + 4) { background: #e0663f; }
.lsb-confetti i:nth-child(5n + 5) { background: #9faaf0; }
/* 18 directions around the button. */
.lsb-confetti i:nth-child(1) { --x: 160px; --y: 0px; }
.lsb-confetti i:nth-child(2) { --x: 150px; --y: 45px; }
.lsb-confetti i:nth-child(3) { --x: 110px; --y: 95px; }
.lsb-confetti i:nth-child(4) { --x: 50px; --y: 120px; }
.lsb-confetti i:nth-child(5) { --x: -20px; --y: 110px; }
.lsb-confetti i:nth-child(6) { --x: -90px; --y: 100px; }
.lsb-confetti i:nth-child(7) { --x: -150px; --y: 60px; }
.lsb-confetti i:nth-child(8) { --x: -170px; --y: 5px; }
.lsb-confetti i:nth-child(9) { --x: -150px; --y: -50px; }
.lsb-confetti i:nth-child(10) { --x: -100px; --y: -100px; }
.lsb-confetti i:nth-child(11) { --x: -30px; --y: -120px; }
.lsb-confetti i:nth-child(12) { --x: 40px; --y: -115px; }
.lsb-confetti i:nth-child(13) { --x: 110px; --y: -95px; }
.lsb-confetti i:nth-child(14) { --x: 160px; --y: -45px; }
.lsb-confetti i:nth-child(15) { --x: 80px; --y: 60px; }
.lsb-confetti i:nth-child(16) { --x: -70px; --y: -60px; }
.lsb-confetti i:nth-child(17) { --x: 70px; --y: -60px; }
.lsb-confetti i:nth-child(18) { --x: -70px; --y: 50px; }

/* ------------------------------------------------- Account and other pages */

.lsb-auth {
	max-width: 520px;
	margin: 56px auto 90px;
	padding: 36px;
	background: #fff;
	border-radius: 32px;
	box-shadow: var(--lsb-shadow), 0 0 0 1px var(--lsb-line);
	display: grid;
	gap: 18px;
	animation: lsb-up .7s var(--lsb-ease) both;
	width: calc(100% - 32px);
}

.lsb-auth h2 { font-size: 32px; letter-spacing: -0.035em; }
.lsb-auth > p { color: var(--lsb-muted); }
.lsb-auth p .lsb-button { margin: 4px 8px 4px 0; }
.lsb-auth .lsb-notice { margin: 0; width: auto; }

.lsb-auth__alt {
	text-align: center;
	font-size: 15px;
}

.lsb-page-title {
	max-width: 1152px;
	margin: 48px auto 24px !important;
	padding: 0 24px;
	font-size: clamp(32px, 4vw, 44px);
	letter-spacing: -0.04em;
}

.lsb > .lsb-empty {
	max-width: 1152px;
	margin: 0 auto 90px;
	width: calc(100% - 48px);
}

.lsb-orders {
	max-width: 1200px;
	margin: 0 auto 90px;
	padding: 0 24px;
	display: grid;
	gap: 14px;
}

.lsb-order-card {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #fff;
	border-radius: 24px;
	padding: 14px 18px 14px 14px;
	box-shadow: 0 0 0 1px var(--lsb-line);
	transition: transform .3s var(--lsb-ease), box-shadow .3s;
}

.lsb-order-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px -28px rgba(20, 17, 43, .5), 0 0 0 1px var(--lsb-line);
}

.lsb-order-card img {
	width: 88px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 4px 12px 12px 4px;
	flex: none;
}

.lsb-order-card__body { flex: 1; min-width: 0; }
.lsb-order-card__body h3 { font-size: 20px; margin-bottom: 4px; }
.lsb-order-card__body p { margin: 0 0 8px; color: var(--lsb-muted); font-size: 14px; }

.lsb-status {
	display: inline-block;
	font-size: 13px;
	font-weight: 800;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--lsb-sky);
	color: var(--lsb-blue-dark);
}

.lsb-status--brouillon { background: var(--lsb-gold-soft); color: #7a5600; }
.lsb-status--livree,
.lsb-status--expediee { background: var(--lsb-ok-soft); color: var(--lsb-ok-ink); }
.lsb-status--epreuve_envoyee,
.lsb-status--probleme_photo { background: var(--lsb-error-soft); color: var(--lsb-error); }
.lsb-status--en_attente_paiement { background: var(--lsb-gold-soft); color: #7a5600; }
.lsb-status--annulee,
.lsb-status--remboursee { background: #f0f1f5; color: var(--lsb-muted); }

.lsb-order-card__tracking { margin: 8px 0 0 !important; font-size: 14px; color: var(--lsb-ink) !important; font-weight: 700; }

/* --------------------------------------------------------- Nouvelles photos */

.lsb-new-photos { max-width: 960px; }
.lsb-new-photos h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.04em; margin-top: 8px; }
.lsb-new-photos .lsb-photos { margin-top: 28px; }

.lsb-team-message {
	margin-top: 24px;
	padding: 24px 28px;
	border-left: 6px solid var(--lsb-gold);
}

.lsb-team-message > h2 { font-size: 18px !important; margin-bottom: 8px !important; }
.lsb-team-message p { margin: 0; line-height: 1.6; }

.lsb-new-photos__send {
	margin-top: 32px;
	display: grid;
	justify-items: center;
	gap: 10px;
}

/* Photos: framing the face (partials/photo-frame.php, photo-crop.js) and the check after payment (PhotoCheck). */

.lsb-new-photos__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lsb-new-photos__eyebrow .lsb-eyebrow { margin: 0; }

.lsb-slot__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 4px 2px; }
.lsb-slot__actions form { margin: 0; }
.lsb-slot__actions .lsb-button { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.lsb-file-button { position: relative; overflow: hidden; cursor: pointer; }
.lsb-file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.lsb-file-button:focus-within { outline: 3px solid var(--lsb-blue); outline-offset: 2px; }
.lsb-slot__image.is-over { outline: 3px dashed var(--lsb-blue); outline-offset: -3px; }
.lsb-slot.is-sending .lsb-slot__image { opacity: .45; }

.lsb-quality-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--lsb-sky); color: var(--lsb-muted); font-style: normal; font-size: 11px; font-weight: 800; }
.lsb-quality-tag--ok { background: var(--lsb-ok-soft); color: var(--lsb-ok-ink); }
.lsb-quality-tag--mid { background: var(--lsb-gold-soft); color: #8a4b00; }
.lsb-quality-tag--bad { background: var(--lsb-error-soft); color: var(--lsb-error); }

.lsb-countdown { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--lsb-gold-soft); color: #8a4b00; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lsb-countdown strong { font-weight: 800; }
.is-expired .lsb-countdown { background: var(--lsb-sky); color: var(--lsb-muted); }
.lsb-order-card__tracking .lsb-countdown { margin-left: 4px; }

.lsb-photo-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; width: 100%; margin-top: 26px; padding: 22px 24px; border-radius: 24px; background: var(--lsb-sky); text-align: left; }
.lsb-photo-check__text { flex: 1 1 280px; min-width: 0; }
.lsb-photo-check__text h2 { margin: 0 0 6px; font-size: 21px; }
.lsb-photo-check__text p { margin: 0; color: var(--lsb-muted); line-height: 1.55; }
.lsb-photo-check__action { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.lsb-frame {
	width: min(560px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	border: 0;
	border-radius: 26px;
	background: #fff;
	color: var(--lsb-ink);
	box-shadow: var(--lsb-shadow);
	overflow: auto;
}
.lsb-frame::backdrop { background: rgba(12, 11, 29, .62); }
.lsb-frame__inner { display: grid; gap: 14px; padding: 22px; }
.lsb-frame__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lsb-frame__head h2 { margin: 0; font-size: 22px; }
.lsb-frame__lead { margin: 0; color: var(--lsb-muted); font-size: 15px; line-height: 1.5; }
.lsb-frame__stage {
	position: relative;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 1;
	margin: 0 auto;
	border-radius: 18px;
	overflow: hidden;
	background: var(--lsb-night);
	touch-action: none;
	cursor: grab;
	user-select: none;
}
.lsb-frame__stage.is-dragging { cursor: grabbing; }
.lsb-frame__stage:focus-visible { outline: 3px solid var(--lsb-blue); outline-offset: 3px; }
.lsb-frame__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lsb-frame__hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(12, 11, 29, .72); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.lsb-frame__loading { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; }
.lsb-frame__zoom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; width: 100%; max-width: 440px; margin: 0 auto; }
.lsb-frame__zoom input { width: 100%; accent-color: var(--lsb-blue); }

.lsb-frame__quality { display: grid; gap: 8px; width: 100%; max-width: 440px; margin: 0 auto; padding: 12px 16px; border-radius: 16px; background: var(--lsb-sky); transition: background .3s; }
.lsb-frame__quality[data-level=""] { visibility: hidden; }
.lsb-frame__quality-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.lsb-frame__quality-top strong { font-family: var(--lsb-display); font-size: 17px; font-weight: 600; }
.lsb-frame__quality-top span { font-family: var(--lsb-tech); font-size: 12px; color: var(--lsb-muted); font-variant-numeric: tabular-nums; }
.lsb-frame__quality p { margin: 0; font-size: 14px; line-height: 1.5; }
.lsb-frame__meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.lsb-frame__meter i { height: 6px; border-radius: 3px; background: rgba(20, 17, 43, .1); transition: background .25s; }
.lsb-frame__quality[data-tone="ok"] { background: var(--lsb-ok-soft); }
.lsb-frame__quality[data-tone="ok"] strong { color: var(--lsb-ok-ink); }
.lsb-frame__quality[data-tone="mid"] { background: var(--lsb-gold-soft); }
.lsb-frame__quality[data-tone="mid"] strong { color: #8a4b00; }
.lsb-frame__quality[data-tone="bad"] { background: var(--lsb-error-soft); }
.lsb-frame__quality[data-tone="bad"] strong { color: var(--lsb-error); }
.lsb-frame__quality[data-level="faible"] .lsb-frame__meter i:nth-child(-n+1) { background: var(--lsb-error); }
.lsb-frame__quality[data-level="moyenne"] .lsb-frame__meter i:nth-child(-n+2) { background: #e08a1e; }
.lsb-frame__quality[data-level="bonne"] .lsb-frame__meter i:nth-child(-n+3) { background: var(--lsb-ok); }
.lsb-frame__quality[data-level="excellente"] .lsb-frame__meter i { background: var(--lsb-ok); }

.lsb-frame__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 16px; width: 100%; max-width: 440px; margin: 0 auto; font-size: 13px; color: var(--lsb-muted); }
.lsb-frame__legend span { display: flex; align-items: center; gap: 8px; }
.lsb-frame__legend svg { flex: none; }
.lsb-frame__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--lsb-error-soft); color: var(--lsb-error); font-size: 14px; font-weight: 700; }
.lsb-frame__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lsb-frame [hidden],
.lsb-quality-tag[hidden],
.lsb-slot__actions[hidden],
.lsb-slot__actions form[hidden],
.lsb-photo-check [hidden] { display: none; }

@media (max-width: 520px) {
	.lsb-frame__inner { padding: 16px; gap: 12px; }
	.lsb-frame__head h2 { font-size: 19px; }
	.lsb-frame__actions .lsb-button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.lsb-frame__hint, .lsb-frame__quality, .lsb-frame__meter i { transition: none; }
}

/* ---------------------------------------------------------- Confidentialité */

.lsb-legal { max-width: 820px; line-height: 1.7; }
.lsb-legal h1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.04em; margin-top: 8px; }
.lsb-legal h2 { font-size: 24px; margin: 40px 0 12px; }
.lsb-legal p, .lsb-legal li { color: #3a3f60; }
.lsb-legal ul { padding-left: 22px; display: grid; gap: 8px; }

.lsb-legal__summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.lsb-legal__summary > div {
	display: grid;
	gap: 4px;
	background: var(--lsb-sky);
	border-radius: 20px;
	padding: 18px 20px;
	line-height: 1.45;
}

.lsb-legal__summary strong { font-family: var(--lsb-display); font-size: 22px; color: var(--lsb-blue-dark); }
.lsb-legal__summary span { font-size: 15px; color: var(--lsb-muted); }

.lsb-legal__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lsb-legal__table th, .lsb-legal__table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--lsb-line); }
.lsb-legal__table th { width: 38%; color: var(--lsb-ink); }
.lsb-legal__back { margin-top: 40px; }

@media (max-width: 640px) {
	.lsb-legal__table th, .lsb-legal__table td { display: block; width: auto; padding: 4px 0; border: 0; }
	.lsb-legal__table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--lsb-line); }
}

/* ------------------------------------------------------- Proof (Aperçu) page */

.lsb-proof__head { max-width: 760px; margin: 24px auto 36px; text-align: center; }
.lsb-proof__head h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.04em; margin-top: 8px; }
.lsb-proof__head .lsb-lead { margin-left: auto; margin-right: auto; }
.lsb-proof__head p:last-child { margin-top: 18px; }

.lsb-proof__pdf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	text-decoration: none;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--lsb-sky);
}

.lsb-proof__pages {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px 24px;
}

.lsb-proof__page { display: grid; gap: 10px; align-content: start; }
.lsb-proof__page .lsb-book { transition: transform .35s var(--lsb-ease), box-shadow .35s; }
.lsb-proof__page:hover .lsb-book { transform: translateY(-4px) rotate(-.6deg); }
.lsb-proof__caption { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 15px; }

.lsb-proof__comment textarea {
	width: 100%;
	min-height: 64px;
	resize: vertical;
	padding: 10px 12px;
	border: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--lsb-line);
	font-size: 14px;
	transition: box-shadow .2s;
}

.lsb-proof__comment textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--lsb-blue); }
.lsb-proof__comment textarea:not(:placeholder-shown) { box-shadow: inset 0 0 0 2px var(--lsb-gold); background: var(--lsb-gold-soft); }

.lsb-proof__decide {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 48px;
}

.lsb-proof__decide .lsb-panel { display: grid; gap: 14px; align-content: start; }
.lsb-proof__decide h2 { font-size: 26px; }
.lsb-proof__decide p { color: var(--lsb-muted); }
.lsb-proof__approve { box-shadow: var(--lsb-shadow), 0 0 0 2px var(--lsb-ok) !important; }
.lsb-proof > .lsb-center { margin-top: 40px; }

/* ------------------------------------------------------------ Thank-you page */

.lsb-thanks { max-width: 940px; padding-top: 48px; }

.lsb-thanks__card {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 6px;
	padding: 48px 40px 40px;
}

.lsb-thanks__card h1 {
	font-size: clamp(32px, 4.4vw, 48px);
	letter-spacing: -0.04em;
	max-width: 680px;
	margin-top: 18px;
}

.lsb-thanks__card .lsb-lead { margin-left: auto; margin-right: auto; }

.lsb-thanks__badge { width: 84px; height: 84px; }

.lsb-thanks__icon {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--lsb-ok);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 18px 36px -16px rgba(31, 154, 84, .8);
	animation: lsb-pop .7s var(--lsb-spring) both, lsb-pulse 1.6s .7s ease-out 2;
}

.lsb-thanks__badge.is-pending .lsb-thanks__icon {
	background: var(--lsb-gold);
	color: var(--lsb-ink);
	box-shadow: 0 18px 36px -16px rgba(246, 183, 49, .9);
	animation: lsb-pop .7s var(--lsb-spring) both;
}

.lsb-thanks__badge .lsb-confetti i { animation-delay: .35s; }

.lsb-thanks__book {
	margin: 28px 0 6px;
	padding: 28px 40px 32px;
	border-radius: 28px;
	background: #e8f3e6;
}

.lsb-thanks__book .lsb-book {
	width: 230px;
	transform: rotate(-3deg);
	animation: lsb-float 6s ease-in-out infinite;
	--lsb-r: -3deg;
}

.lsb-thanks .lsb-next { width: 100%; text-align: left; }

.lsb-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* -------------------------------------------------------------- Animations */

.lsb-up { animation: lsb-up .85s var(--lsb-ease) both; }
.lsb-d1 { animation-delay: .1s; }
.lsb-d2 { animation-delay: .2s; }
.lsb-d3 { animation-delay: .32s; }
.lsb-d4 { animation-delay: .45s; }
.lsb-float { animation: lsb-float 6s ease-in-out infinite; }

/* Sections slide in while scrolling, where the browser supports it (others just show them). */
@supports (animation-timeline: view()) {
	.lsb-reveal {
		animation: lsb-up linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 35%;
	}
}

@keyframes lsb-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lsb-pop { 0% { opacity: 0; transform: scale(.88); } 65% { transform: scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes lsb-float { 0%, 100% { transform: translateY(0) rotate(var(--lsb-r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--lsb-r, 0deg)); } }
@keyframes lsb-twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes lsb-draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes lsb-marquee { to { transform: translateX(-50%); } }
@keyframes lsb-shine { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
@keyframes lsb-blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.06); } }
@keyframes lsb-wiggle { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-3deg) scale(1.05); } }
@keyframes lsb-fill { from { width: var(--lsb-from); } to { width: var(--lsb-to); } }
@keyframes lsb-turn { from { opacity: 0; transform: perspective(1400px) rotateY(-24deg) translateX(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lsb-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 154, 84, .55); } 100% { box-shadow: 0 0 0 10px rgba(31, 154, 84, 0); } }
@keyframes lsb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lsb-ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes lsb-spin { to { transform: rotate(360deg); } }
@keyframes lsb-scan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes lsb-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lsb-burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(220deg); } }

@media (prefers-reduced-motion: reduce) {
	.lsb-canvas *,
	.lsb-canvas *::before,
	.lsb-canvas *::after {
		animation: none !important;
		transition: none !important;
	}

	html:has(body.lsb-canvas) { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ Mobile */

@media (max-width: 900px) {
	.lsb-split__side { position: static; }
	.lsb-nav__link--anchor { display: none; }
	.lsb-section { padding-top: 72px; }
	.lsb-hero__inner { padding: 48px 20px 72px; gap: 40px; }
	.lsb-demo { margin: 0 auto; }
	.lsb-demo__stage { --sx: -40; --sy: 600; --hx: 0; --hy: 470; }
}

@media (max-width: 640px) {
	.lsb-thanks { padding-top: 20px; }
	.lsb-thanks__card { padding: 36px 18px 26px; }
	.lsb-thanks__book { padding: 22px 28px 26px; }
	.lsb-thanks__actions .lsb-button { width: 100%; }
	.lsb-header__inner { padding: 10px 16px; }
	.lsb-logo__name { font-size: 24px; }
	.lsb-nav { gap: 6px 16px; font-size: 14px; }
	.lsb-stepper { order: 3; width: 100%; justify-content: space-between; gap: 6px; }
	.lsb-stepper__step:not(.is-current) .lsb-stepper__label { display: none; }
	.lsb-header__account { font-size: 0; gap: 0; }
	.lsb-wrap { padding: 20px 16px 72px; }
	.lsb-section { padding-left: 16px; padding-right: 16px; }
	.lsb-panel,
	.lsb-auth { padding: 22px; border-radius: 26px; }
	.lsb-stage { padding: 48px 16px 20px; border-radius: 26px; }
	.lsb-thumb { width: 60px; }
	.lsb-address { grid-template-columns: 1fr; }
	.lsb-cta { padding: 40px 24px; border-radius: 28px; }
	.lsb-card__cover { padding: 26px 34px 24px 28px; }
	.lsb-order-card { flex-wrap: wrap; }
	.lsb-pricebox strong { font-size: 28px; }
	.lsb-marquee__track { font-size: 17px; gap: 32px; }
}
