/* ===================== PAGE SPECIFIC — LIGHT THEME ===================== */
body {
  background: #f4f6fa;
  color: #1a2640;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg,
      var(--navy-900) 0%,
      var(--navy-700) 60%,
      #1c3668 100%);
  padding: 160px 0 90px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.page-hero .bg-image-wrap {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}


.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%,
      rgba(184, 145, 58, 0.12) 0%,
      transparent 55%),
    radial-gradient(circle at 80% 20%,
      rgba(184, 145, 58, 0.08) 0%,
      transparent 40%);
}

.page-hero-deco {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(184, 145, 58, 0.15);
  pointer-events: none;
}

.page-hero-deco::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(184, 145, 58, 0.1);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--gold-300);
}

.page-breadcrumb .sep {
  font-size: 0.55rem;
  opacity: 0.4;
}

.page-breadcrumb .active {
  color: var(--gold-300);
  font-weight: 700;
}

.page-hero-title {
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.page-hero-meta-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-hero-meta-row i {
  color: var(--gold-300);
}

.page-hero-price {
  font-family: "Cairo", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-300);
  line-height: 1;
}

.page-hero-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 6px;
}

.page-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 575px) {
  .page-hero {
    padding: 130px 0 60px;
    min-height: 320px;
  }

  .page-hero-deco {
    display: none;
  }
}

/* ===== GALLERY ===== */
.pd-gallery-section {
  background: #fff;
  padding: 32px 0;
  border-bottom: 1px solid #e8ecf2;
}

.pd-gallery-main {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/8;
  background: #e8ecf2;
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.1);
}

.pd-gallery-main .swiper,
.pd-gallery-main .swiper-wrapper,
.pd-gallery-main .swiper-slide {
  height: 100%;
}

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

.pd-gallery-thumbs {
  margin-top: 12px;
}

.pd-gallery-thumbs .swiper-slide {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s;
  aspect-ratio: 16/9;
  border: 2px solid transparent;
}

.pd-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--gold-400);
}

.pd-gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-gallery-badge-wrap {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.pd-photo-count {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.pd-fullscreen-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}

.pd-fullscreen-btn:hover {
  background: var(--gold-500);
}

.pd-gallery-prev,
.pd-gallery-next {
  width: 40px !important;
  height: 40px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(4px);
}

.pd-gallery-prev::after,
.pd-gallery-next::after {
  font-size: 0.85rem !important;
  color: #fff !important;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.pd-content-section {
  padding: 44px 0 72px;
}

/* ===== LEFT COL CARDS ===== */
.pd-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 24px;
  box-shadow: 0 1px 8px rgba(10, 22, 40, 0.05);
  transition: box-shadow 0.2s;
}

.pd-section:hover {
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.09);
}

.pd-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f2f7;
}

