html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.property-detail-page {
  font-size: 16px;
  line-height: 1.5;
}

.property-detail-page .navbar .nav-link {
  padding: .75rem .95rem;
}

.property-detail-page .btn {
  min-height: 46px;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.surface-card,
.gallery-card,
.detail-card,
.agent-card,
.map-card,
.ad-card,
.resource-card,
.related-card,
.cta-card {
  background: var(--lv-surface);
  border: 1px solid var(--lv-border);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
}

.property-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 2.5rem 0 7rem;
  background: #0f1812;
}

.property-hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: var(--pd-hero-image, none);
  background-color: #0f1812;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  filter: brightness(0.52) saturate(1.08);
  z-index: 0;
}

.property-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 10, 0.35) 0%, rgba(8, 14, 10, 0.82) 100%),
    rgba(10, 18, 12, 0.28);
  z-index: 1;
}

.property-hero > .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-lite {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.breadcrumb-lite a {
  color: rgba(255,255,255,.95);
}

.scs-inner-page .breadcrumb-lite .breadcrumb-address {
  display: block;
  margin-top: .4rem;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.hero-eyebrow {
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
}

.property-hero h1,
.hero-price {
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.04;
  margin: 0 0 .7rem;
  max-width: 1030px;
}

.hero-location {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-price-block {
  margin-top: .2rem;
}

.hero-price-label {
  margin-bottom: .35rem;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-price-context {
  margin-top: .55rem;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .01em;
}

.hero-facts-secondary {
  margin-top: .35rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
}

.pd-spec {
  margin: 0;
  padding: 1.05rem 1.1rem .45rem;
}

.pd-spec-address {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--lv-border);
}

.pd-spec-address h1 {
  margin: 0;
  color: var(--lv-text);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.pd-spec-address span {
  color: var(--lv-muted);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
}

.pd-spec-offer {
  padding: .85rem 0 .8rem;
  border-bottom: 1px solid var(--lv-border);
}

.pd-spec-offer-label {
  color: var(--lv-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pd-spec-offer-price {
  margin-top: .15rem;
  color: var(--lv-text);
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.pd-spec-offer-meta {
  margin-top: .35rem;
  color: #526158;
  font-size: .92rem;
  font-weight: 650;
}

.pd-spec-size {
  display: flex;
  gap: .5rem;
  padding: .85rem 0 .7rem;
  border-bottom: 1px solid var(--lv-border);
}

.pd-spec-size > div {
  flex: 1 1 0;
  min-width: 0;
}

.pd-spec-size strong {
  display: block;
  color: var(--lv-text);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.pd-spec-size span {
  display: block;
  margin-top: .18rem;
  color: var(--lv-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pd-spec-remarks {
  margin: 0 0 .15rem;
  padding: .8rem 0 .85rem;
  border-bottom: 1px solid var(--lv-border);
  color: var(--lv-text);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-line;
}

.pd-spec-group h2 {
  margin: .85rem 0 .1rem;
  color: var(--lv-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pd-spec-parcel {
  margin: .7rem 0 .45rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(32, 49, 41, .08);
  color: var(--lv-muted);
  font-size: .82rem;
  font-weight: 650;
}

.pd-spec-contact {
  margin: .35rem 0 .85rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(32, 49, 41, .08);
}

.pd-spec-contact .btn {
  width: 100%;
  font-weight: 750;
}

.pd-spec-group dl {
  margin: 0;
}

.pd-spec-group dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .48rem 0;
  border-top: 1px solid rgba(32, 49, 41, .08);
}

.pd-spec-group dt {
  margin: 0;
  color: #5c675f;
  font-size: .9rem;
  font-weight: 600;
}

.pd-spec-group dd {
  margin: 0;
  color: var(--lv-text);
  font-size: .98rem;
  font-weight: 750;
  letter-spacing: -.01em;
  text-align: right;
}

.pd-listing-agent .pd-agent-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 16px;
}

.pd-agent-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, #f7f1e4 0%, #eadab8 42%, #c4a056 100%);
  color: #263a30;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 2px rgba(38, 58, 48, .12);
}

.pd-agent-copy {
  min-width: 0;
}

.pd-agent-name {
  display: block;
  color: #203129;
  font-size: 1.15rem;
  line-height: 1.2;
}

.pd-agent-license,
.pd-agent-office {
  margin-top: 2px;
  color: #526158;
  font-size: .92rem;
  line-height: 1.35;
}

.pd-agent-office {
  font-weight: 700;
}

.pd-agent-phone {
  display: inline-block;
  margin-top: 4px;
  color: #263a30;
  font-weight: 700;
  text-decoration: none;
}

.pd-agent-phone:hover {
  text-decoration: underline;
}

.pd-listing-agent .listing-attribution {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(32, 49, 41, .12);
  color: #8a908c;
  font-size: .72rem;
  line-height: 1.4;
}

.pd-agent-source {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(32, 49, 41, .12);
  color: #8a908c;
  font-size: .72rem;
  line-height: 1.45;
}

.hero-facts {
  margin-top: .85rem;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 650;
  letter-spacing: .01em;
}

.hero-open-house-callout {
  display: block;
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 120, 0.55);
  background: linear-gradient(135deg, rgba(255, 243, 207, 0.96) 0%, rgba(255, 232, 160, 0.92) 100%);
  color: #5c4510;
  max-width: 760px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-open-house-callout-main {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.hero-open-house-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: .28rem .65rem;
  background: #7a6118;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-open-house-date {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  color: #3f3010;
}

.hero-open-house-time {
  font-size: .98rem;
  font-weight: 700;
  color: #6a5318;
}

.chip-open-house {
  background: #fff3cf;
  border-color: #eed489;
  color: #7a6118;
}

.metric-box--open-house {
  background: #fff8e8;
  border-color: #eed489;
}

.metric-box--open-house strong {
  color: #7a6118;
}

.pd-open-house-card {
  border-color: #eed489;
  background: linear-gradient(180deg, #fffdf7 0%, #fff8e8 100%);
  box-shadow: 0 12px 28px rgba(122, 97, 24, 0.12);
}

.pd-open-house-eyebrow {
  color: #7a6118;
  background: #fff3cf;
  border-color: #eed489;
}

.pd-open-house-date {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lv-text);
  line-height: 1.2;
}

.pd-open-house-time {
  margin-top: .35rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--lv-primary-dark);
}

.pd-open-house-more-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}

.pd-open-house-toggle {
  flex: none;
  border: 0;
  padding: 0;
  background: none;
  font-size: .85rem;
  font-weight: 800;
  color: var(--lv-primary-dark);
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
}

.pd-open-house-toggle:hover,
.pd-open-house-toggle:focus-visible {
  color: #7a6118;
}

.pd-open-house-list {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  border-top: 1px solid #eed489;
}

.pd-open-house-list li {
  padding: .7rem 0;
  border-bottom: 1px solid #f4e6bd;
}

.pd-open-house-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pd-open-house-list-date {
  font-weight: 800;
  font-size: .95rem;
  color: var(--lv-text);
  line-height: 1.25;
}

.pd-open-house-list-time {
  margin-top: .15rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--lv-primary-dark);
}

.pd-open-house-list-remarks {
  margin-top: .25rem;
}

.hero-meta,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem 1rem;
  margin-top: .35rem;
}

.hero-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
  margin-left: auto;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .5rem;
}

.hero-pills .chip {
  background: var(--lv-primary);
  border: 2px solid rgba(255, 255, 255, .9);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 68, 40, .28);
}

.pd-share {
  position: relative;
  display: inline-flex;
  z-index: 6;
}

.pd-share-menu {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  bottom: auto;
  left: auto;
  z-index: 30;
  min-width: 196px;
  padding: 6px;
  border-radius: 10px;
  background: #fbf7ee;
  color: #203129;
  box-shadow: 0 14px 32px rgba(20, 30, 24, .28);
  transform: translateY(-50%);
}

.pd-share-menu[hidden] {
  display: none;
}

.pd-share-menu button,
.pd-share-menu a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 650 14px/1.2 Inter, Arial, Helvetica, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.pd-share-menu button:hover,
.pd-share-menu button:focus-visible,
.pd-share-menu a:hover,
.pd-share-menu a:focus-visible {
  background: rgba(32, 49, 41, .08);
  color: #203129;
}

.pd-share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(32, 49, 41, .92);
  color: #fff;
  font: 650 14px/1.2 Inter, Arial, Helvetica, sans-serif;
  box-shadow: 0 10px 24px rgba(20, 30, 24, .28);
}

.pd-share-toast[hidden] {
  display: none;
}

.hero-pills .chip-gold {
  background: #3d9a64;
  border-color: rgba(255, 255, 255, .9);
  color: #fff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #cbdccd;
  background: #edf4ef;
  color: var(--lv-primary-dark);
  border-radius: 999px;
  padding: .45rem .7rem;
  font-size: .82rem;
  font-weight: 800;
}

.hero-meta .chip {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.chip-gold {
  background: #fff3cf;
  color: #7a6118;
  border-color: #eed489;
}

.chip-muted {
  background: #fff;
  color: var(--lv-muted);
}

.chip-warning {
  background: #fff4e6;
  color: #9a5b0b;
  border-color: #f1d0a0;
}

.content-shell {
  margin-top: -5.5rem;
  position: relative;
  z-index: 5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: .75rem;
  overflow: hidden;
  border-radius: 22px;
}

.gallery-grid:has(.gallery-image:only-child),
.gallery-grid--single {
  grid-template-columns: 1fr;
  grid-template-rows: 320px;
}

.gallery-image {
  background-size: cover;
  background-position: center;
  min-height: 100%;
  position: relative;
  cursor: pointer;
}

.gallery-image--empty {
  cursor: default;
  background-image: none;
  background: linear-gradient(180deg, #d7e3d4 0%, #b7c7b4 100%);
}

.gallery-image--empty .photo-count {
  pointer-events: none;
}

.gallery-image[data-lightbox-index] {
  cursor: zoom-in;
}

.gallery-image[data-lightbox-index]:focus-visible {
  outline: 3px solid rgba(184, 138, 27, 0.45);
  outline-offset: 3px;
}

.photo-count {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,.96);
  color: var(--lv-primary-dark);
  border-radius: 999px;
  padding: .5rem .75rem;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: var(--lv-shadow);
  pointer-events: none;
}

.gallery-image[data-lightbox-index] .photo-count {
  pointer-events: auto;
  cursor: zoom-in;
}

.gallery-image.main {
  grid-row: span 2;
}

.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 1.25rem;
  align-items: start;
}

.sticky-side {
  position: sticky;
  top: 92px;
}

.property-nav {
  position: sticky;
  top: 74px;
  z-index: 10;
  background: rgba(244, 246, 243, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lv-border);
  padding: .75rem 0;
  margin-bottom: 1.25rem;
}

.property-nav-inner {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .1rem;
}

.property-nav a,
.property-nav button {
  white-space: nowrap;
  border: 1px solid var(--lv-border);
  background: #fff;
  color: var(--lv-primary-dark);
  border-radius: 999px;
  padding: .55rem .85rem;
  font-size: .84rem;
  font-weight: 800;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}

.metric-box {
  background: var(--lv-surface-soft);
  border: 1px solid var(--lv-border);
  border-radius: 16px;
  padding: 1rem .75rem;
  text-align: center;
}

.metric-box strong {
  display: block;
  color: var(--lv-text);
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 800;
}

.metric-box span {
  display: block;
  color: var(--lv-muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .2rem;
}

.detail-section {
  border-top: 1px solid var(--lv-border);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.detail-section:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-item {
  background: var(--lv-surface-soft);
  border: 1px solid var(--lv-border);
  border-radius: 15px;
  padding: .9rem;
  overflow-wrap: anywhere;
}

.detail-item span {
  display: block;
  color: var(--lv-muted);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .2rem;
}

.detail-item strong {
  display: block;
  color: var(--lv-text);
  font-size: .96rem;
}

.sales-summary-grid .sales-summary-item {
  background:
    radial-gradient(circle at top left, rgba(22, 90, 57, .08), transparent 42%),
    linear-gradient(180deg, #f7fbf8, #eef5f0);
  border-color: rgba(22, 90, 57, .16);
}

.sales-summary-grid .sales-summary-item span {
  color: var(--lv-primary-dark);
}

.sales-summary-grid .sales-summary-item strong {
  color: var(--lv-primary-dark);
  font-size: 1rem;
}

.golf-card {
  background:
    radial-gradient(circle at top left, rgba(184, 138, 27, .14), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfdfb);
}

.golf-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem 1rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.golf-card-head .eyebrow {
  margin-bottom: 0;
}

.golf-card-course-link {
  margin-left: auto;
  font-weight: 700;
  white-space: nowrap;
}

.golf-card-remarks {
  margin: 0;
  color: var(--lv-text);
  font-size: .98rem;
  line-height: 1.6;
}

.golf-card-remarks p {
  margin: 0 0 .9rem;
}

.golf-card-remarks p:last-child {
  margin-bottom: 0;
}

.golf-card-remarks-body.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.golf-card-remarks-toggle {
  margin-top: .7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lv-primary);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.golf-card-remarks-toggle:hover,
.golf-card-remarks-toggle:focus-visible {
  color: var(--lv-primary-dark);
}

.course-visual {
  min-height: 330px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(238, 245, 239, .75), rgba(248, 251, 248, .75)),
    url('https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?auto=format&fit=crop&w=1200&q=80') center/cover;
  border: 1px dashed #9fb5a4;
  position: relative;
  overflow: hidden;
}

.course-visual--map {
  background: #e8efe9;
  border: 1px solid var(--lv-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.golf-property-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 330px;
  border-radius: 20px;
}

.course-visual--map .course-pin,
.golf-property-map-pin {
  z-index: 2;
  pointer-events: none;
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-visual--map .course-note {
  z-index: 2;
}

.course-visual--map .mapboxgl-ctrl-top-right,
.course-visual--map .mapboxgl-ctrl-top-left {
  z-index: 3;
}

.course-visual--map .lv-map-measure-readout {
  left: 12px;
  right: 12px;
  bottom: 4.25rem;
  z-index: 3;
}

.course-pin {
  position: absolute;
  top: 43%;
  left: 57%;
  transform: translate(-50%, -50%);
  background: var(--lv-primary);
  color: #fff;
  border-radius: 999px;
  padding: .65rem 1rem;
  font-weight: 900;
  box-shadow: var(--lv-shadow-strong);
  border: 3px solid rgba(255,255,255,.9);
}

.course-visual--map .course-pin {
  top: auto;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  transform: none;
}

.course-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--lv-border);
  border-radius: 16px;
  padding: .9rem;
  color: var(--lv-muted);
  font-size: .9rem;
  font-weight: 700;
  box-shadow: var(--lv-shadow);
}

.map-placeholder {
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(238, 245, 239, .92), rgba(248, 251, 248, .92)),
    url('https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?auto=format&fit=crop&w=1400&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #314a37;
  font-weight: 800;
  position: relative;
  padding: 1.5rem;
  border-radius: var(--lv-radius);
  overflow: hidden;
}

.map-placeholder-content {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--lv-border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--lv-shadow);
  max-width: 370px;
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 58%;
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 0;
  background: var(--lv-primary);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 90, 57, .28);
}

.map-pin span {
  transform: rotate(45deg);
  font-size: .75rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: .85rem;
}

.sales-history-panel {
  padding: 1.1rem 1.2rem 1rem;
}

.sales-history-title {
  margin: 0 0 .75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.sales-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 .1rem;
  position: relative;
}

.sales-timeline:before {
  content: "";
  position: absolute;
  left: 5px;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: var(--lv-border);
}

.sales-timeline-item {
  display: grid;
  grid-template-columns: 14px 7.1rem minmax(0, 1fr);
  gap: .2rem .7rem;
  align-items: center;
  position: relative;
  padding: .38rem 0;
}

.sales-timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--lv-primary);
  z-index: 1;
}

