/* =====================================================
   SINGLE PROPERTY PAGE STYLES (Property Finder-ish)
   LUXURY EDITION: Deep Black & Soft Gold (Premium)
   CLEAN FINAL (NO DUPLICATES / NO CONFLICTS)
===================================================== */

:root{
  --lux-black: #0b0b0c;
  --lux-black-light: #151517;
  --lux-gold-solid: #caa24a;
  --lux-gold-shine: linear-gradient(135deg,#b98b2f 0%,#f2e6bf 35%,#caa24a 60%,#a7771b 100%);
  --lux-white: #ffffff;
  --lux-gray: #f6f6f7;
}

/* =========================
   Scope + Safety (Single Property only)
========================= */
body.single-property .entry-header,
body.single-property .page-title-section{ display:none !important; }

body.single-property,
body.single-property #page,
body.single-property .site,
body.single-property .site-content,
body.single-property #content,
body.single-property .content-area,
body.single-property .inside-article{
  overflow-x: clip !important;
}

@media (max-width: 900px){
  body.single-property .inside-article{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

body.single-property .pf-wrapper{
  width: 100% !important;
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 16px 30px !important;
  font-family: inherit;
  box-sizing: border-box !important;
}

body.single-property .pf-wrapper *,
body.single-property .pf-wrapper *::before,
body.single-property .pf-wrapper *::after{
  box-sizing: border-box;
}

body.single-property img,
body.single-property svg{
  max-width: 100%;
  height: auto;
}

/* =========================
   Global buttons sizing
========================= */
.pf-btn-black, .pf-btn-gold, .pf-call, .pf-wa,
.pf-actions .pf-save, .pf-actions .pf-share, .pf-actions .pf-report,
.pf-sticky-tabs button,
.pf-sticky-actions .pf-save, .pf-sticky-actions .pf-share, .pf-sticky-actions .pf-report,
.pf-read-more, .pf-see-all-amenities,
.pf-payment-tab{
  padding: 9px 12px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  letter-spacing: .6px !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

/* =========================
   Breadcrumb + Actions
========================= */
.pf-breadcrumb{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
  margin-bottom:16px;
  min-width:0;
}

.pf-breadcrumb-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:14px;
  min-width:0;
}

.pf-breadcrumb-links a{ color:var(--lux-black); text-decoration:none; }
.pf-breadcrumb-links a:hover{ color:#000; text-decoration:underline; }
.pf-breadcrumb .sep{opacity:.6}

.pf-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: nowrap;
  min-width:0;
}

.pf-actions .pf-save,
.pf-actions .pf-share,
.pf-actions .pf-report{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
  color:var(--lux-black);
  cursor:pointer;
  font-weight:700;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.pf-actions .pf-save:hover,
.pf-actions .pf-share:hover,
.pf-actions .pf-report:hover{
  border-color: rgba(202,162,74,0.55);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.pf-actions .pf-save.saved{
  background: rgba(202,162,74,0.14);
  border-color: rgba(202,162,74,0.55);
}

/* =========================
   Gallery (DESKTOP default)
   - Big image + 2x2 thumbs on right
   - No absolute images (to avoid conflicts)
========================= */
.pf-hero-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap:10px;
  height:480px;
  margin-bottom:26px;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  width:100%;
  min-width:0;
  align-items: stretch;
}

.pf-main-image{
  grid-row: 1 / -1;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  min-width:0;
}

.pf-main-image img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

.pf-thumbnail-grid{
  grid-row: 1 / -1;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-template-rows:repeat(2, minmax(0, 1fr));
  gap:10px;
  height:100%;
  min-width:0;
  align-items: stretch;
}

.pf-thumbnail{
  overflow:hidden;
  cursor:pointer;
  min-width:0;
  border-radius: 0;
}

.pf-thumbnail img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

.pf-gallery-badge{
  position:absolute;
  bottom:18px;
  right:18px;
  background:rgba(10,10,10,.85);
  color:var(--lux-gold-solid);
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(202,162,74,.35);
  backdrop-filter:blur(4px);
}

/* =========================
   Price / Specs
========================= */
.pf-price-specs{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(0,0,0,.06);
  margin-bottom:22px;
  min-width:0;
}

.pf-price{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  min-width:0;
}

.pf-currency{
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0,0,0,.65) !important;
}

.pf-price .pf-amount{
  font-size:32px !important;
  font-weight:900 !important;
  letter-spacing:-0.5px;
  color:#111;
  white-space: nowrap;
}

.pf-specs-icons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
  min-width:0;
}

.pf-spec-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:800;
  color: rgba(0,0,0,.75);
  white-space: nowrap;
}

.pf-spec-item svg{
  width:16px;
  height:16px;
  color: rgba(0,0,0,.45);
  stroke-width:1.8;
}

.pf-monthly{
  background:var(--lux-black);
  color:#fff;
  padding: 10px 14px;
  border-radius:999px;
  border:1px solid rgba(202,162,74,.28);
  font-size:12.5px;
  cursor:pointer;
  white-space: nowrap;
}
.pf-monthly strong{
  color:var(--lux-gold-solid);
  font-size:16px;
}

/* Buttons look */
.pf-btn-black, .pf-call{
  background:var(--lux-black) !important;
  color:var(--lux-gold-solid) !important;
  border:1px solid rgba(202,162,74,.70) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12) !important;
  font-weight:900 !important;
}
.pf-btn-black:hover, .pf-call:hover{ background:var(--lux-black-light) !important; }

