/* =========================================================
   Chandel Realty — Single Property Page
   ========================================================= */

.cr-single-property {
	--cr-navy: #10243e;
	--cr-navy-dark: #09192d;
	--cr-gold: #c6943d;
	--cr-gold-light: #f3e4c5;
	--cr-ivory: #f8f5ef;
	--cr-white: #ffffff;
	--cr-text: #273444;
	--cr-muted: #687386;
	--cr-border: #e5e1d8;
	--cr-green: #198754;

	background: var(--cr-ivory);
	color: var(--cr-text);
}

.cr-property-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

/* Property heading */

.cr-property-hero {
	padding: 48px 0 42px;
	background:
		linear-gradient(
			135deg,
			var(--cr-navy-dark),
			var(--cr-navy)
		);
	color: var(--cr-white);
}

.cr-property-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 28px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13px;
}

.cr-property-breadcrumb a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

.cr-property-breadcrumb a:hover {
	color: var(--cr-gold-light);
}

.cr-property-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 36px;
}

.cr-property-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 17px;
}

.cr-property-tag {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--cr-white);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.7px;
}

.cr-property-tag--gold {
	border-color: var(--cr-gold);
	background: var(--cr-gold);
	color: var(--cr-navy-dark);
}

.cr-property-hero h1 {
	max-width: 780px;
	margin: 0;
	color: var(--cr-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 4.5vw, 61px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -1px;
}

.cr-property-developer {
	margin: 14px 0 0;
	color: var(--cr-gold-light);
	font-size: 17px;
	font-weight: 600;
}

.cr-property-location {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	max-width: 700px;
	margin: 15px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
	line-height: 1.6;
}

.cr-property-location span {
	margin-top: 2px;
	color: var(--cr-gold);
	font-size: 10px;
}

.cr-property-price {
	min-width: 230px;
	padding: 20px 24px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
}

.cr-property-price span,
.cr-property-price strong {
	display: block;
}

.cr-property-price span {
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.7px;
}

.cr-property-price strong {
	color: var(--cr-gold-light);
	font-size: 25px;
	line-height: 1.25;
}

/* Main page layout */

.cr-property-main {
	padding: 62px 0 80px;
}

.cr-property-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	align-items: start;
	gap: 34px;
}

.cr-property-content {
	min-width: 0;
}

/* Image gallery */

.cr-property-gallery {
	margin-bottom: 34px;
	padding: 10px;
	border: 1px solid var(--cr-border);
	border-radius: 18px;
	background: var(--cr-white);
	box-shadow: 0 12px 35px rgba(16, 36, 62, 0.08);
}

.cr-property-main-image {
	height: 510px;
	overflow: hidden;
	border-radius: 12px;
	background: #ece8df;
}

.cr-property-main-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.cr-property-thumbnails {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 9px;
	margin-top: 10px;
}

.cr-property-thumbnail {
	height: 78px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #ece8df;
	cursor: pointer;
	opacity: 0.72;
	transition:
		border-color 0.2s ease,
		opacity 0.2s ease,
		transform 0.2s ease;
}

.cr-property-thumbnail:hover,
.cr-property-thumbnail.is-active {
	border-color: var(--cr-gold);
	opacity: 1;
	transform: translateY(-2px);
}

.cr-property-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content sections */

.cr-property-section {
	margin-bottom: 28px;
	padding: 32px;
	border: 1px solid var(--cr-border);
	border-radius: 16px;
	background: var(--cr-white);
	box-shadow: 0 8px 26px rgba(16, 36, 62, 0.045);
}

.cr-property-section:last-child {
	margin-bottom: 0;
}

.cr-property-section h2 {
	position: relative;
	margin: 0 0 25px;
	padding-bottom: 14px;
	color: var(--cr-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(25px, 3vw, 32px);
	font-weight: 500;
	line-height: 1.2;
}

.cr-property-section h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 52px;
	height: 3px;
	border-radius: 5px;
	background: var(--cr-gold);
	content: "";
}

/* Property overview */

.cr-property-overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.cr-overview-item {
	min-height: 94px;
	padding: 18px;
	border: 1px solid #ebe7df;
	border-radius: 11px;
	background: #fbfaf7;
}

.cr-overview-item span,
.cr-overview-item strong {
	display: block;
}

.cr-overview-item span {
	margin-bottom: 7px;
	color: var(--cr-muted);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.cr-overview-item strong {
	color: var(--cr-navy);
	font-size: 16px;
	line-height: 1.45;
}

/* Property description */

.cr-property-entry-content {
	color: #4b5666;
	font-size: 16px;
	line-height: 1.85;
}

.cr-property-entry-content > *:first-child {
	margin-top: 0;
}

.cr-property-entry-content > *:last-child {
	margin-bottom: 0;
}

.cr-property-entry-content h2,
.cr-property-entry-content h3,
.cr-property-entry-content h4 {
	padding: 0;
	color: var(--cr-navy);
	font-family: inherit;
}

.cr-property-entry-content h2::after,
.cr-property-entry-content h3::after,
.cr-property-entry-content h4::after {
	display: none;
}

/* Highlights and amenities */

.cr-property-feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-property-feature-list li,
.cr-amenity-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #495564;
	line-height: 1.55;
}

.cr-property-feature-list li span,
.cr-amenity-item span {
	display: inline-flex;
	flex: 0 0 23px;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--cr-gold-light);
	color: #805e21;
	font-size: 12px;
	font-weight: 800;
}

