@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

/* =================================================================
  COMPLETE PROPDETAILS UNIQUE STYLES - ALL SECTIONS
  Property Details Page - Unique Class Names with propdetails- prefix
  ================================================================= */

/* CSS Variables for Propdetails */
:root {
  --propdetails-primary-color: #a51c36;
  --propdetails-primary-dark: #7c1427;
  --propdetails-primary-light: #d32f4b;
  --propdetails-secondary-color: #2c3e50;
  --propdetails-text-color: #666;
  --propdetails-light-gray: #f8f9fa;
  --propdetails-border-color: #e5e7eb;
  --propdetails-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --propdetails-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --propdetails-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --propdetails-border-radius-sm: 8px;
  --propdetails-border-radius-md: 12px;
  --propdetails-border-radius-lg: 16px;
  --propdetails-transition-fast: 0.2s;
  --propdetails-transition-medium: 0.3s;
  --propdetails-hero-font: "Manrope", "IBM Plex Sans", "Segoe UI", sans-serif;
  --propdetails-hero-font-display: var(--propdetails-hero-font);
}

/* Modern Body Styles */
body {
  font-family: 'Manrope', 'IBM Plex Sans', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #1e2233;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

footer {
  margin: 0 !important;
  padding: 10px 0 0 0 !important;
}

footer hr {
  margin: 10px 0 !important;
}

footer p {
  margin: 0 !important;
  padding: 0 0 10px 0 !important;
}

/* Global touch-friendly styles */
* {
  -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Prevent text selection on buttons and controls */
button, .btn, a[role="button"] {
  user-select: none;
  -webkit-user-select: none;
}

/* =================================================================
   HERO SECTION - TRADITIONAL LAYOUT
   ================================================================= */

.propdetails-property-hero-traditional {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
  max-width: 1480px;
  margin: 0 auto;
}

.propdetails-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, 0.72fr);
  min-height: 300px;
  background: #fff;
}

.propdetails-property-image-section {
  position: relative;
  min-width: 0;
  background: #111827;
}

.propdetails-main-property-image {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: 0;
  overflow: hidden;
  background: #0f172a;
  box-shadow: none;
}

.propdetails-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.propdetails-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.propdetails-hero-slide.propdetails-hero-slide-active {
  opacity: 1;
  pointer-events: none;
}

.propdetails-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

.propdetails-hero-slide-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  image-rendering: auto;
}

.propdetails-hero-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 20;
  pointer-events: none;
}

.propdetails-hero-control {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--propdetails-transition-medium) ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  font-size: 0.82rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  pointer-events: auto;
}

.propdetails-hero-control:hover {
  background: var(--propdetails-primary-color);
  color: #fff;
  transform: scale(1.05);
}

.propdetails-hero-control:active {
  transform: scale(0.95);
}

.propdetails-hero-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 20;
  pointer-events: none;
}

.propdetails-hero-indicator {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: all var(--propdetails-transition-medium) ease;
  pointer-events: auto;
}

.propdetails-hero-indicator.propdetails-hero-indicator-active,
.propdetails-hero-indicator:hover {
  background: #fff;
  transform: none;
}

.propdetails-hero-layout .propdetails-property-price-overlay {
  display: none;
}

.propdetails-property-price-overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 5;
  backdrop-filter: blur(10px);
  letter-spacing: -0.02em;
}

.propdetails-property-info-card {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border-radius: 0;
}

.propdetails-hero-summary {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 20px 28px 22px;
  background: #fff;
  border-left: 1px solid #f0f1f3;
  font-family: var(--propdetails-hero-font);
}

.propdetails-summary-kicker {
  width: fit-content;
  margin-bottom: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #b28b46;
  background: transparent;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.propdetails-hero-summary .propdetails-title-compact {
  margin: 0;
  color: #111827;
  font-size: clamp(1.25rem, 1.45vw, 1.65rem);
  font-weight: 700;
  font-family: var(--propdetails-hero-font);
  line-height: 1.18;
  letter-spacing: 0;
}

.propdetails-hero-summary .propdetails-location-compact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.78rem;
  line-height: 1.45;
}

.propdetails-hero-summary .propdetails-location-compact i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #94a3b8;
}

.propdetails-summary-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #eef2f6;
  color: #111827;
}

.propdetails-summary-price .propdetails-price-value {
  font-size: clamp(1.25rem, 1.45vw, 1.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.propdetails-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}

.propdetails-summary-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-height: 56px;
  padding: 10px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.propdetails-summary-stat + .propdetails-summary-stat {
  border-left: 1px solid #eef2f6;
  border-top: 0;
}

.propdetails-summary-stat i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: #0f172a;
  background: transparent;
  box-shadow: none;
  font-size: 0.82rem;
}

.propdetails-summary-stat span {
  color: #0f172a;
  margin-left: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  order: 2;
}

.propdetails-summary-stat small {
  color: #94a3b8;
  font-size: 0.64rem;
  font-weight: 600;
  order: 3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.propdetails-summary-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eef2f6;
  border-radius: 10px;
  background: #f8fafc;
}

.propdetails-summary-agent-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #ffffff;
  flex: 0 0 auto;
}

.propdetails-summary-agent-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.propdetails-summary-agent-copy {
  min-width: 0;
}

.propdetails-summary-agent-copy span {
  display: block;
  color: #9aa4b2;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.propdetails-summary-agent-copy strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.propdetails-summary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.propdetails-property-header {
  margin-bottom: 25px;
}

