/* ===========================================================================
 * CampSuite Booking - front-end widget styles
 * ---------------------------------------------------------------------------
 * Warm + clean, mirroring the CampSuite design system. Everything is scoped
 * under .csb-root and uses CSS custom properties so it sits politely inside
 * any host theme and can be re-tinted with a single --csb-accent value.
 * ======================================================================== */

.csb-root {
	--csb-accent: #22568c;
	--csb-accent-dark: #1b4472;
	--csb-ink: #0f213f;
	--csb-text: #5a5346;
	--csb-muted: #8a7e6b;
	--csb-paper: #faf8f5;
	--csb-surface: #ffffff;
	--csb-border: #ede8df;
	--csb-mint: #eef4fa;
	--csb-mint-border: #d7e6f4;
	--csb-error: #e55757;
	--csb-radius: 16px;
	--csb-radius-sm: 12px;
	--csb-shadow: 0 1px 2px rgba(15, 33, 63, 0.04), 0 12px 32px -16px rgba(15, 33, 63, 0.18);
	--csb-font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--csb-font-display: "Sora", "Segoe UI", system-ui, sans-serif;

	font-family: var(--csb-font);
	color: var(--csb-text);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}

.csb-root *,
.csb-root *::before,
.csb-root *::after {
	box-sizing: inherit;
}

.csb-heading {
	font-family: var(--csb-font-display);
	color: var(--csb-ink);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0 0 20px;
}

/* ── Search ───────────────────────────────────────────────────────────── */
.csb-search {
	background: var(--csb-surface);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius);
	padding: 20px;
	box-shadow: var(--csb-shadow);
}

.csb-search-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
}

.csb-search--compact .csb-search-grid {
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.csb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.csb-field-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--csb-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.csb-input {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	font-size: 16px;
	font-family: inherit;
	color: var(--csb-ink);
	background: var(--csb-paper);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius-sm);
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.csb-input:focus {
	outline: none;
	border-color: var(--csb-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--csb-accent) 22%, transparent);
}

/* Counter (adults/children/dogs) */
.csb-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--csb-paper);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius-sm);
	min-height: 48px;
	padding: 4px;
}

.csb-counter-btn {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 10px;
	background: var(--csb-surface);
	color: var(--csb-accent-dark);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(15, 33, 63, 0.08);
	transition: transform 0.1s ease, background 0.15s ease;
}

.csb-counter-btn:hover {
	background: var(--csb-mint);
}

.csb-counter-btn:active {
	transform: scale(0.94);
}

.csb-counter-value {
	font-size: 18px;
	font-weight: 600;
	color: var(--csb-ink);
	min-width: 28px;
	text-align: center;
}

.csb-search-actions {
	margin-top: 16px;
}

.csb-search--inline .csb-search-actions {
	display: flex;
	justify-content: flex-end;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.csb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.1s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.csb-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.csb-btn-primary,
.csb-btn-brand {
	color: #fff;
	background: linear-gradient(135deg, var(--csb-accent) 0%, var(--csb-accent-dark) 100%);
	box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--csb-accent) 70%, transparent);
}

.csb-btn-primary:hover:not(:disabled),
.csb-btn-brand:hover:not(:disabled) {
	transform: translateY(-1px);
}

.csb-search--inline .csb-btn-primary {
	min-width: 220px;
}

/* ── Results ──────────────────────────────────────────────────────────── */
.csb-results {
	margin-top: 24px;
}

.csb-results-hint,
.csb-results-summary {
	color: var(--csb-muted);
	font-size: 15px;
	margin: 0 0 16px;
}

.csb-results-summary {
	font-weight: 600;
	color: var(--csb-ink);
}

.csb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.csb-card {
	display: flex;
	flex-direction: column;
	background: var(--csb-surface);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius);
	overflow: hidden;
	box-shadow: var(--csb-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	animation: csb-rise 0.35s ease both;
}

.csb-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 1px 2px rgba(15, 33, 63, 0.06), 0 24px 48px -24px rgba(15, 33, 63, 0.28);
}

