* {
    box-sizing: border-box;
}

:root {
    --admin-bg: #f3f6fb;
    --admin-surface: #ffffff;
    --admin-surface-soft: #f8fafc;
    --admin-border: #d9e2ef;
    --admin-border-strong: #c4d0df;
    --admin-text: #0f172a;
    --admin-text-soft: #334155;
    --admin-muted: #64748b;
    --admin-primary: #2563eb;
    --admin-primary-dark: #1d4ed8;
    --admin-primary-soft: #eff6ff;
    --admin-success: #15803d;
    --admin-warning: #b45309;
    --admin-danger: #dc2626;
    --admin-info: #0369a1;
    --admin-sidebar: #0f172a;
    --admin-sidebar-panel: #172033;
    --admin-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    --admin-radius: 8px;
    --admin-sidebar-width: 264px;
}

html {
    min-height: 100%;
    background: var(--admin-bg);
    scrollbar-color: #8091a8 #e8eef6;
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #e8eef6;
}

*::-webkit-scrollbar-thumb {
    border: 2px solid #e8eef6;
    border-radius: 999px;
    background: #8091a8;
}

*::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

body.admin-auth-app {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 18% 14%, rgba(37, 99, 235, .16), transparent 28rem),
        radial-gradient(circle at 82% 22%, rgba(15, 118, 110, .12), transparent 24rem),
        linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    color: var(--admin-text);
    font-family: Arial, "Noto Sans KR", sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.admin-login-panel {
    width: min(100%, 460px);
}

.admin-login-card {
    display: grid;
    gap: 16px;
    padding: 28px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
}

.admin-login-brand span {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--admin-radius);
    background: linear-gradient(135deg, #2563eb, #0f766e);
    color: #ffffff;
    font-weight: 900;
}

.admin-login-brand strong {
    font-size: 16px;
    font-weight: 900;
}

.admin-login-card h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0;
}

.admin-login-card p {
    margin: -6px 0 0;
    color: var(--admin-muted);
    font-weight: 800;
}

.admin-login-card form {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.admin-login-card label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: var(--admin-text-soft);
    font-size: 13px;
    font-weight: 900;
}

.admin-login-card input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--admin-border-strong);
    border-radius: var(--admin-radius);
    padding: 9px 11px;
    font: inherit;
    font-weight: 700;
}

.admin-login-card button,
.admin-login-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: var(--admin-radius);
    font-weight: 900;
    text-decoration: none;
}

.admin-login-card button {
    border: 1px solid var(--admin-primary);
    background: var(--admin-primary);
    color: #ffffff;
    cursor: pointer;
}

.admin-login-switch {
    border: 1px solid var(--admin-border-strong);
    background: #ffffff;
    color: var(--admin-primary-dark);
}

body.admin-app {
    margin: 0;
    min-height: 100vh;
    padding: 86px 28px 44px calc(var(--admin-sidebar-width) + 28px);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 28rem),
        linear-gradient(180deg, #f8fafc 0%, var(--admin-bg) 55%, #eef3f8 100%);
    color: var(--admin-text);
    font-family: Arial, "Noto Sans KR", sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

body.admin-app a {
    color: var(--admin-primary);
    font-weight: 800;
    text-decoration: none;
}

body.admin-app a:hover {
    color: var(--admin-primary-dark);
}

.admin-input-suffix {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.admin-input-suffix input {
    min-width: 0;
    border-radius: var(--admin-radius) 0 0 var(--admin-radius) !important;
}

.admin-input-suffix b {
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid var(--admin-border-strong);
    border-left: 0;
    border-radius: 0 var(--admin-radius) var(--admin-radius) 0;
    background: var(--admin-surface-soft);
    color: var(--admin-text-soft);
    white-space: nowrap;
}

.admin-help {
    margin: -6px 0 14px;
    color: var(--admin-muted);
    font-weight: 700;
}

.admin-help--warning {
    margin-top: 10px;
    color: var(--admin-warning);
}

body.admin-app.page-builder-studio {
    height: 100vh;
    overflow: hidden;
    padding: 0;
    background: #e9eef5;
}

.page-builder-studio__header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    border-bottom: 1px solid var(--admin-border);
    background: #0f172a;
    color: #fff;
}

.page-builder-studio__brand,
.page-builder-studio__brand > div,
.page-builder-studio__header nav {
    display: flex;
    align-items: center;
}

.page-builder-studio__brand {
    gap: 10px;
}

.page-builder-studio__brand > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--admin-primary);
    font-weight: 900;
}

.page-builder-studio__brand > div {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.25;
}

.page-builder-studio__brand small {
    color: #94a3b8;
}

.page-builder-studio__header nav {
    gap: 8px;
}

.page-builder-studio__header nav a,
.page-builder-studio__header nav button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
    color: #fff !important;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

body.page-builder-studio > .admin-flash-success {
    position: fixed;
    z-index: 80;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
}

body.page-builder-studio .page-builder-presets {
    position: fixed;
    z-index: 60;
    top: 72px;
    right: 16px;
    width: min(1100px, calc(100vw - 32px));
    display: block;
    margin: 0;
    padding: 0;
}

body.page-builder-studio .page-builder-presets:not([open]) {
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.page-builder-presets > summary {
    display: block;
    margin-left: auto;
    padding: 9px 13px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--admin-primary);
    font-weight: 900;
    cursor: pointer;
    width: max-content;
}

.page-builder-presets[open] {
    display: grid !important;
    grid-template-columns: minmax(220px, 320px) minmax(160px, auto) minmax(0, 1fr) !important;
    gap: 14px;
    padding: 16px !important;
}

.page-builder-presets[open] > summary {
    grid-column: 1 / -1;
}

body.page-builder-studio .page-editor {
    width: 100% !important;
    max-width: none !important;
    height: calc(100vh - 64px);
    min-height: 0;
    gap: 0;
    grid-template-columns: 232px minmax(0, 1fr) 360px;
}

body.page-builder-studio .page-editor__palette,
body.page-builder-studio .page-editor__stage,
body.page-builder-studio .page-editor__inspector {
    border-width: 0 1px 0 0;
    border-radius: 0;
    box-shadow: none;
}

.page-editor__page-select {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 900;
}

.page-editor__page-select select {
    width: 150px;
    min-height: 36px;
    margin: 0;
}

