/* Riva Celeste – ReSales Online. Palette & components follow the rivasceleste.com redesign. */
.rcr {
	--rcr-celeste: #41A5D9;
	--rcr-celeste-deep: #1C6F9C;
	--rcr-celeste-pale: #EAF5FB;
	--rcr-navy: #0B2433;
	--rcr-heading: #12384F;
	--rcr-gold: #C9A96A;
	--rcr-gold-dark: #7E6230;
	--rcr-sand: #FCFAF6;
	--rcr-sand-2: #F3EFE6;
	--rcr-border: #DCD3BE;
	--rcr-text: #14222C;
	--rcr-muted: #4A5A66;
	--rcr-radius: 14px;
	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--rcr-text);
	font-size: 15px;
	line-height: 1.6;
}
.rcr *, .rcr *::before, .rcr *::after { box-sizing: border-box; }
.rcr h1, .rcr h2, .rcr h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 600; color: var(--rcr-heading); line-height: 1.25; margin: 0 0 .6em; }
.rcr a { color: var(--rcr-celeste-deep); }
.rcr .rcr-muted { color: var(--rcr-muted); }
.rcr img { max-width: 100%; height: auto; display: block; }

/* ---------- Buttons (site-wide rc-btn style) ---------- */
.rcr .rc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: 16px 34px; border-radius: 999px; border: 1px solid var(--rcr-heading);
	background: transparent; color: var(--rcr-heading);
	font: 600 13px/1 Poppins, system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1.6px;
	text-decoration: none; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.rcr .rc-btn .rcr-arrow { display: inline-block; transition: transform .2s; }
.rcr .rc-btn:hover, .rcr .rc-btn:focus-visible {
	background: var(--rcr-heading); color: #fff; border-color: var(--rcr-gold);
	box-shadow: 0 0 0 1px var(--rcr-gold), 0 6px 18px rgba(11, 36, 51, .15);
}
.rcr .rc-btn:hover .rcr-arrow { transform: translateX(3px); }
.rcr .rc-btn:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 3px; }
.rcr .rc-btn--full { width: 100%; }

/* ---------- Notices ---------- */
.rcr-notice { background: var(--rcr-sand-2); border-left: 3px solid var(--rcr-gold); padding: 18px 20px; border-radius: 8px; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rcr-alert { padding: 12px 14px; border-radius: 8px; margin: 0 0 14px; font-size: 14px; }
.rcr-alert--ok { background: #E8F5EC; color: #135C2B; }
.rcr-alert--err { background: #FBEAEA; color: #8A1F1F; }

/* ---------- Search bar ---------- */
.rcr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rcr-search {
	background: #fff; border: 1px solid var(--rcr-border); border-radius: var(--rcr-radius);
	padding: 18px; box-shadow: 0 10px 30px rgba(11, 36, 51, .06); margin: 0 0 28px;
}
.rcr-search__grid { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rcr-search .rcr-field { position: relative; min-width: 0; }
.rcr-field--loc { grid-column: span 2; }
.rcr-field select, .rcr-field input[type="text"], .rcr-enquiry input, .rcr-enquiry textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; font: 400 14.5px Poppins, system-ui, sans-serif; color: var(--rcr-text);
	background: var(--rcr-sand); border: 1px solid var(--rcr-border); border-radius: 10px;
}
.rcr-field select { padding-right: 32px; text-overflow: ellipsis; }
.rcr-field--loc select { padding-left: 38px; }
.rcr-field--loc .rcr-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; }
.rcr-field select:focus, .rcr-field input:focus, .rcr-enquiry input:focus, .rcr-enquiry textarea:focus { outline: 2px solid var(--rcr-celeste); outline-offset: 1px; border-color: var(--rcr-celeste); }
.rcr-field--submit .rc-btn { width: 100%; min-height: 46px; padding-block: 0; }
.rcr-field--submit .rcr-ico { width: 16px; height: 16px; stroke: currentColor; }
.rcr-check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--rcr-text); cursor: pointer; }
.rcr-check input { width: 18px; height: 18px; min-height: 0 !important; margin: 1px 0 0; accent-color: var(--rcr-heading); flex: 0 0 auto; }
.rcr-more { margin-top: 12px; }
.rcr-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font: 600 14px Poppins, sans-serif; color: var(--rcr-heading); padding: 4px 0; }
.rcr-more summary::-webkit-details-marker { display: none; }
.rcr-more summary .rcr-ico { width: 20px; height: 20px; stroke: var(--rcr-heading); }
.rcr-more[open] summary .rcr-ico path { d: path("M8 12h8"); }
.rcr-more summary:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 3px; border-radius: 4px; }
.rcr-more__body { display: flex; flex-direction: column; gap: 16px; padding: 16px 0 4px; border-top: 1px dashed var(--rcr-border); margin-top: 10px; }
.rcr-search__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 14px; }
.rcr-search__quick .rcr-check[hidden] { display: none; }
.rcr-more__quick { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-bottom: 14px; border-bottom: 1px dashed var(--rcr-border); }
.rcr-more__cat { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rcr-more__cat legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--rcr-muted); margin-bottom: 8px; padding: 0; }
.rcr-search--compact .rcr-search__grid { grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) auto; }
.rcr-search--compact .rcr-field--loc { grid-column: auto; }

/* ---------- Toolbar & pagination ---------- */
.rcr-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; }
.rcr-count { margin: 0; font-weight: 600; color: var(--rcr-heading); }
.rcr-sort { display: flex; align-items: center; gap: 10px; }
.rcr-sort label { font-size: 13px; color: var(--rcr-muted); }
.rcr-sort select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--rcr-border); border-radius: 10px; background: #fff; }
.rcr-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 32px 0 8px; }
.rcr-page-of { color: var(--rcr-muted); font-size: 14px; }

