/* Approved property-search mockup parity layer. */

body.swre-propertyhive-archive {
	background: #f6f6f6;
	color: #171717;
}

.swre-property-archive.site-main {
	--swre-context-gold-strong: #76590d;
	--swre-property-gold-strong: #76590d;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 16px;
	box-shadow: 0 4px 22px rgba(20, 20, 20, 0.06);
	margin: 14px auto;
	max-width: 1200px;
	padding-bottom: 18px;
	overflow: clip;
}

.swre-property-archive__hero {
	margin-inline: auto;
	max-width: 1200px;
	padding: 30px 24px 22px 218px;
}

.swre-property-archive__hero h1 {
	font-family: var(--swrep-font, Arial, sans-serif);
	font-size: clamp(1.45rem, 2.1vw, 1.75rem);
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.swre-property-archive__hero > p:last-child {
	color: #565656;
	font-size: 0.875rem;
	line-height: 1.45;
	margin-top: 0.35rem;
}

.swre-property-archive__layout,
.swre-context-layout.swre-property-archive__layout {
	gap: 18px;
	grid-template-columns: 242px minmax(0, 1fr);
	max-width: 1200px;
	padding-inline: 18px;
}

.swre-property-archive .swre-context-rail {
	background: transparent;
	border: 0;
	max-height: calc(100vh - 76px);
	top: 70px;
}

.swre-property-archive .swre-context-rail__header {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swre-property-archive .swre-context-rail__body {
	gap: 14px;
}

.swre-property-archive .swre-context-module {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 12px;
}

.swre-property-archive .swre-context-module--filters {
	border-top: 1px solid #e2e2e2;
}

.swre-property-filter-form,
.swre-property-filter-group {
	display: grid;
}

.swre-property-filter-form [hidden] {
	display: none !important;
}

.swre-property-filter-form {
	gap: 14px;
}

.swre-property-filter-group {
	border: 0;
	gap: 7px;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.swre-property-filter-group > legend,
.swre-property-filter-group > span:first-child {
	color: #1b1b1b;
	font-size: 0.73rem;
	font-weight: 750;
	line-height: 1.35;
	padding: 0;
}

.swre-property-filter-segments,
.swre-property-filter-choices {
	display: grid;
}

.swre-property-filter-segments {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swre-property-filter-segments label,
.swre-property-filter-segments a,
.swre-property-filter-choices label,
.swre-property-filter-amenities label {
	min-width: 0;
	position: relative;
}

.swre-property-filter-segments input,
.swre-property-filter-choices input,
.swre-property-filter-amenities input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swre-property-filter-segments span,
.swre-property-filter-segments a,
.swre-property-filter-choices label > span,
.swre-property-filter-amenities label > span {
	align-items: center;
	background: #fff;
	border: 1px solid #dedede;
	color: #333;
	cursor: pointer;
	display: flex;
	font-size: 0.68rem;
	justify-content: center;
	min-height: 34px;
	padding: 5px 7px;
	text-align: center;
}

.swre-property-filter-segments label + label span,
.swre-property-filter-segments a + a {
	border-left: 0;
}

.swre-property-filter-segments input:checked + span,
.swre-property-filter-segments a.is-active,
.swre-property-filter-choices input:checked + span,
.swre-property-filter-amenities input:checked + span {
	background: #d7a31b;
	border-color: #d7a31b;
	color: #171717;
}

.swre-property-filter-segments input:focus-visible + span,
.swre-property-filter-segments a:focus-visible,
.swre-property-filter-choices input:focus-visible + span,
.swre-property-filter-amenities input:focus-visible + span {
	outline: 3px solid #003b75;
	outline-offset: 2px;
	position: relative;
	z-index: 1;
}

.swre-property-filter-search__control {
	display: block;
	position: relative;
}

.swre-property-filter-search input,
.swre-property-filter-range select {
	appearance: none;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 3px;
	color: #222;
	font: inherit;
	font-size: 0.7rem;
	height: 38px;
	min-width: 0;
	padding: 7px 9px;
	width: 100%;
}

.swre-property-filter-search input {
	padding-right: 34px;
}

.swre-property-filter-search__control > span {
	align-items: center;
	display: flex;
	height: 100%;
	pointer-events: none;
	position: absolute;
	right: 9px;
	top: 0;
}

.swre-property-filter-search__control .swre-property-icon {
	height: 14px;
	width: 14px;
}

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

.swre-property-filter-range select {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center / 12px;
	padding-right: 22px;
}

.swre-property-filter-choices--beds {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.swre-property-filter-choices--types {
	gap: 4px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.swre-property-filter-choices--types label:nth-child(-n + 3) {
	grid-column: span 2;
}

.swre-property-filter-choices--types label:nth-child(n + 4) {
	grid-column: span 3;
}

.swre-property-filter-amenities {
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swre-property-filter-amenities label > span {
	flex-direction: column;
	gap: 2px;
	min-height: 47px;
	padding: 4px;
}

.swre-property-filter-amenities .swre-property-icon {
	height: 14px;
	width: 14px;
}

.swre-property-filter-amenities small {
	font-size: 0.57rem;
	line-height: 1.15;
}

.swre-property-filter-amenities__more span {
	background: #fafafa;
}

.swre-property-filter-more {
	border-top: 1px solid #ececec;
	font-size: 0.7rem;
	padding-top: 10px;
}

.swre-property-filter-more summary {
	cursor: pointer;
	font-weight: 700;
	list-style-position: outside;
}

.swre-property-filter-more > div {
	padding-top: 8px;
}

.swre-property-filter-actions {
	display: grid;
	gap: 10px;
}

.swre-property-filter-actions a {
	color: #222;
	font-size: 0.68rem;
	text-decoration: none;
}

.swre-property-filter-actions button {
	background: #d7a31b;
	border: 1px solid #d7a31b;
	border-radius: 3px;
	color: #171717;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 750;
	min-height: 40px;
	padding: 8px 10px;
}

.swre-property-archive .swre-context-module--advisor {
	display: grid;
	gap: 3px 12px;
	grid-template-columns: 62px minmax(0, 1fr);
	padding: 12px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__portrait {
	border-radius: 4px;
	grid-row: 1 / span 4;
	height: 76px;
	margin: 0;
	object-position: center top;
	width: 62px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__eyebrow,
.swre-property-archive .swre-context-module--advisor .swre-context-module__meta {
	display: none;
}

.swre-property-archive .swre-context-module--advisor h3 {
	font-family: var(--swrep-font);
	font-size: 0.78rem;
	font-weight: 700;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__body {
	font-size: 0.62rem;
	line-height: 1.45;
	margin-top: 4px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__action {
	background: transparent;
	border: 1px solid #dedede;
	grid-column: 2;
	justify-content: center;
	margin-top: 7px;
	min-height: 30px;
	padding: 4px 6px;
}

.swre-property-archive__content {
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	overflow: hidden;
}

.swre-property-mobile-tools,
.swre-property-mobile-dock {
	display: none;
}

.swre-property-archive__chips {
	border-bottom: 1px solid #ededed;
	margin: 0;
	min-height: 54px;
	padding: 12px 20px;
}

.swre-property-chip {
	border-radius: 4px;
	font-size: 0.7rem;
	min-height: 32px;
	padding: 6px 9px;
}

.swre-property-chip-list__reset {
	color: #76590d;
	font-size: 0.7rem;
}

.swre-property-archive__toolbar {
	align-items: center;
	border: 0;
	margin: 0;
	padding: 12px 20px 10px;
}

.swre-property-archive__count .propertyhive-result-count {
	font-family: var(--swrep-font);
	font-size: 0.82rem;
	font-weight: 500;
}

.swre-property-archive__toolbar-actions {
	gap: 10px;
}

.swre-property-view-switcher__item {
	font-size: 0.72rem;
	min-height: 38px;
	min-width: 74px;
	padding: 6px 10px;
}

.swre-property-view-switcher__item.is-active {
	background: #fff;
	box-shadow: inset 0 0 0 1px #d7a31b;
	color: #b17c00;
}

.swre-property-decision-tools button,
.swre-property-archive__ordering .orderby {
	font-size: 0.68rem;
	min-height: 38px;
}

.swre-property-archive__ordering {
	font-size: 0.68rem;
}

.swre-property-archive__ordering .orderby {
	padding-block: 6px;
}

.swre-property-archive .swre-property-results {
	gap: 12px;
	padding: 0 16px 16px;
}

.swre-property-card {
	border-color: #e3e3e3;
	border-radius: 5px;
	grid-template-columns: minmax(330px, 44%) minmax(0, 1fr);
	min-height: 220px;
	overflow: hidden;
	position: relative;
}

.swre-property-card:hover {
	border-color: #d4d4d4;
	box-shadow: 0 7px 18px rgba(17, 17, 17, 0.08);
	transform: none;
}

.swre-property-card__media {
	aspect-ratio: auto;
	height: 220px;
	min-height: 220px;
	overflow: hidden;
	position: relative;
}

.swre-property-card__image-link {
	inset: 0;
	position: absolute;
}

.swre-property-card__image[hidden] {
	display: none;
}

.swre-property-card__gallery-control {
	align-items: center;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 2rem;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: calc(50% - 22px);
	width: 38px;
	z-index: 2;
}

.swre-property-card__gallery-control--previous {
	left: 2px;
}

.swre-property-card__gallery-control--next {
	right: 2px;
}

.swre-property-card__badges {
	left: 12px;
	top: 12px;
}

.swre-property-badge {
	border-radius: 3px;
	font-size: 0.58rem;
	padding: 6px 8px;
}

.swre-property-card__save {
	background: transparent;
	border: 0;
	color: #242424;
	height: 42px;
	right: 8px;
	top: 7px;
	width: 42px;
	z-index: 3;
}

.swre-property-card__save .swre-property-icon {
	height: 20px;
	width: 20px;
}

.swre-property-card__save[aria-pressed="true"] {
	background: transparent;
	color: #d09a0e;
}

.swre-property-card__image-count {
	align-items: center;
	border-radius: 3px;
	display: inline-flex;
	gap: 4px;
}

.swre-property-card__image-count .swre-property-icon {
	height: 13px;
	width: 13px;
}

.swre-property-card__body {
	padding: 17px 18px 12px;
}

.swre-property-card__heading-row {
	padding-right: 28px;
}

.swre-property-card__price {
	margin-bottom: 4px;
}

.swre-property-card__price > span {
	font-family: var(--swrep-font);
	font-size: 1.35rem;
	font-weight: 750;
}

.swre-property-card__price small {
	display: none;
}

.swre-property-card__title {
	font-family: var(--swrep-font);
	font-size: 0.96rem;
	font-weight: 700;
}

.swre-property-card__location {
	font-size: 0.72rem;
	margin-top: 2px;
}

.swre-property-card__location .swre-property-icon {
	display: none;
}

.swre-property-card__facts {
	gap: 6px 16px;
	margin-top: 11px;
}

.swre-property-card__facts li {
	font-size: 0.68rem;
	font-weight: 500;
}

.swre-property-card__facts .swre-property-icon {
	height: 14px;
	width: 14px;
}

.swre-property-card__highlights {
	display: none;
}

.swre-property-card__excerpt {
	-webkit-line-clamp: 2;
	font-size: 0.72rem;
	line-height: 1.45;
	margin-top: 9px;
}

.swre-property-card__footer {
	margin-top: 10px;
	padding-top: 9px;
}

.swre-property-card__compare {
	font-size: 0.68rem;
	min-height: 38px;
}

.swre-property-card__compare input {
	height: 15px;
	width: 15px;
}

.swre-property-card__details {
	font-size: 0.7rem;
	min-height: 34px;
	min-width: 132px;
	padding: 7px 12px;
}

.swre-property-archive .propertyhive-pagination {
	margin: 0;
	padding: 4px 16px 16px;
}

.swre-property-mobile-dock strong {
	font: inherit;
}

.swre-property-components :where(a, button, input, select, summary):focus-visible,
.swre-property-archive :where(a, button, input, select, summary):focus-visible {
	box-shadow: 0 0 0 5px #003b75;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	.swre-property-archive.site-main {
		border-radius: 0;
		margin: 0;
	}

	.swre-property-archive__hero {
		padding-left: clamp(1rem, 4vw, 2.5rem);
	}

	.swre-property-archive .swre-context-rail__header {
		clip: auto;
		clip-path: none;
		display: flex;
		height: auto;
		overflow: visible;
		padding: 1.25rem;
		position: static;
		white-space: normal;
		width: auto;
	}

	.swre-property-archive .swre-context-rail {
		background: #fff;
		border: 1px solid #e2e2e2;
	}
}

@media (max-width: 767px) {
	.swre-property-archive.site-main {
		border: 0;
		box-shadow: none;
		padding-bottom: 82px;
	}

	.swre-property-archive__hero {
		padding: 28px 16px 20px;
	}

	.swre-property-archive__hero h1 {
		font-size: 1rem;
		letter-spacing: 0;
	}

	.swre-property-archive__hero > p:last-child {
		font-size: 0.68rem;
		margin-top: 4px;
	}

	.swre-property-archive__layout,
	.swre-context-layout.swre-property-archive__layout {
		display: block;
		padding: 0;
	}

	.swre-property-archive .swre-context-rail-root > .swre-context-rail__trigger {
		display: none;
	}

	.swre-property-archive__content {
		border: 0;
		border-radius: 0;
	}

	.swre-property-mobile-tools {
		background: #fff;
		border: 1px solid #e5e5e5;
		border-radius: 5px;
		box-shadow: 0 2px 10px rgba(20, 20, 20, 0.05);
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 0 8px 12px;
	}

	.swre-property-mobile-tools :where(button, a, .swre-property-mobile-sort) {
		align-items: center;
		background: #fff;
		border: 0;
		color: #222;
		display: flex;
		font: inherit;
		font-size: 0.72rem;
		font-weight: 650;
		gap: 7px;
		justify-content: center;
		min-height: 44px;
		padding: 7px;
		text-decoration: none;
	}

	.swre-property-mobile-tools > * + * {
		border-left: 1px solid #ededed;
	}

	.swre-property-mobile-sort {
		cursor: pointer;
		position: relative;
	}

	.swre-property-mobile-sort .propertyhive-ordering,
	.swre-property-mobile-sort .orderby {
		cursor: pointer;
		inset: 0;
		margin: 0;
		opacity: 0;
		position: absolute;
		width: 100%;
	}

	.swre-property-mobile-tools .swre-property-icon {
		height: 14px;
		width: 14px;
	}

	.swre-property-archive__chips {
		border: 0;
		flex-wrap: nowrap;
		min-height: 0;
		overflow-x: auto;
		padding: 0 8px 10px;
		scrollbar-width: none;
	}

	.swre-property-archive__chips::-webkit-scrollbar {
		display: none;
	}

	.swre-property-archive__chips > * {
		flex: 0 0 auto;
	}

	.swre-property-chip {
		min-height: 32px;
	}

	.swre-property-chip-list__reset {
		display: none;
	}

	.swre-property-archive__toolbar {
		display: none;
	}

	.swre-property-archive .swre-property-results {
		gap: 10px;
		padding: 0 8px 14px;
	}

	.swre-property-card,
	.swre-property-results--grid .swre-property-card,
	.swre-property-results--map .swre-property-card {
		display: block;
		min-height: 0;
	}

	.swre-property-card__media,
	.swre-property-results--map .swre-property-card__media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.swre-property-card__body,
	.swre-property-results--map .swre-property-card__body {
		padding: 11px 12px 12px;
	}

	.swre-property-card__save {
		color: #fff;
		filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
		height: 44px;
		right: 7px;
		top: 7px;
		width: 44px;
	}

	.swre-property-card__price > span,
	.swre-property-results--map .swre-property-card__price > span {
		font-size: 1.12rem;
	}

	.swre-property-card__title,
	.swre-property-results--map .swre-property-card__title {
		font-size: 0.82rem;
	}

	.swre-property-card__location {
		font-size: 0.64rem;
	}

	.swre-property-card__facts {
		display: flex;
		gap: 5px 14px;
		margin-top: 9px;
	}

	.swre-property-card__facts li {
		font-size: 0.6rem;
	}

	.swre-property-card__facts li:nth-child(n + 4),
	.swre-property-card__highlights,
	.swre-property-card__excerpt,
	.swre-property-archive .swre-property-card__compare {
		display: none;
	}

	.swre-property-card__footer {
		border: 0;
		margin-top: 10px;
		padding: 0;
	}

	.swre-property-card__details {
		min-height: 40px;
		width: 100%;
	}

	.swre-property-compare-tray {
		display: none !important;
	}

	.swre-property-map-panel {
		margin: 0 8px 12px;
	}

	.swre-property-mobile-dock {
		background: #d7a31b;
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		left: 0;
		padding: 0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
		position: fixed;
		right: 0;
		z-index: 100080;
	}

	.swre-property-mobile-dock :where(button, a) {
		align-items: center;
		background: transparent;
		border: 0;
		color: #171717;
		display: flex;
		font: inherit;
		font-size: 0.75rem;
		font-weight: 650;
		gap: 8px;
		justify-content: center;
		min-height: 64px;
		padding: 10px;
		text-decoration: none;
	}

	.swre-property-mobile-dock a {
		border-left: 1px solid rgba(255, 255, 255, 0.55);
	}

	.swre-property-mobile-dock .swre-property-icon {
		height: 20px;
		width: 20px;
	}

	.swre-property-decision-dialog {
		padding-bottom: env(safe-area-inset-bottom);
	}

	.swre-property-archive .swre-context-rail__close {
		height: 44px;
		width: 44px;
	}

	.swre-property-filter-choices--types {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.swre-property-filter-choices--types label:nth-child(n) {
		grid-column: auto;
	}
}

@media (max-width: 359px) {
	.swre-property-card__facts {
		gap: 4px 9px;
	}

	.swre-property-mobile-tools :where(button, a, .swre-property-mobile-sort) {
		font-size: 0.68rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swre-property-card,
	.swre-property-card__image,
	.swre-property-card__gallery-control,
	.swre-property-mobile-dock {
		scroll-behavior: auto;
		transition: none;
	}
}

@media (forced-colors: active) {
	.swre-property-filter-segments input:checked + span,
	.swre-property-filter-choices input:checked + span,
	.swre-property-filter-amenities input:checked + span,
	.swre-property-view-switcher__item.is-active,
	.swre-property-card__save[aria-pressed="true"] {
		outline: 2px solid CanvasText;
		outline-offset: -3px;
	}
}
