/* Only existing back-to-top controls identified by front.js. */
html body .sfbt-position.sfbt-position {
  left: auto !important;
  right: 12px !important;
  top: auto !important;
  bottom: 20px !important;
}
html body .sfbt-control.sfbt-control,
html body .sfbt-control.sfbt-control:hover,
html body .sfbt-control.sfbt-control:active,
html body .sfbt-control.sfbt-control:focus,
html body .sfbt-control.sfbt-control:visited,
html body .sfbt-control.sfbt-control:focus-within {
  background: #C91735 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}
html body .sfbt-control.sfbt-control :is(i,span,svg,.material-icons,.fa),
html body .sfbt-control.sfbt-control::before,
html body .sfbt-control.sfbt-control::after {
  color: #fff !important;
  background-color: transparent !important;
}
html body .sfbt-control.sfbt-control svg { color: #fff !important; }
html body .sfbt-control.sfbt-control svg [fill]:not([fill="none"]) { fill: #fff !important; }
html body .sfbt-control.sfbt-control svg [stroke]:not([stroke="none"]) { stroke: #fff !important; }
html body .sfbt-control.sfbt-control:focus-visible { outline: 2px solid #171718 !important; outline-offset: 3px; }
@media (max-width: 767px) {
  html body .sfbt-position.sfbt-position { right: 10px !important; bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important; }
  /* Product pages retain the extra space for the sticky add-to-cart bar. */
  html body:is(#product, .page-product, .page-product-detail) .sfbt-position.sfbt-position { bottom: calc(127px + env(safe-area-inset-bottom, 0px)) !important; }
}
