/* Cabaz 3D Peso Real — inspirado na loja e no Instagram: creme claro, vermelho do letreiro,
   dourado do brasão, títulos serifados em itálico. */

:root {
  --creme: #FBF7F1;
  --creme-2: #F4ECE1;
  --papel: #FFFFFF;
  --tinta: #2B201A;
  --suave: #75665B;
  --linha: #E9DED0;
  --vermelho: #B3141F;
  --vermelho-esc: #8E0F18;
  --ouro: #B08A4A;
  --ouro-claro: #E9D6AE;
  --verde: #24543F;
  --ok: #2F7A4D;
  --aviso: #9A6A12;
  --erro: #B3141F;
  --f-titulo: 'Playfair Display', Georgia, serif;
  --f-texto: 'Inter', system-ui, -apple-system, sans-serif;
  --raio: 16px;
  --topo-h: 68px;
  --sombra: 0 1px 2px rgba(43,32,26,.06), 0 8px 24px rgba(43,32,26,.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--creme); color: var(--tinta);
  font: 400 15px/1.5 var(--f-texto); -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: var(--vermelho); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- Cabeçalho ---------- */
.topo {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; height: var(--topo-h);
  background: var(--papel); border-bottom: 1px solid var(--linha); position: relative; z-index: 5;
}
.marca { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.marca .logo { height: 38px; width: auto; display: block; }
.marca span { font: italic 400 .84rem/1 var(--f-titulo); color: var(--suave); padding-left: 2px; }
.topo .acoes { margin-left: auto; display: flex; gap: 6px; }
.natal .topo { background: linear-gradient(90deg, #fff 0%, #fff 70%, #FBF0EF 100%); }

/* ---------- Layout do construtor ---------- */
.app { display: grid; grid-template-columns: minmax(0, 1fr); }
.app > * { min-width: 0; }
.palco {
  position: sticky; top: 0; z-index: 3; height: 44vh; min-height: 260px;
  background:
    radial-gradient(120% 90% at 50% 20%, #FFFDF9 0%, #F6EEE3 55%, #EADCC9 100%);
  border-bottom: 1px solid var(--linha); overflow: hidden; touch-action: none;
}
.palco .cena-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.palco .sobre { position: absolute; z-index: 2; pointer-events: none; }
.palco .sobre * { pointer-events: auto; }
.palco .canto-sup { top: 10px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.palco .canto-inf { bottom: 10px; left: 12px; right: 60px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.etiq {
  background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border-radius: 999px;
  padding: 5px 11px; font-size: .78rem; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.etiq.ok { color: var(--ok); } .etiq.mau { color: var(--erro); } .etiq.neutro { color: var(--suave); }
.btns-palco { display: flex; gap: 6px; }
.btn-redondo {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92);
  box-shadow: 0 1px 4px rgba(0,0,0,.12); display: grid; place-items: center; cursor: pointer; color: var(--tinta);
}
.btn-redondo svg { width: 18px; height: 18px; }
/* Controlos da cena 3D (aproximar, afastar, mover, repor) */
.ctl-3d { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.ctl-3d button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--tinta);
  box-shadow: 0 1px 4px rgba(0,0,0,.14); display: grid; place-items: center; cursor: pointer; touch-action: manipulation;
}
.ctl-3d button svg { width: 18px; height: 18px; }
.ctl-3d button[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.previa3d .ctl-3d { right: 8px; bottom: 8px; }
.dica { font-size: .72rem; color: var(--suave); background: rgba(255,255,255,.7); padding: 3px 8px; border-radius: 999px; }
.carregar-3d { position: absolute; inset: 0; display: grid; place-items: center; color: var(--suave); font-size: .9rem; }

.painel { padding: 0 16px 120px; max-width: 760px; width: 100%; margin: 0 auto; }

/* Passos */
.passos {
  position: sticky; top: 44vh; z-index: 2; display: flex; gap: 4px; padding: 10px 0 8px;
  background: linear-gradient(var(--creme) 80%, transparent);
}
.passo-btn {
  flex: 1; border: 0; background: transparent; padding: 8px 4px; border-radius: 999px; cursor: pointer;
  font-size: .83rem; font-weight: 600; color: var(--suave); display: flex; align-items: center; justify-content: center; gap: 6px;
}
.passo-btn .n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; background: var(--creme-2); }
.passo-btn[aria-selected="true"] { background: var(--papel); color: var(--tinta); box-shadow: var(--sombra); }
.passo-btn[aria-selected="true"] .n { background: var(--vermelho); color: #fff; }

h1, h2, h3 { font-family: var(--f-titulo); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.titulo { font-size: 1.55rem; margin: 14px 0 2px; }
.titulo em { color: var(--vermelho); }
.sub { color: var(--suave); margin: 0 0 14px; font-size: .92rem; }

.aviso-stock {
  display: flex; gap: 10px; align-items: flex-start; background: #FFF8EA; border: 1px solid #F0DDB2;
  color: #6E4E10; border-radius: 12px; padding: 10px 12px; font-size: .84rem; margin: 6px 0 14px;
}
.aviso-stock svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }

/* Contentores */
.contentores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cont-card {
  text-align: left; border: 1.5px solid var(--linha); background: var(--papel); border-radius: var(--raio);
  padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s;
}
.cont-card:hover { box-shadow: var(--sombra); }
.cont-card[aria-checked="true"] { border-color: var(--vermelho); box-shadow: 0 0 0 3px rgba(179,20,31,.12); }
.cont-card .img { aspect-ratio: 4/3; border-radius: 10px; background: var(--creme-2); overflow: hidden; display: grid; place-items: center; }
.cont-card .img img { width: 100%; height: 100%; object-fit: cover; }
.cont-card .img svg { width: 64%; height: auto; }
.cont-card strong { font-size: .92rem; line-height: 1.25; }
.cont-card small { color: var(--suave); font-size: .78rem; }
.cont-card .preco { font-weight: 700; font-size: .9rem; }

/* Cabazes prontos */
.prontos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 8px; }
.pronto-card {
  text-align: left; border: 1.5px solid var(--linha); background: var(--papel); border-radius: var(--raio);
  padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; transition: border-color .15s, box-shadow .15s;
}
.pronto-card:hover { box-shadow: var(--sombra); }
.pronto-card[aria-pressed="true"] { border-color: var(--vermelho); box-shadow: 0 0 0 3px rgba(179,20,31,.12); }
.pronto-card .img { position: relative; aspect-ratio: 4/3; border-radius: 10px; background: var(--creme-2); overflow: hidden; display: grid; place-items: center; }
.pronto-card .img > img { width: 100%; height: 100%; object-fit: cover; }
.pronto-card .img > svg { width: 64%; height: auto; }
.pronto-card .mini-fotos { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.pronto-card .mini-fotos img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pronto-card strong { font: 600 1.02rem/1.25 var(--f-titulo); }
.pronto-card small { color: var(--suave); font-size: .78rem; line-height: 1.35; }
.pronto-card .precos { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.pronto-card .precos .preco { font-weight: 700; font-size: 1.05rem; color: var(--vermelho); }
.pronto-card .precos s { color: var(--suave); font-size: .82rem; }
.aviso-pronto {
  display: flex; gap: 10px; align-items: flex-start; background: #EEF6F0; border: 1px solid #CFE3D6;
  color: #24543F; border-radius: 12px; padding: 10px 12px; font-size: .84rem; margin: 6px 0 10px;
}
.aviso-pronto svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.prod .sugestao {
  position: absolute; top: 8px; right: 8px; background: var(--ouro); color: #fff; border-radius: 999px;
  font-size: .66rem; font-weight: 700; padding: 3px 8px; letter-spacing: .02em;
}

/* Catálogo */
.filtros { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--linha); background: var(--papel); border-radius: 999px; padding: 6px 12px; white-space: nowrap;
  font-size: .82rem; cursor: pointer; font-weight: 500;
}
.chip[aria-pressed="true"] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.pesquisa { position: relative; }
.pesquisa input {
  width: 100%; border: 1px solid var(--linha); background: var(--papel); border-radius: 12px; padding: 10px 12px 10px 36px; font-size: 16px;
}
.pesquisa svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--suave); }
.grelha { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.prod {
  background: var(--papel); border-radius: var(--raio); border: 1px solid var(--linha); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.prod .foto { aspect-ratio: 1; background: #fff; position: relative; }
.prod .foto img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.prod .info { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod .nome { font-size: .84rem; font-weight: 500; line-height: 1.25; flex: 1; }
.prod .linha-baixo { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.prod .preco { font-weight: 700; font-size: .9rem; }
.prod .medidas { font-size: .7rem; color: var(--suave); }
.prod.no-cabaz { border-color: var(--vermelho); }
.prod .qtd-badge {
  position: absolute; top: 8px; left: 8px; background: var(--vermelho); color: #fff; border-radius: 999px;
  min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .76rem; font-weight: 700; padding: 0 6px;
}
.prod .nao-cabe { position: absolute; inset: auto 8px 8px 8px; background: rgba(43,32,26,.78); color: #fff; font-size: .7rem; border-radius: 8px; padding: 4px 6px; text-align: center; }
.passo-qtd { display: flex; align-items: center; gap: 2px; background: var(--creme-2); border-radius: 999px; }
.passo-qtd button, .btn-mais {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: transparent; font-size: 1.1rem; font-weight: 600;
}
.btn-mais { background: var(--vermelho); color: #fff; }
.btn-mais:disabled, .passo-qtd button:disabled { opacity: .35; cursor: not-allowed; }
.passo-qtd span { min-width: 18px; text-align: center; font-weight: 700; font-size: .85rem; }

/* Resumo */
.resumo { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; margin: 16px 0; }
.resumo h3 { font-size: 1.05rem; margin-bottom: 8px; }
.resumo ul { list-style: none; margin: 0; padding: 0; }
.resumo li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--linha); font-size: .86rem; }
.resumo li:first-child { border-top: 0; }
.resumo li img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--linha); }
.resumo li .n { flex: 1; }
.resumo .total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--tinta); font-weight: 700; }
.resumo .nota { font-size: .76rem; color: var(--suave); margin: 4px 0 0; }
.vazio { color: var(--suave); font-size: .88rem; margin: 0; }

/* Formulário */
.form { display: grid; gap: 12px; }
.campo { display: grid; gap: 4px; }
.campo > span { font-size: .8rem; font-weight: 600; }
.campo small { color: var(--suave); font-size: .75rem; }
.campo input, .campo select, .campo textarea {
  border: 1px solid var(--linha); background: var(--papel); border-radius: 12px; padding: 11px 12px; font-size: 16px; width: 100%;
}
.campo textarea { min-height: 80px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus, .pesquisa input:focus { outline: 2px solid rgba(179,20,31,.35); border-color: var(--vermelho); }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcoes { display: grid; gap: 6px; }
.opcao {
  display: flex; gap: 10px; align-items: flex-start; background: var(--papel); border: 1px solid var(--linha);
  border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .88rem;
}
.opcao input { margin-top: 3px; accent-color: var(--vermelho); width: 17px; height: 17px; flex: none; }
.opcao:has(input:checked) { border-color: var(--vermelho); background: #FFF9F8; }
.opcao.forte { background: #FFF8EA; border-color: #F0DDB2; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  border-radius: 999px; padding: 13px 20px; font-weight: 600; font-size: .95rem; text-decoration: none;
}
.btn svg { width: 19px; height: 19px; }
.btn-primario { background: var(--vermelho); color: #fff; }
.btn-primario:hover { background: var(--vermelho-esc); }
.btn-primario:disabled { background: #D9C9C3; cursor: not-allowed; }
.btn-whats { background: #1F9D55; color: #fff; }
.btn-whats:hover { background: #17834A; }
.btn-claro { background: var(--papel); border: 1px solid var(--linha); color: var(--tinta); }
.btn-largo { width: 100%; }
.btn-peq { padding: 8px 14px; font-size: .84rem; }

/* Barra inferior */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--papel); border-top: 1px solid var(--linha);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
  box-shadow: 0 -6px 20px rgba(43,32,26,.06);
}
.barra .info { flex: 1; min-width: 0; line-height: 1.2; }
.barra .info strong { display: block; font-size: 1.05rem; }
.barra #btn-recomecar { flex: none; }
@media (max-width: 400px) { .barra #btn-recomecar { padding: 8px 10px; font-size: .78rem; } .barra .btn-primario { padding: 12px 16px; } }
.barra .info span { font-size: .78rem; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.sem-precos .preco, .sem-precos .so-preco { display: none !important; }

/* Sucesso */
.sucesso { text-align: center; padding: 26px 8px; }
.sucesso .selo { width: 64px; height: 64px; border-radius: 50%; background: #EAF5EE; color: var(--ok); display: grid; place-items: center; margin: 0 auto 12px; }
.sucesso .selo svg { width: 32px; height: 32px; }
.sucesso h2 { font-size: 1.6rem; margin-bottom: 6px; }
.sucesso p { color: var(--suave); }
.sucesso .acoes { display: grid; gap: 8px; max-width: 360px; margin: 16px auto 0; }

.ref-pedido { display: inline-block; font: 600 2rem/1 var(--f-titulo); letter-spacing: .12em; color: var(--vermelho); background: var(--papel); border: 1.5px dashed var(--ouro); border-radius: 14px; padding: 12px 22px; margin-top: 4px; }

/* Estado do pedido */
.linha-estado { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 0; }
.linha-estado li { position: relative; padding: 0 0 16px 34px; font-size: .9rem; color: var(--suave); }
.linha-estado li::before { content: ''; position: absolute; left: 8px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--creme-2); border: 2px solid var(--linha); }
.linha-estado li::after { content: ''; position: absolute; left: 15px; top: 20px; bottom: 0; width: 2px; background: var(--linha); }
.linha-estado li:last-child::after { display: none; }
.linha-estado li.feito { color: var(--tinta); }
.linha-estado li.feito::before { background: var(--ok); border-color: var(--ok); }
.linha-estado li.feito::after { background: var(--ok); }
.linha-estado li.atual { color: var(--tinta); font-weight: 600; }
.linha-estado li.atual::before { background: #fff; border-color: var(--ok); box-shadow: 0 0 0 4px rgba(47,122,77,.18); }
.linha-estado li small { display: block; font-weight: 400; color: var(--suave); margin-top: 2px; }
.estado-cancelado { background: #F4EEEE; border: 1px solid #E4D3D3; color: #6B3A3A; border-radius: 12px; padding: 10px 12px; margin: 12px 0; font-size: .9rem; }

/* Selo "Powered by Netlify" que o Netlify junta à página: escondido. */
#nl-badge-frame { display: none !important; }

/* Aviso flutuante */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 50;
  background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .86rem;
  transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center;
}
.toast.ver { opacity: 1; transform: translateX(-50%) translateY(0); }

.rodape { text-align: center; color: var(--suave); font-size: .78rem; padding: 26px 16px 110px; }
.rodape a { color: inherit; }

/* Computador: 3D à esquerda, painel à direita */
@media (min-width: 960px) {
  .app { grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr); min-height: calc(100vh - var(--topo-h)); }
  .palco { height: calc(100vh - var(--topo-h)); top: var(--topo-h); border-bottom: 0; border-right: 1px solid var(--linha); }
  .topo { position: sticky; top: 0; }
  .passos { top: 0; }
  .painel { padding: 0 28px 40px; max-height: calc(100vh - var(--topo-h)); overflow-y: auto; position: sticky; top: var(--topo-h); }
  .barra { position: sticky; bottom: 0; margin: 20px -28px -40px; box-shadow: none; }
  .rodape { padding-bottom: 20px; }
}

/* ---------- Painel de administração ---------- */
.adm { max-width: 1180px; margin: 0 auto; padding: 16px 16px 80px; }
.adm-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 4px 0 18px; border-bottom: 1px solid var(--linha); }
.adm-tab { border: 0; background: none; padding: 10px 14px; cursor: pointer; font-weight: 600; color: var(--suave); border-bottom: 2px solid transparent; white-space: nowrap; }
.contador-novos { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: .72rem; margin-left: 4px; }
.adm-tab[aria-selected="true"] { color: var(--vermelho); border-bottom-color: var(--vermelho); }
.adm-barra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.adm-barra .pesquisa { flex: 1; min-width: 200px; }
.tabela { width: 100%; border-collapse: collapse; background: var(--papel); border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); }
.tabela th, .tabela td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--linha); font-size: .86rem; vertical-align: middle; }
.tabela th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--suave); background: var(--creme-2); }
.tabela tr:last-child td { border-bottom: 0; }
.tabela tr.clicavel { cursor: pointer; }
.tabela tr.clicavel:hover td { background: #FFFBF6; }
.tabela img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--linha); }
.inativo { opacity: .45; }
.estrela { border: 0; background: none; font-size: 1.25rem; line-height: 1; cursor: pointer; color: #C9B48A; padding: 4px; }
.estrela[aria-pressed="true"] { color: var(--ouro); }
.estado { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.estado.novo { background: #FDECEC; color: var(--vermelho); }
.estado.preparacao { background: #FFF4DE; color: var(--aviso); }
.estado.pronto { background: #E7F2FB; color: #1D5D8C; }
.estado.entregue { background: #EAF5EE; color: var(--ok); }
.estado.cancelado { background: #EEE; color: #777; }

.dialogo { border: 0; border-radius: 20px; padding: 0; width: min(980px, calc(100vw - 20px)); max-height: calc(100vh - 20px); background: var(--creme); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.dialogo::backdrop { background: rgba(30,20,15,.45); }
.dialogo .cab { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--linha); background: var(--papel); position: sticky; top: 0; z-index: 2; }
.dialogo .cab h2 { font-size: 1.2rem; flex: 1; }
.dialogo .corpo { padding: 18px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.dialogo .pe { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--linha); background: var(--papel); position: sticky; bottom: 0; }
.dialogo .pe .esq { margin-right: auto; }
@media (min-width: 820px) { .dialogo .corpo { grid-template-columns: 1fr 1fr; } }
.previa3d { position: relative; aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #FFFDF9, #EADCC9); border: 1px solid var(--linha); }
.previa3d .cena-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.escolha-prods { display: grid; gap: 4px; max-height: 320px; overflow-y: auto; border: 1px solid var(--linha); border-radius: 12px; padding: 6px; background: var(--papel); }
.escolha-linha { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 10px; font-size: .86rem; }
.escolha-linha.no-cabaz { background: #FFF6F5; }
.escolha-linha img, .escolha-linha .sem-foto { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--linha); flex: none; }
.escolha-linha .n { flex: 1; line-height: 1.25; }
.escolha-linha small { color: var(--suave); }
.foto-zona { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; }
.foto-zona .miniatura { width: 110px; height: 110px; border-radius: 12px; background: #fff url() center/contain no-repeat; border: 1px dashed var(--linha); display: grid; place-items: center; overflow: hidden; }
.foto-zona .miniatura img { width: 100%; height: 100%; object-fit: contain; background: repeating-conic-gradient(#f2f2f2 0 25%, #fff 0 50%) 0 0/14px 14px; }
.foto-zona .botoes { display: flex; flex-wrap: wrap; gap: 6px; }
.progresso { font-size: .78rem; color: var(--suave); }
.amostra-ed { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--linha); background: #fff; }
.amostra-ed img { width: 100%; display: block; }
.amostra-q {
  position: absolute; border: 2px solid #fff; border-radius: 4px; cursor: move; touch-action: none;
  box-shadow: 0 0 0 9999px rgba(30,20,15,.38), 0 0 0 1px rgba(0,0,0,.4) inset;
}
.medidas-desenho { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.medidas-desenho .campo input { text-align: center; }
.check { display: flex; gap: 8px; align-items: center; font-size: .88rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--vermelho); }
.cartao-adm { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; }
.cartao-adm h3 { font-size: 1.05rem; margin-bottom: 10px; }
.login { max-width: 380px; margin: 10vh auto; }
.faixa-demo { background: #FFF4DE; color: #6E4E10; text-align: center; font-size: .8rem; padding: 6px 12px; }
.pedido-det dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .88rem; }
.pedido-det dt { color: var(--suave); }
.pedido-det dd { margin: 0; }
@media print {
  .topo, .adm-tabs, .adm-barra, .dialogo .pe, .dialogo .cab button, .previa3d { display: none !important; }
  .dialogo { box-shadow: none; position: static; width: 100%; max-height: none; }
}
