/* ═════════════════════════════════════════════════════════════
   Floating WhatsApp button (persistent, all service-store pages)
   Original component — uses the Font Awesome glyph and standard
   FAB pattern with green background, pulse ring and greeting tip.
   ═════════════════════════════════════════════════════════════ */
.mk-wa-fab{
  position:fixed;
  right:24px; bottom:24px;
  z-index:9999;
  display:flex; flex-direction:column; align-items:flex-end; gap:12px;
  pointer-events:none; /* children re-enable it */
}
.mk-wa-fab > *{ pointer-events:auto; }

/* Circular action button */
.mk-wa-fab-btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:flex-start;
  gap:12px;
  height:60px; padding:0 22px 0 0;
  border-radius:999px;
  background:#25D366;
  color:#fff !important;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(37,211,102,.42), 0 4px 12px rgba(0,0,0,.12);
  transition:transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, background .18s ease;
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  overflow:hidden;
  width:60px;                       /* collapsed to a circle by default */
}
.mk-wa-fab-btn:hover{
  background:#1ea855;
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(30,168,85,.46), 0 6px 14px rgba(0,0,0,.14);
  width:auto;                       /* expand on hover to show the label */
}
.mk-wa-fab-btn:focus-visible{ outline:3px solid #a5c47a; outline-offset:4px; }

/* Icon disc — sits inside the pill on the left */
.mk-wa-fab-icon{
  width:60px; height:60px; flex-shrink:0;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:28px; color:#fff;
  z-index:1;
}

/* Slide-in label */
.mk-wa-fab-label{
  font-size:14.5px; font-weight:700; letter-spacing:.01em;
  white-space:nowrap;
  opacity:0; max-width:0;
  transition:opacity .22s ease, max-width .22s ease;
  z-index:1;
}
.mk-wa-fab-btn:hover .mk-wa-fab-label,
.mk-wa-fab-btn:focus-visible .mk-wa-fab-label{
  opacity:1; max-width:180px;
}

/* Pulse ring */
.mk-wa-fab-pulse{
  position:absolute; inset:0;
  border-radius:999px;
  background:#25D366;
  opacity:.55;
  z-index:0;
  animation: mk-wa-pulse 2.4s ease-out infinite;
}
@keyframes mk-wa-pulse{
  0%   { transform:scale(1);    opacity:.55; }
  70%  { transform:scale(1.55); opacity:0;   }
  100% { transform:scale(1.55); opacity:0;   }
}

/* Greeting bubble that appears after a delay */
.mk-wa-fab-bubble{
  display:flex; align-items:flex-start; gap:10px;
  max-width:280px;
  padding:14px 16px;
  background:#fff;
  color:#0e1a12;
  border-radius:16px 16px 4px 16px;
  box-shadow:0 14px 34px rgba(21,62,50,.18), 0 4px 10px rgba(0,0,0,.08);
  border:0; text-align:left; cursor:pointer;
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  transform:translateY(6px) scale(.96);
  opacity:0;
  transition:opacity .32s ease, transform .32s cubic-bezier(.2,.7,.2,1);
}
.mk-wa-fab-bubble.is-shown{ opacity:1; transform:translateY(0) scale(1); }
.mk-wa-bubble-body{ display:flex; flex-direction:column; gap:2px; flex:1; }
.mk-wa-bubble-body strong{
  font-size:14px; font-weight:700; color:#0e1a12; letter-spacing:-.005em;
}
.mk-wa-bubble-body small{
  font-size:12.5px; color:#5e6f66; line-height:1.4;
}
.mk-wa-bubble-x{
  width:22px; height:22px; border-radius:50%; background:#f4f6f2;
  color:#68736c; display:inline-flex; align-items:center; justify-content:center;
  font-size:16px; line-height:1; flex-shrink:0;
}
.mk-wa-fab-bubble:hover .mk-wa-bubble-x{ background:#e7ebe2; color:#0e1a12; }

/* Mobile posture */
@media (max-width: 640px){
  .mk-wa-fab{ right:16px; bottom:16px; gap:10px; }
  .mk-wa-fab-btn, .mk-wa-fab-icon{ height:56px; }
  .mk-wa-fab-btn{ width:56px; }
  .mk-wa-fab-icon{ width:56px; font-size:25px; }
  .mk-wa-fab-bubble{ max-width:240px; padding:12px 14px; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .mk-wa-fab-pulse{ animation:none; }
  .mk-wa-fab-btn, .mk-wa-fab-bubble{ transition:none; }
}
