#ndovu-wa-root,
#ndovu-wa-root * {
  box-sizing: border-box;
}

#ndovu-wa-root {
  --ndovu-wa-green: #1fa855;
  --ndovu-wa-green-dark: #148844;
  --ndovu-wa-ink: #171717;
  --ndovu-wa-muted: #666;
  --ndovu-wa-border: #e8e8e8;
  --ndovu-wa-surface: #fff;
  position: fixed;
  bottom: var(--ndovu-wa-bottom, 24px);
  z-index: 99990;
  font-family: inherit;
  line-height: 1.35;
}

#ndovu-wa-root .ndovu-wa-fab {
  position: fixed;
  bottom: calc(var(--ndovu-wa-bottom, 24px) + var(--ndovu-wa-mobile-safe-offset, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--ndovu-wa-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, padding .2s ease, gap .2s ease;
}

#ndovu-wa-root .ndovu-wa-fab[hidden] {
  display: none !important;
}

#ndovu-wa-root .ndovu-call-fab {
  position: fixed;
  bottom: calc(var(--ndovu-wa-bottom, 24px) + var(--ndovu-wa-mobile-safe-offset, 0px));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:54px;
  padding:0 19px;
  border:2px solid var(--ndovu-call-border,#135f46);
  border-radius:999px;
  background:#fff;
  color:var(--ndovu-call-icon,#135f46);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:transform .18s ease,box-shadow .18s ease,padding .2s ease,gap .2s ease;
}
#ndovu-wa-root .ndovu-call-fab:hover { transform:translateY(-1px); box-shadow:0 13px 32px rgba(0,0,0,.25); }
#ndovu-wa-root .ndovu-call-icon {
  width:var(--ndovu-call-size,24px);
  height:var(--ndovu-call-size,24px);
  flex:0 0 auto;
  display:block;
  background:currentColor;
  -webkit-mask:url('call-icon.png') center/contain no-repeat;
  mask:url('call-icon.png') center/contain no-repeat;
}
#ndovu-wa-root .is-icon-only { width:54px; padding:0; }
#ndovu-wa-root .is-icon-only > span:not(.ndovu-call-icon) { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

#ndovu-wa-root .ndovu-wa-fab > span,
#ndovu-wa-root .ndovu-call-fab > span:not(.ndovu-call-icon) {
  display:inline-block;
  max-width:32ch;
  overflow:hidden;
  white-space:nowrap;
  opacity:1;
  transition:max-width .2s ease,opacity .15s ease;
}

/* A panel is the primary interaction surface. Keep every visible launcher as a
   compact fixed control until that panel closes, without changing saved mode. */
#ndovu-wa-root.ndovu-wa-open .ndovu-wa-fab,
#ndovu-wa-root.ndovu-wa-open .ndovu-call-fab {
  width:54px;
  min-width:54px;
  height:54px;
  padding:0;
  gap:0;
}

#ndovu-wa-root.ndovu-wa-open .ndovu-wa-fab > span,
#ndovu-wa-root.ndovu-wa-open .ndovu-call-fab > span:not(.ndovu-call-icon) {
  max-width:0;
  opacity:0;
}

#ndovu-wa-root.ndovu-wa-open .ndovu-wa-fab[aria-expanded="true"],
#ndovu-wa-root.ndovu-wa-open .ndovu-call-fab[aria-expanded="true"] {
  box-shadow:0 10px 28px rgba(0,0,0,.22),inset 0 0 0 3px rgba(0,0,0,.18);
}

#ndovu-wa-root .ndovu-wa-fab:hover {
  background: var(--ndovu-wa-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 13px 32px rgba(0, 0, 0, .25);
}

#ndovu-wa-root .ndovu-wa-fab:focus-visible,
#ndovu-wa-root .ndovu-call-fab:focus-visible,
#ndovu-wa-root .ndovu-wa-chat-button:focus-visible,
#ndovu-wa-root .ndovu-wa-close:focus-visible,
#ndovu-wa-root .ndovu-wa-directions:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

#ndovu-wa-root .ndovu-wa-fab .ndovu-wa-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
  color: var(--ndovu-wa-icon-color, #fff);
}

#ndovu-wa-root .ndovu-wa-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 110px));
  overflow: auto;
  border: 1px solid var(--ndovu-wa-border);
  border-radius: 18px;
  background: var(--ndovu-wa-surface);
  color: var(--ndovu-wa-ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

#ndovu-wa-root .ndovu-wa-panel[hidden] {
  display: none !important;
}

