/* ==========================================================
   myRentHouse PROPERTY DETAIL DEMO 2 DESIGN SYSTEM
   Shared only by the isolated _2 public-detail demos.
========================================================== */

body.mrh-detail-demo2 {
  --mrh-demo-sky: #38bdf8;
  --mrh-demo-sky-dark: #0284c7;
  --mrh-demo-ink: #172033;
  --mrh-demo-muted: #64748b;
  --mrh-demo-line: #dce7f0;
  --mrh-demo-soft: #f5fbff;
  color: var(--mrh-demo-ink);
  background: #f5f8fb;
}

.mrh-detail-demo2 .page-wrapper .container-fluid {
  width: 100%;
  max-width: none;
  padding-right: clamp(12px, 2vw, 30px);
  padding-left: clamp(12px, 2vw, 30px);
}

.mrh-detail-demo2 .mrh-stack {
  display: grid;
  gap: 18px;
}

.mrh-detail-demo2 .mrh-stack > .card,
.mrh-detail-demo2 .mrh-demo-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--mrh-demo-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
}

.mrh-detail-demo2 .mrh-stack > .card > .card-body,
.mrh-detail-demo2 .mrh-demo-card > .card-body {
  padding: 22px;
}

.mrh-detail-demo2 .mrh-section-title {
  margin: 0;
  color: var(--mrh-demo-ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.mrh-detail-demo2 .mrh-subtitle {
  margin-top: 5px;
  color: var(--mrh-demo-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.mrh-detail-demo2 .mrh-p {
  color: #445269;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.78;
}

.mrh-detail-demo2 hr {
  border-color: #e7eef4;
}

/* Hero */

.mrh-detail-demo2 .mrh-hero-shell {
  display: block;
}

.mrh-detail-demo2 .mrh-hero-rail {
  display: none;
}

.mrh-detail-demo2 .mrh-stack:not(.mrh-sticky) > .card:first-child > .card-body {
  padding: 0;
}

.mrh-detail-demo2 .mrh-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 58vh, 620px);
  overflow: hidden;
  border-radius: 21px 21px 0 0;
  background: #0f172a;
}

.mrh-detail-demo2 .mrh-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 12, 24, .12) 24%, rgba(3, 12, 24, .88) 100%),
    linear-gradient(90deg, rgba(3, 12, 24, .36), transparent 62%);
  pointer-events: none;
}

.mrh-detail-demo2 .mrh-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mrh-detail-demo2 .mrh-hero-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
}

