/* Live chat (T-2026-11-07-11): launcher with Vego + panel. Bottom corner, left on RTL pages. */
.vchat { --vc-navy: var(--navy, #1e497e); --vc-deep: var(--navy-deep, #12335f); --vc-teal: var(--teal, #3fb5b5); --vc-amber: var(--amber, #f8ae0a); --vc-line: var(--line, #e3e8ef); --vc-soft: var(--soft, #f3f6fa); --vc-text: var(--text, #3d4b5c); --vc-muted: var(--muted, #6b7a8c); position: fixed; inset-inline-end: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; font-size: 14px; line-height: 1.5; }
.vchat[hidden] { display: none; }
.vchat-launch { position: relative; width: 64px; height: 64px; padding: 0; border: 3px solid var(--vc-teal); border-radius: 50%; background: radial-gradient(circle at 50% 38%, #fff 0 55%, #e6f6f6 100%); box-shadow: 0 6px 20px rgba(18, 51, 95, .3); cursor: pointer; display: grid; place-items: center; overflow: visible; transition: transform .15s ease, box-shadow .15s ease; }
.vchat-launch:hover, .vchat-launch:focus-visible { transform: scale(1.06); box-shadow: 0 8px 24px rgba(18, 51, 95, .38); }
.vchat-launch:focus-visible { outline: 3px solid var(--vc-amber); outline-offset: 3px; }
.vchat-face { width: 48px; height: auto; border-radius: 0 0 22px 22px; margin-top: -4px; }
.vchat-x { display: none; width: 28px; height: 28px; color: #fff; }
.vchat.is-open .vchat-launch { background: var(--vc-navy); border-color: var(--vc-navy); }
.vchat.is-open .vchat-face { display: none; }
.vchat.is-open .vchat-x { display: block; }
.vchat-badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e0413a; color: #fff; font: 600 12px/22px var(--font, sans-serif); text-align: center; box-shadow: 0 0 0 2px #fff; }
.vchat-badge[hidden] { display: none; }
.vchat-panel { position: absolute; bottom: 78px; inset-inline-end: 0; width: 370px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 120px)); height: min(600px, calc(100dvh - 120px)); background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(18, 51, 95, .28); display: flex; flex-direction: column; overflow: hidden; color: var(--vc-text); }
.vchat-panel[hidden] { display: none; }
.vchat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; background: linear-gradient(135deg, var(--vc-deep), var(--vc-navy) 60%, #24679b); color: #fff; }
.vchat-head img { width: 46px; height: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.vchat-head div { flex: 1; min-width: 0; }
.vchat-head h2 { margin: 0; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.2; }
.vchat-sub { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, .85); }
.vchat-close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.vchat-close:hover, .vchat-close:focus-visible { background: rgba(255, 255, 255, .25); }
.vchat-close svg { width: 18px; height: 18px; }
.vchat-intro { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px 20px 20px; background: var(--vc-soft); }
.vchat-intro p { margin: 0; font-size: 15px; color: var(--vc-deep); }
.vchat-start, .vchat-go { border: 0; border-radius: 10px; background: var(--vc-teal); color: #fff; font: 600 15px var(--font, sans-serif); padding: 12px 16px; cursor: pointer; width: 100%; }
html[dir="rtl"] .vchat-start, html[dir="rtl"] .vchat-go, html[dir="rtl"] .vchat button, html[dir="rtl"] .vchat textarea, html[dir="rtl"] .vchat input { font-family: var(--font-ar, sans-serif); }
.vchat-start:hover, .vchat-go:hover, .vchat-start:focus-visible, .vchat-go:focus-visible { background: #2f9d9d; }
.vchat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--vc-soft); position: relative; }
.vchat-body[hidden], .vchat-foot[hidden], .vchat-intro[hidden] { display: none; }
.vchat-state { margin: 0; padding: 6px 14px; background: #fff3d6; color: #7a5200; font-size: 12.5px; text-align: center; }
.vchat-state[hidden] { display: none; }
.vchat-msgs { list-style: none; margin: 0; padding: 14px 12px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.vchat-m { max-width: 85%; align-self: flex-start; display: grid; gap: 2px; }
.vchat-m small { font-size: 11px; color: var(--vc-muted); padding-inline: 4px; }
.vchat-m div { background: #fff; border: 1px solid var(--vc-line); border-radius: 14px; border-start-start-radius: 4px; padding: 8px 12px; white-space: pre-line; overflow-wrap: anywhere; }
.vchat-m a { color: var(--vc-navy); text-decoration: underline; }
.vchat-m.is-guest { align-self: flex-end; }
.vchat-m.is-guest small { text-align: end; }
.vchat-m.is-guest div { background: var(--vc-navy); border-color: var(--vc-navy); color: #fff; border-radius: 14px; border-start-end-radius: 4px; }
.vchat-m.is-guest a { color: #fff; }
.vchat-m.is-agent div { background: #e8f6f6; border-color: #bfe5e5; }
.vchat-m.is-system { align-self: center; max-width: 92%; }
.vchat-m.is-system div { background: transparent; border: 0; padding: 2px 6px; color: var(--vc-muted); font-size: 12.5px; text-align: center; }
.vchat-m.is-offer { align-self: flex-start; }
.vchat-m.is-offer button { border: 1px solid var(--vc-teal); background: #fff; color: #227f7f; border-radius: 18px; padding: 6px 14px; font: 600 13px var(--font, sans-serif); cursor: pointer; }
.vchat-m.is-offer button:hover { background: #e8f6f6; }
.vchat-typing { display: flex; gap: 4px; padding: 0 16px 10px; }
.vchat-typing[hidden] { display: none; }
.vchat-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--vc-muted); opacity: .4; animation: vchat-dot 1.2s infinite ease-in-out; }
.vchat-typing i:nth-child(2) { animation-delay: .2s; }
.vchat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes vchat-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }
.vchat-hand { margin: 0 12px 12px; padding: 12px; background: #fff; border: 1px solid var(--vc-line); border-radius: 12px; display: grid; gap: 8px; }
.vchat-hand[hidden] { display: none; }
.vchat-hand p { margin: 0; font-size: 13px; }
.vchat-hand label { display: grid; gap: 2px; font-size: 12px; color: var(--vc-muted); }
.vchat-hand input { width: 100%; box-sizing: border-box; border: 1px solid var(--vc-line); border-radius: 8px; padding: 7px 10px; font-size: 14px; }
.vchat-hand-btns { display: flex; gap: 8px; }
.vchat-go { padding: 9px 12px; font-size: 14px; }
.vchat-cancel { flex: none; border: 1px solid var(--vc-line); background: #fff; border-radius: 10px; padding: 9px 12px; cursor: pointer; color: var(--vc-text); }
.vchat-foot { border-top: 1px solid var(--vc-line); padding: 10px 12px 8px; background: #fff; }
.vchat-form { display: flex; gap: 8px; align-items: flex-end; }
.vchat-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; box-sizing: border-box; border: 1px solid var(--vc-line); border-radius: 12px; padding: 10px 12px; font: 14px/1.4 var(--font, sans-serif); color: var(--vc-text); background: var(--vc-soft); }
.vchat-form textarea:focus { outline: 2px solid var(--vc-teal); outline-offset: 0; background: #fff; }
.vchat-send { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--vc-navy); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.vchat-send:disabled { opacity: .5; cursor: default; }
.vchat-send svg { width: 20px; height: 20px; }
html[dir="rtl"] .vchat-send svg { transform: scaleX(-1); }
.vchat-links { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; }
.vchat-person { border: 0; background: none; padding: 2px 0; color: var(--vc-navy); font: 600 12.5px var(--font, sans-serif); cursor: pointer; text-decoration: underline; }
.vchat-person[hidden] { display: none; }
.vchat-wa { color: var(--wa-dark, #128c4a); text-decoration: none; }
.vchat-wa:hover { text-decoration: underline; }
.vchat .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
	.vchat { inset-inline-end: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
	.vchat-launch { width: 58px; height: 58px; }
	.vchat-face { width: 42px; }
	.single-vego_tour .vchat { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
	.vchat.is-open { inset: 0; }
	.vchat.is-open .vchat-launch { display: none; }
	.vchat-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; }
	.vchat-head { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
	.vchat-foot { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
	.vchat-form textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .vchat-launch, .vchat-typing i { transition: none; animation: none; } }
@media print { .vchat { display: none !important; } }