.csb-card-media {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: var(--csb-mint);
}

.csb-card-media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	background: linear-gradient(135deg, var(--csb-mint) 0%, #dbeaf6 100%);
}

.csb-card-body {
	padding: 16px 18px 4px;
	flex: 1;
}

.csb-card-title {
	font-family: var(--csb-font-display);
	font-size: 19px;
	font-weight: 600;
	color: var(--csb-ink);
	margin: 0 0 6px;
}

.csb-card-desc {
	font-size: 14px;
	color: var(--csb-text);
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.csb-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.csb-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: var(--csb-mint);
	color: var(--csb-accent-dark);
	border: 1px solid var(--csb-mint-border);
}

.csb-pill--muted {
	background: var(--csb-paper);
	color: var(--csb-muted);
	border-color: var(--csb-border);
}

.csb-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 18px 18px;
}

.csb-card-from,
.csb-card-per {
	font-size: 13px;
	color: var(--csb-muted);
}

.csb-card-amount {
	font-size: 22px;
	font-weight: 700;
	color: var(--csb-ink);
}

.csb-card-footer .csb-btn-brand {
	min-height: 44px;
	padding: 10px 18px;
	font-size: 15px;
}

/* ── States ───────────────────────────────────────────────────────────── */
.csb-notice {
	background: var(--csb-paper);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius-sm);
	padding: 16px 18px;
	color: var(--csb-text);
	font-size: 15px;
	margin: 0;
}

.csb-notice--error {
	background: #fdf0f0;
	border-color: #f6d4d4;
	color: var(--csb-error);
}

.csb-loading {
	display: flex;
	justify-content: center;
	padding: 40px 0;
}

.csb-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid var(--csb-mint-border);
	border-top-color: var(--csb-accent);
	border-radius: 50%;
	animation: csb-spin 0.7s linear infinite;
}

/* Server-rendered skeleton (before JS hydrates) */
.csb-skeleton {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.csb-skeleton-bar {
	height: 56px;
	border-radius: var(--csb-radius-sm);
	background: linear-gradient(90deg, #f0ede7 25%, #f7f4ef 50%, #f0ede7 75%);
	background-size: 200% 100%;
	animation: csb-shimmer 1.4s ease infinite;
}

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

@keyframes csb-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@keyframes csb-rise {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.csb-card,
	.csb-skeleton-bar,
	.csb-spinner {
		animation: none;
	}
	.csb-card:hover {
		transform: none;
	}
}

/* Powered-by line could be added by themes; keep small + unobtrusive. */
.csb-root--compact .csb-results {
	display: none;
}

/* ── Merchandising blocks ─────────────────────────────────────────────── */
/* Price badge + book button are inline so they sit happily mid-sentence or
   next to other content. */
.csb-root--price,
.csb-root--button {
	display: inline-block;
}

.csb-price-badge {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--csb-mint);
	border: 1px solid var(--csb-mint-border);
	color: var(--csb-ink);
	text-decoration: none;
	transition: transform 0.12s ease;
}

.csb-price-badge:hover {
	transform: translateY(-1px);
}

.csb-price-badge .csb-card-amount {
	font-size: 18px;
}

.csb-root--featured .csb-heading {
	text-align: center;
}

/* ===========================================================================
 * v1.3 - richer cards, carousels, lightbox & new widgets
 * ======================================================================== */

/* ── Hero layout for the search ───────────────────────────────────────── */
.csb-root--hero {
	position: relative;
	padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 56px);
	border-radius: var(--csb-radius);
	overflow: hidden;
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--csb-accent) 16%, transparent) 0%, transparent 55%),
		radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--csb-accent-dark) 22%, transparent) 0%, transparent 60%),
		var(--csb-paper);
	border: 1px solid var(--csb-border);
}

.csb-root--hero .csb-heading {
	text-align: center;
	font-size: clamp(28px, 4.4vw, 46px);
	margin-bottom: 8px;
}

