/*
 * The webapp's own additions to the website look. Kept by hand — everything
 * else in fromwebsite/ is a copy made by scripts/sync_fromwebsite.py.
 *
 * On ezrs.com each page-builder section brings its own top spacing below the
 * fixed header, and no page is short enough for the footer to float. Pages in
 * the webapp (cart, account) are neither, so the layout handles both here.
 */

/* Footer stays at the bottom on short pages. */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1 0 auto;
}

/* Content starts below the fixed header: 12px padding + 60px logo + 12px. */
.site-content {
    padding-top: 84px;
}

@media (max-width: 1080px) {
    .site-content {
        padding-top: 76px;
    }
}

@media (max-width: 767px) {
    .site-content {
        padding-top: 66px;
    }
}
