/* Sticky WhatsApp button — bottom-right on every page (see WhatsAppFloat.jsx). */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  display: block;
}

@media (max-width: 600px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .wa-float svg {
    width: 29px;
    height: 29px;
  }
}

/* Equalize the per-page back-to-top button to the WhatsApp button's size and
   sit it in the bottom-right corner. */
.pxl-scroll-top {
  width: 58px !important;
  height: 58px !important;
  line-height: 58px !important;
  bottom: 24px !important;
  right: 24px !important;
}
.pxl-scroll-top svg {
  width: 100% !important;
  height: 100% !important;
}

/* Keep WhatsApp in the corner by default; when the back-to-top button is
   actually showing, lift WhatsApp to stack neatly above it. */
.wa-float {
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease;
}
body:has(.pxl-scroll-top.pxl-on) .wa-float {
  bottom: 94px;
}

@media (max-width: 600px) {
  .pxl-scroll-top {
    width: 52px !important;
    height: 52px !important;
    line-height: 52px !important;
    bottom: 16px !important;
    right: 16px !important;
  }
  body:has(.pxl-scroll-top.pxl-on) .wa-float {
    bottom: 78px;
  }
}

/* Email button, same size, stacked above WhatsApp (see WhatsAppFloat.jsx). */
.mail-float {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 99990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #16336a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.mail-float:hover,
.mail-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(22, 51, 106, 0.4);
  color: #fff;
}
.mail-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  display: block;
}
body:has(.pxl-scroll-top.pxl-on) .mail-float {
  bottom: 164px;
}
@media (max-width: 600px) {
  .mail-float {
    right: 16px;
    bottom: 78px;
    width: 52px;
    height: 52px;
  }
  .mail-float svg {
    width: 25px;
    height: 25px;
  }
  body:has(.pxl-scroll-top.pxl-on) .mail-float {
    bottom: 140px;
  }
}