.csb-root--hero .csb-search {
	max-width: 1000px;
	margin: 18px auto 0;
	background: color-mix(in srgb, var(--csb-surface) 88%, transparent);
	backdrop-filter: blur(6px);
}

.csb-root--hero .csb-results {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Card media carousel ──────────────────────────────────────────────── */
.csb-card-media--carousel {
	position: relative;
}

.csb-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.csb-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.csb-slide.is-active {
	opacity: 1;
}

.csb-card-media--clickable {
	cursor: zoom-in;
}

.csb-slide-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--csb-accent-dark);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	box-shadow: 0 4px 12px -4px rgba(15, 33, 63, 0.4);
	transition: opacity 0.18s ease, transform 0.12s ease;
}

.csb-card-media:hover .csb-slide-nav {
	opacity: 1;
}

.csb-slide-nav:hover {
	transform: translateY(-50%) scale(1.08);
}

.csb-slide-prev {
	left: 8px;
}

.csb-slide-next {
	right: 8px;
}

.csb-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	display: flex;
	gap: 5px;
	justify-content: center;
}

.csb-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: transform 0.12s ease, background 0.15s ease;
}

.csb-dot.is-active {
	background: #fff;
	transform: scale(1.35);
}

.csb-photo-count {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: rgba(15, 33, 63, 0.55);
	backdrop-filter: blur(3px);
}

/* ── Card chips & price extras ────────────────────────────────────────── */
.csb-pill--urgent {
	background: #fff4e8;
	color: #b4540a;
	border-color: #f6dcc0;
	animation: csb-pulse 2s ease-in-out infinite;
}

.csb-pill--feature {
	background: var(--csb-surface);
	color: var(--csb-accent-dark);
	border-color: var(--csb-border);
}

.csb-card-price {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.csb-card-total {
	font-size: 12px;
	color: var(--csb-muted);
	margin-top: 2px;
}

@keyframes csb-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(180, 84, 10, 0.18); }
	50% { box-shadow: 0 0 0 4px rgba(180, 84, 10, 0); }
}

/* ── Card-shaped skeletons ────────────────────────────────────────────── */
.csb-skel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.csb-skel-card {
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius);
	overflow: hidden;
	background: var(--csb-surface);
	padding-bottom: 16px;
}

.csb-skel-media {
	aspect-ratio: 16 / 10;
	background: linear-gradient(90deg, #f0ede7 25%, #f7f4ef 50%, #f0ede7 75%);
	background-size: 200% 100%;
	animation: csb-shimmer 1.4s ease infinite;
}

.csb-skel-line {
	height: 14px;
	margin: 16px 18px 0;
	border-radius: 7px;
	background: linear-gradient(90deg, #f0ede7 25%, #f7f4ef 50%, #f0ede7 75%);
	background-size: 200% 100%;
	animation: csb-shimmer 1.4s ease infinite;
}

.csb-skel-line--short {
	width: 55%;
}

/* ── Lightbox quick-view ──────────────────────────────────────────────── */
.csb-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 32, 24, 0.72);
	backdrop-filter: blur(4px);
	animation: csb-fade 0.2s ease both;
}

.csb-lb-panel {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	width: min(1040px, 100%);
	max-height: 88vh;
	background: var(--csb-surface);
	border-radius: var(--csb-radius);
	overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
	position: relative;
}

.csb-lb-panel--photo {
	grid-template-columns: 1fr;
}

.csb-lb-media {
	position: relative;
	background: #0f2018;
	display: flex;
	flex-direction: column;
}

.csb-lb-stage {
	position: relative;
	flex: 1;
	min-height: 320px;
}

.csb-lb-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.csb-lb-img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
}

.csb-lb-caption {
	margin: 0;
	padding: 10px 14px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	min-height: 18px;
}

.csb-lb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--csb-accent-dark);
	font-size: 26px;
	cursor: pointer;
}

.csb-lb-prev { left: 12px; }
.csb-lb-next { right: 12px; }

.csb-lb-aside {
	padding: 28px;
	overflow-y: auto;
}

