/* Sticky call bar (Conversion floor). Phones only (up to 767 px), fixed to the bottom from the first paint. A Demo
   site restyles it only by setting --sbar-accent and --sbar-on-accent on :root; everything else here is the slot
   contract the Chat assistant's bubble sits above (kit/README.md), so an edited copy is KIT DRIFT. */
:root { --sticky-bar-h: 0px; }

.sbar { display: none; }

@media (max-width: 767px) {
  :root { --sticky-bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }

  body { padding-bottom: var(--sticky-bar-h); }

  .sbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    gap: 8px;
    box-sizing: border-box;
    height: var(--sticky-bar-h);
    margin: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--sbar-accent, #0b5394);
    box-shadow: 0 -2px 12px rgb(0 0 0 / 0.18);
  }
}

.sbar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
  border: 2px solid var(--sbar-on-accent, #fff);
  border-radius: 999px;
  color: var(--sbar-on-accent, #fff);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.sbar__btn--primary {
  background: var(--sbar-on-accent, #fff);
  color: var(--sbar-accent, #0b5394);
}

.sbar__btn:focus-visible {
  outline: 3px solid var(--sbar-on-accent, #fff);
  outline-offset: 2px;
}

.sbar__btn svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
}
