.jstyle-stays-page {
	background: #f7fbfd;
}

.jstyle-stays-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(72px, 9vw, 120px) 0 118px;
	background:
		radial-gradient(circle at 82% 18%, rgba(125, 211, 252, .34), transparent 28%),
		linear-gradient(145deg, #f0f9ff 0%, #fff 54%, #e0f2fe 100%);
}

.jstyle-stays-hero::after {
	position: absolute;
	right: -4%;
	bottom: -1px;
	width: min(760px, 68vw);
	height: 70%;
	background: linear-gradient(155deg, rgba(14, 165, 233, .12), rgba(7, 89, 133, .04));
	clip-path: polygon(0 100%, 25% 48%, 39% 68%, 57% 8%, 68% 45%, 79% 28%, 100% 100%);
	content: "";
}

.jstyle-stays-hero .container {
	position: relative;
	z-index: 1;
}

.jstyle-stays-hero h1 {
	max-width: 900px;
	margin: 16px 0 20px;
	color: var(--jstyle-blue-950);
	font-size: clamp(38px, 5.6vw, 70px);
	font-weight: 600;
	letter-spacing: -.045em;
	line-height: 1.08;
}

.jstyle-stays-hero p {
	max-width: 720px;
	margin: 0;
	color: var(--jstyle-muted);
	font-size: 17px;
}

.jstyle-stay-search-section {
	position: relative;
	z-index: 3;
	margin-top: -62px;
}

.jstyle-stay-search-card {
	padding: 25px;
	border: 1px solid rgba(186, 230, 253, .9);
	border-radius: 24px;
	background: rgba(255, 255, 255, .98);
	box-shadow: 0 24px 70px rgba(8, 47, 73, .13);
}

.jstyle-stay-search-mobile-toggle {
	display: none;
}

.jstyle-stay-search-card__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--jstyle-blue-800);
}

.jstyle-stay-search-card__heading i {
	font-size: 17px;
}

.jstyle-stay-search-card__heading h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
}

.jstyle-stay-search-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr 1fr auto;
	gap: 10px;
	align-items: stretch;
}

.jstyle-stay-search-grid.is-single-city {
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.jstyle-stay-search-field {
	display: flex;
	min-width: 0;
	min-height: 66px;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--jstyle-line);
	border-radius: 14px;
	background: #fff;
	color: var(--jstyle-ink);
	text-align: left;
}

