/**
 * Custom Amelia multistep booking — dark UI aligned with theme tokens.
 */

.hugh-ms-booking {
	--hugh-ms-bg: rgba(0, 0, 0, 0.72);
	--hugh-ms-border: rgba(255, 255, 255);
	--hugh-ms-accent: #b58b4b;
	--hugh-ms-text: #f5f2ed;
	--hugh-ms-muted: rgba(245, 242, 237, 0.55);
	--hugh-ms-danger: #e07070;
	/* Fluid scale: shrink when viewport is narrower than 1920px OR shorter than ~860px usable height */
	--hugh-ms-fluid-scale-w: clamp(0.6667, calc(100vw / 1920), 1);
	--hugh-ms-fluid-scale-h: clamp(0.52, calc((100dvh - 128px) / 860), 1);
	--hugh-ms-fluid-scale: min(var(--hugh-ms-fluid-scale-w), var(--hugh-ms-fluid-scale-h));
	--hugh-ms-shell-min-h: min(818px, calc(100dvh - 96px));
	--hugh-ms-pad-y: clamp(15px, 1.3vw, 25px);
	--hugh-ms-pad-x: clamp(18px, 1.56vw, 30px);
	position: relative;
	z-index: 1;
	width: min(1569px, calc(100vw - 40px));
	max-width: 1569px;
	min-height: var(--hugh-ms-shell-min-h);
	height: auto;
	margin: 0 auto;
	padding: var(--hugh-ms-pad-y) var(--hugh-ms-pad-x);
	font-family: var(--hat-font-family, "Inter Tight", system-ui, sans-serif);
	color: var(--hugh-ms-text);
	background: var(--hugh-ms-bg);
	border: 1px solid var(--hugh-ms-border);
	border-radius: 4px;
	backdrop-filter: blur(8px);
	zoom: var(--hugh-ms-fluid-scale);
}

.hugh-ms__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, min(2vw, 2.4vh), 24px);
	min-height: calc(var(--hugh-ms-shell-min-h) - (var(--hugh-ms-pad-y) * 2));
}

.hugh-ms__crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hugh-ms-muted);
}

.hugh-ms__crumb.is-active {
	color: var(--hugh-ms-accent);
}

