

.aas {
	--aas-bg: #FDFAF6;
	--aas-accent: #C87A62;
	--aas-accent-dark: #b06650;
	--aas-teal: #4EAEAD;
	--aas-slate: #3A4355;
	--aas-gold: #D6BF96;
	--aas-line: #e6ddd0;
	--aas-muted: #6b7280;
	font-family: "Jost", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--aas-slate);
	max-width: 1320px;
	margin: 0 auto;
}
.aas *, .aas *::before, .aas *::after { box-sizing: border-box; }

/* ---------- search bar: Amori styling (teal band, gold hairlines, pill shapes, slate outlines) ---------- */
.aas {
	--aas-ink: #3A4355;
	--aas-gold: #D6BF96;
	--aas-gold-soft: #eadfc9;
	--aas-paper: #FDFAF6;
	--aas-aqua: #B8DFDE;
}
/* Your theme gives every button a coloured hover/focus/active state. These rules keep ours as designed. */
.aas button,
.aas button:hover,
.aas button:focus,
.aas button:active,
.aas button:focus-visible {
	background-color: var(--b, transparent) !important;
	color: var(--c, #3A4355) !important;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	text-shadow: none;
	line-height: 1.2;
}
.aas button:focus-visible { outline: 2px solid var(--aas-ink); outline-offset: 1px; }
.aas button:focus:not(:focus-visible) { outline: 0; }

.aas-form {
	position: relative;
	background: var(--aas-aqua);
	border-radius: 6px;
	padding: 12px 28px;
}
.aas-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.aas-wherebox { display: flex; flex: 1 1 170px; min-width: 160px; max-width: 205px; }
.aas-where-wrap { flex: 1 1 auto; min-width: 0; }
.aas input[type="text"] {
	width: 100%;
	height: 36px;
	padding: 0 14px 0 18px;
	font: inherit;
	font-size: 12px;
	letter-spacing: normal;
	color: var(--aas-ink);
	background: #fff;
	border: 2px solid #fff;
	border-radius: 20px 0 0 20px;
	box-shadow: none;
}
.aas input:focus,
.aas select:focus { outline: 2px solid var(--aas-ink); outline-offset: 1px; }
.aas-go {
	--b: #3A4355; --c: #fff;
	width: 40px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0 20px 20px 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

/* pills in the bar */
.aas-dd { position: relative; }
.aas-pillbtn,
.aas-morebtn {
	--b: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border: 2px solid #fff;
	border-radius: 20px;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
}
.aas-pillbtn::after,
.aas-morebtn::after {
	content: "";
	width: 5px;
	height: 5px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s;
	flex: 0 0 auto;
}
.aas-dd-dates .aas-pillbtn::after { display: none; }
.aas-pillbtn:hover,
.aas-morebtn:hover { border-color: var(--aas-gold); }
.aas-pillbtn[aria-expanded="true"],
.aas-morebtn[aria-expanded="true"] { border-color: var(--aas-ink); }
.aas-pillbtn[aria-expanded="true"]::after,
.aas-morebtn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.aas-pillbtn.is-set,
.aas-morebtn.is-set { font-weight: 600; border-color: var(--aas-ink); }

/* menus under each pill */
.aas-pop {
	position: absolute;
	z-index: 60;
	top: calc(100% + 8px);
	left: 0;
	width: 330px;
	max-width: calc(100vw - 24px);
	padding: 16px 20px 20px;
	background: var(--aas-paper);
	border: 1px solid var(--aas-gold);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(58, 67, 85, 0.16);
	color: var(--aas-ink);
}
.aas-pop[hidden] { display: none; }
.aas-poptitle { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.aas-poptitle-2 { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--aas-gold-soft); }
.aas-opts { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 8px; }
.aas-opt {
	--b: #fff;
	min-width: 0;
	width: 100%;
	height: 34px;
	padding: 0;
	border: 1.5px solid var(--aas-gold);
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}
.aas-opt:hover { border-color: var(--aas-ink); }
.aas-opt.is-on { border: 2px solid var(--aas-ink); font-weight: 600; }

/* Property type menu */
.aas-pop-ticks { width: 400px; }
.aas-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; max-height: 300px; overflow: auto; }

/* Price and distance menus */
.aas-pricerow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aas select {
	width: 100%;
	height: 40px;
	padding: 0 14px;
	-webkit-appearance: none;
	appearance: none;
	text-align: center;
	text-align-last: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233A4355' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: calc(50% + 40px) 50%;
	font: inherit;
	font-size: 12px;
	letter-spacing: normal;
	color: var(--aas-ink);
	background: #fff;
	border: 1.5px solid var(--aas-gold);
	border-radius: 999px;
}
.aas select[hidden] { display: none; }
.aas-pop-dist { width: 380px; }
.aas-seg2 { height: 42px; align-items: stretch; }
.aas-pop-cal .aas-seg { height: 42px; align-items: stretch; min-width: 270px; }
.aas-cal-title { white-space: nowrap; }
.aas-seg2,
.aas-seg { display: flex; padding: 3px; border: 1.5px solid var(--aas-gold); border-radius: 999px; background: #fff; }
.aas-mode,
.aas-tab {
	--b: transparent;
	flex: 1 1 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}
.aas-mode.is-on,
.aas-tab.is-on { --b: #B8DFDE; font-weight: 600; }
.aas-country { margin-top: 14px; }
.aas-found { margin: 10px 0 0; font-size: 12px; text-align: center; color: var(--aas-muted); }
.aas-found[hidden] { display: none; }
.aas-mode.is-off { opacity: 0.45; cursor: not-allowed; }
.aas-distrow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 10px; row-gap: 4px; margin-top: 14px; font-size: 12px; }
.aas-dlbl { display: block; margin: 0 0 0 14px; font-size: 11px; font-weight: 500; color: var(--aas-muted); }
.aas-customrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.aas-customrow[hidden] { display: none; }
.aas-cfld { display: flex; flex-direction: column; gap: 4px; }
.aas-cfld input { width: 100%; height: 40px; padding: 0 14px; text-align: center; font: inherit; font-size: 12px; border: 1.5px solid var(--aas-gold); border-radius: 999px; box-sizing: border-box; background: #fff; }
.aas-needpc { margin: 8px 0 0; font-size: 12px; text-align: center; color: var(--aas-terra, #C87A62); }
.aas-needpc[hidden] { display: none; }
.aas-distrow select { width: 100%; }
.aas input[type="text"].aas-dpc,
.aas-distrow input[type="text"] {
	flex: 1 1 auto;
	height: 40px;
	padding: 0 16px;
	text-align: center;
	border: 1.5px solid var(--aas-gold);
	border-radius: 999px;
}
.aas-useloc,
.aas-distclear {
	--b: transparent;
	display: inline-block;
	margin: 10px 14px 0 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}
.aas-hint { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--aas-gold-soft); font-size: 11px; line-height: 1.5; color: #6b7280; }
.aas-hint.aas-hint-2 { margin-top: 8px; padding-top: 0; border-top: 0; }
.aas-hint.aas-hint-line { margin-top: 16px; }

/* Calendar: compact, with the flexible options at the top */
.aas-pop-cal { width: 520px; padding: 16px 20px 16px; }
.aas-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.aas-cal-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; }
.aas-cal-panel[hidden] { display: none; }
.aas-flexby { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--aas-gold-soft); }
.aas-flexby[hidden] { display: none; }
.aas-flexlabel { margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8a7448; }
.aas-flexby .aas-flexlabel { margin: 0; }
.aas-flexintro { margin: 0 0 12px; font-size: 12px; line-height: 1.5; }
.aas-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aas-chip {
	--b: #fff;
	height: 28px;
	padding: 0 12px;
	border: 1.5px solid var(--aas-gold);
	border-radius: 999px;
	font: inherit;
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
}
.aas-chip:hover { border-color: var(--aas-ink); }
.aas-chip.is-on { border: 2px solid var(--aas-ink); font-weight: 600; }
.aas-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.aas-monthhead { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-bottom: 4px; }
.aas-monthname { font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; font-weight: 600; }
.aas-arrow,
.aas-arrowgap { width: 26px; height: 26px; flex: 0 0 auto; }
.aas-arrow { --b: #fff; display: flex; align-items: center; justify-content: center; padding: 0; border: 1.5px solid var(--aas-gold); border-radius: 50%; cursor: pointer; }
.aas-arrow.is-ghost { visibility: hidden; }
.aas-days { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 1px; text-align: center; }
.aas-dow { height: 24px; display: flex; align-items: center; justify-content: center; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a7448; }
.aas-day {
	--b: transparent;
	position: relative;
	height: 32px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}
.aas-day:hover:not(:disabled) { border-color: var(--aas-gold); }
.aas-day.is-past,
.aas-day.is-past:hover,
.aas-day.is-past:focus { --c: #b8bdc4; color: #b8bdc4 !important; cursor: default; border-color: transparent; }
.aas-day.is-mid { --b: #B8DFDE; border-radius: 0; border-color: transparent; }
.aas-day.is-sel { --b: #fff; border-color: var(--aas-ink); border-radius: 999px; font-weight: 600; }
.aas-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #C87A62; }
.aas-cal-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--aas-gold-soft); }
.aas-cal-sum { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; font-weight: 600; }
.aas-cal-sub { margin: 0; font-size: 11px; color: #6b7280; }

.aas-note { margin: 8px 0 0; font-size: 13px; color: var(--aas-ink); }
.aas-note:empty { display: none; }

/* tick-boxes: box and text on one line */
.aas-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.3; cursor: pointer; }
.aas-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0 !important;
	padding: 0;
	flex: 0 0 auto;
	accent-color: var(--aas-ink);
	vertical-align: middle;
	position: static;
}
.aas-check span { display: block; }
.aas-check-sm { align-items: center; }

/* ---------- More filters: wide panel under the bar ---------- */
.aas-more {
	position: absolute;
	z-index: 55;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	max-height: min(70vh, 520px);
	overflow: auto;
	padding: 0 24px 18px;
	background: var(--aas-paper);
	border: 1px solid var(--aas-gold);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(58, 67, 85, 0.16);
	color: var(--aas-ink);
}
.aas-more[hidden] { display: none; }
.aas-morehead { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.aas-moretitle { font-size: 15px; font-weight: 600; }
.aas-closepanel {
	--b: #3A4355; --c: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.aas-sechead { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.aas-secount { margin-left: 8px; font-size: 11px; font-weight: 400; color: #6b7280; }
.aas-morecols { border-top: 1px solid var(--aas-gold-soft); padding-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
.aas-popcol { grid-column: 1; }
.aas-morefeat { grid-column: 2 / -1; border-top: 0 !important; }
.aas-popular { display: grid; grid-template-columns: 1fr; gap: 10px; padding-bottom: 14px; }
.aas-group { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; }
.aas-taxgroup { border-top: 1px solid var(--aas-gold-soft); }
.aas-grouphead {
	--b: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 46px;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
}
.aas-grouphead::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.15s;
	flex: 0 0 auto;
}
.aas-grouphead[aria-expanded="true"]::after { transform: rotate(-135deg); }
.aas-groupcount { margin-left: 8px; margin-right: auto; font-weight: 400; font-size: 11px; color: #6b7280; }
.aas-checks { display: flex; flex-direction: column; gap: 10px; max-height: 240px; overflow: auto; padding: 2px 6px 14px 2px; }
.aas-checks[hidden] { display: none; }
.aas-taxgroup.is-wide .aas-checks { display: block; max-height: none; overflow: visible; column-count: 3; column-gap: 28px; padding-bottom: 8px; }
.aas-taxgroup.is-wide .aas-check { display: flex; break-inside: avoid; margin-bottom: 10px; }
.aas-panelfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--aas-gold-soft); }
.aas-clear { --b: transparent; padding: 0; border: 0; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.aas-done { --b: #3A4355; --c: #fff; height: 38px; padding: 0 28px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

/* ---------- results ---------- */
.aas-mapbtn {
	--b: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	justify-content: center;
	height: 42px;
	margin: 14px 0 0;
	padding: 0 18px;
	border: 2px solid var(--aas-ink);
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.aas-mapbtn[hidden] { display: none; }
.aas-mapbtn:hover { border-color: var(--aas-gold); }
.aas-sub { margin: -4px 28px 14px; font-size: 14px; color: var(--aas-muted); }

.aas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 24px;
	margin: 0 28px;
}

/* Cards follow the Estatik listing cards: full-width photo, uppercase title, price pill, stats, address, dotted tags. */
.aas-card {
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14);
	font-size: 16px;
}
.aas-imgwrap { position: relative; aspect-ratio: 3 / 2; background: #efe8dc; overflow: hidden; border-radius: 12px 12px 0 0; }
.aas-imgwrap .aas-img { position: absolute; top: 0; left: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.aas-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 18px; flex: 1; border-radius: 0 0 12px 12px; }

.aas-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.aas-badge { font-size: 11px; line-height: 1.3; font-weight: 600; padding: 3px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--aas-gold); border-left: 6px solid var(--aas-gold); white-space: nowrap; }

.aas-title {
	margin: 0;
	font-family: "Jost", "DM Sans", system-ui, sans-serif;
	font-size: 13px !important; /* Adjusted down to 13px to match metadata */
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.aas-title a { display: block; overflow: hidden; text-overflow: ellipsis; color: inherit; text-decoration: none; }
.aas-title a:hover { text-decoration: underline; }

.aas-pricerow { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.aas-price { font-family: "Cormorant Garamond", Georgia, serif; font-size: 15px; font-weight: 600; line-height: 1.2; }
.aas-per { font-size: 13px; color: var(--aas-muted); margin-left: -3px; }

.aas-stats { 
	display: flex; 
	flex-wrap: wrap; 
	gap: 4px 20px; 
	font-size: 13px; 
	line-height: 1.25; 
	text-transform: capitalize; 
}
.aas-stat { display: inline-flex; align-items: center; gap: 8px; }
.aas-stat-icon { display: inline-flex; color: #b9bec6; }
.aas-stat-icon svg { width: 18px; height: 18px; }

.aas-addr { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 400; height: 2.8em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.aas-taglist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; align-content: flex-start; font-size: 13px; line-height: 1.4; font-weight: 400; height: 2.8em; overflow: hidden; }
.aas-taglist li { display: inline-flex; align-items: center; }
.aas-taglist li::after { content: ""; width: 5px; height: 5px; margin: 0 9px; border-radius: 50%; background: #cfd4da; }
.aas-taglist li:last-child::after { display: none; }

.aas-free { margin: 10px 0 0; min-height: 52px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; padding: 8px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--aas-gold); border-left: 6px solid var(--aas-gold); font-size: 13px; line-height: 1.3; font-weight: 600; }
.aas-free small { display: block; font-weight: 400; color: inherit; font-size: 11px; margin-top: 1px; }
.aas-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 12px; }
.aas-btn {
	display: block;
	width: 100%;
	padding: 2px;
	border: 2px solid var(--aas-gold);
	border-radius: 6px;
	background-color: #fff !important;
	text-decoration: none !important;
}
.aas-btn-in {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 3px;
	background-color: var(--aas-aqua);
	color: var(--aas-slate) !important;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.aas-btn:hover .aas-btn-in { background-color: #a3d3d1; }
.aas-link { font-size: 13px; color: var(--aas-slate); }

/* ---------- map pop-up ---------- */
html.aas-noscroll { overflow: hidden; }
.aas.aas-mapmodal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	max-width: none;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}
.aas-mapmodal[hidden] { display: none; }
.aas-mapover { position: absolute; inset: 0; background: rgba(58, 67, 85, 0.5); }
.aas-mapdlg {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 1000px;
	max-width: 100%;
	max-height: 100%;
	background: var(--aas-paper);
	border: 1px solid var(--aas-gold);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(58, 67, 85, 0.25);
	overflow: hidden;
}
.aas-maphead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--aas-gold); }
.aas-maptitle { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.2; }
.aas-mapclose {
	--b: #3A4355; --c: #fff;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.aas-mapwrap { position: relative; flex: 1 1 auto; min-height: 280px; height: 440px; }
.aas-map { position: absolute; inset: 0; background: #F1EFE8; font-family: inherit; }
.aas-mapfoot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 20px; border-top: 1px solid var(--aas-gold); font-size: 12px; line-height: 1.5; color: var(--aas-muted); }
.aas-maplegend { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.aas-legend { display: inline-flex; align-items: center; gap: 6px; }
.aas-legend[hidden] { display: none; }
.aas-legend i { width: 10px; height: 10px; border-radius: 50%; background: #3A4355; }
.aas-legend i.is-pin { background: #E3281E; }

/* pins, circle label, zoom buttons and credit (MapLibre parts, restyled) */
.aas-map .maplibregl-canvas { outline: 0; }
.aas-pin { width: 20px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.aas-pin svg { display: block; width: 20px; height: 30px; filter: drop-shadow(0 1px 2px rgba(58, 67, 85, 0.35)); transition: transform 0.12s; transform-origin: 50% 100%; }
.aas-pin path { fill: #E3281E; }
.aas-pin.is-on svg { transform: scale(1.3); }
.aas-pin.is-on path { fill: #3A4355; }
.aas-homedot { width: 16px; height: 16px; border-radius: 50%; background: #3A4355; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(58, 67, 85, 0.35); }
.aas-circlelabel {
	padding: 4px 12px;
	border-radius: 999px;
	background: #3A4355;
	color: #fff;
	font: 600 11px/1.2 "Jost", system-ui, sans-serif;
	white-space: nowrap;
}
.aas-mapfail { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; background: var(--aas-paper); }
.aas-map .maplibregl-ctrl-group { border-radius: 8px; box-shadow: none; background: transparent; }
.aas-map .maplibregl-ctrl-group button {
	width: 34px;
	height: 34px;
	--b: #fff;
	border: 1.5px solid var(--aas-gold);
	cursor: pointer;
}
.aas-map .maplibregl-ctrl-group button + button { border-top: 0; }
.aas-map .maplibregl-ctrl-group button:first-child { border-radius: 8px 8px 0 0; }
.aas-map .maplibregl-ctrl-group button:last-child { border-radius: 0 0 8px 8px; }
.aas-map .maplibregl-ctrl-attrib { font-size: 10px; color: var(--aas-ink); background: rgba(255, 255, 255, 0.85); }
.aas-map .maplibregl-ctrl-attrib a { color: var(--aas-ink); }

/* the small card that opens when a pin is clicked */
.aas-popcard .maplibregl-popup-content { width: 260px; padding: 0; border: 1px solid var(--aas-gold); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(58, 67, 85, 0.2); color: var(--aas-ink); font-family: "Jost", system-ui, sans-serif; }
.aas-popcard .maplibregl-popup-close-button { --b: #3A4355; --c: #fff; top: 8px; right: 8px; width: 34px; height: 34px; padding: 0; border-radius: 50%; font-size: 0; line-height: 0; text-align: center; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, 0.35); text-shadow: none; z-index: 5; }
.aas-popcard .maplibregl-popup-close-button::before, .aas-popcard .maplibregl-popup-close-button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: #fff; border-radius: 1px; transform: rotate(45deg); }
.aas-popcard .maplibregl-popup-close-button::after { transform: rotate(-45deg); }
.aas-popcard .maplibregl-popup-close-button:hover { --b: #3A4355; background: #3A4355 !important; }
.aas-popcard.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: #fff; }
.aas-pc-img { aspect-ratio: 2 / 1; background: #efe8dc; }
.aas-pc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aas-pc-body { padding: 10px 14px 12px; }
.aas-pc-body p { margin: 0; }
.aas-pc-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.2; }
.aas-pc-meta { margin-top: 2px !important; font-size: 12px; color: var(--aas-muted); }
.aas .aas-pc-free { margin-top: 6px !important; font-size: 12px; font-weight: 600; line-height: 1.4 !important; }
.aas-pc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.aas-pc-price { font-size: 12px; font-weight: 600; }
.aas-pc-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 999px; background: #3A4355; color: #fff !important; font-size: 12px; font-weight: 600; text-decoration: none !important; }

@media (max-width: 760px) {
	.aas-form { padding: 12px 14px; }
	.aas-headrow,
	.aas-sub { margin-left: 14px; margin-right: 14px; }
	.aas-grid { margin: 0 14px; }
	.aas-showmorerow { margin-left: 14px; margin-right: 14px; }
	.aas-mapwrap { height: 60vh; }
	.aas-mapfoot { flex-direction: column; align-items: flex-start; gap: 8px; }
	.aas-maptitle { font-size: 18px; }
	.aas-wherebox { flex: 1 1 100%; max-width: none; }
	.aas-dd { position: static; }
	.aas-pop,
	.aas-pop-cal,
	.aas-pop-ticks,
	.aas-pop-dist { left: 8px; right: 8px; width: auto; }
	.aas-months { grid-template-columns: 1fr; gap: 20px; }
	.aas-morecols { grid-template-columns: 1fr 1fr; }
	.aas-popcol { grid-column: 1 / -1; }
	.aas-morefeat { grid-column: 1 / -1; }
	.aas-taxgroup.is-wide .aas-checks { column-count: 2; }
	.aas-popular { grid-template-columns: 1fr 1fr; }
	.aas-body { padding: 16px; }
}

.aas-pop-dist .aas-useloc { display: block; margin: 12px auto 0; }

/* Results row: pills on the left, Sort by on the right */
.aas-headrow { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 14px 28px; }
.aas-resleft { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aas .aas-respill,
.aas button.aas-maplink,
.aas button.aas-sortbtn {
	--b: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	margin: 0;
	padding: 0 16px;
	border: 2px solid var(--aas-gold);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}
.aas .aas-respill { font-family: inherit; font-size: 12px; font-weight: 500; }
.aas .aas-maplink[hidden] { display: none; }
.aas button.aas-maplink,
.aas button.aas-sortbtn { cursor: pointer; }
.aas button.aas-maplink:hover,
.aas button.aas-sortbtn:hover,
.aas button.aas-sortbtn[aria-expanded="true"] { border-color: var(--aas-ink); }
.aas-sortwrap { display: flex; align-items: center; gap: 10px; }
.aas-sortlabel { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aas-muted); }
.aas-sortdd { position: relative; }
.aas button.aas-sortbtn { justify-content: space-between; gap: 12px; min-width: 150px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.aas button.aas-sortbtn::after {
	content: "";
	width: 5px;
	height: 5px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	flex: 0 0 auto;
}
.aas button.aas-sortbtn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.aas-sortmenu {
	line-height: 1.2;
	position: absolute;
	z-index: 40;
	right: 0;
	top: calc(100% + 6px);
	min-width: 100%;
	padding: 6px;
	background: #fff;
	border: 1px solid var(--aas-gold);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(58, 67, 85, 0.16);
}
.aas .aas-sortmenu[hidden] { display: none; }
.aas .aas-sortmenu button {
	--b: transparent;
	display: block;
	width: 100%;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 6px 12px !important;
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-size: 12px;
	line-height: 1.2 !important;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}
.aas .aas-sortmenu button:hover { background: var(--aas-gold-soft); }
.aas .aas-sortmenu button[aria-checked="true"] { font-weight: 600; }
.aas-sub:empty { display: none; }
.aas-showmorerow { display: flex; justify-content: center; margin: 28px 28px 8px; }
.aas .aas-showmore[hidden] { display: none; }
.aas button.aas-showmore {
	--b: #fff;
	height: 42px;
	padding: 0 32px;
	border: 2px solid var(--aas-gold);
	border-radius: 999px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.aas button.aas-showmore:hover { border-color: var(--aas-ink); }
.aas button.aas-showmore:disabled { opacity: 0.6; cursor: default; }

.aas-subhead { margin-top: 6px; }
/* v1.21: location suggestions, custom distance, clear buttons */
.aas-where-wrap { position: relative; }
.aas .aas-suggest {
	position: absolute; z-index: 80; left: 0; top: calc(100% + 4px);
	width: 320px; max-width: 90vw; padding: 4px 0;
	background: #fff; border: 1.5px solid var(--aas-gold); border-radius: 8px;
	box-shadow: 0 8px 24px rgba(58,67,85,.18);
}
.aas .aas-suggest[hidden] { display: none; }
.aas button.aas-sug {
	--b: #fff; --c: #3A4355;
	display: block; width: 100%; margin: 0; padding: 8px 14px; border: 0; border-radius: 0;
	text-align: left; font: inherit; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.aas button.aas-sug:hover, .aas button.aas-sug.is-active { --b: #F1F8F8; }
.aas-sug-t { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.aas-sug-a { display: block; font-size: 11px; line-height: 1.3; color: var(--aas-muted); }
.aas-clearone { display: block; margin: 12px 0 0; }
.aas .aas-clearall[hidden] { display: none; }
.aas button.aas-clearall {
	--b: #fff; --c: #3A4355;
	display: inline-flex; align-items: center; gap: 8px; height: 36px; margin: 0; padding: 0 16px;
	border: 1.5px solid #3A4355; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 600;
	line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; box-sizing: border-box;
}

/* v1.23 */
.aas-pc-title::first-letter { text-transform: uppercase; }
.aas select.aas-country,
.aas .aas-distrow select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233A4355' stroke-width='1.6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
}

/* v1.24: grouped pins */
.aas .aas-pincount { position: absolute; left: 50%; top: 4px; transform: translateX(-50%); min-width: 16px; font: 600 11px/16px "Jost", system-ui, sans-serif; text-align: center; color: #3A4355; background: #fff; border-radius: 999px; pointer-events: none; }
.aas-pcnav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid #e7dfd0; background: #FDFAF6; }
.aas-pcpos { font-size: 11px; color: var(--aas-muted); }
.aas button.aas-pcarrow, .aas-popcard button.aas-pcarrow { --b: #fff; --c: #3A4355; width: 28px; height: 28px; padding: 0; border: 1.5px solid #D6BF96; border-radius: 999px; font-size: 18px; line-height: 1; cursor: pointer; }

/* v1.25: custom distance pop-up */
.aas .aas-custompop {
	position: absolute; z-index: 5; left: 16px; right: 16px; top: 120px;
	display: flex; flex-direction: column; gap: 10px; padding: 16px;
	background: #fff; border: 1.5px solid var(--aas-gold); border-radius: 12px;
	box-shadow: 0 10px 28px rgba(58, 67, 85, 0.25);
}
.aas .aas-custompop[hidden] { display: none; }
.aas-cp-t { margin: 0; font-size: 14px; font-weight: 600; }
.aas-custompop input[type="number"] {
	width: 100%; height: 40px; padding: 0 14px; text-align: center; font: inherit; font-size: 12px;
	border: 1.5px solid var(--aas-gold); border-radius: 999px; box-sizing: border-box; background: #fff; outline: none;
	-moz-appearance: textfield; appearance: textfield;
}
.aas-custompop input[type="number"]::-webkit-outer-spin-button,
.aas-custompop input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.aas-custompop input[type="number"]:focus { border-color: var(--aas-ink); box-shadow: none; }
.aas-cp-err { margin: 0; font-size: 12px; color: #C87A62; }
.aas-cp-err[hidden] { display: none; }
.aas-cp-btns { display: flex; gap: 10px; }
.aas .aas-cp-btns button { flex: 1; height: 36px; margin: 0; padding: 0 12px; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.aas .aas-cp-cancel { --b: #fff; --c: #3A4355; border: 1.5px solid var(--aas-gold); }
.aas .aas-cp-apply { --b: #3A4355; --c: #fff; border: 1.5px solid #3A4355; }

/* v1.31: pop-up arrows, numbered pages, no-calendar note */
.aas-pcnav { padding: 10px 14px; }
.aas button.aas-pcarrow, .aas-popcard button.aas-pcarrow {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; padding: 0 0 3px; font-size: 26px; line-height: 1; text-align: center; flex: 0 0 auto;
}
.aas-pc-dist { margin-top: -2px; }
.aas-free.is-none { color: var(--aas-muted); font-weight: 400; }
.aas-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 28px 28px 8px; }
.aas-pager[hidden] { display: none; }
.aas button.aas-pg {
	--b: #fff; --c: #3A4355;
	min-width: 40px; height: 40px; margin: 0; padding: 0 12px; border: 1.5px solid var(--aas-gold); border-radius: 999px;
	font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; box-sizing: border-box;
}
.aas button.aas-pg:hover { border-color: var(--aas-ink); }
.aas button.aas-pg.is-current { --b: #3A4355; --c: #fff; border-color: #3A4355; font-weight: 600; }
.aas button.aas-pg:disabled:not(.is-current) { opacity: 0.45; cursor: default; }
.aas-pg-gap { color: var(--aas-muted); padding: 0 2px; }

/* v1.31 */
.aas-ticks { padding: 4px 8px 4px 4px; }
.aas .aas-clearall:hover, .aas .aas-clearall:focus-visible { --b: #fff; --c: #3A4355; border-color: #D6BF96; }
.aas .aas-clearall svg { box-sizing: content-box; width: 10px; height: 10px; padding: 6px; margin: 0 -10px 0 2px; border-radius: 50%; background: #3A4355; color: #fff; }
.aas .aas-cp-clear {
	--b: transparent; --c: #3A4355;
	align-self: center; margin: 2px 0 0; padding: 0; border: 0; font: inherit; font-size: 12px;
	text-decoration: underline; cursor: pointer;
}
.aas .aas-cp-clear:hover { text-decoration: none; }
.aas-locstatus { margin: 8px 0 0; font-size: 12px; text-align: center; color: var(--aas-muted); }
.aas-locstatus[hidden] { display: none; }
.aas-locstatus.is-busy::before {
	content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 7px; vertical-align: -1px;
	border: 2px solid #B8DFDE; border-top-color: #4EAEAD; border-radius: 50%; animation: aas-spin .8s linear infinite;
}
@keyframes aas-spin { to { transform: rotate(360deg); } }

/* corner ribbons on the thumbnails */
.aas-ribbon {
	--rd: #9c7f4c;
	position: absolute; top: -9px; right: -9px; width: 103px; height: 103px; overflow: hidden; z-index: 3; pointer-events: none; text-decoration: none; display: block;
}
a.aas-ribbon { pointer-events: auto; cursor: pointer; }
.aas-ribbon::before, .aas-ribbon::after { content: ""; position: absolute; z-index: 0; width: 9px; height: 9px; background: var(--rd); }
.aas-ribbon::before { left: 94px; top: 90px; }
.aas-ribbon::after { left: 4px; top: 0; }
.aas-ribbon-t {
	position: absolute; z-index: 1; left: -81.75px; top: 13.89px; width: 300px; height: 41.7px; box-sizing: border-box; transform: rotate(45deg);
	display: flex; align-items: center; justify-content: center; text-align: center;
background: linear-gradient(180deg, #F1E3C3 0%, #D3BA90 45%, #BE9E66 100%); color: #3A4355; text-shadow: none;
	font: 700 10.5px/1.15 "Jost", system-ui, sans-serif; letter-spacing: 0.02em; text-transform: uppercase;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(140, 105, 45, 0.45), inset 0 0 0 0.5px rgba(80, 55, 15, 0.3);
}
.aas-ribbon.is-so { --rd: #1E2430; }
.aas-ribbon.is-so .aas-ribbon-t {
	background: linear-gradient(180deg, #566077 0%, #3A4355 50%, #2A313F 100%);
	color: #D6BF96;
		text-shadow: 0 1px 2px rgba(10, 14, 22, 0.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.32), inset 0 0 0 0.5px rgba(0, 0, 0, 0.32);
}


.aas-ribbon.is-cu { --rd: #8a3b1d; }
.aas-ribbon.is-cu .aas-ribbon-t {
	background: linear-gradient(180deg, #D97A52, #C8613A 50%, #AB4A27); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.28), inset 0 0 0 0.5px rgba(0, 0, 0, 0.3);
}
.aas-ribbon-sh { position: absolute; top: 0; right: 0; width: 94px; height: 94px; overflow: hidden; z-index: 2; pointer-events: none; }
.aas-ribbon-sh i { position: absolute; left: -81.75px; top: 4.89px; width: 300px; height: 41.7px; transform: rotate(45deg); box-shadow: 0 4px 5px -3px rgba(40, 30, 10, 0.5); }
.aas-ribbon-t.is-long { font-size: 9px; letter-spacing: 0.01em; }
.aas-offerarrow { font-size: 18px; line-height: 1; vertical-align: -1px; margin-left: 1px; }
.aas-links { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 13px; }
.aas-cardmap { display: inline-flex; align-items: center; gap: 5px; color: #C8613A; font-weight: 700; font-size: 13px; text-decoration: none !important; white-space: nowrap; cursor: pointer; }
.aas-cardmap:hover { color: #3A4355; }
.aas-pinsm { flex: none; }
.aas-offerlink { color: #C8613A; font-weight: 700; font-size: 13px; text-decoration: underline; white-space: nowrap; }
.aas-offerlink { display: inline-flex; align-items: center; gap: 5px; }
.aas-offerlink svg { margin-right: 0; flex: none; }
.aas-count.is-loading { color: #E3281E; font-weight: 700; }
.aas-locstatus.is-busy { color: #E3281E; font-weight: 600; }
.aas-pc-img { position: relative; }
.aas-mapimp { display: block; margin-top: 4px; font-weight: 700; color: #3A4355; }

.aas-near { margin: 8px 0 0; padding: 7px 0 0; border-top: 1px solid var(--aas-gold); }
.aas-near-h { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #3A4355; }
.aas-near-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; line-height: 1.5; }
.aas-near-n { position: relative; padding-left: 14px; }
.aas-near-n::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #C8613A; }
.aas-near-d { color: var(--aas-muted); white-space: nowrap; }

/* v1.37: address on the map card */
.aas-pc-addr { margin: 6px 0 6px !important; font-size: 12px; line-height: 1.4; color: var(--aas-muted); }


/* Denise's edit: no underline on the card links and buttons (the View property button keeps its full gold outline) */
.aas-link,
.aas-link span {
	font-size: 13px;
	color: var(--aas-slate);
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}
.aas-actions a,
.aas-actions button { text-decoration: none !important; }
.aas-actions a.aas-btn { border-bottom: 2px solid var(--aas-gold) !important; }

/* Move MapLibre's top-left zoom controls to top-right so they never sit behind the side panel */
.aas-map .maplibregl-ctrl-top-left {
	left: auto !important;
	right: 10px !important;
}

/* Fixed Booking.com-style side panel inside the map (desktop left sidebar, mobile bottom sheet) */
.aas-sidecard {
	position: absolute;
	top: 12px;
	left: 12px;
	bottom: 12px;
	width: 300px;
	max-width: calc(100% - 24px);
	z-index: 5;
	background: #fff !important;
	border-radius: 12px !important;
	box-shadow: 0 6px 24px rgba(58, 67, 85, 0.22);
	overflow: hidden !important;
	isolation: isolate;
	display: flex;
	flex-direction: column;
}
.aas-sidecard[hidden] { display: none; }
.aas-sidecard .aas-ribbon,
.aas-sidecard .aas-ribbon-sh { display: none !important; }
.aas-sidecard-body {
	flex: 1 1 auto;
	background: #fff;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
.aas-sidecard-body > * {
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.aas-sidecard .aas-pc {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.aas-sidecard .aas-pc-img {
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	margin: 0 !important;
	border-radius: 12px 12px 0 0 !important;
	overflow: hidden !important;
	height: 195px !important;
	max-height: none !important;
	width: 100% !important;
}
.aas-sidecard .aas-pc-img img {
	border-radius: 12px 12px 0 0 !important;
	height: 195px !important;
	max-height: none !important;
	width: 100% !important;
	object-fit: cover !important;
	display: block !important;
}
.aas .aas-mapwrap button.aas-sidecard-close,
.aas-mapwrap button.aas-sidecard-close {
	--b: #3A4355;
	--c: #fff;
	position: absolute !important;
	top: 10px !important;
	right: 22px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 6;
	width: 30px !important;
	min-width: 0 !important;
	max-width: 30px !important;
	height: 30px !important;
	min-height: 0 !important;
	max-height: 30px !important;
	margin: 0 !important;
	padding: 2px 0 0 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: #3A4355 !important;
	background-color: #3A4355 !important;
	color: #fff !important;
	font-family: Arial, sans-serif !important;
	font-size: 21px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	outline: none !important;
	cursor: pointer;
	box-sizing: border-box !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.aas .aas-mapwrap button.aas-sidecard-close:hover,
.aas .aas-mapwrap button.aas-sidecard-close:focus,
.aas-mapwrap button.aas-sidecard-close:hover,
.aas-mapwrap button.aas-sidecard-close:focus {
	--b: #252c39;
	--c: #fff;
	width: 30px !important;
	min-width: 0 !important;
	max-width: 30px !important;
	height: 30px !important;
	min-height: 0 !important;
	max-height: 30px !important;
	margin: 0 !important;
	padding: 2px 0 0 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: #252c39 !important;
	background-color: #252c39 !important;
	color: #fff !important;
	outline: none !important;
	box-sizing: border-box !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28) !important;
}


@media (max-width: 640px) {
	.aas-sidecard {
		top: auto;
		left: 10px;
		right: 10px;
		bottom: 10px;
		width: auto;
		max-width: none;
		max-height: 55%;
	}
}
/* v1.37 - save to favourites (heart on the photo, top-left) and the saved-list pill */
.aas .aas-card .aas-heart {
	position: absolute; top: 10px; left: 10px; z-index: 4; width: 27px; height: 27px; margin: 0; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: #fff !important; background-color: #fff !important; color: #3A4355; cursor: pointer;
	box-shadow: 0 1px 4px rgba(20, 24, 32, 0.28); transition: transform 0.15s ease;
	-webkit-appearance: none; appearance: none; line-height: 1;
}
.aas .aas-card .aas-heart:hover { transform: scale(1.08); background: #fff !important; }
.aas .aas-card .aas-heart:focus-visible { outline: 2px solid #3A4355; outline-offset: 2px; }
.aas .aas-card .aas-heart svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.aas .aas-card .aas-heart.is-saved { color: #4EAEAD; }
.aas .aas-card .aas-heart.is-saved svg { fill: #4EAEAD; stroke: #4EAEAD; }
.aas-card { position: relative; }
.aas .aas-savedtip {
	position: absolute; top: 52px; left: 10px; z-index: 5; padding: 6px 10px; border-radius: 6px;
	background: #3A4355; color: #fff; font-size: 12px; line-height: 1.2; white-space: nowrap; pointer-events: none;
}
.aas .aas-maplink[hidden], .aas button.aas-savedbtn[hidden] { display: none; }
.aas button.aas-savedbtn {
	display: inline-flex; align-items: center; gap: 8px; height: 36px; margin: 0; padding: 0 16px;
	border: 2px solid var(--aas-gold); border-radius: 999px; background: #fff; color: inherit; cursor: pointer;
	font: inherit; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase;
	text-decoration: none; white-space: nowrap; box-sizing: border-box;
}
.aas button.aas-savedbtn svg { color: #4EAEAD; flex: none; }
.aas button.aas-savedbtn:hover { border-color: var(--aas-ink); }
.aas button.aas-savedbtn.is-on { border-color: #3A4355; }

.aas button.aas-savedbtn svg { width: 17px; height: 17px; }

.aas .aas-card .aas-heart svg { width: 16px; height: 16px; }

/* v1.39 - nearby search: "Also nearby" note on the photo, the miles tick-box and the no-matches prompt */
.aas-nearpill { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px 5px 8px; border-radius: 20px; background: #FDFAF6; border: 1px solid #D6BF96; color: #3A4355; font-size: 12px; font-weight: 500; line-height: 1.2; box-shadow: 0 1px 4px rgba(40, 30, 10, 0.18); pointer-events: none; }
.aas-nearpill svg { flex: none; }
.aas-nearrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0 6px; font-size: 14px; font-weight: 500; color: #3A4355; }
.aas-nearrow[hidden] { display: none; }
.aas-nearrow .aas-near-cb { width: 18px; height: 18px; margin: 0; accent-color: #3A4355; cursor: pointer; }
.aas-nearrow label { cursor: pointer; margin: 0; }
.aas-nearrow .aas-near-n { width: 64px; height: 30px; box-sizing: border-box; border: 1px solid #3A4355; border-radius: 999px; padding: 0 6px 0 14px; font: inherit; background: #fff; color: #3A4355; }
.aas-nearrow .aas-near-on[hidden], .aas-nearrow .aas-near-off[hidden], .aas-nearrow .aas-near-n[hidden] { display: none; }
.aas-nearprompt { margin-left: 6px; padding: 8px 16px; border: 2px solid #D6BF96; border-radius: 6px; background: #B8DFDE; color: #3A4355; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.aas-nearprompt:hover { background: #a3d3d1; }

/* v1.40: Map overview and Clear all filters match; map full screen */
.aas button.aas-maplink,
.aas button.aas-clearall { min-width: 176px; justify-content: center; border-width: 2px; font-weight: 500; }
.aas button.aas-clearall { border-color: #3A4355; }
.aas-mapbtns { display: contents; }
.aas button.aas-mapfull {
	--b: #fff; --c: #3A4355;
	height: 32px; margin: 0; padding: 0 14px;
	border: 1.5px solid #3A4355; border-radius: 6px;
	font: inherit; font-size: 12px; font-weight: 500; line-height: 1;
	letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.aas.aas-mapmodal.is-full { padding: 0; }
.aas-mapmodal.is-full .aas-mapdlg { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
.aas-mapmodal.is-full .aas-mapwrap { height: auto; min-height: 0; flex: 1 1 auto; }
body.admin-bar .aas.aas-mapmodal.is-full { top: 32px; }
@media (max-width: 782px) { body.admin-bar .aas.aas-mapmodal.is-full { top: 46px; } }
.aas-maphead { position: relative; }
.aas button.aas-mapfull { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 600px) { .aas button.aas-mapfull { position: static; transform: none; } }

/* v1.42: the miles box keeps its outline on hover */
.aas-nearrow .aas-near-n:hover { border-color: #3A4355; }
/* v1.48 - filter bar. Wide screens: left-aligned pills. Phones and small tablets: just the location search and a round Filters button on the blue bar; Select dates and every other pill live in a slide-up panel. */
.aas,
.aas-form { max-width: 100%; }
.aas-bar { justify-content: flex-start; }
.aas-sheetbtn,
.aas-clearbox,
.aas-mapmirror,
.aas-clearlink,
.aas-sheethead,
.aas-sheetfoot,
.aas-sheetbg { display: none; }
.aas-mt-m { display: none; }
.aas .aas-sortlabel { display: none; }
.aas .aas-sortbtn { text-align: center; }
.aas button.aas-sortbtn { text-transform: uppercase; letter-spacing: 0.02em; }

@media (max-width: 1024px) {
	.aas-form { padding: 12px !important; }
	.aas-bar { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 8px; align-items: center; }
	.aas-bar > .aas-wherebox { flex: none; min-width: 0; max-width: none; }
	.aas-bar > .aas-dd,
	.aas-bar > .aas-morebtn { display: none; }
	.aas-bar > .aas-sheetbtn { display: inline-flex; position: relative; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; --b: #fff; --c: #3A4355; border: 2px solid #3A4355; border-radius: 50%; cursor: pointer; }
	.aas-sheetcount { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #3A4355; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
	.aas-sheetcount[hidden] { display: none; }

	/* page: only two pills under the bar, results and Sort by */
	.aas-clearbox { display: flex; grid-column: 1 / -1; align-items: center; gap: 8px; margin: 0; padding: 0 4px; font-size: 13px; color: #3A4355; cursor: pointer; }
	.aas-clearbox input { width: 16px; height: 16px; margin: 0; accent-color: #3A4355; }
	.aas .aas-headrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 12px 14px 8px; align-items: center; }
	.aas .aas-resleft { display: contents; }
	.aas button.aas-maplink,
	.aas button.aas-clearall { display: none; }
	.aas button.aas-savedbtn:not([hidden]) { grid-column: 1 / -1; order: 0; }
	.aas .aas-respill,
	.aas button.aas-sortbtn { box-sizing: border-box; width: 100%; height: 38px; min-width: 0; margin: 0; padding: 0 8px; font-size: 12px; letter-spacing: 0.02em; justify-content: center; text-align: center; white-space: nowrap; }
	.aas .aas-respill { order: 1; display: flex; align-items: center; border: 1.5px solid #D6BF96; border-radius: 20px; font-weight: 600; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; }
	.aas .aas-sortwrap { order: 2; width: 100%; margin: 0; }
	.aas .aas-sortdd { width: 100%; }

	/* the slide-up panel */
	.aas-sheetbg { position: fixed; inset: 0; z-index: 99998; background: rgba(58, 67, 85, 0.35); }
	html.aas-sheet-lock .aas-sheetbg { display: block; }
	html.aas-sheet-lock { overflow: hidden; }
	.aas-bar.aas-sheet-open {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: 88vh; overflow-y: auto; box-sizing: border-box;
		padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px rgba(58, 67, 85, 0.25);
		gap: 8px;
	}
	.aas-bar.aas-sheet-open > .aas-wherebox,
	.aas-bar.aas-sheet-open > .aas-clearbox,
	.aas-bar.aas-sheet-open > .aas-sheetbtn { display: none; }
	.aas-bar.aas-sheet-open > .aas-dd { display: block; order: 3; position: relative; }
	.aas-bar.aas-sheet-open > .aas-dd-dates { order: 2; grid-column: 1 / -1; }
	.aas-bar.aas-sheet-open > .aas-dd:has(.aas-pop:not([hidden])) { grid-column: 1 / -1; }
	.aas-bar.aas-sheet-open > .aas-morebtn { display: inline-flex; order: 4; margin-top: 14px; grid-column: 1 / -1; width: 100%; justify-content: center; height: 42px; font-size: 14px; border-color: #D6BF96; }
	.aas-bar.aas-sheet-open .aas-mt-d { display: none; }
	.aas-bar.aas-sheet-open .aas-mt-m { display: inline; }
	.aas-bar.aas-sheet-open .aas-pillbtn { width: 100%; justify-content: space-between; height: 42px; font-size: 14px; padding: 0 12px; border: 1.5px solid #E6DFD3; --b: #FDFAF6; }
	.aas-bar.aas-sheet-open .aas-dd-dates .aas-pillbtn { justify-content: flex-start; gap: 8px; }
	.aas-bar.aas-sheet-open .aas-pop,
	.aas-bar.aas-sheet-open .aas-pop-cal,
	.aas-bar.aas-sheet-open .aas-pop-ticks,
	.aas-bar.aas-sheet-open .aas-pop-dist { position: static; left: auto; right: auto; width: auto; max-width: none; box-sizing: border-box; margin-top: 8px; box-shadow: none; overflow-x: hidden; }
	.aas-pop-cal { padding: 14px 12px; }
	.aas-pop-cal .aas-cal-head { flex-direction: column; align-items: stretch; gap: 8px; }
	.aas-pop-cal .aas-seg { min-width: 0; width: 100%; box-sizing: border-box; }
	.aas-pop-cal .aas-seg .aas-tab { flex: 1 1 0; min-width: 0; }
	.aas-bar.aas-sheet-open > .aas-sheethead { display: flex; order: 0; grid-column: 1 / -1; justify-content: center; margin: -6px 0 4px; }
	.aas-sheethead button { --b: transparent; border: 0; padding: 0; width: 120px; height: 24px; cursor: pointer; background-image: linear-gradient(#D6BF96, #D6BF96); background-repeat: no-repeat; background-position: center; background-size: 40px 4px; }
	.aas-bar.aas-sheet-open > .aas-mapmirror { display: inline-flex; order: 1; grid-column: 1 / -1; align-items: center; justify-content: center; gap: 6px; height: 44px; margin-bottom: 14px; padding: 0 12px; --b: #fff; border: 1.5px solid #D6BF96; border-radius: 22px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; }
	.aas-bar.aas-sheet-open > .aas-mapmirror[hidden] { display: none; }
	.aas-bar.aas-sheet-open > .aas-clearlink { display: block; order: 6; grid-column: 1 / -1; --b: transparent; border: 0; padding: 8px; font-size: 13px; text-decoration: underline; text-align: center; cursor: pointer; }
	.aas-bar.aas-sheet-open > .aas-sheetfoot { display: block; order: 5; grid-column: 1 / -1; margin-top: 6px; }
	.aas-sheetfoot button { --b: #3A4355; --c: #fff; width: 100%; height: 46px; border: 0; border-radius: 23px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
}