/* Vida Costera — Tours 360: visor público standalone + embed en ficha. */

/* ── Página standalone /tours/{slug}/ ────────────────────────────── */
body.vc-tour-page {
	margin: 0;
	background: #10121c;
	font-family: var(--vc-font-sans);
}

.vc-tour-stage {
	position: relative;
	width: 100%;
	height: 100vh;
	background: #10121c;
}
.vc-tour-stage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.vc-tour-pending {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #C8CCE6;
	font-size: 0.95rem;
	text-align: center;
	padding: 0 var(--vc-space-5);
}

/* ── Panel de información de la página standalone ────────────────────
 * Es el contenido que hace indexable /tours/{slug}/: título, descripción y
 * enlaces a la ficha. Va sobre el visor, no debajo, para que la página siga
 * cabiendo en una pantalla sin scroll.
 *
 * Dentro de un iframe (ficha, Portalinmobiliario) desaparece por completo:
 * ahí la URL es solo el visor. La clase la pone el <script> del <head>. */
.vc-tour-info {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	padding: var(--vc-space-4) var(--vc-space-4) var(--vc-space-4);
	color: #EEF0FA;
	background: linear-gradient( to top, rgba( 12, 14, 24, 0.96 ) 55%, rgba( 12, 14, 24, 0 ) );
	pointer-events: none; /* El gradiente superior no debe robar el arrastre del visor. */
}
.vc-tour-info > * {
	pointer-events: auto;
}
.vc-tour-embedded .vc-tour-info {
	display: none;
}

.vc-tour-info-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: var(--vc-space-2);
	padding: 0.35rem 0.75rem;
	font: inherit;
	font-size: 0.78rem;
	color: #EEF0FA;
	background: rgba( 255, 255, 255, 0.12 );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-radius: 999px;
	cursor: pointer;
	backdrop-filter: blur( 6px );
}
.vc-tour-info-toggle:hover {
	background: rgba( 255, 255, 255, 0.2 );
}
.vc-tour-info-caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform 0.15s ease;
}
.vc-tour-info.is-collapsed .vc-tour-info-caret {
	transform: rotate( 180deg );
}
.vc-tour-info.is-collapsed .vc-tour-info-body {
	display: none;
}
.vc-tour-info.is-collapsed {
	background: none;
}

.vc-tour-info-body {
	max-width: 46rem;
	max-height: 60vh;
	overflow-y: auto;
}

.vc-tour-crumbs {
	font-size: 0.76rem;
	color: rgba( 238, 240, 250, 0.72 );
	margin-bottom: 0.35rem;
}
.vc-tour-crumbs a {
	color: inherit;
	text-decoration: none;
}
.vc-tour-crumbs a:hover {
	text-decoration: underline;
}
.vc-tour-crumb-sep {
	margin: 0 0.35rem;
	opacity: 0.6;
}

.vc-tour-h1 {
	margin: 0 0 0.35rem;
	font-size: clamp( 1.05rem, 2.4vw, 1.4rem );
	line-height: 1.25;
	font-weight: 600;
	color: #fff;
}

.vc-tour-desc {
	margin: 0 0 0.6rem;
	font-size: 0.86rem;
	line-height: 1.5;
	color: rgba( 238, 240, 250, 0.85 );
}

.vc-tour-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.5rem;
	margin: 0 0 0.75rem;
	padding: 0;
	list-style: none;
	font-size: 0.78rem;
}
.vc-tour-facts li {
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.12 );
}

.vc-tour-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vc-space-3);
}
.vc-tour-cta {
	display: inline-block;
	padding: 0.5rem 1.1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #10121c;
	background: #fff;
	border-radius: var(--vc-radius-m, 8px);
	text-decoration: none;
}
.vc-tour-cta:hover {
	background: rgba( 255, 255, 255, 0.88 );
}
.vc-tour-alt {
	font-size: 0.82rem;
	color: rgba( 238, 240, 250, 0.85 );
	text-decoration: none;
}
.vc-tour-alt:hover {
	text-decoration: underline;
}

/* ── Embed dentro de la ficha de propiedad / shortcode ───────────── */
.vc-tour-embed {
	background: var(--vc-color-surface);
	border: 1px solid var(--vc-color-border);
	border-radius: var(--vc-radius-l);
	overflow: hidden;
	box-shadow: var(--vc-shadow-s);
}
.vc-tour-embed-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vc-space-3);
	padding: var(--vc-space-3) var(--vc-space-4);
	border-bottom: 1px solid var(--vc-color-border-soft);
}
.vc-tour-embed-head h3 {
	margin: 0;
	font-size: 1rem;
	color: var(--vc-color-primary-ink);
}
.vc-tour-embed-full {
	font-size: 0.82rem;
	color: var(--vc-color-primary);
	text-decoration: none;
	white-space: nowrap;
}
.vc-tour-embed-full:hover {
	text-decoration: underline;
}
.vc-tour-embed-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #10121c;
}
.vc-tour-embed-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

