:root {
    --navy-950: #060b16;
    --navy-900: #0a1428;
    --navy-800: #0f1d38;
    --navy-700: #16294a;
    --gold-400: #e9c46a;
    --gold-500: #d4af37;
    --gold-600: #b8912a;
    --ink-100: #f5f3ec;
    --ink-300: #c9cedb;
    --ink-500: #8993ab;
    --danger: #d64545;
    --success: #3fa564;
    --radius: 10px;
    --font-display: 'Georgia', 'Iowan Old Style', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* O atributo hidden precisa vencer qualquer display definido por classe.
   Sem esta regra, um `.modal { display: flex }` deixa visível um elemento
   marcado como hidden — foi o que fez o modal do PIX cobrir o checkout
   inteiro, escondendo o formulário. */
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    /* Impede que o Firefox no Android aumente o tamanho da fonte
       automaticamente ("font inflation"). Sem isso, o texto de
       elementos pequenos e bem ajustados (como os botões de loja)
       cresce de forma inconsistente só no Firefox mobile, quebrando
       o layout do botão. */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--navy-950);
    color: var(--ink-100);
    font-family: var(--font-body);
    line-height: 1.55;
}

img { max-width: 100%; display: block; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--gold-400); text-decoration: none; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--ink-100);
    margin: 0 0 0.5em;
}

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 11, 22, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon { width: 40px; height: 40px; border-radius: 50%; }
.brand-icon.small { width: 28px; height: 28px; }

.brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink-100);
    font-weight: 700;
}
.brand-name em { color: var(--gold-500); font-style: normal; }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
    color: var(--ink-300);
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.site-nav a:hover, .site-nav a.active {
    color: var(--gold-400);
    border-bottom-color: var(--gold-500);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gold-400);
    display: block;
}

/* ---------------- Hero ---------------- */
.hero {
    padding: 32px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.hero-banner {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-950);
}
.btn-primary:hover { filter: brightness(1.08); }

/* ---------------- Pillars ---------------- */
.pillars { padding: 64px 0 24px; }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
}
.pillar {
    text-align: center;
    padding: 20px 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(212,175,55,0.04), transparent);
}
.pillar-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.pillar h3 { font-size: 1rem; margin-bottom: 6px; }
.pillar p { color: var(--ink-500); font-size: 0.88rem; margin: 0; }

/* ---------------- Apps ---------------- */
.apps-section { padding: 64px 0 96px; }
.apps-section h2 { font-size: 1.9rem; }
.section-lead { color: var(--ink-500); margin-bottom: 2.2em; }

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.app-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.18);
    transition: transform 0.15s, border-color 0.15s;
}
.app-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-500);
}
.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    background: var(--navy-700);
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon-fallback { font-size: 1.6rem; }
.app-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--ink-100); }
.app-card p {
    color: var(--ink-500);
    font-size: 0.9rem;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.empty-state { color: var(--ink-500); }

/* Botões por loja: cada um tem sua própria cor de destaque para que o
   usuário reconheça a loja sem precisar ler o texto com atenção.
   margin-top:auto + o app-card em flex-column garante que os botões
   fiquem sempre alinhados no rodapé do card, mesmo com descrições
   de tamanhos diferentes entre os apps. */
.store-badges { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: auto; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: filter 0.15s, transform 0.15s;
    min-width: 0;
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-badge:hover { transform: translateY(-1px); filter: brightness(1.1); }
.store-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

.store-badge-google {
    background: rgba(63, 165, 100, 0.12);
    border-color: rgba(63, 165, 100, 0.4);
    color: #7bd39a;
}
.store-badge-apple {
    background: rgba(233, 196, 106, 0.12);
    border-color: rgba(233, 196, 106, 0.4);
    color: var(--gold-400);
}
.store-badge-other {
    background: rgba(137, 147, 171, 0.12);
    border-color: rgba(137, 147, 171, 0.4);
    color: var(--ink-300);
}

/* ---------------- Generic page sections ---------------- */
.page-header {
    padding: 72px 0 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.page-header h1 { font-size: 2.2rem; }
.page-header p { color: var(--ink-500); margin: 0; }

.content-section { padding: 56px 0 96px; }
.content-narrow { max-width: 680px; }
.content-narrow p { color: var(--ink-300); }

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 2.2em;
}
.about-item {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.about-item h3 { font-size: 1rem; color: var(--gold-400); }
.about-item p { color: var(--ink-500); font-size: 0.9rem; margin: 0; }

/* ---------------- Forms ---------------- */
.form { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.form label { font-size: 0.85rem; color: var(--ink-500); margin-top: 12px; }
.form input,
.form textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-800);
    color: var(--ink-100);
    font-family: inherit;
    font-size: 0.95rem;
}
.form input:focus,
.form textarea:focus {
    outline: 2px solid var(--gold-500);
    outline-offset: 1px;
}
.form textarea { resize: vertical; }
.form button { margin-top: 22px; align-self: flex-start; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.92rem;
}
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: rgba(63, 165, 100, 0.12); border: 1px solid var(--success); color: #b7e6c6; }
.alert-error { background: rgba(214, 69, 69, 0.12); border: 1px solid var(--danger); color: #f3c1c1; }

/* ---------------- Footer ---------------- */
.site-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px 0;
    background: var(--navy-900);
}
.footer-inner { text-align: center; color: var(--ink-500); }
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink-100);
    font-weight: 600;
    margin-bottom: 6px;
}
.footer-tagline { margin: 0 0 4px; font-size: 0.85rem; }
.footer-copy { margin: 0; font-size: 0.78rem; }

