.rs-property-page {
  --property-sand: #faf7f4;
  --property-sand-dark: #f0ebe4;
  --property-sand-border: #e5ddd5;
  --property-orange: #e55f2c;
  --property-orange-dark: #c04a18;
  --property-orange-light: rgba(229, 95, 44, 0.1);
  --property-charcoal: #1c1c1c;
  --property-charcoal-mid: #3a3a3a;
  --property-muted: #888880;
  --property-muted-light: #b8b4ae;
  --property-serif: "Cormorant Garamond", Georgia, serif;
  --property-sans: "DM Sans", sans-serif;
  background: var(--property-sand);
  color: var(--property-charcoal);
  font-family: var(--property-sans);
  font-size: 15px;
  line-height: 1.7;
}

.rs-property-page,
.rs-property-page * {
  box-sizing: border-box;
}

.rs-property-page a {
  color: inherit;
}

.rs-property-page main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.property-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(520px, 72vh, 760px);
  max-height: none;
  overflow: hidden;
}

.property-hero-bg,
.property-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.property-hero-img {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transform-origin: center center;
}

.property-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 28, 28, 0.9) 0%,
    rgba(28, 28, 28, 0.6) 50%,
    rgba(28, 28, 28, 0.22) 100%
  );
}

.property-hero-content {
  position: relative;
  padding: 0 48px 56px;
  color: #fff;
}

.property-hero-content > * {
  animation: property-fade-up 0.6s ease both;
}

.property-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  animation-delay: 0.05s;
}

.property-breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}
.property-breadcrumb a:hover {
  color: #fff;
}

.property-hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 3px;
  background: var(--property-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  text-transform: uppercase;
  animation-delay: 0.1s;
}

.property-hero-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--property-serif);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  animation-delay: 0.2s;
}

.property-hero-sub {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  animation-delay: 0.3s;
}

.property-booking-bar {
  position: sticky;
  top: 72px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  border-bottom: 1px solid var(--property-sand-border);
  background: #fff;
  box-shadow: 0 2px 16px rgba(28, 28, 28, 0.06);
  padding: 0 48px;
}

.property-booking-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.property-booking-tabs::-webkit-scrollbar {
  display: none;
}

.property-booking-tab {
  display: flex;
  align-items: center;
  height: 72px;
  border-bottom: 2px solid transparent;
  color: var(--property-muted);
  font-size: 13px;
  padding: 0 20px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.property-booking-tab:hover,
.property-booking-tab.is-active {
  border-color: var(--property-orange);
  color: var(--property-charcoal);
}

.property-sidebar-button {
  display: inline-block;
  border-radius: 4px;
  background: var(--property-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  text-decoration: none;
  transition: background 0.2s;
}

.property-sidebar-button:hover {
  background: var(--property-orange-dark);
  color: #fff;
}

.property-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px;
}

.property-main {
  min-width: 0;
}

.property-sidebar {
  position: sticky;
  top: 160px;
}

.property-intro {
  border-bottom: 1px solid var(--property-sand-border);
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 32px;
  padding-bottom: 32px;
}

.property-desc {
  color: var(--property-muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 16px;
}

.property-desc strong {
  color: var(--property-charcoal);
  font-weight: 500;
}

.property-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--property-sand-border);
}

.property-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--property-sand-border);
  border-radius: 4px;
  background: var(--property-sand-dark);
  color: var(--property-charcoal-mid);
  font-size: 12px;
  padding: 8px 16px;
}

.property-highlight::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--property-orange);
  flex-shrink: 0;
}

.property-section {
  margin-top: 56px;
  scroll-margin-top: 160px;
}

.property-section--large {
  margin-top: 64px;
}

.property-gallery-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--property-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.property-gallery-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--property-orange);
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4px;
  border-radius: 8px;
  overflow: hidden;
}

.property-gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--property-sand-dark);
  cursor: pointer;
  overflow: hidden;
}

.property-gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.property-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-gallery-see-all {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 28, 0.55);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-section-title {
  margin: 0 0 24px;
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 32px;
  font-weight: 300;
}

.property-apartment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.property-apartment-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--property-sand-border);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.property-apartment-card:hover {
  box-shadow: 0 6px 24px rgba(28, 28, 28, 0.09);
}

.property-apartment-card.is-featured {
  border-color: var(--property-orange);
  border-width: 1.5px;
}

