/*
 * PR Rentals — single property (detail).
 * Mirrors Final Design / Property Detail. Brand values are theme.json tokens
 * via var(--wp--preset|custom--*); structural geometry uses literal px.
 * The booking widget (.prr-booking) is the Guesty Direct Booking plugin's — themed, not rebuilt.
 */

.prr-pd-wrap {
	padding-inline: 28px;
}

/* ============================================================
   TITLE
   ============================================================ */
.prr-pd-title {
	padding: 28px 0 18px;
}
.prr-pd-crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 500;
	color: var(--wp--preset--color--slate-faint);
}
.prr-pd-crumbs a {
	color: var(--wp--preset--color--slate);
	text-decoration: none;
}
.prr-pd-crumbs [aria-current] {
	color: var(--wp--preset--color--ocean);
}
.prr-pd-title__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.prr-pd-title__h1 {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--ocean);
}
.prr-pd-title__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
	flex-wrap: wrap;
}
.prr-pd-title__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--charcoal);
}
.prr-pd-title__rating svg {
	width: 16px;
	height: 16px;
	fill: var(--wp--preset--color--gold);
}
.prr-pd-title__rating span,
.prr-pd-title__loc {
	color: var(--wp--preset--color--slate);
	font-weight: 500;
}
.prr-pd-title__loc {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
}
.prr-pd-title__loc svg {
	width: 15px;
	height: 15px;
	stroke: var(--wp--preset--color--slate);
}
.prr-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--slate-faint);
}
.prr-pd-title__collection {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--gold-soft);
	padding: 6px 11px;
	border-radius: var(--wp--custom--radius--tag);
	text-decoration: none;
}
.prr-pd-title__actions {
	display: flex;
	gap: 10px;
}
.prr-pd-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border-warm);
	padding: 11px 16px;
	border-radius: var(--wp--custom--radius--input);
	cursor: pointer;
	transition: border-color 0.18s ease;
}
.prr-pd-action:hover {
	border-color: var(--wp--preset--color--ocean);
}
.prr-pd-action svg {
	width: 15px;
	height: 15px;
	stroke: var(--wp--preset--color--ocean);
}
.prr-pd-action.is-saved {
	color: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
}
.prr-pd-action.is-saved svg {
	fill: currentColor;
	stroke: currentColor;
}

/* ============================================================
   GALLERY
   ============================================================ */
.prr-pd-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	/* minmax(0,1fr) so rows split the fixed height instead of expanding to the
	   images' intrinsic height (which overflowed and clipped the bottom row). */
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
	height: 440px;
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	position: relative;
	margin-bottom: 36px;
}
.prr-pd-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.prr-pd-gallery__hero {
	grid-row: 1 / span 2;
}
/* Single-image modifier: hero spans the full grid (no empty thumb cells). */
.prr-pd-gallery--single {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}
.prr-pd-gallery--single .prr-pd-gallery__hero {
	grid-row: 1;
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--ocean);
	background-size: cover;
	background-position: center;
}
/* Blurred fill of the same photo behind a fully-visible (contained) image —
   keeps low-resolution single photos from being cropped/upscaled into a zoom. */
.prr-pd-gallery--single .prr-pd-gallery__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	filter: blur(24px) saturate(1.15);
	transform: scale(1.2);
}
.prr-pd-gallery--single .prr-pd-gallery__hero img {
	position: relative;
	z-index: 1;
	object-fit: contain;
}
.prr-pd-gallery__all {
	position: absolute;
	bottom: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border-warm);
	padding: 11px 16px;
	border-radius: var(--wp--custom--radius--input);
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(12, 58, 91, 0.18);
	transition: transform 0.18s ease;
}
.prr-pd-gallery__all:hover {
	transform: translateY(-1px);
}
.prr-pd-gallery__all svg {
	width: 15px;
	height: 15px;
	stroke: var(--wp--preset--color--ocean);
}

/* ============================================================
   GALLERY LIGHTBOX
   ============================================================ */