/* ---------------- Admin (shared look) ---------------- */
.admin-body { background: var(--navy-950); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px;
    background: var(--navy-900);
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    padding: 24px 18px;
}
.admin-sidebar .brand-name { font-size: 1.05rem; }
.admin-nav { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
    color: var(--ink-300);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
}
.admin-nav a:hover, .admin-nav a.active { background: var(--navy-800); color: var(--gold-400); }
.admin-main { flex: 1; padding: 32px 40px; max-width: 980px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }

.card {
    background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.9rem;
}
table.admin-table th { color: var(--ink-500); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }
.table-icon { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--navy-700); }
.row-actions { display: flex; gap: 10px; }
.row-actions a { font-size: 0.85rem; }
.row-actions .danger { color: var(--danger); }

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.login-card { width: 100%; max-width: 380px; text-align: center; }
.login-card .brand-icon { width: 64px; height: 64px; margin: 0 auto 16px; }

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-400);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 760px) {
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--navy-900);
        padding: 12px 24px 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        display: none;
    }
    .site-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-main { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .app-card { transition: none; }
}

/* =====================================================================
   LOJA — produtos, carrinho, checkout e pedido
   ===================================================================== */

/* ---------------- Acessibilidade ---------------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--gold-500); color: var(--navy-950);
    padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------- Botões extras ---------------- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-950);
    font-weight: 700;
    border: none;
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-400);
}
.btn-ghost:hover { background: rgba(212, 175, 55, 0.08); }
.btn-danger {
    background: rgba(214, 69, 69, 0.15);
    border: 1px solid var(--danger);
    color: #f3c1c1;
}
.btn-danger:hover { background: rgba(214, 69, 69, 0.28); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-sm { padding: 6px 10px; font-size: 0.78rem; }
.btn:disabled, .btn.loading { opacity: 0.55; cursor: not-allowed; }
.btn.loading { position: relative; }

.link-muted { color: var(--ink-500); font-size: 0.88rem; }
.link-muted:hover { color: var(--gold-400); }
.link-danger {
    background: none; border: none; padding: 0; cursor: pointer;
    color: var(--danger); font-size: 0.82rem; font-family: inherit;
}
.block-center { display: block; text-align: center; margin-top: 14px; }
.muted-inline { color: var(--ink-500); font-size: 0.82rem; }
/* Separa dois assuntos dentro do mesmo cartão do painel. */
.divider { border: 0; border-top: 1px solid rgba(137, 147, 171, 0.28); margin: 1.4rem 0 1rem; }

/* ---------------------------------------------------------------
   Barra de progresso do pagamento e do envio de mensagem
   --------------------------------------------------------------- */
