/* Property detail: data-bound blocks shared by SSR and the GrapesJS canvas. */
.pd-experience.jh-layout-container {
  padding: 24px var(--jh-page-gutter, 24px);
  gap: 20px;
  color: #202326;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
.pd-experience * {
  box-sizing: border-box;
}
.pd-experience .jh-block {
  min-width: 0;
}
.pd-experience svg {
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
}
.pd-experience button,
.pd-experience input {
  font: inherit;
}
.pd-experience button {
  cursor: pointer;
}
.pd-experience button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.pd-experience a {
  text-decoration: none;
}
.pd-experience :is(a, button, input):focus-visible {
  outline: 3px solid #fd325977;
  outline-offset: 3px;
}
.pd-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  color: #73767b;
  font-size: 12px;
}
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #454a50;
  font-size: 13px;
  font-weight: 500;
}
.pd-back svg {
  width: 17px;
}
.pd-gallery {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: clamp(290px, 33vw, 430px);
  border-radius: 18px;
  overflow: hidden;
  background: #edeff0;
}
.pd-gallery-tile {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.pd-gallery-tile-0 {
  grid-row: span 2;
}
.pd-gallery-single {
  grid-template-columns: 1fr;
}
.pd-gallery:not(:has(.pd-gallery-tile-2)) .pd-gallery-tile-1 {
  grid-row: span 2;
}
.pd-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.pd-gallery-tile:hover img {
  transform: scale(1.035);
}
.pd-media-label {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #ffffffed;
  color: #484e54;
  font-size: 10px;
  font-weight: 500;
}
.pd-gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #fff7;
  border-radius: 8px;
  background: #fff;
  color: #292d31;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 2px 12px #0001;
}
.pd-gallery-count svg {
  width: 17px;
}
.pd-media-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pd-media-tabs :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid #e4e6e8;
  border-radius: 8px;
  background: #fff;
  color: #50565d;
  font-size: 12px;
}
.pd-media-tabs svg {
  width: 16px;
  height: 16px;
}
.pd-media-tabs span {
  font-size: 10px;
  color: #86898e;
  margin-left: 4px;
}
.pd-category {
  background: #fd3259;
  color: #fff;
  padding: 4px 9px;
  border-radius: 5px;
}
.pd-status {
  color: #24735a;
  background: #eaf5f0;
  padding: 4px 9px;
  border-radius: 5px;
}
.pd-status.is-sold {
  background: #eee;
  color: #666;
}
.pd-demo {
  color: #72777d;
  border: 1px dashed #ccd0d4;
  padding: 3px 8px;
  border-radius: 5px;
}
.pd-icon-button:hover,
.pd-icon-button.is-saved,
.pd-icon-button.is-compared {
  color: #d72750;
  border-color: #f3b6c4;
  background: #fff5f7;
}
.pd-icon-button.is-saved svg {
  fill: #fbd3dd;
}
.pd-section-nav {
  display: flex;
  gap: 27px;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #e0e3e5;
  background: #fafafaf5;
  scrollbar-width: thin;
}
.pd-section-nav a {
  padding: 12px 0;
  color: #687078;
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.pd-section-nav a:hover,
.pd-section-nav a:first-child {
  color: #ce244b;
  border-color: #e53258;
}
.pd-layout.jh-layout-div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}
.pd-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.pd-sidebar {
  height: 100%;
  min-width: 0;
}
.pd-sidebar > .jh-block {
  position: sticky;
  top: 24px;
}
.pd-panel {
  background: #fff;
  border: 1px solid #e5e7e9;
  border-radius: 14px;
  padding: 26px;
  scroll-margin-top: 24px;
  min-width: 0;
}
.pd-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px;
}
.pd-section-heading h2,
.pd-contact-card h2 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.45px;
  font-weight: 600;
  margin: 0;
  color: #282d31;
}
.pd-section-heading > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d1264f;
  white-space: nowrap;
}
.pd-section-heading > a svg {
  width: 16px;
}
.pd-description {
  font-size: 13px;
  color: #6b727a;
  white-space: pre-line;
  line-height: 1.95;
  margin: 0 0 24px;
}
.pd-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  column-gap: 26px;
}
.pd-spec-grid > div {
  padding: 13px 0;
  border-bottom: 1px solid #f0f1f2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
}
.pd-spec-grid dt {
  color: #81878e;
}
.pd-spec-grid dd {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  margin: 0;
  overflow-wrap: anywhere;
  color: #41494f;
}
.pd-record-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #969ba0;
  margin-top: 19px;
}
.pd-record-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-record-meta svg {
  width: 12px;
  height: 12px;
}
.pd-note {
  font-size: 10px !important;
  color: #8a9097;
  line-height: 1.8;
  margin: 16px 0 0;
}
.pd-demo-note {
  background: #fff7eb;
  border-radius: 7px;
  padding: 10px 12px;
  color: #957246;
}
.pd-subtext {
  font-size: 12px;
  color: #7a8188;
  margin: -4px 0 18px;
  line-height: 1.85;
}
.pd-unit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pd-unit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  background: white;
  font-size: 11px;
  color: #7d848b;
  min-width: 0;
}
.pd-unit-card.is-selected {
  border-color: #ee6b86;
  box-shadow: 0 0 0 1px #ee6b86;
  background: #fff8fa;
}
.pd-unit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  width: 100%;
  font-size: 12px;
}
.pd-unit-top > strong {
  color: #3d454c;
  font-weight: 500;
}
.pd-unit-status {
  font-size: 9px;
  color: #868e95;
  background: #f0f2f3;
  padding: 3px 6px;
  border-radius: 4px;
}
.pd-unit-price {
  font-size: 18px;
  color: #d62b52;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.pd-unit-feedback {
  font-size: 10px;
  color: #8a9298;
  margin: 12px 0 18px;
}
.pd-unit-comparison {
  margin: 16px 0 20px;
  border: 1px solid #e6e8ea;
  border-radius: 9px;
}
.pd-unit-comparison > summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-size: 12px;
  color: #56606a;
}
.pd-unit-comparison svg {
  width: 17px;
}
.pd-table-scroll {
  overflow-x: auto;
}
.pd-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
  font-size: 11px;
}
.pd-table-scroll caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.pd-table-scroll :is(th, td) {
  padding: 12px 14px;
  border-top: 1px solid #eceef0;
}
.pd-table-scroll thead th {
  background: #fafafb;
  font-weight: 500;
}
.pd-table-scroll tbody th {
  color: #8a9198;
  font-weight: 400;
}
.pd-plan {
  margin: 18px 0 0;
  border: 1px solid #e8eaec;
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.pd-plan[hidden] {
  display: none;
}
.pd-plan figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid #f0f1f2;
}
.pd-plan figcaption strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #424b52;
}
.pd-plan figcaption small {
  font-size: 10px;
  color: #8a9198;
}
.pd-plan-actions {
  display: flex;
  gap: 8px;
}
.pd-plan-actions :is(a, button) {
  display: grid;
  place-items: center;
  border: 1px solid #e5e8ea;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  background: white;
  color: #717c85;
}
.pd-plan-actions svg {
  width: 15px;
  height: 15px;
}
.pd-plan-image {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: auto;
  background: white;
}
.pd-plan-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.pd-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e82f57;
  color: #fff;
  box-shadow: 0 0 0 5px #e82f5724;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
}
.pd-hotspot:hover {
  box-shadow: 0 0 0 8px #e82f5729;
}
.pd-plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: #fafbfb;
  border-top: 1px solid #eceeef;
}
.pd-plan-legend button {
  border: 0;
  background: none;
  font-size: 10px;
  color: #66727c;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pd-plan-legend span {
  background: #fce8ed;
  color: #d62b52;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.pd-map-card {
  border: 1px solid #e8eaeb;
  border-radius: 10px;
  overflow: hidden;
}
.pd-map-image {
  display: block;
  aspect-ratio: 1.85;
  overflow: hidden;
  background: #f1f4f3;
}
.pd-map-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pd-map-placeholder {
  min-height: 200px;
  background: radial-gradient(
    ellipse at center,
    #edf4ef 0%,
    #e9eeee 55%,
    #f2f4f3 100%
  );
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: #688276;
}
.pd-map-placeholder svg {
  height: 32px;
  width: 32px;
  color: #538170;
  margin-bottom: 8px;
}
.pd-map-placeholder strong {
  font-size: 15px;
  font-weight: 500;
}
.pd-map-placeholder span {
  font-size: 11px;
  color: #7c8c85;
}
.pd-map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
}
.pd-map-caption strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.pd-map-caption span {
  display: block;
  font-size: 9px;
  color: #8b9299;
  margin-top: 3px;
}
.pd-map-caption > a {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #d02850;
  white-space: nowrap;
}
.pd-map-caption svg {
  width: 15px;
}
.pd-neighbourhood {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}
.pd-neighbourhood h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 12px;
  color: #454f57;
}
.pd-amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #7d858d;
}
.pd-amenity-list svg {
  width: 14px;
  height: 14px;
  color: #76988b;
  margin-top: 3px;
}
.pd-contact-card {
  border: 1px solid #ecdce1;
  background: #fff;
  border-radius: 14px;
  padding: 25px 23px;
  box-shadow: 0 5px 24px #67404c06;
}
.pd-overline {
  display: block;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #b58d97;
  font-weight: 500;
  margin-bottom: 12px;
}
.pd-contact-card h2 {
  font-size: 19px;
  line-height: 1.5;
  max-width: 240px;
}
.pd-contact-card > p {
  font-size: 11px;
  line-height: 1.85;
  color: #8a9199;
  margin: 11px 0 20px;
}
.pd-contact-price {
  border-top: 1px solid #f0e8eb;
  border-bottom: 1px solid #f0e8eb;
  padding: 18px 0;
  margin-bottom: 20px;
}
.pd-contact-price > [data-pd-price] {
  display: block;
  font-size: 25px;
  font-weight: 600;
  color: #d32650;
  letter-spacing: -0.7px;
}
.pd-contact-price > [data-pd-selected-unit] {
  display: block;
  font-size: 10px;
  color: #98919a;
  margin-top: 3px;
}
.pd-primary,
.pd-secondary {
  min-height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 15px;
  text-align: center;
  line-height: 1.5;
}
.pd-primary {
  background: #e52c56;
  color: white !important;
}
.pd-primary:hover {
  background: #cc2047;
}
.pd-secondary {
  background: white;
  border-color: #e8d6dc;
  color: #a0576a !important;
}
.pd-contact-card > :is(.pd-primary, .pd-secondary) {
  width: 100%;
  margin-bottom: 10px;
}
.pd-primary svg,
.pd-secondary svg {
  width: 17px;
  height: 17px;
}
.pd-contact-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 9px;
  color: #a6a1a7;
  line-height: 1.7;
  margin: 14px 0 20px;
}
.pd-contact-note svg {
  width: 12px;
  height: 12px;
  margin-top: 2px;
}
.pd-consultant {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f2ecef;
  padding: 16px 0;
}
.pd-consultant > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fbe9ee;
  color: #c9657d;
  font-weight: 500;
}
.pd-consultant strong {
  font-size: 11px;
  display: block;
  font-weight: 500;
}
.pd-consultant small {
  font-size: 9px;
  color: #9a9299;
}
.pd-sidebar-tools {
  border-top: 1px solid #f0e8eb;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-sidebar-tools :is(button, a) {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 3px 0;
  background: none;
  color: #8d7b82;
  font-size: 10px;
  text-align: left;
}
.pd-sidebar-tools svg {
  width: 14px;
  height: 14px;
}
.pd-mobile-actions {
  display: none;
}
.pd-video-card,
.pd-download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px;
  margin: 0 0 18px;
  border: 1px solid #e8e9eb;
  border-radius: 9px;
  background: #fafbfc;
  color: #647078;
  text-align: left;
  font-size: 12px;
}
.pd-video-card > svg:first-child {
  border: 1px solid #eed5dc;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 9px;
  color: #d94768;
}
.pd-video-card > span {
  flex: 1;
}
.pd-video-card strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.pd-video-card small {
  font-size: 10px;
  color: #949ca3;
  display: block;
  margin-top: 4px;
}
.pd-download-card > svg:last-child {
  margin-left: auto;
}
.pd-faq {
  border-bottom: 1px solid #edeff0;
  padding: 15px 0;
}
.pd-faq:last-child {
  border: 0;
  padding-bottom: 0;
}
.pd-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #59636c;
  font-size: 12px;
  font-weight: 500;
}
.pd-faq summary span {
  font-weight: 400;
  color: #c18998;
}
.pd-faq p {
  font-size: 12px;
  color: #7c858e;
  line-height: 1.9;
  white-space: pre-line;
  margin: 14px 0 0;
}
.pd-related {
  padding-top: 14px;
}
.pd-related .pd-section-heading {
  margin-bottom: 21px;
}
.pd-related .pd-overline {
  margin-bottom: 7px;
  font-size: 9px;
}
.pd-media-dialog {
  display: flex !important;
  flex-direction: column;
  max-height: calc(100dvh - 24px) !important;
  overflow: hidden !important;
  max-width: min(1100px, 94vw) !important;
  background: #171a1f !important;
  color: white !important;
  border-color: #34383f !important;
  padding: 25px !important;
  font-family: Poppins, sans-serif;
  gap: 15px !important;
}
.pd-media-dialog [data-slot="dialog-header"] {
  flex-shrink: 0;
  min-width: 0;
  padding-right: 45px;
  text-align: left;
}
.pd-media-dialog > [data-slot="dialog-close"] {
  top: 18px;
  right: 18px;
}
.pd-media-dialog:has(.pd-viewer-image[data-orientation="portrait"]) {
  max-width: min(620px, 94vw) !important;
}
.pd-image-experience {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  min-height: 0;
  gap: 12px;
}
.pd-viewer-image {
  position: relative;
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: var(--pd-image-ratio, 3 / 2);
  max-height: min(70dvh, 700px);
  overflow: hidden;
  border-radius: 7px;
  background: #101216;
  touch-action: none;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
  outline-offset: -3px;
}
.pd-viewer-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform-origin: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.pd-viewer-image.is-zoomed {
  cursor: grab;
}
.pd-viewer-image.is-zoomed img {
  will-change: transform;
}
.pd-viewer-image.is-panning {
  cursor: grabbing;
}
.pd-media-dialog [data-slot="dialog-title"],
.pd-media-dialog h2 {
  color: white;
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.pd-media-dialog [data-slot="dialog-description"],
.pd-media-dialog header + p,
.pd-media-dialog [id$="description"] {
  color: #a5aeb8;
  font-size: 11px;
}
.pd-viewer-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #a8b0b9;
  flex-shrink: 0;
  min-width: 0;
}
.pd-viewer-controls > .pd-viewer-count {
  flex: 1;
  min-width: 0;
}
.pd-viewer-count small {
  display: block;
  margin-top: 3px;
  color: #737f8e;
  font-size: 9px;
  line-height: 1.5;
}
.pd-viewer-scale {
  color: #7c8997;
  font-size: 10px;
}
.pd-viewer-controls button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #3e454e;
  border-radius: 7px;
  background: #272d35;
  color: #e6e8eb;
  cursor: pointer;
}
.pd-viewer-controls svg {
  width: 17px;
  height: 17px;
}
.pd-media-dialog iframe {
  border: 0;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
}
.pd-media-dialog a {
  color: #ffacc0;
}
.property-template-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.property-template-cards > button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #202022;
  border: 1px solid #39393c;
  border-radius: 10px;
  padding: 20px;
  color: #c9c9cc;
  text-align: left;
  cursor: pointer;
}
.property-template-cards > button > svg:first-child {
  width: 25px;
  height: 25px;
  color: #f37995;
}
.property-template-cards span {
  flex: 1;
}
.property-template-cards strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.property-template-cards small {
  display: block;
  font-size: 11px;
  color: #85858d;
  margin-top: 5px;
}
.property-template-cards > button > svg:last-child {
  width: 17px;
  height: 17px;
}
@media (min-width: 1600px) {
  .pd-sidebar > .jh-block {
    top: 32px;
  }
}
@media (max-width: 980px) {
  .pd-layout.jh-layout-div {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 18px;
  }
  .pd-panel {
    padding: 21px;
  }
  .pd-contact-card {
    padding: 22px 18px;
  }
  .pd-contact-card h2 {
    font-size: 17px;
  }
  .pd-spec-grid {
    grid-template-columns: 1fr;
  }
  .pd-neighbourhood {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .pd-experience.jh-layout-container {
    padding: 18px var(--jh-page-gutter, 16px) 28px;
    gap: 20px;
  }
  .pd-topline {
    font-size: 10px;
    margin-bottom: 13px;
  }
  .pd-topline > span {
    max-width: 42%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pd-back {
    font-size: 11px;
    gap: 5px;
  }
  .pd-gallery {
    display: flex;
    height: auto;
    aspect-ratio: 1.35;
    border-radius: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 5px;
    scrollbar-width: none;
  }
  .pd-gallery-tile {
    flex: 0 0 92%;
    scroll-snap-align: start;
  }
  .pd-gallery-single .pd-gallery-tile {
    flex-basis: 100%;
  }
  .pd-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .pd-media-label {
    left: 10px;
    top: 10px;
    font-size: 9px;
    padding: 3px 7px;
  }
  .pd-gallery-count {
    right: 10px;
    bottom: 10px;
    font-size: 10px;
    padding: 7px 9px;
  }
  .pd-gallery-count svg {
    width: 14px;
  }
  .pd-media-tabs {
    gap: 5px;
    margin-top: 10px;
  }
  .pd-media-tabs :is(a, button) {
    font-size: 10px;
    padding: 6px 9px;
    min-height: 36px;
    gap: 5px;
  }
  .pd-media-tabs svg {
    width: 14px;
    height: 14px;
  }
  .pd-section-nav {
    gap: 22px;
    margin-top: -3px;
  }
  .pd-section-nav a {
    font-size: 11px;
    padding: 10px 0;
  }
  .pd-layout.jh-layout-div {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .pd-main,
  .pd-sidebar {
    width: 100%;
  }
  .pd-main {
    gap: 18px;
  }
  .pd-sidebar > .jh-block {
    position: static;
  }
  .pd-panel {
    border-radius: 11px;
    padding: 20px 17px;
    scroll-margin-top: 18px;
  }
  .pd-section-heading {
    margin-bottom: 15px;
  }
  .pd-section-heading h2 {
    font-size: 18px;
    letter-spacing: -0.3px;
  }
  .pd-description {
    font-size: 12px;
    line-height: 1.95;
    margin-bottom: 19px;
  }
  .pd-spec-grid {
    grid-template-columns: 1fr;
  }
  .pd-spec-grid > div {
    font-size: 11px;
    padding: 12px 0;
  }
  .pd-note {
    font-size: 9px !important;
  }
  .pd-record-meta {
    font-size: 9px;
    margin-top: 16px;
    gap: 7px;
  }
  .pd-unit-list {
    gap: 9px;
  }
  .pd-unit-card {
    padding: 12px;
    gap: 8px;
  }
  .pd-unit-top {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    font-size: 11px;
  }
  .pd-unit-status {
    font-size: 8px;
  }
  .pd-unit-price {
    font-size: 16px;
  }
  .pd-unit-card > span:last-child {
    font-size: 9px;
  }
  .pd-unit-feedback {
    font-size: 9px;
  }
  .pd-plan-image > img {
    padding: 12px;
  }
  .pd-plan figcaption {
    padding: 12px;
  }
  .pd-plan figcaption strong {
    font-size: 11px;
  }
  .pd-plan figcaption small {
    font-size: 9px;
  }
  .pd-hotspot {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .pd-plan-legend {
    gap: 8px;
    padding: 12px;
  }
  .pd-plan-legend button {
    font-size: 9px;
  }
  .pd-map-caption {
    padding: 13px;
    align-items: flex-start;
    gap: 13px;
    flex-direction: column;
  }
  .pd-map-caption strong {
    font-size: 10px;
  }
  .pd-neighbourhood {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pd-amenity-list {
    gap: 9px;
  }
  .pd-amenity-list li {
    font-size: 11px;
  }
  .pd-subtext {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .pd-contact-card {
    padding: 22px;
    border-radius: 11px;
  }
  .pd-contact-card h2 {
    font-size: 20px;
    max-width: none;
  }
  .pd-contact-card > p {
    font-size: 12px;
  }
  .pd-contact-note {
    font-size: 10px;
  }
  .pd-primary,
  .pd-secondary {
    font-size: 12px !important;
    min-height: 46px;
  }
  .pd-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fffffff7;
    backdrop-filter: blur(10px);
    border-top: 1px solid #e8dfe3;
    box-shadow: 0 -4px 20px #30232b06;
    padding: 12px 17px calc(12px + env(safe-area-inset-bottom));
    z-index: 45;
  }
  .pd-mobile-actions > div {
    min-width: 0;
  }
  .pd-mobile-actions small {
    display: block;
    font-size: 9px;
    color: #99909a;
    margin-bottom: 3px;
  }
  .pd-mobile-actions strong {
    display: block;
    font-size: 19px;
    font-weight: 600;
    color: #d82852;
    letter-spacing: -0.5px;
    white-space: nowrap;
  }
  .pd-mobile-actions .pd-primary {
    min-width: 133px;
    padding: 11px 17px;
    font-size: 12px !important;
    min-height: 43px;
  }
  .pd-related {
    padding-top: 7px;
  }
  .pd-related .pd-section-heading h2 {
    font-size: 19px;
  }
  .pd-related .pd-section-heading > a {
    font-size: 10px;
  }
  .pd-related .pd-overline {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .pd-media-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 18px !important;
    gap: 12px !important;
  }
  .pd-media-dialog h2 {
    font-size: 14px;
  }
  .property-template-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .property-template-cards > button {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pd-gallery img {
    transition: none;
  }
}

.admin-presentation-editor {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.admin-presentation-editor > section {
  padding: 22px;
  border: 1px solid var(--admin-border,#3a3a3e);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-presentation-editor h3,
.admin-viewing-panel h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.admin-presentation-editor p,
.admin-viewing-panel p {
  font-size: 12px;
  color: var(--admin-text-muted,#8f8f98);
  line-height: 1.8;
  margin: 0;
}
.admin-presentation-editor small {
  font-size: 11px;
  color: var(--admin-text-muted,#85858e);
}
.admin-inline-row {
  display: grid;
  grid-template-columns: 1fr 1fr 38px;
  align-items: end;
  gap: 12px;
}
.admin-media-metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.admin-media-metadata > div {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--admin-border,#343438);
  border-radius: 8px;
}
.admin-media-metadata img {
  width: 95px;
  height: 90px;
  object-fit: cover;
  border-radius: 5px;
}
.admin-media-metadata > div > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-plan-editor {
  border: 1px solid var(--admin-border,#3c3c40);
  border-radius: 9px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-hotspot-editor {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  cursor: crosshair;
}
.admin-hotspot-editor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  pointer-events: none;
}
.admin-hotspot-editor > span {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #e82f57;
  color: var(--admin-text-strong,#fff);
  border: 2px solid white;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font-size: 10px;
  pointer-events: none;
}
.admin-hotspot-row {
  display: grid;
  grid-template-columns: 20px 1fr 1fr 75px 75px 30px;
  align-items: end;
  gap: 10px;
}
.admin-hotspot-row > strong {
  align-self: center;
  color: #f0849c;
  font-size: 12px;
}
.admin-listing-quality {
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--admin-border,#3a3a3d);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--admin-text,#a9a9b0);
}
.admin-listing-quality > div {
  min-width: 210px;
}
.admin-listing-quality > div > span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.admin-listing-quality strong {
  color: #f08aa0;
}
.admin-listing-quality progress {
  width: 100%;
  height: 5px;
  accent-color: #eb5277;
  margin-top: 10px;
}
.admin-listing-quality details {
  max-width: 480px;
  flex: 1;
}
.admin-listing-quality summary {
  cursor: pointer;
  text-align: right;
  font-size: 12px;
}
.admin-listing-quality ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 17px 0;
  padding: 0;
}
.admin-listing-quality li {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
}
.admin-listing-quality svg {
  width: 13px;
  height: 13px;
  color: var(--admin-text,#b29aab);
  flex-shrink: 0;
}
.admin-listing-quality p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--admin-text-muted,#86868f);
}
.admin-viewing-panel {
  border: 1px solid var(--admin-border,#49404a);
  border-radius: 9px;
  background: var(--admin-surface,#272229);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.admin-viewing-panel a {
  font-size: 12px;
  color: var(--admin-rose-text,#efa0b2);
}
.pd-price-history {
  margin-top: 18px;
  border-top: 1px solid #eceff1;
  padding-top: 14px;
  font-size: 11px;
  color: #858e96;
}
.pd-price-history summary {
  cursor: pointer;
}
.pd-price-history ul {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}
.pd-price-history li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f2f3f4;
  font-size: 10px;
}
.pd-price-history strong {
  font-weight: 500;
  color: #57636c;
}
.pd-price-history small {
  font-size: 9px;
  color: #a0a5aa;
}
.private-status-page > .pd-overline {
  margin: 0;
}
@media (max-width: 760px) {
  .admin-media-metadata {
    grid-template-columns: 1fr;
  }
  .admin-hotspot-row {
    grid-template-columns: 20px 1fr 1fr;
  }
  .admin-hotspot-row label:nth-last-of-type(-n + 2) {
    max-width: 90px;
  }
  .admin-listing-quality {
    flex-direction: column;
    gap: 14px;
  }
  .admin-listing-quality summary {
    text-align: left;
  }
  .admin-presentation-editor > section {
    padding: 17px;
  }
  .admin-plan-editor {
    padding: 14px;
  }
  .admin-inline-row {
    grid-template-columns: 1fr 1fr 30px;
    gap: 8px;
  }
  .admin-media-metadata img {
    width: 75px;
    height: 85px;
  }
  .pd-plan-image > img,
  .admin-hotspot-editor img {
    padding: 12px;
  }
}
.pd-experience > .jh-block:has(> .pd-section-nav) {
  position: sticky;
  top: 0;
  z-index: 20;
}
.pd-section-nav a:first-child {
  color: #687078;
  border-color: transparent;
}
.pd-section-nav a[aria-current="location"],
.pd-section-nav a:hover {
  color: #ce244b;
  border-color: #e53258;
}
.pd-panel {
  scroll-margin-top: 80px;
}
.pd-sidebar > .jh-block {
  top: 76px;
}
.pd-plan-image > img,
.admin-hotspot-editor img {
  padding: 3%;
}
@media (max-width: 760px) {
  .pd-sidebar > .jh-block {
    top: auto;
  }
}
.admin-review-button {
  display: block;
  margin-top: 9px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--admin-rose-text,#b98e9f);
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.admin-review-button:hover {
  color: var(--admin-rose-text,#f4a5b9);
}
.pd-nearby-places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #edf0f1;
}
.pd-nearby-places h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 12px;
  color: #54616a;
}
.pd-places-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-places-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 12px;
  font-size: 11px;
  color: #88939b;
}
.pd-places-list small {
  font-size: 10px;
  color: #a7b0b7;
}
.jh-block[style*="background"] > .pd-panel,
.jh-block[style*="background"] > .pd-contact-card {
  background: inherit;
}
@media (max-width: 760px) {
  .pd-nearby-places {
    grid-template-columns: 1fr;
  }
}
.admin-lead-context {
  padding: 15px;
  border: 1px solid var(--admin-border,#403841);
  background: var(--admin-surface,#29252b);
  border-radius: 8px;
  margin: 15px 0;
  font-size: 12px;
}
.admin-lead-context > strong {
  font-size: 12px;
  font-weight: 500;
  color: var(--admin-rose-text,#c8a9b6);
}
.admin-lead-context dl {
  margin: 12px 0;
}
.admin-lead-context dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0;
}
.admin-lead-context dt {
  font-size: 11px;
  color: var(--admin-text-muted,#99939c);
}
.admin-lead-context dd {
  font-size: 11px;
  color: var(--admin-text-strong,#cbc5ce);
  margin: 0;
}
.admin-lead-context small {
  font-size: 10px;
  color: var(--admin-text-muted,#807986);
  line-height: 1.8;
}

.pd-gallery-shell {
  position: relative;
}
.pd-experience .pd-gallery-count {
  min-height: 40px;
  font-size: 12px;
  font-weight: 500;
}
.pd-summary-card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 24px;
  padding: 24px;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
  background: #fff;
}
.pd-summary-purchase {
  display: contents;
}
.pd-property-heading {
  grid-column: 1 / 10;
  grid-row: 1;
  min-width: 0;
}
.pd-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 500;
}
.pd-property-heading h1 {
  margin: 0 0 9px;
  color: #252d34;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.pd-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: #78838c;
  font-size: 12px;
  line-height: 1.7;
}
.pd-location svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.pd-heading-actions {
  grid-column: 10 / -1;
  grid-row: 1;
  align-self: center;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}
.pd-icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid #e5e9ec;
  border-radius: 9px;
  color: #7b8791;
  background: #fff;
}
.pd-icon-button svg {
  width: 17px;
  height: 17px;
}
.pd-price-block {
  grid-column: 1 / 5;
  grid-row: 2;
  align-self: center;
  min-width: 0;
}
.pd-price-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #89939b;
  font-size: 11px;
  line-height: 1.5;
}
.pd-price-unit {
  padding: 2px 7px;
  border-radius: 4px;
  background: #f5f6f8;
  color: #6e7c87;
  font-size: 10px;
}
.pd-price-block > strong {
  display: block;
  color: #dc244b;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.pd-price-note {
  display: block;
  margin-top: 5px;
  color: #9b8b92;
  font-size: 10px;
}
.pd-quick-facts {
  grid-column: 5 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}
.pd-quick-facts > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 11px;
  border: 1px solid #edf0f2;
  border-radius: 9px;
  background: #f8f9fa;
}
.pd-fact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid #e7ebee;
  border-radius: 8px;
  background: #fff;
  color: #7f8d98;
}
.pd-quick-facts svg {
  width: 17px;
  height: 17px;
}
.pd-fact-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.pd-quick-facts strong {
  color: #3f4d58;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.pd-fact-label {
  color: #8b969f;
  font-size: 10px;
  line-height: 1.5;
}
.pd-highlights {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid #f0f2f3;
}
.pd-highlights > span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px 0 0;
  color: #7a8983;
  font-size: 11px;
  line-height: 1.8;
}
.pd-highlights svg {
  width: 13px;
  height: 13px;
  color: #689584;
}
.jh-block[style*="background"] > .pd-summary-card {
  background: inherit;
}
@media (max-width: 1100px) {
  .pd-quick-facts > div {
    gap: 8px;
    padding: 12px 9px;
  }
  .pd-fact-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .pd-quick-facts strong {
    font-size: 14px;
  }
}
@media (max-width: 980px) {
  .pd-property-heading {
    grid-column: 1 / -1;
  }
  .pd-heading-actions {
    grid-column: 7 / -1;
    grid-row: 2;
    align-self: end;
  }
  .pd-price-block {
    grid-column: 1 / 7;
  }
  .pd-quick-facts {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
@media (max-width: 760px) {
  .pd-summary-card {
    gap: 18px 10px;
    padding: 18px;
    border-radius: 12px;
  }
  .pd-summary-purchase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: flex-end;
    gap: 12px;
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .pd-summary-purchase .pd-price-block {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
  }
  .pd-summary-purchase .pd-price-block > strong {
    white-space: nowrap;
    overflow: hidden;
    font-size: var(--pd-fit-price-size, var(--pd-price-max-size));
  }
  .pd-summary-purchase .pd-heading-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: auto;
  }
  .pd-experience .pd-gallery-count {
    min-height: 38px;
    font-size: 11px;
  }
  .pd-eyebrow {
    gap: 6px;
    margin-bottom: 11px;
    font-size: 9px;
  }
  .pd-property-heading h1 {
    margin-bottom: 7px;
    font-size: 23px;
    letter-spacing: -0.5px;
  }
  .pd-location {
    gap: 5px;
    font-size: 11px;
    line-height: 1.8;
  }
  .pd-location svg {
    width: 14px;
    height: 14px;
  }
  .pd-price-block > strong {
    --pd-price-max-size: 24px;
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  .pd-price-label {
    gap: 5px;
    font-size: 10px;
  }
  .pd-price-unit {
    font-size: 9px;
  }
  .pd-heading-actions {
    gap: 5px;
  }
  .pd-icon-button {
    width: 34px;
    height: 38px;
    border-radius: 7px;
  }
  .pd-icon-button svg {
    width: 15px;
    height: 15px;
  }
  .pd-quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .pd-quick-facts > div {
    padding: 11px 10px;
    gap: 9px;
  }
  .pd-fact-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .pd-quick-facts strong {
    font-size: 14px;
  }
  .pd-fact-label {
    font-size: 10px;
  }
  .pd-highlights {
    gap: 7px 12px;
    padding-top: 13px;
  }
  .pd-highlights > span {
    font-size: 10px;
    padding: 0;
  }
}
@media (max-width: 370px) {
  .pd-summary-card {
    padding: 15px;
  }
  .pd-icon-button {
    width: 30px;
    height: 36px;
  }
  .pd-heading-actions {
    gap: 4px;
  }
  .pd-price-block > strong {
    --pd-price-max-size: 22px;
    font-size: 22px;
  }
}

.pd-mortgage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
}
.pd-mortgage-result {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #f2dce3;
  border-radius: 13px;
  background: linear-gradient(155deg, #fff3f6 0%, #fffafc 75%);
}
.pd-estimate-eyebrow {
  color: #b07d8c;
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 500;
}
.pd-mortgage-result > output {
  display: flex;
  margin: 8px 0 5px;
  color: #d12b53;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-mortgage-result output small {
  display: block;
  margin-top: 0;
  color: #bb94a0;
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
  margin: 0;
}
.pd-estimate-description {
  font-size: 11px;
  color: #af8d99;
  line-height: 1.6;
  margin: 0;
}
.pd-finance-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid #f2dfe5;
  border-bottom: 1px solid #f2dfe5;
}
.pd-finance-summary > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 12px;
  font-size: 11px;
}
.pd-finance-summary dt {
  color: #b18b99;
}
.pd-finance-summary dd {
  margin: 0;
  font-weight: 500;
  color: #8c5b6b;
}
.pd-finance-breakdown {
  margin-top: 0;
}
.pd-finance-ratio {
  height: 7px;
  overflow: hidden;
  background: #f5cbd6;
  border-radius: 10px;
}
.pd-finance-ratio > span {
  display: block;
  height: 100%;
  background: #e54169;
  border-radius: inherit;
}
.pd-finance-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 9px;
  margin-top: 9px;
  font-size: 9px;
  color: #b18d9a;
}
.pd-finance-legend > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-finance-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e54169;
  margin-right: 2px;
}
.pd-finance-legend > span:last-child i {
  background: #edb3c3;
}
.pd-finance-legend b {
  font-weight: 500;
  color: #986c7c;
}
.pd-finance-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  min-width: 0;
}
.pd-finance-price {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 500;
  color: #697782;
}
.pd-finance-price-input {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e3e8ec;
  background: #fbfcfd;
  border-radius: 8px;
}
.pd-finance-price-input > span {
  font-size: 11px;
  color: #a7b0b8;
  font-weight: 400;
}
.pd-finance-price-input input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 6px 0;
  border: 0;
  outline-offset: 1px;
  background: transparent;
  color: #4d606d;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  appearance: textfield;
}
.pd-slider-control {
  min-width: 0;
}
.pd-slider-control:last-child {
  grid-column: 1 / -1;
}
.pd-slider-heading {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: #74828d;
  font-size: 11px;
}
@media (max-width: 370px) {
  .pd-slider-control:not(:last-child) .pd-slider-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
}
.pd-slider-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 8px;
  min-height: 30px;
  min-width: 77px;
  border: 1px solid #e6e9ed;
  border-radius: 6px;
  background: #fff;
  color: #9aa5af;
  font-size: 10px;
  line-height: 1;
}
.pd-slider-value input {
  width: 43px;
  min-width: 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #536875;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  outline-offset: 2px;
  appearance: textfield;
}
.pd-finance-fields input[type="number"]::-webkit-inner-spin-button,
.pd-finance-fields input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pd-finance-fields input.pd-range {
  display: block;
  width: 100%;
  height: 26px;
  min-height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: pan-y;
}
.pd-range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(
    to right,
    #e74068 0%,
    #e74068 var(--pd-range-progress, 0%),
    #ebeff2 var(--pd-range-progress, 0%),
    #ebeff2 100%
  );
}
.pd-range::-webkit-slider-thumb {
  width: 19px;
  height: 19px;
  margin-top: -7px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e74068;
  box-shadow:
    0 0 0 1px #edb3c2,
    0 2px 7px #a44b6426;
  -webkit-appearance: none;
}
.pd-range::-moz-range-track {
  height: 5px;
  border-radius: 10px;
  background: #ebeff2;
}
.pd-range::-moz-range-progress {
  height: 5px;
  border-radius: 10px;
  background: #e74068;
}
.pd-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e74068;
  box-shadow: 0 0 0 1px #edb3c2;
}
.pd-range:focus-visible {
  outline: 2px solid #ed88a1;
  outline-offset: 2px;
  border-radius: 5px;
}
.pd-slider-scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #aab3bb;
  font-size: 9px;
  line-height: 1.3;
}
.pd-mortgage[data-invalid="true"] [data-pd-monthly] {
  font-size: 18px;
}
.pd-mortgage[data-invalid="true"] .pd-finance-breakdown {
  opacity: 0.35;
}
.pd-slider-value:has(input:invalid),
.pd-finance-price-input:has(input:invalid) {
  border-color: #ea9cb0;
  background: #fff6f8;
}
.mortgage-widget .pd-mortgage {
  margin-top: 16px;
}
@media (max-width: 980px) {
  .pd-mortgage {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pd-mortgage-result {
    padding: 18px 20px;
  }
  .pd-mortgage-result > output {
    font-size: 28px;
  }
  .pd-finance-summary {
    margin: 14px 0;
    padding: 12px 0;
    gap: 10px;
  }
  .pd-finance-fields {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .pd-mortgage {
    gap: 16px;
  }
  .pd-mortgage-result {
    padding: 18px;
  }
  .pd-estimate-eyebrow {
    font-size: 9px;
  }
  .pd-mortgage-result > output {
    font-size: 27px;
  }
  .pd-finance-summary {
    font-size: 11px;
  }
  .pd-finance-fields {
    gap: 12px;
  }
  .pd-finance-price-input input {
    font-size: var(--jh-form-field-size,14px);
    min-height: 44px;
  }
  .pd-slider-heading {
    font-size: 12px;
    margin-bottom: 0;
  }
  .pd-slider-value {
    min-height: 40px;
    padding: 0 9px;
  }
  .pd-slider-value input {
    font-size: var(--jh-form-field-size,14px);
    padding: 8px 0;
    width: 48px;
  }
  .pd-finance-fields input.pd-range {
    height: 36px;
    min-height: 36px;
  }
  .pd-slider-scale {
    font-size: 10px;
  }
  .pd-finance-legend {
    font-size: 10px;
  }
}
.pd-panel:has(> .pd-mortgage) {
  padding: 22px;
}
.pd-panel:has(> .pd-mortgage) > .pd-section-heading {
  margin-bottom: 10px;
}
.pd-panel:has(> .pd-mortgage) > .pd-subtext {
  margin: 0 0 12px;
}
.pd-panel:has(> .pd-mortgage) > .pd-note {
  margin-top: 12px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .pd-panel:has(> .pd-mortgage) {
    padding: 18px 16px;
  }
}
