/* =====================================================
   Property Listings View - Premium Detail Stylesheet
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --plv-ink: #0f172a;
  --plv-navy: var(--psp-primary, #1e293b);
  --plv-accent: var(--psp-accent, #0ea5e9);
  --plv-accent-deep: var(--psp-accent, #0284c7);
  --plv-paper: #ffffff;
  --plv-mist: #f8fafc;
  --plv-border: #e2e8f0;
  --plv-muted: #64748b;
  --plv-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --plv-radius: 20px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  color: var(--plv-ink);
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

.my_container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- navigation / sticky bar ---------- */
#nav_area {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--plv-border);
}

.navigation_area {
  padding: 14px 0;
}

#nav_area .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#nav_area .back_optn a,
#nav_area .share_save button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--plv-border);
  background: #ffffff;
  color: var(--plv-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
}

#nav_area .back_optn a:hover,
#nav_area .share_save button:hover {
  background: #f8fafc;
  border-color: var(--plv-muted);
}

#nav_area .back_optn button {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0;
  box-shadow: none !important;
}

#nav_area .navigate_optn ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

#nav_area .navigate_optn ul a {
  color: var(--plv-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

#nav_area .navigate_optn ul a:hover {
  color: var(--plv-accent);
}

.share_save {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ---------- media slider ---------- */
#banner_slider {
  padding: 24px 0 0;
}

.owl-carousel-main-div {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

#sync1 .item img {
  width: 100%;
  height: clamp(320px, 60vh, 580px);
  object-fit: cover;
  border-radius: var(--plv-radius);
  box-shadow: var(--plv-shadow);
}

#sync2 {
  margin-top: 12px;
}

#sync2 .item {
  padding: 0 4px;
}

#sync2 .item img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.6;
  transition: all 0.2s ease;
  cursor: pointer;
}

#sync2 .owl-item.current img,
#sync2 .item:hover img {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* owl slider buttons override */
.owl-theme .owl-nav [class*='owl-'] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid var(--plv-border) !important;
  box-shadow: var(--plv-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: #ffffff !important;
  transform: translateY(-50%) scale(1.05);
}

.owl-theme .owl-nav .owl-prev { left: 16px; }
.owl-theme .owl-nav .owl-next { right: 16px; }

/* ---------- property details block ---------- */
#property_information {
  margin: 32px 0 48px;
}

#property_information > .my_container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 32px !important;
  align-items: start !important;
}

.plv-details-col {
  flex: 1 1 650px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.plv-sidebar-col {
  flex: 0 0 350px !important;
  width: 350px !important;
  position: sticky !important;
  top: 92px !important;
}

/* main description & price card */
.main_descp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--plv-border);
  border-radius: var(--plv-radius);
  background: #ffffff;
  box-shadow: var(--plv-shadow);
  gap: 20px;
}

.main_addres h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--plv-ink);
  line-height: 1.15;
}

.main_addres p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--plv-muted);
}

.property_price {
  text-align: right;
  background: #f0fdf4;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid #dcfce7;
}

.property_price h2 {
  margin: 0 0 2px;
  font-size: 26px;
  font-weight: 800;
  color: #166534;
  letter-spacing: -0.02em;
}

.property_price p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  text-transform: uppercase;
}

/* common card templates */
.descriptiop_sec_1,
.property_map,
.interiro_feature {
  padding: 30px;
  border: 1px solid var(--plv-border);
  border-radius: var(--plv-radius);
  background: #ffffff;
  box-shadow: var(--plv-shadow);
}

/* feature badges list */
#property-description > .row {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

#property-description > .row > .col-lg-3 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 16px !important;
}

#property-description > .row > .col-lg-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.feature_detail {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: var(--plv-mist) !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  border: 1px solid var(--plv-border) !important;
  margin: 0 !important;
}

.feature_detail .iocn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--plv-accent-deep) !important;
  flex-shrink: 0 !important;
}

.feature_detail .status_status {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2) !important;
}

.feature_detail p {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--plv-ink) !important;
}

