/* WPSoft Mobile Quick Contact Bar */
.wpst-mobile-contact-bar{display:none}

@media (max-width:767px){
  body.wpst-mobile-contact-bar-enabled{
    padding-bottom:calc(82px + env(safe-area-inset-bottom));
  }

  .wpst-mobile-contact-bar{
    position:fixed;
    z-index:9990;
    left:50%;
    bottom:max(12px,env(safe-area-inset-bottom));
    width:min(calc(100% - 28px),420px);
    min-height:56px;
    display:flex;
    align-items:center;
    padding:5px 7px;
    border:1px solid rgba(148,163,184,.30);
    border-radius:999px;
    background:rgba(255,255,255,.90);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
    backdrop-filter:blur(18px) saturate(145%);
    box-shadow:0 14px 38px rgba(15,23,42,.20),0 2px 8px rgba(15,23,42,.06);
    transform:translateX(-50%);
    isolation:isolate;
  }

  .wpst-mobile-contact-bar__item{
    position:relative;
    flex:1 1 0;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:46px;
    padding:4px 8px;
    border:0;
    border-radius:999px;
    color:var(--wpst-heading,#0f172a)!important;
    background:transparent;
    text-decoration:none!important;
    -webkit-tap-highlight-color:transparent;
    transition:background-color .18s ease,transform .18s ease;
  }

  .wpst-mobile-contact-bar__item + .wpst-mobile-contact-bar__item:before{
    content:"";
    position:absolute;
    left:0;
    top:12px;
    bottom:12px;
    width:1px;
    background:rgba(148,163,184,.28);
  }

  .wpst-mobile-contact-bar__item:active{
    transform:scale(.98);
    background:rgba(148,163,184,.10);
  }

  .wpst-mobile-contact-bar__icon{
    flex:0 0 31px;
    width:31px;
    height:31px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--wpst-primary,#2563eb);
    color:#fff;
    box-shadow:0 5px 14px color-mix(in srgb,var(--wpst-primary,#2563eb) 26%,transparent);
  }

  .wpst-mobile-contact-bar__item.is-whatsapp .wpst-mobile-contact-bar__icon{
    background:#22c55e;
    box-shadow:0 5px 14px rgba(34,197,94,.24);
  }

  .wpst-mobile-contact-bar__item.is-contact .wpst-mobile-contact-bar__icon{
    background:var(--wpst-primary,#2563eb);
  }

  .wpst-mobile-contact-bar__icon svg{
    display:block;
    width:16px;
    height:16px;
  }

  .wpst-mobile-contact-bar__label{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-family:var(--wpst-font-body,inherit);
    font-size:11px;
    font-weight:750;
    line-height:1;
    letter-spacing:-.01em;
  }

  body.wpst-mobile-contact-bar-enabled .wpst-scroll-top{
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
  }

  body:has(.wpst-mobile-drawer.is-open) .wpst-mobile-contact-bar,
  body:has(.wpst-nav.is-open) .wpst-mobile-contact-bar,
  html.wpst-lightbox-open .wpst-mobile-contact-bar,
  html.wpst-modal-open .wpst-mobile-contact-bar{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
  }
}

@media (max-width:390px){
  .wpst-mobile-contact-bar{
    width:calc(100% - 20px);
    padding-inline:5px;
  }
  .wpst-mobile-contact-bar__item{gap:5px;padding-inline:5px}
  .wpst-mobile-contact-bar__icon{flex-basis:29px;width:29px;height:29px}
  .wpst-mobile-contact-bar__label{font-size:10px}
}

@media (prefers-reduced-motion:reduce){
  .wpst-mobile-contact-bar__item{transition:none}
}