.pd-section-title i {
  color: var(--gold-500);
  width: 32px;
  height: 32px;
  background: rgba(184, 145, 58, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Title block inside section */
.pd-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.4;
  margin-bottom: 10px;
}

.pd-location {
  font-size: 0.9rem;
  color: #6b7a99;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}

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

.pd-location a {
  color: inherit;
  text-decoration: none;
}

.pd-location a:hover {
  color: var(--gold-500);
}

/* Action bar */
.pd-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

@media (max-width:767.9px) {
  .pd-action-bar{
    justify-content: center;
  }
  .pd-posted-date {
    
margin:5px auto 0;
  }
}

.pd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f6f8fc;
  border: 1px solid #dde3ee;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: #5a6880;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  font-family: "Cairo", sans-serif;
  text-decoration: none;
}

.pd-action-btn:hover {
  border-color: var(--gold-400);
  color: var(--gold-600);
  background: rgba(184, 145, 58, 0.06);
}

.pd-action-btn.active {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}

.pd-posted-date {
  font-size: 0.78rem;
  color: #8a97b0;
  margin-right: auto;
}

/* Key specs */
.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.pd-spec {
  background: #f8f9fc;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #eef0f6;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.pd-spec:hover {
  border-color: rgba(184, 145, 58, 0.3);
  box-shadow: 0 2px 10px rgba(184, 145, 58, 0.08);
}

.pd-spec-icon {
  color: var(--gold-500);
  font-size: 1.1rem;
}

.pd-spec-label {
  font-size: 0.72rem;
  color: #8a97b0;
  font-weight: 500;
}

.pd-spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* Description */
.pd-desc-text {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.95;
}

.pd-desc-text p {
  margin-bottom: 14px;
}

.pd-readmore {
  background: none;
  border: none;
  color: var(--gold-600);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-family: "Cairo", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

.pd-readmore:hover {
  color: var(--gold-500);
}

/* Amenities */
.pd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.pd-amenity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #4a5568;
  background: #f8f9fc;
  border-radius: 10px;
  padding: 11px 14px;
  border: 1px solid #eef0f6;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.pd-amenity:hover {
  border-color: rgba(184, 145, 58, 0.3);
  color: var(--navy-800);
}

.pd-amenity i {
  color: var(--gold-500);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Details table */
.pd-details-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.pd-details-table tr td {
  padding: 11px 16px;
  font-size: 0.87rem;
  border: none;
}

.pd-details-table tr td:first-child {
  color: #6b7a99;
  width: 45%;
  background: #f8f9fc;
  border-radius: 8px 0 0 8px;
  font-weight: 500;
}

.pd-details-table tr td:last-child {
  color: var(--navy-800);
  font-weight: 600;
  background: #f8f9fc;
  border-radius: 0 8px 8px 0;
}

/* Map */
.pd-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  background: #e8ecf2;
  position: relative;
  border: 1px solid #dde3ee;
}

.pd-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pd-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #e8ecf2 0%, #dde3ee 100%);
  cursor: pointer;
}

.pd-map-overlay i {
  font-size: 2.5rem;
  color: var(--gold-500);
}

.pd-map-overlay p {
  color: #5a6880;
  font-size: 0.88rem;
  margin: 0;
  font-weight: 500;
}

/* ===== RIGHT STICKY CARD ===== */
.pd-sticky-card {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.09);
  overflow: hidden;
}

.pd-sticky-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  border-radius: 0 18px;
}

.pd-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pd-price {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold-600);
  line-height: 1;
  font-family: "Cairo", sans-serif;
}

.pd-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #8a97b0;
  margin-right: 4px;
}

.pd-per-sqm {
  font-size: 0.8rem;
  color: #6b7a99;
  background: #f4f6fa;
  border-radius: 6px;
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 4px;
}

.pd-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  margin-top: 10px;
}

.pd-agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f9fc;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 22px;
  border: 1px solid #eef0f6;
}

.pd-agent-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold-400);
}

.pd-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-agent-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.pd-agent-title {
  font-size: 0.78rem;
  color: #6b7a99;
  margin-top: 2px;
}

.pd-agent-stats {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.pd-agent-stat {
  font-size: 0.75rem;
  color: #8a97b0;
}

.pd-agent-stat strong {
  color: var(--gold-600);
}

.pd-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #9e7a2a 0%, #bf9a3e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  font-family: "Cairo", sans-serif;
  box-shadow: 0 4px 14px rgba(154, 117, 40, 0.35);
}

.pd-btn-call:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(154, 117, 40, 0.45);
}

.pd-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  font-family: "Cairo", sans-serif;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.pd-btn-wa:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.pd-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  color: #5a6880;
  border: 1.5px solid #dde3ee;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  font-family: "Cairo", sans-serif;
}

.pd-btn-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-600);
  background: rgba(184, 145, 58, 0.05);
}

.pd-ref-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eef0f6;
  font-size: 0.78rem;
  color: #8a97b0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-ref-row span {
  color: var(--navy-800);
  font-weight: 600;
}

