/* ============================================================
   Saeed Design Kit — Essential Real Estate styling
   Re-themes ERE to the Saeed design system (navy / primary).
   Loaded only when ERE's own stylesheet is enqueued.
   ============================================================ */

/* ERE theme variables → Saeed palette */
:root {
	--ere-color-accent: #5758d6;
	--ere-color-accent-foreground: #ffffff;
	--ere-color-heading: #0b0d1d;
}

/* ---------- archive heading ---------- */

.ere-archive-property-wrap .ere-heading h2 {
	color: #0b0d1d;
	font-weight: 800;
	letter-spacing: -0.015em;
}

/* ---------- property cards ---------- */

.ere-property-wrap .property-inner {
	background: #fff;
	border: 1px solid #e8eaf3;
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ere-property-wrap .property-inner:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 48px -24px rgba(11, 13, 29, 0.25);
	border-color: #c9cbf5;
}

.ere-property-wrap .property-item-content {
	padding: 24px 22px;
}

.ere-property-wrap .property-title {
	font-size: 19px;
	font-weight: 750;
	line-height: 1.35;
	margin: 0 0 8px;
}

.ere-property-wrap .property-title a {
	color: #0b0d1d;
	text-decoration: none;
}

.ere-property-wrap .property-title a:hover {
	color: #5758d6;
}

.ere-property-wrap .property-price {
	color: #5758d6;
	font-weight: 800;
	font-size: 18px;
}

.ere-property-wrap .property-location {
	color: #5a6376;
	font-size: 14.5px;
}

/* ---------- honest empty state ---------- */

.ere-property-wrap .item-not-found,
.tab-content .item-not-found {
	max-width: 720px;
	margin: 24px auto;
	background: #fff;
	border: 1px dashed #c9cbf5;
	border-radius: 22px;
	padding: 56px 40px;
	text-align: center;
	font-size: 0; /* hide ERE's "No item found" text */
}

.ere-property-wrap .item-not-found::before,
.tab-content .item-not-found::before {
	content: "No properties listed yet.";
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: #0b0d1d;
	margin-bottom: 12px;
}

.ere-property-wrap .item-not-found::after,
.tab-content .item-not-found::after {
	content: "New listings are on the way. WhatsApp us your requirement and we'll find it — or list your own property below.";
	display: block;
	font-size: 16px;
	line-height: 1.7;
	color: #5a6376;
}

/* ---------- single property ---------- */

.ere-property-wrap.single-property-area {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.ere__single-property-title {
	color: #0b0d1d;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.2;
	margin: 0 0 10px;
}

.ere__single-property-header-info .property-price {
	font-size: 24px;
}

.single-property-element {
	background: #fff;
	border: 1px solid #e8eaf3;
	border-radius: 18px;
	padding: 34px 32px;
	margin-bottom: 24px;
}

.ere-heading-style2 h2 {
	color: #0b0d1d;
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eef0f8;
}

.single-property-area .property-gallery img,
.ere__single-property-gallery img {
	border-radius: 14px;
}

/* features list */
.single-property-element .ere-feature-list,
.property-features-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-property-element .ere-feature-list li,
.property-features-list li {
	padding-left: 28px;
	position: relative;
	font-size: 15.5px;
	line-height: 1.6;
}

.single-property-element .ere-feature-list li::before,
.property-features-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #1faa53;
	font-weight: 800;
}

/* contact agent card */
.property-contact-agent {
	background: linear-gradient(150deg, #0b0d1d, #1a1f4d);
	border: none;
}

.property-contact-agent .ere-heading-style2 h2 {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.14);
}

.property-contact-agent label,
.property-contact-agent p {
	color: rgba(255, 255, 255, 0.8);
}

.property-contact-agent input[type="text"],
.property-contact-agent input[type="email"],
.property-contact-agent input[type="tel"],
.property-contact-agent textarea {
	width: 100%;
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 12px 15px;
	font-size: 15px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.property-contact-agent input::placeholder,
.property-contact-agent textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

/* ERE buttons → pill style */
.ere-property-wrap .btn,
.ere-property-wrap button,
.ere-property-wrap input[type="submit"] {
	border-radius: 999px;
	font-weight: 700;
	padding: 12px 30px;
}

/* ---------- responsive ---------- */

@media (max-width: 768px) {
	.single-property-element {
		padding: 26px 20px;
	}

	.single-property-element .ere-feature-list,
	.property-features-list {
		grid-template-columns: 1fr 1fr;
	}

	.ere-property-wrap .item-not-found,
.tab-content .item-not-found {
		padding: 40px 24px;
	}
}

@media (max-width: 480px) {
	.single-property-element .ere-feature-list,
	.property-features-list {
		grid-template-columns: 1fr;
	}
}
