2026-08-03 09:57:24 +02:00
|
|
|
/* Application shell — global (unscoped) layout breakpoints */
|
|
|
|
|
|
|
|
|
|
.app-shell {
|
|
|
|
|
height: 100dvh;
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: var(--color-shell-bg);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-layout {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-frame {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: var(--color-bg);
|
2026-08-06 17:12:57 +03:30
|
|
|
color: var(--color-text);
|
2026-08-03 09:57:24 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-main {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-main__content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: var(--content-max-width);
|
|
|
|
|
margin-inline: auto;
|
|
|
|
|
padding-inline: var(--page-padding);
|
2026-08-06 17:12:57 +03:30
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-transition {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 100%;
|
|
|
|
|
overflow: hidden;
|
2026-08-03 09:57:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
.app-content {
|
|
|
|
|
padding-inline: var(--page-padding-tablet);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: 1200px) {
|
|
|
|
|
.app-content {
|
|
|
|
|
padding-inline: var(--page-padding-desktop);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Mobile: full-width native app (< 768px) ── */
|
|
|
|
|
.app-shell--with-nav {
|
|
|
|
|
justify-content: stretch;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--with-nav .app-frame {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Tablet + Desktop: sidebar + header shell (>= 768px) ── */
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
.app-shell--with-nav {
|
|
|
|
|
background: var(--color-page-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--with-nav .app-frame {
|
|
|
|
|
background: var(--color-page-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--with-nav .app-main__content {
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-06 20:14:41 +02:00
|
|
|
/* ── Guest pages (login, register, checkout) — all breakpoints ── */
|
|
|
|
|
.app-shell--no-nav {
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
background: var(--color-page-background);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav .app-layout {
|
|
|
|
|
max-width: var(--form-max-width);
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
max-height: calc(100dvh - 32px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav .app-frame {
|
|
|
|
|
max-width: var(--form-max-width);
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
max-height: calc(100dvh - 32px);
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
box-shadow: var(--shadow-frame);
|
|
|
|
|
background: var(--color-surface);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav .app-content {
|
|
|
|
|
padding-inline: var(--page-padding);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav .page {
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav.app-shell--wide .app-layout,
|
|
|
|
|
.app-shell--no-nav.app-shell--wide .app-frame {
|
|
|
|
|
max-width: min(var(--content-max-width), calc(100vw - 32px));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav.app-shell--wide .app-frame {
|
|
|
|
|
background: var(--color-bg);
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-03 09:57:24 +02:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
|
.app-shell--no-nav {
|
|
|
|
|
padding: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
2026-08-06 20:14:41 +02:00
|
|
|
.app-shell--no-nav .app-layout,
|
2026-08-03 09:57:24 +02:00
|
|
|
.app-shell--no-nav .app-frame {
|
|
|
|
|
max-height: calc(100dvh - 48px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-shell--no-nav.app-shell--wide .app-layout,
|
|
|
|
|
.app-shell--no-nav.app-shell--wide .app-frame {
|
|
|
|
|
max-width: min(var(--content-max-width), calc(100vw - 48px));
|
|
|
|
|
}
|
|
|
|
|
}
|