:root {
  /* Cuban flag palette (softened) */
  --cre-teal: #1e408c;
  --cre-teal-dark: #152d6e;
  --cre-teal-hover: #122656;
  --cre-sand: #d92d27;
  --cre-ink: #141c26;
  --cre-muted: #4a5564;
  --cre-bg: #ffffff;
  --cre-surface: #ffffff;
  --cre-nav-h: 64px;
  --cre-flag-red: #d92d27;
  --cre-nav-hover: var(--cre-teal-dark);
  --cre-font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cre-font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --cre-content-max: 1320px;
  --cre-content-width: 92%;
}

html {
  background: var(--cre-bg);
  font-size: 106.25%;
}

body {
  font-family: var(--cre-font);
  font-size: 1rem;
  line-height: 1.58;
  letter-spacing: 0.02em;
  color: var(--cre-ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cre-font-display);
  font-weight: 700;
  color: var(--cre-ink);
  letter-spacing: 0.01em;
}

p, .flow-text {
  color: #2a3542;
}

.grey-text.text-darken-2,
.grey-text.text-darken-3,
.grey-text.text-darken-4 {
  color: var(--cre-muted) !important;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

/* Fixed Cuban-flag motif — entire public site (viewport-fixed, does not scroll) */
.cre-flag-bg {
  position: fixed;
  top: var(--cre-nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cre-flag-bg__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cre-flag-bg__triangle {
  fill: var(--cre-flag-red);
  fill-opacity: 0.09;
}

.cre-flag-bg__wash {
  fill: url(#cre-flag-wash);
}

/* Regular pentagram — same visual scale as original (~11% of flag area height), uniform on all axes */
.cre-flag-bg__star {
  --cre-flag-star-size: clamp(
    3.85rem,
    calc((100vh - var(--cre-nav-h)) * 0.249),
    11.55rem
  );
  position: absolute;
  left: 16.6667%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--cre-flag-star-size);
  height: var(--cre-flag-star-size);
  fill: #ffffff;
  fill-opacity: 0.92;
  pointer-events: none;
}

body.cre-admin-body .cre-flag-bg {
  display: none;
}

@media only screen and (max-width: 600px) {
  :root {
    --cre-nav-h: 56px;
  }

  .cre-flag-bg__star {
    fill-opacity: 0.82;
  }
}

@media only screen and (min-width: 1600px) {
  .cre-flag-bg__triangle {
    fill-opacity: 0.08;
  }
}

a {
  color: var(--cre-teal);
}

/* Navbar — Materialize styles bare `nav`; reset breadcrumb separately below */
.cre-oauth-email-banner {
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  color: #5d4037;
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.5rem 0;
}

.cre-oauth-email-banner p {
  margin: 0;
}

.cre-nav {
  position: relative;
  z-index: 1200;
  background: var(--cre-teal);
  box-shadow: 0 2px 6px rgba(36, 74, 165, 0.18);
  min-height: var(--cre-nav-h);
}

.cre-nav .nav-wrapper,
.cre-nav .nav-wrapper.cre-nav-inner,
.cre-nav .cre-nav-inner {
  min-height: var(--cre-nav-h);
  box-sizing: border-box;
}

.cre-nav .nav-wrapper.cre-nav-inner,
.cre-nav .cre-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1rem 0 0.35rem;
}

@media only screen and (min-width: 601px) {
  .cre-nav .nav-wrapper.cre-nav-inner,
  .cre-nav .cre-nav-inner {
    padding-left: 0.4rem;
  }
}

.cre-nav .brand-logo,
.cre-nav .cre-nav-brand {
  position: relative;
  left: auto;
  transform: none;
  flex: 0 1 auto;
  max-width: min(280px, calc(100vw - 4.5rem));
  font-weight: 700;
  font-size: 1.28rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-width: 0;
  padding-left: 0.15rem;
}

.cre-nav-brand-text,
.cre-nav .cre-site-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .cre-nav .cre-nav-brand {
    font-size: 0.92rem;
    max-width: calc(100vw - 4.25rem);
  }

  .cre-brand-icon {
    width: 1.65rem;
    height: 1.65rem;
    flex-shrink: 0;
  }
}

@media only screen and (max-width: 992px) {
  .cre-nav .nav-wrapper.cre-nav-inner,
  .cre-nav .cre-nav-inner {
    justify-content: flex-start;
    padding: 0 0.35rem 0 0.35rem;
    align-items: center;
    height: var(--cre-nav-h);
    min-height: var(--cre-nav-h);
  }

  .cre-nav .cre-nav-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.25rem);
    align-self: center;
  }

  .cre-nav .cre-nav-mobile-menu.sidenav-trigger {
    flex: 0 0 auto;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
    order: 2;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center;
    width: 3rem;
    height: var(--cre-nav-h) !important;
    min-height: var(--cre-nav-h);
    line-height: 1 !important;
    padding: 0 0.15rem 0 0 !important;
    color: #fff;
  }

  .cre-nav .cre-nav-mobile-menu.sidenav-trigger:hover,
  .cre-nav .cre-nav-mobile-menu.sidenav-trigger:focus {
    background: var(--cre-teal-hover);
    border-radius: 8px;
  }

  /* Materialize sets height/line-height on the icon — taller than our tap target and sits flush to the top */
  .cre-nav .cre-nav-mobile-menu.sidenav-trigger i,
  .cre-nav .cre-nav-mobile-menu.sidenav-trigger i.material-icons,
  .cre-nav .cre-nav-mobile-menu.sidenav-trigger .material-icons {
    height: auto !important;
    line-height: 1 !important;
    font-size: 1.65rem;
    display: block;
    margin: 0;
  }
}

.cre-nav .cre-nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  float: none;
  max-width: 100%;
  min-width: 0;
  gap: 0.1rem;
}

.cre-nav .cre-nav-links > li {
  float: none;
  flex: 0 0 auto;
}

.cre-nav-spacer {
  flex: 1 1 auto;
  min-width: 0;
  pointer-events: none;
}

.cre-nav-dropdown,
.cre-nav-text-link,
.cre-nav-alerts,
.cre-nav-user {
  display: inline-flex !important;
  align-items: center;
  gap: 0.1rem;
  white-space: nowrap;
  padding: 0 15px !important;
  height: 64px;
  line-height: 64px;
  font-size: 1.02rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.cre-nav .cre-nav-links > li > a.cre-nav-dropdown:hover,
.cre-nav .cre-nav-links > li > a.cre-nav-dropdown:focus,
.cre-nav .cre-nav-links > li > a.cre-nav-text-link:hover,
.cre-nav .cre-nav-links > li > a.cre-nav-text-link:focus,
.cre-nav .cre-nav-links > li > a.cre-nav-alerts:hover,
.cre-nav .cre-nav-links > li > a.cre-nav-alerts:focus,
.cre-nav .cre-nav-links > li > a.cre-nav-user:hover,
.cre-nav .cre-nav-links > li > a.cre-nav-user:focus {
  background: var(--cre-teal-hover) !important;
  color: #fff !important;
}

.cre-nav .cre-nav-links > li > a.cre-nav-dropdown:hover .material-icons,
.cre-nav .cre-nav-links > li > a.cre-nav-user:hover .material-icons {
  color: #fff !important;
}

.cre-nav-alerts {
  position: relative;
  padding: 0 12px !important;
}

.cre-nav-alert-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: block;
  position: relative;
  top: 2px;
}

.cre-nav-dropdown .material-icons,
.cre-nav-user-caret {
  font-size: 1.2rem;
  margin: 0;
}

.cre-nav-alerts:hover {
  background: var(--cre-nav-hover) !important;
}

.cre-nav-badge {
  position: absolute;
  top: 14px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--cre-sand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

.cre-nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cre-sand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.cre-nav-user {
  gap: 0.15rem !important;
}

.cre-nav-dropdown-menu,
.cre-user-menu,
.dropdown-content {
  z-index: 1300 !important;
  background-color: #fff !important;
  border: 1px solid #e3e8ec;
  box-shadow: 0 10px 28px rgba(27, 36, 48, 0.14);
}

.cre-nav-dropdown-menu {
  min-width: 210px;
  border-radius: 10px;
  overflow: hidden;
}

.cre-nav-dropdown-menu li,
.dropdown-content li {
  background: #fff !important;
  min-height: 0;
}

.cre-nav-dropdown-menu li > a,
.dropdown-content li > a {
  color: var(--cre-ink);
  padding: 0.65rem 1rem;
  background: #fff !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.cre-nav-dropdown-menu li > a:hover,
.cre-nav-dropdown-menu li > a:focus,
.dropdown-content li > a:hover,
.dropdown-content li > a:focus {
  background: var(--cre-teal-dark) !important;
  color: #fff !important;
}

.cre-nav-dropdown-menu li > a:hover .material-icons,
.dropdown-content li > a:hover .material-icons {
  color: #fff !important;
}

.dropdown-content li.divider,
.cre-nav-dropdown-menu li.divider {
  background: #e3e8ec !important;
  margin: 0;
}

.dropdown-content li,
.dropdown-content li.active,
.dropdown-content li.selected,
.cre-nav-dropdown-menu li.active,
.cre-nav-dropdown-menu li.selected {
  background: #fff !important;
}

.cre-user-menu {
  min-width: 260px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff !important;
}

.cre-user-menu-header {
  padding: 0.85rem 1rem 0.55rem;
  pointer-events: none;
  background: var(--cre-bg) !important;
}

.cre-user-menu-email {
  display: block;
  font-size: 0.82rem;
  color: var(--cre-muted);
  word-break: break-all;
  line-height: 1.35;
}

.cre-user-menu li > a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cre-ink);
  padding: 0.65rem 1rem;
  background: #fff !important;
}