.prr-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(5, 20, 35, 0.92);
	opacity: 0;
	transition: opacity 0.22s ease;
}
.prr-lightbox.is-open {
	opacity: 1;
}
.prr-lightbox[hidden] {
	display: none;
}
.prr-lightbox__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 90vw;
	max-height: 90vh;
}
.prr-lightbox__img {
	display: block;
	max-width: 90vw;
	max-height: 82vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
}
.prr-lightbox__counter {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.04em;
}
.prr-lightbox__close,
.prr-lightbox__prev,
.prr-lightbox__next {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--wp--preset--color--white);
	cursor: pointer;
	transition: background 0.18s ease;
	line-height: 1;
}
.prr-lightbox__close:hover,
.prr-lightbox__prev:hover,
.prr-lightbox__next:hover {
	background: rgba(255, 255, 255, 0.24);
}
.prr-lightbox__close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 28px;
	font-weight: 300;
}
.prr-lightbox__prev,
.prr-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 30px;
}
.prr-lightbox__prev {
	left: 20px;
}
.prr-lightbox__next {
	right: 20px;
}
.prr-lightbox__close:focus-visible,
.prr-lightbox__prev:focus-visible,
.prr-lightbox__next:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

/* Gallery preview tiles: pointer cursor to signal they open the lightbox. */
.prr-pd-gallery__hero,
.prr-pd-gallery__thumb {
	cursor: pointer;
}
.prr-pd-gallery__hero:hover img,
.prr-pd-gallery__thumb:hover img {
	opacity: 0.88;
	transition: opacity 0.18s ease;
}

@media (prefers-reduced-motion: reduce) {
	.prr-lightbox {
		transition: none;
	}
}

/* ============================================================
   TWO-COLUMN BODY
   ============================================================ */
.prr-pd-body {
	padding-bottom: 48px;
}
/* Two-column layout lives on .prr-pd-main so the booking rail (a child of main,
   right after the summary) can sit in the sticky right column on desktop while
   flowing in source order — under the title, above the description — on mobile. */
.prr-pd-main {
	min-width: 0;
	display: grid;
	grid-template-columns: 1fr 372px;
	column-gap: 56px;
	align-items: start;
}
.prr-pd-main > * {
	grid-column: 1;
}
.prr-pd-main > .prr-pd-rail {
	grid-column: 2;
	grid-row: 1 / span 99;
}
.prr-pd-section {
	padding: 28px 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.prr-pd-section__title {
	margin: 0 0 20px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--wp--preset--color--ocean);
}

/* Summary row */
.prr-pd-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 0;
	padding-bottom: 26px;
}
.prr-pd-summary .prr-pd-section__title {
	margin: 0 0 6px;
	font-size: 24px;
	line-height: 1.25;
}
.prr-pd-summary__specs {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 15px;
	line-height: 1.5;
	color: var(--wp--preset--color--slate);
}
.prr-pd-superhost {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--wp--preset--color--sand);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	padding: 11px 15px;
}
.prr-pd-superhost svg {
	width: 22px;
	height: 22px;
	stroke: var(--wp--preset--color--ocean);
}
.prr-pd-superhost__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.prr-pd-superhost__sub {
	margin-top: 2px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11.5px;
	color: var(--wp--preset--color--slate);
}

/* Description */
.prr-pd-desc p {
	margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	line-height: 1.7;
	color: var(--wp--preset--color--charcoal);
}
.prr-pd-desc__muted {
	color: var(--wp--preset--color--slate);
	margin-bottom: 0 !important;
}
/* Amenities */
.prr-amenities {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 32px;
}
.prr-amenity {
	display: flex;
	align-items: center;
	gap: 13px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--wp--preset--color--charcoal);
}
.prr-amenity svg {
	width: 20px;
	height: 20px;
	stroke: var(--wp--preset--color--ocean);
	flex-shrink: 0;
}
.prr-pd-amenities__all {
	margin-top: 24px;
}

/* Combined About + amenities: amenities sub-heading within the merged section. */
.prr-pd-about__subtitle {
	margin: 34px 0 18px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--ocean);
}
/* Collapsed items. The [hidden] attribute alone loses to .prr-amenity's
   display:flex (author beats the UA [hidden] rule), so force it here. */
