/* ==========================================================================
   Versilo: komponenty
   ========================================================================== */

/* ---------- Ikony ---------- */

.icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke: currentColor;
	stroke-width: 1.25;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon--flip {
	transform: scaleX(-1);
}

/* ---------- Przyciski ----------
   Pigułki z wyraźnym stanem wciśnięcia. Wariant ustawia tylko dwie zmienne,
   więc kontekst (ciemna sekcja, wideo) może je nadpisać bez walki o specyficzność. */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--paper);
	--btn-bd: var(--btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.8rem 1.45rem;
	border: 1px solid var(--btn-bd);
	border-radius: var(--r-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
	white-space: nowrap;
	transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) linear,
		color var(--dur-fast) linear, border-color var(--dur-fast) linear, box-shadow var(--dur) var(--ease-out);
}

.btn:hover {
	box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--btn-bg) 70%, transparent);
	transform: translateY(-1px);
}

.btn:active {
	transform: scale(0.97);
	box-shadow: none;
}

.btn .icon {
	width: 18px;
	height: 18px;
}

.btn--sm {
	min-height: 40px;
	padding: 0.55rem 1.05rem;
	font-size: var(--fs-xs);
}

.btn--light {
	--btn-bg: var(--on-dark);
	--btn-fg: var(--ink);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: var(--line-strong);
}

.btn--ghost:hover {
	--btn-bd: var(--ink);
	box-shadow: none;
}

.section--dark .btn--ghost,
.btn--ghost-light {
	--btn-bg: transparent;
	--btn-fg: var(--on-dark);
	--btn-bd: color-mix(in srgb, var(--on-dark) 30%, transparent);
}

.btn--ghost-light:hover {
	--btn-bd: var(--on-dark);
	box-shadow: none;
}

/* Na wideo: szkło zamiast obrysu, żeby przycisk nie zginął na jasnej klatce. */
.btn--glass {
	--btn-bg: var(--glass-dark);
	--btn-fg: var(--on-dark);
	--btn-bd: color-mix(in srgb, var(--on-dark) 28%, transparent);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
}

.btn[aria-busy='true'] {
	opacity: 0.6;
	pointer-events: none;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--r-pill);
	border: 1px solid var(--line-strong);
	background: var(--paper);
	color: var(--ink);
	transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) linear;
}

.icon-btn:hover {
	border-color: var(--ink);
}

.icon-btn:active {
	transform: scale(0.92);
}

.icon-btn .icon {
	width: 20px;
	height: 20px;
}

/* ---------- Link ze strzałką ---------- */

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--fs-sm);
	font-weight: 500;
	white-space: nowrap;
}

.link-arrow .icon {
	width: 16px;
	height: 16px;
	transition: transform var(--dur) var(--ease-out);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

/* ---------- Pigułki ---------- */

.chips {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.chips::-webkit-scrollbar {
	display: none;
}

.chips li {
	flex-shrink: 0;
	scroll-snap-align: start;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	background: var(--paper);
	font-size: var(--fs-sm);
	white-space: nowrap;
	transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear,
		border-color var(--dur-fast) linear, transform var(--dur-fast) var(--ease-out);
}

.chip:hover {
	border-color: var(--ink);
}

.chip:active {
	transform: scale(0.96);
}

.chip.is-active,
.chip[aria-current='true'] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.chip--glass {
	background: var(--glass-dark);
	border-color: color-mix(in srgb, var(--on-dark) 26%, transparent);
	color: var(--on-dark);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
}

.chip--glass:hover {
	background: var(--on-dark);
	color: var(--ink);
	border-color: var(--on-dark);
}

.section--dark .chip {
	background: var(--dark-raise);
	border-color: var(--on-dark-line);
}

.chips--center {
	flex-wrap: wrap;
	justify-content: center;
	overflow: visible;
}

/* ---------- Okruszki ---------- */

.crumbs {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--fs-xs);
	color: var(--muted);
}

.crumbs__link:hover {
	color: var(--ink);
}

.crumbs__sep {
	width: 14px;
	height: 14px;
	opacity: 0.6;
}

.crumbs__current {
	color: var(--ink);
}

.section--dark .crumbs__current {
	color: var(--on-dark);
}

.section--dark .crumbs__link:hover {
	color: var(--on-dark);
}

/* ---------- Kafel kategorii ----------
   Zdjęcie na ciepłym tle, pod spodem nazwa i zajawka. Zdjęcia studyjne na
   białym tle dostają multiply: biel przyjmuje kolor kafla, ciemne tkaniny
   zostają nietknięte, więc katalog trzyma się jednej palety. */

.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	height: 100%;
	color: inherit;
	-webkit-user-select: none;
	user-select: none;
}

.tile__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--r);
	background: var(--sand);
	isolation: isolate;
}

