:root {
    color-scheme: light dark;

    --gp-green-start: #0e9f5c;
    --gp-green-end: #4ade80;
    --gp-dark: #12141c;
    --gp-bg: #f4f6f8;
    --gp-card-bg: #ffffff;
    --gp-surface-muted: #eef1f4;
    --gp-input-bg: #ffffff;
    --gp-border: #e2e5ea;
    --gp-text-muted: #6b7280;

    --gp-danger: #dc2626;
    --gp-danger-bg: #fef2f2;
    --gp-danger-border: #fecaca;
    --gp-danger-text: #991b1b;

    --gp-success-bg: #dcfce7;
    --gp-success-text: #166534;
    --gp-success-border: #bbf7d0;

    --gp-warning-bg: #fef9c3;
    --gp-warning-text: #854d0e;
    --gp-warning-border: #fde68a;

    --gp-info-bg: #eff6ff;
    --gp-info-text: #1e40af;
    --gp-info-border: #bfdbfe;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --gp-dark: #eef1f5;
        --gp-bg: #0e1013;
        --gp-card-bg: #1a1d23;
        --gp-surface-muted: #242830;
        --gp-input-bg: #20242c;
        --gp-border: #30343d;
        --gp-text-muted: #9aa1ac;

        --gp-danger: #f87171;
        --gp-danger-bg: #3a1d1d;
        --gp-danger-border: #5c2626;
        --gp-danger-text: #fca5a5;

        --gp-success-bg: #16321f;
        --gp-success-text: #86efac;
        --gp-success-border: #1f4a2c;

        --gp-warning-bg: #3a2f0f;
        --gp-warning-text: #fde68a;
        --gp-warning-border: #59481a;

        --gp-info-bg: #17233d;
        --gp-info-text: #93c5fd;
        --gp-info-border: #24365c;
    }
}

/* Alternância manual de tema (botão), independente da preferência do sistema */
:root[data-theme="dark"] {
    --gp-dark: #eef1f5;
    --gp-bg: #0e1013;
    --gp-card-bg: #1a1d23;
    --gp-surface-muted: #242830;
    --gp-input-bg: #20242c;
    --gp-border: #30343d;
    --gp-text-muted: #9aa1ac;

    --gp-danger: #f87171;
    --gp-danger-bg: #3a1d1d;
    --gp-danger-border: #5c2626;
    --gp-danger-text: #fca5a5;

    --gp-success-bg: #16321f;
    --gp-success-text: #86efac;
    --gp-success-border: #1f4a2c;

    --gp-warning-bg: #3a2f0f;
    --gp-warning-text: #fde68a;
    --gp-warning-border: #59481a;

    --gp-info-bg: #17233d;
    --gp-info-text: #93c5fd;
    --gp-info-border: #24365c;
}

* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--gp-bg);
    color: var(--gp-dark);
    line-height: 1.4;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Mensagens */
.gp-mensagens {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: calc(100% - 1.5rem);
    max-width: 420px;
}

.gp-mensagem {
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.gp-mensagem--success { background: var(--gp-success-bg); color: var(--gp-success-text); border: 1px solid var(--gp-success-border); }
.gp-mensagem--error { background: var(--gp-danger-bg); color: var(--gp-danger-text); border: 1px solid var(--gp-danger-border); }
.gp-mensagem--warning { background: var(--gp-warning-bg); color: var(--gp-warning-text); border: 1px solid var(--gp-warning-border); }
.gp-mensagem--info { background: var(--gp-info-bg); color: var(--gp-info-text); border: 1px solid var(--gp-info-border); }

/* Login */
.gp-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.gp-login-card {
    background: var(--gp-card-bg);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(18, 20, 28, 0.08);
}

.gp-logo-badge {
    display: inline-flex;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 0.4rem 0.6rem;
}

.gp-login-logo-badge {
    display: flex;
    width: fit-content;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    margin: 0 auto 1.75rem;
}

.gp-login-logo {
    max-width: 200px;
    margin: 0;
}

/* Formulários */
.gp-form {
    display: flex;
    flex-direction: column;
}

.gp-campo {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.gp-campo label {
    font-weight: 600;
    font-size: 0.9rem;
}

.gp-input,
input.gp-input,
input.gp-file-input {
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--gp-border);
    border-radius: 0.6rem;
    font-size: 1rem;
    width: 100%;
    background: var(--gp-input-bg);
    color: var(--gp-dark);
    font-family: inherit;
}

.gp-input:focus {
    outline: 2px solid var(--gp-green-end);
    outline-offset: 1px;
    border-color: var(--gp-green-start);
}

input.gp-file-input::file-selector-button {
    padding: 0.5rem 0.9rem;
    margin-right: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--gp-green-start), var(--gp-green-end));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.gp-campo-senha {
    position: relative;
    display: flex;
    align-items: center;
}

