/* PROENÇA 3.11.0 — camada estrutural sem paleta legada. Cores controladas pelo Design System 3.11.0. */
/* Portal Proença&Ferraz 3.10.11 — endereço automático, mapa fixo, municípios e WhatsApp. */
.pfo-page-title-hidden,
body.page .entry-title,
body.page .page-title,
body.page .wp-block-post-title,
body.page article > header.entry-header,
body.page main > .page-header,
body.page .pfi-page-heading {
  display:none!important;
}

.pfo-state-select,
.pfo-city-select {
  width:100%;
}

.pfo-location-editor {
  grid-column:1 / -1;
  
  border-radius:18px;
  
  padding:18px;
  display:grid;
  gap:14px;
}

.pfo-location-editor__heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.pfo-location-editor__heading > div:first-child {
  display:grid;
  gap:5px;
}

.pfo-location-editor__heading strong {
  
  font-size:1rem;
}

.pfo-location-editor__heading span,
.pfo-location-attribution,
.pfo-location-editor__status {
  
  font-size:.84rem;
  line-height:1.5;
}

.pfo-location-editor__actions {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}


.pfo-location-address-fields {
  display:grid;
  grid-template-columns:minmax(0, 1.5fr) minmax(220px, .8fr);
  gap:12px;
}

.pfo-location-address-fields label {
  display:grid;
  gap:6px;
  
  font-size:.82rem;
  font-weight:700;
}

.pfo-location-address-fields input {
  width:100%;
  min-height:44px;
  padding:10px 12px;
  
  border-radius:12px;
  
  
  
  font:inherit;
}



.pfo-location-map.is-address-locked,
.pfo-location-map--locked {
  position:relative;
}

.pfo-location-map--locked iframe {
  pointer-events:none;
}

.pfo-location-map.is-address-locked::after,
.pfo-location-map--locked.has-map::after {
  content:"Endereço fixado";
  position:absolute;
  z-index:3;
  top:10px;
  right:10px;
  padding:7px 10px;
  
  border-radius:999px;
  
  
  font-size:.72rem;
  font-weight:800;
  pointer-events:none;
}

.pfo-profile-address-lock {
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:11px;
  margin:10px 0 2px;
  padding:12px 14px;
  
  border-radius:14px;
  
}

.pfo-profile-address-lock > span {
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:50%;
  
  
}

.pfo-profile-address-lock div {
  display:grid;
  gap:3px;
  min-width:0;
}

.pfo-profile-address-lock strong {
  
  line-height:1.35;
}



.pfo-profile-address-lock > b {
  font-size:.92rem;
}

.pfo-location-map {
  width:100%;
  min-height:280px;
  overflow:hidden;
  
  border-radius:16px;
  
}

.pfo-location-map iframe {
  display:block;
  width:100%;
  min-height:320px;
  
  
}

.pfo-location-map__empty {
  min-height:280px;
  padding:28px;
  display:grid;
  place-content:center;
  justify-items:center;
  text-align:center;
  gap:7px;
  
}

.pfo-location-map__empty > span {
  width:54px;
  height:54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  
  
  font-size:1.65rem;
}



.pfo-location-map__empty small {
  max-width:460px;
  
  line-height:1.5;
}





.pfo-profile-location {
  overflow:hidden;
}

.pfo-profile-location .pfo-location-map {
  margin-top:12px;
}

.pfo-location-attribution {
  display:block;
  margin-top:8px;
}



.pfo-whatsapp-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  
  font-weight:700;
  text-decoration:none;
}

.pfo-whatsapp-link:hover {
  
  text-decoration:underline;
}

.pfo-whatsapp-icon {
  width:20px;
  height:20px;
  flex:0 0 auto;
}

.pfo-field-with-icon {
  position:relative;
}

.pfo-field-with-icon label {
  position:relative;
  display:block;
}

.pfo-field-with-icon > .pfo-whatsapp-icon,
.pfo-field-with-icon label > .pfo-whatsapp-icon {
  position:absolute;
  right:12px;
  bottom:13px;
  
  pointer-events:none;
}

.pfo-field-with-icon input {
  padding-right:42px!important;
}

.pfo-whatsapp-preview {
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:fit-content;
  margin:7px 0 8px;
  padding:7px 10px;
  
  border-radius:999px;
  
  
  font-size:.84rem;
  font-weight:700;
  line-height:1;
  text-decoration:none!important;
}

.pfo-whatsapp-preview[hidden] {
  display:none!important;
}

.pfo-whatsapp-preview svg {
  width:17px;
  height:17px;
}

.pfo-whatsapp-preview small {
  
  font-size:.72rem;
  font-weight:500;
}



@media (max-width: 780px){
  .pfo-location-editor__heading {
    display:grid;
  }
  .pfo-location-editor__actions {
    justify-content:stretch;
  }
  .pfo-location-editor__actions .pfo-button {
    width:100%;
  }
  .pfo-location-address-fields {
    grid-template-columns:1fr;
  }
  .pfo-location-map,
.pfo-location-map__empty {
    min-height:230px;
  }
  .pfo-location-map iframe {
    min-height:270px;
  }
}

/* PROENÇA 3.10.31 — localização clara. */


/* PROENÇA 3.10.31 — localização/WhatsApp em contraste alto */

.pfo-whatsapp-link{border-radius:999px!important;padding:6px 10px!important;font-weight:850!important;text-decoration:none!important;}
.pfo-whatsapp-link:hover{text-decoration:none!important;}

