/*
 * PR Rentals — Experiences (archive + single).
 * Distinct from stays (capacity-based, one flat price, vessel chip, "Book
 * Experience") but in-brand. Shared detail chrome reuses .prr-pd-* from
 * property-detail.css; this file adds the experience-specific surfaces.
 * Brand values are theme.json tokens via var(--wp--preset|custom--*).
 */

/* ============================================================
   ARCHIVE — featured + grid (Guesty Direct Booking plugin contract)
   ============================================================ */
.prr-xarchive {
	padding-bottom: 64px;
}

/* Shared fact row (featured + grid + uses) */
.prr-xfact-row {
	display: flex;
	align-items: center;
	gap: 11px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 500;
	color: var(--wp--preset--color--slate-dark);
}
.prr-xfact-row svg {
	width: 17px;
	height: 17px;
	stroke: var(--wp--preset--color--slate);
	flex-shrink: 0;
}

/* Featured charter */
.prr-xfeatured {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	margin-bottom: 28px;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--card);
	transition: box-shadow 0.25s ease;
}
.prr-xfeatured:hover {
	box-shadow: var(--wp--preset--shadow--card-hover);
}
.prr-xfeatured__media {
	position: relative;
	min-height: 360px;
}
.prr-xfeatured__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.prr-xfeatured__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--gold);
	padding: 8px 13px;
	border-radius: 8px;
}
.prr-xfeatured__body {
	display: flex;
	flex-direction: column;
	padding: 38px 40px;
}
.prr-xfeatured__eyebrow {
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--slate-faint);
}
.prr-xfeatured__title {
	margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--wp--preset--color--ocean);
}
.prr-xfeatured__desc {
	margin: 0 0 26px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	line-height: 1.65;
	color: var(--wp--preset--color--slate);
}
.prr-xfeatured__facts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 28px;
}
.prr-xfeatured__facts .prr-xfact-row {
	color: var(--wp--preset--color--charcoal);
	font-size: 15px;
}
.prr-xfeatured__facts .prr-xfact-row svg {
	width: 19px;
	height: 19px;
	stroke: var(--wp--preset--color--ocean);
}
.prr-xfeatured__foot {
	margin-top: auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
	border-top: 1px solid var(--wp--preset--color--divider);
}
.prr-xfeatured__from {
	display: block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	color: var(--wp--preset--color--slate);
	margin-bottom: 3px;
}
.prr-xprice {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 21px;
	font-weight: 700;
	color: var(--wp--preset--color--charcoal);
}
.prr-xfeatured__price .prr-xprice {
	font-size: 28px;
}
.prr-xprice span {
	font-size: 13px;
	font-weight: 400;
	color: var(--wp--preset--color--slate);
}
.prr-xfeatured__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--gold);
	padding: 15px 28px;
	border-radius: var(--wp--custom--radius--button);
	text-decoration: none;
	box-shadow: var(--wp--preset--shadow--button);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.prr-xfeatured__cta svg {
	width: 16px;
	height: 16px;
	stroke: var(--wp--preset--color--ocean);
}
.prr-xfeatured__cta:hover {
	background: var(--wp--preset--color--gold-hover);
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--button-hover);
}

/* Experience grid cards */
.prr-xgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.prr-xcard {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	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-xcard:hover {
	transform: translateY(-5px);
	box-shadow: var(--wp--preset--shadow--card-hover);
}
.prr-xcard__media {
	position: relative;
	height: 230px;
}
.prr-xcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.prr-xtag {
	position: absolute;
	top: 15px;
	left: 15px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-soft);
	background: var(--wp--preset--color--ocean);
	padding: 7px 12px;
	border-radius: var(--wp--custom--radius--tag);
}
.prr-xboat {
	position: absolute;
	top: 15px;
	right: 15px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 11px;
	font-weight: 700;
	color: var(--wp--preset--color--ocean);
	background: var(--wp--preset--color--white);
	padding: 7px 12px;
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: 0 3px 10px rgba(12, 58, 91, 0.18);
}
.prr-xcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}
.prr-xcard__title {
	margin: 0 0 18px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.18;
	color: var(--wp--preset--color--ocean);
}
.prr-xfacts-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
}
.prr-xcard__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--divider);
}
.prr-xreserve {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--ocean);
	padding: 12px 22px;
	border-radius: var(--wp--custom--radius--input);
	transition: background 0.18s ease, color 0.18s ease;
}
.prr-xcard:hover .prr-xreserve {
	background: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--sand);
}