#ndovu-wa-root .ndovu-wa-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--ndovu-wa-border);
}

#ndovu-wa-root .ndovu-wa-panel-header strong {
  display: block;
  margin: 0 0 4px;
  font-size: 17px;
}

#ndovu-wa-root .ndovu-wa-panel-header p {
  margin: 0;
  color: var(--ndovu-wa-muted);
  font-size: 13px;
}

#ndovu-wa-root .ndovu-wa-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--ndovu-wa-border);
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 25px;
  line-height: 30px;
  cursor: pointer;
}

#ndovu-wa-root .ndovu-wa-context {
  margin: 14px 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f7f6;
  color: #3a3a3a;
  font-size: 12px;
}

#ndovu-wa-root .ndovu-wa-locations {
  display: grid;
  gap: 10px;
  padding: 14px;
}

#ndovu-wa-root .ndovu-wa-location-card {
  padding: 14px;
  border: 1px solid var(--ndovu-wa-border);
  border-radius: 13px;
  background: #fff;
}

#ndovu-wa-root .ndovu-wa-location-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#ndovu-wa-root .ndovu-wa-location-heading strong {
  font-size: 15px;
}

#ndovu-wa-root .ndovu-wa-location-heading p {
  margin: 5px 0 0;
  color: var(--ndovu-wa-muted);
  font-size: 12px;
  line-height: 1.45;
}

#ndovu-wa-root .ndovu-wa-directions {
  flex: 0 0 auto;
  color: #454545;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#ndovu-wa-root .ndovu-wa-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

#ndovu-wa-root .ndovu-wa-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  background: var(--ndovu-wa-green);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#ndovu-wa-root .ndovu-wa-chat-button:hover {
  background: var(--ndovu-wa-green-dark);
}
#ndovu-wa-root .ndovu-wa-chat-button.is-call { background:#fff; color:var(--ndovu-call-icon,#135f46); border:1px solid var(--ndovu-call-border,#135f46); }
#ndovu-wa-root .ndovu-call-inline-icon {
  width:18px;
  height:18px;
  flex:0 0 auto;
  display:block;
  background:currentColor;
  -webkit-mask:url('call-icon.png') center/contain no-repeat;
  mask:url('call-icon.png') center/contain no-repeat;
}
#ndovu-wa-root .ndovu-wa-chat-button.is-call:hover { background:#f5f7f6; }

@media (max-width: 640px) {
  #ndovu-wa-root {
    bottom: calc(var(--ndovu-wa-mobile-bottom, 18px) + var(--ndovu-wa-mobile-safe-offset, 0px));
  }

  #ndovu-wa-root .ndovu-wa-fab,
  #ndovu-wa-root .ndovu-call-fab { bottom:calc(var(--ndovu-wa-mobile-bottom,18px) + var(--ndovu-wa-mobile-safe-offset,0px)); }

  #ndovu-wa-root .ndovu-wa-fab {
    min-height: 52px;
    padding: 0 16px;
  }

  #ndovu-wa-root .ndovu-wa-panel {
    position: fixed;
    right: 14px !important;
    left: 14px !important;
    bottom: calc(var(--ndovu-wa-mobile-bottom, 18px) + var(--ndovu-wa-mobile-safe-offset, 0px) + 64px);
    width: auto;
    max-height: calc(100vh - 105px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #ndovu-wa-root .ndovu-wa-fab,
  #ndovu-wa-root .ndovu-call-fab,
  #ndovu-wa-root .ndovu-wa-fab > span,
  #ndovu-wa-root .ndovu-call-fab > span:not(.ndovu-call-icon) {
    transition: none;
  }
}

/* Handoff status is separate from the product context; never hides cart controls. */
#ndovu-wa-root .ndovu-wa-handoff-status{margin:0 16px 12px;padding:12px;border:1px solid #d7e4dc;border-radius:10px;background:#f1f7f3;color:#234539;font:inherit;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#ndovu-wa-root .ndovu-wa-handoff-status[hidden]{display:none!important}
#ndovu-wa-root .ndovu-wa-handoff-status[data-state="error"]{background:#fff8f0;border-color:#ead5b8;color:#714419}
#ndovu-wa-root .ndovu-wa-handoff-status[data-state="loading"]::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:ndovu-wa-check-spin 1s linear infinite}
#ndovu-wa-root .ndovu-wa-continue{display:block;margin-top:10px;min-height:44px;padding:10px 14px;box-sizing:border-box;border-radius:8px;text-align:center;background:var(--ndovu-wa-green,#1fa855);color:var(--ndovu-wa-text,#fff);text-decoration:none;font-weight:700}
#ndovu-wa-root .ndovu-wa-continue:focus-visible{outline:3px solid #124d36;outline-offset:3px}
#ndovu-wa-root .ndovu-wa-chat-button:disabled{opacity:.65;cursor:wait}
@keyframes ndovu-wa-check-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#ndovu-wa-root .ndovu-wa-handoff-status[data-state="loading"]::before{animation:none}}

