/*
 * Bajo Cielo widgets.
 *
 * The widgets' own anatomy: grid, cards, badges, buttons, the search bar, the
 * forms. How a particular page arranges them — the homepage's rails, its hero,
 * its bands — belongs to the child theme (assets/css/sections.css), not here.
 *
 * Colour, type and spacing come from the child theme's design tokens. Loaded
 * only on pages that use one of these widgets, through get_style_depends().
 */

/* Grid. Columns per device are the panel's Layout control. */

.bc-grid {
	--bc-grid-columns: 3;
	display: grid;
	grid-template-columns: repeat( var( --bc-grid-columns ), minmax( 0, 1fr ) );
	align-items: start;
}

/* Cards */

.bc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var( --bc-radius-2 );
	background-color: var( --bc-paper );
}

.bc-card__media {
	display: block;
	overflow: hidden;
}

.bc-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bc-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var( --bc-space-2 );
	padding: var( --bc-space-4 );
}

.bc-card__title {
	margin: 0;
	font-size: var( --bc-text-lg );
}

.bc-card__title a {
	color: inherit;
	text-decoration: none;
}

.bc-card__subtitle,
.bc-card__summary,
.bc-card__meta,
.bc-card__price {
	margin: 0;
}

.bc-card__meta {
	color: var( --bc-ink-mute );
}

.bc-card__price strong {
	font-weight: var( --bc-weight-semibold );
}

.bc-card__attributes {
	display: flex;
	flex-wrap: wrap;
	gap: var( --bc-space-2 ) var( --bc-space-5 );
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var( --bc-text-sm );
}

.bc-card__attributes li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bc-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var( --bc-space-3 );
	margin: auto 0 0;
}

.bc-icon {
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
}

/*
 * Experience cards: borderless on the page, a rounded picture, then the name,
 * a muted line and the price. The picture's proportion is a custom property so
 * a page can set it for the rail it sits in.
 */

.bc-experience-grid .bc-card {
	overflow: visible;
	border-radius: 0;
	background-color: transparent;
}

.bc-experience-grid .bc-card__media {
	border-radius: var( --bc-radius-1 );
	aspect-ratio: var( --bc-media-ratio, 4 / 3 );
}

.bc-experience-grid .bc-card__media img {
	transition: transform var( --bc-duration ) var( --bc-ease );
}

.bc-experience-grid .bc-card:hover .bc-card__media img {
	transform: scale( 1.04 );
}

.bc-experience-grid .bc-card__body {
	gap: 2px;
	padding: var( --bc-space-2 ) 0 0;
}

.bc-experience-grid .bc-card__title {
	color: var( --bc-ink );
	font-family: var( --bc-font-body );
	font-size: 13px;
	font-weight: var( --bc-weight-semibold );
	line-height: var( --bc-leading-snug );
}

.bc-experience-grid .bc-card__meta {
	font-size: var( --bc-text-xs );
	line-height: 1.4;
}

.bc-experience-grid .bc-card__price {
	margin-top: 2px;
	color: var( --bc-ink );
	font-size: 13px;
}

/* Place filter above a grid: plain links, so each place has an address. */

.bc-filter {
	margin-bottom: var( --bc-space-5 );
}

.bc-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: var( --bc-space-2 );
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: var( --bc-space-2 );
	padding: var( --bc-space-2 ) var( --bc-space-4 );
	border: 1px solid var( --bc-paper-rule );
	border-radius: var( --bc-radius-pill );
	color: var( --bc-ink-soft );
	font-size: var( --bc-text-sm );
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.bc-filter__chip:hover,
.bc-filter__chip:focus-visible {
	border-color: var( --bc-sky-deep );
	color: var( --bc-sky-deep );
}

.bc-filter__chip[aria-current="true"] {
	border-color: var( --bc-sky-deep );
	background-color: var( --bc-sky-deep );
	color: var( --bc-paper );
}

.bc-filter__count {
	color: inherit;
	font-size: var( --bc-text-xs );
	opacity: 0.75;
}

@media ( prefers-reduced-motion: reduce ) {

	.bc-filter__chip {
		transition: none;
	}
}

/* Badges */

.bc-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 12px;
	border: 1px solid transparent;
	border-radius: var( --bc-radius-pill );
	font-size: 10.5px;
	font-weight: var( --bc-weight-semibold );
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bc-badge--available {
	border-color: rgba( 255, 255, 255, 0.7 );
	background-color: rgba( 3, 33, 45, 0.35 );
	color: #fff;
}

.bc-badge--soon {
	background-color: var( --bc-paper );
	color: var( --bc-ink );
}

/* Buttons: the brand button is the child theme's (.bc-button). */

/* Departures */

