        /* ── Chat Widget ─────────────────────────────────── */
        #fb-chat-bubble {
            position: fixed;
            bottom: 16px;
            right: 80px;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: #a6192e;
            color: #fff;
            border: none;
            box-shadow: 0 6px 24px rgba(166, 25, 46, 0.45);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            z-index: 9999;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        #fb-chat-bubble:hover {
            transform: scale(1.08);
            box-shadow: 0 10px 32px rgba(166, 25, 46, 0.55);
        }

        #fb-chat-bubble .chat-badge {
            position: absolute;
            top: -3px;
            right: -3px;
            width: 18px;
            height: 18px;
            background: #dc3545;
            border-radius: 50%;
            font-size: 0.65rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #fff;
        }

        #fb-chat-panel {
            position: fixed;
            bottom: 96px;
            right: 28px;
            width: 360px;
            max-height: 520px;
            border-radius: 20px;
            background: #fff;
            box-shadow: 0 16px 56px rgba(166, 25, 46, 0.22),
                0 2px 8px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            z-index: 9998;
            overflow: hidden;
            transform: scale(0.92) translateY(16px);
            opacity: 0;
            pointer-events: none;
            transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.18s ease;
        }

        #fb-chat-panel.chat-open {
            transform: scale(1) translateY(0);
            opacity: 1;
            pointer-events: all;
        }

        .chat-header {
            background: linear-gradient(135deg, #a6192e 0%, #8b1326 100%);
            padding: 0.85rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            border-radius: 20px 20px 0 0;
        }

        .chat-header-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.18);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            flex-shrink: 0;
        }

        .chat-header-info {
            flex: 1;
        }

        .chat-header-name {
            color: #fff;
            font-weight: 700;
            font-size: 0.92rem;
            margin: 0;
            line-height: 1.2;
        }

        .chat-header-status {
            color: rgba(255, 255, 255, 0.78);
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            margin-top: 0.1rem;
        }

        .chat-header-status::before {
            content: "";
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #4ade80;
        }

        .chat-close-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.75);
            font-size: 1rem;
            cursor: pointer;
            padding: 0.25rem;
            line-height: 1;
            transition: color 0.15s;
        }

        .chat-close-btn:hover {
            color: #fff;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
            background: #f5f7fb;
            scroll-behavior: smooth;
        }

        .chat-messages::-webkit-scrollbar {
            width: 4px;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: #c5d0e0;
            border-radius: 4px;
        }

        .chat-msg {
            display: flex;
            gap: 0.5rem;
            max-width: 85%;
        }

        .chat-msg.bot {
            align-self: flex-start;
        }

        .chat-msg.user {
            align-self: flex-end;
            flex-direction: row-reverse;
        }

        .chat-msg-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #a6192e;
            color: #fff;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .chat-msg.user .chat-msg-avatar {
            background: #6c757d;
        }

        .chat-bubble {
            padding: 0.55rem 0.8rem;
            border-radius: 14px;
            font-size: 0.88rem;
            line-height: 1.45;
            word-break: break-word;
        }

        .chat-msg.bot .chat-bubble {
            background: #fff;
            color: #1a2740;
            border: 1px solid #e2e8f0;
            border-radius: 4px 14px 14px 14px;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        }

        .chat-msg.user .chat-bubble {
            background: #a6192e;
            color: #fff;
            border-radius: 14px 4px 14px 14px;
        }

        .chat-timestamp {
            font-size: 0.68rem;
            color: #94a3b8;
            margin-top: 0.15rem;
            padding: 0 0.25rem;
        }

        .chat-typing {
            display: flex;
            gap: 4px;
            align-items: center;
            padding: 0.55rem 0.8rem;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 4px 14px 14px 14px;
            width: fit-content;
        }

        .chat-typing span {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #94a3b8;
            animation: chatDot 1.2s infinite ease-in-out;
        }

        .chat-typing span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .chat-typing span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes chatDot {

            0%,
            60%,
            100% {
                transform: translateY(0);
                opacity: 0.5;
            }

            30% {
                transform: translateY(-5px);
                opacity: 1;
            }
        }

        .chat-suggestions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            padding: 0.5rem 1rem 0.65rem;
            background: #f5f7fb;
            border-top: 1px solid #edf0f5;
        }

        .chat-suggestion-btn {
            background: #fff;
            border: 1px solid #e8b4bb;
            color: #a6192e;
            border-radius: 999px;
            font-size: 0.76rem;
            padding: 0.3rem 0.7rem;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s;
            white-space: nowrap;
        }

        .chat-suggestion-btn:hover {
            background: #fdf0f2;
            border-color: #a6192e;
        }

        .chat-input-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: #fff;
            border-top: 1px solid #e8edf5;
        }

        .chat-input {
            flex: 1;
            border: 1px solid #d1dae8;
            border-radius: 999px;
            padding: 0.5rem 0.9rem;
            font-size: 0.88rem;
            outline: none;
            transition: border-color 0.15s;
            background: #f8fafc;
        }

        .chat-input:focus {
            border-color: #a6192e;
            background: #fff;
        }

        .chat-send-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #a6192e;
            color: #fff;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            flex-shrink: 0;
            transition: background 0.15s, transform 0.15s;
        }

        .chat-send-btn:hover {
            background: #8b1326;
            transform: scale(1.06);
        }

        .chat-send-btn:disabled {
            background: #94a3b8;
            cursor: default;
            transform: none;
        }

        @media (max-width: 480px) {
            #fb-chat-panel {
                width: 90%;
                right: 50%;
                bottom: 84px;
            }

            #fb-chat-panel.chat-open {
                transform: translateX(50%);
                opacity: 1;
                pointer-events: all;
            }

            #fb-chat-bubble {
                right: 80px;
                bottom: 16px;
            }
        }

        /* ── End Chat Widget ──────────────────────────────── */