/* Project detail page — reference layout (dark content + sidebar) */

.page-project-detail {
  background: #0f1f12;
  font-family: 'DM Sans', sans-serif;
}

.page-project-detail .pd-body .container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-pd--commercial .pd-hero::after {
  background: linear-gradient(180deg, rgba(26, 45, 77, 0.6) 0%, rgba(15, 31, 18, 0.9) 100%);
}

.page-pd--commercial .pd-body {
  background: linear-gradient(180deg, #152238 0%, #0f1f12 40%, #0f1f12 100%);
}

.page-project-detail .page-main {
  padding: 0;
  background: transparent;
}

/* Top — full-screen gallery + title bar */
.page-project-detail.page-body {
  padding-top: 0;
}

/* Transparent header over full-screen gallery (like home hero) */
.page-project-detail .site-header:not(.is-scrolled) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
}

.page-project-detail .site-header:not(.is-scrolled) .topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.page-project-detail .site-header:not(.is-scrolled) nav {
  background: transparent;
  box-shadow: none;
}

.page-project-detail .site-header:not(.is-scrolled) .nav-links > li > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.92);
}

.page-project-detail .site-header:not(.is-scrolled) .nav-links > li > a:not(.nav-cta):hover,
.page-project-detail .site-header:not(.is-scrolled) .nav-links > li > a:not(.nav-cta).active {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
}

.page-project-detail .site-header:not(.is-scrolled) .dropdown-toggle .dropdown-chevron {
  color: rgba(255, 255, 255, 0.85);
}

.page-project-detail .site-header:not(.is-scrolled) .hamburger span {
  background: var(--white);
}

.page-project-detail .site-header:not(.is-scrolled) .logo {
  background: #f3f3f4;
  padding: 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.page-project-detail .site-header.is-scrolled {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.pd-top {
  background: var(--cream);
  padding: 0 0 8px;
  border-bottom: none;
}

.pd-top-gallery {
  margin: 0;
}

.pd-top-gallery--fullscreen {
  width: 100%;
}

.pd-top-gallery--fullscreen .pd-top-gallery-main {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  overflow: hidden;
  background: var(--gray-mid);
}

.pd-top-summary-wrap {
  position: relative;
  z-index: 20;
  margin-top: -56px;
  padding: 0 24px 32px;
}

.pd-top-gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--gray-mid);
}

.pd-top-gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(15, 31, 18, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.pd-top-gallery-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
  z-index: 0;
}

.pd-top-gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.pd-top-gallery-zoom img.is-fading {
  opacity: 0.15;
}

.pd-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-green);
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}

.pd-slider-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.pd-slider-prev { left: 16px; }
.pd-slider-next { right: 170px; }

.pd-top-gallery-thumbs {
  position: absolute;
  top: 50%;
  right: 65px;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100% - 28px);
  overflow-y: auto;
  padding: 10px 8px;
  background: rgba(15, 31, 18, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  scrollbar-width: thin;
}

.pd-top-gallery-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 56px;
  border: 3px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
}

.pd-top-gallery-thumb:hover {
  border-color: rgba(201, 149, 42, 0.55);
}

.pd-top-gallery-thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.pd-top-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-top-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-mid);
  border-top: 4px solid var(--gold);
  box-shadow: 0 16px 48px rgba(26, 45, 77, 0.12);
  padding: 28px 32px;
}

.pd-top-summary-main {
  flex: 1 1 320px;
  min-width: 0;
}

