/* Listagem — cores alinhadas ao tema do site (style.css: #48a0dc, hover #ffb400) */
.zap-listing-page {
	background: #0a0a0c;
	padding: 0 0 48px;
	min-height: 70vh;
}
.zap-listing-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 20px 16px 0;
}
.zap-listing-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0;
}

/* Sidebar */
.zap-sidebar {
	flex: 0 0 280px;
	max-width: 100%;
	background: #111214;
	border: 1px solid rgba(198, 165, 90, 0.28);
	border-radius: 8px;
	padding: 0;
	margin-bottom: 20px;
	box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.zap-sidebar-inner {
	padding: 16px 16px 20px;
}
.zap-tabs {
	display: flex;
	border-bottom: 1px solid rgba(198, 165, 90, 0.22);
	margin: 0 -16px 16px;
	padding: 0 8px;
}
.zap-mobile-filter-toggle {
	display: none;
	width: 100%;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #f7fafc;
	color: #2d3748;
	font-weight: 700;
	padding: 10px 12px;
	margin: 0 0 14px;
}
.zap-mobile-filter-panel { display: block; }
.zap-tab {
	flex: 1;
	text-align: center;
	padding: 12px 4px;
	font-size: 13px;
	font-weight: 600;
	color: #b8b8b8;
	border-bottom: 3px solid transparent;
	text-decoration: none !important;
	white-space: nowrap;
}
.zap-tab:hover { color: #c6a55a; }
.zap-tab.active {
	color: #c6a55a;
	border-bottom-color: #c6a55a;
}
.zap-filter-block { margin-bottom: 18px; }
.zap-filter-block label.zap-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #f2efe8;
	margin-bottom: 8px;
}
.zap-check-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.zap-check-row label {
	color: #d6d6d8;
}
.zap-check-row input {
	accent-color: #c6a55a;
}
.zap-check-row input { margin-right: 8px; }
.zap-filter-block .zap-label-sub {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #b8b8b8;
	margin-top: 12px;
	margin-bottom: 6px;
}
.zap-link-all {
	font-size: 12px;
	color: #c6a55a;
	margin-top: 6px;
	display: inline-block;
}
.zap-link-all:hover {
	color: #f1ddaa;
}
.zap-pill {
	display: inline-block;
	position: relative;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 12px;
	font-weight: 600;
	color: #cbcbd1;
	cursor: pointer;
	user-select: none;
}
.zap-pill input:checked + span {
	border-color: #c6a55a;
	color: #111;
	background: #c6a55a;
	font-weight: 700;
}
.zap-pill span {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid #3e3f44;
	background: #18191c;
}
.zap-filter-alugar,
.zap-filter-comprar {
	border-top: 1px solid #2a2b30;
	padding-top: 14px;
	margin-top: 8px;
}
.zap-filter-details {
	border-top: 1px solid #2a2b30;
	padding-top: 14px;
	margin-bottom: 18px;
}
.zap-filter-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	color: #f2efe8;
	padding: 4px 0;
}
.zap-filter-summary::after {
	content: '\25B2';
	font-size: 10px;
	line-height: 1;
	color: #c6a55a;
}
.zap-range-labels {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #9a9aa2;
	margin-bottom: 6px;
	padding: 0 2px;
}
.zap-input-pill {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #393b40;
	border-radius: 24px;
	font-size: 13px;
	background: #18191c;
	color: #f2efe8;
}
.zap-input-pill:focus {
	border-color: #c6a55a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(198, 165, 90, 0.2);
}
.zap-input-pill::placeholder {
	color: #85858d;
}
.zap-sidebar-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #2a2b30;
}
.zap-btn-clear {
	background: none;
	border: none;
	color: #c6a55a;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}
.zap-btn-search {
	background: #c6a55a;
	color: #111 !important;
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.zap-btn-search:hover { background: #f1ddaa; }
.zap-feature-extra-row {
	max-height: 240px;
	overflow-y: auto;
	padding-right: 4px;
}
.zap-feature-extra-text {
	word-break: break-word;
}
.zap-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.zap-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.zap-filter-summary::-webkit-details-marker { display: none; }
.zap-filter-details:not([open]) .zap-filter-summary::after {
	content: '\25BC';
}
.zap-lanc-row {
	margin-top: 10px;
}
.zap-range-inputs {
	display: flex;
	gap: 10px;
}

/* Main */
.zap-main {
	flex: 1;
	min-width: 0;
	padding-left: 24px;
	padding-top: 16px;
}
@media (max-width: 991px) {
	.zap-main { padding-left: 0; }
	.zap-sidebar { flex: 1 1 100%; }
}
@media (max-width: 767px) {
	.zap-mobile-filter-toggle { display: block; }
	.zap-mobile-filter-panel { display: none; }
	.zap-mobile-filter-panel.open { display: block; }
}

.zap-search-wrap {
	position: relative;
	display: block;
	margin-top: 4px;
	margin-bottom: 12px;
}
.zap-search-wrap .fa-search {
	position: absolute !important;
	left: 14px;
	top: 50% !important;
	transform: translateY(-50%) !important;
	margin: 0;
	width: 20px;
	text-align: center;
	color: #8f8f95;
	font-size: 17px;
	line-height: 1;
	pointer-events: none;
}
.zap-search-input {
	width: 100%;
	display: block;
	box-sizing: border-box;
	height: 52px;
	padding: 14px 40px 14px 46px;
	border: 1px solid #35373c;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.2;
	background: #111214;
	color: #f2efe8;
}
.zap-search-clear {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #999;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}

.zap-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.zap-chip {
	display: inline-flex;
	align-items: center;
	position: relative;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 12px;
	cursor: pointer;
}
.zap-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.zap-chip span {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid #3e3f44;
	background: #18191c;
	color: #d0d0d5;
}
.zap-chip input:checked + span {
	font-weight: 700;
	color: #111;
	border-color: #c6a55a;
	background: #c6a55a;
}

.zap-alert-row {
	margin-bottom: 10px;
}
.zap-btn-create-alert {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid rgba(198, 165, 90, 0.6);
	background: rgba(198, 165, 90, 0.1);
	color: #f2efe8 !important;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.zap-btn-create-alert:hover {
	background: #c6a55a;
	color: #111 !important;
	border-color: #c6a55a;
}

.zap-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 8px;
}
.zap-sort-wrap {
	position: relative;
}
.zap-sort-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(198, 165, 90, 0.55);
	background: #111214;
	color: #d6d6d8;
	font-size: 13px;
	cursor: pointer;
}
.zap-sort-btn .fa { font-size: 11px; color: #c6a55a; }
.zap-sort-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 6px;
	min-width: 220px;
	background: #111214;
	border: 1px solid rgba(198, 165, 90, 0.25);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	z-index: 50;
	padding: 8px 0;
}
.zap-sort-wrap.open .zap-sort-menu { display: block; }
.zap-sort-menu button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 10px 16px;
	border: none;
	background: none;
	font-size: 14px;
	cursor: pointer;
	color: #f2efe8;
}
.zap-sort-menu button:hover { background: rgba(198, 165, 90, 0.14); }
.zap-btn-map {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 6px;
	background: #c6a55a;
	color: #111 !important;
	font-size: 13px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	text-decoration: none !important;
}
.zap-btn-map:hover { background: #f1ddaa; }

.zap-breadcrumb {
	font-size: 12px;
	color: #9d9da4;
	margin-bottom: 8px;
}
.zap-breadcrumb a { color: #c6a55a; }
.zap-result-count {
	font-size: 22px;
	font-weight: 700;
	color: #f2efe8;
	margin: 0 0 20px;
}

/* Cards horizontais */
.zap-card {
	display: flex;
	flex-wrap: wrap;
	background: #121316;
	border: 1px solid rgba(198, 165, 90, 0.24);
	border-radius: 8px;
	margin-bottom: 16px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0,0,0,.32);
	transition: box-shadow .2s;
}
.zap-card:hover { box-shadow: 0 12px 24px rgba(0,0,0,.45); }
.zap-card-media {
	position: relative;
	flex: 0 0 280px;
	max-width: 100%;
	min-height: 200px;
	background: #e8e8ec;
	overflow: hidden;
}
.zap-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 200px;
	display: block;
}
.zap-badge-super {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(40,40,45,.88);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}
.zap-badge-destaque {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #2e7d32;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}
.zap-badge-pub {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(255,193,7,.95);
	color: #333;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
}
/* Etiqueta fixa — imóveis novos (finalidade na planta / em construção) */
.zap-badge-novo-launch {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: #0d9488;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
	z-index: 2;
}
.zap-card-body {
	flex: 1;
	min-width: 200px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
}
.zap-card-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.3;
}
.zap-card-title a { color: #f2efe8; text-decoration: none !important; }
.zap-card-title a:hover { color: #f1ddaa; }
.zap-card-loc {
	font-size: 13px;
	color: #b8b8be;
	margin: 0 0 12px;
}
.zap-card-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 13px;
	color: #c4c4ca;
	margin-bottom: 12px;
}
.zap-card-specs span { white-space: nowrap; }
.zap-card-price {
	font-size: 22px;
	font-weight: 800;
	color: #f2efe8;
	margin-top: auto;
	margin-bottom: 12px;
}
.zap-card-price small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #9f9fa6;
	margin-top: 4px;
}
.zap-card-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.zap-btn-detail {
	display: inline-block;
	padding: 10px 22px;
	background: #c6a55a;
	color: #111 !important;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none !important;
	font-size: 14px;
}
.zap-btn-detail:hover { background: #f1ddaa; }

.zap-empty {
	text-align: center;
	padding: 40px 20px;
	background: #121316;
	border-radius: 8px;
	border: 1px solid rgba(198, 165, 90, 0.24);
	color: #f2efe8;
}
.zap-map-wrap {
	margin-top: 32px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(198, 165, 90, 0.24);
	height: 320px;
}
.zap-map-wrap #map-canvas { height: 320px !important; width: 100% !important; }

/* Modal "Criar alerta" no mesmo padrão escuro/dourado */
#zap-alert-modal .modal-content {
	background: #111214;
	border: 1px solid rgba(198, 165, 90, 0.35);
	border-radius: 10px;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
	color: #f2efe8;
}
#zap-alert-modal .modal-header,
#zap-alert-modal .modal-footer {
	border-color: #2a2b30;
}
#zap-alert-modal .modal-title {
	color: #c6a55a;
	font-weight: 700;
}
#zap-alert-modal .text-muted {
	color: #a8a8af !important;
}
#zap-alert-modal .form-group label {
	color: #f2efe8;
	font-weight: 600;
}
#zap-alert-modal .form-control {
	background: #18191c;
	border: 1px solid #3a3b40;
	color: #f2efe8;
}
#zap-alert-modal .form-control:focus {
	border-color: #c6a55a;
	box-shadow: 0 0 0 2px rgba(198, 165, 90, 0.2);
}
#zap-alert-modal .form-control::placeholder {
	color: #8f8f97;
}
#zap-alert-modal .close {
	color: #c6a55a;
	text-shadow: none;
	opacity: 0.9;
}
#zap-alert-modal .close:hover {
	opacity: 1;
	color: #f1ddaa;
}
#zap-alert-modal .btn-default {
	background: #1b1c20;
	border: 1px solid #3a3b40;
	color: #d8d8de;
}
#zap-alert-modal .btn-default:hover {
	background: #25262b;
	color: #fff;
}
#zap-alert-modal .btn-primary {
	background: #c6a55a;
	border-color: #c6a55a;
	color: #111;
	font-weight: 700;
}
#zap-alert-modal .btn-primary:hover,
#zap-alert-modal .btn-primary:focus {
	background: #f1ddaa;
	border-color: #f1ddaa;
	color: #111;
}
