/* ==========================================================================
   com_realestate – frontend design system
   Works with any Joomla template; tpl_realestate sets the tokens below.
   ========================================================================== */
:root {
  --re-primary: #143a5a;
  --re-primary-600: #0f2e48;
  --re-primary-050: #eef3f8;
  --re-accent: #c8a15a;
  --re-accent-600: #b18a45;
  --re-ink: #0e1b2c;
  --re-text: #1f2a37;
  --re-muted: #6b7685;
  --re-line: #e6e9ee;
  --re-bg: #f6f7f9;
  --re-surface: #ffffff;
  --re-success: #1f8a5b;
  --re-warning: #b7791f;
  --re-danger: #c0392b;
  --re-radius: 14px;
  --re-radius-sm: 10px;
  --re-shadow-sm: 0 1px 2px rgba(14, 27, 44, .06);
  --re-shadow: 0 1px 2px rgba(14, 27, 44, .05), 0 10px 28px rgba(14, 27, 44, .07);
  --re-shadow-lg: 0 18px 48px rgba(14, 27, 44, .16);
  --re-font-display: inherit;
  --re-header-offset: 84px;
  --re-ease: cubic-bezier(.2, .7, .2, 1);
}

.re { color: var(--re-text); font-size: 1rem; line-height: 1.55; }
.re *, .re *::before, .re *::after { box-sizing: border-box; }
.re img { max-width: 100%; height: auto; display: block; }
.re a { color: var(--re-primary); text-decoration: none; }
.re a:hover { color: var(--re-primary-600); }
.re-icon { flex: none; vertical-align: -.18em; }
.re .visually-hidden, .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.re-muted { color: var(--re-muted); }
.re-small { font-size: .85rem; }
.re-right { text-align: right; }
.re-nowrap { white-space: nowrap; }
.re-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
html.re-noscroll { overflow: hidden; }

/* ---------- typography ---------- */
.re-page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: 0 0 1.5rem; }
.re-page-head--center { flex-direction: column; text-align: center; }
.re-page-title { font-family: var(--re-font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; color: var(--re-ink); margin: 0; }
.re-page-title--sm { font-size: 1.35rem; }
.re-section { margin: 0 0 2.25rem; }
.re-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.re-section__title { font-family: var(--re-font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; color: var(--re-ink); margin: 0 0 1rem; }
.re-lead { font-size: 1.12rem; color: var(--re-ink); font-weight: 500; }
.re-prose { color: var(--re-text); }
.re-prose p { margin: 0 0 1em; }
.re-prose.is-collapsed { max-height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.re-readmore { margin-top: .5rem; }

/* ---------- buttons ---------- */
.re-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; text-decoration: none !important; white-space: nowrap; }
.re-btn:active { transform: translateY(1px); }
.re-btn:focus-visible, .re-action:focus-visible, .re-icon-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--re-accent) 70%, transparent); outline-offset: 2px; }
.re-btn--primary { background: var(--re-primary); color: #fff !important; }
.re-btn--primary:hover { background: var(--re-primary-600); box-shadow: 0 8px 20px color-mix(in srgb, var(--re-primary) 28%, transparent); }
.re-btn--accent { background: var(--re-accent); color: var(--re-ink) !important; }
.re-btn--accent:hover { background: var(--re-accent-600); }
.re-btn--ghost { background: var(--re-surface); border-color: var(--re-line); color: var(--re-ink) !important; }
.re-btn--ghost:hover { border-color: var(--re-primary); color: var(--re-primary) !important; }
.re-btn--light { background: rgba(255, 255, 255, .95); color: var(--re-ink) !important; box-shadow: var(--re-shadow-sm); }
.re-btn--light:hover, .re-btn--light.is-active { background: #fff; box-shadow: var(--re-shadow); }
.re-btn--light.is-active { outline: 2px solid var(--re-accent); }
.re-btn--whatsapp { background: #1fa855; color: #fff !important; }
.re-btn--whatsapp:hover { background: #178a45; }
.re-btn--sm { min-height: 36px; padding: .4rem .85rem; font-size: .86rem; }
.re-btn--block { width: 100%; }
.re-link { background: none; border: 0; padding: 0; color: var(--re-primary); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.re-link:hover { text-decoration: underline; }
.re-icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--re-line); background: var(--re-surface); color: var(--re-ink); cursor: pointer; }
.re-icon-btn:hover { border-color: var(--re-primary); color: var(--re-primary); }

/* ---------- form controls ---------- */
.re-label { display: block; font-size: .82rem; font-weight: 650; letter-spacing: .02em; color: var(--re-ink); margin: 0 0 .4rem; text-transform: none; }
.re-label-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.re-label-row .re-label { margin: 0; }
.re-input, .re-select, .re-form input[type="text"], .re-form input[type="email"], .re-form input[type="tel"], .re-form input[type="url"], .re-form input[type="number"], .re-form select, .re-form textarea {
  width: 100%; min-height: 44px; padding: .6rem .85rem; border: 1px solid var(--re-line); border-radius: var(--re-radius-sm); background: var(--re-surface); color: var(--re-text); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.re-select, .re-form select { appearance: none; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7685' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; }
.re-input:focus, .re-select:focus, .re-form input:focus, .re-form select:focus, .re-form textarea:focus { outline: none; border-color: var(--re-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--re-primary) 14%, transparent); }
.re-select:disabled { opacity: .55; cursor: not-allowed; }
.re-select--sm { min-height: 36px; padding: .35rem 2rem .35rem .75rem; font-size: .86rem; width: auto; border-radius: 999px; }
.re-select--mini { min-height: 30px; padding: .2rem 1.8rem .2rem .6rem; font-size: .8rem; width: auto; border-radius: 8px; }
.re-input-icon { position: relative; }
.re-input-icon > .re-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--re-muted); pointer-events: none; }
.re-input-icon > .re-input { padding-left: 2.5rem; }
.re-field { margin: 0 0 1.15rem; border: 0; padding: 0; min-width: 0; }
.re-field > legend { padding: 0; }
.re-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; color: var(--re-muted); }
.re-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.re-location { display: grid; gap: .5rem; }
.re-location > .re-label { margin-bottom: 0; }

.re-segment, .re-pills, .re-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.re-segment label, .re-pills label, .re-tabs label { position: relative; cursor: pointer; margin: 0; }
.re-segment input, .re-pills input, .re-tabs input, .re-radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.re-segment span, .re-pills span { display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--re-line); background: var(--re-surface); font-size: .86rem; font-weight: 600; transition: all .15s; }
.re-pills span { min-width: 46px; justify-content: center; }
.re-segment input:checked + span, .re-pills input:checked + span { background: var(--re-ink); border-color: var(--re-ink); color: #fff; }
.re-segment input:focus-visible + span, .re-pills input:focus-visible + span, .re-tabs input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--re-accent) 70%, transparent); }
.re-tabs { background: var(--re-bg); border-radius: 999px; padding: 4px; margin-bottom: 1rem; flex-wrap: nowrap; }
.re-tabs label { flex: 1; }
.re-tabs span { display: block; text-align: center; padding: .5rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 650; color: var(--re-muted); }
.re-tabs input:checked + span { background: var(--re-surface); color: var(--re-ink); box-shadow: var(--re-shadow-sm); }

