﻿/* ── Shell (reutiliza posición fixed del chatbot) ── */
  .chatbot-shell { gap: 0; }
  .chatbot-launcher { display: none !important; }

  /* ── Wrapper relativo para picker + pill ── */
  .cta-float-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  /* ── Pill button ── */
  .cta-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.78rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(145deg, #7a2540 0%, #54192A 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
      0 1px 2px rgba(0,0,0,0.14),
      0 4px 20px rgba(110,33,55,0.38),
      inset 0 1px 0 rgba(255,255,255,0.10);
    transition:
      transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
      box-shadow 0.24s ease;
    position: relative;
    z-index: 1;
  }
  .cta-pill-btn:hover {
    transform: scale(1.04);
    box-shadow:
      0 1px 2px rgba(0,0,0,0.14),
      0 8px 32px rgba(110,33,55,0.52),
      inset 0 1px 0 rgba(255,255,255,0.10);
  }
  .cta-pill-btn:active { transform: scale(0.97); }
  .cta-pill-btn[aria-expanded="true"] {
    box-shadow:
      0 1px 2px rgba(0,0,0,0.14),
      0 6px 24px rgba(110,33,55,0.44),
      inset 0 1px 0 rgba(255,255,255,0.10);
  }
  .cta-pill-btn svg {
    flex-shrink: 0;
    opacity: 0.9;
  }

  /* ── Picker panel ── */
  .cta-picker {
    position: absolute;
    bottom: calc(100% + 0.65rem);
    right: 0;
    width: 298px;
    background: #fff;
    border: 1px solid rgba(212,200,188,0.75);
    border-radius: 18px;
    box-shadow:
      0 0 0 1px rgba(0,0,0,0.03),
      0 4px 12px rgba(0,0,0,0.06),
      0 16px 40px rgba(0,0,0,0.10),
      0 40px 80px rgba(0,0,0,0.12);
    overflow: hidden;
    /* Estado cerrado */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transform-origin: bottom right;
    transition:
      opacity 0.20s ease,
      visibility 0.20s ease,
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
  }
  .cta-picker.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  /* ── Picker header ── */
  .cta-picker-head {
    padding: 1.15rem 1.2rem 0.9rem;
    border-bottom: 1px solid rgba(231,222,214,0.7);
  }
  .cta-picker-head strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1F1720;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
  }
  .cta-picker-head span {
    display: block;
    font-size: 0.775rem;
    color: #5C5560;
    line-height: 1.4;
  }

  /* ── Opciones ── */
  .cta-picker-opts {
    padding: 0.4rem 0;
  }
  .cta-pick-opt {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1.1rem 0.7rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    transition: background 0.14s ease;
    border-radius: 0;
  }
  .cta-pick-opt:hover { background: rgba(247,244,239,0.9); }
  .cta-pick-opt:active { background: rgba(240,235,227,1); }

  .cta-pick-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .cta-pick-icon-demo {
    background: rgba(110,33,55,0.07);
    border: 1px solid rgba(110,33,55,0.14);
  }
  .cta-pick-icon-whatsapp {
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.18);
  }
  .cta-pick-icon-chat {
    background: rgba(59,130,246,0.07);
    border: 1px solid rgba(59,130,246,0.16);
  }
  .cta-pick-icon-modulos {
    background: rgba(200,169,126,0.12);
    border: 1px solid rgba(200,169,126,0.30);
  }
  .cta-pick-icon svg { display: block; }

  .cta-pick-body {
    flex: 1;
    min-width: 0;
  }
  .cta-pick-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: #1F1720;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.18rem;
  }
  .cta-pick-desc {
    display: block;
    font-size: 0.72rem;
    color: #9B9099;
    line-height: 1.3;
  }
  .cta-pick-arr {
    color: #C8C0BC;
    flex-shrink: 0;
    transition: transform 0.16s ease, color 0.16s ease;
  }
  .cta-pick-opt:hover .cta-pick-arr {
    transform: translateX(3px);
    color: #1F1720;
  }

  /* ── Footer del picker ── */
  .cta-picker-foot {
    padding: 0.7rem 1.2rem;
    border-top: 1px solid rgba(231,222,214,0.7);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    color: #9B9099;
    letter-spacing: 0.01em;
  }
  .cta-picker-foot::before {
    content: none;
  }

  /* ── Responsive ── */
  @media (max-width: 768px) {
    .chatbot-shell { right: 0.75rem; bottom: 0.75rem; }
    .cta-picker { width: calc(100vw - 1.5rem); right: 0; }
    .cta-pill-btn { width: 100%; justify-content: center; }
    .cta-float-wrap { width: 100%; }
  }

