@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

.bao-single-piso-wrap {
	max-width: 1220px;
	margin: 44px auto;
	padding: 0 20px;
	font-family: "Manrope", "Segoe UI", sans-serif;
}

.bao-single-piso {
	background: #fff;
	border-radius: 24px;
	border: 1px solid #dce4ee;
	box-shadow: 0 18px 44px rgba(13, 35, 63, 0.1);
	padding: 28px;
}

.bao-back-link {
	display: inline-flex;
	align-items: center;
	margin-bottom: 18px;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #2b5f92;
	text-decoration: none;
}

.bao-single-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 28px;
	align-items: start;
}

.bao-single-media img {
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: cover;
	border-radius: 18px;
	display: block;
}

.bao-lightbox-trigger {
	display: block;
}

.bao-single-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.bao-single-gallery a {
	display: block;
}

.bao-single-gallery img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid #dce4ee;
}

.bao-single-no-image {
	background: #eef3fa;
	border-radius: 18px;
	border: 1px dashed #cdd7e4;
	padding: 40px 16px;
	text-align: center;
	font-weight: 700;
	color: #5d6b7c;
}

.bao-single-summary h1 {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2rem, 4vw, 2.7rem);
	line-height: 1.05;
	color: #1c2737;
}

.bao-single-price {
	margin: 14px 0 16px;
	font-size: 2rem;
	font-weight: 800;
	color: #1f4a74;
}

.bao-single-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.bao-single-highlights li {
	padding: 7px 12px;
	border-radius: 999px;
	background: #eef5ff;
	color: #234f78;
	font-size: 0.88rem;
	font-weight: 700;
}

.bao-single-details {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
}

.bao-single-details div {
	padding: 12px;
	border-radius: 12px;
	border: 1px solid #dce4ee;
	background: #f9fbfe;
}

.bao-single-details dt {
	margin: 0 0 4px;
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #66768a;
}

.bao-single-details dd {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1f2d40;
}

.bao-single-content {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #e3e9f1;
	color: #2e3a4c;
	line-height: 1.7;
}

.bao-lightbox-open {
	overflow: hidden;
}

.bao-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	background: rgba(10, 15, 23, 0.9);
	padding: 24px;
}

.bao-lightbox[hidden] {
	display: none;
}

.bao-lightbox-image {
	max-width: min(1200px, 92vw);
	max-height: 86vh;
	border-radius: 12px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.bao-lightbox-close,
.bao-lightbox-prev,
.bao-lightbox-next {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
}

.bao-lightbox-close {
	top: 16px;
	right: 16px;
}

.bao-lightbox-prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.bao-lightbox-next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 960px) {
	.bao-single-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.bao-single-piso-wrap {
		margin: 28px auto;
		padding: 0 14px;
	}

	.bao-single-piso {
		padding: 16px;
		border-radius: 18px;
	}

	.bao-single-details {
		grid-template-columns: 1fr;
	}

	.bao-single-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