.jstyle-stay-search-field > span {
	color: var(--jstyle-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.jstyle-stay-search-field strong {
	overflow: hidden;
	font-size: 14px;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jstyle-stay-search-field--button {
	width: 100%;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.jstyle-stay-search-field--button:hover,
.jstyle-stay-search-field--button:focus-visible {
	border-color: var(--jstyle-blue-500);
	background: var(--jstyle-blue-50);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.jstyle-stay-select {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--jstyle-ink);
	font-size: 14px;
	font-weight: 650;
}

.jstyle-stay-search-field:focus-within {
	border-color: var(--jstyle-blue-500);
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.jstyle-stay-guest-control {
	position: relative;
}

.jstyle-stay-guest-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 30;
	width: min(340px, calc(100vw - 40px));
	padding: 10px 18px;
	border: 1px solid var(--jstyle-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 55px rgba(8, 47, 73, .2);
}

.jstyle-stay-guest-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid #edf4f7;
}

.jstyle-stay-guest-row:last-child {
	border-bottom: 0;
}

.jstyle-stay-guest-row > div:first-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.jstyle-stay-guest-row strong {
	font-size: 14px;
}

.jstyle-stay-guest-row small {
	color: var(--jstyle-muted);
	font-size: 11px;
}

.jstyle-stay-stepper {
	display: grid;
	grid-template-columns: 34px 30px 34px;
	align-items: center;
	flex: 0 0 auto;
	text-align: center;
}

.jstyle-stay-stepper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #b8ceda;
	border-radius: 50%;
	background: #fff;
	color: var(--jstyle-blue-800);
}

.jstyle-stay-stepper button:hover:not(:disabled),
.jstyle-stay-stepper button:focus-visible {
	border-color: var(--jstyle-blue-600);
	background: var(--jstyle-blue-50);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}

.jstyle-stay-stepper button:disabled {
	opacity: .35;
}

.jstyle-stay-search-submit {
	min-width: 148px;
	border-radius: 14px;
}

.jstyle-stay-inline-error {
	margin-top: 12px;
	padding: 9px 12px;
	border-radius: 10px;
	background: #fff1f2;
	color: #a61e2d;
	font-size: 13px;
}

.jstyle-stay-clear-search {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--jstyle-blue-700);
	font-size: 12px;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jstyle-stay-results-section {
	padding: 82px 0 118px;
}

.jstyle-stay-results-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
}

.jstyle-stay-results-heading h2 {
	margin: 7px 0 0;
	color: var(--jstyle-blue-950);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 600;
	letter-spacing: -.03em;
}

.jstyle-stay-results-heading > span {
	color: var(--jstyle-muted);
	font-size: 13px;
	font-weight: 600;
}

.jstyle-stay-state-card {
	display: flex;
	min-height: 300px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	padding: 36px;
	border: 1px solid var(--jstyle-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(8, 47, 73, .06);
	text-align: center;
}

.jstyle-stay-state-card > i {
	color: var(--jstyle-blue-600);
	font-size: 38px;
}

.jstyle-stay-state-card p {
	max-width: 600px;
	margin: 0;
	color: var(--jstyle-muted);
}

.jstyle-stay-state-card--error > i {
	color: #b42332;
}

.jstyle-stay-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.jstyle-stay-card {
	display: grid;
	grid-template-columns: minmax(230px, .9fr) minmax(0, 1.1fr);
	overflow: hidden;
	min-width: 0;
	border: 1px solid var(--jstyle-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(8, 47, 73, .07);
	transition: transform .22s ease, box-shadow .22s ease;
}

.jstyle-stay-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 25px 65px rgba(8, 47, 73, .12);
}

.jstyle-stay-card__image {
	position: relative;
	display: block;
	min-height: 100%;
	overflow: hidden;
	background: var(--jstyle-blue-50);
}

.jstyle-stay-card__image img {
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
	transition: transform .5s ease;
}

.jstyle-stay-card:hover .jstyle-stay-card__image img {
	transform: scale(1.025);
}

.jstyle-stay-card__placeholder {
	display: flex;
	min-height: 340px;
	align-items: center;
	justify-content: center;
	color: var(--jstyle-blue-300, #7dd3fc);
	font-size: 42px;
}

.jstyle-stay-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(8, 47, 73, .88);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.jstyle-stay-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 25px;
}

.jstyle-stay-card__location {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 9px;
	color: var(--jstyle-blue-700);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.jstyle-stay-card h3 {
	margin: 0 0 12px;
	font-size: 23px;
	font-weight: 650;
	line-height: 1.32;
}

.jstyle-stay-card h3 a {
	color: var(--jstyle-blue-950);
}

.jstyle-stay-card__summary {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 18px;
	color: var(--jstyle-muted);
	font-size: 13px;
	line-height: 1.75;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.jstyle-stay-capacity-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jstyle-stay-capacity-list li {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 7px;
	color: #506879;
	font-size: 11px;
}

.jstyle-stay-capacity-list i {
	color: var(--jstyle-blue-600);
	font-size: 14px;
}

.jstyle-stay-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-top: auto;
	padding-top: 22px;
}

.jstyle-stay-card__price {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px;
}

.jstyle-stay-card__price small {
	width: 100%;
	color: var(--jstyle-muted);
	font-size: 10px;
}

.jstyle-stay-card__price strong {
	color: var(--jstyle-blue-950);
	font-size: 20px;
	font-weight: 700;
}

.jstyle-stay-card__price span {
	color: var(--jstyle-muted);
	font-size: 10px;
}

.jstyle-stay-card__footer .jstyle-btn {
	min-height: 40px;
	padding: 7px 14px;
	font-size: 12px;
}

/* 共用雙月日曆 */
.jstyle-stay-calendar-modal {
	position: fixed;
	inset: 0;
	z-index: 1095;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 24px;
	background: rgba(8, 47, 73, .58);
	backdrop-filter: blur(5px);
}

.jstyle-stay-calendar-modal__dialog {
	width: min(980px, 100%);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 27px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 35px 100px rgba(8, 47, 73, .35);
}

.jstyle-stay-calendar-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.jstyle-stay-calendar-modal__header h2 {
	margin: 5px 0 0;
	color: var(--jstyle-blue-950);
	font-size: 27px;
	font-weight: 650;
}

.jstyle-stay-calendar-modal__header > button,
.jstyle-stay-calendar__navigation button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--jstyle-line);
	border-radius: 50%;
	background: #fff;
	color: var(--jstyle-blue-900);
}

.jstyle-stay-calendar-modal__header > button:hover,
.jstyle-stay-calendar-modal__header > button:focus-visible,
.jstyle-stay-calendar__navigation button:hover:not(:disabled),
.jstyle-stay-calendar__navigation button:focus-visible {
	border-color: var(--jstyle-blue-600);
	background: var(--jstyle-blue-50);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.jstyle-stay-calendar {
	position: relative;
}

.jstyle-stay-calendar__prompt {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	margin: 0 102px 16px;
	padding: 9px 14px;
	border-radius: 12px;
	background: var(--jstyle-blue-50);
	color: var(--jstyle-blue-900);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.jstyle-stay-calendar__navigation {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.jstyle-stay-calendar__navigation button {
	pointer-events: auto;
}

.jstyle-stay-calendar__navigation button:disabled {
	opacity: .25;
}

.jstyle-stay-calendar__months {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 35px;
}

.jstyle-stay-calendar__month {
	min-width: 0;
}

.jstyle-stay-calendar__month h3 {
	margin: 0 0 16px;
	color: var(--jstyle-blue-950);
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

.jstyle-stay-calendar__weekdays,
.jstyle-stay-calendar__days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.jstyle-stay-calendar__weekdays span {
	padding: 4px 2px 9px;
	color: var(--jstyle-muted);
	font-size: 10px;
	font-weight: 700;
	text-align: center;
}

.jstyle-stay-calendar__cell {
	position: relative;
	min-width: 0;
	aspect-ratio: 1 / 1;
}

.jstyle-stay-calendar__cell > button {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
	gap: 1px;
	padding: 3px 1px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: var(--jstyle-ink);
	line-height: 1.1;
}

.jstyle-stay-calendar__cell > button:hover:not(:disabled),
.jstyle-stay-calendar__cell > button:focus-visible {
	z-index: 2;
	border-color: var(--jstyle-blue-500);
	background: var(--jstyle-blue-50);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, .12);
}

.jstyle-stay-calendar__cell > button > strong {
	font-size: 12px;
	font-weight: 650;
}

.jstyle-stay-calendar__cell > button > small {
	font-size: 8px;
	font-weight: 600;
}

.jstyle-stay-calendar__cell > button > em {
	max-width: 100%;
	overflow: hidden;
	color: #9a6500;
	font-size: 7px;
	font-style: normal;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jstyle-stay-calendar__cell > button.is-unavailable {
	background-color: #f7f9fa;
	background-image: repeating-linear-gradient(135deg, transparent 0, transparent 5px, rgba(73, 101, 119, .26) 5px, rgba(73, 101, 119, .26) 6px);
	color: #82919a;
}

.jstyle-stay-calendar__cell > button.is-unavailable:disabled {
	cursor: not-allowed;
	opacity: .65;
}

/* 被占用的日期仍可作為前一晚住宿的退房日。 */
.jstyle-stay-calendar__cell > button.is-unavailable.is-checkout-option {
	cursor: pointer;
	opacity: 1;
}

.jstyle-stay-calendar__cell > button.is-in-range {
	border-radius: 10px;
	background: var(--jstyle-blue-100);
}

.jstyle-stay-calendar__cell > button.is-selected {
	z-index: 1;
	border-color: var(--jstyle-blue-800);
	border-radius: 10px;
	background: var(--jstyle-blue-800);
	color: #fff;
	box-shadow: 0 5px 14px rgba(3, 105, 161, .25);
}

.jstyle-stay-calendar__cell > button.is-selected > em {
	color: #fff;
}

/* 已選入住／退房日 hover 時沿用淺藍底與深藍框，但文字必須保持可讀。 */
.jstyle-stay-calendar__cell > button.is-selected:hover:not(:disabled),
.jstyle-stay-calendar__cell > button.is-selected:focus-visible {
	color: var(--jstyle-ink);
}

.jstyle-stay-calendar__cell > button.is-selected:hover:not(:disabled) > em,
.jstyle-stay-calendar__cell > button.is-selected:focus-visible > em {
	color: #9a6500;
}

.jstyle-stay-calendar__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #edf4f7;
}

.jstyle-stay-calendar__legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--jstyle-muted);
	font-size: 10px;
}

.jstyle-stay-calendar__legend i {
	display: block;
	width: 18px;
	height: 18px;
	border: 1px solid var(--jstyle-line);
	border-radius: 5px;
	background: #fff;
}

.jstyle-stay-calendar__legend i.is-unavailable {
	background-color: #f7f9fa;
	background-image: repeating-linear-gradient(135deg, transparent 0, transparent 4px, rgba(73, 101, 119, .3) 4px, rgba(73, 101, 119, .3) 5px);
}

.jstyle-stay-calendar__legend i.is-selected {
	border-color: var(--jstyle-blue-800);
	background: var(--jstyle-blue-800);
}

.jstyle-stay-calendar__loading {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: rgba(255, 255, 255, .72);
	color: var(--jstyle-blue-700);
	backdrop-filter: blur(2px);
}

.jstyle-stay-not-found {
	padding: 90px 0 120px;
	background: linear-gradient(180deg, var(--jstyle-blue-50), #fff);
}

.jstyle-stay-not-found .jstyle-stay-state-card {
	max-width: 760px;
	margin: 0 auto;
}

.jstyle-stay-not-found h1 {
	margin: 0;
	color: var(--jstyle-blue-950);
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 650;
}

@media (max-width: 1399.98px) {
	.jstyle-stay-card-grid {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-card {
		grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
	}
}

@media (max-width: 1199.98px) {
	.jstyle-stay-search-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.jstyle-stay-search-grid.is-single-city {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jstyle-stay-search-submit {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767.98px) {
	.jstyle-stays-hero {
		padding: 62px 0 100px;
	}

	.jstyle-stay-search-section {
		margin-top: -50px;
	}

	.jstyle-stay-search-mobile-toggle {
		display: flex;
		width: 100%;
		min-height: 58px;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		padding: 13px 18px;
		border: 1px solid rgba(186, 230, 253, .9);
		border-radius: 18px;
		background: rgba(255, 255, 255, .98);
		color: var(--jstyle-blue-900);
		box-shadow: 0 18px 48px rgba(8, 47, 73, .13);
		font-size: 14px;
		font-weight: 700;
	}

	.jstyle-stay-search-mobile-toggle > span {
		display: inline-flex;
		align-items: center;
		gap: 10px;
	}

	.jstyle-stay-search-mobile-toggle > i {
		transition: transform .2s ease;
	}

	.jstyle-stay-search-mobile-toggle > i.is-open {
		transform: rotate(180deg);
	}

	.jstyle-stay-search-mobile-toggle:focus-visible {
		border-color: var(--jstyle-blue-500);
		outline: 0;
		box-shadow: 0 0 0 4px rgba(14, 165, 233, .15), 0 18px 48px rgba(8, 47, 73, .13);
	}

	.jstyle-stay-search-card {
		margin-top: 10px;
		padding: 18px;
		border-radius: 20px;
	}

	.jstyle-stay-search-card:not(.is-mobile-open) {
		display: none;
	}

	.jstyle-stay-search-grid,
	.jstyle-stay-search-grid.is-single-city {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jstyle-stay-search-field--city,
	.jstyle-stay-guest-control,
	.jstyle-stay-search-submit {
		grid-column: 1 / -1;
	}

	.jstyle-stay-results-section {
		padding: 65px 0 90px;
	}

	.jstyle-stay-results-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.jstyle-stay-card {
		grid-template-columns: 1fr;
		border-radius: 20px;
	}

	.jstyle-stay-card__image,
	.jstyle-stay-card__image img,
	.jstyle-stay-card__placeholder {
		min-height: 260px;
		max-height: 340px;
	}

	.jstyle-stay-calendar-modal {
		align-items: flex-end;
		padding: 0;
	}

	.jstyle-stay-calendar-modal__dialog {
		max-height: calc(100vh - 24px);
		padding: 21px 16px calc(20px + env(safe-area-inset-bottom));
		border-radius: 24px 24px 0 0;
	}

	.jstyle-stay-calendar__prompt {
		margin-right: 48px;
		margin-left: 48px;
		font-size: 11px;
	}

	.jstyle-stay-calendar__months {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.jstyle-stay-calendar__cell > button {
		min-height: 46px;
	}
}

@media (max-width: 479.98px) {
	.jstyle-stay-search-grid,
	.jstyle-stay-search-grid.is-single-city {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-search-grid > * {
		grid-column: 1 !important;
	}

	.jstyle-stay-card__body {
		padding: 21px;
	}

	.jstyle-stay-card__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.jstyle-stay-card__footer .jstyle-btn {
		width: 100%;
	}

	.jstyle-stay-calendar-modal__header h2 {
		font-size: 22px;
	}

	.jstyle-stay-calendar__cell > button > small {
		font-size: 7px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jstyle-stay-card,
	.jstyle-stay-card__image img,
	.jstyle-stay-search-mobile-toggle > i {
		transition: none;
	}
}

/* 房源詳情 */
.jstyle-stay-detail-page {
	background: #fff;
}

.jstyle-stay-detail-loading {
	padding-top: 70px;
	padding-bottom: 100px;
}

.jstyle-stay-detail-header {
	padding: 44px 0 27px;
	background: linear-gradient(180deg, var(--jstyle-blue-50), #fff);
}

.jstyle-stay-detail-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 30px;
	color: var(--jstyle-blue-800);
	font-size: 12px;
	font-weight: 700;
}

.jstyle-stay-detail-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 45px;
}

.jstyle-stay-detail-heading > div {
	min-width: 0;
}

.jstyle-stay-detail-location {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 8px;
	color: var(--jstyle-blue-700);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
}

.jstyle-stay-detail-heading h1 {
	margin: 0;
	color: var(--jstyle-blue-950);
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 600;
	letter-spacing: -.042em;
	line-height: 1.12;
}

.jstyle-stay-detail-type {
	margin: 10px 0 0;
	color: var(--jstyle-muted);
	font-size: 14px;
}

.jstyle-stay-detail-capacity {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 9px;
	max-width: 520px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jstyle-stay-detail-capacity li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 11px;
	border: 1px solid var(--jstyle-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .9);
	color: #4c6576;
	font-size: 11px;
}

.jstyle-stay-detail-capacity i {
	color: var(--jstyle-blue-600);
}

.jstyle-stay-gallery-preview {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(180px, 1fr));
	gap: 7px;
	overflow: hidden;
	height: min(570px, 52vw);
	min-height: 390px;
	margin-top: 8px;
	margin-bottom: 64px;
	padding-right: calc(var(--bs-gutter-x) * .5);
	padding-left: calc(var(--bs-gutter-x) * .5);
	border-radius: 28px;
}

.jstyle-stay-gallery-preview__item {
	position: relative;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: var(--jstyle-blue-50);
}

.jstyle-stay-gallery-preview__item.item-0 {
	grid-row: 1 / 3;
}

.jstyle-stay-gallery-preview__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease, filter .25s ease;
}

.jstyle-stay-gallery-preview__item:hover img,
.jstyle-stay-gallery-preview__item:focus-visible img {
	filter: brightness(.92);
	transform: scale(1.025);
}

.jstyle-stay-gallery-preview__item:focus-visible {
	z-index: 2;
	outline: 4px solid var(--jstyle-blue-500);
	outline-offset: -4px;
}

.jstyle-stay-gallery-preview.has-single-image {
	display: block;
}

.jstyle-stay-gallery-preview.has-single-image .jstyle-stay-gallery-preview__item {
	width: 100%;
	height: 100%;
}

.jstyle-stay-gallery-preview__all {
	position: absolute;
	right: 28px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid rgba(8, 47, 73, .25);
	border-radius: 11px;
	background: rgba(255, 255, 255, .94);
	color: var(--jstyle-blue-950);
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 8px 25px rgba(8, 47, 73, .18);
}

.jstyle-stay-gallery-preview__all:hover,
.jstyle-stay-gallery-preview__all:focus-visible {
	background: #fff;
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .2), 0 8px 25px rgba(8, 47, 73, .18);
}

.jstyle-stay-availability-section {
	padding: 75px 0 88px;
	background: #f5fafc;
}

.jstyle-stay-detail-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
}

.jstyle-stay-detail-section-heading h2 {
	margin: 8px 0 10px;
	color: var(--jstyle-blue-950);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 600;
	letter-spacing: -.03em;
}

.jstyle-stay-detail-section-heading p {
	max-width: 720px;
	margin: 0;
	color: var(--jstyle-muted);
}

.jstyle-stay-booking-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(330px, .7fr);
	gap: 26px;
	align-items: start;
}

.jstyle-stay-booking-calendar-card,
.jstyle-stay-quote-card {
	border: 1px solid var(--jstyle-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(8, 47, 73, .08);
}

.jstyle-stay-booking-calendar-card {
	min-width: 0;
	padding: 26px;
}

.jstyle-stay-booking-calendar-card > .jstyle-stay-inline-error {
	margin-top: 0;
	margin-bottom: 16px;
}

.jstyle-stay-quote-card {
	position: sticky;
	top: 102px;
	padding: 24px;
}

.jstyle-stay-quote-card__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.jstyle-stay-quote-card__heading > div {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px;
}

.jstyle-stay-quote-card__heading small {
	width: 100%;
	color: var(--jstyle-muted);
	font-size: 10px;
}

.jstyle-stay-quote-card__heading strong {
	color: var(--jstyle-blue-950);
	font-size: 25px;
	font-weight: 700;
}

.jstyle-stay-quote-card__heading span {
	color: var(--jstyle-muted);
	font-size: 10px;
}

.jstyle-stay-booking-paused {
	padding: 5px 8px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #65747f !important;
	font-size: 9px !important;
	font-weight: 700;
}

.jstyle-stay-quote-dates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--jstyle-line);
	border-radius: 13px;
}

.jstyle-stay-quote-dates > div {
	min-width: 0;
	padding: 10px 12px;
}

.jstyle-stay-quote-dates > div + div {
	border-left: 1px solid var(--jstyle-line);
}

.jstyle-stay-quote-dates span,
.jstyle-stay-quote-guests > span {
	display: block;
	margin-bottom: 3px;
	color: var(--jstyle-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.jstyle-stay-quote-dates strong {
	display: block;
	overflow: hidden;
	font-size: 11px;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jstyle-stay-quote-guests {
	margin-top: 17px;
}

.jstyle-stay-quote-guest-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #edf4f7;
}

.jstyle-stay-quote-guest-row > div:first-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.jstyle-stay-quote-guest-row strong {
	font-size: 12px;
}

.jstyle-stay-quote-guest-row small {
	color: var(--jstyle-muted);
	font-size: 9px;
}

.jstyle-stay-quote-guest-row .jstyle-stay-stepper {
	grid-template-columns: 30px 26px 30px;
}

.jstyle-stay-quote-guest-row .jstyle-stay-stepper button {
	width: 30px;
	height: 30px;
}

.jstyle-stay-quote-state,
.jstyle-stay-quote-prompt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 76px;
	margin: 17px 0;
	padding: 13px;
	border-radius: 12px;
	background: var(--jstyle-blue-50);
	color: var(--jstyle-muted);
	font-size: 11px;
	text-align: center;
}

.jstyle-stay-quote-card > .jstyle-stay-inline-error {
	margin: 17px 0;
}

.jstyle-stay-quote-breakdown {
	margin: 17px 0;
}

.jstyle-stay-quote-nights {
	margin: 0 0 8px;
	color: var(--jstyle-blue-800);
	font-size: 11px;
	font-weight: 700;
}

.jstyle-stay-quote-breakdown dl,
.jstyle-stay-quote-breakdown dd {
	margin: 0;
}

.jstyle-stay-quote-breakdown dl > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 6px 0;
	font-size: 11px;
}

.jstyle-stay-quote-breakdown dt {
	color: var(--jstyle-muted);
	font-weight: 500;
}

.jstyle-stay-quote-breakdown dd {
	font-weight: 650;
}

.jstyle-stay-quote-breakdown dl > div.is-total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--jstyle-line);
	color: var(--jstyle-blue-950);
	font-size: 15px;
}

.jstyle-stay-quote-breakdown .is-total dt,
.jstyle-stay-quote-breakdown .is-total dd {
	color: inherit;
	font-weight: 700;
}

.jstyle-stay-quote-updating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 9px 0 0;
	color: var(--jstyle-muted);
	font-size: 11px;
}

.jstyle-stay-quote-updating.is-error {
	color: #ad2f25;
}

.jstyle-stay-uncancellable {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 11px 0 0;
	padding: 9px 10px;
	border-radius: 9px;
	background: #fff7df;
	color: #855900;
	font-size: 9px;
}

.jstyle-stay-detail-content {
	padding: 94px 0 120px;
}

.jstyle-stay-detail-content__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
	gap: clamp(45px, 7vw, 92px);
	align-items: start;
}

