/* Self-contained support and enquiry assistant */
#gp-chat-root{font-family:Arial,Helvetica,sans-serif;color:#f6f2e9;position:fixed;z-index:2147482000;right:22px;bottom:96px;font-size:14px;line-height:1.45}#gp-chat-root *{box-sizing:border-box}#gp-chat-launch{border:1px solid #D4AF37;border-radius:999px;background:#171717;color:#fff;box-shadow:0 8px 25px #0007;padding:13px 18px;cursor:pointer;font:700 14px Arial,sans-serif;display:flex;align-items:center;gap:8px}#gp-chat-launch:hover,#gp-chat-launch:focus-visible{background:#252525;outline:2px solid #D4AF37;outline-offset:2px}#gp-chat-launch .gp-dot{height:10px;width:10px;border-radius:50%;background:#52d59d}#gp-chat-panel{width:min(370px,calc(100vw - 24px));height:min(565px,calc(100dvh - 110px));background:#111111;border:1px solid #8a6a25;border-radius:16px;box-shadow:0 16px 50px #0009;display:flex;flex-direction:column;overflow:hidden;margin-bottom:12px}#gp-chat-panel[hidden]{display:none!important}.gp-head{background:#1b1b1b;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #ffffff24}.gp-head strong{display:block;font-size:15px;color:#E9C76B}.gp-head small{display:block;color:#cbd5e1;font-size:11px;margin-top:2px}.gp-close{background:transparent;color:#fff;border:0;font-size:24px;cursor:pointer;padding:0 4px}.gp-log{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}.gp-msg{max-width:92%;padding:10px 12px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.gp-bot{background:#252525;align-self:flex-start}.gp-user{background:#8b6d35;color:#fff;align-self:flex-end}.gp-choices{display:flex;flex-wrap:wrap;gap:7px;align-self:flex-start}.gp-choice{background:#202020;border:1px solid #D4AF37;color:#f8e5b9;border-radius:16px;padding:7px 10px;font:inherit;cursor:pointer}.gp-choice:hover,.gp-choice:focus-visible{background:#303030}.gp-inputrow{display:flex;gap:7px;padding:10px;border-top:1px solid #ffffff22}.gp-inputrow input{min-width:0;flex:1;border:1px solid #64748b;border-radius:8px;background:#f8fafc;color:#171717;padding:11px;font-size:14px}.gp-send{background:#D4AF37;color:#1B1B1B;border:0;border-radius:8px;font-weight:700;padding:0 12px;cursor:pointer}.gp-note{font-size:11px;color:#cbd5e1;padding:0 12px 10px}.gp-lead{background:#1d1d1d;padding:12px;border:1px solid #8a6a25;border-radius:10px;display:flex;flex-direction:column;gap:8px}.gp-lead label{font-size:12px;color:#f6e6c2}.gp-lead input,.gp-lead select{display:block;width:100%;padding:9px;border-radius:6px;border:1px solid #7c8797;margin-top:3px;color:#16243b;background:white;font:inherit}.gp-lead button,.gp-link{background:#D4AF37;color:#1B1B1B;border:0;border-radius:7px;padding:10px;font-weight:700;text-align:center;cursor:pointer;text-decoration:none}.gp-lead .gp-privacy{font-size:11px;color:#d4dce6;margin:0}.gp-lead .gp-consent{display:flex;gap:7px;align-items:flex-start}.gp-lead .gp-consent input{width:auto;margin:3px 0 0}.gp-chat-footer{display:flex;justify-content:center;padding:0 12px 8px}.gp-chat-footer button{background:none;border:0;color:#e8d4a5;text-decoration:underline;cursor:pointer;font-size:12px}@media(max-width:600px){#gp-chat-root{right:12px;bottom:86px}#gp-chat-panel{height:min(560px,calc(100dvh - 135px))}#gp-chat-launch{padding:12px 15px}}

/* Isolate chat layout from the site's global section styles. */
#gp-chat-root #gp-chat-panel {
  padding: 0;
  margin-top: 0;
  box-sizing: border-box;
  min-height: 0;
  max-height: calc(100dvh - 110px);
}
#gp-chat-root #gp-chat-panel .gp-head { flex: 0 0 auto; }
#gp-chat-root #gp-chat-panel .gp-log { min-height: 0; flex: 1 1 auto; overflow-y: auto; }
#gp-chat-root #gp-chat-panel .gp-inputrow,
#gp-chat-root #gp-chat-panel .gp-note,
#gp-chat-root #gp-chat-panel .gp-chat-footer { flex-shrink: 0; }
@media (max-width: 600px) {
  #gp-chat-root #gp-chat-panel { max-height: calc(100dvh - 125px); }
}

