/* WCPC Room Page widgets — front-end styles.
   Palette pulled from wcpc.community: primary var(--wcpc-accent, #34657F), panel var(--wcpc-surface, #F4F7FA),
   accent amber var(--wcpc-warn, #FFB549), text var(--wcpc-ink, #1F2933) / var(--wcpc-muted, #5B6B78). Accent is overridable per
   widget via the --wcpc-accent custom property (set by Elementor controls). */

/* --------------------------------------------------------------------
   WCPC Rental Manager design tokens.

   Since 5.5.1 this stylesheet declares no tokens of its own: every colour,
   radius and surface is read from the shared --wcpc-* bridge that WCPC Core
   (tokens.css) maps onto the Elementor kit, with the design value as the
   var() fallback. Theme a site in the kit — never here. (The old :root block
   overrode the shared tokens, which is why rental cards drifted to a 12px
   radius and #DFE4EE borders while the rest of the site used 16px / #D5DEE5.)
   -------------------------------------------------------------------- */

.wcpc-amenities,
.wcpc-specs,
.wcpc-tags,
.wcpc-booking {
	color: var(--wcpc-ink, #1F2933);
}

/* Editor placeholder */
.wcpc-rp-placeholder {
	border: 1px dashed #9fb4c4;
	border-radius: var(--wcpc-radius-md, 8px);
	padding: 18px;
	text-align: center;
	color: var(--wcpc-accent, #34657F);
	background: var(--wcpc-surface, #F4F7FA);
	font-size: 14px;
}

/* ---------- Amenities ---------- */
.wcpc-amenities {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 28px;
}
.wcpc-amenity {
	display: flex;
	gap: 13px;
	align-items: flex-start;
}
.wcpc-amenity__ic {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: var(--wcpc-radius-md, 10px);
	background: var(--wcpc-surface, #F4F7FA);
	display: grid;
	place-items: center;
	color: var(--wcpc-accent, #34657F);
	font-size: 20px;
}
.wcpc-amenity__txt b {
	display: block;
	font-weight: 700;
	font-size: 15px;
	color: var(--wcpc-ink, #1F2933);
}
.wcpc-amenity__txt span {
	font-size: 13px;
	color: var(--wcpc-muted, #5B6B78);
}

/* ---------- Specs ---------- */
.wcpc-specs {
	width: 100%;
}
.wcpc-spec {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 2px;
	border-bottom: 1px solid var(--wcpc-line, #D5DEE5);
	font-size: 15px;
}
.wcpc-spec:last-child {
	border-bottom: none;
}
.wcpc-spec__k {
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-spec__v {
	font-weight: 500;
	color: var(--wcpc-ink, #1F2933);
	text-align: right;
}

/* ---------- Tags ---------- */
.wcpc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}
.wcpc-tag {
	display: inline-block;
	background: var(--wcpc-surface, #F4F7FA);
	color: var(--wcpc-accent, #34657F);
	font-size: 13.5px;
	font-weight: 500;
	padding: 7px 15px;
	border-radius: var(--wcpc-radius-md, 8px);
	text-decoration: none;
}
a.wcpc-tag:hover {
	filter: brightness(0.96);
}

/* ---------- Booking card ---------- */
.wcpc-booking {
	background: var(--wcpc-card, #fff);
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-radius-lg, 14px);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(52, 101, 127, 0.08), 0 10px 26px rgba(52, 101, 127, 0.10);
}
.wcpc-booking__head {
	background: none;
	color: var(--wcpc-muted, #5B6B78);
	padding: 18px 20px 0;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: left;
}
.wcpc-booking__body {
	padding: 14px 20px 20px;
}
.wcpc-booking__price {
	display: flex;
	align-items: baseline;
	gap: 3px;
}
.wcpc-booking__amt {
	font-size: 34px;
	font-weight: 800;
	color: var(--wcpc-ink, #1F2933);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.wcpc-booking__per {
	font-size: 15px;
	font-weight: 600;
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-booking__note-rate {
	font-size: 12.5px;
	color: var(--wcpc-muted, #5B6B78);
	text-transform: none;
	letter-spacing: 0;
	margin-top: 2px;
}
.wcpc-booking__rate {
	display: flex;
	flex-direction: column;
	margin-bottom: 12px;
}
.wcpc-booking__rk {
	font-size: 13px;
	color: var(--wcpc-muted, #5B6B78);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.wcpc-booking__rv {
	font-size: 26px;
	font-weight: 700;
	color: var(--wcpc-ink, #1F2933);
	line-height: 1.1;
}
.wcpc-booking__rv--lg {
	font-size: 34px;
	color: var(--wcpc-accent, #34657F);
}
.wcpc-booking__rv small {
	font-size: 15px;
	font-weight: 400;
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-booking__toggle {
	display: flex;
	background: none;
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-radius-md, 9px);
	overflow: hidden;
	padding: 0;
	margin: 14px 0 16px;
}
.wcpc-booking__toggle button {
	flex: 1;
	border: none;
	background: var(--wcpc-card, #fff);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--wcpc-muted, #5B6B78);
	padding: 9px;
	border-radius: 0;
	cursor: pointer;
}
.wcpc-booking__toggle button:not(.is-on):hover {
	background: var(--wcpc-card, #fff);
	color: var(--wcpc-accent, #34657F);
	box-shadow: inset 0 0 0 2px var(--wcpc-accent, #34657F);
}
.wcpc-booking__toggle button.is-on {
	background: var(--wcpc-accent, #34657F);
	color: var(--wcpc-on-accent, #fff);
	box-shadow: none;
}
.wcpc-booking__stats {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}
.wcpc-booking__stat {
	flex: 1;
	display: block;
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-radius-md, 10px);
	padding: 9px 8px;
	text-align: center;
}
.wcpc-booking__stat .k {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-booking__stat .v {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--wcpc-ink, #1F2933);
	margin-top: 2px;
}
.wcpc-booking__callout {
	background: #F3F7FB;
	border: 1px solid #DFE9F2;
	color: #3C4655;
	font-size: 12.5px;
	padding: 11px 12px;
	border-radius: var(--wcpc-radius-md, 10px);
	margin: 16px 0;
}
.wcpc-btn {
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	padding: 12px 18px;
	border-radius: var(--wcpc-radius-md, 9px);
	border: 1px solid var(--wcpc-accent, #34657F) !important;
	margin-top: 9px;
}
/* Backgrounds/colors are !important: the theme styles button / button:hover
   (e.g. reset.css button:hover { background:#cc3366 }) and wins otherwise,
   flashing the button red on hover. */
.wcpc-btn--primary {
	background: var(--wcpc-accent, #34657F) !important;
	color: var(--wcpc-on-accent, #fff) !important;
}
.wcpc-btn--primary:hover {
	background: var(--wcpc-accent, #34657F) !important;
	color: var(--wcpc-on-accent, #fff) !important;
	filter: brightness(0.93);
}
.wcpc-btn--ghost {
	background: var(--wcpc-card, #fff) !important;
	color: var(--wcpc-accent, #34657F) !important;
}
.wcpc-btn--ghost:hover {
	background: var(--wcpc-surface, #F4F7FA) !important;
	color: var(--wcpc-accent, #34657F) !important;
}
.wcpc-booking__avail {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	border: 1px dashed var(--wcpc-accent, #34657F);
	background: var(--wcpc-surface, #F4F7FA);
	border-radius: var(--wcpc-radius-md, 10px);
	padding: 10px 12px;
	margin: 16px 0 4px;
	text-decoration: none;
	cursor: pointer;
}
.wcpc-booking__avail .l {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wcpc-accent, #34657F);
}
.wcpc-booking__avail .l i {
	font-size: 15px;
}
.wcpc-booking__avail .chev {
	color: var(--wcpc-accent, #34657F);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
}
.wcpc-booking__avail:hover {
	background: #DCE3F0;
}
.wcpc-booking__help {
	text-align: center;
	font-size: 13px;
	color: var(--wcpc-muted, #5B6B78);
	margin-top: 12px;
}
.wcpc-booking__help a {
	color: var(--wcpc-accent, #34657F);
	font-weight: 500;
}

/* ---------- Gallery mosaic ---------- */
.wcpc-gallery {
	display: grid;
	gap: 12px;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	height: 460px;
}
.wcpc-gallery .wcpc-gtile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--wcpc-radius-md, 8px);
	background: #e9e9e9;
}
.wcpc-gallery .wcpc-gtile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}
.wcpc-gallery .wcpc-gtile:hover img {
	transform: scale(1.04);
}
.wcpc-gallery > .wcpc-gtile:first-child {
	grid-row: 1 / 3;
}
.wcpc-gallery a:nth-child(n + 6) {
	display: none;
}
.wcpc-gtile.has-more::after {
	content: "+" attr(data-more) " more";
	position: absolute;
	inset: 0;
	background: rgba(15, 16, 18, 0.55);
	color: var(--wcpc-on-accent, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.02em;
	cursor: pointer;
}
.wcpc-gallery--n1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}
.wcpc-gallery--n1 > .wcpc-gtile:first-child {
	grid-row: auto;
}
.wcpc-gallery--n2 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
}
.wcpc-gallery--n2 > .wcpc-gtile:first-child {
	grid-row: auto;
}
.wcpc-gallery--n3 {
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: 1fr 1fr;
}
.wcpc-gallery--n4 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}
.wcpc-gallery--n4 > .wcpc-gtile:first-child {
	grid-row: auto;
}
@media (max-width: 760px) {
	.wcpc-gallery,
	.wcpc-gallery--n3,
	.wcpc-gallery--n4 {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 200px;   /* dedicated track for the full-width hero tile */
		grid-auto-rows: 140px;       /* thumbnail rows flow below */
		height: auto !important;
	}
	.wcpc-gallery > .wcpc-gtile:first-child {
		grid-column: 1 / 3;
		grid-row: 1;
		height: auto;                /* fill the 200px hero track instead of
		                                overflowing a 140px row and overlapping
		                                the thumbnails below */
	}
}

/* ---------- Room nav (sticky in-page jump bar) ---------- */
.wcpc-roomnav {
	background: var(--wcpc-card, #fff);
}
/* v5.3.0 — .wcpc-roomnav--sticky is gone. Sticky positioning now comes from the
   widget's "Stick to top on scroll" control, which writes position/top onto
   {{WRAPPER}} (the .elementor-element div in the page flow). Declaring it here
   put it on the <nav>, which lives inside .elementor-widget-container — a box
   exactly as tall as the nav, so the sticky element had no room to travel and
   never stuck. Do not reintroduce this rule. */
.wcpc-roomnav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
}
.wcpc-roomnav.is-center .wcpc-roomnav__inner {
	justify-content: center;
}
.wcpc-roomnav.is-left .wcpc-roomnav__inner {
	justify-content: flex-start;
}
/* ---------------------------------------------------------------------------
   Why every anchor these widgets emit carries role="link" (v5.1.0)

   The Elementor kit stylesheet repaints bare anchors inside
   .elementor-widget-container with the site's global link colour. Its selector
   ends in a long :not() chain, which scores around 0-13-1 — no single- or
   double-class rule in this file can beat it, so colours set here were being
   silently overridden (the room-nav CTA rendered navy-on-navy).

   [role="link"] is on that selector's own exclusion list, so the markup opts
   out at source. It is redundant ARIA on an <a href> and is deliberate: do not
   remove it as cleanup, or these colour rules stop applying again.

   role="button" would also work but would be a lie — these navigate, and
   buttons imply Space-key activation a plain anchor does not provide.
--------------------------------------------------------------------------- */

.wcpc-roomnav__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--wcpc-ink, #1F2933);
	background: var(--wcpc-card, #fff);
	border: 1px solid rgba(52, 101, 127, 0.12);
	padding: 10px 16px;
	border-radius: var(--wcpc-radius, 4px);
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wcpc-roomnav .wcpc-roomnav__link:hover {
	color: var(--wcpc-accent, #34657F);
	border-color: var(--wcpc-accent, #34657F);
	box-shadow: inset 0 0 0 1px var(--wcpc-accent, #34657F);
}
.wcpc-roomnav__link.is-active {
	background: var(--wcpc-accent, #34657F);
	color: var(--wcpc-on-accent, #fff);
	border-color: var(--wcpc-accent, #34657F);
}
.wcpc-roomnav__cta {
	margin-left: auto;
	background: var(--wcpc-accent, #34657F);
	color: var(--wcpc-on-accent, #fff);
	font-size: 14px;
	font-weight: 600;
	padding: 10px 16px;
	border: 1px solid var(--wcpc-accent, #34657F);
	border-radius: var(--wcpc-radius, 4px);
	text-decoration: none;
	white-space: nowrap;
}
.wcpc-roomnav .wcpc-roomnav__cta:hover {
	color: var(--wcpc-on-accent, #fff);
	filter: brightness(0.94);
}
.wcpc-roomnav.is-center .wcpc-roomnav__cta {
	margin-left: 8px;
}
@media (max-width: 760px) {
	.wcpc-roomnav__inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
	}
	.wcpc-roomnav__cta {
		margin-left: 8px;
	}
}

/* ---------- Room cards (matches site wcpc-card) ---------- */
.wcpc-rooms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.wcpc-spaces .wcpc-room-card,
a.wcpc-room-card {
	display: flex;
	flex-direction: column;
	background: var(--wcpc-card, #fff);
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-card-radius, 16px);
	box-shadow: var(--wcpc-shadow-1, 0 1px 2px rgba(0, 59, 92, 0.06), 0 1px 3px rgba(0, 59, 92, 0.08));
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow var(--wcpc-transition-base, 150ms ease-out),
	            transform var(--wcpc-transition-base, 150ms ease-out),
	            border-color var(--wcpc-transition-base, 150ms ease-out);
}
/* Card spec (2026-09-03): lift only — −2px, shadow-2, stronger border. */
.wcpc-room-card:hover {
	box-shadow: var(--wcpc-shadow-2, 0 4px 12px rgba(0, 59, 92, 0.10));
	border-color: var(--wcpc-color-border-strong, #B8C5CF);
	transform: translateY(var(--wcpc-card-lift, -2px));
}
.wcpc-room-card:focus-visible {
	outline: none;
	box-shadow: var(--wcpc-focus-ring, 0 0 0 3px rgba(52, 101, 127, 0.35));
}
.wcpc-room-card__media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wcpc-color-surface-alt, #E8EEF3);
}
.wcpc-room-card__media img,
.wcpc-room-card__noimg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wcpc-room-card__noimg {
	background: var(--wcpc-color-surface-alt, #E8EEF3);
}
.wcpc-room-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: var(--wcpc-card-padding, 24px);
}
.wcpc-room-card__title {
	font-size: var(--wcpc-card-title-size, 20px);
	font-weight: var(--wcpc-card-title-weight, 600);
	line-height: 1.25;
	color: var(--wcpc-card-title-color, #003B5C);
}
.wcpc-room-card__fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 2px;
}
.wcpc-room-card__field {
	display: flex;
	gap: 6px;
	font-size: 15px;
}
.wcpc-room-card__field .k {
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-room-card__field .v {
	color: #333333;
	font-weight: 500;
}
.wcpc-room-card__sep {
	height: 1px;
	background: rgba(52, 101, 127, 0.12);
}
@media (max-width: 860px) {
	.wcpc-rooms {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 540px) {
	.wcpc-rooms {
		grid-template-columns: 1fr !important;
	}
}

/* card enrichment (tags, amenities, meta, member rate) */
.wcpc-room-card__cat {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	background: var(--wcpc-color-surface-glass, rgba(255, 255, 255, 0.94));
	color: var(--wcpc-text-on-blue, #003B5C);
	padding: 2px 10px;
	border-radius: var(--wcpc-radius-full, 9999px);
}
.wcpc-room-card__meta {
	font-size: var(--wcpc-card-meta-size, 14px);
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-room-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.wcpc-room-card__tag {
	background: var(--wcpc-tint-blue, #EDF4FA);
	color: var(--wcpc-text-on-blue, #003B5C);
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: var(--wcpc-radius-full, 9999px);
}
.wcpc-room-card__amen {
	display: flex;
	gap: 12px;
	color: var(--wcpc-muted, #5B6B78);
	font-size: 17px;
}
.wcpc-room-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
}
.wcpc-room-card__price .lbl {
	display: block;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-room-card__price .amt {
	font-size: 22px;
	font-weight: 700;
	color: var(--wcpc-accent, #34657F);
	line-height: 1;
}
.wcpc-room-card__price .amt small {
	font-size: 13px;
	font-weight: 400;
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-room-card__price .mem {
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--wcpc-ok, #3C7A4E);
	margin-top: 3px;
}
/* Link-arrow CTA, sentence case (card spec) — was an uppercase solid button. */
.wcpc-room-card__view {
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--wcpc-accent, #34657F);
	background: transparent;
	padding: 0;
	border-radius: 0;
	white-space: nowrap;
}

/* 5.6.0 — shared WCPC card pieces (wcpc_card()): price in the meta line,
   member rate + use tags as chips, amenity glyphs at the end of the chip row. */
.wcpc-room-card .wcpc-room-card__price {
	color: var(--wcpc-muted, #5B6B78);
}
.wcpc-room-card__amt {
	font-size: 16px;
	font-weight: 700;
	color: var(--wcpc-accent, #34657F);
}
.wcpc-room-card .wcpc-card__pills .wcpc-room-card__amen {
	display: inline-flex;
	gap: 10px;
	margin-left: 4px;
	color: var(--wcpc-muted, #5B6B78);
	font-size: 15px;
}
.wcpc-room-card.is-booked .wcpc-card__cta {
	color: var(--wcpc-muted, #5B6B78);
}

/* ---------- Spaces browser (filterable listing) ---------- */
.wcpc-spaces { --wcpc-accent: var(--wcpc-accent, #34657F); }
/* .wcpc-spaces__bar — 5.7.0: WCPC Core's shared filter bar (filterbar.css). */
.wcpc-spaces__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wcpc-spaces__chip {
	font-size: 14px;
	font-weight: 600;
	color: var(--wcpc-ink, #1F2933);
	background: var(--wcpc-card, #fff);
	border: 1px solid rgba(52, 101, 127, 0.12);
	padding: 9px 15px;
	border-radius: var(--wcpc-radius, 4px);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wcpc-spaces__chip:hover {
	color: var(--wcpc-accent, #34657F);
	border-color: rgba(52, 101, 127, 0.4);
}
.wcpc-spaces__chip.is-on {
	background: var(--wcpc-accent, #34657F);
	color: var(--wcpc-on-accent, #fff);
	border-color: var(--wcpc-accent, #34657F);
}
.wcpc-spaces__tools {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}
.wcpc-spaces__empty {
	text-align: center;
	color: var(--wcpc-muted, #5B6B78);
	padding: 46px 0;
}
.wcpc-spaces__empty a {
	color: var(--wcpc-accent, #34657F);
	cursor: pointer;
	text-decoration: underline;
}
@media (max-width: 760px) {
	.wcpc-spaces__chips { flex-wrap: nowrap; overflow-x: auto; }
	.wcpc-spaces__tools { margin-left: 0; }
}

/* ---------- Spaces browser: date availability mode ---------- */
/* .wcpc-spaces__date — 5.7.0: a Core filter-bar date field (filterbar.css). */
.wcpc-spaces__datebar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	background: var(--wcpc-surface, #F4F7FA);
	border-radius: var(--wcpc-radius, 5px);
	padding: 10px 14px;
	margin: 0 0 16px;
	font-size: 13.5px;
	color: var(--wcpc-accent, #34657F);
}
.wcpc-spaces__datelabel { font-weight: 600; }
.wcpc-spaces__legend { display: flex; gap: 14px; align-items: center; color: var(--wcpc-ink, #1F2933); font-size: 12.5px; }
.wcpc-spaces__leg { display: inline-flex; align-items: center; gap: 5px; }
.wcpc-dot { width: 9px; height: 9px; border-radius: var(--wcpc-radius-full, 50%); display: inline-block; }
.wcpc-dot.is-open { background: var(--wcpc-ok, #3C7A4E); }
.wcpc-dot.is-limited { background: var(--wcpc-warn, #FFB549); }
.wcpc-dot.is-booked { background: var(--wcpc-disabled, #9AA3AB); }
.wcpc-spaces__hide { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12.5px; color: var(--wcpc-ink, #1F2933); user-select: none; }
.wcpc-spaces__hide input { cursor: pointer; }
.wcpc-spaces__dateclear { margin-left: auto; color: var(--wcpc-muted, #5B6B78); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.wcpc-spaces__dateclear:hover { color: var(--wcpc-accent, #34657F); }

/* availability badge on a room card */
.wcpc-room-card__avail {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	font-size: 11px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 99px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
	white-space: nowrap;
}
.wcpc-room-card__avail.is-available { background: var(--wcpc-ok, #3C7A4E); color: var(--wcpc-on-accent, #fff); }
.wcpc-room-card__avail.is-limited { background: var(--wcpc-warn, #FFB549); color: #5a3d05; }
.wcpc-room-card__avail.is-booked { background: #606971; color: var(--wcpc-on-accent, #fff); }
.wcpc-room-card__avail.is-unknown { background: rgba(255, 255, 255, 0.92); color: var(--wcpc-muted, #5B6B78); }
.wcpc-room-card__avail.is-checking { background: rgba(255, 255, 255, 0.92); color: var(--wcpc-muted, #5B6B78); }

.wcpc-room-card.is-booked { opacity: 0.62; }
.wcpc-room-card.is-booked:hover { opacity: 0.85; }
.wcpc-room-card.is-booked .wcpc-room-card__view { color: var(--wcpc-muted, #5B6B78); }
.wcpc-room-card__view.is-req { color: var(--wcpc-ok, #3C7A4E); }

/* ---------- Lightbox ---------- */
.wcpc-lb {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(10, 11, 13, 0.93);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}
.wcpc-lb.is-open {
	opacity: 1;
	visibility: visible;
}
.wcpc-lb img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: var(--wcpc-radius, 6px);
}
.wcpc-lb__btn {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--wcpc-on-accent, #fff);
	width: 48px;
	height: 48px;
	border-radius: var(--wcpc-radius-full, 50%);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.wcpc-lb__btn:hover {
	background: rgba(255, 255, 255, 0.2);
}
.wcpc-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.wcpc-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.wcpc-lb__close { top: 18px; right: 18px; }
.wcpc-lb__count {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--wcpc-on-accent, #fff);
	font-size: 14px;
	letter-spacing: 0.05em;
}
.wcpc-lb[data-single="1"] .wcpc-lb__prev,
.wcpc-lb[data-single="1"] .wcpc-lb__next,
.wcpc-lb[data-single="1"] .wcpc-lb__count {
	display: none;
}

/* ---------- Spaces search (hero deep-link form) ---------- */
/* 5.7.0: the form is WCPC Core's shared filter bar (a GET form); the submit
   button sits in the bar's foot slot. */
.wcpc-spaces-search .wcpc-ssearch__actions { display: flex; justify-content: flex-end; }
.wcpc-spaces-search .wcpc-ssearch__submit { min-height: 46px; white-space: nowrap; }
@media (max-width: 640px) {
	.wcpc-spaces-search .wcpc-ssearch__submit { width: 100%; }
}

/* ---------- Pricing table ---------- */
.wcpc-ptable-wrap { --wcpc-accent: var(--wcpc-accent, #34657F); overflow-x: auto; }
.wcpc-ptable {
	width: 100%;
	border-collapse: collapse;
	background: var(--wcpc-card, #fff);
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-radius-lg, 12px);
	overflow: hidden;
}
.wcpc-ptable th,
.wcpc-ptable td {
	padding: 14px 18px;
	text-align: left;
	font-size: 15px;
	border-bottom: 1px solid var(--wcpc-line, #D5DEE5);
}
.wcpc-ptable thead th {
	background: var(--wcpc-accent, #34657F);
	color: var(--wcpc-on-accent, #fff);
	font-weight: 600;
}
.wcpc-ptable tbody tr:last-child td { border-bottom: none; }
.wcpc-ptable tbody tr:hover { background: var(--wcpc-surface, #F4F7FA); }
.wcpc-ptable__num { text-align: right; }
.wcpc-ptable td.wcpc-ptable__num { font-weight: 600; color: var(--wcpc-accent, #34657F); }
.wcpc-ptable__name a { color: var(--wcpc-ink, #1F2933); font-weight: 600; text-decoration: none; }
.wcpc-ptable__name a:hover { color: var(--wcpc-accent, #34657F); }
.wcpc-ptable__cap { color: var(--wcpc-muted, #5B6B78); font-size: 13.5px; }
.wcpc-ptable td.wcpc-ptable__mem { color: #5a6b2f; }

/* ---------- Capacity chart ---------- */
.wcpc-capchart {
	background: var(--wcpc-card, #fff);
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-radius-lg, 12px);
	padding: 22px 24px;
}
.wcpc-caprow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}
.wcpc-caprow:last-child { margin-bottom: 0; }
.wcpc-caprow__nm {
	width: 160px;
	flex: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--wcpc-ink, #1F2933);
	text-decoration: none;
}
.wcpc-caprow__nm:hover { color: var(--wcpc-accent, #34657F); }
.wcpc-caprow__bar {
	flex: 1;
	height: 26px;
	background: var(--wcpc-surface, #F4F7FA);
	border-radius: var(--wcpc-radius, 6px);
	overflow: hidden;
}
.wcpc-caprow__bar span {
	display: block;
	height: 100%;
	border-radius: var(--wcpc-radius, 6px);
	background: var(--wcpc-accent, #34657F);
	background: linear-gradient(90deg, color-mix(in srgb, var(--wcpc-accent, #34657F) 55%, #fff), var(--wcpc-accent, #34657F));
}
.wcpc-caprow__val {
	width: 96px;
	flex: none;
	text-align: right;
	font-size: 13px;
	color: var(--wcpc-muted, #5B6B78);
}
@media (max-width: 760px) {
	.wcpc-caprow__nm { width: 100px; font-size: 13px; }
	.wcpc-caprow__val { width: 64px; }
}

/* ---------- Spaces browser: boxed filter bar + enhanced dropdowns ---------- */
/* 5.7.0: retired — the bar, its fields, the popover dropdown and the counter
   are WCPC Core's shared filter bar (wcpc_filterbar() + filterbar.css/js).
   .wcpc-spaces__bar / __field / __count survive as alias classes only. */

/* ---------- Room setups (tabbed gallery / stacked cards) ---------- */
.wcpc-setups {
	color: var(--wcpc-ink, #1F2933);
}

/* Tabs row */
.wcpc-setups__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.wcpc-setups__tab {
	appearance: none;
	border: 1px solid var(--wcpc-line, #D5DEE5);
	background: var(--wcpc-card, #fff);
	color: var(--wcpc-ink, #1F2933);
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	padding: 9px 16px;
	border-radius: var(--wcpc-radius-full, 999px);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.wcpc-setups__tab:hover { border-color: var(--wcpc-accent, #34657F); }
.wcpc-setups__tab.is-on {
	background: var(--wcpc-accent, #34657F);
	border-color: var(--wcpc-accent, #34657F);
	color: var(--wcpc-on-accent, #fff);
}

/* Panels — only the active one shows */
.wcpc-setups__panel { display: none; }
.wcpc-setups__panel.is-on {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

/* Photo viewer */
.wcpc-setups__gallery {
	position: relative;
	border-radius: var(--wcpc-radius-lg, 12px);
	overflow: hidden;
	background: var(--wcpc-surface, #F4F7FA);
}
.wcpc-setups__main {
	display: block;
	cursor: zoom-in;
}
.wcpc-setups__main img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
}
.wcpc-setups__gallery--empty {
	display: grid;
	place-items: center;
	height: 180px;
	color: var(--wcpc-muted, #5B6B78);
	font-size: 14px;
	border: 1px dashed #9fb4c4;
}
.wcpc-setups__thumbs {
	display: flex;
	gap: 6px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.85);
}
.wcpc-setups__thumb {
	flex: 1 1 0;
	height: 52px;
	min-width: 0;
	border: 2px solid transparent;
	border-radius: 7px;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	padding: 0;
	transition: border-color .15s;
}
.wcpc-setups__thumb:hover { border-color: rgba(52, 101, 127, 0.45); }
.wcpc-setups__thumb.is-on { border-color: var(--wcpc-accent, #34657F); }

/* Info block */
.wcpc-setups__head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}
.wcpc-setups__name {
	font-size: 18px;
	font-weight: 700;
	color: var(--wcpc-ink, #1F2933);
}
.wcpc-setups__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	padding: 4px 11px;
	border-radius: var(--wcpc-radius-full, 999px);
	white-space: nowrap;
}
.wcpc-setups__badge--cap {
	background: var(--wcpc-surface, #F4F7FA);
	color: var(--wcpc-accent, #34657F);
}
.wcpc-setups__badge--default {
	background: rgba(45, 122, 90, 0.12);
	color: #2D7A5A;
}
.wcpc-setups__badge--default + .wcpc-setups__badge--cap { margin-left: 0; }
.wcpc-setups__head .wcpc-setups__badge--cap { margin-left: auto; }
.wcpc-setups__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--wcpc-muted, #5B6B78);
}

/* Stacked-cards layout */
.wcpc-setups__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.wcpc-setups__card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wcpc-line, #D5DEE5);
	border-radius: var(--wcpc-radius-lg, 12px);
	overflow: hidden;
	background: var(--wcpc-card, #fff);
}
.wcpc-setups__card .wcpc-setups__gallery { border-radius: 0; }
.wcpc-setups__card .wcpc-setups__main img { height: 180px; }
.wcpc-setups__more {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(15, 34, 46, 0.72);
	color: var(--wcpc-on-accent, #fff);
	font-size: 12px;
	font-weight: 500;
	padding: 3px 9px;
	border-radius: var(--wcpc-radius-full, 999px);
	pointer-events: none;
}
.wcpc-setups__cardbody { padding: 14px 16px 16px; }
.wcpc-setups__card .wcpc-setups__name { font-size: 16px; }
.wcpc-setups__card .wcpc-setups__head .wcpc-setups__badge--cap { margin-left: 0; }

@media (min-width: 768px) {
	.wcpc-setups__panel.is-on {
		grid-template-columns: 1.35fr 1fr;
		align-items: center;
		gap: 28px;
	}
}
@media (max-width: 767px) {
	.wcpc-setups__cards { grid-template-columns: 1fr; }
	.wcpc-setups__main img { height: 260px; }
}

/* ---------------------------------------------------------------------------
   Per-setup galleries (v4.0.0)
   The Space Gallery widget now renders one .wcpc-gallery mosaic per setup,
   wrapped in .wcpc-galleries. Each mosaic keeps its existing --nN modifiers,
   so only the stacking and the setup heading are new here.
--------------------------------------------------------------------------- */
.wcpc-galleries {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.wcpc-gallery-set__title {
	margin: 0 0 14px;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

@media (max-width: 767px) {
	.wcpc-galleries {
		gap: 28px;
	}
}

/* Per-setup 360° panorama (v5.0.0) */
.wcpc-setups__pano {
	margin-top: 18px;
}

.wcpc-setups__pano .wcpc-room-360 {
	min-height: 360px;
	border-radius: var(--wcpc-radius-md, 10px);
	overflow: hidden;
}

@media (max-width: 767px) {
	.wcpc-setups__pano .wcpc-room-360 {
		min-height: 240px;
	}
}

/* Newly-classed anchors (v5.1.0) — previously bare <a> elements that the kit's
   `.elementor-widget-container a:not([class])` rule owned outright. */
.wcpc-booking__helplink {
	color: var(--wcpc-accent, #34657F);
	text-decoration: underline;
}

.wcpc-ptable__link {
	color: var(--wcpc-ink, #1F2933);
	text-decoration: none;
}

.wcpc-ptable__link:hover {
	color: var(--wcpc-accent, #34657F);
	text-decoration: underline;
}
