/* TuT Hotel — booking page redesign.
   Loaded only on /booking/. Everything is scoped to .tut-booking-page so it
   can never leak into other pages, the admin, or the rest of the site. */

.tut-booking-page {
	--bk-gold: #7a5c1e;
	--bk-gold-2: #b8860b;
	--bk-ink: #2b2620;
	--bk-muted: #6b6255;
	--bk-line: #e3dac8;
	--bk-soft: #faf7f2;
	--bk-ok: #217b3f;
	--bk-bad: #c0392b;
	--bk-radius: 6px;
	padding-block: 44px 72px;
}

.tut-booking-page .tut-booking-container {
	max-width: 1100px;
	margin-inline: auto;
	padding-inline: 24px;
}

.tut-booking-page .tut-booking-head {
	max-width: 720px;
	margin-bottom: 26px;
}

.tut-booking-page .tut-booking-lead {
	color: var(--bk-muted);
	font-size: 1.02rem;
	margin: 6px 0 0;
}

.tut-booking-page .tut-booking-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 34px;
	align-items: start;
}

.tut-booking-page .tut-booking-panel {
	background: #fff;
	border: 1px solid var(--bk-line);
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 18px 44px rgba(43, 38, 32, .05);
}

/* Steps -------------------------------------------------------------- */
.tut-booking-page .tut-step {
	margin-block-end: 30px;
	padding-block-end: 30px;
	border-block-end: 1px solid #efe8dc;
}

.tut-booking-page .tut-step:last-of-type {
	border-block-end: 0;
	padding-block-end: 0;
	margin-block-end: 0;
}

.tut-booking-page .tut-step-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.22rem;
	font-weight: 600;
	margin: 0 0 18px;
	color: var(--bk-ink);
}

.tut-booking-page .tut-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 28px;
	block-size: 28px;
	border-radius: 50%;
	background: var(--bk-gold);
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	flex: none;
}

/* Segmented control -------------------------------------------------- */
.tut-booking-page .tut-seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 5px;
	background: var(--bk-soft);
	border: 1px solid var(--bk-line);
	border-radius: 10px;
	margin-block-end: 22px;
}

.tut-booking-page .tut-seg-btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--bk-muted);
	min-block-size: 48px;
	border-radius: 7px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.tut-booking-page .tut-seg-btn:hover {
	color: var(--bk-ink);
}

.tut-booking-page .tut-seg-btn.active {
	background: var(--bk-gold);
	color: #fff;
	box-shadow: 0 6px 16px rgba(122, 92, 30, .28);
}

.tut-booking-page .tut-seg-btn:focus-visible {
	outline: 3px solid rgba(184, 134, 11, .45);
	outline-offset: 2px;
}

/* Fields ------------------------------------------------------------- */
.tut-booking-page .tut-field {
	margin-block-end: 18px;
}

.tut-booking-page .tut-field label {
	display: block;
	margin-block-end: 7px;
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: #4a4238;
}