.prr-pd-more__extra[hidden] {
	display: none;
}
/* Single Show more / Show less toggle for the whole combined section. */
.prr-pd-more__toggle {
	margin-top: 28px;
}
.prr-pd-more__chev {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}
.prr-pd-more__toggle[aria-expanded="true"] .prr-pd-more__chev {
	transform: rotate(180deg);
}

/* Rooms & beds — one card per room, listing its beds. */
.prr-pd-rooms__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.prr-pd-room {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	padding: 18px 20px;
}
.prr-pd-room__title {
	margin: 0 0 10px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 16px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.prr-pd-room__bed {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14.5px;
	color: var(--wp--preset--color--slate);
}
.prr-pd-room__bed svg {
	width: 18px;
	height: 18px;
	stroke: var(--wp--preset--color--ocean);
	flex-shrink: 0;
}

/* Shared outline button (used by amenities "Show all" summary) */
.prr-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--white);
	border: 1.5px solid var(--wp--preset--color--ocean);
	border-radius: var(--wp--custom--radius--input);
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}
.prr-btn-outline:hover {
	background: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--white);
}

/* Location map */
.prr-pd-locmap {
	height: 360px;
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	/* Contain Leaflet's internal z-indexes (panes/controls reach 1000) so they
	   can't paint over the fixed mobile booking bar. */
	position: relative;
	z-index: 0;
	isolation: isolate;
}

/* Single-property location pin (dot only — no price label) */
.prr-mappin--loc {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wp--preset--color--ocean);
	border: 3px solid var(--wp--preset--color--white);
	box-shadow: 0 2px 8px rgba(12, 58, 91, 0.36);
	transform: translate(-50%, -50%);
}

/* Host */
.prr-pd-host {
	display: flex;
	align-items: center;
	gap: 20px;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 18px;
	padding: 22px 24px;
}
.prr-pd-host__avatar {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.prr-pd-host__info {
	flex: 1;
}
.prr-pd-host__name-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 5px;
}
.prr-pd-host__name {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 19px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.prr-pd-host__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--gold-soft);
	padding: 5px 9px;
	border-radius: 6px;
}
.prr-pd-host__badge svg {
	width: 11px;
	height: 11px;
	fill: var(--wp--preset--color--gold);
}
.prr-pd-host__meta {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	line-height: 1.5;
	color: var(--wp--preset--color--slate);
}
.prr-pd-host__btn {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--ocean);
	padding: 12px 20px;
	border-radius: var(--wp--custom--radius--input);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.18s ease, color 0.18s ease;
}
.prr-pd-host__btn:hover {
	background: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--sand);
}

/* Map */
.prr-pd-map__sub {
	margin: 0 0 18px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 15px;
	line-height: 1.5;
	color: var(--wp--preset--color--slate);
}
.prr-pd-map {
	position: relative;
	height: 340px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
}
.prr-pd-map__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.prr-pd-map__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 58, 91, 0.05), rgba(12, 58, 91, 0.12));
}
.prr-pd-map__pin {
	position: absolute;
	top: 46%;
	left: 48%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
}
.prr-pd-map__label {
	background: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 700;
	padding: 10px 15px;
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: 0 8px 20px rgba(12, 58, 91, 0.32);
}
.prr-pd-map__stem {
	width: 2px;
	height: 14px;
	background: var(--wp--preset--color--ocean);
}
.prr-pd-map__dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	border: 3px solid var(--wp--preset--color--white);
	box-shadow: 0 2px 6px rgba(12, 58, 91, 0.3);
	margin-top: -3px;
}

