/* ===== Floating contact widget - unified styles (self-contained) =====
   2026-11-09: the site had 2 overlapping floating widgets on most pages;
   the legacy .float-btn block was unstyled and showed raw text.
   This file guarantees one clean, consistent widget on every page. */

.floating-contact {
  position: fixed !important;
  right: 24px !important;
  bottom: 28px !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: auto !important;
}

.floating-contact .floating-btn,
.floating-contact .float-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.floating-contact .floating-btn:hover,
.floating-contact .float-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
}

/* Colors */
.floating-contact .floating-btn.whatsapp,
.floating-contact .float-whatsapp {
  background: #25d366 !important;
}

.floating-contact .floating-btn.wechat {
  background: #07c160 !important;
}

.floating-contact .floating-btn.top,
.floating-contact .float-top {
  background: #1a3c34 !important;
  color: #f0d89d !important;
  font-size: 20px !important;
}

/* Legacy quote button (kept only if still present somewhere) */
.floating-contact .float-quote {
  background: #c9a86c !important;
}

/* Hide any stray raw-text spans that the legacy widget rendered */
.floating-contact .float-btn span {
  display: none !important;
}

@media (max-width: 768px) {
  .floating-contact {
    right: 14px !important;
    bottom: 18px !important;
    gap: 10px !important;
  }
  .floating-contact .floating-btn,
  .floating-contact .float-btn {
    width: 46px !important;
    height: 46px !important;
    font-size: 20px !important;
  }
}