.re-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; max-height: 260px; overflow: auto; padding-right: .25rem; }
.re-checkbox { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; cursor: pointer; line-height: 1.35; }
.re-checkbox input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--re-primary); flex: none; }
.re-switches { display: grid; gap: .6rem; }
.re-switch { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .9rem; user-select: none; }
.re-switch input { position: absolute; opacity: 0; }
.re-switch span { width: 38px; height: 22px; border-radius: 11px; background: #cfd5dd; position: relative; transition: background .2s; flex: none; }
.re-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--re-ease); }
.re-switch input:checked + span { background: var(--re-primary); }
.re-switch input:checked + span::after { transform: translateX(16px); }
.re-switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--re-accent) 70%, transparent); }
.re-switch--sm { font-size: .82rem; }

.re-more { border-top: 1px solid var(--re-line); padding-top: .9rem; margin-top: .25rem; }
.re-more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 650; color: var(--re-ink); margin-bottom: .9rem; }
.re-more > summary::-webkit-details-marker { display: none; }
.re-more[open] > summary .re-icon { transform: rotate(180deg); }

/* Joomla form fields inside .re-form */
.re-form .control-group { margin: 0 0 1rem; }
.re-form .control-label { margin-bottom: .35rem; }
.re-form .control-label label, .re-form .control-label { font-size: .82rem; font-weight: 650; color: var(--re-ink); }
.re-form .star { color: var(--re-danger); }
.re-form .invalid { border-color: var(--re-danger) !important; }
.re-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 1.25rem; }
.re-form-grid--4 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.re-form .re-hp { display: none; }
.re-form.is-sent [type="submit"] { background: var(--re-success); }