.pd-top-type {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 12px;
  background: rgba(45, 80, 22, 0.08);
  color: var(--dark-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid rgba(45, 80, 22, 0.15);
}

.pd-top-title {
  margin: 0 0 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pd-top-location {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
}

.pd-top-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.pd-top-meta .pd-rera-badge,
.pd-top-meta .pd-availability {
  margin-top: 0;
}

.pd-top-location i {
  color: var(--gold);
  font-size: 16px;
}

.pd-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pd-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  color: var(--navy);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pd-top-action:hover {
  border-color: var(--navy);
  background: var(--gray-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 45, 77, 0.08);
}

.pd-top-action--primary {
  background: var(--dark-green);
  border-color: var(--dark-green);
  color: var(--white);
}

.pd-top-action--primary:hover {
  background: var(--mid-green);
  border-color: var(--mid-green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(45, 80, 22, 0.25);
}

.pd-top-action--wa {
  border-color: #25d366;
  color: #0d7a4a;
  background: #f0faf4;
}

.pd-top-action--wa:hover {
  background: #dcf5e6;
  border-color: #1ebe5d;
  color: #075e54;
}

.pd-top-action--brochure {
  border-color: var(--gold);
  background: #fff9ee;
  color: var(--navy);
}

.pd-top-action--brochure:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.pd-top-summary-aside {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  align-self: center;
  text-align: right;
  padding-left: 28px;
  border-left: 1px solid var(--gray-mid);
  min-width: 160px;
}

.pd-top-price-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.pd-top-price {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Dark body */
.pd-body {
  background: linear-gradient(180deg, #142a18 0%, #0f1f12 100%);
  padding: 40px 0 64px;
}

.pd-body .page-breadcrumb {
  margin-bottom: 32px;
  background: none;
  box-shadow: none;
}

/* Dark bar — avoid white pill + gold text (low contrast) */
.pd-body .page-breadcrumb-list {
  background: #1a3320;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
}

.pd-body .page-breadcrumb-item {
  color: rgba(255, 255, 255, 0.65);
}

.pd-body .page-breadcrumb-item:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.45);
}

.pd-body .page-breadcrumb-item a {
  color: #ffffff;
}

.pd-body .page-breadcrumb-item a:hover {
  color: var(--gold-light);
}

.pd-body .page-breadcrumb-home i {
  color: #ffffff;
  opacity: 1;
}

.pd-body .page-breadcrumb-item.is-current span {
  color: var(--gold-light);
  font-weight: 600;
  max-width: min(50vw, 420px);
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

/* Main column */
.pd-main {
  min-width: 0;
  width: 100%;
}

.pd-main > section,
.pd-main > .pd-stats,
.pd-main > .pd-overview,
.pd-main > header.pd-title-block {
  margin-bottom: 36px;
}

.pd-main > section:last-child {
  margin-bottom: 0;
}

/* Section headings — match site (DM Sans, not serif) */
.pd-section-head {
  margin-bottom: 20px;
}

.pd-section-head--compact {
  margin-bottom: 16px;
}

.pd-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.pd-section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.pd-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pd-title-block {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-title-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pd-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pd-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 0;
}

.pd-location i {
  color: var(--gold-light);
}

.pd-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
}

.pd-price {
  font-size: 15px;
  font-weight: 700;
  color: #ff8c6a;
}

.page-pd--commercial .pd-tag {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

/* Overview — text */
.pd-overview {
  margin-bottom: 32px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.pd-overview--text {
  display: block;
}

.pd-overview-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-overview-main {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.pd-overview-main img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pd-mini-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pd-mini-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s, transform 0.2s;
}

.pd-mini-thumb.is-active,
.pd-mini-thumb:hover {
  border-color: var(--gold);
}

.pd-mini-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.pd-overview-text {
  align-self: center;
}

.pd-overview-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: left;
}

.pd-overview-text p:last-child {
  margin-bottom: 0;
}

/* Stats row */
.pd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.pd-stat {
  text-align: center;
  padding: 22px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 149, 42, 0.35);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.pd-stat:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.pd-stat i {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: rgba(201, 149, 42, 0.2);
  color: var(--gold-light);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-stat span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.pd-stat strong {
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
}

.pd-amenities-box {
  border: 2px solid rgba(201, 149, 42, 0.5);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 36px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 48px rgba(201, 149, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pd-amenity {
  text-align: center;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-amenity i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(201, 149, 42, 0.35) 0%, rgba(45, 80, 22, 0.5) 100%);
  color: var(--white);
  border: 1px solid rgba(232, 184, 75, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pd-amenity span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
  font-weight: 500;
}

/* Highlights */
.pd-highlights {
  margin-bottom: 36px;
  padding: 30px 0;
}

.pd-highlights-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.pd-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.5;
}

.pd-highlights li i {
  color: var(--gold-light);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Plan image */
.pd-plan {
  margin-bottom: 40px;
  padding: 30px 0;
}

.pd-plan-image {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-plan-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.pd-plan-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Map */
.pd-map {
  margin-bottom: 40px;
  padding: 30px 0;
}

.pd-map-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-map-frame iframe,
.pd-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* Gallery grid */
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pd-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.3);
  border: 3px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pd-gallery-item.is-active,
.pd-gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video strip */
.pd-video {
  margin-bottom: 36px;
  padding: 30px 0;
}

.pd-video-inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.pd-video-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}

.pd-video-play a {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  text-decoration: none;
  transition: transform 0.2s;
}

.pd-video-play a:hover {
  transform: scale(1.08);
}

/* Sidebar */
.pd-sidebar {
  position: sticky;
  top: calc(var(--site-header-h, 74px) + 16px);
}

.pd-sidebar-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 16px;
}

/* Quick enquiry — light card (readable on dark sidebar column) */
.pd-sidebar-enquiry {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.pd-sidebar-enquiry-title {
  margin: 0;
  padding: 14px 18px;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-bottom: none;
}

.pd-sidebar-enquiry-desc {
  margin: 0;
  padding: 14px 18px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
}

.pd-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
}

.pd-enquiry-form input,
.pd-enquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pd-enquiry-form input::placeholder,
.pd-enquiry-form textarea::placeholder {
  color: var(--text-light);
}

.pd-enquiry-form input:focus,
.pd-enquiry-form textarea:focus {
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.12);
}

.pd-enquiry-form textarea {
  resize: vertical;
  min-height: 80px;
}

.pd-enquiry-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-mid);
  cursor: pointer;
}

.pd-enquiry-consent input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--dark-green);
}

