/**
 * AgentView IDX
 * Premium property listing styles
 * Version: 1.0.0
 */

/* ==========================================================================
   CSS Custom Properties (Defaults — overridden by Elementor controls)
   ========================================================================== */
:root {
	--lidx-accent: #b8860b;
	--lidx-dark: #1a1a2e;
	--lidx-text: #444444;
	--lidx-muted: #888888;
	--lidx-card-bg: #ffffff;
	--lidx-card-radius: 8px;
	--lidx-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Grid Layout
   ========================================================================== */
.av-idx-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 24px;
	row-gap: 30px;
	width: 100%;
}

@media (max-width: 1024px) {
	.av-idx-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.av-idx-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Card — Shared between Grid & Slider
   ========================================================================== */
.av-idx-card {
	position: relative;
	background-color: var(--lidx-card-bg);
	border-radius: var(--lidx-card-radius);
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
	transition: transform var(--lidx-transition), box-shadow var(--lidx-transition);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.av-idx-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- Image ---------- */
.av-idx-card__image-link {
	display: block;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.av-idx-card__image {
	position: relative;
	height: 320px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.av-idx-card:hover .av-idx-card__image {
	transform: scale(1.05);
}

/* ---------- Price Overlay ---------- */
.av-idx-card__price-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 20px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
	pointer-events: none;
}

.av-idx-card__price {
	font-size: 28px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	font-family: 'Georgia', 'Times New Roman', serif;
}

/* ---------- Status Badge ---------- */
.av-idx-card__status {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 14px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #ffffff;
	background-color: var(--lidx-dark);
	z-index: 2;
}

/* ---------- Card Body ---------- */
.av-idx-card__body {
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* ---------- Title ---------- */
.av-idx-card__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	font-family: 'Georgia', 'Times New Roman', serif;
}

.av-idx-card__title a {
	color: var(--lidx-dark);
	text-decoration: none;
	transition: color var(--lidx-transition);
}

.av-idx-card__title a:hover {
	color: var(--lidx-accent);
}

/* ---------- Address ---------- */
.av-idx-card__address {
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 500;
	color: var(--lidx-text);
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.av-idx-card__city {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--lidx-muted);
	line-height: 1.3;
}

/* ---------- Meta (Beds, Baths, SqFt, Acres) ---------- */
.av-idx-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding-top: 14px;
	margin-top: auto;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	align-items: center;
}

.av-idx-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 14px;
	font-weight: 600;
	color: #555555;
	line-height: 1;
	white-space: nowrap;
}

.av-idx-card__meta-item svg {
	flex-shrink: 0;
	opacity: 0.85;
}

.av-idx-meta-label {
	font-weight: 400;
	color: #999999;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ---------- More Details Link ---------- */
.av-idx-card__details-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--lidx-accent);
	text-decoration: none;
	transition: color var(--lidx-transition), gap var(--lidx-transition);
}

.av-idx-card__details-link:hover {
	gap: 10px;
}

.av-idx-card__details-link svg {
	transition: transform var(--lidx-transition);
}

.av-idx-card__details-link:hover svg {
	transform: translateX(2px);
}

/* ---------- Disclaimer ---------- */
.av-idx-card__disclaimer {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.av-idx-disclaimer-text,
.av-idx-courtesy-text {
	font-size: 9px;
	line-height: 1.4;
	color: #aaa;
	margin: 0;
}

.av-idx-disclaimer-logo {
	max-height: 20px;
	width: auto;
	margin-top: 4px;
	opacity: 0.6;
}

/* ---------- No Results ---------- */
.av-idx-no-results {
	text-align: center;
	padding: 60px 20px;
	color: var(--lidx-muted);
	font-size: 16px;
}

/* ==========================================================================
   Grid Pagination
   ========================================================================== */
.av-idx-grid-wrap {
	width: 100%;
}

.av-idx-card-item {
	display: block;
}

.av-idx-card-item.av-idx-card--hidden {
	display: none;
}

.av-idx-grid-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin-top: 30px;
}

.av-idx-grid-pagination .av-idx-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: #555555;
	background-color: #f0f0f0;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
	line-height: 1;
}

.av-idx-grid-pagination .av-idx-page-btn:hover {
	background-color: #e0e0e0;
}

.av-idx-grid-pagination .av-idx-page-btn.active {
	color: #ffffff;
	background-color: var(--lidx-accent);
	pointer-events: none;
}

.av-idx-grid-pagination .av-idx-page-btn.active:hover {
	background-color: var(--lidx-accent);
}

.av-idx-grid-pagination .av-idx-page-prev,
.av-idx-grid-pagination .av-idx-page-next {
	font-size: 20px;
	font-weight: 300;
}

/* ==========================================================================
   Slider Layout
   ========================================================================== */
.av-idx-slider-wrap {
	position: relative;
	width: 100%;
}

.av-idx-slider {
	overflow: hidden;
	padding-bottom: 50px;
}

.av-idx-slider .swiper-slide {
	height: auto;
}

.av-idx-slider .av-idx-card {
	height: 100%;
}

/* ---------- Navigation Arrows ---------- */
.av-idx-slider-prev,
.av-idx-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	transition: background-color var(--lidx-transition), box-shadow var(--lidx-transition), transform 0.2s ease;
	color: var(--lidx-dark);
}

.av-idx-slider-prev:hover,
.av-idx-slider-next:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.av-idx-slider-prev {
	left: -22px;
}

.av-idx-slider-next {
	right: -22px;
}

@media (max-width: 1024px) {
	.av-idx-slider-prev {
		left: 6px;
	}
	.av-idx-slider-next {
		right: 6px;
	}
}

.av-idx-slider-prev svg,
.av-idx-slider-next svg {
	width: 20px;
	height: 20px;
}

.av-idx-slider-prev i,
.av-idx-slider-next i {
	font-size: 20px;
	line-height: 1;
}

/* ---------- Pagination Dots ---------- */
.av-idx-slider-pagination {
	text-align: center;
	margin-top: 8px;
}

.av-idx-slider-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 5px;
	opacity: 1;
	background-color: #cccccc;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.av-idx-slider-pagination .swiper-pagination-bullet-active {
	background-color: var(--lidx-accent);
	transform: scale(1.2);
}

/* ==========================================================================
   Design Variation: Overlay Price Card (like screenshot 1)
   ========================================================================== */
.av-idx-card--overlay-style .av-idx-card__body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
	color: #fff;
	padding: 40px 24px 24px;
}