.cre-user-menu li > a:hover,
.cre-user-menu li > a:focus {
  background: var(--cre-teal-dark) !important;
  color: #fff !important;
}

.cre-user-menu li > a:hover .material-icons,
.cre-user-menu li > a:focus .material-icons {
  color: #fff !important;
}

.cre-nav-currency-panel {
  min-width: 300px;
  max-width: 340px;
  padding: 0.35rem 0 0.25rem;
}

.cre-nav-currency-panel .cre-currency-panel__title {
  padding: 0.65rem 1rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cre-muted);
  pointer-events: none;
}

.cre-nav-currency-panel .cre-currency-panel__section {
  padding: 0.35rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
}

.cre-nav-currency-panel .cre-currency-panel__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cre-ink);
}

.cre-nav-currency-panel .cre-currency-panel__rate {
  font-size: 0.85rem;
  line-height: 1.35;
}

.cre-nav-currency-panel .cre-currency-panel__meta {
  padding: 0.25rem 1rem 0.45rem;
  font-size: 0.72rem;
  line-height: 1.35;
  pointer-events: none;
}

.cre-sidenav-prefs a {
  font-size: 0.92rem;
  font-weight: 500;
}

.cre-user-menu li > a .material-icons {
  font-size: 1.2rem;
  color: var(--cre-teal-dark);
}

.cre-user-menu-logout-form {
  margin: 0;
  width: 100%;
}

.cre-user-menu-logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: none;
  border: none;
  color: var(--cre-flag-red);
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}

.cre-user-menu-logout .material-icons {
  font-size: 1.2rem;
  transition: color 0.18s ease;
}

.cre-user-menu-logout:hover,
.cre-user-menu-logout:focus {
  background: var(--cre-teal-dark) !important;
  color: #fff !important;
}

.cre-user-menu-logout:hover .material-icons,
.cre-user-menu-logout:focus .material-icons {
  color: #fff !important;
}

.cre-nav .brand-logo {
  font-weight: 700;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
}

.cre-brand-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
}

.cre-brand-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cre-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none !important;
  color: inherit;
  max-width: 100%;
  min-width: 0;
}

.cre-site-brand-text {
  line-height: 1.15;
  min-width: 0;
}

/* Legacy badge — unused after house icon */
.cre-brand-mark {
  display: none;
}

.cre-nav ul a {
  font-weight: 500;
}

.cre-badge.new {
  background: #e53935;
}

.cre-linkbtn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  height: 64px;
  padding: 0 15px;
  text-transform: none;
}

.cre-logout {
  margin: 0;
  display: inline;
}

.cre-btn-accent {
  background: var(--cre-sand) !important;
  color: #fff !important;
}

/* Buttons: teal theme */
.btn, .btn-small, .btn-large {
  background-color: var(--cre-teal);
  color: #fff !important;
}

.btn:hover, .btn-small:hover, .btn-large:hover {
  background-color: var(--cre-teal-hover);
}

.btn-flat {
  color: var(--cre-teal-dark);
}

.cre-btn-warning {
  background-color: var(--cre-sand) !important;
  color: #fff !important;
}

/* Admin backoffice section nav (plain links — not Materialize tabs) */
.cre-admin-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cre-admin-nav-links a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  border: 1px solid #cfd8dc;
  color: var(--cre-ink);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cre-admin-nav-links a:hover {
  background: #e8f3ef;
  border-color: var(--cre-teal);
}

.cre-admin-nav-links a.active {
  background: var(--cre-teal);
  border-color: var(--cre-teal);
  color: #fff;
}

.cre-admin-stat-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cre-admin-stat-card:hover .card {
  box-shadow: 0 4px 12px rgba(36, 74, 165, 0.22);
}

.cre-admin-stat-card .card-title {
  color: var(--cre-teal-dark);
  font-weight: 700;
}

/* Text helpers */
.cre-price {
  color: var(--cre-teal);
  font-weight: 700;
}

.cre-muted {
  color: var(--cre-muted);
}

/* Hero */
.cre-hero {
  background: linear-gradient(135deg, var(--cre-teal) 0%, var(--cre-teal-dark) 60%, #162e6e 100%);
  color: #fff;
  padding: 3rem 0 4rem;
}

.cre-hero-scenic {
  position: relative;
  overflow: hidden;
  background: var(--cre-teal-dark);
  min-height: 22rem;
}

/* ── Scenic backdrop (home collage + province full-page) ── */
.cre-scenic-backdrop {
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.cre-scenic-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.cre-scenic-backdrop--hero {
  position: absolute;
  inset: 0;
}

.cre-scenic-backdrop-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Paper grain — keeps photos readable with a printed-page feel */
.cre-scenic-backdrop-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.cre-scenic-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
}

.cre-scenic-layer.is-active {
  opacity: 1;
}

/* Fused triptych — overlapping masks so three photos read as one panorama */
.cre-scenic-collage {
  background: #162e6e;
}

.cre-scenic-fuse {
  position: absolute;
  top: 0;
  bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.cre-scenic-fuse-left {
  left: 0;
  width: 62%;
  background-position: 28% center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 100%);
}

.cre-scenic-fuse-center {
  left: 18%;
  width: 64%;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.cre-scenic-fuse-right {
  right: 0;
  width: 62%;
  background-position: 72% center;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 52%, transparent 100%);
}

.cre-scenic-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 220, 180, 0.07) 0%, transparent 35%, transparent 65%, rgba(180, 220, 255, 0.06) 100%);
  pointer-events: none;
}

.cre-scenic-overlay {
  position: absolute;
  inset: 0;
}

.cre-scenic-backdrop--hero .cre-scenic-fuse {
  filter: contrast(1.04) saturate(0.94);
}

.cre-scenic-overlay-home {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(36, 74, 165, 0.08) 100%);
}

/* Home hero — intro + search card over flag background */
.cre-hero-home-wrap {
  position: relative;
  padding: clamp(2.25rem, 5.5vw, 3.75rem) 0 clamp(2.75rem, 6.5vw, 4.25rem);
  min-height: calc(100svh - var(--cre-nav-h) - 5rem);
  display: flex;
  align-items: center;
}

.cre-home-page main > .container,
.cre-home-page .cre-hero-home-wrap > .container {
  width: var(--cre-content-width);
  max-width: var(--cre-content-max);
}

@media only screen and (min-width: 993px) {
  .cre-home-page main > .container,
  .cre-home-page .cre-hero-home-wrap > .container {
    width: 90%;
  }
}

.cre-home-page .cre-home-card-grid > [class*="col"] {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: stretch;
}

.cre-home-page .cre-home-card-grid .cre-card {
  width: 100%;
  flex: 1 1 auto;
}

.cre-home-page .cre-card-media {
  aspect-ratio: 4 / 3;
}

.cre-home-page .cre-card-body {
  padding: 0.6rem 0.75rem 0.85rem;
  min-height: 11.25rem;
}

.cre-home-page .cre-card-body .cre-card-price {
  font-size: 1.05rem;
}

.cre-home-page .cre-card-title,
.cre-home-page .cre-card-body h3 {
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  max-height: calc(1.35em * 2);
  -webkit-line-clamp: 2;
}

.cre-home-page .cre-card-loc {
  font-size: 0.85rem;
  margin: 0 0 0.25rem;
}

.cre-home-page .cre-card-specs {
  font-size: 0.8rem;
}

.cre-hero-intro {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  max-width: 42rem;
  padding-left: clamp(0.5rem, 2vw, 1.25rem);
}

.cre-hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cre-sand);
}

.cre-hero-intro .cre-hero-title {
  font-family: var(--cre-font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-transform: none;
  margin: 0 0 1.35rem;
  max-width: 11.5em;
  color: var(--cre-teal-dark);
}

.cre-hero-intro .cre-hero-lead {
  margin: 0;
  font-size: clamp(1.12rem, 2.35vw, 1.32rem);
  line-height: 1.5;
  font-weight: 500;
  color: #243040;
  max-width: 38rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(217, 45, 39, 0.45);
}

.cre-home-page .cre-search-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(36, 74, 165, 0.1);
}

.cre-home-reco-section.cre-page {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.cre-home-reco-section .cre-card-grid {
  margin-top: 1rem;
}

.cre-listings-reco-section {
  margin-top: 1.75rem;
  padding: 1.1rem 1.15rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8ecf0;
}

.cre-listings-reco-section__head {
  margin-bottom: 0.85rem;
}

.cre-listings-reco-section__title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cre-teal-dark);
}

.cre-listings-reco-section__reason {
  margin: 0;
  font-size: 0.92rem;
}

.cre-listings-reco-grid > [class*="col"] {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
}

.cre-listings-reco-grid .cre-card {
  width: 100%;
  flex: 1 1 auto;
}

.cre-listings-reco-grid .cre-card-body {
  min-height: 11.25rem;
  padding: 0.6rem 0.75rem 0.85rem;
}

.cre-listings-reco-grid .cre-card-title {
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  max-height: calc(1.35em * 2);
  -webkit-line-clamp: 2;
}

.cre-listings-reco-grid .cre-card-media {
  aspect-ratio: 4 / 3;
}

/* Home: transparent section shells so the fixed flag stays visible while scrolling */
.cre-home-page main .container.cre-page,
.cre-home-page main section.grey.lighten-4 {
  background: transparent;
  box-shadow: none;
}

.cre-home-page main section.grey.lighten-4 {
  background-color: transparent !important;
}

