/**
 * JSDW Property Page — Northstar layout styles.
 */

.jsdw-property-page {
	--jsdw-ink: #161614;
	--jsdw-ink-mid: #4a4a46;
	--jsdw-ink-muted: #7a7a74;
	--jsdw-ink-faint: #b0afa8;
	--jsdw-cream: #faf9f6;
	--jsdw-warm: #f3f1ec;
	--jsdw-warm-dark: #e8e5de;
	--jsdw-gold: #c8a96e;
	--jsdw-border: #e4e1d8;
	--jsdw-radius: 4px;
	--jsdw-radius-lg: 10px;
	--jsdw-font-serif: 'Cormorant Garamond', Georgia, serif;
	--jsdw-font-sans: 'DM Sans', sans-serif;
	--jsdw-site-header-height: 80px;
	--jsdw-section-nav-height: 48px;
	--jsdw-sticky-gap: 12px;

	color: var(--jsdw-ink);
	font-family: var(--jsdw-font-sans);
	font-size: 15px;
	line-height: 1.6;
	background: var(--jsdw-cream);
}

.jsdw-property-page *,
.jsdw-property-page *::before,
.jsdw-property-page *::after {
	box-sizing: border-box;
}

/* Hero mosaic */
.jsdw-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 3px;
	min-height: 79.2vh;
	height: auto;
	background: var(--jsdw-ink);
	overflow: hidden;
}

.jsdw-hero-grid__cell {
	overflow: hidden;
	position: relative;
	background: #2a2926;
	min-height: 0;
	height: 100%;
}

.jsdw-hero-grid__cell--main {
	grid-row: 1 / -1;
}

.jsdw-hero-grid--single .jsdw-hero-grid__cell {
	aspect-ratio: 4 / 3;
	min-height: 120px;
	height: auto;
}

.jsdw-hero-grid__cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 100%;
	opacity: 1;
	transition: transform 0.6s ease;
}

.jsdw-hero-grid__cell:hover img {
	transform: scale(1.03);
}