.pf-btn-gold, .pf-wa{
  background: var(--lux-gold-shine) !important;
  color: var(--lux-black) !important;
  border:none !important;
  box-shadow: 0 14px 30px rgba(202,162,74,0.22) !important;
  font-weight:900 !important;
}

/* =========================
   Main grid
========================= */
.pf-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:26px;
  align-items:start;
  min-width:0;
}

.pf-left .pf-section{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:18px;
  margin-bottom:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.04);
  min-width:0;
}

.pf-details-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
  min-width:0;
}

.pf-detail-item{
  display:grid;
  grid-template-columns:28px 120px 1fr;
  gap:10px;
  align-items:center;
  min-width:0;
}

.pf-detail-label{opacity:.65; font-weight:700;}
.pf-detail-value{font-weight:900; color:var(--lux-black);}

/* Amenities */
.pf-amenities-col3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.pf-amenity-item{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--lux-black-light);
  font-weight:700;
  font-size: 13px;
}
.pf-amenity-item svg{color:var(--lux-gold-solid);}

/* Insights */
.pf-insights{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

/* Card */
.pf-insight-card{
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:16px;
  display:grid;

  grid-template-columns:80px 1fr auto;
  grid-template-rows:auto auto;

  grid-template-areas:
    "img content arrow"
    "info info info";

  gap:12px 14px;

  background:#fff;
  min-width:0;
}

/* image */
.pf-insight-card img{
  grid-area:img;
  width:80px;
  height:80px;
  border-radius:12px;
  object-fit:cover;
}

/* main content */
.pf-insight-content{
  grid-area:content;
  min-width:0;
}

.pf-insight-label{
  font-size:15px;
  font-weight:600;
  margin-bottom:4px;
  line-height:1.3;
}

.pf-insight-title{
  font-size:14px;
  color:#666;
  margin-bottom:4px;
}

.pf-insight-rating{
  font-size:13px;
  color:#777;
}

/* arrow */
.pf-insight-link{
  grid-area:arrow;

  display:flex;
  align-items:center;
  justify-content:flex-end;

  grid-row:1 / span 2;

  font-size:20px;
  padding-left:10px;
}

/* bottom info */
.pf-insight-price-range,
.pf-insight-categories{
  grid-area:info;
  font-size:14px;
  line-height:1.5;
}

.pf-insight-price-range{
  margin-top:6px;
}

/* Mobile */
@media (max-width:768px){

  .pf-insights{
    grid-template-columns:1fr;
  }

  .pf-insight-card{
    grid-template-columns:70px 1fr auto;
  }

  .pf-insight-card img{
    width:70px;
    height:70px;
  }

}
/* Similar */
.pf-similar-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.pf-similar-item{
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.pf-similar-item img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
}

/* =========================
   Sidebar + Contact buttons (desktop)
========================= */
.pf-sidebar{ position: sticky; top: 24px; }

.pf-contact-buttons{
  display:flex;
  gap:12px;
  margin: 6px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.pf-contact-buttons a{
  flex:1;
  text-align:center;
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}
/* =========================
   FIX: Sidebar + CTA Sticky (Desktop only)
   - remove conflicts between pf-sidebar sticky & relative
========================= */
@media (min-width: 1024px){
  body.single-property .pf-grid{
    align-items: start;
  }

  /* خلي السايدبار عادي (مش sticky) عشان sticky يشتغل صح على زرار الاتصال */
  body.single-property .pf-sidebar{
    position: relative !important;
    top: auto !important;
    align-self: flex-start !important;
  }

  /* الزرار هي اللي تبقى sticky */
  body.single-property .pf-sidebar .pf-contact-buttons{
    position: sticky !important;
    top: 90px !important; /* عدّلها حسب ارتفاع الهيدر */
    z-index: 50 !important;
    background: #fff !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  }
}

/* Mobile: خليك على نظامك الحالي (مخفي داخل sidebar) */
@media (max-width: 768px){
  body.single-property .pf-sidebar .pf-contact-buttons{
    position: static !important;
    top: auto !important;
  }
}
/* =========================
   Modals base
========================= */
.pf-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(10,10,10,.6);
  backdrop-filter:blur(8px);
}
.pf-modal-content{
  background:#fff;
  width:min(720px, 92vw);
  margin:6vh auto;
  border-radius:16px;
  padding:18px;
  position:relative;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.pf-modal-close{
  position:absolute;
  top:10px;
  right:10px;
  border:none;
  background:transparent;
  font-size:20px;
  cursor:pointer;
}

/* Lightbox */
.pf-lightbox-modal{ background:rgba(10,10,10,.92); }
.pf-lightbox-content{ width:min(1100px, 94vw); margin:4vh auto; position:relative; }
.pf-lightbox-slides{
  height:86vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pf-lightbox-slides img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:10px;
  box-shadow:0 10px 40px rgba(0,0,0,.5);
}
.pf-lightbox-prev,
.pf-lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(26,26,26,.85);
  color:var(--lux-gold-solid);
  border:1px solid rgba(202,162,74,.28);
  width:46px;
  height:46px;
  border-radius:999px;
  cursor:pointer;
}
.pf-lightbox-prev{left:12px;}
.pf-lightbox-next{right:12px;}
.pf-lightbox-close{ display:none !important; }

/* =========================
   Sticky header tabs (mobile friendly)
========================= */
.pf-sticky-header{
  position: fixed !important;
  left: 0; right: 0; top: 0;
  z-index: 99999;
  opacity: 0;
  transform: translateY(-120%);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.pf-sticky-header.visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pf-sticky-container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.pf-sticky-tabs{
  display:flex;
  gap: 8px;
  flex-wrap: nowrap;
}
@media (max-width: 980px){
  .pf-sticky-actions{ display:none !important; }
}

@media (max-width: 768px){
  .pf-sticky-container{ flex-wrap: wrap; gap: 10px; }
  .pf-sticky-right{ width: 100%; justify-content: center; }

  .pf-sticky-tabs{
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .pf-sticky-tabs::-webkit-scrollbar{ height: 0; }

  .pf-sticky-tabs button{
    flex: 0 0 auto;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 12px !important;
  }
}

/* =========================
   Share icons (nice)
========================= */
.pf-share-icons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:16px 0;
}
.pf-share-icons a{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  color:#111;
  transition:.25s;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  text-decoration: none;
  font-weight: 900;
}
.pf-share-icons a:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}
.pf-share-whatsapp:hover{ background:#25D366; color:#fff; border-color:#25D366; }
.pf-share-facebook:hover{ background:#1877F2; color:#fff; border-color:#1877F2; }
.pf-share-twitter:hover{ background:#000; color:#fff; border-color:#000; }
.pf-share-linkedin:hover{ background:#0A66C2; color:#fff; border-color:#0A66C2; }
.pf-share-email:hover{ background:#caa24a; color:#fff; border-color:#caa24a; }
.pf-share-copy:hover{ background:#111; color:#fff; border-color:#111; }

/* =========================
   Responsive layout
========================= */
@media (max-width: 1024px){
  .pf-grid{ grid-template-columns:1fr; }
  .pf-sidebar{ position:relative; top:auto; }
  .pf-similar-grid{ grid-template-columns:1fr; }
}

@media (max-width: 900px){
  .pf-hero-grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }

  .pf-main-image{
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .pf-main-image img{ height:100% !important; }

  .pf-thumbnail-grid{
    grid-row: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 1fr;
    height: auto;
  }

  .pf-thumbnail{
    aspect-ratio: 1 / 1;
  }

  .pf-details-list{ grid-template-columns:1fr; }
  .pf-amenities-col3{ grid-template-columns:repeat(2,1fr); }
  .pf-insights{ grid-template-columns:1fr; }
}

/* =========================
   Actions always last row after breadcrumb (mobile)
========================= */
@media (max-width: 768px){
  .pf-breadcrumb{ flex-wrap: wrap; align-items: flex-start; }
  .pf-breadcrumb-links{ width: 100%; }
  .pf-actions{
    width: 100%;
    margin-top: 8px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .pf-actions .pf-save,
  .pf-actions .pf-share,
  .pf-actions .pf-report{
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   Mobile bottom sticky CTA (Call / WhatsApp)
   - IMPORTANT: prevent double buttons
========================= */
.pf-mobile-cta{ display:none; }

@media (max-width: 768px){
  /* اخفي CTA اللي في الـ sidebar على الموبايل عشان ما يتكررش */
  .pf-sidebar .pf-contact-buttons{ display:none !important; }

  .pf-mobile-cta{
    display:flex !important;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999999;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,.08);
  }

  .pf-mobile-cta a{
    flex: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 12px;
    font-weight: 900;
    letter-spacing: .4px;
    line-height: 1;
  }

  body.single-property{ padding-bottom: 86px; }
}
/* =====================================================
   MORTGAGE CALCULATOR (Premium / PF-like)
   Put at VERY END
===================================================== */

/* Card */
.single-property .pf-mortgage-calculator{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 55px rgba(0,0,0,.07);
  overflow: hidden;
}

.single-property .pf-mortgage-calculator h3{
  margin: 4px 0 14px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.2px;
  color: #111;
}

/* Form */
.single-property .pf-mortgage-form{
  display: grid;
  gap: 12px;
}

.single-property .pf-mortgage-form .pf-field{
  display: grid;
  gap: 8px;
}

.single-property .pf-mortgage-form label{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  color: rgba(0,0,0,.65);
}

/* Text inputs */
.single-property .pf-mortgage-form input[type="text"]{
  width: 100%;
  max-width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  outline: none;
  font-weight: 900;
  color: #111;
}

.single-property .pf-mortgage-form input[type="text"]::placeholder{
  color: rgba(0,0,0,.35);
  font-weight: 700;
}

.single-property .pf-mortgage-form input[type="text"]:focus{
  border-color: rgba(202,162,74,.65);
  box-shadow: 0 0 0 4px rgba(202,162,74,.14);
}

/* Range + value row spacing (so range doesn’t look glued) */
.single-property .pf-mortgage-form input[type="range"]{
  width: 100%;
  max-width: 100%;
  accent-color: var(--lux-gold-solid);
}

/* Make range look premium (webkit) */
.single-property .pf-mortgage-form input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  height: 26px; /* gives room for thumb */
  background: transparent;
}

.single-property .pf-mortgage-form input[type="range"]::-webkit-slider-runnable-track{
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.10);
}

.single-property .pf-mortgage-form input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--lux-gold-solid);
  border: 2px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  margin-top: -6px; /* centers thumb on track */
  cursor: pointer;
}

.single-property .pf-mortgage-form input[type="range"]::-moz-range-track{
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.10);
}
.single-property .pf-mortgage-form input[type="range"]::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--lux-gold-solid);
  border: 2px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  cursor: pointer;
}

/* Small % pill shown next to some inputs (down/loan) */
.single-property .pf-mortgage-form .pf-percent{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  font-size: 12px;
  font-weight: 900;
  color: rgba(0,0,0,.70);
}

/* Residency pills */
.single-property .pf-radio-group{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.single-property .pf-radio-option{
  width: 100%;
  border-radius: 999px;
  padding: 10px 10px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  color: rgba(0,0,0,.72);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.single-property .pf-radio-option:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border-color: rgba(202,162,74,.35);
}

.single-property .pf-radio-option.active{
  background: rgba(202,162,74,.14) !important;
  border-color: rgba(202,162,74,.60) !important;
  color: #111 !important;
  box-shadow: 0 12px 30px rgba(202,162,74,.12);
}

/* Result box */
.single-property .pf-mortgage-result{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: grid;
  gap: 10px;
}

.single-property .pf-monthly-payment,
.single-property .pf-interest-rate{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.single-property .pf-monthly-payment span,
.single-property .pf-interest-rate span{
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,.62);
}

.single-property .pf-monthly-payment strong{
  font-size: 16px;
  font-weight: 950;
  color: #111;
}

.single-property .pf-interest-rate strong{
  font-size: 13px;
  font-weight: 950;
  color: rgba(0,0,0,.75);
}

/* Buttons inside result */
.single-property .pf-mortgage-result .pf-upfront-costs-btn,
.single-property .pf-mortgage-result .pf-mortgage-quote{
  width: 100%;
  border-radius: 14px !important;
  padding: 13px 12px !important;
  text-decoration: none;
}

.single-property .pf-mortgage-quote{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Mobile tuning */
@media (max-width: 768px){
  .single-property .pf-mortgage-calculator{
    border-radius: 16px;
    padding: 14px;
  }

  .single-property .pf-radio-group{
    grid-template-columns: 1fr;
  }

  .single-property .pf-radio-option{
    padding: 12px 12px;
  }
}
/* =====================================================
   MORTGAGE POPUP (Upfront Costs / Payment Breakdown)
   Premium Style
===================================================== */

.single-property .pf-upfront-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(10px);
  display: none;
}

/* Box */
.single-property .pf-upfront-modal .pf-modal-content{
  width: min(760px, 92vw);
  margin: 8vh auto;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  position: relative;
}

/* Title */
.single-property .pf-upfront-modal h3{
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  color: #111;
}

/* Close button */
.single-property .pf-upfront-modal .pf-modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.single-property .pf-upfront-modal .pf-modal-close:hover{
  border-color: var(--lux-gold-solid);
}

/* Tabs (Cash / Mortgage) */
.single-property .pf-modal-tabs{
  display:flex;
  gap:8px;
  margin-bottom:16px;
}

.single-property .pf-payment-tab{
  border:1px solid rgba(0,0,0,.10);
  background:#f6f6f7;
  padding:10px 14px !important;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
}

.single-property .pf-payment-tab.active{
  background:var(--lux-black);
  color:var(--lux-gold-solid);
  border-color:rgba(202,162,74,.55);
}

/* Cost list container */
.single-property #pf-upfront-details{
  margin-top:10px;
  border-top:1px solid rgba(0,0,0,.08);
  padding-top:12px;
}

/* Rows */
.single-property .pf-cost-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.single-property .pf-cost-label{
  font-size:14px;
  font-weight:700;
  color:rgba(0,0,0,.72);
}

.single-property .pf-cost-value{
  font-size:14px;
  font-weight:900;
  color:#111;
  white-space:nowrap;
}

/* Total row */
.single-property .pf-cost-row.total{
  border-bottom:none;
  margin-top:6px;
  padding-top:14px;
}

.single-property .pf-cost-row.total .pf-cost-label{
  font-weight:900;
  color:#000;
}

.single-property .pf-cost-row.total .pf-cost-value{
  color:var(--lux-gold-solid);
  font-size:16px;
}

/* Note text */
.single-property .pf-cost-note{
  margin-top:14px;
  font-size:13px;
  color:rgba(0,0,0,.60);
  line-height:1.5;
}

/* If content comes as plain text */
.single-property #pf-upfront-details{
  font-size:14px;
  line-height:1.6;
  color:rgba(0,0,0,.78);
}

.single-property #pf-upfront-details br{
  display:block;
  margin:8px 0;
}

/* Mobile */
@media (max-width:768px){

  .single-property .pf-upfront-modal .pf-modal-content{
    margin: 12vh auto;
    padding:18px 16px;
    border-radius:16px;
  }

  .single-property .pf-cost-row{
    grid-template-columns:1fr;
    gap:4px;
  }

  .single-property .pf-cost-value{
    font-size:15px;
  }

}

/* Close button fix (كان ظاهر دائرة فاضية) */
.single-property .pf-upfront-modal .pf-modal-close{
  color: #111 !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* Make rows look premium */
.single-property #pf-upfront-details .pf-cost-row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.single-property #pf-upfront-details .pf-cost-label{
  font-weight: 700;
  color: rgba(0,0,0,.72);
}

.single-property #pf-upfront-details .pf-cost-value{
  font-weight: 900;
  color: #111;
  white-space: nowrap;
}