.pd-enquiry-consent a {
  color: var(--dark-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pd-enquiry-consent a:hover {
  color: var(--mid-green);
}

.pd-enquiry-submit {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  background: var(--dark-green);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.pd-enquiry-submit:hover {
  background: var(--mid-green);
  transform: translateY(-1px);
}

.pd-enquiry-submit.is-sent {
  background: var(--mid-green);
}

.pd-sidebar-enquiry .sl-hp {
  display: none;
}

.pd-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-sidebar-links {
  list-style: none;
}

.pd-sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.pd-sidebar-links li:last-child a {
  border-bottom: none;
}

.pd-sidebar-links a:hover {
  color: var(--gold-light);
}

.pd-sidebar-links a i {
  font-size: 11px;
  color: var(--gold);
  opacity: 0.8;
}

.pd-sidebar-cta {
  background: linear-gradient(135deg, #1a3d1a 0%, var(--dark-green) 100%);
  border: 1px solid rgba(201, 149, 42, 0.4);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.pd-sidebar-cta p {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.45;
}

.pd-sidebar-cta-btn {
  display: inline-block;
  padding: 11px 30px;
  background: #e67e22;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.35);
}

.pd-sidebar-cta-btn:hover {
  background: #d35400;
  transform: translateY(-2px);
}

.pd-featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-featured-card {
  display: flex;
  gap: 12px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.pd-featured-img {
  width: 90px;
  flex-shrink: 0;
  background: var(--gray-mid);
}

.pd-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
}

.pd-featured-img-fallback {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--dark-green));
  color: var(--gold-light);
  font-size: 22px;
}

.pd-featured-body {
  padding: 10px 12px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.pd-featured-body em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--dark-green);
  text-transform: uppercase;
}

.pd-featured-body strong {
  font-size: 13px;
  color: var(--navy);
  line-height: 1.35;
  margin: 4px 0;
  display: block;
}

.pd-featured-price {
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
}

/* Lightbox for gallery */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 72px;
}

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

.pd-lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-lightbox-stage img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.pd-lightbox-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pd-lightbox-nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.pd-lightbox-nav:hover {
  background: var(--white);
  transform: scale(1.06);
}

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

.pd-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
}

@media (max-width: 640px) {
  .pd-lightbox {
    padding: 56px 16px 24px;
    gap: 0;
  }

  .pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .pd-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .pd-lightbox-prev {
    left: 10px;
  }

  .pd-lightbox-next {
    right: 10px;
  }

  .pd-lightbox-stage img {
    max-height: 78vh;
  }
}

@media (max-width: 1024px) {
  .pd-top-gallery--fullscreen .pd-top-gallery-main {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .pd-top-gallery-thumbs {
    top: auto;
    bottom: 14px;
    right: 12px;
    left: 12px;
    transform: none;
    flex-direction: row;
    max-height: none;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
  }

  .pd-top-gallery-thumb {
    width: 72px;
    height: 52px;
  }

  .pd-slider-next {
    right: 14px;
    top: auto;
    bottom: 88px;
    transform: none;
  }

  .pd-slider-next:hover {
    transform: scale(1.06);
  }

  .pd-layout {
    grid-template-columns: 1fr;
  }

  .pd-sidebar {
    position: static;
  }

  .pd-overview {
    padding: 20px;
  }

  .pd-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pd-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pd-highlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pd-top-summary-wrap {
    margin-top: -40px;
    padding: 0 16px 24px;
  }

  .pd-top-summary {
    padding: 22px 20px;
    gap: 20px;
  }

  .pd-top-summary-aside {
    flex: 1 1 100%;
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid var(--gray-mid);
    min-width: 0;
  }

  .pd-top-actions {
    gap: 8px;
  }

  .pd-top-action {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .pd-top-summary-wrap {
    padding: 0 12px 20px;
  }

  .pd-top-action {
    flex: 1 1 100%;
  }

  .pd-top-gallery--fullscreen .pd-top-gallery-main {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .pd-slider-nav {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .pd-slider-next {
    bottom: 78px;
  }

  .pd-top-gallery-thumb {
    width: 64px;
    height: 46px;
  }

  .pd-top-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-stats {
    grid-template-columns: 1fr;
  }
}

/* Scroll-triggered enquiry drawer (above lightbox) */
.pd-scroll-sentinel {
  width: 100%;
  height: 1px;
  margin: 32px 0 0;
  pointer-events: none;
  visibility: hidden;
}

.page-project-detail .enquiry-drawer-backdrop {
  z-index: 100010;
}

.page-project-detail .enquiry-drawer {
  z-index: 100011;
}

body.page-project-detail.enquiry-drawer-open .mobile-bottom-nav {
  z-index: 100;
}
