/* ============================================================
   HOME DREAMERS REALTY — Single Property Page Styles
   css/property-single.css
   Replicates the qc-001-listing.html premium design
   ============================================================ */

/* ── PROPERTY HERO / TITLE AREA ──────────────────────────── */
.single-property-top,
.property-title-area {
  background: linear-gradient(135deg, #0a502b 0%, #0c723e 100%) !important;
  padding: 32px 0 !important;
  color: #fff !important;
}

.single-property-top h1,
.single-property-top .property-title,
.property-title-area h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
}

.single-property-top .property-address,
.single-property-top .listing-address {
  color: rgba(255,255,255,.8) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

/* Price in hero */
.single-property-top .price-label,
.property-title-area .price-label {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

.single-property-top .price-prefix,
.single-property-top .price-postfix {
  font-size: 14px !important;
  color: rgba(255,255,255,.7) !important;
}

/* ── PROPERTY STATUS BADGES ───────────────────────────────── */
.property-label-wrap .houzez-label-wrap,
.single-property-top .property-tag-line {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 10px !important;
}

.property-label-wrap span,
.houzez-label-wrap .label_text {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
}

/* ── GALLERY ──────────────────────────────────────────────── */
.property-detail-wrapper .property-gallery-wrap,
.houzez-property-gallery,
.property-details-slick-slider {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.15) !important;
  margin-bottom: 0 !important;
}

/* Main gallery image */
.property-gallery-wrap .slides li img,
.houzez-property-gallery .slick-slide img,
.property-gallery-main img {
  width: 100% !important;
  height: 460px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Thumbnail strip */
.property-gallery-thumbs .slick-slide img,
.property-thumb-wrap img {
  height: 90px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  opacity: .75 !important;
  transition: opacity .2s !important;
  cursor: pointer !important;
}

.property-gallery-thumbs .slick-current img,
.property-gallery-thumbs .slick-slide:hover img {
  opacity: 1 !important;
  outline: 3px solid #0c723e !important;
}

/* ── SPECS BAR (beds/baths/area/garage) ───────────────────── */
.property-meta,
.properties_icons_wrap,
.listing-details-info {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  background: #0a502b !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 20px 0 !important;
}

.property-meta > span,
.property-meta .houzez-icons,
.properties_icons_wrap li,
.listing-detail-item {
  flex: 1 !important;
  min-width: 100px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 16px 12px !important;
  color: #fff !important;
  border-right: 1px solid rgba(255,255,255,.12) !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

.property-meta > span:last-child,
.properties_icons_wrap li:last-child,
.listing-detail-item:last-child {
  border-right: none !important;
}

.property-meta .meta-value,
.listing-detail-item strong,
.properties_icons_wrap .list-value {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1 !important;
}

.property-meta .meta-label,
.listing-detail-item label,
.properties_icons_wrap .list-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: rgba(255,255,255,.6) !important;
}

.property-meta i,
.properties_icons_wrap .meta-icon {
  font-size: 18px !important;
  color: rgba(255,255,255,.7) !important;
  margin-bottom: 2px !important;
}

/* ── CONTENT LAYOUT (2-col: content + sidebar) ────────────── */
.property-detail-wrap,
.single-property-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  gap: 32px !important;
  align-items: start !important;
  max-width: 1200px !important;
  margin: 32px auto !important;
  padding: 0 20px !important;
}

@media (max-width: 1024px) {
  .property-detail-wrap,
  .single-property-wrapper {
    grid-template-columns: 1fr !important;
  }
}

/* ── SECTION HEADERS (Playfair Display) ──────────────────── */
.property-detail-wrap h2,
.property-detail-wrap h3,
.property-section-title,
.block-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin: 32px 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #e5e7eb !important;
}

/* ── DESCRIPTION / ABOUT SECTION ────────────────────────── */
.property-description,
.property-detail-desc {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #374151 !important;
}

/* Blockquote highlight */
.property-description blockquote,
.hdr-blockquote {
  border-left: 4px solid #0c723e !important;
  background: #e8f5ee !important;
  padding: 16px 20px !important;
  border-radius: 0 10px 10px 0 !important;
  font-style: italic !important;
  color: #0a502b !important;
  margin: 20px 0 !important;
}

/* ── FEATURES / AMENITIES GRID ───────────────────────────── */
.property-features,
.property_feature,
.houzez-features-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 10px !important;
  margin: 16px 0 !important;
}

.property-features li,
.property_feature li,
.houzez-features-wrap .feature-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  list-style: none !important;
}

