/* =========================================================
   Shared area filter
========================================================= */

.ez-area-filter {
	background: #f4f0e8;
	border-radius: 18px;
	padding: 0;
	min-height: 680px;
}

.ez-area-filter h3 {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1.3em;
	color: #b58219;
	margin: 0;
	padding-bottom: 5px;
}

.ez-filter-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ez-filter-group {
	margin: 0;
}

.ez-filter-group-title {
	width: 100%;
	background: transparent;
	text-align: left;
	font-size: 16px;
	font-weight: 800 !important;
	color: #232323 !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: default;
	border: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.ez-filter-group-title:hover,
.ez-filter-group-title:focus,
.ez-filter-group-title:focus-visible {
	background: transparent !important;
	color: #232323 !important;
	outline: none;
	box-shadow: none !important;
}

.ez-filter-arrow {
	display: none;
	transition: transform 0.2s ease;
}

.ez-filter-group-content {
	display: block;
}

.ez-filter-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 2px 10px;
	color: #232323;
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.ez-filter-item:hover {
	color: #a87316;
}

.ez-filter-item.active {
	background: #f1e8d6;
	color: #232323;
	border-radius: 8px;
	padding: 6px 10px;
	font-weight: 700;
}

.ez-filter-child {
	padding-left: 24px;
	font-size: 13px;
}

.ez-filter-child::before {
	content: "–";
	color: #b18435;
}

.ez-filter-count {
	margin-left: auto;
	font-size: 11px;
	color: #777;
	background: rgba(255, 255, 255, 0.55);
	border-radius: 20px;
	padding: 1px 7px;
}

.ez-filter-icon {
	width: 22px;
	display: inline-flex;
	justify-content: center;
	color: #b18435;
}


/* =========================================================
   Shared listing top bar
========================================================= */

.ez-area-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.ez-area-count {
	font-size: 15px;
	color: #232322;
}

.ez-area-controls {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ez-search-wrap {
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.ez-area-search,
select.ez-area-sort {
	height: 34px;
	border: 1px solid #e0dfde !important;
	border-radius: 5px;
	background: #f4f0e8;
	padding: 0 12px;
	font-size: 13px;
	width: 170px;
	color: #232323;
	box-shadow: none !important;
}

.ez-area-search {
	width: 300px;
}

.ez-area-search:focus,
.ez-area-search:focus-visible,
select.ez-area-sort:focus,
select.ez-area-sort:focus-visible {
	border: 1px solid #c6b999 !important;
	outline: 0;
	box-shadow: none !important;
}

.ez-search-wrap .ez-button-2 {
	min-height: 34px;
	padding: 6px 14px;
	border-radius: 5px;
}


/* =========================================================
   Shared card grid
========================================================= */

.ez-area-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ez-area-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.ez-area-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.ez-area-card-link {
	color: inherit;
	text-decoration: none;
}

.ez-area-card-img {
	position: relative;
	aspect-ratio: 9 / 7;
	overflow: hidden;
	background: #eeeae2;
}

.ez-area-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.ez-area-card:hover .ez-area-card-img img {
	transform: scale(1.025);
}

.ez-area-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #0f1f33;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 7px 10px;
	border-radius: 5px;
	z-index: 2;
}


.ez-tenure-badge {
	position: absolute;
	top: 14px;
	left: 95px;
	display: inline-flex;
	align-items: center;
	padding: 10px 10px;
	border-radius: 5px;
	background: #172c3d;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	z-index: 2;
}


.ez-area-card-body {
	padding: 20px;
}

.ez-area-card-body h3 {
	margin-top: 0;
	margin-bottom: 0px;
	font-size: 20px;
	line-height: 1.35;
	color: #1f2933;
}

.ez-area-card-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #111827;
}

.ez-area-card-title .pin {
	color: #b18435;
}

.ez-area-card-body p {
	font-size: 15px;
	line-height: 1.55;
	color: #4b5563;
	margin: 0 0 20px;
}

.ez-area-card-more {
	color: #a87316;
	font-weight: 700;
	text-decoration: none;
}

.ez-area-tag-label {
	font-size: 13px;
	font-weight: 800;
}

.ez-area-card-tags {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px solid var(--ez-color-white);
	padding-top: 15px;
}

.ez-area-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 2px;
}

.ez-area-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
}

.ez-area-tag-2 {
	background: var(--ez-color-primary);
	color: var(--ez-color-white);
}

.ez-area-tag-3 {
	background: var(--ez-color-gold);
	color: var(--ez-color-white);
}






/* =========================================================
   Property listing filter
========================================================= */

.ez-property-filter {
	padding: 22px 18px;
}

.ez-property-filter h3 {
	margin-bottom: 14px;
}

.ez-property-filter .ez-filter-group {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(35, 35, 35, 0.1);
}

