/* Scarlett de la Ribera · WhatsApp flotante · compatible con Volver arriba v1.0 */
.sdr-floating-whatsapp,
.sdr-floating-whatsapp * { box-sizing: border-box; }
a.sdr-floating-whatsapp {
  -webkit-tap-highlight-color: transparent;
  position: fixed !important;
  z-index: 9989;
  right: clamp(16px, 2.5vw, 28px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0 !important;
  margin: 0 !important;
  border: 2px solid #fff5ef !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: white !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(22,66,40,.28), 0 0 0 1px rgba(120,49,69,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
a.sdr-floating-whatsapp:hover {
  color: #fff !important;
  background: #1da851 !important;
  transform: translateY(-3px);
  box-shadow: 0 11px 26px rgba(22,66,40,.34), 0 0 0 1px rgba(120,49,69,.18);
}
a.sdr-floating-whatsapp:focus-visible {
  outline: 3px solid #b45774 !important;
  outline-offset: 4px;
}
.sdr-floating-whatsapp__icon {
  display: block !important;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  fill: currentColor;
}
.sdr-floating-whatsapp__label {
  position: absolute;
  right: calc(100% + 13px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 8px;
  background: #5a2037;
  color: #fffaf6;
  box-shadow: 0 5px 16px rgba(33,12,23,.22);
  font-family: inherit;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.15;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
a.sdr-floating-whatsapp:hover .sdr-floating-whatsapp__label,
a.sdr-floating-whatsapp:focus-visible .sdr-floating-whatsapp__label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 600px) {
  a.sdr-floating-whatsapp {
    right: 14px;
    bottom: calc(17px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
  }
  .sdr-floating-whatsapp__label { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  a.sdr-floating-whatsapp,
  .sdr-floating-whatsapp__label { transition: none !important; }
}
