/**
 * Bookingistic — frontend styles for all form templates + calendar views.
 *
 * Design language (2.6): white elevated card, mint/lime accents, deep-green
 * selection, ink CTA, spring selection, skeleton loading, staggered pills.
 *
 * Everything is scoped under .bookingistic-form and driven by custom
 * properties. Appearance settings flow in as --bk-accent / --bk-radius /
 * --bk-font (set inline by booking-form.js); every other tint is derived
 * from --bk-accent so a custom brand color re-themes the whole form.
 * Templates add layout under .bookingistic-form--{classic|modern|split|minimal}.
 * No web fonts are loaded: the system UI font stack is used.
 */

.bookingistic-form {
	--bk-accent: #1b7257;
	--bk-radius: 20px;
	--bk-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bk-accent-strong: color-mix(in srgb, var(--bk-accent) 74%, #000);
	--bk-accent-soft: color-mix(in srgb, var(--bk-accent) 11%, #fff);
	--bk-accent-ring: color-mix(in srgb, var(--bk-accent) 35%, transparent);
	--bk-lime: #d5f078;
	--bk-ink: #17221f;
	--bk-ink-2: #22302b;
	--bk-text: #17221f;
	--bk-muted: #4d5c56;
	--bk-line: #dceae2;
	--bk-border: var(--bk-line);
	--bk-bg: #ffffff;
	--bk-soft: #f6faf7;
	--bk-danger: #b42318;
	--bk-r-sm: calc(var(--bk-radius) * .6);
	--bk-shadow: 0 1px 2px rgba(23, 34, 31, .05), 0 24px 60px -18px rgba(23, 34, 31, .22);
	--bk-shadow-sm: 0 1px 2px rgba(23, 34, 31, .06), 0 6px 16px -8px rgba(23, 34, 31, .16);
	--bk-ease: cubic-bezier(.22, 1, .36, 1);
	--bk-spring: cubic-bezier(.34, 1.56, .64, 1);
	position: relative;
	color: var(--bk-text);
	font-family: var(--bk-font);
	font-size: 16px;
	line-height: 1.5;
	text-align: start;
	-webkit-font-smoothing: antialiased;
}
.bookingistic-form *,
.bookingistic-form *::before,
.bookingistic-form *::after { box-sizing: border-box; }
.bookingistic-form h2,
.bookingistic-form h3,
.bookingistic-form p { margin-top: 0; letter-spacing: normal; text-transform: none; }
.bookingistic-form h2,
.bookingistic-form h3 { font-family: inherit; color: var(--bk-ink); letter-spacing: -.01em; }

/* Neutralise theme button styling inside the form. */
.bookingistic-form button {
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	box-shadow: none;
	background-image: none;
	min-height: 0;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}
.bookingistic-form :focus { outline: none; }
.bookingistic-form :focus-visible {
	outline: 2px solid var(--bk-accent);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--bk-accent-ring);
}

.bookingistic-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* ============ Shared primitives ============ */

.bookingistic-label {
	margin: 18px 0 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--bk-ink);
}
.bookingistic-label-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}
.bookingistic-label-row .bookingistic-hint { margin: 0 0 8px; }
.bookingistic-hint { color: var(--bk-muted); font-size: 12.5px; margin: 4px 0 10px; }

.bookingistic-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--bk-accent-soft);
	color: var(--bk-accent-strong);
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}
.bookingistic-chip--price { background: var(--bk-lime); color: var(--bk-ink); }

/* Progress: "Step 1 of 3" + 3-segment meter */
.bookingistic-progress {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	color: var(--bk-muted);
}
.bookingistic-progress__meter { display: inline-flex; gap: 4px; }
.bookingistic-progress__meter i {
	display: block;
	width: 18px; height: 4px;
	border-radius: 4px;
	background: var(--bk-line);
	transition: background .4s var(--bk-ease), width .4s var(--bk-ease);
}
.bookingistic-progress__meter i:first-child,
.bookingistic-progress[data-current="2"] .bookingistic-progress__meter i:nth-child(2),
.bookingistic-progress[data-current="3"] .bookingistic-progress__meter i { background: var(--bk-accent); }
.bookingistic-progress:not([data-current]) .bookingistic-progress__meter i:first-child,
.bookingistic-progress[data-current="1"] .bookingistic-progress__meter i:nth-child(1),
.bookingistic-progress[data-current="2"] .bookingistic-progress__meter i:nth-child(2),
.bookingistic-progress[data-current="3"] .bookingistic-progress__meter i:nth-child(3) { width: 28px; }