.jstyle-stay-copy-section {
	padding: 0 0 45px;
	border-bottom: 1px solid var(--jstyle-line);
}

.jstyle-stay-copy-section + .jstyle-stay-copy-section {
	padding-top: 45px;
}

.jstyle-stay-copy-section h2,
.jstyle-stay-sidebar-card h2 {
	margin: 0 0 18px;
	color: var(--jstyle-blue-950);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 650;
	letter-spacing: -.02em;
}

.jstyle-stay-copy-section > p {
	margin: 0;
	color: #506879;
	font-size: 15px;
	line-height: 1.9;
	white-space: pre-line;
}

.jstyle-stay-room-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.jstyle-stay-room-card {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--jstyle-line);
	border-radius: 17px;
	background: #fbfdfe;
}

.jstyle-stay-room-card > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 15px;
	border-radius: 50%;
	background: var(--jstyle-blue-100);
	color: var(--jstyle-blue-800);
	font-size: 18px;
}

.jstyle-stay-room-card h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.jstyle-stay-room-card p {
	margin: 3px 0;
	color: var(--jstyle-muted);
	font-size: 12px;
}

.jstyle-stay-review-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.jstyle-stay-review-heading h2 {
	margin-bottom: 0;
}

.jstyle-stay-review-heading > strong {
	color: var(--jstyle-blue-900);
	font-size: 12px;
}