/* ---------- Grid & cards ---------- */
.rcr-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rcr-card { position: relative; background: #fff; border: 1px solid var(--rcr-border); border-radius: var(--rcr-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.rcr-card:hover { box-shadow: 0 14px 34px rgba(11, 36, 51, .12); transform: translateY(-2px); }
.rcr-card--own { border-color: var(--rcr-gold); }
.rcr-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--rcr-sand-2); overflow: hidden; }
.rcr-card__media > a, .rcr-card__media img { display: block; width: 100%; height: 100%; }
.rcr-card__media img { object-fit: cover; transition: transform .5s; }
.rcr-card:hover .rcr-card__media img { transform: scale(1.04); }
.rcr-card__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--rcr-celeste-pale), var(--rcr-sand-2)); }
.rcr-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.rcr-badge { background: rgba(11, 36, 51, .85); color: #fff; font: 600 10.5px/1 Poppins, sans-serif; text-transform: uppercase; letter-spacing: 1.1px; padding: 6px 9px; border-radius: 4px; }
.rcr-badge--gold { background: var(--rcr-gold); color: var(--rcr-navy); }
.rcr-card__flag { position: absolute; top: 12px; left: 12px; z-index: 2; }
.rcr-chips { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 70%; }
.rcr-chip { background: rgba(11, 36, 51, .82); color: #fff; font: 600 10px/1 Poppins, sans-serif; text-transform: uppercase; letter-spacing: .6px; padding: 5px 7px; border-radius: 4px; }
.rcr-chip--gold { background: var(--rcr-gold); color: var(--rcr-navy); }
.rcr-card__tools { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 6px; }
.rcr-tool { width: 34px; height: 34px; border-radius: 6px; border: 0; padding: 0; background: rgba(11, 36, 51, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(2px); transition: background .2s; }
.rcr-tool:hover { background: rgba(11, 36, 51, .85); }
.rcr-tool:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 2px; }
.rcr-tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rcr-heart[aria-pressed="true"] svg { fill: var(--rcr-gold); stroke: var(--rcr-gold); }
.rcr-card__body { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rcr-card__type { margin: 0; font: 600 11.5px/1.3 Poppins, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--rcr-gold-dark); }
.rcr-card__price { margin: 0 0 4px; font: 600 20px/1.2 Poppins, sans-serif; color: var(--rcr-heading); font-variant-numeric: tabular-nums; }
.rcr-card__title { font-size: 16px !important; margin: 0 !important; font-weight: 500 !important; }
.rcr-card__title a { color: var(--rcr-text); text-decoration: none; }
.rcr-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.rcr-card__place { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--rcr-muted); min-width: 0; }
.rcr-card__place span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcr-ico { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: var(--rcr-celeste-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rcr-card__ref { margin: 4px 0 0; font-size: 12px; color: var(--rcr-muted); letter-spacing: .4px; }
.rcr-facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; color: var(--rcr-text); }
.rcr-facts li { display: inline-flex; align-items: center; gap: 6px; }
.rcr-facts .rcr-ico { width: 19px; height: 19px; }
.rcr-card__contact { position: relative; z-index: 2; display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--rcr-sand-2); }
.rcr-contact { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 10px; border: 1px solid var(--rcr-heading); border-radius: 999px; color: var(--rcr-heading) !important; font: 600 12px/1 Poppins, sans-serif; letter-spacing: .4px; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s; }
.rcr-contact .rcr-ico { width: 15px; height: 15px; stroke: currentColor; }
.rcr-contact:hover, .rcr-contact:focus-visible { background: var(--rcr-heading); color: #fff !important; box-shadow: 0 0 0 1px var(--rcr-gold); border-color: var(--rcr-gold); }
.rcr-contact:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 2px; }

/* ---------- Wishlist heart on the property page ---------- */
.rcr-heart--inline { width: auto; height: auto; border-radius: 999px; padding: 8px 14px 8px 10px; gap: 8px; border: 1px solid var(--rcr-border); background: #fff; color: var(--rcr-heading); font: 500 14px Poppins, sans-serif; display: inline-flex; align-items: center; cursor: pointer; }
.rcr-heart--inline svg { width: 20px; height: 20px; fill: transparent; stroke: var(--rcr-heading); stroke-width: 1.8; }
.rcr-heart--inline[aria-pressed="true"] svg { fill: var(--rcr-gold); stroke: var(--rcr-gold-dark); }
.rcr-heart--inline:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 2px; }

/* ---------- Property page ---------- */
.rcr-back { margin: 0 0 14px; font-size: 14px; }
.rcr-backlink { text-decoration: none; }
.rcr-gallery { margin: 0 0 28px; }
.rcr-gallery__main { position: relative; border-radius: var(--rcr-radius); overflow: hidden; background: var(--rcr-sand-2); aspect-ratio: 16 / 9; }
.rcr-gallery__main > img { width: 100%; height: 100%; object-fit: cover; }
.rcr-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--rcr-heading); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.rcr-gallery__prev { left: 14px; }
.rcr-gallery__next { right: 14px; }
.rcr-gallery__nav:focus-visible { outline: 2px solid var(--rcr-gold); }
.rcr-gallery__counter { position: absolute; right: 14px; bottom: 14px; background: rgba(11, 36, 51, .8); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.rcr-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.rcr-thumb { flex: 0 0 92px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .75; }
.rcr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rcr-thumb.is-active, .rcr-thumb:hover { border-color: var(--rcr-gold); opacity: 1; }

.rcr-property__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.rcr-property__title { font-size: clamp(24px, 3vw, 34px); }
.rcr-property__price { font: 600 26px/1.2 Poppins, sans-serif; color: var(--rcr-heading); margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.rcr-price-note { font: 400 14px Poppins, sans-serif; color: var(--rcr-muted); text-decoration: line-through; }
.rcr-property__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0 0 8px; }
.rcr-link { font-weight: 500; text-decoration: none; }
.rcr-section { border-top: 1px solid var(--rcr-border); padding: 24px 0 8px; }
.rcr-section h2 { font-size: 20px; }
.rcr-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 12px; }
.rcr-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--rcr-border); }
.rcr-dl dt { color: var(--rcr-muted); margin: 0; }
.rcr-dl dd { margin: 0; font-weight: 600; text-align: right; color: var(--rcr-text); }
.rcr-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.rcr-features h3 { font-size: 15px; margin: 0 0 6px; }
.rcr-features ul { list-style: none; margin: 0; padding: 0; }
.rcr-features li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; }
.rcr-check-icon { flex: 0 0 auto; margin-top: 4px; fill: none; stroke: #7E6230; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Enquiry ---------- */
.rcr-property__side { position: sticky; top: 110px; }
.rcr-enquiry { background: var(--rcr-sand); border: 1px solid var(--rcr-border); border-top: 3px solid var(--rcr-gold); border-radius: var(--rcr-radius); padding: 22px; }
.rcr-enquiry__title { font-size: 20px; }
.rcr-enquiry__intro { color: var(--rcr-muted); font-size: 14px; margin: 0 0 14px; }
.rcr-enquiry form p { margin: 0 0 12px; }
.rcr-enquiry label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 4px; color: var(--rcr-heading); }
.rcr-enquiry input, .rcr-enquiry textarea { background: #fff; }
.rcr-enquiry textarea { min-height: 110px; resize: vertical; }
.rcr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rcr-legal { font-size: 12px; color: var(--rcr-muted); }
.rcr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.rcr-search__grid, .rcr-search--compact .rcr-search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rcr-field--loc { grid-column: span 3; }
	.rcr-search--compact .rcr-field--loc { grid-column: span 3; }
	.rcr-property__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
}
@media (max-width: 900px) {
	.rcr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rcr-property__layout { grid-template-columns: 1fr; }
	.rcr-property__side { position: static; }
}
@media (max-width: 640px) {
	.rcr { font-size: 15px; }
	.rcr-search { padding: 14px; }
	.rcr-search__grid, .rcr-search--compact .rcr-search__grid { grid-template-columns: 1fr 1fr; }
	.rcr-field--loc, .rcr-search--compact .rcr-field--loc, .rcr-field--type, .rcr-field--ref, .rcr-field--submit { grid-column: 1 / -1; }
	.rcr-grid { grid-template-columns: 1fr; gap: 18px; }
	.rcr-gallery__main { aspect-ratio: 4 / 3; border-radius: 10px; }
	.rcr-gallery__nav { width: 38px; height: 38px; font-size: 24px; }
	.rcr-dl, .rcr-features { grid-template-columns: 1fr; }
	.rcr-row2 { grid-template-columns: 1fr; gap: 0; }
	.rcr .rc-btn { padding: 14px 24px; }
	.rcr-pagination { gap: 10px; }
	.rcr-toolbar { flex-direction: column; align-items: stretch; }
	.rcr-sort select { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.rcr * { transition: none !important; }
}

/* Property page: quick contact above the enquiry form */
.rcr .rcr-side-contact { border: 0; padding: 0 0 12px; }
.rcr .rcr-side-contact .rcr-contact { min-height: 44px; font-size: 13px; }
.rcr .rcr-tool .rcr-ico { stroke: currentColor; width: 18px; height: 18px; }

/* ================= v1.2 ================= */
.rcr { font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14.5px; }
.rcr .rcr-small { font-size: 12.5px; }
.rcr .rcr-center { text-align: center; margin: 28px 0 0; }
.rcr .rcr-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rcr-gold-dark); }