.av-idx-card--overlay-style .av-idx-card__title a,
.av-idx-card--overlay-style .av-idx-card__address,
.av-idx-card--overlay-style .av-idx-card__city,
.av-idx-card--overlay-style .av-idx-card__meta,
.av-idx-card--overlay-style .av-idx-card__meta-item,
.av-idx-card--overlay-style .av-idx-meta-label {
	color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.av-idx-card__image-link:focus-visible,
.av-idx-card__details-link:focus-visible,
.av-idx-card__title a:focus-visible,
.av-idx-slider-prev:focus-visible,
.av-idx-slider-next:focus-visible {
	outline: 2px solid var(--lidx-accent);
	outline-offset: 2px;
}

/* ==========================================================================
   Property Filter
   ========================================================================== */
.av-filter {
	margin-bottom: 30px;
	padding: 0;
}

.av-filter__row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.av-filter__row--dropdowns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.av-filter__row--sliders {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.av-filter__field {
	flex: 1;
}

.av-filter__field--full {
	width: 100%;
}

.av-filter__input {
	width: 100%;
	padding: 14px 0;
	border: none;
	border-bottom: 1px solid #ccc;
	outline: none;
	font-size: 15px;
	color: #333;
	background: transparent;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
}

.av-filter__input:focus {
	border-bottom-color: #1a1a2e;
}

.av-filter__input::placeholder {
	color: #999;
}

/* ── Address Autocomplete ── */
.av-filter__address-wrap {
	position: relative;
}

.av-filter__suggest-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-top: none;
	border-radius: 0 0 8px 8px;
	max-height: 240px;
	overflow-y: auto;
	list-style: none;
	margin: 0;
	padding: 0;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.av-filter__suggest-list.open {
	display: block;
}

.av-filter__suggest-item {
	padding: 10px 14px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	transition: background 0.15s ease;
	border-bottom: 1px solid #f5f5f5;
}

.av-filter__suggest-item:last-child {
	border-bottom: none;
}

.av-filter__suggest-item:hover,
.av-filter__suggest-item.active {
	background: #f5f5f5;
}

.av-filter__suggest-item mark {
	background: transparent;
	font-weight: 700;
	color: inherit;
}

.av-filter__select {
	width: 100%;
	padding: 14px 0;
	border: none;
	border-bottom: 1px solid #ccc;
	outline: none;
	font-size: 15px;
	color: #999;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23999'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 24px;
	cursor: pointer;
	transition: border-color 0.3s ease;
}

.av-filter__select:focus {
	border-bottom-color: #1a1a2e;
}

.av-filter__select option:not([value=""]) {
	color: #333;
}

/* ── Range Sliders ── */
.av-filter__range-group {
	position: relative;
}

.av-filter__range-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #333;
	margin-bottom: 16px;
}

.av-filter__range-wrap {
	position: relative;
	height: 6px;
	background: #e0e0e0;
	border-radius: 3px;
}

.av-filter__range {
	position: absolute;
	top: -8px;
	left: 0;
	width: 100%;
	height: 22px;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
	margin: 0;
}

.av-filter__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1a1a2e;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	position: relative;
	z-index: 2;
}

.av-filter__range::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1a1a2e;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.av-filter__range-values {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 13px;
	color: #555;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.av-filter__row--dropdowns {
		grid-template-columns: 1fr;
	}
	.av-filter__row--sliders {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ── Show All Button ── */
.av-filter-show-all {
	text-align: center;
	margin-top: 28px;
}

.av-filter-show-all__btn {
	display: inline-block;
	padding: 12px 36px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #1a1a2e;
	background: transparent;
	border: 1.5px solid #1a1a2e;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
}

.av-filter-show-all__btn:hover {
	background: #1a1a2e;
	color: #fff;
}

/* ==========================================================================
   Search Bar
   ========================================================================== */

/* Reset IDX default omnibar styles inside our wrapper */
.av-search-bar .idx-omnibar-form {
	all: unset;
	display: flex;
	width: 100%;
}
.av-search-bar .idx-omnibar-extra {
	all: unset;
}
.av-search-bar .idx-omnibar-extra label,
.av-search-bar label.screen-reader-text {
	display: none !important;
}

/* Hide Awesomplete status/screen-reader text that leaks visually */
.av-search-bar .awesomplete [role="status"],
.av-search-bar .awesomplete .visually-hidden,
.av-search-bar .awesomplete > span[aria-live] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.av-search-bar {
	background-color: #ffffff;
	padding: 12px;
	width: 100%;
	position: relative;
}

.av-search-bar__inner {
	display: flex;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.av-search-bar--stacked .av-search-bar__inner {
	flex-direction: column;
}

/* ── Address input — Awesomplete wraps it in .awesomplete div ── */
.av-search-bar .awesomplete {
	flex: 2 1 0;
	min-width: 200px;
	position: relative;
	display: flex;
}

.av-search-bar .idx-omnibar-input,
.av-search-bar .av-search-address-input {
	width: 100%;
	height: 48px !important;
	border: 1px solid #ddd;
	border-radius: 6px;
	outline: none !important;
	background: #fff !important;
	font-size: 14px;
	color: #333;
	padding: 0 14px !important;
	box-sizing: border-box !important;
	transition: border-color 0.25s ease;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	min-height: 0 !important;
	max-height: none !important;
	line-height: normal !important;
}

.av-search-bar .idx-omnibar-input:focus {
	border-color: #b8860b;
}

.av-search-bar .idx-omnibar-input::placeholder {
	color: #999;
}

/* Awesomplete autocomplete dropdown */
.av-search-bar .awesomplete > ul {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 200;
	background: #fff;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 6px 6px;
	max-height: 260px;
	overflow-y: auto;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.av-search-bar .awesomplete > ul > li {
	padding: 10px 14px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	transition: background 0.15s ease;
	border-bottom: 1px solid #f5f5f5;
}

.av-search-bar .awesomplete > ul > li:last-child {
	border-bottom: none;
}

.av-search-bar .awesomplete > ul > li:hover,
.av-search-bar .awesomplete > ul > li[aria-selected="true"] {
	background: #f5f5f5;
}

.av-search-bar .awesomplete mark {
	background: transparent;
	font-weight: 700;
	color: inherit;
}

/* ── Field wrapper (price, beds, baths) ── */
.av-search-field {
	display: flex !important;
	align-items: center;
	position: relative;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: visible;
	height: 48px !important;
	min-height: 0 !important;
	max-height: none !important;
	background: #fff;
	transition: border-color 0.25s ease;
	box-sizing: border-box !important;
}

.av-search-field:focus-within {
	border-color: #b8860b;
}

.av-search-field--price {
	flex: 1 1 0;
	min-width: 120px;
}

.av-search-field--select {
	flex: 0 1 120px;
	min-width: 100px;
}

/* When a field is BOTH a price and a select (new price dropdowns),
   keep the wider price sizing so labels like "$10M" fit comfortably. */
.av-search-field.av-search-field--price.av-search-field--select {
	flex: 1 1 0;
	min-width: 120px;
}

/* ── $ prefix inside price field ── */
.av-search-field__prefix {
	padding-left: 14px;
	font-size: 15px;
	font-weight: 600;
	color: #999;
	pointer-events: none;
	line-height: 1;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	height: 100%;
}

.av-search-field__input,
.av-search-bar .idx-omnibar-price,
.av-search-bar .idx-omnibar-min-price {
	width: 100%;
	height: 100% !important;
	min-height: 0 !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	font-size: 14px;
	color: #333;
	padding: 0 14px !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	line-height: normal !important;
	box-sizing: border-box !important;
}

/* Reduce left padding when $ prefix is present */
.av-search-field__prefix + .av-search-field__input,
.av-search-field__prefix + .idx-omnibar-price,
.av-search-field__prefix + .idx-omnibar-min-price {
	padding-left: 6px !important;
}

.av-search-field__input::placeholder,
.av-search-bar .idx-omnibar-price::placeholder,
.av-search-bar .idx-omnibar-min-price::placeholder {
	color: #999;
}

/* Remove number spinners */
.av-search-bar input[type="number"]::-webkit-inner-spin-button,
.av-search-bar input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}
.av-search-bar input[type="number"] {
	-moz-appearance: textfield !important;
}

.av-search-field__select {
	width: 100%;
	height: 100% !important;
	min-height: 0 !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	font-size: 14px;
	color: #999;
	/* Right padding (32px) leaves clear space for the dropdown arrow so it never overlaps the text. */
	padding: 0 32px 0 14px !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	line-height: normal !important;
	box-sizing: border-box !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23999'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	text-overflow: ellipsis;
}

/* Price-specific select — show selected value in the darker input text color,
   but keep the placeholder (empty "Min/Max Price") in the muted color. */
.av-search-field__select--price {
	color: #333;
}
.av-search-field__select--price:invalid,
.av-search-field__select--price option[value=""] {
	color: #999;
}

/* ── Buttons ── */
.av-search-btn,
.av-search-bar .idx-omnibar-extra-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px !important;
	padding: 0 28px;
	border: none;
	border-radius: 6px;
	background: #e8520e;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
	white-space: nowrap;
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
	line-height: 1;
	text-decoration: none;
}

.av-search-btn:hover {
	background: #c94509;
}

.av-search-btn i,
.av-search-btn svg {
	font-size: 14px;
	width: 14px;
	height: 14px;
	transition: color 0.25s ease;
}

.av-search-advanced-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px !important;
	padding: 0 20px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #555;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease;
	white-space: nowrap;
	flex-shrink: 0;
	text-decoration: none;
	-webkit-appearance: none;
	appearance: none;
	line-height: 1;
}

