/* Scheda immobile pubblica: fascia dei fatti chiave, servizi vicini, condivisione compatta.
   File autonomo (nessun @media annidato). Colori dal tema dell'agenzia: --brand, --brand-strong, --brand-rgb. */

.pd-ic {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-detail-ref {
  opacity: 0.7;
  font-size: 0.9em;
  white-space: nowrap;
}

.pd-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  max-width: 780px;
  margin: 18px 0 6px;
  border-top: 1px solid rgba(var(--brand-rgb, 15, 107, 75), 0.16);
  border-bottom: 1px solid rgba(var(--brand-rgb, 15, 107, 75), 0.16);
}

.pd-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid rgba(var(--brand-rgb, 15, 107, 75), 0.12);
}

.pd-fact:last-child {
  border-right: 0;
}

.pd-fact .pd-ic {
  width: 23px;
  height: 23px;
  margin-bottom: 5px;
  color: var(--brand, currentColor);
}

.pd-fact b {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  hyphens: none;
}

.pd-fact--text b {
  font-size: clamp(14px, 1.15vw, 17px);
}

.pd-fact small {
  font-size: 12px;
  opacity: 0.72;
}

.pd-more {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--brand-strong, var(--brand, currentColor));
}

.pd-more:hover {
  text-decoration: underline;
}

.pd-nearby {
  margin-top: 16px;
}

.pd-nearby-title {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.pd-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 6px 6px 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  background: rgba(var(--brand-rgb, 15, 107, 75), 0.07);
  border: 1px solid rgba(var(--brand-rgb, 15, 107, 75), 0.14);
}

.pd-chip .pd-ic {
  width: 17px;
  height: 17px;
  color: var(--brand, currentColor);
}

.pd-chip em {
  font-style: normal;
  opacity: 0.7;
}

/* Condivisione: una riga di icone rotonde, etichetta a video solo per gli screen reader. */
.property-detail-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.property-detail-share-actions .property-detail-share-label {
  margin: 0;
}

.property-detail-share-actions .property-detail-share-btn {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}

.property-detail-share-actions .property-detail-share-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.property-detail-share-actions .property-detail-share-btn--copy.is-copied::after {
  content: attr(data-copied-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  background: #111;
  color: #fff;
}

/* Telefoni: fatti chiave su due colonne, riferimento a capo senza punto elenco. */
@media (max-width: 560px) {
  .pd-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-fact:nth-child(even) {
    border-right: 0;
  }

  .pd-fact:nth-child(n + 3) {
    border-top: 1px solid rgba(var(--brand-rgb, 15, 107, 75), 0.12);
  }

  .property-detail-ref {
    display: block;
    margin-top: 2px;
  }

  .property-detail-ref .pd-dot {
    display: none;
  }
}

/* Sprite delle icone: presente nel DOM ma senza occupare spazio. */
.pd-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
