/* Przeniesione z views/front-page.twig */
        .home-main__form {
            opacity: 0;
            position: relative;
            z-index: 1;
        }

        .wrapper-locations .locations-main-content-places .places-wrapper-place-main__btns--btn {
            padding: 9px 9px 9px 28px;
            width: calc(50% - 5px);
            max-width: 100%;
        }
        .wrapper-locations .locations-main-content-places .places-wrapper-place-main__btns--btn:before {
            left: 12px !important
        }
        .wrapper-locations .locations-modals .places-wrapper-place-main__btns--btn:nth-of-type(1)::before {
            left: 76px !important
        }
        .wrapper-locations .locations-modals .places-wrapper-place-main__btns--btn:nth-of-type(4)::before {
            left: 115px !important
        }
        .wrapper-locations .locations-main-content-places .places-wrapper-place-main__btns--btn:nth-of-type(3)::before,
        .wrapper-locations .locations-modals .places-wrapper-place-main__btns--btn:nth-of-type(3)::before {
            content: url('../../img/web.svg')
        }
        .wrapper-locations .locations-main-content-places .places-wrapper-place-main__btns--btn:nth-of-type(4)::before,
        .wrapper-locations .locations-modals .places-wrapper-place-main__btns--btn:nth-of-type(4)::before {
            content: url('../../img/road.svg')
        }

        /* Belka CTA pod formularzem */
        #bemo-ai-cta-bar {
            width: 100%;
            background: #F2F0EB;
            border: 1px solid #B7B8BB;
            border-radius: 0 0 12px 12px;
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 12px 16px;
            box-sizing: border-box;
            position: relative;
            z-index: 3;
            margin-top: -6px;
        }

        #bemo-ai-cta-badge {
            font-family: Montserrat, sans-serif;
            font-weight: 800;
            font-size: 12px;
            letter-spacing: 0.2px;
            color: #111;
            white-space: nowrap;
            margin-left: 2px;
        }

        #bemo-ai-cta-text {
            font-family: Montserrat, sans-serif;
            font-weight: 500;
            font-size: 16px;
            color: #111;
            line-height: 1.2;
            flex: 1;
            min-width: 0;
            padding-left: 20px;
        }

        #bemo-ai-cta-text strong { font-weight: 600; }

        #bemo-ai-cta-btn {
            appearance: none;
            -webkit-appearance: none;
            border: 1px solid #E20613;
            background: transparent;
            color: #E20613;
            font-family: Montserrat, sans-serif;
            font-weight: 800;
            font-size: 16px;
            border-radius: 8px;
            padding: 10px 12px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            white-space: nowrap;
        }

        #bemo-ai-cta-btn img { width: 22px; height: 22px; display: block; }
        #bemo-ai-cta-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(226,6,19,0.15); }

        /* Responsywność belki */
        @media (max-width: 768px) {
            #bemo-ai-cta-bar { flex-wrap: wrap; gap: 12px; padding: 16px 14px; }
            #bemo-ai-cta-text { font-size: 14px; flex: 1 1 50%; }
            #bemo-ai-cta-btn { flex: 1 1 100%; justify-content: center; }
        }

        /* OKNO CZATU - WRAPPER */
        #bemo-ai-chat-wrapper, #bemo-ai-chat-wrapper * { box-sizing: border-box; }

        #bemo-ai-chat-wrapper {
            position: fixed;
            left: 90px; /* Wartość CHAT.left */
            bottom: 20px; /* Wartość CHAT.bottom */
            width: 380px; /* Wartość CHAT.width */
            height: 520px; /* Wartość CHAT.height */
            display: none;
            z-index: 9998;
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 10px 30px rgba(0,0,0,0.25);
            overflow: hidden;
        }

        #bemo-ai-chat-wrapper.is-open {
            display: grid;
            grid-template-rows: 56px 1fr; /* 56px to HEADER.height */
        }

        /* Header czatu */
        #bemo-ai-chat-header {
            background: #F2F0EB;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            min-width: 0;
        }

        #bemo-ai-chat-logo { width: 92px; height: 24px; display: block; object-fit: contain; flex: 0 0 auto; }
        #bemo-ai-chat-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; line-height: 1.15; color: #111; min-width: 0; flex: 1; }
        #bemo-ai-chat-close { flex: 0 0 auto; width: 36px; height: 36px; border: none; border-radius: 999px; cursor: pointer; background: transparent; font-size: 22px; line-height: 36px; text-align: center; color: #111; }

        /* Body czatu */
        #bemo-ai-chat-body {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            width: 100%;
            height: 100%;
            background: #fff;
            overflow: hidden;
            position: relative;
        }

        /* Beżowe tło na dole (strefa inputu) */
        #bemo-ai-chat-body::after {
            content: "";
            position: absolute;
            left: 0; right: 0; bottom: 0;
            height: 100px; /* INPUT_ZONE.height */
            background: #F2F0EB;
            pointer-events: none;
            z-index: 0;
        }

        #bemo-ai-chat-area { width: 100%; height: 100%; overflow: hidden; background: transparent; position: relative; z-index: 1; }
        zapier-interfaces-chatbot-embed { display: block; width: 100%; height: 100%; }

        /* Avatar dock */
        #bemo-ai-avatar-dock {
            height: 100%;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            z-index: 1;
        }

        #bemo-ai-avatar-dock video {
            height: 30%; /* AVATAR.scale */
            width: auto;
            max-width: 100%;
            object-fit: contain;
            pointer-events: none;
        }

        /* Mobile: brak awatara i poprawki okna */
        @media (max-width: 991px) {
            #bemo-ai-chat-wrapper {
                left: 12px !important;
                right: 12px !important;
                bottom: 90px !important;
                width: auto !important;
                height: calc(100dvh - 110px) !important;
                max-height: 600px !important;
                max-width: none !important;
            }
        }
