/* LOTP Core — los colores salen de variables que define el child theme. */
:root {
	--lotp-negro: #211f20;
	--lotp-dorado: #d0a862;
	--lotp-dorado-osc: #b08a45;
	--lotp-texto: #2b2b2b;
	--lotp-gris: #6b6b6b;
	--lotp-radio: 6px;
	--lotp-wa: #25d366;
}

/* Grilla de destacadas */
.lotp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 0 0 2em;
}

.lotp-card {
	background: #fff;
	border: 1px solid #ece7dd;
	border-radius: var(--lotp-radio);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}
.lotp-card:hover {
	box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}
.lotp-card__img {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--lotp-negro);
}
.lotp-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lotp-card__sin-foto {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--lotp-dorado);
	font-size: .9em;
}
.lotp-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--lotp-negro);
	color: var(--lotp-dorado);
	font-size: .75em;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 3px;
}
.lotp-card__body {
	padding: 16px 18px 18px;
}
.lotp-card__precio {
	color: var(--lotp-dorado-osc);
	font-weight: 700;
	font-size: 1.25em;
	margin: 0 0 4px;
}
.lotp-card__titulo {
	font-size: 1.05em;
	margin: 0 0 4px;
	line-height: 1.3;
}
.lotp-card__titulo a {
	color: var(--lotp-texto);
	text-decoration: none;
}
.lotp-card__ubicacion {
	color: var(--lotp-gris);
	font-size: .9em;
	margin: 0 0 10px;
}
.lotp-card__datos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	list-style: none;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px solid #f0ece4;
	font-size: .85em;
	color: var(--lotp-gris);
}

/* Botón WhatsApp en la ficha */
.lotp-ficha-cta {
	margin: 1.5em 0;
}
.lotp-btn-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--lotp-wa);
	color: #fff !important;
	font-weight: 600;
	padding: 12px 22px;
	border-radius: 999px;
	text-decoration: none;
}
.lotp-btn-wa:hover {
	filter: brightness(.95);
}

/* Botón flotante */
.lotp-wa-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	background: var(--lotp-wa);
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.lotp-wa-float .lotp-wa-icon {
	width: 30px;
	height: 30px;
}

/* Tour 360 */
.lotp-tour {
	margin: 2em 0;
}
.lotp-tour__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--lotp-radio);
	overflow: hidden;
	background: var(--lotp-negro);
}
.lotp-tour__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 600px) {
	.lotp-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.lotp-tour__frame {
		aspect-ratio: 4 / 3;
	}
	.lotp-btn-wa {
		width: 100%;
		justify-content: center;
	}
}
