/* Quiosque novo 2026-09-28 - layout identico ao design aprovado pelo Richardson.
   Unidade: 1rem = 10px do design original (1086px de largura). A tela inteira escala
   junto com a largura do totem, entao as proporcoes ficam iguais as imagens. */
/* Fonte local (sem depender do Google a cada tela - mais rapido e funciona com internet fraca). */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 900; font-display: block; src: url(fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 900; font-display: block; src: url(fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --y: #FFCA05;
    --y-dark: #F2BC00;
    --cream: #FEF7DC;
    --cream-2: #FFF9E6;
    --ink: #111111;
    --ink-2: #1c1c1c;
    --muted: #5b5b5b;
    --muted-2: #8a8a8a;
    --line: #E6E6E6;
    --line-2: #EFEFEF;
    --bg: #FCFCFC;
    --panel: #F5F5F5;
    --white: #ffffff;
    --shadow: 0 0.6rem 2.4rem rgba(17, 17, 17, 0.07);
    --shadow-sm: 0 0.3rem 1.2rem rgba(17, 17, 17, 0.06);
    --green: #25D366;
}

html {
    font-size: calc(min(100vw, 75vh) / 108.6);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Figtree", "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: 1.8rem;
    line-height: 1.3;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
input { font: inherit; }
.hidden { display: none !important; }
.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; }

.qn-icon { width: 1em; height: 1em; flex: none; stroke-width: 2; }

/* ---------- Estrutura ---------- */
.qn-screen {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

.qn-doodle {
    position: absolute;
    z-index: -1;
    color: #FDF1C4;
    pointer-events: none;
}

/* ---------- Cabecalho ---------- */
.qn-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 2.1rem 2.2rem 0;
    min-height: 11.2rem;
}
.qn-header__left { justify-self: start; }
.qn-header__right { justify-self: end; }
.qn-header__center { justify-self: center; }

.qn-logo { display: flex; align-items: center; justify-content: center; }
.qn-logo img { height: 8.4rem; width: auto; max-width: 30rem; object-fit: contain; border-radius: 1.2rem; }
.qn-logo__name { font-size: 3.6rem; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }

.qn-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    min-height: 7.2rem;
    padding: 0 2.6rem 0 2.2rem;
    border: 0.2rem solid var(--line);
    border-radius: 2.4rem;
    background: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    text-align: left;
    box-shadow: var(--shadow-sm);
}
.qn-pill-btn .qn-icon { font-size: 3.4rem; stroke-width: 2.6; }

.qn-order-pill {
    display: inline-flex;
    align-items: center;
    gap: 1.8rem;
    min-height: 7.2rem;
    padding: 0 1.4rem 0 2rem;
    border: 0.2rem solid var(--line);
    border-radius: 2.4rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.qn-order-pill .qn-icon { font-size: 4.2rem; stroke-width: 1.9; }
.qn-order-pill__label { display: flex; align-items: center; gap: 0.6rem; font-size: 1.55rem; font-weight: 700; text-transform: uppercase; }
.qn-order-pill__total { font-size: 2.2rem; font-weight: 800; }

.qn-badge {
    display: inline-grid;
    place-items: center;
    min-width: 3.4rem;
    height: 3.4rem;
    padding: 0 0.8rem;
    border-radius: 99rem;
    background: var(--y);
    color: var(--ink);
    font-size: 1.8rem;
    font-weight: 800;
}

/* ---------- Botoes ---------- */
.qn-btn-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    min-height: 9.4rem;
    padding: 0 4rem;
    border-radius: 99rem;
    background: var(--y);
    color: var(--ink);
    font-size: 2.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    box-shadow: 0 0.8rem 2rem rgba(255, 202, 5, 0.28);
}
.qn-btn-yellow .qn-icon { font-size: 3.8rem; stroke-width: 2.8; }
.qn-btn-yellow[disabled], .qn-btn-yellow.is-disabled {
    background: #E4E4E4;
    color: #8c8c8c;
    box-shadow: none;
    pointer-events: none;
}

.qn-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    min-height: 9.4rem;
    padding: 0 4.4rem 0 3.4rem;
    border: 0.2rem solid var(--line);
    border-radius: 3rem;
    background: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}
.qn-btn-outline .qn-icon { font-size: 4rem; stroke-width: 2.8; }

.qn-plus {
    display: inline-grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--y);
    color: var(--ink);
    flex: none;
}
.qn-plus .qn-icon { font-size: 3rem; stroke-width: 2.8; }
.qn-plus.is-on { background: var(--ink); color: var(--y); }