.propdetails-property-title {
  font-size: 1.75rem !important;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px !important;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.propdetails-property-location {
  color: #6b7280 !important;
  font-size: 0.875rem !important;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.propdetails-property-location i {
  color: var(--propdetails-primary-color);
  font-size: 0.875rem !important;
}

.propdetails-property-price {
  font-size: 2.25rem !important;
  font-weight: 700;
  color: var(--propdetails-primary-color);
  margin-bottom: 16px !important;
}

.propdetails-property-features {
  margin-bottom: 20px !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.propdetails-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-bottom: none;
  background: var(--propdetails-light-gray);
  padding: 8px 10px;
  border-radius: 8px;
}

.propdetails-feature-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.propdetails-feature-item i {
  width: 18px;
  height: 18px;
  color: var(--propdetails-primary-color);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.propdetails-feature-item span {
  font-weight: 500;
  color: #374151;
  font-size: 0.8125rem;
}

/* Elegant divider when no features available */
.propdetails-no-features-divider {
  margin: 20px 0;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.propdetails-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #d1d5db 20%, #d1d5db 80%, transparent);
  position: relative;
}

.propdetails-divider-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
}

.propdetails-divider-line::after {
  content: '\f1ad';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #9ca3af;
  font-size: 0.875rem;
  z-index: 1;
}

.propdetails-property-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.propdetails-property-actions .btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 18px;
  font-size: 0.875rem;
  transition: all var(--propdetails-transition-medium) ease;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.propdetails-property-actions .btn:active {
  transform: scale(0.98);
}

.propdetails-property-actions .btn-primary {
  background: var(--propdetails-primary-color);
  border-color: var(--propdetails-primary-color);
}

.propdetails-property-actions .btn-primary:hover {
  background: var(--propdetails-primary-dark);
  border-color: var(--propdetails-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(165, 28, 54, 0.3);
}

.propdetails-property-actions .btn-outline-primary {
  color: var(--propdetails-primary-color);
  border-color: var(--propdetails-primary-color);
  background: transparent;
}

.propdetails-property-actions .btn-outline-primary:hover {
  background: var(--propdetails-primary-color);
  border-color: var(--propdetails-primary-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(165, 28, 54, 0.3);
}

/* =================================================================
   MAIN CONTAINER & LAYOUT
   ================================================================= */

.propdetails-property-listing-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Modern Page Container - Small Edge Padding */
.container-fluid.px-4 {
  padding-left: 18px !important;
  padding-right: 18px !important;
  max-width: 100% !important;
  margin: 0 auto;
}

.main-content {
  background: #fafbfc;
  padding-top: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   Property-not-found  —  Modern Minimal Design
   ═══════════════════════════════════════════════════════════════ */

/* ── Page shell ───────────────────────────────────────────────── */
.propdetails-not-found-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 82px);
  padding: clamp(20px, 4vw, 40px) 24px clamp(32px, 5vw, 56px);
  background: #ffffff;
  overflow: hidden;
}

/* ── Two-column section ───────────────────────────────────────── */
.propdetails-not-found {
  position: relative;
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

/* ── Left content ─────────────────────────────────────────────── */
.propdetails-not-found__content {
  position: relative;
}

/* Badge / eyebrow */
.pnf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pnf-badge .bi {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Ghost 404 number */
.pnf-number {
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px #e9ecf0;
  user-select: none;
  margin-bottom: 16px;
}

/* Main heading */
.pnf-heading {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Body copy */
.propdetails-not-found__copy {
  max-width: 380px;
  margin: 0 0 28px;
  color: #6b7280;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ── Actions ──────────────────────────────────────────────────── */
.propdetails-not-found__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.propdetails-not-found__primary,
.propdetails-not-found__secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.propdetails-not-found__primary {
  background: #111827;
  border: 1.5px solid #111827;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(17,24,39,0.18);
}
.propdetails-not-found__primary:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(17,24,39,0.24);
}

.propdetails-not-found__secondary {
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  color: #374151;
}
.propdetails-not-found__secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}

.propdetails-not-found__primary:active,
.propdetails-not-found__secondary:active {
  transform: translateY(0);
}

.propdetails-not-found__primary:focus-visible,
.propdetails-not-found__secondary:focus-visible {
  outline: 3px solid rgba(17,24,39,0.18);
  outline-offset: 3px;
}

/* ── Right image ──────────────────────────────────────────────── */
.propdetails-not-found__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.propdetails-not-found__image {
  display: block;
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .propdetails-not-found {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .propdetails-not-found__content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .propdetails-not-found__media {
    order: 1;
  }
  .propdetails-not-found__image {
    width: min(100%, 420px);
  }
  .propdetails-not-found__copy {
    margin-left: auto;
    margin-right: auto;
  }
  .propdetails-not-found__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .propdetails-not-found-page {
    padding: 16px 16px 32px;
  }
  .pnf-number {
    font-size: clamp(4rem, 24vw, 6rem);
  }
  .propdetails-not-found__actions {
    flex-direction: column;
    width: 100%;
  }
  .propdetails-not-found__primary,
  .propdetails-not-found__secondary {
    width: 100%;
    justify-content: center;
  }
}



/* Responsive overrides for container padding */
@media (max-width: 991.98px) {
  .container-fluid.px-4 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .propdetails-property-listing-container {
    padding: 0 8px;
  }
}
@media (max-width: 576px) {
  .container-fluid.px-4 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .propdetails-property-listing-container {
    padding: 0 2px;
  }
}

/* =================================================================
   QUICK NAVIGATION
   ================================================================= */

.propdetails-property-quick-nav {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 16px !important;
  margin-top: 32px;
  overflow: hidden;
  border-bottom: 1px solid var(--propdetails-border-color);
}

.propdetails-nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
  gap: 0;
}

.propdetails-nav-links li {
  flex: 0 0 auto;
}

.propdetails-nav-links a {
  display: block;
  padding: 10px 16px !important;
  color: #6b7280;
  font-weight: 500;
  font-size: 1.05rem !important;
  position: relative;
  transition: color var(--propdetails-transition-fast);
  text-decoration: none;
}

.propdetails-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--propdetails-primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--propdetails-transition-fast);
  display: none;
}

.propdetails-nav-links a.propdetails-nav-link-active,
.propdetails-nav-links a:hover {
  color: var(--propdetails-primary-color);
}

.propdetails-nav-links a.propdetails-nav-link-active::after {
  transform: scaleX(1);
}

@media (max-width: 991.98px) {
  .propdetails-nav-links a {
    font-size: 0.95rem !important;
  }
}
@media (max-width: 576px) {
  .propdetails-nav-links a {
    font-size: 0.87rem !important;
  }
}

/* =================================================================
   SECTION STYLES
   ================================================================= */

.propdetails-property-section {
  margin-bottom: 60px !important;
  padding-bottom: 0 !important;
}

.propdetails-section-header {
  margin-bottom: 12px !important;
  position: relative;
}

.propdetails-nearby-section-header {
  padding-left: 16px;
}

.propdetails-section-title {
  font-size: 1.5rem !important;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 6px !important;
  position: relative;
  display: inline-block;
  color: #1f2937;
  letter-spacing: -0.025em;
}
  padding: 0.14rem 0.5rem;
.propdetails-section-line {
  background: transparent;
}
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #344054;
  border: 1px solid #d0d5dd;
  text-transform: uppercase;
.propdetails-property-overview-content {
  width: 100%;
}

.propdetails-overview-highlights {
  margin-bottom: 12px !important;
}

.propdetails-overview-highlight-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px !important;
  text-align: left;
  transition: transform var(--propdetails-transition-fast), box-shadow var(--propdetails-transition-fast);
  height: 100%;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 10px !important;
}

.propdetails-overview-highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.propdetails-highlight-icon {
  width: 38px;
  height: 38px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 1.4rem;
  color: var(--propdetails-primary-color);
  transition: transform var(--propdetails-transition-fast);
  flex-shrink: 0;
}

.propdetails-overview-highlight-card:hover .propdetails-highlight-icon {
  transform: scale(1.05);
}

.propdetails-highlight-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.propdetails-highlight-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.propdetails-highlight-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.propdetails-property-description {
  background: #f9fafb !important;
  border-radius: 8px;
  padding: 14px 16px !important;
  box-shadow: none;
  line-height: 1.6;
  color: #6b7280 !important;
  border: 1px solid #e5e7eb;
  margin-top: 0 !important;
}

.propdetails-property-description p {
  margin-bottom: 10px !important;
  font-size: 0.875rem !important;
  line-height: 1.6;
}

.propdetails-lead-text {
  font-size: 0.9375rem !important;
  font-weight: 400;
  color: #6b7280 !important;
  margin-bottom: 1rem !important;
  line-height: 1.6;
}

.propdetails-lead-text.propdetails-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.propdetails-lead-text.propdetails-expanded {
  display: block;
  overflow: visible;
}

.propdetails-description-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.propdetails-description-expanded.propdetails-expanded-show {
  max-height: 2000px;
}

.propdetails-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  cursor: pointer;
  color: var(--propdetails-primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--propdetails-transition-fast);
  padding: 8px 16px;
  border: 1px solid var(--propdetails-primary-color);
  border-radius: 8px;
  background: transparent;
}

.propdetails-expand-btn:hover {
  color: #fff;
  background: var(--propdetails-primary-color);
  transform: translateY(-1px);
}

.propdetails-property-key-features {
  background: rgba(165, 28, 54, 0.05);
  border-radius: var(--propdetails-border-radius-sm);
  padding: 20px;
  margin-top: 20px;
}

.propdetails-property-key-features h4 {
  color: var(--propdetails-secondary-color);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.propdetails-key-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.propdetails-key-features-list li {
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.propdetails-key-features-list li:last-child {
  border-bottom: none;
}

.propdetails-key-features-list li i {
  color: var(--propdetails-primary-color);
  font-size: 1.1rem;
  margin-top: 2px;
}

/* =================================================================
   GALLERY SECTION - MODERN DESIGN
   ================================================================= */

.propdetails-gallery-section {
  margin-bottom: 60px !important;
}

.propdetails-gallery-container {
  margin-bottom: 0;
}

.propdetails-gallery-tabs {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 1.5rem;
}

.propdetails-gallery-tab {
  background: none;
  border: none;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.propdetails-gallery-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.propdetails-gallery-tab:hover {
  color: var(--propdetails-primary-color);
}

.propdetails-gallery-tab-active {
  color: var(--propdetails-primary-color);
}

.propdetails-gallery-tab-active::after {
  background: var(--propdetails-primary-color);
}

.propdetails-gallery-panel {
  display: none;
}

.propdetails-gallery-panel-active {
  display: block;
}

/* Gallery Floor Plan Subsection */
.propdetails-gallery-subsection {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.propdetails-gallery-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.propdetails-gallery-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.propdetails-gallery-subtext {
  font-size: 0.85rem;
  color: #6b7280;
}

.propdetails-floorplan-feature {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.propdetails-floorplan-feature-link {
  display: block;
  position: relative;
}

.propdetails-floorplan-feature-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.propdetails-floorplan-feature-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(124, 20, 39, 0.95);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.propdetails-floorplan-feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.propdetails-floorplan-feature-content {
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.propdetails-floorplan-feature-content i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.propdetails-floorplan-feature:hover .propdetails-floorplan-feature-overlay {
  opacity: 1;
}

.propdetails-floorplan-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.propdetails-floorplan-thumb-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.propdetails-floorplan-thumb-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.propdetails-floorplan-thumb-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .propdetails-floorplan-feature-img {
    height: 300px;
  }

  .propdetails-gallery-subheader {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Modern Grid Gallery Layout */
.propdetails-modern-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

/* Single Image Layout - Full Width and Modern */
.propdetails-modern-gallery-grid.single-image {
  grid-template-columns: 1fr;
  height: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.propdetails-modern-gallery-grid.single-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.propdetails-modern-gallery-grid.single-image .propdetails-gallery-primary {
  border-radius: 20px;
}

.propdetails-gallery-primary {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.propdetails-gallery-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
}

/* Medium size for second image - spans 2 rows */
.propdetails-gallery-medium {
  grid-row: span 2;
}

.propdetails-gallery-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.propdetails-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Overlay Effects */
.propdetails-gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(2px);
}

.propdetails-gallery-hover-content {
  text-align: center;
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.propdetails-gallery-hover-content i {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.propdetails-gallery-hover-content span {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.propdetails-gallery-link:hover .propdetails-gallery-img {
  transform: scale(1.08);
}

.propdetails-gallery-link:hover .propdetails-gallery-hover-overlay {
  opacity: 1;
}

.propdetails-gallery-link:hover .propdetails-gallery-hover-content {
  transform: translateY(0);
}

/* Small gallery items in secondary grid */
.propdetails-gallery-small {
  border-radius: 8px;
}

.propdetails-gallery-small .propdetails-gallery-hover-content span {
  display: none;
}

.propdetails-gallery-small .propdetails-gallery-hover-content i {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* View More Photos Overlay */
.propdetails-gallery-more {
  position: relative;
}

.propdetails-gallery-more-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

/* Blur the underlying image inside the last tile */
.propdetails-gallery-more .propdetails-gallery-img {
  filter: blur(5px) brightness(0.7) !important;
  transform: scale(1.08);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.propdetails-gallery-more:hover .propdetails-gallery-img {
  filter: blur(4px) brightness(0.6) !important;
}

.propdetails-gallery-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  pointer-events: none;
}

.propdetails-gallery-more:hover .propdetails-gallery-more-overlay {
  background: rgba(0, 0, 0, 0.50);
}

.propdetails-gallery-more-content {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.propdetails-gallery-count {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.propdetails-gallery-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Single image fallback */
.propdetails-gallery-single {
  grid-template-columns: 1fr;
  height: 500px;
}

.propdetails-gallery-single .propdetails-gallery-primary {
  border-radius: 16px;
}

/* Restricted Gallery Overlay */
.propdetails-gallery-restricted {
  position: relative;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

.propdetails-gallery-restricted:hover .propdetails-gallery-restricted-overlay {
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.4);
}

.propdetails-gallery-restricted a {
  pointer-events: none;
}

.propdetails-gallery-restricted-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%);
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

.propdetails-gallery-restricted-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%);
  border-radius: 12px;
  pointer-events: none;
}

.propdetails-gallery-restricted-overlay i {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 1;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Premium Gallery Message */
.propdetails-premium-message {
  text-align: center;
  margin: 1rem 0;
  padding: 0.5rem 0;
}

.propdetails-premium-message-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: #6c757d;
}

.propdetails-premium-message-content i {
  color: #6c757d;
  font-size: 1rem;
}

/* Restricted Map Overlay */
.propdetails-map-restricted-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%);
  border-radius: 8px;
  z-index: 20;
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.propdetails-map-restricted-content {
  text-align: center;
  color: #ffffff;
  max-width: 320px;
  padding: 2rem;
}

.propdetails-map-restricted-content i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.propdetails-map-restricted-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.propdetails-map-restricted-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Gallery */
@media (max-width: 991px) {
  .propdetails-modern-gallery-grid {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .propdetails-modern-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 150px;
    height: auto;
    gap: 8px;
  }
  
  .propdetails-gallery-secondary {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 8px;
  }
  
  .propdetails-gallery-primary,
  .propdetails-gallery-link {
    border-radius: 12px;
  }
  
  .propdetails-gallery-single {
    grid-template-rows: 1fr;
    height: 300px;
  }
}

@media (max-width: 576px) {
  .propdetails-modern-gallery-grid {
    grid-template-rows: 250px 120px;
  }
  
  .propdetails-gallery-secondary {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  
  .propdetails-gallery-count {
    font-size: 1.25rem;
  }
  
  .propdetails-gallery-text {
    font-size: 0.6875rem;
  }
}

/* Responsive Single Image Layout */
@media (max-width: 991px) {
  .propdetails-modern-gallery-grid.single-image {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .propdetails-modern-gallery-grid.single-image {
    height: 350px;
    border-radius: 16px;
  }
}

@media (max-width: 576px) {
  .propdetails-modern-gallery-grid.single-image {
    height: 280px;
    border-radius: 12px;
  }
}

/* =================================================================
   FEATURES SECTION
   ================================================================= */

.propdetails-property-features-content {
  margin-top: 18px;
}

.propdetails-features-tabs {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 0 0 2px 0;
  background: transparent;
  border-bottom: 1px solid #e5e8ec;
  border-radius: 0;
}

.propdetails-features-tab {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 6px 0 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.propdetails-features-tab:hover {
  color: #1f2937;
}

.propdetails-features-tab-active {
  color: #111827;
  border-bottom-color: #111827;
  box-shadow: none;
}

.propdetails-features-tabs .nav-tabs {
  border-bottom: 1px solid var(--propdetails-border-color);
  padding: 0 16px;
}

.propdetails-features-tabs .nav-tabs .nav-link {
  border: none;
  color: #6b7280;
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 2px solid transparent;
  transition: color var(--propdetails-transition-fast), border-color var(--propdetails-transition-fast);
  font-size: 0.9rem;
}

.propdetails-features-tabs .nav-tabs .nav-link.active,
.propdetails-features-tabs .nav-tabs .nav-link:hover {
  color: var(--propdetails-primary-color);
  border-bottom-color: var(--propdetails-primary-color);
  background: transparent;
}

.propdetails-features-tab-content {
  padding: 24px;
}

/* Modern professional features list */
.propdetails-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 0;
}

.propdetails-features-list li {
  min-height: auto;
  padding: 14px 0 14px 24px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eef0f3;
  border-radius: 0;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  line-height: 1.45;
  transition: color 0.16s ease;
}

.propdetails-features-list li:before {
  content: '';
  position: absolute;
  left: 6px;
  top: 22px;
  transform: translateY(-50%);
  background: #98a2b3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.propdetails-features-list li:hover {
  color: #111827;
}

@media (max-width: 768px) {
  .propdetails-features-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 16px;
  }

  .propdetails-features-tab {
    flex: 1 0 auto;
    padding: 8px 0 12px 0;
  }

  .propdetails-features-list {
    grid-template-columns: 1fr;
  }

  .propdetails-features-list li {
    padding: 12px 0 12px 20px;
  }

  .propdetails-features-list li:before {
    left: 4px;
    top: 20px;
  }
}

/* =================================================================
   FLOOR PLANS SECTION
   ================================================================= */

.propdetails-floorplan-section {
  margin-bottom: 50px;
}

.propdetails-floorplan-viewer {
  background: #fff;
  border-radius: var(--propdetails-border-radius-md);
  overflow: hidden;
  box-shadow: var(--propdetails-shadow-sm);
}

.propdetails-floorplan-tabs {
  display: flex;
  border-bottom: 1px solid var(--propdetails-border-color);
}

.propdetails-floorplan-tab {
  padding: 15px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--propdetails-transition-fast), background var(--propdetails-transition-fast);
  position: relative;
  color: var(--propdetails-text-color);
}

.propdetails-floorplan-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--propdetails-primary-color);
  transform: scaleX(0);
  transition: transform var(--propdetails-transition-fast);
}

.propdetails-floorplan-tab.propdetails-tab-active,
.propdetails-floorplan-tab:hover {
  color: var(--propdetails-primary-color);
}

.propdetails-floorplan-tab.propdetails-tab-active::after {
  transform: scaleX(1);
}

.propdetails-floorplan-display {
  padding: 25px;
  position: relative;
}

.propdetails-floorplan {
  display: none;
}

.propdetails-floorplan.propdetails-plan-active {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .propdetails-floorplan.propdetails-plan-active {
    flex-direction: row;
    gap: 30px;
  }
}

.propdetails-floorplan-image {
  position: relative;
  flex: 1;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .propdetails-floorplan-image {
    margin-bottom: 0;
  }
}

.propdetails-floorplan-image img {
  width: 100%;
  height: auto;
  border-radius: var(--propdetails-border-radius-sm);
  box-shadow: var(--propdetails-shadow-sm);
}

.propdetails-floorplan-hotspots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.propdetails-hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--propdetails-primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(165, 28, 54, 0.3);
  animation: propdetails-pulse 2s infinite;
}

.propdetails-hotspot::after {
  content: attr(data-room);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--propdetails-transition-fast), visibility var(--propdetails-transition-fast);
}

.propdetails-hotspot:hover::after {
  opacity: 1;
  visibility: visible;
}

@keyframes propdetails-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(165, 28, 54, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(165, 28, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(165, 28, 54, 0);
  }
}

.propdetails-floorplan-details {
  flex: 1;
}

.propdetails-floorplan-details h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--propdetails-secondary-color);
}

.propdetails-room-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.propdetails-room-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--propdetails-border-color);
}

.propdetails-room-list li:last-child {
  border-bottom: none;
}

.propdetails-room-name {
  font-weight: 500;
  color: var(--propdetails-secondary-color);
}

.propdetails-room-size {
  color: var(--propdetails-text-color);
}

/* =================================================================
   VIRTUAL TOUR SECTION
   ================================================================= */

.propdetails-virtual-tour-player {
  position: relative;
  border-radius: var(--propdetails-border-radius-md);
  overflow: hidden;
  box-shadow: var(--propdetails-shadow-md);
}

/* =================================================================
   LOCATION SECTION
   ================================================================= */

.propdetails-location-map {
  border-radius: var(--propdetails-border-radius-md);
  overflow: hidden;
  box-shadow: var(--propdetails-shadow-md);
}

.propdetails-map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.propdetails-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.propdetails-location-details {
  background: #fff;
  border-radius: var(--propdetails-border-radius-md);
  padding: 25px;
  box-shadow: var(--propdetails-shadow-sm);
}

.propdetails-location-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--propdetails-secondary-color);
}