/* ---------- badges / state ---------- */
.re-badge { --badge: var(--re-primary); display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 6px; background: var(--badge); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.re-badge--accent { background: var(--re-accent); color: var(--re-ink); }
.re-badge--dark { background: var(--re-ink); }
.re-badge--success { background: var(--re-success); }
.re-badge--light { background: #fff; color: var(--re-ink); box-shadow: inset 0 0 0 1px var(--re-line); }
.re-ref { font-size: .78rem; color: var(--re-muted); font-weight: 600; letter-spacing: .03em; }
.re-state { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--re-bg); color: var(--re-muted); }
.re-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.re-state--live, .re-state--paid { background: #e7f5ee; color: var(--re-success); }
.re-state--pending, .re-state--unpaid { background: #fdf3e2; color: var(--re-warning); }
.re-state--expired, .re-state--failed, .re-state--cancelled { background: #fbeceb; color: var(--re-danger); }
.re-state--offline, .re-state--refunded { background: #eef0f3; color: var(--re-muted); }
.re-alert { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: var(--re-radius-sm); margin: 0 0 1.25rem; font-size: .95rem; }
.re-alert--info { background: var(--re-primary-050); color: var(--re-primary-600); }
.re-alert--warning { background: #fdf3e2; color: #7a4f0e; }

/* ---------- panels ---------- */
.re-panel { background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 1.35rem; box-shadow: var(--re-shadow-sm); }
.re-panel + .re-panel { margin-top: 1rem; }
.re-panel__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 1rem; color: var(--re-ink); }

/* ---------- property card ---------- */
.re-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.re-grid--2 { --cols: 2; }
.re-grid--3 { --cols: 3; }
.re-grid--4 { --cols: 4; }
.re-grid.is-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }

.re-card { position: relative; display: flex; flex-direction: column; background: var(--re-surface); border-radius: var(--re-radius); border: 1px solid var(--re-line); overflow: hidden; transition: transform .25s var(--re-ease), box-shadow .25s var(--re-ease), border-color .25s; min-width: 0; }
.re-card:hover, .re-card.is-hover { transform: translateY(-3px); box-shadow: var(--re-shadow); border-color: transparent; }
.re-card.is-featured { box-shadow: 0 0 0 2px color-mix(in srgb, var(--re-accent) 65%, transparent); }
.re-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e9edf2; }
.re-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--re-ease); }
.re-card:hover .re-card__media img { transform: scale(1.045); }
.re-card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(14, 27, 44, .45)); pointer-events: none; }
.re-card__badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .35rem; z-index: 1; max-width: calc(100% - 100px); }
.re-card__meta-media { position: absolute; left: .75rem; bottom: .65rem; z-index: 1; display: flex; gap: .45rem; }
.re-card__meta-media span { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .45rem; border-radius: 6px; background: rgba(14, 27, 44, .6); color: #fff; font-size: .75rem; font-weight: 600; backdrop-filter: blur(4px); }
.re-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.re-actions--overlay { position: absolute; top: .65rem; right: .65rem; z-index: 2; gap: .4rem; }
.re-action { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--re-line); background: var(--re-surface); color: var(--re-ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; text-decoration: none !important; }
.re-action:hover { border-color: var(--re-ink); }
.re-actions--overlay .re-action { width: 38px; min-height: 38px; padding: 0; justify-content: center; border: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 8px rgba(14, 27, 44, .18); }
.re-action.is-active { color: #fff; background: var(--re-ink); border-color: var(--re-ink); }
.js-re-fav.is-active { background: #e0435a; border-color: #e0435a; color: #fff; }
.js-re-fav.is-active svg { fill: currentColor; }
.re-actions--overlay .js-re-fav.is-active { background: #fff; color: #e0435a; }
.re-card__body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.re-card__price { font-size: 1.25rem; font-weight: 750; color: var(--re-ink); letter-spacing: -.01em; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.re-price-period { font-size: .8rem; font-weight: 600; color: var(--re-muted); }
.re-card__old { font-size: .85rem; color: var(--re-muted); font-weight: 500; }
.re-card__converted { font-size: .8rem; color: var(--re-muted); margin-top: -.2rem; }
.re-card__title { font-size: 1rem; font-weight: 650; line-height: 1.35; margin: .1rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.re-card__title a { color: var(--re-ink) !important; }
.re-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.re-card__location { color: var(--re-muted); font-size: .86rem; margin: 0; display: flex; gap: .3rem; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-card__excerpt { color: var(--re-muted); font-size: .9rem; margin: .25rem 0 0; }
.re-facts { list-style: none; margin: auto 0 0; padding: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; border-top: 1px solid var(--re-line); font-size: .88rem; font-weight: 600; color: var(--re-text); }
.re-card__body > .re-facts { margin-top: .6rem; }
.re-facts li { display: inline-flex; align-items: center; gap: .35rem; }
.re-facts .re-icon { color: var(--re-primary); }
.re-card__agent { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--re-muted); margin-top: .5rem; }
.re-card__agent img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* list variant */
.re-grid.is-list, .re-card--list { --cols: 1; }
.re-grid.is-list { grid-template-columns: 1fr; }
.re-card--list { flex-direction: row; }
.re-card--list .re-card__media { flex: 0 0 min(40%, 380px); aspect-ratio: auto; min-height: 240px; }
.re-card--list .re-card__body { padding: 1.25rem 1.4rem; }
.re-card--list .re-card__price { font-size: 1.4rem; }
.re-card--list .re-card__title { font-size: 1.12rem; }
.re-card--compact .re-card__body { padding: .8rem .9rem .9rem; }
.re-card--compact .re-card__price { font-size: 1.08rem; }
.re-card--compact .re-card__title { font-size: .92rem; -webkit-line-clamp: 1; }
.re-card--compact .re-facts { font-size: .8rem; gap: .3rem .8rem; padding-top: .6rem; }

/* empty state */
.re-empty-state { grid-column: 1 / -1; text-align: center; padding: 3.5rem 1rem; background: var(--re-surface); border: 1px dashed var(--re-line); border-radius: var(--re-radius); }
.re-empty-state__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--re-primary-050); color: var(--re-primary); margin-bottom: 1rem; }
.re-empty-state h3 { font-size: 1.2rem; margin: 0 0 .4rem; color: var(--re-ink); }
.re-empty-state p { color: var(--re-muted); margin: 0 0 1.25rem; }

/* ---------- results page ---------- */
.re-layout.has-sidebar { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2rem; align-items: start; }
.re-layout__sidebar { position: sticky; top: calc(var(--re-header-offset) + 1rem); max-height: calc(100vh - var(--re-header-offset) - 2rem); overflow: auto; scrollbar-width: thin; }
.re-filters { background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 1.25rem; }
.re-filters__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.re-filters__title { display: flex; align-items: center; gap: .45rem; font-size: 1.05rem; font-weight: 700; margin: 0 auto 0 0; color: var(--re-ink); }
.re-filters__close { display: none; }
.re-filters__foot { position: sticky; bottom: -1.25rem; background: linear-gradient(transparent, var(--re-surface) 30%); padding: 1rem 0 .25rem; margin-top: .5rem; }
.re-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.re-toolbar__count { display: flex; align-items: center; gap: .75rem; }
.re-toolbar__count strong { font-size: 1.02rem; color: var(--re-ink); }
.re-toolbar__filters { display: none; }
.re-toolbar__tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.re-viewmode { display: inline-flex; border: 1px solid var(--re-line); border-radius: 999px; padding: 3px; background: var(--re-surface); }
.re-viewmode__btn { display: grid; place-items: center; width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: var(--re-muted); cursor: pointer; }
.re-viewmode__btn.is-active { background: var(--re-ink); color: #fff; }
.re-results-split { display: block; }
.is-map-mode .re-results-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.is-map-mode .re-results-list .re-grid { --cols: 1; }
@media (min-width: 1400px) { .is-map-mode .re-results-list .re-grid { --cols: 2; } }
.re-results-map { position: sticky; top: calc(var(--re-header-offset) + 1rem); }
.re-map { width: 100%; border-radius: var(--re-radius); overflow: hidden; background: #e8ecf1; z-index: 0; }
.re-map--results { height: calc(100vh - var(--re-header-offset) - 6rem); min-height: 420px; }
.re-map--detail { height: 380px; }
.re-map-tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.re-map-tools--floating { position: absolute; z-index: 500; top: 1rem; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, .96); padding: .45rem .6rem; border-radius: 999px; box-shadow: var(--re-shadow); margin: 0; white-space: nowrap; }
.re-map-tools__near { display: inline-flex; gap: .3rem; }
.leaflet-container.is-drawing { cursor: crosshair; }

/* price markers */
.re-pin-wrap { background: none; border: 0; }
.re-pin { display: inline-block; transform: translate(-50%, -100%); padding: .3rem .55rem; border-radius: 999px; background: var(--re-surface); color: var(--re-ink); font: 700 12px/1.2 system-ui, sans-serif; white-space: nowrap; box-shadow: 0 2px 8px rgba(14, 27, 44, .28); position: relative; transition: transform .15s; }
.re-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.re-pin.is-active, .re-pin:hover { background: var(--re-ink); color: #fff; transform: translate(-50%, -100%) scale(1.08); z-index: 1000; }
.re-leaflet-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; }
.re-leaflet-popup .leaflet-popup-content { margin: 0; width: 260px !important; }
.re-map-popup { display: block; color: var(--re-text) !important; text-decoration: none !important; }
.re-map-popup img { width: 100%; height: 140px; object-fit: cover; display: block; }
.re-map-popup__body { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .85rem .8rem; font-size: .85rem; }
.re-map-popup__body strong { font-size: 1rem; color: var(--re-ink); }
.re-map-popup__body small { color: var(--re-muted); }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: color-mix(in srgb, var(--re-primary) 25%, transparent) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--re-primary) !important; color: #fff !important; font-weight: 700; }

/* map search page */
.re-mapsearch { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; height: calc(100vh - var(--re-header-offset)); margin: 0 calc(50% - 50vw); width: 100vw; border-top: 1px solid var(--re-line); }
.re-mapsearch__panel { overflow: auto; padding: 1.25rem 1.5rem 2rem; background: var(--re-bg); }
.re-mapsearch__head .re-toolbar { margin: .75rem 0 1rem; }
.re-mapsearch__head .re-toolbar__filters { display: inline-flex; }
.re-mapsearch__map { position: relative; }
.re-map--full { position: absolute; inset: 0; border-radius: 0; }

/* compare bar */
.re-compare-bar { position: fixed; z-index: 900; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; padding: .55rem .6rem .55rem 1.2rem; background: var(--re-ink); color: #fff; border-radius: 999px; box-shadow: var(--re-shadow-lg); font-size: .92rem; }
.re-compare-bar .re-icon-btn { width: 32px; height: 32px; background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.re-compare-bar[hidden] { display: none; }

/* pagination (Joomla markup) */
.re-pagination { margin: 2rem 0 0; display: flex; justify-content: center; }
.re-pagination ul, .re-pagination .pagination { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.re-pagination .page-link, .re-pagination a, .re-pagination span.page-link { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--re-line); background: var(--re-surface); color: var(--re-ink); font-weight: 600; font-size: .9rem; }
.re-pagination .active .page-link, .re-pagination .page-item.active span { background: var(--re-ink); border-color: var(--re-ink); color: #fff; }
.re-pagination .disabled .page-link { opacity: .45; }

/* ---------- property detail ---------- */
.re-property__head { display: flex; justify-content: space-between; gap: 1.5rem 2.5rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1.25rem; }
.re-property__headline { flex: 1 1 520px; min-width: 0; }
.re-property__badges { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .6rem; }
.re-property__title { font-family: var(--re-font-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; color: var(--re-ink); margin: 0 0 .5rem; }
.re-property__location { display: flex; align-items: center; gap: .4rem; color: var(--re-muted); margin: 0; font-size: 1.02rem; }
.re-property__pricebox { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.re-property__price { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; color: var(--re-ink); }
.re-property__oldprice { display: flex; align-items: center; gap: .5rem; color: var(--re-muted); }
.re-property__converted, .re-property__ppm { color: var(--re-muted); font-size: .9rem; }
.re-property__tools { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; margin-top: .6rem; }
.re-share { position: relative; }
.re-share__menu { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 20; min-width: 210px; display: flex; flex-direction: column; padding: .4rem; border-radius: 12px; background: var(--re-surface); border: 1px solid var(--re-line); box-shadow: var(--re-shadow-lg); }
.re-share__menu a, .re-share__menu button { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: 8px; border: 0; background: none; color: var(--re-ink) !important; font: inherit; font-size: .9rem; text-align: left; cursor: pointer; }
.re-share__menu a:hover, .re-share__menu button:hover { background: var(--re-bg); }

.re-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; height: clamp(320px, 52vw, 560px); border-radius: var(--re-radius); overflow: hidden; margin-bottom: 2rem; }
.re-gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.re-gallery--single .re-gallery__tile { display: none; }
.re-gallery button { border: 0; padding: 0; margin: 0; background: #e9edf2; cursor: zoom-in; overflow: hidden; display: block; width: 100%; height: 100%; }
.re-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--re-ease), filter .3s; }
.re-gallery button:hover img { transform: scale(1.03); filter: brightness(.94); }
.re-gallery__main { grid-row: span 2; }
.re-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.re-gallery__buttons { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }

.re-property__layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 2.5rem; align-items: start; }
.re-sticky { position: sticky; top: calc(var(--re-header-offset) + 1rem); }
.re-keyfacts { list-style: none; margin: 0 0 2.25rem; padding: 1.1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .75rem; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); }
.re-keyfacts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; padding: .35rem .5rem; }
.re-keyfacts .re-icon { grid-row: span 2; color: var(--re-primary); }
.re-keyfacts strong { font-size: 1.1rem; color: var(--re-ink); line-height: 1.2; }
.re-keyfacts span { font-size: .78rem; color: var(--re-muted); }
.re-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0; }
.re-details > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--re-line); }
.re-details dt { color: var(--re-muted); font-weight: 500; }
.re-details dd { margin: 0; color: var(--re-ink); font-weight: 650; text-align: right; }
.re-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem 2rem; }
.re-amenities__group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--re-muted); margin: 0 0 .6rem; font-weight: 700; }
.re-amenities__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.re-amenities__group li { display: flex; align-items: center; gap: .55rem; }
.re-amenities__group .re-icon { color: var(--re-success); }

