/*!
 * JRX Imóveis Core — base styles
 * ------------------------------------------------------------------
 * Sumário (linhas aproximadas):
 *
 *  1. Search / filtros        (`.jrx-search`, `.jrx-field`, `.jrx-range`, `.jrx-chip`)        ~  1 – 127
 *  2. Listagem / cards        (`.jrx-archive__grid`, `.jrx-imob-card`, `.jrx-badge`, `.jrx-btn`) ~128 – 444
 *  3. Archive / toolbar       (`.jrx-archive__*`, `.jrx-filters-widget`)                        ~443 – 687
 *  4. Single de imóvel        (`.jrx-imovel-single`, hero, cta, lightbox, related)              ~688 – 1289
 *  5. Responsivo (≤ 920px / ≤ 600px)                                                           ~1290 – fim
 *
 * Variáveis usadas (do tema):
 *   --theme-border-color, --theme-text-color,
 *   --theme-palette-color-1, --theme-palette-color-8.
 *
 * Convenção: BEM + utilitários (`.is-*`, `.has-*`).
 * ------------------------------------------------------------------
 */

/* ============================================================
 * 1. Search / filtros
 * ============================================================ */

.jrx-search__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--theme-border-color);
}

.jrx-search__tab {
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	padding: 10px 14px;
	font-size: 0.9rem;
	color: var(--theme-text-color);
	cursor: pointer;
}

.jrx-search__tab.is-active {
	color: var(--theme-palette-color-1);
	border-bottom-color: var(--theme-palette-color-1);
}

.jrx-search__row {
	display: grid;
	gap: 12px;
}

.jrx-search__row--primary {
	grid-template-columns: repeat(4, minmax(160px, 1fr));
	align-items: end;
}

.jrx-search__submit {
	height: 44px;
}

.jrx-field__label {
	display: block;
	font-size: 0.75rem;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jrx-field select,
.jrx-field input[type="text"],
.jrx-field input[type="number"] {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--theme-border-color);
	border-radius: 10px;
	background: var(--theme-palette-color-8);
	color: inherit;
}

.jrx-search__more {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed var(--theme-border-color);
}

.jrx-search__advanced {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(130px, 1fr));
	margin-top: 12px;
}

.jrx-field--span-2 {
	grid-column: span 2;
}

.jrx-search--archive .jrx-field--span-2 {
	grid-column: span 1;
}

.jrx-search__active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
}

.jrx-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jrx-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid var(--theme-border-color);
	background: var(--theme-palette-color-8);
	font-size: 0.78rem;
}

.jrx-chip button {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1;
}

.jrx-range {
	display: grid;
	gap: 8px;
}

.jrx-range [data-range-slider] {
	width: 100%;
}

.jrx-range__inputs {
	display: grid;
	grid-template-columns: repeat(2, minmax(70px, 1fr));
	gap: 8px;
}

/* ============================================================
 * 2. Listagem / cards
 * ============================================================ */

.jrx-results--grid,
.jrx-archive__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.jrx-imob-card {
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-border-color);
	border-radius: var(--theme-border-radius, var(--theme-border-radius-lg, inherit));
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.jrx-imob-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: inherit;
}

.jrx-imob-card__slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.jrx-imob-card__slider-track {
	display: flex;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	gap: 0;
	min-width: 0;
}
.jrx-imob-card__slider.swiper .jrx-imob-card__slider-track {
	overflow: visible;
}

.jrx-imob-card__slider-slide {
	flex: 0 0 auto;
	width: 100%;
	height: 100%;
	min-height: 0;
	align-self: stretch;
	box-sizing: border-box;
}

.jrx-imob-card__slide-link {
	display: block;
	height: 100%;
	min-height: 0;
	line-height: 0;
	outline-offset: -2px;
	border-radius: inherit;
}

.jrx-imob-card__slider .jrx-imob-card__slide-link:focus-visible {
	outline: 2px solid var(--theme-palette-color-1, currentColor);
}

.jrx-imob-card__slide-link--single {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	line-height: 0;
	border-radius: inherit;
}

.jrx-imob-card__slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--theme-text-color, inherit);
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.15);
	transition: background 0.15s ease;
	align-items: center;
	justify-content: center;
	display: inline-flex;
}
.jrx-imob-card__slider-arrow.jrx-swiper-arrow {
	width: 44px;
	height: 44px;
	color: #ffffff;
	border: 1px solid color-mix(in srgb, #ffffff 60%, transparent);
	background-color: color-mix(in srgb, #000000 25%, transparent);
	backdrop-filter: blur(4px);
}

.jrx-imob-card__slider-arrow:hover {
	background-color: color-mix(in srgb, #000000 45%, transparent);
	border-color: #ffffff;
	color: #ffffff;
}

.jrx-imob-card__slider-arrow--prev {
	left: 8px;
}

.jrx-imob-card__slider-arrow--next {
	right: 8px;
}

.jrx-imob-card__slider-count {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 4;
	padding: 5px 9px;
	border-radius: var(--theme-border-radius-sm, var(--theme-border-radius, 999px));
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	background: rgba(17, 24, 39, 0.72);
	color: #fff;
	pointer-events: none;
}

.jrx-imob-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: middle;
}

.jrx-imob-card__img--logo {
	object-fit: contain;
	padding: 18%;
	background: var(--theme-palette-color-7, #f3f4f6);
}

.jrx-imob-card__slide-link:not(.jrx-imob-card__slider .jrx-imob-card__slide-link) img,
.jrx-imob-card__slider-slide .jrx-imob-card__img {
	min-height: 100%;
	display: block;
}

.jrx-imob-card__placeholder {
	position: absolute;
	inset: 0;
	background: var(--theme-palette-color-7);
	z-index: 0;
	border-radius: inherit;
}

.jrx-imob-card__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 6px;
	pointer-events: none;
}

.jrx-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--theme-border-radius-sm, var(--theme-border-radius, 999px));
	font-size: 0.72rem;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
}

.jrx-badge--featured {
	background: var(--theme-palette-color-1);
}

.jrx-imob-card__code {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	padding: 4px 8px;
	border-radius: var(--theme-border-radius-sm, var(--theme-border-radius, 8px));
	font-size: 0.72rem;
	background: rgba(255, 255, 255, 0.9);
	color: #111;
	pointer-events: none;
}

.jrx-imob-card__body {
	padding: 16px;
	display: grid;
	gap: 10px;
	flex: 1;
}

.jrx-imob-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
}

.jrx-imob-card__location-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: inherit;
	text-decoration: none;
}

.jrx-imob-card__location-link:hover,
.jrx-imob-card__location-link:focus-visible {
	text-decoration: underline;
}

.jrx-imob-card__features {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	min-width: 0;
	list-style: none;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px dashed var(--theme-border-color);
	font-size: clamp(0.68rem, 2.8vw, 0.82rem);
	color: var(--theme-text-color-2, inherit);
}

.jrx-imob-card__features li {
	display: inline-flex;
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	gap: 4px;
	white-space: nowrap;
}

.jrx-imob-card__features svg {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	color: var(--theme-text-color, inherit);
	opacity: 0.88;
}

.jrx-imob-card__feat-num {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--theme-text-color, inherit);
}

.jrx-imob-card__feat-label {
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 900px) {
	.jrx-imob-card__feat-label {
		display: none;
	}

	.jrx-imob-card__features {
		gap: 2px;
		font-size: 0.78rem;
	}

	.jrx-imob-card__features li {
		gap: 2px;
	}
}

.jrx-imob-card__title {
	margin: 0;
}