/* Direct-routing feedback is separate from the branch selector. */
.ndovu-wa-handoff-status.ndovu-wa-inline-status{grid-column:1/-1;flex:0 0 100%;clear:both;margin:10px 0 14px;padding:12px 14px;border:1px solid #d7e4dc;border-radius:10px;background:#f1f7f3;color:#234539;font:inherit;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ndovu-wa-handoff-status[hidden]{display:none!important}
#ndovu-wa-root>.ndovu-wa-direct-status{position:absolute;bottom:76px;right:0;width:min(360px,calc(100vw - 40px));max-height:55vh;overflow:auto;box-sizing:border-box;margin:0;box-shadow:0 8px 30px rgb(0 0 0 / .12)}
#ndovu-wa-root.ndovu-wa-side-left>.ndovu-wa-direct-status{left:0;right:auto}
.ndovu-wa-direct-status button,.ndovu-wa-inline-status .ndovu-wa-continue{display:inline-block;margin:8px 0 0 8px;padding:8px 14px;border-radius:7px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer;text-decoration:none}
.ndovu-wa-direct-status button:focus-visible,.ndovu-wa-inline-status .ndovu-wa-continue:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.ndovu-wa-inline-status[data-state="error"]{background:#fff8f0;border-color:#ead5b8;color:#714419}

/* 1.0: business hours, topics, routing memory, prompt bubble and embedded buttons. */
#ndovu-wa-root .ndovu-hours-closed{display:none!important}
#ndovu-wa-root .ndovu-wa-badge{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:999px;background:#eaf4ee;color:#0d6a46;font-size:10px;font-weight:700;vertical-align:2px}
#ndovu-wa-root .ndovu-wa-hours{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:12px;font-weight:600}
#ndovu-wa-root .ndovu-wa-hours::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:0 0 auto}
#ndovu-wa-root .ndovu-wa-hours.is-open{color:#0f7a4d}
#ndovu-wa-root .ndovu-wa-hours.is-closed{color:#9a5a00}
#ndovu-wa-root .ndovu-wa-closed-note{margin:10px 0 0;padding:8px 10px;border-radius:8px;background:#fff8ec;color:#714419;font-size:12px;line-height:1.45}
#ndovu-wa-root .ndovu-wa-topics{margin:12px 14px 0}
#ndovu-wa-root .ndovu-wa-topics[hidden]{display:none!important}
#ndovu-wa-root .ndovu-wa-topics-heading{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--ndovu-wa-ink)}
#ndovu-wa-root .ndovu-wa-topic-list{display:flex;flex-wrap:wrap;gap:7px}
#ndovu-wa-root .ndovu-wa-topic{min-height:36px;padding:7px 12px;border:1px solid var(--ndovu-wa-border);border-radius:999px;background:#fff;color:var(--ndovu-wa-ink);font:inherit;font-size:13px;line-height:1.2;cursor:pointer;transition:border-color .15s,background .15s}
#ndovu-wa-root .ndovu-wa-topic:hover{border-color:var(--ndovu-wa-green)}
#ndovu-wa-root .ndovu-wa-topic[aria-pressed="true"]{background:var(--ndovu-wa-green);border-color:var(--ndovu-wa-green);color:var(--ndovu-wa-text,#fff)}
#ndovu-wa-root .ndovu-wa-topic:focus-visible{outline:3px solid #111;outline-offset:2px}
#ndovu-wa-root .ndovu-wa-topic-hint{margin:0;padding:8px 10px;border-radius:8px;background:#f5f7f6;color:var(--ndovu-wa-muted);font-size:12px}
#ndovu-wa-root .ndovu-wa-chat-button:disabled{opacity:.5;cursor:not-allowed}
#ndovu-wa-root.ndovu-wa-open-embedded .ndovu-wa-panel{bottom:calc(100% + 12px)}
#ndovu-wa-root .ndovu-wa-nudge{position:fixed;z-index:99991;display:flex;align-items:flex-start;gap:4px;max-width:min(300px,calc(100vw - 24px));padding:4px 4px 4px 0;border:1px solid var(--ndovu-wa-border);border-radius:16px 16px 4px 16px;background:var(--ndovu-wa-surface);color:var(--ndovu-wa-ink);box-shadow:0 12px 32px rgba(0,0,0,.18);animation:ndovu-wa-nudge-in .35s ease-out both}
#ndovu-wa-root .ndovu-wa-nudge[data-side="left"]{border-radius:16px 16px 16px 4px}
#ndovu-wa-root .ndovu-wa-nudge.is-leaving{opacity:0;transform:translateY(6px);transition:opacity .3s,transform .3s}
#ndovu-wa-root .ndovu-wa-nudge-text{flex:1;padding:10px 4px 10px 14px;border:0;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:1.4;text-align:left;cursor:pointer}
#ndovu-wa-root .ndovu-wa-nudge-close{flex:0 0 28px;width:28px;height:28px;margin-top:2px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ndovu-wa-muted);font-size:20px;line-height:28px;cursor:pointer}
#ndovu-wa-root .ndovu-wa-nudge-close:hover{background:#f1f3f2}
#ndovu-wa-root .ndovu-wa-nudge button:focus-visible{outline:3px solid #111;outline-offset:2px}
@keyframes ndovu-wa-nudge-in{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#ndovu-wa-root .ndovu-wa-nudge{animation:none}#ndovu-wa-root .ndovu-wa-nudge.is-leaving{transition:none}#ndovu-wa-root .ndovu-wa-topic{transition:none}}

.ndovu-embed{--ndovu-embed-wa:#1fa855;--ndovu-embed-wa-hover:#148844;--ndovu-embed-wa-text:#fff;--ndovu-embed-call:#135f46;--ndovu-embed-radius:12px;display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;box-sizing:border-box}
.ndovu-embed *{box-sizing:border-box}
.ndovu-embed[data-layout="stack"]{flex-direction:column;align-items:stretch;max-width:420px}
.ndovu-embed[data-align="center"]{justify-content:center}.ndovu-embed[data-align="right"]{justify-content:flex-end}
.ndovu-embed[data-align="full"] .ndovu-embed-button{flex:1 1 220px}
.ndovu-embed .ndovu-embed-button{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:10px 18px;border:2px solid var(--ndovu-embed-wa);border-radius:var(--ndovu-embed-radius);background:var(--ndovu-embed-wa);color:var(--ndovu-embed-wa-text);font:inherit;font-weight:700;line-height:1.25;text-decoration:none!important;box-shadow:none;transition:background .15s,border-color .15s,transform .15s}
.ndovu-embed .ndovu-embed-button:hover{background:var(--ndovu-embed-wa-hover);border-color:var(--ndovu-embed-wa-hover);color:var(--ndovu-embed-wa-text);transform:translateY(-1px)}
.ndovu-embed .ndovu-embed-button.is-call{background:#fff;border-color:var(--ndovu-embed-call);color:var(--ndovu-embed-call)}
.ndovu-embed .ndovu-embed-button.is-call:hover{background:#f5f8f6;color:var(--ndovu-embed-call)}
.ndovu-embed[data-style="outline"] .ndovu-embed-button.is-whatsapp{background:#fff;color:var(--ndovu-embed-wa)}
.ndovu-embed[data-style="outline"] .ndovu-embed-button.is-whatsapp:hover{background:#f3faf6;color:var(--ndovu-embed-wa-hover)}
.ndovu-embed .ndovu-embed-button:focus-visible{outline:3px solid #111;outline-offset:3px}
.ndovu-embed .ndovu-embed-icon{display:flex;flex:0 0 auto}.ndovu-embed .ndovu-embed-icon svg{display:block;width:22px;height:22px}
.ndovu-embed .ndovu-embed-copy{display:grid;gap:2px;text-align:left}
.ndovu-embed .ndovu-embed-copy small{font-size:.8em;font-weight:500;opacity:.85}
.ndovu-embed-notice{padding:10px 12px;border:1px dashed #c9a96b;border-radius:8px;background:#fffaf0;color:#714419;font-size:13px}
@media(max-width:480px){.ndovu-embed .ndovu-embed-button{flex:1 1 100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.ndovu-embed .ndovu-embed-button{transition:none}.ndovu-embed .ndovu-embed-button:hover{transform:none}}