.bc-departures {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-departure {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var( --bc-space-3 );
	padding: var( --bc-space-3 ) 0;
	border-bottom: 1px solid var( --bc-paper-rule-2 );
}

.bc-departure__dates {
	flex: 1 1 14rem;
}

.bc-departure__seats.is-low {
	color: var( --bc-danger );
}

.bc-departure__seats.is-none,
.bc-departure.is-full {
	color: var( --bc-ink-mute );
}

/*
 * Search.
 *
 * One white bar: the fields in a row divided by hairlines, each a mark beside a
 * bold label over a muted hint, and a filled pill at the end. The bar is the
 * surface; the inputs carry no borders of their own. On a phone the fields
 * stack into rows and the pill takes the full width.
 */

.bc-search {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 8px 8px 8px 20px;
	border-radius: var( --bc-radius-3 );
	background-color: var( --bc-paper );
	box-shadow: 0 16px 36px rgba( 3, 33, 45, 0.16 );
}

.bc-search__field {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: var( --bc-space-3 );
	min-width: 0;
	margin: 0;
	padding: 6px 20px 6px 0;
}

.bc-search__field + .bc-search__field {
	padding-left: 20px;
	border-left: 1px solid var( --bc-paper-rule-2 );
}

/* The destination's hint is the longest of the three. */
.bc-search__field:first-of-type {
	flex-grow: 1.35;
}

.bc-search__body {
	display: block;
	flex: 1;
	min-width: 0;
}

.bc-search__field label {
	display: block;
	color: var( --bc-ink );
	font-size: 13px;
	font-weight: var( --bc-weight-semibold );
	line-height: 1.3;
}

.bc-search__field input {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var( --bc-ink );
	font: inherit;
	font-size: 12.5px;
	line-height: 1.4;
}

.bc-search__field input::placeholder {
	color: var( --bc-ink-mute );
	opacity: 1;
}

.bc-search__field input:focus-visible {
	outline: 2px solid var( --bc-sky );
	outline-offset: 4px;
}

.bc-search__mark {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	background-color: var( --bc-ink-soft );
	-webkit-mask: var( --bc-mark ) center / contain no-repeat;
	mask: var( --bc-mark ) center / contain no-repeat;
}

.bc-search__mark--where {
	--bc-mark: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E" );
}

.bc-search__mark--when {
	--bc-mark: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E" );
}

.bc-search__mark--who {
	--bc-mark: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E" );
}

.bc-search .bc-search__submit {
	flex: 0 0 auto;
	padding: 13px 34px;
	border-radius: var( --bc-radius-2 );
	font-size: var( --bc-text-sm );
}

.bc-search__submit .bc-icon {
	width: 17px;
	height: 17px;
	stroke-width: 2;
}

@media ( max-width: 767px ) {

	.bc-search {
		flex-direction: column;
		align-items: stretch;
		padding: 4px 16px 16px;
	}

	.bc-search__field {
		padding: 12px 0;
	}

	.bc-search__field + .bc-search__field {
		padding-left: 0;
		border-top: 1px solid var( --bc-paper-rule-2 );
		border-left: 0;
	}

	.bc-search .bc-search__submit {
		margin-top: var( --bc-space-2 );
		padding: 11px 24px;
	}
}

/* Forms */

/*
 * Our forms and the Contact Form 7 forms the contact pages carry share one
 * look: a white card, labelled fields with a clear focus ring, the consent
 * line beside its box.
 */
.bc-form__form,
.bc-contact-form .wpcf7-form {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: var( --bc-space-4 ) var( --bc-space-5 );
	max-width: 44rem;
	padding: var( --bc-space-6 );
	border: 1px solid var( --bc-paper-rule-2 );
	border-radius: var( --bc-radius-3 );
	background: var( --bc-paper );
	box-shadow: var( --bc-shadow-2 );
}

/* Long answers, the consent and the button take the whole row. */
.bc-form__form > *,
.bc-contact-form .wpcf7-form > * {
	grid-column: 1 / -1;
}

.bc-form__form > .bc-form__field:has( > input:not( [type="checkbox"] ) ),
.bc-form__form > .bc-form__field:has( > select ) {
	grid-column: auto;
}

.bc-form__form > input[type="hidden"],
.bc-contact-form .wpcf7-form > .hidden-fields-container {
	display: none;
}

.bc-form__field,
.bc-form__consent,
.bc-form__actions,
.bc-contact-form .wpcf7-form p {
	margin: 0;
}

.bc-form__field label,
.bc-contact-form .wpcf7-form label {
	display: block;
	margin-bottom: var( --bc-space-1 );
	color: var( --bc-ink );
	font-size: var( --bc-text-sm );
	font-weight: var( --bc-weight-medium );
}

.bc-contact-form .wpcf7-form label br {
	display: none;
}

.bc-form__field input,
.bc-form__field select,
.bc-form__field textarea,
.bc-contact-form .wpcf7-form-control:not( .wpcf7-submit ):not( .wpcf7-acceptance ):not( .wpcf7-checkbox ) {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var( --bc-paper-rule );
	border-radius: var( --bc-radius-1 );
	background: var( --bc-paper );
	color: var( --bc-ink );
	font-family: var( --bc-font-body );
	font-size: var( --bc-text-base );
	transition: border-color var( --bc-duration-fast ) var( --bc-ease ), box-shadow var( --bc-duration-fast ) var( --bc-ease );
}

.bc-form__field textarea,
.bc-contact-form textarea.wpcf7-form-control {
	min-height: 120px;
	resize: vertical;
}

.bc-form__field input:focus,
.bc-form__field select:focus,
.bc-form__field textarea:focus,
.bc-contact-form .wpcf7-form-control:focus {
	border-color: var( --bc-sky-deep );
	outline: 2px solid transparent;
	box-shadow: 0 0 0 3px rgba( 4, 111, 141, 0.18 );
}

.bc-form__consent,
.bc-contact-form .wpcf7-acceptance {
	color: var( --bc-ink-soft );
	font-size: var( --bc-text-sm );
	line-height: var( --bc-leading-snug );
}

.bc-form__consent label,
.bc-contact-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: var( --bc-space-2 );
	font-weight: var( --bc-weight-regular );
}