.mrh-detail-demo2 .mrh-hero-headline {
  max-width: min(720px, 76%);
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  background: rgba(8, 18, 35, .42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mrh-detail-demo2 .mrh-hero-headline::before {
  display: block;
  margin-bottom: 9px;
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
  content: "Property spotlight";
}

.mrh-detail-apartment .mrh-hero-headline::before {
  content: "Apartment community";
}

.mrh-detail-home-rental .mrh-hero-headline::before {
  content: "Long-term rental";
}

.mrh-detail-home-sale .mrh-hero-headline::before {
  content: "Home for sale";
}

.mrh-detail-demo2 .mrh-hero-h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1;
}

.mrh-detail-demo2 .mrh-hero-addr {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.mrh-detail-demo2 .mrh-hero-addr i {
  margin-right: 6px;
  color: var(--mrh-demo-sky);
}

.mrh-detail-demo2 .mrh-hero-actions {
  display: flex;
  gap: 8px;
}

.mrh-detail-demo2 .mrh-iconbtn {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 13px;
  color: #ffffff;
  background: rgba(8, 18, 35, .44);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mrh-detail-demo2 .mrh-iconbtn:hover,
.mrh-detail-demo2 .mrh-iconbtn.saved {
  color: #ffffff;
  background: rgba(2, 132, 199, .88);
}

.mrh-detail-demo2 .mrh-hero-specs {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.mrh-detail-demo2 .mrh-spec {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(8, 18, 35, .54);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mrh-detail-demo2 .mrh-spec i {
  color: var(--mrh-demo-sky);
  font-size: 16px;
}

/* Command bar */

.mrh-detail-demo2 .mrh-commandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-top: 1px solid var(--mrh-demo-line);
  background:
    radial-gradient(circle at 92% -70%, rgba(56, 189, 248, .24), transparent 42%),
    linear-gradient(135deg, #ffffff, #eff9ff);
}

.mrh-detail-demo2 .mrh-price {
  color: var(--mrh-demo-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.mrh-detail-demo2 .mrh-price small {
  color: #526174;
  font-size: 12px;
  font-weight: 700;
}

.mrh-detail-demo2 .mrh-pillrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.mrh-detail-demo2 .mrh-pill {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #d8e5ef;
  border-radius: 11px;
  color: #334155;
  background: #ffffff;
  font-size: 11px;
  font-weight: 850;
  box-shadow: none;
}

.mrh-detail-demo2 .mrh-pill i {
  color: var(--mrh-demo-sky-dark);
}

.mrh-detail-demo2 .mrh-pill:hover {
  border-color: var(--mrh-demo-sky);
  color: #075985;
  background: #eef9ff;
  text-decoration: none;
}

/* Section cards */

.mrh-detail-demo2 .mrh-stack:not(.mrh-sticky) > .card:not(:first-child) > .card-body {
  position: relative;
}

.mrh-detail-demo2 .mrh-stack:not(.mrh-sticky) > .card:not(:first-child) > .card-body::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--mrh-demo-sky), var(--mrh-demo-sky-dark));
  content: "";
}

.mrh-detail-demo2 .mrh-pillgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.mrh-detail-demo2 .mrh-featpill {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #dce8f0;
  border-radius: 12px;
  color: #334155;
  background: linear-gradient(135deg, #ffffff, #f6fbff);
  font-size: 13px;
  font-weight: 750;
}

.mrh-detail-demo2 .mrh-featpill i {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--mrh-demo-sky-dark);
  font-size: 10px;
}

/* Tables */

.mrh-detail-demo2 .table-responsive {
  overflow: hidden;
  border: 1px solid #dce7f0;
  border-radius: 14px;
}

.mrh-detail-demo2 .table {
  margin: 0;
  color: #334155;
  font-size: 13px;
}

.mrh-detail-demo2 .table th {
  padding: 12px;
  border-top: 0;
  color: #526174;
  background: #f0f8fd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mrh-detail-demo2 .table td {
  padding: 12px;
  border-color: #e8eef4;
  font-weight: 650;
  vertical-align: middle;
}

/* Ranked public gallery */

.mrh-detail-demo2 #imagesBlock .popup-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 10px;
  margin: 0;
}

.mrh-detail-demo2 #imagesBlock .popup-gallery > [class*="col-"] {
  width: auto;
  max-width: none;
  min-width: 0;
  grid-column: span 4;
  padding: 0;
  margin: 0;
  flex: none;
}

.mrh-detail-demo2 #imagesBlock .popup-gallery > [class*="col-"]:first-child {
  grid-column: span 8;
  grid-row: span 2;
}

.mrh-detail-demo2 #imagesBlock .popup-gallery a,
.mrh-detail-demo2 #imagesBlock .thumb-wrap {
  width: 100%;
  height: 100%;
  display: block;
}

.mrh-detail-demo2 #imagesBlock .thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #172033;
}

.mrh-detail-demo2 #imagesBlock .thumb-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(5, 10, 20, .32));
  pointer-events: none;
}

.mrh-detail-demo2 #imagesBlock .thumb-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.mrh-detail-demo2 #imagesBlock .thumb-wrap:hover img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

/* Videos */

.mrh-detail-demo2 .mrh-video-grid {
  gap: 12px;
}

.mrh-detail-demo2 .mrh-video-card,
.mrh-detail-demo2 .mrh-video-thumb {
  overflow: hidden;
  border-radius: 15px;
}

/* Map */

.mrh-detail-demo2 #mapBlock > .card-body {
  padding: 22px;
  background:
    radial-gradient(circle at 93% -48%, rgba(56, 189, 248, .23), transparent 42%),
    #ffffff;
}

.mrh-detail-demo2 #mapBlock #map {
  width: 100%;
  height: clamp(390px, 48vw, 560px);
  overflow: hidden;
  border: 1px solid #d7e4ed;
  border-radius: 17px;
  background: #eaf5fb;
}

/* Policy cards and secondary cards */