.av-search-advanced-btn:hover {
	border-color: #999;
	background: #fafafa;
	text-decoration: none;
	color: #333;
}

.av-search-advanced-btn i,
.av-search-advanced-btn svg {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* ── Property Tabs ── */
.av-search-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.av-search-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #666;
	background: #f0f0f0;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
	line-height: 1.3;
	white-space: nowrap;
}

.av-search-tab:hover {
	background: #e0e0e0;
}

.av-search-tab.active {
	color: #ffffff;
	background: #1a1a2e;
}

.av-search-tab.active:hover {
	opacity: 0.9;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.av-search-bar--horizontal .av-search-bar__inner {
		flex-wrap: wrap;
	}
	.av-search-bar .awesomplete {
		flex: 1 1 100%;
	}
	.av-search-field--price,
	.av-search-field--select {
		flex: 1 1 calc(50% - 5px);
	}
}

@media (max-width: 600px) {
	.av-search-bar__inner {
		flex-direction: column;
	}
	.av-search-field--price,
	.av-search-field--select {
		flex: 1 1 100%;
	}
	.av-search-btn,
	.av-search-advanced-btn {
		width: 100%;
	}
}

/* ==========================================================================
   Modern Carousel (3D Coverflow)
   ========================================================================== */
.av-mc-wrap {
	width: 100%;
	position: relative;
	padding: 20px 0 40px;
	overflow: hidden;
}

.av-mc-slider {
	overflow: visible !important;
	padding: 20px 0;
}

.av-mc-slider .swiper-wrapper {
	align-items: center;
}

/* ── Slide ── */
.av-mc-slider .swiper-slide {
	transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
	opacity: var(--av-mc-inactive-opacity, 0.5);
	text-align: center;
}

.av-mc-slider .swiper-slide-active {
	opacity: 1 !important;
	filter: none !important;
	transform: scale(var(--av-mc-active-scale, 1));
	z-index: 2;
}

/* Grayscale mode for inactive */
.av-mc--grayscale .swiper-slide:not(.swiper-slide-active) {
	filter: grayscale(100%);
}

/* ── Card ── */
.av-mc-card {
	display: block;
	position: relative;
	height: 400px;
	overflow: hidden;
	border-radius: 12px;
	text-decoration: none;
}

.av-mc-card__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.6s ease;
}

.av-mc-card:hover .av-mc-card__img {
	transform: scale(1.05);
}

.av-mc-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
	z-index: 1;
}

/* ── Status Badge ── */
.av-mc-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0,0,0,0.6);
	border-radius: 4px;
	line-height: 1.2;
}

/* ── Content on image ── */
.av-mc-card__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 20px;
}

.av-mc-card__address {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 4px;
	line-height: 1.3;
}

.av-mc-card__meta {
	font-size: 12px;
	color: rgba(255,255,255,0.8);
	margin: 0;
	line-height: 1.3;
}