.jstyle-stay-review-heading i {
	margin-right: 5px;
	color: #e7a500;
}

.jstyle-stay-rating-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 28px;
	margin-bottom: 25px;
}

.jstyle-stay-rating-grid > div {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 7px 0;
	border-bottom: 1px solid #edf4f7;
	font-size: 12px;
}

.jstyle-stay-rating-grid span {
	color: var(--jstyle-muted);
}

.jstyle-stay-review-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.jstyle-stay-review-list > article {
	padding: 19px;
	border: 1px solid var(--jstyle-line);
	border-radius: 16px;
}

.jstyle-stay-review-list header {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jstyle-stay-review-list header > span {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--jstyle-blue-100);
	color: var(--jstyle-blue-900);
	font-weight: 700;
}

.jstyle-stay-review-list header > div {
	display: flex;
	flex-direction: column;
}

.jstyle-stay-review-list header strong {
	font-size: 12px;
}

.jstyle-stay-review-list header small {
	color: var(--jstyle-muted);
	font-size: 9px;
}

.jstyle-stay-review-list article > p,
.jstyle-stay-review-reply p {
	margin: 13px 0 0;
	color: #506879;
	font-size: 11px;
	line-height: 1.7;
	white-space: pre-line;
}

.jstyle-stay-review-reply {
	margin-top: 14px;
	padding: 11px;
	border-radius: 10px;
	background: var(--jstyle-blue-50);
}

.jstyle-stay-review-reply strong {
	color: var(--jstyle-blue-800);
	font-size: 9px;
}

.jstyle-stay-review-reply p {
	margin-top: 4px;
}

.jstyle-stay-empty-copy {
	padding: 18px;
	border-radius: 12px;
	background: #f7fafb;
	color: var(--jstyle-muted) !important;
	font-size: 13px !important;
}

.jstyle-stay-detail-sidebar {
	position: sticky;
	top: 102px;
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 20px;
}

.jstyle-stay-sidebar-card {
	padding: 25px;
	border: 1px solid var(--jstyle-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(8, 47, 73, .06);
}

.jstyle-stay-sidebar-card h2 {
	font-size: 20px;
}

.jstyle-stay-sidebar-card > ul,
.jstyle-stay-facility-group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jstyle-stay-sidebar-card > ul li,
.jstyle-stay-facility-group li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 7px 0;
	color: #506879;
	font-size: 12px;
}