.propdetails-location-info p {
  margin-bottom: 15px;
  color: var(--propdetails-text-color);
}

/* =================================================================
   NEARBY PLACES SECTION
   ================================================================= */

.propdetails-nearby-section {
  margin-top: 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--propdetails-border-color);
  padding: 24px;
}

.propdetails-nearby-caption {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 18px;
  padding-left: 16px;
}

.propdetails-nearby-caption span::before {
  content: '• ';
}

.propdetails-nearby-caption span:first-child::before {
  content: '';
}

.propdetails-nearby-tabs {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.propdetails-nearby-tablist {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  flex-wrap: wrap;
  border-bottom: 2px solid #f3f4f6;
  background: #fafbfc;
  border-radius: 16px 16px 0 0;
}

.propdetails-nearby-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.propdetails-nearby-tab:hover {
  background: rgba(165, 28, 54, 0.05);
  color: var(--propdetails-primary-color);
}

.propdetails-nearby-tab.is-active {
  background: #fff;
  color: var(--propdetails-primary-color);
  box-shadow: 0 2px 8px rgba(165, 28, 54, 0.12);
}

.propdetails-nearby-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--propdetails-primary-color);
  border-radius: 3px 3px 0 0;
}

.propdetails-nearby-tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(165, 28, 54, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--propdetails-primary-color);
  font-size: 0.9rem;
}

