:root {
	--re-primary: #198754; /* Green shade from mockup */
	--re-dark: #1e293b;
	--re-gray: #f8f9fa;
	--re-border: #e2e8f0;
	--re-text: #475569;
	--re-text-light: #94a3b8;
	--re-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.re-property-single-wrapper {
	all: revert;
	font-family: var(--re-font);
	color: var(--re-text);
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	background: #fdfdfd;
}

.re-property-single-wrapper * {
	box-sizing: border-box;
}

/* Hide Theme Elements on Property Page */
body.single-re_property .pxl-item--meta,
body.single-re_property .pxl-blog-meta,
body.single-re_property #pxl-page-title-elementor {
	display: none !important;
}

/* Breadcrumbs */
.re-breadcrumbs {
	font-size: 13px;
	color: var(--re-text-light);
	margin-bottom: 20px;
}

/* Gallery */
.re-gallery-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 15px;
	margin-bottom: 30px;
	border-radius: 12px;
	overflow: hidden;
}
.re-gallery-main {
	position: relative;
	height: 400px;
}
.re-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.re-badges {
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	gap: 10px;
}
.re-badge {
	padding: 6px 12px;
	font-size: 11px;
	font-weight: bold;
	border-radius: 4px;
	text-transform: uppercase;
}
.re-badge-green { background: var(--re-primary); color: #fff; }
.re-badge-dark { background: rgba(0,0,0,0.6); color: #fff; backdrop-filter: blur(4px); }

.re-gallery-side {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.re-gallery-side img {
	width: 100%;
	height: 192.5px;
	object-fit: cover;
}
.re-gallery-more {
	position: relative;
}
.re-gallery-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.5);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

/* Layout */
.re-property-content-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 40px;
}
@media (max-width: 991px) {
	.re-property-content-layout {
		grid-template-columns: 1fr;
	}
	.re-gallery-grid {
		grid-template-columns: 1fr;
	}
}

/* Main Column */
.re-property-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--re-dark);
	margin: 0 0 10px 0;
	line-height: 1.3;
}
.re-property-location {
	color: var(--re-text-light);
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 20px;
}
.re-property-price-wrap {
	display: flex;
	align-items: baseline;
	gap: 15px;
	margin-bottom: 30px;
}
.re-price {
	font-size: 32px;
	font-weight: 700;
	color: var(--re-dark);
}
.re-price-sqft {
	font-size: 12px;
	color: var(--re-text-light);
	line-height: 1.2;
}

/* Quick Specs */
.re-quick-specs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	padding: 20px 0;
	border-top: 1px solid var(--re-border);
	border-bottom: 1px solid var(--re-border);
	margin-bottom: 40px;
}
.re-spec-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.re-spec-label {
	font-size: 10px;
	text-transform: uppercase;
	color: var(--re-text-light);
	font-weight: 600;
	letter-spacing: 0.5px;
}
.re-spec-val {
	font-size: 15px;
	font-weight: 600;
	color: var(--re-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}
.re-spec-val svg {
	color: var(--re-primary);
}

/* Sections */
.re-section-box {
	background: #fff;
	border: 1px solid var(--re-border);
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 30px;
}
.re-section-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--re-dark);
	margin: 0 0 25px 0;
}

/* Key Details Grid */
.re-key-details-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.re-kd-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.re-kd-label {
	font-size: 13px;
	color: var(--re-text-light);
}
.re-kd-val {
	font-weight: 600;
	color: var(--re-dark);
}

/* Description */
.re-description-content {
	font-size: 15px;
	line-height: 1.6;
}
.re-description-content p {
	margin-bottom: 15px;
}