.cre-home-page h2,
.cre-home-page h3,
.cre-home-page .h4 {
  font-family: var(--cre-font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cre-listings-title {
  font-size: 1.65rem;
  font-weight: 600;
  margin: 1.75rem 0 0.35rem;
  color: var(--cre-teal);
}

.cre-listings-lead {
  margin: 0 0 1rem;
}

/* Hemnet-style listing rows (search + recommendations) */
.cre-listings-top {
  align-items: flex-start;
}

.cre-listings-main {
  min-width: 0;
}

.cre-listings-filters {
  position: relative;
}

.cre-listings-filter-mobile-title {
  display: none;
}

@media only screen and (max-width: 992px) {
  .cre-listings-page .cre-listings-top {
    display: flex;
    flex-direction: column;
  }

  .cre-listings-page .cre-listings-filters {
    order: -1;
    margin-bottom: 0.55rem;
  }

  .cre-listings-page .cre-listings-main {
    order: 0;
  }

  .cre-listings-filter-mobile-title {
    display: block;
    margin: 0 0 0.65rem;
    font-family: var(--cre-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cre-teal-dark);
  }

  .cre-listings-page .cre-listings-filters .cre-filter-panel {
    position: sticky;
    top: calc(var(--cre-nav-h, 64px) + 0.35rem);
    z-index: 480;
    margin-bottom: 0;
    box-shadow: 0 4px 18px rgba(20, 28, 38, 0.1);
  }

  .cre-listings-page .cre-listings-filters .card-content {
    padding: 0.85rem 0.9rem 1rem;
  }

  .cre-listings-page .cre-listings-filters .cre-filter-label {
    margin-top: 0.55rem;
  }

  .cre-listings-page .cre-listings-filters .cre-filter-label:first-of-type {
    margin-top: 0;
  }

  .cre-listings-page .cre-listings-filters .cre-typebtn {
    min-height: 2.35rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.82rem;
  }

  .cre-listings-page .cre-listings-filters .btn[type="submit"] {
    margin-top: 0.65rem;
  }
}

@media only screen and (min-width: 993px) {
  .cre-listings-page .cre-listings-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 348px;
    grid-template-areas: "listings-main listings-filters";
    column-gap: 0.25rem;
    align-items: start;
  }

  .cre-listings-page .cre-listings-main {
    grid-area: listings-main;
    padding-right: 0;
  }

  .cre-listings-page .cre-listings-filters {
    grid-area: listings-filters;
    padding-left: 0;
  }

  .cre-listings-page .cre-listings-top > .col {
    width: 100%;
    margin-left: 0;
    float: none;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  .cre-listings-filters .cre-filter-panel {
    position: sticky;
    top: calc(var(--cre-nav-h) + 0.75rem);
  }

  .cre-listings-page .cre-listing-row__media {
    flex: 0 0 46%;
    width: 46%;
    max-width: 520px;
    height: 100%;
    min-height: 288px;
    align-self: stretch;
  }

  .cre-listings-page .cre-listing-row {
    gap: 1.2rem;
    padding: 1rem 1.15rem;
    min-height: 19rem;
    align-items: stretch;
  }
}

@media only screen and (min-width: 1200px) {
  .cre-listings-page .cre-listings-top {
    grid-template-columns: minmax(0, 1fr) 368px;
    column-gap: 0.3rem;
  }

  .cre-listings-page .cre-listing-row__media {
    flex: 0 0 44%;
    width: 44%;
    max-width: 560px;
    min-height: 304px;
  }
}

/* Listings filter column — larger controls, tighter gap to map/rows */
.cre-listings-page .cre-listings-filters .card-content {
  padding: 1.15rem 1.2rem 1.35rem;
}

.cre-listings-page .cre-listings-filters .cre-filter-label {
  font-size: 1rem;
  margin: 0.75rem 0 0.35rem;
}

.cre-listings-page .cre-listings-filters .cre-filter-label:first-child {
  margin-top: 0.15rem;
}

.cre-listings-page .cre-listings-filters .cre-filter-sublabel {
  font-size: 0.95rem;
}

.cre-listings-page .cre-listings-filters .cre-filter-area {
  gap: 0.95rem;
}

.cre-listings-page .cre-listings-filters .cre-typegrid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cre-listings-page .cre-listings-filters .cre-typebtn {
  flex: 1 1 calc(50% - 0.25rem);
  font-size: 0.95rem;
  padding: 0.58rem 0.65rem;
  margin-bottom: 0;
  min-height: 2.65rem;
}

.cre-listings-page .cre-listings-filters .cre-typebtn .material-icons {
  font-size: 20px;
}

.cre-listings-page .cre-listings-filters .cre-native-select,
.cre-listings-page .cre-listings-filters .input-field input,
.cre-listings-page .cre-listings-filters select {
  font-size: 1rem;
}

.cre-listings-page .cre-listings-filters .cre-native-select {
  padding: 0.72rem 0.8rem;
}

.cre-listings-page .cre-listings-filters .input-field label {
  font-size: 0.92rem;
}

.cre-listings-page .cre-listings-filters .cre-range .input-field {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.cre-listings-page .cre-listings-filters .btn {
  font-size: 0.98rem;
  height: 46px;
  line-height: 46px;
  margin-top: 0.35rem;
}

.cre-listings-page .cre-listings-filters .cre-morefilters-toggle {
  font-size: 0.92rem;
  margin: 0.85rem 0 0.5rem;
}

.cre-map-caption {
  margin: 0.4rem 0 1rem;
  font-size: 0.85rem;
}

.cre-listing-row-panel {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cre-listing-row-panel--compact {
  min-height: 0;
  margin-bottom: 1.25rem;
}

.cre-listing-row-panel__head {
  padding: 1rem 1.15rem 0.65rem;
  border-bottom: 1px solid #eef1f4;
}

.cre-listing-row-panel__title {
  margin: 0 0 0.25rem;
  font-family: var(--cre-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cre-teal-dark);
}

.cre-listing-row-panel__reason {
  margin: 0;
  font-size: 0.92rem;
}

.cre-listing-row-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.cre-listing-row-list--results {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-top: 0.5rem;
}

.cre-listings-page .cre-listing-row-list--results,
.cre-listings-page .cre-listing-row-panel {
  box-shadow: none !important;
  border: none;
  background: transparent;
}

.cre-listings-page .cre-listing-row-list--results .cre-listing-row,
.cre-listings-page .cre-listing-row-panel .cre-listing-row {
  border: 1px solid #e4e8ed;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  padding: 1rem 1.15rem;
  min-height: 19rem;
  align-items: stretch;
  background: #fff;
  box-shadow: none;
}

.cre-listings-above-map-head {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.cre-listings-above-map-head .cre-listings-title {
  margin: 0;
}

.cre-listings-page .cre-listings-map-panel {
  margin-bottom: 0;
}

.cre-listings-recommendation-hidden {
  display: none !important;
}

.cre-listings-page .cre-listing-row-list--results .cre-listing-row.is-map-outside,
.cre-listings-page #cre-listings-recommendation .cre-listing-row.is-map-outside {
  display: none !important;
}

.cre-cluster-wrap {
  background: transparent;
  border: none;
}

.cre-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  border: 2px solid #fff;
}

.cre-listings-map-filter-empty {
  display: none;
  margin: 0.35rem 0 0.5rem;
}

.cre-listings-map-filter-empty.is-visible {
  display: block;
}

.cre-listings-page .cre-listing-row-list--results .cre-listing-row:last-child,
.cre-listings-page .cre-listing-row-panel .cre-listing-row:last-child {
  margin-bottom: 0;
}

.cre-listings-page .cre-listing-row-panel__head {
  border: none;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.cre-listings-result-count {
  margin: 0 0 0.65rem;
}

.cre-listing-row {
  display: flex;
  align-items: stretch;
  gap: 1.35rem;
  padding: 1.1rem 1.25rem;
  min-height: 14.5rem;
  border-bottom: 1px solid #e8ecf0;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

a.cre-listing-row__body,
.cre-listing-row__body {
  position: relative;
  flex: 1 1 54%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 100%;
  padding: 0.35rem 0.15rem 0.35rem 0.5rem;
}

a.cre-listing-row__content,
.cre-listing-row__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  padding-right: 2.5rem;
}

a.cre-listing-row__content:hover,
.cre-listing-row__content:hover {
  color: inherit;
}

.cre-listing-row__actions {
  position: absolute;
  top: 0.1rem;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.cre-listing-row__action {
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--cre-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.cre-listing-row__action:hover {
  background: rgba(30, 64, 140, 0.08);
}

.cre-listing-row__action.is-active {
  color: var(--cre-sand);
}

.cre-listing-row__action .material-icons {
  font-size: 1.45rem;
}

.cre-listing-row:last-child {
  border-bottom: none;
}

.cre-listing-row:hover,
.cre-listing-row:focus-visible {
  background: #f3f6fb;
  box-shadow: inset 4px 0 0 var(--cre-teal-dark);
}

.cre-listing-row.is-featured {
  background: #fffdf8;
}

.cre-listing-row__media {
  position: relative;
  flex: 0 0 280px;
  width: 280px;
  height: 210px;
  border-radius: 10px;
  overflow: hidden;
  background: #e3e7ea;
}

.cre-listing-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* In-row photo carousel (listings search) */
.cre-row-gallery {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #e3e7ea;
}

.cre-row-gallery--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cre-row-gallery--empty .cre-card-noimg {
  width: 100%;
  height: 100%;
}

.cre-row-gallery__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cre-row-gallery__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cre-row-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.cre-row-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cre-teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 28, 38, 0.18);
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.cre-row-gallery:hover .cre-row-gallery__nav,
.cre-row-gallery:focus-within .cre-row-gallery__nav {
  opacity: 1;
}

.cre-row-gallery__prev {
  left: 0.45rem;
}

.cre-row-gallery__next {
  right: 0.45rem;
}

.cre-row-gallery__nav .material-icons {
  font-size: 1.45rem;
}

.cre-row-gallery__counter {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 3;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(20, 28, 38, 0.62);
}

.cre-listing-row__media .cre-card-noimg {
  height: 100%;
  min-height: 0;
}

.cre-listing-row__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cre-muted);
}

.cre-listing-row__type {
  color: var(--cre-teal-dark);
}

.cre-listing-row__location {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #3d4a57;
}

.cre-listing-row__price--inline {
  margin: 0 0 0.65rem;
}

.cre-listing-row__summary {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cre-listing-row__main {
  min-width: 0;
}

.cre-listing-row__title {
  margin: 0 0 0.5rem;
  font-family: var(--cre-font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.28;
  color: var(--cre-ink);
}

.cre-listings-page .cre-listing-row__title {
  font-size: clamp(1.12rem, 1.25vw, 1.32rem);
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.32;
  min-height: calc(1.32em * 2);
  max-height: calc(1.32em * 2);
}

.cre-listings-page .cre-listing-row__content {
  flex: 1 1 auto;
  min-height: 11rem;
}

.cre-listings-page .cre-listing-row__footer {
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
  padding-top: 0.15rem;
}

.cre-listings-page .cre-listing-row__footer .cre-card-agent {
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e8eef4;
  width: 100%;
  box-sizing: border-box;
}

.cre-listings-page .cre-listing-row__body {
  padding: 0.4rem 0.2rem 0.5rem 0.55rem;
  display: flex;
  flex-direction: column;
}

.cre-listings-page .cre-listing-row-list--results .cre-listing-row,
.cre-listings-page .cre-listing-row-panel .cre-listing-row {
  min-height: 15.5rem;
  align-items: stretch;
}

.cre-listings-page .cre-listing-row__location {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.cre-listings-page .cre-listing-row__price--inline {
  font-size: clamp(1.2rem, 1.35vw, 1.38rem);
  margin-bottom: 0.45rem;
}

.cre-listings-page .cre-listing-row__specs {
  font-size: 0.9rem;
}

.cre-listings-page .cre-listing-row__specs .material-icons {
  font-size: 1.05rem;
}

.cre-listings-page .cre-listing-row__summary {
  font-size: 0.9rem;
  margin-top: 0.45rem;
  -webkit-line-clamp: 2;
}

.cre-listings-page .cre-listing-row__kicker {
  font-size: 0.72rem;
  margin-bottom: 0.25rem;
}

.cre-listing-row__meta {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  color: var(--cre-muted);
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.cre-listing-row__specs {
  margin: 0;
  font-size: 0.98rem;
  gap: 0.85rem;
}

.cre-listing-row__specs .material-icons {
  font-size: 1.15rem;
}

.cre-listing-row__aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.35rem;
  text-align: right;
  padding-top: 0.5rem;
}

.cre-listing-row__price {
  margin: 0;
  font-family: var(--cre-font-display);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--cre-teal-dark);
  white-space: nowrap;
}

.cre-listings-page .cre-listing-row__price {
  font-size: clamp(1.2rem, 1.35vw, 1.38rem);
}

.cre-listing-row__chevron {
  color: #9aa5b1;
  font-size: 1.85rem;
}

.cre-listing-row__media .cre-card-tag,
.cre-listing-row__media .cre-card-featured {
  z-index: 5;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
}

.cre-listing-row:hover .cre-listing-row__chevron {
  color: var(--cre-teal-dark);
}

@media only screen and (max-width: 992px) {
  .cre-listing-row__media {
    flex: 0 0 240px;
    width: 240px;
    height: 180px;
  }

  .cre-listings-page .cre-listing-row__media {
    flex: 0 0 46%;
    width: 46%;
    max-width: 360px;
    min-height: 248px;
    aspect-ratio: 5 / 6;
  }

  .cre-listing-row__title {
    font-size: 1.18rem;
  }

  .cre-listing-row__price {
    font-size: 1.28rem;
  }
}

@media only screen and (max-width: 600px) {
  .cre-listing-row {
    flex-direction: column;
    min-height: 0;
    padding: 1rem;
  }

  .cre-listings-page .cre-listing-row-list--results .cre-listing-row,
  .cre-listings-page .cre-listing-row-panel .cre-listing-row {
    padding: 0;
  }

  .cre-listing-row__media {
    width: 100%;
    flex-basis: auto;
    height: 240px;
  }

  .cre-listings-page .cre-listing-row__media {
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cre-listings-page .cre-listing-row-list--results .cre-listing-row,
  .cre-listings-page .cre-listing-row-panel .cre-listing-row {
    min-height: 0;
    margin-bottom: 0.95rem;
    border-radius: 6px;
  }

  .cre-listings-page main.container.cre-page {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  .cre-listings-page .cre-listing-row__body {
    padding: 0.4rem 0.45rem 0.5rem;
  }

  .cre-listings-page .cre-listing-row__features-block {
    padding-top: 0.4rem;
    margin-top: 0.25rem;
  }

  .cre-listing-row__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .cre-listing-row__aside {
    width: 100%;
    justify-content: space-between;
  }
}

.cre-listings-map-panel {
  margin-bottom: 0.35rem;
}

.cre-listings-map-mobile-bar {
  display: none;
}

@media only screen and (max-width: 992px) {
  .cre-listings-map-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin: 0 0.15rem 0.55rem;
    padding: 0.15rem 0;
  }

  .cre-listings-results-short {
    margin: 0;
    font-size: 0.92rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .cre-listings-map-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.55rem;
    min-height: 2.35rem;
    border: 1px solid #dce2e8;
    border-radius: 999px;
    color: var(--cre-teal-dark);
    background: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: none;
    line-height: 1.2;
  }

  .cre-listings-map-toggle .material-icons {
    font-size: 1.15rem;
  }

  .cre-listings-map-panel:not(.is-open) .cre-listings-map-body {
    display: none;
  }

  .cre-listings-map-panel.is-open .cre-listings-map-body {
    display: block;
    margin-bottom: 0.35rem;
  }
}

@media only screen and (min-width: 993px) {
  .cre-listings-map-panel.is-open .cre-listings-map-body,
  .cre-listings-map-body {
    display: block;
  }
}

.cre-hero-bg-root {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cre-hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease-in-out;
  pointer-events: none;
}

.cre-hero-bg-layer.is-active {
  opacity: 1;
}

.cre-hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
}

.cre-hero-collage-panel {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.cre-hero-province-bg {
  background-size: cover;
  background-position: center;
}

.cre-hero-compact {
  padding: 2rem 0 2.75rem;
  min-height: 13rem;
}

.cre-hero-title-compact {
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.cre-hero-lead {
  opacity: 0.92;
  max-width: 38rem;
  margin: 0 0 0.5rem;
}

.cre-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cre-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.04);
}

.cre-hero-slide.is-active {
  opacity: 1;
  animation: cre-hero-pan 22s ease-in-out infinite alternate;
}

.cre-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(36, 74, 165, 0.55) 0%, rgba(29, 61, 138, 0.78) 45%, rgba(22, 48, 110, 0.88) 100%),
    linear-gradient(135deg, rgba(36, 74, 165, 0.72) 0%, rgba(29, 61, 138, 0.55) 100%);
}

.cre-hero-scenic .container {
  position: relative;
  z-index: 2;
}

@keyframes cre-hero-pan {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .cre-hero-slide.is-active {
    animation: none;
  }
}

.cre-hero h1,
.cre-hero-intro .cre-hero-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cre-hero .cre-search-card,
.cre-home-page .cre-search-card {
  border-radius: 12px;
}

.cre-search-card .cre-filter-area {
  margin-top: 0.15rem;
}

@media only screen and (max-width: 600px) {
  .cre-hero-home-wrap {
    min-height: calc(100svh - var(--cre-nav-h) - 4rem);
    padding: 1.5rem 0 2rem;
    align-items: flex-start;
  }

  .cre-hero-intro {
    margin-bottom: 1.5rem;
  }

  .cre-hero-intro .cre-hero-lead {
    padding-left: 0.75rem;
    border-left-width: 2px;
  }

  .cre-hero-collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(5.5rem, 1fr));
  }

  .cre-hero-scenic:not(.cre-hero-compact) {
    min-height: 20rem;
  }
}

@media only screen and (min-width: 601px) {
  .cre-search-card .cre-filter-area {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
  }

  .cre-search-card .cre-filter-keyword,
  .cre-search-card .cre-filter-select-wrap {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Property cards (image-forward) */
.cre-page .row:not(.mb-0) > [class*="col"] {
  margin-bottom: 1.75rem;
}

.cre-card-grid > [class*="col"] {
  display: flex;
  margin-bottom: 1.75rem;
}

.cre-card-grid > [class*="col"] > .cre-card {
  width: 100%;
}

.cre-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: #fff;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 10px rgba(20, 28, 38, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.cre-card:hover,
.cre-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(36, 74, 165, 0.28);
  box-shadow:
    0 18px 36px rgba(20, 28, 38, 0.16),
    0 0 0 1px rgba(36, 74, 165, 0.1);
  color: inherit;
}

.cre-home-page .cre-card:hover,
.cre-home-page .cre-card:focus-visible {
  border-color: rgba(217, 45, 39, 0.35);
  box-shadow:
    0 20px 40px rgba(217, 45, 39, 0.14),
    0 0 0 1px rgba(217, 45, 39, 0.12);
}

.cre-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e3e7ea;
  overflow: hidden;
  flex: 0 0 auto;
}

.cre-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cre-card-noimg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #455a64;
  background: #e3e7ea;
}

