/* ==========================================================================
   Page tail — the band and the footer close the page.
   Two rules only: nothing prints after the footer, and the footer owns the
   last pixel of the document (no strip of page tone underneath it).

   Rev 3 adds the published business address under the brand blurb.
   ========================================================================== */

/* The shortcode block leaves an empty paragraph after the footer. An empty
   block with a 1em margin is a 16 px light strip under a black footer. */
.sm-ftr + p,
.sm-ftr + p:empty,
body > p:empty {
	display: none;
}

/* The product page reserves 96 px under the body for its sticky buy bar. The
   bar hides before the footer, so the reservation becomes dead space at the
   very end of the page. Pull the footer over it. */
body.single-product .sm-ftr {
	margin-bottom: calc(-96px - env(safe-area-inset-bottom, 0px));
}

/* The band and the footer are one surface: no seam, no gap, no margin. */
.sm-pf + .sm-ftr,
.sm-pf + .sm-ftr + p {
	margin-top: 0;
}

/* The business address, under the brand blurb, on the same type scale as the
   blurb. `<address>` is italic by default; the footer is upright. */
.sm-ftr-address {
	font-style: normal;
	margin-top: 8px;
}

.sm-ftr-address span {
	display: block;
}
