/* Private review candidate. Retains the installed Chaty 3.6.3 WhatsApp visual values. */
.chingon-whatsapp { position: absolute; width: 0; height: 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; font-size: var(--wp--preset--font-size--medium, clamp(1.042rem, 1.042rem + ((1vw - .2rem) * -1.513), 1.25rem)); line-height: 1.6; }
.chingon-whatsapp *, .chingon-whatsapp *::before { box-sizing: border-box; }
.chingon-whatsapp button, .chingon-whatsapp input { font: inherit; }
.chingon-whatsapp button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chingon-whatsapp .cw-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.cw-trigger { position: fixed; right: calc(29px + env(safe-area-inset-right, 0px)); bottom: calc(25px + env(safe-area-inset-bottom, 0px)); z-index: 997; width: 54px; height: 54px; min-width: 54px; min-height: 54px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
.cw-trigger-icon { position: absolute; inset: 0; display: block; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 16px 24px 0 rgba(73,104,126,.16); }
.cw-trigger-icon svg { display: block; width: 54px; height: 54px; }
.cw-close-icon { opacity: 0; visibility: hidden; transition: opacity .5s, transform .5s, visibility .5s; }
.chingon-whatsapp.is-open .cw-close-icon { opacity: 1; visibility: visible; transform: rotate(1turn); }
.cw-tooltip { display: block; opacity: 0; visibility: hidden; position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: #fff; border-radius: 10px; box-shadow: 0 1.93465px 7.73859px rgba(0,0,0,.15); color: #333; font-size: 17px; font-weight: 400; line-height: 21px; min-height: 31px; max-width: 21em; min-width: 1em; padding: 5px 15px; text-align: center; white-space: nowrap; pointer-events: none; }
.cw-tooltip::before { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: #fff; border-right-width: 0; }
.chingon-whatsapp:not(.is-open) .cw-trigger:hover .cw-tooltip, .chingon-whatsapp:not(.is-open) .cw-trigger:focus-visible .cw-tooltip, .chingon-whatsapp.is-first-visit:not(.is-open) .cw-tooltip { opacity: 1; visibility: visible; }
.cw-panel { position: fixed; right: calc(25px + env(safe-area-inset-right, 0px)); left: auto; bottom: env(safe-area-inset-bottom, 0px); width: 320px; min-width: 0; max-width: 90%; height: min(390px, calc(100vh - 99px)); min-height: min(390px, calc(100vh - 99px)); transform: translateY(25px); margin: 0; padding: 0; border: 0; border-radius: 6px; box-shadow: 0 5px 40px rgba(0,0,0,.16); opacity: 0; pointer-events: none; visibility: hidden; z-index: -1; transition: opacity .5s, transform .5s, visibility .5s; }
.chingon-whatsapp.is-open .cw-panel { opacity: 1; pointer-events: auto; transform: translateY(-94px); visibility: visible; z-index: 999999; }
.cw-form { position: relative; margin: 0; border-radius: 8px; background-color: #f0ede7; font-family: "Segoe UI","Helvetica Neue",Helvetica,"Lucida Grande",Arial,Ubuntu,Cantarell,"Fira Sans",sans-serif; }
.cw-form::before { content: ""; display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: .035; z-index: 0; }
/* Preserve the exact pattern; request it only after the chat is opened. */
.chingon-whatsapp.has-opened .cw-form::before { background-image: url("assets/whatsapp.png"); }
.cw-header { height: 50px; min-height: 50px; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; border-top-left-radius: 6px; border-top-right-radius: 6px; background-color: #49e670; box-shadow: 0 16px 32px 0 rgba(26,14,53,.161); }
.cw-header-icon { display: block; height: 30px; width: 30px; margin-right: 7px; }
.cw-header-icon svg { display: inline; vertical-align: baseline; }
.cw-title { flex: 1; padding-right: 8px; color: #fff; font-size: 15px; font-weight: 400; line-height: 1.6; }
.cw-close { flex: 0 0 16px; width: 16px; height: auto; display: block; line-height: inherit; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; color: inherit; }
.cw-close svg { height: 16px; width: 16px; display: inline; vertical-align: baseline; }
.cw-body { height: 260px; min-height: auto; padding: 0; position: relative; z-index: 2; max-height: calc(100vh - 229px); overflow-y: auto; }
.cw-content { display: flex; align-items: flex-start; padding: 20px; }
.cw-message { width: 194.270833px; min-height: 58.333333px; background-color: #fff; border: 1px solid rgba(34,17,71,.08); border-radius: 0 10px 10px; font-family: "Segoe UI","Helvetica Neue",Helvetica,"Lucida Grande",Arial,Ubuntu,Cantarell,"Fira Sans",sans-serif; font-size: 14px; line-height: 18px; margin: 0; max-width: calc(100% - 40px); padding: 7px 14px 6px; position: relative; transform-origin: center top; z-index: 2; }
.cw-message p { overflow-wrap: break-word; color: #111b21; font-weight: 400; font-size: inherit; line-height: inherit; margin: 0; padding: 0; }
.cw-nickname { color: #489d81; font-size: 10px; font-weight: 500; line-height: 14px; }
.cw-time { color: #a1a1a9; font-size: 10px; line-height: 12px; }
.cw-footer { height: 80px; min-height: 80px; padding: 20px 15px; position: relative; }
.cw-message-form { display: flex; margin: 0; padding: 0; }
.cw-field { display: flex; align-items: center; flex: 1; padding-right: 0; position: relative; z-index: 1; }
.chingon-whatsapp .cw-input { background: #fff; border: none; border-radius: 24px; box-shadow: none; color: #111b21; flex: 1; font-family: "Segoe UI","Helvetica Neue",Helvetica,"Lucida Grande",Arial,Ubuntu,Cantarell,"Fira Sans",sans-serif; font-size: 16px; height: 40px; line-height: normal; margin: 0; min-width: 0; outline: 0; padding: 0 10px 0 15px; resize: none; width: 100%; }
.cw-input::placeholder { color: #83a1b7; opacity: 40%; }
.chingon-whatsapp .cw-send { font-family: Arial, sans-serif; font-size: 13.3333px; font-weight: 400; line-height: normal; flex: 0 0 40px; width: 40px; height: 40px; min-width: 1px; padding: 0; margin: 0 0 0 10px; border: none; border-radius: 20px; box-shadow: none; background: #c6d7e3; text-align: center; text-decoration: none; }
.chingon-whatsapp .cw-send:focus, .chingon-whatsapp .cw-send:hover { background: #a8c5da; }
.chingon-whatsapp .cw-input:not(:placeholder-shown) + .cw-send { background: #25d366; }
.chingon-whatsapp .cw-input:not(:placeholder-shown) + .cw-send:focus, .chingon-whatsapp .cw-input:not(:placeholder-shown) + .cw-send:hover { background: #22bf5b; }
.cw-send svg { display: inline-block; vertical-align: sub; }
.chingon-whatsapp.cw-in-mobile .cw-panel { min-width: min(320px, calc(100vw - 50px)); max-width: calc(100vw - 50px); }
/* Keyboard-only indicators do not change the resting appearance. */
.chingon-whatsapp button:focus-visible, .chingon-whatsapp.cw-keyboard .cw-input:focus-visible { outline: 2px solid #25d366; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cw-panel, .cw-close-icon { transition: none; } }

/* The existing global modal menu restores this root inert state on close. */
.chingon-whatsapp[inert], .chingon-whatsapp[inert] * { visibility:hidden !important; }