.tile__media picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease-out), opacity 0.5s linear;
}

/* Stałe jasne tło, także w ciemnej sekcji: multiply na ciemnym tle
   zgasiłby zdjęcie do czerni. */
.tile--studio .tile__media {
	background: #eee9e1;
}

.tile--studio .tile__img {
	mix-blend-mode: multiply;
}

.tile:hover .tile__img {
	transform: scale(1.035);
}

.tile:active .tile__media {
	transform: scale(0.985);
	transition: transform var(--dur-fast) var(--ease-out);
}

.tile__plus {
	position: absolute;
	right: 0.7rem;
	bottom: 0.7rem;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--r-pill);
	background: var(--glass);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	color: var(--ink);
	box-shadow: var(--shadow-1);
	transition: transform var(--dur) var(--ease-spring);
}

.tile__plus .icon {
	width: 18px;
	height: 18px;
	stroke-width: 1.6;
}

.tile:hover .tile__plus {
	transform: rotate(90deg) scale(1.06);
}

.tile__body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-inline: 0.15rem;
}

.tile__title {
	font-family: var(--font-display);
	font-size: var(--fs-xl);
	line-height: 1.1;
}

.tile__teaser {
	font-size: var(--fs-sm);
	color: var(--muted);
}

/* Kafel bez zdjęcia: ornament jak ścieg na tle kości. */
.tile--type .tile__media {
	display: grid;
	place-items: center;
	background: var(--brass-wash);
	color: var(--brass);
}

.tile__ornament {
	width: 46%;
	opacity: 0.7;
	transition: transform 1.2s var(--ease-out);
}

.tile--type:hover .tile__ornament {
	transform: rotate(45deg);
}

.tile__soon {
	position: absolute;
	left: 0.8rem;
	top: 0.8rem;
	padding: 0.25rem 0.65rem;
	border-radius: var(--r-pill);
	background: var(--paper);
	color: var(--brass-ink);
	font-size: var(--fs-2xs);
	font-weight: 500;
}

.section--dark .tile--type .tile__media {
	background: var(--dark-raise);
	color: var(--brass-soft);
}

/* ---------- Plakietka otwarcia ---------- */

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.75rem;
	border-radius: var(--r-pill);
	background: var(--glass);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	color: var(--ink);
	font-size: var(--fs-xs);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	box-shadow: var(--shadow-1);
}

.badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--muted-soft);
}

.badge.is-open .badge__dot {
	background: #2fa864;
	box-shadow: 0 0 0 0 rgba(47, 168, 100, 0.5);
	animation: pulse 2.4s var(--ease-out) infinite;
}

.badge.is-closed .badge__dot {
	background: #c4563f;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(47, 168, 100, 0.45);
	}
	70%,
	100% {
		box-shadow: 0 0 0 8px rgba(47, 168, 100, 0);
	}
}

/* ---------- Godziny ---------- */

.hours {
	display: grid;
	gap: 0.35rem;
	font-size: var(--fs-sm);
}

.hours__row {
	display: flex;
	align-items: baseline;
	gap: var(--s-3);
}

.hours__row dt {
	color: var(--muted);
}

/* Kropkowana linia prowadzi oko od dnia do godzin. */
.hours__row::after {
	content: '';
	order: 1;
	flex: 1;
	border-bottom: 1px dotted var(--line-strong);
	transform: translateY(-0.3em);
}

.hours__row dd {
	order: 2;
	font-variant-numeric: tabular-nums;
}

.hours__row.is-today dt,
.hours__row.is-today dd {
	color: var(--ink);
	font-weight: 600;
}

.hours__row.is-closed dd {
	color: var(--muted);
}

.hours__note {
	margin-top: var(--s-2);
	font-size: var(--fs-xs);
	color: var(--muted);
}

/* ---------- Panel podglądu kategorii ----------
   Na telefonie wysuwa się od dołu, na desktopie z prawej. Natywny <dialog>
   daje pułapkę fokusu, Esc i warstwę nad wszystkim. */

.sheet {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	overflow: hidden;
}

.sheet::backdrop {
	background: rgba(17, 17, 19, 0.46);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: fade-in 0.3s var(--ease-out);
}

.sheet.is-closing::backdrop {
	animation: fade-out 0.25s var(--ease-out) forwards;
}

.sheet__panel {
	position: absolute;
	top: 12px;
	right: 12px;
	bottom: 12px;
	width: min(480px, calc(100% - 24px));
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--paper);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-3);
	animation: sheet-in-side 0.5s var(--ease-out);
}

.sheet.is-closing .sheet__panel {
	animation: sheet-out-side 0.28s var(--ease-in-out) forwards;
}

.sheet__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	background: var(--glass);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	border-color: transparent;
	box-shadow: var(--shadow-1);
}

