.booking-page {
	--booking-bg: #fbf5eb;
	--booking-card-bg: #fcf9f2;
	--booking-border: #ddcdb5;
	--booking-accent: #c99548;
	--booking-text: #111111;
	--booking-muted: #6b6b6b;
	--booking-disabled: #e8e8e8;
	--booking-shadow: 0 18px 50px rgba(89, 65, 32, 0.08);
	background: var(--booking-bg);
	color: var(--booking-text);
	overflow-x: clip;
}

.booking-page .hero-header {
	color: var(--booking-text);
}

.booking-page .hero-header__control,
.booking-page .hero-header__season {
	border-color: rgba(17, 17, 17, 0.72);
	background: rgba(252, 249, 242, 0.78);
	color: var(--booking-text);
}

.booking-page .hero-header__season-link,
.booking-page .hero-header__season-link:link,
.booking-page .hero-header__season-link:visited,
.booking-page .hero-header__season-link:hover,
.booking-page .hero-header__season-link:focus,
.booking-page .hero-header__season-link:active {
	color: var(--booking-text);
}

.booking-page .hero-header__season-link.is-active,
.booking-page .hero-header__season-link.is-active:link,
.booking-page .hero-header__season-link.is-active:visited,
.booking-page .hero-header__season-link.is-active:hover,
.booking-page .hero-header__season-link.is-active:focus,
.booking-page .hero-header__season-link.is-active:active {
	color: #ffffff;
}

.booking-page .hero-header__book,
.booking-page .hero-header__book:link,
.booking-page .hero-header__book:visited,
.booking-page .hero-header__book:hover,
.booking-page .hero-header__book:focus,
.booking-page .hero-header__book:active {
	color: #ffffff;
}

.booking-page .hero-header__book {
	border-color: var(--booking-accent);
	background: var(--booking-accent);
}

.booking-page .hero-header__book.is-current {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.booking-page .hero-header__logo img,
.booking-page .hero-header__phone-icon {
	filter: brightness(0);
}

.booking-page .hero-header__contacts {
	border-color: rgba(17, 17, 17, 0.14);
	background: rgba(252, 249, 242, 0.96);
}

.booking-page .hero-header__contact-link {
	color: var(--booking-text);
}

.booking-page .hero-header__contact-label {
	color: var(--booking-muted);
}

.booking-search {
	position: relative;
	min-height: 760px;
	padding: 174px var(--container-inline) clamp(120px, 13vw, 204px);
	background: var(--booking-bg);
	isolation: isolate;
}

.booking-search::before {
	content: "";
	position: absolute;
	top: 150px;
	left: 0;
	right: 0;
	height: 1px;
	background: color-mix(in srgb, var(--booking-border) 72%, transparent);
	pointer-events: none;
}

.booking-search__decoration {
	position: absolute;
	top: 150px;
	right: 0;
	z-index: -1;
	width: min(42vw, 660px);
	pointer-events: none;
	opacity: 0.52;
	overflow: hidden;
}

.booking-search__decoration img {
	display: block;
	width: 100%;
	height: auto;
	transform: translateX(3%);
}

.booking-search__container {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin-inline: auto;
}

.booking-search__title {
	max-width: 660px;
	margin: 0 auto clamp(54px, 6vw, 74px);
	color: var(--booking-text);
	font-family: var(--font-serif);
	font-size: clamp(52px, 4vw, 60px);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: 0;
	text-align: center;
}

.booking-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 1200px;
	margin-inline: auto;
}

.booking-calendar,
.booking-guests,
.booking-form__notice {
	min-width: 0;
	border: 1px solid var(--booking-border);
	border-radius: 25px;
	background: var(--booking-card-bg);
	box-shadow: var(--booking-shadow);
}

.booking-calendar,
.booking-guests {
	min-height: 542px;
	padding: clamp(24px, 2.2vw, 34px);
}

.booking-card__header {
	display: grid;
	gap: 12px;
	margin-bottom: 24px;
}

.booking-card__title {
	margin: 0;
	color: var(--booking-text);
	font-family: var(--font-sans);
	font-size: clamp(20px, 1.55vw, 23px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
}

.booking-calendar__summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	min-height: 22px;
	color: var(--booking-muted);
	font-size: 14px;
	line-height: 1.45;
}

.booking-calendar__controls {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr) 60px;
	align-items: center;
	gap: 18px;
	margin-bottom: 26px;
}