.propdetails-nearby-tab.is-active .propdetails-nearby-tab-icon {
  background: var(--propdetails-primary-color);
  color: #fff;
}

.propdetails-nearby-tab small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.propdetails-nearby-panels {
  padding: 20px;
}

.propdetails-nearby-panel {
  display: none;
}

.propdetails-nearby-panel.is-active {
  display: block;
}

.propdetails-nearby-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.propdetails-nearby-panel-eyebrow {
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-weight: 600;
}

.propdetails-nearby-panel h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111827;
  font-weight: 700;
}

.propdetails-nearby-table-wrapper {
  max-height: 312px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.propdetails-nearby-table-wrapper::-webkit-scrollbar {
  width: 6px;
}

.propdetails-nearby-table-wrapper::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 3px;
}

.propdetails-nearby-table-wrapper::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.propdetails-nearby-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.propdetails-nearby-table {
  list-style: none;
  margin: 0;
  padding: 0;
}

.propdetails-nearby-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 2px solid #e5e7eb;
  background: #fff;
  transition: background 0.15s ease;
}

.propdetails-nearby-place-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s ease;
}

.propdetails-nearby-place-link:hover {
  color: inherit;
  text-decoration: none;
}

.propdetails-nearby-table-row:hover {
  background: #fafbfc;
}

.propdetails-nearby-table-row:last-child {
  border-bottom: none;
}

.propdetails-nearby-place-left {
  flex: 1;
  min-width: 0;
}

.propdetails-nearby-place-name {
  display: block;
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.propdetails-nearby-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 4px;
}

.propdetails-nearby-rating i {
  color: #fbbf24;
  font-size: 0.75rem;
}

.propdetails-nearby-address {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.propdetails-nearby-status {
  display: inline-block;
  padding: 2px 6px;
  background: #f0fdf4;
  color: #166534;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.propdetails-nearby-distance-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 70px;
  flex-shrink: 0;
}

.propdetails-nearby-distance {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--propdetails-primary-color);
  white-space: nowrap;
}

.propdetails-nearby-panel-empty {
  padding: 28px;
  border: 1px dashed var(--propdetails-border-color);
  border-radius: 12px;
  text-align: center;
  color: #6b7280;
  background: #fafafa;
}

.propdetails-nearby-empty {
  margin-top: 16px;
  border: 1px dashed var(--propdetails-border-color);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  color: #6b7280;
  background: #fafafa;
}

@media (max-width: 768px) {
  .propdetails-nearby-tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 12px;
    gap: 6px;
  }
  .propdetails-nearby-tab {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .propdetails-nearby-tab-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  .propdetails-nearby-panels {
    padding: 16px;
  }
  .propdetails-nearby-table-wrapper {
    max-height: 280px;
  }
  .propdetails-nearby-table-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
  .propdetails-nearby-place-name {
    white-space: normal;
  }
  .propdetails-nearby-address {
    white-space: normal;
  }
  .propdetails-nearby-distance-wrap {
    align-items: flex-start;
    min-width: auto;
  }
}

/* =================================================================
   NEIGHBORHOOD SECTION
   ================================================================= */

.propdetails-neighborhood-stats {
  margin-bottom: 30px;
}

.propdetails-stat-card {
  background: #fff;
  border-radius: var(--propdetails-border-radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--propdetails-shadow-sm);
  height: 100%;
  transition: transform var(--propdetails-transition-fast), box-shadow var(--propdetails-transition-fast);
}

.propdetails-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--propdetails-shadow-md);
}

.propdetails-stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(165, 28, 54, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--propdetails-primary-color);
  flex-shrink: 0;
}

.propdetails-stat-details {
  flex: 1;
}

.propdetails-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--propdetails-secondary-color);
  line-height: 1;
}

.propdetails-stat-value span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--propdetails-text-color);
}

.propdetails-stat-label {
  font-size: 0.9rem;
  color: var(--propdetails-text-color);
}

/* =================================================================
   MORTGAGE CALCULATOR SECTION
   ================================================================= */

.propdetails-mortgage-calculator {
  background: #fff;
  border-radius: var(--propdetails-border-radius-md);
  padding: 25px;
  box-shadow: var(--propdetails-shadow-sm);
}

.propdetails-calculator-form .form-label {
  font-weight: 500;
  color: var(--propdetails-secondary-color);
}

.propdetails-range-slider-container {
  margin-bottom: 10px;
}

.propdetails-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--propdetails-text-color);
}

.propdetails-calculate-btn {
  padding: 10px 25px;
  font-weight: 600;
}

.propdetails-calculator-results {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.propdetails-result-card {
  background: var(--propdetails-light-gray);
  border-radius: var(--propdetails-border-radius-md);
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
  flex: 1;
}

.propdetails-result-title {
  font-size: 1rem;
  color: var(--propdetails-text-color);
  margin-bottom: 10px;
}

.propdetails-result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--propdetails-primary-color);
  margin-bottom: 20px;
}

.propdetails-result-chart {
  height: 150px;
}

.propdetails-result-details {
  background: #fff;
  border-radius: var(--propdetails-border-radius-md);
  padding: 20px;
  margin-bottom: 15px;
}

.propdetails-result-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--propdetails-border-color);
}

.propdetails-result-item:last-child {
  border-bottom: none;
}

.propdetails-item-label {
  font-weight: 500;
  color: var(--propdetails-secondary-color);
}

.propdetails-item-value {
  color: var(--propdetails-primary-color);
  font-weight: 600;
}

.propdetails-calculator-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* =================================================================
   CTA SECTION - Small & Subtle
   ================================================================= */

.propdetails-cta-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.propdetails-cta-container {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  border-radius: 8px;
  padding: 20px 24px;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #d1d5db;
}

.propdetails-cta-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.propdetails-cta-text {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin-bottom: 0;
  line-height: 1.4;
}

.propdetails-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.propdetails-cta-buttons .btn {
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.propdetails-cta-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* =================================================================
   SIDEBAR STYLES
   ================================================================= */

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

.propdetails-sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  border: 1px solid var(--propdetails-border-color);
}

.propdetails-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--propdetails-secondary-color);
  border-bottom: 1px solid var(--propdetails-border-color);
  padding-bottom: 12px;
  letter-spacing: -0.01em;
}

/* Agent Card */
.propdetails-agent-card {
  text-align: center;
}

.propdetails-agent-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 500;
}

.propdetails-agent-name {
  font-size: 1.3rem;
  color: var(--propdetails-primary-color);
  margin-bottom: 16px;
  font-weight: 700;
}

.propdetails-agent-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 20px;
}

.propdetails-agent-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.propdetails-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--propdetails-light-gray);
  border-radius: 8px;
  font-size: 0.9rem;
}

.propdetails-contact-item i {
  color: var(--propdetails-primary-color);
  font-size: 1rem;
}

.propdetails-btn-agent {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Property Details Card */
.propdetails-property-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.propdetails-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: var(--propdetails-light-gray);
  border-radius: 8px;
  font-size: 0.9rem;
}

.propdetails-detail-label {
  color: #6b7280;
  font-weight: 400;
}

.propdetails-detail-value {
  color: var(--propdetails-secondary-color);
  font-weight: 600;
}

.propdetails-detail-text-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.propdetails-detail-text-list .propdetails-detail-value {
  display: block;
  line-height: 1.35;
}

.propdetails-detail-item-column {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.epc-rating-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.propdetails-epc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Inquiry Form Card */
.propdetails-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.propdetails-inquiry-form .form-control {
  border-radius: 8px;
  border: 1px solid var(--propdetails-border-color);
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: all var(--propdetails-transition-fast);
}

.propdetails-inquiry-form .form-control:focus {
  border-color: var(--propdetails-primary-color);
  box-shadow: 0 0 0 3px rgba(165, 28, 54, 0.1);
  outline: none;
}

.propdetails-inquiry-form textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.propdetails-btn-inquiry {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  border-radius: 10px;
  background: var(--propdetails-primary-color);
  border: none;
  color: white;
  font-weight: 600;
  transition: all var(--propdetails-transition-fast);
}

.propdetails-btn-inquiry:hover {
  background: var(--propdetails-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(165, 28, 54, 0.3);
}

/* Actions Card */
.propdetails-action-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.propdetails-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  min-height: 90px;
  height: 90px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--propdetails-secondary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.propdetails-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--propdetails-primary-color) 0%, var(--propdetails-primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.propdetails-action-btn:hover::before {
  opacity: 1;
}

.propdetails-action-btn:hover {
  border-color: var(--propdetails-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(165, 28, 54, 0.25);
}

.propdetails-action-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(165, 28, 54, 0.2);
}

.propdetails-action-btn i,
.propdetails-action-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.propdetails-action-btn:hover i,
.propdetails-action-btn:hover span {
  color: #fff;
}

.propdetails-action-btn i {
  font-size: 1.25rem;
}

.propdetails-share-wrapper {
  position: relative;
  width: 100%;
}


.propdetails-share-wrapper .propdetails-action-btn,
#printPropertyBtn.propdetails-action-btn {
  width: 100%;
  min-height: 90px;
  padding: 16px 12px;
}

.propdetails-share-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 10px;
  width: 240px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.propdetails-share-popup::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.propdetails-share-popup.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.propdetails-share-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--propdetails-secondary-color);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.propdetails-share-option:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--propdetails-primary-color);
  transform: translateX(4px);
}