.hugh-ms__title {
	margin: 0 0 16px;
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hugh-ms__sub {
	margin: 0 0 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--hugh-ms-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hugh-ms__panel {
	min-height: 200px;
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__step2-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
}

.hugh-ms__panel-controls {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 12px;
	margin-top: clamp(16px, 1.6vw, 30px);
}

.hugh-ms__panel-controls--info-step {
	justify-content: space-between;
	gap: clamp(16px, 2vw, 28px);
}

.hugh-ms__panel-actions {
	display: inline-flex;
	justify-content: flex-end;
	width: fit-content;
	margin-left: 0;
	margin-top: 0;
}

.hugh-ms__inner--step-0 .hugh-ms__panel,
.hugh-ms__inner--step-1 .hugh-ms__panel,
.hugh-ms__inner--step-2 .hugh-ms__panel,
.hugh-ms__inner--step-3 .hugh-ms__panel,
.hugh-ms__inner--step-5 .hugh-ms__panel,
.hugh-ms__inner--step-6 .hugh-ms__panel {
	position: relative;
	flex: 1 1 auto;
}

.hugh-ms__inner--step-0 .hugh-ms__panel-controls,
.hugh-ms__inner--step-1 .hugh-ms__panel-controls,
.hugh-ms__inner--step-2 .hugh-ms__panel-controls,
.hugh-ms__inner--step-3 .hugh-ms__panel-controls,
.hugh-ms__inner--step-5 .hugh-ms__panel-controls,
.hugh-ms__inner--step-6 .hugh-ms__panel-controls {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
}

.hugh-ms__inner--step-2 .hugh-ms__panel-controls .hugh-ms__btn--ghost,
.hugh-ms__inner--step-3 .hugh-ms__panel-controls .hugh-ms__btn--ghost,
.hugh-ms__inner--step-5 .hugh-ms__panel-controls .hugh-ms__btn--ghost,
.hugh-ms__inner--step-6 .hugh-ms__panel-controls .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hugh-ms__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: 100%;
	padding: 14px 16px;
	text-align: left;
	font: inherit;
	color: var(--hugh-ms-text);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hugh-ms__card:hover {
	border-color: var(--hugh-ms-border);
	background: rgba(255, 255, 255, 0.07);
}

.hugh-ms__card.is-selected {
	border-color: var(--hugh-ms-accent);
	background: rgba(181, 139, 75, 0.12);
}

.hugh-ms__card-title {
	font-weight: 500;
}

.hugh-ms__card-meta {
	font-size: 0.85rem;
	color: var(--hugh-ms-muted);
}

.hugh-ms__cal-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.hugh-ms__cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.hugh-ms__cal-cell {
	aspect-ratio: 1;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font: inherit;
	font-size: 0.9rem;
	color: var(--hugh-ms-text);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hugh-ms__cal-cell:hover:not(:disabled) {
	border-color: var(--hugh-ms-border);
}

.hugh-ms__cal-cell.is-selected {
	border-color: var(--hugh-ms-accent);
	background: rgba(181, 139, 75, 0.15);
}

.hugh-ms__cal-cell.is-disabled,
.hugh-ms__cal-cell:disabled {
	opacity: 0.28;
	cursor: not-allowed;
}

.hugh-ms__cal-cell--empty {
	visibility: hidden;
	pointer-events: none;
}

.hugh-ms__slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hugh-ms__slot {
	min-width: 72px;
	padding: 10px 14px;
	font: inherit;
	font-size: 0.95rem;
	color: var(--hugh-ms-text);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hugh-ms__slot:hover {
	border-color: var(--hugh-ms-border);
}

.hugh-ms__slot.is-selected {
	border-color: var(--hugh-ms-accent);
	background: rgba(181, 139, 75, 0.15);
}

.hugh-ms__warn {
	margin: 12px 0 0;
	padding: 10px 12px;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--hugh-ms-muted);
	background: rgba(224, 112, 112, 0.12);
	border: 1px solid rgba(224, 112, 112, 0.35);
	border-radius: 4px;
}

.hugh-ms__file-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.hugh-ms__file-label {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.hugh-ms__file-input {
	position: absolute;
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}

.hugh-ms__file-btn {
	display: inline-block;
	padding: 12px 20px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hugh-ms-text);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--hugh-ms-border);
	border-radius: 4px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hugh-ms__file-label:hover .hugh-ms__file-btn {
	border-color: var(--hugh-ms-accent);
	background: rgba(181, 139, 75, 0.15);
}

.hugh-ms__file-list {
	margin: 12px 0 0;
	padding-left: 1.1rem;
	font-size: 0.9rem;
	color: var(--hugh-ms-muted);
	line-height: 1.5;
}

.hugh-ms__fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hugh-ms__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hugh-ms-muted);
}

.hugh-ms__field input {
	padding: 12px 14px;
	font: inherit;
	font-size: 1rem;
	text-transform: none;
	letter-spacing: normal;
	color: var(--hugh-ms-text);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
}

.hugh-ms__field input:focus {
	outline: none;
	border-color: var(--hugh-ms-accent);
}

.hugh-ms__pay {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 560px) {
	.hugh-ms__pay {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.hugh-ms__summary {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--hugh-ms-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.hugh-ms__summary strong {
	color: var(--hugh-ms-text);
}

.hugh-ms__pay-aside {
	padding-top: 4px;
}

.hugh-ms__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding: 0;
	border-top: 0;
}

.hugh-ms__btn {
	font: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 12px 20px;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hugh-ms__btn--primary {
	color: #000;
	background: var(--hugh-ms-accent);
	border-color: var(--hugh-ms-accent);
}

.hugh-ms__btn--primary:hover {
	filter: brightness(1.08);
}

.hugh-ms__btn--primary:disabled,
.hugh-ms__btn--primary[aria-disabled="true"] {
	opacity: 0.38;
	cursor: not-allowed;
	pointer-events: none;
	filter: none;
}

.hugh-ms__btn--primary:disabled:hover,
.hugh-ms__btn--primary[aria-disabled="true"]:hover {
	filter: none;
}

/* Чёрный квадрат + стрелка по центру для primary CTA на всех шагах.
   Step-8 переопределяет это правило (см. ниже). */
.hugh-ms__btn--primary::after {
	content: "";
	flex: 0 0 auto;
	width: clamp(40px, min(3vw, 5vh), 57px);
	height: clamp(40px, min(3vw, 5.2vh), 58px);
	background: #000 center / 20px 20px no-repeat url("../images/arrow-up-outline.svg");
}

.hugh-ms__btn--primary::before {
	content: none;
}

.hugh-ms__btn--ghost {
	color: var(--hugh-ms-text);
	background: transparent;
	border-color: rgba(255, 255, 255, 0.25);
}

.hugh-ms__btn--ghost:hover {
	border-color: var(--hugh-ms-accent);
	color: var(--hugh-ms-accent);
}

.hugh-ms__muted {
	margin: 0 0 12px;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--hugh-ms-muted);
}

.hugh-ms__error {
	margin: 0;
	padding: 10px 12px;
	font-size: 0.9rem;
	color: var(--hugh-ms-danger);
	background: rgba(224, 112, 112, 0.12);
	border: 1px solid rgba(224, 112, 112, 0.35);
	border-radius: 4px;
}

.hugh-ms__loading {
	padding: 40px 16px;
	text-align: center;
	color: var(--hugh-ms-muted);
}

.hugh-ms__panel--center {
	text-align: center;
}

.hugh-ms__ok {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	font-size: 2rem;
	line-height: 1;
	color: #000;
	background: var(--hugh-ms-accent);
	border-radius: 50%;
}

.hugh-ms-booking__notice {
	padding: 16px;
	color: var(--hat-color-text, #303030);
}

/* Step 0: Interactive body zone selector. */
.hugh-ms__inner--step-0 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-0 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-0 .hugh-ms__crumb.is-active {
	display: block;
	width: 5%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-0 .hugh-ms__panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
	padding-right: clamp(160px, 18vw, 280px);
}

.hugh-ms__inner--step-0 .hugh-ms__title {
	margin-bottom: clamp(8px, 1.4vh, 20px);
	font-size: clamp(28px, min(5.2vw, 9vh), 100px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #fff;
	text-transform: uppercase;
	flex-shrink: 0;
}

.hugh-ms__zone-stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: visible;
}

.hugh-ms__zone-bodies {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	gap: clamp(8px, 1.5vw, 24px);
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	margin: 0 auto;
}

.hugh-ms__zone-body {
	position: relative;
	height: clamp(270px, 26.5vw, 510px);
	max-height: 100%;
	aspect-ratio: 275.5 / 568;
	width: auto;
	max-width: clamp(145px, 12.8vw, 247px);
	flex: 0 1 auto;
	overflow: hidden;
}

.hugh-ms__zone-body-bg {
	position: absolute;
	left: 0.45%;
	/*inset: 0;*/
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

/* Back JPG has a wider aspect than back SVG, so scale it up slightly to align edges. */
.hugh-ms__zone-body[data-body-side="back"] .hugh-ms__zone-body-bg {
	transform: scale(1.038);
	transform-origin: center center;
}

.hugh-ms__zone-body-silhouette {
	position: relative;
	z-index: 1;
	display: block;
	height: 100%;
	width: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.hugh-ms__zone-part {
	position: absolute;
	display: block;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 0;
	overflow: visible;
	transition: opacity 0.22s ease;
	z-index: 2;
}

.hugh-ms__zone-part img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	.hugh-ms__zone-part:hover {
		opacity: 0.7;
	}
}

.hugh-ms__zone-part.is-selected {
	opacity: 1;
}

.hugh-ms__zone-picked-hint {
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 5;
	width: 135px;
	min-height: 73px;
	padding: 6px 13px 9px 14px;
	background: rgba(0, 0, 0, 0.52);
	border: 1px solid #fff;
	backdrop-filter: blur(3.75px);
	-webkit-backdrop-filter: blur(3.75px);
	pointer-events: none;
}

.hugh-ms__zone-picked-hint-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 108px;
}

.hugh-ms__zone-picked-hint-icon {
	display: block;
	position: relative;
	width: 24px;
	height: 24px;
}

.hugh-ms__zone-picked-hint-icon::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 10px;
	height: 17px;
	border-right: 3px solid #fff;
	border-bottom: 3px solid #fff;
	transform: rotate(42deg);
}

.hugh-ms__zone-picked-hint-text {
	margin: 0;
	width: 108px;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 17px;
	text-align: center;
	color: #fff;
}

.hugh-ms__zone-side-toggle {
	display: none;
}

.hugh-ms__zone-side-btn {
	font: inherit;
	cursor: pointer;
}

.hugh-ms__inner--step-0 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-0 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

@media (min-width: 768px) and (max-height: 860px) {
	.hugh-ms__inner--step-0 .hugh-ms__title {
		font-size: clamp(28px, 7vh, 72px);
		margin-bottom: clamp(6px, 1vh, 14px);
	}

	.hugh-ms__inner--step-0 .hugh-ms__panel {
		padding-right: clamp(140px, 16vw, 240px);
	}

	.hugh-ms__zone-bodies {
		gap: clamp(8px, 1.2vw, 16px);
	}
}

/* Step 1: "Type de visite" visual from Figma. */
.hugh-ms__inner--step-1 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-1 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-1 .hugh-ms__crumb.is-active {
	display: block;
	width: 12%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-1 .hugh-ms__panel {
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-1 .hugh-ms__title {
	margin-bottom: clamp(12px, min(2vw, 3vh), 32px);
	font-size: clamp(36px, min(5.2vw, 10.5vh), 100px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #fff;
}

.hugh-ms__lead {
	margin: 0 0 clamp(16px, min(3vw, 4.5vh), 40px);
	font-size: clamp(1rem, min(2vw, 3.2vh), 2rem);
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #fff;
}

.hugh-ms__inner--step-1 .hugh-ms__grid {
	gap: clamp(12px, min(2vw, 2.5vh), 20px);
	max-width: 670px;
}

.hugh-ms__inner--step-1 .hugh-ms__card {
	min-height: clamp(130px, min(22vw, 26vh), 228px);
	padding: clamp(14px, min(2vw, 2.2vh), 21px) clamp(16px, min(2.5vw, 2.8vh), 25px);
	justify-content: flex-start;
	gap: clamp(14px, min(2vw, 2.8vh), 28px);
	border: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	transition: background 0.2s ease, color 0.2s ease;
}

.hugh-ms__inner--step-1 .hugh-ms__card:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.hugh-ms__inner--step-1 .hugh-ms__card-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 300;
	line-height: 1.2;
	text-transform: uppercase;
	color: inherit;
}

.hugh-ms__inner--step-1 .hugh-ms__card-meta {
	max-width: 360px;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	line-height: 1.2;
	letter-spacing: 0.01em;
	color: inherit;
}

.hugh-ms__inner--step-1 .hugh-ms__card.is-selected {
	background: #fbfbfb;
	color: #000;
	border-color: #fff;
}

.hugh-ms__inner--step-1 .hugh-ms__footer {
	justify-content: flex-end;
	z-index: 2;
}

.hugh-ms__inner--step-1 .hugh-ms__footer > span {
	display: none;
}

.hugh-ms__inner--step-1 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-1 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 2: date picker layout from design. */
.hugh-ms__inner--step-2 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-2 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-2 .hugh-ms__crumb.is-active {
	display: block;
	width: 23%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-2 .hugh-ms__panel {
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-2 .hugh-ms__step2-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	/*max-width: 760px;*/
}

.hugh-ms__inner--step-2 .hugh-ms__title {
	margin-bottom: clamp(12px, min(2vw, 2.8vh), 24px);
	font-size: clamp(36px, min(5.2vw, 10.5vh), 100px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #fff;
}

.hugh-ms__step2-back {
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 24px;
	line-height: 1;
	color: #c9c9c9;
	cursor: pointer;
}

.hugh-ms__inner--step-2 .hugh-ms__cal-wrap {
	width: min(100%, 857px);
	height: clamp(340px, min(52vw, 58vh), 585px);
	border: 1px solid #fff;
	padding: clamp(20px, min(3vw, 4vh), 40px);
	display: flex;
	flex-direction: column;
}

.hugh-ms__inner--step-2 .hugh-ms__cal-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: clamp(20px, min(5vw, 6vh), 60px);
}

.hugh-ms__cal-month {
	font-size: clamp(18px, min(2.4vw, 3.5vh), 32px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.hugh-ms__cal-arrows {
	display: inline-flex;
	gap: 8px;
}

.hugh-ms__cal-arrow {
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 35px;
	line-height: 1;
	cursor: pointer;
}

.hugh-ms__cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	margin-bottom: 10px;
}

.hugh-ms__cal-weekday {
	text-align: center;
	font-size: clamp(14px, min(2.2vw, 3.2vh), 30px);
	font-weight: 300;
	line-height: 1;
	color: rgba(255, 255, 255, 0.86);
}

.hugh-ms__inner--step-2 .hugh-ms__cal-grid {
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	justify-items: center;
	align-items: center;
	flex: 1 1 auto;
}

.hugh-ms__inner--step-2 .hugh-ms__cal-cell {
	min-height: clamp(34px, min(4vw, 5vh), 49px);
	font-size: clamp(15px, min(2.2vw, 3.2vh), 31px);
	border-radius: 0;
	background: transparent;
}

.hugh-ms__inner--step-2 .hugh-ms__cal-cell.is-selected {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.hugh-ms__inner--step-2 .hugh-ms__cal-cell.is-disabled,
.hugh-ms__inner--step-2 .hugh-ms__cal-cell:disabled {
	opacity: 0.38;
}

.hugh-ms__inner--step-2 .hugh-ms__cal-cell--outside {
	opacity: 0.5;
	color: rgba(255, 255, 255, 0.5);
}

.hugh-ms__inner--step-2 .hugh-ms__footer {
	justify-content: flex-end;
	z-index: 2;
}

.hugh-ms__inner--step-2 .hugh-ms__footer .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__inner--step-2 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-2 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 3: choose service / format — black & white cards, progress ~40%, header + Retour. */
.hugh-ms__inner--step-3 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-3 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-3 .hugh-ms__crumb.is-active {
	display: block;
	width: 40%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-3 .hugh-ms__panel {
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-3 .hugh-ms__step2-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
}

.hugh-ms__inner--step-3 .hugh-ms__title {
	margin-bottom: clamp(12px, min(2vw, 3vh), 32px);
	font-size: clamp(36px, min(5.2vw, 10.5vh), 100px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #fff;
}

.hugh-ms__inner--step-3 .hugh-ms__step2-back {
	color: #fff;
}

.hugh-ms__inner--step-3 .hugh-ms__grid {
	gap: clamp(12px, min(2vw, 2.5vh), 20px);
	max-width: 670px;
}

.hugh-ms__inner--step-3 .hugh-ms__card {
	min-height: clamp(110px, min(18vw, 20vh), 168px);
	padding: clamp(18px, min(3.5vw, 4vh), 36px) clamp(22px, min(4vw, 4.5vh), 44px);
	justify-content: flex-start;
	gap: clamp(8px, min(1.5vw, 1.8vh), 12px);
	border: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hugh-ms__inner--step-3 .hugh-ms__card:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.hugh-ms__inner--step-3 .hugh-ms__card.is-selected {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.hugh-ms__inner--step-3 .hugh-ms__card.is-selected:hover {
	background: #fff;
	color: #000;
}

.hugh-ms__inner--step-3 .hugh-ms__card-title {
	font-size: clamp(18px, min(2.5vw, 3.6vh), 32px);
	font-weight: 300;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: inherit;
}

.hugh-ms__inner--step-3 .hugh-ms__card-meta--price {
	font-size: clamp(20px, min(2.8vw, 4vh), 36px);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: inherit;
	opacity: 1;
}

.hugh-ms__inner--step-3 .hugh-ms__footer {
	justify-content: flex-end;
	z-index: 2;
}

.hugh-ms__inner--step-3 .hugh-ms__footer .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__inner--step-3 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-3 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 4 (time choice in UI flow): schedule slots layout from design. */
.hugh-ms__inner--step-5 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-5 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-5 .hugh-ms__crumb.is-active {
	display: block;
	width: 53%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-5 .hugh-ms__panel {
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-5 .hugh-ms__step2-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
}

.hugh-ms__inner--step-5 .hugh-ms__title {
	margin-bottom: clamp(10px, min(1.8vw, 2.4vh), 20px);
	font-size: clamp(36px, min(5.2vw, 10.5vh), 100px);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: #fff;
}

.hugh-ms__inner--step-5 .hugh-ms__step2-back {
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.02em;
	color: #c1c0c0;
}

.hugh-ms__time-meta {
	margin: 0 0 clamp(16px, min(3vw, 4vh), 40px);
	font-size: clamp(14px, min(1.6vw, 2.2vh), 20px);
	line-height: 1.2;
	color: #fff;
}

.hugh-ms__time-meta-date {
	color: #fff;
}

.hugh-ms__time-meta-sep,
.hugh-ms__time-meta-format {
	color: #ccc;
}

.hugh-ms__time-sub {
	margin: 0 0 clamp(20px, min(4vw, 5vh), 52px);
	font-size: clamp(18px, min(2.6vw, 3.8vh), 32px);
	font-weight: 300;
	line-height: 1.2;
	color: #fff;
}

.hugh-ms__inner--step-5 .hugh-ms__slots {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(8px, min(1.2vw, 1.6vh), 12px) clamp(16px, min(3vw, 3.5vh), 38.322px);
	max-width: 714px;
}

.hugh-ms__inner--step-5 .hugh-ms__slot {
	box-sizing: border-box;
	position: relative;
	display: flex;
	width: clamp(140px, min(22vw, 24vh), 211.78px);
	min-height: clamp(52px, min(8vw, 9vh), 78.66px);
	padding: clamp(12px, min(1.8vw, 2vh), 20.1695px) clamp(28px, min(6vw, 7vh), 62px) clamp(14px, min(2vw, 2.2vh), 22.1864px);
	align-items: center;
	justify-content: center;
	font-size: clamp(16px, min(2.4vw, 3.2vh), 30.2542px);
	font-weight: 300;
	line-height: 1.2;
	color: #fff;
	background: transparent;
	border: 2.01695px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-5 .hugh-ms__slot:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.hugh-ms__inner--step-5 .hugh-ms__slot.is-selected {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.hugh-ms__inner--step-5 .hugh-ms__slot:disabled {
	color: #b5b5b5;
	background: #323131;
	border-color: #c1c0c0;
	text-decoration: none;
	cursor: not-allowed;
}

.hugh-ms__inner--step-5 .hugh-ms__slot:disabled::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 135px;
	border-top: 2px solid #b5b5b5;
	transform: translate(-50%, -50%);
}

.hugh-ms__inner--step-5 .hugh-ms__slot:disabled:hover {
	background: #323131;
	border-color: #c1c0c0;
}

.hugh-ms__inner--step-5 .hugh-ms__footer {
	justify-content: flex-end;
	z-index: 2;
}

.hugh-ms__inner--step-5 .hugh-ms__footer .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__inner--step-5 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-5 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 5 (photos): upload and zone selectors. */
.hugh-ms__inner--step-6 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-6 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-6 .hugh-ms__crumb.is-active {
	display: block;
	width: 71.7%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-6 .hugh-ms__panel {
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
	overflow: visible;
}

.hugh-ms__inner--step-6 .hugh-ms__step2-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
}

.hugh-ms__inner--step-6 .hugh-ms__title {
	margin-bottom: clamp(12px, min(2vw, 2.8vh), 24px);
	font-size: clamp(36px, min(5.2vw, 10.5vh), 100px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #fff;
}

.hugh-ms__inner--step-6 .hugh-ms__step2-back {
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.02em;
	color: #c1c0c0;
	cursor: pointer;
}

.hugh-ms__photo-guidelines,
.hugh-ms__inner--step-0 .hugh-ms__zone-lead {
	width: min(712px, 100%);
	margin: 0 0 clamp(12px, min(2vw, 2.5vh), 20px);
	padding-right: clamp(16px, 2.5vw, 30px);
	font-weight: 300;
	font-size: clamp(15px, min(2vw, 2.6vh), 24px);
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #fff;
}

.hugh-ms__photo-subtitle {
	width: min(712px, 100%);
	margin: 0 0 clamp(10px, min(1.5vw, 2vh), 14px);
	font-size: clamp(18px, min(2.6vw, 3.6vh), 32px);
	line-height: 1.05;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
}

.hugh-ms__inner--step-6 .hugh-ms__warn {
	width: min(712px, 100%);
	margin: 0 0 16px;
}

.hugh-ms__photo-upload-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(712px, 100%);
	margin-bottom: 20px;
}

.hugh-ms__photo-upload-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: clamp(120px, min(18vw, 22vh), 250px);
	padding: clamp(12px, min(1.8vw, 2.2vh), 18px) clamp(14px, 2vw, 20px);
	border: 1px solid #fff;
	cursor: pointer;
}

.hugh-ms__photo-upload-card:has(.hugh-ms__photo-upload-feedback) .hugh-ms__photo-upload-icon,
.hugh-ms__photo-upload-card:has(.hugh-ms__photo-upload-feedback) .hugh-ms__photo-upload-text {
	display: none;
}

.hugh-ms__photo-upload-card:has(.hugh-ms__photo-upload-feedback) .hugh-ms__photo-upload-feedback {
	margin-top: 0;
}

.hugh-ms__photo-upload-icon {
	display: block;
	flex-shrink: 0;
	width: 49px;
	height: 49px;
	background: center / contain no-repeat url("../images/upload.svg");
}

.hugh-ms__photo-upload-text {
	font-family: "Helvetica Neue", "Inter Tight", sans-serif;
	font-weight: 300;
	font-size: 24px;
	line-height: 29px;
	text-align: center;
	color: #fff;
}

.hugh-ms__photo-progress {
	display: block;
	width: 100%;
	margin: clamp(10px, 0.9vw, 16px) auto 0;
	font-family: "Helvetica Neue", "Inter Tight", sans-serif;
	font-size: clamp(14px, 1.05vw, 17px);
	line-height: 1.35;
	font-weight: 400;
	text-align: center;
	color: rgba(255, 150, 150, 0.98);
}

.hugh-ms__photo-progress--pending {
	color: rgba(255, 100, 100, 0.98);
}

.hugh-ms__photo-progress--ok {
	color: rgba(255, 170, 170, 0.96);
}

.hugh-ms__photo-upload-feedback {
	width: 100%;
	margin-top: 12px;
	text-align: center;
}

.hugh-ms__photo-upload-status {
	margin: 0 0 8px;
	font-family: "Helvetica Neue", "Inter Tight", sans-serif;
	font-size: 16px;
	line-height: 20px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
}

.hugh-ms__photo-upload-names {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.hugh-ms__photo-upload-name {
	font-family: "Helvetica Neue", "Inter Tight", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
	word-break: break-word;
	padding: 3px 0;
}

.hugh-ms__photo-zone-wrap {
	width: min(711px, 100%);
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.hugh-ms__photo-zone-label {
	font-size: clamp(18px, min(2.6vw, 3.6vh), 32px);
	line-height: 1.2;
	color: #fff;
}

.hugh-ms__photo-zone-field {
	position: relative;
	z-index: 20;
	min-height: clamp(52px, min(7vw, 8vh), 70px);
	border: 1px solid #fff;
}

.hugh-ms__photo-zone-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: clamp(52px, min(7vw, 8vh), 70px);
	padding: clamp(12px, min(1.8vw, 2vh), 16px) clamp(22px, min(4vw, 4.5vh), 44px) clamp(12px, min(1.8vw, 2vh), 16px) clamp(12px, min(1.8vw, 2vh), 15px);
	font: inherit;
	font-size: clamp(15px, min(2vw, 2.6vh), 24px);
	line-height: 1.2;
	text-align: left;
	color: #fff;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hugh-ms__photo-zone-trigger:focus {
	outline: none;
}

.hugh-ms__photo-zone-value {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 12px;
}

.hugh-ms__photo-zone-arrow {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: center / contain no-repeat url("../images/arrow-down.svg");
	transition: transform 0.15s ease;
	pointer-events: none;
}

.hugh-ms__photo-zone-menu {
	position: absolute;
	left: -1px;
	bottom: calc(100% + 1px);
	width: 711px;
	max-width: calc(100vw - 120px);
	height: auto;
	min-height: 0;
	padding: 34px 0;
	display: none;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	z-index: 25;
	overflow: visible;
}

.hugh-ms__photo-zone-menu.is-open {
	display: flex;
}

.hugh-ms__photo-zone-field.is-open .hugh-ms__photo-zone-arrow {
	transform: rotate(180deg);
}

.hugh-ms__photo-zone-option {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 18px;
	margin: 0;
	border: 0;
	background: transparent;
	font-family: "Helvetica Neue", "Inter Tight", sans-serif;
	font-size: 24px;
	line-height: 29px;
	font-weight: 300;
	text-align: left;
	color: #000;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}

.hugh-ms__photo-zone-option:hover,
.hugh-ms__photo-zone-option:focus-visible {
	background: #000;
	color: #fff;
	opacity: 1;
	outline: none;
}

.hugh-ms__photo-zone-option.is-selected {
	opacity: 0.65;
}

.hugh-ms__photo-zone-option.is-selected:hover,
.hugh-ms__photo-zone-option.is-selected:focus-visible {
	opacity: 1;
}

.hugh-ms__inner--step-6 .hugh-ms__file-label--fallback {
	display: none;
}

.hugh-ms__inner--step-6 .hugh-ms__file-list {
	margin-top: 10px;
	width: min(712px, 100%);
}

.hugh-ms__inner--step-6 .hugh-ms__footer {
	justify-content: flex-end;
	z-index: 2;
}

.hugh-ms__inner--step-6 .hugh-ms__footer .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__inner--step-6 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-6 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 7: customer information (Figma « information »). */
.hugh-ms__inner--step-7 {
	--hugh-ms-footer-slot: clamp(96px, min(16vw, 20vh), 132px);
}

.hugh-ms__inner--step-7 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-7 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-7 .hugh-ms__crumb.is-active {
	display: block;
	width: 84.5%;
	height: 100%;
	background: #fff;
}

/* Step 7: панель с прокруткой; кнопка «Retour» — в потоке flex (.hugh-ms__step2-head), не абсолютная (иначе в модалке уезжает). */
.hugh-ms__inner--step-7 .hugh-ms__panel--info {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-7 .hugh-ms__step2-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.hugh-ms__inner--step-7 .hugh-ms__title {
	margin: 0 0 clamp(12px, min(2vw, 2.8vh), 24px);
	font-size: clamp(28px, min(5.2vw, 9vh), 100px);
	font-weight: 300;
	line-height: 1.21;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
}

.hugh-ms-booking .hugh-ms__step2-back--figma {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
	text-align: left;
}

/* Шаги 2, 3, 5, 6: Back в правом верхнем углу относительно .hugh-ms__panel — не добавлять сюда step 7–8 (--figma), иначе в модальном режиме «Retour» уезжает. */
.hugh-ms__inner--step-0 .hugh-ms__step2-back,
.hugh-ms__inner--step-1 .hugh-ms__step2-back,
.hugh-ms__inner--step-2 .hugh-ms__step2-back,
.hugh-ms__inner--step-3 .hugh-ms__step2-back,
.hugh-ms__inner--step-4 .hugh-ms__step2-back,
.hugh-ms__inner--step-5 .hugh-ms__step2-back,
.hugh-ms__inner--step-6 .hugh-ms__step2-back {
	position: absolute;
	right: clamp(48px, 4.16vw, 80px);
	top: 0;
	z-index: 5;
}

/* Steps 7–8: «Retour» в строке flex (.hugh-ms__step2-head), не absolute (модалка иначе ломает якорь). */
.hugh-ms__inner--step-7 .hugh-ms__step2-head > .hugh-ms__step2-back--figma,
.hugh-ms__inner--step-8 .hugh-ms__step2-head > .hugh-ms__step2-back--figma {
	position: static;
	right: auto;
	top: auto;
	z-index: auto;
	flex-shrink: 0;
}

.hugh-ms-booking .hugh-ms__step2-back-ico {
	display: block;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	background: center / contain no-repeat url("../images/back.svg");
}

.hugh-ms-booking .hugh-ms__step2-back-txt {
	font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
	font-weight: 300;
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.02em;
	text-transform: capitalize;
	color: #c1c0c0;
}

.hugh-ms__inner--step-7 .hugh-ms__info-form {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, min(2vw, 2.5vh), 20px);
	width: 100%;
	max-width: 730px;
}

.hugh-ms__inner--step-7 .hugh-ms__info-row {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(12px, min(2vw, 2.5vh), 20px);
	width: 100%;
}

.hugh-ms__inner--step-7 .hugh-ms__field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: inherit;
	text-transform: none;
	letter-spacing: normal;
	color: #fff;
}

.hugh-ms__inner--step-7 .hugh-ms__field--half {
	flex: 1 1 calc(50% - 10px);
	min-width: min(100%, 280px);
}

.hugh-ms__inner--step-7 .hugh-ms__field--full {
	width: 100%;
}

.hugh-ms__inner--step-7 .hugh-ms__field-label {
	display: block;
	width: 100%;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-weight: 300;
	font-size: clamp(15px, min(2vw, 2.6vh), 24px);
	line-height: 1.2;
	text-transform: uppercase;
	color: #fff;
}

.hugh-ms__inner--step-7 .hugh-ms__req {
	font-weight: 300;
	color: #fff;
}

.hugh-ms__inner--step-7 .hugh-ms__field-input {
	box-sizing: border-box;
	width: 100%;
	min-height: clamp(48px, min(7vw, 8vh), 70px);
	padding: clamp(12px, min(1.8vw, 2vh), 18px) clamp(12px, min(1.5vw, 1.8vh), 14px) clamp(12px, min(1.8vw, 2vh), 18px) clamp(12px, min(1.5vw, 1.8vh), 15px);
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(15px, min(1.8vw, 2.4vh), 20px);
	line-height: 1.2;
	font-weight: 300;
	color: #fff;
	background: transparent;
	border: 1px solid #fff;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.hugh-ms__inner--step-7 .hugh-ms__field-input::placeholder {
	color: #c1c0c0;
	opacity: 1;
}

.hugh-ms__inner--step-7 .hugh-ms__field-input:focus {
	outline: none;
	border-color: #fff;
	box-shadow: 0 0 0 1px #fff;
}

.hugh-ms__inner--step-7 .hugh-ms__field-input--note {
	height: clamp(48px, min(7vw, 8vh), 70px);
	min-height: clamp(48px, min(7vw, 8vh), 70px);
	max-height: clamp(48px, min(7vw, 8vh), 70px);
	resize: none;
	overflow-y: auto;
}

.hugh-ms__inner--step-7 .hugh-ms__footer {
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	z-index: 2;
	padding-left: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-7 .hugh-ms__footer--info-step .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__inner--step-7 .hugh-ms__age-row {
	display: flex;
	align-items: center;
	gap: 7px;
	max-width: min(484px, 100%);
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.hugh-ms-booking .hugh-ms__cb-outline {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	margin: 0;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms-booking .hugh-ms__cb-outline:checked {
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none' viewBox='0 0 14 11'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='square' d='M1 5.5l4 4L13 1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px 11px;
}

.hugh-ms-booking .hugh-ms__cb-outline:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.45);
	outline-offset: 2px;
}

.hugh-ms__inner--step-7 .hugh-ms__age-text {
	font-family: "Inter Tight", system-ui, sans-serif;
	font-weight: 200;
	font-size: 18px;
	line-height: 22px;
	color: #fff;
	text-transform: none;
	letter-spacing: normal;
}

.hugh-ms__inner--step-7 .hugh-ms__btn--primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(10px, min(1.2vw, 1.8vh), 14px) clamp(9px, min(1.1vw, 1.6vh), 13px) clamp(18px, min(2.5vw, 3vh), 31px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
}

.hugh-ms__inner--step-7 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 8: deposit payment recap + Stripe CTA. */
.hugh-ms__inner--step-8 {
	/* Reserve more space so consent checkbox isn't covered by fixed footer */
	--hugh-ms-footer-slot: clamp(160px, min(26vw, 30vh), 260px);
}

.hugh-ms__inner--step-8 .hugh-ms__crumbs {
	position: relative;
	display: block;
	height: 15px;
	border: 1px solid #fff;
	border-radius: 56px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.hugh-ms__inner--step-8 .hugh-ms__crumb {
	display: none;
}

.hugh-ms__inner--step-8 .hugh-ms__crumb.is-active {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
}

.hugh-ms__inner--step-8 .hugh-ms__panel--pay {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	padding-left: clamp(48px, 4.16vw, 80px);
	padding-right: clamp(48px, 4.16vw, 80px);
}

.hugh-ms__inner--step-8 .hugh-ms__step2-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.hugh-ms__inner--step-8 .hugh-ms__title {
	margin: 0 0 clamp(12px, min(2.2vw, 3vh), 28px);
	font-size: clamp(32px, min(5.2vw, 10vh), 100px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-layout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(14px, min(2.5vw, 3vh), 24px);
	width: 100%;
	max-width: min(558px, 100%);
	margin-bottom: clamp(20px, min(4vw, 5vh), 50px);
}

.hugh-ms__inner--step-8 .hugh-ms__stripe-wrap {
	width: 100%;
	box-sizing: border-box;
}

.hugh-ms__inner--step-8 .hugh-ms__stripe-heading {
	margin: 0 0 clamp(8px, min(1.2vw, 1.5vh), 12px);
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(14px, min(1.8vw, 2.2vh), 20px);
	font-weight: 400;
	color: #fff;
}

.hugh-ms__inner--step-8 .hugh-ms__stripe-mount {
	padding: clamp(12px, min(2vw, 2.5vh), 16px) clamp(14px, min(2.2vw, 2.8vh), 18px);
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(0, 0, 0, 0.15);
	min-height: 52px;
	box-sizing: border-box;
}

.hugh-ms__inner--step-8 .hugh-ms__stripe-mount .StripeElement {
	width: 100%;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-sheet {
	width: 100%;
	padding: clamp(22px, min(4vw, 5vh), 50px) clamp(22px, min(4vw, 4.5vh), 49px) clamp(26px, min(4.5vw, 5.5vh), 58px) clamp(22px, min(4vw, 4.5vh), 50px);
	border: 1px solid #fff;
	box-sizing: border-box;
	min-height: clamp(220px, min(38vw, 40vh), 348px);
}

.hugh-ms__inner--step-8 .hugh-ms__pay-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: clamp(14px, min(2.5vw, 3vh), 24px);
	padding: 0;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: clamp(15px, min(2vw, 2.6vh), 24px);
	line-height: 1.2;
	font-weight: 300;
	color: #fff;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-sheet .hugh-ms__pay-row + .hugh-ms__pay-row {
	margin-top: 15px;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-k {
	flex: 0 1 auto;
	letter-spacing: 0;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-v {
	flex: 0 0 auto;
	text-align: right;
	white-space: nowrap;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-sep {
	height: 1px;
	margin: 25px 0;
	background: #fff;
	opacity: 1;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-disclaimer {
	margin: 0;
	width: min(557px, 100%);
	max-width: 100%;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-weight: 300;
	font-size: clamp(14px, min(1.6vw, 2.2vh), 20px);
	line-height: 1.25;
	letter-spacing: 0.02em;
	color: #fff;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-terms {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 0;
	width: min(557px, 100%);
	max-width: 100%;
	font: inherit;
	cursor: pointer;
	position: relative;
	z-index: 4;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-terms-input {
	margin-top: 2px;
	position: relative;
	z-index: 5;
	pointer-events: auto;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-terms-text,
.hugh-ms__inner--step-8 .hugh-ms__pay-terms-line {
	font-family: "Inter Tight", system-ui, sans-serif;
	font-weight: 300;
	font-size: clamp(13px, min(1.45vw, 2vh), 18px);
	line-height: 1.25;
	color: #fff;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-link:hover {
	opacity: 0.85;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-terms-line--html a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-terms-line--html a:hover {
	opacity: 0.85;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-terms-line--html p {
	margin: 0;
}

@media (min-width: 768px) {
	.hugh-ms__inner--step-8 .hugh-ms__panel--pay {
		display: grid;
		grid-template-columns: minmax(0, min(558px, 100%)) minmax(0, 1fr);
		column-gap: clamp(24px, 3vw, 56px);
		align-items: start;
	}

	.hugh-ms__inner--step-8 .hugh-ms__step2-head {
		grid-column: 1 / -1;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-layout {
		grid-column: 1;
		grid-row: 2;
	}

	.hugh-ms__inner--step-8 .hugh-ms__panel-controls {
		grid-column: 2;
		grid-row: 2;
		align-self: end;
		justify-self: end;
		width: auto;
		margin-top: 0;
		justify-content: flex-end;
		align-items: flex-end;
	}

	.hugh-ms__inner--step-8 .hugh-ms__panel-actions {
		margin-left: auto;
	}
}

.hugh-ms__inner--step-8 .hugh-ms__footer {
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: nowrap;
	z-index: 1;
	padding-left: clamp(48px, 4.16vw, 80px);
	bottom: clamp(15px, 1.3vw, 25px);
}

.hugh-ms__inner--step-8 .hugh-ms__footer-spacer {
	flex: 1 1 auto;
	min-width: 0;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-footer-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 15px;
	flex: 0 0 auto;
}

.hugh-ms__inner--step-8 .hugh-ms__pay-secure {
	margin: 0;
	width: auto;
	font-family: "Inter Tight", system-ui, sans-serif;
	font-size: 18px;
	line-height: 22px;
	font-weight: 300;
	letter-spacing: 0.02em;
	color: #fff;
	text-align: right;
}

.hugh-ms__inner--step-8 .hugh-ms__footer--pay-step .hugh-ms__btn--ghost {
	display: none;
}

.hugh-ms__inner--step-8 .hugh-ms__btn--primary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(420px, 100%);
	min-height: clamp(52px, min(4.4vw, 8.5vh), 85px);
	padding: clamp(12px, min(2vw, 2.4vh), 20px) clamp(18px, min(2.8vw, 3.2vh), 28px) clamp(12px, min(1.9vw, 2.3vh), 19px);
	font-size: clamp(15px, min(1.85vw, 2.5vh), 24px);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: uppercase;
	text-align: center;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 0;
	max-width: 100%;
	white-space: normal;
}

.hugh-ms__inner--step-8 .hugh-ms__btn--primary::after,
.hugh-ms__inner--step-8 .hugh-ms__btn--primary::before {
	content: none;
	display: none;
}

.hugh-ms__inner--step-8 .hugh-ms__btn--primary:hover {
	filter: none;
	background: #f2f2f2;
}

/* Step 9: confirmation screen after payment. */
.hugh-ms__inner--step-9 {
	padding-bottom: var(--hugh-ms-pad-y);
}

.hugh-ms__inner--step-9 .hugh-ms__crumbs,
.hugh-ms__inner--step-9 .hugh-ms__error {
	display: none;
}

.hugh-ms__inner--step-9 .hugh-ms__panel--done {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 auto;
	padding-left: clamp(48px, 4.16vw, 80px);
	padding-right: clamp(48px, 4.16vw, 80px);
	padding-top: clamp(24px, 3vw, 48px);
	padding-bottom: clamp(24px, 3vw, 48px);
	min-height: 0;
}

.hugh-ms__inner--step-9 .hugh-ms__done-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(22px, min(4vw, 5vh), 44px);
	width: min(706px, 100%);
	margin: 0 auto;
}

.hugh-ms__inner--step-9 .hugh-ms__done-icon {
	width: clamp(96px, min(12vw, 14vh), 147px);
	height: clamp(96px, min(12vw, 14vh), 147px);
	position: relative;
}

.hugh-ms__inner--step-9 .hugh-ms__done-icon::before {
	content: "";
	position: absolute;
	inset: 0;
	background: center / contain no-repeat url("../images/done.svg");
}

.hugh-ms__inner--step-9 .hugh-ms__title {
	margin: 0;
	width: 100%;
	font-size: clamp(28px, min(4vw, 6vh), 55px);
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}

.hugh-ms__inner--step-9 .hugh-ms__done-sheet {
	box-sizing: border-box;
	width: min(558px, 100%);
	min-height: clamp(180px, min(32vw, 34vh), 271px);
	padding: clamp(22px, min(4vw, 5vh), 50px) clamp(22px, min(4vw, 4.5vh), 49px) clamp(26px, min(4.5vw, 5.5vh), 58px) clamp(22px, min(4vw, 4.5vh), 50px);
	border: 1px solid #fff;
	display: flex;
	flex-direction: column;
	gap: clamp(10px, min(1.8vw, 2vh), 15px);
}

.hugh-ms__inner--step-9 .hugh-ms__done-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: clamp(14px, min(2.5vw, 3vh), 24px);
	font-size: clamp(15px, min(2vw, 2.6vh), 24px);
	line-height: 1.2;
	color: #fff;
}

.hugh-ms__inner--step-9 .hugh-ms__done-k,
.hugh-ms__inner--step-9 .hugh-ms__done-v {
	font-weight: 300;
}

.hugh-ms__inner--step-9 .hugh-ms__done-v {
	text-align: right;
}

.hugh-ms__inner--step-9 .hugh-ms__done-row.is-strong .hugh-ms__done-k,
.hugh-ms__inner--step-9 .hugh-ms__done-row.is-strong .hugh-ms__done-v {
	font-weight: 500;
}

.hugh-ms__inner--step-9 .hugh-ms__done-note {
	margin: 0;
	width: min(371px, 100%);
	font-size: clamp(14px, min(1.6vw, 2.2vh), 20px);
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0.02em;
	color: #fff;
}

.hugh-ms__inner--step-9 .hugh-ms__done-close {
	box-sizing: border-box;
	width: clamp(180px, min(28vw, 30vh), 234px);
	height: clamp(54px, min(7vw, 8vh), 75px);
	padding: clamp(10px, min(1.5vw, 1.8vh), 15px);
	border: 0;
	background: #fff;
	color: #000;
	font: inherit;
	font-size: clamp(15px, min(2vw, 2.6vh), 24px);
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Unified heading weight across all booking steps. */
.hugh-ms__title {
	font-weight: 600;
}

/* Mobile adapt for step 1 (date book). */
@media (max-width: 767px) {
	.hugh-ms-booking {
		zoom: 1;
		width: 100%;
		/*max-width: 393px;*/
		min-height: 594px;
		padding: 19px 20px 32px;
		border: 0;
		border-radius: 0;
		background: #000;
	}

	/* Mobile: black square 35.38×36 with the arrow centered (20×20). */
	.hugh-ms__btn--primary::after {
		width: 35.38px;
		height: 36px;
		background: #000 center / 20px 20px no-repeat url("../images/arrow-up-outline.svg");
	}

	.hugh-ms__inner {
		gap: 32px;
		min-height: calc(594px - 19px - 32px);
	}

	/* Show a compact progress bar on every mobile step. */
	.hugh-ms__inner .hugh-ms__crumbs {
		display: block;
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
		overflow: hidden;
		font-size: 0;
		line-height: 0;
	}

	.hugh-ms__inner .hugh-ms__crumb {
		display: none;
	}

	.hugh-ms__inner .hugh-ms__crumb.is-active {
		display: block;
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-0 {
		gap: 20px;
		/*padding: 20px 16px;*/
	}

	.hugh-ms__inner--step-0 .hugh-ms__crumbs {
		width: 100%;
		height: 8px;
		margin: 0 auto;
		border: 1px solid #fff;
		border-radius: 21px;
		background: transparent;
		overflow: hidden;
	}

	.hugh-ms__inner--step-0 .hugh-ms__crumb.is-active {
		width: 5%;
		height: 100%;
		background: #fff;
	}

	.hugh-ms__inner--step-0 .hugh-ms__panel {
		padding-left: 0;
		padding-right: 0;
		min-height: 0;
	}

	.hugh-ms__inner--step-0 .hugh-ms__panel-controls {
		position: static;
		right: auto;
		top: auto;
		bottom: auto;
		margin-top: 16px;
		width: 100%;
		justify-content: flex-start;
		align-items: stretch;
	}

	.hugh-ms__inner--step-0 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	/* Retour: как на шагах 2–6 — в потоке сверху слева, не absolute (иначе наезжает на переключатель вида тела). */
	.hugh-ms__inner--step-0 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 312px;
		/*margin-bottom: 15px;*/
	}

	.hugh-ms__inner--step-0 .hugh-ms__step2-back,
	.hugh-ms__inner--step-0 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-0 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-0 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-0 .hugh-ms__title {
		order: 1;
		margin: 0 0 12px;
		font-size: 24px;
	}

	/* Stage растягивается на всю оставшуюся высоту панели — как на десктопе. */
	.hugh-ms__zone-stage {
		position: relative;
		width: 100%;
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		align-items: stretch;
		justify-content: center;
	}

	.hugh-ms__zone-bodies {
		justify-content: center;
		align-items: stretch;
		gap: 8px;
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		height: 100%;
	}

	/* Тело занимает доступную высоту stage и сохраняет пропорции через aspect-ratio.
	   Соотношение должно совпадать с десктопным (275.5 / 568) — кнопки зон позиционированы
	   в процентах относительно этой коробки, иначе они «съезжают» относительно силуэта. */
	.hugh-ms__zone-body {
		display: none;
		width: auto;
		max-width: 55%;
		height: 100%;
		max-height: 100%;
		min-height: 0;
		aspect-ratio: 275.5 / 568;
		overflow: hidden;
	}

	.hugh-ms__zone-body.is-active {
		display: block;
	}

	.hugh-ms__zone-side-toggle {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 4;
		display: flex;
		flex-direction: column;
		width: min(106px, 29vw);
	}

	.hugh-ms__zone-side-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 37px;
		padding: 8px 12px;
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
		color: #fff;
		background: transparent;
		border: 1px solid #fff;
		border-radius: 0;
	}

	.hugh-ms__zone-side-btn + .hugh-ms__zone-side-btn {
		margin-top: 5px;
	}

	.hugh-ms__zone-side-btn.is-selected {
		color: #000;
		background: #fff;
	}

	.hugh-ms__inner--step-0 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
	}

	.hugh-ms__inner--step-1 {
		gap: 32px;
	}

	.hugh-ms__inner--step-1 .hugh-ms__crumbs {
		width: 100%;
		height: 8px;
		margin: 0 auto;
		border: 1px solid #fff;
		border-radius: 21px;
		background: transparent;
		overflow: hidden;
	}

	.hugh-ms__inner--step-1 .hugh-ms__crumb.is-active {
		width: 12%;
		height: 100%;
		background: #fff;
	}

	.hugh-ms__inner--step-1 .hugh-ms__panel {
		padding-left: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-1 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 212px;
		margin-bottom: 15px;
	}

	.hugh-ms__inner--step-1 .hugh-ms__step2-back,
	.hugh-ms__inner--step-1 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-1 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-1 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-1 .hugh-ms__title {
		order: 1;
		margin: 0 0 8px;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-1 .hugh-ms__lead {
		margin: 0 0 15px;
		font-size: 16px;
		font-weight: 300;
		line-height: 1.2;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-1 .hugh-ms__grid {
		gap: 6px;
		max-width: 100%;
		margin-bottom: 32px;
	}

	.hugh-ms__inner--step-1 .hugh-ms__card {
		min-height: 172px;
		padding: 27px 21px 36px;
		gap: 15px;
	}

	.hugh-ms__inner--step-1 .hugh-ms__card-title {
		font-size: 18px;
		font-weight: 500;
		line-height: 22px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-1 .hugh-ms__card-meta {
		max-width: 240px;
		font-size: 15px;
		font-weight: 300;
		line-height: 1.2;
		letter-spacing: 0.03em;
	}

	.hugh-ms__inner--step-1 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		justify-content: flex-start;
		align-items: stretch;
	}

	.hugh-ms__inner--step-1 .hugh-ms__footer {
		width: 100%;
		justify-content: stretch;
	}

	.hugh-ms__inner--step-1 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-1 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
	}

	/* Step 2 mobile */
	.hugh-ms__inner--step-2 {
		gap: 35px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__crumbs {
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-2 .hugh-ms__crumb.is-active {
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-2 .hugh-ms__panel {
		padding-left: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-2 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 212px;
		margin-bottom: 15px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__step2-back,
	.hugh-ms__inner--step-2 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-2 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-2 .hugh-ms__title {
		order: 1;
		margin: 0;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-wrap {
		width: 100%;
		height: auto;
		min-height: 332px;
		padding: 19px 20px 18px;
		border: 1px solid #fff;
		margin-bottom: 32px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-nav {
		margin-bottom: 18px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-month {
		font-size: 18px;
		font-weight: 500;
		line-height: 22px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-arrows {
		gap: 7px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-arrow {
		width: 19px;
		height: 19px;
		font-size: 24px;
		line-height: 1;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-weekdays {
		margin-bottom: 6px;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-weekday {
		font-size: 15px;
		font-weight: 600;
		line-height: 18px;
		color: #b8b8b8;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-grid {
		gap: 2px 0;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-cell {
		aspect-ratio: auto;
		min-height: 34px;
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
		letter-spacing: 0.02em;
		border-radius: 0;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-cell.is-selected {
		min-width: 40px;
		height: 27px;
		background: #fff;
		color: #000;
		border-color: #fff;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-cell.is-disabled,
	.hugh-ms__inner--step-2 .hugh-ms__cal-cell:disabled {
		opacity: 1;
		color: #5b5b5b;
	}

	.hugh-ms__inner--step-2 .hugh-ms__cal-cell--outside {
		color: #8a8686;
		opacity: 1;
	}

	.hugh-ms__inner--step-2 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		justify-content: flex-start;
		align-items: stretch;
	}

	.hugh-ms__inner--step-2 .hugh-ms__footer {
		width: 100%;
		justify-content: stretch;
	}

	.hugh-ms__inner--step-2 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-2 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		border-radius: 0;
	}


	/* Step 3 mobile */
	.hugh-ms__inner--step-3 {
		gap: 35px;
	}

	.hugh-ms__inner--step-3 .hugh-ms__crumbs {
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-3 .hugh-ms__crumb.is-active {
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-3 .hugh-ms__panel {
		padding-left: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-3 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 235px;
		margin-bottom: 15px;
	}

	.hugh-ms__inner--step-3 .hugh-ms__step2-back,
	.hugh-ms__inner--step-3 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-3 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-3 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-3 .hugh-ms__title {
		order: 1;
		margin: 0;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-3 .hugh-ms__grid {
		gap: 10px;
		max-width: 100%;
		margin-bottom: 32px;
	}

	.hugh-ms__inner--step-3 .hugh-ms__card {
		min-height: 107px;
		padding: 24px 19px;
		gap: 9px;
		border: 1px solid #fff;
		border-radius: 0;
		background: transparent;
		color: #fff;
	}

	.hugh-ms__inner--step-3 .hugh-ms__card-title {
		font-size: 18px;
		font-weight: 300;
		line-height: 22px;
		letter-spacing: 0;
		text-transform: uppercase;
		color: inherit;
	}

	.hugh-ms__inner--step-3 .hugh-ms__card-meta--price {
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		letter-spacing: 0;
		text-transform: uppercase;
		color: inherit;
	}

	.hugh-ms__inner--step-3 .hugh-ms__card.is-selected {
		background: #fff;
		color: #000;
		border-color: #fff;
	}

	.hugh-ms__inner--step-3 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		justify-content: flex-start;
		align-items: stretch;
	}

	.hugh-ms__inner--step-3 .hugh-ms__footer {
		width: 100%;
		justify-content: stretch;
	}

	.hugh-ms__inner--step-3 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-3 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		border-radius: 0;
	}


	/* Step 4 (time) mobile */
	.hugh-ms__inner--step-5 {
		gap: 35px;
	}

	.hugh-ms__inner--step-5 .hugh-ms__crumbs {
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-5 .hugh-ms__crumb.is-active {
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-5 .hugh-ms__panel {
		padding-left: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-5 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 250px;
		margin-bottom: 15px;
	}

	.hugh-ms__inner--step-5 .hugh-ms__step2-back,
	.hugh-ms__inner--step-5 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-5 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-5 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-5 .hugh-ms__title {
		order: 1;
		margin: 0;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-5 .hugh-ms__time-meta {
		margin: 0 0 25px;
		font-size: 15px;
		font-weight: 300;
		line-height: 18px;
		color: #fff;
	}

	.hugh-ms__inner--step-5 .hugh-ms__time-sub {
		margin: 0 0 15px;
		font-size: 15px;
		font-weight: 300;
		line-height: 18px;
		color: #fff;
	}

	.hugh-ms__inner--step-5 .hugh-ms__slots {
		gap: 12px 19px;
		max-width: 100%;
	}

	.hugh-ms__inner--step-5 .hugh-ms__slot {
		width: 105px;
		min-height: 39px;
		padding: 10px 20px 11px;
		font-size: 15px;
		font-weight: 300;
		line-height: 18px;
		border-width: 1px;
	}

	.hugh-ms__inner--step-5 .hugh-ms__slot:disabled {
		color: #b5b5b5;
		background: #323131;
		border-color: #c1c0c0;
	}

	.hugh-ms__inner--step-5 .hugh-ms__slot:disabled::after {
		width: 67px;
		border-top-width: 1px;
		border-top-color: #b5b5b5;
	}

	.hugh-ms__inner--step-5 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		justify-content: flex-start;
		align-items: stretch;
	}

	.hugh-ms__inner--step-5 .hugh-ms__footer {
		width: 100%;
		justify-content: stretch;
	}

	.hugh-ms__inner--step-5 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-5 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		border-radius: 0;
	}


	/* Step 5 (photos) mobile */
	.hugh-ms__inner--step-6 {
		gap: 30px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__crumbs {
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-6 .hugh-ms__crumb.is-active {
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-6 .hugh-ms__panel {
		padding-left: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-6 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 270px;
		margin-bottom: 20px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__step2-back,
	.hugh-ms__inner--step-6 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-6 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-6 .hugh-ms__title {
		order: 1;
		margin: 0;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-subtitle {
		font-size: 18px;
		margin-bottom: 0;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-guidelines,
	.hugh-ms__inner--step-0 .hugh-ms__zone-lead {
		width: 100%;
		margin: 0 0 15px;
		font-size: 15px;
		font-weight: 300;
		line-height: 18px;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-progress {
		font-size: 13px;
		line-height: 1.38;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-upload-grid {
		width: 100%;
		gap: 10px;
		margin: 25px 0;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-upload-card {
		min-height: 86px;
		padding: 10px 20px 11px;
		gap: 8px;
		border: 1px solid #fff;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-upload-icon {
		width: 24px;
		height: 24px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-upload-text {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		text-align: center;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-wrap {
		width: 100%;
		gap: 10px;
		margin-top: 25px;
		margin-bottom: 32px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-label {
		font-size: 18px;
		font-weight: 300;
		line-height: 22px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-field {
		min-height: 51px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-trigger {
		min-height: 51px;
		padding: 16px 14px 16px 15px;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-arrow {
		width: 13px;
		height: 13px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-menu {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		padding: 8px 0;
	}

	.hugh-ms__inner--step-6 .hugh-ms__photo-zone-option {
		padding: 12px 15px;
		font-size: 16px;
		line-height: 19px;
	}

	.hugh-ms__inner--step-6 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		justify-content: flex-start;
		align-items: stretch;
	}

	.hugh-ms__inner--step-6 .hugh-ms__footer {
		width: 100%;
		justify-content: stretch;
	}

	.hugh-ms__inner--step-6 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-6 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		border-radius: 0;
	}


	/* Step 6 (info) mobile */
	.hugh-ms__inner--step-7 {
		gap: 30px;
		min-height: calc(629px - 19px - 32px);
	}

	.hugh-ms__inner--step-7 .hugh-ms__crumbs {
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-7 .hugh-ms__crumb.is-active {
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-7 .hugh-ms__panel,
	.hugh-ms__inner--step-7 .hugh-ms__panel--info {
		padding-left: 0;
		padding-right: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-7 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 232px;
		margin-bottom: 22px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__step2-back,
	.hugh-ms__inner--step-7 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-7 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-7 .hugh-ms__title {
		order: 1;
		margin: 0;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-7 .hugh-ms__info-form {
		max-width: 100%;
		gap: 15px;
		margin-bottom: 15px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__info-row {
		gap: 24px;
		flex-wrap: nowrap;
	}

	.hugh-ms__inner--step-7 .hugh-ms__field--half {
		flex: 0 0 calc(50% - 12px);
		min-width: 0;
	}

	.hugh-ms__inner--step-7 .hugh-ms__field {
		gap: 6px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__field-label {
		font-size: 16px;
		font-weight: 500;
		line-height: 19px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__field-input {
		min-height: 45px;
		padding: 13px 10px 15px;
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__field-input::placeholder {
		color: #c1c0c0;
	}

	.hugh-ms__inner--step-7 .hugh-ms__field-input--note {
		height: 45px;
		min-height: 45px;
		max-height: 45px;
		padding: 13px 11px 15px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 32px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__age-row {
		max-width: 263px;
		gap: 7px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__cb-outline {
		flex: 0 0 24px;
		width: 24px;
		height: 24px;
		border-width: 1px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__age-text {
		font-size: 12px;
		font-weight: 300;
		line-height: 15px;
	}

	.hugh-ms__inner--step-7 .hugh-ms__footer {
		width: 100%;
		justify-content: stretch;
		padding-left: 0;
	}

	.hugh-ms__inner--step-7 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-7 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 54px;
		padding: 12px 24px;
		justify-content: center;
		gap: 22px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		border-radius: 0;
	}


	/* Step 7 (payment) mobile */
	.hugh-ms__inner--step-8 {
		gap: 30px;
		min-height: calc(593px - 19px - 32px);
		--hugh-ms-footer-slot: 0;
	}

	.hugh-ms__inner--step-8 .hugh-ms__crumbs {
		width: 95px;
		height: 3px;
		margin: 0 auto;
		border: 0;
		border-radius: 21px;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-8 .hugh-ms__crumb.is-active {
		width: 100%;
		height: 100%;
		background: #d7d7d7;
	}

	.hugh-ms__inner--step-8 .hugh-ms__panel,
	.hugh-ms__inner--step-8 .hugh-ms__panel--pay {
		padding-left: 0;
		padding-right: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-8 .hugh-ms__step2-head {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 11px;
		max-width: 290px;
		margin-bottom: 15px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__step2-back,
	.hugh-ms__inner--step-8 .hugh-ms__step2-back--figma {
		position: static;
		right: auto;
		top: auto;
		z-index: auto;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		order: 0;
	}

	.hugh-ms__inner--step-8 .hugh-ms__step2-back-ico {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__step2-back-txt {
		font-family: "Helvetica Neue", "Inter Tight", system-ui, sans-serif;
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
		color: #c1c0c0;
		text-transform: capitalize;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-8 .hugh-ms__title {
		order: 1;
		margin: 0;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-layout {
		max-width: 100%;
		gap: 15px;
		margin-bottom: 18px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-sheet {
		width: 100%;
		min-height: 204px;
		padding: 25px 23px 22px;
		border: 1px solid #fff;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-row {
		font-size: 16px;
		font-weight: 300;
		line-height: 19px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-sheet .hugh-ms__pay-row + .hugh-ms__pay-row {
		margin-top: 6px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-sep {
		margin: 14px 0 15px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-disclaimer {
		width: 100%;
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-terms {
		width: 100%;
		gap: 7px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-terms-input {
		margin-top: 0;
		flex: 0 0 24px;
		width: 24px;
		height: 24px;
		border-width: 1px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-terms-text,
	.hugh-ms__inner--step-8 .hugh-ms__pay-terms-line {
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__panel-controls {
		position: static;
		margin-top: auto;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 9px;
	}

	.hugh-ms__inner--step-8 .hugh-ms__panel-actions {
		display: flex;
		width: 100%;
	}

	.hugh-ms__inner--step-8 .hugh-ms__footer {
		width: 100%;
		padding-left: 0;
		bottom: auto;
	}

	.hugh-ms__inner--step-8 .hugh-ms__footer-spacer {
		display: none;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-footer-stack {
		width: 100%;
		align-items: stretch;
		gap: 9px;
		flex-direction: column-reverse;
	}

	.hugh-ms__inner--step-8 .hugh-ms__pay-secure {
		width: 100%;
		font-size: 12px;
		font-weight: 300;
		line-height: 15px;
		text-align: center;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-8 .hugh-ms__btn--primary {
		width: 100%;
		min-height: 61px;
		padding: 18px 24px 19px;
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		letter-spacing: 0.02em;
		border-width: 1px;
		border-radius: 0;
	}

	/* Step 9 had hidden crumbs in desktop rules; show on mobile too. */
	.hugh-ms__inner--step-9 .hugh-ms__crumbs {
		display: block;
	}

	/* Step 8 (confirmation) mobile */
	.hugh-ms__inner--step-9 {
		gap: 25px;
		min-height: calc(593px - 19px - 32px);
		padding-bottom: 0;
	}

	.hugh-ms__inner--step-9 .hugh-ms__panel,
	.hugh-ms__inner--step-9 .hugh-ms__panel--done {
		flex: 1;
		padding-left: 0;
		padding-right: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-wrap {
		flex: 1;
		width: 100%;
		gap: 15px;
		margin: 0;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-icon {
		width: 95px;
		height: 95px;
		margin: 12px 0 0;
	}

	.hugh-ms__inner--step-9 .hugh-ms__title {
		margin: 0;
		width: 100%;
		font-size: 24px;
		font-weight: 600;
		line-height: 29px;
		letter-spacing: 0.02em;
		text-align: center;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-sheet {
		width: 100%;
		min-height: 143px;
		padding: 22px 23px 22px;
		border: 1px solid #fff;
		gap: 6px;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-row {
		gap: 24px;
		font-size: 16px;
		line-height: 19px;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-k,
	.hugh-ms__inner--step-9 .hugh-ms__done-v {
		font-weight: 300;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-row.is-strong .hugh-ms__done-k,
	.hugh-ms__inner--step-9 .hugh-ms__done-row.is-strong .hugh-ms__done-v {
		font-weight: 600;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-note {
		width: 100%;
		margin: 8px 0 0;
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
		text-align: left;
		letter-spacing: 0.02em;
	}

	.hugh-ms__inner--step-9 .hugh-ms__done-close {
		width: 100%;
		height: 61px;
		margin-top: auto;
		/*padding: 20px;*/
		font-size: 18px;
		font-weight: 600;
		line-height: 22px;
		letter-spacing: 0.02em;
		border: 1px solid #fff;
		border-radius: 0;
	}

	/* Keep desktop-like progress behavior on every mobile step. */
	.hugh-ms__inner[class*="hugh-ms__inner--step-"] .hugh-ms__crumbs {
		display: block !important;
		width: 100% !important;
		height: 8px !important;
		margin: 0 auto !important;
		border: 1px solid #fff !important;
		border-radius: 21px !important;
		background: transparent !important;
		overflow: hidden !important;
	}

	.hugh-ms__inner[class*="hugh-ms__inner--step-"] .hugh-ms__crumb {
		display: none !important;
	}

	.hugh-ms__inner[class*="hugh-ms__inner--step-"] .hugh-ms__crumb.is-active {
		display: block !important;
		height: 100% !important;
		background: #fff !important;
	}

	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-0 .hugh-ms__crumb.is-active { width: 5% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-1 .hugh-ms__crumb.is-active { width: 12% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-2 .hugh-ms__crumb.is-active { width: 23% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-3 .hugh-ms__crumb.is-active { width: 40% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-5 .hugh-ms__crumb.is-active { width: 53% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-6 .hugh-ms__crumb.is-active { width: 71.7% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-7 .hugh-ms__crumb.is-active { width: 84.5% !important; }
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-8 .hugh-ms__crumb.is-active,
	.hugh-ms__inner[class*="hugh-ms__inner--step-"].hugh-ms__inner--step-9 .hugh-ms__crumb.is-active { width: 100% !important; }
}

/* —— Global footer modal (opens over current page) —— */

html.hat-booking-modal-open,
html.hat-booking-modal-open body {
	overflow: hidden;
	overscroll-behavior: contain;
}

.hugh-ms-booking-modal {
	--hugh-ms-modal-pad: clamp(16px, 4vw, 48px);
	--hugh-ms-modal-h: clamp(560px, calc(100dvh - (var(--hugh-ms-modal-pad) * 2)), 818px);
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: none;
	box-sizing: border-box;
	padding: var(--hugh-ms-modal-pad);
	pointer-events: none;
	align-items: center;
	justify-items: center;
}

/* 13" laptops and short desktop screens: use tighter modal frame. */
@media (min-width: 768px) and (max-width: 1366px), (min-width: 768px) and (max-height: 900px) {
	.hugh-ms-booking-modal {
		--hugh-ms-modal-pad: 20px;
		--hugh-ms-modal-h: min(760px, calc(100dvh - (var(--hugh-ms-modal-pad) * 2)));
	}
}
.hugh-ms-booking-modal.is-open {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	align-items: center;
	justify-items: center;
	justify-content: safe center;
	pointer-events: auto;
}

/* Один слой подложки и оболочки — иначе сетка кладёт shell под backdrop и попап не по центру. */
.hugh-ms-booking-modal.is-open > .hugh-ms-booking-modal__backdrop,
.hugh-ms-booking-modal.is-open > .hugh-ms-booking-modal__shell {
	grid-area: 1 / 1;
}

.hugh-ms-booking-modal.is-open > .hugh-ms-booking-modal__shell {
	place-self: center;
}

/* Как у .hat-desktop-menu (main.css): десктоп — тот же тинт и blur, что при открытом бургере */
.hugh-ms-booking-modal__backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(35px);
	-webkit-backdrop-filter: blur(35px);
}

@media (max-width: 768px) {
	.hugh-ms-booking-modal__backdrop {
		background: #000;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

/* Свайп-хэндл (только мобила; жест смахивания вниз см. booking-modal.js) */
.hugh-ms-booking-modal__grab {
	display: none;
}

.hugh-ms-booking-modal__grab-bar {
	display: block;
	width: 95px;
	height: 4px;
	border-radius: 999px;
	margin: 0 auto;
	background: rgba(245, 242, 237, 0.45);
}

/* Ряд: попап + иконка закрытия справа, сверху (выровняна по верху окна попапа) */
.hugh-ms-booking-modal__shell {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: center;
	gap: clamp(10px, 1.5vw, 20px);
	max-width: calc(100vw - (var(--hugh-ms-modal-pad) * 2));
	pointer-events: none;
}

.hugh-ms-booking-modal__shell > * {
	pointer-events: auto;
}

@media (max-width: 767px) {
	.hugh-ms-booking-modal {
		align-items: end;
		justify-items: stretch;
		padding-inline: 0;
		padding-block: max(env(safe-area-inset-bottom), 0px) 0;
		padding-top: env(safe-area-inset-top, 0px);
	}

	.hugh-ms-booking-modal.is-open > .hugh-ms-booking-modal__shell {
		/*place-self: end stretch;*/
		/*align-self: end;*/
		justify-self: stretch;
	}

	.hugh-ms-booking-modal__shell {
		box-sizing: border-box;
		width: 100%;
		max-width: 100vw;
		max-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
		height: auto;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 0;
		transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
		will-change: transform;
	}

	.hugh-ms-booking-modal__shell.is-sheet-dragging {
		transition: none;
	}

	.hugh-ms-booking-modal__grab {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-shrink: 0;
		min-height: 28px;
		padding: 10px 0 6px;
		touch-action: none;
		cursor: grab;
		user-select: none;
	}

	.hugh-ms-booking-modal__grab:active {
		cursor: grabbing;
	}

	/* Закрытие: смахивание вниз / overlay / Escape — без крестика */
	.hugh-ms-booking-modal__close {
		display: none !important;
	}

	.hugh-ms-booking-modal__dialog {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		max-height: min(88dvh, calc(100dvh - max(env(safe-area-inset-top), 52px)));
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: visible;
		overflow-y: auto;
		touch-action: pan-y;
		border: 0;
		outline: none;
		box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.45);
		-webkit-overflow-scrolling: touch;
		border-top-left-radius: 14px;
		border-top-right-radius: 14px;
	}

	.hugh-ms-booking-modal__body {
		min-height: 0;
	background: #000;
	}

	.hugh-ms-booking-modal__body .hugh-ms-booking {
		width: 100%;
		min-height: min(594px, 100%);
		border: none !important;
		outline: none;
	}
}

/* Desktop — тот же «холст», что у .hugh-ms-booking на странице букинга: 1569×818 */

@media (min-width: 768px) {
	/* −56px: отступ под крестик справа + gap, без горизонтального скролла */
	.hugh-ms-booking-modal__dialog {
		flex: 0 0 auto;
		width: min(1569px, calc(100vw - (var(--hugh-ms-modal-pad) * 2) - 56px));
		max-width: 1569px;
		height: var(--hugh-ms-modal-h);
		min-height: var(--hugh-ms-modal-h);
		max-height: var(--hugh-ms-modal-h);
		overflow: hidden;
	}

	.hugh-ms-booking-modal__body .hugh-ms-booking {
		width: min(1569px, calc(100vw - (var(--hugh-ms-modal-pad) * 2) - 56px));
		max-width: 1569px;
		height: var(--hugh-ms-modal-h);
		min-height: var(--hugh-ms-modal-h);
		margin: 0;
	}

	.hugh-ms-booking-modal__body .hugh-ms-booking .hugh-ms__inner {
		min-height: calc(var(--hugh-ms-modal-h) - (var(--hugh-ms-pad-y) * 2));
	}
}

.hugh-ms-booking-modal__dialog {
	position: relative;
	box-sizing: border-box;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.hugh-ms-booking-modal__body .hugh-ms-booking {
	margin: 0;
	border-radius: 0;
	--hugh-ms-bg: #000;
	background: #000;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* Final confirmation step in modal: slightly tighter than standalone, still fluid by vh. */
.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__panel--done {
	padding-top: clamp(12px, min(2vw, 2.8vh), 30px);
	padding-bottom: clamp(12px, min(2vw, 2.8vh), 30px);
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__done-wrap {
	gap: clamp(18px, min(3.2vw, 4vh), 26px);
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__done-icon {
	width: clamp(88px, min(10vw, 12vh), 108px);
	height: clamp(88px, min(10vw, 12vh), 108px);
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__title {
	font-size: clamp(26px, min(3vw, 4.5vh), 46px);
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__done-sheet {
	min-height: clamp(160px, min(28vw, 30vh), 220px);
	padding: clamp(18px, min(3vw, 3.8vh), 28px) clamp(20px, min(3.2vw, 4vh), 30px);
	gap: clamp(8px, min(1.5vw, 1.8vh), 10px);
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__done-row {
	font-size: clamp(14px, min(1.7vw, 2.2vh), 20px);
	line-height: 1.3;
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__done-note {
	font-size: clamp(13px, min(1.5vw, 2vh), 18px);
	line-height: 1.25;
}

.hugh-ms-booking-modal__body .hugh-ms__inner--step-9 .hugh-ms__done-close {
	height: clamp(48px, min(6vw, 7vh), 64px);
	font-size: clamp(14px, min(1.7vw, 2.2vh), 20px);
	line-height: 1.2;
}

/* Mobile: keep internal modal scrolling enabled so footer actions stay reachable. */
@media (max-width: 767px) {
	.hugh-ms-booking-modal__dialog {
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
}

/* Desktop auto-grow mode:
   если текущий шаг не помещается по высоте, скроллится контейнер модалки
   (вместе с её внутренними паддингами), а не вся страница. */

@media (min-width: 768px) {
	.hugh-ms-booking-modal.is-open.is-auto-grow {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		position: fixed;
		inset: 0;
		height: 100dvh;
		min-height: 100dvh;
		padding: var(--hugh-ms-modal-pad);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-gutter: stable both-edges;
	}

	/* Backdrop pinned к вьюпорту, без «просветов» по краям. */
	.hugh-ms-booking-modal.is-auto-grow .hugh-ms-booking-modal__backdrop {
		position: fixed;
		inset: 0;
	}

	.hugh-ms-booking-modal.is-open.is-auto-grow > .hugh-ms-booking-modal__shell {
		place-self: auto;
		flex: 0 0 auto;
		margin: 0;
	}

	/* Гарантированный нижний отступ в конце прокрутки:
	   добавляем spacer через ::after, в flex он даёт видимый зазор. */
	.hugh-ms-booking-modal.is-open.is-auto-grow::after {
		content: "";
		display: block;
		flex: 0 0 auto;
		width: 100%;
		height: var(--hugh-ms-modal-pad);
		pointer-events: none;
	}

	.hugh-ms-booking-modal.is-auto-grow .hugh-ms-booking-modal__shell {
		align-items: flex-start;
	}

	.hugh-ms-booking-modal.is-auto-grow .hugh-ms-booking-modal__dialog,
	.hugh-ms-booking-modal.is-auto-grow .hugh-ms-booking-modal__body .hugh-ms-booking {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.hugh-ms-booking-modal.is-auto-grow .hugh-ms-booking-modal__body .hugh-ms-booking .hugh-ms__inner {
		min-height: 0 !important;
	}

	.hugh-ms-booking-modal.is-auto-grow .hugh-ms-booking-modal__close {
		position: sticky;
		top: var(--hugh-ms-modal-pad);
		align-self: flex-start;
	}
}

.hugh-ms-booking-modal__close {
	position: static;
	flex-shrink: 0;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: transparent;
	transition: opacity 0.15s ease;
}

.hugh-ms-booking-modal__close-svg {
	display: block;
	width: clamp(18px, 2.5vw, 26px);
	height: auto;
	filter: drop-shadow(0 1px 12px rgba(0, 0, 0, 0.5));
}

.hugh-ms-booking-modal__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.hugh-ms-booking-modal__close:hover {
	opacity: 0.75;
}

/* —— Thank-you page: same success UI as step 9, in normal document flow (fixes stacking under header/footer). —— */

.hat-booking-thank-you .hugh-ms-thank-you-page {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-block: clamp(32px, 6vh, 96px);
	min-height: min(70vh, 900px);
}

/* Shell: match `.hugh-ms-booking-modal__body .hugh-ms-booking` (solid black, no glass). */
.hat-booking-thank-you .hugh-ms-booking--thank-you-static {
	--hugh-ms-shell-min-h: min(560px, calc(100dvh - 280px));
	min-height: var(--hugh-ms-shell-min-h);
	width: min(1569px, calc(100vw - 40px));
	margin: 0 auto;
	border-radius: 0;
	--hugh-ms-bg: #000;
	background: #000;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
	zoom: var(--hugh-ms-fluid-scale);
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner {
	min-height: calc(var(--hugh-ms-shell-min-h) - (var(--hugh-ms-pad-y) * 2));
}

/* Step 9: same tuning as in footer modal (tighter rhythm / sizes). */
.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__panel--done {
	padding-top: clamp(12px, min(2vw, 2.8vh), 30px);
	padding-bottom: clamp(12px, min(2vw, 2.8vh), 30px);
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-wrap {
	gap: clamp(18px, min(3.2vw, 4vh), 26px);
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-icon {
	width: clamp(88px, min(10vw, 12vh), 108px);
	height: clamp(88px, min(10vw, 12vh), 108px);
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__title {
	font-size: clamp(26px, min(3vw, 4.5vh), 46px);
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-sheet {
	min-height: clamp(160px, min(28vw, 30vh), 220px);
	padding: clamp(18px, min(3vw, 3.8vh), 28px) clamp(20px, min(3.2vw, 4vh), 30px);
	gap: clamp(8px, min(1.5vw, 1.8vh), 10px);
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-row {
	font-size: clamp(14px, min(1.7vw, 2.2vh), 20px);
	line-height: 1.3;
}

.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-note {
	font-size: clamp(13px, min(1.5vw, 2vh), 18px);
	line-height: 1.25;
}

@media (min-width: 768px) {
	.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: clamp(48px, min(6vw, 7vh), 64px);
		font-size: clamp(14px, min(1.7vw, 2.2vh), 20px);
		line-height: 1.2;
		text-decoration: none;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.hat-booking-thank-you .hugh-ms-thank-you-page {
		min-height: 0;
		align-items: flex-start;
		padding-block: clamp(16px, 4vh, 40px);
	}

	/* Override generic `.hugh-ms-booking` mobile booking wizard frame. */
	.hat-booking-thank-you .hugh-ms-booking--thank-you-static {
		zoom: 1;
		width: 100%;
		max-width: 100%;
		min-height: 0;
		--hugh-ms-shell-min-h: 0;
		padding: 19px 20px 32px;
		border: 0;
		border-radius: 0;
		background: #000;
		box-shadow: none;
	}

	.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner {
		min-height: calc(594px - 19px - 32px);
		gap: 25px;
	}

	.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 {
		min-height: calc(593px - 19px - 32px);
		padding-bottom: 0;
	}

	.hat-booking-thank-you .hugh-ms-booking--thank-you-static .hugh-ms__inner--step-9 .hugh-ms__done-close {
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		text-decoration: none;
	}
}

/* Hidden wizard shell on thank-you — Stripe success_url loads here; JS runs callback then redirects with hat_* only. */
.hat-booking-thank-you .hugh-ms-stripe-bridge {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	pointer-events: none;
	visibility: hidden;
}