.re-energy-wrap { display: flex; flex-wrap: wrap; gap: 2rem; }
.re-energy { margin: 0; flex: 1 1 260px; max-width: 360px; }
.re-energy figcaption { font-weight: 650; margin-bottom: .6rem; color: var(--re-ink); }
.re-energy ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.re-energy li { display: flex; align-items: center; gap: .6rem; }
.re-energy li span { width: var(--w); background: var(--c); color: #fff; font-weight: 800; font-size: .8rem; padding: .22rem .6rem; border-radius: 3px 12px 12px 3px; opacity: .45; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.re-energy li.is-active span { opacity: 1; box-shadow: 0 0 0 2px var(--re-surface), 0 0 0 4px var(--c); }
.re-energy li b { font-size: .85rem; color: var(--re-ink); }
.re-energy-chip { display: inline-block; min-width: 2rem; text-align: center; padding: .15rem .4rem; border-radius: 4px; color: #fff; font-weight: 800; font-size: .8rem; background: #888; }
.re-energy-chip--Ap { background: #00804a; } .re-energy-chip--A { background: #1a9641; } .re-energy-chip--B { background: #52b151; } .re-energy-chip--C { background: #a6d96a; color: #1b2430; }
.re-energy-chip--D { background: #f4e94a; color: #1b2430; } .re-energy-chip--E { background: #fdae61; } .re-energy-chip--F { background: #f46d43; } .re-energy-chip--G { background: #d7191c; }

.re-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--re-radius); overflow: hidden; background: #000; }
.re-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.re-pano { height: 460px; border-radius: var(--re-radius); overflow: hidden; }
.re-pano__nav { display: flex; gap: .4rem; margin-top: .6rem; }
.re-pano__nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--re-line); background: var(--re-surface); cursor: pointer; font-weight: 700; }

.re-rating { display: inline-flex; align-items: center; gap: .4rem; color: var(--re-muted); font-size: .92rem; }
.re-rating b { color: var(--re-ink); }
.re-stars { --r: 0; position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.re-stars::before { content: "★★★★★"; color: #d9dee5; }
.re-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: var(--re-accent); }
.re-review { padding: 1.1rem 0; border-bottom: 1px solid var(--re-line); }
.re-review__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.re-review__head div { display: flex; flex-direction: column; margin-right: auto; line-height: 1.25; }
.re-review__head small { color: var(--re-muted); }
.re-review__title { font-size: 1rem; margin: 0 0 .3rem; }
.re-review p { margin: 0; }
.re-review-form { margin-top: 1rem; }
.re-review-form > summary { list-style: none; display: inline-flex; }
.re-review-form > summary::-webkit-details-marker { display: none; }
.re-review-form form { display: grid; gap: .75rem; margin-top: 1rem; max-width: 620px; }
.re-star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; border: 0; padding: 0; margin: 0; gap: .15rem; }
.re-star-input input { position: absolute; opacity: 0; }
.re-star-input label { font-size: 1.8rem; color: #d9dee5; cursor: pointer; transition: color .15s; }
.re-star-input input:checked ~ label, .re-star-input label:hover, .re-star-input label:hover ~ label { color: var(--re-accent); }
.re-avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--re-primary); color: #fff; font-weight: 700; flex: none; }
.re-avatar--sm { width: 36px; height: 36px; font-size: .9rem; }

/* contact sidebar */
.re-contact .re-agent { margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--re-line); }
.re-privacy { margin: .25rem 0 1rem; font-size: .82rem; color: var(--re-muted); }
.re-mortgage > summary, .re-report > summary { list-style: none; display: flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 700; color: var(--re-ink); }
.re-mortgage > summary::-webkit-details-marker, .re-report > summary::-webkit-details-marker { display: none; }
.re-mortgage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0; }
.re-mortgage__grid label span { display: block; font-size: .78rem; font-weight: 650; color: var(--re-muted); margin-bottom: .3rem; }
.re-mortgage__result { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; border-radius: var(--re-radius-sm); background: var(--re-primary-050); }
.re-mortgage__result strong { font-size: 1.35rem; color: var(--re-primary); }
.re-report { margin-top: 1rem; padding: 0 .25rem; }
.re-report > summary { font-weight: 600; font-size: .88rem; color: var(--re-muted); }
.re-report form { margin-top: 1rem; }
.re-company-mini { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-weight: 700; }
.re-company-mini img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; border: 1px solid var(--re-line); }
.re-similar { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--re-line); }
.re-mobile-cta { display: none; }