.jrx-imob-card__title a {
	text-decoration: none;
	color: var(--theme-text-color) !important;
}

.jrx-imob-card__price {
	font-weight: 700;
	color: var(--theme-palette-color-1);
}

.jrx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	border: 1px solid var(--theme-border-color);
	text-decoration: none;
	font-weight: 600;
}

.jrx-btn--primary {
	background: var(--theme-palette-color-1);
	border-color: var(--theme-palette-color-1);
	color: #fff;
}

.jrx-btn--outline {
	color: var(--theme-palette-color-1);
	border-color: var(--theme-palette-color-1);
	background: transparent;
}

.jrx-btn--block {
	width: 100%;
}

.jrx-btn--small {
	padding: 6px 10px;
	font-size: 0.78rem;
}

.jrx-archive__header {
	padding: 28px 0 12px;
}

.jrx-archive__container {
	padding-bottom: 56px;
}

.jrx-archive__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	min-width: 0;
}

.jrx-archive__toolbar-item--sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	min-width: 0;
	box-sizing: border-box;
	line-height: 1;
	border: 1px solid var(--theme-border-color);
	border-radius: 10px;
	background: var(--theme-palette-color-8);
	color: var(--theme-text-color);
	font-weight: 600;
	cursor: pointer;
}

.jrx-archive__sort-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	white-space: nowrap;
}

.jrx-archive__sort-icon {
	display: inline-block;
	flex: 0 0 auto;
	pointer-events: none;
}

.jrx-archive__sort-value {
	display: inline-flex;
	align-items: center;
	max-width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.82rem;
	opacity: 0.8;
}

.jrx-archive__toolbar-item--sort select[data-jrx-sort] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
	border: 0;
}

.jrx-archive__view-switch {
	display: inline-flex;
	height: 44px;
	border: 1px solid var(--theme-border-color);
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
}

.jrx-archive__view-btn {
	border: 0;
	padding: 0 14px;
	background: transparent;
	cursor: pointer;
	color: var(--theme-text-color);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.jrx-archive__tool-icon {
	flex: 0 0 auto;
}

.jrx-archive__view-btn.is-active {
	background: var(--theme-palette-color-1);
	color: #fff;
}

.jrx-archive__filters-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	height: 44px;
	border: 1px solid var(--theme-border-color);
	border-radius: 10px;
	background: var(--theme-palette-color-8);
	color: var(--theme-text-color);
	padding: 0 14px;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	box-sizing: border-box;
	cursor: pointer;
}

.jrx-archive__filters-close,
.jrx-archive__filters-overlay {
	display: none;
}

.jrx-filters-widget {
	position: relative;
}

.jrx-archive__layout {
	display: grid;
	grid-template-columns: minmax(240px, 300px) 1fr;
	gap: 20px;
	align-items: start;
	min-width: 0;
}

.jrx-archive__main,
.jrx-archive__results,
.jrx-archive__results [data-jrx-results] {
	min-width: 0;
}

.jrx-archive--filters-top .jrx-archive__layout {
	grid-template-columns: 1fr;
}

.jrx-archive__sidebar .jrx-search {
	position: sticky;
	top: 20px;
	background: var(--theme-palette-color-8);
	padding: 16px;
	border-radius: 12px;
	border: 1px solid var(--theme-border-color);
}

.jrx-search--archive .jrx-search__row--primary,
.jrx-search--archive .jrx-search__advanced {
	grid-template-columns: 1fr;
}

.jrx-search--archive .jrx-search__submit {
	width: 100%;
	margin-top: 12px;
}

.jrx-archive__filters--top .jrx-search--archive {
	padding: 16px;
	border: 1px solid var(--theme-border-color);
	border-radius: 12px;
	background: var(--theme-palette-color-8);
}

