/* Snapshot isolation. The old CSS lives in the "legacy" cascade layer, scoped to
   .legacy-snapshot. The unlayered rules below beat the new site's own CSS inside the
   snapshot (ID specificity) and roll every property back to what the legacy layer says.
   isolation: the old theme puts decorations at z-index -1 behind their section; on the
   old site they sat on the page canvas, here they must stay above the wrapper.
   flow-root: some old pages float their outer box; the wrapper must contain the
   float, or it collapses to zero height and the footer covers the page.
   #legacy-snapshot-popup: the Local Retailers "Nearest store location" popup, opened over the
   page (components/RetailerFinder.tsx). */
@layer legacy{.legacy-snapshot{all:initial;display:flow-root;isolation:isolate}}
:is(#legacy-snapshot,#legacy-snapshot-popup){all:revert-layer}
:is(#legacy-snapshot,#legacy-snapshot-popup) *:where(:not(.maxim-contact-slot,.maxim-contact-slot *,.maxim-map-slot,.maxim-map-slot *)),
:is(#legacy-snapshot,#legacy-snapshot-popup) *:where(:not(.maxim-contact-slot,.maxim-contact-slot *,.maxim-map-slot,.maxim-map-slot *))::before,
:is(#legacy-snapshot,#legacy-snapshot-popup) *:where(:not(.maxim-contact-slot,.maxim-contact-slot *,.maxim-map-slot,.maxim-map-slot *))::after{all:revert-layer}