/* ---------- agents ---------- */
.re-agent { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.re-agent--card { flex-direction: column; text-align: center; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 1.6rem 1.25rem; transition: box-shadow .25s, transform .25s; }
.re-agent--card:hover { box-shadow: var(--re-shadow); transform: translateY(-2px); }
.re-agent__photo img, .re-agent__initials { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.re-agent--card .re-agent__photo img, .re-agent--card .re-agent__initials { width: 104px; height: 104px; }
.re-agent__initials { display: grid; place-items: center; background: linear-gradient(135deg, var(--re-primary), var(--re-accent)); color: #fff; font-weight: 700; font-size: 1.5rem; }
.re-agent__initials--xl { width: 180px !important; height: 180px !important; font-size: 3.5rem; }
.re-agent__body { flex: 1; min-width: 0; }
.re-agent__type { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--re-accent-600); }
.re-agent__name { font-size: 1.08rem; font-weight: 700; margin: .1rem 0 .25rem; }
.re-agent__name a { color: var(--re-ink) !important; }
.re-agent__company, .re-agent__lang, .re-agent__count { color: var(--re-muted); font-size: .86rem; margin: 0; display: flex; align-items: center; gap: .35rem; }
.re-agent--card .re-agent__company, .re-agent--card .re-agent__lang, .re-agent--card .re-agent__count { justify-content: center; }
.re-agent__contact { display: flex; gap: .4rem; flex-wrap: wrap; width: 100%; }
.re-agent--card .re-agent__contact { justify-content: center; margin-top: .4rem; }
.re-agent--sidebar .re-agent__contact .re-btn { flex: 1; }
.re-inline-search { display: flex; gap: .5rem; flex-wrap: wrap; }
.re-inline-search .re-input-icon { min-width: 260px; }
.re-profile { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, var(--re-primary-050), var(--re-surface)); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 2rem; margin-bottom: 2rem; }
.re-profile__photo img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; box-shadow: var(--re-shadow); border: 5px solid var(--re-surface); }
.re-profile__photo--logo { display: grid; place-items: center; width: 180px; height: 140px; background: var(--re-surface); border-radius: var(--re-radius); color: var(--re-primary); }
.re-profile__photo--logo img { width: auto; max-height: 120px; border-radius: 0; border: 0; box-shadow: none; object-fit: contain; }
.re-profile__body { flex: 1; min-width: 260px; }
.re-profile__position { color: var(--re-muted); margin: .3rem 0 0; font-size: 1.05rem; }
.re-profile__meta { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--re-text); }
.re-profile__meta li { display: flex; align-items: center; gap: .4rem; }
.re-profile__actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.re-social { font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--re-line); }
.re-company-card { background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 1.5rem; text-align: center; }
.re-company-card__logo { display: grid; place-items: center; height: 96px; margin-bottom: 1rem; color: var(--re-primary); }
.re-company-card__logo img { max-height: 96px; width: auto; object-fit: contain; }
.re-company-card h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.re-company-card__stats { display: flex; justify-content: center; gap: 1rem; font-size: .85rem; color: var(--re-muted); margin: .6rem 0 0; }

/* category tiles */
.re-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.re-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--re-radius); overflow: hidden; background: linear-gradient(135deg, var(--re-primary), var(--re-ink)); color: #fff !important; }
.re-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--re-ease); }
.re-tile:hover img { transform: scale(1.06); }
.re-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(14, 27, 44, .78)); }
.re-tile__icon { position: absolute; inset: 0; display: grid; place-items: center; opacity: .5; }
.re-tile__body { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; display: flex; flex-direction: column; }
.re-tile__body strong { font-size: 1.1rem; }
.re-tile__body small { opacity: .85; }

/* ---------- compare ---------- */
.re-compare__scroll { overflow-x: auto; border-radius: var(--re-radius); border: 1px solid var(--re-line); background: var(--re-surface); }
.re-compare__table { width: 100%; border-collapse: collapse; min-width: calc(200px + var(--cols) * 220px); }
.re-compare__table th, .re-compare__table td { padding: .8rem 1rem; border-bottom: 1px solid var(--re-line); text-align: left; vertical-align: middle; font-size: .92rem; }
.re-compare__table tbody th { color: var(--re-muted); font-weight: 600; width: 200px; background: var(--re-bg); position: sticky; left: 0; }
.re-compare__table thead th { vertical-align: top; background: var(--re-surface); }
.re-compare__card { position: relative; }
.re-compare__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.re-compare__card .re-icon-btn { position: absolute; top: .4rem; right: .4rem; width: 30px; height: 30px; }
.re-compare__title { display: block; margin-top: .5rem; font-weight: 700; color: var(--re-ink) !important; }
.re-compare__group th { background: var(--re-primary-050) !important; color: var(--re-primary) !important; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.re-compare__check .is-yes { color: var(--re-success); }
.re-compare__check .is-no { color: #c5ccd5; }

/* ---------- account ---------- */
.re-account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.re-account-nav { position: sticky; top: calc(var(--re-header-offset) + 1rem); background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 1.1rem; display: grid; gap: 1rem; }
.re-account-nav__user { display: flex; gap: .75rem; align-items: center; min-width: 0; }
.re-account-nav__user div { display: flex; flex-direction: column; min-width: 0; }
.re-account-nav__user small { color: var(--re-muted); overflow: hidden; text-overflow: ellipsis; }
.re-account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.re-account-nav a { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 10px; color: var(--re-text) !important; font-weight: 550; }
.re-account-nav a:hover { background: var(--re-bg); }
.re-account-nav a.is-active { background: var(--re-primary-050); color: var(--re-primary) !important; font-weight: 700; }
.re-account-nav .re-btn--primary { color: #fff !important; }
.re-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; margin-bottom: 1.5rem; }
.re-kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 1rem; }
.re-kpi .re-icon { grid-row: span 2; color: var(--re-primary); }
.re-kpi strong { font-size: 1.4rem; color: var(--re-ink); line-height: 1.1; }
.re-kpi span { font-size: .8rem; color: var(--re-muted); }
.re-mylist { display: grid; gap: 1rem; }
.re-mylist__item { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: .8rem; }
.re-mylist__img img { width: 180px; height: 120px; object-fit: cover; border-radius: 10px; }
.re-mylist__top { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.re-mylist__body h3 { font-size: 1.02rem; margin: .35rem 0 .15rem; }
.re-mylist__body h3 a { color: var(--re-ink) !important; }
.re-mylist__body p { margin: 0; }
.re-mylist__price { font-weight: 750; color: var(--re-ink); margin: .3rem 0; }
.re-mylist__stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--re-muted); }
.re-mylist__stats li { display: flex; align-items: center; gap: .3rem; }
.re-mylist__actions { display: flex; flex-direction: column; gap: .4rem; align-items: stretch; padding-right: .4rem; }
.re-dropdown { position: relative; }
.re-dropdown > summary { list-style: none; width: 100%; }
.re-dropdown > summary::-webkit-details-marker { display: none; }
.re-dropdown__menu { position: absolute; right: 0; top: calc(100% + .3rem); z-index: 30; min-width: 220px; display: flex; flex-direction: column; padding: .35rem; border-radius: 12px; background: var(--re-surface); border: 1px solid var(--re-line); box-shadow: var(--re-shadow-lg); }
.re-dropdown__menu a { padding: .5rem .7rem; border-radius: 8px; color: var(--re-ink) !important; font-size: .9rem; }
.re-dropdown__menu a:hover { background: var(--re-bg); }
.re-dropdown__menu a.is-danger { color: var(--re-danger) !important; }
.re-leads { display: grid; gap: .6rem; }
.re-lead { background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); }
.re-lead.is-new { border-left: 4px solid var(--re-accent); }
.re-lead > summary { list-style: none; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; cursor: pointer; }
.re-lead > summary::-webkit-details-marker { display: none; }
.re-lead__who { display: flex; flex-direction: column; margin-right: auto; min-width: 0; }
.re-lead__who small { color: var(--re-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-lead__body { padding: 0 1.1rem 1.1rem 4.1rem; }
.re-lead__actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.re-searches { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.re-search-item { display: flex; align-items: center; gap: 1rem; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: .85rem 1rem; }
.re-search-item > div { margin-right: auto; display: flex; flex-direction: column; }
.re-search-item__title { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.re-table-wrap { overflow-x: auto; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); }
.re-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.re-table th, .re-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--re-line); text-align: left; }
.re-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--re-muted); background: var(--re-bg); }
.re-profile-edit__photo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.re-profile-edit__photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--re-bg); }

