/* Keep every rule scoped: this component is shared by two independent themes. */
.wab-contact { --wab-contact-edge: 24px; position: fixed; right: calc(var(--wab-contact-edge) + env(safe-area-inset-right, 0px)); bottom: calc(var(--wab-contact-edge) + env(safe-area-inset-bottom, 0px)); z-index: 1040; width: 60px; height: 60px; color: #213347; font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; text-align: left; pointer-events: none; }
.wab-contact *, .wab-contact *::before, .wab-contact *::after { box-sizing: border-box; }
.wab-contact [hidden] { display: none !important; }
.wab-contact button, .wab-contact a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; font: inherit; text-decoration: none; }
.wab-contact button { cursor: pointer; }
.wab-contact button:focus-visible, .wab-contact a:focus-visible { outline: 3px solid #188638; outline-offset: 3px; }
/* Brand green with a subtle tonal gradient and a high-contrast chat mark. */
.wab-contact-toggle { width: 60px; height: 60px; display: grid; place-items: center; position: relative; padding: 0; margin: 0; border: 1px solid #59cf64; border-radius: 50%; color: #123b1b; background: linear-gradient(145deg, #50ce5c 0%, #3fc34c 55%, #34b944 100%); box-shadow: 0 6px 20px rgba(48,150,61,.18), 0 2px 6px rgba(48,150,61,.10); pointer-events: auto; transition: transform 200ms ease, box-shadow 200ms ease; }
.wab-contact-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(48,150,61,.24); }
.wab-contact-toggle:active { transform: scale(.96); }
.wab-contact-toggle svg { position: absolute; width: 34px; height: 34px; fill: currentColor; transition: opacity 200ms ease, transform 200ms ease; }
.wab-contact-close-mark { opacity: 0; transform: rotate(-45deg) scale(.7); }
.wab-contact-toggle[aria-expanded="true"] .wab-contact-chat-mark { opacity: 0; transform: rotate(35deg) scale(.7); }
.wab-contact-toggle[aria-expanded="true"] .wab-contact-close-mark { opacity: 1; transform: rotate(0) scale(.8); }
.wab-contact-panel { position: absolute; bottom: 76px; right: 0; width: 326px; max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); max-height: calc(100vh - 116px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 116px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #e5edf3; border-radius: 20px; box-shadow: 0 18px 64px rgba(30,53,78,.18), 0 3px 12px rgba(30,53,78,.06); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: bottom right; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease, visibility 200ms; }
.wab-contact-panel[aria-hidden="false"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.wab-contact-heading { padding: 22px 22px 17px; background: linear-gradient(120deg, #effbf7, #f1f8ff); border-bottom: 1px solid #edf2f7; }
.wab-contact-eyebrow { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 600; letter-spacing: .025em; color: #48847f; }
.wab-contact .wab-contact-heading h2 { margin: 0 0 6px; padding: 0; color: #213347; font-size: 21px; line-height: 1.25; font-weight: 650; }
.wab-contact .wab-contact-heading p { margin: 0; padding: 0; color: #627487; font-size: 13px; line-height: 1.5; }
.wab-contact-channels { padding: 10px; }
.wab-contact .wab-contact-channel { width: 100%; min-height: 61px; display: flex; align-items: center; gap: 12px; margin: 0; padding: 9px 12px; border: 0; border-radius: 12px; background: #fff; color: #213347; text-align: left; transition: background 200ms ease, transform 200ms ease; }
.wab-contact-channel:hover { background: #f3f7fa; transform: translateX(2px); }
.wab-contact-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; }
.wab-contact-icon svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.wab-contact-icon--wa { background: #e9f8ed; color: #209959; }
.wab-contact-icon--tg { background: #e8f5fd; color: #229ed9; }
.wab-contact-icon--max { background: #f0edff; color: #6a4ff1; }
.wab-contact-icon--phone { background: #e8f8f5; color: #168974; }
.wab-contact-icon--email { background: #eef3fa; color: #5074a5; }
.wab-contact-label { min-width: 0; flex: 1; }
.wab-contact-label strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; }
.wab-contact-label small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.4; color: #778597; overflow-wrap: anywhere; }
.wab-contact-arrow { flex: 0 0 14px; font-size: 18px; font-weight: 400; color: #9aa9b8; }
.wab-contact-footer { border-top: 1px solid #edf2f7; padding: 12px 18px; color: #7b8b9d; text-align: center; font-size: 11px; }
/* Hide before JS initializes; show only after the first screen is scrolled past. */
.scroll-top.wab-contact-scroll-top { display: none; right: calc(27px + env(safe-area-inset-right, 0px)); bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.scroll-top.wab-contact-scroll-top.is-visible { display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .wab-contact { --wab-contact-edge: 16px; } .scroll-top.wab-contact-scroll-top { right: calc(19px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .wab-contact *, .wab-contact *::before, .wab-contact *::after { transition: none !important; animation: none !important; } }