.ez-property-filter .ez-filter-group:first-of-type {
	margin-top: 8px;
}

.ez-property-filter .ez-filter-group-title {
	margin-bottom: 7px;
}

.ez-property-filter .ez-filter-group-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}


/* =========================================================
   Property cards
========================================================= */

.ez-property-grid {
	align-items: stretch;
}

.ez-property-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #ece8df;
}

.ez-property-card .ez-property-card-img {
	aspect-ratio: 4 / 3;
}

.ez-property-card .ez-property-card-img img {
	object-position: center;
}

.ez-property-no-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ede9e1;
	color: #777;
	font-size: 13px;
}

.ez-property-purpose-badge {
	top: 14px;
	left: 14px;
	background: #172c3d;
}

.ez-property-status-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 5px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.2;
	z-index: 2;
}





.ez-property-status-available {
	background: #dff5e7;
	color: #167240;
}

.ez-property-status-rented {
	background: #fff0ce;
	color: #9b6200;
}

.ez-property-status-sold {
	background: #f8dddd;
	color: #a33434;
}

.ez-property-status-default {
	background: #efefef;
	color: #555;
}

.ez-property-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 20px;
}

.ez-property-price {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 800;
	color: #b58219;
	margin-bottom: 8px;
}

.ez-property-card-body h3 {
	font-size: 19px;
	line-height: 1.35;
	margin: 0 0 0px;
	color: #20252b;
}

.ez-property-card-body h3:hover {
	color: #a87316;
}

.ez-property-location {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	line-height: 1.5;
	color: #687078;
	margin-bottom: 5px;
}

.ez-property-icon {
	display: inline-flex;
	flex: 0 0 auto;
	margin-top: 1px;
	color: #b18435;
}

.ez-property-icon svg {
	display: block;
}


/* =========================================================
   Property features
========================================================= */

.ez-property-features {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 13px 0;
	margin-top: auto;
	border-top: 1px solid #eeeae3;
	border-bottom: 1px solid #eeeae3;
}

.ez-property-feature {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-size: 13px;
	color: #5f666d;
}

.ez-property-feature:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -8px;
	top: 50%;
	width: 1px;
	height: 14px;
	background: #dedbd4;
	transform: translateY(-50%);
}

.ez-property-feature-value {
	font-weight: 800;
	color: #25292d;
}

.ez-property-feature-label {
	font-weight: 500;
}

.ez-property-feature-type {
	flex-basis: 100%;
	padding-top: 3px;
	color: #6c6251;
}

.ez-property-feature-type::after {
	display: none;
}

.ez-property-feature-type .ez-property-feature-label {
	font-weight: 700;
	color: #7e6537;
}


/* =========================================================
   Property action buttons
========================================================= */

.ez-property-card-actions {
	display: flex;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin-top: 16px;
}