/* ── Caption below card (visible on active) ── */
.av-mc-caption {
	padding: 14px 8px 0;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.swiper-slide-active .av-mc-caption {
	opacity: 1;
}

.av-mc-caption__name {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.3;
	margin-bottom: 2px;
}

.av-mc-caption__sub {
	font-size: 13px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.3;
}

/* ── Navigation Arrows ── */
.av-mc-nav-btn {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.9);
	color: #1a1a2e;
	cursor: pointer;
	transition: box-shadow 0.3s ease, background 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.av-mc-nav-btn:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.av-mc-nav-btn svg {
	width: 16px;
	height: 16px;
}

.av-mc-prev {
	left: 20px;
}

.av-mc-next {
	right: 20px;
}

/* ── Pagination Dots ── */
.av-mc-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.av-mc-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ccc;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.av-mc-dot.active {
	background: #1a1a2e;
	transform: scale(1.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.av-mc-card {
		height: 300px;
	}
	.av-mc-nav-btn {
		width: 32px;
		height: 32px;
	}
	.av-mc-prev {
		left: 8px;
	}
	.av-mc-next {
		right: 8px;
	}
	.av-mc-caption__name {
		font-size: 15px;
	}
}

/* ==========================================================================
   Property Cards (Grid / Slider with hover overlay)
   ========================================================================== */
.av-pc-wrap {
	width: 100%;
	position: relative;
}

/* ── Grid Layout ── */
.av-pc-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.av-pc-card-item.av-pc-card--hidden {
	display: none;
}

/* ── Card ── */
.av-pc-card {
	display: block;
	text-decoration: none;
	background: #fff;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.av-pc-card:hover {
	text-decoration: none;
}

/* ── Image ── */
.av-pc-card__image {
	position: relative;
	height: 280px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

/* ── Status Badge ── */
.av-pc-card__status {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(127,149,134,0.85);
	line-height: 1.2;
}

/* ── Hover Overlay ── */
.av-pc-card__hover-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(127,149,134,0.6);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.av-pc-card:hover .av-pc-card__hover-overlay {
	opacity: 1;
}

.av-pc-card__hover-btn {
	display: inline-block;
	padding: 12px 32px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(127,149,134,0.85);
	transition: transform 0.3s ease;
	text-decoration: none;
	line-height: 1.3;
}

.av-pc-card:hover .av-pc-card__hover-btn {
	transform: scale(1.02);
}

/* ── Body ── */
.av-pc-card__body {
	padding: 20px 20px 24px;
	text-align: center;
}

.av-pc-card__title {
	font-size: 18px;
	font-weight: 400;
	color: #2c2c2c;
	margin: 0 0 6px;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

.av-pc-card__address {
	font-size: 12px;
	color: #555;
	margin: 0 0 6px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.4;
}

.av-pc-card__meta {
	font-size: 12px;
	color: #666;
	margin: 0 0 8px;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.av-pc-card__price {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a2e;
	margin: 0;
	line-height: 1.3;
}

/* ── Pagination (Grid) ── */
.av-pc-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 30px;
}

.av-pc-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	font-size: 14px;
	font-weight: 500;
	color: #999;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: color 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
}

.av-pc-page-btn.active {
	color: #1a1a2e;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.av-pc-page-btn:hover {
	color: #1a1a2e;
}

/* ── Text Nav (Slider) ── */
.av-pc-text-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 20px;
}

.av-pc-text-nav button {
	background: none;
	border: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1a1a2e;
	cursor: pointer;
	padding: 0 0 4px;
	transition: opacity 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
	position: relative;
}

.av-pc-text-nav button::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1.5px;
	background: currentColor;
	transition: width 0.35s ease;
}

.av-pc-text-nav button:hover::after {
	width: 100%;
}

.av-pc-text-nav-divider {
	color: #ccc;
	font-weight: 300;
	font-size: 16px;
}

/* ── Slider ── */
.av-pc-slider {
	overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.av-pc-grid {
		grid-template-columns: 1fr;
	}
	.av-pc-card__image {
		height: 220px;
	}
	.av-pc-card__title {
		font-size: 16px;
	}
}

/* ==========================================================================
   Avatar Slider (Full-bg, left content, horizontal thumbs right)
   ========================================================================== */
.av-av-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
}

.av-av-main-slider,
.av-av-main-slider .swiper-wrapper,
.av-av-main-slider .swiper-slide {
	height: 100% !important;
}

.av-av-slide {
	position: relative;
	width: 100%;
	height: 580px;
	overflow: hidden;
}

.av-av-slide__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 8s ease;
}

/* ── Zoom-out effect: inactive slides zoomed in, active zooms to normal ── */
.av-av-main-slider .swiper-slide {
	overflow: hidden;
}

.av-av-main-slider .swiper-slide .av-av-slide__img {
	transform: scale(1.2);
	transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.av-av-main-slider .swiper-slide-active .av-av-slide__img {
	transform: scale(1);
	transition: transform 8s ease;
}

.av-av-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(10,10,25,0.35) 0%, transparent 60%);
	z-index: 1;
}

/* ── Badge ── */
.av-av-badge {
	position: absolute;
	top: 24px;
	left: 24px;
	z-index: 5;
	padding: 6px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0,0,0,0.5);
	border-radius: 6px;
	backdrop-filter: blur(4px);
}

/* ── Content (left, vertically centered) ── */
.av-av-info {
	position: absolute;
	top: 50%;
	left: 48px;
	transform: translateY(-50%);
	z-index: 3;
	max-width: 45%;
}

