/* PropertyDetail Page Premium Redesign CSS Stylesheet */

:root {
  --pd-primary: #0f172a;
  --pd-primary-light: #1e293b;
  --pd-orange: #f28d48;
  --pd-orange-dark: #e07c37;
  --pd-orange-light: #fff5ed;
  --pd-emerald: #10b981;
  --pd-emerald-light: #e6f9ed;
  --pd-surface: #f8fafc;
  --pd-card: #ffffff;
  --pd-border: #e2e8f0;
  --pd-text: #0f172a;
  --pd-muted: #64748b;
  
  /* Modern shadows */
  --pd-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
  --pd-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --pd-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.02);
  
  /* Typography */
  --pd-font-outfit: 'Outfit', sans-serif;
  --pd-font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* Base Styles */
.pd-detail-page {
  background: var(--pd-surface);
  padding-bottom: 4rem;
  font-family: var(--pd-font-sans), sans-serif !important;
  color: var(--pd-text);
  line-height: 1.6;
}

.pd-detail-page h1, 
.pd-detail-page h2, 
.pd-detail-page h3, 
.pd-detail-page h4, 
.pd-detail-page h5, 
.pd-detail-page h6,
.pd-title,
.pd-price-display,
.pd-emi-result,
.pd-score-val {
  font-family: var(--pd-font-outfit), sans-serif !important;
  font-weight: 700;
  color: var(--pd-primary);
}

.pd-detail-page .text-orange {
  color: var(--pd-orange) !important;
}

.pd-detail-page .text-emerald {
  color: var(--pd-emerald) !important;
}

/* Back Link */
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--pd-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-back:hover {
  color: var(--pd-orange);
  transform: translateX(-4px);
}

/* 1. Gallery & Media Section */
.pd-media-section {
  position: relative;
}

.pd-media-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none; /* Firefox */
}

.pd-media-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.pd-gallery-tab {
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 99px;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pd-muted);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--pd-shadow-sm);
}

.pd-gallery-tab:hover {
  color: var(--pd-orange);
  border-color: var(--pd-orange);
  background: var(--pd-orange-light);
}

.pd-gallery-tab.is-active {
  color: #fff;
  background: var(--pd-orange);
  border-color: var(--pd-orange);
  box-shadow: 0 4px 12px rgba(242, 141, 72, 0.2);
}

.pd-media-viewport {
  border-radius: 20px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: var(--pd-shadow);
  border: 1px solid var(--pd-border);
}

.pd-gallery-view {
  width: 100%;
}

.pd-gallery-container {
  height: 460px;
  position: relative;
}

@media (max-width: 991.98px) {
  .pd-gallery-container {
    height: auto;
  }
}

.pd-main-photo-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #cbd5e1;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

@media (max-width: 991.98px) {
  .pd-main-photo-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
  }
}

.pd-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.pd-main-photo-wrap:hover .pd-main-photo {
  transform: scale(1.02);
}

.pd-photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
}

/* Secondary Photos Grid */
.pd-photo-grid {
  display: grid;
  gap: 0.5rem;
  height: 100%;
}

.pd-grid-photo-wrap {
  position: relative;
  overflow: hidden;
  background: #cbd5e1;
  border-radius: 8px;
  height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.pd-grid-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.pd-grid-photo-wrap:hover img {
  transform: scale(1.04);
}

.pd-grid-photo-wrap.is-active {
  box-shadow: inset 0 0 0 3px var(--pd-orange);
}

/* Grid Variations based on Secondary Counts */
.pd-photo-grid--1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.pd-photo-grid--2 {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
}
.pd-photo-grid--3 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.pd-photo-grid--3 .pd-grid-photo-wrap:first-child {
  grid-row: span 2;
}
.pd-photo-grid--4 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

/* View All Photos floating button */
.pd-view-all-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #ffffff;
  border: 1px solid var(--pd-border);
  color: var(--pd-primary);
  font-family: var(--pd-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.pd-view-all-btn:hover {
  background: var(--pd-surface);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.15);
}

.pd-view-all-btn:active {
  transform: translateY(0);
}

/* Mobile Scrollable Thumbnails */
.pd-mobile-thumbs {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0;
}

.pd-mobile-thumbs::-webkit-scrollbar {
  display: none;
}

.pd-mobile-thumbs-track {
  display: flex;
  gap: 0.5rem;
}

.pd-mobile-thumb-btn {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  background: #cbd5e1;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pd-mobile-thumb-btn.is-active {
  border-color: var(--pd-orange);
  transform: scale(1.03);
}

.pd-mobile-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floor & Map Gallery Fallbacks */

/* Floor & Map Gallery Fallbacks */
.pd-floor-plan-gallery {
  aspect-ratio: 16 / 9;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pd-floor-plan-view-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pd-map-gallery-wrap {
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
}

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

/* 2. Sticky Scrollspy Section Navigation */
.pd-nav-tabs-bar {
  position: sticky;
  top: 108px; /* Sticks below main header on desktop (72px header + 36px topbar) */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 1010;
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .pd-nav-tabs-bar {
    top: 52px; /* Sticks below main header on mobile (no topbar on mobile) */
  }
}

.pd-nav-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}

.pd-nav-tabs::-webkit-scrollbar {
  display: none;
}

.pd-nav-tab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
  text-decoration: none !important;
  white-space: nowrap;
  position: relative;
  padding: 0.45rem 1.15rem;
  border-radius: 99px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  background: rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-nav-tab:hover {
  color: var(--pd-orange);
  border-color: rgba(255, 107, 0, 0.25);
  background: rgba(255, 107, 0, 0.03);
}

.pd-nav-tab.is-active {
  color: #ffffff !important;
  background: var(--pd-orange);
  border-color: var(--pd-orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}



/* 3. Cards & Sections */
.pd-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02), 0 1px 3px rgba(15, 23, 42, 0.01);
}