.csb-lb-title {
	font-family: var(--csb-font-display);
	font-size: 24px;
	color: var(--csb-ink);
	margin: 0 0 10px;
}

.csb-lb-desc {
	font-size: 15px;
	color: var(--csb-text);
	margin: 0 0 16px;
}

.csb-lb-sub {
	font-weight: 600;
	color: var(--csb-ink);
	margin: 0 0 6px;
}

.csb-lb-extras {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.csb-lb-extra {
	padding: 7px 0;
	border-bottom: 1px solid var(--csb-border);
	font-size: 14px;
	color: var(--csb-text);
}

.csb-lb-book {
	width: 100%;
}

.csb-lb-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--csb-ink);
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}

@keyframes csb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ── Gallery wall ─────────────────────────────────────────────────────── */
.csb-gallery-grid {
	display: grid;
	grid-template-columns: repeat(var(--csb-cols, 3), 1fr);
	gap: 10px;
}

.csb-gallery-tile {
	position: relative;
	aspect-ratio: 1 / 1;
	border: none;
	border-radius: var(--csb-radius-sm);
	background-size: cover;
	background-position: center;
	background-color: var(--csb-mint);
	cursor: zoom-in;
	overflow: hidden;
	padding: 0;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.csb-gallery-tile:hover {
	transform: scale(1.02);
	box-shadow: 0 16px 32px -18px rgba(15, 33, 63, 0.4);
}

.csb-gallery-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 10px 8px;
	font-size: 12px;
	color: #fff;
	text-align: left;
	background: linear-gradient(to top, rgba(15, 32, 24, 0.78), transparent);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.csb-gallery-tile:hover .csb-gallery-cap {
	opacity: 1;
}

@media (max-width: 600px) {
	.csb-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ── Tariff / price list ──────────────────────────────────────────────── */
.csb-tariff {
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius);
	overflow: hidden;
	background: var(--csb-surface);
	box-shadow: var(--csb-shadow);
}

.csb-tariff-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-top: 1px solid var(--csb-border);
}

.csb-tariff-row:first-child {
	border-top: none;
}

.csb-tariff-row:nth-child(even) {
	background: var(--csb-paper);
}

.csb-tariff-info {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.csb-tariff-name {
	font-weight: 600;
	color: var(--csb-ink);
	font-size: 16px;
}

.csb-tariff-sub {
	font-size: 13px;
	color: var(--csb-muted);
}

.csb-tariff-price {
	white-space: nowrap;
	text-align: right;
}

.csb-tariff-book {
	min-height: 40px;
	padding: 8px 16px;
	font-size: 14px;
}

@media (max-width: 520px) {
	.csb-tariff-row {
		flex-wrap: wrap;
	}
	.csb-tariff-book {
		width: 100%;
	}
}

/* ── Extras & add-ons ─────────────────────────────────────────────────── */
.csb-extras-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
}

.csb-extra {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius-sm);
	background: var(--csb-surface);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.csb-extra:hover {
	transform: translateY(-2px);
	box-shadow: var(--csb-shadow);
}

.csb-extra-ico {
	flex: none;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	border-radius: 12px;
	background: var(--csb-mint);
	border: 1px solid var(--csb-mint-border);
}

.csb-extra-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.csb-extra-name {
	font-weight: 600;
	color: var(--csb-ink);
}

.csb-extra-desc {
	font-size: 13px;
	color: var(--csb-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.csb-extra-price {
	font-size: 13px;
	font-weight: 600;
	color: var(--csb-accent-dark);
	white-space: nowrap;
}

/* ── Park info card ───────────────────────────────────────────────────── */
.csb-info-card {
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius);
	background: var(--csb-surface);
	padding: 22px 24px;
	box-shadow: var(--csb-shadow);
}

.csb-info-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.csb-info-logo {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	object-fit: contain;
}

.csb-info-name {
	font-family: var(--csb-font-display);
	font-size: 20px;
	font-weight: 600;
	color: var(--csb-ink);
}

.csb-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.csb-info-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--csb-border);
}

