/* ---------- Floating WhatsApp chat assistant ---------- */
.l4g-chat-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff; border: 0; font-size: 1.9rem; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease;
}
.l4g-chat-btn:hover { transform: scale(1.07); }
.l4g-chat {
  position: fixed; right: 22px; bottom: 96px; z-index: 300; width: 360px; max-width: calc(100vw - 32px);
  background: #FFFFFF; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); overflow: hidden;
  display: none; flex-direction: column; font-size: 0.95rem;
}
.l4g-chat.open { display: flex; }
.l4g-chat-head { background: var(--e-global-color-primary, #1E2D4A); color: var(--e-global-color-l4gcream, #FAF7F2); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.l4g-chat-head img { width: 38px; height: 38px; border-radius: 10px; }
.l4g-chat-head strong { display: block; font-size: 0.98rem; }
.l4g-chat-head span { font-size: 0.78rem; color: var(--e-global-color-l4gonnavy, #C4CBD8); }
.l4g-chat-close { margin-left: auto; background: none; border: 0; color: var(--e-global-color-l4gcream, #FAF7F2); font-size: 1.3rem; cursor: pointer; }
.l4g-chat-body { padding: 16px; max-height: 330px; overflow-y: auto; background: var(--e-global-color-l4gcream, #FAF7F2); display: flex; flex-direction: column; }
.l4g-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; margin-bottom: 10px; line-height: 1.5; }
.l4g-bot { background: #FFFFFF; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.l4g-user { background: var(--e-global-color-primary, #1E2D4A); color: var(--e-global-color-l4gcream, #FAF7F2); align-self: flex-end; border-bottom-right-radius: 4px; }
.l4g-chips { display: flex; flex-wrap: wrap; padding: 10px 12px 4px; background: #FFFFFF; border-top: 1px solid var(--e-global-color-l4gline, #E6DFD3); }
.l4g-chip { background: var(--e-global-color-l4gsand, #F2ECE2); border: 0; border-radius: 999px; padding: 7px 12px; margin: 0 6px 6px 0; font-family: "Poppins", sans-serif; font-size: 0.8rem; color: var(--e-global-color-primary, #1E2D4A); cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.l4g-chip:hover { background: var(--e-global-color-secondary, #EC6C53); color: var(--e-global-color-primary, #1E2D4A); }
.l4g-chat-form { display: flex; padding: 10px 12px 12px; background: #FFFFFF; }
.l4g-chat-form input { flex: 1; border: 1.5px solid var(--e-global-color-l4gline, #E6DFD3); border-radius: 999px; padding: 10px 14px; font-family: "Poppins", sans-serif; font-size: 0.9rem; }
.l4g-chat-form input:focus { outline: none; border-color: var(--e-global-color-secondary, #EC6C53); }
.l4g-chat-form button { margin-left: 8px; border: 0; background: var(--e-global-color-secondary, #EC6C53); color: var(--e-global-color-primary, #1E2D4A); border-radius: 999px; padding: 0 16px; font-weight: 600; cursor: pointer; }
.l4g-wa { display: block; text-align: center; background: #25D366; color: #fff !important; text-decoration: none; font-weight: 600; padding: 12px; }
.l4g-wa:hover { background: #1ebe5b; }

.l4g-chat, .l4g-chat button, .l4g-chat input { font-family: "Poppins", sans-serif; } .l4g-sr { position:absolute; left:-9999px; }
/* Beat Elementor/Astra global button styles */
body button.l4g-chat-btn { background: #25D366 !important; color: #fff !important; border: 0 !important; border-radius: 50% !important; padding: 0 !important; width: 62px; height: 62px; line-height: 1; box-shadow: 0 10px 28px rgba(0,0,0,.25) !important; }
body button.l4g-chat-btn svg { width: 30px; height: 30px; }
body .l4g-chat button.l4g-chat-close { background: none !important; border: 0 !important; color: var(--e-global-color-l4gcream, #FAF7F2) !important; padding: 0 4px !important; font-size: 1.4rem !important; }
body .l4g-chat button.l4g-chip { background: var(--e-global-color-l4gsand, #F2ECE2) !important; color: var(--e-global-color-primary, #1E2D4A) !important; border: 0 !important; border-radius: 999px !important; padding: 7px 12px !important; font-size: .8rem !important; font-weight: 500 !important; line-height: 1.3 !important; }
body .l4g-chat button.l4g-chip:hover { background: var(--e-global-color-secondary, #EC6C53) !important; }
body .l4g-chat .l4g-chat-form button { background: var(--e-global-color-secondary, #EC6C53) !important; color: var(--e-global-color-primary, #1E2D4A) !important; border: 0 !important; border-radius: 999px !important; padding: 0 16px !important; font-size: .9rem !important; }
body .l4g-chat .l4g-chat-form input { background: #fff !important; color: var(--e-global-color-primary, #1E2D4A) !important; }
body .l4g-chat a.l4g-wa { display: flex; align-items: center; justify-content: center; gap: 8px; }
body .l4g-chat a.l4g-wa svg { width: 18px; height: 18px; }