/* Buttons */
.bookingistic-form .bookingistic-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--bk-r-sm);
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	text-decoration: none;
	transition: transform .25s var(--bk-ease), box-shadow .25s var(--bk-ease), background-color .2s ease, opacity .2s ease;
}
.bookingistic-form .bookingistic-btn--primary {
	background: linear-gradient(180deg, var(--bk-ink-2), var(--bk-ink));
	color: #fff;
	box-shadow: 0 8px 20px -10px rgba(23, 34, 31, .6);
}
.bookingistic-form .bookingistic-btn--primary:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -12px rgba(23, 34, 31, .65);
	color: #fff;
}
.bookingistic-form .bookingistic-btn--primary:active:not(:disabled) { transform: translateY(0) scale(.99); }
.bookingistic-form .bookingistic-btn--primary:disabled {
	background: #c9d3cf;
	color: #33433d;
	box-shadow: none;
	cursor: not-allowed;
}
.bookingistic-form .bookingistic-btn--ghost {
	background: #fff;
	color: var(--bk-ink);
	border-color: var(--bk-line);
}
.bookingistic-form .bookingistic-btn--ghost:hover { background: var(--bk-soft); border-color: color-mix(in srgb, var(--bk-accent) 40%, var(--bk-line)); }
.bookingistic-form .bookingistic-btn.is-busy { color: transparent !important; pointer-events: none; }
.bookingistic-form .bookingistic-btn.is-busy::after {
	content: "";
	position: absolute;
	width: 18px; height: 18px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bk-spin .7s linear infinite;
}
.bookingistic-btn__label { display: inline-block; transition: opacity .14s ease, transform .14s ease, filter .14s ease; }
.bookingistic-btn__label.is-swapping { opacity: 0; transform: translateY(4px); filter: blur(2px); }

.bookingistic-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 18px;
}
.bookingistic-actions--block .bookingistic-btn,
.bookingistic-form .bookingistic-btn--cta { width: 100%; }
.bookingistic-fields .bookingistic-actions .bookingistic-btn--primary { flex: 1; }

.bookingistic-summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--bk-accent-soft);
	color: var(--bk-accent-strong);
	font-weight: 600;
	font-size: 14px;
	margin: 4px 0 16px;
}
.bookingistic-summary:empty { display: none; }

/* Fields */
.bookingistic-fields .bookingistic-field { display: block; margin-bottom: 12px; }
.bookingistic-fields .bookingistic-field span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--bk-ink);
	margin-bottom: 6px;
}
.bookingistic-form .bookingistic-fields input:not([name="website2"]),
.bookingistic-form .bookingistic-fields textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-r-sm);
	background: #fff;
	color: var(--bk-text);
	font: inherit;
	font-size: 15px;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.bookingistic-form .bookingistic-fields input:hover,
.bookingistic-form .bookingistic-fields textarea:hover { border-color: color-mix(in srgb, var(--bk-accent) 35%, var(--bk-line)); }
.bookingistic-form .bookingistic-fields input:focus,
.bookingistic-form .bookingistic-fields textarea:focus {
	outline: none;
	border-color: var(--bk-accent);
	box-shadow: 0 0 0 4px var(--bk-accent-ring);
}
.bookingistic-fields__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .bookingistic-fields__row { grid-template-columns: 1fr; } }

/* Staff picker */
.bookingistic-staff { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 6px; }
.bookingistic-staff__label { font-size: 13px; font-weight: 700; color: var(--bk-ink); }

/* Error */
.bookingistic-error {
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: var(--bk-r-sm);
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: var(--bk-danger);
	font-size: 14px;
	animation: bk-shake .4s var(--bk-ease);
}