.jstyle-stay-sidebar-card li i {
	flex: 0 0 auto;
	color: var(--jstyle-blue-600);
}

.jstyle-stay-facility-group + .jstyle-stay-facility-group {
	margin-top: 19px;
	padding-top: 17px;
	border-top: 1px solid #edf4f7;
}

.jstyle-stay-facility-group h3 {
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 700;
}

.jstyle-stay-address {
	margin: 0;
	color: #506879;
	font-size: 12px;
	line-height: 1.75;
}

.jstyle-stay-location-actions {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: 9px;
	margin-top: 18px;
}

.jstyle-stay-location-actions .jstyle-btn {
	width: 100%;
	font-size: 11px;
}

.jstyle-stay-gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 1095;
	overflow-y: auto;
	padding: 34px max(24px, calc((100vw - 1320px) / 2));
	background: rgba(247, 251, 253, .99);
}

.jstyle-stay-gallery-modal > header {
	position: sticky;
	top: -34px;
	z-index: 3;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
	padding: 20px 0;
	background: rgba(247, 251, 253, .96);
	backdrop-filter: blur(12px);
}

.jstyle-stay-gallery-modal h2 {
	margin: 5px 0 0;
	color: var(--jstyle-blue-950);
	font-size: 30px;
	font-weight: 650;
}

.jstyle-stay-gallery-modal header button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--jstyle-line);
	border-radius: 50%;
	background: #fff;
	color: var(--jstyle-blue-950);
}

.jstyle-stay-gallery-modal header button:hover,
.jstyle-stay-gallery-modal header button:focus-visible {
	border-color: var(--jstyle-blue-600);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
}

.jstyle-stay-gallery-modal__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.jstyle-stay-gallery-modal figure {
	min-width: 0;
	margin: 0;
}

.jstyle-stay-gallery-modal figure:nth-child(7n + 1) {
	grid-column: span 2;
}

.jstyle-stay-gallery-modal img {
	display: block;
	width: 100%;
	height: 330px;
	border-radius: 16px;
	object-fit: cover;
}

.jstyle-stay-gallery-modal figure:nth-child(7n + 1) img {
	height: 470px;
}

.jstyle-stay-gallery-modal figcaption {
	margin-top: 7px;
	color: var(--jstyle-muted);
	font-size: 10px;
}

.jstyle-stay-gallery-more {
	display: flex;
	margin: 30px auto 70px;
}

@media (max-width: 1199.98px) {
	.jstyle-stay-booking-layout {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-quote-card {
		position: static;
		max-width: 650px;
		margin: 0 auto;
	}

	.jstyle-stay-detail-content__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
		gap: 42px;
	}
}

@media (max-width: 991.98px) {
	.jstyle-stay-detail-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 22px;
	}

	.jstyle-stay-detail-capacity {
		justify-content: flex-start;
	}

	.jstyle-stay-gallery-preview {
		grid-template-columns: 2fr 1fr;
	}

	.jstyle-stay-gallery-preview__item.item-3,
	.jstyle-stay-gallery-preview__item.item-4 {
		display: none;
	}

	.jstyle-stay-detail-content__grid {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-detail-sidebar {
		position: static;
		grid-row: 1;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jstyle-stay-sidebar-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767.98px) {
	.jstyle-stay-detail-header {
		padding-top: 30px;
	}

	.jstyle-stay-detail-back {
		margin-bottom: 22px;
	}

	.jstyle-stay-detail-capacity {
		gap: 7px;
	}

	.jstyle-stay-detail-capacity li {
		padding: 6px 9px;
		font-size: 9px;
	}

	.jstyle-stay-gallery-preview {
		display: block;
		height: 66vw;
		min-height: 260px;
		margin-bottom: 30px;
		border-radius: 0;
	}

	.jstyle-stay-gallery-preview__item.item-0 {
		display: block;
		width: 100%;
		height: 100%;
	}

	.jstyle-stay-gallery-preview__item:not(.item-0) {
		display: none;
	}

	.jstyle-stay-gallery-preview__all {
		right: 22px;
		bottom: 14px;
	}

	.jstyle-stay-availability-section {
		padding: 62px 0 70px;
	}

	.jstyle-stay-booking-calendar-card,
	.jstyle-stay-quote-card {
		padding: 18px;
		border-radius: 19px;
	}

	.jstyle-stay-booking-calendar-card .jstyle-stay-calendar__months {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-detail-content {
		padding: 72px 0 92px;
	}

	.jstyle-stay-detail-sidebar {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-sidebar-card:last-child:nth-child(odd) {
		grid-column: auto;
	}

	.jstyle-stay-room-grid,
	.jstyle-stay-rating-grid,
	.jstyle-stay-review-list {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-gallery-modal {
		padding: 16px;
	}

	.jstyle-stay-gallery-modal > header {
		top: -16px;
	}

	.jstyle-stay-gallery-modal__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.jstyle-stay-gallery-modal figure:nth-child(7n + 1) {
		grid-column: auto;
	}

	.jstyle-stay-gallery-modal img,
	.jstyle-stay-gallery-modal figure:nth-child(7n + 1) img {
		height: min(74vw, 430px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jstyle-stay-gallery-preview__item img {
		transition: none;
	}
}

/* 房源詳情第二階段：舊版資訊順序、滿版圖庫與固定預訂卡。 */
.jstyle-stay-gallery-preview--full {
	width: 100%;
	max-width: none;
	height: clamp(470px, 62vh, 760px);
	min-height: 470px;
	margin: 0;
	padding: 0;
	border-radius: 0;
}

.jstyle-stay-gallery-preview--full.image-count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr;
}

.jstyle-stay-gallery-preview--full.image-count-2 .item-0 {
	grid-row: auto;
}

.jstyle-stay-gallery-preview--full.image-count-3 {
	grid-template-columns: 2fr 1fr;
}

.jstyle-stay-gallery-preview--full.image-count-4 .item-3 {
	grid-column: 2 / 4;
}

.jstyle-stay-gallery-preview__back {
	position: absolute;
	top: 24px;
	left: max(24px, calc((100vw - 1320px) / 2));
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 15px;
	border: 1px solid rgba(8, 47, 73, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--jstyle-blue-950);
	font-size: 11px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(8, 47, 73, .16);
	backdrop-filter: blur(8px);
}

.jstyle-stay-gallery-preview__back:hover,
.jstyle-stay-gallery-preview__back:focus-visible {
	background: #fff;
	color: var(--jstyle-blue-700);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .18), 0 8px 24px rgba(8, 47, 73, .16);
}

.jstyle-stay-gallery-preview--full .jstyle-stay-gallery-preview__all {
	right: max(24px, calc((100vw - 1320px) / 2));
}

.jstyle-stay-detail-shell {
	padding-bottom: 130px;
}

.jstyle-stay-anchor-nav {
	position: sticky;
	top: 78px;
	z-index: 1015;
	display: flex;
	align-items: stretch;
	justify-content: center;
	overflow-x: auto;
	margin: 0 calc(var(--bs-gutter-x) * -.5) 0;
	border-bottom: 1px solid var(--jstyle-line);
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 24px rgba(8, 47, 73, .04);
	backdrop-filter: blur(12px);
	scrollbar-width: none;
}

.jstyle-stay-anchor-nav::-webkit-scrollbar {
	display: none;
}

.jstyle-stay-anchor-nav a {
	position: relative;
	display: inline-flex;
	min-width: 108px;
	height: 62px;
	align-items: center;
	justify-content: center;
	padding: 0 23px;
	color: #506879;
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
}

.jstyle-stay-anchor-nav a::after {
	position: absolute;
	right: 22px;
	bottom: -1px;
	left: 22px;
	height: 3px;
	border-radius: 999px 999px 0 0;
	background: var(--jstyle-blue-700);
	content: '';
	opacity: 0;
	transform: scaleX(.55);
	transition: opacity .2s ease, transform .2s ease;
}

.jstyle-stay-anchor-nav a:hover,
.jstyle-stay-anchor-nav a:focus-visible,
.jstyle-stay-anchor-nav a.is-active {
	color: var(--jstyle-blue-900);
}

.jstyle-stay-anchor-nav a:focus-visible {
	outline: 2px solid var(--jstyle-blue-500);
	outline-offset: -4px;
}

.jstyle-stay-anchor-nav a.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

.jstyle-stay-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
	gap: clamp(45px, 6vw, 86px);
	align-items: start;
	padding-top: 54px;
}

.jstyle-stay-copy-section {
	scroll-margin-top: 158px;
}

.jstyle-stay-copy-section--intro {
	padding-top: 0;
}

.jstyle-stay-copy-section--intro .jstyle-stay-detail-heading {
	display: block;
}

.jstyle-stay-copy-section--intro .jstyle-stay-detail-heading h1 {
	margin: 0;
	color: var(--jstyle-blue-950);
	font-size: clamp(34px, 4.2vw, 56px);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1.12;
}

.jstyle-stay-copy-section--intro .jstyle-stay-detail-capacity {
	justify-content: flex-start;
	max-width: none;
	margin-top: 25px;
}

.jstyle-stay-copy-subsection {
	margin-top: 34px;
}

.jstyle-stay-copy-subsection h2,
.jstyle-stay-copy-subsection h3 {
	margin: 0 0 13px;
	color: var(--jstyle-blue-950);
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -.01em;
}

.jstyle-stay-copy-subsection > p {
	margin: 0;
	color: #506879;
	font-size: 14px;
	line-height: 1.9;
	white-space: pre-line;
}

.jstyle-stay-intro-copy {
	margin-top: 34px;
}

.jstyle-stay-intro-copy p,
.jstyle-stay-location-copy,
.jstyle-stay-rules-copy {
	margin: 0;
	color: #506879;
	font-size: 14px;
	line-height: 1.9;
	white-space: pre-line;
}

.jstyle-stay-intro-copy p + p {
	margin-top: 24px;
}

.jstyle-stay-arrival-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 35px 0 1px;
}

.jstyle-stay-arrival-info article {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--jstyle-line);
	border-radius: 16px;
	background: #fbfdfe;
}

.jstyle-stay-arrival-info article > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 37px;
	width: 37px;
	height: 37px;
	border-radius: 50%;
	background: var(--jstyle-blue-100);
	color: var(--jstyle-blue-800);
}