/* ---------- submission ---------- */
.re-submit__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2rem; align-items: start; }
.re-steps { position: sticky; top: calc(var(--re-header-offset) + 1rem); }
.re-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.re-steps a { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 10px; color: var(--re-muted) !important; font-weight: 600; font-size: .92rem; }
.re-steps a.is-active, .re-steps a:hover { background: var(--re-surface); color: var(--re-ink) !important; box-shadow: var(--re-shadow-sm); }
.re-steps__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--re-line); color: var(--re-ink); font-size: .78rem; font-weight: 700; }
.re-steps a.is-active .re-steps__num { background: var(--re-primary); color: #fff; }
.re-step { margin-bottom: 1.25rem; scroll-margin-top: calc(var(--re-header-offset) + 1rem); }
.re-step__title { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; margin: 0 0 1.1rem; color: var(--re-ink); }
.re-step__title .re-icon { color: var(--re-primary); }
.re-submit__bar { position: sticky; bottom: 0; z-index: 50; display: flex; justify-content: flex-end; gap: .6rem; padding: 1rem; margin-top: 1rem; background: color-mix(in srgb, var(--re-surface) 92%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--re-line); border-radius: var(--re-radius); box-shadow: var(--re-shadow); }
.re-submit .re-mappicker { margin: .5rem 0 1rem; border: 1px solid var(--re-line); border-radius: var(--re-radius); overflow: hidden; }
.re-submit .re-mappicker__bar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: .6rem .8rem; border-bottom: 1px solid var(--re-line); font-size: .85rem; color: var(--re-muted); }
.re-submit .re-mappicker__map { height: 380px; }
.re-form-grid--coords { grid-template-columns: 1fr 1fr; }
/* shared manager styles for frontend */
.re .re-amenity-group { border: 1px solid var(--re-line); border-radius: var(--re-radius-sm); padding: .9rem 1.1rem; margin: 0 0 1rem; }
.re .re-amenity-group legend { float: none; width: auto; font-size: .95rem; font-weight: 700; padding: 0 .35rem; margin: 0; }
.re .re-amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .3rem 1rem; }
.re .re-check { display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .3rem; border-radius: 6px; font-size: .92rem; }
.re .re-check input { width: 18px; height: 18px; accent-color: var(--re-primary); }
.re .re-dropzone { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; padding: 2.25rem 1rem; border: 2px dashed var(--re-line); border-radius: var(--re-radius); cursor: pointer; position: relative; transition: all .2s; background: var(--re-bg); }
.re .re-dropzone:hover, .re .re-dropzone.is-dragover { border-color: var(--re-primary); background: var(--re-primary-050); }
.re .re-dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.re .re-dropzone__icon { color: var(--re-primary); }
.re .re-dropzone__hint { color: var(--re-muted); font-size: .85rem; }
.re .re-dropzone__progress { width: min(320px, 80%); height: 6px; background: var(--re-line); border-radius: 3px; overflow: hidden; }
.re .re-dropzone__progress span { display: block; height: 100%; width: 0; background: var(--re-primary); transition: width .2s; }
.re .re-gallery-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; }
.re .re-gallery-item { position: relative; border: 1px solid var(--re-line); border-radius: 10px; overflow: hidden; background: var(--re-surface); cursor: grab; }
.re .re-gallery-item.is-dragging { opacity: .5; }
.re .re-gallery-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.re .re-gallery-item__title { width: 100%; border: 0; border-top: 1px solid var(--re-line); padding: .4rem .55rem; font-size: .8rem; }
.re .re-gallery-item__actions { position: absolute; top: .4rem; right: .4rem; display: flex; gap: .3rem; }
.re .re-gallery-item__btn { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .94); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.re .re-gallery-item.is-panorama .js-re-pano { background: var(--re-accent); }
.re .re-gallery-item__badge { position: absolute; left: .4rem; top: .4rem; background: var(--re-primary); color: #fff; font-size: .7rem; font-weight: 700; padding: .15rem .45rem; border-radius: 5px; display: none; }
.re .re-gallery-list .re-gallery-item:first-child .re-gallery-item__badge { display: inline-block; }
.re .re-gallery-help { color: var(--re-muted); font-size: .85rem; margin-top: .75rem; }

/* ---------- plans ---------- */
.re-plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; align-items: stretch; }
.re-plan { position: relative; display: flex; flex-direction: column; gap: .6rem; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: calc(var(--re-radius) + 4px); padding: 1.75rem 1.5rem 1.5rem; }
.re-plan.is-highlight { border: 2px solid var(--re-accent); box-shadow: var(--re-shadow-lg); transform: translateY(-6px); }
.re-plan__ribbon { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--re-accent); color: var(--re-ink); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.re-plan__type { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--re-muted); }
.re-plan__title { font-size: 1.25rem; margin: 0; color: var(--re-ink); }
.re-plan__price { font-size: 2.1rem; font-weight: 800; color: var(--re-ink); letter-spacing: -.02em; }
.re-plan__desc { color: var(--re-muted); margin: 0; }
.re-plan__features { list-style: none; padding: 0; margin: .25rem 0 auto; display: grid; gap: .45rem; }
.re-plan__features li { display: flex; gap: .5rem; align-items: center; }
.re-plan__features .re-icon { color: var(--re-success); }
.re-plan__gateways { border: 0; padding: 0; margin: .75rem 0 .25rem; display: grid; gap: .4rem; }
.re-radio-card { position: relative; cursor: pointer; }
.re-radio-card span { display: block; padding: .6rem .8rem; border: 1px solid var(--re-line); border-radius: 10px; font-weight: 600; font-size: .9rem; }
.re-radio-card input:checked + span { border-color: var(--re-primary); background: var(--re-primary-050); color: var(--re-primary); }
.re-plans__secure { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 1.5rem; }
.re-confirm { max-width: 640px; margin: 2rem auto; text-align: center; padding: 2.5rem; }
.re-confirm__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e7f5ee; color: var(--re-success); margin-bottom: 1rem; }
.re-confirm__instructions { text-align: left; background: var(--re-bg); border-radius: var(--re-radius-sm); padding: 1rem 1.25rem; margin: 1.25rem 0; }

