/* Property detail — content below hero summary */

.pdp-wrap {
  padding-bottom: 3rem;
}

.pdp-nav {
  position: sticky;
  top: var(--site-header-height, 4rem);
  z-index: 40;
  margin: 0 -1rem 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 53, 61, 0.08);
}

.pdp-nav__inner {
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pdp-nav__inner::-webkit-scrollbar {
  display: none;
}

.pdp-nav__btn {
  flex-shrink: 0;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #fff;
  color: #64748b;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.pdp-nav__btn:hover {
  border-color: rgba(23, 91, 103, 0.25);
  color: #175b67;
}

.pdp-nav__btn.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #175b67 0%, #12353d 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 53, 61, 0.22);
}

.pdp-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .pdp-grid {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: start;
  }
}

.pdp-main {
  min-width: 0;
}

.pdp-panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(18, 53, 61, 0.08);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .pdp-panel {
    padding: 2rem;
  }
}

.pdp-tab-panel {
  display: none;
}

.pdp-tab-panel.is-active {
  display: block;
}

.pdp-section + .pdp-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 53, 61, 0.08);
}

.pdp-section--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pdp-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pdp-section__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #14212b;
}

.pdp-section__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #175b67;
}

.pdp-section__copy {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.pdp-section__subhead {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #14212b;
}

.pdp-price-history {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: linear-gradient(135deg, rgba(23, 91, 103, 0.04) 0%, rgba(217, 164, 65, 0.06) 100%);
}

@media (min-width: 640px) {
  .pdp-price-history {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.pdp-price-history__chart {
  min-width: 0;
}

.pdp-price-history__chart .property-price-history__sparkline {
  display: block;
  max-width: 100%;
}

.pdp-price-history__meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.pdp-price-history__amount {
  margin: 0.25rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pdp-price-history__note {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.pdp-badge-stable {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.pdp-spec-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .pdp-spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pdp-spec {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #fff;
}

.pdp-spec--plain {
  display: block;
}

.pdp-spec__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(23, 91, 103, 0.08);
  color: #175b67;
}

.pdp-spec__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.pdp-spec__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.pdp-spec__value {
  margin-top: 0.15rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.pdp-amenity-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .pdp-amenity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .pdp-amenity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pdp-amenity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.875rem;
  border-radius: 14px;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.pdp-amenity__dot {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(23, 91, 103, 0.08);
  color: #175b67;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdp-amenity__dot svg {
  width: 1rem;
  height: 1rem;
}

.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-tag {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 91, 103, 0.15);
  background: rgba(23, 91, 103, 0.08);
  color: #12353d;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pdp-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #e2e8f0;
  aspect-ratio: 16 / 10;
}

.pdp-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.pdp-map__empty {
  display: flex;
  height: 100%;
  min-height: 200px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: #64748b;
}

.pdp-nearby-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.pdp-nearby-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(18, 53, 61, 0.08);
  font-size: 0.875rem;
}

.pdp-nearby-item span:last-child {
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.pdp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: #175b67;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.pdp-link:hover {
  text-decoration: underline;
}

.pdp-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #f1f5f9;
  aspect-ratio: 16 / 10;
}

.pdp-media img,
.pdp-media iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

.pdp-floor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.pdp-floor-tabs button {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #fff;
  color: #64748b;
  cursor: pointer;
}

.pdp-floor-tabs button.is-active {
  border-color: #175b67;
  background: rgba(23, 91, 103, 0.08);
  color: #12353d;
}

.pdp-score-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pdp-score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pdp-score-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #fff;
  text-align: center;
}

.pdp-score-card__value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #175b67;
}

.pdp-score-card__label {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pdp-score-card__hint {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pdp-empty {
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  border: 1px dashed rgba(18, 53, 61, 0.18);
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
  color: #64748b;
}

.pdp-reviews {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdp-review {
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(18, 53, 61, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.pdp-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pdp-review__name {
  font-size: 0.9375rem;
}

.pdp-review__rating {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.pdp-review__body {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #334155;
}

.pdp-review__date {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pdp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .pdp-sidebar {
    position: sticky;
    top: calc(var(--site-header-height, 4rem) + 4.25rem);
  }
}

.pdp-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(18, 53, 61, 0.08);
  padding: 1.25rem;
}

.pdp-card--cta {
  border-color: rgba(23, 91, 103, 0.12);
  background: linear-gradient(180deg, #fff 0%, rgba(23, 91, 103, 0.03) 100%);
}

.pdp-card__eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #175b67;
}

.pdp-card__title {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.pdp-owner-preview {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.875rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(23, 91, 103, 0.08);
  border: 1px solid rgba(23, 91, 103, 0.1);
}

.pdp-owner-preview__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #175b67, #12353d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.pdp-owner-preview__name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.pdp-owner-preview__meta {
  font-size: 0.8125rem;
  color: #64748b;
}

.pdp-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(18, 53, 61, 0.12);
  padding: 0.65rem 0.875rem;
  font: inherit;
  resize: vertical;
  min-height: 5.5rem;
  background: #fff;
}

.pdp-input--field {
  min-height: auto;
}

.pdp-btn-primary {
  width: 100%;
  margin-top: 0.75rem;
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #175b67 0%, #12353d 100%);
  box-shadow: 0 8px 24px rgba(18, 53, 61, 0.2);
}

.pdp-btn-primary:hover {
  filter: brightness(1.05);
}

.pdp-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pdp-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 53, 61, 0.08);
  background: #fff;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #12353d;
  text-decoration: none;
}

.pdp-btn-ghost:hover {
  border-color: rgba(23, 91, 103, 0.25);
  color: #175b67;
}

.pdp-btn-ghost--wa {
  border-color: rgba(34, 197, 94, 0.35);
  color: #15803d;
}

.pdp-owner-card {
  display: flex;
  gap: 0.875rem;
  align-items: center;
}

.pdp-owner-card__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(23, 91, 103, 0.12);
  color: #175b67;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pdp-owner-card__name {
  font-weight: 700;
}

.pdp-owner-card__role {
  font-size: 0.8125rem;
  color: #64748b;
}

.pdp-owner-card__phone {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #175b67;
  text-decoration: none;
}

.pdp-owner-card__phone:hover {
  text-decoration: underline;
}

.pdp-emi-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.pdp-emi-field + .pdp-emi-field {
  margin-top: 0.875rem;
}

.pdp-emi-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.12) 0%, rgba(23, 91, 103, 0.08) 100%);
  border: 1px solid rgba(217, 164, 65, 0.25);
}

.pdp-emi-result__label {
  font-size: 0.8125rem;
  color: #64748b;
}

.pdp-emi-result__value {
  margin-top: 0.25rem;
  font-size: 1.625rem;
  font-weight: 800;
  color: #175b67;
}

.pdp-emi-result__interest {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pdp-contact-gate {
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(255, 251, 235, 0.85);
  padding: 1.25rem;
  text-align: center;
}

.pdp-similar {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(18, 53, 61, 0.08);
}

.pdp-meta-id {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .pdp-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 639px) {
  .pdp-nav {
    top: 0;
  }

  body.page-property-detail .site-header.site-header--revealed ~ main .pdp-nav {
    top: var(--site-header-height, 4rem);
  }
}
