/* Shared public contact buttons; kept clear of the existing back-to-top control. */
#ppf-contact-actions {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 40px;
  background: rgba(16, 16, 16, .9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#ppf-contact-actions .ppf-contact-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ppf-contact-whatsapp { background: #128c4c; }
.ppf-contact-phone { background: var(--primary-color, #ee1f23); }
.ppf-contact-action i { font-size: 25px; line-height: 1; }
.ppf-contact-whatsapp i { font-size: 29px; }
#ppf-contact-actions .ppf-contact-action:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
#ppf-contact-actions .ppf-contact-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.ppf-contact-label {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translate(4px, -50%);
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.ppf-contact-action:hover .ppf-contact-label,
.ppf-contact-action:focus-visible .ppf-contact-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
@media (max-width: 992px) {
  #ppf-contact-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
    gap: 8px;
    padding: 6px;
  }
  #ppf-contact-actions .ppf-contact-action { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  #ppf-contact-actions .ppf-contact-action, .ppf-contact-label { transition: none; }
}
@media print { #ppf-contact-actions { display: none; } }