/* Reviews */
.prr-pd-reviews {
	border-bottom: none;
	padding-bottom: 0;
}
.prr-pd-reviews__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
.prr-pd-reviews__head svg {
	width: 26px;
	height: 26px;
	fill: var(--wp--preset--color--gold);
}
.prr-pd-reviews__head .prr-pd-section__title {
	margin: 0;
	font-size: 26px;
	line-height: 1.1;
}
.prr-pd-reviews__bars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px 40px;
	margin-bottom: 32px;
}
.prr-rbar {
	display: flex;
	align-items: center;
	gap: 14px;
}
.prr-rbar__label {
	flex: 1;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--wp--preset--color--charcoal);
}
.prr-rbar__track {
	flex: 1.4;
	position: relative;
	height: 4px;
	border-radius: 2px;
	background: var(--wp--preset--color--divider);
}
.prr-rbar__fill {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--wp--preset--color--ocean);
	border-radius: 2px;
}
.prr-rbar__value {
	width: 26px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.prr-pd-reviews__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 40px;
}
.prr-review-item__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 11px;
}
.prr-review-item__avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.prr-review-item__name {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.prr-review-item__date {
	margin-top: 3px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12.5px;
	color: var(--wp--preset--color--slate-faint);
}
.prr-review-item__stars {
	display: flex;
	gap: 2px;
	margin-bottom: 9px;
}
.prr-review-item__stars svg {
	width: 13px;
	height: 13px;
	fill: var(--wp--preset--color--gold);
}
.prr-review-item__text {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--wp--preset--color--slate-dark);
}
.prr-pd-reviews__all {
	margin-top: 32px;
}

/* ============================================================
   BOOKING RAIL — Guesty Direct Booking plugin widget (themed, not rebuilt)
   ============================================================ */
.prr-pd-rail {
	position: sticky;
	top: 90px;
}
.prr-booking {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: var(--wp--custom--radius--card);
	padding: 24px;
	box-shadow: 0 18px 44px rgba(12, 58, 91, 0.12);
}
.prr-booking__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 18px;
}
.prr-booking__price {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 26px;
	font-weight: 700;
	color: var(--wp--preset--color--charcoal);
}
.prr-booking__per {
	font-size: 15px;
	font-weight: 400;
	color: var(--wp--preset--color--slate);
}
.prr-booking__rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--charcoal);
}
.prr-booking__rating svg {
	width: 14px;
	height: 14px;
	fill: var(--wp--preset--color--gold);
}
.prr-booking__rating span {
	color: var(--wp--preset--color--slate);
	font-weight: 500;
}
.prr-booking__box {
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 14px;
}
.prr-booking__dates {
	display: grid;
	grid-template-columns: 1fr;
}
.prr-booking__dates .prr-booking__field {
	padding: 10px 14px;
	min-width: 0;
}
.prr-booking__dates .prr-booking__field:first-child {
	border-bottom: 1px solid var(--wp--preset--color--border-warm);
}
.prr-booking__guests {
	padding: 10px 14px;
	border-top: 1px solid var(--wp--preset--color--border-warm);
}
.prr-booking__guests svg {
	width: 16px;
	height: 16px;
	stroke: var(--wp--preset--color--slate);
}
.prr-booking__field {
	display: flex;
	flex-direction: column;
	min-width: 0;
	cursor: text;
}
.prr-booking__label {
	margin-bottom: 4px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}
.prr-booking__value {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 0;
	border: none;
	background: none;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--ocean);
	appearance: none;
	-webkit-appearance: none;
}
.prr-booking__value:focus {
	outline: none;
}
/* Native date/number input chrome — keep compact, themed */
input.prr-booking__value::-webkit-date-and-time-value {
	text-align: left;
}
input.prr-booking__value::-webkit-calendar-picker-indicator {
	margin-left: 4px;
	padding: 0;
	cursor: pointer;
	opacity: 0.55;
}
input.prr-booking__value::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}
input.prr-booking__value::-webkit-outer-spin-button,
input.prr-booking__value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input.prr-booking__value[type='number'] {
	-moz-appearance: textfield;
}