.booking-calendar__selects {
	display: flex;
	justify-content: center;
	gap: 8px;
	min-width: 0;
}

.booking-calendar__nav,
.booking-calendar__selects select {
	min-height: 42px;
	border: 1px solid rgba(17, 17, 17, 0.42);
	border-radius: 999px;
	background: transparent;
	color: var(--booking-text);
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 1;
}

.booking-calendar__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
}

.booking-calendar__nav span {
	display: block;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	transform: translateY(-1px);
}

.booking-calendar__nav:disabled {
	opacity: 0.38;
	cursor: not-allowed;
}

.booking-calendar__selects select {
	width: min(100%, 150px);
	padding: 0 36px 0 20px;
	appearance: auto;
	cursor: pointer;
}

.booking-calendar__weekdays,
.booking-calendar__grid [role="row"] {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 12px;
}

.booking-calendar__weekdays {
	margin-bottom: 14px;
	color: var(--booking-text);
	font-size: 15px;
	text-align: center;
}

.booking-calendar__grid {
	display: grid;
	gap: 12px;
}

.booking-calendar__day {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 6px;
	background: transparent;
	color: color-mix(in srgb, var(--booking-text) 82%, transparent);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.booking-calendar__day:hover:not(:disabled) {
	border-color: var(--booking-accent);
	box-shadow: inset 0 0 0 1px var(--booking-accent);
}

.booking-calendar__day.is-today:not(.is-selected) {
	border-color: color-mix(in srgb, var(--booking-accent) 56%, var(--booking-border));
}

.booking-calendar__day.is-disabled,
.booking-calendar__day:disabled {
	background: var(--booking-disabled);
	color: rgba(17, 17, 17, 0.34);
	cursor: not-allowed;
}

.booking-calendar__day.is-outside-month {
	color: rgba(17, 17, 17, 0.28);
}

.booking-calendar__day.is-selected,
.booking-calendar__day.is-range-start,
.booking-calendar__day.is-range-end {
	border-color: var(--booking-accent);
	background: var(--booking-accent);
	color: #ffffff;
	box-shadow: inset 0 0 0 2px color-mix(in srgb, #ffffff 42%, transparent);
}

.booking-calendar__day.is-in-range:not(.is-range-start):not(.is-range-end) {
	border-color: color-mix(in srgb, var(--booking-accent) 48%, var(--booking-border));
	background: color-mix(in srgb, var(--booking-accent) 18%, transparent);
	color: var(--booking-text);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--booking-accent) 50%, transparent);
}

.booking-guests {
	display: flex;
	align-items: center;
}

.booking-guests__inner {
	width: 100%;
}

.booking-guests .booking-card__title {
	margin-bottom: 34px;
}

.booking-room-select {
	display: grid;
	gap: 12px;
	margin-bottom: 26px;
}

.booking-room-select__label {
	color: var(--booking-text);
	font-size: 17px;
	line-height: 1.45;
}

.booking-room-select select {
	width: 100%;
	min-height: 58px;
	border: 1px solid rgba(17, 17, 17, 0.42);
	border-radius: 999px;
	background: transparent;
	color: var(--booking-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.2;
	padding: 0 44px 0 22px;
	appearance: auto;
	cursor: pointer;
}

.booking-room-select select:focus-visible {
	border-color: var(--booking-accent);
	outline: 2px solid color-mix(in srgb, var(--booking-accent) 42%, transparent);
	outline-offset: 3px;
}

.booking-counter {
	display: grid;
	gap: 18px;
	margin-bottom: 26px;
}

.booking-counter__label {
	color: var(--booking-text);
	font-size: 17px;
	line-height: 1.45;
}

.booking-counter__control {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	min-height: 58px;
	border: 1px solid rgba(17, 17, 17, 0.42);
	border-radius: 999px;
	padding: 5px;
}

.booking-counter__control button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--booking-accent) 14%, var(--booking-card-bg));
	color: var(--booking-accent);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.booking-counter__control button:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.booking-counter__control input {
	position: absolute;
	left: 50%;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.booking-counter__value {
	justify-self: center;
	color: var(--booking-text);
	font-size: 23px;
	line-height: 1;
}

.booking-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
	min-height: 60px;
	margin-top: 14px;
	border: 0;
	border-radius: 999px;
	background: var(--booking-accent);
	color: #ffffff;
	font-family: var(--font-sans);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.1;
	cursor: pointer;
	transition: opacity 160ms ease, transform 160ms ease, filter 160ms ease;
}

