.pv-whatsapp-link {
  box-sizing: border-box;
  text-decoration: none !important;
}

.pv-whatsapp-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
}

.pv-whatsapp-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pv-whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  color: #fff !important;
  background: #128c4a;
  box-shadow: 0 12px 30px rgba(11,47,107,.22), 0 4px 12px rgba(18,140,74,.22);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.pv-whatsapp-floating .pv-whatsapp-icon {
  width: 27px;
  height: 27px;
}

.pv-whatsapp-floating:hover,
.pv-whatsapp-floating:focus-visible {
  color: #fff !important;
  background: #0f7b40;
  box-shadow: 0 16px 34px rgba(11,47,107,.28), 0 6px 16px rgba(18,140,74,.28);
  transform: translateY(-2px);
}

.pv-whatsapp-floating:focus-visible,
.pv-whatsapp-header:focus-visible,
.pv-whatsapp-cta:focus-visible {
  outline: 3px solid #f3c969;
  outline-offset: 3px;
}

.pv-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  color: inherit !important;
  font-weight: 600;
  white-space: nowrap;
  opacity: .96;
  transition: color .2s ease, opacity .2s ease;
}

.pv-whatsapp-header .pv-whatsapp-icon {
  color: #25d366;
  width: 18px;
  height: 18px;
}

.pv-whatsapp-header:hover {
  color: #25d366 !important;
  opacity: 1;
}

.pv-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(18,140,74,.22);
  border-radius: 10px;
  color: #0b2f6b !important;
  background: #f5fbf7;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 5px 16px rgba(11,47,107,.08);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.pv-whatsapp-cta .pv-whatsapp-icon {
  width: 22px;
  height: 22px;
  color: #128c4a;
}

.pv-whatsapp-cta:hover {
  color: #0b2f6b !important;
  background: #ecf8f0;
  box-shadow: 0 8px 20px rgba(11,47,107,.13);
  transform: translateY(-1px);
}

.pv-whatsapp-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(11,47,107,.12);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f7fbf8 100%);
  box-shadow: 0 8px 24px rgba(11,47,107,.08);
}

.pv-whatsapp-contact-copy {
  color: #0b2f6b;
  font-size: 17px;
  font-weight: 700;
}

.pv-whatsapp-inline-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
}

.pv-whatsapp-footer-wrap {
  margin-top: 14px;
}

@media (max-width: 767px) {
  .pv-whatsapp-floating {
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }

  .pv-whatsapp-floating-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }

  .pv-whatsapp-header {
    display: none;
  }

  .pv-whatsapp-contact-card {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .pv-whatsapp-contact-card .pv-whatsapp-cta,
  .pv-whatsapp-inline-wrap .pv-whatsapp-cta {
    width: 100%;
  }

  .pv-whatsapp-inline-wrap {
    display: flex;
    width: 100%;
    margin: 12px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv-whatsapp-floating,
  .pv-whatsapp-header,
  .pv-whatsapp-cta {
    transition: none;
  }
}

@media print {
  .pv-whatsapp-floating,
  .pv-whatsapp-header,
  .pv-whatsapp-contact-card,
  .pv-whatsapp-inline-wrap,
  .pv-whatsapp-footer-wrap {
    display: none !important;
  }
}