/* ===== SIMILAR SECTION ===== */
.pd-similar-section {
  padding: 0 0 72px;
  background: #f4f6fa;
}

.pd-similar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-similar-title i {
  color: var(--gold-500);
}

.plist-btn-detail {
  padding: 20px !important;
}



@media (max-width: 575px) {
  .pd-title {
    font-size: 1.15rem;
  }

  .pd-price {
    font-size: 1.5rem;
  }

  .pd-section {
    padding: 18px 16px;
  }

  .pd-sticky-card {
    padding: 20px 16px;
  }

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

.prop-badges {
  width: max-content;
}

@media (max-width:991.9px) {
  .prop-badges{
    top: 0;
    right: 0;
  }
}

/* ===== FIX: Ad sidebar ===== */
#plistSideAd.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.plist-side-ad-card .plist-side-ad-overlay {
  pointer-events: none;
  transition: none;
}

.plist-side-ad-card {
  display: block;
  will-change: transform;
}

.plist-side-ad-card img {
  transition: transform 0.5s ease;
}

.plist-side-ad-card:hover img {
  transform: scale(1.05);
}

/* ===== SELLER / OWNER CARD — Redesigned ===== */
/* .pd-seller-section {
  margin-top: 8px;
} */



/* Main row: identity + counters */
.pd-seller-main-row {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 18px;
}

.pd-seller-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.pd-seller-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.pd-seller-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-500, #b8913a);
  box-shadow: 0 0 0 4px rgba(184, 145, 58, 0.12);
}

.pd-seller-verified-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
}

.pd-seller-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900, #0a1628);
  margin-bottom: 3px;
}

.pd-seller-role {
  font-size: 12.5px;
  color: var(--gold-600, #a07830);
  font-weight: 600;
  margin-bottom: 2px;
}

.pd-seller-role i {
  margin-left: 4px;
}

.pd-seller-company {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.pd-seller-company i {
  color: var(--gold-500, #b8913a);
  margin-left: 4px;
}

.pd-seller-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--gold-500, #b8913a);
}

.pd-seller-stars span {
  color: #475569;
  font-weight: 600;
  margin-right: 4px;
  font-size: 12px;
}

/* Counters strip */
.pd-seller-counters {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  flex-shrink: 0;
}

.pd-seller-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  gap: 2px;
}

.pd-seller-counter-sep {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

.pd-sc-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900, #0a1628);
  line-height: 1;
}

.pd-sc-lbl {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* Tags */
.pd-seller-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
      flex: 1;
    justify-content: center;
}

.pd-seller-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: #475569;
}

.pd-seller-tag i {
  color: var(--gold-500, #b8913a);
  font-size: 11px;
}

.pd-seller-tag--verified {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}

.pd-seller-tag--verified i {
  color: #16a34a;
}

/* Buttons row - all side by side */
.pd-seller-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
}

.pd-sbtn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100% !important;
  padding: 10px 8px !important;
  font-size: 13px !important;
  text-align: center;
}

/* Message form */
.pd-seller-msg-form {
  margin-top: 14px;
}

.pd-seller-textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: #0a1628;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  direction: rtl;
  background: #f8fafc;
}

.pd-seller-textarea:focus {
  border-color: var(--gold-500, #b8913a);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 145, 58, 0.1);
}

/* Ref row */
.pd-seller-ref {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #94a3b8;
}

.pd-seller-ref-val {
  font-family: monospace;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 11.5px;
}

@media (max-width: 768px) {
  .pd-seller-main-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .pd-seller-counters {
    width: 100%;
    justify-content: space-around;
  }

  .pd-seller-counter {
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .pd-seller-btns-row {
    grid-template-columns: 1fr 1fr;
  }

  .pd-seller-btns-row .pd-sbtn:last-child {
    grid-column: 1 / -1;
  }
}