.jstyle-stay-arrival-info article > div {
	min-width: 0;
}

.jstyle-stay-arrival-info h2 {
	margin: 1px 0 6px;
	color: var(--jstyle-blue-950);
	font-size: 15px;
	font-weight: 700;
}

.jstyle-stay-arrival-info p {
	margin: 0;
	color: #506879;
	font-size: 12px;
	line-height: 1.7;
}

.jstyle-stay-view3d-frame,
.jstyle-stay-map-frame {
	position: relative;
	overflow: hidden;
	width: 100%;
	border: 1px solid var(--jstyle-line);
	border-radius: 18px;
	background: var(--jstyle-blue-50);
}

.jstyle-stay-view3d-frame {
	aspect-ratio: 16 / 9;
}

.jstyle-stay-map-frame {
	height: 360px;
	margin-top: 28px;
}

.jstyle-stay-view3d-frame iframe,
.jstyle-stay-map-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.jstyle-stay-facility-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.jstyle-stay-facility-grid .jstyle-stay-facility-group {
	padding: 20px;
	border: 1px solid var(--jstyle-line);
	border-radius: 16px;
	background: #fbfdfe;
}

.jstyle-stay-facility-grid .jstyle-stay-facility-group + .jstyle-stay-facility-group {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid var(--jstyle-line);
}

.jstyle-stay-facility-grid .jstyle-stay-facility-group ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
	gap: 3px 13px;
}

.jstyle-stay-facility-grid .jstyle-stay-facility-group li {
	min-width: 0;
	padding: 3px 0;
	font-size: 11px;
}

.jstyle-stay-facility-group li i {
	flex: 0 0 auto;
	color: var(--jstyle-blue-600);
}

.jstyle-stay-room-card h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.jstyle-stay-address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 23px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--jstyle-blue-50);
}

.jstyle-stay-address i {
	margin-top: 2px;
	color: var(--jstyle-blue-700);
}

.jstyle-stay-location-overview {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: -4px 0 22px;
	color: var(--jstyle-blue-700) !important;
	font-size: 12px !important;
	font-weight: 650;
}

.jstyle-stay-location-overview i {
	font-size: 14px;
}

.jstyle-stay-cancellation-status {
	display: flex;
	align-items: center;
	gap: 8px;
	/* 與上方政策判定說明保留清楚間距，避免兩段提示視覺黏連。 */
	margin: 6px 0 17px;
	padding: 11px 13px;
	border: 1px solid #e5bd73;
	border-radius: 12px;
	background: #fff8e8;
	color: #875b10;
	font-size: 13px;
	font-weight: 650;
}

.jstyle-stay-cancellation-policy-list {
	overflow: hidden;
	border: 1px solid var(--jstyle-line);
	border-radius: 16px;
	background: #fbfdfe;
}

.jstyle-stay-cancellation-policy-list button,
.jstyle-stay-cancellation-policy-list p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid var(--jstyle-line);
	background: transparent;
	color: #506879;
	font-size: 13px;
	line-height: 1.6;
	text-align: left;
}

.jstyle-stay-cancellation-policy-list > :last-child {
	border-bottom: 0;
}

.jstyle-stay-cancellation-policy-list button {
	cursor: pointer;
	color: var(--jstyle-blue-700);
	font-weight: 700;
}

.jstyle-stay-cancellation-policy-list button:hover,
.jstyle-stay-cancellation-policy-list button:focus-visible {
	background: var(--jstyle-blue-50);
	outline: 0;
}

.jstyle-stay-cancellation-policy-list button:focus-visible {
	box-shadow: inset 0 0 0 3px rgba(14, 165, 233, .2);
}

.jstyle-stay-cancellation-policy-list button i {
	flex: 0 0 auto;
	font-size: 12px;
}

.jstyle-stay-cancellation-policy-note {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 13px 0 0 !important;
	color: #69808f !important;
	font-size: 12px !important;
	line-height: 1.6 !important;
}

.jstyle-stay-cancellation-policy-note i {
	color: var(--jstyle-blue-600);
}

.jstyle-stay-cancellation-modal {
	position: fixed;
	inset: 0;
	z-index: 1090;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(4, 31, 48, .55);
	backdrop-filter: blur(6px);
}

.jstyle-stay-cancellation-modal > section {
	width: min(760px, 100%);
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	padding: 27px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(2, 28, 45, .28);
	overscroll-behavior: contain;
}

