/* Thành Phát EV v0.0.19 — return-to-top action, no global UI changes. */
body .tpa-back-to-top.ev-backtop-v019{
  box-sizing:border-box;position:fixed;z-index:900;
  right:max(20px,env(safe-area-inset-right));
  bottom:max(24px,calc(env(safe-area-inset-bottom) + 24px));
  display:grid;place-items:center;width:50px;height:50px;padding:0;
  border:1px solid rgba(255,255,255,.55);border-radius:50%;
  background:linear-gradient(135deg,#0756b4 0%,#00b6ca 100%);color:#fff;
  box-shadow:0 12px 30px rgba(0,62,116,.27),0 3px 8px rgba(0,32,63,.14);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(12px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
body .tpa-back-to-top.ev-backtop-v019.is-visible{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
}
body .tpa-back-to-top.ev-backtop-v019 .tpa-icon{width:23px;height:23px;stroke-width:2.2;display:block;color:inherit;}
body .tpa-back-to-top.ev-backtop-v019:hover{
  background:linear-gradient(135deg,#064791,#008fae);color:#fff;box-shadow:0 14px 35px rgba(0,75,131,.35);
}
body .tpa-back-to-top.ev-backtop-v019:focus-visible{outline:3px solid #00cfe7;outline-offset:4px;}
/* Leave room for mobile floating call / cart actions when present. */
@media(max-width:767px){
  body .tpa-back-to-top.ev-backtop-v019{
    width:46px;height:46px;right:max(14px,env(safe-area-inset-right));
    bottom:max(82px,calc(env(safe-area-inset-bottom) + 82px));
  }
  body .tpa-back-to-top.ev-backtop-v019 .tpa-icon{width:21px;height:21px;}
}
@media(prefers-reduced-motion:reduce){
  body .tpa-back-to-top.ev-backtop-v019{transition:none;}
}
