.mc-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 104px;
  z-index: 10970;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,242,0,.58);
  border-radius: 50%;
  background: rgba(9,9,9,.82);
  color: #fff200;
  box-shadow: 0 6px 20px rgba(0,0,0,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px) scale(.94);
  pointer-events: none;
  cursor: pointer;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .18s ease;
  backdrop-filter: blur(7px);
}

.mc-back-to-top.is-visible {
  opacity: .72;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.mc-back-to-top:hover,
.mc-back-to-top:focus-visible {
  background: #090909;
  opacity: 1;
  transform: translateY(-2px);
}

.mc-back-to-top:focus-visible {
  outline: 3px solid rgba(255,242,0,.42);
  outline-offset: 3px;
}

.mc-back-to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body.modal-open .mc-back-to-top,
body.mc-assistant-open .mc-back-to-top,
body.mc-support-open .mc-back-to-top,
body.multclean-mobile-search-active .mc-back-to-top,
body.mc-mobile-buy-visible .mc-back-to-top,
body.mc-kit-panel-open .mc-back-to-top,
body.mc-cart-checkout-visible .mc-back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(9px) scale(.94) !important;
  pointer-events: none !important;
}

@media (max-width: 767.98px) {
  .mc-back-to-top {
    right: 18px;
    bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    width: 38px;
    height: 38px;
    box-shadow: 0 4px 14px rgba(0,0,0,.14);
  }
  .mc-back-to-top.is-visible { opacity: .64; }
  .mc-back-to-top svg { width: 17px; height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-back-to-top { transition: none; }
}