.admin-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--admin-sidebar-width);
    z-index: 30;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 28px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(217, 226, 239, .9);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    backdrop-filter: blur(14px);
}

.admin-topbar > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-topbar strong {
    color: var(--admin-text);
    font-size: 17px;
    font-weight: 900;
}

.admin-topbar span {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-topbar .admin-topbar__account {
    gap: 5px;
    min-width: 0;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid #dbe5f1;
    border-radius: 10px;
    background: #f8fafc;
}

.admin-topbar .admin-topbar__account-role {
    margin-right: 6px;
    color: #64748b;
    font-size: 12px;
}

.admin-topbar .admin-topbar__account strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e293b;
    font-size: 14px;
}

.admin-topbar .admin-topbar__account-suffix {
    color: #64748b;
    font-size: 12px;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: var(--admin-sidebar-width);
    padding: 20px 16px 24px;
    overflow-y: auto;
    background: var(--admin-sidebar);
    color: #e2e8f0;
    box-shadow: 16px 0 38px rgba(15, 23, 42, .16);
    scrollbar-color: #526176 var(--admin-sidebar);
    scrollbar-width: thin;
}

.admin-sidebar::-webkit-scrollbar {
    width: 10px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: var(--admin-sidebar);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    border: 2px solid var(--admin-sidebar);
    border-radius: 999px;
    background: #526176;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: #748198;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin: 0 0 22px;
    color: #ffffff !important;
    text-decoration: none;
}

.admin-brand span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #0f766e);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.admin-brand img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: cover;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.admin-brand strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.page-builder {
    display: grid;
    gap: 18px;
}

.page-builder__toolbar,
.page-builder-background,
.page-builder__preview,
.page-builder-block {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.page-builder-background {
    display: grid;
    grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
}

.page-builder-background h2 {
    margin: 0 0 6px;
}

.page-builder-background p {
    margin: 0;
    color: var(--admin-muted);
}

.page-builder-background__fields {
    display: grid;
    grid-template-columns: .7fr 1.2fr .7fr;
    gap: 12px;
}

.page-builder-background__fields label {
    display: grid;
    gap: 7px;
    font-weight: 900;
}

.page-builder-background__fields input,
.page-builder-background__fields select {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    padding: 0 10px;
}

.page-builder__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
}

.page-builder__toolbar button,
.page-builder-block header button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--admin-primary);
    font-weight: 900;
    cursor: pointer;
}

.page-builder__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
    align-items: start;
}

.page-builder__blocks {
    display: grid;
    gap: 14px;
}

.page-builder-block {
    overflow: hidden;
}

.page-builder-block header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--admin-surface-soft);
    border-bottom: 1px solid var(--admin-border);
}

.page-builder-block header strong {
    font-size: 16px;
}

.page-builder-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 16px 0;
    font-weight: 900;
}

.page-builder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.page-builder-grid label,
.page-builder-items {
    display: grid;
    gap: 7px;
    color: var(--admin-text);
    font-weight: 900;
}

.page-builder-grid input,
.page-builder-grid select,
.page-builder-items input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    padding: 0 10px;
}

.page-builder-items {
    padding: 0 16px 16px;
}

.page-builder-items > div {
    display: grid;
    grid-template-columns: .7fr 1fr 1.4fr 1fr;
    gap: 8px;
}

.page-builder__preview {
    position: sticky;
    top: 82px;
    padding: 16px;
}

.page-builder__preview strong {
    display: block;
    margin-bottom: 10px;
}

.page-builder__preview ol {
    margin: 0;
    padding-left: 18px;
}

.page-editor {
    height: calc(100vh - 390px);
    min-height: 720px;
    display: grid;
    grid-template-columns: 220px minmax(620px, 1fr) 340px;
    gap: 14px;
}

.page-builder-presets {
    width: min(100%, 1680px);
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(160px, auto) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.page-builder-presets h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.page-builder-presets p {
    margin: 0;
    color: var(--admin-muted);
}

.page-builder-presets__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-builder-presets__actions a,
.page-builder-preset-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    background: var(--admin-primary);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 900;
}

.page-builder-preset-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.page-builder-preset-list article {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface-soft);
}

.page-builder-preset-list article.is-current {
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}

.page-builder-preset-list strong,
.page-builder-preset-list span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-builder-preset-list span,
.page-builder-preset-list small {
    color: var(--admin-muted);
    font-weight: 800;
}

.page-builder-preset-list article > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.page-builder-preset-list a {
    min-height: 30px;
    padding: 0 9px;
    background: #ffffff;
    color: var(--admin-primary) !important;
    border: 1px solid var(--admin-border-strong);
}

.page-editor__palette,
.page-editor__stage,
.page-editor__inspector {
    min-height: 0;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.page-editor__palette,
.page-editor__inspector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    overflow: auto;
}

.page-editor__palette > strong,
.page-editor__inspector > strong {
    color: var(--admin-text);
    font-size: 16px;
}

.page-editor__palette button,
.page-editor__bar button,
.page-editor-actions button {
    min-height: 36px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--admin-primary);
    font-weight: 900;
    cursor: pointer;
}

.page-editor__palette button {
    text-align: left;
    padding: 0 12px;
}

.page-editor__palette button:hover,
.page-editor__bar button.is-active,
.page-editor__bar button[type="submit"] {
    background: var(--admin-primary);
    color: #ffffff;
    border-color: var(--admin-primary);
}

.page-editor__stage {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
}

.page-editor__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--admin-border);
    background: var(--admin-surface-soft);
}

.page-editor__bar > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-editor__bar span {
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 800;
}

.page-editor__preset-fields {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(220px, 1fr);
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--admin-border);
    background: #ffffff;
}

.page-editor__preset-fields label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 900;
}

.page-editor__preset-fields input {
    min-height: 36px;
    margin: 0;
}

.page-editor__canvas-wrap {
    overflow: auto;
    padding: 18px;
    background:
        linear-gradient(45deg, rgba(148, 163, 184, .13) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(148, 163, 184, .13) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, .13) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, .13) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.page-editor__canvas {
    width: 1440px;
    min-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--admin-border-strong);
    border-radius: 12px;
    background-color: #f6f8fb;
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
}

.page-editor__canvas iframe[data-storefront-preview] {
    background: #fff;
    border: 0;
    display: block;
    height: 720px;
    min-height: 680px;
    width: 100%;
}