.pagamento-progresso { margin-top: 14px; }

.progresso-trilho {
    height: 6px;
    background: rgba(137, 147, 171, 0.25);
    border-radius: 99px;
    overflow: hidden;
}

.progresso-barra {
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
    transition: width 0.45s ease;
    /* A listra em movimento mostra que a etapa atual está em andamento,
       sem fingir que a barra avançou. */
    background-size: 200% 100%;
    animation: progresso-listra 1.1s linear infinite;
}

@keyframes progresso-listra {
    from { background-position: 0 0; }
    to   { background-position: -200% 0; }
}

.progresso-etapa {
    margin: 8px 0 2px;
    font-size: 0.88rem;
    color: var(--ink-300);
}

.progresso-aviso {
    margin: 0;
    font-size: 0.78rem;
    color: var(--ink-500);
}

/* Quem prefere menos movimento não recebe a animação. */
@media (prefers-reduced-motion: reduce) {
    .progresso-barra { animation: none; transition: none; }
}

/* Caixa de diagnóstico visível só para o admin logado */
.diagnostico-admin {
    max-width: 720px;
    margin: 16px auto;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px dashed rgba(137, 147, 171, 0.5);
    background: rgba(137, 147, 171, 0.08);
    font-size: 0.86rem;
}
.diagnostico-admin strong { display: block; margin-bottom: 6px; color: var(--ink-500); }
.diagnostico-admin p { margin: 0; }
.diagnostico-admin .diag-ok { color: var(--success); }
.diagnostico-admin .diag-erro { color: var(--danger); }

/* Selo de frete grátis na página do produto */
.selo-frete-gratis {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(63, 165, 100, 0.14);
    border: 1px solid rgba(63, 165, 100, 0.4);
    color: var(--success);
    font-size: 0.9rem;
}

/* Botão em estado de envio (formulários que recarregam a página) */
.btn.enviando { opacity: 0.75; cursor: progress; }

.btn .girador {
    display: inline-block;
    width: 0.9em; height: 0.9em;
    margin-right: 0.5em;
    vertical-align: -0.1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: girar 0.7s linear infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .btn .girador { animation: none; }
}

/* IDs do gateway na tela do pedido (usados na homologação do Mercado Pago) */
.ids-gateway { margin-top: 10px; }
.ids-gateway .id-linha {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 6px;
}
.ids-gateway .id-rotulo {
    color: var(--ink-500); font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.4px; min-width: 92px;
}
.ids-gateway code {
    font-size: 0.86rem; word-break: break-all;
    background: rgba(137, 147, 171, 0.12); padding: 3px 7px; border-radius: 5px;
}
.text-danger { color: var(--danger); font-weight: 600; }
.text-warn { color: var(--gold-400); font-weight: 600; }
.hidden-form { display: none; }
.inline { display: inline; }
.center { text-align: center; }
.right { text-align: right; }