.booking-form__submit:hover:not(:disabled) {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.booking-form__submit:disabled {
	opacity: 0.48;
	cursor: not-allowed;
}

.booking-form__submit span:last-child {
	font-size: 30px;
	font-weight: 300;
	line-height: 0;
}

.booking-form__error {
	min-height: 20px;
	margin: 12px 0 0;
	color: #9d341f;
	font-size: 14px;
	line-height: 1.45;
}

.booking-form__error:empty {
	margin: 0;
}

.booking-form__notice {
	max-width: 780px;
	margin-inline: auto;
	padding: 28px;
	text-align: center;
}

.booking-results {
	padding: 0 var(--container-inline) clamp(100px, 10vw, 160px);
	background: var(--booking-bg);
}

.booking-results[hidden] {
	display: none;
}

.booking-results__container {
	max-width: 1200px;
	margin-inline: auto;
}

.booking-results__title {
	margin: 0 0 18px;
	font-family: var(--font-serif);
	font-size: clamp(36px, 3.2vw, 48px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

.booking-results__note,
.booking-results__message {
	max-width: 760px;
	color: var(--booking-muted);
	font-size: 17px;
	line-height: 1.6;
}

.booking-results__message {
	padding: 22px 24px;
	border: 1px solid var(--booking-border);
	border-radius: 18px;
	background: var(--booking-card-bg);
}

.booking-results__message--error {
	color: var(--booking-text);
}

.booking-results__message ul {
	margin: 12px 0 0;
	padding-left: 20px;
}

.booking-results__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
}

.booking-results__item {
	position: relative;
	min-width: 0;
}

.booking-results__badge {
	position: absolute;
	z-index: 2;
	top: 14px;
	left: 14px;
	max-width: calc(100% - 28px);
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(252, 249, 242, 0.92);
	color: var(--booking-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

@media (prefers-reduced-motion: reduce) {
	.booking-calendar__day,
	.booking-form__submit {
		transition: none;
	}
}

@media (max-width: 1180px) {
	.booking-search {
		padding-top: 150px;
	}

	.booking-form__grid {
		grid-template-columns: 1fr;
		max-width: 720px;
	}

	.booking-guests {
		min-height: auto;
	}

	.booking-results__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.booking-search {
		padding-top: 118px;
		padding-bottom: 90px;
	}

	.booking-search::before {
		top: 92px;
	}

	.booking-search__decoration {
		top: 86px;
		width: min(72vw, 420px);
		opacity: 0.28;
	}

	.booking-search__title {
		max-width: 460px;
		margin-bottom: 36px;
		font-size: clamp(34px, 9.2vw, 46px);
	}

	.booking-calendar,
	.booking-guests {
		border-radius: 20px;
		padding: 22px;
	}

	.booking-calendar__controls {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 8px;
		margin-bottom: 20px;
	}

	.booking-calendar__nav {
		min-height: 40px;
	}

	.booking-calendar__selects select {
		min-width: 0;
		width: 50%;
		padding-inline: 12px;
		font-size: 14px;
	}

	.booking-calendar__weekdays,
	.booking-calendar__grid [role="row"] {
		gap: 7px;
	}

	.booking-calendar__grid {
		gap: 7px;
	}

	.booking-calendar__day {
		min-height: 43px;
		font-size: 14px;
	}

	.booking-results__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.booking-search {
		padding-inline: 14px;
	}

	.booking-calendar,
	.booking-guests {
		padding: 18px;
	}

	.booking-calendar__summary {
		font-size: 13px;
	}

	.booking-calendar__controls {
		grid-template-columns: 38px minmax(0, 1fr) 38px;
	}

	.booking-calendar__weekdays,
	.booking-calendar__grid [role="row"] {
		gap: 5px;
	}

	.booking-calendar__grid {
		gap: 5px;
	}

	.booking-calendar__day {
		min-height: 39px;
		border-radius: 5px;
		font-size: 13px;
	}

	.booking-counter__control {
		min-height: 54px;
		grid-template-columns: 40px minmax(0, 1fr) 40px;
	}

	.booking-counter__control button {
		width: 40px;
		height: 40px;
	}

	.booking-results {
		padding-inline: 14px;
	}
}