.property-apartment-image-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.property-apartment-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-apartment-body {
  padding: 16px 20px;
}

.property-apartment-name {
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
}

.property-apartment-desc {
  color: var(--property-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.property-apartment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.property-apartment-pill {
  border-radius: 3px;
  background: var(--property-sand-dark);
  color: var(--property-muted);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 3px 9px;
}

.property-apartment-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 3px;
  background: var(--property-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  text-transform: uppercase;
}

.property-neighbourhood {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  margin-top: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--property-sand-dark);
  scroll-margin-top: 160px;
}

.property-neighbourhood-text {
  padding: 48px;
}

.property-neighbourhood-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--property-orange);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.property-neighbourhood-eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--property-orange);
}

.property-neighbourhood-title {
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 20px;
}

.property-neighbourhood-body {
  color: var(--property-muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 14px;
}

.property-neighbourhood-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
}

.property-neighbourhood-highlights li {
  display: flex;
  gap: 12px;
  color: var(--property-charcoal-mid);
  font-size: 13px;
  list-style: none;
}

.property-neighbourhood-highlights li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--property-orange);
  flex-shrink: 0;
}

.property-neighbourhood-media {
  display: grid;
  grid-template-rows: repeat(3, minmax(128px, 1fr));
  gap: 4px;
  min-height: 420px;
  align-self: stretch;
}

.property-neighbourhood-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--property-sand-dark);
}

.property-neighbourhood-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-neighbourhood-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  border-radius: 3px;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--property-charcoal);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.property-reviews {
  margin-top: 64px;
  scroll-margin-top: 160px;
}

.property-review-card {
  margin-bottom: 16px;
  border: 1px solid var(--property-sand-border);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
}

.property-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.property-review-stars span {
  width: 13px;
  height: 13px;
  background: var(--property-orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: block;
}

.property-review-text {
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 16px;
}

.property-review-author {
  color: var(--property-charcoal);
  font-size: 12px;
  font-weight: 500;
}

.property-review-meta {
  color: var(--property-muted);
  font-size: 11px;
  margin-top: 2px;
}

.property-sidebar-card {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--property-sand-border);
  border-radius: 10px;
  background: #fff;
}

.property-sidebar-head {
  border-bottom: 1px solid var(--property-sand-border);
  padding: 20px 24px 16px;
}

.property-sidebar-title {
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}

.property-sidebar-sub {
  color: var(--property-muted);
  font-size: 12px;
}

.property-sidebar-body {
  padding: 20px 24px;
}

.property-sidebar-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.property-sidebar-price-label {
  color: var(--property-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-sidebar-price-number {
  color: var(--property-charcoal);
  font-family: var(--property-serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.property-sidebar-price-night {
  color: var(--property-muted);
  font-size: 13px;
}

.property-sidebar-divider {
  height: 1px;
  margin: 16px 0;
  background: var(--property-sand-border);
}

.property-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.property-sidebar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--property-muted);
  font-size: 13px;
}

.property-sidebar-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--property-orange);
  flex-shrink: 0;
}

.property-sidebar-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
}

.property-sidebar-note {
  color: var(--property-muted);
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
}

.property-sidebar-note strong {
  color: var(--property-orange-dark);
}

.property-sidebar-widget {
  margin-top: 18px;
}

.property-sidebar-widget .rs-search-form {
  max-width: none;
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 28, 28, 0.08);
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.property-sidebar-widget .rs-search-field,
.property-sidebar-widget .rs-search-dates-field {
  width: 100%;
  flex: 1 1 auto;
}

.property-sidebar-widget .rs-search-btn {
  width: 100%;
  margin-left: 0;
  padding: 14px 18px;
}

.property-sidebar-perks {
  border: 1px solid var(--property-sand-border);
  border-radius: 10px;
  background: var(--property-sand-dark);
  padding: 20px 24px;
}

.property-sidebar-perks-title {
  color: var(--property-charcoal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.property-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.property-perk:last-child {
  margin-bottom: 0;
}

.property-perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--property-orange-light);
  flex-shrink: 0;
}

.property-perk-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--property-orange);
  stroke-width: 1.5;
}

.property-perk-label {
  color: var(--property-charcoal);
  font-size: 13px;
  font-weight: 500;
}

.property-perk-sub {
  color: var(--property-muted);
  font-size: 12px;
}

