/* Compact footer for inner views; Inicio retains its community screen. */
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) > .storefront-footer.footer-refined {
  display: flex; flex-direction: column; gap: 0;
  min-height: 0; padding: 0; background: #050617;
  visibility: visible; opacity: 1;
  contain: layout paint;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .footer-welcome {
  display: none;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-band {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto; align-items: start; gap: 40px;
  width: min(1132px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-heading {
  display: block;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-heading > img {
  display: none;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-heading h2 {
  margin: 0; color: var(--color-text); font: 700 20px/1.3 Inter, Arial, sans-serif;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-links {
  display: flex; flex-wrap: wrap; gap: 4px 16px; width: 100%; margin: 0;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-links a {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
  width: auto; height: 40px; min-height: 40px; padding: 8px 0;
  border: 0; border-radius: 0;
  background: transparent; color: var(--color-text); opacity: 1;
  text-decoration: none; box-sizing: border-box;
  transition: color 200ms ease-out;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-links a:is(:hover, :focus-visible) {
  color: var(--color-accent); transform: none; background: transparent;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-links svg {
  width: 18px; height: 18px; flex: 0 0 18px; transform: none;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined footer.site-footer {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px;
  width: 100%; max-width: none; margin: 0;
  padding: 20px max(24px, calc((100% - 1132px) / 2)) 24px;
  box-sizing: border-box; background: #050617; border-top: 0;
  text-align: left; font: 400 11px/1.7 Inter, Arial, sans-serif;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1132px, calc(100% - 48px));
  height: 1px;
  background: #ffffff18;
  transform: translateX(-50%);
  pointer-events: none;
}
@media (max-width: 760px) {
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined footer.site-footer::before {
  width: calc(100% - 32px);
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-band {
  grid-template-columns: minmax(0, 1fr); gap: 24px;
  width: calc(100% - 32px); padding: 24px 0;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined footer.site-footer {
  grid-template-columns: minmax(0, 1fr); padding: 20px 16px 24px;
}
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined footer.site-footer p:last-child {
  grid-column: 1; grid-row: auto; text-align: left;
}
}

:root body.storefront-page #backToTop.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  z-index: 20;
  display: grid;
  place-items: center;
  cursor: pointer;
  bottom: max(24px, env(safe-area-inset-bottom), var(--back-to-top-bottom, 24px));
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: none;
  transition: transform 200ms ease-out, border-color 200ms ease-out;
}
:root body.storefront-page #backToTop.back-to-top[hidden] { display: none; }
:root body.storefront-page #backToTop.back-to-top:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  filter: none;
}
:root body.storefront-page #backToTop.back-to-top:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
:root body.storefront-page #backToTop.back-to-top svg {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: reduce) {
  :root body.storefront-page #backToTop.back-to-top,
  :root body.storefront-page #backToTop.back-to-top:hover {
    transform: none;
    transition: none;
  }
}


@media (prefers-reduced-motion: reduce) {
:root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-links a, :root body.storefront-page.lotso-monochrome[data-current-view]:not([data-current-view="home"]) .footer-refined .community-links a:is(:hover, :focus-visible) {
  transform: none; transition: none;
}
}

