    /* ============================================
       🎨 PERSONALIZACIÓN — MODIFICA AQUÍ
       ============================================ */
    :root {
      --wa-primary: #25D366;        /* Color principal del botón */
      --wa-dark: #128C7E;           /* Color secundario / hover */
      --wa-chat-bg: #ECE5DD;        /* Fondo del chat */
      --wa-bubble: #DCF8C6;         /* Burbuja de mensaje */
      --wa-header: #075E54;         /* Cabecera del chat */
      --wa-text: #333333;           /* Color de texto */
      --wa-tooltip-bg: #FFFFFF;     /* Fondo del tooltip */
      --wa-tooltip-text: #555555;   /* Texto del tooltip */
      --wa-shadow: 0 4px 20px rgba(0,0,0,0.25);
      --wa-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    /* ============================================
       🔧 ESTILOS BASE
       ============================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: var(--wa-font);
      min-height: 200vh;
      background: #f0f0f0;
    }

    /* ============================================
       💬 BOTÓN FLOTANTE DE WHATSAPP
       ============================================ */
    .wa-widget-btn {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 64px;
      height: 64px;
      background: var(--wa-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10000;
      box-shadow: var(--wa-shadow);
      transition: transform 0.3s ease, background 0.3s ease;
      border: none;
      outline: none;
    }

    .wa-widget-btn:hover {
      transform: scale(1.1);
      background: var(--wa-dark);
    }

    .wa-widget-btn.active {
      transform: rotate(0deg);
    }

    .wa-widget-btn svg {
      width: 36px;
      height: 36px;
      fill: white;
      transition: transform 0.3s ease;
    }

    .wa-widget-btn.active svg {
      transform: rotate(90deg);
    }

    /* ---------- ANIMACIÓN DE PULSO ---------- */
    .wa-widget-btn::before,
    .wa-widget-btn::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: var(--wa-primary);
      opacity: 0;
      z-index: -1;
    }

    .wa-widget-btn.pulse::before {
      animation: wa-pulse-ring 2s ease-out infinite;
    }

    .wa-widget-btn.pulse::after {
      animation: wa-pulse-ring 2s ease-out infinite 0.6s;
    }

    @keyframes wa-pulse-ring {
      0% {
        transform: scale(1);
        opacity: 0.5;
      }
      100% {
        transform: scale(1.8);
        opacity: 0;
      }
    }

    /* ---------- TOOLTIP ---------- */
    .wa-tooltip {
      position: fixed;
      bottom: 100px;
      right: 24px;
      background: var(--wa-tooltip-bg);
      color: var(--wa-tooltip-text);
      padding: 12px 18px;
      border-radius: 12px;
      box-shadow: var(--wa-shadow);
      font-size: 14px;
      font-weight: 500;
      max-width: 220px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px) scale(0.95);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      z-index: 9999;
    }

    .wa-tooltip::after {
      content: '';
      position: absolute;
      bottom: -8px;
      right: 28px;
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 8px solid var(--wa-tooltip-bg);
    }

    .wa-tooltip.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    /* ---------- VENTANA DE CHAT ---------- */
    .wa-chat-window {
      position: fixed;
      bottom: 100px;
      right: 24px;
      width: 370px;
      max-width: calc(100vw - 32px);
      height: 480px;
      max-height: calc(100vh - 140px);
      background: var(--wa-chat-bg);
      border-radius: 16px;
      box-shadow: var(--wa-shadow);
      z-index: 9999;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px) scale(0.95);
      transform-origin: bottom right;
      transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .wa-chat-window.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    /* ---------- CABECERA ---------- */
    .wa-chat-header {
      background: var(--wa-header);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .wa-chat-header img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(255,255,255,0.3);
    }

    .wa-chat-header-info h4 {
      color: white;
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .wa-chat-header-info p {
      color: rgba(255,255,255,0.8);
      font-size: 12px;
    }

    .wa-chat-close {
      margin-left: auto;
      background: none;
      border: none;
      color: white;
      font-size: 22px;
      cursor: pointer;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: background 0.2s;
    }

    .wa-chat-close:hover {
      background: rgba(255,255,255,0.15);
    }

    /* ---------- CUERPO DEL CHAT ---------- */
    .wa-chat-body {
      flex: 1;
      padding: 20px 16px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
      background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 15 L30 12 L25 15 Z' fill='%23e0dbd0' opacity='0.3'/%3E%3C/svg%3E");
    }

    .wa-chat-date {
      text-align: center;
      font-size: 11px;
      color: #999;
      background: rgba(255,255,255,0.7);
      padding: 4px 12px;
      border-radius: 8px;
      align-self: center;
      margin-bottom: 8px;
    }

    .wa-message {
      max-width: 82%;
      padding: 8px 12px;
      border-radius: 10px;
      font-size: 14px;
      line-height: 1.45;
      position: relative;
      animation: wa-fadeIn 0.3s ease;
    }

    .wa-message.incoming {
      background: white;
      color: var(--wa-text);
      align-self: flex-start;
      border-top-left-radius: 2px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    }

    .wa-message.outgoing {
      background: var(--wa-bubble);
      color: var(--wa-text);
      align-self: flex-end;
      border-top-right-radius: 2px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    }

    .wa-message .wa-time {
      display: block;
      text-align: right;
      font-size: 10px;
      color: #999;
      margin-top: 4px;
    }

    @keyframes wa-fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ---------- FOOTER / CTA ---------- */
    .wa-chat-footer {
      padding: 12px 16px;
      background: #f5f5f5;
      border-top: 1px solid #ddd;
    }

    .wa-chat-footer a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      padding: 14px 20px;
      background: var(--wa-primary);
      color: white;
      text-decoration: none;
      border-radius: 30px;
      font-size: 15px;
      font-weight: 600;
      transition: background 0.3s ease, transform 0.2s ease;
      border: none;
      cursor: pointer;
    }

    .wa-chat-footer a:hover {
      background: var(--wa-dark);
      transform: scale(1.02);
    }

    .wa-chat-footer a svg {
      width: 22px;
      height: 22px;
      fill: white;
    }

    /* ---------- BADGE DE NOTIFICACIÓN ---------- */
    .wa-badge {
      position: absolute;
      top: -2px;
      right: -2px;
      width: 20px;
      height: 20px;
      background: #FF3B30;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      color: white;
      border: 2px solid white;
      animation: wa-badge-bounce 2s infinite;
    }

    @keyframes wa-badge-bounce {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.2); }
    }

    /* ============================================
       📱 RESPONSIVE — MÓVIL
       ============================================ */
    @media (max-width: 480px) {
      .wa-widget-btn {
        bottom: 16px;
        right: 16px;
        width: 58px;
        height: 58px;
      }

      .wa-widget-btn svg {
        width: 30px;
        height: 30px;
      }

      .wa-chat-window {
        width: calc(100vw - 16px);
        height: calc(100vh - 120px);
        bottom: 84px;
        right: 8px;
        border-radius: 12px;
        max-height: unset;
      }

      .wa-tooltip {
        right: 16px;
        bottom: 86px;
        max-width: 200px;
        font-size: 13px;
      }

      .wa-tooltip::after {
        right: 22px;
      }
    }

    /* ============================================
       🖥️ RESPONSIVE — TABLET
       ============================================ */
    @media (min-width: 481px) and (max-width: 768px) {
      .wa-chat-window {
        width: 350px;
        height: 440px;
      }
    }

    /* ============================================
       ⚙️ CLASES DE UTILIDAD
       ============================================ */
    .wa-hidden { display: none !important; }  