/* ==========================================================================
   Pizzaria Du Lon — visual do cliente
   Lousa preta + amarelo (títulos/categorias) + vermelho (preços/botões) + verde (Consultar/WhatsApp)
   ========================================================================== */
:root {
  --bg: #141414; --bg-2: #1e1e1e; --bg-3: #2a2a2a;
  --amarelo: #f5a623; --amarelo-h: #ffbd4a; --amarelo-esc: #c47a0c; /* Du Lon: laranja-dourado do cardápio (era amarelo do Segundo Templo) */
  --vermelho: #e53935; --vermelho-esc: #b71c1c; --verde: #2ecc71; --verde-esc: #1e8f4e;
  --creme: #fff8e1; --creme-2: #f6ecd0; --linha: #eadfc2;
  --texto: #1e1e1e; --muted: #6f6656; --branco: #fff;
  --radius: 18px; --shadow: 0 10px 28px rgba(0, 0, 0, .45);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: 70px; background: var(--bg); }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; color: var(--branco); min-height: 100vh; padding-bottom: calc(90px + var(--safe-b)); }
/* textura de lousa numa camada fixa (composta pela GPU, não repinta ao rolar) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; will-change: transform;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(900px 500px at 15% 0%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(700px 420px at 90% 30%, rgba(255, 255, 255, .045), transparent 65%),
    radial-gradient(800px 600px at 40% 100%, rgba(255, 255, 255, .04), transparent 60%),
    linear-gradient(180deg, #1b1b1b 0%, #141414 60%, #101010 100%);
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

/* HERO */
.hero { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 26px 16px 8px; overflow: hidden; }
html, body { overflow-x: clip; }
.hero-inner { display: flex; gap: 20px; align-items: center; }
.hero-logo { width: 116px; height: auto; flex: none; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)); }
.hero-text { flex: 1; min-width: 0; }
.hero-kicker { font-family: 'Lilita One', Impact, sans-serif; color: var(--amarelo); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.brand { margin: 0 0 4px; font-family: 'Satisfy', cursive; font-weight: 400; font-size: clamp(38px, 7vw, 62px); line-height: 1; color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 22px rgba(245, 166, 35, .18); }
.brand small { display: block; font-family: 'Lilita One', sans-serif; font-size: .36em; letter-spacing: .08em; color: var(--amarelo); text-transform: uppercase; margin-bottom: 2px; }
.hero-tag { font-family: 'Satisfy', cursive; font-size: 20px; color: var(--amarelo-h); margin-bottom: 6px; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.hero-meta.small { font-size: 12.5px; opacity: .8; margin-top: 4px; }
.hero-pizza { flex: none; width: 210px; height: 210px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(245, 166, 35, .9), 0 18px 40px rgba(0, 0, 0, .6); }
.hero-pizza img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; background: #555; }
.badge.open { background: var(--verde); color: #08331b; }
.badge.closed { background: var(--vermelho); }
.contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.contacts a { text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(245, 166, 35, .35); }
.contacts a:hover { background: rgba(245, 166, 35, .18); }
.notice { position: relative; z-index: 1; max-width: 1100px; margin: 10px auto; padding: 10px 16px; background: var(--amarelo); color: #3a2a00; border-radius: 12px; font-weight: 600; font-size: 14px; width: calc(100% - 28px); }
.menu-title { text-align: center; margin: 22px 0 10px; font-family: 'Lilita One', Impact, sans-serif; font-weight: 400; color: var(--amarelo);
  font-size: clamp(40px, 9vw, 64px); letter-spacing: .06em; text-transform: uppercase; line-height: 1; text-shadow: 0 4px 0 rgba(0, 0, 0, .6); }

/* CATEGORIAS */
.cats { position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; scrollbar-width: none;
  background: rgba(20, 20, 20, .97); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); border-bottom: 1px solid rgba(245, 166, 35, .2); }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 7px 13px; border-radius: 999px;
  font-weight: 600; font-size: 13.5px; color: rgba(255, 248, 225, .72); transition: color .2s, background .2s; }
.cats a i { font-style: normal; font-size: 15px; }
.cats a:hover { color: #fff8e1; }
.cats a.active { background: var(--amarelo); color: #141414; font-weight: 700; }
/* 2026-12-01: abas mais limpas — sem borda, uma linha só (centralizada quando cabe, rola de lado quando não) */
.cats a:first-child { margin-left: auto; }
.cats a:last-child { margin-right: auto; }
.cats { gap: 4px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); }

.search-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 14px auto 0; padding: 0 14px; }
#search { width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid rgba(245, 166, 35, .4); font: inherit; font-size: 15px; background: var(--bg-2); color: #fff; outline: none; }
#search:focus { border-color: var(--amarelo); }
#search::placeholder { color: #a39c8c; }

/* MENU */
.menu { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 4px 14px 20px; }
.loading { text-align: center; padding: 60px 0; opacity: .8; }
.section { margin-top: 30px; }
.section-title { display: flex; justify-content: center; margin: 0 0 14px; }
.section-title .ico { display: none; }
.section-title h2 { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .35em; text-transform: uppercase; text-align: center;
  background: var(--amarelo); color: #141414; padding: 8px 18px 8px calc(18px + .35em); border-radius: 999px; box-shadow: 0 4px 0 rgba(0, 0, 0, .5); }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card { display: flex; gap: 12px; align-items: center; background: var(--creme); color: var(--texto); border-radius: var(--radius); padding: 10px 12px 10px 10px; box-shadow: var(--shadow);
  text-align: left; border: 0; width: 100%; position: relative; overflow: hidden; transition: transform .15s; }
.card:active { transform: scale(.98); }
.card-img { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #2a2a2a; display: grid; place-items: center; font-size: 44px;
  box-shadow: 0 0 0 3px var(--amarelo), 0 6px 14px rgba(0, 0, 0, .35); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 2px 0; align-self: stretch; }
.card-name { font-weight: 800; font-size: 15.5px; line-height: 1.2; padding-right: 46px; }
.card-desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 8px; }
.price { font-weight: 800; color: var(--vermelho); font-size: 15.5px; }
.price small { font-weight: 500; color: var(--muted); font-size: 11px; display: block; line-height: 1; }
.ptags { display: flex; gap: 6px; flex-wrap: wrap; }
.ptag { display: inline-flex; align-items: baseline; gap: 5px; background: var(--vermelho); color: #fff; font-weight: 800; font-size: 13.5px; padding: 4px 10px; border-radius: 8px;
  box-shadow: 0 2px 0 var(--vermelho-esc); white-space: nowrap; }
.ptag small { font-weight: 600; font-size: 11px; opacity: .9; }
.add-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--vermelho); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.add-btn.wa { background: var(--verde); font-size: 16px; }
.consult { display: inline-block; background: var(--verde); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 8px; letter-spacing: .02em; vertical-align: middle; }
.tag { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--amarelo); color: #3a2a00; }
.card.soldout { opacity: .55; }
.card.soldout .tag { background: #333; color: #fff; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* BARRA DA SACOLA */
.cartbar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-b)); width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 0; border-radius: 16px; color: #fff; font-weight: 700; font-size: 15px;
  background: var(--vermelho); box-shadow: 0 12px 30px rgba(229, 57, 53, .45); animation: pop .3s; }