/* ---------- lightbox / modal / toast ---------- */
.re-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(8, 14, 23, .94); display: flex; align-items: center; justify-content: center; animation: re-fade .2s; }
.re-lightbox figure { margin: 0; max-width: min(92vw, 1600px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.re-lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; }
.re-lightbox figcaption { display: flex; justify-content: space-between; gap: 1rem; width: 100%; color: #cfd6df; font-size: .9rem; padding: .75rem .25rem 0; }
.re-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.re-lightbox button:hover { background: rgba(255, 255, 255, .22); }
.re-lightbox__close { top: 1.25rem; right: 1.25rem; }
.re-lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.re-lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.re-modal { position: fixed; inset: 0; z-index: 10001; background: rgba(8, 14, 23, .55); display: grid; place-items: center; padding: 1rem; animation: re-fade .15s; }
.re-modal__box { width: min(440px, 100%); background: var(--re-surface); border-radius: var(--re-radius); padding: 1.5rem; box-shadow: var(--re-shadow-lg); }
.re-modal__box h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.re-modal__body { display: grid; gap: .5rem; }
.re-modal__foot { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.25rem; }
.re-toasts { position: fixed; z-index: 10002; right: 1.25rem; bottom: 1.25rem; display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 2.5rem)); }
.re-toast { padding: .85rem 1.1rem; border-radius: 12px; background: var(--re-ink); color: #fff; box-shadow: var(--re-shadow-lg); font-size: .92rem; font-weight: 500; transform: translateY(12px); opacity: 0; transition: all .3s var(--re-ease); border-left: 4px solid var(--re-success); }
.re-toast.is-visible { transform: none; opacity: 1; }
.re-toast--error { border-left-color: #f26b5b; }
.re-toast--info { border-left-color: var(--re-accent); }
@keyframes re-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .re-grid--4 { --cols: 3; }
  .re-property__layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 2rem; }
  .re-mapsearch { grid-template-columns: minmax(340px, 52%) 1fr; }
}
@media (max-width: 991px) {
  .re-grid--3, .re-grid--4 { --cols: 2; }
  .re-layout.has-sidebar { grid-template-columns: 1fr; }
  .re-toolbar__filters { display: inline-flex; }
  .re-offcanvas { position: fixed; inset: 0; z-index: 9000; background: rgba(8, 14, 23, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; max-height: none; overflow: visible; top: 0 !important; }
  .re-offcanvas .re-filters { position: absolute; left: 0; top: 0; bottom: 0; width: min(380px, 92vw); border-radius: 0 var(--re-radius) var(--re-radius) 0; overflow: auto; transform: translateX(-100%); transition: transform .3s var(--re-ease); }
  .re-offcanvas.is-open { opacity: 1; visibility: visible; }
  .re-offcanvas.is-open .re-filters { transform: none; }
  .re-filters__close { display: inline-grid; }
  .re-property__layout { grid-template-columns: 1fr; }
  .re-property__aside .re-sticky { position: static; }
  .re-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 460px; }
  .re-gallery__main { grid-column: span 2; grid-row: auto; }
  .re-gallery__tile:nth-of-type(n + 4) { display: none; }
  .is-map-mode .re-results-split { grid-template-columns: 1fr; }
  .is-map-mode .re-results-map { position: relative; top: 0; order: -1; }
  .is-map-mode .re-map--results { height: 55vh; }
  .re-mapsearch { grid-template-columns: 1fr; grid-template-rows: 45vh auto; height: auto; }
  .re-mapsearch__map { order: -1; height: 45vh; }
  .re-account, .re-submit__layout { grid-template-columns: 1fr; }
  .re-account-nav, .re-steps { position: static; }
  .re-steps ol { display: flex; overflow-x: auto; gap: .4rem; padding-bottom: .4rem; }
  .re-steps a { white-space: nowrap; }
  .re-mylist__item { grid-template-columns: 120px minmax(0, 1fr); }
  .re-mylist__img img { width: 120px; height: 90px; }
  .re-mylist__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .re-mobile-cta { position: fixed; z-index: 800; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--re-surface); border-top: 1px solid var(--re-line); box-shadow: 0 -8px 24px rgba(14, 27, 44, .08); font-weight: 800; color: var(--re-ink); }
  .re-property { padding-bottom: 4.5rem; }
  .re-property .re-compare-bar { bottom: 5rem; }
}
@media (max-width: 640px) {
  .re-grid, .re-grid--2, .re-grid--3, .re-grid--4 { --cols: 1; }
  .re-card--list { flex-direction: column; }
  .re-card--list .re-card__media { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
  .re-property__pricebox { text-align: left; align-items: flex-start; }
  .re-property__tools { justify-content: flex-start; }
  .re-property__tools .re-action span { display: none; }
  .re-gallery { height: 300px; grid-template-columns: 1fr; grid-template-rows: 1fr; border-radius: var(--re-radius-sm); }
  .re-gallery__tile { display: none; }
  .re-gallery__main { grid-column: auto; }
  .re-details { grid-template-columns: 1fr; }
  .re-checklist { grid-template-columns: 1fr; }
  .re-toolbar { flex-direction: column; align-items: stretch; }
  .re-toolbar__tools { justify-content: space-between; }
  .js-re-savesearch span { display: none; }
  .re-profile { padding: 1.25rem; }
  .re-profile__photo img { width: 120px; height: 120px; }
  .re-lead__body { padding-left: 1.1rem; }
  .re-map-tools--floating { left: .75rem; right: .75rem; transform: none; border-radius: 14px; white-space: normal; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .re *, .re-toast, .re-lightbox { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Modules
   ========================================================================== */
/* hero search */
.re-hero-search { max-width: 1080px; margin: 0 auto; }
.re-hero-search__title { font-family: var(--re-font-display); color: #fff; text-align: center; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1.5rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.re-hero-search__tabs { display: flex; gap: .3rem; margin: 0 0 -1px 1.25rem; }
.re-hero-search__tabs label { position: relative; cursor: pointer; }
.re-hero-search__tabs input { position: absolute; opacity: 0; }
.re-hero-search__tabs span { display: block; padding: .65rem 1.2rem; border-radius: 12px 12px 0 0; background: rgba(255, 255, 255, .72); color: var(--re-ink); font-weight: 700; font-size: .9rem; backdrop-filter: blur(6px); }
.re-hero-search__tabs input:checked + span { background: var(--re-surface); }
.re-hero-search__tabs input:focus-visible + span { outline: 3px solid var(--re-accent); }
.re-hero-search__bar { display: flex; align-items: flex-end; gap: .75rem; padding: 1rem; background: var(--re-surface); border-radius: 18px; box-shadow: var(--re-shadow-lg); }
.re-hero-search__field { display: flex; flex-direction: column; gap: .3rem; min-width: 150px; flex: 0 1 190px; }
.re-hero-search__field--grow { flex: 1 1 300px; }
.re-hero-search__field--sm { flex-basis: 120px; min-width: 110px; }
.re-hero-search__field label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--re-muted); padding-left: .2rem; }
.re-hero-search__field .re-input, .re-hero-search__field .re-select { border-color: transparent; background-color: var(--re-bg); min-height: 50px; }
.re-hero-search__submit { min-height: 50px; padding-inline: 1.6rem; border-radius: 14px; }
@media (max-width: 860px) {
  .re-hero-search__bar { flex-direction: column; align-items: stretch; }
  .re-hero-search__field { flex: 1 1 auto; }
  .re-hero-search__tabs { margin-left: .5rem; overflow-x: auto; }
}

/* carousel */
.re-carousel { position: relative; }
.re-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 1.5rem) / var(--per)); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .1rem 1rem; scrollbar-width: none; }
.re-carousel__track::-webkit-scrollbar { display: none; }
.re-carousel__slide { scroll-snap-align: start; min-width: 0; display: flex; }
.re-carousel__slide > * { width: 100%; }
.re-carousel__nav { display: flex; align-items: center; gap: .5rem; }
.re-carousel__nav .re-link { margin-left: auto; }
@media (max-width: 991px) { .re-carousel { --per: 2 !important; } }
@media (max-width: 640px) { .re-carousel { --per: 1.15 !important; } }

