/* Public property detail: the property's photos, data and agency come first. */
.sv-property-page {
  --property-ink: #202a2c;
  --property-muted: #5c6b6e;
  --property-line: #dce5e5;
  --property-soft: #f3f7f7;
  --property-accent: #087c80;
  color: var(--property-ink);
}

.sv-property-page .sv2-property-topline {
  padding-block: 22px 12px;
}

.sv-property-heading {
  display: grid;
  padding-block: 4px 28px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  align-items: end;
  gap: 32px;
  row-gap: 20px;
}

.sv-property-heading-copy {
  min-width: 0;
}

.sv-property-page .sv2-property-labels {
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.sv-property-page .sv2-property-labels .property-op-pill,
.sv-property-page .sv2-property-labels .property-badge {
  padding: 6px 10px;
  color: var(--property-accent);
  background: #e6f3f2;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.sv-property-page .sv2-property-labels .property-badge {
  color: #506166;
  background: #eef2f3;
}

.sv-property-page .sv2-property-labels .property-badge.is-reserved {
  color: #805717;
  background: #fff1d8;
}

.sv-property-page .sv-property-heading h1 {
  max-width: 880px;
  margin: 0;
  color: var(--property-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 2.75vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sv-property-page .sv-property-address {
  margin: 12px 0 0;
  color: var(--property-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.sv-property-heading-price {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.sv-property-heading-price > span,
.sv-property-heading-price > small,
.sv-property-price-label {
  color: var(--property-muted);
  font-size: 0.8rem;
}

.sv-property-heading-price > strong {
  color: var(--property-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.sv-property-contact-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  color: var(--property-accent);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.sv-property-contact-link:hover {
  text-decoration: underline;
}

.sv-property-page .sv2-property-gallery {
  display: grid;
  height: clamp(300px, 32vw, 400px);
  min-height: 0;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-radius: 18px;
  background: var(--property-soft);
}

.sv-property-page .sv2-gallery-item {
  display: block;
  background: var(--property-soft);
}

.sv-property-page .sv2-gallery-item.is-primary {
  grid-column: 1;
  grid-row: 1 / -1;
}

.sv-property-page .sv2-gallery-item:nth-child(2) { grid-area: 1 / 2; }
.sv-property-page .sv2-gallery-item:nth-child(3) { grid-area: 1 / 3; }
.sv-property-page .sv2-gallery-item:nth-child(4) { grid-area: 2 / 3; }
.sv-property-page .sv2-gallery-item:nth-child(5) { grid-area: 2 / 2; }
.sv-property-page .sv2-gallery-item[hidden] { display: none; }

.sv-property-page .sv-gallery-count-1 {
  grid-template-columns: 1fr;
}

.sv-property-page .sv-gallery-count-2,
.sv-property-page .sv-gallery-count-3,
.sv-property-page .sv-gallery-count-4 {
  grid-template-columns: 1.7fr 1fr;
}

.sv-property-page .sv-gallery-count-2 .sv2-gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / -1;
}

.sv-property-page .sv-gallery-count-3 .sv2-gallery-item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.sv-property-page .sv-gallery-count-4 {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.sv-property-page .sv-gallery-count-4 .sv2-gallery-item:nth-child(3) { grid-area: 2 / 2; }
.sv-property-page .sv-gallery-count-4 .sv2-gallery-item:nth-child(4) { grid-area: 3 / 2; }

.sv-property-page .sv2-gallery-count {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  background: rgba(26, 39, 41, 0.88);
  color: #fff;
  font-size: 0.83rem;
}

.sv-gallery-image-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(26, 39, 41, 0.84);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.sv-property-no-photos {
  display: grid;
  min-height: 240px;
  padding: 36px;
  place-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px solid var(--property-line);
  border-radius: 18px;
  background: var(--property-soft);
  text-align: center;
}

.sv-property-no-photos strong { font-size: 1.15rem; }
.sv-property-page .sv-property-no-photos p { margin: 0; color: var(--property-muted); }

.sv-property-page .sv2-property-layout {
  padding-top: 32px;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: clamp(28px, 4vw, 60px);
}

.sv-property-page .sv2-property-content { min-width: 0; }

.sv-property-sections {
  position: sticky;
  top: 83px;
  z-index: 50;
  display: flex;
  min-height: 54px;
  margin-top: 16px;
  overflow-x: auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--property-line);
  background: #fff;
  scrollbar-width: thin;
}

.sv-property-sections a {
  display: inline-flex;
  min-height: 46px;
  padding-block: 10px;
  align-items: center;
  flex: 0 0 auto;
  border-bottom: 2px solid transparent;
  color: var(--property-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.sv-property-sections a:hover,
.sv-property-sections a:focus-visible {
  border-bottom-color: var(--property-accent);
  color: var(--property-accent);
}

.sv-property-page [id^="property-"] { scroll-margin-top: 72px; }

.sv-property-page .sv2-detail-facts,
.sv-property-page .sv2-detail-facts.has-many-facts {
  margin: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  border: 0;
}

.sv-property-page .sv2-detail-facts > div,
.sv-property-page .sv2-detail-facts > div:nth-child(n) {
  padding: 13px 16px;
  border: 1px solid var(--property-line);
  border-radius: 10px;
  background: #fff;
}

.sv-property-page .sv2-detail-facts dt {
  color: var(--property-muted);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.sv-property-page .sv2-detail-facts dd {
  margin: 5px 0 0;
  color: var(--property-ink);
  font-size: 1.1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sv-property-mobile-contact { display: none; }

.sv-property-page .sv2-detail-copy,
.sv-property-page .sv2-feature-columns,
.sv-property-page .sv2-location-card {
  margin-top: 40px;
}

.sv-property-page .sv2-property-content > .sv2-detail-copy:first-child { margin-top: 0; }
.sv-property-page .sv2-specification-section { margin-top: 24px; }

.sv-property-page .sv2-detail-copy h2,
.sv-property-page .sv2-feature-columns h2,
.sv-property-page .sv2-specification-section h2,
.sv-property-page .sv2-location-card h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.sv-property-page .sv2-detail-copy > p:last-child {
  margin-top: 18px;
  color: #415156;
  font-size: 0.97rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.sv-property-page .sv2-property-lede {
  margin: 16px 0 0;
  color: var(--property-ink);
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.65;
}

.sv-property-page .sv2-feature-columns { gap: 28px; }
.sv-property-page .property-feature-column { padding: 22px; border: 1px solid var(--property-line); border-radius: 12px; background: var(--property-soft); }
.sv-property-page .sv2-feature-list { margin-top: 14px; }
.sv-property-page .sv2-feature-list li { color: #415156; font-size: 0.91rem; }
.sv-property-page .sv2-feature-list li span { color: var(--property-accent); }

.sv-property-spec-groups {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.sv-property-page .sv2-spec-group {
  min-width: 0;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--property-line);
  border-radius: 12px;
  background: #fff;
}

.sv-property-page .sv2-spec-group.is-wide-group { grid-column: 1 / -1; }

.sv-property-page .sv2-spec-group h3 {
  color: var(--property-accent);
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
}

.sv-property-page .sv2-spec-group .sv2-spec-board {
  margin: 8px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  border: 0;
}

.sv-property-page .sv2-spec-group.is-wide-group .sv2-spec-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sv-property-page .sv2-spec-board > div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--property-line);
}

.sv-property-page .sv2-spec-board dt {
  color: var(--property-muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.sv-property-page .sv2-spec-board dd {
  margin-top: 4px;
  color: var(--property-ink);
  font-size: 1rem;
  font-weight: 800;
}

.sv-property-page .sv2-location-card {
  display: flex;
  min-height: 0;
  padding: 26px;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--property-line);
  border-radius: 12px;
  background: var(--property-soft);
}

.sv-property-page .sv2-location-card .sv2-overline {
  margin-bottom: 8px;
  color: var(--property-accent);
  font-size: 0.72rem;
}

.sv-property-page .sv2-location-card p:not(.sv2-overline) {
  margin: 10px 0 0;
  color: var(--property-muted);
  font-size: 0.91rem;
  line-height: 1.6;
}

.sv-property-page .sv-property-map-link {
  border-color: #b8cece;
  background: #fff;
  color: var(--property-accent);
  font-size: 0.85rem;
}

.sv-property-page .sv2-detail-aside { top: 148px; }
.sv-property-page .sv2-detail-aside:has(.sv-property-inquiry[open]) { position: static; }

.sv-property-page .sv2-contact-card {
  display: block;
  padding: 26px;
  border: 1px solid var(--property-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(28, 50, 52, 0.055);
}

.sv-property-page .sv2-price-stack { margin-top: 6px; }
.sv-property-page .sv2-price-stack .detail-price {
  color: var(--property-ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sv-property-page .sv2-agency-proof {
  margin-top: 22px;
  padding-top: 20px;
  border-color: var(--property-line);
}

.sv-property-page .sv2-agency-proof small { font-size: 0.75rem; color: var(--property-muted); }
.sv-property-page .sv2-agency-proof strong { font-size: 0.95rem; }
.sv-property-page .sv2-agency-proof strong a:hover { color: var(--property-accent); text-decoration: underline; }
.sv-property-page .sv2-agency-avatar { width: 48px; height: 48px; border-radius: 12px; background: #fff; }
.sv-property-page .sv2-property-actions { margin-top: 22px; gap: 9px; }
.sv-property-page .sv2-property-actions .button { min-height: 46px; font-size: 0.84rem; }
.sv-property-page .sv2-property-actions .button-ghost { background: #fff; border-color: var(--property-line); }

.sv-property-inquiry {
  margin-top: 22px;
  border-top: 1px solid var(--property-line);
  border-bottom: 1px solid var(--property-line);
}

.sv-property-inquiry > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--property-ink);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.sv-property-inquiry > summary::-webkit-details-marker { display: none; }
.sv-property-inquiry > summary > span { color: var(--property-accent); font-size: 1.4rem; font-weight: 500; }
.sv-property-inquiry[open] > summary > span { transform: rotate(45deg); }
.sv-property-inquiry .sv2-lead-form { margin: 0 0 20px; }
.sv-property-page .sv2-lead-form label > span { color: var(--property-muted); font-size: 0.8rem; }
.sv-property-page .sv2-lead-form input,
.sv-property-page .sv2-lead-form textarea { background: #fff; font-size: 1rem; }
.sv-property-page .sv2-contact-reveal-grid { gap: 10px; }
.sv-property-page .sv2-contact-reveal-grid .contact-reveal-card { padding: 10px; background: var(--property-soft); border: 0; }
.sv-property-page .sv2-contact-reveal-grid .contact-reveal-title { color: var(--property-muted); font-size: 0.7rem; }
.sv-property-page .sv2-contact-reveal-grid .contact-reveal-button,
.sv-property-page .sv2-contact-reveal-grid .contact-reveal-link { display: inline-flex; min-height: 36px; align-items: center; color: var(--property-accent); font-size: 0.79rem; overflow-wrap: anywhere; }
.sv-property-page .sv2-contact-reveal-grid .contact-reveal-hint { color: var(--property-muted); font-size: 0.68rem; }
.sv-property-page .sv2-contact-card > .sv2-quiet-link { margin-top: 16px; font-size: 0.8rem; }

.sv-property-page a:focus-visible,
.sv-property-page button:focus-visible,
.sv-property-inquiry > summary:focus-visible {
  outline: 3px solid #168e93;
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .sv-property-page .sv2-property-layout { grid-template-columns: minmax(0, 1fr) 306px; gap: 28px; }
  .sv-property-page .sv2-contact-card { padding: 20px; }
  .sv-property-page .sv2-detail-aside { position: sticky; }
  .sv-property-page .sv2-detail-facts,
  .sv-property-page .sv2-detail-facts.has-many-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sv-property-page .sv2-detail-facts > div { padding: 14px; }
}

@media (max-width: 1040px) {
  .sv-property-sections { top: 75px; }
}

@media (max-width: 850px) {
  .sv-property-page .sv2-property-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sv-property-page .sv2-detail-aside { position: static; }
  .sv-property-page .sv2-contact-card { padding: 26px; }
  .sv-property-mobile-contact { display: grid; margin-top: 18px; justify-items: center; gap: 4px; }
  .sv-property-mobile-contact .button { width: 100%; }
  .sv-property-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sv-property-heading-price { justify-items: start; text-align: left; }
  .sv-property-heading-price .sv-property-contact-link { display: none; }
}

@media (max-width: 700px) {
  .sv-property-page .sv2-property-topline { padding-top: 10px; gap: 12px; }
  .sv-property-page .sv2-back-link,
  .sv-property-page .sv2-share-button { font-size: 0.78rem; }
  .sv-property-heading { padding-bottom: 22px; gap: 16px; }
  .sv-property-page .sv-property-heading h1 { font-size: 1.7rem; line-height: 1.23; letter-spacing: -0.04em; }
  .sv-property-page .sv-property-address { margin-top: 9px; font-size: 0.88rem; }
  .sv-property-heading-price > strong { font-size: 1.6rem; }
  .sv-property-page .sv2-property-gallery,
  .sv-property-page .sv2-property-gallery.has-one-image { display: block; height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 13px; }
  .sv-property-page .sv2-property-gallery .sv2-gallery-item:nth-child(n) { display: none; }
  .sv-property-page .sv2-property-gallery .sv2-gallery-item:first-child { display: block; width: 100%; height: 100%; }
  .sv-property-page .sv2-gallery-count { right: 12px; bottom: 12px; min-height: 40px; }
  .sv-property-page .sv2-property-layout { padding-top: 20px; }
  .sv-property-sections { top: 69px; min-height: 50px; gap: 16px; }
  .sv-property-sections a { font-size: 0.875rem; }
  .sv-property-page [id^="property-"] { scroll-margin-top: 54px; }
  .sv-property-page .sv2-detail-facts,
  .sv-property-page .sv2-detail-facts.has-many-facts { margin: 0; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sv-property-page .sv2-detail-facts > div,
  .sv-property-page .sv2-detail-facts > div:nth-child(n) { padding: 11px; }
  .sv-property-page .sv2-detail-copy,
  .sv-property-page .sv2-feature-columns,
  .sv-property-page .sv2-location-card { margin-top: 32px; }
  .sv-property-page .sv2-detail-copy h2,
  .sv-property-page .sv2-feature-columns h2,
  .sv-property-page .sv2-specification-section h2,
  .sv-property-page .sv2-location-card h2 { font-size: 1.2rem; }
  .sv-property-page .sv2-feature-columns { grid-template-columns: 1fr; gap: 28px; }
  .sv-property-spec-groups { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sv-property-page .sv2-spec-group { padding: 16px; }
  .sv-property-page .sv2-spec-group .sv2-spec-board,
  .sv-property-page .sv2-spec-group.is-wide-group .sv2-spec-board { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .sv-property-page .sv2-location-card { padding: 22px; }
  .sv-property-page .sv-property-map-link { width: 100%; font-size: 0.79rem; }
  .sv-property-page .sv2-contact-card { padding: 22px; }
  .sv-property-page .sv2-contact-reveal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .sv-property-page .sv2-spec-group .sv2-spec-board,
  .sv-property-page .sv2-spec-group.is-wide-group .sv2-spec-board { column-gap: 12px; }
  .sv-property-page .sv2-property-labels .property-op-pill,
  .sv-property-page .sv2-property-labels .property-badge { font-size: 0.69rem; }
  .sv-property-page .sv2-contact-reveal-grid { grid-template-columns: minmax(0, 1fr); }
}
