/* Activity set page ([camp_activity_set]) */

.cbrw-set {
	--set-ink: #1f2430;
	--set-muted: #64748b;
	--set-line: #e5e7eb;
	--set-soft: #f8fafc;
	--set-accent: #a31647;
	--set-accent-dark: #8a1239;
	--set-head: "Poppins", sans-serif;
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 20px 40px;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.6;
	color: var(--set-ink);
}

.cbrw-set *,
.cbrw-set *::before,
.cbrw-set *::after {
	box-sizing: border-box;
}

.cbrw-set__head {
	margin: 0 0 20px;
}

.cbrw-set .cbrw-set__title {
	margin: 0;
	font-family: var(--set-head);
	font-size: clamp(26px, 3.4vw, 38px) !important;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--set-ink);
}

.cbrw-set__by {
	margin: 4px 0 0;
	font-size: 15px;
	color: var(--set-muted);
}

.cbrw-set__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 40px;
	align-items: start;
}

/* Gallery: one large photo and two small ones, like the original listing. */
.cbrw-set__gallery {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	height: 400px;
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: 18px;
}

.cbrw-set__gallery--1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.cbrw-set__gallery--2 {
	grid-template-rows: 1fr;
}

.cbrw-set .cbrw-set__photo {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #f1f5f9;
	border: 0;
	border-radius: 0;
	cursor: zoom-in;
}

.cbrw-set .cbrw-set__photo:first-child {
	grid-row: 1 / -1;
}

.cbrw-set .cbrw-set__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cbrw-set .cbrw-set__photo:hover img {
	transform: scale(1.03);
}

.cbrw-set .cbrw-set__all-photos {
	position: absolute;
	right: 14px;
	bottom: 14px;
	min-height: 0;
	margin: 0;
	padding: 8px 14px;
	font-family: var(--set-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--set-ink);
	background: #fff;
	border: 1px solid var(--set-line);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(16, 24, 40, 0.15);
	cursor: pointer;
}

/* Facts */
.cbrw-set__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 8px;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--set-line);
	border-radius: 16px;
}

.cbrw-set__fact {
	margin: 0;
	padding: 16px 18px 16px 50px;
	background-position: 18px 18px;
	background-repeat: no-repeat;
	background-size: 20px;
	border-right: 1px solid var(--set-line);
	border-bottom: 1px solid var(--set-line);
}

.cbrw-set__fact:nth-child(3n) {
	border-right: 0;
}

.cbrw-set .cbrw-set__fact dt {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--set-muted);
}

.cbrw-set .cbrw-set__fact dd {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--set-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--set-ink);
}

.cbrw-set .cbrw-set__fact dd span {
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	color: var(--set-muted);
}

.cbrw-set .cbrw-set__fact dd .cbrw-set__left {
	align-self: flex-start;
	margin-top: 4px;
	padding: 2px 8px;
	font-weight: 600;
	color: #9a3412;
	background: #fff7ed;
	border-radius: 999px;
}

.cbrw-set__fact--ages { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a31647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3.5'/%3E%3Cpath d='M5 21c0-3.9 3.1-7 7-7s7 3.1 7 7'/%3E%3C/svg%3E"); }
.cbrw-set__fact--dates { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a31647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.cbrw-set__fact--time { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a31647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.cbrw-set__fact--location { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a31647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.cbrw-set__fact--capacity { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a31647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.2c3 .3 5 2.4 5 5.3'/%3E%3C/svg%3E"); }
.cbrw-set__fact--discount { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a31647' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }

/* Sections */
.cbrw-set__section {
	padding: 28px 0 0;
}

.cbrw-set .cbrw-set__section h2 {
	margin: 0 0 12px;
	font-family: var(--set-head);
	font-size: 22px !important;
	font-weight: 600;
	line-height: 1.3;
	color: var(--set-ink);
}

.cbrw-set .cbrw-set__prose p {
	margin: 0 0 12px;
	color: #334155;
}

.cbrw-set .cbrw-set__notes ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbrw-set .cbrw-set__notes li {
	position: relative;
	margin: 0;
	padding: 0 0 0 28px;
	color: #334155;
}

.cbrw-set .cbrw-set__notes li::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 4px;
	width: 12px;
	height: 7px;
	border: solid var(--set-accent);
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg);
}

.cbrw-set__notes a,
.cbrw-set__map a {
	font-weight: 600;
	color: var(--set-accent);
}

.cbrw-set__policy {
	padding: 16px 18px;
	background: var(--set-soft);
	border: 1px solid var(--set-line);
	border-left: 4px solid var(--set-accent);
	border-radius: 12px;
}

.cbrw-set .cbrw-set__policy p {
	margin: 0;
	color: #334155;
}

.cbrw-set .cbrw-set__policy .cbrw-set__policy-title {
	margin: 0 0 4px;
	font-family: var(--set-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--set-ink);
}

.cbrw-set__map {
	display: grid;
	grid-template-columns: 240px 1fr;
	overflow: hidden;
	border: 1px solid var(--set-line);
	border-radius: 16px;
}

.cbrw-set__map-info {
	padding: 18px;
}

.cbrw-set .cbrw-set__map-info p {
	margin: 0 0 8px;
	font-size: 15px;
	color: #334155;
}

.cbrw-set .cbrw-set__map-info .cbrw-set__map-name {
	font-family: var(--set-head);
	font-weight: 600;
	color: var(--set-ink);
}

.cbrw-set__map iframe {
	display: block;
	width: 100%;
	height: 240px;
	border: 0;
}

/* Registration card */
.cbrw-set__book {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
}

.cbrw-set__book.is-tall {
	position: static;
}

.cbrw-set__card {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--set-line);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

.cbrw-set .cbrw-set__prices-title {
	margin: 0 0 8px;
	font-family: var(--set-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--set-ink);
}

.cbrw-set .cbrw-set__prices ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.cbrw-set .cbrw-set__prices li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--set-line);
}

.cbrw-set .cbrw-set__prices li > span:first-child {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.cbrw-set .cbrw-set__prices strong {
	font-family: var(--set-head);
	font-size: 15px;
	font-weight: 600;
}

.cbrw-set .cbrw-set__prices small {
	font-size: 13px;
	color: var(--set-muted);
}

.cbrw-set .cbrw-set__price {
	font-family: var(--set-head);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--set-ink);
}

.cbrw-set .cbrw-set__price .amount {
	color: inherit;
}

.cbrw-set__card-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--set-line);
}