.page-editor__canvas.is-mobile {
    width: 390px;
}

.page-editor__canvas.is-pattern {
    background-size: auto;
    background-repeat: repeat;
}

.page-editor-store-header {
    position: relative;
    z-index: 2;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--admin-border);
}

.page-editor-store-header__menu {
    display: none;
    width: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(currentColor 0 0) center 10px / 22px 2px no-repeat,
        linear-gradient(currentColor 0 0) center 17px / 22px 2px no-repeat,
        linear-gradient(currentColor 0 0) center 24px / 22px 2px no-repeat;
    color: #111827;
}

.page-editor-store-header nav {
    display: flex;
    gap: 18px;
    color: #111827;
    font-size: 12px;
    font-weight: 900;
}

.page-editor__canvas.header-center .page-editor-store-header {
    height: 118px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
}

.page-editor__canvas.header-overlay .page-editor-store-header {
    margin-bottom: -62px;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .48), rgba(15, 23, 42, 0));
    color: #ffffff;
}

.page-editor__canvas.header-overlay .page-editor-store-header nav,
.page-editor__canvas.header-overlay .page-editor-store-header__menu {
    color: #ffffff;
}

.page-editor__canvas.header-hamburger .page-editor-store-header,
.page-editor__canvas.nav-hamburger .page-editor-store-header {
    display: grid;
    grid-template-columns: 44px 1fr auto;
}

.page-editor__canvas.header-hamburger .page-editor-store-header__menu,
.page-editor__canvas.nav-hamburger .page-editor-store-header__menu {
    display: block;
}

.page-editor__canvas.header-hamburger .page-editor-store-header strong,
.page-editor__canvas.nav-hamburger .page-editor-store-header strong {
    justify-self: center;
}

.page-editor__canvas.nav-hamburger .page-editor-store-header nav span:not(:last-child) {
    display: none;
}

.page-editor__canvas.nav-icons .page-editor-store-header nav span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2ff;
    color: transparent;
}

