/* ============================================================
 * Back to top button (footer.php) — global, loaded on every page
 * v1.0.1
 * ============================================================ */
#wire-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #003391, #0a4bc0) !important;
  color: #fff !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(3, 29, 97, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
#wire-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#wire-back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(3, 29, 97, 0.4);
}
#wire-back-to-top svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  fill: currentColor;
  display: block;
}

@media (max-width: 767px) {
  #wire-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }
}