.single-property #pf-upfront-details .pf-cost-row.total .pf-cost-value{
  color: var(--lux-gold-solid);
  font-size: 16px;
}

@media (max-width:768px){
  .single-property #pf-upfront-details .pf-cost-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* =========================
   Spacing for description & amenities buttons
========================= */

.single-property .pf-read-more{
  margin-top: 16px !important;
  margin-bottom: 6px !important;
}

.single-property .pf-see-all-amenities{
  margin-top: 16px !important;
}

/* =====================================================
   TWO-ROW STICKY HEADER (CENTERED & SPACED)
   Row 1: Price <--- GAP ---> Specs (Centered)
   Row 2: Scrollable Tabs
   Hidden: Actions (Save/Share)
===================================================== */

/* 1. إخفاء أزرار الإجراءات نهائياً */
.pf-sticky-actions {
    display: none !important;
}

/* 2. حاوية الهيدر */
.pf-sticky-header .pf-sticky-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px;
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto;
}

/* 3. السطر الأول: السعر والمواصفات */
.pf-sticky-header .pf-sticky-left {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 30px;
    
    /* هذا السطر هو الحل: يجبر العناصر تكون بجانب بعضها ليعمل الـ gap بدقة */
    justify-content: flex-start; 
    
    /* الآن يمكنك وضع أي رقم تريده هنا وسيتم تطبيقه بدقة */
    gap: 350px; 
}

