

.resales-property-detail { padding: 2rem; border: 1px solid #ddd; border-radius: 6px; background: #fff; }
.resales-property-detail h2 { margin-top: 0; }
.resales-property-detail .details span { margin-right: 1rem; font-weight: 500; }
.resales-property-detail .image-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.resales-property-detail .image-gallery img { max-width: 180px; border-radius: 4px; }
.resales-property-detail .description { margin-top: 1rem; line-height: 1.6; }

/*
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  height: 500px; 
  margin: 20px auto;
  background: #fff;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
}

.carousel-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

*/






/* Page shell */
.property-page{--max:1200px;--g:24px;margin:0 auto;max-width:var(--max);padding:24px}
.prop-breadcrumbs{font-size:.9rem;color:#6b7280;margin-bottom:12px}
.prop-breadcrumbs a{color:inherit;text-decoration:none}
.prop-header{margin-bottom:10px}
.prop-title{margin:0 0 6px;font-size:32px;line-height:1.15}
.prop-subtitle{color:#6b7280;font-weight:500}

/* Hero: gallery + sidebar */
.prop-hero{display:grid;grid-template-columns:1fr 340px;gap:var(--g);align-items:start}
@media (max-width: 980px){.prop-hero{grid-template-columns:1fr}}

.gallery{width:100%}

/* Carousel */
.carousel-container{position:relative;isolation:isolate;overflow:hidden;width:100%;aspect-ratio:16/9;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}
.carousel-track{position:relative;display:flex;height:100%;transition:transform .45s ease}
.carousel-slide{min-width:100%;display:flex;align-items:center;justify-content:center}
.carousel-slide img{max-height:100%;max-width:100%;object-fit:contain;pointer-events:auto;}
.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(0,0,0,.45);color:#fff;font-size:28px;line-height:1;border-radius:8px;padding:6px 10px;cursor:pointer;z-index:5;pointer-events:auto;}
.carousel-btn.prev{left:10px}
.carousel-btn.next{right:10px}

/* Thumbs */
.thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:10px}
@media (max-width:700px){.thumbs{grid-template-columns:repeat(4,1fr)}}
.thumb{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff;padding:0;cursor:pointer}
.thumb img{display:block;width:100%;height:70px;object-fit:cover}
.thumb.is-active{outline:2px solid #111827}

/* Sidebar */
.sidebar{position:sticky;top:20px}
.price-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.price{font-size:28px;font-weight:800;margin-bottom:10px}
.specs{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin-bottom:12px}
.specs i{margin-right:6px;font-style:normal}
.btn-primary{display:block;text-align:center;background:#111827;color:#fff;padding:12px 14px;border-radius:10px;text-decoration:none;font-weight:700}
.key-facts{list-style:none;margin:12px 0 0;padding:0;border:1px solid #e5e7eb;border-radius:12px}
.key-facts li{padding:10px 14px;border-top:1px solid #e5e7eb}
.key-facts li:first-child{border-top:0}

/* Sections */
.prop-section{margin-top:28px}
.prop-section h2{margin:0 0 12px}
.feature-grid{display:flex;flex-wrap:wrap;flex-direction:column;gap:8px}
.chip{padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;display:inline-flex;width: fit-content;gap:4px;}
.map-embed iframe{width:100%;height:340px;border:0;border-radius:12px}

/* Keep your existing .resales-property-detail styles if used elsewhere */

/* Fullscreen lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open{ opacity:1;pointer-events:auto; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Lightbox navigation arrows */
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.lightbox .nav-btn:hover{ background:rgba(255,255,255,0.4); }
.lightbox .prev{ left: 20px; }
.lightbox .next{ right: 20px; }

/* Close button */
.lightbox .close-btn{ position:absolute;top:20px;right:20px;background:rgba(255,255,255,0.2);border:none;color:white;font-size:1.5rem;padding:4px 10px;border-radius:4px;cursor:pointer; }
.lightbox .close-btn:hover{ background:rgba(255,255,255,0.4); }


.open-lightbox-btn{
  position:absolute; top:10px; right:10px;
  padding:8px 10px; border:0; border-radius:8px;
  background:rgba(0,0,0,.45); color:#fff; cursor:pointer;
  z-index:6;
}
.open-lightbox-btn:hover{ background:rgba(0,0,0,.6); }





.hidden-ref {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* Enquiry form layout */
.rhe-enquiry { 
  max-width: 820px; 
  margin: 0 auto; 
  padding: 24px 16px; 
}
.rhe-enquiry h3 {
  text-align: center;
  letter-spacing: .04em;
  font-weight: 700;
  margin: 0 0 24px;
}
.rhe-enquiry .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-bottom: 16px;
}
.rhe-enquiry .col { display: flex; flex-direction: column; }
.rhe-enquiry .col-12 { grid-column: 1 / -1; }

.rhe-enquiry label {
  font-size: 12px;
  letter-spacing: .06em;
  color: #666;
  margin-bottom: 6px;
}

.rhe-enquiry .input,
.rhe-enquiry input[type="text"],
.rhe-enquiry input[type="email"],
.rhe-enquiry input[type="tel"],
.rhe-enquiry .textarea,
.rhe-enquiry textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.rhe-enquiry textarea { min-height: 140px; resize: vertical; }

.rhe-enquiry input:focus,
.rhe-enquiry textarea:focus {
  outline: none;
  border-color: #0f9d7e;           /* brand accent */
  box-shadow: 0 0 0 3px rgba(15,157,126,.12);
}

.rhe-enquiry .actions { text-align: center; margin-top: 8px; }
.rhe-enquiry .btn-primary,
.rhe-enquiry input[type="submit"].btn-primary {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  background: #f6a21a;
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .05s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(246,162,26,.25);
}
.rhe-enquiry .btn-primary:hover { filter: brightness(1.05); }
.rhe-enquiry .btn-primary:active { transform: translateY(1px); }

.rhe-enquiry .fineprint p {
  margin: 8px 0 10px;
  font-size: 13px;
  color: #666;
}
.rhe-enquiry .fineprint a { color: #0f9d7e; text-decoration: underline; }

.rhe-enquiry .captcha { display: flex; justify-content: flex-start; }

.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  border-radius: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .rhe-enquiry .row { grid-template-columns: 1fr; gap: 14px; }
  .rhe-enquiry { padding: 16px 12px; }
}

/* Align consent checkbox text nicely */
.wpcf7-form .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #555;
  margin: 8px 0 16px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 3px;
}




/* --- Fact bar beneath title --- */
.factbar{
  display:flex; flex-wrap:wrap; gap:10px 14px;
  margin:6px 0 14px; color:#374151;
}
.factbar .fact{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border:1px solid #e5e7eb; border-radius:999px; background:#fff;
  font-size:.95rem;
}
.factbar .fact strong{ font-weight:700; margin-right:4px; }
.factbar svg{ width:18px; height:18px; flex:0 0 18px; stroke:currentColor; fill:none; stroke-width:2; }
@media (max-width:700px){ .factbar{ gap:8px } .factbar .fact{ font-size:.9rem; } }




.specs .spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: #374151;
}

.specs .spec svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}




/* Put in property_detail.css */
#rhe-map { height: 240px; border-radius: 12px; overflow: hidden; }
.leaflet-container { border-radius: 12px; }

/* Map helpers */
.map-location-spec{
  font-size: 14px;
  color: #374151;
  margin: 6px 0 10px;
  font-weight: 600;
}
#rhe-map{ height: 260px; border-radius: 12px; overflow: hidden; }
.map-hint{
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}




.btn-favorite {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 600;
  cursor: pointer;
  border: none;
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
  transition: background 0.2s ease;
}
.btn-favorite:hover { background: #e5e7eb; }
.btn-favorite svg { width: 20px; height: 20px; }
.btn-favorite.active { color: red; }
.btn-favorite.active svg path { fill: currentColor; stroke: none; }
.btn-favorite:not(.active) svg path { fill: none; stroke: currentColor; stroke-width: 2; }

