/* ValyutaMobile Back to Top 1.1.0. All visual properties are defined here.
 * An ID selector + reset + !important protect from Woodmart/global button styles.
 * Plugin-owned --vm-btt-* custom properties come from sanitized admin settings.
 */
html body #vmBackToTop.vm-back-to-top {
  all: initial !important;
  position: fixed !important;
  right: calc(var(--vm-btt-desktop-right, 28px) + env(safe-area-inset-right, 0px)) !important;
  left: auto !important;
  bottom: calc(var(--vm-btt-desktop-bottom, 110px) + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important;
  z-index: var(--vm-btt-z-index, 900) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--vm-btt-desktop-size, 42px) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--vm-btt-desktop-size, 42px) !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: var(--vm-btt-border-width, 1px) solid var(--vm-btt-border-color, #d7e5fb) !important;
  border-radius: var(--vm-btt-radius, 50%) !important;
  background: var(--vm-btt-background, #ffffff) !important;
  background-image: none !important;
  color: var(--vm-btt-icon-color, #0067ed) !important;
  box-shadow: var(--vm-btt-shadow, 0 4px 14px rgba(0, 70, 170, .12)) !important;
  text-shadow: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transform: translateY(8px) !important;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  filter: none !important;
  isolation: isolate !important;
}
html body #vmBackToTop.vm-back-to-top[data-vm-desktop-side="left"] {
  left: calc(var(--vm-btt-desktop-left, 28px) + env(safe-area-inset-left, 0px)) !important;
  right: auto !important;
}
html body #vmBackToTop.vm-back-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
html body #vmBackToTop.vm-back-to-top:hover {
  background: var(--vm-btt-hover-background, #eff6ff) !important;
  background-image: none !important;
  color: var(--vm-btt-icon-color, #0067ed) !important;
  border-color: var(--vm-btt-border-color, #d7e5fb) !important;
}
html body #vmBackToTop.vm-back-to-top:active {
  transform: translateY(1px) !important;
}
html body #vmBackToTop.vm-back-to-top:focus-visible {
  outline: 3px solid var(--vm-btt-icon-color, #0067ed) !important;
  outline-offset: 3px !important;
}
html body #vmBackToTop.vm-back-to-top::before,
html body #vmBackToTop.vm-back-to-top::after {
  content: none !important;
  display: none !important;
}
html body #vmBackToTop.vm-back-to-top > svg {
  all: initial !important;
  display: block !important;
  width: var(--vm-btt-desktop-icon, 19px) !important;
  height: var(--vm-btt-desktop-icon, 19px) !important;
  flex: 0 0 auto !important;
  color: inherit !important;
  fill: none !important;
  stroke: none !important;
  pointer-events: none !important;
}
html body #vmBackToTop.vm-back-to-top > svg > path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
}
html body #vmBackToTop.vm-back-to-top[data-vm-desktop-enabled="0"] {
  display: none !important;
}
@media (max-width: 767px) {
  html body #vmBackToTop.vm-back-to-top {
    left: auto !important;
    right: calc(var(--vm-btt-mobile-right, 17px) + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(var(--vm-btt-mobile-bottom, 100px) + env(safe-area-inset-bottom, 0px)) !important;
    width: var(--vm-btt-mobile-size, 38px) !important;
    height: var(--vm-btt-mobile-size, 38px) !important;
  }
  /* Explicit right selector must beat desktop-left specificity on small screens. */
  html body #vmBackToTop.vm-back-to-top[data-vm-mobile-side="right"] {
    left: auto !important;
    right: calc(var(--vm-btt-mobile-right, 17px) + env(safe-area-inset-right, 0px)) !important;
  }
  html body #vmBackToTop.vm-back-to-top[data-vm-mobile-side="left"] {
    left: calc(var(--vm-btt-mobile-left, 17px) + env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
  }
  html body #vmBackToTop.vm-back-to-top > svg {
    width: var(--vm-btt-mobile-icon, 17px) !important;
    height: var(--vm-btt-mobile-icon, 17px) !important;
  }
  html body #vmBackToTop.vm-back-to-top[data-vm-desktop-enabled="0"] {
    display: flex !important;
  }
  html body #vmBackToTop.vm-back-to-top[data-vm-mobile-enabled="0"],
  html body #vmBackToTop.vm-back-to-top[data-vm-desktop-enabled="0"][data-vm-mobile-enabled="0"] {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body #vmBackToTop.vm-back-to-top {
    transition: none !important;
    transform: none !important;
  }
}