/* ── Availability calendar ─────────────────────────────────────── */
.gdb-cal {
	margin: 14px 0 4px;
}
.gdb-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.gdb-cal__label {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.gdb-cal__nav {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ocean);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.gdb-cal__nav svg {
	width: 14px;
	height: 14px;
}
.gdb-cal__nav:hover:not(:disabled) {
	border-color: var(--wp--preset--color--ocean);
}
.gdb-cal__nav:disabled {
	opacity: 0.35;
	cursor: default;
}
.gdb-cal__dow {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 4px;
}
.gdb-cal__dow span {
	text-align: center;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 600;
	color: var(--wp--preset--color--slate);
}
.gdb-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.gdb-cal__pad {
	aspect-ratio: 1;
}
.gdb-cal__day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: none;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 500;
	color: var(--wp--preset--color--charcoal);
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}
.gdb-cal__day:hover:not(:disabled):not(.gdb-cal__day--start):not(.gdb-cal__day--end) {
	background: var(--wp--preset--color--sand);
}
.gdb-cal__day--today {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-warm);
}
.gdb-cal__day--blocked {
	color: var(--wp--preset--color--slate-faint);
	text-decoration: line-through;
	cursor: default;
}
.gdb-cal__day--inrange {
	background: var(--wp--preset--color--sand);
	border-radius: 0;
}
.gdb-cal__day--start,
.gdb-cal__day--end {
	background: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--white);
	font-weight: 700;
}
.gdb-cal__day--start {
	border-radius: 8px 0 0 8px;
}
.gdb-cal__day--end {
	border-radius: 0 8px 8px 0;
}
.gdb-cal__day--single {
	background: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	border-radius: 8px;
}
.gdb-cal__note {
	margin: 8px 0 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12px;
	color: var(--wp--preset--color--gold-active, #b9850a);
}

/* Guests −/+ stepper */
.gdb-stepper {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.gdb-step {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ocean);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.gdb-step svg {
	width: 15px;
	height: 15px;
}
.gdb-step:hover:not(:disabled) {
	border-color: var(--wp--preset--color--ocean);
}
.gdb-step:disabled {
	opacity: 0.35;
	cursor: default;
}
.gdb-stepnum {
	min-width: 28px;
	text-align: center;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	font-variant-numeric: tabular-nums;
}

.prr-booking__cta {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-bottom: 8px;
	padding: 16px;
	border: none;
	border-radius: 12px;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--ocean);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--wp--preset--shadow--button);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.prr-booking__cta svg {
	width: 17px;
	height: 17px;
	stroke: var(--wp--preset--color--ocean);
}
.prr-booking__cta:hover {
	background: var(--wp--preset--color--gold-hover);
	transform: translateY(-1px);
	box-shadow: var(--wp--preset--shadow--button-hover);
}
.prr-booking__cta:active {
	background: var(--wp--preset--color--gold-active);
	transform: translateY(0);
}
.prr-booking__nocharge {
	margin: 0 0 18px;
	text-align: center;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12.5px;
	color: var(--wp--preset--color--slate-faint);
}
.prr-booking__lines {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wp--preset--color--divider);
}
.prr-booking__line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--wp--preset--color--charcoal);
}
.prr-booking__line-label {
	font-weight: 400;
	color: var(--wp--preset--color--slate-dark);
	text-decoration: underline;
}
.prr-booking__fee {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.prr-chip-direct {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 600;
	color: var(--wp--preset--color--success);
	background: var(--wp--preset--color--success-soft);
	padding: 3px 7px;
	border-radius: 5px;
}
.prr-booking__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0 4px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	font-weight: 700;
	color: var(--wp--preset--color--ocean);
}
.prr-rail-bpg {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 14px;
	padding: 15px 18px;
	background: var(--wp--preset--color--ocean);
	border-radius: 14px;
}
.prr-rail-bpg svg {
	width: 22px;
	height: 22px;
	stroke: var(--wp--preset--color--gold);
	flex-shrink: 0;
}
.prr-rail-bpg__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wp--preset--color--white);
}
.prr-rail-bpg__text {
	margin-top: 2px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12px;
	line-height: 1.4;
	color: var(--wp--preset--color--on-dark);
}
.prr-rail-secure {
	margin: 12px 0 0;
	text-align: center;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12px;
	color: var(--wp--preset--color--slate-faint);
}

/* ============================================================
   CROSS-SELL — Add a boat experience
   ============================================================ */