.rs-property-page .residentas-footer {
  margin-top: 80px;
}

.property-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background: rgba(10, 8, 6, 0.95);
}

.property-lightbox.is-open {
  display: flex;
}

.property-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
}

.property-lightbox-counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.property-lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--property-serif);
  font-size: 16px;
  font-style: italic;
}

.property-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.property-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}

.property-lightbox-main {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px 80px;
}

.property-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

.property-lightbox-button {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.property-lightbox-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.property-lightbox-button--prev {
  left: 16px;
}

.property-lightbox-button--next {
  right: 16px;
}

.property-lightbox-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 24px;
}

.property-lightbox-thumbs::-webkit-scrollbar {
  height: 3px;
}

.property-lightbox-thumbs::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.property-lightbox-thumb {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.property-lightbox-thumb.is-active {
  border-color: var(--property-orange);
  opacity: 1;
}

.property-lightbox-thumb:hover {
  opacity: 0.85;
}

@keyframes property-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .property-content {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 64px 24px;
  }

  .property-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .property-hero {
    min-height: 420px;
    aspect-ratio: auto;
  }

  .property-hero-content {
    padding: 0 24px 44px;
  }

  .property-hero-title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .property-booking-bar {
    padding: 0 24px;
  }

  .property-booking-tab {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 14px;
  }

  .property-gallery-grid,
  .property-apartment-grid,
  .property-neighbourhood {
    grid-template-columns: 1fr;
  }

  .property-gallery-grid {
    gap: 6px;
  }

  .property-gallery-item,
  .property-gallery-item:first-child {
    aspect-ratio: 4 / 3;
  }

  .property-neighbourhood-media {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
  }

  .property-neighbourhood-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .property-gallery-item:first-child {
    grid-row: auto;
  }

  .property-neighbourhood-text {
    padding: 32px 24px;
  }

  .property-sidebar-widget .rs-search-form {
    padding: 16px;
  }

}

@media (max-width: 640px) {
  .property-hero {
    min-height: 380px;
  }

  .property-hero-content {
    padding: 0 18px 36px;
  }

  .property-breadcrumb {
    gap: 6px;
    font-size: 10px;
  }

  .property-hero-badge {
    font-size: 10px;
  }

  .property-hero-title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .property-hero-sub {
    font-size: 15px;
  }

  .property-content {
    padding: 56px 18px;
  }

  .property-intro {
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .property-desc {
    font-size: 14px;
  }

  .property-highlights {
    gap: 8px;
    padding-top: 22px;
  }

  .property-highlight {
    font-size: 11px;
    padding: 7px 12px;
  }

  .property-section-title,
  .property-neighbourhood-title {
    font-size: 28px;
  }

  .property-review-card {
    padding: 24px 20px;
  }

  .property-review-text {
    font-size: 16px;
  }

  .property-sidebar-head,
  .property-sidebar-body,
  .property-sidebar-perks {
    padding-left: 18px;
    padding-right: 18px;
  }

  .property-sidebar-price-number {
    font-size: 28px;
  }

  .property-sidebar-button {
    padding: 13px;
  }

  .property-neighbourhood-body,
  .property-review-meta,
  .property-sidebar-list li {
    font-size: 13px;
  }

  .property-lightbox-main {
    padding: 20px 16px 16px;
  }

  .property-lightbox-button {
    width: 40px;
    height: 40px;
  }
}

/* ══════════════════════════════════════════════════════════════
   PROPERTY SINGLE PAGE - MOBILE SPACING TIGHTEN
   Reduces empty space at top of hero (less sky, more building)
   and below sticky tab nav (less padding before content).
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Hero: tighter min-height + bias background-position downward
     so the property building is in view, not sky */
  .property-hero {
    min-height: 360px !important;
  }
  .property-hero-img,
  .property-hero-bg {
    object-position: center 70% !important;
    background-position: center 70% !important;
  }
  /* Content area: cut top padding so content starts close to the
     sticky booking bar (was 64px → 32px on tablet/phone) */
  .property-content {
    padding: 32px 24px !important;
    gap: 32px !important;
  }
}

@media (max-width: 640px) {
  .property-hero {
    min-height: 320px !important;
  }
  .property-content {
    padding: 28px 18px !important;
    gap: 28px !important;
  }
  .property-intro {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 420px) {
  .property-hero {
    min-height: 280px !important;
  }
}