.jstyle-stay-cancellation-modal > section > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.jstyle-stay-cancellation-modal h2 {
	margin: 5px 0 0;
	color: var(--jstyle-blue-950);
	font-size: 25px;
	font-weight: 650;
}

.jstyle-stay-cancellation-modal header button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border: 1px solid var(--jstyle-line);
	border-radius: 50%;
	background: #fff;
	color: var(--jstyle-blue-950);
}

.jstyle-stay-cancellation-modal header button:hover,
.jstyle-stay-cancellation-modal header button:focus-visible {
	border-color: var(--jstyle-blue-600);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
}

.jstyle-stay-cancellation-modal__body h3 {
	margin: 0 0 11px;
	color: var(--jstyle-blue-950);
	font-size: 17px;
	font-weight: 700;
}

.jstyle-stay-cancellation-modal__body > p {
	margin: 0;
	color: #506879;
	font-size: 14px;
	line-height: 1.85;
}

.jstyle-stay-cancellation-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 30px;
}

.jstyle-stay-cancellation-timeline article {
	position: relative;
	min-width: 0;
	padding-top: 25px;
	color: #506879;
	font-size: 11px;
	line-height: 1.55;
}

.jstyle-stay-cancellation-timeline article::before {
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	border: 2px solid #e6e6e6;
	border-radius: 50%;
	background: #fff;
	content: '';
	z-index: 1;
}

.jstyle-stay-cancellation-timeline article:not(:last-child)::after {
	position: absolute;
	top: 8px;
	left: 18px;
	width: calc(100% - 1px);
	height: 3px;
	background: #d8d8d8;
	content: '';
}

/* 對齊舊版 qiu1～qiu4：實心、藍／淺藍半圓、淺藍／灰半圓、灰色空心。 */
.jstyle-stay-cancellation-timeline article.is-start::before {
	border-color: #337ab7;
	background: #337ab7;
}

