body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background: var(--color-background);
}

.app {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: var(--app-max-width);
    margin: 0 auto;
    background: var(--color-background);
    position: relative;
    /* #header-images' Kollaps-Animation (components.css) verschiebt seine
       Bilder per translateX() seitlich - da das Bild ohne eigene Breite
       (img#img-store) auf 100% seines Containers aufgeblaeht wird, kann der
       Versatz weit ueber den sichtbaren Bereich hinausschiessen. Ohne dieses
       overflow-x wuerde das den gesamten Dokument-Viewport in die Breite
       ziehen (sichtbar u. a. am dann falsch zentrierten .bottom-nav) - nur
       horizontal, damit das normale vertikale Scrollen der App unberuehrt
       bleibt. */
    overflow-x: hidden;
}

.app-main {
    flex: 1;
    padding-bottom: calc(var(--bottom-nav-height) + var(--space-5));
}

.page {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.25;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