.cre-card-noimg .material-icons {
  font-size: 2rem;
  opacity: 0.65;
}

.cre-card-noimg-label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  text-align: center;
  padding: 0 0.5rem;
}

.cre-card-tag {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(16, 24, 32, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cre-card-featured {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--cre-sand);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cre-card-body {
  position: relative;
  padding: 0.9rem 1rem 1.1rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cre-card-grid .cre-card-body {
  min-height: 10.5rem;
  padding-bottom: 0.85rem;
}

.cre-card-body .cre-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cre-teal-dark);
  margin: 0;
  flex: 0 0 auto;
}

.cre-card-title,
.cre-card-body h3,
.cre-card-body h2 {
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0.2rem 0 0.1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}

.cre-card-loc {
  color: var(--cre-muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  min-height: 1.3em;
}

.cre-card-specs {
  margin-top: auto;
  min-height: 1.5rem;
  align-items: center;
}

.cre-specs {
  display: flex;
  gap: 1rem;
  color: var(--cre-muted);
  font-size: 0.86rem;
  margin: 0;
}

.cre-specs .material-icons {
  font-size: 1rem;
  vertical-align: -3px;
  margin-right: 2px;
}

/* Gallery */
.cre-gallery {
  margin-bottom: 0.5rem;
}

.cre-gallery-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e3e7ea;
}

.cre-gallery-main-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.cre-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  background: #e3e7ea;
  transition: opacity 0.2s ease;
}