.cartbar strong { margin-left: auto; }
.cartbar-count { background: #fff; color: var(--vermelho); min-width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; }
@keyframes pop { from { transform: translate(-50%, 30px); opacity: 0; } }

/* SHEET (modal inferior) */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .65); backdrop-filter: blur(2px); }
.sheet { position: fixed; z-index: 50; left: 50%; bottom: 0; transform: translateX(-50%); width: min(620px, 100%); max-height: 92vh; overflow: hidden;
  background: #fff; color: var(--texto); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: up .25s ease-out; }
@media (min-width: 700px) { .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 22px; max-height: 88vh; animation: fade .2s; } }
@keyframes up { from { transform: translate(-50%, 100%); } }
@keyframes fade { from { opacity: 0; transform: translate(-50%, -46%); } }
.sheet-head { position: relative; flex: none; }
.sheet-hero { height: 200px; background: radial-gradient(circle at 50% 40%, #2c2c2c, #141414); display: grid; place-items: center; font-size: 80px; overflow: hidden; }
.sheet-hero img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--amarelo), 0 12px 30px rgba(0, 0, 0, .6); }
.sheet-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); font-size: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); z-index: 2; }
.sheet-title { padding: 16px 18px 6px; }
.sheet-title h3 { margin: 0; font-size: 21px; font-weight: 800; }
.sheet-title p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 0 0 12px; -webkit-overflow-scrolling: touch; }
.sheet-foot { flex: none; display: flex; gap: 10px; padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid #eee; background: #fff; }
.plain-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #f0ead8; }
.plain-head h3 { margin: 0; font-size: 18px; }
.plain-head .sheet-close { position: static; box-shadow: none; background: #f5f0e2; }

.grp { margin-top: 10px; }
.grp-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; background: var(--creme-2); }
.grp-head b { font-size: 14.5px; }
.grp-head small { display: block; color: var(--muted); font-size: 12px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #333; color: #fff; white-space: nowrap; }
.pill.ok { background: var(--verde-esc); }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #f3eee0; cursor: pointer; }
.opt input { width: 22px; height: 22px; accent-color: var(--vermelho); flex: none; }
.opt span { flex: 1; font-size: 14.5px; }
.opt em { font-style: normal; font-size: 13px; color: var(--vermelho); font-weight: 700; }
.opt.off { opacity: .45; cursor: not-allowed; }
.opt-sub { padding: 9px 18px 5px; font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--amarelo-esc); border-bottom: 1px solid #f3eee0; background: #fffdf5; }

/* tamanho: botões grandes (segmented control) */
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 12px 18px 4px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; }
.size span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 10px; border: 2px solid var(--linha); border-radius: 14px; cursor: pointer; background: #fff; transition: .15s; }
.size b { font-size: 17px; }
.size em { font-style: normal; font-weight: 800; color: var(--vermelho); font-size: 15px; }
.size input:checked + span { border-color: var(--vermelho); background: #fff1f0; box-shadow: 0 0 0 3px rgba(229, 57, 53, .15); }
.size input:focus-visible + span { outline: 3px solid var(--amarelo); }
.size.off span { opacity: .45; cursor: not-allowed; }

/* meio a meio */
.half { margin: 12px 18px 0; border: 2px dashed var(--amarelo-esc); border-radius: 16px; background: #fffbea; overflow: hidden; }
.half.disabled { opacity: .75; }
.half-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.half-toggle input { position: absolute; opacity: 0; }
.half-toggle span { flex: 1; }
.half-toggle b { display: block; font-size: 15px; }
.half-toggle small { color: var(--muted); font-size: 12px; }
.half-toggle .sw { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #d9d1bd; position: relative; transition: .2s; }
.half-toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: .2s; }
.half-toggle input:checked ~ .sw { background: var(--vermelho); }
.half-toggle input:checked ~ .sw::after { left: 23px; }
.half-toggle input:disabled ~ .sw { opacity: .5; }
.half-off { padding: 0 14px 12px; font-size: 12.5px; color: #8a5a00; }
.half-pick { padding: 0 14px 14px; display: grid; gap: 8px; }
.half-chosen { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--linha); font-size: 14px; }
.half-chosen button { border: 0; background: var(--bg); color: var(--amarelo); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.half-pick input[type=search] { width: 100%; font: inherit; font-size: 14.5px; padding: 10px 12px; border: 1.5px solid var(--linha); border-radius: 12px; outline: none; background: #fff; }
.half-list { max-height: 320px; overflow-y: auto; border-radius: 12px; background: #fff; border: 1px solid var(--linha); }
.half-cat { position: sticky; top: 0; padding: 7px 12px; font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; background: var(--amarelo); color: #141414; }
.half-item { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f3eee0; background: #fff; padding: 10px 12px; color: var(--texto); }
.half-item span { flex: 1; min-width: 0; }
.half-item b { display: block; font-size: 14px; }
.half-item small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.half-item em { font-style: normal; font-weight: 800; color: var(--vermelho); font-size: 13px; white-space: nowrap; }
.half-item.on { background: #fff1f0; box-shadow: inset 4px 0 0 var(--vermelho); }
.half-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.consult-info { margin: 12px 18px 0; padding: 12px 14px; border-radius: 14px; background: #eafaf1; color: #145a32; font-size: 14px; line-height: 1.45; }

.note { margin: 14px 18px 0; }
.note label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
textarea, .field input, .field select { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 12px; color: var(--texto); background: #fff; outline: none; }
textarea:focus, .field input:focus, .field select:focus { border-color: var(--vermelho); }
textarea { min-height: 70px; resize: vertical; }

.qty { display: flex; align-items: center; border: 1.5px solid var(--linha); border-radius: 12px; overflow: hidden; flex: none; }
.qty button { width: 40px; height: 46px; border: 0; background: #fff; font-size: 20px; color: var(--vermelho); font-weight: 700; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.btn { border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-primary { flex: 1; background: var(--vermelho); color: #fff; box-shadow: 0 3px 0 var(--vermelho-esc); }
.btn-primary:disabled { background: #d8cdb8; box-shadow: none; color: #fff; }
.btn-ghost { background: #f5f0e2; color: var(--texto); }
.btn-green, .btn-wa { background: #25d366; color: #fff; }
.btn-danger { background: #ffe5e5; color: #b00020; }
.btn-block { width: 100%; }

/* sacola */
.line { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f3eee0; }
.line-info { flex: 1; min-width: 0; }
.line-info b { font-size: 14.5px; }
.line-info small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line .qty button { height: 32px; width: 32px; font-size: 17px; }
.totals { padding: 14px 18px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 800; font-size: 18px; color: var(--vermelho); border-top: 1px dashed var(--linha); margin-top: 6px; padding-top: 8px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* checkout */
.form { padding: 6px 18px 10px; }
.form h4 { margin: 18px 0 8px; font-size: 15px; color: var(--texto); }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #5a5245; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border: 1.5px solid var(--linha); border-radius: 12px; font-weight: 600; font-size: 13.5px; text-align: center; cursor: pointer; }
.seg span i { font-style: normal; font-size: 22px; }
.seg input:checked + span { border-color: var(--vermelho); background: #fff1f0; color: var(--vermelho-esc); box-shadow: 0 0 0 3px rgba(229, 57, 53, .12); }
.err { color: #b00020; font-size: 13.5px; font-weight: 600; padding: 0 18px; }

/* acompanhamento */
.track { padding: 18px; }
.track-status { text-align: center; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #2a2a2a, #141414); box-shadow: inset 0 0 0 2px rgba(245, 166, 35, .5); }
.track-status .big { font-size: 46px; }
.track-status h3 { margin: 6px 0 2px; font-size: 21px; color: var(--amarelo); }
.track-status p { margin: 0; opacity: .85; font-size: 13.5px; }
.track-status.cancelado { background: linear-gradient(135deg, #e53935, #8e0000); box-shadow: none; }
.track-status.cancelado h3, .track-status.concluido h3, .track-status.await-pix h3 { color: #fff; }
.track-status.concluido { background: linear-gradient(135deg, #2ecc71, #1e8f4e); box-shadow: none; }
.steps { display: flex; justify-content: space-between; margin: 18px 4px 6px; position: relative; }
.steps::before { content: ''; position: absolute; left: 14px; right: 14px; top: 13px; height: 4px; background: #eee6d2; border-radius: 4px; }
.steps .bar { position: absolute; left: 14px; top: 13px; height: 4px; background: var(--verde); border-radius: 4px; transition: width .5s; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 25%; font-size: 11px; text-align: center; color: var(--muted); }
.step i { width: 30px; height: 30px; border-radius: 50%; background: #eee6d2; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.step.done { color: var(--texto); font-weight: 600; }
.step.done i { background: var(--verde); color: #fff; }
.timeline { margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; }
.timeline li { padding: 6px 0 6px 18px; border-left: 2px solid #eee6d2; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--vermelho); }
.timeline small { color: var(--muted); }
.box { margin-top: 14px; border: 1px solid #f0e8d2; border-radius: 14px; overflow: hidden; }
.box h4 { margin: 0; padding: 10px 14px; background: var(--creme); font-size: 14px; }
.box .line { padding: 10px 14px; }
.actions { display: grid; gap: 8px; margin-top: 16px; }
.myorders a { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f3eee0; text-decoration: none; }

/* toast + rodapé */
.toast { position: fixed; z-index: 80; left: 50%; top: 18px; transform: translateX(-50%); background: #141414; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); border: 1px solid rgba(245, 166, 35, .5); max-width: calc(100% - 30px); }
.foot { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; justify-content: center; padding: 30px 16px 10px; opacity: .9; font-size: 13.5px; }
.foot div { display: flex; flex-direction: column; gap: 4px; }
.foot a { text-decoration: none; }

/* celular */
@media (max-width: 640px) {
  .hero { padding-top: 18px; }
  .hero-inner { gap: 12px; }
  .hero-logo { width: 84px; }
  .hero-pizza { position: absolute; z-index: -1; right: -70px; top: -20px; width: 190px; height: 190px; opacity: .35; box-shadow: none; }
  .brand { font-size: 40px; }
  .card-img { width: 84px; height: 84px; }
}
@media (max-width: 640px) { .ptags { gap: 4px; } .ptag { font-size: 12.5px; padding: 3px 7px; gap: 3px; } .ptag small { font-size: 10.5px; } .card-foot .add-btn { width: 30px; height: 30px; font-size: 20px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.form input.ro, .field input.ro { background: var(--creme); color: var(--texto); font-weight: 600; cursor: default; }

/* faixa "pedido em andamento" */
.active-order { position: relative; z-index: 21; display: flex; align-items: center; gap: 12px; max-width: 1100px; margin: 10px auto 0; padding: 12px 16px; border-radius: 16px;
  text-decoration: none; color: #fff; background: var(--vermelho); box-shadow: 0 8px 22px rgba(229, 57, 53, .4); }
@media (max-width: 1130px) { .active-order { margin: 10px 14px 0; } }
.active-order .ao-ic { font-size: 26px; }
.active-order b { display: block; font-size: 15px; }
.active-order small { opacity: .9; font-size: 12.5px; }
.active-order .ao-go { margin-left: auto; font-weight: 700; white-space: nowrap; background: rgba(255, 255, 255, .2); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.active-order.pay { background: linear-gradient(135deg, #ffb300, #f57c00); box-shadow: 0 8px 22px rgba(245, 124, 0, .4); }

/* bairro com sugestões */
.zone-field { position: relative; }
.zone-sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin-top: 4px; background: #fff; border: 1.5px solid var(--linha); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18); max-height: 260px; overflow: auto; }
.zone-sug button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid #f3eee0; background: none; text-align: left; color: var(--texto); }
.zone-sug button:last-child { border-bottom: 0; }
.zone-sug button:hover { background: var(--creme); }
.zone-sug small { color: var(--muted); font-size: 12px; }
.zone-sug em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--vermelho); font-size: 13px; }
.zone-note { margin-top: 6px; font-size: 12.5px; color: #8a5a00; background: #fff8e1; border-radius: 10px; padding: 8px 10px; }

/* envio do pedido pelo WhatsApp (cliente → loja) */
.wa-send { background: #e9fbef; border: 1.5px solid #9be3b4; border-radius: 16px; padding: 14px; margin-bottom: 12px; display: grid; gap: 8px; color: #0b4d24; }
.wa-send b { font-size: 15px; }
.wa-send small { color: #2e6b45; font-size: 12.5px; }

/* Pix antecipado */
.pix-note { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #fff8e1; border: 1.5px solid #ffd54f; color: #6d4c00; font-size: 13.5px; line-height: 1.45; }
.pix-note > b:first-child { display: block; font-size: 14.5px; margin-bottom: 2px; }
.pix-pay { border: 2.5px solid #ffb300; background: #fffaf0; border-radius: 18px; padding: 14px; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(255, 160, 0, .22); }
.pp-h { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.pp-h > span { font-size: 34px; }
.pp-h > div > b { display: block; font-size: 18px; color: #6d4c00; }
.pp-h small b { color: #6d4c00; }
.pp-h small { color: #7a5a00; font-size: 13px; line-height: 1.4; }
.pp-steps { margin: 0; padding: 0 0 0 4px; list-style: none; counter-reset: pp; display: grid; gap: 10px; }
.pp-steps li { counter-increment: pp; position: relative; padding: 10px 12px 10px 46px; background: #fff; border-radius: 14px; border: 1px solid #f3e2b3; display: grid; gap: 6px; color: #3d2a00; }
.pp-steps li::before { content: counter(pp); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: #ffb300; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.pp-steps small { color: #7a6a4a; font-size: 12.5px; }
.pp-steps code { font-size: 17px; font-weight: 800; word-break: break-all; color: #064; background: #e8fff4; padding: 6px 10px; border-radius: 10px; }
.pix-ok { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #e2f6e4; color: #1b5e20; font-weight: 700; font-size: 14px; }
.track-status.await-pix { background: linear-gradient(135deg, #ffa000, #ef6c00); color: #fff; box-shadow: none; }
.track-status.await-pix p { color: #fff; opacity: .95; }

/* ---------- 2026-11-23: turno (almoço de dia / pizzaria à noite) + "O que vem no prato" ---------- */
.shift-bar { position: relative; z-index: 1; max-width: 1100px; width: calc(100% - 28px); margin: 12px auto 0; padding: 12px 16px; border-radius: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border: 2px solid var(--amarelo); background: #1d1d1d; color: #fff; }
.shift-bar.lunch { background: linear-gradient(135deg, #2a2200, #1d1d1d 70%); }
.shift-bar.night { border-color: var(--vermelho); background: linear-gradient(135deg, #2a0b0b, #1d1d1d 70%); }
.shift-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.shift-ico { font-size: 30px; line-height: 1; }
.shift-now b { display: block; font-family: 'Lilita One', Impact, sans-serif; font-weight: 400; font-size: 20px; color: var(--amarelo); letter-spacing: .3px; }
.shift-now small { display: block; font-size: 12.5px; opacity: .85; }
.shift-next { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .shift-next { width: 100%; text-align: center; } }
.pill.warn { background: var(--vermelho); }
.ret-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 4px; }
.ret { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 10px; border-radius: 999px; border: 2px solid var(--verde-esc);
  background: #eaf8ef; color: #134d2c; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; transition: .15s; }
.ret input { width: 18px; height: 18px; accent-color: var(--verde-esc); margin: 0; }
.ret.out { border-color: #c9bfa6; background: #f4f0e6; color: #8a8068; text-decoration: line-through; }
.ret.out input { accent-color: #8a8068; }
/* ⏱ previsão no acompanhamento (2026-11-27, igual à LJ) */
.eta-box { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #FFF6CC; border: 1px solid #f2d35c; color: #3d2f00; font-size: 14px; text-align: center; }

/* 2026-11-30: taxa de entrega pela distância */
.fee-line { margin: 4px 0 10px; font-size: 14px; }
.fee-line span { display: block; border-radius: 12px; padding: 9px 12px; }
.fee-line .fl-wait { opacity: .8; border: 1px dashed rgba(127,127,127,.5); }
.fee-line .fl-ok { background: #E6F5EC; color: #1d6b3d; border: 1px solid #bfe3cc; }
.fee-line .fl-out { background: #FDECEA; color: #9b2c28; border: 1px solid #f3c3bf; }

.cep-found { margin-top: 6px; font-size: 13px; font-weight: 600; border-radius: 10px; padding: 7px 10px; background: rgba(46,158,91,.12); color: #1d6b3d; }
.cep-found.bad { background: rgba(217,83,79,.12); color: #9b2c28; }

.more-addr { display: inline-block; margin: 2px 0 10px; font-size: 13.5px; font-weight: 700; opacity: .85; }

.pf-note { font-size: 12px; margin-top: 3px; opacity: .85; } .pf-line { font-size: 13px; color: #b37800; }

/* 2026-12-01: sabores da pizza — Inteira | ½ | ⅓ com vagas */
.half-head { padding: 12px 14px 4px; }
.half-head b { display: block; font-size: 15px; }
.half-head small { color: var(--muted); font-size: 12px; }
.half-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 8px 14px 12px; }
.half-modes button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border-radius: 12px; border: 1.5px solid var(--linha); background: #fff; color: var(--texto); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.half-modes button.on { border-color: var(--vermelho); background: #fff1f0; color: var(--vermelho); box-shadow: 0 0 0 1px var(--vermelho) inset; }
.half-modes button:disabled { opacity: .45; cursor: not-allowed; }
.pz { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #c98a1a; background: #f6c453; position: relative; }
.pz2 { background: linear-gradient(90deg, #f6c453 50%, #e8603c 50%); }
.pz3 { background: conic-gradient(#f6c453 0 120deg, #e8603c 120deg 240deg, #8bc34a 240deg 360deg); }
.half-slots { display: grid; gap: 6px; }
.half-slot { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1.5px dashed var(--linha); font-size: 14px; }
.half-slot.ok { border-style: solid; border-color: #f0d68a; }
.half-slot .n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--amarelo); color: #141414; font-weight: 800; font-size: 14px; }
.half-slot .t { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.half-slot .t i { color: var(--muted); font-style: normal; font-size: 13px; }
.half-slot em { font-style: normal; font-weight: 800; color: var(--vermelho); font-size: 13px; white-space: nowrap; }
.half-slot small { color: var(--muted); font-size: 11.5px; }
.half-slot button { flex: none; border: 0; background: var(--bg); color: var(--amarelo); font-weight: 800; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
#halfFind { display: grid; gap: 8px; }
#halfFind[hidden] { display: none; }
/* 2026-12-01: entrega só a partir das 19h */
.ent-aviso { margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; background: #fff6d6; border: 1px solid #f0d68a; color: #6b4a00; font-size: 13px; }
.seg label.off { opacity: .45; pointer-events: none; }

/* ======================================================================
   2026-12-01 — PDV (balcão, html.nx-pdv) no COMPUTADOR: tela de caixa
   sacola fixa à direita · cardápio denso · produto e checkout em 2 colunas
   (celular/tablet em pé continua com o layout normal do app)
   ====================================================================== */
#pdvCart { display: none; }
@media (min-width: 900px) {
  html.nx-pdv { --pc-w: 330px; }
  html.nx-pdv body { padding-right: var(--pc-w); }
  html.nx-pdv .menu-title, html.nx-pdv #shiftBar, html.nx-pdv .cartbar { display: none !important; }
  /* abas: todas à vista (quebra linha), sem fade */
  html.nx-pdv .cats { flex-wrap: wrap; justify-content: flex-start; -webkit-mask-image: none; mask-image: none; padding: 8px 12px; gap: 4px 2px; }
  html.nx-pdv .cats a:first-child, html.nx-pdv .cats a:last-child { margin: 0; }
  html.nx-pdv .cats a { padding: 6px 11px; font-size: 13px; }
  html.nx-pdv .search-wrap { max-width: none; margin: 10px 0 0; padding: 0 12px; }
  html.nx-pdv #search { padding-top: 9px; padding-bottom: 9px; }
  /* cards compactos, 3–5 colunas */
  html.nx-pdv .menu { max-width: none; padding: 0 12px 24px; }
  html.nx-pdv .section { margin-top: 16px; }
  html.nx-pdv .section-title { justify-content: flex-start; margin-bottom: 8px; }
  html.nx-pdv .grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px; }
  html.nx-pdv .card { padding: 7px 9px 7px 7px; gap: 9px; border-radius: 12px; cursor: pointer; }
  html.nx-pdv .card:hover { box-shadow: 0 0 0 2px var(--amarelo), var(--shadow); }
  html.nx-pdv .card-img { width: 54px; height: 54px; font-size: 26px; box-shadow: none; }
  html.nx-pdv .card-name { font-size: 14px; padding-right: 0; }
  html.nx-pdv .card-desc { font-size: 11.5px; -webkit-line-clamp: 1; margin-top: 1px; }
  html.nx-pdv .card-foot { padding-top: 4px; }
  html.nx-pdv .ptags { gap: 4px; }
  html.nx-pdv .ptag { font-size: 12px; padding: 2px 6px; gap: 3px; } html.nx-pdv .ptag small { font-size: 10px; }
  html.nx-pdv .price { font-size: 14px; }
  html.nx-pdv .card .add-btn { width: 26px; height: 26px; font-size: 18px; }
  html.nx-pdv .card .tag { top: 4px; right: 4px; font-size: 9.5px; padding: 2px 6px; }
  html.nx-pdv .pf-note { font-size: 11px; }

  /* ---- sacola fixa */
  html.nx-pdv #pdvCart { display: flex; flex-direction: column; position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: var(--pc-w);
    background: #fff; color: var(--texto); border-left: 3px solid var(--amarelo); box-shadow: -6px 0 18px rgba(0, 0, 0, .35); }
  html.nx-addmode #pdvCart { display: none; } html.nx-addmode body { padding-right: 0; }
  .pc-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #141414; color: #fff; }
  .pc-h b { font-size: 16px; } .pc-h span { flex: 1; font-size: 12.5px; opacity: .75; }
  .pc-h a { color: var(--amarelo); font-size: 12.5px; font-weight: 700; text-decoration: none; }
  .pc-list { flex: 1; overflow-y: auto; padding: 4px 0; }
  .pc-line { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; border-bottom: 1px solid #f1ead6; }
  .pc-q { display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--linha); border-radius: 10px; overflow: hidden; flex: none; }
  .pc-q button { border: 0; background: #faf6ea; width: 28px; height: 24px; font-size: 16px; font-weight: 800; cursor: pointer; color: var(--texto); }
  .pc-q button:hover { background: var(--amarelo); }
  .pc-q b { font-size: 14px; padding: 2px 0; }
  .pc-i { flex: 1; min-width: 0; } .pc-i > b { display: block; font-size: 13.5px; line-height: 1.25; }
  .pc-i small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.35; margin-top: 2px; }
  .pc-i span { display: flex; gap: 12px; margin-top: 4px; } .pc-i span a { font-size: 12px; font-weight: 600; color: #7a5b00; text-decoration: none; }
  .pc-line em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--vermelho); white-space: nowrap; }
  .pc-empty { padding: 40px 18px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
  .pc-f { padding: 12px 14px; border-top: 1px solid var(--linha); background: #fffdf5; }
  .pc-f div { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
  .pc-f div b { font-size: 21px; color: var(--vermelho); }
  .pc-f small { display: block; color: var(--muted); font-size: 11.5px; margin: 2px 0 10px; }

  /* ---- janelas (produto, checkout) ocupam a área do cardápio, a sacola continua à vista */
  html.nx-pdv .overlay { right: var(--pc-w); }
  html.nx-pdv .sheet { left: 10px; right: calc(var(--pc-w) + 10px); top: 10px; bottom: 10px; width: auto; max-height: none; transform: none; border-radius: 16px; animation: fade-pdv .15s; }
  @keyframes fade-pdv { from { opacity: 0; } }
  html.nx-pdv .sheet-hero { display: none; }
  html.nx-pdv .sheet-head { height: 0; }
  html.nx-pdv .sheet-close { top: 8px; right: 10px; width: 34px; height: 34px; font-size: 17px; background: #f5f0e2; box-shadow: none; }
  html.nx-pdv .sheet-title { padding: 12px 56px 6px 16px; }
  html.nx-pdv .sheet-title h3 { font-size: 19px; } html.nx-pdv .sheet-title p { font-size: 12.5px; margin-top: 2px; }
  html.nx-pdv .sheet-foot { padding: 10px 14px; }
  /* grupos compactos: opções lado a lado */
  html.nx-pdv .grp { margin-top: 6px; }
  html.nx-pdv .grp-head { padding: 6px 16px; position: static; }
  html.nx-pdv .grp-head b { font-size: 13.5px; } html.nx-pdv .grp-head small { font-size: 11px; }
  html.nx-pdv .grp:not(.grp-ret):not(:has(.sizes)) { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
  html.nx-pdv .grp > .grp-head, html.nx-pdv .grp > .opt-sub { grid-column: 1 / -1; }
  html.nx-pdv .opt { padding: 7px 12px; gap: 8px; border-bottom: 0; border-right: 1px solid #f3eee0; }
  html.nx-pdv .opt input { width: 18px; height: 18px; }
  html.nx-pdv .opt span { font-size: 13px; line-height: 1.2; } html.nx-pdv .opt em { font-size: 12px; }
  html.nx-pdv .opt-sub { padding: 5px 16px 3px; font-size: 10.5px; }
  html.nx-pdv .sizes { padding: 8px 16px 2px; gap: 8px; } html.nx-pdv .size span { padding: 8px; }
  html.nx-pdv .ret-list { padding: 8px 16px 2px; gap: 6px; } html.nx-pdv .ret { padding: 5px 10px 5px 8px; font-size: 13px; }
  html.nx-pdv .note { margin: 10px 16px 0; } html.nx-pdv .note label { font-size: 13px; margin-bottom: 4px; }
  html.nx-pdv #pNote { padding: 8px 12px; min-height: 0; height: 40px; resize: vertical; font-size: 14px; }
  /* pizza: 2 colunas — opções à esquerda, SABORES à direita (lista sempre aberta, grade 3 colunas, rola só ela) */
  html.nx-pdv .sheet-body:has(#half) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-content: start; overflow-y: auto; padding: 0 0 10px; }
  html.nx-pdv .sheet-body:has(#half) > :not(#half) { grid-column: 1; }
  html.nx-pdv .sheet-body:has(#half) > .sheet-title { grid-column: 1 / -1; }
  html.nx-pdv #half { grid-column: 2; grid-row: 2 / span 40; align-self: start; position: sticky; top: 0; margin: 0 12px 0 4px; display: flex; flex-direction: column; min-height: 0;
    height: calc(100vh - 20px - 66px - var(--pdv-title, 58px)); }
  html.nx-pdv .half-head { padding: 8px 12px 2px; }
  html.nx-pdv .half-modes { padding: 6px 12px 8px; } html.nx-pdv .half-modes button { flex-direction: row; justify-content: center; padding: 7px 4px; gap: 7px; }
  html.nx-pdv .pz { width: 22px; height: 22px; }
  html.nx-pdv .half-pick { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 0 12px 12px; }
  html.nx-pdv .half-slots { gap: 4px; } html.nx-pdv .half-slot { padding: 5px 10px; font-size: 13px; } html.nx-pdv .half-slot .n { width: 24px; height: 24px; font-size: 12px; }
  html.nx-pdv #halfFind { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
  html.nx-pdv #halfFind[hidden] { display: none; }
  html.nx-pdv #halfFind[data-hint]:not([data-hint=""])::before { content: attr(data-hint); font-size: 12px; color: #8a5a00; font-weight: 600; }
  html.nx-pdv .half-pick input[type=search] { padding: 8px 10px; font-size: 14px; }
  html.nx-pdv .half-list { flex: 1; min-height: 0; max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-content: start; }
  html.nx-pdv .half-cat { grid-column: 1 / -1; padding: 4px 10px; font-size: 10px; }
  html.nx-pdv .half-item { flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 9px; border-right: 1px solid #f3eee0; cursor: pointer; }
  html.nx-pdv .half-item:hover { background: #fff7dc; }
  html.nx-pdv .half-item b { font-size: 13px; line-height: 1.2; } html.nx-pdv .half-item small { display: none; } html.nx-pdv .half-item em { font-size: 12px; }
  /* produto sem sabores: opções em 2 colunas */
  html.nx-pdv .sheet-body:not(:has(#half)):has(.grp) { column-count: 2; column-gap: 0; }
  html.nx-pdv .sheet-body:not(:has(#half)) > * { break-inside: avoid; }
  html.nx-pdv .sheet-body:not(:has(#half)) > .sheet-title { column-span: all; }
  /* checkout em 2 colunas */
  html.nx-pdv #ck { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; padding: 4px 16px 10px; }
  html.nx-pdv #ck h4 { margin: 10px 0 6px; }
  html.nx-pdv #ck .field { margin-bottom: 7px; } html.nx-pdv #ck .field input, html.nx-pdv #ck textarea { padding: 8px 11px; font-size: 14px; }
  html.nx-pdv #ck textarea { height: 56px; }
  html.nx-pdv #ck .seg span { padding: 7px 6px; flex-direction: row; justify-content: center; gap: 6px; }
  html.nx-pdv .plain-head { padding: 10px 16px; }
}
@media (min-width: 900px) {
  html.nx-pdv .size span { flex-direction: row; justify-content: center; gap: 8px; padding: 6px 8px; }
  html.nx-pdv .size span b { font-size: 15px; } html.nx-pdv .size span em { font-size: 14px; }
  html.nx-pdv .opt { padding: 5px 12px; }
  html.nx-pdv .grp-head .pill { font-size: 11px; padding: 2px 8px; }
  html.nx-pdv .sheet-title { padding-top: 10px; padding-bottom: 4px; }
}
@media (min-width: 900px) and (max-width: 1400px) { html.nx-pdv { --pc-w: 300px; } }
@media (min-width: 900px) {
  html.nx-pdv .grp:not(.grp-ret):not(:has(.sizes)) { grid-template-columns: 1fr 1fr; }
  html.nx-pdv .opt em { white-space: nowrap; }
}
@media (min-width: 1700px) { html.nx-pdv .grp:not(.grp-ret):not(:has(.sizes)) { grid-template-columns: 1fr 1fr 1fr; } }

/* 2026-12-02: PDV — prato do dia de HOJE primeiro; outros dias apagados com o dia */
.nx-pdv .card.outro-dia{opacity:.5}
.nx-pdv .card.outro-dia:hover{opacity:.85}
.pdv-dias{font-size:11px;font-weight:700;color:#8a6d00;margin:1px 0 2px}
.card .tag.tag-hoje{background:#2ECC71;color:#fff}
/* 2026-12-02: botão da sacola do PDV com o formulário aberto = registrar */
#pdvGo.pdv-reg{background:#2ECC71;border-color:#2ECC71;color:#fff;font-size:17px}

/* 2026-12-02: pizza de 2/3 sabores — onde vai cada adicional */
.adic-for{margin:8px 0 4px;padding:10px 12px;border:1.5px dashed #F5A623;border-radius:12px;background:#fffbea}
.adic-for .af-h{font-weight:800;font-size:13px;margin-bottom:6px;color:#141414}
.af-row{display:flex;flex-direction:column;gap:4px;margin:6px 0}
.af-row>b{font-size:13px;color:#141414}
.af-opts{display:flex;flex-wrap:wrap;gap:6px}
.af-opts button{border:1.5px solid #ddd;background:#fff;color:#333;border-radius:999px;padding:6px 10px;font:600 12px Poppins,system-ui,sans-serif;cursor:pointer}
.af-opts button.on{background:#141414;border-color:#141414;color:#F5A623}
.ja-pago{display:flex;align-items:center;gap:10px;margin:10px 0 2px;padding:10px 12px;border:1.5px solid #ddd;border-radius:12px;background:#fff;cursor:pointer;font-size:14px;color:#141414}
.ja-pago input{width:22px;height:22px;accent-color:#2ECC71;flex-shrink:0}
.ja-pago:has(input:checked){border-color:#2ECC71;background:#eafaf1}
.ja-pago small{color:#666;font-weight:500}
.half-ret-go{display:block;width:100%;margin-top:8px;padding:10px 12px;border:1.5px dashed #E53935;border-radius:12px;background:#fff5f5;color:#B71C1C;font:700 13px Poppins,system-ui,sans-serif;cursor:pointer;text-align:center}

/* 2026-12-03: vários endereços por cliente */
.addr-pick { margin-top: 10px; }
.ap-h { font-weight: 800; font-size: 13.5px; margin-bottom: 6px; }
.ap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ap { text-align: left; font: inherit; display: flex; flex-direction: column; gap: 1px; padding: 9px 11px; border-radius: 12px; border: 2px solid #e6dcc6; background: #fff; cursor: pointer; color: inherit; }
.ap b { font-size: 13px; } .ap span { font-size: 12.5px; } .ap small { font-size: 11.5px; opacity: .7; }
.ap.on { border-color: #e53935; background: #fff3f2; box-shadow: 0 0 0 2px rgba(229,57,53,.12); }
.ap-novo { border-style: dashed; }
.addr-novo { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff8e1; border: 1px solid #f2d27a; }
.addr-princ { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; margin-top: 4px; }
.addr-princ input { width: 18px; height: 18px; accent-color: #e53935; }
.addr-dica { display: block; font-size: 11.5px; opacity: .75; margin-top: 4px; }

/* 2026-12-03: cliente com 2+ endereços — atendente confirma */
.addr-pick.ap-alert { padding: 10px; border-radius: 14px; background: #fff4d6; border: 2px solid #f5a623; animation: apPulse 1.4s ease-in-out 3; }
.addr-pick.ap-alert .ap-h { color: #8a4b00; font-size: 14px; }
@keyframes apPulse { 50% { box-shadow: 0 0 0 5px rgba(245,166,35,.25); } }
.multi-end { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f5a623; color: #fff; font-size: 12px; }