.bc-form__consent input[type="checkbox"],
.bc-contact-form .wpcf7-acceptance input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var( --bc-sky-deep );
}

.bc-contact-form .wpcf7-submit {
	justify-self: start;
	min-height: 46px;
	padding: 0 var( --bc-space-6 );
	border: 0;
	border-radius: var( --bc-radius-pill );
	background: var( --bc-sky-deep );
	color: var( --bc-paper );
	font-weight: var( --bc-weight-semibold );
	cursor: pointer;
}

.bc-contact-form .wpcf7-submit:hover,
.bc-contact-form .wpcf7-submit:focus-visible {
	background: var( --bc-sky-deep-ink );
}

@media ( max-width: 767px ) {

	.bc-form__form,
	.bc-contact-form .wpcf7-form {
		grid-template-columns: minmax( 0, 1fr );
		padding: var( --bc-space-5 ) var( --bc-space-4 );
	}
}

.bc-form__result {
	padding: var( --bc-space-3 );
	border-radius: var( --bc-radius-1 );
}

.bc-form__result.is-success {
	background-color: var( --bc-sky-wash );
}

.bc-form__result.is-error {
	background-color: var( --bc-paper-soft );
}

.bc-form__note {
	max-width: 36rem;
	color: var( --bc-ink-mute );
	font-size: var( --bc-text-sm );
}

/* Reviews */

.bc-review {
	margin: 0;
	padding: var( --bc-space-4 );
	border-radius: var( --bc-radius-2 );
	background-color: var( --bc-paper );
}

.bc-review__body {
	margin: 0 0 var( --bc-space-2 );
}

.bc-review__source {
	color: var( --bc-ink-mute );
	font-size: var( --bc-text-sm );
}

/* Editor-only notice */

.bc-widget__notice {
	padding: var( --bc-space-3 );
	border: 1px dashed var( --bc-paper-rule );
	border-radius: var( --bc-radius-1 );
	color: var( --bc-ink-mute );
}

/*
 * The handwritten accents the reference carries — "Ecuador te espera",
 * "Higher Connections" — as a class any text widget can take in the panel.
 */

.bc-accent {
	margin: 0;
	font-family: var( --bc-font-script );
	font-size: 30px;
	font-weight: 500;
	line-height: 0.95;
}

/*
 * Journey cards.
 *
 * Picture cards: the photograph fills the card, a wash from the left carries
 * the type — badge, name, route, facts, then the buttons — and an optional
 * handwritten accent sits in the lower right corner. A card with no picture
 * falls back to the brand's deep sky.
 */

.bc-journey-cards .bc-card--journey {
	min-height: 14rem;
	border-radius: var( --bc-radius-3 );
	background-color: var( --bc-sky-deep-ink );
	color: #fff;
	isolation: isolate;
}

.bc-card--journey .bc-card__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.bc-card--journey::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient( 100deg, rgba( 3, 33, 45, 0.88 ) 0%, rgba( 3, 33, 45, 0.6 ) 45%, rgba( 3, 33, 45, 0.08 ) 100% );
	content: "";
}

.bc-card--journey .bc-card__body {
	gap: 4px;
	padding: 22px 28px 24px;
}

/* No journey published yet: the same card, holding the door's promise. */
.bc-journey-cards--empty .bc-card--empty {
	justify-content: flex-end;
	min-height: 100%;
	overflow: hidden;
}

.bc-card--empty .bc-card__title {
	color: var( --bc-paper );
}