.cr-property-amenities {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
}

.cr-amenity-item {
	padding: 16px;
	border: 1px solid #ebe7df;
	border-radius: 10px;
	background: #fbfaf7;
}

/* Video */

.cr-property-video {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	background: #000;
}

.cr-property-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Location */

.cr-property-address {
	margin: 0 0 20px;
	color: #4b5666;
	font-size: 16px;
	line-height: 1.7;
}

.cr-property-map-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid var(--cr-navy);
	border-radius: 7px;
	color: var(--cr-navy);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.cr-property-map-button:hover {
	background: var(--cr-navy);
	color: var(--cr-white);
}

/* Sidebar */

.cr-property-sidebar {
	position: sticky;
	top: 110px;
}

.cr-property-enquiry-card,
.cr-property-trust-card {
	border-radius: 16px;
	background: var(--cr-white);
	box-shadow: 0 12px 36px rgba(16, 36, 62, 0.1);
}

.cr-property-enquiry-card {
	padding: 30px;
	border-top: 4px solid var(--cr-gold);
}

.cr-enquiry-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: var(--cr-gold);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.cr-property-enquiry-card h2 {
	margin: 0 0 13px;
	color: var(--cr-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 29px;
	font-weight: 500;
	line-height: 1.18;
}

.cr-property-enquiry-card p {
	margin: 0 0 22px;
	color: var(--cr-muted);
	font-size: 14px;
	line-height: 1.65;
}

.cr-property-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin-top: 10px;
	padding: 12px 15px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
}

.cr-property-button:hover {
	transform: translateY(-2px);
}

.cr-property-button--primary {
	background: var(--cr-navy);
	color: var(--cr-white);
}

.cr-property-button--primary:hover {
	background: var(--cr-navy-dark);
	color: var(--cr-white);
}

.cr-property-button--whatsapp {
	background: var(--cr-green);
	color: var(--cr-white);
}

.cr-property-button--whatsapp:hover {
	background: #126c42;
	color: var(--cr-white);
}

.cr-property-button--outline {
	border-color: var(--cr-navy);
	background: transparent;
	color: var(--cr-navy);
}

.cr-property-button--outline:hover {
	background: var(--cr-navy);
	color: var(--cr-white);
}

.cr-property-brochure {
	display: block;
	margin-top: 20px;
	padding-top: 19px;
	border-top: 1px solid var(--cr-border);
	color: var(--cr-navy);
	font-size: 13px;
	font-weight: 750;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cr-property-brochure:hover {
	color: var(--cr-gold);
}

.cr-property-trust-card {
	margin-top: 20px;
	padding: 25px 27px;
	background: var(--cr-navy);
	color: var(--cr-white);
}

.cr-property-trust-card strong {
	display: block;
	margin-bottom: 13px;
	color: var(--cr-gold-light);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 500;
}

.cr-property-trust-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cr-property-trust-card li {
	position: relative;
	margin-top: 9px;
	padding-left: 18px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	line-height: 1.5;
}

.cr-property-trust-card li::before {
	position: absolute;
	top: 8px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cr-gold);
	content: "";
}

/* Tablet */

@media (max-width: 1024px) {
	.cr-property-layout {
		grid-template-columns: minmax(0, 1fr) 310px;
		gap: 25px;
	}

	.cr-property-main-image {
		height: 430px;
	}

	.cr-property-overview,
	.cr-property-amenities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cr-property-section {
		padding: 27px;
	}
}

/* Mobile */

@media (max-width: 820px) {
	.cr-property-hero {
		padding: 38px 0;
	}

	.cr-property-hero__grid,
	.cr-property-layout {
		grid-template-columns: 1fr;
	}

	.cr-property-hero__grid {
		align-items: start;
		gap: 25px;
	}

	.cr-property-price {
		width: 100%;
		min-width: 0;
	}

	.cr-property-sidebar {
		position: static;
	}

	.cr-property-main {
		padding: 40px 0 60px;
	}

	.cr-property-main-image {
		height: 410px;
	}
}

@media (max-width: 600px) {
	.cr-property-container {
		width: min(100% - 28px, 1180px);
	}

	.cr-property-hero {
		padding: 29px 0 32px;
	}

	.cr-property-breadcrumb {
		margin-bottom: 21px;
		font-size: 12px;
	}

	.cr-property-hero h1 {
		font-size: 35px;
		letter-spacing: -0.4px;
	}

	.cr-property-developer {
		font-size: 15px;
	}

	.cr-property-main {
		padding: 28px 0 48px;
	}

	.cr-property-gallery {
		padding: 7px;
		border-radius: 13px;
	}

	.cr-property-main-image {
		height: 290px;
		border-radius: 9px;
	}

	.cr-property-thumbnails {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 7px;
	}

	.cr-property-thumbnail {
		height: 67px;
	}

	.cr-property-section {
		margin-bottom: 18px;
		padding: 22px 19px;
		border-radius: 12px;
	}

	.cr-property-section h2 {
		margin-bottom: 20px;
		font-size: 25px;
	}

	.cr-property-overview,
	.cr-property-feature-list,
	.cr-property-amenities {
		grid-template-columns: 1fr;
	}

	.cr-overview-item {
		min-height: auto;
		padding: 15px;
	}

	.cr-property-enquiry-card {
		padding: 25px 21px;
	}

	.cr-property-trust-card {
		padding: 23px 21px;
	}
}