/* =========================
   PAGE WRAPPER
========================= */
.details-page {
  min-height: 100vh;
  padding: 150px clamp(16px, 5vw, 60px) 80px;
  background: #f7f2ee;
}

/* =========================
   MAIN LAYOUT (2 COLUMN GRID)
========================= */
.details-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Gallery wider than info */
  gap: 40px;
  align-items: start;
}

/* =========================
   IMAGE GALLERY CARD
========================= */
.details-gallery {
  background: white;
  padding: 18px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* Main large image */
.main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

/* Thumbnail grid under main image */
.thumb-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.thumb-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================
   DETAILS INFO CARD (RIGHT SIDE)
========================= */
.details-info {
  background: white;
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  position: relative; /* Needed for status badge positioning */
}

/* Apartment title */
.details-info h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  margin-top: 18px;
}

/* Location text */
.details-location {
  color: #666;
  margin: 10px 0 18px;
}

/* Price styling */
.details-info h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

/* Description text */
.details-desc {
  color: #666;
  line-height: 1.7;
  margin-bottom: 22px;
}

/* =========================
   FEATURE TAGS (beds, bath, etc.)
========================= */
.details-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.details-features span {
  background:#f3c78d;
  padding: 10px 14px;
  border-radius: 30px;
  font-weight: 700;
}

/* =========================
   ACTION BUTTONS (CALL / MAP / ETC)
========================= */
.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.details-contact,
.details-map,.details-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  text-decoration: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: 800;

  background: #111;
  color: white;
  transition: 0.35s ease;
}

/* Hover effect */
.details-contact:hover,
.details-map:hover,.details-gallery:hover,.details-apply:hover {
  transform: translateY(-3px);
  background: white;
  color: black;
  cursor: pointer;
}

/* =========================
   RENTAL DETAILS GRID (deposit, utilities, etc.)
========================= */
.rental-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

/* Each info box */
.rental-details div {
  background: #f3c78d;
  padding: 14px;
  border-radius: 18px;
}

/* Label (e.g. Deposit, Water) */
.rental-details span {
  display: block;
  color: #666;
  font-size: 13px;
  margin-bottom: 5px;
}

/* Value (KES, Prepaid, etc.) */
.rental-details strong {
  color: #111;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */
@media (max-width: 850px) {
  .details-container {
    grid-template-columns: 1fr; /* Stack layout */
  }

  .main-img {
    height: 320px;
  }
}

.details-empty-image{
    width:100%;
    height:520px;
    border-radius:22px;
    background:#f4eadf;
    border:2px dashed #d9b99b;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#6f6258;
    font-weight:800;
}

.details-empty-image i{
    font-size:40px;
    color:#111;
}

/* REMOVE MOBILE TAP HIGHLIGHT */

*{
    -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
textarea,
select{
    outline:none;
    -webkit-tap-highlight-color: transparent;
}

html{
    -webkit-touch-callout:none;
}