.qn-stepper {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    height: 7rem;
    padding: 0 1.8rem;
    border: 0.2rem solid var(--line-2);
    border-radius: 99rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.qn-stepper button { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; }
.qn-stepper button .qn-icon { font-size: 3rem; stroke-width: 2.6; }
.qn-stepper__value {
    display: grid;
    place-items: center;
    min-width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    background: #F2F2F2;
    font-size: 2.8rem;
    font-weight: 800;
}

/* ---------- Titulos ---------- */
.qn-title {
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-align: center;
}
.qn-title .y { color: var(--y); }
.qn-subtitle { margin: 0.8rem 0 0; color: var(--muted); font-size: 2.8rem; text-align: center; line-height: 1.25; }

.qn-price { white-space: nowrap; font-weight: 500; }
.qn-price b { font-weight: 800; }

/* ---------- Barra de etapas ---------- */
.qn-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 1.6rem 9rem 0;
}
.qn-steps::before, .qn-steps__fill {
    content: "";
    position: absolute;
    top: 3.1rem;
    left: 12.5%;
    height: 0.4rem;
    background: #E3E3E3;
}
.qn-steps::before { right: 12.5%; }
.qn-steps__fill { background: var(--y); z-index: 0; }
.qn-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--muted-2); font-size: 1.9rem; }
.qn-step__dot { display: grid; place-items: center; width: 6.4rem; height: 6.4rem; border-radius: 50%; background: #E3E3E3; color: var(--ink); }
.qn-step__dot .qn-icon { font-size: 3.2rem; stroke-width: 2.2; }
.qn-step.is-done, .qn-step.is-active { color: var(--ink); font-weight: 500; }
.qn-step.is-done .qn-step__dot, .qn-step.is-active .qn-step__dot { background: var(--y); }

/* ---------- Tela 1: tipo de pedido ---------- */
.qn-type__logo { display: flex; justify-content: center; padding-top: 7rem; }
.qn-type__logo img { height: 20.5rem; width: auto; max-width: 42rem; object-fit: contain; border-radius: 2rem; }
.qn-type__logo .qn-logo__name { font-size: 7rem; }
.qn-type__title { margin-top: 10.5rem; font-size: 7.8rem; }
.qn-type__cards { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; margin: 6.8rem 4.4rem 0; }
.qn-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4.2rem 2rem 3.8rem;
    border-radius: 3rem;
    background: var(--white);
    box-shadow: 0 0.4rem 3rem rgba(17, 17, 17, 0.06);
    text-align: center;
    transition: transform .15s ease;
}
.qn-type-card:active { transform: scale(0.98); }
.qn-type-card__circle { display: grid; place-items: center; width: 24.4rem; height: 24.4rem; border-radius: 50%; background: var(--cream); }
.qn-type-card__circle svg { width: 16rem; height: 16rem; }
.qn-type-card h2 { margin: 2rem 0 0; font-size: 4.1rem; font-weight: 900; line-height: 1.12; letter-spacing: -0.035em; text-transform: uppercase; }
.qn-type-card p { margin: 1.2rem 0 0; color: #444; font-size: 2.7rem; }
.qn-type-card .qn-plus { width: 9.2rem; height: 9.2rem; margin-top: 3.8rem; }
.qn-type-card .qn-plus .qn-icon { font-size: 4.4rem; stroke-width: 3.2; }
.qn-type__wave { position: relative; flex: 1 1 auto; min-height: 21rem; margin-top: 1rem; z-index: 0; }
.qn-type__wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Mesas (sobreposicao) */
.qn-sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; background: rgba(17,17,17,0.45); }
.qn-sheet__panel { width: 100%; max-height: 82%; display: flex; flex-direction: column; padding: 4rem 4.4rem 5rem; border-radius: 4rem 4rem 0 0; background: var(--bg); }
.qn-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.qn-sheet__head h3 { margin: 0; font-size: 4.6rem; font-weight: 900; letter-spacing: -0.035em; text-transform: uppercase; }
.qn-sheet__head p { margin: 0.6rem 0 0; color: var(--muted); font-size: 2.4rem; }
.qn-sheet__close { display: grid; place-items: center; width: 7.2rem; height: 7.2rem; border-radius: 50%; background: var(--white); border: 0.2rem solid var(--line); }
.qn-sheet__close .qn-icon { font-size: 3.6rem; }
.qn-tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.4rem; overflow-y: auto; padding-bottom: 1rem; }
.qn-table {
    display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
    padding: 2.6rem 1rem;
    border-radius: 2.4rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 0.3rem solid transparent;
}
.qn-table strong { font-size: 3.4rem; font-weight: 900; }
.qn-table span { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; color: #1a9d55; }
.qn-table.is-busy { opacity: 0.45; background: #F2F2F2; }
.qn-table.is-busy span { color: #d23b3b; }
.qn-table.is-mine { border-color: var(--y); background: var(--cream); }
.qn-sheet__error { margin: 2rem 0 0; color: #c62828; font-size: 2.2rem; text-align: center; }
.qn-loading { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; background: rgba(255,255,255,0.75); font-size: 3rem; font-weight: 800; }
.qn-loading.is-on { display: grid; }

/* ---------- Tela 2: cardapio ---------- */
.qn-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 2.4rem 4rem 0 9.4rem; min-height: 12.8rem; }
.qn-menu__top .qn-logo img { height: 10rem; max-width: 36rem; }
.qn-hero { margin: 1.6rem 2.8rem 0; height: 26.6rem; border-radius: 2.8rem; overflow: hidden; background: #1a1206; flex: none; }
.qn-hero img { width: 100%; height: 100%; object-fit: cover; }
.qn-menu__body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 22rem 1fr; gap: 2.4rem; padding: 0.6rem 2.6rem 0 2.2rem; }
.qn-cats { margin-top: 0.4rem; padding: 1.8rem 0 2rem; border-radius: 0 0 2.4rem 2.4rem; background: linear-gradient(180deg, #F7F7F7, #F4F4F4); overflow-y: auto; scrollbar-width: none; }
.qn-cats::-webkit-scrollbar { display: none; }
.qn-cat {
    display: flex; align-items: center; gap: 1.8rem;
    width: 100%;
    min-height: 7.4rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem 1rem 1.6rem;
    border-radius: 1.8rem;
    font-size: 1.65rem;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.qn-cat .qn-icon { font-size: 4.2rem; stroke-width: 1.9; }
.qn-cat span { min-width: 0; overflow-wrap: anywhere; }
.qn-cat.is-active { background: var(--y); box-shadow: 0 0.6rem 1.6rem rgba(255, 202, 5, 0.35); }
.qn-menu__main { min-height: 0; display: flex; flex-direction: column; }
.qn-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 0 1.8rem 0.4rem; }
.qn-menu__head h1 { margin: 0; font-size: 4rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qn-search { display: flex; align-items: center; gap: 1.4rem; width: 30.6rem; height: 5.2rem; padding: 0 2rem; border-radius: 99rem; background: #F1F1F1; color: #6b6b6b; flex: none; }
.qn-search .qn-icon { font-size: 2.6rem; stroke-width: 2.4; color: var(--ink); }
.qn-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.7rem; color: var(--ink); }
.qn-search input::placeholder { color: #7a7a7a; }
.qn-grid-wrap { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 0.2rem 2.4rem; scrollbar-width: none; }
.qn-grid-wrap::-webkit-scrollbar { display: none; }
.qn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1.6rem; }
.qn-card { display: flex; flex-direction: column; border-radius: 1.8rem; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.qn-card__img { position: relative; height: 21.6rem; background: #1b1b1b; }
.qn-card__img img { width: 100%; height: 100%; object-fit: cover; }
.qn-card__noimg { display: grid; place-items: center; width: 100%; height: 100%; background: #F1F1F1; color: #c5c5c5; }
.qn-card__noimg .qn-icon { font-size: 8rem; stroke-width: 1.4; }
.qn-card__tag { position: absolute; top: 1.2rem; left: 1.2rem; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.2rem; border-radius: 99rem; background: var(--y); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; }
.qn-card__tag .qn-icon { font-size: 1.8rem; }
.qn-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.8rem 1.6rem 1.4rem; }
.qn-card__name { margin: 0; font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qn-card__desc { margin: 0.6rem 0 0; color: var(--muted); font-size: 1.45rem; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qn-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.2rem; }
.qn-card__price { font-size: 2.2rem; }
.qn-card__price b { font-size: 2.6rem; }
.qn-empty { grid-column: 1 / -1; padding: 6rem 2rem; border: 0.2rem dashed var(--line); border-radius: 2rem; color: var(--muted); text-align: center; font-size: 2.2rem; }

.qn-cartbar {
    display: flex; align-items: center; gap: 3rem;
    margin: 1.4rem 2.4rem 2.2rem;
    padding: 1.6rem 1.8rem 1.6rem 2.6rem;
    border-radius: 2.8rem;
    background: var(--white);
    box-shadow: 0 0.4rem 3.2rem rgba(17, 17, 17, 0.09);
    flex: none;
}
.qn-cartbar__icon { position: relative; flex: none; }
.qn-cartbar__icon .qn-icon { font-size: 6rem; stroke-width: 1.8; }
.qn-cartbar__icon .qn-badge { position: absolute; top: -1rem; right: -1.6rem; min-width: 4rem; height: 4rem; font-size: 2.2rem; }
.qn-cartbar__info { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.qn-cartbar__info strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.qn-cartbar__info span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 2.2rem; }
.qn-cartbar__chev .qn-icon { font-size: 4rem; stroke-width: 2.4; }
.qn-cartbar .qn-btn-yellow { min-height: 8.6rem; padding: 0 3rem 0 3.4rem; font-size: 2.4rem; }

/* ---------- Tela 3: produto ---------- */
.qn-prod { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 59.6rem minmax(0, 1fr); gap: 2.2rem; padding: 2.4rem 2rem 0 2.2rem; }
.qn-prod__left { min-height: 0; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
.qn-prod__left::-webkit-scrollbar { display: none; }
.qn-prod__img { position: relative; height: 46rem; border-radius: 2.2rem; overflow: hidden; background: #1b1b1b; flex: none; }
.qn-prod__img img { width: 100%; height: 100%; object-fit: cover; }
.qn-prod__tag { position: absolute; top: 2rem; left: 2rem; display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.8rem; border-radius: 1.4rem; background: var(--y); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; }
.qn-prod__tag .qn-icon { font-size: 2.6rem; }
.qn-section-title { margin: 0; font-size: 2.8rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.qn-section-sub { margin: 0.4rem 0 0; color: #333; font-size: 1.95rem; }
.qn-combine { margin-top: 3.8rem; }
.qn-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2rem; }
.qn-mini { display: flex; flex-direction: column; border-radius: 1.4rem; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.qn-mini__img { height: 15.8rem; background: #1b1b1b; }
.qn-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.qn-mini__body { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.2rem 1.2rem 1.4rem; }
.qn-mini__name { margin: 0; font-size: 1.6rem; font-weight: 900; line-height: 1.1; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qn-mini__desc { margin: 0.4rem 0 0; color: var(--muted); font-size: 1.3rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qn-mini__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.qn-mini__price { font-size: 1.9rem; }
.qn-mini__price b { font-size: 2.1rem; }
.qn-mini .qn-plus { width: 4.6rem; height: 4.6rem; }

.qn-prod__right { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.qn-prod__name { margin: 1.4rem 0 0; font-size: 4.9rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.qn-prod__desc { margin: 1.4rem 0 0; color: var(--muted); font-size: 2.2rem; line-height: 1.3; }
.qn-prod__price { margin-top: 2.2rem; font-size: 3.6rem; }
.qn-prod__price b { font-size: 5rem; letter-spacing: -0.02em; }
.qn-prod__buy { display: flex; align-items: center; gap: 2.2rem; margin-top: 2.2rem; padding-bottom: 2.4rem; border-bottom: 0.2rem solid var(--line-2); }
.qn-prod__buy .qn-stepper { height: 7.4rem; }
.qn-prod__buy .qn-btn-yellow { flex: 1; min-height: 8.8rem; padding: 0 2rem; gap: 2rem; font-size: 2.3rem; line-height: 1.05; text-align: left; }
.qn-prod__buy .qn-btn-yellow .qn-icon { font-size: 4.6rem; stroke-width: 2; }
.qn-custom { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-top: 2.4rem; }
.qn-custom .qn-section-title { font-size: 2.5rem; }
.qn-groups { flex: 1 1 auto; min-height: 0; margin-top: 1.4rem; overflow-y: auto; scrollbar-width: none; }
.qn-groups::-webkit-scrollbar { display: none; }
.qn-group { margin-bottom: 1.4rem; padding: 1.6rem 1rem 1rem; border-radius: 1.8rem; background: var(--panel); }
.qn-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 0.4rem 1.2rem; }
.qn-group__head strong { font-size: 1.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
.qn-group__head span { color: var(--muted-2); font-size: 1.4rem; white-space: nowrap; }
.qn-group__head span.is-required { color: #b26b00; font-weight: 700; }
.qn-chips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1rem; }
.qn-chip { min-height: 5.8rem; padding: 0 1rem; border-radius: 99rem; background: #EAEAEA; font-size: 1.75rem; font-weight: 500; }
.qn-chip.is-on { background: var(--y); font-weight: 600; }
.qn-addon { display: flex; align-items: center; gap: 1.6rem; width: 100%; min-height: 6.4rem; margin-top: 0.8rem; padding: 0.6rem 1rem 0.6rem 1.4rem; border-radius: 1.4rem; background: var(--white); text-align: left; }
.qn-addon:first-of-type { margin-top: 0; }
.qn-addon__img { width: 7.6rem; height: 5.2rem; border-radius: 0.8rem; object-fit: cover; flex: none; }
.qn-addon__name { flex: 1; min-width: 0; font-size: 1.75rem; }
.qn-addon__price { font-size: 1.65rem; font-weight: 800; white-space: nowrap; }
.qn-check { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin: 0 0.6rem 0 1rem; border: 0.25rem solid #4a4a4a; border-radius: 0.7rem; flex: none; }
.qn-check .qn-icon { font-size: 2.4rem; stroke-width: 3.2; opacity: 0; }
.qn-addon.is-on .qn-check { background: var(--y); border-color: var(--y); }
.qn-addon.is-on .qn-check .qn-icon { opacity: 1; }
.qn-addon .qn-plus { width: 4.4rem; height: 4.4rem; margin-left: 0.6rem; }
.qn-addon .qn-plus .qn-icon { font-size: 2.6rem; }
.qn-prod__error { margin: 1rem 0 0; color: #c62828; font-size: 1.9rem; font-weight: 700; }

.qn-also { margin: 1.6rem 2rem 2.2rem; padding: 2.2rem 2rem 2.2rem; border-radius: 2rem; background: var(--cream-2); flex: none; }
.qn-also h3 { margin: 0 0 1.6rem; font-size: 1.9rem; font-weight: 900; text-transform: uppercase; }
.qn-also__row { position: relative; display: flex; align-items: center; gap: 1.4rem; }
.qn-also__track { flex: 1; display: flex; gap: 2.2rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 0 0.2rem; }
.qn-also__track::-webkit-scrollbar { display: none; }
.qn-also__arrow { display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); flex: none; }
.qn-also__arrow .qn-icon { font-size: 3rem; stroke-width: 2.6; }
.qn-also-card { flex: 0 0 16.2rem; border-radius: 1.2rem; background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm); }
.qn-also-card__img { height: 10.2rem; background: #1b1b1b; }
.qn-also-card__img img { width: 100%; height: 100%; object-fit: cover; }
.qn-also-card__body { padding: 1.2rem 1.2rem 1.2rem 1.4rem; }
.qn-also-card__name { margin: 0; font-size: 1.45rem; font-weight: 900; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qn-also-card__price { margin-top: 0.6rem; font-size: 1.8rem; }
.qn-also-card__price b { font-size: 1.9rem; }

/* ---------- Tela 4: carrinho ---------- */
.qn-cart__title { margin-top: 3rem; font-size: 6.6rem; }
.qn-cart__sub { font-size: 2.4rem; margin-top: 0.4rem; }
.qn-cart__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin-top: 2.8rem; padding: 0 2.2rem 1rem 2.4rem; scrollbar-width: none; }
.qn-cart__list::-webkit-scrollbar { display: none; }
.qn-item { display: flex; gap: 2.6rem; margin-bottom: 1.8rem; padding: 1.6rem 2.4rem 1.6rem 2rem; border-radius: 1.8rem; background: var(--white); box-shadow: var(--shadow); }
.qn-item__img { width: 20rem; height: 19rem; border-radius: 1.2rem; overflow: hidden; background: #1b1b1b; flex: none; }
.qn-item__img img { width: 100%; height: 100%; object-fit: cover; }
.qn-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qn-item__name { margin: 0.2rem 0 0; font-size: 3rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase; }
.qn-item__desc { margin: 0.8rem 0 0; color: var(--muted); font-size: 2.15rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qn-item__opt { margin: 0.4rem 0 0; color: var(--muted); font-size: 1.95rem; }
.qn-item__opt b { color: var(--ink); font-weight: 600; }
.qn-item__actions { display: flex; align-items: center; gap: 2.4rem; margin-top: auto; padding-top: 1.4rem; }
.qn-edit { display: inline-flex; align-items: center; gap: 1rem; height: 5.4rem; padding: 0 2.2rem; border-radius: 99rem; background: #FEF1C4; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; }
.qn-edit .qn-icon, .qn-remove .qn-icon { font-size: 2.8rem; stroke-width: 2.2; }
.qn-remove { display: inline-flex; align-items: center; gap: 1rem; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; }
.qn-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 0.6rem 0 1.6rem; }
.qn-item__total { font-size: 3.2rem; }
.qn-item__total b { font-size: 3.6rem; letter-spacing: -0.02em; }
.qn-more { margin: 1.4rem 2.2rem 0 2.4rem; padding: 2.4rem 1.6rem 2rem; border-radius: 2rem; background: var(--cream-2); flex: none; }
.qn-more h3 { margin: 0 0 0 0.8rem; font-size: 3.4rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.qn-more > p { margin: 0.6rem 0 0 0.8rem; color: var(--muted); font-size: 2.1rem; }
.qn-more__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin-top: 2rem; }
.qn-more .qn-mini__img { height: 12.4rem; }
.qn-more .qn-mini__name { font-size: 1.55rem; }
.qn-cart__foot { display: flex; align-items: center; gap: 2.4rem; padding: 3rem 2.2rem 3.4rem 2.4rem; flex: none; }
.qn-cart__foot .qn-btn-outline { min-height: 8.6rem; padding: 0 3.6rem 0 2.6rem; font-size: 2.1rem; }
.qn-cart__total { margin-left: auto; }
.qn-cart__total small { display: block; color: var(--muted); font-size: 2.2rem; font-weight: 700; text-transform: uppercase; }
.qn-cart__total div { font-size: 3rem; }
.qn-cart__total b { font-size: 3.8rem; }
.qn-cart__foot .qn-btn-yellow { min-height: 8.8rem; padding: 0 3rem 0 3.4rem; font-size: 2.4rem; }
.qn-cart__empty { margin: 6rem 2.4rem; padding: 7rem 2rem; border: 0.25rem dashed var(--line); border-radius: 2.4rem; color: var(--muted); font-size: 2.6rem; text-align: center; }

/* ---------- Telas de checkout ---------- */
.qn-checkout__title { margin-top: 6rem; font-size: 7.4rem; }
.qn-checkout__cols { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 52.8rem 1fr; gap: 1.2rem; margin-top: 4.6rem; padding: 0 2.2rem 0 1.6rem; align-items: start; }
.qn-box { border-radius: 2.2rem; background: var(--white); box-shadow: 0 0.4rem 3rem rgba(17, 17, 17, 0.06); }
.qn-form { padding: 3rem 2rem 3.4rem; min-height: 79.4rem; }
.qn-form__head { display: flex; align-items: center; gap: 1.8rem; margin: 0 0 3.2rem 2rem; }
.qn-form__avatar { display: grid; place-items: center; width: 7.4rem; height: 7.4rem; border-radius: 50%; background: var(--ink-2); color: var(--white); }
.qn-form__avatar svg { width: 4.4rem; height: 4.4rem; }
.qn-form__head h2 { margin: 0; font-size: 2.9rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.qn-field { display: flex; align-items: center; gap: 2.6rem; height: 10.2rem; margin-bottom: 2.2rem; padding: 0 2.2rem 0 2.6rem; border: 0.25rem solid #E2E2E2; border-radius: 2rem; background: var(--white); }
.qn-field.is-focus { border-color: var(--y); }
.qn-field.is-error { border-color: #e24b4b; }
.qn-field .qn-icon { font-size: 3.8rem; stroke-width: 1.8; }
.qn-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 3rem; color: var(--ink); caret-color: var(--ink); }
.qn-field input::placeholder { color: #7c7c7c; }
.qn-field__wa { color: var(--green); }
.qn-field__wa svg { width: 4.8rem; height: 4.8rem; }
.qn-notice { display: flex; align-items: center; gap: 2.4rem; margin-top: 1rem; padding: 3.4rem 2.6rem; border-radius: 2rem; background: var(--cream); }
.qn-notice svg { width: 6.4rem; height: 6.4rem; flex: none; }
.qn-notice strong { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.qn-notice span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 2.1rem; line-height: 1.25; }
.qn-form__error { margin: 2rem 0 0; color: #c62828; font-size: 2.2rem; font-weight: 700; text-align: center; }

.qn-summary { padding: 2.4rem 1.2rem 2.4rem 2.2rem; }
.qn-summary__head { display: flex; align-items: center; gap: 1.8rem; margin-bottom: 1.8rem; }
.qn-summary__head .qn-icon { font-size: 4.6rem; stroke-width: 1.8; }
.qn-summary__head h2 { margin: 0; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.qn-summary__edit { display: inline-flex; align-items: center; gap: 1.2rem; margin-left: auto; height: 5.4rem; padding: 0 1.8rem; border-radius: 1.2rem; background: #F2F2F2; font-size: 2.1rem; font-weight: 500; }
.qn-summary__edit .qn-icon { font-size: 3rem; stroke-width: 2; }
.qn-summary__items { max-height: 42rem; overflow-y: auto; scrollbar-width: none; }
.qn-summary__items::-webkit-scrollbar { display: none; }
.qn-sline { display: flex; gap: 1.8rem; margin-bottom: 1.2rem; }
.qn-sline__img { width: 12.2rem; height: 11.2rem; border-radius: 1rem; overflow: hidden; background: #1b1b1b; flex: none; }
.qn-sline__img img { width: 100%; height: 100%; object-fit: cover; }
.qn-sline__body { flex: 1; min-width: 0; padding-top: 1rem; }
.qn-sline__name { margin: 0; font-size: 1.95rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qn-sline__opt { margin: 0.6rem 0 0; color: var(--muted); font-size: 1.6rem; line-height: 1.3; }
.qn-sline__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 1.2rem; padding-right: 1rem; font-size: 1.9rem; white-space: nowrap; }
.qn-sline__side b { font-size: 2.2rem; }
.qn-addmore { display: flex; align-items: center; gap: 2rem; height: 6.8rem; margin: 1.8rem 1rem 2.2rem 0; padding: 0 2rem; border: 0.2rem solid var(--line); border-radius: 1.4rem; font-size: 2.2rem; font-weight: 600; }
.qn-addmore .qn-icon { font-size: 3.8rem; stroke-width: 1.8; }
.qn-addmore .qn-icon:last-child { margin-left: auto; font-size: 3.2rem; stroke-width: 2.6; }
.qn-totals { margin-right: 1rem; padding-top: 1.8rem; border-top: 0.2rem solid var(--line); }
.qn-totals__row { display: flex; justify-content: space-between; margin-bottom: 1.4rem; font-size: 2.3rem; }
.qn-totals__row b { font-weight: 600; }
.qn-totals__grand { display: flex; justify-content: space-between; align-items: center; margin: 1.6rem -1.4rem 0 -1rem; padding: 1.4rem 1.2rem 1.4rem 1.4rem; border-radius: 1.4rem; background: var(--y); font-size: 3.4rem; font-weight: 900; letter-spacing: -0.02em; }
.qn-secure { display: flex; align-items: center; gap: 3rem; margin-top: 2.4rem; padding: 3.4rem 3.6rem; border-radius: 2rem; background: var(--cream); }
.qn-secure .qn-icon { font-size: 6.4rem; stroke-width: 1.6; }
.qn-secure strong { display: block; font-size: 2.1rem; font-weight: 700; }
.qn-secure span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 2rem; }

.qn-checkout__foot { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 3.6rem 3rem 5.4rem 2.8rem; flex: none; }
.qn-checkout__foot .qn-btn-outline { min-height: 10.4rem; }
.qn-checkout__foot .qn-btn-yellow { min-height: 9.8rem; min-width: 50.6rem; justify-content: space-between; padding: 0 3.6rem 0 3.8rem; font-size: 2.8rem; }

.qn-pay-title { margin-top: 4.4rem; font-size: 7.2rem; }
.qn-pay-sub { font-size: 2.7rem; }
.qn-methods { display: flex; flex-direction: column; gap: 2rem; }
.qn-method { display: flex; align-items: center; gap: 2.6rem; width: 100%; min-height: 19.6rem; padding: 0 3rem 0 3.2rem; border: 0.3rem solid var(--line); border-radius: 2.4rem; background: var(--white); text-align: left; }
.qn-method.is-on { border-color: var(--y); background: var(--cream); }
.qn-method__icon { width: 9.4rem; flex: none; }
.qn-method__icon svg { width: 9.4rem; height: auto; display: block; }
.qn-method strong { display: block; font-size: 3.2rem; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.qn-method__text { flex: 1; min-width: 0; }
.qn-method__text span { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 2.2rem; line-height: 1.3; }
.qn-method > .qn-icon { margin-left: auto; font-size: 4.2rem; stroke-width: 2.6; }

.qn-center { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; }
.qn-card-title { margin-top: 8.6rem; font-size: 7.6rem; }
.qn-card-sub { max-width: 70rem; font-size: 3rem; margin-top: 1.6rem; }
.qn-machine { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.qn-machine img { width: 100%; max-height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
.qn-status { margin: 1rem 0 0; color: var(--muted); font-size: 2.4rem; font-weight: 600; text-align: center; }
.qn-status.is-error { color: #c62828; }
.qn-status.is-ok { color: #16833f; }
.qn-cancel { padding: 2rem 3.6rem 5.6rem; flex: none; }

.qn-pix-title { margin-top: 6rem; font-size: 7.4rem; }
.qn-pix-title .big { display: block; font-size: 11rem; line-height: 0.95; }
.qn-qr { display: grid; place-items: center; width: 55.8rem; height: 43.2rem; margin-top: 2.4rem; border-radius: 2rem; background: #F4F4F4; }
.qn-qr__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 49.8rem; height: 37.2rem; border: 0.25rem dashed #CFCFCF; border-radius: 1.2rem; color: #6a6a6a; text-align: center; }
.qn-qr__inner .qn-icon { font-size: 15rem; stroke-width: 1.6; color: #6e6e6e; }
.qn-qr__inner strong { margin-top: 2.2rem; font-size: 2.2rem; font-weight: 600; text-transform: uppercase; }
.qn-qr__inner span { margin-top: 0.6rem; font-size: 2.1rem; }
.qn-qr__img { width: 36rem; height: 36rem; object-fit: contain; background: #fff; border-radius: 1rem; padding: 1rem; }
.qn-timer { display: flex; align-items: center; justify-content: center; gap: 1.6rem; width: 55.8rem; height: 7.2rem; margin-top: 1.4rem; border-radius: 1.6rem; background: var(--cream); font-size: 1.95rem; }
.qn-timer .qn-icon { font-size: 4.2rem; color: var(--y); stroke-width: 2.2; }
.qn-timer b { margin-left: 1rem; color: var(--y); font-size: 4rem; font-weight: 800; letter-spacing: -0.02em; }
.qn-howto { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 3.4rem; padding: 0 10rem; }
.qn-howto div { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 2.4rem; line-height: 1.2; }
.qn-howto__icon { position: relative; display: grid; place-items: center; width: 13rem; height: 13rem; margin-bottom: 1rem; border-radius: 50%; background: var(--cream); }
.qn-howto__icon .qn-icon { font-size: 8rem; stroke-width: 1.6; }
.qn-howto__icon em { position: absolute; left: -0.6rem; bottom: 0.8rem; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--y); font-size: 2.1rem; font-style: normal; font-weight: 800; }

/* ---------- Tela final ---------- */
.qn-done__burst { position: relative; display: grid; place-items: center; width: 37rem; height: 37rem; margin-top: 3.6rem; border-radius: 50%; background: var(--cream-2); }
.qn-done__check { display: grid; place-items: center; width: 22.4rem; height: 22.4rem; border-radius: 50%; background: var(--y); }
.qn-done__check .qn-icon { font-size: 13rem; stroke-width: 3.2; }
.qn-done__rays { position: absolute; top: -0.8rem; right: -1.6rem; width: 13rem; height: 16rem; color: var(--y); }
.qn-done__title { margin-top: -0.4rem; font-size: 9.4rem; }
.qn-done__sub { max-width: 64rem; font-size: 3.4rem; }
.qn-ordernum { width: 64.4rem; margin-top: 4.4rem; padding: 3.8rem 3rem 4.4rem; border-radius: 2.8rem; background: var(--cream-2); text-align: center; }
.qn-ordernum small { display: block; font-size: 2.3rem; font-weight: 800; color: #444; text-transform: uppercase; }
.qn-ordernum strong { display: block; margin-top: 1.8rem; font-size: 10rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.qn-ordernum i { display: block; width: 6.8rem; height: 1rem; margin: 2.8rem auto 0; border-radius: 99rem; background: var(--y); }
.qn-ordernum span { display: block; margin-top: 3rem; color: var(--muted); font-size: 2.4rem; }
.qn-done__home { margin-top: 6rem; min-width: 38.2rem; min-height: 8.4rem; font-size: 2.2rem; gap: 2.2rem; }
.qn-done__home .qn-icon { font-size: 4.6rem; stroke-width: 0; fill: currentColor; }

/* ---------- Teclado virtual ---------- */
.qn-kb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 2.2rem 2.2rem 3rem; background: #F2F2F2; border-top: 0.2rem solid var(--line); box-shadow: 0 -1rem 3rem rgba(17,17,17,0.12); }
.qn-kb__row { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; }
.qn-kb__row:last-child { margin-bottom: 0; }
.qn-kb button { flex: 1; height: 9rem; border-radius: 1.6rem; background: var(--white); box-shadow: 0 0.3rem 0 #dcdcdc; font-size: 3.2rem; font-weight: 700; text-transform: uppercase; }
.qn-kb button.is-action { background: #E3E3E3; font-size: 2.4rem; text-transform: none; }
.qn-kb button.is-primary { background: var(--y); font-size: 2.6rem; text-transform: uppercase; }
.qn-kb button.w2 { flex: 2; }
.qn-kb button.w5 { flex: 5; }
.qn-kb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 70rem; margin: 0 auto; }
.qn-kb__grid button { flex: none; }
.qn-kb__grid .span3 { grid-column: span 3; }

/* ---------- Splash / login ---------- */
.qn-splash { display: block; position: relative; height: 100vh; height: 100dvh; overflow: hidden; background: #111; color: #fff; }
.qn-splash__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.qn-splash__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%); }
.qn-splash__content { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; padding: 0 6rem 9rem; text-align: center; }
.qn-splash__content h1 { margin: 0; font-size: 8.4rem; font-weight: 900; letter-spacing: -0.035em; line-height: 1; text-transform: uppercase; }
.qn-splash__content h1 span { color: var(--y); }
.qn-splash__content p { margin: 2.4rem 0 0; color: rgba(255,255,255,0.85); font-size: 3rem; }
.qn-splash__content .qn-btn-yellow { margin-top: 5rem; min-width: 52rem; min-height: 10.4rem; font-size: 3rem; }
.qn-splash__logo { position: absolute; top: 5rem; left: 0; right: 0; display: flex; justify-content: center; }
.qn-splash__logo img { height: 16rem; width: auto; border-radius: 2rem; }

.qn-login { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 6rem; }
.qn-login h1 { margin: 0; font-size: 6.4rem; font-weight: 900; letter-spacing: -0.035em; text-transform: uppercase; text-align: center; }
.qn-login p { margin: 1.2rem 0 0; color: var(--muted); font-size: 2.6rem; text-align: center; }
.qn-login form { width: 64rem; margin-top: 5rem; }
.qn-login label { display: block; margin: 0 0 1rem 1rem; font-size: 1.9rem; font-weight: 800; text-transform: uppercase; color: #444; }
.qn-login .qn-field { margin-bottom: 3rem; }
.qn-login .qn-field input { text-transform: none; }
.qn-login .qn-field input.code { letter-spacing: 0.4em; text-transform: uppercase; text-align: center; }
.qn-login .qn-btn-yellow { width: 100%; }
.qn-login .error { margin: 0 0 2.4rem; color: #c62828; font-size: 2.2rem; font-weight: 700; text-align: center; }

.qn-summary--compact .qn-summary__items { max-height: 34rem; }
.qn-checkout__cols > div { min-width: 0; }
.qn-prod__buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem; }
.qn-prod__buy .qn-stepper { gap: 0.4rem; padding: 0 1rem; height: 7.6rem; }
.qn-prod__buy .qn-stepper button { width: 4rem; }
.qn-prod__buy .qn-stepper__value { min-width: 5rem; height: 5rem; font-size: 2.6rem; }
.qn-prod__buy .qn-btn-yellow { width: 100%; min-width: 0; min-height: 7.6rem; padding: 0 1.6rem; gap: 1.2rem; font-size: 2rem; line-height: 1.05; box-shadow: none; }
.qn-prod__buy .qn-btn-yellow span { white-space: nowrap; }
.qn-prod__buy .qn-btn-yellow .qn-icon { font-size: 3.8rem; }

/* Tela de carregando (aparece entre uma tela e outra). */
.qn-loader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3rem; background: rgba(252, 252, 252, 0.92); opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.qn-loader.is-on { opacity: 1; pointer-events: all; }
.qn-loader__spin { width: 11rem; height: 11rem; border-radius: 50%; border: 1.1rem solid var(--cream); border-top-color: var(--y); animation: qn-spin .8s linear infinite; }
.qn-loader__text { font-size: 3rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
@keyframes qn-spin { to { transform: rotate(360deg); } }
.qn-card, .qn-mini, .qn-cat, .qn-type-card, .qn-method, .qn-addon, .qn-chip, .qn-plus, .qn-btn-yellow, .qn-btn-outline, .qn-pill-btn { touch-action: manipulation; }
.qn-card:active, .qn-mini:active, .qn-also-card:active { transform: scale(0.98); }

/* Alteracao Claude 2026-11-21 (pedido Richardson): aviso do ATUALIZAR com a Point Pro 3 animada (tela igual a da
   maquininha real vinculada ao frente de caixa). Aparece com o aviso e some quando o MP manda at_terminal.
   Ciclo de 6 s: dedo toca em Atualizar -> tela de cobranca -> volta. A tela do cartao de sempre nao muda. */
.qn-aviso-atualizar { display: none; margin: 1.4rem auto 0; width: 92%; padding: 1.6rem 2.8rem; border-radius: 2.4rem;
    background: #fff; border: 4px solid #1a1a1a; color: #1a1a1a; box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .18);
    align-items: center; justify-content: space-between; gap: 3.2rem; animation: qnAvisoEntra .45s ease-out both; }
.qn-aviso-atualizar.is-on { display: flex; }
.qn-aviso-atualizar__txt { flex: 1 1 auto; display: none; flex-direction: column; gap: 1rem; text-align: left; }
.qn-aviso-atualizar__txt b { font-size: 4rem; font-weight: 900; line-height: 1.12; }
.qn-aviso-atualizar__txt u { text-decoration: none; color: #fff; background: #2d5be3; padding: 0 1rem; border-radius: .8rem; white-space: nowrap; }
.qn-aviso-atualizar__txt span { font-size: 2.8rem; font-weight: 700; color: #444; }
@keyframes qnAvisoEntra { from { opacity: 0; transform: translateY(1.6rem); } to { opacity: 1; transform: none; } }

.qn-pp3 { position: relative; flex: none; width: 25rem; height: 52rem; font-family: Roboto, "Segoe UI", Arial, sans-serif;
    animation: qnPp3Flutua 6s ease-in-out infinite; }
.qn-pp3__paper { position: absolute; left: 4.6rem; right: 4.6rem; top: 0; height: 3.4rem; background: #fafafa; border-radius: .4rem .4rem 0 0;
    box-shadow: inset 0 -.6rem .8rem rgba(0, 0, 0, .08); }
.qn-pp3__body { position: absolute; inset: 2rem 0 0; border-radius: 3.2rem 3.2rem 3.6rem 3.6rem; padding: 3rem 1.8rem 2.4rem; box-sizing: border-box;
    background: linear-gradient(100deg, #f2d600 0%, #ffe600 18%, #ffeb3b 50%, #ffe600 82%, #e6c800 100%);
    box-shadow: 0 2.4rem 3.2rem -1.2rem rgba(0, 0, 0, .45), inset 0 .3rem .4rem rgba(255, 255, 255, .7), inset 0 -.4rem .6rem rgba(0, 0, 0, .12);
    display: flex; flex-direction: column; gap: 1.4rem; }
.qn-pp3__body::before { content: ''; position: absolute; left: 2.6rem; right: 2.6rem; top: .9rem; height: 1rem; border-radius: .5rem;
    background: rgba(0, 0, 0, .14); }
.qn-pp3__bezel { flex: none; height: 28rem; padding: 1.2rem 1rem 1.8rem; border-radius: 1.8rem; background: #f4f4f4;
    box-shadow: inset 0 0 0 .2rem rgba(0, 0, 0, .06); }
.qn-pp3__screen { position: relative; height: 100%; border-radius: .5rem; overflow: hidden; background: #fff;
    box-shadow: inset 0 0 0 .25rem #1d1d1d; }
.qn-pp3__bar { display: flex; justify-content: space-between; align-items: center; height: 2.4rem; padding: 0 1rem; background: #c9d94f;
    color: #1d1d1d; font-size: 1.05rem; font-weight: 600; }
.qn-pp3__tela { position: absolute; inset: 2.4rem 0 0; display: flex; flex-direction: column; align-items: center; padding: 1rem 1rem 5rem;
    text-align: center; color: #333; }
.qn-pp3__ilu { width: 11.5rem; height: auto; margin: .6rem 0 .8rem; }
.qn-pp3__titulo { font-size: 1.22rem; font-weight: 700; line-height: 1.25; color: #333; margin-bottom: .9rem; white-space: nowrap; }
.qn-pp3__passo { align-self: flex-start; font-size: .92rem; color: #555; margin: 0 0 .5rem .4rem; white-space: nowrap; }
.qn-pp3__btn { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.4rem; height: 3rem; border-radius: .4rem; background: #2d5be3;
    color: #fff; font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
    animation: qnPp3Btn 6s ease-in-out infinite; }
.qn-pp3__tela--vinculada { animation: qnPp3TelaA 6s ease-in-out infinite; }
.qn-pp3__tela--cobrar { opacity: 0; justify-content: flex-start; animation: qnPp3TelaB 6s ease-in-out infinite; }
.qn-pp3__valor { width: 100%; display: flex; justify-content: space-between; padding: 1.2rem 1.2rem; margin-bottom: 2.4rem;
    border: .15rem solid #e3e3e3; border-radius: .5rem; font-size: 1.3rem; }
.qn-pp3__valor b { font-weight: 700; }
.qn-pp3__cartao { width: 9rem; height: 5.8rem; margin-top: 2rem; border-radius: .8rem; background: linear-gradient(135deg, #2b2b2b, #111);
    box-shadow: 0 .8rem 1.4rem rgba(0, 0, 0, .3); position: relative; animation: qnPp3Cartao 6s ease-in-out infinite; }
.qn-pp3__cartao::before { content: ''; position: absolute; left: 1rem; top: 1.8rem; width: 1.8rem; height: 1.4rem; border-radius: .3rem; background: #d4af37; }
.qn-pp3__teclas { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; grid-auto-rows: 1fr; gap: .8rem .9rem; padding: 0; min-height: 0; }
.qn-pp3__teclas i { min-width: 0; min-height: 0; font-style: normal; display: flex; align-items: center; justify-content: center; gap: .2rem; border-radius: .9rem;
    background: linear-gradient(#3d3d3d, #262626); color: #fff; font-size: 1.9rem; font-weight: 700; box-shadow: 0 .3rem 0 #111; }
.qn-pp3__teclas small { font-size: .75rem; font-weight: 600; }
.qn-pp3__teclas .f { font-size: .95rem; }
.qn-pp3__teclas .x { background: linear-gradient(#ff3b30, #d32f2f); box-shadow: 0 .3rem 0 #9a1c1c; color: rgba(0, 0, 0, .35); }
.qn-pp3__teclas .c { background: linear-gradient(#ffc400, #f0a500); box-shadow: 0 .3rem 0 #b37800; color: rgba(0, 0, 0, .35); font-size: 2.4rem; }
.qn-pp3__teclas .ok { grid-row: span 2; background: linear-gradient(#4cd137, #2e9e1f); box-shadow: 0 .3rem 0 #1c6b12; }
.qn-pp3__teclas .ok em { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: .25rem solid rgba(0, 0, 0, .3); }
/* mao + toque: o dedo bate no botao Atualizar (fundo da tela) */
.qn-pp3__mao { position: absolute; left: 11rem; top: 27.6rem; font-size: 7.6rem; line-height: 1; pointer-events: none;
    filter: drop-shadow(0 .8rem 1rem rgba(0, 0, 0, .35)); transform-origin: 30% 0; animation: qnPp3Mao 6s ease-in-out infinite; }
.qn-pp3__toque { position: absolute; left: 10.2rem; top: 27rem; width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; border-radius: 50%;
    border: .4rem solid #2d5be3; opacity: 0; animation: qnPp3Toque 6s ease-out infinite; }
@keyframes qnPp3Mao {
    0% { transform: translate(6rem, 8rem) rotate(-8deg); opacity: 0; }
    10% { opacity: 1; }
    24% { transform: translate(0, 0) rotate(-8deg) scale(1); }
    28% { transform: translate(0, .4rem) rotate(-8deg) scale(.92); }
    33% { transform: translate(0, 0) rotate(-8deg) scale(1); }
    46% { transform: translate(5rem, 7rem) rotate(-8deg); opacity: 0; }
    100% { transform: translate(6rem, 8rem) rotate(-8deg); opacity: 0; }
}
@keyframes qnPp3Toque {
    0%, 27% { opacity: 0; transform: scale(.4); }
    29% { opacity: .9; transform: scale(.6); }
    40% { opacity: 0; transform: scale(2.2); }
    100% { opacity: 0; }
}
@keyframes qnPp3Btn {
    0%, 26%, 34%, 100% { background: #2d5be3; transform: scale(1); }
    29% { background: #1d3fae; transform: scale(.96); }
}
@keyframes qnPp3TelaA { 0%, 36% { opacity: 1; } 42%, 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes qnPp3TelaB { 0%, 36% { opacity: 0; } 42%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes qnPp3Cartao {
    0%, 44% { transform: translateY(2.4rem) rotate(-6deg); opacity: 0; }
    52% { transform: translateY(0) rotate(-3deg); opacity: 1; }
    64% { transform: translateY(-.8rem) rotate(2deg); }
    76% { transform: translateY(0) rotate(-3deg); }
    90%, 100% { opacity: 0; }
}
@keyframes qnPp3Flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.8rem); } }
@media (prefers-reduced-motion: reduce) {
    .qn-pp3, .qn-pp3 * { animation: none !important; }
    .qn-pp3__tela--cobrar, .qn-pp3__toque { opacity: 0; }
    .qn-pp3__mao { opacity: 1; }
}

/* fases reais (pagamento.js): atualizar = ninguem tocou ainda; cartao = o MP confirmou que a cobranca chegou na maquininha */
.qn-aviso-atualizar[data-fase="atualizar"] .qn-aviso-atualizar__txt--atualizar,
.qn-aviso-atualizar[data-fase="cartao"] .qn-aviso-atualizar__txt--cartao { display: flex; }
.qn-aviso-atualizar .qn-pp3__tela--vinculada, .qn-aviso-atualizar .qn-pp3__tela--cobrar { animation: none; transition: opacity .35s ease; }
.qn-aviso-atualizar[data-fase="atualizar"] .qn-pp3__tela--vinculada { opacity: 1; }
.qn-aviso-atualizar[data-fase="atualizar"] .qn-pp3__tela--cobrar { opacity: 0; }
.qn-aviso-atualizar[data-fase="cartao"] .qn-pp3__tela--vinculada { opacity: 0; }
.qn-aviso-atualizar[data-fase="cartao"] .qn-pp3__tela--cobrar { opacity: 1; }
.qn-aviso-atualizar[data-fase="cartao"] .qn-pp3__mao, .qn-aviso-atualizar[data-fase="cartao"] .qn-pp3__toque { display: none; }
.qn-aviso-atualizar .qn-pp3__mao { animation-name: qnPp3Mao2; animation-duration: 2.4s; }
.qn-aviso-atualizar .qn-pp3__toque { animation-name: qnPp3Toque2; animation-duration: 2.4s; }
.qn-aviso-atualizar .qn-pp3__btn { animation-name: qnPp3Btn2; animation-duration: 2.4s; }
.qn-aviso-atualizar .qn-pp3__cartao { animation-name: qnPp3Cartao2; animation-duration: 2.2s; }
@keyframes qnPp3Mao2 {
    0% { transform: translate(5rem, 7rem) rotate(-8deg); opacity: 0; }
    15% { opacity: 1; }
    45% { transform: translate(0, 0) rotate(-8deg) scale(1); }
    52% { transform: translate(0, .4rem) rotate(-8deg) scale(.92); }
    60% { transform: translate(0, 0) rotate(-8deg) scale(1); opacity: 1; }
    88%, 100% { transform: translate(5rem, 7rem) rotate(-8deg); opacity: 0; }
}
@keyframes qnPp3Toque2 { 0%, 50% { opacity: 0; transform: scale(.4); } 53% { opacity: .9; transform: scale(.6); } 75%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes qnPp3Btn2 { 0%, 49%, 60%, 100% { background: #2d5be3; transform: scale(1); } 53% { background: #1d3fae; transform: scale(.96); } }
@keyframes qnPp3Cartao2 { 0%, 100% { transform: translateY(1rem) rotate(-5deg); } 50% { transform: translateY(-1rem) rotate(3deg); } }
/* com o aviso aberto, a ilustracao de cima encolhe para tudo caber na tela do totem */
.qn-center:has(.qn-aviso-atualizar.is-on) .qn-machine { flex: 0 1 auto; height: 38rem; max-height: 38rem; }
.qn-center:has(.qn-aviso-atualizar.is-on) .qn-machine img { height: 100%; width: auto; }

/* Alteracao Claude 2026-11-21 (pedido Richardson): tela do cartao sem a ilustracao antiga - a Point Pro 3 animada vira o
   centro da tela (palco), instrucoes a esquerda com o passo atual. */
.qn-palco { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; padding: 2rem 4.4rem 0; }
.qn-palco .qn-aviso-atualizar { display: flex; width: 100%; margin: 0; padding: 4.4rem 4rem 4.4rem 5rem; border: 0; border-radius: 4.4rem;
    background: var(--cream, #FEF7DC); box-shadow: none; gap: 3rem; animation: none; }
.qn-palco .qn-pp3 { zoom: 1.5; }
.qn-palco .qn-aviso-atualizar__txt { gap: 2rem; }
.qn-palco .qn-aviso-atualizar__txt b { font-size: 6.4rem; line-height: 1.05; letter-spacing: -.02em; }
.qn-palco .qn-aviso-atualizar__txt u { padding: .2rem 1.4rem; border-radius: 1.2rem; }
.qn-palco .qn-aviso-atualizar__txt span { font-size: 3.6rem; color: #555; line-height: 1.25; }
.qn-passo { align-self: flex-start; display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 2rem; border-radius: 99rem;
    background: #111; color: #FFCA05; font-size: 2.4rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.qn-passo i { font-style: normal; display: inline-flex; width: 3.6rem; height: 3.6rem; border-radius: 50%; align-items: center; justify-content: center;
    background: #FFCA05; color: #111; }
.qn-seta { font-size: 7rem; line-height: 1; color: #111; animation: qnSeta 1.2s ease-in-out infinite; }
@keyframes qnSeta { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.6rem); } }
@media (prefers-reduced-motion: reduce) { .qn-seta { animation: none; } }
.qn-palco .qn-pp3 { zoom: 1.8; }
.qn-palco .qn-aviso-atualizar { padding: 5rem 3.6rem 5rem 4.6rem; }
.qn-palco .qn-aviso-atualizar__txt .qn-passo { font-size: 2.4rem; color: #FFCA05; }
.qn-palco .qn-aviso-atualizar__txt .qn-seta { font-size: 9rem; color: #111; margin-top: 1rem; }
.qn-palco .qn-aviso-atualizar__txt .qn-valor-txt { font-size: inherit; color: #111; white-space: nowrap; }
.qn-palco .qn-aviso-atualizar__txt b { font-size: 6rem; }
.qn-palco .qn-aviso-atualizar__txt--cartao b { font-size: 5rem; }
/* Alteracao Claude 2026-11-21: bateria so com o icone (sem porcentagem) e hora real no visor da maquininha */
.qn-pp3__bat { position: relative; display: inline-block; width: 2.2rem; height: 1.1rem; border: .18rem solid #1d1d1d; border-radius: .25rem; }
.qn-pp3__bat::after { content: ''; position: absolute; right: -.45rem; top: 50%; width: .25rem; height: .5rem; margin-top: -.25rem; border-radius: 0 .1rem .1rem 0; background: #1d1d1d; }
.qn-pp3__bat i { position: absolute; left: .12rem; top: .12rem; bottom: .12rem; width: 75%; border-radius: .08rem; background: #1d1d1d; }