/* More filters: every feature, 5 columns like the reference */
.rcr-more__all { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 18px; }
.rcr-more__all .rcr-check { font-size: 13px; font-weight: 400; line-height: 1.35; }
.rcr-more__all .rcr-check input { width: 16px; height: 16px; }

/* Load more & popular searches */
.rcr-loadmore-wrap { display: flex; justify-content: center; margin: 32px 0 0; }
.rcr-loadmore[aria-busy="true"] { opacity: .6; cursor: progress; }
.rcr-popular h2 { font-size: 24px; text-align: center; margin-bottom: 18px; }
.rcr-popular ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rcr-popular a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--rcr-border); border-radius: 999px; background: #fff; color: var(--rcr-heading); text-decoration: none; font-weight: 500; }
.rcr-popular a:hover { border-color: var(--rcr-gold); box-shadow: 0 0 0 1px var(--rcr-gold); }

/* Header link (♡ + count) */
.rcr-account-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: inherit; }
.rcr-account-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rcr-account-link .rcr-wishlist-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #C9A96A; color: #0B2433; font: 600 11px/18px Poppins, sans-serif; text-align: center; }

/* ---------- Property page v1.2 ---------- */
.rcr-crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 13px; color: var(--rcr-muted); margin: 0 0 18px; }
.rcr-crumbs a { color: var(--rcr-muted); text-decoration: none; }
.rcr-crumbs a:hover { color: var(--rcr-celeste-deep); }
.rcr-phead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; margin: 0 0 20px; }
.rcr-phead__main { min-width: 0; flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.rcr-phead__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; margin: 0 !important; text-wrap: balance; }
.rcr-phead__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.rcr-phead__badges .rcr-chip { background: var(--rcr-heading); }
.rcr-chips .rcr-chip--under-offer, .rcr-phead__badges .rcr-chip--under-offer { background: #1C6F9C; color: #fff; }
.rcr-chips .rcr-chip--sale-agreed, .rcr-phead__badges .rcr-chip--sale-agreed { background: #7E6230; color: #fff; }
.rcr-phead__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rcr-phead__price { margin: 0; font: 600 clamp(24px, 2.6vw, 32px)/1.1 Poppins, sans-serif; color: var(--rcr-heading); font-variant-numeric: tabular-nums; }
.rcr-phead__actions { display: flex; gap: 8px; margin-top: 6px; }
.rcr-iconbtn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--rcr-border); background: #fff; color: var(--rcr-heading); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: border-color .2s, box-shadow .2s; }
.rcr-iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rcr-iconbtn:hover, .rcr-iconbtn.is-done { border-color: var(--rcr-gold); box-shadow: 0 0 0 1px var(--rcr-gold); }
.rcr-iconbtn:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 2px; }
.rcr-iconbtn.rcr-heart[aria-pressed="true"] svg { fill: var(--rcr-gold); stroke: var(--rcr-gold-dark); }