/* slideshow */
.re-slideshow { position: relative; height: clamp(420px, 70vh, 760px); overflow: hidden; background: var(--re-ink); border-radius: var(--re-radius); }
.re-slideshow__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--re-ease); }
.re-slideshow__slide.is-active { opacity: 1; z-index: 1; }
.re-slideshow__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.re-slideshow__slide.is-active img { transform: scale(1); }
.re-slideshow__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 27, 44, .78) 0%, rgba(14, 27, 44, .25) 55%, transparent); }
.re-slideshow__caption { position: absolute; z-index: 2; left: clamp(1.25rem, 6vw, 5rem); bottom: clamp(2rem, 9vh, 5rem); max-width: 560px; color: #fff; display: grid; gap: .7rem; justify-items: start; }
.re-slideshow__caption h2 { font-family: var(--re-font-display); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.re-slideshow__caption h2 a { color: #fff !important; }
.re-slideshow__caption p { margin: 0; display: flex; align-items: center; gap: .4rem; opacity: .9; }
.re-slideshow__meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.re-slideshow__meta strong { font-size: 1.5rem; }
.re-slideshow__meta .re-price-period { color: rgba(255, 255, 255, .75); }
.re-slideshow__meta span { display: inline-flex; align-items: center; gap: .35rem; opacity: .9; }
.re-slideshow__dots { position: absolute; z-index: 3; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; gap: .45rem; }
.re-slideshow__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; transition: all .3s; }
.re-slideshow__dots button.is-active { width: 28px; border-radius: 5px; background: var(--re-accent); }
.re-slideshow__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(14, 27, 44, .25); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.re-slideshow__arrow:hover { background: rgba(14, 27, 44, .5); }
.re-slideshow__arrow--prev { left: 1.25rem; }
.re-slideshow__arrow--next { right: 1.25rem; }

/* lists */
.re-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.re-mini-list a { display: flex; gap: .8rem; align-items: center; color: var(--re-text) !important; }
.re-mini-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.re-mini-list span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.re-mini-list strong { font-size: .92rem; color: var(--re-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-mini-list small { color: var(--re-muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-mini-list b { font-size: .92rem; color: var(--re-primary); margin-top: .15rem; }
.re-loc-list { list-style: none; margin: 0; padding: 0; columns: 2 200px; column-gap: 1.5rem; }
.re-loc-list li { break-inside: avoid; }
.re-loc-list a { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--re-line); color: var(--re-text) !important; }
.re-loc-list a:hover span { color: var(--re-primary); }
.re-loc-list b { font-size: .8rem; color: var(--re-muted); background: var(--re-bg); border-radius: 999px; padding: .05rem .55rem; font-weight: 700; }
.re-tiles--mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.re-tiles--mosaic .re-tile { aspect-ratio: auto; }
.re-tile--big { grid-column: span 2; grid-row: span 2; }
.re-tile--big .re-tile__body strong { font-size: 1.6rem; }
@media (max-width: 991px) { .re-tiles--mosaic { grid-template-columns: repeat(2, 1fr); } }
.re-mod-more { text-align: center; margin: 1.75rem 0 0; }
.re-search-module .re-filters { box-shadow: none; }

/* ------------------------------------------------------------ overview page */
.re-overview { display: flex; flex-direction: column; gap: 2.75rem; }
.re-ov-intro { max-width: 760px; }
.re-ov-intro__text { margin-top: .75rem; color: var(--re-muted); font-size: 1.05rem; line-height: 1.65; }
.re-ov-intro__text > :last-child { margin-bottom: 0; }
.re-ov-search { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; padding: .85rem; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: calc(var(--re-radius) + 4px); box-shadow: 0 18px 40px -24px rgba(14, 27, 44, .35); margin-top: -1rem; }
.re-ov-search .re-input, .re-ov-search .re-select { height: 3rem; }
.re-ov-search .re-btn { height: 3rem; padding-inline: 1.5rem; }
.re-ov-search__kind { min-width: 190px; }
.re-ov-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.re-ov-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; padding: 1.15rem 1.25rem; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); }
.re-ov-stat .re-icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 50%; background: var(--re-primary-050); color: var(--re-primary); box-sizing: border-box; }
.re-ov-stat strong { font-family: var(--re-font-display); font-size: 1.6rem; line-height: 1.1; color: var(--re-ink); letter-spacing: -.01em; }
.re-ov-stat span { font-size: .82rem; color: var(--re-muted); text-transform: uppercase; letter-spacing: .06em; }
.re-ov-section { display: flex; flex-direction: column; gap: 1.25rem; }
.re-ov-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: .9rem; border-bottom: 1px solid var(--re-line); }
.re-ov-head__title { position: relative; margin: 0; font-family: var(--re-font-display); font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem); font-weight: 700; letter-spacing: -.01em; color: var(--re-ink); }
.re-ov-head__title::before { content: ""; display: inline-block; width: .3rem; height: .95em; margin-right: .65rem; border-radius: 3px; background: var(--re-accent); vertical-align: -.08em; }
.re-ov-head__sub { margin: .3rem 0 0; color: var(--re-muted); font-size: .95rem; }
.re-ov-empty { display: flex; align-items: center; gap: .6rem; padding: 2rem; border: 1px dashed var(--re-line); border-radius: var(--re-radius); color: var(--re-muted); }
.re-card__rating { display: flex; align-items: center; gap: .3rem; margin: -.15rem 0 .35rem; font-size: .85rem; color: var(--re-muted); }
.re-card__rating .re-icon { color: var(--re-accent); fill: currentColor; }
.re-card__rating strong { color: var(--re-ink); }
@media (max-width: 991px) {
  .re-ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .re-ov-search { grid-template-columns: 1fr; margin-top: 0; }
  .re-ov-search__kind { min-width: 0; }
  .re-ov-head .re-btn { width: 100%; justify-content: center; }
}