.av-av-info__title {
	font-size: 36px;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
	margin: 0 0 14px;
	text-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.av-av-info__meta {
	font-size: 15px;
	color: rgba(255,255,255,0.75);
	margin: 0 0 24px;
	line-height: 1.5;
}

.av-av-info__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 32px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	background: #fff;
	border: none;
	border-radius: 50px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.av-av-info__btn:hover {
	background: rgba(255,255,255,0.85);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	text-decoration: none;
	color: #1a1a2e;
}

.av-av-info__btn i,
.av-av-info__btn svg {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

/* ── Staggered entrance ── */
.av-av-info__title,
.av-av-info__meta,
.av-av-info__btn {
	opacity: 0;
	transform: translateY(25px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.swiper-slide-active .av-av-info__title {
	opacity: 1; transform: translateY(0); transition-delay: 0.1s;
}
.swiper-slide-active .av-av-info__meta {
	opacity: 1; transform: translateY(0); transition-delay: 0.25s;
}
.swiper-slide-active .av-av-info__btn {
	opacity: 1; transform: translateY(0); transition-delay: 0.4s;
}

/* ── Right panel: Nav arrow + thumbs ── */
.av-av-right {
	position: absolute;
	top: 50%;
	right: 36px;
	transform: translateY(-50%);
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 16px;
}

.av-av-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: #1a1a2e;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
	flex-shrink: 0;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.av-av-nav-btn:hover {
	background: #f0f0f0;
	transform: scale(1.05);
}

.av-av-nav-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

.av-av-nav-btn i {
	font-size: 16px;
}

/* ── Thumbs ── */
.av-av-thumbs-wrap {
	width: 380px;
	overflow: hidden;
}

.av-av-thumbs-slider {
	overflow: visible !important;
}

.av-av-thumb {
	position: relative;
	width: 100%;
	height: 200px;
	min-width: 170px;
	overflow: hidden;
	border-radius: 14px;
	border: 3px solid transparent;
	transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
	cursor: pointer;
}

.swiper-slide-thumb-active .av-av-thumb {
	border-color: #ffffff;
	transform: scale(1.05);
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.av-av-thumb__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
	.av-av-info {
		max-width: 40%;
		left: 32px;
	}
	.av-av-info__title {
		font-size: 28px;
	}
	.av-av-right {
		right: 20px;
		gap: 12px;
	}
	.av-av-thumbs-wrap {
		width: 300px;
	}
	.av-av-thumb {
		height: 160px;
		min-width: 140px;
	}
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
	.av-av-slide {
		height: 500px;
	}
	.av-av-slide__overlay {
		background: linear-gradient(to top, rgba(10,10,25,0.6) 0%, transparent 50%) !important;
	}
	.av-av-info {
		top: auto;
		bottom: 120px;
		left: 20px;
		right: 20px;
		max-width: none;
		transform: none;
	}
	.av-av-info__title {
		font-size: 22px;
	}
	.av-av-info__meta {
		font-size: 13px;
		margin-bottom: 16px;
	}
	.av-av-info__btn {
		padding: 10px 24px;
		font-size: 13px;
	}
	.av-av-right {
		position: absolute;
		top: auto;
		bottom: 16px;
		left: 20px;
		right: 20px;
		transform: none;
		gap: 10px;
	}
	.av-av-nav-btn {
		width: 40px;
		height: 40px;
	}
	.av-av-thumbs-wrap {
		width: calc(100% - 52px);
	}
	.av-av-thumb {
		height: 80px;
		border-radius: 10px;
		border-width: 2px;
	}
}

@media (max-width: 480px) {
	.av-av-slide {
		height: 420px;
	}
	.av-av-info {
		bottom: 100px;
	}
	.av-av-info__title {
		font-size: 18px;
	}
	.av-av-thumb {
		height: 65px;
	}
}

/* ==========================================================================
   Showcase Slider (Main + Thumbs Synced)
   ========================================================================== */
.av-ss-wrap {
	position: relative;
	width: 100%;
	height: 550px;
	overflow: visible;
}

/* ── Main Panel (full width, image behind everything) ── */
.av-ss-main {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.av-ss-main-slider,
.av-ss-main-slider .swiper-wrapper,
.av-ss-main-slider .swiper-slide {
	height: 100% !important;
}

.av-ss-main__slide {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.av-ss-main__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 7s ease;
}

.swiper-slide-active .av-ss-main__img {
	transform: scale(1.05);
}

.av-ss-main__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(10,10,25,0.55) 0%, rgba(10,10,25,0.1) 50%, rgba(10,10,25,0.35) 100%);
	z-index: 1;
}

/* ── Badge ── */
.av-ss-badge {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 5;
	padding: 6px 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: #1a1a2e;
	border-radius: 4px;
	line-height: 1.2;
}

/* ── Info Content (bottom-left) ── */
.av-ss-info {
	position: absolute;
	bottom: 36px;
	left: 36px;
	z-index: 3;
	max-width: 55%;
}

.av-ss-info__title {
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	line-height: 1.15;
	margin: 0 0 8px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.av-ss-info__meta {
	font-size: 14px;
	color: rgba(255,255,255,0.85);
	margin: 0 0 18px;
	line-height: 1.4;
}

.av-ss-info__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	font-size: 13px;
	font-weight: 600;
	color: #1a1a2e;
	background: #fff;
	border: none;
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
	line-height: 1.3;
	cursor: pointer;
}

.av-ss-info__btn:hover {
	background: rgba(255,255,255,0.85);
	transform: translateY(-1px);
	text-decoration: none;
	color: #1a1a2e;
}

.av-ss-info__btn i,
.av-ss-info__btn svg {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

/* ── Staggered entrance animation ── */
.av-ss-info__title,
.av-ss-info__meta,
.av-ss-info__btn {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.swiper-slide-active .av-ss-info__title {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.15s;
}

.swiper-slide-active .av-ss-info__meta {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}

.swiper-slide-active .av-ss-info__btn {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.45s;
}

/* ── Nav Arrows (under main image, left + right) ── */
.av-ss-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
	position: relative;
	z-index: 10;
	padding: 0 4px;
}

.av-ss-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
	cursor: pointer;
	transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
	flex-shrink: 0;
}

.av-ss-nav-btn:hover {
	background: #1a1a2e;
	border-color: #1a1a2e;
	color: #fff;
}

.av-ss-nav-btn svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

.av-ss-nav-btn i {
	font-size: 14px;
}

/* ── Pagination Dots (centered between arrows) ── */
.av-ss-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 1;
}

.av-ss-dots .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #cccccc;
	opacity: 1;
	border-radius: 50%;
	transition: background 0.3s ease, transform 0.3s ease;
	cursor: pointer;
}

.av-ss-dots .swiper-pagination-bullet-active {
	background: #1a1a2e;
	transform: scale(1.2);
}

/* ── Thumbs Panel (overlaps right side of main image) ── */
.av-ss-thumbs-panel {
	position: absolute;
	top: 10px;
	right: -40px;
	bottom: 10px;
	width: 32%;
	z-index: 6;
	overflow: hidden;
}

.av-ss-thumbs-slider,
.av-ss-thumbs-slider .swiper-wrapper {
	height: 100% !important;
}

.av-ss-thumbs-slider .swiper-slide {
	box-sizing: border-box;
	cursor: pointer;
}

.av-ss-thumb {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	border: 3px solid transparent;
	transition: border-color 0.35s ease, transform 0.35s ease;
}

.av-ss-thumb.active,
.swiper-slide-thumb-active .av-ss-thumb {
	border-color: #ffffff;
	transform: scale(1.04);
}

.av-ss-thumb__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.av-ss-thumb__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}

.av-ss-thumb__label {
	position: absolute;
	bottom: 10px;
	left: 12px;
	right: 12px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	z-index: 2;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
	.av-ss-wrap {
		height: auto;
		overflow: visible;
	}
	.av-ss-main {
		width: 100%;
		height: 400px;
		border-radius: 10px;
	}
	.av-ss-thumbs-panel {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		height: 120px;
		margin-top: 12px;
		overflow: hidden;
	}
	.av-ss-info {
		max-width: 80%;
	}
	.av-ss-info__title {
		font-size: 22px;
	}
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
	.av-ss-main {
		height: 300px;
	}
	.av-ss-thumbs-panel {
		height: 90px;
		margin-top: 8px;
	}
	.av-ss-thumb {
		border-radius: 8px;
		border-width: 2px;
	}
	.av-ss-thumb__label {
		font-size: 10px;
		bottom: 6px;
		left: 8px;
	}
	.av-ss-info {
		bottom: 16px;
		left: 16px;
		max-width: 85%;
	}
	.av-ss-info__title {
		font-size: 16px;
	}
	.av-ss-info__meta {
		font-size: 11px;
		margin-bottom: 10px;
	}
	.av-ss-info__btn {
		padding: 7px 14px;
		font-size: 11px;
	}
	.av-ss-nav {
		margin-top: 8px;
	}
	.av-ss-nav-btn {
		width: 32px;
		height: 32px;
	}
}