.sales-timeline-date {
  color: var(--lv-muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.sales-timeline-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .4rem;
}

.sales-timeline-copy strong {
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.25;
}

.sales-timeline-copy span {
  color: var(--lv-muted);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.35;
}

.sales-history-panel.is-attribution .sales-history-compliance {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sales-history-compliance {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid var(--lv-border);
  color: #8a908c;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.45;
}

.sales-history-compliance p {
  margin: 0 0 .5rem;
}

.sales-history-compliance p:last-child {
  margin: 0;
}

.sales-history-compliance .idx-mark {
  min-width: 36px;
  height: 16px;
  margin: 0 3px;
  padding: 0 6px;
  font-size: 9px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--lv-surface-soft);
  border: 1px solid var(--lv-border);
  border-radius: 16px;
  padding: .95rem;
}

.timeline-date {
  color: var(--lv-primary-dark);
  font-weight: 800;
  font-size: .88rem;
}

.timeline-body strong {
  display: block;
  font-weight: 800;
}

.timeline-body span {
  color: var(--lv-muted);
  font-size: .88rem;
  font-weight: 600;
}

.agent-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
}

.agent-photo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--lv-border);
  background-color: #edf4ef;
}

.agent-name {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
}

.agent-company {
  color: var(--lv-muted);
  font-weight: 700;
  font-size: .84rem;
  margin-top: .15rem;
}