.cre-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #101820;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cre-gallery-nav:hover {
  background: rgba(16, 24, 32, 0.9);
  transform: translateY(-50%) scale(1.04);
}

.cre-gallery-prev {
  left: 0.75rem;
}

.cre-gallery-next {
  right: 0.75rem;
}

.cre-gallery-counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: rgba(16, 24, 32, 0.72);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.cre-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.cre-gallery-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #e3e7ea;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cre-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cre-gallery-thumb:hover {
  transform: translateY(-2px);
}

.cre-gallery-thumb.is-active {
  border-color: var(--cre-teal);
  box-shadow: 0 0 0 1px var(--cre-teal);
}

.cre-gallery.is-single .cre-gallery-nav {
  display: none;
}

.cre-gallery-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.cre-gallery-empty-slot {
  margin-bottom: 0.5rem;
}

.cre-gallery-lightbox {
  position: fixed !important;
  z-index: 1003;
  max-width: 96vw;
  width: min(1100px, 96vw);
  max-height: 92vh;
  border-radius: 12px;
  overflow: visible;
}

.cre-gallery-lightbox.modal {
  margin: 0 auto;
}

.cre-gallery-lightbox:not(.open) {
  visibility: hidden;
  pointer-events: none;
}

.cre-gallery-lightbox-image:not([src]) {
  display: none;
}

.cre-gallery-lightbox .modal-content {
  padding: 0;
  position: relative;
  background: #101820;
}

.cre-gallery-lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  background: #101820;
}

.cre-gallery-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  background: rgba(16, 24, 32, 0.72);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  cursor: pointer;
}

.cre-gallery-lightbox-prev {
  left: 0.75rem;
}

.cre-gallery-lightbox-next {
  right: 0.75rem;
}

.cre-gallery-lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
}

@media only screen and (max-width: 992px) {
  .cre-gallery-lightbox.modal.open {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh;
    max-height: 100vh;
    top: 0 !important;
    border-radius: 0;
  }

  .cre-gallery-lightbox .modal-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cre-gallery-lightbox-image {
    max-height: 88vh;
    width: 100%;
    object-fit: contain;
  }
}