.bc-card--empty .bc-card__backdrop {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bc-card--empty .bc-card__body {
	max-width: 34rem;
}

.bc-card--empty .bc-card__body p {
	margin: 0;
}

.bc-card--empty .bc-card__summary {
	margin-bottom: var( --bc-space-4 );
}

.bc-card--empty a.bc-button--primary {
	background-color: var( --bc-paper );
	color: var( --bc-sky-deep-ink );
}

.bc-card--empty a.bc-button--primary:hover,
.bc-card--empty a.bc-button--primary:focus-visible {
	background-color: var( --bc-sky-light );
	color: var( --bc-sky-deep-ink );
}

.bc-card--journey .bc-badge {
	margin-bottom: 8px;
}

.bc-card--journey .bc-card__title {
	font-family: var( --bc-font-display );
	font-size: 30px;
	font-weight: var( --bc-weight-semibold );
	line-height: 1.1;
}

.bc-card--journey .bc-card__title a,
.bc-card--journey .bc-card__subtitle,
.bc-card--journey .bc-card__summary,
.bc-card--journey .bc-card__attributes,
.bc-card--journey .bc-card__price {
	color: #fff;
}

.bc-card--journey .bc-card__subtitle {
	font-size: 17px;
	line-height: 1.3;
}

.bc-card--journey .bc-card__summary {
	font-size: var( --bc-text-base );
	opacity: 0.92;
}

.bc-card--journey .bc-card__attributes {
	margin-top: 8px;
	font-size: 12.5px;
}

.bc-card--journey .bc-card__actions {
	margin-top: 16px;
}

/* Matches the theme's a.bc-button--ghost[href] and outranks it inside the card. */
.bc-card--journey a.bc-button--ghost[href],
.bc-card--journey a.bc-button--ghost[href]:hover,
.bc-card--journey a.bc-button--ghost[href]:focus-visible {
	background-color: rgba( 255, 255, 255, 0.08 );
	box-shadow: inset 0 0 0 1px rgba( 255, 255, 255, 0.85 );
	color: #fff;
}

.bc-card--journey .bc-card__accent {
	position: absolute;
	right: 26px;
	bottom: 16px;
	max-width: 6.5em;
	color: #fff;
	text-align: right;
	transform: rotate( -12deg );
	transform-origin: right bottom;
}

.bc-card--journey .bc-favourite {
	z-index: 1;
}

/*
 * Colabora con Bajo Cielo.
 *
 * Cards: a centred heading and intro over white cards, each an outline icon
 * beside its title, line and "Conoce más →". List: the same content as rows —
 * icon, title, a short line, and a chevron — with the whole row the link.
 */

.bc-partner-cta {
	text-align: center;
}

.bc-partner-cta__heading {
	margin: 0 0 var( --bc-space-2 );
	color: var( --bc-sky-deep-ink );
	font-family: var( --bc-font-display );
	font-size: 36px;
	line-height: var( --bc-leading-tight );
}

.bc-partner-cta__intro {
	max-width: 44rem;
	margin: 0 auto var( --bc-space-6 );
	color: var( --bc-ink-soft );
	font-size: 15px;
}

.bc-partner-cta__cards {
	gap: var( --bc-space-4 );
	text-align: left;
}

.bc-partner-cta__cards .bc-card {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	column-gap: 20px;
	row-gap: 6px;
	padding: 26px 28px;
	border-radius: var( --bc-radius-2 );
	box-shadow: 0 1px 3px rgba( 3, 33, 45, 0.08 );
}

.bc-partner-cta__cards .bc-card > :not( .bc-card__icon ) {
	grid-column: 2;
}

.bc-partner-cta__cards .bc-card__icon {
	grid-row: 1 / span 3;
	color: var( --bc-sky-deep-ink );
	font-size: 52px;
	line-height: 1;
}

.bc-partner-cta__cards .bc-card__icon .bc-icon {
	width: 52px;
	height: 52px;
	stroke-width: 1.3;
}

.bc-partner-cta__cards .bc-card__title {
	color: var( --bc-sky-deep-ink );
	font-family: var( --bc-font-display );
	font-size: 19px;
	line-height: 1.25;
}

.bc-partner-cta__cards .bc-card__summary {
	color: var( --bc-ink-soft );
	font-size: 14px;
	line-height: 1.5;
}

.bc-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	color: var( --bc-sky-deep );
	font-size: 14px;
	font-weight: var( --bc-weight-semibold );
	text-decoration: none;
}

.bc-card__link .bc-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2;
}

.bc-card__link-chevron {
	display: none;
}

.bc-partner-cta--list .bc-partner-cta__heading {
	font-size: 26px;
}

.bc-partner-cta--list .bc-partner-cta__intro {
	display: none;
}

.bc-partner-cta--list .bc-partner-cta__cards {
	gap: var( --bc-space-3 );
}

.bc-partner-cta--list .bc-partner-cta__cards .bc-card {
	align-items: center;
	column-gap: 14px;
	row-gap: 2px;
	padding: 14px 44px 14px 16px;
	border: 1px solid var( --bc-paper-rule-2 );
	box-shadow: none;
}

.bc-partner-cta--list .bc-card__icon,
.bc-partner-cta--list .bc-card__icon .bc-icon {
	width: 34px;
	height: 34px;
	font-size: 34px;
}

.bc-partner-cta--list .bc-card__icon {
	grid-row: 1 / span 2;
}

.bc-partner-cta--list .bc-partner-cta__cards .bc-card__title {
	color: var( --bc-ink );
	font-family: var( --bc-font-body );
	font-size: 14px;
	font-weight: var( --bc-weight-semibold );
}

.bc-partner-cta--list .bc-partner-cta__cards .bc-card__summary {
	color: var( --bc-ink-mute );
	font-size: 12px;
}

/* The whole row is the link; its words stay for screen readers. */
.bc-partner-cta--list .bc-card__link {
	position: static;
	margin: 0;
}

.bc-partner-cta--list .bc-card__link::after {
	position: absolute;
	inset: 0;
	content: "";
}

.bc-partner-cta--list .bc-card__link-label,
.bc-partner-cta--list .bc-card__link-arrow {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	white-space: nowrap;
}