.alert-info { background: rgba(90, 140, 220, 0.12); border: 1px solid #5a8cdc; color: #c3d8f5; }
.alert a { text-decoration: underline; }

.page-header.slim { padding: 48px 0 28px; }

/* ---------------- Filtros da vitrine ---------------- */
.shop-filters { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.shop-filters-search { display: flex; gap: 10px; }
.shop-filters-search input { flex: 1; }
.shop-filters-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-filters input, .shop-filters select {
    padding: 11px 14px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-800); color: var(--ink-100);
    font-family: inherit; font-size: 0.92rem;
}
.shop-filters select { min-width: 190px; cursor: pointer; }

/* ---------------- Grade de produtos ---------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, border-color 0.18s;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, 0.4); }

.product-card-media {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3;
    background: var(--navy-700);
    overflow: hidden;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-placeholder { font-size: 2.6rem; opacity: 0.4; }
.product-card-placeholder.large { font-size: 5rem; }

.product-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(233, 196, 106, 0.9); color: var(--navy-950);
    padding: 3px 9px; border-radius: 20px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}
.product-badge-sale { background: var(--success); color: #fff; }
.product-badge-out {
    top: auto; bottom: 10px; left: 10px;
    background: rgba(10, 20, 40, 0.9); color: var(--ink-300);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card-cat {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--gold-600); font-weight: 600;
}
.product-card-body h3 { font-size: 1rem; margin: 0; }
.product-card-body h3 a { color: var(--ink-100); }
.product-card-body h3 a:hover { color: var(--gold-400); }
.product-card-desc {
    color: var(--ink-500); font-size: 0.85rem; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-old { color: var(--ink-500); text-decoration: line-through; font-size: 0.85rem; }
.price-now { color: var(--gold-400); font-size: 1.25rem; font-weight: 700; }
.price-now.large { font-size: 2rem; }
.product-card-actions { margin-top: 4px; }

/* ---------------- Página do produto ---------------- */
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-500); margin-bottom: 28px; }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--gold-400); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.product-gallery-main {
    background: var(--navy-800); border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
    width: 64px; height: 64px; padding: 0; cursor: pointer;
    border: 2px solid transparent; border-radius: 8px; overflow: hidden;
    background: var(--navy-700);
}
.gallery-thumb.active { border-color: var(--gold-500); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: 1.9rem; margin: 8px 0 12px; }
.product-lead { color: var(--ink-300); font-size: 1rem; margin: 0 0 20px; }

.product-price-block {
    display: flex; flex-direction: column; gap: 4px;
    padding: 18px 0; border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); margin-bottom: 18px;
}
.price-installments, .price-pix { color: var(--ink-500); font-size: 0.88rem; }
.price-pix { color: var(--success); }

.product-stock { font-size: 0.9rem; margin: 0 0 20px; }
.product-stock.in { color: var(--ink-300); }
.product-stock.out { color: var(--danger); }

.product-buy-form { display: flex; flex-direction: column; gap: 12px; }
.qty-picker { display: flex; align-items: center; gap: 12px; }
.qty-picker label { color: var(--ink-500); font-size: 0.88rem; }
.qty-picker input {
    width: 88px; padding: 10px 12px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-800); color: var(--ink-100); font-size: 1rem;
}

.product-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.product-trust li { color: var(--ink-500); font-size: 0.86rem; }

.product-description, .product-specs, .related-products { margin-top: 56px; }
.product-description h2, .product-specs h2, .related-products h2 { font-size: 1.4rem; margin-bottom: 16px; }
.product-description p { color: var(--ink-300); max-width: 760px; }

.product-specs dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0; }
.product-specs dl > div {
    background: var(--navy-800); border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px; padding: 14px;
}
.product-specs dt { color: var(--ink-500); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.5px; }
.product-specs dd { margin: 4px 0 0; color: var(--ink-100); font-weight: 600; }

/* ---------------- Carrinho ---------------- */
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-badge {
    background: var(--gold-500); color: var(--navy-950);
    border-radius: 999px; padding: 1px 7px;
    font-size: 0.7rem; font-weight: 700; line-height: 1.5;
}

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }

.cart-item {
    display: grid; grid-template-columns: 90px 1fr auto auto;
    gap: 16px; align-items: center; padding: 18px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
.cart-item-media {
    width: 90px; height: 90px; border-radius: 8px; overflow: hidden;
    background: var(--navy-700); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 { font-size: 0.98rem; margin: 0 0 4px; }
.cart-item-info h3 a { color: var(--ink-100); }
.cart-item-sku, .cart-item-unit { color: var(--ink-500); font-size: 0.8rem; margin: 2px 0; }
.cart-item-qty input {
    width: 70px; padding: 8px 10px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-800); color: var(--ink-100); text-align: center;
}
.cart-item-total { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.cart-item-total strong { color: var(--gold-400); font-size: 1.05rem; }
.cart-clear { margin-top: 18px; }
.cart-clear button { background: none; border: none; cursor: pointer; font-family: inherit; }
.empty-cart { text-align: center; padding: 40px 0; }
.empty-cart .btn { margin-top: 16px; display: inline-block; }

.cart-summary h2 { font-size: 1.2rem; margin-top: 0; }
.summary-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0; font-size: 0.92rem; color: var(--ink-300);
}
.summary-row.muted { color: var(--ink-500); font-size: 0.85rem; }
.summary-row.total {
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    margin-top: 8px; padding-top: 14px; font-size: 1.1rem;
}
.summary-row.total strong { color: var(--gold-400); font-size: 1.4rem; }
.cart-summary .btn { margin-top: 12px; }
.cart-secure { color: var(--ink-500); font-size: 0.78rem; margin: 16px 0 0; text-align: center; }

/* ---------------- Checkout ---------------- */
.checkout-steps { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; font-size: 0.82rem; }
.checkout-steps .step { color: var(--ink-500); }
.checkout-steps .step.done { color: var(--success); }
.checkout-steps .step.active { color: var(--gold-400); font-weight: 600; }
.checkout-steps .step:not(:last-child)::after { content: ' ›'; color: var(--ink-500); }

.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-form fieldset { border: none; padding: 24px; margin: 0 0 24px; }
.checkout-form legend {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
    color: var(--ink-100); display: flex; align-items: center; gap: 10px; padding: 0;
    margin-bottom: 18px;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--gold-500); color: var(--navy-950);
    font-size: 0.82rem; font-weight: 700;
}