/* Listing detail — mobile gallery edge-to-edge, larger photos */
@media only screen and (max-width: 992px) {
  .cre-listing-detail-page.container {
    width: 100%;
    max-width: 100%;
  }

  .cre-listing-detail-page .cre-listing-detail-gallery-col {
    padding-left: 0;
    padding-right: 0;
  }

  .cre-listing-detail-gallery-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .cre-listing-detail-gallery-bleed .cre-gallery {
    margin-bottom: 0;
  }

  .cre-listing-detail-gallery-bleed .cre-gallery-stage {
    border-radius: 0;
  }

  .cre-listing-detail-gallery-bleed .cre-gallery-main-btn,
  .cre-listing-detail-gallery-bleed .cre-gallery-main {
    border-radius: 0;
  }

  .cre-listing-detail-gallery-bleed .cre-gallery-main {
    aspect-ratio: 5 / 4;
    max-height: none;
    min-height: min(72vw, 420px);
    width: 100%;
  }

  .cre-listing-detail-gallery-bleed .cre-gallery-thumbs {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .cre-listing-detail-summary-col {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media only screen and (max-width: 600px) {
  .cre-listing-detail-gallery-bleed .cre-gallery-main {
    aspect-ratio: 4 / 3;
    min-height: min(78vw, 440px);
  }

  .cre-listing-detail-page > .row:not(.cre-listing-detail-hero) {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .cre-listing-detail-page > div[style*="margin-bottom"]:first-of-type {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.cre-thumb {
  width: 92px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}

/* Auth / simple pages */
.cre-narrow {
  max-width: 460px;
  margin: 2rem auto;
}

.cre-page {
  padding: 2rem 0 3rem;
}

/* Footer */
.cre-footer {
  position: relative;
  z-index: 1;
  background: var(--cre-teal);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Featured ring on cards */
.cre-card.is-featured {
  outline: 2px solid var(--cre-sand);
  outline-offset: -2px;
}

/* Shared content width (home, listings, wide pages) */
main.container,
.cre-wide {
  width: var(--cre-content-width);
  max-width: var(--cre-content-max);
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 993px) {
  main.container,
  .cre-wide {
    width: 90%;
  }
}

.cre-wide {
  padding: 0 0.75rem;
}

.cre-listings-page main.container {
  width: var(--cre-content-width);
  max-width: var(--cre-content-max);
}

@media only screen and (min-width: 993px) {
  .cre-listings-page main.container {
    width: 90%;
  }
}

.cre-listings-pager {
  margin-top: 1.75rem;
  padding-bottom: 0.25rem;
}

.cre-listings-page .cre-listing-row__summary {
  display: none;
}

.cre-listing-row__seller {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}

.cre-listings-page .cre-listing-row__content-main {
  flex: 1 1 auto;
  min-height: 0;
}

.cre-listing-row__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.cre-listing-row__features li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: #3d4a57;
  white-space: nowrap;
}

.cre-listing-row__features .material-icons {
  font-size: 1.05rem;
  color: var(--cre-teal);
}

.cre-listings-page .cre-listing-row__features-block {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid #eef1f3;
}

.cre-listings-page .cre-listing-row__features {
  gap: 0.5rem 1rem;
}

.cre-listings-page main.cre-page {
  padding-top: 1.25rem;
  padding-bottom: 2.25rem;
}

.cre-listings-page .cre-listings-title {
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.cre-map {
  height: 500px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.cre-listings-page .cre-map {
  width: 100%;
  max-width: 936px;
  height: 583px;
  min-height: 583px;
}

@media only screen and (max-width: 992px) {
  .cre-map {
    height: 240px;
  }

  .cre-listings-page .cre-map {
    height: clamp(280px, 52vw, 360px);
    border-radius: 8px;
  }

  .cre-listings-page main.container.cre-page {
    width: 100%;
    max-width: 100%;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .cre-listings-page .cre-listings-main.col {
    padding-left: 0;
    padding-right: 0;
  }

  .cre-listings-page .cre-listing-row-list--results .cre-listing-row,
  .cre-listings-page .cre-listing-row-panel .cre-listing-row {
    flex-direction: column;
    gap: 0;
    padding: 0;
    min-height: 0;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    overflow: hidden;
    align-items: stretch;
  }

  .cre-listings-page .cre-listing-row__media {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  .cre-listings-page .cre-listing-row__body {
    padding: 0.45rem 0.5rem 0.55rem;
  }

  .cre-listings-page .cre-listing-row__content {
    padding-right: 2.25rem;
  }

  .cre-listings-page .cre-listing-row-panel__head {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  .cre-listings-page .cre-listings-title,
  .cre-listings-page .cre-listings-lead,
  .cre-listings-page .cre-map-caption {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
}

.leaflet-container {
  border-radius: 12px;
  font-family: inherit;
  touch-action: none;
}

.cre-listings-page .cre-map.leaflet-container,
.cre-listings-page .cre-map .leaflet-container {
  touch-action: none;
}

/* Leaflet zoom/attribution default to z-index 1000 — above Materialize sidenav (997).
   Keep map controls below global nav layers so the mobile menu is not covered. */
.cre-map .leaflet-top,
.cre-map .leaflet-bottom {
  z-index: 400;
}

/* Custom mobile drawer (replaces Materialize Sidenav overlay, which blocked taps). */
.cre-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cre-mobile-backdrop.cre-mobile-backdrop-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#cre-sidenav.sidenav {
  z-index: 9999 !important;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  height: 100% !important;
  max-height: 100vh !important;
  padding-bottom: 4.5rem !important;
  box-sizing: border-box;
}

.cre-sidenav-logout {
  margin: 0;
  width: 100%;
}

.cre-sidenav-logout-item {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  z-index: 10000;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  display: none;
}

#cre-sidenav.cre-mobile-drawer-open .cre-sidenav-logout-item {
  display: block;
}

.cre-sidenav-logout-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--cre-flag-red);
  font-size: 1rem;
  font-weight: 500;
  padding: 0 32px;
  height: 56px;
  cursor: pointer;
  text-align: left;
}

.cre-sidenav-logout-btn .material-icons {
  color: var(--cre-flag-red);
  transition: color 0.18s ease;
}

.cre-sidenav-logout-btn:hover,
.cre-sidenav-logout-btn:focus {
  background: var(--cre-teal-dark);
  color: #fff;
}

.cre-sidenav-logout-btn:hover .material-icons,
.cre-sidenav-logout-btn:focus .material-icons {
  color: #fff;
}

#cre-sidenav.sidenav li > a {
  font-weight: 600;
  font-size: 1.02rem;
}

#cre-sidenav.sidenav li > a:hover,
#cre-sidenav.sidenav li > a:focus {
  background: var(--cre-teal-dark) !important;
  color: #fff !important;
}

#cre-sidenav.sidenav li > a:hover i,
#cre-sidenav.sidenav li > a:focus i {
  color: #fff !important;
}

#cre-sidenav.cre-mobile-drawer-open {
  transform: translateX(0) !important;
}

body.cre-mobile-nav-open {
  overflow: hidden;
}

/* Materialize overlay must never be used — it blocks drawer link clicks. */
.sidenav-overlay {
  display: none !important;
}

/* Map pins: colored circle with a Material icon */
.cre-pin {
  background: transparent;
  border: 0;
}

.cre-pin-inner {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.cre-pin-inner .material-icons {
  font-size: 18px;
  line-height: 1;
}

.cre-pin--favorite .cre-pin-inner {
  box-shadow: 0 0 0 2px #e53935, 0 2px 8px rgba(229, 57, 53, 0.45);
}

.cre-pin-fav {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.cre-pin-fav .material-icons {
  font-size: 11px;
  line-height: 1;
}

.cre-map-popup-fav {
  color: #c62828;
  font-size: 0.85rem;
}

/* Contextual back (top of content) + scroll-to-top + loading overlay */
.cre-page-back-host {
  position: fixed !important;
  top: calc(var(--cre-nav-h, 64px) + 1.15rem) !important;
  left: 1.15rem !important;
  z-index: 989 !important;
  margin: 0 !important;
  transform: translateX(0);
  background: transparent !important;
  background-color: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: normal !important;
  box-shadow: none !important;
  width: auto !important;
  pointer-events: none;
}

.cre-page-back-host .cre-page-back-fab {
  pointer-events: auto;
}

.cre-page-back-host[hidden] {
  display: none !important;
}

@media only screen and (max-width: 992px) {
  .cre-page-back-host {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.cre-chrome-fab,
.cre-page-back-fab {
  background-color: #1e408c !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(30, 64, 140, 0.45) !important;
}

.cre-chrome-fab:hover,
.cre-chrome-fab:focus,
.cre-page-back-fab:hover,
.cre-page-back-fab:focus {
  background-color: #163066 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(30, 64, 140, 0.5) !important;
}

.cre-chrome-fab .material-icons,
.cre-page-back-fab .material-icons {
  color: #fff !important;
  line-height: inherit !important;
}

.cre-scroll-top {
  position: fixed !important;
  right: 1.25rem !important;
  bottom: 1.35rem !important;
  z-index: 9995 !important;
  border: none !important;
}

.cre-scroll-top[hidden] {
  display: none !important;
}

.cre-scroll-top.cre-scroll-top--in-footer {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Account + admin panel topbar actions (exit to site ≠ logout) */
.cre-shell-topbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin-left: auto;
  flex-shrink: 0;
}

.cre-shell-topbar-actions .btn-flat {
  color: #1e408c !important;
  text-transform: none;
  padding: 0.45rem 0.65rem;
  height: auto;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cre-shell-topbar-actions .cre-shell-btn-label,
.cre-shell-topbar-actions .cre-shell-account-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.cre-shell-topbar-actions .btn-flat .material-icons.left {
  margin-right: 0.35rem;
}

.cre-shell-exit-site .material-icons {
  color: #1e408c !important;
}

.cre-shell-account-label {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.cre-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
}

.cre-loading-overlay[hidden] {
  display: none !important;
}

.card,
.card-panel {
  border-radius: 12px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 10px rgba(20, 28, 38, 0.06) !important;
}

.card .card-content,
.card-panel {
  color: var(--cre-ink);
}

/* Filters panel */
.cre-filter-panel .input-field {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.cre-filter-area {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.25rem;
}

.cre-filter-keyword {
  margin-top: 0.15rem !important;
  margin-bottom: 0 !important;
}

.cre-filter-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cre-filter-sublabel {
  display: block;
  font-weight: 500;
  color: #3a4652;
  font-size: 0.9rem;
  line-height: 1.2;
  margin: 0;
}

.cre-native-select {
  display: block;
  width: 100%;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--cre-ink);
  background: #fff;
  height: auto;
  margin: 0;
  box-sizing: border-box;
}

.cre-native-select:focus {
  outline: none;
  border-color: var(--cre-teal);
  box-shadow: 0 0 0 1px var(--cre-teal);
}

.cre-filter-label {
  display: block;
  font-weight: 500;
  color: #3a4652;
  margin: 0.6rem 0 0.2rem;
  font-size: 0.9rem;
}

.cre-typebtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #e2e5e8;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  color: #333;
  font-size: 0.95rem;
  transition: border-color 0.12s ease, background 0.12s ease;
  cursor: pointer;
}

.cre-typebtn:hover {
  border-color: #b9c0c6;
}

.cre-typebtn.active {
  border-color: var(--cre-teal);
  background: #e7f2ee;
  color: var(--cre-teal-dark);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--cre-teal);
}

.cre-typebtn .material-icons {
  font-size: 20px;
}

/* Property-type buttons laid out inline (home hero) */
.cre-typegrid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cre-typegrid .cre-typebtn {
  margin-bottom: 0;
}

/* Radio-backed property-type buttons (search filter) */
.cre-typebtn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cre-typebtn:has(input:checked) {
  border-color: var(--cre-teal);
  background: #e8f3ef;
  color: var(--cre-teal-dark);
  font-weight: 500;
}

/* Min/max range rows + more-filters toggle */
.cre-range .input-field {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.cre-morefilters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  color: var(--cre-teal);
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  margin: 0.3rem 0;
}

.cre-morefilters-toggle:hover {
  text-decoration: underline;
}

.cre-feature {
  display: inline-flex;
  align-items: center;
  margin: 0 1rem 0.4rem 0;
}

.cre-card-sold {
  background: #b71c1c !important;
  color: #fff !important;
}

/* Sold / rented archive detail — photos in grayscale, read-only */
.cre-listing-archive .cre-gallery-main,
.cre-listing-archive .cre-gallery-thumb img,
.cre-listing-archive .cre-gallery-lightbox-image {
  filter: grayscale(100%);
}

.cre-listing-archive-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem !important;
  margin-bottom: 1.25rem;
  background: #eceff1 !important;
  border-left: 4px solid #78909c;
}

.cre-listing-archive-banner .material-icons {
  color: #546e7a;
  margin-top: 0.1rem;
}

.cre-listing-archive-banner__title {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: #37474f;
}

.cre-listing-archive-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #607d8b;
}

.cre-listing-archive-price {
  color: #546e7a;
}

.cre-listing-archive-aside {
  background: #fafafa;
}

.cre-listing-archive .cre-card-media img,
a.cre-listing-archive-card .cre-card-media img {
  filter: grayscale(100%);
}

/* Footer */
.cre-footer-h {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.cre-footer-links {
  margin: 0;
}

.cre-footer-links li {
  margin: 0.25rem 0;
}

.cre-footer-links a {
  color: #cfd8dc;
  font-size: 0.9rem;
}

.cre-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.cre-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 1rem;
  padding-top: 1rem;
  color: #b0bec5;
  font-size: 0.82rem;
}

.cre-footer-note {
  display: block;
  margin-top: 0.35rem;
  max-width: 720px;
}

.cre-footer-contact {
  margin-top: 1.1rem;
}

.cre-footer-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #eceff1;
  font-size: 0.9rem;
  word-break: break-word;
}

.cre-footer-contact__link:hover {
  color: #fff;
}

.cre-footer-contact__link .material-icons {
  font-size: 1.15rem;
  opacity: 0.95;
}

.cre-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.cre-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #fff;
  color: inherit;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.cre-footer-social__link:hover,
.cre-footer-social__link:focus-visible {
  background: var(--cre-flag-red);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cre-footer-social__link:hover .fa-brands,
.cre-footer-social__link:focus-visible .fa-brands,
.cre-footer-social__link:hover .material-icons,
.cre-footer-social__link:focus-visible .material-icons {
  color: #fff !important;
}

.cre-footer-social__link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.cre-footer-social__link .fa-brands {
  font-size: 1.05rem;
  line-height: 1;
}

.cre-footer-social__link .fa-facebook-f {
  color: #1877f2;
}

.cre-footer-social__link .fa-github {
  color: #24292f;
}

.cre-footer-social__link .fa-linkedin-in {
  color: #0a66c2;
}

.cre-footer-social__link .fa-researchgate {
  color: #00ccbb;
}

.cre-footer-social__link .material-icons {
  font-size: 1.15rem;
  color: #1e408c;
}

.cre-founder-social__link .material-icons {
  font-size: 1.2rem;
  color: #1e408c;
}

.cre-founder-connect {
  margin-top: 0.75rem;
}

.cre-founder-connect__email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--cre-teal-dark);
  word-break: break-word;
}

.cre-founder-connect__email .material-icons {
  font-size: 1.2rem;
}

.cre-founder-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.cre-founder-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(30, 64, 140, 0.08);
  color: var(--cre-teal-dark);
  transition: background 0.15s ease, transform 0.12s ease;
}

.cre-founder-social__link:hover {
  background: rgba(30, 64, 140, 0.16);
  transform: translateY(-1px);
}

.cre-founder-social__link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.cre-founder-social__link .fa-brands {
  font-size: 1.05rem;
  line-height: 1;
}

.cre-founder-social__link .fa-facebook-f {
  color: #1877f2;
}

.cre-founder-social__link .fa-github {
  color: #24292f;
}

.cre-founder-social__link .fa-linkedin-in {
  color: #0a66c2;
}

.cre-founder-social__link .fa-researchgate {
  color: #00ccbb;
}

.cre-legal {
  max-width: 820px;
}

.cre-legal h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.8rem;
}

.cre-legal h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 1.2rem;
}