.rcr-property__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.rcr-property .rcr-gallery { margin: 0; }
.rcr-box { background: #fff; border: 1px solid var(--rcr-border); border-radius: var(--rcr-radius); padding: 22px 24px; min-width: 0; }
.rcr-box__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--rcr-sand-2); }
.rcr-box__head h2 { margin: 0 !important; font-size: 15px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; }
.rcr-box__head p { margin: 0; }
.rcr-overview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.rcr-overview li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rcr-overview strong { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--rcr-heading); }
.rcr-overview .rcr-ico { width: 22px; height: 22px; }
.rcr-overview span { font-size: 12.5px; color: var(--rcr-muted); }
.rcr-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-radius: var(--rcr-radius); overflow: hidden; }
.rcr-mosaic__item { padding: 0; border: 0; background: var(--rcr-sand-2); aspect-ratio: 4 / 3; cursor: zoom-in; overflow: hidden; }
.rcr-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rcr-mosaic__item:hover img { transform: scale(1.04); }
.rcr-mosaic__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.rcr-mosaic__item:focus-visible { outline: 3px solid var(--rcr-gold); outline-offset: -3px; }
.rcr-description p { margin: 0 0 1em; max-width: 72ch; }
.rcr-chipbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; background: var(--rcr-gold); color: var(--rcr-navy) !important; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.rcr-chipbtn .rcr-ico { stroke: var(--rcr-navy); width: 15px; height: 15px; }
.rcr-chipbtn:hover { background: var(--rcr-heading); color: #fff !important; }
.rcr-chipbtn:hover .rcr-ico { stroke: #fff; }
.rcr-map { height: 300px; border-radius: 10px; overflow: hidden; border: 1px solid var(--rcr-border); background: var(--rcr-celeste-pale); margin: 8px 0 10px; }
.rcr-dl--details { background: var(--rcr-celeste-pale); border: 1px solid #CDE6F3; border-radius: 10px; padding: 6px 18px; }
.rcr-dl--details > div { border-bottom-color: #CDE6F3; }
.rcr-dl--details dd { max-width: 60%; }
.rcr .rcr-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.rcr-feature { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border: 1px solid var(--rcr-border); border-radius: 999px; font-size: 13px; background: var(--rcr-sand); }
.rcr-feature .rcr-check-icon { margin: 0; }

.rcr-mortgage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.rcr-mortgage__result { display: flex; align-items: center; gap: 22px; }
.rcr-ring { position: relative; width: 150px; height: 150px; flex: 0 0 auto; }
.rcr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rcr-ring circle { fill: none; stroke-width: 12; }
.rcr-ring__bg { stroke: var(--rcr-gold); }
.rcr-ring__fg { stroke: var(--rcr-heading); stroke-linecap: butt; transition: stroke-dasharray .3s; }
.rcr-ring p { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rcr-ring strong { font-size: 17px; color: var(--rcr-heading); font-variant-numeric: tabular-nums; }
.rcr-ring span { font-size: 12px; color: var(--rcr-muted); }
.rcr-mortgage__result .rcr-dl--compact { flex: 1; grid-template-columns: 1fr; margin: 0; }
.rcr-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rcr-heading); margin-right: 8px; }
.rcr-dot--gold { background: var(--rcr-gold); }
.rcr-mortgage__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.rcr-mortgage__inputs p { margin: 0; }
.rcr-mortgage__inputs label { display: block; font-size: 12.5px; font-weight: 600; color: var(--rcr-heading); margin: 0 0 4px; }
.rcr-mortgage__inputs input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--rcr-border); border-radius: 8px; background: var(--rcr-sand); font: 400 14px Poppins, sans-serif; font-variant-numeric: tabular-nums; }

.rcr-similar { margin-top: 40px; }
.rcr-similar h2 { font-size: 22px; }

/* Enquiry sidebar like the reference */
.rcr-property__side { top: 110px; }
.rcr-enquiry { background: #fff; border-top-width: 3px; }
.rcr-agent { display: flex; gap: 12px; align-items: center; padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px solid var(--rcr-sand-2); }
.rcr-agent__mark { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rcr-navy); color: var(--rcr-gold); font: 600 16px Poppins, sans-serif; letter-spacing: 1px; box-shadow: 0 0 0 2px var(--rcr-gold); }
.rcr-agent__name { margin: 0; font-weight: 600; color: var(--rcr-heading); line-height: 1.3; }
.rcr-agent__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--rcr-muted); line-height: 1.4; }
.rcr-enquiry select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--rcr-border); border-radius: 10px; background: #fff; font: 400 14px Poppins, sans-serif; color: var(--rcr-text); }
.rcr-enquiry__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 8px; }
.rcr-enquiry__buttons .rc-btn { padding: 0 12px; min-height: 44px; letter-spacing: .8px; }
.rcr-enquiry__buttons .rcr-contact { min-height: 44px; }
.rcr-contact--wide { width: 100%; min-height: 44px; }