.propdetails-share-option:active {
  transform: translateX(2px) scale(0.98);
}

.propdetails-share-option i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.propdetails-share-feedback {
  font-size: 0.75rem;
  font-weight: 600;
  color: #047857;
  padding: 8px 12px;
  margin-top: 8px;
  text-align: center;
  border-radius: 8px;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.propdetails-share-feedback.is-visible {
  opacity: 1;
  max-height: 50px;
}

.propdetails-share-feedback.is-error {
  color: #b42318;
  background: #fee2e2;
  border-color: #fca5a5;
}

.propdetails-share-feedback::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.875rem;
}

.propdetails-share-feedback:not(.is-error)::before {
  content: '\f00c';
}

.propdetails-share-feedback.is-error::before {
  content: '\f06a';
}

@media (max-width: 576px) {
  .propdetails-share-popup {
    width: min(90vw, 220px);
  }
}

/* Documents Card */
.propdetails-documents-card {
  /* Inherits from propdetails-sidebar-card */
}

.propdetails-documents-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.propdetails-document-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.propdetails-document-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--propdetails-primary-color) 0%, #a51c36 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.propdetails-document-item:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--propdetails-primary-color);
}

.propdetails-document-item:hover::before {
  opacity: 1;
}

.propdetails-document-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--propdetails-primary-color) 0%, #a51c36 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(165, 28, 54, 0.3);
  position: relative;
  z-index: 1;
}

.propdetails-document-details {
  flex: 1;
}

.propdetails-document-name {
  display: block;
  font-weight: 600;
  color: var(--propdetails-secondary-color);
  margin-bottom: 2px;
  font-size: 0.95rem;
  line-height: 1.3;
}

.propdetails-document-size {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.propdetails-document-action {
  color: var(--propdetails-primary-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.propdetails-document-item:hover .propdetails-document-action {
  color: #a51c36;
  transform: scale(1.1);
}

/* Similar Properties Card */
.propdetails-similar-properties-card {
  /* Inherits from propdetails-sidebar-card */
}

.propdetails-similar-properties {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.propdetails-similar-property {
  border-radius: var(--propdetails-border-radius-md);
  overflow: hidden;
  box-shadow: var(--propdetails-shadow-sm);
  transition: transform var(--propdetails-transition-fast), box-shadow var(--propdetails-transition-fast);
}

.propdetails-similar-property:hover {
  transform: translateY(-3px);
  box-shadow: var(--propdetails-shadow-md);
}

.propdetails-similar-property-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.propdetails-similar-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--propdetails-transition-medium);
}

.propdetails-similar-property:hover .propdetails-similar-property-image img {
  transform: scale(1.1);
}

.propdetails-similar-property-price {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--propdetails-primary-color);
  color: #fff;
  padding: 8px 15px;
  border-radius: var(--propdetails-border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.propdetails-similar-property-info {
  padding: 15px;
  background: #fff;
}

.propdetails-similar-property-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--propdetails-secondary-color);
}

.propdetails-similar-property-info p {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.propdetails-similar-property-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #666;
}

.propdetails-similar-property-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.propdetails-similar-property-meta i {
  color: var(--propdetails-primary-color);
}

.propdetails-view-more-link {
  text-align: center;
  margin-top: 10px;
}

.propdetails-view-more-link a {
  color: var(--propdetails-primary-color);
  font-weight: 500;
  transition: color var(--propdetails-transition-fast);
}

.propdetails-view-more-link a:hover {
  color: var(--propdetails-primary-dark);
}

/* Timeline Card */
.propdetails-timeline-card {
  /* Inherits from propdetails-sidebar-card */
}

.propdetails-property-timeline {
  position: relative;
  padding-left: 30px;
}

.propdetails-property-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--propdetails-border-color);
}

.propdetails-timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.propdetails-timeline-item:last-child {
  margin-bottom: 0;
}

.propdetails-timeline-point {
  position: absolute;
  left: -26px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--propdetails-primary-color);
  z-index: 1;
}

.propdetails-timeline-content {
  background: var(--propdetails-light-gray);
  padding: 15px;
  border-radius: var(--propdetails-border-radius-sm);
}

.propdetails-timeline-date {
  font-weight: 600;
  color: var(--propdetails-primary-color);
  margin-bottom: 5px;
  font-size: 1rem;
}

.propdetails-timeline-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* =================================================================
   BACK TO TOP BUTTON
   ================================================================= */

.propdetails-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.propdetails-back-to-top-btn {
  width: 50px;
  height: 50px;
  background: var(--propdetails-primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--propdetails-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--propdetails-transition-medium), 
              visibility var(--propdetails-transition-medium), 
              transform var(--propdetails-transition-medium), 
              background var(--propdetails-transition-fast);
}