.cre-legal p,
.cre-legal li {
  color: #37474f;
  line-height: 1.65;
}

.cre-legal .cre-updated {
  color: #78909c;
  font-size: 0.9rem;
}

@media print {
  nav, .sidenav, footer, .cre-noprint {
    display: none !important;
  }
}

/* Home top lists (numbered ranked rows) */
.cre-toplist {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.cre-toprank {
  flex: 1 1 160px;
  min-width: 150px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: inherit;
  display: block;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.cre-toprank:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.cre-toprank-media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.cre-toprank-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cre-toprank-num {
  position: absolute;
  left: 8px;
  bottom: 8px;
  top: auto;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 64, 140, 0.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.cre-toprank-media .cre-card-featured {
  z-index: 2;
  max-width: calc(100% - 1rem);
}

.cre-toprank-body {
  padding: 0.5rem 0.6rem 0.7rem;
}

.cre-toprank-loc {
  display: block;
  font-weight: 500;
  color: #2f3b33;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cre-toprank-meta {
  display: block;
  color: #5a6b60;
  font-size: 0.85rem;
}

/* Agent directory */
.cre-agent-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cre-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cre-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 600;
  flex-shrink: 0;
}

.cre-agent-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cre-teal-dark);
  margin: 0;
}

.cre-agent-card {
  display: block;
  color: inherit;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.cre-agent-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.cre-agent-hero {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.cre-agent-hero__body {
  flex: 1 1 280px;
  min-width: 0;
}

.cre-agent-hero__name {
  font-size: 2rem;
  font-weight: 600;
  margin: 0.2rem 0 0;
  line-height: 1.2;
}

.cre-agent-hero__meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cre-agent-hero__channels {
  margin-top: 0.85rem;
  max-width: 22rem;
}

.cre-agent-hero__agency-contact {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}

.cre-agent-hero__agency-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.cre-agent-hero__agency-contact .material-icons {
  font-size: 1.1rem;
}

.cre-avatar-lg {
  width: 120px;
  height: 120px;
  font-size: 2.4rem;
}

.cre-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cre-stat {
  flex: 1 1 160px;
  background: #eef3ef;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.cre-stat-label {
  display: block;
  color: #5a6b60;
  font-size: 0.85rem;
}

.cre-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cre-teal-dark);
}

.cre-agent-thumbs {
  display: flex;
  gap: 0.4rem;
}

.cre-agent-thumb {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}

/* Chips row */
/* Chips row */
.cre-chip {
  display: inline-block;
  background: #eef1f3;
  color: #33404d;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.82rem;
  margin: 0 0.35rem 0.35rem 0;
}

/* Payment trust panel */
.cre-trust-panel {
  margin-top: 10rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid #e3e8ec;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(27, 36, 48, 0.06);
}

.cre-trust-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cre-trust-lead {
  margin: 0 0 1.25rem;
  color: var(--cre-muted);
  max-width: 52rem;
  line-height: 1.55;
}

.cre-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
}

.cre-trust-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.cre-trust-item .material-icons {
  color: var(--cre-teal-dark);
  font-size: 1.5rem;
  margin-top: 0.1rem;
}

.cre-trust-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cre-trust-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cre-muted);
  line-height: 1.45;
}

.cre-trust-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eef1f3;
}

.cre-trust-brands-label {
  font-size: 0.82rem;
  color: var(--cre-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cre-trust-brand-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cre-trust-brand-logos li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 2.25rem;
  padding: 0.25rem 0.55rem;
  background: #f4f6f9;
  border-radius: 8px;
  border: 1px solid #e8edf2;
}

.cre-trust-brand-logos img {
  display: block;
  height: 1.35rem;
  width: auto;
  max-width: 4.5rem;
  object-fit: contain;
}

.cre-trust-future {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.cre-trust-compact {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0.5rem 0 0;
}

.cre-trust-compact .material-icons {
  font-size: 1rem;
  color: var(--cre-teal-dark);
  margin-top: 0.1rem;
}

.cre-location-card {
  display: block;
  margin-bottom: 1rem;
  color: inherit;
  overflow: hidden;
  border-radius: 10px;
}

.cre-location-card-media {
  height: 148px;
  background-size: cover;
  background-position: center;
}

.cre-location-card .card-content {
  padding: 1rem 1.1rem 1.15rem;
}

.cre-hero-scenic .cre-breadcrumb a,
.cre-hero-scenic .cre-breadcrumb span {
  color: rgba(255, 255, 255, 0.92);
}

.cre-page-after-hero {
  padding-top: 1.25rem;
}

.cre-location-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.cre-location-breadcrumb {
  margin-bottom: 1rem;
  padding: 0;
  border: none;
  font-size: 0.92rem;
  color: var(--cre-muted);
}

.cre-location-breadcrumb a {
  color: var(--cre-teal);
  font-weight: 600;
  text-decoration: none;
}

.cre-location-breadcrumb a:hover {
  color: var(--cre-sand);
}

.cre-location-breadcrumb span {
  color: var(--cre-ink);
  font-weight: 500;
}

.cre-location-page-title {
  margin: 0 0 0.35rem;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cre-location-summary {
  margin: 0 0 1.05rem;
  font-size: 1rem;
  line-height: 1.55;
}

.cre-location-section-title {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

nav.cre-breadcrumb,
nav.cre-location-breadcrumb,
.cre-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  margin: 3rem 0 1rem;
  padding: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1.5 !important;
  width: auto !important;
  min-height: 0 !important;
  color: var(--cre-muted);
  border: none;
}

.cre-breadcrumb-sep {
  color: var(--cre-muted);
  font-weight: 400;
  user-select: none;
}

.cre-breadcrumb a {
  color: var(--cre-teal);
  font-weight: 600;
  text-decoration: none;
}

.cre-breadcrumb a:hover {
  color: var(--cre-sand);
}

.cre-breadcrumb span {
  color: var(--cre-ink);
  font-weight: 500;
}

.cre-admin-sort-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.cre-admin-sort-link:hover {
  color: var(--cre-teal-dark);
}

.cre-admin-sort-icon {
  font-size: 1.15rem !important;
  line-height: 1;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.cre-admin-table thead th {
  white-space: nowrap;
}

.cre-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cre-chip-row .cre-chip {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cre-ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.cre-chip:hover {
  color: var(--cre-teal-dark);
  text-decoration: underline;
}

.pagination.cre-location-pagination li,
.cre-pagination li {
  background: transparent !important;
}

.pagination.cre-location-pagination li a,
.cre-pagination li a {
  color: var(--cre-teal);
  font-weight: 600;
  background: transparent !important;
  border: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  box-shadow: none !important;
}

.pagination.cre-location-pagination li.active,
.cre-pagination li.active {
  background: transparent !important;
}

.pagination.cre-location-pagination li.active a,
.cre-pagination li.active a {
  color: var(--cre-teal);
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  text-decoration-thickness: 2px;
}

.pagination.cre-location-pagination li.disabled a,
.cre-pagination li.disabled a {
  color: rgba(91, 102, 114, 0.45);
}

.pagination.cre-location-pagination li:hover a,
.cre-pagination li:hover a {
  background: transparent !important;
  color: var(--cre-teal-dark);
}

.cre-pagination {
  position: relative;
  z-index: 2;
  margin: 2rem 0 0;
  background: transparent;
}

/* Listings page pager — bottom of page (flex push), no box borders */
.cre-pager {
  display: flex;
  justify-content: center;
  width: 100%;
  background: transparent;
  border: none;
}

.cre-pager__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.cre-pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1;
  color: var(--cre-teal-dark);
  background: transparent;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease;
}

.cre-pager__link:hover {
  background: rgba(30, 64, 140, 0.1);
  color: var(--cre-teal-dark);
}

.cre-pager__link.is-current {
  color: #fff;
  background: var(--cre-teal);
  pointer-events: none;
}

.cre-pager__gap {
  color: var(--cre-muted);
  padding: 0 0.2rem;
  font-weight: 600;
  user-select: none;
}

/* Pricing — compact board using full page width */
.cre-pricing-page .cre-pricing-intro {
  max-width: 52rem;
  margin-bottom: 1.25rem;
}

.cre-pricing-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media only screen and (min-width: 768px) {
  .cre-pricing-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (min-width: 1100px) {
  .cre-pricing-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 4rem;
  }
}

.cre-pricing-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 12px;
}

.cre-pricing-card .card-content {
  flex: 1 1 auto;
  padding: 1.1rem 1.15rem 0.75rem;
}

.cre-pricing-card .card-content ul {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.cre-pricing-card .card-content ul li {
  margin-bottom: 0.2rem;
}

.cre-pricing-card .card-content p.cre-muted {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.cre-pricing-card .cre-card-price {
  font-size: 1.45rem !important;
  margin: 0.15rem 0 0.25rem;
}

.cre-pricing-card .card-action {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  padding: 0.65rem 1rem;
}

.cre-pricing-card .card-action .btn {
  width: 100%;
  margin: 0;
}

.cre-section-heading {
  font-size: 1.35rem;
  font-weight: 600;
}

.cre-section-heading--lg {
  font-size: 1.6rem;
  font-weight: 500;
}

.cre-contact-subheading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0;
}

/* Contact cards — equal width and height */
.cre-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  width: 100%;
}

.cre-page-contact .cre-legal--contact {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cre-page-contact .cre-contact-grid {
  max-width: 100%;
}

@media only screen and (min-width: 768px) {
  .cre-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cre-contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 12rem;
  border-radius: 12px;
  width: 100%;
}

.cre-contact-card .card-content {
  flex: 1;
  padding: 1.35rem 1.5rem !important;
  width: 100%;
  box-sizing: border-box;
}

.cre-contact-card .cre-contact-email,
.cre-contact-card .cre-contact-email a {
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.cre-account-type {
  margin: 1rem 0 0.5rem;
}

.cre-account-type-label {
  display: block;
  font-weight: 500;
  color: #3a4652;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.cre-account-type .cre-typebtn {
  display: flex;
  width: 100%;
  margin-bottom: 0.5rem;
  min-height: 48px;
}

/* Agent profile tabs — sold panel hidden until Materialize Tabs activates it */
#sold {
  display: none;
}

/* Materialize default teal/orange → site palette */
.teal,
.teal.darken-1,
.teal.darken-2,
.teal.darken-3,
.teal.darken-4 {
  background-color: var(--cre-teal) !important;
}

.orange,
.orange.darken-1,
.deep-orange,
.deep-orange.darken-1 {
  background-color: var(--cre-sand) !important;
}

.cre-admin-pagination.pagination li.active {
  background-color: var(--cre-teal);
}

.collection .collection-item.active {
  background-color: var(--cre-teal);
  border-color: var(--cre-teal);
}

.cre-receipt {
  max-width: 640px;
  border-radius: 14px;
  border: 1px solid rgba(36, 74, 165, 0.12);
}

.cre-receipt-header {
  border-bottom: 1px solid #e8eef4;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.cre-receipt-brand {
  font-weight: 600;
  color: var(--cre-teal);
  margin-left: 0.35rem;
}

.cre-receipt-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cre-receipt-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cre-muted);
  margin-bottom: 0.2rem;
}

.cre-receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.cre-receipt-table th,
.cre-receipt-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid #e8eef4;
}

.cre-receipt-table tfoot td {
  border-bottom: none;
  padding-top: 0.75rem;
}

.cre-oauth-login {
  margin-top: 1.25rem;
}

.cre-oauth-divider {
  text-align: center;
  color: var(--cre-muted);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.cre-oauth-divider span {
  background: #fff;
  padding: 0 0.65rem;
  position: relative;
  z-index: 1;
}

.cre-oauth-divider::before {
  content: "";
  display: block;
  height: 1px;
  background: #e0e6ed;
  margin-bottom: -0.55rem;
}

.cre-oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cre-oauth-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: auto !important;
  min-height: 48px;
  line-height: 1.25 !important;
  padding: 0.62rem 1rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30, 64, 140, 0.12);
  cursor: pointer;
}