.jrx-archive__filters--top .jrx-search--archive .jrx-search__row--primary {
	grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.jrx-archive__filters--top .jrx-search--archive .jrx-search__submit {
	margin-top: 0;
	height: 44px;
}

.jrx-archive__filters--top .jrx-search--archive .jrx-search__more {
	margin-top: 10px;
}

.jrx-archive__filters--top {
	margin-bottom: 20px;
}

.jrx-archive--grid .jrx-archive__grid {
	grid-template-columns: repeat(var(--jrx-archive-columns, 3), minmax(220px, 1fr));
}

.jrx-archive__results.is-grid .jrx-archive__grid {
	grid-template-columns: repeat(var(--jrx-archive-columns, 3), minmax(220px, 1fr));
}

.jrx-archive--list .jrx-archive__grid {
	grid-template-columns: 1fr;
}

.jrx-archive__results.is-list .jrx-archive__grid {
	grid-template-columns: 1fr;
}

.jrx-archive__results.is-list .jrx-imob-card {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
}

.jrx-archive__results.is-list .jrx-imob-card__media {
	height: 100%;
	aspect-ratio: auto;
	min-height: 220px;
}

.jrx-archive__results.is-list .jrx-imob-card__img {
	height: 100%;
}

.jrx-archive__results.is-list .jrx-imob-card__body {
	align-content: start;
}

.jrx-imoveis-carousel {
	--jrx-grid-gap: 24px;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding-bottom: 56px;
}

.jrx-imoveis-carousel__track {
	display: flex;
	gap: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.jrx-imoveis-carousel.swiper .jrx-imoveis-carousel__track {
	overflow: visible;
	padding: 0;
}

.jrx-imoveis-carousel__slide {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	min-width: 0;
	box-sizing: border-box;
	display: flex;
}
.jrx-imoveis-carousel .swiper-wrapper {
	align-items: stretch;
}
.jrx-imoveis-carousel__slide > * {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.jrx-imoveis-carousel__slide > .jrx-imob-card {
	height: 100%;
}

/* Fallback seguro enquanto Swiper não inicializa */
.jrx-imoveis-carousel:not([data-jrx-swiper-init="1"]) .jrx-imoveis-carousel__track {
	gap: var(--jrx-grid-gap, 24px);
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.jrx-imoveis-carousel:not([data-jrx-swiper-init="1"]) .jrx-imoveis-carousel__track::-webkit-scrollbar {
	display: none;
}
.jrx-imoveis-carousel:not([data-jrx-swiper-init="1"]) .jrx-imoveis-carousel__slide {
	flex: 0 0 calc((100% - (var(--jrx-carousel-per-view-desktop, 3) - 1) * var(--jrx-grid-gap, 24px)) / var(--jrx-carousel-per-view-desktop, 3));
}
@media (max-width: 991px) {
	.jrx-imoveis-carousel:not([data-jrx-swiper-init="1"]) .jrx-imoveis-carousel__slide {
		flex-basis: calc((100% - (var(--jrx-carousel-per-view-tablet, 2) - 1) * var(--jrx-grid-gap, 24px)) / var(--jrx-carousel-per-view-tablet, 2));
	}
}
@media (max-width: 575px) {
	.jrx-imoveis-carousel:not([data-jrx-swiper-init="1"]) .jrx-imoveis-carousel__slide {
		flex-basis: calc((100% - (var(--jrx-carousel-per-view-mobile, 1.15) - 1) * var(--jrx-grid-gap, 24px)) / var(--jrx-carousel-per-view-mobile, 1.15));
	}
}

.jrx-imoveis-carousel__controls {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	pointer-events: auto;
	z-index: 3;
}

.jrx-imoveis-carousel__arrow {
	position: static;
	top: auto;
	transform: none;
	z-index: 2;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.15);
	color: var(--theme-text-color, inherit);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.65rem;
	line-height: 1;
	pointer-events: auto;
}
.jrx-imoveis-carousel__arrow.jrx-swiper-arrow {
	width: 44px;
	height: 44px;
	color: #ffffff;
	border: 1px solid color-mix(in srgb, #ffffff 60%, transparent);
	background-color: color-mix(in srgb, #000000 25%, transparent);
	backdrop-filter: blur(4px);
}

.jrx-imoveis-carousel__arrow.is-prev {
	left: auto;
}

.jrx-imoveis-carousel__arrow.is-next {
	right: auto;
}

.jrx-imoveis-carousel__arrow[disabled] {
	opacity: 0.4;
	cursor: default;
}

.jrx-imob-card__body .jrx-imob-card__title {
	margin-bottom: 2px;
}

.jrx-bairro-card {
	height: 100%;
}

.jrx-bairro-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.jrx-bairro-card__link:hover .jrx-bairro-card__title,
.jrx-bairro-card__link:focus-visible .jrx-bairro-card__title {
	color: var(--theme-link-hover-color, var(--theme-palette-color-1));
}

.jrx-bairro-card__title {
	margin: 0;
	padding: 16px;
	text-align: center;
	font-size: 1rem;
	line-height: 1.35;
}

.jrx-bairro-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jrx-bairro-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--theme-palette-color-6, #e8e8e8);
}

.jrx-archive__pagination {
	margin-top: 28px;
	display: flex;
	justify-content: center;
}

.jrx-archive__infinite-sentinel {
	width: 100%;
	height: 2px;
}

/* ============================================================
 * 4. Single de imóvel (galeria, breadcrumbs, CTA, lightbox, related)
 * ============================================================ */

.jrx-imovel-single {
	padding-top: var(--theme-content-vertical-spacing);
	font-family: inherit;
	color: inherit;
}

.jrx-imovel-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}

.jrx-imovel-single__column-main {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.jrx-imovel-single__hero {
	background: var(--theme-palette-color-7, rgba(0, 0, 0, 0.04));
	overflow: hidden;
	border-radius: 2px;
}

.jrx-imovel-single__hero-carousel {
	position: relative;
	width: 100%;
	--jrx-grid-gap: 0px;
}

.jrx-imovel-single__hero-viewport {
	aspect-ratio: 16 / 9;
	min-height: 200px;
	max-height: min(72vh, 680px);
}

.jrx-imovel-single__hero-carousel .jrx-carousel__track {
	gap: 0;
}

.jrx-imovel-single__hero-slide {
	align-self: stretch;
	display: flex;
	min-height: 0;
}

.jrx-imovel-single__hero-slide-open {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	flex: 1;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: grab;
	text-align: left;
}

.jrx-imovel-single__hero-slide-open:focus-visible {
	outline: 2px solid var(--theme-palette-color-1, #111);
	outline-offset: 2px;
}

.jrx-imovel-single__hero-slide-open img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	aspect-ratio: 16 / 9;
	user-select: none;
	-webkit-user-drag: none;
}

.jrx-imovel-single .jrx-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	min-width: 0;
	box-sizing: border-box;
}
.jrx-imovel-single .jrx-carousel.swiper .jrx-carousel__track {
	overflow: visible;
}

.jrx-imovel-single .jrx-carousel__slide {
	flex: 0 0 auto;
	min-width: 0;
}

.jrx-imovel-single__hero-count {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: rgba(17, 24, 39, 0.72);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: 6px;
	line-height: 1;
}

.jrx-imovel-single__hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--theme-text-color, inherit);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
	transition: background 0.15s ease;
}
.jrx-imovel-single__hero-arrow.jrx-swiper-arrow {
	width: 44px;
	height: 44px;
	color: #ffffff;
	border: 1px solid color-mix(in srgb, #ffffff 60%, transparent);
	background-color: color-mix(in srgb, #000000 25%, transparent);
	backdrop-filter: blur(4px);
}

.jrx-imovel-single__hero-arrow:hover {
	background-color: color-mix(in srgb, #000000 45%, transparent);
	border-color: #ffffff;
	color: #ffffff;
}

.jrx-imovel-single__hero-arrow.is-prev {
	left: 12px;
}

.jrx-imovel-single__hero-arrow.is-next {
	right: 12px;
}

.jrx-imovel-single__related {
	margin-top: clamp(32px, 5vw, 56px);
	padding-top: clamp(24px, 4vw, 40px);
	border-top: 1px solid var(--theme-border-color, currentColor);
	width: 100%;
}

.jrx-imovel-single__related-title {
	margin: 0 0 20px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(16px, 3vw, 24px);
}

.jrx-imovel-single__toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 18px 0 12px;
	border-bottom: 1px solid var(--theme-border-color, currentColor);
	margin-top: 4px;
}

.jrx-imovel-single__breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8rem;
	color: var(--theme-text-color-2, inherit);
}

.jrx-imovel-single__breadcrumbs ol li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.jrx-imovel-single__breadcrumbs ol li:not(:first-child)::before {
	content: "›";
	color: #d1d5db;
	font-weight: 300;
	font-size: 0.85rem;
	margin-right: 2px;
}

.jrx-imovel-single__breadcrumbs a {
	color: var(--theme-text-color-2, inherit);
	text-decoration: none;
}

.jrx-imovel-single__breadcrumbs a:hover {
	color: var(--theme-text-color, inherit);
	text-decoration: underline;
}

.jrx-imovel-single__bc-current {
	color: var(--theme-text-color-2, inherit);
	max-width: min(52vw, 420px);
}

.jrx-imovel-single__actions {
	display: flex;
	gap: 10px;
}

.jrx-imovel-single__icon-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--theme-border-color, currentColor);
	border-radius: 4px;
	background: var(--theme-palette-color-8, #fff);
	color: var(--theme-text-color, inherit);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.jrx-imovel-single__icon-btn:hover {
	border-color: #cbd5e1;
	background: #fafafa;
}

.jrx-imovel-single__icon-btn--muted {
	opacity: 0.5;
	pointer-events: none;
	cursor: default;
}

.jrx-imovel-single__titleblock {
	padding: 22px 0 18px;
}

.jrx-imovel-single__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__subtitle {
	margin: 10px 0 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__address {
	margin: 8px 0 0;
	font-size: 0.88rem;
	color: var(--theme-text-color-2, inherit);
	line-height: 1.45;
}

.jrx-imovel-single__specs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(14px, 3vw, 36px);
	margin: 0;
	padding: 22px 0 28px;
	list-style: none;
	border-bottom: 1px solid var(--theme-border-color, currentColor);
}

.jrx-imovel-single__specs li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-size: 0.92rem;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__spec-icon {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--theme-text-color-2, inherit);
}

.jrx-imovel-single__below-fold {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding-top: 8px;
}

.jrx-imovel-single__section {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.jrx-imovel-single__section--plain h3,
.jrx-imovel-single__section--features h3 {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__section--plain .jrx-imovel-single__description {
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--theme-text-color-2, inherit);
}

.jrx-imovel-single__description > :last-child {
	margin-bottom: 0;
}

.jrx-imovel-single__quadra-lote {
	margin: 4px 0 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--theme-text-color-2, inherit);
}

.jrx-imovel-single__terreno-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 10px;
	margin: 0;
}