.propdetails-back-to-top-btn.propdetails-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.propdetails-back-to-top-btn:hover {
  background: var(--propdetails-primary-dark);
  transform: translateY(-5px);
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

@media (max-width: 991.98px) {
  .propdetails-property-info-card {
    margin-top: 0;
    padding: 16px 0;
  }

  .propdetails-main-property-image {
    height: 350px;
  }

  .propdetails-property-price-overlay {
    font-size: 1.125rem;
    padding: 8px 20px;
    bottom: 16px;
  }

  .propdetails-property-title {
    font-size: 1.5rem;
  }

  .propdetails-property-price {
    font-size: 1.875rem;
  }

  .propdetails-property-sidebar {
    position: static;
    margin-top: 24px;
  }

  .container-fluid.px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .propdetails-property-listing-container {
    padding: 0;
  }

  .propdetails-overview-highlight-card {
    padding: 14px 16px;
  }

  .propdetails-section-title {
    font-size: 1.375rem;
  }

  .propdetails-property-section {
    margin-bottom: 45px;
  }
}

@media (max-width: 767.98px) {
  .propdetails-main-property-image {
    height: 280px;
    border-radius: 10px;
  }

  .propdetails-property-price-overlay {
    font-size: 1rem;
    padding: 6px 16px;
    bottom: 12px;
  }

  .propdetails-property-info-card {
    padding: 12px 0;
  }

  .propdetails-property-title {
    font-size: 1.25rem;
  }

  .propdetails-property-price {
    font-size: 1.625rem;
  }

  .propdetails-property-features {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .propdetails-action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .propdetails-section-title {
    font-size: 1.25rem;
  }

  .propdetails-nav-links a {
    padding: 10px 12px;
    font-size: 0.8125rem;
  }

  .propdetails-overview-highlight-card {
    padding: 12px 14px;
  }

  .propdetails-highlight-icon {
    font-size: 1.25rem;
    width: 34px;
    height: 34px;
  }

  .propdetails-highlight-value {
    font-size: 1.375rem;
  }

  .propdetails-highlight-label {
    font-size: 0.6875rem;
  }

  .propdetails-property-description {
    padding: 14px 16px;
  }

  .propdetails-lead-text {
    font-size: 0.875rem;
  }

  .propdetails-property-description p {
    font-size: 0.8125rem;
  }

  .propdetails-property-section {
    margin-bottom: 35px;
  }
}

@media (max-width: 576px) {
  .container-fluid.px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .propdetails-property-listing-container {
    padding: 0;
  }

  .propdetails-nav-links a {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .propdetails-sidebar-card {
    padding: 16px;
  }

  .propdetails-section-title {
    font-size: 1.125rem;
  }

  .propdetails-action-buttons {
    grid-template-columns: 1fr;
  }

  .propdetails-main-property-image {
    height: 240px;
    border-radius: 8px;
  }

  .propdetails-property-price-overlay {
    font-size: 0.9375rem;
    padding: 6px 14px;
    bottom: 10px;
  }

  .propdetails-overview-highlight-card {
    padding: 12px;
    gap: 10px;
  }

  .propdetails-highlight-icon {
    font-size: 1.125rem;
    width: 32px;
    height: 32px;
  }

  .propdetails-highlight-value {
    font-size: 1.25rem;
  }

  .propdetails-highlight-label {
    font-size: 0.625rem;
  }

  .propdetails-property-description {
    padding: 14px;
  }

  .propdetails-lead-text {
    font-size: 0.8125rem;
    margin-bottom: 0;
  }

  .propdetails-property-description p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .propdetails-property-section {
    margin-bottom: 30px;
  }

  .propdetails-section-header {
    margin-bottom: 12px;
  }
  
  .propdetails-cta-container {
    padding: 16px 20px;
  }
  
  .propdetails-cta-heading {
    font-size: 0.9375rem;
  }
  
  .propdetails-cta-text {
    font-size: 0.75rem;
  }
}

/* =================================================================
   CUSTOM FULL-WIDTH LAYOUT
   ================================================================= */

.propdetails-container-fluid {
  max-width: 100% !important;
  margin: 0 auto;
  padding: 0 !important;
}

@media (min-width: 1400px) {
  .propdetails-property-section {
    padding: 0 !important;
  }

  .propdetails-property-sidebar {
    padding-left: 1.5rem;
  }
}

/* =================================================================
   GLOBAL SPACING OVERRIDES - Clear & Standard UI
   ================================================================= */

/* Proper spacing between sections for clarity */
section[class*="propdetails"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Compact row spacing */
.row.g-4 {
  --bs-gutter-y: 0.75rem !important;
}

/* Reduce Bootstrap margin utilities */
.mt-4 {
  margin-top: 1rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 1.25rem !important;
}

/* Compact padding for main containers */
.propdetails-property-listing-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* =================================================================
   CLEAN MAIN CONTENT LAYOUT (LEFT COLUMN)
   ================================================================= */

.propdetails-main-panel {
  font-family: 'Inter', 'Manrope', 'Segoe UI', sans-serif;
  color: #111827;
}

.propdetails-property-quick-nav {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 16px;
  margin-top: 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.propdetails-nav-links {
  gap: 22px;
}

.propdetails-nav-links a {
  padding: 14px 0 !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  color: #667085;
}

.propdetails-nav-links a::after {
  display: block;
  height: 2px;
  background: #111827;
  opacity: 0;
}

.propdetails-nav-links a.propdetails-nav-link-active,
.propdetails-nav-links a:hover {
  color: #111827;
}

.propdetails-nav-links a.propdetails-nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.propdetails-main-panel .propdetails-property-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  border-bottom: 0 !important;
  padding-bottom: 18px !important;
}

.propdetails-main-panel .propdetails-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px !important;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef0f3;
}

.propdetails-main-panel .propdetails-section-title {
  font-size: 0.98rem !important;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0;
}

.propdetails-main-panel .propdetails-section-line {
  display: none;
}

.propdetails-main-panel .propdetails-section-action {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
}

.propdetails-main-panel .propdetails-section-action:hover {
  color: #111827;
}

.propdetails-main-panel .propdetails-property-description {
  background: transparent !important;
  border: none;
  padding: 0 !important;
  color: #4b5563 !important;
}

.propdetails-main-panel .propdetails-property-description p {
  font-size: 0.88rem !important;
  color: #4b5563;
}

.propdetails-main-panel .propdetails-lead-text {
  font-size: 0.9rem !important;
  color: #4b5563 !important;
}

.propdetails-main-panel .propdetails-overview-highlights {
  margin-bottom: 10px !important;
}

.propdetails-main-panel .propdetails-overview-highlight-card {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 12px 14px !important;
  box-shadow: none;
  gap: 10px !important;
}

.propdetails-main-panel .propdetails-highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #111827;
  font-size: 1rem;
}

.propdetails-main-panel .propdetails-highlight-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.propdetails-main-panel .propdetails-highlight-label {
  font-size: 0.68rem;
  color: #9ca3af;
}

.propdetails-main-panel .propdetails-btn-compact {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #111827;
  color: #ffffff;
  border: none;
}

.propdetails-main-panel .propdetails-btn-compact:hover {
  background: #1f2937;
}

.propdetails-main-panel .propdetails-gallery-tabs {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 12px;
  gap: 20px;
}

.propdetails-main-panel .propdetails-gallery-tab {
  border-radius: 0;
  padding: 8px 0 12px;
  font-size: 0.84rem;
  border-bottom: 2px solid transparent;
  color: #667085;
  background: transparent;
}

.propdetails-main-panel .propdetails-gallery-tab-active {
  color: #111827;
  border-bottom-color: #111827;
  background: transparent;
}

.propdetails-main-panel .propdetails-modern-gallery-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 120px;
  height: auto;
  gap: 12px;
}

.propdetails-main-panel .propdetails-gallery-primary {
  height: 100%;
  border-radius: 10px;
}

.propdetails-main-panel .propdetails-gallery-secondary {
  display: contents;
}

.propdetails-main-panel .propdetails-gallery-secondary > .propdetails-gallery-link:nth-of-type(n+5) {
  display: none;
}

.propdetails-main-panel .propdetails-gallery-link,
.propdetails-main-panel .propdetails-gallery-img {
  height: 100%;
  border-radius: 12px;
}

.propdetails-main-panel .propdetails-gallery-link {
  aspect-ratio: 4 / 3;
}

.propdetails-main-panel .propdetails-gallery-medium {
  grid-row: auto !important;
}

.propdetails-main-panel .propdetails-gallery-link {
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  border: 1px solid #eef0f3;
}

.propdetails-main-panel .propdetails-gallery-img {
  object-fit: cover;
}

.propdetails-main-panel .propdetails-modern-gallery-grid.single-image {
  grid-template-columns: 1fr;
  grid-auto-rows: 240px;
  height: auto;
  box-shadow: none;
}

.propdetails-main-panel .propdetails-gallery-primary,
.propdetails-main-panel .propdetails-gallery-secondary {
  display: contents;
}

.propdetails-main-panel .propdetails-gallery-hover-overlay,
.propdetails-main-panel .propdetails-gallery-more-overlay {
  display: none;
}

.propdetails-main-panel .propdetails-location-map,
.propdetails-main-panel .propdetails-map-container {
  border-radius: 10px;
  box-shadow: none;
}

.propdetails-main-panel .propdetails-map-container {
  border: 1px solid #e5e7eb;
  border-radius: 10px !important;
  box-shadow: none !important;
  height: 230px !important;
  padding-bottom: 0 !important;
}

.propdetails-main-panel .propdetails-features-tabs {
  border-bottom: 1px solid #eef0f3;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.propdetails-main-panel .propdetails-features-tab {
  font-size: 0.84rem;
  font-weight: 600;
  color: #667085;
}

.propdetails-main-panel .propdetails-features-tab-active {
  color: #111827;
  border-bottom-color: #111827;
}

.propdetails-main-panel .propdetails-features-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.propdetails-main-panel .propdetails-features-list li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid #eef0f3;
  font-size: 0.88rem;
  color: #4b5563;
}

.propdetails-main-panel .propdetails-features-list li:before {
  width: 5px;
  height: 5px;
  background: #9ca3af;
  left: 4px;
  top: 18px;
}

.propdetails-main-panel .propdetails-nearby-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: none;
}

.propdetails-main-panel .propdetails-nearby-tablist {
  background: transparent;
  border-bottom: 1px solid #eef0f3;
  padding: 8px 0 12px;
}

.propdetails-main-panel .propdetails-nearby-tab {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.propdetails-main-panel .propdetails-nearby-tab.is-active {
  box-shadow: none;
  background: #f3f4f6;
}

.propdetails-main-panel .propdetails-nearby-tab.is-active::after {
  display: none;
}

.propdetails-main-panel .propdetails-nearby-table-wrapper {
  border: 0;
  border-radius: 0;
}

.propdetails-main-panel .propdetails-nearby-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 0;
}

.propdetails-main-panel .propdetails-nearby-table-row {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  min-width: 0;
  overflow: hidden;
}