/* ---------- Account, favourites, modal ---------- */
.rcr-account { max-width: 1200px; }
.rcr-auth { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--rcr-border); border-top: 3px solid var(--rcr-gold); border-radius: var(--rcr-radius); padding: 26px; }
.rcr-auth__title { font-size: 22px !important; }
.rcr-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 16px 0 18px; background: var(--rcr-sand-2); border-radius: 999px; }
.rcr-auth__tabs button { border: 0; border-radius: 999px; padding: 9px 10px; background: transparent; font: 600 13px Poppins, sans-serif; color: var(--rcr-muted); cursor: pointer; }
.rcr-auth__tabs button[aria-selected="true"] { background: #fff; color: var(--rcr-heading); box-shadow: 0 2px 8px rgba(11, 36, 51, .08); }
.rcr-auth__form p { margin: 0 0 12px; }
.rcr-auth__form label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 4px; color: var(--rcr-heading); }
.rcr-auth__form input[type="text"], .rcr-auth__form input[type="email"], .rcr-auth__form input[type="password"], .rcr-auth__form input:not([type]) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--rcr-border); border-radius: 10px; background: var(--rcr-sand); font: 400 14.5px Poppins, sans-serif; }
.rcr-auth__form small { display: block; margin-top: 4px; font-size: 12px; }
.rcr-auth__msg { color: #8A1F1F; font-size: 13px; min-height: 0; }
.rcr-auth__msg:empty { display: none; }
.rcr-auth__forgot { text-align: center; font-size: 13px; margin-top: 12px !important; }
.rcr-account__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 0 24px; padding: 0 0 18px; border-bottom: 1px solid var(--rcr-border); }
.rcr-account__hello { font-size: 28px !important; margin: 0 !important; }
.rcr-account__email { margin: 4px 0 0; }
.rcr-account__member > h2 { font-size: 20px; }
.rcr-danger { margin: 40px 0 0; font-size: 13px; color: var(--rcr-muted); }
.rcr-danger summary { cursor: pointer; }
.rcr-danger .rc-btn { border-color: #8A1F1F; color: #8A1F1F; padding: 10px 18px; }
.rcr-danger .rc-btn.is-armed { background: #8A1F1F; color: #fff; }
.rcr-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.rcr-modal[hidden] { display: none !important; }
.rcr-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 36, 51, .55); }
.rcr-modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; border-radius: var(--rcr-radius); }
.rcr-modal__box .rcr-auth { max-width: none; }
.rcr-modal__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--rcr-sand-2); color: var(--rcr-heading); font-size: 22px; line-height: 1; cursor: pointer; }