.jrx-imovel-single__terreno-item {
	padding: 12px 14px;
	background: var(--theme-palette-color-7, #f8fafc);
	border: 1px solid var(--theme-border-color, #eef2f6);
	border-radius: 8px;
}

.jrx-imovel-single__terreno-item--observacao {
	grid-column: 1 / -1;
}

.jrx-imovel-single__terreno-item dt {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0 0 4px;
	font-size: 0.72rem;
	color: var(--theme-text-color-2, #94a3b8);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.jrx-imovel-single__terreno-item dt svg {
	flex-shrink: 0;
	color: var(--theme-text-color-2, #cbd5e1);
}

.jrx-imovel-single__terreno-item dd {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--theme-text-color, #1e293b);
	line-height: 1.35;
}

.jrx-imovel-single__section--features .jrx-imovel-single__features-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px 16px;
}

.jrx-imovel-single__features-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	font-size: 0.92rem;
	border: 0;
	background: transparent;
}

.jrx-imovel-single__feature-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__feature-label {
	line-height: 1.4;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__map {
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: 4px;
}

.jrx-imovel-single__column-aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.jrx-imovel-single__cta-card {
	position: sticky;
	top: calc(72px + env(safe-area-inset-top));
	padding: 22px;
	border: 1px solid var(--theme-border-color, currentColor);
	border-radius: 6px;
	background: var(--theme-palette-color-8, #fff);
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}

.jrx-imovel-single__cta-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 12px;
}

.jrx-imovel-single__cta-op {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--theme-text-color-2, inherit);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jrx-imovel-single__cta-price {
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 700;
	color: var(--theme-text-color, inherit);
	text-align: right;
	line-height: 1.2;
}

.jrx-imovel-single__cta-code {
	margin: 0 0 10px;
	font-size: 0.78rem;
	color: var(--theme-text-color-2, inherit);
}

.jrx-imovel-single__cta-tag {
	margin: 0 0 12px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--theme-palette-color-1, #111);
}

.jrx-imovel-single__btn {
	display: block;
	width: 100%;
	padding: 14px 18px;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	margin-top: 10px;
}

.jrx-imovel-single__btn--primary {
	border: 1px solid var(--theme-palette-color-1, currentColor);
	background: var(--theme-palette-color-1, currentColor);
	color: var(--theme-button-text-initial, #fff);
}

.jrx-imovel-single__btn--primary:hover {
	filter: brightness(0.92);
}

.jrx-imovel-single__btn--ghost {
	border: 1px solid var(--theme-text-color, inherit);
	background: var(--theme-palette-color-8, #fff);
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__btn--ghost:hover {
	background: var(--theme-palette-color-7, #f5f5f5);
}

.jrx-imovel-single__btn--whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	line-height: 1.3;
	text-decoration: none;
	background: #25d366;
	color: #fff;
	border: 1px solid #1fa855;
}

.jrx-imovel-single__whatsapp-icon {
	flex-shrink: 0;
}

.jrx-imovel-single__btn--whatsapp:hover {
	filter: brightness(0.95);
	color: #fff;
}

.jrx-imovel-single__form-panel {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--theme-border-color, currentColor);
}

.jrx-imovel-single__form-panel h3 {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--theme-text-color, inherit);
}

.jrx-imovel-single__form-help {
	font-size: 0.88rem;
	color: var(--theme-text-color-2, inherit);
	margin: 0;
}

.jrx-imovel-single__lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	box-sizing: border-box;
}

.jrx-imovel-single__lightbox[hidden] {
	display: none !important;
}

.jrx-imovel-single__lightbox-body {
	position: relative;
	max-width: min(96vw, 1100px);
	max-height: 85vh;
	margin: 0 auto;
}

.jrx-imovel-single__lightbox-body img {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	width: auto;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

.jrx-imovel-single__lightbox-counter {
	margin: 12px 0 0;
	text-align: center;
	color: #e5e7eb;
	font-size: 0.85rem;
}

.jrx-imovel-single__lightbox-close {
	position: fixed;
	top: 16px;
	right: 20px;
	z-index: 2;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.jrx-imovel-single__lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.jrx-imovel-single__lightbox-nav.is-prev {
	left: 12px;
}

.jrx-imovel-single__lightbox-nav.is-next {
	right: 12px;
}

body.jrx-imovel-lightbox-open {
	overflow: hidden;
}

.jrx-archive__results[data-jrx-infinite="1"] .jrx-archive__pagination {
	display: none;
}

/* ============================================================
 * 5. Responsivo
 * ============================================================ */

@media (max-width: 920px) {
	.jrx-no-scroll {
		overflow: hidden;
	}

/* ============================================================
 * 3. Archive / toolbar
 * ============================================================ */

.jrx-archive__header {
	padding: 20px 0 8px;
}

	.jrx-imovel-single__layout {
		grid-template-columns: 1fr;
	}

	.jrx-imovel-single__breadcrumbs {
		display: none;
	}

	.jrx-imovel-single__cta-card {
		position: static;
		box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	}

	.jrx-archive__container {
		padding-bottom: 40px;
	}

	.jrx-archive__filters-toggle {
		display: inline-flex;
		flex: 0 0 auto;
	}

	.jrx-archive__toolbar {
		flex-wrap: nowrap;
		gap: 10px;
		margin-bottom: 14px;
	}

	.jrx-archive__toolbar .jrx-archive__toolbar-item {
		flex: 0 1 auto;
	}

	.jrx-archive__toolbar .jrx-archive__view-switch {
		display: none;
	}

	.jrx-archive__filters-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(16, 24, 40, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease;
		z-index: 9997;
	}

	.jrx-archive__sidebar[data-jrx-filters-panel],
	.jrx-archive__filters--top[data-jrx-filters-panel] {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		height: 100dvh;
		width: min(92vw, 360px);
		max-width: 360px;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		z-index: 9998;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: var(--theme-palette-color-8);
		padding: calc(48px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
		margin: 0;
		border-radius: 0;
		border-right: 1px solid var(--theme-border-color);
	}

	.jrx-archive__filters-close {
		display: inline-flex;
		position: absolute;
		top: calc(12px + env(safe-area-inset-top));
		right: 12px;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 999px;
		background: var(--theme-palette-color-7);
		color: var(--theme-text-color);
		align-items: center;
		justify-content: center;
		cursor: pointer;
		font-size: 22px;
		line-height: 1;
	}

	.jrx-archive.is-filters-open .jrx-archive__filters-overlay {
		opacity: 1;
		pointer-events: auto;
	}

	.jrx-archive.is-filters-open .jrx-archive__sidebar[data-jrx-filters-panel],
	.jrx-archive.is-filters-open .jrx-archive__filters--top[data-jrx-filters-panel] {
		transform: translateX(0);
	}

	.jrx-archive__sidebar .jrx-search,
	.jrx-archive__filters--top .jrx-search--archive {
		position: static;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.jrx-search__row--primary,
	.jrx-search__advanced {
		grid-template-columns: repeat(2, minmax(140px, 1fr));
	}

	.jrx-archive__layout {
		grid-template-columns: 1fr;
	}

	.jrx-archive__filters--top .jrx-search--archive .jrx-search__row--primary {
		grid-template-columns: repeat(2, minmax(140px, 1fr));
	}

	.jrx-archive--grid .jrx-archive__grid,
	.jrx-archive__results.is-grid .jrx-archive__grid {
		grid-template-columns: repeat(
			var(--jrx-archive-columns-mobile, 1),
			minmax(0, 1fr)
		);
	}

	.jrx-archive__results.is-list .jrx-imob-card {
		grid-template-columns: 1fr;
	}

	.jrx-archive__results.is-list .jrx-imob-card__media {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.jrx-filters-widget .jrx-archive__filters-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		margin-bottom: 12px;
	}

	.jrx-filters-widget .jrx-search--archive[data-jrx-widget-filters-panel] {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		height: 100dvh;
		width: min(92vw, 360px);
		max-width: 360px;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		z-index: 9998;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: var(--theme-palette-color-8);
		padding: calc(48px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
		margin: 0;
		border-radius: 0;
		border-right: 1px solid var(--theme-border-color);
	}

	.jrx-filters-widget .jrx-search--terrenos[data-jrx-widget-filters-panel] {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		height: 100dvh;
		width: min(92vw, 380px);
		max-width: 380px;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		z-index: 9998;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #ececec;
		padding: calc(48px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));
		margin: 0;
		border-radius: 0;
		border-right: 1px solid var(--theme-border-color, #e5e7eb);
	}

	.jrx-filters-widget .jrx-archive__filters-overlay[data-jrx-widget-filters-overlay] {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(16, 24, 40, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease;
		z-index: 9997;
	}

	.jrx-filters-widget.is-open .jrx-search--archive[data-jrx-widget-filters-panel] {
		transform: translateX(0);
	}

	.jrx-filters-widget.is-open .jrx-search--terrenos[data-jrx-widget-filters-panel] {
		transform: translateX(0);
	}

	.jrx-filters-widget.is-open .jrx-archive__filters-overlay[data-jrx-widget-filters-overlay] {
		opacity: 1;
		pointer-events: auto;
	}

	.jrx-filters-widget .jrx-archive__filters-close[data-jrx-widget-filters-close] {
		display: inline-flex;
		position: absolute;
		top: calc(12px + env(safe-area-inset-top));
		right: 12px;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 999px;
		background: var(--theme-palette-color-7);
		color: var(--theme-text-color);
		align-items: center;
		justify-content: center;
		cursor: pointer;
		font-size: 22px;
		line-height: 1;
	}
}

@media (max-width: 640px) {
	.jrx-imovel-single {
		margin-top: 0;
		padding-top: 0;
	}

	.jrx-imovel-single__hero {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		margin-top: 0;
		border-radius: 0;
	}

	.jrx-imovel-single__toolbar {
		position: relative;
		display: block;
		padding: 0;
		margin: 0;
		min-height: 0;
		border-bottom: 0;
	}

	.jrx-imovel-single__actions {
		position: absolute;
		top: -42px;
		right: max(10px, env(safe-area-inset-right));
		z-index: 4;
		margin: 0;
	}

	.jrx-imovel-single__icon-btn {
		width: 34px;
		height: 34px;
		border-radius: 999px;
		box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
	}

	.jrx-imovel-single__icon-btn svg {
		width: 15px;
		height: 15px;
	}

	.jrx-imovel-single__specs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 10px;
		padding: 14px 0 18px;
	}

	.jrx-imovel-single__specs li {
		gap: 8px;
		font-size: 0.84rem;
	}

	.jrx-imovel-single__spec-icon svg {
		width: 18px;
		height: 18px;
	}

	.jrx-imovel-single__section--features .jrx-imovel-single__features-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 10px;
	}

	.jrx-imovel-single__features-list li {
		padding: 4px 0;
		gap: 8px;
		font-size: 0.84rem;
	}

	.jrx-imovel-single__feature-icon {
		width: 18px;
		height: 18px;
	}

	.jrx-imovel-single__hero-viewport {
		max-height: min(56vh, 520px);
	}

	.jrx-archive__header {
		padding: 16px 0 4px;
	}

	.jrx-archive__toolbar {
		gap: 8px;
		margin-bottom: 12px;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 2px;
	}

	.jrx-archive__filters-toggle,
	.jrx-archive__toolbar-item--sort {
		height: 42px;
		padding: 0 12px;
	}

	.jrx-archive__toolbar .jrx-archive__sort-label {
		font-size: 0.85rem;
	}

	.jrx-archive__view-btn span {
		display: none;
	}

	.jrx-archive__view-btn {
		padding: 0 10px;
		min-width: 42px;
		justify-content: center;
	}

	.jrx-archive__sort-value {
		display: none;
	}

	.jrx-results--grid,
	.jrx-archive__grid {
		gap: 14px;
	}

	.jrx-imoveis-carousel {
		--jrx-grid-gap: 14px;
		padding-bottom: 50px;
	}

	.jrx-imoveis-carousel__arrow {
		width: 34px;
		height: 34px;
		font-size: 1.45rem;
	}

	.jrx-search__row--primary,
	.jrx-search__advanced {
		grid-template-columns: 1fr;
	}

	.jrx-archive__filters--top .jrx-search--archive .jrx-search__row--primary {
		grid-template-columns: 1fr;
	}

	.jrx-search__submit,
	.jrx-btn--block {
		width: 100%;
	}

	.jrx-field--span-2 {
		grid-column: span 1;
	}
}

/* ------------------------------------------------------------------ *
 * Terrenos — listagem em tabela + acordeão
 * ------------------------------------------------------------------ */

.jrx-terrenos-archive .jrx-archive__container {
	display: flex;
	flex-direction: column;
}

.jrx-terrenos-archive__sticky-filters {
	position: sticky;
	top: 0;
	z-index: 90;
	width: 100%;
}

body.admin-bar .jrx-terrenos-archive__sticky-filters {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.jrx-terrenos-archive__sticky-filters .jrx-search--terrenos {
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.jrx-terrenos-archive__content {
	padding-bottom: 0;
	margin-top: 16px;
}

.jrx-terrenos-archive__content .jrx-terrenos-archive__toolbar {
	margin-bottom: 16px;
}

.jrx-terrenos-archive--list [data-jrx-results] {
	display: block;
}

.jrx-terrenos-archive__main {
	width: 100%;
}

.jrx-terrenos-archive--list .jrx-terrenos-archive__main-inner {
	padding-bottom: 56px;
}

.jrx-terrenos-archive .jrx-terrenos-archive__filters {
	margin-bottom: 0;
}

.jrx-search--terrenos {
	padding: 20px 24px;
	border: 1px solid var(--theme-border-color, #e5e7eb);
	border-radius: 0;
	background: #ececec;
}

.jrx-search__row--terrenos-top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 24px;
	margin-bottom: 20px;
}

.jrx-search__row--terrenos-sliders {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 32px;
	align-items: start;
}

.jrx-search__row-actions {
	margin-left: auto;
	display: flex;
	align-items: flex-end;
}

.jrx-btn--dark {
	background: #4a4a4a;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
}

.jrx-btn--dark:hover {
	background: #333;
}

.jrx-btn--ghost {
	background: transparent;
	color: #4a4a4a;
	border: 1px solid #bdbdbd;
}

.jrx-btn--ghost:hover {
	background: #f5f5f5;
}

.jrx-search__offcanvas-title {
	display: none;
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #222;
}

.jrx-search__offcanvas-actions {
	display: none;
	gap: 10px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #d8d8d8;
}

.jrx-search__offcanvas-actions .jrx-btn {
	flex: 1 1 0;
	justify-content: center;
	text-align: center;
}

.jrx-search--terrenos .jrx-search__row-actions .jrx-search__submit {
	margin-left: 8px;
}

.jrx-search--terrenos-standalone .jrx-search__row-actions .jrx-search__submit {
	min-height: 40px;
}

.jrx-search--terrenos-standalone .jrx-search__more--terrenos-sliders {
	margin-top: 8px;
	padding-top: 0;
	border-top: none;
	text-align: center;
}

.jrx-search--terrenos-standalone .jrx-search__more-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 2px auto 0;
	padding: 6px 14px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #333;
	background: transparent;
	border: 1px solid #bdbdbd;
	border-radius: 4px;
	cursor: pointer;
	list-style: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.jrx-search--terrenos-standalone .jrx-search__more-toggle::-webkit-details-marker {
	display: none;
}

.jrx-search--terrenos-standalone .jrx-search__more-toggle::after {
	content: "▾";
	font-size: 0.75rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

.jrx-search--terrenos-standalone .jrx-search__more--terrenos-sliders[open] .jrx-search__more-toggle::after {
	transform: rotate(180deg);
}

.jrx-search--terrenos-standalone .jrx-search__more-toggle:hover {
	background: #f5f5f5;
	border-color: #9e9e9e;
}

.jrx-search--terrenos-standalone .jrx-search__more--terrenos-sliders .jrx-search__row--terrenos-sliders {
	margin-top: 16px;
	margin-bottom: 0;
}

.jrx-terrenos-filters-widget {
	position: relative;
}

.jrx-terrenos-archive .jrx-terrenos-archive__filters-panel {
	margin-bottom: 0;
}

.jrx-search--terrenos .jrx-field--compact {
	flex: 0 1 180px;
	min-width: 140px;
}

.jrx-search--terrenos .jrx-field--quitado {
	flex: 0 1 148px;
	min-width: 132px;
}

.jrx-search--terrenos .jrx-segmented {
	display: inline-flex;
	width: 100%;
	height: 44px;
	border: 1px solid var(--theme-border-color, #d1d5db);
	border-radius: 10px;
	overflow: hidden;
	background: var(--theme-palette-color-8, #fff);
	box-sizing: border-box;
}

.jrx-search--terrenos .jrx-segmented__option {
	flex: 1 1 50%;
	position: relative;
	margin: 0;
	cursor: pointer;
}

.jrx-search--terrenos .jrx-segmented__option input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.jrx-search--terrenos .jrx-segmented__option span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 12px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	color: #475569;
	background: transparent;
	transition: background 0.15s ease, color 0.15s ease;
	user-select: none;
}

.jrx-search--terrenos .jrx-segmented__option + .jrx-segmented__option span {
	border-left: 1px solid var(--theme-border-color, #d1d5db);
}

.jrx-search--terrenos .jrx-segmented__option input:checked + span {
	background: #4a4a4a;
	color: #fff;
}

.jrx-search--terrenos .jrx-segmented__option input:focus-visible + span {
	outline: 2px solid var(--theme-palette-color-1, #2563eb);
	outline-offset: -2px;
}

.jrx-search--terrenos .jrx-segmented__option:hover span {
	background: #f1f5f9;
}

.jrx-search--terrenos .jrx-segmented__option input:checked + span:hover {
	background: #333;
}

/* Dual range (noUiSlider) — estilo do print */
.jrx-dual-range {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.jrx-dual-range__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 8px 12px;
	width: 100%;
}

.jrx-dual-range__value--min {
	justify-self: start;
}

.jrx-dual-range__title {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #333;
	text-align: center;
	white-space: nowrap;
}

.jrx-dual-range__value--max {
	justify-self: end;
}

.jrx-dual-range__value {
	font-size: 0.8125rem;
	font-weight: 500;
	color: #222;
	white-space: nowrap;
}

.jrx-dual-range__track {
	width: 100%;
	min-width: 0;
	height: 10px;
	margin: 0;
	padding: 0 2px;
	box-sizing: border-box;
}

.jrx-dual-range__track.noUi-target {
	width: 100%;
	height: 4px;
	margin-top: 2px;
	background: #c4c4c4;
	border: none;
	box-shadow: none;
	border-radius: 2px;
}

.jrx-dual-range__track.noUi-horizontal {
	height: 4px;
}

.jrx-dual-range__track .noUi-base,
.jrx-dual-range__track .noUi-connects {
	width: 100%;
}

.jrx-dual-range__track .noUi-base {
	height: 100%;
}

.jrx-dual-range__track .noUi-connect {
	background: #2b2b2b;
}

.jrx-dual-range__track .noUi-handle {
	width: 14px !important;
	height: 14px !important;
	right: -7px !important;
	top: -5px !important;
	border-radius: 50%;
	background: #2b2b2b;
	border: none;
	box-shadow: none;
	cursor: grab;
}

.jrx-dual-range__track .noUi-handle::before,
.jrx-dual-range__track .noUi-handle::after {
	display: none;
}

.jrx-dual-range__track .noUi-handle:active {
	cursor: grabbing;
}

.jrx-search--terrenos-standalone .jrx-search__more--terrenos-sliders .jrx-search__row--terrenos-sliders {
	grid-template-columns: 1fr;
	gap: 20px;
}

.jrx-search__row--terrenos {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 16px;
}

.jrx-search--terrenos .jrx-field--range {
	flex: 1 1 180px;
	min-width: 160px;
}

.jrx-terrenos-archive__toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

.jrx-terrenos-table {
	border: 1px solid var(--theme-border-color, #e5e7eb);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.jrx-terrenos-table__head,
.jrx-terreno-row__summary {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr 0.8fr 1fr 0.9fr 0.9fr 0.8fr 72px;
	align-items: center;
	gap: 8px;
}

.jrx-terrenos-table__head {
	padding: 10px 16px;
	background: #f1f5f9;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
	border-bottom: 1px solid #e2e8f0;
}

.jrx-terreno-row {
	border-bottom: 1px solid #e2e8f0;
}

.jrx-terreno-row:last-child {
	border-bottom: none;
}

.jrx-terreno-row__summary {
	padding: 12px 16px;
	cursor: pointer;
	transition: background 0.15s ease;
	font-size: 0.875rem;
}

.jrx-terreno-row__summary:hover,
.jrx-terreno-row.is-open .jrx-terreno-row__summary {
	background: #f8fafc;
}

.jrx-terrenos-table__col--actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.jrx-terreno-row__link,
.jrx-terreno-row__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	border-radius: 6px;
}

.jrx-terreno-row__link:hover,
.jrx-terreno-row__toggle:hover {
	background: #e2e8f0;
}

.jrx-terreno-row.is-open .jrx-terreno-row__chevron {
	transform: rotate(180deg);
}

.jrx-terreno-row__chevron {
	transition: transform 0.2s ease;
}

.jrx-terreno-row__mobile-card {
	display: none;
}

.jrx-terreno-row__detail {
	background: #eef2f6;
	border-top: 1px solid #e2e8f0;
}

.jrx-terreno-row__detail-inner {
	display: grid;
	grid-template-columns: minmax(240px, 340px) 1fr;
	gap: 20px;
	padding: 16px;
}

.jrx-terreno-row__gallery {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.jrx-terreno-row__gallery-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.jrx-terreno-row__btn--block {
	width: 100%;
}

.jrx-terreno-row__btn--map {
	background: #fff;
	color: #334155;
	border: 1px solid #cbd5e1;
}

.jrx-terreno-row__btn--map:hover {
	background: #f8fafc;
	color: #0f172a;
	border-color: #94a3b8;
}

.jrx-terreno-row__btn--map.is-active {
	background: #f1f5f9;
	color: #0f172a;
	border-color: #64748b;
}

.jrx-terreno-row__map-panel {
	margin-top: 4px;
	padding-top: 16px;
	border-top: 1px solid #e8edf2;
}

.jrx-terreno-row__map-panel .jrx-terreno-row__section-title {
	margin-bottom: 10px;
}

.jrx-terreno-row__map {
	width: 100%;
	height: 280px;
	border: 0;
	border-radius: 8px;
	display: block;
}

.jrx-terreno-row__info {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e8edf2;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.jrx-terreno-row__media {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #cbd5e1;
	min-height: 260px;
	border: 1px solid #e2e8f0;
}

.jrx-terreno-row__slider,
.jrx-terreno-row__slide-btn--single {
	width: 100%;
	height: 100%;
	min-height: 260px;
}

.jrx-terreno-row__slide-btn {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: none;
	background: transparent;
	cursor: zoom-in;
}

.jrx-terreno-row__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jrx-terreno-row__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	color: #94a3b8;
}

.jrx-terreno-row__info-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.jrx-terreno-row__info-main {
	min-width: 0;
	flex: 1;
}

.jrx-terreno-row__info-aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
}

.jrx-terreno-row__badge {
	display: inline-block;
	margin: 0 0 6px;
	padding: 3px 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #475569;
	background: #f1f5f9;
	border-radius: 4px;
}

.jrx-terreno-row__title {
	margin: 0 0 4px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
}

.jrx-terreno-row__quadra {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #334155;
}

.jrx-terreno-row__location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 0.875rem;
	color: #64748b;
}

.jrx-terreno-row__inline-icon {
	flex-shrink: 0;
	color: #94a3b8;
}

.jrx-terreno-row__updated {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 500;
	color: #94a3b8;
	white-space: nowrap;
}

.jrx-terreno-row__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	background: #fff;
	color: #64748b;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.jrx-terreno-row__icon-btn:hover {
	color: #334155;
	border-color: #cbd5e1;
	background: #f8fafc;
}

.jrx-terreno-row__highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jrx-terreno-row__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #334155;
	background: #f8fafc;
	border: 1px solid #e8edf2;
	border-radius: 999px;
}

.jrx-terreno-row__chip--status {
	color: #166534;
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.jrx-terreno-row__chip--muted {
	color: #64748b;
}

.jrx-terreno-row__chip-icon {
	flex-shrink: 0;
	color: #64748b;
}

.jrx-terreno-row__chip--status .jrx-terreno-row__chip-icon {
	color: #16a34a;
}

.jrx-terreno-row__pricing {
	padding: 14px 0 0;
	border-top: 1px solid #eef2f6;
}

.jrx-terreno-row__price-wrap {
	min-width: 0;
}

.jrx-terreno-row__price-label {
	display: block;
	margin: 0 0 2px;
	font-size: 0.75rem;
	font-weight: 500;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jrx-terreno-row__price {
	margin: 0;
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.1;
	color: #0f172a;
}

.jrx-terreno-row__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: filter 0.15s ease, background 0.15s ease;
}

.jrx-terreno-row__btn-icon {
	flex-shrink: 0;
}

.jrx-terreno-row__btn--whatsapp {
	background: #25d366;
	color: #fff;
	border: 1px solid #1fa855;
}

.jrx-terreno-row__btn--whatsapp:hover {
	filter: brightness(0.95);
	color: #fff;
}

.jrx-terreno-row__contact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: -4px 0 0;
	font-size: 0.75rem;
	color: #94a3b8;
}

.jrx-terreno-row__section + .jrx-terreno-row__section {
	margin-top: 4px;
}

.jrx-terreno-row__section-title {
	margin: 0 0 10px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
}

.jrx-terreno-row__field-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 8px;
	margin: 0;
}

.jrx-terreno-row__field-item {
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	border-radius: 8px;
}

.jrx-terreno-row__field-item--observacao {
	grid-column: 1 / -1;
}

.jrx-terreno-row__field-item dt {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0 0 4px;
	font-size: 0.6875rem;
	color: #94a3b8;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.jrx-terreno-row__field-item dt svg {
	flex-shrink: 0;
	color: #cbd5e1;
}

.jrx-terreno-row__field-item dd {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.35;
}

@media (max-width: 920px) {
	/* Mobile terrenos: sticky só no desktop; evita overlay acima do painel */
	.jrx-terrenos-archive__sticky-filters {
		position: static;
		z-index: auto;
		box-shadow: none;
	}

	.jrx-terrenos-archive__sticky-filters > .jrx-archive__container {
		padding-top: 0;
		padding-bottom: 0;
	}

	.jrx-terrenos-archive__sticky-filters .jrx-search--terrenos {
		min-height: 0;
	}

	.jrx-terrenos-archive__sticky-filters:not(:has(.jrx-search__active-filters-wrap[style*="flex"])) {
		margin: 0;
		padding: 0;
		border: 0;
	}

	.jrx-terrenos-archive__content {
		margin-top: 8px;
	}

	.jrx-terrenos-archive .jrx-archive__toolbar {
		margin-bottom: 12px;
	}

	.jrx-terrenos-archive .jrx-archive__toolbar .jrx-archive__view-switch {
		display: inline-flex;
	}

	.jrx-terrenos-archive .jrx-terrenos-archive__filters-panel[data-jrx-filters-panel] {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		height: 100dvh;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		z-index: 10000;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		margin: 0;
		border-radius: 0;
		border-right: 1px solid var(--theme-border-color, #e5e7eb);
		width: min(92vw, 380px);
		max-width: 380px;
		padding: calc(48px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));
		background: #ececec;
	}

	.jrx-terrenos-archive.is-filters-open .jrx-terrenos-archive__filters-panel[data-jrx-filters-panel] {
		transform: translateX(0);
	}

	.jrx-terrenos-archive .jrx-archive__filters-overlay {
		z-index: 9999;
	}

	.jrx-search__row--terrenos-sliders {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.jrx-search__row--terrenos-top {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-bottom: 12px;
	}

	.jrx-search__row-actions {
		margin-left: 0;
	}

	.jrx-terrenos-archive__toolbar {
		justify-content: space-between;
	}

	.jrx-terrenos-archive--list .jrx-terrenos-archive__main-inner {
		padding-bottom: 40px;
	}

	.jrx-terrenos-archive .jrx-terrenos-archive__filters {
		margin-bottom: 0;
	}

	.jrx-terrenos-archive .jrx-search--terrenos {
		padding: 0;
		border: 0;
		background: transparent;
	}

	.jrx-terrenos-archive .jrx-search__active-filters {
		margin-bottom: 8px;
	}

	.jrx-terrenos-archive .jrx-archive__filters--top .jrx-search--terrenos {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.jrx-terrenos-archive .jrx-search__offcanvas-title {
		display: block;
	}

	.jrx-terrenos-archive .jrx-search__offcanvas-actions {
		display: flex;
		position: sticky;
		bottom: 0;
		z-index: 1;
		background: #ececec;
	}

	.jrx-terrenos-archive .jrx-search__row-actions {
		display: none;
	}

	.jrx-terrenos-archive .jrx-search--terrenos .jrx-field--compact {
		flex: 1 1 auto;
		min-width: 0;
	}

	.jrx-terrenos-archive .jrx-search--terrenos .jrx-field__label {
		margin-bottom: 4px;
	}

	.jrx-terrenos-archive .jrx-search--terrenos select {
		min-height: 40px;
	}

	.jrx-terrenos-archive .jrx-search--terrenos .jrx-field--quitado {
		flex: 1 1 auto;
		min-width: 0;
	}

	.jrx-terrenos-archive .jrx-search--terrenos .jrx-segmented {
		max-width: 220px;
	}

	.jrx-terrenos-filters-widget .jrx-archive__filters-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		margin-bottom: 12px;
	}

	.jrx-search--terrenos-standalone .jrx-search__offcanvas-title {
		display: block;
	}

	.jrx-search--terrenos-standalone .jrx-search__offcanvas-actions {
		display: flex;
		position: sticky;
		bottom: 0;
		z-index: 1;
		background: #ececec;
	}

	.jrx-search--terrenos-standalone .jrx-search__row-actions {
		display: none;
	}

	.jrx-search--terrenos-standalone .jrx-search__row--terrenos-top {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-bottom: 12px;
	}

	.jrx-search--terrenos-standalone .jrx-search__row--terrenos-sliders {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.jrx-search--terrenos-standalone .jrx-search__more--terrenos-sliders {
		text-align: left;
	}

	.jrx-search--terrenos-standalone .jrx-search__more-toggle {
		margin-left: 0;
	}

	.jrx-search--terrenos-standalone .jrx-search--terrenos .jrx-field--compact,
	.jrx-search--terrenos-standalone .jrx-field--compact {
		flex: 1 1 auto;
		min-width: 0;
	}

	.jrx-terrenos-table__head {
		display: none;
	}

	.jrx-terrenos-table {
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow: visible;
	}

	.jrx-terrenos-table__body {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.jrx-terreno-row {
		border: 1px solid #e2e8f0;
		border-radius: 14px;
		overflow: hidden;
		background: #fff;
		box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
	}

	.jrx-terreno-row:last-child {
		border-bottom: 1px solid #e2e8f0;
	}

	.jrx-terreno-row__summary {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 14px 12px 14px 16px;
	}

	.jrx-terreno-row__cell--desktop {
		display: none !important;
	}

	.jrx-terreno-row__mobile-card {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		gap: 6px;
		min-width: 0;
	}

	.jrx-terreno-row__mobile-code {
		display: inline-block;
		max-width: 100%;
		font-size: 0.6875rem;
		font-weight: 600;
		line-height: 1.3;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: #94a3b8;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.jrx-terreno-row__mobile-bairro {
		margin: 0;
		font-size: 1rem;
		font-weight: 700;
		line-height: 1.25;
		color: #0f172a;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.jrx-terreno-row__mobile-stats {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 14px;
		margin-top: 2px;
	}

	.jrx-terreno-row__mobile-stat {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		font-size: 0.8125rem;
		font-weight: 600;
		color: #475569;
	}

	.jrx-terreno-row__mobile-stat--price {
		color: #0f766e;
	}

	.jrx-terreno-row__mobile-stat-icon {
		flex-shrink: 0;
		color: #64748b;
	}

	.jrx-terreno-row__mobile-stat--price .jrx-terreno-row__mobile-stat-icon {
		color: #0d9488;
	}

	.jrx-terrenos-table__col--actions {
		flex: 0 0 auto;
		align-self: center;
	}

	.jrx-terreno-row__link,
	.jrx-terreno-row__toggle {
		width: 34px;
		height: 34px;
		border-radius: 10px;
		background: #f8fafc;
	}

	.jrx-terreno-row__summary:hover,
	.jrx-terreno-row.is-open .jrx-terreno-row__summary {
		background: #fff;
	}

	.jrx-terreno-row.is-open {
		border-color: #cbd5e1;
		box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
	}

	.jrx-terreno-row__detail-inner {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------ *
 * Terrenos — mapa interativo
 * ------------------------------------------------------------------ */

.jrx-terrenos-archive--map .jrx-terrenos-archive__content {
	padding-bottom: 0;
}

.jrx-terrenos-archive--map .jrx-terrenos-archive__main {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
}

.jrx-terrenos-archive--map .jrx-terrenos-archive__main-inner {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.jrx-terrenos-archive--list .jrx-terrenos-map-wrap {
	display: none;
}

.jrx-terrenos-archive--map [data-jrx-results] {
	display: none;
}

.jrx-terrenos-archive--map .jrx-archive__infinite-sentinel {
	display: none;
}

.jrx-terrenos-map-wrap {
	position: relative;
	width: 100%;
	min-height: min(75vh, 800px);
	border: 0;
	border-top: 1px solid var(--theme-border-color, #e5e7eb);
	background: #f3f4f6;
}

.jrx-terrenos-archive--map .jrx-terrenos-map-wrap {
	min-height: calc(100dvh - var(--jrx-terrenos-sticky-height, 200px));
}

.jrx-terrenos-archive--map .jrx-terrenos-map {
	min-height: calc(100dvh - var(--jrx-terrenos-sticky-height, 200px));
}

.jrx-terrenos-map {
	width: 100%;
	height: 100%;
	min-height: min(75vh, 800px);
}

.jrx-terrenos-map-popup {
	position: absolute;
	z-index: 999;
	width: min(100% - 32px, 360px);
	pointer-events: none;
}

.jrx-terrenos-map-popup.is-centered {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.jrx-terrenos-map-popup.is-positioned {
	pointer-events: auto;
}

.jrx-terrenos-map-popup__inner {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
	overflow: hidden;
	text-align: center;
}

.jrx-terrenos-map-popup__media {
	position: relative;
	width: 100%;
}

.jrx-terrenos-map-popup__gallery {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--theme-palette-color-7, #f3f4f6);
}

.jrx-terrenos-map-popup__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jrx-terrenos-map-popup__img.is-logo {
	object-fit: contain;
	padding: 18%;
	background: var(--theme-palette-color-7, #f3f4f6);
}

.jrx-terrenos-map-popup__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid color-mix(in srgb, #ffffff 60%, transparent);
	border-radius: 999px;
	background-color: color-mix(in srgb, #000000 25%, transparent);
	backdrop-filter: blur(4px);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.15);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jrx-terrenos-map-popup__arrow:hover {
	background-color: color-mix(in srgb, #000000 45%, transparent);
	border-color: #fff;
}

.jrx-terrenos-map-popup__arrow--prev {
	left: 8px;
}

.jrx-terrenos-map-popup__arrow--next {
	right: 8px;
}

.jrx-terrenos-map-popup__gallery-count {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 3;
	padding: 5px 9px;
	border-radius: var(--theme-border-radius-sm, var(--theme-border-radius, 999px));
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	background: rgba(17, 24, 39, 0.72);
	color: #fff;
	pointer-events: none;
}

.jrx-terrenos-map-popup__body {
	padding: 16px 18px;
}

.jrx-terrenos-map-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 4;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 1.25rem;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.jrx-terrenos-map-popup__close:hover {
	color: #111827;
}

.jrx-terrenos-map-popup__heading {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.35;
}

.jrx-terrenos-map-popup__price {
	margin: 0 0 12px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #111827;
}

.jrx-terrenos-map-popup__stats {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
	font-size: 0.82rem;
	color: #4b5563;
}

.jrx-terrenos-map-popup__stats li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.jrx-terrenos-map-popup__situacao {
	margin: 0 0 14px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #374151;
}

.jrx-terrenos-map-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.jrx-terrenos-map-popup__btn {
	flex: 1 1 auto;
	min-width: 120px;
	justify-content: center;
	text-decoration: none;
}

.jrx-terrenos-map-popup__empty {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
	background: rgba(255, 255, 255, 0.95);
	padding: 16px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
	max-width: min(100% - 32px, 360px);
	text-align: center;
	font-size: 0.92rem;
	color: #4b5563;
}

.jrx-terrenos-map-popup__empty p {
	margin: 0;
}

@media (max-width: 767px) {
	.jrx-terrenos-map-wrap,
	.jrx-terrenos-map {
		min-height: min(65vh, 600px);
	}

	.jrx-terrenos-map-popup {
		width: min(100% - 24px, 340px);
	}
}