.pd-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pd-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pd-section-title i {
  color: var(--pd-orange);
  font-size: 1.25rem;
}

/* Overview section titles */
.pd-title {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.pd-location-text {
  font-size: 0.95rem;
  color: var(--pd-muted);
  margin: 0;
}

.pd-price-display {
  font-size: clamp(1.85rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--pd-orange);
  line-height: 1.1;
}

/* Trust signal badge bar */
.pd-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pd-trust-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.775rem;
  font-weight: 600;
  color: #047857;
  background: var(--pd-emerald-light);
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Summary Cards (Quick insights list) */
.pd-summary-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-summary-card:hover {
  border-color: rgba(255, 107, 0, 0.2);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.03);
  transform: translateY(-1px);
}

.pd-summary-card small {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--pd-muted);
}

.pd-summary-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pd-primary);
  margin-top: 0.15rem;
  word-break: break-word;
}

/* Highlights Grid (V2 icon cards) */
.pd-highlight-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-highlight-card-v2:hover {
  border-color: rgba(255, 107, 0, 0.3);
  background: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.06);
  transform: translateY(-2px);
}

.pd-highlight-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pd-orange-light);
  color: var(--pd-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.pd-highlight-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.pd-highlight-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pd-primary);
  margin-top: 0.1rem;
}

/* Price Insights Dash */
.pd-insight-metric {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  transition: all 0.25s ease;
}

.pd-insight-metric:hover {
  background: #fff;
  border-color: var(--pd-orange);
  box-shadow: var(--pd-shadow-sm);
}

.pd-insight-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pd-orange-light);
  color: var(--pd-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pd-insight-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pd-primary);
}

/* Specifications Grid */
.pd-spec-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  height: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-spec-item:hover {
  border-color: rgba(255, 107, 0, 0.25);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.04);
  transform: translateY(-1px);
}

.pd-spec-icon-wrap {
  color: var(--pd-orange);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.pd-spec-value-text {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--pd-primary);
}

/* Feature Badge Accents */
.pd-badge--feature {
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 99px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pd-primary-light);
  transition: all 0.2s ease;
}

.pd-badge--feature:hover {
  border-color: var(--pd-orange);
  background: var(--pd-orange-light);
  color: var(--pd-orange-dark);
}

/* About Description */
.pd-about-desc {
  color: var(--pd-primary-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Floor Plans tabs */
.pd-fp-tabs {
  border-bottom: 2px solid var(--pd-border);
}

.pd-fp-tab {
  background: none;
  border: none;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pd-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.pd-fp-tab:hover {
  color: var(--pd-primary);
}

.pd-fp-tab.is-active {
  color: var(--pd-orange);
}

.pd-fp-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--pd-orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.pd-fp-tab.is-active::after {
  transform: scaleX(1);
}

.pd-fp-img-wrap {
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--pd-shadow-sm);
  background: #fff;
}

/* Locality score SVG ring styling */
.pd-score-ring-wrap {
  width: 120px;
  height: 120px;
}

.pd-score-ring-bg {
  fill: none;
  stroke: var(--pd-border);
  stroke-width: 8;
}

.pd-score-ring-bar {
  fill: none;
  stroke: var(--pd-orange);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.8s ease;
  stroke-dasharray: 314;
}

.pd-score-val {
  font-size: 2rem;
  color: var(--pd-primary);
  line-height: 1;
}

/* Connectivity list items */
.pd-nearby-item {
  transition: background-color 0.2s ease;
}
.pd-nearby-item:hover {
  background: var(--pd-surface);
}

/* Skeleton loader layout pulsing */
.pd-skeleton-loader {
  animation: pd-pulse 1.5s infinite ease-in-out;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  color: transparent !important;
  user-select: none;
}

@keyframes pd-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Range Input / Sliders */
.form-range::-webkit-slider-thumb {
  background: var(--pd-orange);
  transition: transform 0.1s ease;
}
.form-range::-webkit-slider-thumb:active {
  background: var(--pd-orange-dark);
  transform: scale(1.25);
}
.form-range::-moz-range-thumb {
  background: var(--pd-orange);
  transition: transform 0.1s ease;
}
.form-range::-moz-range-thumb:active {
  background: var(--pd-orange-dark);
  transform: scale(1.25);
}

.pd-emi-result {
  font-size: 1.85rem;
  color: var(--pd-orange);
}

/* FAQs Accordion styling */
.pd-faqs-accordion .accordion-button:not(.collapsed) {
  background-color: var(--pd-orange-light);
  color: var(--pd-orange-dark);
  box-shadow: none;
}

.pd-faqs-accordion .accordion-button::after {
  background-size: 1.15rem;
}

/* 4. Desktop Sidebar Column */
@media (min-width: 992px) {
  .sticky-sidebar {
    position: sticky;
    top: 172px; /* Sticks perfectly below the sub-navigation tabs offset (108px nav bar + ~50px height + 14px buffer) */
    z-index: 990;
    transition: top 0.3s ease;
  }
}

@media (max-width: 991.98px) {
  .sticky-sidebar {
    position: relative;
    top: 0 !important;
    z-index: 1;
  }
}



.pd-sidebar-card {
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.06);
  border-color: var(--pd-border);
  padding: 1.5rem;
  overflow: hidden;
}

/* ── Agent header ── */
.pd-sidebar-agent-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pd-agent-avatar-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #fff;
  background: linear-gradient(135deg, var(--pd-orange) 0%, #f97316 50%, #ea580c 100%);
  box-shadow: 0 4px 14px rgba(242, 141, 72, 0.35);
  position: relative;
  overflow: hidden;
}

.pd-agent-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: 50%;
}

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

