/* a110-flow-chrome.css
   Sitewide: chrome + labels stay in document flow.
   Loaded last from every head. No sticky/fixed labels or chrome. */

/* Nuclear: never sticky/fixed chrome or UI labels on any page */
header,
footer,
nav:not(.br-toc):not(.nd-steps),
[role="banner"],
[role="navigation"]:not(.br-toc):not(.nd-steps),
[role="contentinfo"],
.hc-nav,
.hc-rail,
.hc-shell,
.hc-tabs,
.hc-sheet,
.hc-tab,
.hc-link,
.hc-cart,
.hc-brand,
.hc-brand-tag,
.hc-tab-txt,
.hc-cart-label,
.hc-cart-grade,
.hc-sheet-kicker,
.hc-sheet-roll,
.rt-foot,
.sk-foot,
.site-header,
.site-nav,
.sp-hop,
.sp-hop-inner,
.sp-hop-sheet,
.sp-rack,
.summary-box,
.slash-rail,
.a110-slash,
.cf-ribbon,
.li-rack,
.sc-bolt,
.sc-drum,
.sc-twist,
.sc-belt,
.gateway-page .panel-head,
.gateway-card .mini-copy {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
}

/* Kill overlay scrims that only work when fixed */
.hc-scrim,
.sf-backdrop {
  display: none !important;
  position: relative !important;
  inset: auto !important;
}

/* Page chrome that was sticky/fixed (legacy metaphors only).
   Allow intentional playbook sticky: .wc-console, .br-toc, .bd-buy, .nd-docket */
.sf-console,
.ts-sticks,
.toast,
.a110-shop-filters,
.a110-filters,
.li-rack,
[class*="-hop"],
[class$="-hop"],
.cf-ribbon,
.a110-slash,
.sp-rack {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
  transform: none !important;
}

/* Mobile shop filter tray: expand in-flow instead of fixed bottom sheet */
@media (max-width: 780px) {
  body.page-a110-sunfleck .sf-console {
    position: relative !important;
    inset: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 1rem !important;
    border-radius: 14px !important;
    transform: none !important;
    display: none !important;
  }
  body.page-a110-sunfleck.sf-filters-open .sf-console {
    display: block !important;
  }
}

/* Policy tally sticks: never sticky */
body.page-a110-tallystick .ts-sticks {
  position: relative !important;
  top: auto !important;
}

/* Account toast: in-flow notice, not viewport-fixed */
body.page-a110-potbench .toast,
body.page-a110-pruneshear .toast {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0.75rem 0 0 !important;
  max-width: none !important;
  transform: none !important;
}
body.page-a110-potbench .toast:not(.visible):empty,
body.page-a110-pruneshear .toast:not(.visible):empty {
  display: none !important;
}
body.page-a110-potbench .toast:not(.visible),
body.page-a110-pruneshear .toast:not(.visible) {
  opacity: 0;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
}

/* Readable UI labels stay relative (not sticky side stacks) */
label:not(.visually-hidden):not([class*="skip"]),
[class*="-label"]:not(.visually-hidden),
[class*="_label"]:not(.visually-hidden),
[class*="-kicker"],
.hc-brand-tag,
.hc-tab-txt,
.hc-cart-label,
.hc-cart-grade,
.hc-sheet-kicker,
.hc-sheet-roll,
.rt-season,
.sc-kicker,
.hz-kicker,
.hz-brand,
.sf-aperture-label,
.ts-sticks-label,
.sl-label,
.sl-kicker {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  inset: auto !important;
}

/* Keep SR-only clipped labels absolute (clipped), never sticky/fixed */
.wl-bag-form label,
.visually-hidden,
.hc-tool-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.a110-skip,
.skip-link,
.sp-skip {
  position: absolute !important;
}

/* No leftover bottom padding for a removed fixed tab dock */
body.a110-body,
body.bespoke,
body.a110-gateway,
body.gateway-page {
  padding-bottom: 0 !important;
}
