/* 123Apartment Apartments — frontend styles. All selectors are project-scoped. */
.a123-editor-empty,
.a123-apartment-empty {
	padding: 18px 20px;
	border: 1px dashed #c7c7c7;
	border-radius: 8px;
	color: #5c5c5c;
	background: #fafafa;
	font-size: 14px;
	line-height: 1.5;
}

.a123-apartment-listing [hidden],
.a123-apartment-card[hidden],
.a123-apartment-empty[hidden] {
	display: none !important;
}

.a123-apartment-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 32px;
}

.a123-apartment-card {
	position: relative;
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.a123-apartment-card__media {
	position: relative;
	height: 260px;
	overflow: hidden;
	border-radius: 16px;
	background: #eee;
	isolation: isolate;
	touch-action: pan-y;
}

.a123-apartment-card__track {
	display: flex;
	width: 100%;
	height: 100%;
	transform: translate3d(0, 0, 0);
	transition: transform .36s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

.a123-apartment-card__slide {
	display: block;
	min-width: 100%;
	height: 100%;
	flex: 0 0 100%;
	overflow: hidden;
	background: #eee;
}

.a123-apartment-card__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	user-select: none;
	-webkit-user-drag: none;
}

.a123-apartment-card__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	color: #252525;
	background: rgb(255 255 255 / 82%);
	box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
	cursor: pointer;
	backdrop-filter: blur(5px);
	transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.a123-apartment-card__arrow:hover,
.a123-apartment-card__arrow:focus-visible {
	color: #000;
	background: #fff;
	box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
}

.a123-apartment-card__arrow--prev { left: 10px; }
.a123-apartment-card__arrow--next { right: 10px; }

.a123-apartment-card__arrow svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.a123-apartment-card__dots {
	position: absolute;
	left: 50%;
	bottom: 10px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	transform: translateX(-50%);
}

.a123-apartment-card__dot {
	display: block;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 58%);
	box-shadow: 0 0 0 1px rgb(0 0 0 / 5%);
	cursor: pointer;
	transition: width .2s ease, background-color .2s ease, opacity .2s ease;
}

.a123-apartment-card__dot.is-active {
	background: #fff;
}

.a123-apartment-card__body {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 9px;
	padding: 12px 10px 0;
}

.a123-apartment-card__title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.a123-apartment-card__title a {
	color: #121212;
	text-decoration: none;
	transition: color .2s ease;
}

.a123-apartment-card__title a:hover,
.a123-apartment-card__title a:focus-visible {
	color: #555;
}

.a123-apartment-card__info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 18px;
	row-gap: 5px;
	color: #aaa;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
}

.a123-apartment-card__info-item {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 5px;
}

.a123-apartment-card__info-icon {
	display: inline-flex;
	width: 15px;
	flex: 0 0 15px;
	align-items: center;
	justify-content: center;
	color: #111;
	font-size: 14px;
	line-height: 1;
}

