/* Global booking modal — Hoàng Gia compact sheet */
.ykhg-booking-modal[hidden],
.ykhg-booking-alert[hidden],
.ykhg-datepicker[hidden] {
	display: none !important;
}

.has-booking-modal {
	overflow: hidden;
}

.ykhg-booking-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: grid;
	place-items: center;
	padding: 18px;
}

.ykhg-booking-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 36, 40, 0.72);
	backdrop-filter: blur(8px);
}

.ykhg-booking-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(860px, 100%);
	max-height: 86vh;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(7, 36, 40, 0.28);
	outline: 0;
}

.ykhg-booking-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(183, 154, 91, 0.35);
	border-radius: 9px;
	background: #fff;
	color: #123c40;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.ykhg-booking-close:hover,
.ykhg-booking-close:focus-visible {
	border-color: #b79a5b;
	color: #0b6f73;
}

.ykhg-booking-header {
	flex: 0 0 auto;
	padding: 22px 48px 14px 24px;
	background: linear-gradient(180deg, #f3fbfa 0%, #fff 100%);
	border-bottom: 1px solid #dce9e7;
}

.ykhg-booking-header::before {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	margin-bottom: 10px;
	border-radius: 99px;
	background: #b79a5b;
}

.ykhg-booking-header h2 {
	margin: 0;
	color: #0b6f73;
	font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ykhg-booking-header p {
	margin: 8px 0 0;
	max-width: 52ch;
	color: #4d6a6e;
	font-size: 0.92rem;
	line-height: 1.5;
}

.ykhg-booking-scroll {
	flex: 1 1 auto;
	overflow: auto;
	padding: 16px 24px 8px;
}

.ykhg-booking-form {
	margin: 0;
}

.ykhg-booking-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
}

.ykhg-booking-col {
	display: grid;
	gap: 12px;
	align-content: start;
}

.ykhg-booking-form label > span {
	display: block;
	margin-bottom: 5px;
	color: #123c40;
	font-size: 0.78rem;
	font-weight: 700;
}

.ykhg-booking-form input,
.ykhg-booking-form select,
.ykhg-booking-form textarea {
	width: 100%;
	min-height: 42px;
	border: 1px solid #cfe0dd;
	border-radius: 9px;
	background: #f7fafa;
	padding: 8px 12px;
	color: #123c40;
	font: inherit;
	font-size: 0.95rem;
}

.ykhg-booking-form textarea {
	min-height: 84px;
	resize: vertical;
}

.ykhg-booking-form input:focus,
.ykhg-booking-form select:focus,
.ykhg-booking-form textarea:focus {
	border-color: #0b6f73;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(11, 111, 115, 0.12);
	outline: 0;
}

.ykhg-booking-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ykhg-booking-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
}

.ykhg-booking-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-height: 0;
	margin-top: 2px;
}

.ykhg-booking-consent span {
	margin: 0 !important;
	color: #39575c;
	font-size: 0.86rem;
	font-weight: 500 !important;
	line-height: 1.45;
}

.ykhg-booking-turnstile {
	margin-top: 14px;
	min-height: 65px;
}

.ykhg-booking-status {
	min-height: 20px;
	margin-top: 8px;
	color: #a12f25;
	font-size: 0.88rem;
	font-weight: 700;
}

.ykhg-booking-footer {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
	padding: 12px 24px 16px;
	border-top: 1px solid #e4efed;
	background: #eef8f7;
}

.ykhg-booking-submit {
	min-width: 220px;
	min-height: 44px;
	border-radius: 9px;
	font-size: 0.95rem;
	font-weight: 700;
}

.ykhg-booking-submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.ykhg-booking-alert {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: grid;
	place-items: center;
	padding: 32px;
	background: rgba(255, 255, 255, 0.96);
	color: #0b6f73;
	text-align: center;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.5;
}

.ykhg-datepicker {
	position: fixed;
	z-index: 1300;
	width: 280px;
	padding: 12px;
	border: 1px solid #cfe0dd;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 36px rgba(7, 36, 40, 0.16);
}

.ykhg-datepicker-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.ykhg-datepicker-nav strong {
	color: #0b6f73;
	font-size: 0.92rem;
}

.ykhg-datepicker-nav button {
	width: 32px;
	height: 32px;
	border: 1px solid #dce9e7;
	border-radius: 8px;
	background: #f7fafa;
	cursor: pointer;
}

.ykhg-datepicker-week,
.ykhg-datepicker-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	text-align: center;
}

.ykhg-datepicker-week span {
	color: #6a8084;
	font-size: 0.7rem;
	font-weight: 700;
}

.ykhg-datepicker-grid button {
	min-height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #123c40;
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
}

.ykhg-datepicker-grid button:hover,
.ykhg-datepicker-grid button.is-selected {
	background: #0b6f73;
	color: #fff;
}

.ykhg-datepicker-grid button.is-today {
	box-shadow: inset 0 0 0 1px #b79a5b;
}

.ykhg-datepicker-grid button:disabled {
	color: #b7c6c8;
	cursor: not-allowed;
}

@media (max-width: 760px) {
	.ykhg-booking-modal {
		align-items: end;
		padding: 0;
	}

	.ykhg-booking-dialog {
		width: 100%;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
	}

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

	.ykhg-booking-header,
	.ykhg-booking-scroll {
		padding-inline: 16px;
	}

	.ykhg-booking-footer {
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	}

	.ykhg-booking-submit {
		width: 100%;
	}
}