.mrh-detail-demo2 .mrh-policy-center-card,
.mrh-detail-demo2 .mrh-pet-policy-card,
.mrh-detail-demo2 .mrh-policy-card {
  border: 1px solid var(--mrh-demo-line);
  border-radius: 22px;
  box-shadow: none;
}

/* Right rail */

.mrh-detail-demo2 .mrh-sticky {
  position: sticky;
  top: 148px;
}

.mrh-detail-demo2 .mrh-sticky.mrh-stack > .card {
  border: 1px solid #d7e5ef;
  border-radius: 22px;
  background: #ffffff;
}

.mrh-detail-demo2 .mrh-sticky.mrh-stack > .card > .card-body:first-child {
  background:
    radial-gradient(circle at 104% -30%, rgba(56, 189, 248, .42), transparent 42%),
    linear-gradient(135deg, #ffffff, #ebf8ff);
}

.mrh-detail-demo2 .mrh-sticky .form-control {
  min-height: 45px;
  border: 1px solid #d3e0e9;
  border-radius: 11px;
  color: var(--mrh-demo-ink);
  font-size: 13px;
  font-weight: 650;
}

.mrh-detail-demo2 .mrh-sticky textarea.form-control {
  min-height: 125px;
  line-height: 1.55;
}

.mrh-detail-demo2 .mrh-sticky .form-control:focus {
  border-color: var(--mrh-demo-sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .13);
}

.mrh-detail-demo2 .mrh-sticky .btn-primary,
.mrh-detail-demo2 .mrh-sticky .btn-info {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--mrh-demo-sky), var(--mrh-demo-sky-dark));
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}

/* Shared public inquiry include */

.mrh-detail-demo2 .mrh-vr-inquiry-shell > .card {
  overflow: hidden;
  border: 1px solid #d7e5ef;
  border-radius: 22px;
  background: #ffffff;
}

.mrh-detail-demo2 .mrh-vr-inquiry-shell .mrh-thread-lock {
  border: 1px solid rgba(2, 132, 199, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fdff, #edf9ff);
  box-shadow: none;
}

.mrh-detail-demo2 .mrh-vr-inquiry-shell .mrh-thread-lock-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mrh-demo-sky), var(--mrh-demo-sky-dark));
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

/* ==========================================================
   HOME FOR SALE DEMO: VACATION-LEVEL HERO AND CONVERSION RAIL
========================================================== */

.mrh-detail-home-sale .mrh-stack:not(.mrh-sticky) > .mrh-sale-showcase:first-child {
  margin-bottom: 0;
}

.mrh-sale-showcase {
  overflow: visible;
  margin-bottom: 18px;
  border: 1px solid #d9e5ee;
  border-radius: 24px;
  background: #ffffff;
}

.mrh-sale-showcase-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 64vh, 700px);
  overflow: hidden;
  border-radius: 23px 23px 0 0;
  background: #0f172a;
}

.mrh-sale-showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mrh-sale-showcase-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 12, 24, .15) 16%, rgba(4, 12, 24, .38) 48%, rgba(4, 12, 24, .92) 100%),
    linear-gradient(90deg, rgba(4, 12, 24, .48), transparent 66%);
}

.mrh-sale-showcase-top {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mrh-sale-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 18, 35, .43);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

.mrh-sale-showcase-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, .13);
}

.mrh-sale-showcase-tools {
  display: flex;
  gap: 8px;
}

.mrh-sale-showcase-tool {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .31);
  border-radius: 14px;
  color: #172033;
  background: rgba(255, 255, 255, .93);
  font-size: 17px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mrh-sale-showcase-tool:hover,
.mrh-sale-showcase-tool.saved {
  color: #ffffff;
  background: #0284c7;
  text-decoration: none;
}

.mrh-sale-showcase-tool.danger:hover {
  background: #dc2626;
}

.mrh-sale-showcase-content {
  position: absolute;
  right: 42%;
  bottom: 72px;
  left: 42px;
  z-index: 3;
}

.mrh-sale-showcase-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #bae6fd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.mrh-sale-showcase-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 6.2vw, 86px);
  font-weight: 950;
  letter-spacing: -.065em;
  line-height: .92;
  text-wrap: balance;
}

.mrh-sale-showcase-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 21px;
  color: rgba(255, 255, 255, .91);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}

