/* Shared, clearly labelled WhatsApp links; no third-party widget is loaded. */
.massimo-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 22px;
  border: 2px solid #075e54;
  border-radius: 4px;
  background: #075e54;
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-decoration: none;
  text-align: left;
  box-sizing: border-box;
}
.massimo-whatsapp-link:visited { color: #fff; }
.massimo-whatsapp-link:hover { background: #05473f; border-color: #05473f; color: #fff; }
.massimo-whatsapp-link:focus-visible {
  outline: 3px solid #075e54;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #fff;
}
.massimo-whatsapp-link svg { width: 28px; height: 28px; flex: 0 0 28px; }
.massimo-whatsapp-link-text { display: grid; gap: 2px; }
.massimo-whatsapp-number { white-space: nowrap; font-weight: 500; }
.massimo-whatsapp-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid #d4d7cd;
}
.massimo-whatsapp-contact-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: normal;
  color: #272d27;
}
.massimo-whatsapp-contact-copy .massimo-whatsapp-contact-title { font-size: 22px; font-weight: 600; }
.massimo-whatsapp-footer-link { flex-shrink: 0; }
.massimo-whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(var(--massimo-whatsapp-bottom, 24px), calc(14px + env(safe-area-inset-bottom)));
  z-index: 40;
  min-width: 158px;
  border-radius: 999px;
  box-shadow: 0 4px 18px #0003;
}
.massimo-whatsapp-float[hidden], body:has(dialog[open]) .massimo-whatsapp-float { display: none; }
@media (max-width: 700px) {
  .massimo-whatsapp-contact { flex-direction: column; align-items: flex-start; gap: 18px; }
  .massimo-whatsapp-footer-link { max-width: 100%; }
  .massimo-whatsapp-float { right: max(14px, env(safe-area-inset-right)); min-width: 148px; padding: 12px 18px; }
}