/* ============ Selectable tiles: days, times, staff ============ */

.bookingistic-form .bookingistic-staff__option,
.bookingistic-form .bookingistic-slot,
.bookingistic-form .bk-cal__day,
.bookingistic-form .bk-pill,
.bookingistic-form .bk-list__row {
	border: 1px solid var(--bk-line);
	background: #fff;
	color: var(--bk-ink);
	cursor: pointer;
	transition: transform .35s var(--bk-spring), background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease;
}
.bookingistic-form .bookingistic-staff__option:hover,
.bookingistic-form .bookingistic-slot:hover,
.bookingistic-form .bk-cal__day:hover:not(:disabled),
.bookingistic-form .bk-pill:hover,
.bookingistic-form .bk-list__row:hover {
	border-color: var(--bk-accent);
	background: var(--bk-accent-soft);
	transform: translateY(-1px);
	box-shadow: var(--bk-shadow-sm);
}
.bookingistic-form .bookingistic-staff__option[aria-pressed="true"],
.bookingistic-form .bookingistic-slot[aria-pressed="true"],
.bookingistic-form .bk-cal__day[aria-pressed="true"],
.bookingistic-form .bk-pill[aria-pressed="true"],
.bookingistic-form .bk-list__row[aria-pressed="true"] {
	background: var(--bk-accent);
	border-color: var(--bk-accent);
	color: #fff;
	transform: scale(1.04);
	box-shadow: 0 10px 22px -12px var(--bk-accent);
}
.bookingistic-form .is-popping { animation: bk-pop .45s var(--bk-spring); }

.bookingistic-form .bookingistic-staff__option {
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}

