/* Página de cada propiedad (propiedad.html) */
.prop { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; color: #081F54; }
.prop-cargando, .prop-error { text-align: center; padding: 60px 10px; font-size: 1.1rem; }
.prop-volver { display: inline-flex; align-items: center; gap: 8px; color: #007DC0; text-decoration: none; font-weight: bold; margin-bottom: 14px; }
.prop-cabecera { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.prop-etiqueta { display: inline-block; background: #081F54; color: #fff; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; }
.prop h1 { font-size: 1.8rem; margin: 10px 0 6px; line-height: 1.2; }
.prop-zona { margin: 0; color: #374151; display: flex; align-items: center; gap: 6px; }
.prop-precio { font-size: 1.7rem; font-weight: bold; color: #007DC0; white-space: nowrap; }

/* Galería */
.galeria { position: relative; border-radius: 12px; overflow: hidden; background: #0b1530; }
.galeria-pista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.galeria-pista::-webkit-scrollbar { display: none; }
.galeria-pista img { flex: 0 0 100%; width: 100%; height: 62vh; max-height: 620px; min-height: 260px; object-fit: contain; scroll-snap-align: center; background: #0b1530; }
.galeria-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.9); color: #081F54; font-size: 1.2rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.galeria-btn.ant { left: 12px; }
.galeria-btn.sig { right: 12px; }
.galeria-contador { position: absolute; bottom: 12px; right: 12px; background: rgba(8,31,84,0.85); color: #fff; font-size: 0.9rem; padding: 4px 10px; border-radius: 999px; }
.miniaturas { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.miniaturas button { flex: 0 0 auto; padding: 0; border: 3px solid transparent; border-radius: 8px; background: none; cursor: pointer; }
.miniaturas button.activa { border-color: #007DC0; }
.miniaturas img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 5px; }

/* Datos */
.prop-cuerpo { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; }
.prop-info { flex: 999 1 520px; min-width: 0; }
.prop-lateral { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.prop-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 18px; }
.prop-dato { background: #f3f6fb; border-radius: 10px; padding: 14px; }
.prop-dato span { display: block; font-size: 0.8rem; color: #4A5A7A; text-transform: uppercase; letter-spacing: 0.5px; }
.prop-dato strong { font-size: 1.15rem; }
.prop-info h2, .prop-mapa h2 { font-size: 1.25rem; margin: 0 0 8px; }
.prop-info p { line-height: 1.6; color: #1f2937; }
.prop-boton { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 10px; font-weight: bold; font-size: 1.05rem; text-decoration: none; color: #fff; background: #081F54; }
.prop-boton.wsp { background: #25D366; color: #08341A; }
.prop-boton.borde { background: #fff; color: #081F54; border: 2px solid #081F54; }
.prop-mapa { margin-top: 28px; }
.prop-mapa iframe { width: 100%; height: 380px; border: 0; border-radius: 12px; }
.prop-nota { font-size: 0.85rem; color: #4A5A7A; }

@media (max-width: 600px) {
	.prop h1 { font-size: 1.4rem; }
	.prop-precio { font-size: 1.4rem; }
	.galeria-pista img { height: 46vh; }
	.galeria-btn { width: 40px; height: 40px; }
	.prop-mapa iframe { height: 300px; }
}
.prop h1, .prop h2 { text-transform: none; text-align: left; }
.prop-info h2 { font-weight: bold; }