.cre-oauth-btn > * {
  pointer-events: none;
}

.cre-oauth-btn__icon {
  width: 1.375rem;
  height: 1.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.cre-oauth-btn__icon img {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  object-fit: contain;
}

.cre-oauth-btn--google {
  background: transparent !important;
  border: 1px solid #dadce0;
  box-shadow: none;
  color: #3c4043 !important;
}

.cre-oauth-btn--google:hover {
  background: rgba(66, 133, 244, 0.06) !important;
}

.cre-oauth-btn__label {
  font-weight: 500;
}

.cre-oauth-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.cre-register-legal-group {
  margin-top: 1.1rem;
  margin-bottom: 0.25rem;
  padding-bottom: 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  clear: both;
}

.cre-register-legal {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.cre-register-legal__row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  color: inherit;
  margin: 0;
  width: 100%;
}

.cre-legal-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: #1e408c;
  cursor: pointer;
}

.cre-register-legal__copy {
  flex: 1 1 auto;
  line-height: 1.4;
  min-width: 0;
}

.cre-register-legal__copy a {
  font-weight: 500;
}

.cre-register-legal--invalid .cre-register-legal__copy,
.cre-register-legal--invalid .cre-register-legal__copy a {
  color: #c62828;
}

.cre-register-legal--invalid .cre-legal-checkbox {
  outline: 2px solid #e53935;
  outline-offset: 1px;
}

.cre-register-legal__error {
  display: block;
  font-size: 0.8rem;
  margin: 0.3rem 0 0 1.6rem;
}

.cre-auth-form-actions {
  margin-top: 1.15rem;
  padding-top: 0.15rem;
  clear: both;
}

.cre-auth-form-actions .cf-turnstile {
  margin-bottom: 0.85rem;
}

.cre-register-legal--block {
  margin-top: 1.1rem;
}

.cre-register-verify {
  margin-top: 0.25rem;
}

.cre-register-verify .cre-auth-submit {
  margin-top: 0.5rem;
}

.cre-auth-page {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.cre-auth-panel {
  max-width: 560px;
}

.cre-auth-card .card-content {
  padding: 1.35rem 1.5rem 1.5rem;
}

.cre-auth-heading {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--cre-teal-dark);
}

.cre-auth-lead {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1.15rem;
}

.cre-auth-alert {
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
}

.cre-auth-form .input-field {
  margin-top: 0.75rem;
}

.cre-auth-form .cre-auth-submit {
  width: 100%;
  margin-top: 0;
  display: block;
  position: relative;
  float: none;
  clear: both;
}

.cre-auth-submit {
  width: 100%;
  margin-top: 1rem;
}

.cre-auth-alt-link {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.95rem;
}

.cre-auth-alt-link a {
  font-weight: 500;
}

.cre-auth-footer-link {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.92rem;
}

.cre-seller-contact {
  margin: 0.75rem 0 1rem;
  padding: 0.65rem 0.75rem;
  background: #f5f8fc;
  border-radius: 6px;
  border: 1px solid #e3eaf3;
}

/* Listing detail — gallery on top, content + sidebar below */
.cre-listing-detail-back {
  margin-bottom: 0.5rem;
}

.cre-listing-detail-gallery-full {
  margin-bottom: 1.25rem;
}

.cre-listing-detail-gallery-full .cre-gallery {
  margin-bottom: 0;
}

.cre-listing-detail-gallery-full .cre-gallery-main {
  aspect-ratio: 16 / 9;
  max-height: min(56vw, 540px);
  width: 100%;
}

@media only screen and (min-width: 993px) {
  .cre-listing-detail-gallery-full .cre-gallery-stage {
    border-radius: 10px;
    overflow: hidden;
  }
}

.cre-listing-detail-body {
  margin-bottom: 2rem;
}

.cre-listing-detail-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0.45rem 0 0.2rem;
  line-height: 1.25;
  color: var(--cre-teal-dark);
}

.cre-listing-detail-loc {
  margin: 0;
}

.cre-listing-detail-price {
  font-size: 1.85rem;
  margin: 0.4rem 0 0.5rem;
}

.cre-listing-detail-specs {
  margin: 0 0 0.25rem;
  gap: 1.4rem;
}

.cre-listing-detail-section-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 1.35rem 0 0.65rem;
}

.cre-listing-detail-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 1.35rem;
}

.cre-listing-detail-description {
  line-height: 1.55;
}

.cre-listing-detail-history {
  max-width: 420px;
}

@media only screen and (min-width: 993px) {
  .cre-listing-detail-aside {
    position: sticky;
    top: 0.85rem;
  }
}

.cre-card-agent {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #e8eef4;
}

.cre-card-agent__avatar {
  width: 40px;
  height: 40px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cre-card-agent__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.cre-card-agent__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cre-card-agent__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cre-teal-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cre-listing-detail-aside .card-content {
  padding: 1rem 1.15rem 1.15rem;
}

.cre-aside-heading {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cre-teal-dark);
  margin: 0 0 0.5rem;
}

.cre-aside-lead {
  font-size: 0.84rem;
  line-height: 1.4;
  margin: 0 0 0.65rem;
}

.cre-aside-lead--tight {
  margin-bottom: 0.5rem;
}

.cre-aside-divider {
  border: none;
  border-top: 1px solid #e8eef4;
  margin: 0.9rem 0;
}

.cre-seller-profile__card {
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
}

.cre-seller-profile__hero {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.cre-seller-profile__avatar {
  width: 52px;
  height: 52px;
  font-size: 1.05rem;
}

.cre-seller-profile__name {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  color: var(--cre-teal-dark);
  line-height: 1.25;
}

.cre-seller-profile__meta {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.cre-seller-profile__profile-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.cre-seller-profile__bio {
  font-size: 0.84rem;
  line-height: 1.4;
  color: #455a64;
  margin: 0 0 0.55rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cre-seller-profile__channels {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cre-seller-channel {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 6px;
  color: inherit;
  font-size: 0.86rem;
  min-height: 0;
}

.cre-seller-channel:hover {
  border-color: #c5d4ea;
  background: #fafcff;
}

.cre-seller-channel .material-icons {
  font-size: 1.1rem;
  color: var(--cre-teal);
  flex-shrink: 0;
}

.cre-seller-channel__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.cre-seller-channel--phone {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.cre-seller-channel__main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 6px;
  color: inherit;
  min-width: 0;
}

.cre-seller-channel__main:hover {
  border-color: #c5d4ea;
  background: #fafcff;
}

.cre-seller-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  min-height: 2.35rem;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid #e3eaf3;
  background: #fff;
  color: #1e408c !important;
}

.cre-seller-channel__icon .material-icons {
  font-size: 1.15rem;
}

.cre-seller-channel__icon--wa {
  color: #128c7e !important;
  border-color: #b8e6cf;
}

.cre-seller-channel__icon--wa:hover {
  border-color: #25d366;
  background: #f0fdf4;
}

.cre-listing-enquiry .cre-enquiry-favorite {
  margin-bottom: 0.45rem;
}

.cre-listing-enquiry .input-field {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.cre-btn-enquiry {
  background: var(--cre-teal) !important;
}

.cre-card-seller {
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