/* ==========================================================================
   Hero Slider (Full-width with hover detail panel)
   ========================================================================== */
.av-hero-wrap {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.av-hero-slider {
	overflow: hidden;
}

.av-hero-slide {
	position: relative;
	height: 550px;
	overflow: hidden;
}

.av-hero-slide__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 6s ease;
}

.av-hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20,20,30,0.35);
	z-index: 1;
}

/* ── Default Content (bottom-left) ── */
.av-hero-slide__content {
	position: absolute;
	bottom: 40px;
	left: 40px;
	z-index: 3;
	max-width: 70%;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.av-hero-slide__label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
	margin-bottom: 6px;
}

.av-hero-slide__title {
	font-size: 28px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.15;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.av-hero-slide__meta {
	font-size: 13px;
	color: rgba(255,255,255,0.8);
	letter-spacing: 0.02em;
}

/* ── Learn More Button (bottom-right) ── */
.av-hero-slide__btn {
	position: absolute;
	bottom: 40px;
	right: 40px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 24px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.5);
	border-radius: 0;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
	line-height: 1.3;
}

.av-hero-slide__btn:hover {
	background: #fff;
	color: #1a1a2e;
	text-decoration: none;
}

.av-hero-slide__btn i,
.av-hero-slide__btn svg {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

/* ── Hover Detail Panel (slides up from bottom) ── */
.av-hero-slide__panel {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 20%;
	z-index: 4;
	display: flex;
	align-items: stretch;
	gap: 0;
	background: rgba(20,20,30,0.75);
	transform: translateY(100%);
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(6px);
}

.av-hero-slide:hover .av-hero-slide__panel {
	transform: translateY(0);
}

.av-hero-slide:hover .av-hero-slide__content {
	opacity: 0;
	transform: translateY(-10px);
}

.av-hero-panel__desc {
	flex: 1 1 45%;
	padding: 24px 28px;
	background: rgba(255,255,255,0.95);
	color: #333;
	font-size: 14px;
	font-style: italic;
	line-height: 1.65;
}

.av-hero-panel__desc p {
	margin: 0;
}

.av-hero-panel__stats {
	flex: 1 1 35%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 28px;
}

.av-hero-panel__stat {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.av-hero-panel__stat:last-child {
	border-bottom: none;
}

.av-hero-panel__stat-val {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.av-hero-panel__stat-label {
	font-size: 13px;
	font-style: italic;
	color: rgba(255,255,255,0.6);
}

/* ── Navigation Arrows ── */
.av-hero-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255,255,255,0.4);
	border-radius: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
}

.av-hero-nav-btn:hover {
	background: rgba(255,255,255,0.15);
}

.av-hero-nav-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

.av-hero-prev {
	left: 24px;
}

.av-hero-next {
	right: 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.av-hero-slide {
		height: 400px;
	}
	.av-hero-slide__content {
		bottom: 24px;
		left: 20px;
		max-width: 85%;
	}
	.av-hero-slide__title {
		font-size: 20px;
	}
	.av-hero-slide__btn {
		bottom: 24px;
		right: 20px;
		padding: 8px 16px;
		font-size: 11px;
	}
	.av-hero-slide__panel {
		flex-direction: column;
	}
	.av-hero-panel__desc {
		padding: 16px 20px;
		font-size: 13px;
	}
	.av-hero-panel__stats {
		padding: 12px 20px;
	}
	.av-hero-prev {
		left: 10px;
	}
	.av-hero-next {
		right: 10px;
	}
	.av-hero-nav-btn {
		width: 36px;
		height: 36px;
	}
}

/* ==========================================================================
   Grid Slider (1 large + 2 small)
   ========================================================================== */
.av-gs-wrap {
	width: 100%;
	position: relative;
}

/* ── Nav Arrows ── */
.av-gs-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 14px;
}

.av-gs-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #1a1a2e;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.25s ease;
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
}

.av-gs-nav-btn:hover {
	opacity: 0.8;
}

.av-gs-nav-btn svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

/* ── Slider ── */
.av-gs-slider {
	overflow: hidden;
}

/* ── Grid Layout ── */
.av-gs-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.av-gs-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* ── Card ── */
.av-gs-card {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	text-decoration: none;
}

.av-gs-card--large {
	height: 420px;
}

.av-gs-card--small {
	height: 260px;
}

.av-gs-card__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.5s ease;
}

.av-gs-card:hover .av-gs-card__img {
	transform: scale(1.04);
}

/* ── Status Badge ── */
.av-gs-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: #1a1a2e;
	border-radius: 4px;
	line-height: 1.2;
}

/* ── Price + Address Overlay ── */
.av-gs-card__info {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: rgba(255,255,255,0.9);
	padding: 10px 16px;
	border-radius: 4px;
	max-width: calc(100% - 28px);
}

.av-gs-card__price {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.2;
}

.av-gs-card--large .av-gs-card__price {
	font-size: 24px;
}

