
:root{
  --red:#d71920;
  --red-dark:#b80f16;
  --yellow:#f4c400;
  --ink:#161616;
  --muted:#747474;
  --line:#ece9e5;
  --soft:#f7f5f2;
  --card:#ffffff;
  --dark:#111111;
  --green:#1d9b61;
  --shadow:0 10px 30px rgba(25,20,15,.07);
  --shadow-strong:0 18px 45px rgba(25,20,15,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0 auto;
  width:100%;
  max-width:760px;
  min-height:100vh;
  padding:14px 12px 112px;
  background:
    radial-gradient(circle at 100% 0%,rgba(215,25,32,.07),transparent 28%),
    linear-gradient(180deg,#faf9f7 0%,#f4f2ef 100%);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.45;
}
button,input{font:inherit}
button{
  border:0;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease,border-color .16s ease;
}
button:active{transform:scale(.985)}
button:focus-visible,input:focus-visible{outline:3px solid rgba(215,25,32,.18);outline-offset:2px}
input{
  width:100%;
  padding:14px 15px;
  border:1px solid #e3dfda;
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  font-size:15px;
  box-shadow:0 2px 6px rgba(0,0,0,.02);
}
input:focus{border-color:#e3a1a4;box-shadow:0 0 0 4px rgba(215,25,32,.07)}
.brand-header{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius:24px;
  background:linear-gradient(145deg,#0b0b0b,#1a1a1a);
  color:#fff;
  box-shadow:var(--shadow-strong);
  overflow:hidden;
  position:relative;
}
.brand-header:after{
  content:"";
  position:absolute;
  width:170px;height:170px;
  right:-70px;top:-95px;
  border:20px solid rgba(244,196,0,.15);
  border-radius:50%;
}
.brand-logo-wrap{
  width:86px;height:86px;
  flex:0 0 86px;
  border-radius:20px;
  display:grid;place-items:center;
  background:#000;
  overflow:hidden;
}
.logo{width:100%;height:100%;object-fit:contain;display:block}
.brand-copy{min-width:0;position:relative;z-index:1}
.eyebrow{
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
  color:var(--yellow);
}
.brand-copy h1{
  margin:2px 0 0;
  font-size:25px;
  line-height:1;
  letter-spacing:-.04em;
}
.brand-copy p{
  margin:6px 0 0;
  font-size:12px;
  color:#c8c8c8;
}
.status-loja{
  display:inline-flex;
  margin-top:8px;
  padding:5px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  background:#252525;
  color:#a9a9a9;
}
.status-loja.aberto{color:#8ce1b8;background:rgba(29,155,97,.15)}
.status-loja.fechado{color:#ff9f9f;background:rgba(215,25,32,.14)}
.brand-header.compact .brand-logo-wrap{width:70px;height:70px;flex-basis:70px;border-radius:17px}
.brand-header.compact{margin-bottom:12px}
.brand-header.compact .brand-copy h1{font-size:20px}
.brand-header.compact .brand-copy p{margin-top:4px}
.hero{
  margin-top:12px;
  padding:20px 20px 18px;
  border-radius:24px;
  background:linear-gradient(135deg,var(--red) 0%,#b80f16 68%,#9f0b11 100%);
  color:#fff;
  box-shadow:var(--shadow-strong);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:165px;
  overflow:hidden;
  position:relative;
}
.hero:after{
  content:"";
  position:absolute;
  width:210px;height:210px;
  right:-110px;bottom:-120px;
  border:26px solid rgba(244,196,0,.26);
  border-radius:50%;
}
.hero-kicker{
  display:inline-block;
  font-size:9px;
  font-weight:900;
  letter-spacing:.17em;
  color:var(--yellow);
  margin-bottom:5px;
}
.hero h2,.page-head h2{
  margin:0;
  font-size:27px;
  line-height:1.06;
  letter-spacing:-.045em;
}
.hero p,.page-head p{
  margin:9px 0 0;
  max-width:430px;
  color:rgba(255,255,255,.78);
  font-size:13px;
}
.hero-mark{
  width:max-content;
  min-width:84px;
  max-width:42%;
  min-height:62px;
  flex:0 0 auto;
  padding:10px 13px;
  border-radius:20px;
  display:grid;place-items:center;
  text-align:center;
  line-height:1.05;
  white-space:normal;
  overflow-wrap:anywhere;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-size:clamp(18px,5vw,29px);
  transform:none;
}
.categorias{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  gap:7px;
  overflow-x:auto;
  margin:12px -12px 0;
  padding:9px 12px 10px;
  background:rgba(244,242,239,.92);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  scrollbar-width:none;
}
.categorias::-webkit-scrollbar{display:none}
.categorias button{
  flex:0 0 auto;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #e1ddd8;
  background:#fff;
  color:#66625e;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 3px 10px rgba(0,0,0,.03);
}
.categorias button.categoria-ativa,
.categorias button:hover{
  background:var(--ink);
  border-color:var(--ink);
  color:#fff;
}
.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  margin:18px 2px 10px;
}
.section-title span{
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  color:var(--red);
}
.section-title h2{
  margin:2px 0 0;
  font-size:21px;
  letter-spacing:-.03em;
}
.section-count{
  padding:7px 9px;
  border-radius:999px;
  background:#fff;
  color:#77716b !important;
  letter-spacing:0 !important;
  font-size:10px !important;
  border:1px solid var(--line);
  white-space:nowrap;
}
.produtos-container{display:grid;gap:11px}
.produto{
  padding:16px;
  border:1px solid var(--line);
  border-radius:19px;
  background:var(--card);
  box-shadow:0 5px 16px rgba(0,0,0,.035);
}
.produto h3{
  margin:0;
  font-size:17px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.preco{
  margin:6px 0 0;
  font-size:19px;
  font-weight:950;
  color:var(--red);
}
.acomp{
  margin:8px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.tag{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  margin-bottom:8px;
  border-radius:999px;
  background:#fff4cf;
  color:#8b6900;
  font-size:10px;
  font-weight:900;
}
.controle,.bebida-acoes{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:13px;
}
.controle button,.bebida-acoes>button:not(.add-bebida){
  width:38px;height:38px;
  border-radius:11px;
  border:1px solid #e5e1dc;
  background:#f7f5f2;
  color:#292929;
  font-size:19px;
  font-weight:900;
}
.controle span,.bebida-acoes span{
  min-width:24px;
  text-align:center;
  font-weight:950;
}
.obs{margin-top:11px;background:#fbfaf8}
.add,.add-bebida,.confirmar,.resumo-botoes button:last-child{
  color:#fff;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  box-shadow:0 9px 22px rgba(215,25,32,.18);
}
.add{
  width:100%;
  margin-top:11px;
  padding:13px 14px;
  border-radius:13px;
  font-size:13px;
  font-weight:950;
}
.add:hover,.add-bebida:hover,.confirmar:hover,.resumo-botoes button:last-child:hover{box-shadow:0 12px 28px rgba(215,25,32,.24)}
.bebida{padding:14px}
.bebida-linha{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nome-bebida{font-weight:850;font-size:14px}
.preco-bebida{font-weight:950;color:var(--red);white-space:nowrap}
.opcoes-botoes{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.btn-opcao{
  padding:7px 10px;
  border:1px solid #e0dcd7;
  border-radius:999px;
  background:#faf8f5;
  color:#666;
  font-size:11px;
  font-weight:900;
}
.btn-opcao.ativo{border-color:#df9da0;background:#fff1f1;color:var(--red)}
.add-bebida{
  margin-left:auto;
  padding:10px 13px;
  border-radius:11px;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}
.pedido-container{
  scroll-margin-top:76px;
  margin-top:24px;
  padding:16px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.pedido-head{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
}
.pedido-head span:first-child{
  display:block;
  font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--red);
}
.pedido-head h2{margin:2px 0 0;font-size:22px;letter-spacing:-.03em}
.pedido-badge{
  padding:7px 9px;border-radius:999px;background:#f6f3ef;color:#777;font-size:10px;font-weight:900;
}
#listaPedido{
  margin-top:12px;
  display:grid;
  gap:0;
  border-top:1px solid #f0ede9;
}
.pedidoItem{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  align-items:center;
  gap:9px;
  padding:12px 0;
  border-bottom:1px solid #f0ede9;
  font-size:12px;
}
.pedidoItem small{display:block;color:var(--muted);margin-top:3px;line-height:1.35}
.remover{
  background:#fff0f0;
  color:var(--red);
  width:30px;height:30px;
  padding:0;border-radius:9px;font-size:12px;
}
.remover:hover{background:#ffe0e0}
.total-row{
  display:flex;align-items:end;justify-content:space-between;
  gap:15px;
  padding-top:14px;
}
.total-row span{color:#777;font-size:12px;font-weight:800}
.total-row strong{font-size:22px;letter-spacing:-.04em;color:var(--ink)}
.botoesPedido{margin-top:13px}
.confirmar{
  width:100%;
  padding:15px;
  border-radius:14px;
  font-size:14px;
  font-weight:950;
  display:flex;align-items:center;justify-content:center;gap:10px;
}
.confirmar span,.resumo-botoes span{font-size:18px}
.carrinho-bar{
  position:fixed;
  z-index:200;
  left:50%;
  bottom:13px;
  transform:translateX(-50%);
  width:min(calc(100% - 24px),736px);
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 16px;
  border-radius:17px;
  background:rgba(17,17,17,.97);
  color:#fff;
  border:1px solid #2d2d2d;
  box-shadow:0 18px 35px rgba(0,0,0,.22);
  font-size:13px;font-weight:950;
}
.cart-icon{font-size:15px}
.cart-arrow{margin-left:auto;color:var(--yellow);font-size:19px}
#aviso{
  position:fixed;
  z-index:250;
  left:50%;
  bottom:82px;
  transform:translate(-50%,12px);
  background:#111;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-size:11px;font-weight:900;
  opacity:0;pointer-events:none;
  box-shadow:0 10px 25px rgba(0,0,0,.16);
  transition:.22s ease;
}
#aviso.mostrar{opacity:1;transform:translate(-50%,0)}
.aviso-fechado{
  display:none;
  width:100%;
  min-width:0;
  margin:0 0 10px;
  padding:11px 13px;
  border-radius:13px;
  align-items:flex-start;
  gap:10px;
  background:#fff1f1;
  color:var(--red);
  border:1px solid #f0c7c9;
  font-size:12px;
  font-weight:900;
  line-height:1.35;
  overflow:hidden;
}
.aviso-fechado > span:last-child{min-width:0;display:grid;gap:2px}
.aviso-fechado strong{display:block;white-space:normal}
.aviso-fechado small{display:block;color:#8d4a4d;font-size:10px;font-weight:750;line-height:1.35}
.aviso-fechado-icon{
  flex:0 0 auto;
  width:9px;height:9px;margin-top:4px;border-radius:50%;
  background:var(--red);box-shadow:0 0 0 4px rgba(215,25,32,.08);
}
.page-head{
  margin:12px 0 0;
  padding:21px 19px;
  border-radius:22px;
  background:linear-gradient(135deg,#181818,#2b2b2b);
  color:#fff;
  box-shadow:var(--shadow-strong);
}
.page-head p{color:#c9c9c9;max-width:520px}
.stepper{
  display:flex;align-items:center;gap:7px;
  margin:11px 3px 13px;
  color:#9a9590;
  font-size:9px;font-weight:900;
  white-space:nowrap;
}
.stepper span{padding:5px 7px;border-radius:999px;background:#eeece8}
.stepper .done{color:var(--green);background:#e8f6ef}
.stepper .current{color:var(--red);background:#fff0f0}
.stepper i{height:1px;flex:1;background:#ddd8d2}
.form,.container{
  padding:17px;
  border-radius:21px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.form-label{
  margin:0 0 9px;
  color:#66615d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.form input{margin-bottom:10px}
.tipoPedido,.opcoes-pagamento,.resumo-botoes{
  display:grid;grid-template-columns:1fr 1fr;gap:9px;
}
.tipoPedido button,.opcoes-pagamento button,.resumo-botoes button{
  min-height:58px;
  padding:12px;
  border-radius:13px;
  border:1px solid #e6e1dc;
  background:#f7f5f2;
  color:#35312e;
  font-weight:950;
}
.tipoPedido button:hover,.opcoes-pagamento button:hover{border-color:#d7c9c0;background:#fff}
.opcoes-pagamento{grid-template-columns:repeat(3,1fr)}
.opcoes-pagamento button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:2px}
.opcoes-pagamento button strong{font-size:13px}
.opcoes-pagamento button small{font-size:9px;color:#8a837d;font-weight:800}
#areaTroco{
  margin-top:12px;padding:12px;
  background:#faf8f5;border:1px solid var(--line);border-radius:13px;
}
#areaTroco p{margin:0 0 8px;font-weight:900;font-size:13px}
#areaTroco button{margin-right:6px;padding:10px 13px;border-radius:10px;background:#eee9e3;color:#37322e;font-weight:900}
#areaTroco input{margin:3px 0 8px}
.itemResumo{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
  padding:13px 0;border-bottom:1px solid #efebe6;font-size:13px;
}
.itemResumo:last-child{border-bottom:0}
.itemResumo small{display:block;color:var(--muted);margin-top:3px}
#taxa{margin-top:10px;color:#777;font-size:12px}
.totalResumo{
  display:flex;justify-content:space-between;align-items:end;
  padding-top:15px;margin-top:3px;
  border-top:1px dashed #d8d2cb;
  font-size:13px;font-weight:900;
}
.totalResumo strong{font-size:22px;letter-spacing:-.04em}
.resumo-botoes{margin-top:14px}
.resumo-botoes button:first-child{background:#f0ede9}
@media (min-width:760px){
  body{padding-left:0;padding-right:0}
  .categorias{margin-left:0;margin-right:0;border-radius:15px}
  .produto{transition:transform .16s ease,box-shadow .16s ease}
  .produto:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.06)}
}
@media (max-width:560px){
  body{padding:10px 10px 108px}
  .brand-header{padding:12px;border-radius:21px}
  .brand-logo-wrap{width:76px;height:76px;flex-basis:76px}
  .brand-copy h1{font-size:23px}
  .hero{min-height:154px;padding:18px;border-radius:21px;gap:12px}
  .hero h2,.page-head h2{font-size:24px}
  .hero-mark{min-width:78px;max-width:34%;min-height:56px;padding:9px 10px;font-size:22px}
  .section-title{margin-top:16px}
  .pedido-container{padding:15px}
  .pedidoItem{grid-template-columns:minmax(0,1fr) auto auto auto}
  .opcoes-pagamento{grid-template-columns:1fr}
  .resumo-botoes{grid-template-columns:1fr}
  .stepper{font-size:8px;gap:5px}
  .stepper span{padding:5px 6px}
}

#dados{margin-top:13px}
.field-group{margin-bottom:10px}
.field-group label{
  display:block;margin:0 0 5px 2px;
  color:#5f5a55;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase
}
.field-group label span{color:#a39d97;font-weight:700;text-transform:none;letter-spacing:0}
.full-action{
  width:100%;margin-top:3px;padding:14px;border-radius:14px;
  color:#fff;background:linear-gradient(135deg,var(--red),var(--red-dark));
  font-size:13px;font-weight:950;box-shadow:0 9px 22px rgba(215,25,32,.18);
}
.full-action span{margin-left:7px;font-size:17px}
.form-notice{
  margin:0 0 12px;padding:10px 12px;border-radius:12px;
  background:#fff6df;color:#8d6800;border:1px solid #f1df9f;
  font-size:11px;font-weight:900
}
.troco-actions{display:flex;gap:8px}
.troco-actions button{flex:1}
.troco-confirm{
  width:100%;padding:12px;border-radius:11px;
  background:var(--ink);color:#fff;font-weight:900
}
.empty-state{padding:16px 0;color:#555}
.empty-state p{margin:4px 0 0;color:#888;font-size:12px}

/* Recebimento / Entrega */
.modo-recebimento{
  margin:0 0 11px;
  padding:11px 12px;
  border-radius:13px;
  background:#fff8e4;
  border:1px solid #f0df9d;
  color:#795d00;
  font-size:11px;
  line-height:1.4;
}
.modo-recebimento strong{font-weight:950}
.tipoPedido button{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:11px;
  text-align:left;
}
.tipoPedido button span:last-child{display:grid;gap:2px}
.tipoPedido button strong{font-size:13px}
.tipoPedido button small{font-size:10px;color:#8a837d;font-weight:800}
.tipoPedido button.selecionado{
  background:#fff0f0;
  border-color:#e0a0a3;
  box-shadow:0 0 0 3px rgba(215,25,32,.06);
}
.tipoPedido button.full-option{grid-column:1 / -1}
.recebimento-icone{
  width:38px;height:38px;flex:0 0 38px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#eee9e3;
  color:#24201d;
  font-size:19px;font-weight:950;
}
.selecionado .recebimento-icone{background:var(--red);color:#fff}
.entrega-resumo{
  margin-bottom:13px;
  padding:14px;
  border-radius:16px;
  background:linear-gradient(145deg,#181818,#242424);
  color:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}
.entrega-resumo-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.entrega-resumo-head span:first-child{
  display:block;color:var(--yellow);font-size:9px;font-weight:950;letter-spacing:.16em
}
.entrega-resumo-head strong{display:block;margin-top:3px;font-size:13px;line-height:1.3}
.entrega-badge{padding:6px 8px;border-radius:999px;background:rgba(29,155,97,.16);color:#8ce1b8;font-size:9px;font-weight:950;white-space:nowrap}
.entrega-linhas{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.10);display:grid;gap:7px}
.entrega-linhas div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#c6c6c6}
.entrega-linhas strong{color:#fff}
.entrega-linhas .entrega-total{padding-top:8px;margin-top:2px;border-top:1px dashed rgba(255,255,255,.16);font-size:12px;color:#fff}
.entrega-linhas .entrega-total strong{font-size:17px;color:var(--yellow)}
.entrega-form-section{margin-top:2px}
.form-section-title{margin:0 0 9px;color:#3b3733;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.field-row{display:grid;grid-template-columns:1.1fr .9fr;gap:9px}
.recebimento-note{
  display:flex;align-items:center;gap:10px;
  margin:0 0 12px;padding:12px;
  border-radius:13px;
  border:1px solid #e8e3dd;
  background:#faf8f5;
}
.recebimento-note .note-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eee9e3;font-size:18px;font-weight:950}
.recebimento-note strong{display:block;font-size:12px}
.recebimento-note small{display:block;margin-top:2px;color:#89827b;font-size:10px;line-height:1.35}
.delivery-tip{
  display:flex;flex-direction:column;gap:2px;
  margin:3px 0 11px;padding:10px 12px;
  border-left:3px solid var(--yellow);
  background:#fffaf0;
  color:#6d5c21;
  border-radius:0 11px 11px 0;
  font-size:10px;line-height:1.4;
}
.delivery-tip strong{font-weight:950}
.delivery-tip span{color:#86784c}
@media (max-width:560px){
  .field-row{grid-template-columns:1fr}
  .tipoPedido{grid-template-columns:1fr 1fr}
}
