/* Property Detail Page Styles - Ported from React frontend */

.property-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.property-main {
  padding: 1.75rem 0 0;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.property-main-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 1.5rem;
}

.property-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 10px 10px 24px rgba(163,177,198,0.7), -10px -10px 24px rgba(255,255,255,0.9);
}

.main-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  height: 500px;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-image img:hover {
  transform: scale(1.02);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.nav-btn.prev { left: 12px; }
.nav-btn.next { right: 12px; }

.nav-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.05);
}

.image-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  color: #f9fafb;
  font-size: 13px;
}

.thumbnail-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 12px 8px;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #4f46e5;
}

.property-detail .property-info {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 10px 10px 24px rgba(163,177,198,0.4), -10px -10px 24px rgba(255,255,255,0.6);
  padding: 22px 22px 18px;
}

.property-detail .property-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.property-detail .property-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
  white-space: nowrap;
  font-size: 30px;
  font-weight: 700;
  color: #1f2937;
}

.property-detail .property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
}

.sidebar-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0 16px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 12px 0 16px;
}

.sidebar-map-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-favorite {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-favorite.active {
  background: linear-gradient(135deg,#4F46E5,#6366F1);
  color: #fff;
  border-color: #4F46E5;
  box-shadow: 0 8px 18px rgba(79,70,229,0.28);
}

.property-main-title {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem;
}

.property-description,
.property-features,
.property-amenities,
.property-detail .agent-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 10px 10px 24px rgba(163,177,198,0.4), -10px -10px 24px rgba(255,255,255,0.6);
}

.property-detail .agent-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.property-detail .agent-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0 0 6px;
}

.property-detail .agent-name {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.property-detail .agent-name a {
  text-decoration: none;
  color: #4f46e5;
  font-weight: 600;
  border-bottom: 2px solid rgba(79, 70, 229, 0.25);
  padding-bottom: 2px;
}

.property-detail .agent-name a:hover {
  color: #4338ca;
  border-bottom-color: rgba(79, 70, 229, 0.5);
}

.property-detail .agent-company {
  color: #475569;
  font-size: 14px;
}

.property-description h2,
.property-description h3,
.property-features h3,
.property-amenities h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #1f2937;
}

.property-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.property-features {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 10px 10px 24px rgba(163,177,198,0.4), -10px -10px 24px rgba(255,255,255,0.6);
}

.property-features h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1f2937;
}

.land-info { margin-top: 4px; }

.land-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.land-card {
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  padding: 16px 18px;
  box-shadow:
    8px 8px 20px rgba(163, 177, 198, 0.35),
    -8px -8px 20px rgba(255, 255, 255, 0.6);
}

.land-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.land-card-table { margin: 0; }

.land-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
}

.land-row dt { color: #6b7280; }

.land-row dd {
  margin: 0;
  text-align: right;
  color: #111827;
  font-weight: 500;
}

.covenant-block { margin-top: 4px; }

.covenant-text {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.content-box.property-location-info,
.content-box.map-block,
.content-box.recent-properties,
.content-box.similar-properties {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 28px 32px;
  margin-top: 24px;
  box-shadow: 10px 10px 24px rgba(163,177,198,0.4), -10px -10px 24px rgba(255,255,255,0.6);
}

.property-location-info h2,
.map-block h2,
.recent-properties h2,
.similar-properties h2 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
}

.location-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  flex: 1;
  min-width: 200px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}


.location-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(79, 70, 229, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.location-item strong {
  color: #111827;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.location-item span {
  color: #4f46e5;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.location-actions {
  display: flex;
  gap: 14px;
  margin-left: auto;
  align-items: stretch;
}

.location-actions .ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 14px 24px;
  border-radius: 16px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
  color: #4f46e5;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  box-shadow:
    0 6px 24px rgba(79, 70, 229, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-actions .ref-btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.location-actions .ref-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.location-actions .ref-btn-primary:hover::before {
  left: 100%;
}

.location-actions .ref-btn-secondary {
  color: #0f172a;
}

.location-actions .ref-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.location-actions .ref-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(79, 70, 229, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}


.dark .location-item {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.8));
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.dark .location-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dark .location-item strong {
  color: #f8fafc;
}

.dark .location-item span {
  color: #a78bfa;
}

.dark .location-actions .ref-btn {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(31, 41, 55, 0.7));
  border-color: rgba(79, 70, 229, 0.3);
  color: #a78bfa;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark .location-actions .ref-btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dark .location-actions .ref-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dark .location-actions .ref-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(79, 70, 229, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15,23,42,0.25);
}

.sl-map-root { width: 100%; height: 100%; }

.sl-map-root .leaflet-control-zoom {
  display: none !important;
}

.sl-pin-marker-sale,
.sl-pin-marker-rent {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  min-width: 90px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(15,23,42,0.5);
}

.sl-pin-marker-sale {
  background: linear-gradient(135deg,#16a34a,#22c55e);
  border: 1px solid #166534;
  color: #ecfdf5;
}

.sl-pin-marker-sale::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #16a34a;
}

.sl-pin-marker-rent {
  background: linear-gradient(135deg,#facc15,#fef08a);
  border: 1px solid #b45309;
  color: #1f2937;
}

.sl-pin-marker-rent::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #facc15;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
}

.similar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 14px;
}