.csb-info-row:first-child {
	border-top: none;
}

.csb-info-ico {
	flex: none;
	font-size: 17px;
	line-height: 1.5;
}

.csb-info-val {
	color: var(--csb-text);
	font-size: 15px;
	text-decoration: none;
	word-break: break-word;
}

a.csb-info-val:hover {
	color: var(--csb-accent);
	text-decoration: underline;
}

.csb-info-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

/* ── Map ──────────────────────────────────────────────────────────────── */
.csb-root--map .csb-map {
	position: relative;
	height: var(--csb-map-h, 320px);
	border-radius: var(--csb-radius);
	overflow: hidden;
	border: 1px solid var(--csb-border);
	background:
		repeating-linear-gradient(45deg, var(--csb-mint) 0 12px, #dbeaf6 12px 24px);
}

.csb-map-load {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--csb-accent-dark);
	font-family: inherit;
}

.csb-map-load--static {
	cursor: default;
}

.csb-map-pin {
	font-size: 38px;
}

.csb-map-cta {
	font-weight: 700;
	font-size: 16px;
}

.csb-map-addr {
	font-size: 14px;
	color: var(--csb-text);
	max-width: 80%;
	text-align: center;
}

.csb-map-frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.csb-map-directions {
	margin-top: 12px;
}

/* ── Sticky availability bar ──────────────────────────────────────────── */
.csb-root--stickybar {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translate(-50%, 160%);
	z-index: 99990;
	width: min(680px, calc(100% - 28px));
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.csb-root--stickybar.is-visible {
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.csb-stickybar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px 12px 22px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--csb-surface) 92%, transparent);
	backdrop-filter: blur(10px);
	border: 1px solid var(--csb-border);
	box-shadow: 0 18px 40px -18px rgba(15, 33, 63, 0.5);
}