/* remarks */
.about_propert {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  margin-bottom: 24px !important;
}

/* info timeline (MLS ID, Listed, Updated) */
.list_id_and_detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.list_id_and_detail .mls_id {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--plv-border);
  background: var(--plv-mist);
}

.list_id_and_detail p {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: var(--plv-ink);
}

.list_id_and_detail span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--plv-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- map block ---------- */
.property_map {
  display: grid;
  gap: 16px;
}

.property_map .heading h2,
.interiro_feature .heading h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--plv-ink);
}

.property_map #map_area {
  height: 400px;
  border-radius: var(--plv-radius);
  border: 1px solid var(--plv-border);
  overflow: hidden;
}

.after_map_address {
  padding: 12px 16px;
  background: var(--plv-mist);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--plv-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- interior/exterior features ---------- */
.interiro_feature {
  display: grid;
  gap: 16px;
}

.interiro_feature .feature_details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.interiro_feature .property_feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: start;
  gap: 16px;
}

.interiro_feature .property_feature:last-child {
  border-bottom: none;
}

.interiro_feature .property_feature .title {
  font-size: 12px;
  font-weight: 700;
  color: var(--plv-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.interiro_feature .property_feature .descp {
  font-size: 14px;
  line-height: 1.6;
  color: var(--plv-ink);
  font-weight: 600;
}

/* ---------- sidebar contact card ---------- */
.contact_sidebar_col {
  position: sticky;
  top: 92px;
}

.contact_div {
  padding: 24px;
  border: 1px solid var(--plv-border);
  border-radius: var(--plv-radius);
  background: #ffffff;
  box-shadow: var(--plv-shadow);
  display: grid;
  gap: 20px;
}

.site_logo_detain {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact_div .contact_img img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
}

.contact_div .contact_content .heading p {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--plv-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact_div .contact_content .name p {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--plv-ink);
}

.contact_info {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--plv-border);
}

.contact_info .mail {
  display: flex;
  align-items: center;
  font-size: 13px;
  gap: 8px;
}

.contact_info .mail label {
  font-weight: 700;
  color: var(--plv-muted);
  text-transform: uppercase;
  font-size: 11px;
  min-width: 50px;
}

.contact_info .mail a {
  color: var(--plv-accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.contact_info .mail a:hover {
  text-decoration: underline;
}

/* CF7 styling override */
.contact_div .wpcf7 form {
  display: grid;
  gap: 10px;
}

.contact_div .wpcf7 input[type="text"],
.contact_div .wpcf7 input[type="email"],
.contact_div .wpcf7 input[type="tel"],
.contact_div .wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--plv-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--plv-ink);
  outline: none;
  background: #ffffff;
  transition: var(--psp-transition);
}

.contact_div .wpcf7 input:focus,
.contact_div .wpcf7 textarea:focus {
  border-color: var(--plv-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.contact_div .wpcf7 textarea {
  min-height: 96px;
  resize: vertical;
}

.contact_div .wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, var(--plv-accent) 0%, var(--plv-accent-deep) 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 13px;
}

.contact_div .wpcf7 input[type="submit"]:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ---------- disclaimer card ---------- */
.disclaimer-section {
  padding: 24px 0 48px;
}

.disclaimer-div {
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--plv-mist);
  border: 1px solid var(--plv-border);
}

.disclaimer-text {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--plv-muted);
}

.disclaimer-text:last-child {
  margin-bottom: 0;
}

/* ---------- responsive updates ---------- */
@media (max-width: 1024px) {
  #property_information > .my_container > .row {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .plv-sidebar-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    position: static !important;
  }
}

@media (max-width: 768px) {
  #sync1 .item img {
    height: 320px;
  }
  #sync2 {
    display: none;
  }
  .main_descp {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .property_price {
    width: 100%;
    text-align: left;
  }
  .feature_detail_grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .list_id_and_detail {
    grid-template-columns: 1fr;
  }
  .descriptiop_sec_1,
  .property_map,
  .interiro_feature,
  .contact_div {
    padding: 20px;
  }
}
