/* Rustico24 R195 · condivisione nella pagina dettaglio immobile. */
.property-detail-actions-r195{
  position:relative;
  z-index:20;
  display:flex;
  flex:0 0 auto;
  align-items:flex-start;
  gap:8px;
  margin-top:4px;
}
.property-detail-actions-r195 .property-detail-favorite-form{margin:0}
.property-detail-share-r195{position:relative;min-width:0}
.property-detail-share-button-r195{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.94);
  background:#fff;
  color:#253d67;
  box-shadow:0 6px 18px rgba(15,31,69,.14);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease;
}
.property-detail-share-r195--icon .property-detail-share-button-r195{
  width:50px;
  height:50px;
  min-width:50px;
  padding:0;
  border-radius:50%;
  border-color:#dbe5f2;
}
.property-detail-share-button-r195:hover,
.property-detail-share-button-r195[aria-expanded="true"]{
  transform:translateY(-1px);
  border-color:#b9cae0;
  background:#fff;
  box-shadow:0 9px 22px rgba(15,31,69,.18);
}
.property-detail-share-button-r195:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(30,99,233,.12),0 8px 20px rgba(15,31,69,.16);
}
.property-detail-share-button-r195 svg{
  width:19px;
  height:19px;
  flex:0 0 19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.property-detail-share-menu-r195{
  position:absolute;
  top:58px;
  right:0;
  z-index:80;
  width:194px;
  padding:7px;
  border:1px solid #dce5f1;
  border-radius:14px;
  background:rgba(255,255,255,.99);
  box-shadow:0 18px 40px rgba(16,37,78,.20);
  transform:translateX(var(--r195-share-shift,0px));
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.property-detail-share-menu-r195[data-menu-above="1"]{
  top:auto;
  bottom:58px;
}
.property-detail-share-menu-r195[hidden]{display:none!important}
.property-detail-share-menu-r195 button,
.property-detail-share-menu-r195 a{
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:40px;
  padding:9px 10px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#18345f;
  font:750 .82rem/1.15 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.property-detail-share-menu-r195 button:hover,
.property-detail-share-menu-r195 a:hover,
.property-detail-share-menu-r195 button:focus-visible,
.property-detail-share-menu-r195 a:focus-visible{
  background:#f1f6fd;
  outline:none;
}
.property-detail-share-menu-r195 button>span:first-child,
.property-detail-share-menu-r195 a>span:first-child{
  display:grid;
  place-items:center;
  flex:0 0 20px;
  width:20px;
  height:20px;
}

/* CTA di condivisione nel box visita. */
.property-detail-share-r195--sidebar{margin-top:10px}
.property-detail-share-r195--sidebar .property-detail-share-button-r195{
  min-height:46px;
  box-shadow:none;
}
.property-detail-share-r195--sidebar .property-detail-share-menu-r195{
  top:calc(100% + 8px);
  left:0;
  right:0;
  width:100%;
}
.property-detail-share-r195--sidebar .property-detail-share-menu-r195[data-menu-above="1"]{
  top:auto;
  bottom:calc(100% + 8px);
}

/* Barra azioni compatta: visibile soltanto su smartphone. */
.property-mobile-actions-r195{display:none}
@media (max-width:760px){
  body.property-detail-page main{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .detail-page-heading-r59{grid-template-columns:minmax(0,1fr) auto!important;align-items:start}
  .property-detail-actions-r195{gap:6px;margin-top:0}
  .property-detail-actions-r195 .property-detail-favorite-button,
  .property-detail-share-r195--icon .property-detail-share-button-r195{
    width:46px;
    height:46px;
    min-width:46px;
  }
  .property-mobile-actions-r195{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:70;
    display:flex;
    align-items:stretch;
    gap:7px;
    padding:8px max(10px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));
    border-top:1px solid rgba(209,220,235,.95);
    background:rgba(255,255,255,.97);
    box-shadow:0 -10px 30px rgba(16,37,78,.13);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  .property-mobile-action-r195,
  .property-detail-share-r195--mobile{
    flex:1 1 0;
    min-width:0;
  }
  .property-mobile-action-r195,
  .property-detail-share-r195--mobile .property-detail-share-button-r195{
    display:flex;
    width:100%;
    min-height:49px;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 7px;
    border:1px solid #d8e3f0;
    border-radius:13px;
    background:#fff;
    color:#18345f;
    box-shadow:none;
    font-size:.78rem;
    font-weight:850;
    line-height:1.05;
    text-decoration:none;
  }
  .property-mobile-action-r195:first-child{
    border-color:color-mix(in srgb,var(--portal-accent,#d7a64a) 78%,#b18431);
    background:var(--portal-accent,#d7a64a);
    color:#102a56;
  }
  .property-mobile-action-r195>span{font-size:1rem;line-height:1}
  .property-detail-share-r195--mobile .property-detail-share-button-r195 svg{width:17px;height:17px;flex-basis:17px}
  .property-detail-share-r195--mobile .property-detail-share-menu-r195{
    top:auto;
    right:0;
    bottom:calc(100% + 10px);
    width:min(216px,calc(100vw - 20px));
  }
  .property-detail-share-r195--mobile .property-detail-share-menu-r195[data-menu-above="1"]{
    top:auto;
    bottom:calc(100% + 10px);
  }
}
@media (max-width:420px){
  .property-mobile-action-r195,
  .property-detail-share-r195--mobile .property-detail-share-button-r195{font-size:.72rem;padding-inline:5px}
  .property-detail-share-menu-r195{width:min(194px,calc(100vw - 20px))}
}
