/* ADWAPPS — shared Back to Top component */
#adw-back-to-top{
  --adw-btt-progress:0;
  position:fixed;
  right:clamp(16px,2.2vw,28px);
  bottom:calc(clamp(16px,2.2vw,28px) + env(safe-area-inset-bottom, 0px));
  width:54px;
  height:54px;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#111317;
  background:conic-gradient(
    var(--red, #ff2a36) calc(var(--adw-btt-progress) * 1%),
    rgba(17,19,23,.12) 0
  );
  box-shadow:0 14px 38px rgba(22,26,32,.14);
  cursor:pointer;
  z-index:180;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(14px) scale(.94);
  transition:
    opacity .25s ease,
    visibility .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
  -webkit-tap-highlight-color:transparent;
}

#adw-back-to-top::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(17,19,23,.07);
  backdrop-filter:blur(14px) saturate(145%);
  -webkit-backdrop-filter:blur(14px) saturate(145%);
}

#adw-back-to-top svg{
  position:relative;
  z-index:1;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .22s ease,color .22s ease;
}

#adw-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}

#adw-back-to-top:hover{
  box-shadow:0 18px 46px rgba(22,26,32,.19);
}

#adw-back-to-top:hover svg{
  color:var(--red, #ff2a36);
  transform:translateY(-2px);
}

#adw-back-to-top:focus-visible{
  outline:3px solid rgba(255,42,54,.25);
  outline-offset:4px;
}

@media (max-width:640px){
  #adw-back-to-top{
    width:48px;
    height:48px;
    right:16px;
    bottom:calc(16px + env(safe-area-inset-bottom, 0px));
  }
  #adw-back-to-top svg{width:18px;height:18px}
}

@media (prefers-reduced-motion:reduce){
  #adw-back-to-top,
  #adw-back-to-top svg{
    transition:none!important;
  }
}