.field-row { display: grid; gap: 16px; margin-bottom: 16px; }
.field-row.two { grid-template-columns: 1fr 1fr; }
.field-row.four { grid-template-columns: repeat(4, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.84rem; color: var(--ink-500); }
.field input, .field select, .field textarea {
    padding: 12px 14px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-900); color: var(--ink-100);
    font-family: inherit; font-size: 0.95rem;
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold-500); outline-offset: 1px; }
.field small { color: var(--ink-500); font-size: 0.76rem; }
.field small a { font-size: inherit; }

.cep-group { position: relative; display: flex; align-items: center; }
.cep-group input { flex: 1; }

.spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(233, 196, 106, 0.3);
    border-top-color: var(--gold-400);
    animation: jmb-spin 0.7s linear infinite;
    position: absolute; right: 12px;
}
.spinner.small { position: static; display: inline-block; vertical-align: -3px; margin-right: 6px; }
@keyframes jmb-spin { to { transform: rotate(360deg); } }

.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.payment-option { cursor: pointer; }
.payment-option input { position: absolute; opacity: 0; }
.payment-option-body {
    display: flex; align-items: center; gap: 12px; padding: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2); border-radius: var(--radius);
    background: var(--navy-900); transition: border-color 0.15s, background 0.15s;
}
.payment-option input:checked + .payment-option-body {
    border-color: var(--gold-500); background: rgba(212, 175, 55, 0.08);
}
.payment-option input:focus-visible + .payment-option-body { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.payment-option-body strong { display: block; color: var(--ink-100); font-size: 0.95rem; }
.payment-option-body small { color: var(--ink-500); font-size: 0.78rem; }
.payment-icon { color: var(--gold-400); flex-shrink: 0; }

.card-fields { border-top: 1px solid rgba(212, 175, 55, 0.15); padding-top: 20px; }
.secure-field {
    height: 46px; padding: 0 14px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25); background: var(--navy-900);
    display: flex; align-items: center;
}
.secure-field iframe { width: 100%; height: 100%; border: 0; }
.secure-note { color: var(--ink-500); font-size: 0.8rem; margin: 4px 0 0; }

.checkout-legal { color: var(--ink-500); font-size: 0.78rem; text-align: center; margin-top: 14px; }