.breadcrumb a {
  color: #1e56a3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: #153e75; }

.breadcrumb span { color: #6b7280; }

.agent-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.agent-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-label {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.agent-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: #1e56a3;
  text-decoration: none;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  box-shadow:
    0 8px 20px rgba(17, 24, 39, 0.15),
    0 0 0 1px rgba(191, 219, 254, 0.8);
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.agent-name:hover {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  box-shadow:
    0 12px 26px rgba(17, 24, 39, 0.22),
    0 0 0 1px rgba(129, 140, 248, 0.9);
  transform: translateY(-1px);
}

.agent-company {
  font-size: 13px;
  color: #6b7280;
}

.agent-contact-btn,
.agent-edit-btn {
  width: 100%;
  margin-top: 4px;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav.prev { left: -80px; }
.lightbox-nav.next { right: -80px; }

/* Responsive */
@media (max-width: 1024px) {
  .property-detail-grid { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
  .recent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
  .property-detail { padding: 0 1rem 2.5rem; }
  .property-detail-grid { gap: 1.5rem; }
  .main-image { height: 300px; }
  .land-info-grid,
  .location-row,
  .similar-grid,
  .recent-grid { grid-template-columns: 1fr; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 480px) {
  .breadcrumb { flex-wrap: wrap; }
  .property-main-title { font-size: 28px; }
}

/* Dark mode */
.dark .property-description p,
.dark .covenant-text { color: #e5e7eb; }

.dark .property-description h2,
.dark .property-description h3,
.dark .property-features h3,
.dark .property-amenities h3 {
  color: #f9fafb;
}

.dark .property-gallery,
.dark .property-detail .property-info,
.dark .property-features,
.dark .property-amenities,
.dark .property-description,
.dark .content-box.property-location-info,
.dark .content-box.map-block,
.dark .content-box.recent-properties,
.dark .content-box.similar-properties,
.dark .property-detail .agent-card {
  background: var(--dark-surface-a20);
  border-color: var(--dark-surface-a40);
  box-shadow: var(--dark-shadow-md);
}

.dark .property-features h2 {
  color: #f9fafb;
}

.dark .land-card-header {
  color: #f9fafb;
}

.dark .land-card-header svg {
  color: #e5e7eb;
}

.dark .content-box.recent-properties,
.dark .content-box.similar-properties {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.dark .property-main-title,
.dark .property-location-info h2,
.dark .map-block h2,
.dark .recent-properties h2,
.dark .similar-properties h2 { color: #f9fafb; }

.dark .property-detail .property-price {
  color: var(--dark-tint-primary-a10);
}

.dark .location-item,
.dark .land-card {
  background: var(--dark-surface-a20);
  border-color: var(--dark-surface-a40);
  box-shadow: none;
}

.dark .location-item strong,
.dark .land-row dd,
.dark .agent-name { color: #f9fafb; }

.dark .location-item span,
.dark .land-row dt,
.dark .agent-company,
.dark .agent-label {
  color: #9ca3af;
}

.dark .agent-name {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.86));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(17, 24, 39, 0.9);
}

.dark .agent-name:hover {
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(55, 65, 81, 1);
}

.dark .sidebar-meta-row {
  border-top: 1px solid var(--dark-surface-a40);
  border-bottom: 1px solid var(--dark-surface-a40);
  color: #e5e7eb;
}

.dark .property-detail .property-location {
  color: #9ca3af;
}

.dark .breadcrumb a { color: #bfdbfe; }
.dark .breadcrumb a:hover { color: #e5e7eb; }
.dark .breadcrumb span { color: #9ca3af; }

/* Loading skeleton */
.property-loading-shell {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 1.75rem;
  padding: 1.5rem 0 2rem;
}

.property-loading-card,
.property-loading-sidebar {
  background: #f3f4f6;
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.property-loading-image {
  width: 100%;
  height: 260px;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background-color: #e5e7eb;
}

.property-loading-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.property-loading-line {
  height: 12px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

.property-loading-line-title {
  width: 70%;
  height: 16px;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: translateX(-100%);
  animation: property-loading-shimmer 1.3s infinite;
}

@keyframes property-loading-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 900px) {
  .property-loading-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dark .property-loading-card,
.dark .property-loading-sidebar {
  background: var(--dark-surface-a20);
  border-color: var(--dark-surface-a40);
  box-shadow: var(--dark-shadow-md);
}

.dark .property-loading-image,
.dark .property-loading-line {
  background-color: var(--dark-surface-a40);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #4F46E5, #6366F1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 100;
}

.scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.5);
}

.scroll-to-top:active {
  transform: translateY(0);
}

.dark .scroll-to-top {
  background: linear-gradient(135deg, #6366F1, #818CF8);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

/* Property not found */
.property-not-found {
  text-align: center;
  padding: 4rem 2rem;
}

.property-not-found h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.property-not-found p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
}

.dark .property-not-found h2 { color: #f9fafb; }
.dark .property-not-found p { color: #9ca3af; }

/* Ad slots */
.ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
}

.ad-slot img {
  max-width: 100%;
  height: auto;
  width: auto !important;
}

.ad-slot-property-above-parcel {
  margin-bottom: 1.5rem;
}

.ad-slot-property-sidebar-below-similar {
  margin-top: 1.5rem;
}

.pp-plan-badge {
  --pp-plan-color: #6b7280;
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 8px;
  color: #fff;
  background-color: var(--pp-plan-color);
  background-image:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.32) 0%,
      rgba(255, 255, 255, 0.05) 45%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.22) 100%);
  white-space: nowrap;
  line-height: 1.5;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.pp-plan-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: pp-plan-shine 4.5s ease-in-out infinite;
}
@keyframes pp-plan-shine {
  0%   { left: -60%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}