.mrh-sale-showcase-location i {
  margin-top: 4px;
  color: #38bdf8;
}

.mrh-sale-showcase-tagline {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.mrh-sale-weather {
  position: absolute;
  right: 38px;
  bottom: 74px;
  z-index: 3;
  width: min(310px, 34%);
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 19px;
  color: #ffffff;
  background: rgba(8, 18, 35, .67);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mrh-sale-weather-top,
.mrh-sale-weather-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mrh-sale-weather-label {
  display: block;
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.mrh-sale-weather-location {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 750;
}

.mrh-sale-weather-icon {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  color: #7dd3fc;
  background: rgba(255, 255, 255, .08);
  font-size: 18px;
}

.mrh-sale-weather-current {
  justify-content: flex-start;
  margin-top: 16px;
}

.mrh-sale-weather-temperature {
  color: #ffffff;
  font-size: 35px;
  font-weight: 950;
  letter-spacing: -.05em;
}

.mrh-sale-weather-temperature span {
  color: #7dd3fc;
  font-size: 18px;
  vertical-align: top;
}

.mrh-sale-weather-condition strong,
.mrh-sale-weather-condition span {
  display: block;
}

.mrh-sale-weather-condition strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.mrh-sale-weather-condition span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 650;
}

.mrh-sale-weather-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
}

.mrh-sale-weather-details > div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px 6px;
  text-align: center;
}