.checkout-summary .sticky { position: sticky; top: 24px; }
.summary-items { list-style: none; padding: 0; margin: 0 0 16px; }
.summary-items li {
    display: grid; grid-template-columns: 32px 1fr auto;
    gap: 8px; padding: 8px 0; font-size: 0.86rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.summary-qty { color: var(--gold-400); font-weight: 600; }
.summary-name { color: var(--ink-300); }
.summary-value { color: var(--ink-100); }

/* ---------------- Modal do PIX ---------------- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 7, 15, 0.85); backdrop-filter: blur(3px); }
.modal-box {
    position: relative; background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 14px;
    padding: 28px; max-width: 420px; width: 100%;
    max-height: 92vh; overflow-y: auto; text-align: center;
}
.modal-box h2 { font-size: 1.25rem; margin-top: 0; }

.pix-card { text-align: center; }
.pix-amount { font-size: 1.9rem; font-weight: 700; color: var(--gold-400); margin: 6px 0 18px; }
.pix-qr {
    background: #fff; border-radius: 12px; padding: 12px;
    display: inline-block; margin-bottom: 16px;
}
.pix-qr img { width: 220px; height: 220px; display: block; }
.pix-help { color: var(--ink-500); font-size: 0.85rem; margin: 0 0 18px; }
.pix-copy { text-align: left; margin-bottom: 16px; }
.pix-copy label { display: block; color: var(--ink-500); font-size: 0.82rem; margin-bottom: 6px; }
.pix-copy textarea {
    width: 100%; padding: 10px 12px; border-radius: 8px; resize: none;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-900); color: var(--ink-300);
    font-family: ui-monospace, monospace; font-size: 0.74rem; word-break: break-all;
    margin-bottom: 10px;
}
.pix-status { color: var(--ink-300); font-size: 0.88rem; margin: 12px 0 6px; }
.pix-expire { color: var(--ink-500); font-size: 0.78rem; margin: 0; }

/* ---------------- Página do pedido ---------------- */
.order-tracker { display: flex; gap: 8px; margin: 28px 0 36px; flex-wrap: wrap; }
.tracker-step { flex: 1; min-width: 110px; text-align: center; position: relative; }
.tracker-dot {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 8px;
    background: var(--navy-800); border: 2px solid rgba(212, 175, 55, 0.25);
    color: var(--ink-500); font-size: 0.85rem; font-weight: 700;
}
.tracker-step.done .tracker-dot { background: var(--success); border-color: var(--success); color: #fff; }
.tracker-step.active .tracker-dot { box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.2); }
.tracker-label { font-size: 0.78rem; color: var(--ink-500); }
.tracker-step.done .tracker-label { color: var(--ink-300); }
.tracker-step.active .tracker-label { color: var(--gold-400); font-weight: 600; }

.order-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table td { padding: 10px 8px; border-bottom: 1px solid rgba(212, 175, 55, 0.1); font-size: 0.9rem; }
.order-table tfoot td { color: var(--ink-500); border-bottom: none; padding-top: 12px; }
.order-table tfoot .total-row td { color: var(--gold-400); font-size: 1.1rem; font-weight: 700; padding-top: 8px; }
.address-block { color: var(--ink-300); font-size: 0.9rem; line-height: 1.7; }
.tracking-code {
    font-family: ui-monospace, monospace; font-size: 1.1rem;
    color: var(--gold-400); letter-spacing: 1px; margin: 8px 0 14px;
}

.status-pill {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 0.76rem; font-weight: 600;
    background: rgba(137, 147, 171, 0.15); color: var(--ink-300);
}
.status-pago, .status-entregue { background: rgba(63, 165, 100, 0.18); color: #8fd9ab; }
.status-aguardando_pagamento { background: rgba(233, 196, 106, 0.16); color: var(--gold-400); }
.status-em_separacao, .status-enviado { background: rgba(90, 140, 220, 0.18); color: #a8c5ee; }
.status-cancelado, .status-falhou, .status-estornado { background: rgba(214, 69, 69, 0.18); color: #f3b0b0; }

/* ---------------- Admin: complementos ---------------- */
.admin-nav-group {
    color: var(--ink-500); font-size: 0.68rem; text-transform: uppercase;
    letter-spacing: 1px; padding: 14px 12px 4px; font-weight: 700;
}
.nav-count {
    float: right; background: var(--gold-500); color: var(--navy-950);
    border-radius: 999px; padding: 0 7px; font-size: 0.7rem; font-weight: 700;
}
.nav-logout { color: var(--danger) !important; margin-top: 8px; }

.admin-main { max-width: 1180px; }

.stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px; margin-bottom: 24px;
}
.card.stat { margin-bottom: 0; padding: 18px; text-decoration: none; display: block; }
.card.stat:hover { border-color: rgba(212, 175, 55, 0.4); }
.stat-label { color: var(--ink-500); margin: 0 0 6px; font-size: 0.8rem; }
.stat-value { font-size: 1.8rem; margin: 0; font-weight: 700; color: var(--ink-100); }
.stat-value.gold { color: var(--gold-400); }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.card-head h3 { margin: 0; font-size: 1.05rem; }
.shortcut-row { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-search { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.admin-search input, .admin-search select {
    padding: 10px 13px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-900); color: var(--ink-100); font-family: inherit;
}
.admin-search input { flex: 1; min-width: 200px; }

.table-scroll { overflow-x: auto; }
.admin-table.compact td { padding: 7px 8px; font-size: 0.85rem; }
.admin-table .row-muted { opacity: 0.5; }
.cell-thumb { width: 52px; }
.cell-thumb img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--navy-700); }
.thumb-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 6px; background: var(--navy-700);
}
.cell-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.admin-table code { font-family: ui-monospace, monospace; font-size: 0.82rem; color: var(--gold-400); }

.tag { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 0.68rem; font-weight: 700; }
.tag-gold { background: rgba(233, 196, 106, 0.18); color: var(--gold-400); }

.pagination { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pagination a {
    padding: 7px 12px; border-radius: 6px; font-size: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.2); color: var(--ink-300);
}
.pagination a.active { background: var(--gold-500); color: var(--navy-950); font-weight: 700; }

.order-admin-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-form select {
    padding: 10px 13px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-900); color: var(--ink-100); font-family: inherit;
}

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
    display: flex; gap: 14px; padding: 8px 0; font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.timeline-time { color: var(--ink-500); white-space: nowrap; font-family: ui-monospace, monospace; font-size: 0.78rem; }