.agent-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin: 1rem 0;
}

.agent-stat {
  background: var(--lv-surface-soft);
  border: 1px solid var(--lv-border);
  border-radius: 13px;
  text-align: center;
  padding: .65rem .35rem;
}

.agent-stat strong {
  display: block;
  font-size: .9rem;
}

.agent-stat span {
  color: var(--lv-muted);
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.side-actions {
  display: grid;
  gap: .65rem;
}

.side-actions .btn {
  width: 100%;
}

.saved-card {
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}

.ad-card {
  background: linear-gradient(180deg, #fffdf7, #ffffff);
}

.sponsored-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  color: #7a6118;
  background: #fff3cf;
  border-radius: 999px;
  padding: .34rem .6rem;
  margin-bottom: .7rem;
}

.property-detail-page .form-label {
  font-size: .85rem;
  margin-bottom: .45rem;
}

.property-detail-page .form-control,
.property-detail-page .form-select {
  min-height: 46px;
  font-size: .94rem;
  padding-left: .9rem;
  padding-right: .9rem;
}

.property-detail-page textarea.form-control {
  min-height: 110px;
  border-radius: 18px;
}

.cta-card {
  background:
    linear-gradient(135deg, rgba(22, 90, 57, .96), rgba(16, 68, 40, .96)),
    url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1400&q=80') center/cover;
  color: #fff;
}

.cta-card p,
.cta-card .section-subtitle {
  color: rgba(255,255,255,.86);
}

.cta-card .form-label {
  color: #fff;
}

.cta-card .form-control,
.cta-card .form-select {
  border-color: rgba(255,255,255,.3);
}

.property-not-found-card {
  margin-top: 2rem;
}

body.pd-lightbox-open {
  overflow: hidden;
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.pd-lightbox[hidden] {
  display: none !important;
}

.pd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 10, 0.92);
}