.propdetails-main-panel .propdetails-nearby-place-link {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.propdetails-main-panel .propdetails-nearby-distance-wrap {
  align-items: flex-start;
}

.propdetails-main-panel .propdetails-nearby-place-left {
  width: 100%;
  min-width: 0;
}

.propdetails-main-panel .propdetails-nearby-table-row:hover {
  background: #f9fafb;
}

.propdetails-main-panel .propdetails-nearby-place-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.propdetails-main-panel .propdetails-nearby-distance {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.propdetails-main-panel .propdetails-nearby-address {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.propdetails-main-panel .propdetails-nearby-status,
.propdetails-main-panel .propdetails-nearby-rating {
  display: none;
}

@media (max-width: 991.98px) {
  .propdetails-property-quick-nav {
    padding: 0 10px;
  }

  .propdetails-nav-links {
    gap: 16px;
  }

  .propdetails-main-panel .propdetails-modern-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .propdetails-main-panel .propdetails-nearby-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .propdetails-main-panel .propdetails-property-section {
    padding: 16px !important;
  }

  .propdetails-main-panel .propdetails-modern-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 110px;
  }
}

@media (max-width: 576px) {
  .propdetails-main-panel .propdetails-modern-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .propdetails-main-panel .propdetails-nearby-table {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   COMPLETE MOBILE RESPONSIVE OVERRIDES - 100% Mobile Everything
   ================================================================= */

/* Tablet and below */
@media (max-width: 991.98px) {
  /* Hero section mobile */
  .propdetails-property-hero-traditional .row {
    flex-direction: column;
  }
  
  .propdetails-property-hero-traditional .col-lg-8,
  .propdetails-property-hero-traditional .col-lg-4 {
    width: 100%;
    max-width: 100%;
  }
  
  .propdetails-main-property-image {
    height: 320px !important;
    margin-bottom: 16px;
  }
  
  .propdetails-property-info-card {
    padding: 20px 16px !important;
    margin-bottom: 20px;
  }
  
  /* Content columns stack on mobile */
  .row .col-lg-9,
  .row .col-lg-3 {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Quick nav scrollable */
  .propdetails-property-quick-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .propdetails-nav-links {
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  
  /* Overview cards responsive grid */
  .propdetails-overview-highlights .row {
    row-gap: 12px !important;
  }
  
  .propdetails-overview-highlights .col-6,
  .propdetails-overview-highlights .col-md-3 {
    width: 50% !important;
    padding: 0 6px !important;
  }
  
  /* Gallery mobile responsive */
  .propdetails-modern-gallery-grid {
    height: auto !important;
    gap: 8px !important;
  }
  
  /* Feature lists mobile */
  .propdetails-features-list {
    grid-template-columns: 1fr !important;
  }
  
  /* Floor plans mobile */
  .propdetails-floor-plans-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Map responsive */
  .propdetails-map-container {
    height: 300px !important;
  }
  
  /* Sidebar stacks below */
  .propdetails-property-sidebar {
    position: static !important;
    top: auto !important;
    margin-top: 30px !important;
  }
  
  /* Buttons stack vertically */
  .propdetails-cta-buttons {
    flex-direction: column !important;
  }
  
  .propdetails-property-actions .btn {
    width: 100% !important;
  }
  
  /* Tables scroll horizontally */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Images responsive */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Mobile phones */
@media (max-width: 767.98px) {
  /* Reduce hero height on small screens */
  .propdetails-main-property-image {
    height: 250px !important;
  }
  
  /* Compact property title */
  .propdetails-property-title {
    font-size: 1.125rem !important;
    line-height: 1.4 !important;
  }
  
  /* Price overlay smaller */
  .propdetails-property-price-overlay {
    font-size: 0.9375rem !important;
    padding: 5px 12px !important;
    bottom: 8px !important;
    right: 8px !important;
  }
  
  /* Features single column */
  .propdetails-property-features {
    grid-template-columns: 1fr !important;
  }
  
  /* Section spacing reduced */
  .propdetails-property-section {
    margin-bottom: 30px !important;
  }
  
  /* Section headers smaller */
  .propdetails-section-title {
    font-size: 1.125rem !important;
  }
  
  /* Nav links compact */
  .propdetails-nav-links a {
    font-size: 0.8125rem !important;
    padding: 8px 12px !important;
  }
  
  /* Overview cards full width on very small screens */
  .propdetails-overview-highlights .col-6 {
    width: 50% !important;
  }
  
  /* Description padding reduced */
  .propdetails-property-description {
    padding: 12px 14px !important;
  }
  
  .propdetails-property-description p {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
  }
  
  /* Agent card mobile */
  .propdetails-agent-card {
    text-align: center;
  }
  
  .propdetails-agent-logo img {
    max-width: 140px !important;
    max-height: 75px !important;
  }
  
  /* Mortgage calculator mobile */
  .propdetails-calculator-inputs {
    grid-template-columns: 1fr !important;
  }
  
  /* CTA section mobile */
  .propdetails-cta-container {
    padding: 16px 18px !important;
    text-align: center;
  }
  
  .propdetails-cta-container .row {
    flex-direction: column;
  }
  
  .propdetails-cta-container .col-lg-8,
  .propdetails-cta-container .col-lg-4 {
    width: 100% !important;
  }
  
  /* Gallery grid mobile layout */
  .propdetails-modern-gallery-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: 250px auto !important;
  }
  
  .propdetails-gallery-secondary {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 120px) !important;
  }
}

/* Extra small phones */
@media (max-width: 576px) {
  /* Even more compact */
  .propdetails-main-property-image {
    height: 220px !important;
    border-radius: 8px !important;
  }
  
  .propdetails-property-title {
    font-size: 1rem !important;
  }
  
  .propdetails-property-price-overlay {
    font-size: 0.875rem !important;
    padding: 4px 10px !important;
  }
  
  .propdetails-section-title {
    font-size: 1rem !important;
  }
  
  .propdetails-nav-links a {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }
  
  /* Overview cards stack vertically on tiny screens */
  .propdetails-overview-highlights .col-6 {
    width: 100% !important;
  }
  
  .propdetails-overview-highlight-card {
    padding: 10px 12px !important;
  }
  
  /* Buttons smaller */
  .propdetails-property-actions .btn {
    font-size: 0.875rem !important;
    padding: 10px 16px !important;
  }
  
  /* Feature items compact */
  .propdetails-feature-item {
    padding: 6px 8px !important;
    font-size: 0.75rem !important;
  }
  
  /* Sidebar cards compact */
  .propdetails-sidebar-card {
    padding: 14px !important;
    margin-bottom: 16px !important;
  }
  
  /* Gallery very compact */
  .propdetails-modern-gallery-grid {
    grid-template-rows: 200px auto !important;
  }
  
  .propdetails-gallery-secondary {
    grid-template-rows: repeat(2, 100px) !important;
  }
  
  /* Text sizes reduced */
  body {
    font-size: 12px !important;
  }
  
  .propdetails-property-description p,
  .propdetails-lead-text,
  .propdetails-cta-text {
    font-size: 0.75rem !important;
  }
  
  /* Map smaller on mobile */
  .propdetails-map-container {
    height: 250px !important;
  }
  
  /* Floor plans smaller */
  .propdetails-floor-plan-item img {
    max-height: 250px !important;
  }
}

/* Landscape orientation phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  .propdetails-main-property-image {
    height: 280px !important;
  }
  
  .propdetails-gallery-secondary {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: 1fr !important;
  }
}

/* Touch-specific optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .propdetails-nav-links a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }
  
  .propdetails-property-actions .btn {
    min-height: 48px !important;
  }
  
  .propdetails-hero-control {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.25rem !important;
  }
  
  /* Remove hover effects on touch devices */
  .propdetails-gallery-link:hover .propdetails-gallery-hover-overlay {
    opacity: 0 !important;
  }
}

/* iOS safe area support */
@supports (padding-top: env(safe-area-inset-top)) {
  .main-content {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* =================================================================
   MODERN AGENT VIEWING CARD
   ================================================================= */
.propdetails-agent-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 28px 18px 22px 18px;
  margin-bottom: 10px;
}
.propdetails-agent-logo-modern {
  --agent-logo-bg: #f8f9fa;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 14px 18px;
  background: var(--agent-logo-bg);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), 0 4px 12px rgba(0,0,0,0.06);
}
.propdetails-agent-logo-modern.agent-logo-bg-applied {
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.9), 0 8px 18px rgba(0,0,0,0.1);
}
.propdetails-agent-logo-modern img {
  max-width: 200px;
  max-height: 110px;
  min-width: 80px;
  min-height: 50px;
  border-radius: 12px;
  box-shadow: none;
  background: transparent;
  display: block !important;
  margin: 0 auto;
  visibility: visible !important;
}

.propdetails-agent-info-modern {
  text-align: center;
  margin-bottom: 18px;
}
.propdetails-agent-label-modern {
  font-size: 0.95rem;
  color: #a51c36;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  display: block;
}
.propdetails-agent-name-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.propdetails-agent-contact-modern {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.propdetails-agent-contact-modern i {
  color: #a51c36;
  font-size: 0.95rem;
}
.propdetails-btn-modern.propdetails-btn-primary {
  margin-top: 10px;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--propdetails-primary-color) 0%, var(--propdetails-primary-dark) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(165, 28, 54, 0.12);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.propdetails-btn-modern.propdetails-btn-primary:hover {
  background: var(--propdetails-primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(165, 28, 54, 0.18);
  text-decoration: none;
}

/* =================================================================
   SIMPLE OVERVIEW COUNTS - BEDS & BATHS
   ================================================================= */
.propdetails-overview-simple {
  padding: 12px 0 18px 0;
}
.propdetails-overview-counts {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
}
.propdetails-overview-count {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
}
.propdetails-overview-count i {
  color: var(--propdetails-primary-color);
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .propdetails-property-hero-traditional {
    border-radius: 10px;
  }

  .propdetails-main-property-image {
    min-height: 310px;
  }

  .propdetails-hero-summary {
    gap: 18px;
    padding: 22px;
  }

  .propdetails-summary-stats,
  .propdetails-summary-actions {
    grid-template-columns: 1fr;
  }

  .propdetails-hero-summary .propdetails-title-compact {
    font-size: 1.65rem;
  }

  .propdetails-summary-agent {
    align-items: flex-start;
  }

  .propdetails-overview-counts {
    gap: 12px;
    font-size: 0.95rem;
  }
  .propdetails-overview-count {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

/* =================================================================
   COMPACT PROPERTY INFO SECTION - SIMPLE & PROFESSIONAL
   ================================================================= */

.propdetails-info-compact {
  background: #ffffff;
  padding: 20px 0;
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.propdetails-info-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 0 32px;
}

/* Header Section */
.propdetails-header-compact {
  flex: 1;
  min-width: 0;
}

.propdetails-title-compact {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 6px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.propdetails-location-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.9375rem;
  margin: 0;
  font-weight: 400;
}

.propdetails-location-compact i {
  color: var(--propdetails-primary-color);
  font-size: 0.875rem;
}

/* Features Section */
.propdetails-features-compact {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0 24px;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}

.propdetails-feature-item-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.propdetails-feature-item-compact i {
  color: #6b7280;
  font-size: 1rem;
}

/* Actions Section */
.propdetails-actions-compact {
  display: flex;
  gap: 10px;
}

.propdetails-wishlist-fab-container {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.propdetails-wishlist-fab {
  width: auto;
  min-width: 48px;
  height: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  animation: gentlePulse 3s ease-in-out infinite;
}

.propdetails-wishlist-fab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.propdetails-wishlist-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 20px rgba(165, 28, 54, 0.2);
  animation: none;
}

.propdetails-wishlist-fab:hover::before {
  opacity: 1;
}

.propdetails-wishlist-fab:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.propdetails-wishlist-fab i {
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  color: inherit;
}

.propdetails-wishlist-fab i.active {
  color: #dc3545 !important;
  animation: heartBeat 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(220, 53, 69, 0.4));
  fill: #dc3545 !important;
}

.propdetails-wishlist-fab i.active::before {
  color: #dc3545 !important;
}

.propdetails-wishlist-fab i.active svg {
  fill: #dc3545 !important;
  color: #dc3545 !important;
}

.propdetails-wishlist-fab i.active:hover,
.propdetails-wishlist-fab i.active:focus,
.propdetails-wishlist-fab i.active:active {
  color: #dc3545 !important;
}

.propdetails-wishlist-fab:hover i {
  transform: scale(1.15) rotate(5deg);
}

.propdetails-wishlist-fab:hover i.active,
.propdetails-wishlist-fab:hover i.active:hover,
.propdetails-wishlist-fab:hover i.active:focus,
.propdetails-wishlist-fab:hover i.active:active {
  transform: scale(1.15) rotate(0deg);
  animation: heartBeatHover 0.8s ease-in-out infinite;
  color: #dc3545 !important;
}

.propdetails-wishlist-fab-tooltip {
  display: none !important;
}



@keyframes gentlePulse {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow:
      0 10px 36px rgba(0, 0, 0, 0.14),
      0 3px 10px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.05);
  }
  75% {
    transform: scale(1.08);
  }
}

@keyframes heartBeatHover {
  0%, 100% {
    transform: scale(1.15) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(2deg);
  }
  50% {
    transform: scale(1.18) rotate(-1deg);
  }
  75% {
    transform: scale(1.22) rotate(1deg);
  }
}

.propdetails-wishlist-fab.saved-animation {
  animation: savedCelebration 1s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes savedCelebration {
  0% {
    transform: scale(1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }
  25% {
    transform: scale(1.2);
    box-shadow:
      0 12px 40px rgba(165, 28, 54, 0.3),
      0 4px 16px rgba(165, 28, 54, 0.2);
  }
  50% {
    transform: scale(0.95);
    box-shadow:
      0 16px 48px rgba(165, 28, 54, 0.4),
      0 6px 20px rgba(165, 28, 54, 0.3);
  }
  75% {
    transform: scale(1.05);
    box-shadow:
      0 12px 40px rgba(165, 28, 54, 0.3),
      0 4px 16px rgba(165, 28, 54, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.12),
      0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

@keyframes fadeOutSlide {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(20px);
  }
}

.propdetails-wishlist-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.propdetails-btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.propdetails-btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.propdetails-btn-compact i {
  font-size: 0.875rem;
}

.propdetails-btn-primary-compact {
  background: var(--propdetails-primary-color);
  color: #ffffff;
}

.propdetails-btn-primary-compact:hover {
  background: var(--propdetails-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(165, 28, 54, 0.25);
}

.propdetails-btn-secondary-compact {
  background: #ffffff;
  color: var(--propdetails-primary-color);
  border: 1.5px solid var(--propdetails-primary-color);
}

.propdetails-btn-secondary-compact:hover {
  background: var(--propdetails-primary-color);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(165, 28, 54, 0.25);
}

.propdetails-btn-compact:active {
  transform: translateY(0);
}

.propdetails-summary-actions .propdetails-btn-compact {
  width: 100%;
  min-height: 36px;
  border-radius: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none !important;
  transform: none !important;
}

.propdetails-summary-actions .propdetails-btn-primary-compact {
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
}

.propdetails-summary-actions .propdetails-btn-secondary-compact {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.propdetails-summary-actions .propdetails-btn-primary-compact:hover {
  background: #0b1220;
  border-color: #0b1220;
  box-shadow: none;
}

.propdetails-summary-actions .propdetails-btn-secondary-compact:hover {
  background: #f8fafc;
  border-color: #cbd5f5;
  color: #0f172a;
}

/* Responsive Design */
@media (max-width: 1180px) {
  .propdetails-hero-layout {
    grid-template-columns: 1fr;
  }

  .propdetails-main-property-image {
    min-height: clamp(300px, 42vw, 400px);
  }

  .propdetails-hero-summary {
    border-left: 0;
    border-top: 1px solid #e6e9ee;
  }

  .propdetails-summary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .propdetails-info-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .propdetails-features-compact {
    padding: 16px 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    justify-content: flex-start;
  }
  
  .propdetails-actions-compact {
    width: 100%;
  }
  
  .propdetails-btn-compact {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .propdetails-info-compact {
    padding: 16px 0;
    margin-top: 12px;
  }
  
  .propdetails-info-row {
    padding: 0 20px;
    gap: 16px;
  }
  
  .propdetails-title-compact {
    font-size: 1.25rem;
  }
  
  .propdetails-location-compact {
    font-size: 0.875rem;
  }
  
  .propdetails-features-compact {
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .propdetails-feature-item-compact {
    font-size: 0.875rem;
  }
  
  .propdetails-actions-compact {
    flex-direction: column;
  }
  
  .propdetails-btn-compact {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .propdetails-title-compact {
    font-size: 1.125rem;
  }
  
  .propdetails-features-compact {
    gap: 12px;
  }
  
  .propdetails-btn-compact {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
  
  .propdetails-wishlist-fab-container {
    top: 15px;
    right: 15px;
  }
  
  .propdetails-wishlist-fab {
    min-width: 48px;
    height: 48px;
    padding: 0 12px;
    font-size: 0.8125rem;
  }
  
  .propdetails-wishlist-fab i {
    font-size: 16px;
  }
}

/* Google Maps Info Window Customization */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
    background: #ffffff !important;
    max-width: 280px !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0 !important;
    max-height: none !important;
}

.gm-style .gm-style-iw-t::after {
    background: #ffffff !important;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.1) !important;
}

/* Aggressively hide close button */
.gm-style .gm-style-iw button,
.gm-style .gm-style-iw-c button,
.gm-style button[aria-label="Close"],
.gm-style-iw + button,
.gm-style-iw-c > button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Remove all top padding and margins */
.gm-style .gm-style-iw,
.gm-style .gm-style-iw > div {
    padding: 0 !important;
    margin: 0 !important;
}

/* Creative Section Dividers */
.propdetails-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  padding: 1rem 0;
  position: relative;
}

.propdetails-section-divider .divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #007bff, transparent);
  position: relative;
}

.propdetails-section-divider .divider-decoration {
  margin: 0 1.5rem;
  font-size: 1.2rem;
  color: #007bff;
  background: white;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,123,255,0.2);
  border: 2px solid #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0,123,255,0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
  }
}

/* =================================================================
   PRINT STYLES - PROFESSIONAL GRAY THEME
   ================================================================= */

@media print {
  :root {
    --propdetails-primary-color: #6b7280;
    --propdetails-primary-dark: #4b5563;
    --propdetails-primary-light: #9ca3af;
  }

  body {
    color: #111827;
    background: #ffffff;
  }

  h1, h2, h3, h4, h5, h6,
  .propdetails-section-title,
  .property-timeline-title,
  .propdetails-detail-label,
  .propdetails-detail-value {
    color: #374151 !important;
  }

  .propdetails-action-btn,
  .propdetails-document-item,
  .propdetails-document-icon,
  .property-timeline-card,
  .propdetails-share-popup {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
  }

  .propdetails-action-btn::before,
  .propdetails-document-item::before {
    background: none !important;
  }

  .propdetails-document-icon,
  .property-timeline-dot {
    color: #6b7280 !important;
    border-color: #9ca3af !important;
    background: #ffffff !important;
  }

  .propdetails-section-divider .divider-line {
    background: linear-gradient(90deg, transparent, #d1d5db, transparent) !important;
  }

  .propdetails-section-divider .divider-decoration {
    color: #6b7280 !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
  }
}

.propdetails-property-price-overlay {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.propdetails-price-value {
  line-height: 1.1;
}

.propdetails-price-unit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  background: transparent;
  color: #5f8b6f;
  border: 1px solid #cfe3d6;
  background: #eef7f1;
  text-transform: uppercase;
}

.propdetails-property-price-overlay .propdetails-price-unit-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.propdetails-detail-price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
  max-width: 70%;
}

.propdetails-detail-price .propdetails-price-value {
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

@media (max-width: 768px) {
  .propdetails-detail-price {
    max-width: 65%;
  }
}

@media (max-width: 1180px) {
  .propdetails-property-hero-traditional .propdetails-main-property-image {
    height: auto !important;
    min-height: clamp(300px, 42vw, 400px) !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 600px) {
  .propdetails-property-hero-traditional .propdetails-main-property-image {
    min-height: 310px !important;
  }
}