.cbrw-set .cbrw-set__card-title {
	margin: 0;
	font-family: var(--set-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--set-ink);
}

.cbrw-set .cbrw-set__card-from {
	margin: 0;
	font-size: 14px;
	color: var(--set-muted);
}

.cbrw-set .cbrw-set__card-from strong,
.cbrw-set .cbrw-set__card-from .amount {
	font-family: var(--set-head);
	font-size: 18px;
	color: var(--set-ink);
}

/* The wizard's title repeats the card title; its step dots stay. */
.cbrw-set .cbrw-title {
	display: none;
}

.cbrw-set .cbrw-header {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0;
}

.cbrw-set .cbrw-step-label {
	margin: 8px 0 0;
	font-family: var(--set-head);
	font-size: 13px;
	color: var(--set-muted);
}

.cbrw-set ul.cbrw-set__fine {
	display: grid;
	gap: 4px;
	margin: 14px 0 0;
	padding: 14px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--set-muted);
	list-style: none !important;
	border-top: 1px solid var(--set-line);
}

.cbrw-set ul.cbrw-set__fine li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbrw-set ul.cbrw-set__fine li::before {
	display: none;
}

/* The wizard inside the card, in the site's colours */
.cbrw-set .cbrw {
	--cbrw-salmon: var(--set-accent);
	--cbrw-salmon-dark: var(--set-accent-dark);
	--cbrw-text: var(--set-ink);
	--cbrw-border: var(--set-line);
	padding: 0;
	border: 0;
	border-radius: 0;
}

.cbrw-set .cbrw-header {
	margin: 0 0 12px;
	padding: 0;
	color: var(--set-ink);
	background: none;
	border-radius: 0;
}

.cbrw-set .cbrw-title {
	font-family: var(--set-head);
	font-size: 16px !important;
	font-weight: 600;
	color: var(--set-ink);
}

.cbrw-set .cbrw-step {
	width: 26px;
	height: 26px;
	font-size: 12px;
	color: var(--set-muted);
	background: #fff;
	border-color: var(--set-line);
}

.cbrw-set .cbrw-step.is-done {
	color: var(--set-accent);
	background: #fdf2f6;
	border-color: #f0c6d4;
}

.cbrw-set .cbrw-step.is-active {
	color: #fff;
	background: var(--set-accent);
	border-color: var(--set-accent);
}

.cbrw-set .cbrw-booking-option.is-selected,
.cbrw-set .cbrw-booking-option:hover {
	border-color: var(--set-accent);
}

.cbrw-set .cbrw-booking-option.is-selected {
	background: #fdf2f6;
	box-shadow: 0 0 0 1px var(--set-accent);
}

.cbrw-set .cbrw-btn {
	font-family: var(--set-head);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
	background: var(--set-accent);
	border-color: var(--set-accent);
	border-radius: 10px;
}

.cbrw-set .cbrw-btn:hover {
	background: var(--set-accent-dark);
	border-color: var(--set-accent-dark);
}