.pd-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 2.5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: .75rem 1rem;
  align-items: center;
}

.pd-lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-lightbox__close:hover,
.pd-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pd-lightbox__nav {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pd-lightbox__stage {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.pd-lightbox__image {
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: 18px;
  background: #0f1812;
  box-shadow: var(--lv-shadow-strong);
}

.pd-lightbox__caption,
.pd-lightbox__counter {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.pd-lightbox__caption {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
}

.pd-lightbox__counter {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .pd-lightbox__dialog {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
  }

  .pd-lightbox__nav {
    justify-self: center;
  }

  .pd-lightbox__nav--prev {
    grid-row: 2;
  }

  .pd-lightbox__stage {
    grid-column: 1;
    grid-row: 1;
  }

  .pd-lightbox__nav--next {
    grid-row: 3;
  }

  .pd-lightbox__counter {
    grid-row: 4;
  }

  .pd-lightbox__close {
    top: .25rem;
    right: .25rem;
    background: rgba(8, 14, 10, 0.55);
  }
}

@media (max-width: 1199.98px) {
  .layout-shell {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .detail-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .layout-shell {
    display: block;
  }

  .sticky-side {
    position: static;
    margin-top: 1rem;
  }

  .property-nav {
    top: 64px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 170px 170px;
  }

  .gallery-image.main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .detail-grid.three {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .sales-timeline:before {
    left: 5px;
  }

  .sales-timeline-item {
    grid-template-columns: 14px auto minmax(0, 1fr);
    padding-left: 0;
  }
}

@media (max-width: 575.98px) {
  .property-hero {
    padding: 2rem 0 7rem;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-image {
    min-height: 220px;
    margin-bottom: .75rem;
    border-radius: 18px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions-buttons,
  .hero-actions-buttons .btn {
    width: 100%;
  }

  .hero-actions-buttons .pd-share {
    width: 100%;
  }

  .hero-actions-buttons .pd-share-menu {
    left: 0;
    right: 0;
    top: auto;
    bottom: calc(100% + 8px);
    transform: none;
  }

  .hero-actions-buttons {
    margin-left: 0;
    justify-content: flex-start;
  }
}

.listing-attribution {
  margin: 12px 0 16px;
  color: #203129;
  font-size: 1rem;
  line-height: 1.45;
}

.listing-attribution-line + .listing-attribution-line {
  margin-top: 4px;
}

.idx-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 22px;
  margin: 0 4px;
  padding: 0 8px;
  background: #111;
  color: #fff;
  font: 700 11px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  vertical-align: middle;
}