/* تنسيق السعر */
.pf-sticky-header .pf-sticky-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}
.pf-sticky-header .pf-sticky-price .pf-amount {
    font-size: 24px;
    font-weight: 900;
    color: var(--lux-black);
    letter-spacing: -0.5px;
}
.pf-sticky-header .pf-sticky-price .pf-currency {
    font-size: 12px;
    color: var(--lux-gold-solid);
    font-weight: 700;
    text-transform: uppercase;
}

/* تنسيق المواصفات */
.pf-sticky-header .pf-sticky-specs {
    display: flex;
    gap: 20px;
    align-items: center;
}
.pf-sticky-header .pf-sticky-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0;
}
.pf-sticky-header .pf-sticky-spec svg {
    width: 22px;
    height: 22px;
    color: var(--lux-gold-solid);
}
.pf-sticky-header .pf-sticky-spec strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--lux-black);
}

/* 4. السطر الثاني: التبويبات (Tabs) */
.pf-sticky-header .pf-sticky-right {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;

    white-space: nowrap;
    padding-bottom: 2px;
}

.pf-sticky-header .pf-sticky-right::-webkit-scrollbar {
    height: 0px;
    background: transparent;
}

.pf-sticky-tabs {
    display: inline-flex;
    gap: 8px;
}

.pf-sticky-tabs button {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.pf-sticky-tabs button.active {
    background: var(--lux-black);
    color: var(--lux-gold-solid);
    border-color: var(--lux-black);
}

/* =========================
   تعديلات الموبايل
========================= */
@media (max-width: 768px) {
    .pf-sticky-header .pf-sticky-container {
        padding: 8px 12px;
    }
    
    /* تقليل المسافة قليلاً للموبايل لتناسب الشاشة */
    .pf-sticky-header .pf-sticky-left {
        gap: 30px; /* مسافة جيدة للموبايل (ليست بعيدة جداً وليست لاصقة) */
        justify-content: center;
    }
    
    .pf-sticky-header .pf-sticky-price .pf-amount {
        font-size: 20px; 
    }
    
    .pf-sticky-header .pf-sticky-spec svg {
        width: 18px;
    }

    .pf-sticky-header .pf-sticky-spec strong {
        font-size: 15px;
    }
    
    .pf-sticky-header .pf-sticky-right {
        justify-content: flex-start; /* سحب التبويبات من اليسار */
    }

    .pf-sticky-tabs button {
        padding: 6px 14px;
        font-size: 12px;
    }
}
.pf-faqs-section .pf-faq-item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  background: #fff;
}