.tut-booking-page .tut-field input,
.tut-booking-page .tut-field select,
.tut-booking-page .tut-field textarea {
	inline-size: 100%;
	min-block-size: 48px;
	padding: 12px 14px;
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	font-size: 1rem;
	line-height: 1.3;
	background: #fff;
	color: var(--bk-ink);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.tut-booking-page .tut-field textarea {
	min-block-size: 96px;
	resize: vertical;
}

.tut-booking-page .tut-field input:focus,
.tut-booking-page .tut-field select:focus,
.tut-booking-page .tut-field textarea:focus {
	outline: none;
	border-color: var(--bk-gold-2);
	box-shadow: 0 0 0 3px rgba(184, 134, 11, .18);
}

.tut-booking-page .tut-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.tut-booking-page .tut-field-help {
	margin: 6px 0 0;
	font-size: .85rem;
	color: var(--bk-muted);
}

.tut-booking-page .tut-field-error {
	margin: 6px 0 0;
	font-size: .85rem;
	color: var(--bk-bad);
	min-block-size: 1em;
}

.tut-booking-page .tut-field.has-error input,
.tut-booking-page .tut-field.has-error select,
.tut-booking-page .tut-field.has-error textarea,
.tut-booking-page .tut-field.has-error .tut-date-display {
	border-color: var(--bk-bad);
	box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

/* Room preview card -------------------------------------------------- */
.tut-booking-page .tut-room-preview {
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 16px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--bk-line);
	border-radius: 8px;
	background: var(--bk-soft);
	margin: -6px 0 18px;
}

.tut-booking-page .tut-room-preview img {
	inline-size: 104px;
	block-size: 78px;
	object-fit: cover;
	border-radius: 6px;
	background: #e8e0d2;
}

.tut-booking-page .tut-room-preview-name {
	font-weight: 600;
	color: var(--bk-ink);
	margin: 0 0 4px;
}

.tut-booking-page .tut-room-preview-meta {
	margin: 0;
	font-size: .88rem;
	color: var(--bk-muted);
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.tut-booking-page .tut-room-preview-price {
	color: var(--bk-gold);
	font-weight: 700;
}

/* Steppers ----------------------------------------------------------- */
.tut-booking-page .tut-stepper {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	background: #fff;
	overflow: hidden;
}

.tut-booking-page .tut-stepper button {
	appearance: none;
	border: 0;
	background: #fff;
	color: var(--bk-gold);
	inline-size: 44px;
	block-size: 48px;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease;
}

.tut-booking-page .tut-stepper button:hover {
	background: var(--bk-soft);
}

.tut-booking-page .tut-stepper button:focus-visible {
	outline: 3px solid rgba(184, 134, 11, .45);
	outline-offset: -3px;
}

.tut-booking-page .tut-stepper input {
	inline-size: 58px;
	min-block-size: 48px;
	border: 0;
	border-inline: 1px solid var(--bk-line);
	border-radius: 0;
	text-align: center;
	font-weight: 600;
	padding: 0;
	box-shadow: none;
}

.tut-booking-page .tut-stepper input:focus {
	box-shadow: inset 0 0 0 3px rgba(184, 134, 11, .18);
}

/* Phone + country code ---------------------------------------------- */
.tut-booking-page .tut-phone {
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 10px;
}

/* Custom date field -------------------------------------------------- */
.tut-booking-page .tut-date {
	position: relative;
}

.tut-booking-page .tut-date-display {
	inline-size: 100%;
	min-block-size: 48px;
	padding: 12px 14px;
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	background: #fff;
	font-size: 1rem;
	color: var(--bk-ink);
	text-align: start;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tut-booking-page .tut-date-display:hover {
	border-color: var(--bk-gold-2);
}

.tut-booking-page .tut-date-display.is-empty {
	color: #9a9082;
}

.tut-booking-page .tut-date-display::after {
	content: "";
	inline-size: 16px;
	block-size: 16px;
	border: 2px solid var(--bk-gold-2);
	border-radius: 3px;
	background: linear-gradient(var(--bk-gold-2), var(--bk-gold-2)) center/10px 2px no-repeat;
	flex: none;
}

.tut-booking-page .tut-cal {
	position: absolute;
	z-index: 40;
	inset-inline-start: 0;
	top: calc(100% + 6px);
	inline-size: min(320px, 92vw);
	background: #fff;
	border: 1px solid var(--bk-line);
	border-radius: 10px;
	box-shadow: 0 22px 50px rgba(43, 38, 32, .18);
	padding: 14px;
}

.tut-booking-page .tut-cal[hidden] {
	display: none;
}

.tut-booking-page .tut-cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-block-end: 10px;
}

.tut-booking-page .tut-cal-title {
	font-weight: 700;
	color: var(--bk-ink);
}

.tut-booking-page .tut-cal-nav {
	appearance: none;
	border: 1px solid var(--bk-line);
	background: #fff;
	color: var(--bk-gold);
	inline-size: 34px;
	block-size: 34px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
}

.tut-booking-page .tut-cal-nav:hover {
	background: var(--bk-soft);
}

.tut-booking-page .tut-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.tut-booking-page .tut-cal-dow {
	text-align: center;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--bk-muted);
	padding-block: 4px;
}

.tut-booking-page .tut-cal-day {
	appearance: none;
	border: 0;
	background: transparent;
	block-size: 38px;
	border-radius: 6px;
	font: inherit;
	color: var(--bk-ink);
	cursor: pointer;
}

.tut-booking-page .tut-cal-day:hover:not(:disabled) {
	background: var(--bk-soft);
}

.tut-booking-page .tut-cal-day:disabled {
	color: #c9c1b4;
	cursor: not-allowed;
}

.tut-booking-page .tut-cal-day.is-today {
	outline: 1px solid var(--bk-line);
}

.tut-booking-page .tut-cal-day.is-selected {
	background: var(--bk-gold);
	color: #fff;
	font-weight: 700;
}

.tut-booking-page .tut-cal-day:focus-visible {
	outline: 3px solid rgba(184, 134, 11, .45);
	outline-offset: -2px;
}

.tut-booking-page .tut-cal-empty {
	block-size: 38px;
}

/* Tour interest chips ------------------------------------------------ */
.tut-booking-page .tut-interests-intro {
	color: var(--bk-muted);
	font-size: .92rem;
	margin: 0 0 16px;
}

.tut-booking-page .tut-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tut-booking-page .tut-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-block-size: 40px;
	padding: 8px 14px;
	border: 1px solid var(--bk-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bk-ink);
	font-size: .92rem;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.tut-booking-page .tut-chip:hover {
	border-color: var(--bk-gold-2);
}

.tut-booking-page .tut-chip input {
	position: absolute;
	opacity: 0;
	inline-size: 1px;
	block-size: 1px;
}

.tut-booking-page .tut-chip-check {
	display: none;
	font-weight: 700;
}

.tut-booking-page .tut-chip.is-selected {
	background: var(--bk-gold);
	border-color: var(--bk-gold);
	color: #fff;
}

.tut-booking-page .tut-chip.is-selected .tut-chip-check {
	display: inline;
}

.tut-booking-page .tut-chip:focus-within {
	outline: 3px solid rgba(184, 134, 11, .45);
	outline-offset: 2px;
}

.tut-booking-page .tut-chip.is-extra {
	display: none;
}

.tut-booking-page .tut-chips.is-expanded .tut-chip.is-extra {
	display: inline-flex;
}

.tut-booking-page .tut-showall {
	margin-block-start: 16px;
	appearance: none;
	border: 1px solid var(--bk-line);
	background: #fff;
	color: var(--bk-gold);
	padding: 10px 18px;
	min-block-size: 44px;
	border-radius: var(--bk-radius);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.tut-booking-page .tut-showall:hover {
	background: var(--bk-soft);
}

/* Summary aside ------------------------------------------------------ */
.tut-booking-page .tut-booking-summary {
	position: sticky;
	top: 24px;
}

.tut-booking-page .tut-summary-card {
	background: #fff;
	border: 1px solid var(--bk-line);
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 18px 44px rgba(43, 38, 32, .05);
}

.tut-booking-page .tut-summary-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--bk-ink);
}

