/* GRR VARIEDADES – Site de delivery (paleta vermelho, branco e preto) */
:root {
    --red: #e3141b;
    --red-700: #b70f15;
    --red-50: #fdeced;
    --black: #0f0f10;
    --ink: #1c1c1e;
    --muted: #6e6e73;
    --line: #ebebee;
    --bg: #f4f4f6;
    --white: #fff;
    --green: #13a04f;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(15, 15, 16, .08);
    --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
body.page-checkout, body.page-pedido, body.page-conta, body.page-entrar { background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.text-red { color: var(--red) !important; }
.grow { flex: 1 1 auto; min-width: 0; }
.mt-1 { margin-top: 8px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.disabled { pointer-events: none; }
.btn.ok { border-color: var(--green); color: var(--green); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover:not(:disabled) { background: var(--red-700); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2a2d; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: #cfcfd4; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 1.02rem; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .85rem; }
.btn-grow { flex: 1; }
.btn small { font-weight: 400; opacity: .75; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--red); font-weight: 600; font-size: .88rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link-btn.danger { color: var(--muted); }
.link-btn.danger:hover { color: var(--red); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-size: 1.25rem; color: var(--ink); }
.icon-btn:hover { background: var(--bg); }

/* ---------- Topo (páginas internas) ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--black); color: #fff; }
.topbar-in { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.topbar .icon-btn { color: #fff; }
.topbar .icon-btn:hover { background: rgba(255,255,255,.1); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .01em; margin-right: auto; min-width: 0; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .85rem; background: rgba(255,255,255,.12); color: #fff; }
.account-btn i { font-size: 1.5rem; line-height: 1; }
.account-btn img { width: 30px; height: 30px; border-radius: 50%; }
.account-btn:hover { background: rgba(255,255,255,.2); }

/* ---------- Capa e dados da loja ---------- */
.hero { position: relative; height: 190px; background: var(--black) var(--capa) center 40% / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.35) 100%); }
.hero-top { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: 14px; }
.account-btn.on-dark { background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.store { position: relative; display: flex; gap: 16px; align-items: flex-start; margin-top: -44px; padding-bottom: 14px; }
.store-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); background: var(--black); flex-shrink: 0; position: relative; z-index: 2; }
.store-info { padding-top: 50px; min-width: 0; }
.store-info h1 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.slogan { margin: 2px 0 8px; color: var(--muted); font-size: .9rem; }
.store-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.store-meta span { display: inline-flex; align-items: center; gap: 5px; }
.store-meta .hl { color: var(--red); font-weight: 600; }
.pill { padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.pill.is-open { background: #e7f6ee; color: var(--green); }
.pill.is-closed { background: var(--red-50); color: var(--red); }
@media (max-width: 559px) {
    .store { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
    .store-info { padding-top: 0; }
    .store-meta { justify-content: center; }
}
@media (min-width: 768px) {
    .hero { height: 260px; }
    .store-logo { width: 120px; height: 120px; }
    .store { margin-top: -60px; }
    .store-info { padding-top: 66px; }
    .store-info h1 { font-size: 1.8rem; }
}

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: #fff8e6; color: #6b4d00; font-size: .88rem; margin: 6px 0 10px; }
.notice i { font-size: 1.1rem; margin-top: 1px; }
.notice.is-closed { background: var(--red-50); color: #8b0d12; }
.track-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--black); color: #fff; text-decoration: none; margin: 4px 0 10px; font-size: .9rem; }
.track-bar span { flex: 1; }
.track-bar > i:first-child { color: var(--red); font-size: 1.2rem; }

/* ---------- Busca e categorias fixas ---------- */
.sticky-nav { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0 0; }
.sticky-nav.is-stuck { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; outline: none; min-width: 0; height: 100%; font-size: 16px; color: var(--ink); }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { box-shadow: 0 0 0 2px var(--red); }
.search-clear { border: 0; background: none; color: #a1a1a6; cursor: pointer; padding: 4px; font-size: 1.05rem; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; background: #fff; }
.chip:hover { border-color: #cfcfd4; }
.chip.active { background: var(--black); border-color: var(--black); color: #fff; }

/* ---------- Produtos ---------- */
.menu { padding-bottom: 120px; min-height: 50vh; }
.cat-section { padding-top: 18px; }
.cat-section > h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; padding-left: 10px; border-left: 4px solid var(--red); }
.prod-list { display: grid; grid-template-columns: 1fr; }
.prod { position: relative; display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.prod:focus-visible { box-shadow: 0 0 0 2px var(--red); border-radius: 10px; }
.prod-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prod-txt h3 { font-size: .96rem; font-weight: 600; }
.prod-txt p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; padding-top: 8px; }
.price strong { font-size: 1rem; font-weight: 700; color: var(--ink); }
.price small { color: var(--muted); font-size: .78rem; margin-left: -6px; }
.price s { color: var(--muted); font-size: .8rem; }
.prod-img { position: relative; width: 96px; height: 96px; border-radius: 12px; background: var(--bg); flex-shrink: 0; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.prod-img.no-img, .card-img.no-img { display: grid; place-items: center; color: #c3c3c8; font-size: 2rem; }
.add-btn { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 4px 12px rgba(227,20,27,.35); border: 2px solid #fff; }
.tag-promo { position: absolute; left: 6px; top: 6px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.tag-out { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--bg); padding: 2px 10px; border-radius: 999px; }
.prod.is-out { cursor: default; }
.prod.is-out .prod-img, .prod.is-out h3 { opacity: .5; }
.in-cart { position: absolute; right: -6px; top: -6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--black); color: #fff; font-size: .74rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.gps-hint { display: block; margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
@media (min-width: 768px) {
    .prod-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .prod-img { width: 108px; height: 108px; }
}
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 8px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.card-dest { flex: 0 0 148px; scroll-snap-align: start; cursor: pointer; outline: none; }
.card-dest:focus-visible .card-img { box-shadow: 0 0 0 2px var(--red); }
.card-img { position: relative; width: 148px; height: 148px; border-radius: 14px; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.card-img .add-btn { right: 6px; bottom: 6px; }
.card-dest .price { padding-top: 8px; }
.card-dest h3 { font-size: .84rem; font-weight: 500; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Barra da sacola ---------- */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(12px + var(--safe-b)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 35%); pointer-events: none; }
.cart-bar-btn { pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; min-height: 56px; padding: 8px 20px 8px 10px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 10px 28px rgba(227,20,27,.38); animation: pop .25s ease; }
.cb-count { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; background: rgba(0,0,0,.22); display: grid; place-items: center; font-weight: 700; }
.cb-label { flex: 1; text-align: left; }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Painéis (bottom sheet / modal) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); animation: fade .2s ease; }
.sheet-panel { position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; background: #fff; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; animation: up .25s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 768px) {
    .sheet { align-items: center; padding: 24px; }
    .sheet-panel { border-radius: 22px; max-height: 88vh; }
}
@keyframes up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sheet-body { padding: 16px 18px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 12px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }
.sheet-foot.column { flex-direction: column; align-items: stretch; gap: 8px; }
.sheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.15); cursor: pointer; font-size: 1rem; display: grid; place-items: center; }
.sheet-x.static { position: static; box-shadow: none; background: var(--bg); }
body.sheet-open { overflow: hidden; }
.sp-img { position: relative; overflow: hidden; background: var(--bg); aspect-ratio: 16 / 10; max-height: 300px; display: grid; place-items: center; color: #c3c3c8; font-size: 3rem; flex-shrink: 0; }
/* absoluta: a foto (quadrada) não pode esticar a caixa por cima do nome e do preço */
.sp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sp-img.empty { aspect-ratio: auto; height: 64px; font-size: 0; }
#sheetProduto h2 { font-size: 1.2rem; font-weight: 700; padding-right: 30px; }
.sp-desc { color: var(--muted); font-size: .9rem; margin: 6px 0 0; white-space: pre-line; }
.sp-price { padding: 10px 0 14px; }
.sp-price strong { font-size: 1.2rem; }
.sp-stock { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
/* Bebidas: gelada ou quente */
.sp-temp { padding: 12px; border-radius: 14px; background: var(--bg); transition: box-shadow .15s; }
.sp-temp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: .92rem; }
.sp-temp-head .req { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: #fff; padding: 3px 9px; border-radius: 999px; }
.sp-temp .opt-box { background: #fff; }
.sp-temp .opt-box small { font-weight: 600; color: var(--ink); }
.sp-temp.need { box-shadow: 0 0 0 2px var(--red); animation: shake .4s; }
.sp-temp.need .req { background: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.ci-temp { color: var(--ink) !important; font-weight: 600; }
.ci-temp i { color: var(--red); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 48px; flex-shrink: 0; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; color: var(--red); font-size: 1.1rem; cursor: pointer; border-radius: 999px; }
.stepper button:disabled { color: #c9c9ce; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.stepper.sm { height: 36px; }
.stepper.sm button { width: 34px; font-size: .95rem; }
.cart-list { list-style: none; margin: 0 0 10px; padding: 0; }
.cart-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-list .ci-img { width: 52px; height: 52px; border-radius: 10px; background: var(--bg); flex-shrink: 0; overflow: hidden; display: grid; place-items: center; color: #c3c3c8; }
.cart-list .ci-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-list .ci-txt { flex: 1; min-width: 0; }
.cart-list .ci-txt strong { display: block; font-size: .88rem; font-weight: 600; }
.cart-list .ci-txt small { display: block; color: var(--muted); font-size: .78rem; }
.cart-list .ci-price { font-weight: 700; font-size: .9rem; }
.cart-sum { display: flex; justify-content: space-between; font-size: 1rem; }
.cart-hint { margin: 0; font-size: .82rem; color: var(--red); text-align: center; }
.cart-hint.ok { color: var(--green); }
.mini-title { font-size: .92rem; font-weight: 700; margin: 6px 0 8px; display: flex; gap: 8px; align-items: center; }
.mini-title i { color: var(--red); }
.hours { list-style: none; margin: 0 0 16px; padding: 0; font-size: .88rem; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours li.today { font-weight: 700; color: var(--red); }

/* ---------- Cartões / formulários ---------- */
.page-title { font-size: 1.35rem; font-weight: 800; margin: 18px 0 12px; }
.section-title { font-size: 1rem; font-weight: 700; margin: 22px 0 10px; }
.card { background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-head h2 i { color: var(--red); }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 5px; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .save-addr select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #dedee3; border-radius: 12px; background: #fff; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,20,27,.12); }
.field input:disabled { background: var(--bg); color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fff7f7; }
.field .err { display: block; color: var(--red); font-size: .78rem; margin-top: 4px; }
.grid-2, .grid-3 { display: grid; grid-template-columns: 1fr; column-gap: 12px; }
@media (min-width: 560px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 2fr 1fr; }
}
.span-2 { grid-column: auto; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; cursor: pointer; margin: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.save-addr { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.save-addr select { width: auto; min-height: 38px; padding: 6px 12px; }
.form-actions { display: flex; gap: 10px; margin-top: 10px; }
.options { display: grid; gap: 8px; }
.options.two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 12px; border: 1.5px solid #dedee3; border-radius: 14px; transition: all .15s; height: 100%; }
.opt-box i { font-size: 1.4rem; color: var(--muted); }
.opt-box strong { font-size: .92rem; }
.opt-box small { color: var(--muted); font-size: .78rem; display: block; }
.opt-box.row { flex-direction: row; text-align: left; align-items: center; gap: 12px; }
.opt-box.row em { font-style: normal; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.opt input:checked + .opt-box { border-color: var(--red); background: var(--red-50); box-shadow: inset 0 0 0 1px var(--red); }
.opt input:checked + .opt-box i { color: var(--red); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--red); outline-offset: 2px; }
.opt.is-disabled { opacity: .55; cursor: not-allowed; }
.addr-form { margin-top: 12px; }
.options + .addr-form { padding-top: 12px; border-top: 1px dashed var(--line); }
/* Mapa do local da entrega (frete pela distância) */
.map-block { margin-bottom: 14px; }
.map-head strong { display: flex; align-items: center; gap: 6px; font-size: .92rem; }
.map-head strong i { color: var(--red); }
.map-head small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.map-box { position: relative; z-index: 0; height: 280px; border-radius: 14px; border: 1.5px solid #dedee3; overflow: hidden; background: var(--bg); }
.map-block.has-error .map-box { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,20,27,.12); }
.map-block .err { display: block; color: var(--red); font-size: .78rem; margin-top: 4px; }
.map-status { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.map-status.ok { color: #1f7a45; }
.map-status.erro { color: var(--red); }
.frete-box { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; font-size: .88rem; font-weight: 600; margin-top: 12px; }
.frete-box i { font-size: 1.1rem; line-height: 1.2; }
.frete-box.ok { background: #ecf8f0; color: #17663a; }
.frete-box.warn { background: #fff4e0; color: #8a5300; }
.troco { margin-top: 12px; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.who img { width: 40px; height: 40px; border-radius: 50%; }
.who > i { font-size: 2.2rem; color: var(--muted); }
.who div { flex: 1; min-width: 0; }
.who strong, .who span { display: block; }
.who span { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; }
.who.big { background: #fff; border-radius: 18px; padding: 16px; margin: 18px 0 12px; }
.who.big img { width: 56px; height: 56px; }
.login-hint { background: var(--bg); border-radius: 14px; padding: 14px; margin-bottom: 14px; text-align: center; font-size: .88rem; }
.login-hint p { margin: 0 0 10px; }
.login-hint p:last-child { margin: 10px 0 0; }
.g-btn { display: flex; justify-content: center; min-height: 44px; }
.ck-items { list-style: none; margin: 0; padding: 0; }
.ck-items li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ck-items li:last-child { border-bottom: 0; }
.ck-items .qty { font-weight: 700; color: var(--red); min-width: 30px; }
.ck-items small { display: block; color: var(--muted); font-size: .78rem; }
.skeleton { height: 22px; border-radius: 8px; background: linear-gradient(90deg, #f0f0f2, #fafafa, #f0f0f2); background-size: 200% 100%; animation: shimmer 1.2s infinite; border: 0 !important; margin-bottom: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.summary .sum-line { display: flex; justify-content: space-between; padding: 4px 0; font-size: .92rem; color: var(--muted); }
.summary .sum-line.total { color: var(--ink); font-size: 1.1rem; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.card .summary { margin-top: 10px; }
.checkout-bar { position: sticky; bottom: 0; padding: 12px 0 calc(14px + var(--safe-b)); background: linear-gradient(180deg, rgba(244,244,246,0), var(--bg) 30%); z-index: 5; }
.checkout-bar .btn { justify-content: space-between; padding: 10px 24px; }
.checkout { padding-bottom: 20px; }

/* ---------- Acompanhamento do pedido ---------- */
.pedido { padding-top: 18px; padding-bottom: 30px; }
.status-card { display: flex; gap: 14px; align-items: center; background: var(--black); color: #fff; border-radius: 20px; padding: 18px; margin-bottom: 12px; }
.status-card h1 { font-size: 1.3rem; font-weight: 800; margin: 2px 0 4px; }
.status-card p { margin: 0; font-size: .88rem; opacity: .85; }
.st-num { font-size: .78rem; opacity: .7; }
.st-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; }
.status-card.st-entregue .st-icon { background: var(--green); }
.status-card.st-cancelado { background: #3a3a3d; }
.status-card.st-cancelado .st-icon { background: #6e6e73; }
.status-card.st-aguardando_pagamento .st-icon { background: #f0a500; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0; margin: 0 0 12px; background: #fff; border-radius: 18px; padding: 14px 8px; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .7rem; color: #a1a1a6; position: relative; }
.steps li::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.steps li:first-child::before { display: none; }
.steps .step-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 1rem; position: relative; z-index: 1; }
.steps li.done, .steps li.current { color: var(--ink); font-weight: 600; }
.steps li.done::before, .steps li.current::before { background: var(--red); }
.steps li.done .step-dot { background: var(--red); color: #fff; }
.steps li.current .step-dot { background: var(--red); color: #fff; box-shadow: 0 0 0 5px var(--red-50); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(227,20,27,.08); } }
.pix-card { border: 2px solid var(--red); }
.pix-valor { font-size: 1.25rem; color: var(--red); }
.pix-steps { margin: 0 0 12px; padding-left: 20px; font-size: .88rem; color: var(--muted); }
.pix-steps li { margin-bottom: 4px; }
.qr { width: 230px; max-width: 70%; margin: 6px auto 14px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.qr svg { width: 100%; height: auto; display: block; }
.copy-box { display: flex; flex-direction: column; gap: 8px; }
.copy-box input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px dashed #cfcfd4; border-radius: 12px; background: var(--bg); font-family: ui-monospace, monospace; font-size: .75rem; }
.pix-timer { text-align: center; margin: 12px 0 4px; font-size: .9rem; }
.pix-timer strong { color: var(--red); }
.pix-wait { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.info-row { display: flex; gap: 12px; padding: 8px 0; font-size: .9rem; }
.info-row > i { color: var(--red); font-size: 1.15rem; margin-top: 1px; }
.info-row strong, .info-row span { display: block; }
.info-row span { color: var(--muted); font-size: .85rem; }
.actions { display: grid; gap: 8px; margin-top: 4px; }

/* ---------- Conta ---------- */
.tabs { display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 5px; margin-bottom: 12px; }
.tabs a { flex: 1; text-align: center; padding: 9px 6px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .85rem; color: var(--muted); }
.tabs a.active { background: var(--black); color: #fff; }
.order-list, .addr-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.order-list a { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border-radius: 16px; text-decoration: none; }
.order-list small { display: block; color: var(--muted); font-size: .78rem; }
.order-list .bi-chevron-right { color: #c3c3c8; }
.ol-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex-shrink: 0; }
.ol-icon.st-entregue { background: #e7f6ee; color: var(--green); }
.ol-icon.st-cancelado { background: var(--bg); color: var(--muted); }
.addr-list li { display: flex; gap: 12px; background: #fff; border-radius: 16px; padding: 14px; border: 1.5px solid transparent; }
.addr-list li.is-default { border-color: var(--red); }
.addr-list li > i { font-size: 1.3rem; color: var(--red); }
.addr-list strong, .addr-list span, .addr-list small { display: block; }
.addr-list span { font-size: .88rem; }
.addr-list small { color: var(--muted); font-size: .78rem; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: .85rem; }
.addr-actions a { color: var(--red); font-weight: 600; text-decoration: none; padding: 4px 0; }
.addr-actions form { margin: 0; }
.badge-mini { display: inline-block; font-size: .65rem; background: var(--red); color: #fff; padding: 1px 7px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }
.login-card { text-align: center; padding: 26px 20px; margin-top: 22px; }
.login-card h1 { font-size: 1.3rem; font-weight: 800; margin: 12px 0 6px; }
.login-card p { margin: 0 0 18px; font-size: .9rem; }
.login-card .g-btn { margin-bottom: 12px; }
.login-logo { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto; border: 3px solid var(--red); object-fit: cover; }

/* ---------- Estados / avisos ---------- */
.empty-box { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty-box i { font-size: 2.8rem; color: var(--red); display: block; margin-bottom: 8px; }
.empty-box h1, .empty-box h2 { color: var(--ink); font-size: 1.15rem; margin-bottom: 6px; }
.empty-box p { margin: 0 0 16px; }
.page { padding: 20px 0; }
.flash-area { padding-top: 12px; }
.alert { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 40px 12px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 10px; }
.alert-success { background: #e7f6ee; color: #0b6b34; }
.alert-danger { background: var(--red-50); color: #8b0d12; }
.alert-warning { background: #fff6dd; color: #6b4d00; }
.alert-info { background: #eaf2fd; color: #164a8a; }
.alert .btn-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; opacity: .6; }
.alert .btn-close::before { content: '\00d7'; font-size: 1.3rem; line-height: 1; }
.alert ul { margin: 0; padding-left: 18px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px); background: var(--black); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .88rem; font-weight: 500; z-index: 80; opacity: 0; pointer-events: none; transition: all .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.8); padding: 28px 0 calc(100px + var(--safe-b)); font-size: .86rem; }
.page-checkout .site-footer, .page-pedido .site-footer, .page-conta .site-footer, .page-entrar .site-footer { padding-bottom: calc(28px + var(--safe-b)); }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); }
.foot-brand strong { display: block; color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.foot-links a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.foot-links a:hover { color: #fff; }
.foot-copy { margin: 0; font-size: .75rem; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