.jsdw-hero-grid__cell--placeholder {
	background: linear-gradient(135deg, #2a2926 0%, #1e1d1b 100%);
}

.jsdw-hero-grid--empty {
	min-height: 280px;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(160deg, #2a2926 0%, #161614 100%);
	background-size: cover;
	background-position: center;
}

.jsdw-hero-grid--empty .jsdw-hero-grid__overlay {
	position: relative;
	background: linear-gradient(transparent 0%, rgba(16, 15, 14, 0.72) 100%);
	width: 100%;
}

.jsdw-hero-grid--single {
	grid-template-columns: 1fr;
	min-height: 420px;
}

.jsdw-hero-grid--single .jsdw-hero-grid__cell--main {
	grid-row: 1 / -1;
}

.jsdw-hero-grid__overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 40px;
	background: linear-gradient(transparent 0%, rgba(16, 15, 14, 0.72) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	pointer-events: none;
	z-index: 2;
}

.jsdw-hero-grid__info {
	pointer-events: auto;
}

.jsdw-hero-grid__eyebrow {
	display: inline-block;
	padding: 6px 14px;
	margin-bottom: 10px;
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
	background: rgba(16, 15, 14, 0.52);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.jsdw-property-page .jsdw-hero-grid__overlay .jsdw-hero-grid__title {
	font-family: var(--jsdw-font-serif);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 300;
	color: #fff;
	line-height: 1.1;
	margin: 0 0 8px;
}

.jsdw-hero-grid__title {
	font-family: var(--jsdw-font-serif);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 300;
	color: #fff;
	line-height: 1.1;
	margin: 0 0 8px;
}

.jsdw-hero-grid__tagline {
	margin: 0 0 10px;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
}

.jsdw-hero-grid__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

.jsdw-hero-grid__gallery-btn {
	pointer-events: auto;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	color: #fff;
	font-family: var(--jsdw-font-sans);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 9px 18px;
	border-radius: var(--jsdw-radius);
	cursor: pointer;
	align-self: flex-end;
	appearance: none;
}

.jsdw-property-page button {
	font-family: var(--jsdw-font-sans);
	appearance: none;
	-webkit-appearance: none;
}

.jsdw-property-page .jsdw-hero-grid__gallery-btn {
	background-color: var(--jsdw-gold);
	border-color: var(--jsdw-gold);
	color: #fff;
}

/* Section nav — sticky offsets synced via JS + CSS vars */
.jsdw-property-page .jsdw-section-nav {
	position: sticky;
	top: var(--jsdw-sticky-top, calc(var(--jsdw-site-header-height, 80px) + var(--jsdw-sticky-gap, 12px)));
	z-index: 50;
	background-color: #faf9f6;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.jsdw-section-nav {
	display: flex;
	gap: 0;
	padding: 0 40px;
	background: rgba(250, 249, 246, 0.95);
	border-bottom: 1px solid var(--jsdw-border);
}

.jsdw-section-nav__link {
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--jsdw-ink-muted);
	text-decoration: none;
	padding: 14px 18px;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.jsdw-section-nav__link:hover,
.jsdw-section-nav__link.active {
	color: var(--jsdw-ink);
	border-bottom-color: var(--jsdw-ink);
}

/* Page body */
.jsdw-page-body {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 48px 40px 80px;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	gap: 48px;
	align-items: start;
}

.jsdw-main-col {
	min-width: 0;
}

/* Stats */
.jsdw-stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 40px;
}

.jsdw-stat-card {
	background: var(--jsdw-warm);
	border: 1px solid var(--jsdw-border);
	border-radius: var(--jsdw-radius-lg);
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.jsdw-stat-card__icon {
	width: 36px;
	height: 36px;
	background: #fff;
	border-radius: var(--jsdw-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	flex-shrink: 0;
	border: 1px solid var(--jsdw-border);
}

.jsdw-property-page .jsdw-stat-card__icon,
.jsdw-property-page .stat-icon {
	display: flex !important;
	flex-shrink: 0;
}

.jsdw-property-page .jsdw-stat-card__icon img.emoji {
	width: 17px;
	height: 17px;
	display: inline-block;
}

.jsdw-stat-card__val {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
}

.jsdw-stat-card__lbl {
	font-size: 11px;
	color: var(--jsdw-ink-muted);
}

/* Content sections */
.jsdw-content-section {
	margin-bottom: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--jsdw-border);
}

.jsdw-content-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.jsdw-section-heading {
	font-family: var(--jsdw-font-serif);
	font-size: 24px;
	font-weight: 300;
	color: var(--jsdw-ink);
	margin: 0 0 18px;
}

.jsdw-desc-text,
.jsdw-more-info {
	font-size: 15px;
	line-height: 1.8;
	color: var(--jsdw-ink-mid);
	margin-bottom: 14px;
}

.jsdw-location-label {
	font-size: 14px;
	color: var(--jsdw-ink-mid);
	margin-bottom: 12px;
}

.jsdw-map-placeholder,
.jsdw-map-embed-wrap {
	background: var(--jsdw-warm);
	border: 1px solid var(--jsdw-border);
	border-radius: var(--jsdw-radius-lg);
	position: relative;
	min-height: 260px;
	overflow: hidden;
}

.jsdw-map-embed-wrap:not(.is-active) .jsdw-map-embed {
	pointer-events: none;
}

.jsdw-map-embed-wrap .jsdw-map-embed {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	min-height: 260px;
	border: 0;
}

/* Light black veil: map stays visible; click removes overlay to enable scroll/zoom */
.jsdw-map-embed-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	border: none;
	background-color: rgba(16, 15, 14, 0.1);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.jsdw-map-embed-overlay:hover,
.jsdw-map-embed-overlay:focus-visible {
	background-color: rgba(16, 15, 14, 0.22);
	outline: none;
	box-shadow: none;
}

.jsdw-map-embed-wrap.is-active .jsdw-map-embed {
	pointer-events: auto;
}

.jsdw-empty-slot {
	color: var(--jsdw-ink-muted);
	font-size: 14px;
	margin: 0;
}

/* Sidebar */
.jsdw-sidebar-col {
	position: sticky;
	top: calc(
		var(--jsdw-site-header-height)
		+ var(--jsdw-section-nav-height)
		+ var(--jsdw-sticky-gap)
	);
}

.jsdw-booking-widget {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: hidden;
	margin-bottom: 0;
	box-shadow: none;
}

.jsdw-booking-box {
	background: #fff;
	border: 1px solid var(--jsdw-border);
	border-radius: var(--jsdw-radius-lg);
	overflow: hidden;
	padding: 0;
	margin: 0 0 14px;
	box-shadow: none;
}

.jsdw-sidebar-booking-wrap {
	padding: 0;
	margin: 0;
}

.jsdw-booking-box .jsdw-booking-widget,
.jsdw-booking-box .jsdw-widget-slot--booking,
.jsdw-booking-box .ownerrez-widget,
.jsdw-booking-box .jsdw-or-widget {
	width: 100%;
	padding: 0;
	margin: 0;
}

.jsdw-booking-box iframe {
	display: block;
	width: 100%;
	border: none;
	border-radius: 0 0 var(--jsdw-radius-lg) var(--jsdw-radius-lg);
}

.jsdw-booking-box .jsdw-booking-widget > *:not(.jsdw-widget-slot--booking):not(.jsdw-booking-fallback):not(.jsdw-empty-slot),
.jsdw-booking-box .jsdw-booking-widget__body > *:not(.jsdw-widget-slot--booking):not(.jsdw-booking-fallback):not(.jsdw-empty-slot) {
	display: none !important;
}

.jsdw-booking-fallback {
	margin: 14px;
}

.jsdw-booking-box .jsdw-empty-slot {
	margin: 14px;
}

.jsdw-booking-fallback-btn {
	display: block;
	width: 100%;
	text-align: center;
	background-color: var(--jsdw-gold);
	border: 1px solid var(--jsdw-gold);
	color: #fff;
	font-family: var(--jsdw-font-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 16px;
	border-radius: var(--jsdw-radius);
	appearance: none;
}

.jsdw-booking-fallback-btn:hover,
.jsdw-booking-fallback-btn:focus {
	background-color: #b89858;
	border-color: #b89858;
	color: #fff;
	text-decoration: none;
}

.jsdw-policy-content {
	padding: 16px 18px;
	font-size: 13px;
	color: var(--jsdw-ink-mid);
	line-height: 1.7;
}

.jsdw-sidebar-card {
	background: #fff;
	border: 1px solid var(--jsdw-border);
	border-radius: var(--jsdw-radius-lg);
	overflow: hidden;
	margin-bottom: 14px;
}

.jsdw-sidebar-card__head {
	padding: 12px 18px;
	border-bottom: 1px solid var(--jsdw-border);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--jsdw-ink-muted);
}

.jsdw-policy-house-rules {
	font-size: 13px;
	color: #555;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #ece8e0;
}

.jsdw-policy-content > :last-child {
	margin-bottom: 0;
}

.jsdw-trust-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 18px;
}

.jsdw-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: var(--jsdw-ink-muted);
}

.jsdw-trust-icon {
	font-size: 15px;
	color: var(--jsdw-ink-faint);
}

/* OwnerRez widget slots */
.jsdw-property-page .ownerrez-widget,
.jsdw-property-page .jsdw-widget-slot {
	min-height: 120px;
	width: 100%;
}

.jsdw-widget-slot--booking {
	min-height: 480px;
}

.jsdw-widget-slot--booking,
.jsdw-widget-slot--booking .ownerrez-widget,
.jsdw-widget-slot--booking iframe {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	display: block;
}

.jsdw-widget-slot--booking .ownerrez-widget > a,
.jsdw-widget-slot--booking .ownerrez-widget > button,
.jsdw-widget-slot--booking .jsdw-or-widget > a,
.jsdw-or-widget--booking > a {
	display: none !important;
}

.jsdw-widget-slot--calendar {
	min-height: 360px;
	overflow: visible;
}

.jsdw-widget-slot--calendar,
.jsdw-widget-slot--calendar .ownerrez-widget,
.jsdw-widget-slot--calendar iframe,
.jsdw-widget-slot--reviews,
.reviews-or-wrapper .ownerrez-widget,
.reviews-or-wrapper iframe {
	width: 100%;
	padding: 0;
	margin: 0;
	display: block;
}

.jsdw-widget-slot--reviews,
.reviews-or-wrapper {
	overflow: visible;
}

.jsdw-property-page iframe.ownerrez-widget-iframe {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 150px;
	border: none !important;
}

.jsdw-property-page iframe.ownerrez-widget-iframe[style*="height"] {
	min-height: unset !important;
}

.jsdw-widget-slot--booking iframe.ownerrez-widget-iframe {
	min-height: 480px;
}

.jsdw-widget-slot--calendar iframe.ownerrez-widget-iframe {
	min-height: 450px;
}

/* Gallery modal */
body.jsdw-gallery-modal-open {
	overflow: hidden;
}

.jsdw-gallery-modal {
	--jsdw-cream: #faf9f6;
	--jsdw-gold: #c8a96e;
	--jsdw-ink: #161614;
	--jsdw-radius: 4px;

	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: stretch;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.jsdw-gallery-modal[hidden] {
	display: none;
}

.jsdw-gallery-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	padding: 0;
	margin: 0;
}

.jsdw-gallery-modal__panel {
	position: relative;
	z-index: 1;
	width: min(1100px, 100%);
	max-height: 100vh;
	overflow: auto;
	margin: 0 auto;
	background-color: #faf9f6;
	background-color: var(--jsdw-cream);
	padding: 24px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.jsdw-gallery-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.jsdw-gallery-modal__title {
	margin: 0;
	font-family: var(--jsdw-font-serif, 'Cormorant Garamond', Georgia, serif);
	font-size: 28px;
	font-weight: 300;
	color: var(--jsdw-ink);
}

.jsdw-gallery-modal .jsdw-gallery-modal__close {
	border: 1px solid #1c1c1a !important;
	background-color: #1c1c1a !important;
	color: #fff !important;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	appearance: none;
	border-radius: var(--jsdw-radius);
	padding: 4px 12px;
	min-width: 40px;
}

.jsdw-gallery-modal .jsdw-gallery-modal__close:hover,
.jsdw-gallery-modal .jsdw-gallery-modal__close:focus {
	background-color: #2a2926 !important;
	border-color: #2a2926 !important;
	color: #fff !important;
}

.jsdw-gallery-modal__masonry {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.jsdw-gallery-modal__item {
	margin: 0;
	min-width: 0;
}

.jsdw-gallery-modal__item img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: var(--jsdw-radius);
	cursor: zoom-in;
}

@media (max-width: 900px) {
	.jsdw-gallery-modal__masonry {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.jsdw-gallery-modal__masonry {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.jsdw-page-body {
		grid-template-columns: 1fr;
		padding: 24px 20px 60px;
		gap: 32px;
	}

	.jsdw-sidebar-col {
		position: static;
	}

	.jsdw-hero-grid {
		grid-template-columns: 2fr 1fr;
		grid-template-rows: 1fr 1fr;
		min-height: 46.2vh;
	}

	.jsdw-hero-grid__cell:not(.jsdw-hero-grid__cell--main):nth-child(n+4) {
		display: none;
	}

	.jsdw-hero-grid__overlay {
		inset: 0;
		padding: 0;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		background: none;
	}

	.jsdw-hero-grid__info {
		width: calc((100% - 3px) * 2 / 3);
		max-width: calc((100% - 3px) * 2 / 3);
		padding: 16px;
		background: linear-gradient(transparent 0%, rgba(16, 15, 14, 0.78) 35%, rgba(16, 15, 14, 0.88) 100%);
	}

	.jsdw-hero-grid__tagline {
		font-size: 0.92rem;
		line-height: 1.35;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.jsdw-hero-grid__title {
		font-size: clamp(26px, 7vw, 36px);
	}

	.jsdw-hero-grid__gallery-btn {
		position: absolute;
		right: 16px;
		bottom: 16px;
		font-size: 9px;
		padding: 8px 14px;
	}

	.jsdw-stats-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.jsdw-section-nav {
		z-index: 50;
		padding: 0 20px;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.jsdw-section-nav::-webkit-scrollbar {
		display: none;
	}

	.jsdw-section-nav__link {
		white-space: nowrap;
		padding: 12px 14px;
		font-size: 10px;
	}

	.jsdw-sidebar-booking-wrap {
		display: none;
	}

	.jsdw-page-body {
		padding-bottom: 96px;
	}

	.jsdw-booking-fab,
	.booking-fab {
		display: block;
	}

	.jsdw-booking-box--mobile {
		margin: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
	}
}

/* Mobile booking FAB + modal */
.jsdw-booking-fab,
.booking-fab,
.jsdw-booking-modal {
	display: none;
}

.jsdw-booking-fab,
.booking-fab {
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 100000;
	width: auto;
	max-width: 480px;
	margin: 0 auto;
	padding: 16px 24px;
	background: var(--jsdw-gold);
	border: 1px solid #c8a96e;
	border-color: #c8a96e !important;
	border-radius: var(--jsdw-radius);
	color: #fff;
	font-family: var(--jsdw-font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.jsdw-booking-fab:hover,
.jsdw-booking-fab:focus,
.booking-fab:hover,
.booking-fab:focus {
	background: #b89858;
	border-color: #b89858 !important;
	color: #fff;
}

.jsdw-booking-fab[hidden],
.booking-fab[hidden] {
	display: none !important;
}

.jsdw-booking-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: env(safe-area-inset-top, 0px);
	box-sizing: border-box;
}

.jsdw-booking-modal[hidden] {
	display: none !important;
}

.jsdw-booking-modal:not([hidden]) {
	display: flex;
}

.jsdw-booking-modal__backdrop {
	position: absolute;
	inset: 0;
	border: none !important;
	border-color: transparent !important;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.jsdw-booking-modal__panel {
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	width: 100%;
	flex: 0 1 auto;
	max-height: min(90dvh, calc(100dvh - env(safe-area-inset-top, 0px) - 8px));
	background: #fff;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.jsdw-booking-modal__header {
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.jsdw-booking-modal__title {
	font-family: var(--jsdw-font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jsdw-ink);
}

.jsdw-booking-modal__close {
	position: static;
	flex-shrink: 0;
	min-height: 44px;
	padding: 10px 18px;
	border: none !important;
	background: rgba(0, 0, 0, 0.08);
	border-radius: var(--jsdw-radius);
	font-family: var(--jsdw-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	color: var(--jsdw-ink);
	touch-action: manipulation;
}

.jsdw-booking-modal__slot {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: 0;
	-webkit-overflow-scrolling: touch;
}

.jsdw-booking-modal__slot .jsdw-booking-box {
	margin: 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

body.jsdw-booking-modal-open {
	overflow: hidden;
}

body.jsdw-booking-modal-open #jsdw-toast-container {
	display: none;
}

/* Toast notifications */
#jsdw-toast-container {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 99998;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
}

.jsdw-toast {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #1c1c1a;
	color: #fff;
	border-left: 3px solid #c8a96e;
	border-radius: 6px;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.4;
	max-width: 320px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	pointer-events: auto;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.jsdw-toast--visible {
	opacity: 1;
	transform: translateY(0);
}

.jsdw-toast--hiding {
	opacity: 0;
	transform: translateY(12px);
}

.jsdw-toast__icon {
	font-size: 18px;
	flex-shrink: 0;
}

.jsdw-toast__text {
	flex: 1;
}

.jsdw-toast__close {
	background: none;
	border: none !important;
	color: rgba(255, 255, 255, 0.5);
	font-size: 18px;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
}

.jsdw-toast__close:hover {
	color: #fff;
}

@media (max-width: 900px) {
	#jsdw-toast-container {
		top: calc(10px + env(safe-area-inset-top, 0px));
		bottom: auto;
		left: 50%;
		transform: translateX(-50%);
		width: calc(100vw - 32px);
		z-index: 99990;
	}

	body.admin-bar #jsdw-toast-container {
		top: calc(46px + env(safe-area-inset-top, 0px));
	}

	.jsdw-toast {
		max-width: 100%;
	}
}

@media (min-width: 783px) and (max-width: 900px) {
	body.admin-bar #jsdw-toast-container {
		top: calc(32px + env(safe-area-inset-top, 0px));
	}
}

/* Admin debug banner (?jsdw_pp_debug=1, manage_options only) */
.jsdw-pp-debug-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999999;
	max-height: 40vh;
	overflow: auto;
	background: #1a1a1a;
	color: #e8e8e8;
	border-top: 3px solid var(--jsdw-gold, #c8a96e);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
	line-height: 1.4;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
}

.jsdw-pp-debug-banner__head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: baseline;
	padding: 10px 16px;
	background: #111;
	border-bottom: 1px solid #333;
}

.jsdw-pp-debug-banner__head strong {
	color: var(--jsdw-gold, #c8a96e);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.jsdw-pp-debug-banner__hint {
	color: #aaa;
	font-family: var(--jsdw-font-sans, sans-serif);
	font-size: 11px;
}

.jsdw-pp-debug-banner__body {
	margin: 0;
	padding: 12px 16px 16px;
	white-space: pre-wrap;
	word-break: break-word;
}