.bc-partner-cta--list .bc-card__link-chevron {
	position: absolute;
	top: 50%;
	right: 16px;
	display: block;
	width: 18px;
	height: 18px;
	color: var( --bc-ink );
	transform: translateY( -50% );
}

@media ( prefers-reduced-motion: reduce ) {

	.bc-experience-grid .bc-card__media img {
		transition: none;
	}

	.bc-experience-grid .bc-card:hover .bc-card__media img {
		transform: none;
	}
}

/*
 * Experience details: the facts as a two-column list, each an icon beside a
 * muted label over its value, then what is included, ticked.
 */

.bc-facts__list {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: var( --bc-space-4 ) var( --bc-space-6 );
	margin: 0 0 var( --bc-space-6 );
}

.bc-facts__item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	column-gap: var( --bc-space-3 );
}

.bc-facts__icon {
	grid-row: 1 / span 2;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var( --bc-sky-deep-ink );
}

.bc-facts__item dt {
	color: var( --bc-ink-mute );
	font-size: var( --bc-text-xs );
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bc-facts__item dd {
	margin: 0;
	color: var( --bc-ink );
}

/* Two classes: the kit's own h3 rule would otherwise set the size. */
.bc-facts .bc-facts__heading {
	margin: 0 0 var( --bc-space-3 );
	color: var( --bc-sky-deep-ink );
	font-family: var( --bc-font-display );
	font-size: var( --bc-text-lg );
}

.bc-facts__included {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: var( --bc-space-2 ) var( --bc-space-6 );
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-facts__included li {
	display: flex;
	align-items: center;
	gap: var( --bc-space-2 );
}

.bc-facts__included .bc-icon {
	width: 18px;
	height: 18px;
	color: var( --bc-sky-deep );
	stroke-width: 2;
}

@media ( max-width: 767px ) {

	.bc-facts__list,
	.bc-facts__included {
		grid-template-columns: minmax( 0, 1fr );
	}
}

/*
 * 360° tour or map: the frame fills the widget's width at the panel's height,
 * with the photographs' rounded corners. Deep sky shows while it loads.
 */

.bc-embed {
	height: 520px;
	overflow: hidden;
	border-radius: var( --bc-radius-3 );
	background: var( --bc-sky-deep-ink );
}

.bc-embed__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/*
 * Experience booking card: the price large, how many people, one button the
 * card's full width.
 */

.bc-booking__price {
	margin: 0 0 var( --bc-space-4 );
	color: var( --bc-ink );
	font-size: var( --bc-text-sm );
}

.bc-booking__price strong {
	font-family: var( --bc-font-display );
	font-size: 30px;
	font-weight: var( --bc-weight-semibold );
}

.bc-booking__price span {
	color: var( --bc-ink-soft );
}

.bc-booking__field {
	margin: 0 0 var( --bc-space-3 );
}

.bc-booking__field label {
	display: block;
	margin-bottom: var( --bc-space-1 );
	font-size: 13px;
	font-weight: var( --bc-weight-semibold );
}

.bc-booking__field select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var( --bc-paper-rule );
	border-radius: var( --bc-radius-1 );
	background-color: var( --bc-paper );
	font: inherit;
	font-size: var( --bc-text-sm );
}

.bc-booking .bc-booking__submit {
	width: 100%;
	padding: 13px 24px;
	border-radius: var( --bc-radius-2 );
}

.bc-booking__unavailable {
	margin: 0;
	color: var( --bc-ink-soft );
}

/*
 * Journey details: the facts row the experience page uses, then the
 * itinerary as numbered days on a rule, and the lists with their marks.
 */

.bc-journey-details__part + .bc-journey-details__part {
	margin-top: var( --bc-space-5 );
}

.bc-journey-details .bc-facts__heading {
	margin: 0 0 var( --bc-space-3 );
}

.bc-itinerary {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bc-itinerary__day {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: var( --bc-space-3 );
	padding: var( --bc-space-3 ) 0;
	border-top: 1px solid var( --bc-paper-rule-2 );
}

.bc-itinerary__number {
	color: var( --bc-sky );
	font-size: var( --bc-text-sm );
	font-weight: var( --bc-weight-semibold );
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.bc-itinerary__day p {
	margin: var( --bc-space-1 ) 0 0;
	color: var( --bc-ink-soft );
}

.bc-facts__included--exclusions .bc-icon {
	color: var( --bc-ink-mute );
}

/* Questions: the browser's own disclosure, styled as a list of rules. */

.bc-faq__heading {
	margin: 0 0 var( --bc-space-3 );
}

.bc-faq__item {
	border-top: 1px solid var( --bc-paper-rule-2 );
}

.bc-faq__item:last-child {
	border-bottom: 1px solid var( --bc-paper-rule-2 );
}

.bc-faq__item summary {
	padding: var( --bc-space-3 ) 2rem var( --bc-space-3 ) 0;
	position: relative;
	cursor: pointer;
	font-weight: var( --bc-weight-semibold );
	list-style: none;
}

.bc-faq__item summary::-webkit-details-marker {
	display: none;
}

.bc-faq__item summary::after {
	position: absolute;
	top: 50%;
	right: 0.25rem;
	width: 0.6rem;
	height: 0.6rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: translateY( -70% ) rotate( 45deg );
	transition: transform var( --bc-duration-fast ) var( --bc-ease );
}

.bc-faq__item[open] summary::after {
	transform: translateY( -30% ) rotate( -135deg );
}

.bc-faq__item summary:focus-visible {
	outline: 2px solid var( --bc-sky );
	outline-offset: 2px;
}

.bc-faq__answer {
	padding: 0 0 var( --bc-space-3 );
	color: var( --bc-ink-soft );
}

/* WhatsApp hand-off */

.bc-whatsapp__link {
	display: inline-flex;
	align-items: center;
	gap: var( --bc-space-2 );
}

.bc-whatsapp__link .bc-icon {
	width: 18px;
	height: 18px;
}

/* Review form: five choices in a row, each a large target. */

.bc-form__rating {
	display: flex;
	flex-wrap: wrap;
	gap: var( --bc-space-2 );
	margin: 0;
	padding: 0;
	border: 0;
}

.bc-form__rating legend {
	width: 100%;
	margin-bottom: var( --bc-space-2 );
	font-size: var( --bc-text-sm );
}

.bc-form__star {
	display: inline-flex;
	align-items: center;
	gap: var( --bc-space-1 );
	padding: var( --bc-space-2 ) var( --bc-space-3 );
	border: 1px solid var( --bc-paper-rule-2 );
	border-radius: var( --bc-radius-2 );
	cursor: pointer;
}

.bc-form__star:has( input:checked ) {
	border-color: var( --bc-sky );
	background-color: var( --bc-sky-wash );
}

@media ( prefers-reduced-motion: reduce ) {

	.bc-faq__item summary::after {
		transition: none;
	}
}

/* Chat window: a launcher in a corner and a panel that grows from it. */

.bc-chat {
	--bc-chat-accent: var( --bc-sky-deep );
	--bc-chat-offset: var( --bc-space-5 );
	position: fixed;
	bottom: var( --bc-chat-offset );
	z-index: var( --bc-z-chat );
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var( --bc-space-3 );
	font-family: var( --bc-font-body );
}

.bc-chat--right {
	right: var( --bc-chat-offset );
}

.bc-chat--left {
	left: var( --bc-chat-offset );
	align-items: flex-start;
}

.bc-chat[hidden] {
	display: none;
}

/* In the editor the window sits in the flow, open, so it can be edited. */
.bc-chat--editing {
	position: static;
}

.bc-chat__launcher {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: var( --bc-space-2 );
	min-height: 56px;
	padding: 0 var( --bc-space-5 );
	border-radius: var( --bc-radius-pill );
	background: var( --bc-chat-accent );
	box-shadow: var( --bc-shadow-2 );
	border: 0;
	color: var( --bc-paper );
	font-family: inherit;
	font-size: var( --bc-text-base );
	font-weight: var( --bc-weight-semibold );
	text-decoration: none;
	cursor: pointer;
	transition: transform var( --bc-duration ) var( --bc-ease );
}

button.bc-chat__launcher:hover,
button.bc-chat__launcher:focus-visible {
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
	transform: translateY( -2px );
}

.bc-chat__launcher--icon {
	justify-content: center;
	width: 56px;
	padding: 0;
}

.bc-chat__launcher .bc-icon {
	width: 24px;
	height: 24px;
}

/* Three soft rings on arrival, then still. */
.bc-chat__launcher::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	animation: bc-chat-pulse 2.4s var( --bc-ease ) 1s 3;
	pointer-events: none;
}

.bc-chat.is-open .bc-chat__launcher::after {
	animation: none;
}

@keyframes bc-chat-pulse {

	0% {
		opacity: 0.6;
		box-shadow: 0 0 0 0 var( --bc-chat-accent );
	}

	100% {
		opacity: 0;
		box-shadow: 0 0 0 16px var( --bc-chat-accent );
	}
}

.bc-chat__panel {
	display: flex;
	flex-direction: column;
	width: min( 360px, calc( 100vw - 2 * var( --bc-chat-offset ) ) );
	max-height: calc( 100vh - 140px );
	overflow: hidden;
	border-radius: var( --bc-radius-3 );
	background: var( --bc-paper );
	box-shadow: var( --bc-shadow-2 );
	opacity: 0;
	transform: translateY( var( --bc-space-4 ) ) scale( 0.94 );
	transform-origin: bottom right;
	transition: opacity var( --bc-duration ) var( --bc-ease ), transform var( --bc-duration ) var( --bc-ease );
}

.bc-chat__panel[hidden] {
	display: none;
}

.bc-chat--left .bc-chat__panel {
	transform-origin: bottom left;
}

.bc-chat.is-open .bc-chat__panel {
	opacity: 1;
	transform: none;
}

.bc-chat__head {
	display: flex;
	align-items: center;
	gap: var( --bc-space-3 );
	padding: var( --bc-space-4 );
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
}

.bc-chat__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.18 );
}