/* Conversion update: no redundant launcher below an open chat */
#gp-chat-root #gp-chat-launch[hidden]{display:none!important}
#gp-chat-root #gp-chat-panel{margin-bottom:0}
#gp-chat-root .gp-lead input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox}
/* Typing indicator and safe fixed chat controls */
#gp-chat-root .gp-typing{display:flex;align-items:center;gap:8px;color:#e5ebf5;font-size:12px}
#gp-chat-root .gp-typing-dots{display:inline-flex;gap:3px;align-items:center}
#gp-chat-root .gp-typing-dots i{width:5px;height:5px;border-radius:50%;background:#D4AF37;animation:gp-pulse 1s infinite alternate}
#gp-chat-root .gp-typing-dots i:nth-child(2){animation-delay:.2s}
#gp-chat-root .gp-typing-dots i:nth-child(3){animation-delay:.4s}
@keyframes gp-pulse{from{opacity:.25;transform:translateY(1px)}to{opacity:1;transform:translateY(-2px)}}
#gp-chat-root .gp-send:disabled{opacity:.55;cursor:wait}
#gp-chat-root .gp-inputrow input:disabled{opacity:.8}
@media(prefers-reduced-motion:reduce){#gp-chat-root .gp-typing-dots i{animation:none}}
/* Gemini-powered chat: keep the typing dots visually animated. */
#gp-chat-root .gp-typing{display:flex;flex-direction:row;align-items:center;gap:10px}
#gp-chat-root .gp-typing-dots i{display:inline-block;width:7px;height:7px;animation:gp-bounce 1.05s ease-in-out infinite}
#gp-chat-root .gp-typing-dots i:nth-child(2){animation-delay:.15s}
#gp-chat-root .gp-typing-dots i:nth-child(3){animation-delay:.3s}
@keyframes gp-bounce{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-6px);opacity:1}}
#gp-chat-root .gp-typing-label{font-size:11px;color:#dbe3ef}
#gp-chat-root #gp-chat-launch[hidden]{display:none!important}
#gp-chat-root .gp-inputrow input:disabled{opacity:.75}
@media(prefers-reduced-motion:reduce){#gp-chat-root .gp-typing-dots i{animation:none}}

/* Visibility fix: use span dots to avoid global icon/i rules. */
#gp-chat-root .gp-typing-dots {display:inline-flex!important;align-items:center!important;justify-content:center;gap:6px!important;min-width:44px;min-height:18px;flex:0 0 auto;visibility:visible!important;opacity:1!important;}
#gp-chat-root .gp-typing-dots > span {display:block!important;flex:0 0 8px!important;width:8px!important;height:8px!important;min-width:8px!important;min-height:8px!important;border-radius:50%!important;background-color:#D4AF37!important;visibility:visible!important;opacity:.45;transform:scale(.75);animation:gp-dot-breathe 1.3s ease-in-out infinite!important;}
#gp-chat-root .gp-typing-dots > span:nth-child(2){animation-delay:.18s!important;}
#gp-chat-root .gp-typing-dots > span:nth-child(3){animation-delay:.36s!important;}
@keyframes gp-dot-breathe {0%,100%{opacity:.35;transform:scale(.72)}45%{opacity:1;transform:scale(1.35)}}
@media (prefers-reduced-motion:reduce){#gp-chat-root .gp-typing-dots > span{animation:none!important;opacity:1!important;transform:none!important;}}

/* FINAL: label first, then visible animated dots. */
#gp-chat-root .gp-typing {display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;}
#gp-chat-root .gp-typing-label {order:1!important;white-space:nowrap;}
#gp-chat-root .gp-typing-dots {order:2!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;min-width:40px!important;visibility:visible!important;opacity:1!important;}
#gp-chat-root .gp-typing-dots > span {display:block!important;width:8px!important;height:8px!important;min-width:8px!important;min-height:8px!important;flex:0 0 8px!important;border-radius:50%!important;background:#D4AF37!important;visibility:visible!important;animation:gp-visible-pulse 1.2s ease-in-out infinite!important;}
#gp-chat-root .gp-typing-dots > span:nth-child(2){animation-delay:.2s!important;}
#gp-chat-root .gp-typing-dots > span:nth-child(3){animation-delay:.4s!important;}
@keyframes gp-visible-pulse {0%,100%{opacity:.4;transform:scale(.75)}45%{opacity:1;transform:scale(1.5)}}
@media(prefers-reduced-motion:reduce){#gp-chat-root .gp-typing-dots > span{animation:none!important;opacity:1!important;transform:none!important;}}

/* Live handoff controls */
#gp-chat-root .gp-chat-footer{flex-wrap:wrap;gap:8px;align-items:center}
#gp-chat-root .gp-live-button{background:#D4AF37;color:#1B1B1B;border-radius:7px;text-decoration:none;padding:8px 10px;font-weight:bold}
#gp-chat-root .gp-live-button:hover{background:#f1d48d}

/* Live agent typing indicator: uses the same animated three gold dots as Gemini. */
#gp-chat-root .gp-human-typing{display:flex;align-items:center;gap:7px;}
#gp-chat-root .gp-human-typing .gp-typing-dots>span{animation:gp-visible-pulse 1.2s ease-in-out infinite!important;}
#gp-chat-root .gp-human-typing .gp-typing-dots>span:nth-child(2){animation-delay:.2s!important;}
#gp-chat-root .gp-human-typing .gp-typing-dots>span:nth-child(3){animation-delay:.4s!important;}
@media(prefers-reduced-motion:reduce){#gp-chat-root .gp-human-typing .gp-typing-dots>span{animation:none!important;}}

/* Black and gold chatbot final overrides; scoped to avoid affecting site or animation. */
html body #gp-chat-root #gp-chat-panel{background:#121212!important;border:1px solid #94752e!important;color:#f5f5f5!important}
html body #gp-chat-root #gp-chat-panel .gp-head{background:#0b0b0d!important;border-bottom:1px solid #5d4b27!important}
html body #gp-chat-root #gp-chat-panel .gp-head strong{color:#d4af37!important}
html body #gp-chat-root #gp-chat-panel .gp-head small{color:#c6c6c6!important}
html body #gp-chat-root #gp-chat-panel .gp-log{background:#121212!important}
html body #gp-chat-root #gp-chat-panel .gp-msg.gp-bot{background:#252525!important;color:#f5f5f5!important}
html body #gp-chat-root #gp-chat-panel .gp-msg.gp-user{background:#473a20!important;color:#fff!important}
html body #gp-chat-root #gp-chat-panel .gp-choice{background:#111!important;color:#e9c76b!important;border:1px solid #b89439!important}
html body #gp-chat-root #gp-chat-panel .gp-choice:hover{background:#26221a!important}
html body #gp-chat-root #gp-chat-panel .gp-inputrow{background:#151515!important;border-top:1px solid #4a3b20!important}
html body #gp-chat-root #gp-chat-panel .gp-inputrow input{background:#242424!important;color:#fff!important;border:1px solid #6f592a!important}
html body #gp-chat-root #gp-chat-panel .gp-inputrow input::placeholder{color:#b7b7b7!important}
html body #gp-chat-root #gp-chat-panel .gp-send{background:#d4af37!important;color:#111!important}
html body #gp-chat-root #gp-chat-panel .gp-note,html body #gp-chat-root #gp-chat-panel .gp-chat-footer{background:#151515!important;color:#c9c9c9!important}
html body #gp-chat-root #gp-chat-panel .gp-lead{background:#1b1b1b!important;border:1px solid #94752e!important}
html body #gp-chat-root #gp-chat-launch{background:#111!important;border:1px solid #b89439!important;color:#fff!important}
html body #gp-chat-root #gp-chat-launch .gp-dot{background:#d4af37!important}
/* Extra breathing room above the separate WhatsApp widget. */
html body #gp-chat-root{bottom:125px!important}
@media(max-width:600px){html body #gp-chat-root{bottom:115px!important;right:12px!important}html body #gp-chat-root #gp-chat-panel{max-height:calc(100dvh - 155px)!important}}