.av-gs-card__address {
	font-size: 12px;
	color: #555;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── View All Button ── */
.av-gs-viewall-wrap {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.av-gs-viewall {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 28px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: #1a1a2e;
	border-radius: 4px;
	text-decoration: none;
	transition: background-color 0.25s ease;
	line-height: 1.3;
}

.av-gs-viewall:hover {
	background: #333355;
	color: #fff;
	text-decoration: none;
}

.av-gs-viewall svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.av-gs-bottom {
		grid-template-columns: 1fr;
	}
	.av-gs-card--large {
		height: 280px;
	}
	.av-gs-card--small {
		height: 220px;
	}
	.av-gs-card__price {
		font-size: 18px;
	}
	.av-gs-card--large .av-gs-card__price {
		font-size: 20px;
	}
}

/* ==========================================================================
   Market Report Widget
   ========================================================================== */
.av-market-report {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.av-market-report__content {
	width: 100%;
}

.av-market-report__empty {
	text-align: center;
	padding: 60px 20px;
	color: #888;
	font-size: 15px;
	background: #fafafa;
	border: 2px dashed #ddd;
	border-radius: 8px;
}

/* ── Iframe Crop Approach ──
   The wrapper has overflow:hidden (from .av-market-report).
   The inner div uses negative margins to shift the iframe up/down,
   effectively cropping the header and footer from view.
*/
.av-mr-iframe-wrap {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.av-mr-iframe-inner {
	width: 100%;
}

.av-mr-iframe-inner iframe {
	width: 100%;
	height: 2000px;
	border: none;
	display: block;
}

/* ── Widget Mode: Section Hiding ──
   These selectors target the IDX script-rendered widget content.
   They work on elements rendered by the <script> tag embed.
*/

/* Hide Summary Stats */
.av-mr-hide-stats [class*="marketReportStat"],
.av-mr-hide-stats [class*="market-report-stat"],
.av-mr-hide-stats [class*="Stat"] {
	display: none !important;
}

/* Hide Email Signup / CTA */
.av-mr-hide-signup [class*="marketReportSignup"],
.av-mr-hide-signup [class*="Signup"],
.av-mr-hide-signup [class*="signup"],
.av-mr-hide-signup [class*="cta"] {
	display: none !important;
}

/* ==========================================================================
   Showcase Half Box Slider
   ========================================================================== */
.av-showcase-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.av-showcase-slider {
	overflow: visible !important;
	padding: 0 10%;
}

.av-showcase-slider .swiper-slide {
	height: auto;
}

/* ── Card ── */
.av-showcase-card {
	position: relative;
	display: block;
	height: 500px;
	overflow: hidden;
	cursor: pointer;
	text-decoration: none;
}

/* ── Card Image ── */
.av-showcase-card__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 0;
}

/* ── Overlay ── */
.av-showcase-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 10, 18, 0.85) 0%, rgba(10, 10, 18, 0.3) 50%, transparent 100%);
	z-index: 1;
	transition: background 0.45s ease;
}

/* ── Hover Border Glow ── */
.av-showcase-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid transparent;
	z-index: 5;
	transition: border-color 0.4s ease, box-shadow 0.4s ease;
	pointer-events: none;
	border-radius: inherit;
}

.av-showcase-card:hover::before {
	border-color: rgba(201, 168, 76, 0.6);
	box-shadow:
		inset 0 0 30px rgba(201, 168, 76, 0.06),
		0 0 40px rgba(201, 168, 76, 0.08);
}

/* ── Hover Shine Sweep ── */
.av-showcase-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #c9a84c, transparent);
	z-index: 6;
	transition: left 0.6s ease;
	pointer-events: none;
}

.av-showcase-card:hover::after {
	left: 100%;
}

/* ── Image Zoom on Hover ── */
.av-showcase-card:hover .av-showcase-card__img {
	transform: scale(1.05);
}

/* ── Status Badge ── */
.av-showcase-card__status {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 6px 16px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
	background: #1a1a1a;
	z-index: 3;
}

/* ── Content (All on Image) ── */
.av-showcase-card__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 0 28px 24px;
}

.av-showcase-card__price {
	font-family: 'Georgia', 'Times New Roman', serif;
	font-size: 34px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
	margin-bottom: 10px;
	display: inline-block;
	line-height: 1.1;
	/* background support — Elementor injects via selectors */
	border-radius: 0;
}

.av-showcase-card__address {
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin: 0;
}

.av-showcase-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 5px;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.03em;
}

.av-showcase-card__meta span {
	display: inline-flex;
	align-items: center;
}

.av-showcase-dot {
	width: 3px;
	height: 3px;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	display: inline-block;
}

/* ── Navigation Arrows (Below Slider) ── */
.av-showcase-nav {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.av-showcase-nav-btn {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #ccc;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
	color: #555;
	-webkit-appearance: none;
	appearance: none;
	padding: 0;
}

.av-showcase-nav-btn:hover {
	border-color: #c9a84c;
	background: #c9a84c;
	color: #fff;
	transform: scale(1.08);
}

.av-showcase-nav-btn svg {
	width: 18px;
	height: 18px;
}

.av-showcase-nav-btn i {
	font-size: 18px;
	line-height: 1;
}

/* ── Navigation: Absolute Position Mode ── */
.av-showcase-nav--absolute {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	pointer-events: none;
	margin-top: 0;
	display: block;
}

.av-showcase-nav--absolute .av-showcase-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
}

.av-showcase-nav--absolute .av-showcase-prev {
	left: -1%;
}

.av-showcase-nav--absolute .av-showcase-next {
	right: -1%;
}

/* ── Responsive: Desktop 2 full + 2 half peek ── */
/* Swiper handles slidesPerView via JS breakpoints + centeredSlides */

@media (max-width: 767px) {
	.av-showcase-slider {
		padding: 0 4%;
	}
	.av-showcase-card {
		height: 380px;
	}
	.av-showcase-card__price {
		font-size: 24px;
	}
	.av-showcase-card__address {
		font-size: 11px;
	}
	.av-showcase-card__meta {
		font-size: 11px;
	}
	.av-showcase-card__content {
		padding: 0 18px 18px;
	}
	.av-showcase-nav-btn {
		width: 42px;
		height: 42px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.av-showcase-slider {
		padding: 0 12%;
	}
}

/* ==========================================================================
   Print styles — hide slider nav
   ========================================================================== */
@media print {
	.av-idx-slider-prev,
	.av-idx-slider-next,
	.av-idx-slider-pagination,
	.av-showcase-nav {
		display: none !important;
	}

	.av-idx-card,
	.av-showcase-card {
		break-inside: avoid;
		box-shadow: none;
		border: 1px solid #ddd;
	}
}

/* ==========================================================================
   Modular Grid Widget (av-mg-*)
   Layout: hero card (left or right) + sub-grid of secondary cards.
   Cards are full-bleed photos with a gradient-to-frosted overlay caption.
   ========================================================================== */

/* ── Outer mosaic grid ── */
.av-mg-grid {
	display: grid;
	grid-template-columns: 45fr 55fr; /* default; overridden by Elementor selectors */
	height: 620px;
	gap: 18px;
	width: 100%;
	box-sizing: border-box;
}

.av-mg-grid--hero-left {
	grid-template-columns: 45fr 55fr;
}

.av-mg-grid--hero-right {
	grid-template-columns: 55fr 45fr;
}

/* When hero is on the right, swap DOM order visually */
.av-mg-grid--hero-right .av-mg-hero   { order: 2; }
.av-mg-grid--hero-right .av-mg-right-grid { order: 1; }

/* ── Hero cell ── */
.av-mg-hero {
	height: 100%;
	min-height: 0;
}

/* ── Right-side sub-grid ── */
.av-mg-right-grid {
	display: grid;
	height: 100%;
	min-height: 0;
	gap: 18px; /* overridden by Elementor selector */
}

.av-mg-right-grid--cols-1 {
	grid-template-columns: 1fr;
}

.av-mg-right-grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

/* Each secondary card auto-fills equal rows within the sub-grid */
.av-mg-right-grid > .av-mg-card {
	min-height: 0;
}

/* ── Card ── */
.av-mg-card {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	background: #111;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
	            box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
	-webkit-font-smoothing: antialiased;
}

/* Lift hover */
.av-mg-grid--lift .av-mg-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

/* ── Photo ── */
.av-mg-card__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
	will-change: transform;
}