.property-features li::before,
.houzez-features-wrap .feature-item::before {
  content: '✓' !important;
  color: #0c723e !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

/* ── PROPERTY DETAILS TABLE ─────────────────────────────── */
.property-detail-table,
.property_details table,
.property-info-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
}

.property-detail-table tr:nth-child(even),
.property_details table tr:nth-child(even) {
  background: #f9fafb !important;
}

.property-detail-table td,
.property_details table td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: #374151 !important;
}

.property-detail-table td:first-child,
.property_details table td:first-child {
  font-weight: 700 !important;
  color: #111827 !important;
  width: 40% !important;
}

/* ── AMORTIZATION CALCULATOR ─────────────────────────────── */
.mortgage-calculator,
.houzez-mortgage-wrap,
#houzez-calculator-wrap {
  background: linear-gradient(135deg, #0a1f14 0%, #0a502b 100%) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  color: #fff !important;
  margin: 32px 0 !important;
}

.mortgage-calculator h3,
.houzez-mortgage-wrap h3,
.houzez-calculator-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: #fff !important;
  font-size: 20px !important;
  border: none !important;
  margin-top: 0 !important;
}

.mortgage-calculator label,
.houzez-mortgage-wrap label {
  color: rgba(255,255,255,.8) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
}

.mortgage-calculator input,
.houzez-mortgage-wrap input,
.houzez-calculator-wrap input {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
}

.mortgage-calculator input:focus,
.houzez-mortgage-wrap input:focus {
  border-color: #f3ab1e !important;
  background: rgba(255,255,255,.18) !important;
  outline: none !important;
}

.mortgage-calculator .calculate-btn,
.houzez-mortgage-wrap .calculate-btn,
#houzez-calculator-wrap button {
  background: #f3ab1e !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background .2s !important;
}

.mortgage-calculator .calculate-btn:hover {
  background: #d4920f !important;
}

.mortgage-calculator .result,
.houzez-mortgage-wrap .result,
#calc-result {
  background: rgba(255,255,255,.1) !important;
  border-radius: 10px !important;
  padding: 20px !important;
  margin-top: 16px !important;
  text-align: center !important;
}

.mortgage-calculator .result .monthly-payment,
#calc-monthly {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #f3ab1e !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.property-sidebar,
.property-detail-wrap aside,
#sidebar {
  position: sticky !important;
  top: 80px !important;
}

/* Sidebar inquiry form card */
.sidebar-contact-form,
.sidebar-contact-agent,
.widget_fave_contact_form {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.08) !important;
  margin-bottom: 24px !important;
}

.sidebar-contact-form h4,
.sidebar-contact-agent h4 {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
  color: #6b7280 !important;
  margin: 0 0 16px !important;
}

/* Sidebar price display */
.sidebar-price,
.widget-price-wrap {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0c723e !important;
  font-family: 'Nunito Sans', sans-serif !important;
  margin-bottom: 4px !important;
}

/* ── AGENT/BROKER CARD ───────────────────────────────────── */
.agent-box,
.sidebar-agent-wrap,
.widget_fave_agent {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 20px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.08) !important;
  margin-bottom: 24px !important;
}

.agent-box .agent-name,
.sidebar-agent-wrap h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin: 8px 0 2px !important;
}

.agent-box .agent-position,
.sidebar-agent-wrap .agent-title {
  color: #0c723e !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .6px !important;
}

.agent-box img,
.sidebar-agent-wrap img {
  border-radius: 50% !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border: 3px solid #e8f5ee !important;
}

/* ── SIMILAR PROPERTIES ──────────────────────────────────── */
.similar-properties,
.houzez-similar-listings {
  margin: 40px 0 !important;
}

.similar-properties h3,
.houzez-similar-listings h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 22px !important;
  color: #111827 !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #e5e7eb !important;
}

/* ── MOBILE STICKY CTA ───────────────────────────────────── */
.hdr-mob-cta {
  display: none !important;
}

@media (max-width: 768px) {
  .hdr-mob-cta {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
    gap: 0 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15) !important;
  }

  .hdr-mob-cta a {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 15px !important;
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: #fff !important;
  }

  .hdr-mob-cta .cta-call { background: #0c723e !important; }
  .hdr-mob-cta .cta-wa   { background: #25d366 !important; }

  /* Stack gallery on mobile */
  .property-gallery-wrap img,
  .houzez-property-gallery img {
    height: 260px !important;
  }

  /* Full-width content on mobile */
  .property-detail-wrap,
  .single-property-wrapper {
    grid-template-columns: 1fr !important;
    padding: 0 16px !important;
    margin-top: 16px !important;
  }

  /* Sticky sidebar off on mobile */
  .property-sidebar,
  #sidebar {
    position: static !important;
  }
}