.csb-stickybar-text {
	flex: 1;
	font-weight: 600;
	color: var(--csb-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.csb-stickybar .csb-btn-brand {
	min-height: 44px;
	white-space: nowrap;
}

.csb-stickybar-x {
	flex: none;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 999px;
	background: var(--csb-paper);
	color: var(--csb-muted);
	cursor: pointer;
	font-size: 13px;
}

@media (max-width: 480px) {
	.csb-stickybar-text {
		display: none;
	}
}

@media (max-width: 720px) {
	.csb-lb-panel {
		grid-template-columns: 1fr;
		max-height: 92vh;
	}
	.csb-lb-stage {
		min-height: 240px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.csb-slide,
	.csb-pill--urgent,
	.csb-gallery-tile,
	.csb-extra,
	.csb-root--stickybar,
	.csb-lightbox {
		transition: none;
		animation: none;
	}
}

/* ===========================================================================
 * v1.4 - date-range picker, stay-type selector & powered-by backlink
 * ======================================================================== */

/* The date field spans two columns where there's room - it's the hero of the
   search and the calendar needs the width. */
.csb-field--dates {
	grid-column: span 2;
	min-width: 0;
}

.csb-dr {
	position: relative;
}

/* Trigger: a single tappable control showing arrival → departure. */
.csb-dr-trigger {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	padding: 8px 14px;
	font-family: inherit;
	text-align: left;
	background: var(--csb-paper);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius-sm);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.csb-dr.is-open .csb-dr-trigger,
.csb-dr-trigger:focus-visible {
	outline: none;
	border-color: var(--csb-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--csb-accent) 22%, transparent);
}

.csb-dr-seg {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	flex: 1;
}

.csb-dr-seg-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--csb-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.csb-dr-seg-val {
	font-size: 15px;
	font-weight: 600;
	color: var(--csb-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.csb-dr-arrow {
	flex: none;
	color: var(--csb-muted);
	font-size: 16px;
}

/* Popover calendar */
.csb-dr-pop {
	display: none;
	position: absolute;
	z-index: 60;
	top: calc(100% + 8px);
	left: 0;
	width: min(620px, calc(100vw - 32px));
	padding: 16px;
	background: var(--csb-surface);
	border: 1px solid var(--csb-border);
	border-radius: var(--csb-radius);
	box-shadow: 0 24px 60px -24px rgba(15, 33, 63, 0.4);
	animation: csb-rise 0.18s ease both;
}

.csb-dr.is-open .csb-dr-pop {
	display: block;
}

.csb-dr-head {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}

.csb-dr-spacer {
	flex: 1;
}

.csb-dr-nav {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--csb-border);
	border-radius: 10px;
	background: var(--csb-surface);
	color: var(--csb-accent-dark);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.csb-dr-nav:hover:not(:disabled) {
	background: var(--csb-mint);
}

.csb-dr-nav:active:not(:disabled) {
	transform: scale(0.94);
}

.csb-dr-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.csb-dr-grids {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.csb-dr-month-label {
	text-align: center;
	font-family: var(--csb-font-display);
	font-weight: 600;
	font-size: 16px;
	color: var(--csb-ink);
	margin-bottom: 8px;
}

.csb-dr-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 4px;
}

.csb-dr-weekdays span {
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: var(--csb-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.csb-dr-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	/* Rows stay spaced, but columns touch so the highlighted range reads as one
	   continuous band instead of a row of disconnected, stripey chips. */
	row-gap: 2px;
	column-gap: 0;
}

.csb-dr-day {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	color: var(--csb-ink);
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}

.csb-dr-day--empty {
	cursor: default;
}

.csb-dr-day:hover:not(.is-disabled):not(.is-arrival):not(.is-departure):not(.csb-dr-day--empty) {
	background: var(--csb-mint);
}

.csb-dr-day.is-today {
	font-weight: 700;
	box-shadow: inset 0 0 0 1px var(--csb-mint-border);
}

.csb-dr-day.is-in-range,
.csb-dr-day.is-preview-end {
	background: var(--csb-mint);
	color: var(--csb-accent-dark);
	border-radius: 0;
}

.csb-dr-day.is-arrival,
.csb-dr-day.is-departure {
	background: linear-gradient(135deg, var(--csb-accent) 0%, var(--csb-accent-dark) 100%);
	color: #fff;
	font-weight: 700;
	border-radius: 10px;
}

/* Square the inner edge so the chips flow into the highlighted range. */
.csb-dr-day.is-start {
	border-radius: 10px 0 0 10px;
}

.csb-dr-day.is-end {
	border-radius: 0 10px 10px 0;
}

/* The hovered preview end (no departure chosen yet) reads as a soft target. */
.csb-dr-day.is-preview-end {
	background: var(--csb-mint);
	color: var(--csb-accent-dark);
	box-shadow: inset 0 0 0 1px var(--csb-accent);
}

.csb-dr-day.is-disabled {
	color: var(--csb-border);
	cursor: default;
}

.csb-dr-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--csb-border);
}

.csb-dr-summary {
	font-size: 14px;
	font-weight: 600;
	color: var(--csb-ink);
}

.csb-dr-foot-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.csb-dr-clear {
	border: none;
	background: transparent;
	color: var(--csb-muted);
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	padding: 8px;
}

.csb-dr-clear:hover {
	color: var(--csb-ink);
	text-decoration: underline;
}

.csb-dr-done {
	min-height: 40px;
	padding: 8px 22px;
	font-size: 15px;
}

@media (max-width: 560px) {
	.csb-dr-pop {
		width: min(360px, calc(100vw - 24px));
	}
	.csb-dr-grids {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* ── Powered-by backlink ──────────────────────────────────────────────── */
.csb-powered {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 16px;
	font-size: 12px;
	font-weight: 600;
	color: var(--csb-muted);
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.csb-powered:hover {
	opacity: 1;
	color: var(--csb-accent-dark);
}

.csb-powered-mark {
	font-size: 13px;
}

.csb-root--featured .csb-powered {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
	.csb-dr-pop {
		animation: none;
	}
}