.cbrw-set .cbrw-btn.cbrw-back {
	color: var(--set-ink);
	background: #fff;
	border-color: #d1d5db;
}

/* Mobile register bar */
.cbrw-set__bar {
	display: none;
}

/* Lightbox */
html.cbrw-lightbox-open {
	overflow: hidden;
}

.cbrw-set__lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	background: rgba(10, 12, 20, 0.94);
	border: 0;
}

.cbrw-set__lightbox::backdrop {
	background: rgba(10, 12, 20, 0.94);
}

.cbrw-set__lb-track {
	display: flex;
	width: 100%;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cbrw-set__lb-track::-webkit-scrollbar {
	display: none;
}

.cbrw-set__lb-track figure {
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 60px 70px;
	scroll-snap-align: center;
}

.cbrw-set__lb-track img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 12px;
}

.cbrw-set .cbrw-set__lb-close,
.cbrw-set .cbrw-set__lb-nav {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0;
	font-size: 30px;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.cbrw-set .cbrw-set__lb-close:hover,
.cbrw-set .cbrw-set__lb-nav:hover {
	background: rgba(255, 255, 255, 0.24);
}

.cbrw-set .cbrw-set__lb-close {
	top: 16px;
	right: 16px;
}

.cbrw-set .cbrw-set__lb-prev {
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
}

.cbrw-set .cbrw-set__lb-next {
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
}

.cbrw-set .cbrw-set__lb-count {
	position: absolute;
	bottom: 18px;
	left: 50%;
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	transform: translateX(-50%);
}

@media (max-width: 960px) {
	.cbrw-set__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.cbrw-set__book {
		position: static;
	}

	.cbrw-set__gallery {
		height: 320px;
	}

	.cbrw-set__bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 8999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: #fff;
		border-top: 1px solid var(--set-line);
		box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
		transition: transform 0.2s ease;
	}

	.cbrw-set__bar.is-hidden {
		transform: translateY(110%);
	}

	.cbrw-set__bar small {
		display: block;
		font-size: 12px;
		color: var(--set-muted);
	}

	.cbrw-set__bar strong {
		font-family: var(--set-head);
		font-size: 18px;
	}

	.cbrw-set .cbrw-set__bar-btn {
		padding: 12px 24px;
		font-family: var(--set-head);
		font-size: 15px;
		font-weight: 600;
		color: #fff;
		text-decoration: none;
		background: var(--set-accent);
		border-radius: 10px;
	}

	/* Room for the bar and above the back-to-top button. */
	body:has(.cbrw-set__bar) .cb-to-top {
		bottom: 84px;
	}

	/* The CRM data-authorization notice (inline styles) sits above the bar. */
	body:has(.cbrw-set__bar:not(.is-hidden)) #ccrm-consent {
		bottom: calc(84px + env(safe-area-inset-bottom)) !important;
	}
}

@media (max-width: 640px) {
	.cbrw-set {
		padding-top: 18px;
	}

	.cbrw-set__gallery {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		height: 260px;
		margin-right: -20px;
		margin-left: -20px;
		border-radius: 0;
	}

	.cbrw-set .cbrw-set__photo:not(:first-child) {
		display: none;
	}

	.cbrw-set__facts {
		grid-template-columns: 1fr 1fr;
	}

	.cbrw-set__fact:nth-child(3n) {
		border-right: 1px solid var(--set-line);
	}

	.cbrw-set__fact:nth-child(2n) {
		border-right: 0;
	}

	.cbrw-set__fact {
		padding: 14px 14px 14px 44px;
		background-position: 14px 16px;
		background-size: 18px;
	}

	.cbrw-set__map {
		grid-template-columns: 1fr;
	}

	.cbrw-set__lb-track figure {
		padding: 60px 10px;
	}
}

/* The wizard form brings its own padding; the card already has it. */
.cbrw-set .cbrw-form {
	padding: 0;
}

.cbrw-set .cbrw-panel h4 {
	margin: 0 0 10px;
	font-family: var(--set-head);
	font-size: 17px;
	font-weight: 600;
}

@media (max-width: 640px) {
	/* The theme already adds side margins on small screens. */
	.cbrw-set {
		padding-right: 0;
		padding-left: 0;
	}

	.cbrw-set__gallery {
		margin-right: 0;
		margin-left: 0;
		border-radius: 14px;
	}

	.cbrw-set__facts {
		grid-template-columns: 1fr;
	}

	.cbrw-set__fact,
	.cbrw-set__fact:nth-child(2n),
	.cbrw-set__fact:nth-child(3n) {
		border-right: 0;
	}

	.cbrw-set .cbrw-set__fact dd {
		display: block;
	}

	.cbrw-set .cbrw-set__fact dd span {
		display: block;
	}

	.cbrw-set__card {
		padding: 16px;
	}
}