.prr-crosssell {
	margin-inline: calc(50% - 50vw);
	background: var(--wp--preset--gradient--sand-fade);
}
.prr-crosssell__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 28px 64px;
}
.prr-crosssell__eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 6px;
}
.prr-crosssell__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--wp--preset--color--ocean);
}
.prr-crosssell__icon svg {
	width: 18px;
	height: 18px;
	stroke: var(--wp--preset--color--gold);
}
.prr-crosssell__eyebrow span {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--on-gold);
}
.prr-crosssell__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.prr-crosssell__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--ocean);
}
.prr-xs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.prr-xs-card {
	display: flex;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--card);
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prr-xs-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--wp--preset--shadow--card-hover);
}
.prr-xs-card__media {
	position: relative;
	width: 128px;
	flex-shrink: 0;
}
.prr-xs-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.prr-xs-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 16px 18px;
}
.prr-xs-card__title {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--ocean);
}
.prr-xs-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: auto;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--wp--preset--color--slate);
}
.prr-xs-card__meta svg {
	width: 13px;
	height: 13px;
	stroke: var(--wp--preset--color--slate);
}
.prr-xs-card__price {
	margin-top: 12px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	font-weight: 700;
	color: var(--wp--preset--color--charcoal);
}
.prr-xs-card__price span {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--wp--preset--color--slate);
}
.prr-xs-note {
	margin: 24px 0 0;
	max-width: 640px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	line-height: 1.6;
	color: var(--wp--preset--color--slate);
}

/* ============================================================
   MOBILE: booking widget → sticky bottom bar
   ============================================================ */
.prr-pd-bottombar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 18px;
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 -8px 24px rgba(12, 58, 91, 0.12);
}
.prr-pd-bottombar__amount {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 700;
	color: var(--wp--preset--color--charcoal);
}
.prr-pd-bottombar__amount span {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--wp--preset--color--slate);
}
.prr-pd-bottombar__dates {
	display: block;
	margin-top: 4px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11.5px;
	font-weight: 500;
	color: var(--wp--preset--color--slate);
	text-decoration: underline;
}
.prr-pd-bottombar__cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 14px 24px;
	border: none;
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--ocean);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--wp--preset--shadow--button);
}
.prr-pd-bottombar__cta svg {
	width: 15px;
	height: 15px;
	stroke: var(--wp--preset--color--ocean);
}

/* ============================================================
   FOCUS STATES
   ============================================================ */
.prr-pd-action:focus-visible,
.prr-pd-gallery__all:focus-visible,
.prr-pd-host__btn:focus-visible,
.prr-booking__cta:focus-visible,
.prr-xs-card:focus-visible,
.prr-pd-bottombar__cta:focus-visible,
.prr-pd-more__toggle:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
	/* Single column: main's children flow in source order, so the booking rail
	   sits right under the title/specs and above the description. */
	.prr-pd-main {
		display: block;
	}
	/* The sticky bottom bar still surfaces price + Reserve; tapping Reserve
	   scrolls to this in-flow widget so mobile users can actually book. */
	.prr-pd-rail {
		position: static;
		top: auto;
		margin: 4px 0 12px;
	}
	.prr-pd-bottombar {
		display: flex;
	}
	.prr-pd-wrap {
		padding-bottom: 84px;
	}
	.prr-crosssell {
		margin-bottom: 76px;
	}
	.prr-xs-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.prr-pd-title__h1 {
		font-size: 30px;
	}
	/* Breadcrumb: drop the redundant current-page (title) crumb and its separator
	   on mobile — the title is the H1 right below, so repeating it wraps awkwardly.
	   Leaves a clean "Properties / San Juan". */
	.prr-pd-crumbs [aria-current="page"],
	.prr-pd-crumbs span:has( + [aria-current="page"] ) {
		display: none;
	}
	/* Rail date popover: below desktop the rail isn't wide enough to open a
	   two-month (620px) popover leftward without overflowing, so stack the two
	   months, size the popover to the viewport, and scroll vertically. The
	   standalone availability calendar keeps its own (600px) breakpoint.
	   .gdb-rail-picker raises specificity over the base .gdb-rail-pop rule. */
	.gdb-rail-pop .gdb-cal--multi .gdb-cal__months {
		flex-direction: column;
		gap: 18px;
	}
	.gdb-rail-picker .gdb-rail-pop {
		width: min(300px, calc(100vw - 56px));
		max-width: calc(100vw - 56px);
		max-height: 70vh;
		overflow-y: auto;
		/* Centered under the rail (rather than right-anchored). */
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		padding: 12px 14px;
		box-sizing: border-box;
	}
	/* Smaller day cells in the compact mobile popover. */
	.gdb-rail-pop .gdb-cal__day {
		font-size: 12px;
	}
	.gdb-rail-pop .gdb-cal__label {
		font-size: 14px;
	}
	/* Gallery → hero + Show-all button only on mobile; thumbs hidden (lightbox handles full browsing). */
	.prr-pd-gallery {
		display: block;
		height: auto;
	}
	.prr-pd-gallery__hero {
		display: block;
	}
	.prr-pd-gallery__hero img {
		height: 240px;
		border-radius: var(--wp--custom--radius--card);
	}
	.prr-pd-gallery__thumb {
		display: none;
	}
	.prr-pd-gallery__all {
		position: static;
		margin-top: 10px;
		width: 100%;
		justify-content: center;
		box-shadow: none;
		border-radius: var(--wp--custom--radius--input);
	}
	.prr-amenities,
	.prr-pd-reviews__bars,
	.prr-pd-reviews__list {
		grid-template-columns: 1fr;
	}
	.prr-pd-host {
		flex-wrap: wrap;
	}
	.prr-pd-host__btn {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.prr-xs-card,
	.prr-booking__cta,
	.prr-pd-gallery__all {
		transition: none;
	}
}

