/* True Fresh Bali - sitewide Back to Top (v1.2.0) */
.tf-ui-back-to-top {
  position: fixed !important;
  right: 24px !important;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #d81b60 !important;
  color: #ffffff !important;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .22) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease,
              visibility .22s ease, background-color .22s ease;
  cursor: pointer;
  z-index: 9990;
  box-sizing: border-box;
}
.tf-ui-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.tf-ui-back-to-top svg {
  display: block;
  width: 23px;
  height: 23px;
  stroke: currentColor;
}
.tf-ui-back-to-top:hover {
  background: #b71550 !important;
  transform: translateY(-3px);
}
.tf-ui-back-to-top:focus-visible {
  outline: 3px solid #222 !important;
  outline-offset: 3px !important;
}
@media (max-width: 767px) {
  .tf-ui-back-to-top {
    right: 16px !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tf-ui-back-to-top { transition: none !important; }
  .tf-ui-back-to-top:hover { transform: none; }
}
@media print {
  .tf-ui-back-to-top { display: none !important; }
}