/* Zoom hover */
.av-mg-grid--zoom .av-mg-card:hover .av-mg-card__img {
	transform: scale(1.06);
}

/* ── Gradient overlay (gradient only — no blur here) ── */
.av-mg-card__overlay {
	position: absolute;
	inset: 0;
	/* Tall gradient: transparent top → solid colour at bottom */
	background: linear-gradient(
		to bottom,
		transparent 25%,
		var(--av-mg-overlay-color, rgba(0,0,0,0.72)) 100%
	);
	pointer-events: none;
	z-index: 1;
}

/* ── Blur zone — scoped to the caption area only ──
   backdrop-filter and dimensions are controlled by Elementor sliders.
   Sits between the overlay (z:1) and the caption (z:2).
   Default: no blur (backdrop-filter: blur(0px) = no-op).           */
.av-mg-card__blur-zone {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;       /* default; overridden by Elementor height slider  */
	z-index: 1;        /* same layer as overlay — under caption text       */
	pointer-events: none;
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
}

/* ── Caption ── */
.av-mg-card__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 20px 22px 22px;
	color: #fff;
}

.av-mg-card--hero .av-mg-card__caption {
	padding: 28px 30px 30px;
}

/* Top row: address left, price right */
.av-mg-card__caption-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.av-mg-card__address {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	flex: 1 1 0;
	min-width: 0;
}

.av-mg-card--hero .av-mg-card__address {
	font-size: 18px;
}

.av-mg-card__price {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	flex-shrink: 0;
}

.av-mg-card--hero .av-mg-card__price {
	font-size: 18px;
}

/* Description snippet */
.av-mg-card__desc {
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(255,255,255,0.82);
	margin: 0 0 10px;
}

.av-mg-card--hero .av-mg-card__desc {
	font-size: 13.5px;
	margin-bottom: 14px;
}

/* Meta: beds · baths · sqft */
.av-mg-card__meta {
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: rgba(255,255,255,0.75);
	display: flex;
	flex-wrap: wrap;
	gap: 4px 2px;
}

.av-mg-card--hero .av-mg-card__meta {
	font-size: 12.5px;
}

/* ── Status badge ── */
.av-mg-card__status {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
	padding: 4px 12px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #fff;
	background-color: rgba(255,255,255,0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.28);
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.av-mg-grid {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto auto;
		height: auto;
	}

	.av-mg-hero {
		height: 380px;
	}

	.av-mg-right-grid {
		height: auto;
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.av-mg-right-grid > .av-mg-card {
		height: 240px;
	}

	.av-mg-grid--hero-right .av-mg-hero   { order: 1; }
	.av-mg-grid--hero-right .av-mg-right-grid { order: 2; }
}

@media (max-width: 600px) {
	.av-mg-right-grid {
		grid-template-columns: 1fr !important;
	}

	.av-mg-hero {
		height: 300px;
	}

	.av-mg-right-grid > .av-mg-card {
		height: 200px;
	}

	.av-mg-card__caption {
		padding: 16px 18px 18px;
	}

	.av-mg-card--hero .av-mg-card__caption {
		padding: 16px 18px 18px;
	}
}

/* ==========================================================================
   Image Card Widget (av-ic-*)
   Full-bleed photo grid — address + price overlaid at bottom-left.
   1 / 2 / 3 / 4 configurable columns.
   ========================================================================== */

/* ── Outer wrap ── */
.av-ic-wrap {
	width: 100%;
}

/* ── CSS grid ── */
.av-ic-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* default; overridden by Elementor */
	gap: 2px;
	width: 100%;
}

/* ── Item wrapper (holds filter data attrs + pagination page) ── */
.av-ic-item {
	/* Stretch to fill so the card inside fills the grid cell */
	display: flex;
	min-height: 0;
}

.av-ic-item--hidden {
	display: none !important;
}

/* ── Card — the clickable anchor ── */
.av-ic-card {
	position: relative;
	display: block;
	width: 100%;
	height: 55vh;        /* default; overridden by Elementor height slider */
	overflow: hidden;
	text-decoration: none !important;
	background: #111;
	cursor: pointer;
}

/* ── Full-bleed photo ── */
.av-ic-card__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

/* Zoom on hover */
.av-ic-wrap--zoom .av-ic-card:hover .av-ic-card__img {
	transform: scale(1.06);
}

/* ── Gradient overlay — bottom-up, behind caption ── */
.av-ic-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		var(--av-ic-overlay, rgba(0,0,0,0.55)) 0%,
		transparent 40%
	);
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.3s ease;
}

/* Darken on hover */
.av-ic-wrap--darken .av-ic-card:hover .av-ic-card__overlay {
	opacity: 1.4; /* browser clamps to 1 — effectively deepens existing gradient */
	background: linear-gradient(
		to top,
		var(--av-ic-overlay, rgba(0,0,0,0.72)) 0%,
		rgba(0,0,0,0.15) 60%
	);
}

/* ── Status badge — top-left ── */
.av-ic-card__status {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 3;
	padding: 5px 16px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: #fff;
	background-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.22);
}

/* ── Caption — bottom-left ── */
.av-ic-card__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 0 28px 28px;
}

/* ── Address ── */
.av-ic-card__address {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 6px;
	line-height: 1.4;
}

/* ── Price ── */
.av-ic-card__price {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin: 0;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

/* ── Pagination ── */
.av-ic-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.av-ic-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: transparent;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.av-ic-page-btn:hover { border-color: #555; }

.av-ic-page-btn.active {
	background-color: #111;
	border-color: #111;
	color: #fff;
}

.av-ic-page-prev,
.av-ic-page-next { font-size: 18px; }

/* ── Responsive ── */
@media (max-width: 900px) {
	.av-ic-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.av-ic-card {
		height: 40vh;
	}
}

@media (max-width: 600px) {
	.av-ic-grid {
		grid-template-columns: 1fr !important;
	}

	.av-ic-card {
		height: 56vw;
	}

	.av-ic-card__address { font-size: 10px; }
	.av-ic-card__price   { font-size: 14px; }

	.av-ic-card__caption { padding: 0 18px 20px; }
}