.pf-faqs-section summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.pf-faqs-section summary::-webkit-details-marker { display: none; }

.pf-faq-answer {
  margin-top: 10px;
  opacity: .9;
}

.pf-see-all-faqs {
  margin-top: 14px;
}
.pf-sidebar { align-self: flex-start; }

.pf-contact-buttons {
  position: sticky;
  top: 90px;
  z-index: 10;
  background: #fff;
  padding: 12px 0;
}
/* =====================================================
   Similar Properties - Bayut-like (calmer) + Mobile slider
===================================================== */

.single-property .pf-similar-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top: 10px;
}

.single-property .pf-similar-item{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:12px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  text-decoration:none;
  color:inherit;
  box-shadow: 0 10px 26px rgba(0,0,0,.045);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.single-property .pf-similar-item:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.07);
}

.single-property .pf-similar-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  aspect-ratio: 4/3;
  background:#f3f4f6;
}

.single-property .pf-similar-details{
  padding:12px 12px 12px;
  min-width:0;
}

.single-property .pf-similar-price{
  font-weight: 800;            /* أهدى من 950 */
  font-size: 15px;             /* أهدى */
  margin: 0 0 6px;
  color: rgba(0,0,0,.86);
  letter-spacing: -.2px;
}

.single-property .pf-similar-title{
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 6px;
  color: rgba(0,0,0,.82);

  /* سطرين max زي Bayut */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-property .pf-similar-location{
  color: rgba(0,0,0,.55);
  font-size: 12px;
  margin: 0 0 10px;

  /* سطر واحد */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-property .pf-similar-specs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color: rgba(0,0,0,.62);
  font-weight: 700;
  font-size: 12px;
}

.single-property .pf-similar-specs span{
  display:inline-flex;
  gap:6px;
  align-items:center;
}

.single-property .pf-similar-specs svg{
  width:15px;
  height:15px;
  color: rgba(0,0,0,.42);
}

/* ====== Tablet: خلي الصورة أهدى شوية ====== */
@media (max-width: 1024px){
  .single-property .pf-similar-item{
    grid-template-columns: 150px 1fr;
  }
}

/* =====================================================
   MOBILE = Slider (Bayut-like)
   - horizontal scroll + snap
===================================================== */
@media (max-width: 768px){

  .single-property .pf-similar-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  /* إخفاء scrollbar */
  .single-property .pf-similar-grid::-webkit-scrollbar{ height:0; }
  .single-property .pf-similar-grid{ scrollbar-width:none; }

  .single-property .pf-similar-item{
    flex: 0 0 auto;
    width: 82vw;               /* كارت كبير زي Bayut */
    max-width: 360px;
    grid-template-columns: 1fr; /* صورة فوق + بيانات تحت */
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .single-property .pf-similar-item img{
    aspect-ratio: 16/10;
  }

  .single-property .pf-similar-details{
    padding: 12px;
  }

  .single-property .pf-similar-price{
    font-size: 15px;
    margin-bottom: 6px;
  }

  .single-property .pf-similar-specs{
    gap: 12px;
  }
}

/* =====================================================
   LUXVEN PATCH OVERRIDES (Append at end)
   - Calmer typography
   - Fix sticky header gap
   - Use global tokens
===================================================== */

body.single-property .pf-left .pf-section{
  border: 1px solid var(--lux-border) !important;
  border-radius: var(--lux-r-lg) !important;
  box-shadow: var(--lux-shadow-sm) !important;
}

/* Calm labels/values */
body.single-property .pf-detail-label{
  opacity: .62 !important;
  font-weight: 700 !important;
  color: var(--lux-muted) !important;
}
body.single-property .pf-detail-value{
  font-weight: 800 !important;
  color: var(--lux-text) !important;
}

/* Similar cards: calm weights */
.single-property .pf-similar-price{ font-weight: 800 !important; }
.single-property .pf-similar-title{ font-weight: 700 !important; }
.single-property .pf-similar-specs{ font-weight: 700 !important; color: rgba(0,0,0,.62) !important; }

/* Better mobile spacing */
@media (max-width: 768px){
  .pf-sticky-header .pf-sticky-left{
    gap: 12px !important;
    justify-content: space-between !important;
  }
}
.pf-insight-card{
  display:block;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}

.pf-insight-card:hover{
  text-decoration:none;
}
.pf-insight-categories{
  color:#666;
}
/* ===== Mobile overflow fix (Property page) ===== */
html, body{
  overflow-x: hidden;
  max-width: 100%;
}

.site-content, #content, .pf-wrapper{
  max-width: 100%;
  overflow-x: hidden;
}

/* مهم جداً مع grid/flex عشان العناصر ما ترفضش تنكمش */
.pf-wrapper, .pf-grid, .pf-left, .pf-sidebar,
.pf-section, .pf-details-grid, .pf-amenities-grid,
.pf-location-preview, .pf-mortgage-calculator{
  min-width: 0;
  max-width: 100%;
}

/* على الموبايل خلي العمودين يبقوا عمود واحد */
@media (max-width: 980px){
  .pf-grid{
    grid-template-columns: 1fr !important;
  }
}

/* ===== Mortgage calculator specifically ===== */
#pf-mortgage-calculator,
.pf-mortgage-calculator{
  max-width: 100%;
}

.pf-mortgage-form{
  min-width: 0;
}

.pf-mortgage-form .pf-field{
  min-width: 0;
}

.pf-mortgage-form input[type="range"]{
  width: 100%;
  max-width: 100%;
}

.pf-mortgage-form input[type="text"]{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* safety for media */
img, canvas, iframe{
  max-width: 100%;
  height: auto;
}
/* =========================
   Regulatory section (inside pf-left)
   - نفس شكل sections
   - مش بكامل العرض على الديسكتوب
========================= */

body.single-property .pf-left .pf-section.pf-regulatory{
  max-width: 860px !important;     /* اتحكم في العرض */
  width: 100% !important;
}

body.single-property .pf-left .pf-section.pf-regulatory .pf-regulatory-grid{
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  gap: 12px 22px !important;
  align-items: start;
}

body.single-property .pf-left .pf-section.pf-regulatory .pf-regulatory-grid > div:nth-child(odd){
  opacity: .65 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

body.single-property .pf-left .pf-section.pf-regulatory .pf-regulatory-grid > div:nth-child(even){
  font-weight: 900 !important;
  font-size: 13px !important;
  color: #111 !important;
}

/* =========================
   Mobile fix: Regulatory (no squeezed text)
========================= */
@media (max-width: 640px){
  body.single-property .pf-left .pf-section.pf-regulatory{
    padding: 14px !important;
  }

  /* خليه عمود واحد على الموبايل */
  body.single-property .pf-left .pf-section.pf-regulatory .pf-regulatory-grid{
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* اللابل */
  body.single-property .pf-left .pf-section.pf-regulatory .pf-regulatory-grid > div:nth-child(odd){
    font-size: 12px !important;
    margin-top: 10px !important;
    opacity: .65 !important;
  }

  /* القيمة */
  body.single-property .pf-left .pf-section.pf-regulatory .pf-regulatory-grid > div:nth-child(even){
    font-size: 13px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    margin-top: 2px !important;
  }
}
/* =========================
   Desktop: Sticky Sidebar (whole widget)
   - Buttons + Calculator move together
========================= */
@media (min-width: 1024px){

  /* لازم محدش يكسر sticky بسبب overflow/transform */
  body.single-property #page,
  body.single-property .site,
  body.single-property .site-content,
  body.single-property #content,
  body.single-property .content-area,
  body.single-property .inside-article{
    overflow: visible !important;
    transform: none !important;
    contain: none !important;
  }

  /* الجريد */
  body.single-property .pf-grid{
    align-items: start !important;
  }

  /* السايدبار نفسه sticky */
  body.single-property .pf-sidebar{
    position: sticky !important;
    top: 110px !important;  /* عدّلها حسب ارتفاع الهيدر */
    align-self: start !important;
  }

  /* امنع أي sticky/fixed على زرار الاتصال */
  body.single-property .pf-contact-buttons{
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    z-index: auto !important;
    background: transparent !important;
    padding: 0 !important;
  }

  /* شيل أي margin-top كانت معمولة للهروب من fixed */
  body.single-property .pf-mortgage-calculator{
    margin-top: 0 !important;
  }
}
/* =========================
   Mobile: smaller Property details only (not the title)
========================= */
@media (max-width:640px){

  /* لا نلمس العنوان */
  body.single-property .pf-info-section h2{
    font-size: inherit !important;
  }

  /* الشبكة */
  body.single-property .pf-details-list{
    gap: 8px !important;
  }

  /* السطر */
  body.single-property .pf-detail-item{
    grid-template-columns: 22px 105px 1fr !important;
    gap: 6px !important;
  }

  /* الأيقونات */
  body.single-property .pf-detail-item svg{
    width:14px !important;
    height:14px !important;
  }

  /* اللابل */
  body.single-property .pf-detail-label{
    font-size:12px !important;
  }

  /* القيمة */
  body.single-property .pf-detail-value{
    font-size:12.5px !important;
  }
}

#pf-map-modal{
  align-items:center;
  justify-content:center;
  padding:20px;
}

#pf-map-modal .pf-map-modal-content{
  margin:0 !important;
}

/* =========================
   MAP MODAL — LARGE / ALMOST FULL SCREEN
========================= */

#pf-map-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10,10,10,.68);
  backdrop-filter: blur(8px);

  align-items: center;
  justify-content: center;

  padding: 16px;
}

#pf-map-modal .pf-map-modal-content{
  position: relative;
  width: 96vw !important;
  max-width: 1400px !important;
  height: 90vh !important;
  margin: 0 !important;
  padding: 0 !important;

  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

#pf-map-modal #pf-map-container{
  width: 100% !important;
  height: 100% !important;
}