.page-editor__canvas main {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.page-editor-preview-block {
    position: relative;
    min-height: 140px;
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 26px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    cursor: pointer;
}

.page-editor-preview-block[draggable="true"] {
    cursor: grab;
}

.page-editor-preview-block[draggable="true"]:active {
    cursor: grabbing;
}

.page-editor-preview-block:hover,
.page-editor-preview-block.is-selected {
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.page-editor-preview-block.is-dragging {
    opacity: .45;
}

.page-editor-preview-block > span,
.page-editor-preview-block small {
    color: var(--admin-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.page-editor-preview-block > strong {
    color: var(--admin-text);
    font-size: 28px;
    line-height: 1.18;
}

.page-editor-preview-block p {
    margin: 0;
    color: var(--admin-muted);
}

.page-editor-preview-block--hero,
.page-editor-preview-block--split_hero {
    min-height: 300px;
    background:
        radial-gradient(circle at 82% 25%, rgba(37, 99, 235, .2), transparent 12rem),
        #ffffff;
}

.page-editor-preview-block--image_banner {
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
}

.preview-image {
    min-height: 170px;
    border-radius: 10px;
    background: #e2e8f0;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-products,
.preview-chips,
.preview-cards {
    display: grid;
    gap: 10px;
}

.preview-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.preview-products i {
    height: 120px;
    border-radius: 10px;
    background: linear-gradient(180deg, #eaf1ff, #ffffff);
    border: 1px solid #dbe7f8;
}

.preview-chips {
    display: flex;
    flex-wrap: wrap;
}

.preview-chips i {
    padding: 8px 13px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 999px;
    background: #ffffff;
    font-style: normal;
    font-weight: 900;
}

.page-editor__canvas.category-bar .page-editor-preview-block--category_strip .preview-chips {
    justify-content: center;
    padding: 10px 0;
    border-top: 1px solid #dbe4f0;
    border-bottom: 1px solid #dbe4f0;
}

.page-editor__canvas.category-bar .page-editor-preview-block--category_strip .preview-chips i {
    border: 0;
    background: transparent;
}

.page-editor__canvas.category-hamburger .page-editor-preview-block--category_strip .preview-chips::before,
.page-editor__canvas.category-layered .page-editor-preview-block--category_strip .preview-chips::before {
    content: "";
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background:
        linear-gradient(#111827 0 0) center 10px / 18px 2px no-repeat,
        linear-gradient(#111827 0 0) center 17px / 18px 2px no-repeat,
        linear-gradient(#111827 0 0) center 24px / 18px 2px no-repeat,
        #f8fafc;
}

.page-editor__canvas.category-layered .page-editor-preview-block--category_strip {
    align-content: start;
}

.page-editor__canvas.category-layered .page-editor-preview-block--category_strip .preview-chips {
    align-items: flex-start;
}

.page-editor__canvas.category-layered .page-editor-preview-block--category_strip .preview-chips i {
    box-shadow: 8px 8px 0 rgba(15, 23, 42, .06);
}

.page-editor__canvas.skin-labonbon {
    background: #ffffff;
}

.page-editor__canvas.skin-labonbon .page-editor-store-header {
    height: 132px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 18px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.page-editor__canvas.skin-labonbon .page-editor-store-header strong {
    font-size: 22px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.page-editor__canvas.skin-labonbon .page-editor-store-header nav {
    gap: 26px;
    font-size: 11px;
    letter-spacing: .1em;
}

.page-editor__canvas.skin-labonbon .page-editor-preview-block {
    border-radius: 0;
    box-shadow: none;
}

.page-editor__canvas.skin-labonbon .page-editor-preview-block--hero {
    min-height: 360px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .55), transparent 34%),
        linear-gradient(135deg, #f5ddd4, #f7efe8 44%, #e8d8ce);
}

.page-editor__canvas.skin-labonbon .preview-products i {
    height: 150px;
    border-radius: 0;
    background: linear-gradient(180deg, #f4eee8, #ffffff);
}

.page-editor__canvas.skin-solution {
    background:
        linear-gradient(180deg, #f7fbff 0, #ffffff 55%),
        #ffffff;
}

.page-editor__canvas.skin-solution .page-editor-store-header {
    height: 72px;
    grid-template-columns: auto 1fr;
    gap: 18px;
    border-bottom: 1px solid #d9e6f5;
    background: rgba(255, 255, 255, .96);
}

.page-editor__canvas.skin-solution .page-editor-store-header strong {
    font-size: 16px;
    letter-spacing: 0;
}

.page-editor__canvas.skin-solution .page-editor-store-header nav {
    justify-content: flex-end;
    gap: 10px;
    font-size: 12px;
}

.page-editor__canvas.skin-solution .page-editor-store-header nav span {
    padding: 7px 10px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1f5eff;
}

.page-editor__canvas.skin-solution .page-editor-preview-block {
    border-color: #d9e6f5;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.page-editor__canvas.skin-solution .page-editor-preview-block--hero {
    min-height: 350px;
    background:
        linear-gradient(120deg, #ffffff 0 52%, rgba(31, 94, 255, .08) 52%),
        radial-gradient(circle at 82% 28%, rgba(20, 184, 166, .24), transparent 10rem);
}

.preview-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-cards article {
    min-height: 130px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #ffffff;
}

.preview-cards b {
    font-size: 17px;
}

.preview-video {
    width: 100%;
    min-height: 170px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    font-size: 32px;
}

.preview-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
}

.preview-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.preview-logos i {
    min-height: 70px;
    display: grid;
    place-items: center;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #ffffff;
    font-style: normal;
    font-weight: 900;
}

.preview-faq {
    display: grid;
    gap: 8px;
}

.preview-faq p {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--admin-border);
    border-radius: 9px;
    background: #ffffff;
}

.page-editor__data {
    display: none;
}

.page-editor__inspector label {
    display: grid;
    gap: 6px;
    color: var(--admin-text);
    font-size: 13px;
    font-weight: 900;
}

.page-editor__inspector input,
.page-editor__inspector select,
.page-editor__inspector textarea {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
}

.page-editor-check {
    grid-template-columns: auto 1fr !important;
    align-items: center;
}

.page-editor__selected {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: var(--admin-primary-soft);
}

.page-editor__selected b {
    color: var(--admin-primary-dark);
}

.page-editor__selected span,
.page-editor-empty {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 800;
}

.page-editor-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.page-editor-items {
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.page-editor-items section {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface-soft);
}

.page-editor__inspector hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--admin-border);
}

@media (max-width: 1280px) {
    .page-builder-presets {
        grid-template-columns: 1fr;
    }

    .page-editor {
        height: auto;
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .page-editor__inspector {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .page-editor__preset-fields {
        grid-template-columns: 1fr;
    }

    .page-editor {
        grid-template-columns: 1fr;
    }

    .page-editor__palette {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-editor__palette > strong {
        grid-column: 1 / -1;
    }
}

.admin-sidebar nav {
    display: grid;
    gap: 4px;
}

.admin-sidebar nav small {
    margin: 18px 10px 6px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
}

.admin-sidebar nav small:first-child {
    margin-top: 0;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--admin-radius);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

.admin-sidebar nav a:hover {
    background: var(--admin-sidebar-panel);
    color: #ffffff;
}

.admin-sidebar nav a.is-active {
    background: #ffffff;
    color: var(--admin-text);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.admin-shell,
body.admin-app > h1,
body.admin-app > h2,
body.admin-app > nav:not(.admin-sidebar nav),
body.admin-app > p,
body.admin-app > section,
body.admin-app > form,
body.admin-app > table,
body.admin-app > ul,
body.admin-app > div:not(.admin-topbar):not(.admin-sidebar):not(.admin-modal) {
    width: min(100%, 1520px);
    margin-left: 0;
    margin-right: auto;
}

.admin-shell > h1,
body.admin-app > h1 {
    margin: 0 0 18px;
    color: var(--admin-text);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.admin-shell > h2,
body.admin-app > h2 {
    margin: 30px 0 14px;
    color: var(--admin-text);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
}

.admin-shell > p,
body.admin-app > p {
    margin: 0 0 16px;
    color: var(--admin-text-soft);
}

body.admin-app > nav:not(.admin-sidebar nav) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

body.admin-app > nav:not(.admin-sidebar nav) a,
.admin-shell > p > a,
body.admin-app > p > a,
.admin-action-row a,
.empty-state a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--admin-primary);
    border-radius: var(--admin-radius);
    background: var(--admin-primary);
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .16);
}

body.admin-app > nav:not(.admin-sidebar nav) a:hover,
.admin-shell > p > a:hover,
body.admin-app > p > a:hover,
.admin-action-row a:hover,
.empty-state a:hover {
    background: var(--admin-primary-dark);
    border-color: var(--admin-primary-dark);
}

body.admin-app table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 24px;
    overflow: hidden;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
}

body.admin-app th,
body.admin-app td {
    border: 0;
    border-bottom: 1px solid #e8eef6;
    padding: 13px 14px;
    vertical-align: middle;
}

body.admin-app th {
    background: #edf3f9;
    color: #26364f;
    text-align: left;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

body.admin-app td {
    color: var(--admin-text);
    background: #ffffff;
}

body.admin-app tr:last-child td {
    border-bottom: 0;
}

body.admin-app tr:hover td {
    background: #f8fbff;
}

body.admin-app td a:not(.admin-button-secondary) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 9px;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    background: #eff6ff;
    color: var(--admin-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

body.admin-app td a:not(.admin-button-secondary):hover {
    border-color: var(--admin-primary);
    background: #dbeafe;
}

.product-management {
    width: 210px;
    min-width: 210px;
}

.product-image-upload {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--admin-border);
}

.product-image-upload > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--admin-text-soft);
}

.product-image-upload__content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.product-image-upload__preview {
    display: grid;
    place-items: center;
    width: 136px;
    height: 136px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px dashed var(--admin-border-strong);
    border-radius: var(--admin-radius);
    background: var(--admin-surface-soft);
    color: var(--admin-muted);
    font-size: 12px;
}

.product-image-upload__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-upload__controls {
    flex: 1 1 230px;
    min-width: 0;
}

body.admin-app .product-image-upload__controls label {
    margin: 0 0 8px;
}

.product-image-upload__controls p {
    margin: 6px 0;
    color: var(--admin-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

body.admin-app .product-image-upload__clear {
    margin-top: 6px;
    background: var(--admin-surface-soft);
    border-color: var(--admin-border-strong);
    color: var(--admin-text-soft);
}

.product-image-upload [hidden] {
    display: none !important;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

body.admin-app .product-actions form {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.admin-app .product-actions .product-action-button {
    min-height: 30px;
    padding: 0 9px;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    background: #eff6ff;
    color: var(--admin-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

body.admin-app .product-actions .product-action-button:hover {
    border-color: var(--admin-primary);
    background: #dbeafe;
    color: var(--admin-primary-dark);
    box-shadow: none;
}

body.admin-app .product-actions .product-action-button--danger {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

body.admin-app .product-actions .product-action-button--danger:hover {
    border-color: #ef4444;
    background: #fee2e2;
    color: #991b1b;
}

body.admin-app form {
    margin: 0 0 20px;
    padding: 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

body.admin-app > form:not(.admin-filter-bar):not(.page-editor) {
    width: min(100%, 720px);
}

body.admin-app > form.admin-wide-form {
    width: min(100%, 1180px);
}

body.admin-app > form.page-editor {
    width: min(100%, 1680px);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.admin-app td form {
    display: inline-grid;
    gap: 8px;
    min-width: 160px;
    margin: 0;
    padding: 10px;
    background: var(--admin-surface-soft);
    border-radius: var(--admin-radius);
    box-shadow: none;
}

body.admin-app .admin-inline-form {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.admin-app label {
    display: grid;
    gap: 7px;
    margin: 0 0 14px;
    color: var(--admin-text-soft);
    font-size: 13px;
    font-weight: 900;
}

body.admin-app input,
body.admin-app select,
body.admin-app textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--admin-border-strong);
    border-radius: var(--admin-radius);
    padding: 9px 11px;
    background: #ffffff;
    color: var(--admin-text);
    font: inherit;
    font-weight: 700;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

body.admin-app textarea {
    min-height: 110px;
    resize: vertical;
}

body.admin-app input::placeholder,
body.admin-app textarea::placeholder {
    color: #94a3b8;
}

body.admin-app input:focus,
body.admin-app select:focus,
body.admin-app textarea:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

body.admin-app input[type=checkbox],
body.admin-app input[type=radio] {
    width: 16px;
    min-height: 16px;
    margin: 0;
    accent-color: var(--admin-primary);
}

body.admin-app input[type=file] {
    padding: 8px;
    background: #f8fafc;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px !important;
}

body.admin-app button,
body.admin-app .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--admin-primary);
    border-radius: var(--admin-radius);
    background: var(--admin-primary);
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

body.admin-app button:hover,
body.admin-app .button:hover {
    background: var(--admin-primary-dark);
    border-color: var(--admin-primary-dark);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

body.admin-app button:disabled,
body.admin-app .button:disabled {
    cursor: not-allowed;
    opacity: .58;
    box-shadow: none;
}

.admin-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--admin-border-strong);
    border-radius: var(--admin-radius);
    background: #ffffff;
    color: var(--admin-primary-dark) !important;
    font-weight: 900;
    text-decoration: none;
}

.admin-button-secondary:hover {
    border-color: var(--admin-primary);
    background: var(--admin-primary-soft);
}

body.admin-app img {
    max-width: 100%;
    border-radius: var(--admin-radius);
}

.order-item-image-cell {
    width: 92px;
    min-width: 92px;
}

body.admin-app td a.order-item-image-link {
    display: inline-flex;
    width: 68px;
    height: 68px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: #ffffff;
}

body.admin-app td a.order-item-image-link:hover {
    border-color: var(--admin-primary);
    background: #ffffff;
}

body.admin-app .order-item-thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
}

body.admin-app pre {
    max-width: 920px;
    margin: 0;
    padding: 14px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: #0f172a;
    border-radius: var(--admin-radius);
    color: #e2e8f0;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: var(--admin-info);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.admin-status--active,
.admin-status--paid,
.admin-status--issued,
.admin-status--signed,
.admin-status--verified,
.admin-status--success,
.admin-status--delivered,
.admin-status--ship-delivered {
    background: #dcfce7;
    color: #166534;
}

.admin-status--ready,
.admin-status--pending,
.admin-status--requested,
.admin-status--sent,
.admin-status--opened,
.admin-status--payment_waiting,
.admin-status--draft,
.admin-status--paused,
.admin-status--ship-ready,
.admin-status--ship-preparing {
    background: #fef3c7;
    color: #92400e;
}

.admin-status--shipped,
.admin-status--ship-shipped,
.admin-status--processing {
    background: #e0f2fe;
    color: #075985;
}

.admin-status--failed,
.admin-status--canceled,
.admin-status--cancelled,
.admin-status--expired,
.admin-status--inactive,
.admin-status--blocked,
.admin-status--closed,
.admin-status--ship-canceled,
.admin-status--ship-returned {
    background: #fee2e2;
    color: #991b1b;
}

.admin-card,
.admin-kpi-grid article {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
}

.admin-card {
    padding: 18px;
}

.admin-card h2 {
    margin: 0 0 14px;
    color: var(--admin-text);
    font-size: 18px;
    font-weight: 900;
}

.admin-kpi-grid,
.admin-detail-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.admin-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-kpi-grid article {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.admin-kpi-grid span {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 900;
}

.admin-kpi-grid strong {
    color: var(--admin-text);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.admin-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: start;
}

.admin-definition-list {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 0;
}

.admin-definition-list dt {
    color: var(--admin-muted);
    font-weight: 900;
}

.admin-definition-list dd {
    min-width: 0;
    margin: 0;
    word-break: break-word;
}

.admin-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-form-grid,
.theme-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px 16px;
}

.admin-form-grid label,
.theme-fields label {
    margin-bottom: 0;
}

.admin-compact-table {
    margin: 0;
    box-shadow: none;
}

.admin-compact-table th,
.admin-compact-table td {
    padding: 9px 10px;
    font-size: 13px;
}

.admin-muted {
    color: var(--admin-muted);
}

.banner-slide-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.banner-slide-row {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: var(--admin-surface-soft);
}

.banner-slide-row > strong {
    color: var(--admin-text);
    font-size: 15px;
    font-weight: 900;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-filter-bar input,
.admin-filter-bar select {
    margin: 0;
}

.admin-filter-bar button,
.admin-filter-bar .admin-button-secondary {
    width: 100%;
}

.admin-alert,
.alert {
    margin: 0 0 18px;
    padding: 13px 14px;
    border-radius: var(--admin-radius);
    font-weight: 900;
}

.admin-alert--danger {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.admin-alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.admin-alert code {
    display: inline-flex;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.08);
    color: var(--admin-text);
    font-size: 15px;
    font-weight: 900;
}

.admin-text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--admin-primary);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.admin-text-button:hover {
    color: var(--admin-primary-dark);
    text-decoration: underline;
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 20px;
    overflow: auto;
}

body.admin-app > .admin-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    box-sizing: border-box;
}

.admin-modal__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, .48);
}

.admin-modal__panel {
    position: relative;
    width: min(100%, 420px);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: var(--admin-surface);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

.admin-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-modal__header h2 {
    margin: 0;
    font-size: 20px;
}

.admin-modal__header p {
    margin: 2px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-icon-button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    background: var(--admin-surface-soft);
    color: var(--admin-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.admin-modal__receipt {
    margin: 0;
}

.admin-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.admin-modal__panel--receipt-slip {
    width: min(100%, 460px);
    padding: 16px;
    border-color: #dbeafe;
    background: #ffffff;
}

.receipt-slip {
    display: grid;
    gap: 8px;
    color: #172033;
}

.receipt-slip__header {
    align-items: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5edf8;
}

.receipt-slip__brand {
    display: inline-flex;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.receipt-slip__summary {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
}

.receipt-slip__summary span {
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.receipt-slip__summary strong {
    color: #0f172a;
    font-size: 27px;
    line-height: 1.1;
}

.receipt-slip__summary em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.receipt-slip__section {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid #e5edf8;
    border-radius: 8px;
    background: #ffffff;
}

.receipt-slip__section h3 {
    margin: 0;
    padding: 0 0 6px;
    border-bottom: 1px solid #eef2f7;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.receipt-slip__section h3 small,
.receipt-slip span small,
.receipt-slip__total small {
    color: inherit;
    font-size: 10px;
    font-weight: 800;
    opacity: .72;
}

.receipt-slip span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.receipt-slip b,
.receipt-slip strong {
    color: #172033;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.receipt-slip b.is-accent {
    color: #2563eb;
}

.receipt-slip__grid {
    display: grid;
    grid-template-columns: minmax(110px, .78fr) minmax(0, 1fr);
    gap: 5px 13px;
}

.receipt-slip__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding: 10px 14px;
    border: 1px solid #172033;
    border-radius: 8px;
    background: #f8fafc;
}

.receipt-slip__total strong {
    color: #2563eb;
    font-size: 22px;
}

.receipt-slip__notice {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
    color: #475569;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.alert {
    border: 1px solid #fdba74;
    background: #fff7ed;
    color: #9a3412;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--admin-border-strong);
    border-radius: var(--admin-radius);
    background: #ffffff;
    color: var(--admin-text);
}

.theme-section {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.theme-section h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 900;
}

.theme-section p {
    margin: 0;
    color: var(--admin-muted);
}

.theme-section--split {
    grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
}

.theme-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.theme-preset-card {
    position: relative;
    display: grid !important;
    gap: 12px;
    min-height: 270px;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.theme-preset-card:hover,
.theme-preset-card.is-selected {
    border-color: var(--admin-primary);
    box-shadow: var(--admin-shadow);
    transform: translateY(-1px);
}

.theme-preset-card input {
    position: absolute;
    top: 16px;
    right: 16px;
}

.theme-preset-card__badge {
    position: absolute;
    top: 14px;
    right: 42px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--admin-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.theme-preset-card__header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 30px;
}

.theme-preset-card__header strong {
    color: var(--admin-text);
    font-size: 17px;
    font-weight: 900;
}

.theme-preset-card__header small,
.theme-preset-card__meta {
    color: var(--admin-muted);
    font-weight: 800;
}

.theme-preset-card__swatches {
    display: flex;
    gap: 8px;
}

.theme-preset-card__swatches i {
    display: block;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: var(--admin-radius);
}

.theme-preset-preview {
    --preview-primary: #2563eb;
    --preview-secondary: #10b981;
    --preview-bg: #f8fafc;
    --preview-surface: #ffffff;
    --preview-text: #111827;
    display: grid;
    gap: 8px;
    min-height: 116px;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: var(--admin-radius);
    background: var(--preview-bg);
    overflow: hidden;
}

.theme-preset-preview__top {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
}

.theme-preset-preview__top i {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--preview-primary), var(--preview-secondary));
}

.theme-preset-preview__top b {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--preview-text), transparent 72%);
}

.theme-preset-preview__top b:first-of-type {
    width: 46px;
    margin-left: auto;
}

.theme-preset-preview__top b:last-of-type {
    width: 32px;
}

.theme-preset-preview__hero {
    display: grid;
    align-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 10px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--preview-primary), var(--preview-secondary));
}

.theme-preset-preview__hero b,
.theme-preset-preview__hero em {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
}

.theme-preset-preview__hero b {
    width: 54%;
    height: 8px;
}

.theme-preset-preview__hero em {
    width: 34%;
    height: 6px;
}

.theme-preset-preview__products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.theme-preset-preview__products i {
    min-height: 28px;
    border-radius: 7px;
    background: var(--preview-surface);
    border: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 8px 14px rgba(15, 23, 42, .06);
}

.theme-preset-card--basic .theme-preset-preview {
    --preview-primary: #2563eb;
    --preview-secondary: #10b981;
    --preview-bg: #eef5ff;
}

.theme-preset-card--modern .theme-preset-preview {
    --preview-primary: #0f766e;
    --preview-secondary: #f59e0b;
    --preview-bg: #ecfdf5;
}

.theme-preset-card--modern .theme-preset-preview__top {
    padding: 4px 6px;
    border-radius: 7px;
    background: #0f766e;
}

.theme-preset-card--minimal .theme-preset-preview {
    --preview-primary: #111827;
    --preview-secondary: #9ca3af;
    --preview-bg: #ffffff;
    border-color: #111827;
}

.theme-preset-card--minimal .theme-preset-preview__hero {
    min-height: 34px;
    background: #ffffff;
    border: 1px solid #111827;
}

.theme-preset-card--minimal .theme-preset-preview__hero b,
.theme-preset-card--minimal .theme-preset-preview__hero em {
    background: #111827;
}

.theme-preset-card--minimal .theme-preset-preview__products i {
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
}

.theme-preset-card--premium .theme-preset-preview {
    --preview-primary: #8b5cf6;
    --preview-secondary: #d4af37;
    --preview-bg: #f7f1ff;
    --preview-text: #241a3a;
}

.theme-preset-card--premium .theme-preset-preview__top {
    padding: 4px 6px;
    border-radius: 7px;
    background: #241a3a;
}

.theme-preset-card--premium .theme-preset-preview__products i {
    border-color: rgba(212, 175, 55, .55);
}

.theme-preset-card--fashion .theme-preset-preview {
    --preview-primary: #db2777;
    --preview-secondary: #111827;
    --preview-bg: #111827;
}

.theme-preset-card--fashion .theme-preset-preview__hero {
    min-height: 64px;
    border-radius: 0;
}

.theme-preset-card--fashion .theme-preset-preview__products i {
    min-height: 38px;
    border-radius: 0;
}

.theme-preset-card--beauty .theme-preset-preview {
    --preview-primary: #be185d;
    --preview-secondary: #f9a8d4;
    --preview-bg: #fff7fb;
}

.theme-preset-card--beauty .theme-preset-preview,
.theme-preset-card--beauty .theme-preset-preview__hero,
.theme-preset-card--beauty .theme-preset-preview__products i {
    border-radius: 18px;
}

.theme-preset-card--food .theme-preset-preview {
    --preview-primary: #ea580c;
    --preview-secondary: #16a34a;
    --preview-bg: #fff7ed;
}

.theme-preset-card--food .theme-preset-preview__products i {
    border-style: dashed;
    border-color: #fdba74;
}

.theme-preset-card--digital .theme-preset-preview {
    --preview-primary: #2563eb;
    --preview-secondary: #06b6d4;
    --preview-bg: #0f172a;
}

.theme-preset-card--digital .theme-preset-preview__top b,
.theme-preset-card--digital .theme-preset-preview__products i {
    background: rgba(224, 242, 254, .9);
}

.theme-preset-card--digital .theme-preset-preview__hero {
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(6, 182, 212, .82)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 1px, transparent 1px 12px);
}

.theme-preset-card--b2b .theme-preset-preview {
    --preview-primary: #334155;
    --preview-secondary: #0ea5e9;
    --preview-bg: #f1f5f9;
}

.theme-preset-card--b2b .theme-preset-preview__hero,
.theme-preset-card--b2b .theme-preset-preview__products i {
    border-radius: 3px;
    box-shadow: none;
}

.theme-preset-card--lifestyle .theme-preset-preview {
    --preview-primary: #65a30d;
    --preview-secondary: #f97316;
    --preview-bg: #f7fee7;
}

.theme-preset-card--lifestyle .theme-preset-preview__products i {
    border-radius: 16px 5px;
}

.theme-preset-card--modern .theme-preset-preview__hero {
    min-height: 58px;
    border-radius: 18px;
}

.theme-preset-card--modern .theme-preset-preview__products {
    grid-template-columns: 1.2fr .8fr .8fr;
}

.theme-preset-card--minimal .theme-preset-preview {
    gap: 5px;
}

.theme-preset-card--minimal .theme-preset-preview__top i {
    display: none;
}

.theme-preset-card--minimal .theme-preset-preview__products {
    grid-template-columns: 1fr;
    gap: 4px;
}

.theme-preset-card--minimal .theme-preset-preview__products i {
    min-height: 12px;
}

.theme-preset-card--premium .theme-preset-preview__hero {
    border-radius: 18px 4px;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .42);
}

.theme-preset-card--premium .theme-preset-preview__products {
    grid-template-columns: 1fr 1fr;
}

.theme-preset-card--premium .theme-preset-preview__products i:last-child {
    display: none;
}

.theme-preset-card--fashion .theme-preset-preview {
    padding: 0;
}

.theme-preset-card--fashion .theme-preset-preview__top {
    padding: 9px;
}

.theme-preset-card--fashion .theme-preset-preview__hero {
    min-height: 70px;
}

.theme-preset-card--fashion .theme-preset-preview__products {
    padding: 0 10px 10px;
}

.theme-preset-card--beauty .theme-preset-preview__hero {
    min-height: 60px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .72), transparent 38%),
        linear-gradient(135deg, #be185d, #f9a8d4);
}

.theme-preset-card--beauty .theme-preset-preview__products i {
    border-color: #fbcfe8;
    background: #fffafd;
}

.theme-preset-card--food .theme-preset-preview {
    border-style: dashed;
}

.theme-preset-card--food .theme-preset-preview__products {
    grid-template-columns: 1fr;
    gap: 5px;
}

.theme-preset-card--food .theme-preset-preview__products i {
    min-height: 18px;
}

.theme-preset-card--digital .theme-preset-preview {
    box-shadow: inset 0 0 0 1px rgba(6, 182, 212, .22);
}

.theme-preset-card--digital .theme-preset-preview__products {
    grid-template-columns: repeat(4, 1fr);
}

.theme-preset-card--digital .theme-preset-preview__products i {
    min-height: 24px;
    border-radius: 4px;
}

.theme-preset-card--b2b .theme-preset-preview {
    grid-template-columns: 34px minmax(0, 1fr);
}

.theme-preset-card--b2b .theme-preset-preview:before {
    content: "";
    grid-row: 1 / span 3;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background:
        linear-gradient(#cbd5e1 0 0) 8px 9px / 16px 3px no-repeat,
        linear-gradient(#cbd5e1 0 0) 8px 20px / 18px 3px no-repeat,
        linear-gradient(#cbd5e1 0 0) 8px 31px / 13px 3px no-repeat,
        #ffffff;
}

.theme-preset-card--b2b .theme-preset-preview__products {
    grid-template-columns: repeat(2, 1fr);
}

.theme-preset-card--b2b .theme-preset-preview__products i:last-child {
    display: none;
}

.theme-preset-card--lifestyle .theme-preset-preview__hero {
    min-height: 60px;
    border-radius: 18px 6px;
}

.theme-preset-card--lifestyle .theme-preset-preview__products {
    grid-template-columns: 1.4fr .8fr .8fr;
}

.theme-preset-card--solution-market .theme-preset-preview {
    --preview-primary: #2563EB;
    --preview-secondary: #0F172A;
    --preview-bg: #f8fafc;
    --preview-surface: #ffffff;
    grid-template-columns: 1fr;
    gap: 7px;
    border-color: #bfdbfe;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(15, 23, 42, .04)),
        #ffffff;
}

.theme-preset-card--solution-market .theme-preset-preview__top {
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}

.theme-preset-card--solution-market .theme-preset-preview__top i {
    border-radius: 6px;
    background: linear-gradient(135deg, #2563EB, #0F172A);
}

.theme-preset-card--solution-market .theme-preset-preview__top b {
    background: #cbd5e1;
}

.theme-preset-card--solution-market .theme-preset-preview__hero {
    min-height: 46px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background:
        linear-gradient(#ffffff 0 0) 78% 50% / 36% 58% no-repeat,
        linear-gradient(135deg, #0F172A, #1D4ED8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.theme-preset-card--solution-market .theme-preset-preview__hero b {
    width: 42%;
    height: 7px;
    background: #ffffff;
}

.theme-preset-card--solution-market .theme-preset-preview__hero em {
    width: 58%;
    height: 5px;
    background: rgba(255, 255, 255, .68);
}

.theme-preset-card--solution-market .theme-preset-preview__products {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.theme-preset-card--solution-market .theme-preset-preview__products i {
    min-height: 24px;
    border-radius: 5px;
    border-color: #dbeafe;
    background:
        linear-gradient(#2563EB 0 0) 10px 8px / 16px 3px no-repeat,
        linear-gradient(#e5e7eb 0 0) 10px 15px / 24px 3px no-repeat,
        #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .08);
}

.theme-preset-card--builder .theme-preset-preview {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(20, 184, 166, .18)),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, .05) 0 1px, transparent 1px 18px),
        #f8fafc;
}

.theme-preset-card--builder .theme-preset-preview__top i {
    background: linear-gradient(135deg, var(--admin-primary), #14b8a6);
}

.theme-preset-card--builder .theme-preset-preview__hero {
    background: linear-gradient(135deg, var(--admin-primary), #0f172a);
}

.theme-preset-card--builder .theme-preset-preview__products i {
    border-style: dashed;
    background: rgba(255, 255, 255, .88);
}

body.admin-app > form.admin-theme-form {
    width: min(100%, 1520px) !important;
    display: grid;
    gap: 24px;
    padding: 24px;
}

.theme-builder-summary {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: var(--admin-surface-soft);
}

.theme-builder-summary h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.theme-builder-summary p {
    margin: 0;
    color: var(--admin-muted);
}

.theme-builder-summary__body {
    display: grid;
    gap: 12px;
}

.theme-builder-summary__meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.theme-builder-summary__meta strong {
    color: var(--admin-text);
    font-size: 18px;
}

.theme-builder-summary__meta span {
    color: var(--admin-muted);
    font-weight: 800;
}

.theme-builder-summary__chips,
.theme-builder-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-builder-summary__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--admin-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.theme-builder-summary__chips span.is-off {
    background: #e5e7eb;
    color: #64748b;
}

.theme-builder-summary__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--admin-primary);
    color: #ffffff !important;
    font-weight: 900;
}

.admin-theme-form .theme-section {
    display: grid;
    gap: 16px;
    margin: 0;
}

.admin-theme-form .theme-section--split {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
}

.admin-theme-form .theme-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.admin-theme-form .theme-preset-card {
    min-width: 0;
    display: grid !important;
    grid-template-rows: auto minmax(96px, auto) auto auto;
    gap: 10px;
    margin: 0 !important;
    padding: 14px !important;
    color: var(--admin-text);
    min-height: 230px;
}

.admin-theme-form .theme-preset-card input[type=radio] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 18px;
    min-height: 18px;
}

.admin-theme-form .theme-preset-card__badge {
    right: 46px;
}

.admin-theme-form .theme-preset-preview {
    width: 100%;
    min-width: 0;
    min-height: 96px;
}

.admin-theme-form .theme-preset-card__swatches,
.admin-theme-form .theme-preset-card__meta {
    align-self: end;
}

.admin-theme-form .theme-preset-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-theme-form .theme-preset-card__chips i {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--admin-primary-dark);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.admin-theme-form .theme-preset-card__chips i.is-off {
    background: #e5e7eb;
    color: #64748b;
}

.admin-theme-form .theme-preset-card__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid var(--admin-border-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--admin-primary) !important;
    font-size: 12px;
    font-weight: 900;
}

.admin-theme-form .theme-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px 16px;
}

.admin-theme-form .theme-fields label {
    min-width: 0;
    margin: 0;
}

.admin-theme-form > button[type=submit] {
    width: fit-content;
    min-width: 140px;
}

@media (max-width: 1024px) {
    :root {
        --admin-sidebar-width: 236px;
    }

    body.admin-app {
        padding-right: 18px;
        padding-left: calc(var(--admin-sidebar-width) + 18px);
    }

    .admin-sidebar {
        padding-right: 12px;
        padding-left: 12px;
    }

    .admin-detail-grid,
    .theme-builder-summary,
    .admin-theme-form .theme-section--split,
    .theme-section--split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.admin-app {
        padding: 0 14px 34px;
    }

    .admin-topbar {
        position: static;
        height: auto;
        min-height: 58px;
        margin: 0 -14px;
        padding: 14px;
    }

    .admin-topbar .admin-topbar__account-role {
        display: none;
    }

    .admin-sidebar {
        position: static;
        width: auto;
        max-height: none;
        margin: 0 -14px 22px;
        padding: 14px;
        box-shadow: none;
    }

    .admin-brand {
        margin-bottom: 14px;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar nav small {
        grid-column: 1 / -1;
    }

    .admin-shell,
    body.admin-app > h1,
    body.admin-app > h2,
    body.admin-app > nav:not(.admin-sidebar nav),
    body.admin-app > p,
    body.admin-app > form,
    body.admin-app > table,
    body.admin-app > ul,
    body.admin-app > div:not(.admin-topbar):not(.admin-sidebar):not(.admin-modal) {
        width: 100%;
    }

    .admin-shell > h1,
    body.admin-app > h1 {
        font-size: 26px;
    }

    body.admin-app form,
    body.admin-app table {
        box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
    }

    body.admin-app table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .admin-form-grid,
    .admin-theme-form .theme-fields,
    .theme-fields,
    .admin-definition-list {
        grid-template-columns: 1fr;
    }

    .admin-action-row a,
    .admin-shell > p > a,
    body.admin-app > p > a {
        width: 100%;
    }
}