.mrh-sale-weather-details > div + div {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.mrh-sale-weather-details i {
  color: #38bdf8;
  font-size: 10px;
}

.mrh-sale-weather-details span {
  color: rgba(255, 255, 255, .55);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.mrh-sale-weather-details strong {
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.mrh-sale-weather-updated {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: rgba(255, 255, 255, .48);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mrh-sale-weather-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.mrh-sale-weather.is-loading .mrh-sale-weather-current,
.mrh-sale-weather.is-loading .mrh-sale-weather-details {
  opacity: .68;
}

.mrh-sale-weather.is-unavailable .mrh-sale-weather-live-dot {
  background: #f59e0b;
}

.mrh-sale-spec-rail {
  position: relative;
  z-index: 4;
  width: calc(100% - 54px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: -38px auto 0;
  overflow: hidden;
  border: 1px solid #dce7f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
}

.mrh-sale-spec-card {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 94px;
  padding: 15px 10px;
}

.mrh-sale-spec-card + .mrh-sale-spec-card {
  border-left: 1px solid #e2e8f0;
}

.mrh-sale-spec-icon {
  width: 37px;
  height: 37px;
  display: grid;
  flex: 0 0 37px;
  place-items: center;
  border-radius: 11px;
  color: #0284c7;
  background: #e8f7ff;
  font-size: 15px;
}

.mrh-sale-spec-value,
.mrh-sale-spec-label {
  display: block;
}

.mrh-sale-spec-value {
  color: #172033;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.mrh-sale-spec-label {
  margin-top: 5px;
  color: #64748b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mrh-sale-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 27px 23px;
}

.mrh-sale-command-price-line,
.mrh-sale-command-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.mrh-sale-command-price {
  color: #172033;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -.045em;
}

.mrh-sale-command-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #15803d;
  background: #ecfdf3;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.mrh-sale-command-status i {
  font-size: 7px;
}

.mrh-sale-command-status.is-closed {
  color: #b91c1c;
  background: #fff1f2;
}

.mrh-sale-command-link {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid #d8e5ef;
  border-radius: 11px;
  color: #334155;
  background: #ffffff;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.mrh-sale-command-link:hover {
  border-color: #38bdf8;
  color: #075985;
  background: #effaff;
  text-decoration: none;
}

.mrh-sale-command-link.primary {
  border-color: #0284c7;
  color: #ffffff;
  background: #0284c7;
}

.mrh-sale-action-card {
  overflow: hidden;
  border: 1px solid #d7e5ef;
  border-radius: 22px;
  background: #ffffff;
}

.mrh-sale-action-head {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border-bottom: 1px solid #d7e5ef;
  background:
    radial-gradient(circle at 104% -22%, rgba(56, 189, 248, .42), transparent 44%),
    linear-gradient(135deg, #ffffff, #eaf8ff);
}

.mrh-sale-action-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #036b9f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mrh-sale-action-status {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-size: 10px;
  font-weight: 900;
}

.mrh-sale-action-status i {
  font-size: 7px;
}

.mrh-sale-action-status.is-closed {
  color: #dc2626;
}

.mrh-sale-action-price {
  margin: 16px 0 5px;
  color: #172033;
  font-size: 38px;
  font-weight: 950;
  letter-spacing: -.055em;
}

.mrh-sale-action-head p {
  margin: 0;
  color: #526174;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.mrh-sale-action-body {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.mrh-sale-action-button,
.mrh-sale-action-link {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.mrh-sale-action-button {
  color: #ffffff;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.mrh-sale-action-button:hover {
  color: #ffffff;
  text-decoration: none;
}

.mrh-sale-action-link {
  border: 1px solid #d8e5ef;
  color: #334155;
  background: #ffffff;
}

.mrh-sale-action-link:hover {
  color: #075985;
  background: #effaff;
  text-decoration: none;
}

.mrh-sale-inquiry-shell > .card {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d7e5ef;
  border-radius: 22px;
  background: #ffffff;
}

.mrh-detail-home-sale .mrh-sale-open-house > .card-body,
.mrh-detail-home-sale .mrh-sale-about > .card-body,
.mrh-detail-home-sale .mrh-sale-features > .card-body,
.mrh-detail-home-sale .mrh-sale-amenities > .card-body,
.mrh-detail-home-sale .mrh-sale-gallery > .card-body,
.mrh-detail-home-sale .mrh-sale-videos > .card-body,
.mrh-detail-home-sale .mrh-sale-map > .card-body {
  padding: 25px;
}

.mrh-detail-home-sale .mrh-sale-open-house > .card-body,
.mrh-detail-home-sale .mrh-sale-gallery > .card-body,
.mrh-detail-home-sale .mrh-sale-map > .card-body {
  background:
    radial-gradient(circle at 94% -45%, rgba(56, 189, 248, .20), transparent 34%),
    #ffffff;
}

.mrh-detail-home-sale .mrh-sale-about .mrh-section-title,
.mrh-detail-home-sale .mrh-sale-features .mrh-section-title,
.mrh-detail-home-sale .mrh-sale-amenities .mrh-section-title,
.mrh-detail-home-sale .mrh-sale-gallery .mrh-section-title,
.mrh-detail-home-sale .mrh-sale-videos .mrh-section-title,
.mrh-detail-home-sale .mrh-sale-map .mrh-section-title,
.mrh-detail-home-sale .mrh-sale-open-house .mrh-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mrh-detail-home-sale .mrh-sale-about .mrh-section-title::before,
.mrh-detail-home-sale .mrh-sale-features .mrh-section-title::before,
.mrh-detail-home-sale .mrh-sale-amenities .mrh-section-title::before,
.mrh-detail-home-sale .mrh-sale-gallery .mrh-section-title::before,
.mrh-detail-home-sale .mrh-sale-videos .mrh-section-title::before,
.mrh-detail-home-sale .mrh-sale-map .mrh-section-title::before,
.mrh-detail-home-sale .mrh-sale-open-house .mrh-section-title::before {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 42px;
  border: 1px solid rgba(2, 132, 199, .13);
  border-radius: 13px;
  background: #e8f7ff;
  content: "";
}

.mrh-detail-home-sale .mrh-sale-about .mrh-p {
  margin: 0;
  color: #3f4c5f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.78;
  white-space: pre-line;
}

.mrh-detail-home-sale .mrh-sale-about .mrh-p:first-of-type {
  color: #263449;
  font-size: 16px;
  font-weight: 650;
}

.mrh-detail-home-sale .mrh-sale-about .mrh-p + .mrh-p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8eef4;
}

.mrh-detail-home-sale #imagesBlock .popup-gallery {
  display: block;
}

.mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 {
  width: 100%;
  max-width: none;
  padding: 0;
}

.mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 10px;
  margin: 0;
}

.mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  min-width: 0;
  grid-column: span 4;
  padding: 0;
  margin: 0;
  flex: none;
}

.mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row > [class*="col-"]:first-child {
  grid-column: span 8;
  grid-row: span 2;
}

.mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row a,
.mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row .thumb-wrap {
  width: 100%;
  height: 100%;
  display: block;
}

.mrh-detail-home-sale .mrh-sale-inquiry-shell > .card > .card-body:first-child {
  background:
    radial-gradient(circle at 104% -30%, rgba(56, 189, 248, .42), transparent 42%),
    linear-gradient(135deg, #ffffff, #ebf8ff);
}

.mrh-detail-home-sale .mrh-sale-inquiry-shell .mrh-thread-lock {
  border: 1px solid rgba(2, 132, 199, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fdff, #edf9ff);
  box-shadow: none;
}

.mrh-detail-home-sale .mrh-sale-inquiry-shell .mrh-thread-lock-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

@media (max-width: 1280px) {
  .mrh-sale-showcase-content {
    right: 38%;
    left: 30px;
  }

  .mrh-sale-weather {
    right: 28px;
    width: 35%;
  }

  .mrh-sale-command {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .mrh-sale-showcase-visual {
    min-height: 760px;
  }

  .mrh-sale-showcase-content {
    right: 24px;
    bottom: 300px;
    left: 24px;
  }

  .mrh-sale-weather {
    right: 24px;
    bottom: 54px;
    left: 24px;
    width: auto;
  }

  .mrh-sale-spec-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrh-sale-spec-card + .mrh-sale-spec-card {
    border-left: 0;
  }

  .mrh-sale-spec-card:nth-child(even) {
    border-left: 1px solid #e2e8f0;
  }

  .mrh-sale-spec-card:nth-child(n + 3) {
    border-top: 1px solid #e2e8f0;
  }
}

@media (max-width: 540px) {
  .mrh-sale-showcase-top {
    top: 15px;
    right: 15px;
    left: 15px;
  }

  .mrh-sale-showcase-badge {
    max-width: 180px;
    font-size: 8px;
  }

  .mrh-sale-showcase-tool {
    width: 40px;
    height: 40px;
  }

  .mrh-sale-showcase-tools .mrh-sale-showcase-tool:nth-child(2) {
    display: none;
  }

  .mrh-sale-showcase-title {
    font-size: 46px;
  }

  .mrh-sale-showcase-location {
    font-size: 14px;
  }

  .mrh-sale-spec-rail {
    width: calc(100% - 28px);
  }

  .mrh-sale-command {
    padding: 23px 18px 19px;
  }

  .mrh-sale-command-links,
  .mrh-sale-command-link {
    width: 100%;
  }

  .mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row {
    grid-template-columns: 1fr;
    grid-auto-rows: 235px;
  }

  .mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row > [class*="col-"],
  .mrh-detail-home-sale #imagesBlock .popup-gallery > .col-lg-12 > .row > [class*="col-"]:first-child {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Responsive */

@media (max-width: 1180px) {
  .mrh-detail-demo2 .mrh-pillgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrh-detail-demo2 .mrh-hero-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .mrh-detail-demo2 .mrh-sticky {
    position: static;
    top: auto;
  }

  .mrh-detail-demo2 .mrh-commandbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .mrh-detail-demo2 .mrh-pillrow {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .mrh-detail-demo2 .mrh-stack > .card > .card-body {
    padding: 18px;
  }

  .mrh-detail-demo2 .mrh-hero {
    min-height: 560px;
  }

  .mrh-detail-demo2 .mrh-hero-top {
    padding: 16px;
  }

  .mrh-detail-demo2 .mrh-hero-headline {
    max-width: calc(100% - 54px);
  }

  .mrh-detail-demo2 .mrh-hero-actions {
    flex-direction: column;
  }

  .mrh-detail-demo2 .mrh-hero-specs {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrh-detail-demo2 .mrh-spec {
    min-height: 55px;
    font-size: 11px;
  }

  .mrh-detail-demo2 .mrh-pillgrid {
    grid-template-columns: 1fr;
  }

  .mrh-detail-demo2 #imagesBlock .popup-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 235px;
  }

  .mrh-detail-demo2 #imagesBlock .popup-gallery > [class*="col-"],
  .mrh-detail-demo2 #imagesBlock .popup-gallery > [class*="col-"]:first-child {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mrh-detail-demo2 *,
  .mrh-detail-demo2 *::before,
  .mrh-detail-demo2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