.pd-agent-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pd-primary);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Verified badge & ID tag */
.pd-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
}

.pd-verified-badge i {
  font-size: 0.8rem;
  color: var(--pd-emerald);
}

.pd-prop-id-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pd-muted);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 99px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.04em;
  font-family: 'Courier New', monospace;
}

/* ── Stats chips row ── */
.pd-sidebar-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pd-sidebar-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pd-primary-light);
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
}

.pd-sidebar-stat i {
  color: var(--pd-orange);
  font-size: 0.78rem;
}

/* ── Divider ── */
.pd-sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pd-border) 30%, var(--pd-border) 70%, transparent);
  margin-bottom: 1rem;
}

/* ── Compact Amenity Pill Badges ── */
.amenity-category {
  margin-top: 1.5rem;
}

.amenity-category:first-of-type {
  margin-top: 0.85rem;
}

.amenity-category-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pd-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.amenity-category-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 12px;
  background: var(--pd-orange);
  border-radius: 2px;
}

.amenity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.amenity-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 99px;
  padding: 0.35rem 0.85rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.amenity-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  background: rgba(255, 107, 0, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.05);
}

.amenity-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.07);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
  transition: all 0.2s ease;
}

.amenity-card:hover .amenity-icon {
  background: rgba(255, 107, 0, 0.15);
}

.amenity-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--pd-orange);
  display: block;
}

.amenity-icon i {
  color: var(--pd-orange);
  font-size: 0.85rem;
  line-height: 1;
}

.amenity-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pd-primary-light);
  line-height: 1.2;
}

.amenity-card:hover .amenity-name {
  color: var(--pd-primary);
}



/* ── CTA Buttons ── */
.pd-btn-contact {
  background: var(--pd-primary) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  letter-spacing: 0.01em;
}

.pd-btn-contact:hover {
  background: var(--pd-primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
}

.pd-btn-contact:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.pd-btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  letter-spacing: 0.01em;
}

.pd-btn-whatsapp:hover {
  background: #1fbe5b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.pd-btn-whatsapp:active {
  transform: translateY(0);
}

.pd-btn-outline {
  background: transparent !important;
  color: var(--pd-primary) !important;
  border: 1.5px solid var(--pd-border) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}

.pd-btn-outline:hover {
  border-color: var(--pd-orange) !important;
  color: var(--pd-orange) !important;
  background: var(--pd-orange-light) !important;
  transform: translateY(-1px);
}

/* ── Share footer ── */
.pd-sidebar-share {
  border-top: 1px solid var(--pd-border);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pd-sidebar-share-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pd-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pd-sidebar-share-label i {
  color: var(--pd-orange);
}



/* Similar Listings Scroll Section */
.pd-similar-listings {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--pd-border) transparent;
}

.pd-similar-listings::-webkit-scrollbar {
  height: 6px;
}

.pd-similar-listings::-webkit-scrollbar-thumb {
  background-color: var(--pd-border);
  border-radius: 99px;
}

.pd-similar-listings > * {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--pd-shadow-sm);
  border: 1px solid var(--pd-border);
}

/* 5. Mobile Floating Action Bar */
.pd-mobile-bar {
  display: none;
}

@media (max-width: 991.98px) {
  .pd-detail-page {
    padding-bottom: 6rem;
  }

  .pd-mobile-bar {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--pd-border);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  .pd-mobile-bar .btn-share-property {
    height: 48px;
    width: 48px !important;
    min-width: 48px;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-surface) !important;
    border: 1px solid var(--pd-border) !important;
  }

  .pd-mobile-bar .pd-btn-whatsapp {
    height: 48px;
    width: 48px !important;
    min-width: 48px;
    border-radius: 12px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
