html.order-page,
.order-body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--color-background);
}

.order-body .site-nav {
    position: sticky;
    top: 0;
}

.order-shell {
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    width: 100%;
}

.order-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

html:has(body.order-open),
body.order-open {
    overflow: hidden;
}

.order-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    flex-direction: column;
    background: var(--color-background);
}

body.order-open .order-overlay {
    display: flex;
}

.order-overlay .site-nav {
    position: relative;
    top: auto;
    flex-shrink: 0;
    z-index: 1;
}

.order-overlay .order-shell {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}