.bc-chat__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bc-chat__avatar .bc-icon {
	width: 20px;
	height: 20px;
}

.bc-chat__who {
	display: flex;
	flex: 1;
	flex-direction: column;
	line-height: var( --bc-leading-snug );
}

.bc-chat__who strong {
	font-size: var( --bc-text-base );
	font-weight: var( --bc-weight-semibold );
}

.bc-chat__who span {
	font-size: var( --bc-text-xs );
	opacity: 0.9;
}

.bc-chat .bc-chat__close {
	display: inline-flex;
	padding: var( --bc-space-2 );
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.bc-chat .bc-chat__close:hover,
.bc-chat .bc-chat__close:focus-visible {
	background: rgba( 255, 255, 255, 0.18 );
	color: inherit;
}

.bc-chat__close .bc-icon {
	width: 18px;
	height: 18px;
}

.bc-chat__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var( --bc-space-3 );
	padding: var( --bc-space-4 );
	overflow-y: auto;
	background: var( --bc-paper-soft );
}

.bc-chat__bubble {
	max-width: 90%;
	margin: 0;
	padding: var( --bc-space-3 ) var( --bc-space-4 );
	border-radius: var( --bc-radius-2 ) var( --bc-radius-2 ) var( --bc-radius-2 ) var( --bc-space-1 );
	background: var( --bc-paper );
	box-shadow: var( --bc-shadow-1 );
	color: var( --bc-ink );
	font-size: var( --bc-text-sm );
	line-height: var( --bc-leading-normal );
}