.gp-campo-senha .gp-input {
    padding-right: 4.5rem;
}

.gp-mostrar-senha {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--gp-green-start);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem;
    cursor: pointer;
    min-height: 44px;
}

.gp-campo--checkbox label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gp-text-muted);
    cursor: pointer;
}

.gp-checkbox {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--gp-green-start);
    cursor: pointer;
}

.gp-campo-erro {
    color: var(--gp-danger);
    font-size: 0.85rem;
    margin: 0;
}

.gp-alerta {
    background: var(--gp-danger-bg);
    border: 1px solid var(--gp-danger-border);
    color: var(--gp-danger-text);
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.gp-alerta p {
    margin: 0;
}

/* Botões */
.gp-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
    text-align: center;
}

.gp-botao--primario {
    background: linear-gradient(135deg, var(--gp-green-start), var(--gp-green-end));
    color: #fff;
}

.gp-botao--secundario {
    background: var(--gp-card-bg);
    color: var(--gp-dark);
    border: 1px solid var(--gp-border);
}

.gp-botao--perigo {
    background: var(--gp-card-bg);
    color: var(--gp-danger);
    border: 1px solid var(--gp-danger-border);
}

.gp-botao--bloco {
    width: 100%;
}

.gp-botao-sair {
    background: transparent;
    border: 1px solid var(--gp-border);
    color: var(--gp-dark);
    padding: 0.55rem 1.1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 40px;
    font-size: 0.9rem;
}

.gp-area-principal {
    flex: 1;
    min-width: 0;
}

.gp-layout {
    display: flex;
    min-height: 100vh;
}

.gp-sidebar {
    display: none;
}

/* Cabeçalho e navegação (mobile) */
.gp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--gp-card-bg);
    border-bottom: 1px solid var(--gp-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.gp-header-logo {
    height: 34px;
}

.gp-nav {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--gp-card-bg);
    border-bottom: 1px solid var(--gp-border);
}

.gp-nav-item {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gp-text-muted);
    font-size: 0.9rem;
}

.gp-nav-item--ativo {
    background: linear-gradient(135deg, var(--gp-green-start), var(--gp-green-end));
    color: #fff;
}