.timeline-event { color: var(--ink-300); }

.copy-field {
    width: 100%; padding: 10px 12px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-900); color: var(--gold-400);
    font-family: ui-monospace, monospace; font-size: 0.78rem; cursor: pointer;
}

.checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; cursor: pointer; }
.checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold-500); }
.checkbox span { color: var(--ink-300); font-size: 0.9rem; }

.callout {
    background: var(--navy-900); border-left: 3px solid var(--gold-500);
    border-radius: 0 8px 8px 0; padding: 14px 16px; margin-top: 16px; font-size: 0.87rem;
}

.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li { padding: 6px 0; font-size: 0.88rem; color: var(--ink-300); }
.checklist li::before { margin-right: 8px; }
.checklist li.good::before { content: '✅'; }
.checklist li.bad::before { content: '❌'; }
.checklist li.warn::before { content: '⚠️'; }

.danger-zone { border-color: rgba(214, 69, 69, 0.4); }
.danger-zone h3 { color: var(--danger); }

.image-manager { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.image-thumb { position: relative; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--navy-700); }
.image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.image-remove {
    position: absolute; top: 4px; right: 4px; width: 24px; height: 24px;
    border-radius: 50%; border: none; cursor: pointer; line-height: 1;
    background: rgba(214, 69, 69, 0.9); color: #fff; font-size: 15px; font-weight: 700;
}

.form-actions { display: flex; gap: 12px; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.shipping-table input { width: 100%; min-width: 90px; padding: 8px 10px; border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.25); background: var(--navy-900); color: var(--ink-100); }
.shipping-table small { display: block; color: var(--ink-500); font-size: 0.7rem; margin-top: 3px; }

.region-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; }
.region-map dt { color: var(--gold-400); font-weight: 600; font-size: 0.85rem; }
.region-map dd { margin: 2px 0 0; color: var(--ink-500); font-size: 0.82rem; }

