

      /* ── Desktop only ── */
      @media (max-width:1024px){ .cwa-wrap{ display:none !important; } }

      /* ── Root wrapper ── */
      .cwa-wrap {
        position: fixed;
        bottom: 28px;
        left: 24px;
        z-index: 999999;
        /*font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;*/
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s ease;
      }
      .cwa-wrap.cwa-visible {
        opacity: 1;
        pointer-events: auto;
      }

      /* ══════════════════════════════
         CHAT WINDOW
      ══════════════════════════════ */
      .cwa-window {
        width: 350px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,.25);
        flex-direction: column;
        background: #fff;
        display: none;
        opacity: 0;
        transform: scale(.94) translateY(12px);
        transform-origin: bottom left;
        transition: transform .28s cubic-bezier(.34,1.3,.64,1), opacity .22s ease;
      }
      .cwa-window.cwa-open {
        display: flex;
        opacity: 1;
        transform: scale(1) translateY(0);
      }

      /* ── Header ── */
      .cwa-header {
        background: #25D366;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        gap: 11px;
      }

      /* Full WhatsApp logo: white phone inside solid white circle */
      .cwa-header-logo {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        overflow: hidden;
      }
      .cwa-header-logo svg {
        width: 26px;
        height: 26px;
      }

      .cwa-header-label {
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: .01em;
        flex: 1;
      }

      /* Circular × close button */
      .cwa-close-btn {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(0,0,0,.15);
        border: none;
        color: #fff;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background .2s;
        padding: 0;
      }
      .cwa-close-btn:hover { background: rgba(0,0,0,.28); }

      /* ── Chat body - WhatsApp-style bg ── */
      .cwa-body {
        padding: 14px 12px 10px;
        background: #e5ddd5;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='%23cdc4bb' fill-opacity='0.22'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='30' cy='10' r='2'/%3E%3Ccircle cx='50' cy='10' r='2'/%3E%3Ccircle cx='70' cy='10' r='2'/%3E%3Ccircle cx='10' cy='30' r='2'/%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='50' cy='30' r='2'/%3E%3Ccircle cx='70' cy='30' r='2'/%3E%3Ccircle cx='10' cy='50' r='2'/%3E%3Ccircle cx='30' cy='50' r='2'/%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Ccircle cx='70' cy='50' r='2'/%3E%3Ccircle cx='10' cy='70' r='2'/%3E%3Ccircle cx='30' cy='70' r='2'/%3E%3Ccircle cx='50' cy='70' r='2'/%3E%3Ccircle cx='70' cy='70' r='2'/%3E%3C/g%3E%3C/svg%3E");
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      /* Individual bubble wrapper (bubble + timestamp) */
      .cwa-bubble-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
      }

      /* Bubble */
      .cwa-bubble {
        background: #fff;
        border-radius: 0 10px 10px 10px;
        padding: 8px 12px 6px;
        font-size: 13.5px;
        line-height: 1.5;
        color: #111;
        box-shadow: 0 1px 2px rgba(0,0,0,.13);
        position: relative;
        display: inline-block;
        max-width: 94%;
      }
      /* Speech-tail pointer */
      .cwa-bubble::before {
        content: '';
        position: absolute;
        top: 0; left: -7px;
        border: 7px solid transparent;
        border-top-color: #fff;
        border-left: none;
      }

      /* Timestamp below each bubble */
      .cwa-bubble-time {
        font-size: 10.5px;
        color: #888;
        padding-left: 4px;
      }

      /* ── Start Chat button ── */
      .cwa-start-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 10px 12px 12px;
        padding: 12px 18px;
        background: #25D366;
        color: #fff;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(37,211,102,.35);
        transition: background .2s, box-shadow .2s, transform .15s;
      }
      .cwa-start-btn:hover,
      .cwa-start-btn:focus {
        background: #20c45a;
        box-shadow: 0 4px 18px rgba(37,211,102,.55);
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
      }
      /* Speech-bubble icon on right of button */
      .cwa-start-btn svg {
        width: 19px;
        height: 19px;
        fill: #fff;
        flex-shrink: 0;
      }

      /* ══════════════════════════════
         FLOATING TRIGGER ROW
      ══════════════════════════════ */
      .cwa-trigger-row {
        display: flex;
        align-items: center;
      }

      /* FAB button */
      .cwa-fab {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: #25D366;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(37,211,102,.52);
        transition: transform .2s, box-shadow .2s;
        position: relative;
        flex-shrink: 0;
        outline: none;
        -webkit-tap-highlight-color: transparent;
      }
      .cwa-fab:hover,
      .cwa-fab:focus,
      .cwa-fab:active {
        background: #25D366 !important;
        transform: scale(1.08);
        box-shadow: 0 6px 22px rgba(37,211,102,.65);
      }
      .cwa-fab svg          { fill: #fff !important; }
      .cwa-fab:hover svg,
      .cwa-fab:focus svg,
      .cwa-fab:active svg   { fill: #fff !important; }

      /* Pulse ring */
      .cwa-pulse {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 3px solid #25D366;
        opacity: .55;
        animation: cwa-pulse 2.2s ease-out infinite;
        pointer-events: none;
      }
      @keyframes cwa-pulse {
        0%   { transform: scale(1);   opacity: .55; }
        70%  { transform: scale(1.65); opacity: 0;  }
        100% { transform: scale(1.65); opacity: 0;  }
      }

      /* Tooltip pill - RIGHT of FAB */
      .cwa-tooltip {
        background: #fff;
        color: #333;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 500;
        box-shadow: 0 2px 14px rgba(0,0,0,.15);
        white-space: nowrap;
        margin-left: 10px;
        /* hidden by default */
        opacity: 0;
        transform: translateX(6px);
        transition: opacity .25s, transform .25s;
        pointer-events: none;
      }
      /* Show on hover when window is NOT open */
      .cwa-trigger-row:hover .cwa-tooltip {
        opacity: 1;
        transform: translateX(0);
      }
      /* Hide tooltip when chat window is open (class toggled by JS) */
      .cwa-wrap.cwa-chat-open .cwa-tooltip {
        opacity: 0 !important;
        transform: translateX(6px) !important;
        pointer-events: none !important;
      }

    