.gp-conteudo {
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.gp-titulo-pagina {
    font-size: 1.3rem;
    margin: 0 0 1.1rem;
}

/* Barra de ferramentas da listagem */
.gp-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.gp-busca {
    display: flex;
    gap: 0.5rem;
}

.gp-input-busca {
    flex: 1;
    min-width: 0;
}

.gp-botao-novo {
    white-space: nowrap;
}

@media (min-width: 640px) {
    .gp-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .gp-busca {
        flex: 1;
        max-width: 420px;
    }
}

/* Lista / cards de produto */
.gp-lista-produtos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .gp-lista-produtos {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

.gp-card-produto {
    background: var(--gp-card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--gp-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gp-card-produto-foto {
    height: 120px;
    background: var(--gp-surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-card-produto-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gp-card-produto-sem-foto {
    color: var(--gp-text-muted);
    font-size: 0.85rem;
}

.gp-card-produto-info {
    padding: 0.85rem 1rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gp-card-produto-codigo {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gp-green-start);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gp-card-produto-descricao {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: var(--gp-dark);
}

.gp-card-produto-preco {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gp-dark);
}

.gp-card-produto-acoes {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    margin-top: auto;
}

.gp-card-produto-acoes .gp-botao {
    flex: 1;
}

.gp-card-produto--confirmacao {
    margin-bottom: 1.5rem;
}

/* Vendas */
.gp-vendas-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.gp-venda {
    background: var(--gp-card-bg);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--gp-border);
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-wrap: anywhere;
}

.gp-venda-resumo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gp-venda-resumo h2 {
    margin: 0;
    font-size: 1.1rem;
}

.gp-venda-itens {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.gp-venda-itens li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 12px 0;
    border-top: 1px solid var(--gp-border);
}

.gp-venda-produto {
    grid-column: 1 / -1;
    font-weight: 600;
}

.gp-venda-data,
.gp-venda-item-detalhe {
    color: var(--gp-text-muted);
    font-size: 0.875rem;
}

.gp-venda-data {
    margin: 10px 0 16px;
}

.gp-venda-status {
    background: var(--gp-success-bg);
    color: var(--gp-success-text);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.gp-venda-total {
    margin-top: auto;
    padding: 14px;
    border-radius: 8px;
    background: var(--gp-surface-muted);
    font-size: 1.2rem;
}

@media (min-width: 1024px) {
    .gp-vendas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Revenda */
.gp-revenda-toolbar {
    margin-top: 20px;
}

.gp-revenda-busca {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.gp-revenda-busca .gp-input {
    flex: 1 1 180px;
    min-width: 0;
}

/* Versão do aplicativo */
.gp-versao {
    color: var(--gp-text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.gp-versao--sidebar {
    display: block;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gp-border);
    text-align: center;
}

.gp-header-acoes {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gp-versao--menu {
    align-self: center;
    flex-shrink: 0;
    padding-right: 12px;
    border-right: 1px solid var(--gp-border);
}

/* PIX */
.gp-pix-imagem {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.gp-pix-codigo {
    resize: vertical;
    overflow-wrap: anywhere;
}

/* Clientes */
.gp-clientes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.gp-cliente-card {
    background: var(--gp-card-bg);
    border: 1px solid var(--gp-border);
    border-radius: 12px;
    padding: 16px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gp-cliente-card h2 {
    margin: 0;
    font-size: 1.15rem;
}

.gp-cliente-dados {
    display: grid;
    gap: 12px;
}

.gp-cliente-dados dt,
.gp-cliente-resumo span {
    color: var(--gp-text-muted);
    font-size: 0.875rem;
}

.gp-cliente-dados dd {
    margin: 4px 0 0;
}

.gp-cliente-resumo {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--gp-surface-muted);
    padding: 14px;
    border-radius: 8px;
    margin: 16px 0;
}

.gp-cliente-resumo strong {
    display: block;
    margin-top: 6px;
    font-size: 1.15rem;
}

@media (min-width: 1024px) {
    .gp-clientes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Estado vazio */
.gp-vazio {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gp-text-muted);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Paginação */
.gp-paginacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.gp-paginacao-info {
    color: var(--gp-text-muted);
    font-size: 0.9rem;
}

/* Formulário de produto */
.gp-foto-preview {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 3;
    background: var(--gp-surface-muted);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    border: 1px dashed var(--gp-border);
    color: var(--gp-text-muted);
    font-size: 0.85rem;
}

.gp-foto-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-ajuda {
    font-size: 0.8rem;
    color: var(--gp-text-muted);
    margin: 0.4rem 0 0;
}

.gp-acoes-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gp-confirmacao p {
    color: var(--gp-text-muted);
}

/* Botão flutuante de alternância de tema */
.gp-toggle-tema {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gp-border);
    background: var(--gp-card-bg);
    color: var(--gp-dark);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard */
.gp-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.gp-card-metrica {
    background: var(--gp-card-bg);
    border: 1px solid var(--gp-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gp-card-metrica-valor {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gp-green-start);
    line-height: 1;
}

.gp-card-metrica-label {
    color: var(--gp-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Menu lateral (desktop/tablet) — sobrescreve o cabeçalho mobile acima */
@media (min-width: 768px) {
    .gp-sidebar {
        display: flex;
        flex-direction: column;
        width: 240px;
        flex-shrink: 0;
        background: var(--gp-card-bg);
        border-right: 1px solid var(--gp-border);
        padding: 1.5rem 1rem;
        position: sticky;
        top: 0;
        height: 100vh;
    }

    .gp-sidebar-marca {
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }

    .gp-sidebar-logo {
        height: 36px;
    }

    .gp-sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        flex: 1;
    }

    .gp-sidebar-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 0.6rem;
        text-decoration: none;
        font-weight: 600;
        color: var(--gp-text-muted);
        font-size: 0.95rem;
    }

    .gp-sidebar-icone {
        font-size: 1.1rem;
    }

    .gp-sidebar-item--ativo {
        background: linear-gradient(135deg, var(--gp-green-start), var(--gp-green-end));
        color: #fff;
    }

    .gp-sidebar-rodape {
        margin-top: auto;
        padding-top: 1rem;
    }

    .gp-sidebar-sair {
        padding-top: 1rem;
    }

    .gp-botao-sair--sidebar {
        width: 100%;
    }

    .gp-header,
    .gp-nav {
        display: none;
    }

    .gp-conteudo {
        max-width: 1000px;
        padding: 2rem;
    }
}

/* ===== Loja (autoatendimento do cliente) ===== */
.gp-loja-header {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    padding: 1rem;
    background: var(--gp-card-bg);
    border-bottom: 1px solid var(--gp-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.gp-loja-logo {
    height: 38px;
}

.gp-loja-conteudo {
    padding: 1rem;
    padding-bottom: 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.gp-busca-loja {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.gp-busca-loja .gp-input {
    flex: 1;
}

.gp-visualmente-oculto {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Botão flutuante do carrinho */
.gp-carrinho-flutuante {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gp-green-start), var(--gp-green-end));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.gp-carrinho-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gp-danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--gp-bg);
}

/* Itens do carrinho */
.gp-carrinho-lista {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gp-carrinho-item {
    display: flex;
    gap: 0.75rem;
    background: var(--gp-card-bg);
    border: 1px solid var(--gp-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.gp-carrinho-item-foto {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--gp-surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-carrinho-item-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gp-carrinho-item-info {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gp-carrinho-item-descricao {
    font-weight: 600;
}

.gp-carrinho-item-preco {
    font-size: 0.85rem;
    color: var(--gp-text-muted);
}

.gp-carrinho-qtd {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.gp-input-qtd {
    width: 70px;
    padding: 0.5rem;
    text-align: center;
}

.gp-carrinho-item-acoes {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.gp-carrinho-item-subtotal {
    font-weight: 700;
    white-space: nowrap;
}

.gp-carrinho-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--gp-card-bg);
    border: 1px solid var(--gp-border);
    border-radius: 0.75rem;
    margin: 1rem 0;
    font-size: 1.05rem;
}

.gp-carrinho-total strong {
    font-size: 1.4rem;
    color: var(--gp-green-start);
}

/* Pagamento e confirmação */
.gp-pagamento,
.gp-confirmado {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.gp-pagamento-valor {
    background: var(--gp-card-bg);
    border: 1px solid var(--gp-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.gp-pagamento-valor span {
    color: var(--gp-text-muted);
    font-size: 0.9rem;
}

.gp-pagamento-valor strong {
    font-size: 2rem;
    color: var(--gp-green-start);
}

.gp-pagamento-aviso {
    background: var(--gp-info-bg);
    color: var(--gp-info-text);
    border: 1px solid var(--gp-info-border);
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Marca Navia Menu */
.gp-marca { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .8rem; border-radius: .75rem; background: transparent; color: var(--gp-dark); }
.gp-marca-nome { font-size: 1.35rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.gp-marca-slogan { font-size: .72rem; color: var(--gp-text-muted); }
.gp-login-card > .gp-marca { margin-bottom: 1.5rem; text-align: center; }

/* Logo oficial Navia Menu */
.gp-marca { padding: .55rem .7rem; background: transparent; align-items: center; max-width: 100%; }
.gp-marca-logo { display: block; width: 180px; max-width: 100%; height: auto; object-fit: contain; }
.gp-login-card > .gp-marca { padding: 1rem; }
.gp-login-card .gp-marca-logo { width: 300px; }
.gp-loja-header { flex-wrap: wrap; }
@media (max-width: 380px) { .gp-header .gp-marca-logo, .gp-loja-header .gp-marca-logo { width: 145px; } }

/* Logo atualizada: MENU branco/prateado, como NAVIA. */

/* Entrega dos acessos do cliente */
/* Versão 1.2.1: invalida o cache do script de copiar acessos para WhatsApp. */
.gp-acessos-acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
#gp-acessos-mensagem { line-height: 1.6; resize: vertical; min-height: 360px; }
#gp-acessos-status { color: var(--gp-text); }
@media (max-width: 420px) { .gp-acessos-acoes > * { width: 100%; } }

/* Navia Menu 1.3.1: copia direta na Revenda. */

/* Celular: seletor de tema no rodapé, sem cobrir campos ou ações. */
@media (max-width: 767px) {
    .gp-toggle-tema {
        position: static;
        display: block;
        margin: 16px 16px 16px auto;
    }
}