.sheet__media {
	position: relative;
	flex-shrink: 0;
	aspect-ratio: 4 / 5;
	max-height: 62vh;
	background: var(--sand);
	overflow: hidden;
}

.sheet__media picture,
.sheet__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sheet__media.is-studio img {
	mix-blend-mode: multiply;
}

.sheet__media.is-type {
	display: grid;
	place-items: center;
	background: var(--brass-wash);
	color: var(--brass);
}

.sheet__media.is-type svg {
	width: 38%;
}

.sheet__body {
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	padding: var(--s-5) var(--s-6) var(--s-6);
}

.sheet__kicker {
	font-size: var(--fs-sm);
	color: var(--brass-ink);
}

.sheet__title {
	font-size: var(--fs-h3);
	line-height: 1.05;
}

.sheet__desc {
	color: var(--ink-80);
}

.sheet__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-3);
}

.sheet__note {
	font-size: var(--fs-xs);
	color: var(--muted);
}

@media (max-width: 700px) {
	.sheet__panel {
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: calc(100% - 28px);
		border-radius: var(--r-lg) var(--r-lg) 0 0;
		padding-bottom: env(safe-area-inset-bottom);
		animation-name: sheet-in-up;
	}

	.sheet.is-closing .sheet__panel {
		animation-name: sheet-out-down;
	}

	/* Uchwyt: mówi palcem, że panel da się zsunąć. */
	.sheet__panel::before {
		content: '';
		position: absolute;
		top: 8px;
		left: 50%;
		z-index: 3;
		width: 40px;
		height: 4px;
		margin-left: -20px;
		border-radius: 4px;
		background: rgba(255, 255, 255, 0.85);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	}

	.sheet__media {
		aspect-ratio: 1 / 1;
		max-height: 48vh;
	}

	.sheet__body {
		padding: var(--s-5) var(--s-5) var(--s-6);
	}

	.sheet__actions .btn {
		flex: 1;
	}
}

@keyframes sheet-in-side {
	from {
		transform: translateX(calc(100% + 24px));
	}
}

@keyframes sheet-out-side {
	to {
		transform: translateX(calc(100% + 24px));
	}
}

@keyframes sheet-in-up {
	from {
		transform: translateY(100%);
	}
}

@keyframes sheet-out-down {
	to {
		transform: translateY(100%);
	}
}

@keyframes fade-in {
	from {
		opacity: 0;
	}
}

@keyframes fade-out {
	to {
		opacity: 0;
	}
}

/* Przelot zdjęcia z kafla do panelu (View Transitions w tym samym dokumencie). */
::view-transition-group(sheet-photo) {
	animation-duration: 0.5s;
	animation-timing-function: var(--ease-out);
}

::view-transition-old(sheet-photo),
::view-transition-new(sheet-photo) {
	height: 100%;
	object-fit: cover;
}

/* ---------- Formularze ---------- */

.form {
	display: flex;
	flex-direction: column;
	gap: var(--s-5);
}

.form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-4);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.field__label {
	font-size: var(--fs-sm);
	font-weight: 500;
}

.field__opt {
	font-weight: 400;
	color: var(--muted);
}

.field__control {
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: #fff;
	font-size: 1rem;
	transition: border-color var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
	appearance: none;
}

.field__control::placeholder {
	color: var(--muted-soft);
}

.field__control:hover {
	border-color: var(--line-strong);
}

.field__control:focus {
	outline: none;
	border-color: var(--brass);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 18%, transparent);
}

textarea.field__control {
	resize: vertical;
	min-height: 110px;
	line-height: 1.55;
}

.field__error {
	font-size: var(--fs-xs);
	color: var(--bad);
	min-height: 1em;
}

.field__error:empty {
	display: none;
}

.field.has-error .field__control {
	border-color: var(--bad);
}

/* Honeypot: niewidoczny dla ludzi, wypełnialny dla botów. */
.field--trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__consent {
	display: flex;
	align-items: flex-start;
	gap: var(--s-3);
	font-size: var(--fs-xs);
	line-height: 1.55;
	color: var(--muted);
	cursor: pointer;
}

.form__consent a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.form__consent input {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 0.05em;
	accent-color: var(--ink);
}

.form-status {
	display: none;
	padding: var(--s-4) var(--s-5);
	border-radius: var(--r-sm);
	font-size: var(--fs-sm);
}

.form-status.is-visible {
	display: block;
}

.form-status.is-ok {
	background: var(--ok-wash);
	color: var(--ok);
}

.form-status.is-error {
	background: color-mix(in srgb, var(--bad) 9%, transparent);
	color: var(--bad);
}

.form__submit {
	align-self: flex-start;
}

/* Wybór z pigułek (okazja). */
.choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.choice,
.time,
.day,
.salon-pick {
	position: relative;
	cursor: pointer;
}

