:root{
  --mrwa-green:#1f8a6a;
  --mrwa-green2:#0f6e58;
  --mrwa-ink:#0f2a22;
  --mrwa-shadow: 0 16px 42px rgba(15,42,34,.22);
  --mrwa-radius: 999px;

  /* Floating button sizing */
  --mrwa-float-size: 60px;
  --mrwa-icon-size: 26px;
}

/* =========================
   Floating WhatsApp Button
   (Circular + pulse/glow)
   ========================= */
.mrwa-float{
  position: fixed;
  z-index: 9999;

  width: var(--mrwa-float-size);
  height: var(--mrwa-float-size);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  gap: 0;

  border-radius: var(--mrwa-radius);
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 55%),
              linear-gradient(180deg, var(--mrwa-green), var(--mrwa-green2));
  color: #fff !important;
  text-decoration: none !important;

  box-shadow: var(--mrwa-shadow);
  border: 1px solid rgba(255,255,255,.18);

  transform: translateZ(0);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Soft blurred aura ring */
.mrwa-float::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(31,138,106,.55) 0%, rgba(31,138,106,0) 65%);
  filter: blur(10px);
  opacity:.9;
  pointer-events:none;
  transition: opacity .14s ease, filter .14s ease;
}

/* Pulse ring */
.mrwa-float::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius: inherit;
  border: 2px solid rgba(255,255,255,.28);
  opacity:.0;
  pointer-events:none;
  animation: mrwaPulse 2.1s ease-out infinite;
}

@keyframes mrwaPulse{
  0%   { transform: scale(.92); opacity: 0; }
  20%  { opacity: .55; }
  55%  { opacity: .18; }
  100% { transform: scale(1.22); opacity: 0; }
}

.mrwa-float:hover{
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 18px 54px rgba(15,42,34,.26);
}

.mrwa-float:active{
  transform: translateY(-1px) scale(.98);
}

.mrwa-float:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(31,138,106,.28), var(--mrwa-shadow);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .mrwa-float::after{ animation: none; opacity:.18; }
  .mrwa-float,
  .mrwa-float:hover{ transition: none; transform: none; }
}

.mrwa-icon{
  width: var(--mrwa-icon-size);
  height: var(--mrwa-icon-size);
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19.11 17.53c-.27-.13-1.6-.8-1.85-.9-.25-.1-.43-.13-.61.13-.18.27-.7.9-.86 1.08-.16.18-.31.2-.58.07-.27-.13-1.14-.42-2.17-1.34-.8-.71-1.34-1.59-1.5-1.86-.16-.27-.02-.42.12-.55.12-.12.27-.31.4-.47.13-.16.18-.27.27-.45.09-.18.04-.34-.02-.47-.06-.13-.61-1.48-.84-2.03-.22-.53-.45-.46-.61-.47h-.52c-.18 0-.47.07-.72.34-.25.27-.95.93-.95 2.27 0 1.34.98 2.64 1.12 2.82.13.18 1.93 2.95 4.67 4.14.65.28 1.15.45 1.54.57.65.21 1.24.18 1.71.11.52-.08 1.6-.65 1.83-1.28.23-.63.23-1.17.16-1.28-.07-.11-.25-.18-.52-.31zM16.03 3C9.4 3 4 8.3 4 14.8c0 2.3.7 4.4 1.9 6.2L4 29l8.2-1.8c1.7.9 3.7 1.4 5.8 1.4 6.6 0 12-5.3 12-11.8C30 8.3 22.6 3 16.03 3zm0 23.1c-1.9 0-3.7-.5-5.3-1.4l-.4-.2-4.8 1.1 1-4.6-.3-.4c-1.1-1.6-1.7-3.5-1.7-5.6C4.53 9.7 9.02 5.2 16.03 5.2c5.4 0 10 4.5 10 9.6 0 5.2-4.5 11.3-10 11.3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19.11 17.53c-.27-.13-1.6-.8-1.85-.9-.25-.1-.43-.13-.61.13-.18.27-.7.9-.86 1.08-.16.18-.31.2-.58.07-.27-.13-1.14-.42-2.17-1.34-.8-.71-1.34-1.59-1.5-1.86-.16-.27-.02-.42.12-.55.12-.12.27-.31.4-.47.13-.16.18-.27.27-.45.09-.18.04-.34-.02-.47-.06-.13-.61-1.48-.84-2.03-.22-.53-.45-.46-.61-.47h-.52c-.18 0-.47.07-.72.34-.25.27-.95.93-.95 2.27 0 1.34.98 2.64 1.12 2.82.13.18 1.93 2.95 4.67 4.14.65.28 1.15.45 1.54.57.65.21 1.24.18 1.71.11.52-.08 1.6-.65 1.83-1.28.23-.63.23-1.17.16-1.28-.07-.11-.25-.18-.52-.31zM16.03 3C9.4 3 4 8.3 4 14.8c0 2.3.7 4.4 1.9 6.2L4 29l8.2-1.8c1.7.9 3.7 1.4 5.8 1.4 6.6 0 12-5.3 12-11.8C30 8.3 22.6 3 16.03 3zm0 23.1c-1.9 0-3.7-.5-5.3-1.4l-.4-.2-4.8 1.1 1-4.6-.3-.4c-1.1-1.6-1.7-3.5-1.7-5.6C4.53 9.7 9.02 5.2 16.03 5.2c5.4 0 10 4.5 10 9.6 0 5.2-4.5 11.3-10 11.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hide label for floating circular button (shortcode keeps label) */
.mrwa-float .mrwa-label{ display:none; }

.mrwa-label{
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  line-height: 1;
}

/* Shortcode button (inline) stays readable */
.mrwa-inline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 14px;
  background: rgba(31,138,106,.12);
  border: 1px solid rgba(31,138,106,.25);
  color: var(--mrwa-ink) !important;
  text-decoration:none !important;
}
.mrwa-inline:hover{
  background: rgba(31,138,106,.18);
}

/* Visibility helpers */
.mrwa-show-desktop{ display:none; }
.mrwa-show-mobile{ display:none; }

@media (min-width: 768px){
  .mrwa-show-desktop{ display:inline-flex; }
}
@media (max-width: 767px){
  .mrwa-show-mobile{ display:inline-flex; }
}

.mrwa-show-desktop.mrwa-show-mobile{ display:inline-flex; }