/* Shared button appearance */
.ez-property-action-button {
	box-sizing: border-box;
	height: 42px;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 0;
	border: 1px solid #152c3e;
	border-radius: 6px;
	background: #fff;
	color: #152c3e;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

/* View More uses the remaining space */
.ez-property-view-button {
	flex: 1 1 auto;
	padding: 0 12px;
}

/* Contact and WhatsApp remain compact icon buttons */
.ez-property-contact-button,
.ez-property-whatsapp-button {
	flex: 0 0 44px;
	width: 44px;
}

/* Shared hover */
.ez-property-action-button:hover {
	background: #152c3e;
	border-color: #152c3e;
	color: #fff;
}

/* Keyboard focus */
.ez-property-action-button:focus-visible {
	outline: 2px solid #b58219;
	outline-offset: 2px;
}

/* Icon */
.ez-property-action-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ez-property-action-icon svg {
	width: 17px;
	height: 17px;
	display: block;
}


/* =========================================================
   No results
========================================================= */

.ez-property-no-result {
	padding: 42px 24px;
	border: 1px solid #ece8df;
	border-radius: 10px;
	background: #fff;
	text-align: center;
}

.ez-property-no-result h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.ez-property-no-result p {
	margin-bottom: 20px;
}


/* =========================================================
   Home page cards
========================================================= */

.ez-area-grid-home {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.ez-area-grid-home h3 {
	margin-bottom: 0;
	font-size: 17px;
	line-height: 1.3em;
}

.ez-area-grid-home .ez-area-card-body {
	padding: 10px 15px 10px 20px;
	display: flex;
	justify-content: space-between;
}

.ez-area-grid-home .ez-area-card-view {
	color: var(--ez-color-gold);
	font-size: 13px;
	font-weight: 800;
	min-width: 85px;
}

.ez-area-grid-home .ez-area-card-view:hover {
	color: var(--ez-color-primary);
}


/* =========================================================
   Living guide
========================================================= */

.ez-living-card .ez-living-card-img {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto !important;
	min-height: 0 !important;
	overflow: hidden;
}

.ez-living-card .ez-living-card-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center right;
	display: block;
}


/* =========================================================
   Responsive — desktop and tablet
========================================================= */

@media (max-width: 1300px) {

	.ez-area-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1200px) {

	.ez-area-grid-home {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ez-area-grid-home .ez-area-card:nth-child(4) {
		display: none;
	}
}

@media (max-width: 1024px) {

	.ez-explore-layout {
		grid-template-columns: 1fr;
	}

	.ez-area-filter {
		min-height: auto;
	}

	.ez-area-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ez-area-topbar {
		align-items: flex-start;
	}

	.ez-area-controls {
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.ez-area-search {
		width: 230px;
	}
}


/* =========================================================
   Responsive — mobile
========================================================= */

@media (max-width: 767px) {

	.ez-area-topbar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ez-area-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.ez-search-wrap {
		width: 100%;
	}

	.ez-area-search {
		width: 100%;
		min-width: 0;
	}

	select.ez-area-sort {
		width: 100%;
	}

	.ez-area-grid {
		grid-template-columns: 1fr;
	}

	.ez-area-grid-home {
		grid-template-columns: 1fr;
	}

	.ez-property-filter {
		padding: 18px 16px;
	}

	.ez-filter-group {
		border-top: 1px solid rgba(0, 0, 0, 0.12);
		padding-top: 12px;
		margin-top: 12px;
	}

	.ez-filter-group-title {
		cursor: pointer;
		padding: 6px 0 !important;
		display: flex !important;
		justify-content: space-between !important;
		width: 100% !important;
	}

	.ez-filter-arrow {
		display: inline-block;
		font-size: 20px;
		line-height: 1;
	}

	.ez-filter-group-content {
		display: none;
		padding-top: 8px;
	}

	/*
	 * Supports the existing JS class.
	 */
	.ez-filter-group.is-open .ez-filter-group-content {
		display: flex;
	}

	.ez-filter-group.is-open .ez-filter-arrow {
		transform: rotate(45deg);
	}

	/*
	 * Supports the active class generated by the shortcode.
	 * This keeps a group open when one of its filters is active.
	 */
	.ez-filter-group-content.active {
		display: flex;
	}

	.ez-filter-group-title.active .ez-filter-arrow {
		transform: rotate(45deg);
	}

	.ez-property-card-actions {
		gap: 6px;
	}


	.ez-property-price {
		font-size: 21px;
	}

	.ez-property-card-body h3 {
		font-size: 18px;
	}
	
    .ez-property-view-button {
    	padding: 0 8px;
    	font-size: 11px;
    }

	.ez-property-contact-button,
	.ez-property-whatsapp-button {
		flex-basis: 40px;
		width: 40px;
	}
	
}































/* =========================================================
 * Related Properties
 *
 * Desktop : 4 columns
 * Tablet  : 3 columns
 * Mobile  : horizontal swipe carousel
 * ========================================================= */


/* Desktop */
.ez-property-listing--related .ez-property-grid--related {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}


/* Prevent card content from forcing grid columns wider */
.ez-property-listing--related .ez-property-card {
	min-width: 0;
}


/* =========================================================
 * Tablet
 * ========================================================= */

@media (max-width: 1024px) {

	.ez-property-listing--related .ez-property-grid--related {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}

}


/* =========================================================
 * Mobile carousel
 * ========================================================= */

@media (max-width: 767px) {

	.ez-property-listing--related {
		width: 100%;
		overflow: hidden;
	}


	.ez-property-listing--related .ez-property-grid--related {

		/*
		 * Change from grid to horizontal flex carousel.
		 */
		display: flex;

		grid-template-columns: none;

		gap: 16px;

		width: 100%;

		overflow-x: auto;
		overflow-y: hidden;

		padding: 0 18px 18px 0;

		/*
		 * Native carousel snapping.
		 */
		scroll-snap-type: x mandatory;

		scroll-behavior: smooth;

		-webkit-overflow-scrolling: touch;

		/*
		 * Hide scrollbar where supported.
		 */
		scrollbar-width: none;
	}


	.ez-property-listing--related
	.ez-property-grid--related::-webkit-scrollbar {
		display: none;
	}


	.ez-property-listing--related
	.ez-property-grid--related
	.ez-property-card {

		/*
		 * Around 1.15 cards visible.
		 *
		 * This leaves part of the next card visible
		 * so users know they can swipe.
		 */
		flex: 0 0 calc(87% - 8px);

		width: calc(87% - 8px);

		max-width: calc(87% - 8px);

		scroll-snap-align: start;

		scroll-snap-stop: always;
	}

}