.bc-chat__typing {
	display: none;
	gap: var( --bc-space-1 );
	padding: var( --bc-space-3 ) var( --bc-space-4 );
	border-radius: var( --bc-radius-2 );
	background: var( --bc-paper );
	box-shadow: var( --bc-shadow-1 );
}

.bc-chat__typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var( --bc-ink-mute );
	animation: bc-chat-typing 1s var( --bc-ease ) infinite;
}

.bc-chat__typing i:nth-child( 2 ) {
	animation-delay: 150ms;
}

.bc-chat__typing i:nth-child( 3 ) {
	animation-delay: 300ms;
}

@keyframes bc-chat-typing {

	0%,
	100% {
		opacity: 0.3;
		transform: translateY( 0 );
	}

	50% {
		opacity: 1;
		transform: translateY( -3px );
	}
}

/* The greeting arrives after a moment of "typing"; the suggestions follow it. */
.bc-chat.is-typing .bc-chat__typing,
.bc-chat.is-waiting .bc-chat__typing {
	display: inline-flex;
}

.bc-chat.is-typing .bc-chat__bubble {
	display: none;
}

.bc-chat:not( .bc-chat--editing ) .bc-chat__bubble,
.bc-chat:not( .bc-chat--editing ) .bc-chat__chip {
	opacity: 0;
	transform: translateY( var( --bc-space-2 ) );
	transition: opacity var( --bc-duration ) var( --bc-ease ), transform var( --bc-duration ) var( --bc-ease );
}

.bc-chat.is-greeted .bc-chat__bubble,
.bc-chat.is-greeted .bc-chat__chip {
	opacity: 1;
	transform: none;
}

.bc-chat.is-greeted .bc-chat__chip:nth-child( 1 ) {
	transition-delay: 150ms;
}

.bc-chat.is-greeted .bc-chat__chip:nth-child( 2 ) {
	transition-delay: 250ms;
}

.bc-chat.is-greeted .bc-chat__chip:nth-child( n + 3 ) {
	transition-delay: 350ms;
}

.bc-chat__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var( --bc-space-2 );
}

.bc-chat .bc-chat__chip {
	padding: var( --bc-space-2 ) var( --bc-space-3 );
	border: 1px solid var( --bc-chat-accent );
	border-radius: var( --bc-radius-pill );
	background: var( --bc-paper );
	color: var( --bc-chat-accent );
	font-family: var( --bc-font-body );
	font-size: var( --bc-text-sm );
	font-weight: var( --bc-weight-medium );
	line-height: var( --bc-leading-snug );
	text-align: left;
	white-space: normal;
	cursor: pointer;
}

.bc-chat .bc-chat__chip:hover,
.bc-chat .bc-chat__chip:focus-visible {
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
}

.bc-chat__form {
	display: flex;
	align-items: flex-end;
	gap: var( --bc-space-2 );
	margin: 0;
	padding: var( --bc-space-3 );
	border-top: 1px solid var( --bc-paper-rule-2 );
}

.bc-chat__form textarea {
	flex: 1;
	min-height: 44px;
	max-height: 120px;
	padding: var( --bc-space-2 ) var( --bc-space-3 );
	border: 1px solid var( --bc-paper-rule );
	border-radius: var( --bc-radius-2 );
	color: var( --bc-ink );
	font: inherit;
	font-size: var( --bc-text-sm );
	resize: none;
}

.bc-chat__form textarea:focus {
	border-color: var( --bc-chat-accent );
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px var( --bc-sky-wash );
}

.bc-chat .bc-chat__send {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
	cursor: pointer;
	transition: transform var( --bc-duration-fast ) var( --bc-ease );
}

.bc-chat .bc-chat__send:hover,
.bc-chat .bc-chat__send:focus-visible {
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
	transform: scale( 1.06 );
}

