/* =========================================================
   Desktop floating icons
========================================================= */

.wa-float--desktop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.wa-float-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 100px;
  background: #25d366;
  color: #fff !important;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.call--float--desktop {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 99990;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.wa-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 100%;
  background: #25d366;
  color: #fff !important;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.wa-float-icon img{
  width: 52%;
}

.wa-float--desktop:hover .wa-float-icon,
.wa-float--desktop:focus-visible .wa-float-icon {
  background: #1ebe57;
  transform: translateY(-2px);
  color: #fff !important;
}

.call--float--desktop .call-float-icon {
  width: 56px;
  height: 56px;
  font-size: 22px;
  border-radius: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e4847;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(30, 72, 71, 0.35);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.call--float--desktop:hover .call-float-icon,
.call--float--desktop:focus-visible .call-float-icon {
  background: #163836;
  transform: translateY(-2px);
}

/* Hide legacy call float from theme CSS on all viewports by default;
   desktop float uses .call--float--desktop */
.call--float:not(.call--float--desktop) {
  display: none !important;
}

/* =========================================================
   Mobile fixed bottom bar
========================================================= */

.mobile-contact-bar {
  display: none;
}

@media (max-width: 767.98px) {
  .wa-float--desktop,
  .call--float--desktop,
  .call--float {
    display: none !important;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    width: 100%;
    height: 50px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }

  .mobile-contact-bar__btn {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 0 12px;
    color: #fff !important;
    text-decoration: none !important;
    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    border: 0;
  }

  .mobile-contact-bar__btn i,
  .mobile-contact-bar__btn svg {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-contact-bar__btn--call {
    background: #1e4847;
  }

  .mobile-contact-bar__btn--wa {
    background: #25d366;
  }
  .mobile-contact-bar__btn--wa img
  {
    width: 20px;
  }

  .mobile-contact-bar__btn:active {
    filter: brightness(0.94);
  }

  /* Keep page content clear of the bar */
  body.theme-light {
    padding-bottom: 50px;
  }

  .scroll-to-top {
    bottom: 66px !important;
  }
}