/* Amenities */
.re-amenities-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}
.re-amenity-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 10px;
	background: var(--re-gray);
	border-radius: 8px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--re-dark);
}
.re-amenity-icon {
	width: 26px;
	height: 26px;
	color: var(--re-text-light);
	margin-bottom: 10px;
}
.re-amenity-icon svg,
.re-amenity-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Sidebar */
.re-property-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.re-widget-card {
	background: #fff;
	border: 1px solid var(--re-border);
	border-radius: 12px;
	padding: 25px;
}
.re-bg-dark {
	background: var(--re-dark);
	border-color: var(--re-dark);
}
.text-white { color: #fff !important; }

.re-agent-info {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}
.re-agent-info img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}
.re-agent-details h4 {
	margin: 0 0 5px 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--re-dark);
}
.re-agent-details p {
	margin: 0;
	font-size: 13px;
	color: var(--re-text-light);
}

.re-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 12px 20px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	border: 1px solid transparent !important;
	transition: all 0.3s !important;
	text-decoration: none !important;
	height: auto !important;
	line-height: 1 !important;
	min-width: 0 !important;
	max-width: 100% !important;
	box-shadow: none !important;
}
.re-btn-full { width: 100% !important; }
.re-btn-primary {
	background: var(--re-primary) !important;
	color: #fff !important;
}
.re-btn-primary:hover { opacity: 0.9 !important; }
.re-btn-outline {
	background: transparent !important;
	border-color: var(--re-border) !important;
	color: var(--re-dark) !important;
}
.re-bg-dark .re-btn-outline {
	border-color: rgba(255,255,255,0.2) !important;
	color: #fff !important;
}
.re-btn-whatsapp {
	background: #dcf8c6 !important;
	color: #075e54 !important;
	border-color: #dcf8c6 !important;
}

.re-btn-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

/* Properties Grid / Cards (used by [re_properties] and [re_featured]) */
.re-properties-grid {
	display: grid;
	gap: 24px;
	font-family: var(--re-font);
}
@media (max-width: 900px) {
	.re-properties-grid { grid-template-columns: 1fr !important; }
}
.re-property-card {
	background: #fff;
	border: 1px solid var(--re-border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex !important;
	flex-direction: column !important;
	height: 100%;
}
.re-property-card:hover {
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}
.re-card-img {
	position: relative;
	height: 210px !important;
	max-height: 210px !important;
	min-height: 210px !important;
	flex: 0 0 210px !important;
	overflow: hidden !important;
}
.re-card-img a {
	display: block;
	width: 100%;
	height: 100%;
}
.re-card-img img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}
.re-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #dc3545;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 5px 10px;
	border-radius: 4px;
	z-index: 1;
}
.re-card-content {
	padding: 18px !important;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.re-card-title {
	margin: 0 0 4px 0 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	min-height: 1.3em;
}
.re-card-title a {
	color: var(--re-dark) !important;
	text-decoration: none !important;
}
.re-card-title a:hover { color: var(--re-primary) !important; }
.re-card-location {
	margin: 0 0 14px 0 !important;
	font-size: 13px !important;
	color: var(--re-text-light) !important;
}
.re-card-price {
	font-size: 17px;
	font-weight: 700;
	color: var(--re-primary);
	margin-bottom: 12px;
}
.re-card-price-muted {
	font-size: 14px;
	font-weight: 600;
	color: var(--re-text-light);
	font-style: italic;
}
.re-card-meta {
	display: flex;
	flex-wrap: wrap;
	row-gap: 8px;
	column-gap: 16px;
}
.re-card-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--re-text);
}
.re-meta-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--re-primary);
}
.re-no-properties {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--re-text-light);
	padding: 40px 0;
}

/* Financial */
.re-widget-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 20px 0;
	color: var(--re-dark);
}
.re-finance-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.re-finance-list li {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	font-size: 14px;
	color: rgba(255,255,255,0.8);
}
.re-finance-list li:last-child {
	border-bottom: none;
}
.re-finance-list li span:last-child {
	font-weight: 600;
	color: #fff;
}
.re-total {
	margin-top: 10px;
	padding-top: 20px !important;
	border-top: 1px solid rgba(255,255,255,0.2);
}
.re-total span { font-size: 16px; }
.re-text-green { color: var(--re-primary) !important; }
.mt-10 { margin-top: 15px; }
