/* ============================================================
   HILLTOP PROPERTIES ZAMBIA - PUBLIC PROPERTY DETAILS
   Plain CSS for property-details.html.
   ============================================================ */

.hidden {
  display: none !important;
}

.details-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: stretch;
  padding: 44px clamp(18px, 5vw, 64px) 28px;
}

.details-gallery,
.details-summary,
.details-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.08);
}

.details-gallery {
  overflow: hidden;
}

.main-image {
  min-height: 520px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--surface-alt), var(--border));
  color: var(--muted);
  font-weight: 900;
}

.main-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  padding: 12px;
  background: var(--surface);
}

.thumb-button {
  height: 74px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.thumb-button.active {
  border-color: var(--army-light);
}

.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.details-title-row {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.details-title-row h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
}

.details-price {
  margin: 0 0 20px;
  color: var(--army);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
}

.details-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.details-tags span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.details-actions {
  display: grid;
  gap: 10px;
}

.detail-contact-link {
  border-color: var(--border);
  color: var(--navy);
}

.details-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  padding-top: 26px;
}

.details-panel {
  padding: 24px;
}

.details-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.details-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fact-card {
  padding: 14px;
  border-radius: 8px;
  background: var(--surface);
}

.fact-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.fact-card strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 18px;
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.amenities-list li {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(74, 94, 58, 0.11);
  color: var(--army);
  font-size: 13px;
  font-weight: 900;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.media-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
}

.branch-panel p {
  margin: 8px 0 0;
}

.similar-section {
  padding-top: 26px;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.property-details-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--navy);
  opacity: 0.65;
  background: linear-gradient(135deg, var(--surface-alt), var(--border));
  width: 100%;
  min-height: 520px;
  border-radius: 12px;
}

.property-details-placeholder .placeholder-icon {
  width: 64px;
  height: 64px;
  stroke: var(--navy);
}

.property-details-placeholder .placeholder-text {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .property-details-placeholder {
    min-height: 360px;
  }
}

@media (max-width: 960px) {
  .details-hero,
  .details-body {
    grid-template-columns: 1fr;
  }

  .main-image,
  .main-image img {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .details-summary,
  .details-panel {
    padding: 20px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }
}