/* ── Day cell: number stacked over an optional nightly price ─────────────── */
.gdb-cal__day {
	flex-direction: column;
	gap: 1px;
}
.gdb-cal__daynum {
	line-height: 1.1;
}
/* Price hidden by default (compact rail/popover calendars); shown in the
   standalone availability calendar below the description. */
.gdb-cal__price {
	display: none;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 600;
	color: var(--wp--preset--color--slate);
}

/* ── Standalone availability calendar (after the description) ─────────────── */
.prr-pd-availability__cal {
	max-width: 680px;
}
.prr-pd-availability .gdb-cal__day {
	aspect-ratio: auto;
	min-height: 56px;
	border-radius: 10px;
}
/* Two months side by side (standalone availability calendar). */
.gdb-cal--multi .gdb-cal__head--multi {
	margin-bottom: 4px;
}
.gdb-cal--multi .gdb-cal__months {
	display: flex;
	gap: 32px;
}
.gdb-cal--multi .gdb-cal__month {
	flex: 1 1 0;
	min-width: 0;
}
.gdb-cal--multi .gdb-cal__month .gdb-cal__label {
	display: block;
	text-align: center;
	margin-bottom: 10px;
}
@media (max-width: 600px) {
	.gdb-cal--multi .gdb-cal__months {
		flex-direction: column;
		gap: 20px;
	}
}
.prr-pd-availability .gdb-cal__price {
	display: block;
}
.prr-pd-availability .gdb-cal__day--start .gdb-cal__price,
.prr-pd-availability .gdb-cal__day--end .gdb-cal__price,
.prr-pd-availability .gdb-cal__day--single .gdb-cal__price {
	color: var(--wp--preset--color--white);
}

/* ── Rail compact picker: dates row triggers a calendar popover ──────────── */
.gdb-rail-picker {
	position: relative;
	/* Override .prr-booking__box's overflow:hidden so the absolutely-positioned
	   popover can extend below the box instead of being clipped to nothing. */
	overflow: visible;
}
.gdb-dates-trigger {
	cursor: pointer;
}
.gdb-rail-pop {
	position: absolute;
	top: calc(100% + 8px);
	/* Wide enough for two months side by side; opens leftward from the rail's
	   right edge so it doesn't overflow the viewport. Stacks to one month on
	   narrow screens via the .gdb-cal--multi media query. */
	right: 0;
	left: auto;
	width: min(620px, 92vw);
	z-index: 30;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
	padding: 16px 18px;
}
.gdb-rail-pop[hidden] {
	display: none;
}
.gdb-rail-pop .gdb-cal {
	margin: 0;
}