.jstyle-stay-cancellation-timeline article.is-start::after { background: #337ab7; }

.jstyle-stay-cancellation-timeline article.is-primary-transition::before {
	border: 0;
	background: linear-gradient(90deg, #337ab7 0 50%, #c5e1fb 50% 100%);
}

.jstyle-stay-cancellation-timeline article.is-primary-transition::after { background: #c5e1fb; }

.jstyle-stay-cancellation-timeline article.is-secondary-transition::before {
	border: 0;
	background: linear-gradient(90deg, #c5e1fb 0 50%, #e6e6e6 50% 100%);
}

.jstyle-stay-cancellation-timeline strong,
.jstyle-stay-cancellation-timeline span { display: block; }

.jstyle-stay-cancellation-timeline strong {
	min-height: 34px;
	padding-right: 8px;
	font-size: 11px;
	font-weight: 700;
}

.jstyle-stay-cancellation-timeline span {
	padding-right: 8px;
	color: #506879;
}

.jstyle-stay-location-actions {
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.jstyle-stay-location-actions .jstyle-btn {
	width: auto;
}

.jstyle-stay-booking-panel {
	position: sticky;
	top: 158px;
	min-width: 0;
	max-height: calc(100vh - 178px);
	overflow: hidden;
	border: 1px solid var(--jstyle-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 54px rgba(8, 47, 73, .12);
}

.jstyle-stay-booking-panel__scroll {
	max-height: calc(100vh - 180px);
	overflow-y: auto;
	padding: 24px;
	overscroll-behavior: contain;
}

.jstyle-stay-booking-panel__mobile-head {
	display: none;
}

button.jstyle-stay-quote-dates {
	width: 100%;
	padding: 0;
	background: #fff;
	color: var(--jstyle-ink);
	text-align: left;
}

button.jstyle-stay-quote-dates:hover,
button.jstyle-stay-quote-dates:focus-visible {
	border-color: var(--jstyle-blue-600);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

button.jstyle-stay-quote-dates > span {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 11px 12px;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
}

button.jstyle-stay-quote-dates > span + span {
	border-left: 1px solid var(--jstyle-line);
}

button.jstyle-stay-quote-dates small {
	display: block;
	margin-bottom: 4px;
	color: var(--jstyle-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.jstyle-stay-booking-panel > .jstyle-stay-inline-error,
.jstyle-stay-booking-panel__scroll > .jstyle-stay-inline-error {
	margin: 17px 0;
}

.jstyle-stay-mobile-booking-bar,
.jstyle-stay-booking-backdrop {
	display: none;
}

.jstyle-stay-booking-calendar-modal {
	position: fixed;
	inset: 0;
	z-index: 1090;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(4, 31, 48, .58);
	backdrop-filter: blur(6px);
}

.jstyle-stay-booking-calendar-modal > section {
	width: min(590px, 100%);
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	padding: 25px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(3, 31, 49, .28);
	overscroll-behavior: contain;
}

.jstyle-stay-booking-calendar-modal > section > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.jstyle-stay-booking-calendar-modal h2 {
	margin: 5px 0 0;
	color: var(--jstyle-blue-950);
	font-size: 25px;
	font-weight: 650;
}

.jstyle-stay-booking-calendar-modal header button,
.jstyle-stay-booking-panel__mobile-head button {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 0;
	border: 1px solid var(--jstyle-line);
	border-radius: 50%;
	background: #fff;
	color: var(--jstyle-blue-950);
}

.jstyle-stay-booking-calendar-modal header button:hover,
.jstyle-stay-booking-calendar-modal header button:focus-visible,
.jstyle-stay-booking-panel__mobile-head button:hover,
.jstyle-stay-booking-panel__mobile-head button:focus-visible {
	border-color: var(--jstyle-blue-600);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, .13);
}

.jstyle-stay-calendar.is-single-month .jstyle-stay-calendar__months {
	grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1199.98px) {
	.jstyle-stay-detail-layout {
		grid-template-columns: minmax(0, 1fr) minmax(310px, 350px);
		gap: 38px;
	}
}

@media (max-width: 991.98px) {
	.jstyle-stay-gallery-preview--full {
		height: min(520px, 62vw);
		min-height: 390px;
	}

	.jstyle-stay-detail-layout {
		display: block;
		padding-top: 40px;
	}

	.jstyle-stay-anchor-nav {
		top: 70px;
		justify-content: flex-start;
		margin-right: calc(var(--bs-gutter-x) * -.5);
		margin-left: calc(var(--bs-gutter-x) * -.5);
	}

	.jstyle-stay-anchor-nav a {
		min-width: auto;
		height: 54px;
		padding: 0 20px;
	}

	.jstyle-stay-copy-section {
		scroll-margin-top: 138px;
	}

	.jstyle-stay-booking-panel {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1080;
		max-height: 92dvh;
		border-width: 1px 0 0;
		border-radius: 24px 24px 0 0;
		box-shadow: 0 -18px 60px rgba(4, 31, 48, .2);
		transform: translateY(105%);
		transition: transform .28s ease;
	}

	.jstyle-stay-booking-panel.is-mobile-open {
		transform: translateY(0);
	}

	.jstyle-stay-booking-panel__mobile-head {
		position: relative;
		display: flex;
		height: 62px;
		align-items: center;
		justify-content: space-between;
		padding: 12px 18px;
		border-bottom: 1px solid var(--jstyle-line);
	}

	.jstyle-stay-booking-panel__mobile-head > strong {
		font-size: 15px;
	}

	.jstyle-stay-booking-panel__handle {
		position: absolute;
		top: 7px;
		left: 50%;
		width: 40px;
		height: 4px;
		border-radius: 999px;
		background: #d5e0e6;
		transform: translateX(-50%);
	}

	.jstyle-stay-booking-panel__mobile-head button {
		width: 36px;
		height: 36px;
		margin-left: auto;
	}

	.jstyle-stay-booking-panel__scroll {
		max-height: calc(92dvh - 62px);
		padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
	}

	.jstyle-stay-booking-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1075;
		display: block;
		background: rgba(4, 31, 48, .5);
		backdrop-filter: blur(3px);
	}

	.jstyle-stay-mobile-booking-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1060;
		display: flex;
		min-height: 72px;
		align-items: center;
		justify-content: space-between;
		gap: 15px;
		padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--jstyle-line);
		background: rgba(255, 255, 255, .97);
		box-shadow: 0 -10px 30px rgba(8, 47, 73, .12);
		backdrop-filter: blur(12px);
	}

	.jstyle-stay-mobile-booking-bar > div {
		display: grid;
		grid-template-columns: auto auto;
		align-items: baseline;
		column-gap: 5px;
		min-width: 0;
	}

	.jstyle-stay-mobile-booking-bar small {
		grid-column: 1 / -1;
		color: var(--jstyle-muted);
		font-size: 9px;
		font-weight: 700;
	}

	.jstyle-stay-mobile-booking-bar strong {
		color: var(--jstyle-blue-950);
		font-size: 20px;
	}

	.jstyle-stay-mobile-booking-bar span {
		overflow: hidden;
		color: var(--jstyle-muted);
		font-size: 9px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.jstyle-stay-mobile-booking-bar .jstyle-btn {
		flex: 0 0 auto;
		min-width: 145px;
	}

	.jstyle-stay-detail-body .jstyle-quick-menu {
		display: none;
	}

	.jstyle-stay-detail-body .jstyle-footer {
		padding-bottom: calc(86px + env(safe-area-inset-bottom));
	}
}

@media (max-width: 767.98px) {
	.jstyle-stay-gallery-preview--full {
		height: 67vw;
		min-height: 260px;
		margin-bottom: 0;
	}

	.jstyle-stay-gallery-preview__back {
		top: 15px;
		left: 16px;
		width: 42px;
		height: 42px;
		justify-content: center;
		padding: 0;
	}

	.jstyle-stay-gallery-preview__back span {
		display: none;
	}

	.jstyle-stay-gallery-preview--full .jstyle-stay-gallery-preview__all {
		right: 16px;
		bottom: 14px;
	}

	.jstyle-stay-detail-shell {
		padding-bottom: 104px;
	}

	.jstyle-stay-detail-layout {
		padding-top: 32px;
	}

	.jstyle-stay-copy-section--intro .jstyle-stay-detail-heading h1 {
		font-size: clamp(32px, 10vw, 43px);
	}

	.jstyle-stay-detail-capacity li {
		font-size: 10px;
	}

	.jstyle-stay-facility-grid,
	.jstyle-stay-rating-grid,
	.jstyle-stay-review-list {
		grid-template-columns: 1fr;
	}

	.jstyle-stay-arrival-info {
		gap: 9px;
		padding-top: 28px;
	}

	.jstyle-stay-arrival-info article {
		gap: 9px;
		padding: 13px 11px;
	}

	.jstyle-stay-arrival-info article > i {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
		font-size: 13px;
	}

	.jstyle-stay-arrival-info h2 {
		margin-top: 0;
		font-size: 12px;
	}

	.jstyle-stay-arrival-info p {
		font-size: 10px;
	}

	.jstyle-stay-facility-grid .jstyle-stay-facility-group ul {
		grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
	}

	.jstyle-stay-room-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.jstyle-stay-room-card {
		padding: 14px 11px;
	}

	.jstyle-stay-room-card > i {
		width: 31px;
		height: 31px;
		margin-bottom: 9px;
		font-size: 14px;
	}

	.jstyle-stay-room-card h4 {
		font-size: 12px;
	}

	.jstyle-stay-room-card p {
		font-size: 10px;
	}

	.jstyle-stay-cancellation-policy-list button,
	.jstyle-stay-cancellation-policy-list p {
		min-height: 46px;
		padding: 12px 13px;
		font-size: 12px;
	}

	.jstyle-stay-cancellation-modal {
		align-items: flex-end;
		padding: 0;
	}

	.jstyle-stay-cancellation-modal > section {
		width: 100%;
		max-height: 92dvh;
		padding: 20px 17px calc(20px + env(safe-area-inset-bottom));
		border-radius: 24px 24px 0 0;
	}

	.jstyle-stay-cancellation-modal h2 {
		font-size: 21px;
	}

	.jstyle-stay-cancellation-modal__body > p {
		font-size: 12px;
	}

	.jstyle-stay-cancellation-timeline {
		width: 610px;
	}

	.jstyle-stay-cancellation-modal__body {
		overflow-x: auto;
		overscroll-behavior-x: contain;
	}

	.jstyle-stay-location-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.jstyle-stay-map-frame {
		height: 300px;
	}

	.jstyle-stay-location-actions .jstyle-btn {
		width: 100%;
	}

	.jstyle-stay-booking-calendar-modal {
		align-items: flex-end;
		padding: 0;
	}

	.jstyle-stay-booking-calendar-modal > section {
		width: 100%;
		max-height: 92dvh;
		padding: 20px 17px calc(20px + env(safe-area-inset-bottom));
		border-radius: 24px 24px 0 0;
	}

	.jstyle-stay-booking-calendar-modal h2 {
		font-size: 21px;
	}

	.jstyle-stay-calendar.is-single-month .jstyle-stay-calendar__prompt {
		margin-right: 52px;
		margin-left: 52px;
		font-size: 11px;
	}

	.jstyle-stay-calendar.is-single-month .jstyle-stay-calendar__cell > button {
		min-height: 45px;
	}

	.jstyle-stay-mobile-booking-bar .jstyle-btn {
		min-width: 132px;
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media (min-width: 768px) {
	/* 詳情頁預訂卡：桌機維持雙月，覆蓋共用日曆在中型螢幕的單欄規則。 */
	.jstyle-stay-booking-calendar-modal > section {
		width: min(900px, calc(100vw - 48px));
	}

	.jstyle-stay-booking-calendar-modal .jstyle-stay-calendar__months {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}

	/* 雙月日期格保留間距，避免相鄰方格與日期範圍背景黏連。 */
	.jstyle-stay-booking-calendar-modal .jstyle-stay-calendar__days {
		gap: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jstyle-stay-anchor-nav a::after,
	.jstyle-stay-booking-panel {
		transition: none;
	}
}
/* 房源主標直接由 PHP 呈現，四語長名稱與手機版保留自然換行。 */
.jstyle-stay-public-intro {
	padding-top: 2rem;
	padding-bottom: 1.5rem;
}
.jstyle-stay-public-intro > a {
	display: inline-block;
	margin-bottom: 1rem;
	color: var(--jstyle-blue-900);
}
.jstyle-stay-public-intro h1 {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 700;
	overflow-wrap: anywhere;
}
.jstyle-stay-public-intro__summary {
	max-width: 75ch;
	margin: .75rem 0 0;
	color: var(--jstyle-muted);
	line-height: 1.8;
	white-space: pre-line;
}