.form select {
    padding: 12px 14px; border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: var(--navy-800); color: var(--ink-100); font-family: inherit; font-size: 0.95rem;
}
.form input[type="file"] { padding: 10px; }
.form h4 { margin: 18px 0 4px; font-size: 0.95rem; color: var(--ink-300); }
.card > .form { max-width: 100%; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 980px) {
    .checkout-layout, .cart-layout, .order-layout, .order-admin-grid, .dash-grid { grid-template-columns: 1fr; }
    .checkout-summary .sticky { position: static; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .field-row.four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .field-row.two, .payment-methods { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 70px 1fr; grid-template-areas: "media info" "qty total"; }
    .cart-item-media { width: 70px; height: 70px; grid-area: media; }
    .cart-item-info { grid-area: info; }
    .cart-item-qty { grid-area: qty; }
    .cart-item-total { grid-area: total; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .checkout-form fieldset, .card { padding: 18px; }
    .pix-qr img { width: 180px; height: 180px; }
    .nav-cart-label { display: inline; }
    .admin-main { padding: 18px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card, .btn { transition: none; }
    .spinner { animation: none; }
}

/* ---------------- Aplicativo vinculado ao produto ---------------- */
.app-linked {
    background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius);
    padding: 18px;
    margin: 0 0 22px;
}
.app-linked-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.app-linked-head img,
.app-linked-fallback {
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    object-fit: cover; background: var(--navy-700);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.app-linked-label {
    display: block; font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--gold-600); font-weight: 700;
}
.app-linked-head strong { color: var(--ink-100); font-size: 1.05rem; }
.app-linked-desc {
    color: var(--ink-300); font-size: 0.88rem; margin: 0 0 14px;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.app-linked .store-badges { flex-wrap: wrap; }
.app-linked-note { color: var(--ink-500); font-size: 0.76rem; margin: 12px 0 0; }

/* ---------------- Segurança / 2FA ---------------- */
.codigo-2fa {
    font-family: ui-monospace, monospace;
    font-size: 1.6rem !important;
    letter-spacing: 0.35em;
    text-align: center;
}
.setup-2fa { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.setup-2fa-qr {
    background: #fff; border-radius: 12px; padding: 14px;
    display: flex; align-items: center; justify-content: center; min-height: 200px;
}
.setup-2fa-qr svg { display: block; width: 100%; height: auto; }
.setup-2fa-steps ol { margin: 0 0 16px; padding-left: 20px; color: var(--ink-300); font-size: 0.92rem; }
.setup-2fa-steps li { margin-bottom: 6px; }
.secret-key {
    display: block; background: var(--navy-900); border: 1px solid rgba(212,175,55,0.25);
    border-radius: 8px; padding: 12px 14px; color: var(--gold-400);
    font-family: ui-monospace, monospace; font-size: 1rem; letter-spacing: 1px;
    word-break: break-all; user-select: all;
}
.recovery-card { border-color: rgba(233, 196, 106, 0.5); }
.recovery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px; margin: 16px 0;
}
.recovery-grid code {
    background: var(--navy-900); border: 1px solid rgba(212,175,55,0.25);
    border-radius: 6px; padding: 10px; text-align: center;
    font-family: ui-monospace, monospace; font-size: 0.95rem;
    color: var(--gold-400); letter-spacing: 1px; user-select: all;
}
details summary { cursor: pointer; }
@media (max-width: 760px) {
    .setup-2fa { grid-template-columns: 1fr; }
}

/* QR do PIX desenhado no navegador */
.pix-qr svg { display: block; width: 220px; height: 220px; }
.pix-qr img { width: 220px; height: 220px; display: block; }
.pix-sem-qr { color: #333; font-size: 0.85rem; margin: 0; padding: 20px; text-align: center; }
@media (max-width: 620px) {
    .pix-qr svg, .pix-qr img { width: 180px; height: 180px; }
}

/* ---------------- Número do pedido em destaque ---------------- */
.codigo-pedido {
    background: var(--navy-800);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: center;
}
.codigo-pedido-rotulo {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-600);
    font-weight: 700;
    margin-bottom: 8px;
}
.codigo-pedido-linha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.codigo-pedido-linha strong {
    font-family: ui-monospace, monospace;
    font-size: 1.6rem;
    letter-spacing: 1.5px;
    color: var(--gold-400);
    user-select: all;
}
.codigo-pedido-dica {
    color: var(--ink-500);
    font-size: 0.82rem;
    margin: 10px 0 0;
}
@media (max-width: 620px) {
    .codigo-pedido-linha strong { font-size: 1.25rem; letter-spacing: 1px; }
    .codigo-pedido { padding: 16px; }
}