/* ============================================================
   SINGLE EXPERIENCE — key facts, included, itinerary
   ============================================================ */
.prr-xfacts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.prr-xfact {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	padding: 16px;
}
.prr-xfact svg {
	width: 22px;
	height: 22px;
	stroke: var(--wp--preset--color--ocean);
	flex-shrink: 0;
}
.prr-xfact__label {
	margin-bottom: 5px;
	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-xfact__value {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}

/* What's included */
.prr-included {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px 32px;
}
.prr-included__item {
	display: flex;
	align-items: center;
	gap: 12px;
	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-included__check {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: var(--wp--preset--color--success-soft);
	display: flex;
	align-items: center;
	justify-content: center;
}
.prr-included__check svg {
	width: 14px;
	height: 14px;
	stroke: var(--wp--preset--color--success);
}
.prr-included__note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	padding: 13px 16px;
	background: var(--wp--preset--color--sand);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--slate);
}
.prr-included__note svg {
	width: 17px;
	height: 17px;
	stroke: var(--wp--preset--color--slate-faint);
	flex-shrink: 0;
}

/* Itinerary timeline */
.prr-itinerary {
	position: relative;
	padding-left: 30px;
}
.prr-itinerary::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: var(--wp--preset--color--border);
}
.prr-itinerary__item {
	position: relative;
	padding-bottom: 22px;
}
.prr-itinerary__item:last-child {
	padding-bottom: 0;
}
.prr-itinerary__dot {
	position: absolute;
	left: -30px;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	border: 3px solid var(--wp--preset--color--gold);
}
.prr-itinerary__time {
	margin-bottom: 6px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--ocean);
}
.prr-itinerary__title {
	margin-bottom: 3px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 16px;
	font-weight: 600;
	color: var(--wp--preset--color--ocean);
}
.prr-itinerary__text {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	line-height: 1.55;
	color: var(--wp--preset--color--slate);
}

/* ============================================================
   BOOKING WIDGET — experience extras (reuses .prr-booking base)
   ============================================================ */
.prr-booking--experience .prr-booking__head {
	margin-bottom: 6px;
}
.prr-booking__sub {
	margin: 0 0 18px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	line-height: 1.4;
	color: var(--wp--preset--color--slate);
}
.prr-booking__date,
.prr-booking__guests--stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 14px;
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: 12px;
	margin-bottom: 10px;
}
.prr-booking__guests--stepper {
	border-top: 1px solid var(--wp--preset--color--border-warm);
	margin-bottom: 16px;
	cursor: default;
}
.prr-booking__date {
	cursor: pointer;
}
.prr-booking__date svg {
	width: 17px;
	height: 17px;
	stroke: var(--wp--preset--color--slate);
}
.prr-booking__slotwrap {
	margin-bottom: 10px;
}
.prr-booking__slotwrap .prr-booking__label {
	display: block;
	margin-bottom: 8px;
}
.prr-booking__slots {
	display: flex;
	gap: 8px;
}
.prr-booking__slot {
	flex: 1;
	padding: 11px 0;
	border: 1px solid var(--wp--preset--color--border-warm);
	border-radius: 9px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--slate);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}
.prr-booking__slot:hover {
	border-color: var(--wp--preset--color--ocean);
}
.prr-booking__slot.is-active {
	background: var(--wp--preset--color--ocean);
	border-color: var(--wp--preset--color--ocean);
	color: var(--wp--preset--color--white);
}
.prr-booking__stepper {
	display: flex;
	align-items: center;
	gap: 12px;
}
.prr-booking__step {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid var(--wp--preset--color--ocean);
	background: transparent;
	color: var(--wp--preset--color--ocean);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.prr-booking__step svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}
.prr-booking__line-plain {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	color: var(--wp--preset--color--slate-dark);
}

/* ============================================================
   FOCUS STATES
   ============================================================ */
.prr-xcard:focus-visible,
.prr-xfeatured__cta:focus-visible,
.prr-booking__slot:focus-visible,
.prr-booking__step:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
	.prr-xfeatured {
		grid-template-columns: 1fr;
	}
	.prr-xfeatured__media {
		min-height: 240px;
	}
	.prr-xfacts {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 720px) {
	.prr-xgrid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 600px) {
	.prr-included {
		grid-template-columns: 1fr;
	}
	.prr-xfeatured__body {
		padding: 26px 22px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.prr-xcard,
	.prr-xfeatured,
	.prr-xfeatured__cta,
	.prr-booking__slot,
	.prr-xreserve {
		transition: none;
	}
}