.choice input,
.time input,
.day input,
.salon-pick input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.choice span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
	background: #fff;
	font-size: var(--fs-sm);
	transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.choice input:checked + span {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.choice input:focus-visible + span,
.time input:focus-visible + span,
.day input:focus-visible ~ .day__num,
.salon-pick input:focus-visible ~ .salon-pick__body {
	outline: 2px solid var(--brass);
	outline-offset: 2px;
}

/* ---------- Rezerwacja krokami ---------- */

.step {
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	min-width: 0;
	padding: 0;
	border: 0;
}

.step + .step {
	padding-top: var(--s-5);
	border-top: 1px solid var(--line);
}

.step__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: var(--s-3);
	font-family: var(--font-display);
	font-size: var(--fs-xl);
	line-height: 1.1;
}

.step__num {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-ui);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.step__hint {
	font-size: var(--fs-sm);
	color: var(--muted);
}

.salon-picks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-3);
}

.salon-pick__body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	height: 100%;
	padding: var(--s-4) var(--s-5);
	padding-right: 3rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r);
	background: #fff;
	font-size: var(--fs-sm);
	color: var(--muted);
	transition: border-color var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
}

.salon-pick__body strong {
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--ink);
}

.salon-pick__meta {
	margin-top: 0.35rem;
	font-size: var(--fs-xs);
}

.salon-pick__check {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: transparent;
	transition: background-color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.salon-pick__check .icon {
	width: 15px;
	height: 15px;
	stroke-width: 2;
}

.salon-pick input:checked ~ .salon-pick__body {
	border-color: var(--ink);
	box-shadow: 0 0 0 1px var(--ink);
}

.salon-pick input:checked ~ .salon-pick__check {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.days {
	display: flex;
	gap: 0.45rem;
	overflow-x: auto;
	padding: 2px 2px 6px;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
}

.days::-webkit-scrollbar {
	display: none;
}

.day {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 62px;
	padding: 0.55rem 0 0.5rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r);
	background: #fff;
	transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear,
		border-color var(--dur-fast) linear, opacity var(--dur-fast) linear;
}

.day__wd,
.day__mon {
	font-size: var(--fs-2xs);
	color: var(--muted);
}

.day__num {
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1.05;
}

.day:has(input:checked) {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.day:has(input:checked) .day__wd,
.day:has(input:checked) .day__mon {
	color: var(--on-dark-muted);
}

.day.is-off {
	opacity: 0.35;
	cursor: not-allowed;
	background: transparent;
	border-style: dashed;
}

.times {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 0.45rem;
}

.time span {
	display: grid;
	place-items: center;
	min-height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: #fff;
	font-size: var(--fs-sm);
	font-variant-numeric: tabular-nums;
	transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.time input:checked + span {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.time[hidden] {
	display: none;
}

.booking__foot {
	position: sticky;
	bottom: calc(var(--tabbar-h) + 22px + env(safe-area-inset-bottom));
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-4);
	padding: 0.7rem 0.7rem 0.7rem 1.2rem;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--glass);
	-webkit-backdrop-filter: var(--blur);
	backdrop-filter: var(--blur);
	box-shadow: var(--shadow-2);
}

.booking__summary {
	font-size: var(--fs-sm);
	color: var(--muted);
	line-height: 1.35;
}

.booking__summary strong {
	color: var(--ink);
	font-weight: 500;
}

.booking__foot .form__submit {
	align-self: center;
}

.booking__note {
	font-size: var(--fs-sm);
	color: var(--muted);
}

.booking__note a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 640px) {
	.form__row,
	.salon-picks {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Jeden rząd, żeby pasek nad zakładkami nie zjadał ekranu. */
	.booking__foot {
		padding: 0.45rem 0.45rem 0.45rem 1rem;
		gap: 0.6rem;
	}

	.booking__foot .form__submit {
		min-height: 44px;
		padding: 0.6rem 1.05rem;
	}

	.booking__summary {
		font-size: var(--fs-xs);
	}
}

/* ---------- Nagłówek dzielony na linie (jedyny ruch przy wejściu) ---------- */

[data-split] {
	opacity: 0;
}

[data-split].is-split,
[data-split].is-in {
	opacity: 1;
}

.split-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.split-line > span {
	display: block;
	transform: translateY(105%);
	transition: transform 0.9s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 70ms);
}

.is-in .split-line > span {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-split],
	.split-line > span {
		opacity: 1 !important;
		transform: none !important;
	}

	.badge.is-open .badge__dot {
		animation: none;
	}
}

/* Podczas przelotu zdjęcia ruch robi View Transition: własne animacje panelu
   i tła wyłączamy, inaczej panel jechałby w bok pod lecącym zdjęciem. */
.sheet.is-morph .sheet__panel,
.sheet.is-morph::backdrop {
	animation: none;
}