/* Time pills */
.bookingistic-slot-list,
.bookingistic-form__slot-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 8px;
}
.bookingistic-slot-list li { margin: 0; padding: 0; animation: bk-rise .45s var(--bk-ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.bookingistic-form .bookingistic-slot {
	width: 100%;
	padding: 11px 8px;
	border-radius: var(--bk-r-sm);
	font-size: 14.5px;
	font-weight: 500;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.bookingistic-slots-empty {
	color: var(--bk-muted);
	font-size: 14px;
	margin: 0;
	padding: 14px;
	border: 1px dashed var(--bk-line);
	border-radius: var(--bk-r-sm);
	text-align: center;
	background: var(--bk-soft);
}

/* Skeleton shimmer while availability loads */
.bookingistic-skeleton {
	height: 44px;
	border-radius: var(--bk-r-sm);
	background: linear-gradient(90deg, #eef4f0 0%, #f8fbf9 40%, #eef4f0 80%);
	background-size: 300% 100%;
	animation: bk-shimmer 1.2s ease-in-out infinite, bk-fade .3s ease both !important;
	animation-delay: calc(var(--i, 0) * 40ms), 0s !important;
}

/* ============ Calendar: month grid ============ */

.bk-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.bk-cal__title { font-weight: 700; font-size: 15px; color: var(--bk-ink); }
.bookingistic-form .bk-cal__nav {
	display: inline-grid;
	place-items: center;
	width: 34px; height: 34px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--bk-line);
	background: #fff;
	color: var(--bk-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s, color .2s, transform .25s var(--bk-spring), background-color .2s;
}
.bookingistic-form .bk-cal__nav:hover:not(:disabled) { border-color: var(--bk-accent); color: var(--bk-accent-strong); background: var(--bk-accent-soft); transform: scale(1.06); }
.bookingistic-form .bk-cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.bk-cal__grid,
.bookingistic-form__calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}
.bk-cal__grid.is-sliding-next { animation: bk-slide-l .35s var(--bk-ease); }
.bk-cal__grid.is-sliding-prev { animation: bk-slide-r .35s var(--bk-ease); }
.bk-cal__dow {
	text-align: center;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--bk-muted);
	padding: 2px 0 4px;
}
.bookingistic-form .bk-cal__day {
	height: 42px;
	padding: 0;
	border-radius: var(--bk-r-sm);
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.bookingistic-form .bk-cal__day.is-today:not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1px var(--bk-accent); color: var(--bk-accent-strong); }
.bookingistic-form .bk-cal__day:disabled {
	color: #8a9691;
	background: transparent;
	border-color: transparent;
	cursor: not-allowed;
	text-decoration: line-through;
	text-decoration-color: rgba(138, 150, 145, .5);
}

/* ============ Calendar: 14-day tiles ("Choose a day") ============ */

.bk-pills {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(64px, 1fr);
	gap: 8px;
	overflow-x: auto;
	padding: 6px 4px 10px;
	margin: -6px -4px 0;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}
.bookingistic-form .bk-pill {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 64px;
	padding: 10px 6px;
	border-radius: var(--bk-r-sm);
	scroll-snap-align: start;
	animation: bk-rise .45s var(--bk-ease) both;
	animation-delay: calc(var(--i, 0) * 30ms);
}
.bk-pill__wd { font-size: 13px; font-weight: 500; }
.bk-pill__day { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ============ Calendar: upcoming list ============ */

.bk-list {
	display: flex; flex-direction: column; gap: 6px;
	max-height: 336px; overflow-y: auto;
	padding: 4px 6px 18px; margin: 0 -6px;
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
}
.bookingistic-form .bk-list__row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	border-radius: var(--bk-r-sm);
	text-align: start;
	font-size: 14.5px;
	font-weight: 500;
	animation: bk-rise .4s var(--bk-ease) both;
	animation-delay: calc(var(--i, 0) * 25ms);
}
.bookingistic-form .bk-list__row[aria-pressed="true"] { transform: scale(1.015); }
.bk-list__date { flex: 1; }
.bk-list__rel {
	font-style: normal;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--bk-lime);
	color: var(--bk-ink);
}
.bk-list__arrow { opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .25s var(--bk-ease); }
.bk-list__row:hover .bk-list__arrow,
.bk-list__row[aria-pressed="true"] .bk-list__arrow { opacity: 1; transform: none; }

/* ============ Steps: slide / fade transitions ============ */

.bookingistic-js .bookingistic-step.is-active { animation: bk-step-in-f .45s var(--bk-ease) both; }
.bookingistic-js .bookingistic-form__steps[data-dir="back"] .bookingistic-step.is-active { animation-name: bk-step-in-b; }

/* ============ Success ============ */

.bookingistic-success { text-align: center; padding: 18px 6px 6px; }
.bookingistic-success h3 { margin: 12px 0 4px; font-size: 20px; }
.bookingistic-success p { color: var(--bk-muted); margin: 0; }
.bookingistic-success__icon {
	display: inline-grid;
	place-items: center;
	width: 72px; height: 72px;
	border-radius: 50%;
	background: var(--bk-accent-soft);
	color: var(--bk-accent);
	animation: bk-pop .6s var(--bk-spring) both;
}
.bookingistic-success__ring { stroke: var(--bk-accent); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.bookingistic-success__check { stroke: var(--bk-accent-strong); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.is-active .bookingistic-success__ring { animation: bk-draw .6s var(--bk-ease) .1s forwards; }
.is-active .bookingistic-success__check { animation: bk-draw .45s var(--bk-ease) .55s forwards; }
.bookingistic-success--inline { display: flex; align-items: center; gap: 14px; text-align: start; padding: 8px 0; }
.bookingistic-success--inline .bookingistic-success__icon { width: 56px; height: 56px; flex: none; }
.bookingistic-success--inline p { color: var(--bk-text); }

.bookingistic-payment-box { margin-top: 16px; }
.bookingistic-form .bookingistic-payment-box__button {
	display: inline-flex;
	padding: 12px 22px;
	border-radius: var(--bk-r-sm);
	background: var(--bk-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: transform .25s var(--bk-ease), box-shadow .25s;
}
.bookingistic-form .bookingistic-payment-box__button:hover { transform: translateY(-1px); box-shadow: var(--bk-shadow-sm); color: #fff; }
.bookingistic-payment-notice { font-size: 14px; color: var(--bk-muted); }

/* ============ Floating toast cards ============ */

.bookingistic-toast {
	position: absolute;
	z-index: 5;
	inset-inline-start: -18px;
	bottom: -30px;
	max-width: 240px;
	padding: 10px 14px;
	border-radius: 14px;
	border: 1px solid var(--bk-line);
	background: #fff;
	box-shadow: var(--bk-shadow-sm), 0 18px 40px -20px rgba(23, 34, 31, .35);
	font-size: 12.5px;
	color: var(--bk-muted);
	pointer-events: none;
	animation: bk-toast-in .5s var(--bk-spring) both, bk-bob 4s ease-in-out .5s infinite;
}
.bookingistic-toast span { display: block; }
.bookingistic-toast strong { display: block; color: var(--bk-ink); font-size: 13.5px; }
.bookingistic-toast.is-leaving { animation: bk-toast-out .4s var(--bk-ease) forwards; }
@media (max-width: 560px) { .bookingistic-toast { inset-inline-start: 8px; bottom: -26px; } }

/* ============ Layout: Modern Card (flagship) ============ */

.bookingistic-form.bookingistic-form--modern { max-width: 500px; margin-inline: auto; }
.bookingistic-card {
	background: var(--bk-bg);
	border: 1px solid color-mix(in srgb, var(--bk-line) 60%, transparent);
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	padding: 24px;
	animation: bk-rise .6s var(--bk-ease) both;
}
.bookingistic-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.bookingistic-card__eyebrow { font-size: 13px; color: var(--bk-muted); }
.bookingistic-service {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--bk-line);
	border-radius: calc(var(--bk-radius) * .7);
	margin-bottom: 6px;
	transition: box-shadow .3s var(--bk-ease), border-color .3s;
}
.bookingistic-service:hover { box-shadow: var(--bk-shadow-sm); border-color: color-mix(in srgb, var(--bk-accent) 30%, var(--bk-line)); }
.bookingistic-service__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: var(--bk-accent-soft);
	color: var(--bk-accent-strong);
}
.bookingistic-service__text { flex: 1; min-width: 0; }
.bookingistic-form .bookingistic-service__name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.bookingistic-service__meta { margin: 2px 0 0; font-size: 13.5px; color: var(--bk-muted); }
.bookingistic-form--modern .bookingistic-step__title { margin: 14px 0 6px; font-size: 18px; }
.bookingistic-form--modern .bk-pills { grid-auto-columns: minmax(64px, calc((100% - 32px) / 5)); }
@media (max-width: 480px) {
	.bookingistic-card { padding: 18px; }
	.bookingistic-card__eyebrow { display: none; }
	.bookingistic-card__top { justify-content: flex-end; }
	.bookingistic-form--modern .bookingistic-slot-list { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Layout: Classic (two panel) ============ */

.bookingistic-form--classic {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	background: var(--bk-bg);
	border: 1px solid color-mix(in srgb, var(--bk-line) 60%, transparent);
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	overflow: hidden;
	animation: bk-rise .6s var(--bk-ease) both;
}
.bookingistic-form--classic .bookingistic-form__panel--service {
	padding: 28px 24px;
	background: linear-gradient(160deg, var(--bk-accent-soft), #fff 70%);
	border-inline-end: 1px solid var(--bk-line);
}
.bookingistic-form--classic .bookingistic-form__panel--booking { padding: 26px; }
.bookingistic-form--classic .bookingistic-form__service-name { margin: 10px 0 4px; font-size: 22px; line-height: 1.2; }
.bookingistic-form--classic .bookingistic-form__service-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.bookingistic-form--classic .bookingistic-form__service-duration,
.bookingistic-form--classic .bookingistic-form__service-price {
	display: inline-flex;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	background: #fff;
	border: 1px solid var(--bk-line);
}
.bookingistic-form--classic .bookingistic-form__service-price { background: var(--bk-lime); border-color: transparent; }
.bookingistic-form--classic .bookingistic-form__service-tagline { color: var(--bk-muted); margin: 0 0 10px; }
.bookingistic-form--classic .bookingistic-form__service-description { font-size: 14px; color: var(--bk-muted); }
.bookingistic-form--classic .bookingistic-form__trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 13.5px; }
.bookingistic-form--classic .bookingistic-form__trust li { display: flex; gap: 8px; align-items: center; }
.bookingistic-form--classic .bookingistic-form__trust li::before {
	content: "✓";
	display: inline-grid; place-items: center;
	width: 20px; height: 20px; flex: none;
	border-radius: 50%;
	background: var(--bk-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
.bookingistic-form--classic .bookingistic-form__step-header h3 { margin: 10px 0 2px; font-size: 18px; }
@media (max-width: 720px) {
	.bookingistic-form--classic { grid-template-columns: 1fr; }
	.bookingistic-form--classic .bookingistic-form__panel--service { border-inline-end: 0; border-bottom: 1px solid var(--bk-line); padding: 22px 20px; }
	.bookingistic-form--classic .bookingistic-form__panel--booking { padding: 20px; }
}

/* ============ Layout: Split Hero ============ */

.bookingistic-form--split {
	background: var(--bk-bg);
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	overflow: hidden;
	animation: bk-rise .6s var(--bk-ease) both;
}
.bookingistic-split__hero {
	position: relative;
	padding: 30px;
	color: #fff;
	background:
		radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--bk-lime) 35%, transparent) 0%, transparent 45%),
		linear-gradient(135deg, var(--bk-accent), var(--bk-accent-strong));
	background-size: 140% 140%, 100% 100%;
	animation: bk-hero 12s ease-in-out infinite alternate;
}
.bookingistic-form .bookingistic-split__title { margin: 0 0 4px; font-size: 26px; line-height: 1.15; color: #fff; }
.bookingistic-split__tagline { margin: 0 0 12px; color: rgba(255, 255, 255, .9); }
.bookingistic-split__meta { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; }
.bookingistic-split__meta span:last-child { background: var(--bk-lime); color: var(--bk-ink); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.bookingistic-split__body { padding: 26px 30px 30px; }
@media (max-width: 520px) {
	.bookingistic-split__hero, .bookingistic-split__body { padding-inline: 18px; }
}

/* ============ Layout: Minimal Inline ============ */

.bookingistic-form.bookingistic-form--minimal { max-width: 560px; padding: 4px; }
.bookingistic-min__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 12px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--bk-line);
}
.bookingistic-min__head strong { font-size: 17px; color: var(--bk-ink); }
.bookingistic-min__meta { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bk-lime); color: var(--bk-ink); }
.bookingistic-form--minimal .bookingistic-progress { margin-top: 10px; }

/* ============ Keyframes ============ */

@keyframes bk-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bk-pop { 0% { transform: scale(.92); } 60% { transform: scale(1.08); } 100% { transform: scale(1.04); } }
@keyframes bk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes bk-step-in-f { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes bk-step-in-b { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes bk-slide-l { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes bk-slide-r { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
@keyframes bk-spin { to { transform: rotate(360deg); } }
@keyframes bk-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes bk-toast-in { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bk-toast-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes bk-bob { 50% { transform: translateY(-5px); } }
@keyframes bk-hero { to { background-position: 0% 100%, 0 0; } }

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
	.bookingistic-form *,
	.bookingistic-form *::before,
	.bookingistic-form *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}
	.bookingistic-form .bookingistic-skeleton { background: #eef4f0; }
	.bookingistic-form [aria-pressed="true"] { transform: none !important; }
	.bookingistic-success__ring,
	.bookingistic-success__check { stroke-dashoffset: 0; }
}

/* Windows High Contrast / forced colors: keep selection visible. */
@media (forced-colors: active) {
	.bookingistic-form [aria-pressed="true"] { outline: 3px solid Highlight; }
}

/* Templates that clip overflow keep the toast inside the card. */
.bookingistic-form--classic .bookingistic-toast,
.bookingistic-form--split .bookingistic-toast { top: 14px; bottom: auto; inset-inline-start: auto; inset-inline-end: 14px; }