@media (max-width: 1100px) {
	.rcr-more__all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rcr-mortgage__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.rcr-more__all { grid-template-columns: 1fr 1fr; }
	.rcr-phead__side { align-items: flex-start; }
	.rcr-box { padding: 18px 16px; }
	.rcr-mosaic { grid-template-columns: 1fr 1fr; }
	.rcr-mosaic__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
	.rcr-mortgage__result { flex-direction: column; align-items: stretch; }
	.rcr-ring { margin: 0 auto; }
	.rcr-mortgage__inputs { grid-template-columns: 1fr; }
	.rcr-dl--details dd { max-width: 55%; }
	.rcr-auth { padding: 20px 16px; }
}
.rcr [hidden] { display: none !important; }
.rcr .rcr-phead__badges .rcr-chip--gold { background: var(--rcr-gold); color: var(--rcr-navy); }
.rcr .rcr-card__tools .rcr-tool .rcr-ico { stroke: #fff; }
.rcr-account__guest { margin: 40px 0 0; }
.rcr-account__guest > h2 { font-size: 20px; }

/* ================= Theme-proofing (Hello Elementor / Elementor kit button, link and heading styles) ================= */
body .rcr a { text-decoration: none; }
body .rcr .rcr-description a, body .rcr .rcr-consent a, body .rcr .rcr-auth a { text-decoration: underline; }
body .rcr h1, body .rcr h2, body .rcr h3 { font-family: Poppins, system-ui, sans-serif; color: var(--rcr-heading); }
body .rcr button { font-family: Poppins, system-ui, sans-serif; text-transform: none; line-height: 1.2; }
body .rcr .rc-btn { background: transparent; color: var(--rcr-heading); border: 1px solid var(--rcr-heading); border-radius: 999px; text-transform: uppercase; letter-spacing: 1.6px; font-size: 13px; font-weight: 600; }
body .rcr .rc-btn:hover, body .rcr .rc-btn:focus-visible { background: var(--rcr-heading); color: #fff; border-color: var(--rcr-gold); }
body .rcr .rcr-tool, body .rcr .rcr-tool:hover, body .rcr .rcr-tool:focus { border: 0; color: #fff; border-radius: 6px; padding: 0; }
body .rcr .rcr-tool { background: rgba(11, 36, 51, .55); }
body .rcr .rcr-tool:hover, body .rcr .rcr-tool:focus { background: rgba(11, 36, 51, .85); }
body .rcr .rcr-iconbtn, body .rcr .rcr-iconbtn:hover, body .rcr .rcr-iconbtn:focus { background: #fff; color: var(--rcr-heading); border: 1px solid var(--rcr-border); border-radius: 10px; padding: 0; }
body .rcr .rcr-iconbtn:hover, body .rcr .rcr-iconbtn.is-done { border-color: var(--rcr-gold); }
body .rcr .rcr-gallery__nav, body .rcr .rcr-gallery__nav:hover, body .rcr .rcr-gallery__nav:focus { background: rgba(255, 255, 255, .92); color: var(--rcr-heading); border: 0; border-radius: 50%; padding: 0; }
/* Gallery: no frames anywhere – soft rounded corners; the active thumbnail is shown by full opacity */
body .rcr .rcr-thumb, body .rcr .rcr-thumb:hover, body .rcr .rcr-thumb:focus, body .rcr .rcr-thumb.is-active { background: none; padding: 0; margin: 0; border: 0; border-radius: 8px; box-shadow: none; min-height: 0; overflow: hidden; }
body .rcr .rcr-thumb { opacity: .55; transition: opacity .2s; }
body .rcr .rcr-thumb.is-active, body .rcr .rcr-thumb:hover { opacity: 1; }
body .rcr .rcr-thumb:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 2px; opacity: 1; }
body .rcr .rcr-thumb img { border-radius: 8px; border: 0; }
body .rcr .rcr-gallery__main { border: 0; box-shadow: none; border-radius: var(--rcr-radius); }
body .rcr .rcr-gallery__main > img { border: 0; border-radius: 0; }
body .rcr .rcr-mosaic { border-radius: var(--rcr-radius); }
body .rcr .rcr-mosaic__item, body .rcr .rcr-mosaic__item:hover, body .rcr .rcr-mosaic__item:focus { background: var(--rcr-sand-2); border: 0; border-radius: 0; padding: 0; }
body .rcr .rcr-heart--inline, body .rcr .rcr-heart--inline:hover { background: #fff; color: var(--rcr-heading); border: 1px solid var(--rcr-border); }
body .rcr .rcr-auth__tabs button, body .rcr .rcr-auth__tabs button:hover, body .rcr .rcr-auth__tabs button:focus { background: transparent; border: 0; color: var(--rcr-muted); border-radius: 999px; }
body .rcr .rcr-auth__tabs button[aria-selected="true"] { background: #fff; color: var(--rcr-heading); }
body .rcr .rcr-modal__close, body .rcr .rcr-modal__close:hover { background: var(--rcr-sand-2); color: var(--rcr-heading); border: 0; border-radius: 50%; padding: 0; }
body .rcr .rcr-danger .rc-btn { border-color: #8A1F1F; color: #8A1F1F; }
body .rcr .rcr-danger .rc-btn.is-armed, body .rcr .rcr-danger .rc-btn:hover { background: #8A1F1F; color: #fff; }
body .rcr .rcr-contact { text-decoration: none; }
/* Theme sets display/width on buttons – restore our sizes */
body .rcr .rcr-gallery__nav { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; min-width: 46px; font-size: 28px; line-height: 1; }
body .rcr .rcr-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-width: 40px; }
body .rcr .rcr-tool { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-width: 34px; }
body .rcr .rcr-heart--inline { display: inline-flex; width: auto; }
body .rcr .rcr-modal__close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; }
body .rcr .rcr-thumb { display: block; flex: 0 0 92px; width: 92px; height: 68px; }
@media (max-width: 640px) { body .rcr .rcr-gallery__nav { width: 38px; height: 38px; min-width: 38px; font-size: 24px; } }

/* ---------- 1.3.6: spacing below the header, sticky enquiry box, agency avatar, gallery/map switch ---------- */
.page-content > .rcr:first-child, .page-content > p:first-child > .rcr:first-child { padding-top: 36px; }
main.site-main:has(> .page-header):has(> .page-content > .rcr) > .page-header,
main.site-main:has(> .page-header):has(> .page-content > p > .rcr) > .page-header { padding-top: 36px; }
main.site-main:has(> .page-header):has(> .page-content > .rcr) > .page-content > .rcr:first-child { padding-top: 0; }
html.rcr-sticky-ok, html.rcr-sticky-ok body { overflow-x: clip !important; overflow-y: visible !important; }
.rcr-property__side { position: sticky; top: var(--rcr-sticky-top, 110px); max-height: calc(100vh - var(--rcr-sticky-top, 110px) - 16px); overflow-y: auto; scrollbar-width: thin; }
.rcr-agent__mark { overflow: hidden; background: #0B3D91; }
.rcr-agent__mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
body .rcr .rcr-enquiry__buttons { display: flex; gap: 10px; margin-top: 6px; }
body .rcr .rcr-enquiry__buttons .rc-btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; border-radius: 6px; background: var(--rcr-navy); border-color: var(--rcr-navy); color: #fff; font-size: 13px; letter-spacing: .3px; text-transform: none; }
body .rcr .rcr-enquiry__buttons .rc-btn:hover { background: var(--rcr-heading); }
body .rcr .rcr-enquiry .rcr-contact { min-height: 44px; border-radius: 6px; border-color: var(--rcr-gold); color: var(--rcr-gold-dark) !important; font-size: 13px; letter-spacing: .3px; }
body .rcr .rcr-enquiry .rcr-contact:hover { background: var(--rcr-gold); color: #fff !important; box-shadow: none; }
body .rcr .rcr-enquiry .rcr-contact--wide { display: flex; width: 100%; margin-top: 10px; }
.rcr-gallery__map { position: absolute; inset: 0; z-index: 2; background: var(--rcr-celeste-pale); }
.rcr-gallery__map[hidden] { display: none; }
.rcr-gallery.is-map .rcr-gallery__nav, .rcr-gallery.is-map .rcr-gallery__counter { visibility: hidden; }
.rcr-gallery__views { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; gap: 6px; }
body .rcr .rcr-view { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: rgba(11, 36, 51, .78); color: #fff; cursor: pointer; transition: background .2s, box-shadow .2s; }
body .rcr .rcr-view .rcr-ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
body .rcr .rcr-view:hover { background: var(--rcr-navy); }
body .rcr .rcr-view.is-active { background: var(--rcr-celeste); box-shadow: 0 0 0 2px #fff; }
body .rcr .rcr-view:focus-visible { outline: 2px solid var(--rcr-gold); outline-offset: 2px; }
@media (max-width: 900px) { .rcr-property__side { position: static; max-height: none; overflow: visible; } }

/* ---------- 1.3.7: mortgage calculator – inputs on top, ring + totals below ---------- */
.rcr-mortgage .rcr-mortgage__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin: 4px 0 28px; }
.rcr-mortgage .rcr-mortgage__inputs label { font-size: 13.5px; font-weight: 600; margin: 0 0 8px; line-height: 1.3; }
.rcr-mortgage .rcr-addon { display: flex; align-items: stretch; border: 1px solid var(--rcr-border); border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.rcr-mortgage .rcr-addon:focus-within { border-color: var(--rcr-celeste); box-shadow: 0 0 0 3px rgba(65, 165, 217, .18); }
.rcr-mortgage .rcr-addon__pre { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; border-right: 1px solid var(--rcr-border); background: var(--rcr-sand); color: var(--rcr-muted); font-size: 14px; }
.rcr-mortgage .rcr-addon__pre .rcr-ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
body .rcr .rcr-mortgage .rcr-addon input { flex: 1; min-width: 0; min-height: 44px; margin: 0; padding: 8px 14px; border: 0; border-radius: 0; background: #fff; box-shadow: none; outline: none; font: 400 14.5px Poppins, sans-serif; font-variant-numeric: tabular-nums; color: var(--rcr-heading); }
.rcr-mortgage .rcr-mortgage__result { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 24px; border-top: 1px solid var(--rcr-sand-2); }
.rcr-mortgage .rcr-ring { width: 200px; height: 200px; }
.rcr-mortgage .rcr-ring circle { stroke-width: 10; }
.rcr-mortgage .rcr-ring strong { font-size: 24px; font-weight: 600; }
.rcr-mortgage .rcr-ring span { font-size: 13.5px; }
.rcr-mortgage__list { margin: 0; padding: 0; }
.rcr-mortgage__list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rcr-sand-2); }
.rcr-mortgage__list dt { display: flex; align-items: center; margin: 0; font-weight: 600; color: var(--rcr-heading); }
.rcr-mortgage__list dd { margin: 0; color: var(--rcr-heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rcr-mortgage__list .rcr-dot { width: 14px; height: 14px; background: transparent; border: 2px solid var(--rcr-heading); margin-right: 10px; flex: 0 0 auto; }
.rcr-mortgage__list .rcr-dot--gold { border-color: var(--rcr-gold); }
@media (max-width: 640px) {
	.rcr-mortgage .rcr-mortgage__inputs { grid-template-columns: 1fr; gap: 14px; }
	.rcr-mortgage .rcr-mortgage__result { grid-template-columns: 1fr; gap: 20px; }
	.rcr-mortgage .rcr-ring { width: 170px; height: 170px; margin: 0 auto; }
}

/* ---------- 1.3.8: breathing room before the next page block ---------- */
.page-content > .rcr:last-child, .page-content > p:last-child > .rcr:last-child { padding-bottom: 72px; }
.rcr-account details:last-child, .rcr-account > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .page-content > .rcr:last-child, .page-content > p:last-child > .rcr:last-child { padding-bottom: 48px; } }

/* ---------- 1.4.3: own-styled checkboxes (Riva Celeste blue when ticked, theme/browser colours ignored) ---------- */
body .rcr .rcr-check input[type="checkbox"], body .rcr-modal .rcr-check input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; position: relative; display: inline-block; width: 18px; height: 18px; margin: 1px 0 0; padding: 0;
	border: 1.5px solid #9CCBE6; border-radius: 4px; background: #fff; box-shadow: none; outline: none; cursor: pointer; flex: 0 0 auto;
	transition: background-color .15s, border-color .15s, box-shadow .15s;
}
body .rcr .rcr-more__all .rcr-check input[type="checkbox"] { width: 16px; height: 16px; }
body .rcr .rcr-check input[type="checkbox"]:hover, body .rcr-modal .rcr-check input[type="checkbox"]:hover { border-color: var(--rcr-celeste); }
body .rcr .rcr-check input[type="checkbox"]:checked, body .rcr-modal .rcr-check input[type="checkbox"]:checked {
	background: var(--rcr-celeste) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 82% no-repeat;
	border-color: var(--rcr-celeste);
}
body .rcr .rcr-check input[type="checkbox"]:focus-visible, body .rcr-modal .rcr-check input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(65, 165, 217, .3); }

/* ---------- 1.4.4: results anchor below the fixed header + active-filter counter ---------- */
#rcr-results { scroll-margin-top: 130px; }
.rcr-more__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rcr-celeste); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1; }

/* ---------- 1.4.5: typeable price fields with suggestions ---------- */
.rcr-pricebox { position: relative; }
body .rcr .rcr-pricebox input.rcr-price { width: 100%; padding-right: 30px; }
.rcr-pricebox__cur { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--rcr-muted); font-size: 14px; pointer-events: none; }
.rcr-pricebox__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--rcr-border); border-radius: 10px; box-shadow: 0 12px 28px rgba(11, 36, 51, .14); }
.rcr-pricebox__list[hidden] { display: none; }
.rcr-pricebox__list li { margin: 0; padding: 8px 14px; font-size: 14px; color: var(--rcr-heading); cursor: pointer; font-variant-numeric: tabular-nums; }
.rcr-pricebox__list li:hover { background: var(--rcr-celeste-pale); }

/* ---------- 1.4.6: compare ---------- */
body .rcr .rcr-compare .rcr-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcr .rcr-card__tools .rcr-compare .rcr-ico { stroke: #fff; }
body .rcr .rcr-tool.rcr-compare.is-on { background: var(--rcr-celeste); }
body .rcr .rcr-iconbtn.rcr-compare.is-on { border-color: var(--rcr-celeste); color: var(--rcr-celeste); box-shadow: 0 0 0 1px var(--rcr-celeste); }

.rcr-cmp-tab { position: fixed; right: 0; top: 50%; z-index: 9990; transform: translateY(-50%); width: 46px; height: 46px; padding: 0; border: 0; border-radius: 8px 0 0 8px; background: var(--rcr-navy, #0B2433); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(11, 36, 51, .25); }
.rcr-cmp-tab[hidden] { display: none; }
.rcr-cmp-tab svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcr-cmp-tab__n { position: absolute; top: -7px; left: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #41A5D9; color: #fff; font: 600 11.5px/20px Poppins, sans-serif; text-align: center; }

.rcr-cmp-panel { position: fixed; right: 0; top: 0; bottom: 0; z-index: 99990; width: min(320px, 92vw); padding: 22px 20px; overflow-y: auto; background: #fff; box-shadow: -10px 0 30px rgba(11, 36, 51, .18); font-family: Poppins, system-ui, sans-serif; }
.rcr-cmp-panel[hidden] { display: none; }
.rcr-cmp-panel__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; color: var(--rcr-heading); font-size: 17px; }
body .rcr-cmp-panel button.rcr-cmp-panel__close { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--rcr-heading); font-size: 24px; line-height: 1; cursor: pointer; }
.rcr-cmp-panel__list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.rcr-cmp-panel__list li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; margin: 0; }
.rcr-cmp-panel__img { width: 76px; height: 56px; border-radius: 6px; overflow: hidden; background: var(--rcr-sand-2); }
.rcr-cmp-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.rcr-cmp-panel__name { font-size: 12.5px; line-height: 1.35; color: var(--rcr-heading); padding-right: 22px; }
body .rcr-cmp-panel button.rcr-cmp-panel__x { position: absolute; top: -6px; left: 62px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 36, 51, .75); color: #fff; font-size: 15px; line-height: 22px; cursor: pointer; }
.rcr-cmp-panel__msg { margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: #FFF6E5; color: #7E6230; font-size: 13px; }
.rcr-cmp-panel__hint { margin: 0 0 10px; font-size: 12.5px; color: var(--rcr-muted); }
body .rcr-cmp-panel .rcr-cmp-panel__go.is-disabled { opacity: .45; pointer-events: auto; cursor: not-allowed; }
.rcr-cmp-panel__row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
body .rcr-cmp-panel button.rcr-cmp-panel__clear { flex: 0 0 auto; padding: 0 6px; border: 0; background: none; color: var(--rcr-muted); font: 500 12.5px Poppins, sans-serif; text-decoration: underline; cursor: pointer; }

.rcr-compare-page { padding-bottom: 72px; }
.rcr-cmp__title { margin: 6px 0 20px; }
.rcr-cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rcr-border); border-radius: 12px; background: #fff; }
.rcr-cmp { width: 100%; min-width: calc(180px + var(--rcr-cols, 3) * 210px); border-collapse: collapse; table-layout: fixed; font-size: 13.5px; }
.rcr-cmp th, .rcr-cmp td { padding: 10px 14px; border-bottom: 1px solid var(--rcr-sand-2); text-align: left; vertical-align: middle; color: var(--rcr-heading); }
.rcr-cmp tbody tr:nth-child(even) td, .rcr-cmp tbody tr:nth-child(even) th { background: #FAFCFE; }
.rcr-cmp tbody th, .rcr-cmp thead th.rcr-cmp__label, .rcr-cmp tfoot th { position: sticky; left: 0; z-index: 1; width: 180px; background: #fff; font-weight: 600; font-size: 13px; }
.rcr-cmp__prop { vertical-align: top !important; font-weight: 400; }
.rcr-cmp__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--rcr-sand-2); margin-bottom: 8px; }
.rcr-cmp__img img { width: 100%; height: 100%; object-fit: cover; }
.rcr .rcr-cmp__name { display: block; font-weight: 600; font-size: 13.5px; line-height: 1.35; color: var(--rcr-heading); text-decoration: none; }
body .rcr button.rcr-cmp__remove { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--rcr-muted); font: 500 12px Poppins, sans-serif; cursor: pointer; }
.rcr-cmp__price { font-weight: 600; font-size: 15px; }
.rcr-cmp__section th { position: static !important; background: var(--rcr-celeste-pale) !important; font-size: 12px !important; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rcr-heading); }
.rcr-cmp__mark { text-align: center !important; }
.rcr-cmp__yes { width: 20px; height: 20px; fill: #41A5D9; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.rcr-cmp__no { color: #C9D3DA; font-size: 16px; }
.rcr-cmp tfoot td { border-bottom: 0; padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 640px) { .rcr-cmp tbody th, .rcr-cmp thead th.rcr-cmp__label, .rcr-cmp tfoot th { width: 120px; } .rcr-cmp { min-width: calc(120px + var(--rcr-cols, 3) * 170px); } }
.rcr-cmp-panel { top: var(--wp-admin--admin-bar--height, 0px); }
body .rcr-cmp-panel a.rcr-cmp-panel__go { background: var(--rcr-navy, #0B2433); border-color: var(--rcr-navy, #0B2433); color: #fff !important; }
body .rcr-cmp-panel a.rcr-cmp-panel__go:hover { background: #41A5D9; border-color: #41A5D9; }
.rcr-cmp-panel { box-shadow: -10px 10px 30px rgba(11, 36, 51, .18); border-top: 1px solid var(--rcr-border); }
.rcr-cmp-panel__hint strong { color: var(--rcr-heading); white-space: nowrap; }
body .rcr-cmp-tab, body .rcr-cmp-tab:hover, body .rcr-cmp-tab:focus { border: 0 !important; outline: none !important; background: var(--rcr-navy, #0B2433) !important; }
body .rcr-cmp-tab:focus-visible { outline: 2px solid #41A5D9 !important; outline-offset: 2px; }

/* ---------- 1.5.2: Elementor's ".elementor img{height:auto}" must not shrink card photos ---------- */
body .rcr .rcr-card__media > a { display: block; width: 100%; height: 100%; }
body .rcr .rcr-card__media img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }

/* 1.5.3 – result count hidden on request; sort control stays on the right. */
body .rcr .rcr-count { display: none; }
body .rcr .rcr-toolbar { justify-content: flex-end; }