.tut-booking-page .tut-summary-meta {
	margin: -8px 0 16px;
	font-size: .9rem;
	color: var(--bk-muted);
	min-block-size: 1em;
}

.tut-booking-page .tut-price-box {
	background: var(--bk-soft);
	border: 0;
	border-inline-start: 3px solid var(--bk-gold-2);
	border-radius: var(--bk-radius);
	padding: 16px;
}

.tut-booking-page .tut-price-placeholder {
	margin: 0;
	color: var(--bk-muted);
	font-size: .92rem;
}

.tut-booking-page .tut-summary-item {
	margin: 0 0 10px;
	font-size: .92rem;
	color: var(--bk-ink);
}

.tut-booking-page .tut-summary-item strong {
	display: block;
	color: var(--bk-gold);
}

.tut-booking-page .tut-pay-note {
	margin: 16px 0 0;
	font-size: .85rem;
	color: var(--bk-muted);
	border-block-start: 1px solid #efe8dc;
	padding-block-start: 14px;
}

/* Actions ------------------------------------------------------------ */
.tut-booking-page .tut-actions {
	margin-block-start: 6px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.tut-booking-page .tut-btn-primary {
	min-block-size: 52px;
	padding-inline: 30px;
	font-weight: 600;
}

.tut-booking-page .tut-btn-primary[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

.tut-booking-page .tut-btn-primary.is-loading {
	position: relative;
	color: transparent;
}

.tut-booking-page .tut-btn-primary.is-loading::after {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 50%;
	inline-size: 18px;
	block-size: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-block-start-color: #fff;
	border-radius: 50%;
	animation: tut-bk-spin .7s linear infinite;
}

@keyframes tut-bk-spin {
	to { transform: rotate(360deg); }
}

/* Toast / inline result --------------------------------------------- */
.tut-booking-page .tut-bk-toast {
	margin-block-start: 14px;
	padding: 14px 18px;
	border-radius: var(--bk-radius);
	font-weight: 500;
}

.tut-booking-page .tut-bk-toast.is-ok {
	background: #f1f8f2;
	border: 1px solid #c8e5cc;
	color: var(--bk-ok);
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
	.tut-booking-page .tut-booking-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tut-booking-page .tut-booking-summary {
		position: static;
		order: 2;
	}
}

@media (max-width: 560px) {
	.tut-booking-page .tut-booking-container {
		padding-inline: 18px;
	}

	.tut-booking-page .tut-booking-panel {
		padding: 22px 18px;
	}

	.tut-booking-page .tut-field-row {
		grid-template-columns: 1fr;
	}

	.tut-booking-page .tut-seg {
		grid-template-columns: 1fr;
	}

	.tut-booking-page .tut-room-preview {
		grid-template-columns: 1fr;
	}

	.tut-booking-page .tut-room-preview img {
		inline-size: 100%;
		block-size: 150px;
	}

	.tut-booking-page .tut-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.tut-booking-page .tut-actions .tut-btn {
		inline-size: 100%;
		text-align: center;
	}
}

/* RTL: flip the calendar's inline anchoring automatically because we used
   logical properties; only the transform-based spinner needs no change. */

@media (prefers-reduced-motion: reduce) {
	.tut-booking-page .tut-seg-btn,
	.tut-booking-page .tut-chip,
	.tut-booking-page .tut-stepper button,
	.tut-booking-page .tut-cal-day {
		transition: none;
	}

	.tut-booking-page .tut-btn-primary.is-loading::after {
		animation-duration: 1.4s;
	}
}

/* Utilities ---------------------------------------------------------- */
.tut-booking-page .tut-hidden {
	display: none !important;
}

/* Hide native number spinners inside our steppers. */
.tut-booking-page .tut-stepper input[type="number"]::-webkit-outer-spin-button,
.tut-booking-page .tut-stepper input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tut-booking-page .tut-stepper input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

