/* Findar V46116A — SAFE sticky PDP summary/tabs only.
   Scope: single property page. No route/archive/auth changes. */

.fmp16a-sticky-pdp{
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
  border-radius: 24px;
  margin: 18px 0 18px;
  overflow: hidden;
}
body.admin-bar .fmp16a-sticky-pdp{ top: 32px; }

.fmp16a-sticky-topline{
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.fmp16a-sticky-price{
  color: #071120;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.fmp16a-sticky-title{ min-width: 0; }
.fmp16a-sticky-title strong{
  display: block;
  color: #071120;
  font-size: clamp(16px, 1.15vw, 21px);
  font-weight: 850;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fmp16a-sticky-title span{
  display: block;
  color: #64748b;
  font-size: 14px;
  font-weight: 650;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fmp16a-sticky-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.fmp16a-sticky-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 850;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.fmp16a-contact{
  background: #087a4b;
  color: #fff !important;
  box-shadow: 0 14px 24px rgba(8,122,75,.18);
}
.fmp16a-whatsapp{
  background: #fff;
  color: #087a4b !important;
  border: 1px solid rgba(8,122,75,.35);
}
.fmp16a-contact:hover,
.fmp16a-whatsapp:hover{ transform: translateY(-1px); }

.fmp16a-sticky-tabs{
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 22px;
}
.fmp16a-sticky-tabs::-webkit-scrollbar{ display:none; }
.fmp16a-sticky-tabs a{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.fmp16a-sticky-tabs a::after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:0;
  height:3px;
  border-radius:999px 999px 0 0;
  background: transparent;
}
.fmp16a-sticky-tabs a.is-active,
.fmp16a-sticky-tabs a:hover{ color:#087a4b; }
.fmp16a-sticky-tabs a.is-active::after{ background:#087a4b; }

#fmp-tab-apercu,
#fmp-tab-description,
#fmp-tab-caracteristiques,
#fmp-tab-quartier,
#fmp-tab-ensoleillement{
  scroll-margin-top: 170px;
}

/* Keep V46115 fiche visible. This patch does not hide/replace the gallery/content/sidebar. */
.fmp-trulia-gallery{ margin-top: 8px; }

@media (max-width: 782px){
  body.admin-bar .fmp16a-sticky-pdp{ top: 46px; }
}

@media (max-width: 760px){
  .fmp16a-sticky-pdp{
    border-radius: 18px;
    margin: 12px 0 16px;
  }
  .fmp16a-sticky-topline{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .fmp16a-sticky-price{ font-size: 25px; }
  .fmp16a-sticky-title strong{ white-space: normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .fmp16a-sticky-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .fmp16a-sticky-actions a{
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }
  .fmp16a-sticky-tabs{
    padding: 0 8px;
  }
  .fmp16a-sticky-tabs a{
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }
  .fmp16a-sticky-tabs a::after{ left:14px; right:14px; }
  #fmp-tab-apercu,
  #fmp-tab-description,
  #fmp-tab-caracteristiques,
  #fmp-tab-quartier,
  #fmp-tab-ensoleillement{ scroll-margin-top: 210px; }
}