.a123-apartment-card__info-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.a123-apartment-card__info-value {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.a123-apartment-card__excerpt {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

.a123-apartment-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.a123-apartment-card__price,
.a123-apartment-price {
	display: inline-flex;
	min-width: 0;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .25em;
	color: #151515;
	font-size: 14px;
	line-height: 1.3;
}

.a123-price__from,
.a123-price__prefix,
.a123-price__suffix {
	font-size: 1em;
	font-weight: 400;
}

.a123-price__value {
	color: #ff5364;
	font-size: 1.1em;
	font-weight: 700;
}

.a123-apartment-card__button {
	display: inline-flex;
	min-width: 108px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 9px 20px;
	border: 1px solid #343434;
	border-radius: 5px;
	color: #fff;
	background: #343434;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.a123-apartment-card__button:hover,
.a123-apartment-card__button:focus-visible {
	border-color: #111;
	color: #fff;
	background: #111;
}

.a123-apartment-filters {
	display: flex;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 36px;
	overflow: visible;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-padding-inline: 12px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.a123-apartment-filter {
	display: inline-flex;
	max-width: 100%;
	min-height: 38px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 7px 18px;
	border: 1px solid #d4d4d4;
	border-radius: 5px;
	color: #aaa;
	background: #e5e5e5;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: start;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.a123-apartment-filter:hover,
.a123-apartment-filter:focus-visible {
	border-color: #aaa;
	color: #222;
	background: #d9d9d9;
}

.a123-apartment-filter.is-active {
	border-color: #333;
	color: #fff;
	background: #333;
}

.a123-apartment-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.a123-apartment-pagination .page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border: 1px solid #dedede;
	border-radius: 8px;
	color: #333;
	background: #fff;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.a123-apartment-pagination a.page-numbers:hover,
.a123-apartment-pagination .current {
	border-color: #111;
	color: #fff;
	background: #111;
}
.a123-apartment-gallery {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 12px;
	height: 520px;
}

.a123-apartment-gallery__item {
	position: relative;
	display: block;
	min-width: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #efefef;
}

.a123-apartment-gallery__item::after {
	position: absolute;
	inset: 0;
	content: '';
	background: rgb(0 0 0 / 0%);
	pointer-events: none;
	transition: background-color .25s ease;
}

.a123-apartment-gallery__item:hover::after {
	background: rgb(0 0 0 / 12%);
}

.a123-apartment-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.a123-apartment-gallery__item--1 {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.a123-apartment-gallery__item--2 {
	grid-column: 2;
	grid-row: 1;
}

.a123-apartment-gallery__item--3 {
	grid-column: 3;
	grid-row: 1;
}

.a123-apartment-gallery__item--4 {
	grid-column: 2;
	grid-row: 2;
}

.a123-apartment-gallery__item--5 {
	grid-column: 3;
	grid-row: 2;
}

.a123-apartment-gallery--count-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.a123-apartment-gallery--count-1 .a123-apartment-gallery__item--1 {
	grid-column: 1;
	grid-row: 1;
}

.a123-apartment-gallery--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr;
}

.a123-apartment-gallery--count-2 .a123-apartment-gallery__item--1,
.a123-apartment-gallery--count-2 .a123-apartment-gallery__item--2 {
	grid-row: 1;
}

.a123-apartment-gallery--count-2 .a123-apartment-gallery__item--1 { grid-column: 1; }
.a123-apartment-gallery--count-2 .a123-apartment-gallery__item--2 { grid-column: 2; }

.a123-apartment-gallery--count-3 {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.a123-apartment-gallery--count-3 .a123-apartment-gallery__item--1 {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.a123-apartment-gallery--count-3 .a123-apartment-gallery__item--2 {
	grid-column: 2;
	grid-row: 1;
}

.a123-apartment-gallery--count-3 .a123-apartment-gallery__item--3 {
	grid-column: 2;
	grid-row: 2;
}

.a123-apartment-gallery--count-4 {
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
}

.a123-apartment-gallery--count-4 .a123-apartment-gallery__item--1 {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.a123-apartment-gallery--count-4 .a123-apartment-gallery__item--2 {
	grid-column: 2;
	grid-row: 1;
}

.a123-apartment-gallery--count-4 .a123-apartment-gallery__item--3 {
	grid-column: 3;
	grid-row: 1;
}

.a123-apartment-gallery--count-4 .a123-apartment-gallery__item--4 {
	grid-column: 2 / span 2;
	grid-row: 2;
}

.a123-apartment-gallery__item--hidden {
	display: none;
}

.a123-apartment-gallery__count {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
	border-radius: 999px;
	color: #111;
	background: rgb(255 255 255 / 92%);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	backdrop-filter: blur(8px);
	transition: color .2s ease, background-color .2s ease;
}

.a123-apartment-gallery__count:hover,
.a123-apartment-gallery__count:focus-visible {
	color: #fff;
	background: #111;
}

.a123-apartment-header,
.a123-apartment-summary,
.a123-apartment-description,
.a123-apartment-information-card,
.a123-apartment-price-notice {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.a123-apartment-header {
	gap: 6px;
}

.a123-apartment-header__title,
.a123-apartment-summary__heading,
.a123-apartment-description__title,
.a123-apartment-information-card__title {
	margin: 0;
	color: #111;
}

.a123-apartment-header__title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.a123-apartment-header__meta {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.a123-apartment-header__row {
	display: flex;
	min-width: 0;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	font-size: 14px;
	line-height: 1.45;
}

.a123-apartment-header__label {
	color: #111;
	font-weight: 700;
}

.a123-apartment-header__value {
	color: #363636;
	font-weight: 400;
}

.a123-apartment-summary {
	gap: 4px;
}

.a123-apartment-summary__heading {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.a123-apartment-summary__facts {
	color: #222;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
}

.a123-apartment-information-card {
	gap: 18px;
	padding: 24px;
	border: 0 solid transparent;
	border-radius: 18px;
	background: #f1f1f1;
}

.a123-apartment-information-card__title,
.a123-apartment-description__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.a123-apartment-information {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 16px;
}

.a123-apartment-information__item {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.a123-apartment-information__icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: #111;
	font-size: 16px;
	line-height: 1;
	transition: color .2s ease, background-color .2s ease;
}

.a123-apartment-information__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.a123-apartment-information__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.a123-info-layout-inline .a123-apartment-information__content {
	flex-direction: row;
	align-items: baseline;
	flex-wrap: wrap;
}

.a123-apartment-information__value,
.a123-apartment-information__label {
	color: #aaa;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	transition: color .2s ease;
}

.a123-apartment-description {
	gap: 12px;
	padding: 24px;
	border: 0 solid transparent;
	border-radius: 18px;
	background: #f1f1f1;
}

.a123-apartment-description__content {
	color: #2d2d2d;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
}

.a123-apartment-description__content > :first-child,
.a123-apartment-price-notice__text > :first-child {
	margin-top: 0;
}

.a123-apartment-description__content > :last-child,
.a123-apartment-price-notice__text > :last-child {
	margin-bottom: 0;
}

.a123-apartment-description__content p {
	margin-top: 0;
	margin-bottom: 10px;
}

.a123-apartment-price-notice {
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 22px;
	border: 0 solid transparent;
	border-radius: 18px;
	background: #f1f1f1;
	text-align: center;
}

.a123-apartment-price-notice--left {
	flex-direction: row;
	text-align: left;
}

.a123-apartment-price-notice__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: #111;
	font-size: 22px;
	line-height: 1;
}

.a123-apartment-price-notice__icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.a123-apartment-price-notice__text {
	color: #222;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}


@media (max-width: 1024px) {
	.a123-apartment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.a123-apartment-filters {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 2px 6px;
		scrollbar-width: none;
		touch-action: pan-x pan-y;
	}

	.a123-apartment-filters::-webkit-scrollbar {
		display: none;
	}

	.a123-apartment-filter {
		max-width: min(72vw, 280px);
		min-width: 124px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.a123-apartment-information {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.a123-apartment-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.a123-apartment-card__media {
		height: 230px;
	}

	.a123-apartment-card__body {
		padding-right: 4px;
		padding-left: 4px;
	}

	.a123-apartment-card__footer {
		align-items: stretch;
		flex-wrap: wrap;
	}

	.a123-apartment-card__button {
		min-width: 104px;
	}

	.a123-apartment-filters {
		gap: 8px;
		padding-bottom: 6px;
		scroll-padding-inline: 8px;
	}

	.a123-apartment-filter {
		min-width: 116px;
		min-height: 40px;
	}

	.a123-apartment-gallery,
	.a123-apartment-gallery--count-1,
	.a123-apartment-gallery--count-2,
	.a123-apartment-gallery--count-3,
	.a123-apartment-gallery--count-4,
	.a123-apartment-gallery--count-5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
		height: 320px;
	}

	.a123-apartment-gallery .a123-apartment-gallery__item--1 {
		grid-column: 1 / span 2;
		grid-row: 1;
	}

	.a123-apartment-gallery .a123-apartment-gallery__item--2 {
		grid-column: 1;
		grid-row: 2;
	}

	.a123-apartment-gallery .a123-apartment-gallery__item--3 {
		grid-column: 2;
		grid-row: 2;
	}

	.a123-apartment-gallery .a123-apartment-gallery__item--4,
	.a123-apartment-gallery .a123-apartment-gallery__item--5 {
		display: none;
	}

	.a123-apartment-gallery__count {
		right: 12px;
		bottom: 12px;
	}

	.a123-apartment-information {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 12px;
	}
}

@media (max-width: 420px) {
	.a123-apartment-card__info {
		column-gap: 10px;
		font-size: 12px;
	}

	.a123-apartment-card__price {
		font-size: 13px;
	}

	.a123-apartment-card__button {
		padding-right: 14px;
		padding-left: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.a123-apartment-card,
	.a123-apartment-card__track,
	.a123-apartment-card__slide img,
	.a123-apartment-card__arrow,
	.a123-apartment-card__dot,
	.a123-apartment-card__title a,
	.a123-apartment-card__button,
	.a123-apartment-filter,
	.a123-apartment-pagination .page-numbers,
	.a123-apartment-gallery__item img,
	.a123-apartment-gallery__item::after,
	.a123-apartment-information__item,
	.a123-apartment-information__icon,
	.a123-apartment-header__title,
	.a123-apartment-summary__heading,
	.a123-apartment-description,
	.a123-apartment-price-notice {
		transition: none !important;
	}
}

.a123-apartment-price-box {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	border: 0 solid transparent;
}

.a123-apartment-price-box__caption {
	color: #333;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

/* =========================================================
 * Advanced apartment filters - v1.3.4
 * ========================================================= */
.a123-advanced-filter {
	--a123-filter-border: #d7dbe0;
	--a123-filter-text: #20242a;
	--a123-filter-muted: #6f7782;
	--a123-filter-bg: #fff;
	--a123-filter-soft: #f6f7f8;
	--a123-filter-action: #343434;
	display: block;
	width: 100%;
	margin: 0 0 28px;
}

.a123-advanced-filter,
.a123-advanced-filter * {
	box-sizing: border-box;
}

.a123-advanced-filter__bar {
	display: flex;
	width: 100%;
	align-items: stretch;
	gap: 10px;
}

.a123-advanced-filter__primary {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	gap: 10px;
}

.a123-filter-field {
	position: relative;
	display: flex;
	min-width: 0;
	flex: 1 1 150px;
	margin: 0;
}

.a123-filter-field--search {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	flex: 2 1 280px;
	align-items: stretch;
	gap: 8px;
}

.a123-filter-search-input-wrap {
	position: relative;
	display: block;
	width: 100%;
	min-width: 0;
}

.a123-filter-field--sort {
	flex: 0 1 190px;
}

.a123-filter-field input,
.a123-filter-field select,
.a123-filter-group input,
.a123-filter-group select {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--a123-filter-border);
	border-radius: 8px;
	outline: 0;
	color: var(--a123-filter-text);
	background: var(--a123-filter-bg);
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.a123-filter-field select,
.a123-filter-group select {
	padding-right: 36px;
	cursor: pointer;
}

.a123-filter-field input:focus,
.a123-filter-field select:focus,
.a123-filter-group input:focus,
.a123-filter-group select:focus {
	border-color: #8e969f;
	box-shadow: 0 0 0 3px rgb(0 0 0 / 5%);
}

.a123-filter-field--search input {
	padding-right: 14px;
	padding-left: 42px;
}

.a123-filter-search-icon {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--a123-filter-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.a123-filter-search-icon svg,
.a123-filter-search-submit svg {
	display: block;
}

.a123-filter-toggle,
.a123-filter-search-submit,
.a123-filter-apply {
	all: unset;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.a123-filter-toggle,
.a123-filter-search-submit {
	display: inline-flex;
	min-height: 48px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--a123-filter-border);
	border-radius: 8px;
	cursor: pointer;
	user-select: none;
}

.a123-filter-toggle {
	gap: 8px;
	padding: 0 15px;
	color: var(--a123-filter-text);
	background: var(--a123-filter-bg);
	font-size: 14px;
	font-weight: 600;
}

.a123-filter-toggle:hover,
.a123-filter-toggle:focus-visible,
.a123-filter-toggle.is-active {
	border-color: #a4abb3;
	background: var(--a123-filter-soft);
}

.a123-filter-toggle__count {
	display: inline-flex;
	min-width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	border-radius: 999px;
	color: #fff;
	background: var(--a123-filter-action);
	font-size: 11px;
	font-weight: 700;
}

.a123-filter-search-submit {
	position: static;
	z-index: auto;
	width: 48px;
	min-width: 48px;
	min-height: 48px;
	border: 1px solid var(--a123-filter-border);
	border-radius: 8px;
	color: #fff;
	background: var(--a123-filter-action);
	transform: none;
}

.a123-filter-search-submit:hover,
.a123-filter-search-submit:focus-visible,
.a123-filter-apply:hover,
.a123-filter-apply:focus-visible {
	background: #111;
}

.a123-advanced-filter__more {
	margin-top: 12px;
	padding: 20px;
	border: 1px solid #e3e5e8;
	border-radius: 12px;
	background: #fff;
}

.a123-advanced-filter__more[hidden] {
	display: none !important;
}

.a123-advanced-filter__more-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.a123-filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.a123-filter-group legend {
	margin: 0 0 8px;
	padding: 0;
	color: var(--a123-filter-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.a123-filter-range {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 7px;
}

.a123-filter-range > span {
	color: var(--a123-filter-muted);
}

.a123-advanced-filter__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #eceef0;
}

.a123-filter-reset,
.a123-filter-clear {
	color: #505762;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.a123-filter-reset:hover,
.a123-filter-clear:hover {
	color: #111;
	text-decoration: underline;
}

.a123-filter-apply {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border-radius: 8px;
	color: #fff;
	background: var(--a123-filter-action);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.a123-advanced-filter__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-top: 14px;
}

.a123-filter-result-count {
	color: #5d646d;
	font-size: 13px;
	font-weight: 500;
}

.a123-filter-chips {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
}

.a123-filter-chip {
	display: inline-flex;
	min-height: 30px;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	border: 1px solid #e3e5e8;
	border-radius: 999px;
	color: #343a42;
	background: #f5f6f7;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
}

.a123-filter-chip:hover {
	border-color: #c5c9ce;
	color: #111;
	background: #eceef0;
}

@media (max-width: 1180px) {
	.a123-advanced-filter__bar {
		flex-wrap: wrap;
	}

	.a123-filter-field--search {
		flex-basis: 260px;
	}

	.a123-advanced-filter__primary {
		flex-basis: 480px;
	}

	.a123-advanced-filter__more-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.a123-advanced-filter__bar {
		position: relative;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		gap: 10px;
	}

	/* Search luôn nằm trọn một hàng. Input và nút submit là hai phần tử
	 * riêng biệt để không chồng lên nhau ở mọi viewport mobile. */
	.a123-filter-field--search {
		grid-column: 1 / -1;
		grid-row: 1;
		grid-template-columns: minmax(0, 1fr) 48px;
		width: 100%;
		gap: 8px;
	}

	.a123-filter-search-submit {
		width: 48px;
		min-width: 48px;
		min-height: 48px;
	}

	/* Hàng thao tác chính: Filters + Sort, mỗi bên 50%. */
	.a123-filter-toggle {
		grid-column: 1;
		grid-row: 2;
		width: 100%;
		min-width: 0;
	}

	.a123-filter-field--sort {
		grid-column: 2;
		grid-row: 2;
		width: 100%;
		min-width: 0;
	}

	/* Area / Type / Guests chỉ xuất hiện khi panel filter đang mở.
	 * Xếp một cột để không ép select ở viewport 320–767px. */
	.a123-advanced-filter__primary {
		display: none;
		grid-column: 1 / -1;
		grid-row: 3;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		min-width: 0;
		gap: 10px;
	}

	.a123-advanced-filter.is-open .a123-advanced-filter__primary,
	.a123-advanced-filter.has-advanced-values .a123-advanced-filter__primary {
		display: grid;
	}

	.a123-advanced-filter__primary .a123-filter-field,
	.a123-advanced-filter__primary select {
		width: 100%;
		min-width: 0;
	}

	.a123-advanced-filter__more {
		margin-top: 10px;
		padding: 16px;
	}

	.a123-advanced-filter__more-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.a123-advanced-filter__actions {
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.a123-filter-apply {
		min-width: 132px;
	}

	.a123-advanced-filter__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.a123-filter-chips {
		justify-content: flex-start;
	}
}

@media (max-width: 420px) {
	.a123-advanced-filter__bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.a123-filter-field--search {
		grid-template-columns: minmax(0, 1fr) 48px;
		gap: 8px;
	}

	.a123-filter-toggle,
	.a123-filter-field--sort {
		width: 100%;
	}

	.a123-filter-toggle {
		padding-inline: 10px;
	}

	.a123-filter-field--sort select {
		padding-left: 11px;
		padding-right: 30px;
	}

	.a123-filter-range {
		grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
		gap: 6px;
	}

	.a123-advanced-filter__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.a123-filter-apply {
		width: 100%;
		min-width: 0;
	}

	.a123-filter-reset {
		align-self: center;
	}
}

/* =========================================================
 * Apartment area tabs + off-canvas filter drawer - v1.4.0
 * ========================================================= */
body.a123-filter-drawer-open{overflow:hidden!important}
.a123-filter-drawer-form{margin:0 0 28px}
.a123-filter-toolbar{display:flex;align-items:center;width:100%;min-width:0;gap:14px;margin-bottom:28px}
.a123-area-tabs{display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;white-space:nowrap;padding:1px 0}
.a123-area-tabs::-webkit-scrollbar{display:none;width:0;height:0}
.a123-area-tab{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border:1px solid #dedede;border-radius:999px;color:#2b2f34;background:#fff;font-size:14px;font-weight:600;line-height:1.2;text-decoration:none!important;transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.a123-area-tab:hover,.a123-area-tab:focus-visible{border-color:#b8bdc3;color:#111;background:#f5f6f7;outline:none}
.a123-area-tab.is-active{border-color:#222;color:#fff;background:#222}
.a123-filter-toolbar .a123-filter-toggle{all:unset;box-sizing:border-box;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:42px;gap:8px;padding:10px 16px;border:1px solid #d7dbe0;border-radius:8px;color:#20242a;background:#fff;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.a123-filter-toolbar .a123-filter-toggle:hover,.a123-filter-toolbar .a123-filter-toggle:focus-visible,.a123-filter-toolbar .a123-filter-toggle.is-active{border-color:#a4abb3;background:#f5f6f7;outline:none}
.a123-filter-toggle__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1}
.a123-filter-toggle__icon svg,.a123-filter-toggle__icon i{display:block;width:18px;height:18px;font-size:18px}
.a123-filter-toggle__count{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;color:#fff;background:#222;font-size:11px;font-weight:700}

.a123-filter-drawer-shell{position:fixed;z-index:999999;inset:0;visibility:hidden;pointer-events:none}
.a123-filter-drawer-overlay{position:absolute;inset:0;display:block;background:rgba(0,0,0,.42);opacity:0;transition:opacity .3s ease;cursor:pointer}
.a123-filter-drawer{position:absolute;top:0;bottom:0;display:flex;width:440px;max-width:100vw;flex-direction:column;overflow:hidden;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.18);transition:transform .32s cubic-bezier(.22,.61,.36,1);outline:none}
.a123-filter-drawer-shell.is-right .a123-filter-drawer{right:0;transform:translate3d(100%,0,0)}
.a123-filter-drawer-shell.is-left .a123-filter-drawer{left:0;transform:translate3d(-100%,0,0)}
.a123-filter-drawer-form.is-open .a123-filter-drawer-shell{visibility:visible;pointer-events:auto}
.a123-filter-drawer-form.is-open .a123-filter-drawer-overlay{opacity:1}
.a123-filter-drawer-form.is-open .a123-filter-drawer{transform:translate3d(0,0,0)}
.a123-filter-drawer__header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:18px;padding:22px 22px 18px;border-bottom:1px solid #eceef0}
.a123-filter-drawer__title{min-width:0;margin:0;color:#20242a;font-size:22px;font-weight:700;line-height:1.2}
.a123-filter-drawer__close{all:unset;box-sizing:border-box;display:inline-flex;width:40px;height:40px;flex:0 0 40px;align-items:center;justify-content:center;border-radius:50%;color:#24272b;background:#f5f6f7;cursor:pointer;-webkit-tap-highlight-color:transparent}
.a123-filter-drawer__close:hover,.a123-filter-drawer__close:focus-visible{background:#e9ebee;outline:none}
.a123-filter-drawer__close svg,.a123-filter-drawer__close i{display:block;width:20px;height:20px;font-size:20px}
.a123-filter-drawer__body{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:18px;overflow-y:auto;padding:20px 22px 24px;overscroll-behavior:contain}
.a123-filter-drawer .a123-filter-group{display:block;width:100%;min-width:0;margin:0;padding:0;border:0}
.a123-filter-drawer .a123-filter-group legend{display:block;width:100%;margin:0 0 8px;padding:0;color:#20242a;font-size:13px;font-weight:650;line-height:1.3}
.a123-filter-drawer .a123-filter-field{display:block;width:100%;min-width:0;margin:0}
.a123-filter-field--search-drawer{position:relative}
.a123-filter-field--search-drawer .a123-filter-search-icon{left:14px}
.a123-filter-field--search-drawer input{padding-left:42px!important}
.a123-filter-drawer input,.a123-filter-drawer select{width:100%;min-width:0;min-height:48px;margin:0;padding:0 14px;border:1px solid #d7dbe0;border-radius:8px;outline:0;color:#20242a;background:#fff;box-shadow:none;font:inherit;font-size:14px;line-height:1.2;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.a123-filter-drawer select{padding-right:36px;cursor:pointer}
.a123-filter-drawer input:focus,.a123-filter-drawer select:focus{border-color:#8e969f;box-shadow:0 0 0 3px rgb(0 0 0 / 5%)}
.a123-filter-drawer .a123-filter-range{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);align-items:center;gap:8px}
.a123-filter-drawer .a123-filter-range>span{text-align:center;color:#6f7782}
.a123-filter-drawer__meta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:4px}
.a123-filter-drawer__meta .a123-filter-chips{justify-content:flex-start}
.a123-filter-drawer__footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-top:1px solid #eceef0;background:#fff}
.a123-filter-drawer-shell.has-sticky-actions .a123-filter-drawer__footer{position:sticky;z-index:2;bottom:0}
.a123-filter-drawer .a123-filter-reset{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;color:#505762;font-size:13px;font-weight:600;text-decoration:none!important}
.a123-filter-drawer .a123-filter-apply{all:unset;box-sizing:border-box;display:inline-flex;min-width:150px;min-height:44px;align-items:center;justify-content:center;padding:0 18px;border-radius:8px;color:#fff;background:#222;font-size:13px;font-weight:650;line-height:1.2;cursor:pointer;text-align:center;-webkit-tap-highlight-color:transparent}
.a123-filter-drawer .a123-filter-apply:hover,.a123-filter-drawer .a123-filter-apply:focus-visible{background:#000;outline:none}

@media (max-width:767px){
 .a123-filter-drawer-form{margin-bottom:22px}
 .a123-filter-toolbar{gap:10px;margin-bottom:22px}
 .a123-area-tabs{gap:7px}
 .a123-area-tab{min-height:38px;padding:9px 13px;font-size:13px}
 .a123-filter-toolbar .a123-filter-toggle{min-height:38px;padding:9px 12px}
 .a123-filter-drawer{width:100vw;max-width:100vw}
 .a123-filter-drawer__header{padding:18px 18px 14px}
 .a123-filter-drawer__body{gap:16px;padding:18px 18px 22px}
 .a123-filter-drawer__footer{padding:14px 18px max(14px,env(safe-area-inset-bottom))}
 .a123-filter-drawer .a123-filter-apply{min-width:0;flex:1 1 auto}
 .a123-filter-drawer .a123-filter-reset{flex:0 0 auto}
}
@media (max-width:420px){
 .a123-filter-toggle__label{display:none}
 .a123-filter-toolbar .a123-filter-toggle{width:40px;min-width:40px;padding:0}
 .a123-filter-toggle__count{position:absolute;transform:translate(13px,-13px);min-width:18px;height:18px;padding:0 4px;font-size:10px}
 .a123-filter-toolbar .a123-filter-toggle{position:relative}
 .a123-filter-drawer .a123-filter-range{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:6px}
}
@media (prefers-reduced-motion:reduce){.a123-filter-drawer,.a123-filter-drawer-overlay{transition:none!important}}