.bc-chat__send .bc-icon {
	width: 20px;
	height: 20px;
}

.bc-chat__note {
	margin: 0;
	padding: 0 var( --bc-space-4 ) var( --bc-space-3 );
	color: var( --bc-ink-mute );
	font-size: var( --bc-text-xs );
	line-height: var( --bc-leading-snug );
}

.bc-chat__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset( 50% );
	white-space: nowrap;
}

/* The conversation: the visitor on the right, in the accent; the team on the left. */
.bc-chat__thread {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var( --bc-space-3 );
	width: 100%;
}

.bc-chat__thread:empty {
	display: none;
}

.bc-chat__thread .bc-chat__bubble {
	display: flex;
	flex-direction: column;
	gap: var( --bc-space-2 );
	opacity: 1;
	transform: none;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.bc-chat__thread .bc-chat__bubble--visitor {
	align-self: flex-end;
	border-radius: var( --bc-radius-2 ) var( --bc-radius-2 ) var( --bc-space-1 ) var( --bc-radius-2 );
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
}

.bc-chat__bubble.is-pending {
	opacity: 0.7;
}

.bc-chat .bc-chat__action {
	align-self: flex-start;
	padding: var( --bc-space-2 ) var( --bc-space-4 );
	border-radius: var( --bc-radius-pill );
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
	font-weight: var( --bc-weight-semibold );
	text-decoration: none;
}

.bc-chat .bc-chat__action:hover,
.bc-chat .bc-chat__action:focus-visible {
	color: var( --bc-paper );
	filter: brightness( 0.92 );
}

.bc-chat__image {
	display: block;
	width: 100%;
	max-height: 200px;
	border-radius: var( --bc-radius-1 );
	object-fit: cover;
}

.bc-chat__options {
	display: flex;
	flex-wrap: wrap;
	gap: var( --bc-space-2 );
}

/* Name, email and consent, once, in place of the message box. */
.bc-chat__start {
	display: flex;
	flex-direction: column;
	gap: var( --bc-space-2 );
	margin: 0;
	padding: var( --bc-space-3 ) var( --bc-space-4 );
	border-top: 1px solid var( --bc-paper-rule-2 );
	overflow-y: auto;
}

.bc-chat__start[hidden],
.bc-chat__form[hidden],
.bc-chat__error[hidden] {
	display: none;
}

.bc-chat__intro,
.bc-chat__field,
.bc-chat__consent {
	margin: 0;
	color: var( --bc-ink-soft );
	font-size: var( --bc-text-sm );
	line-height: var( --bc-leading-snug );
}

.bc-chat__field label {
	display: block;
	margin-bottom: var( --bc-space-1 );
	color: var( --bc-ink );
	font-weight: var( --bc-weight-semibold );
}

.bc-chat__field input {
	width: 100%;
	padding: var( --bc-space-2 ) var( --bc-space-3 );
	border: 1px solid var( --bc-paper-rule );
	border-radius: var( --bc-radius-2 );
	color: var( --bc-ink );
	font: inherit;
}

.bc-chat__field input:focus {
	border-color: var( --bc-chat-accent );
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px var( --bc-sky-wash );
}

.bc-chat__consent {
	font-size: var( --bc-text-xs );
}

.bc-chat__consent label {
	display: inline;
}

.bc-chat .bc-chat__begin {
	padding: var( --bc-space-3 ) var( --bc-space-4 );
	border: 0;
	border-radius: var( --bc-radius-pill );
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
	font-family: inherit;
	font-weight: var( --bc-weight-semibold );
	cursor: pointer;
}

.bc-chat .bc-chat__begin:hover,
.bc-chat .bc-chat__begin:focus-visible {
	background: var( --bc-chat-accent );
	color: var( --bc-paper );
	filter: brightness( 0.92 );
}

.bc-chat__error {
	margin: 0;
	padding: 0 var( --bc-space-4 ) var( --bc-space-2 );
	color: var( --bc-danger );
	font-size: var( --bc-text-xs );
}

/*
 * The cookie notice sits bottom left. A chat window in the same corner, or any
 * chat window on a phone, where the notice spans the width, waits for it.
 */
body:has( .bc-cookies:not( [hidden] ) ) .bc-chat--left:not( .bc-chat--editing ) {
	display: none;
}

@media ( max-width: 600px ) {

	body:has( .bc-cookies:not( [hidden] ) ) .bc-chat:not( .bc-chat--editing ) {
		display: none;
	}
}

/* On a phone the launcher is the icon alone, out of the way of the content. */
@media ( max-width: 767px ) {

	.bc-chat__launcher {
		justify-content: center;
		width: 56px;
		padding: 0;
	}

	.bc-chat__launcher span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset( 50% );
		white-space: nowrap;
	}
}

@media ( prefers-reduced-motion: reduce ) {

	.bc-chat__launcher,
	.bc-chat__panel,
	.bc-chat__send,
	.bc-chat:not( .bc-chat--editing ) .bc-chat__bubble,
	.bc-chat:not( .bc-chat--editing ) .bc-chat__chip {
		transition: none;
	}

	.bc-chat__launcher::after,
	.bc-chat__typing i {
		animation: none;
	}
}