#pf-map-modal .pf-map-close,
#pf-map-modal .pf-modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;

  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

#pf-map-modal .pf-map-close:hover,
#pf-map-modal .pf-modal-close:hover{
  border-color: var(--lux-gold-solid);
  color: var(--lux-gold-solid);
}

@media (max-width: 768px){
  #pf-map-modal{
    padding: 0;
  }

  #pf-map-modal .pf-map-modal-content{
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0;
  }

  #pf-map-modal .pf-map-close,
  #pf-map-modal .pf-modal-close{
    top: 12px;
    right: 12px;
  }
}

/* =====================================================
   MAP MODAL — LARGE FULL VIEW + VISIBLE CLOSE
===================================================== */

#pf-map-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10,10,10,.68);
  backdrop-filter: blur(8px);

  align-items: center;
  justify-content: center;

  padding: 16px;
}

#pf-map-modal .pf-map-modal-content{
  position: relative;
  width: min(96vw, 1400px) !important;
  height: min(90vh, 900px) !important;
  margin: 0 !important;
  padding: 0 !important;

  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

#pf-map-modal #pf-map-container{
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
}

#pf-map-modal .pf-map-close,
#pf-map-modal .pf-modal-close{
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 999999 !important;

  width: 46px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.98) !important;
  color: #111 !important;

  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;

  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
}

#pf-map-modal .pf-map-close:hover,
#pf-map-modal .pf-modal-close:hover{
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

@media (max-width: 768px){
  #pf-map-modal{
    padding: 0;
  }

  #pf-map-modal .pf-map-modal-content{
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    border-radius: 0 !important;
  }

  #pf-map-modal .pf-map-close,
  #pf-map-modal .pf-modal-close{
    top: 12px !important;
    right: 12px !important;
  }
}