/* Cardápio em lista · vidro embaçado sobre luz de brasa. Laranja e vermelho: as cores que abrem o apetite */
:root {
  --ouro: #FF8A1F;          /* laranja brasa (substitui o dourado nesta tela) */
  --ouro-forte: #FFA53D;
  --vermelho: #E8432A;
  --carvao: #120C08;
  --vidro-l: rgba(255, 244, 232, .075);
  --vidro-borda: rgba(255, 236, 214, .14);
  --brilho: inset 0 1px 0 rgba(255, 255, 255, .12);
  --laranja-grad: linear-gradient(180deg, #FFA43A 0%, #FF7A12 100%);
  --sombra-laranja: 0 10px 26px -8px rgba(255, 122, 18, .75);
}
.lista { background: var(--carvao); isolation: isolate; }

/* luzes de brasa desfocadas atrás do vidro (fixas, não rolam) */
.brasa { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.brasa i { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; }
.brasa i:nth-child(1) { width: 260px; height: 260px; right: -80px; top: -70px; background: #FF7A12; opacity: .45; }
.brasa i:nth-child(2) { width: 200px; height: 200px; left: -90px; top: 32%; background: #C2410C; opacity: .4; }
.brasa i:nth-child(3) { width: 240px; height: 240px; right: -110px; top: 62%; background: #E8432A; opacity: .28; }
.brasa i:nth-child(4) { width: 160px; height: 160px; left: 30%; top: 8%; background: #FFB347; opacity: .18; }

.rolagem { height: 100%; overflow-y: auto; padding: calc(14px + env(safe-area-inset-top)) 16px calc(110px + env(safe-area-inset-bottom)); scrollbar-width: none; overscroll-behavior: contain; }
.rolagem::-webkit-scrollbar { display: none; }

/* vidro embaçado: base de todos os cartões */
.busca, .lista .trocar, .topo-sacola, .chips button, .destaque, .card, .linha, .d-corpo, .d-redondo, .sacola-barra {
  background: var(--vidro-l); border: 1px solid var(--vidro-borda); box-shadow: var(--brilho);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
}

/* topo */
.l-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.l-topo .loja { justify-content: flex-start; }
.lista .loja-logo { background: var(--laranja-grad); color: #2A1203; box-shadow: var(--sombra-laranja); }
.topo-sacola { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.topo-sacola svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linejoin: round; }
.topo-sacola i { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--vermelho); color: #fff; font: 700 11px/18px var(--texto); font-style: normal; text-align: center; }
.l-titulo { margin: 20px 0 14px; font: 700 25px/1.1 var(--titulo); letter-spacing: -.02em; }

/* busca fina + botão de vídeos ao lado */
.busca-linha { display: flex; gap: 8px; }
.busca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 13px; }
.busca:focus-within { border-color: rgba(255, 138, 31, .6); }
.busca svg { width: 16px; height: 16px; flex: none; fill: none; stroke: rgba(255, 244, 232, .65); stroke-width: 1.8; stroke-linecap: round; }
.busca input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--branco); font: 500 14px var(--texto); }
.busca input::placeholder { color: rgba(255, 244, 232, .45); }
.busca input::-webkit-search-cancel-button { filter: invert(1); }
.lista .trocar { position: static; height: 40px; border-radius: 13px; padding: 0 12px; font-size: 13px; }

/* categorias: blocos de vidro, a escolhida acende em laranja */
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 4px; }
.chips button { display: grid; justify-items: center; gap: 5px; padding: 11px 0 9px; border-radius: 18px; font-size: 11.5px; font-weight: 600; color: rgba(255, 244, 232, .75); transition: background .2s, border-color .2s, box-shadow .2s, color .2s; }
.chips button span { font-size: 25px; line-height: 1; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.chips button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, rgba(255, 150, 50, .42), rgba(255, 110, 20, .16)); border-color: rgba(255, 160, 70, .8); box-shadow: var(--brilho), 0 8px 22px -8px rgba(255, 122, 18, .7); }
@media (max-width: 360px) { .chips { gap: 5px; } .chips button { font-size: 10.5px; } }

.bloco { margin-top: 24px; }
.bloco h2 { margin: 0 0 12px; font: 700 19px var(--titulo); letter-spacing: -.01em; }
.bloco-cab { display: flex; align-items: baseline; justify-content: space-between; }
.ver-tudo { font-size: 13.5px; font-weight: 600; color: rgba(255, 244, 232, .7); }

/* destaque: o prato mais pedido entrando pela direita */
.destaque { position: relative; margin-top: 18px; min-height: 178px; border-radius: 24px; overflow: hidden; }
.destaque img { position: absolute; right: 0; top: 0; width: 54%; height: 100%; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.destaque-txt { position: relative; display: grid; justify-items: start; padding: 18px; max-width: 60%; }
.destaque-tag { font-size: 12px; font-weight: 600; color: rgba(255, 244, 232, .8); }
.destaque h2 { margin: 6px 0 2px; font: 750 22px/1.05 var(--titulo); text-shadow: 0 2px 10px rgba(0, 0, 0, .55); letter-spacing: -.02em; }
.destaque-preco { font: 700 20px var(--titulo); color: var(--ouro-forte); margin-bottom: 14px; }
.btn-ouro { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--laranja-grad); color: #2A1203; font-weight: 700; font-size: 14.5px; box-shadow: var(--sombra-laranja), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .15s; }
.btn-ouro:active { transform: scale(.97); }

/* mais pedidos: carrossel */
.carrossel { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
.carrossel::-webkit-scrollbar { display: none; }
.card { flex: none; width: 148px; scroll-snap-align: start; padding: 7px 7px 10px; border-radius: 22px; cursor: pointer; }
.card-foto { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.card-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { margin: 9px 3px 6px; font: 650 14px/1.2 var(--titulo); min-height: 2.4em; }
.card-pe { display: flex; align-items: center; justify-content: space-between; padding: 0 3px; }
.card-pe b { font-weight: 700; font-size: 15px; }

.curtir { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 12, 8, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.curtir svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.curtir[aria-pressed="true"] svg { fill: var(--vermelho); stroke: var(--vermelho); }

/* botão + (adiciona direto) */
.mais { position: relative; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--laranja-grad); color: #2A1203; box-shadow: 0 6px 16px -6px rgba(255, 122, 18, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.mais svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.mais .qtd { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--vermelho); color: #fff; font: 700 11px/18px var(--texto); text-align: center; font-style: normal; }

/* lista por categoria */
.linhas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.linha { display: grid; grid-template-columns: 86px 1fr auto; gap: 12px; align-items: center; padding: 7px 12px 7px 7px; border-radius: 22px; cursor: pointer; }
.linha img { width: 86px; height: 86px; border-radius: 16px; object-fit: cover; display: block; }
.linha-txt { min-width: 0; }
.selo { background: var(--vermelho); color: #fff; }
.linha .selo { margin-bottom: 4px; padding: 1px 8px; font-size: 11px; }
.linha h3 { margin: 0; font: 650 15.5px/1.15 var(--titulo); }
.linha p { margin: 3px 0 6px; color: rgba(255, 244, 232, .66); font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.linha b { font-weight: 700; font-size: 15px; }
.nada { margin: 40px 0; text-align: center; color: var(--cinza); }

/* sacola: barra de vidro no pé da tela */
.sacola-barra { top: auto; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); transform: none; height: 60px; padding: 0 8px 0 16px; border-radius: 22px; color: #fff; background: rgba(40, 24, 14, .55); animation: barra .3s ease; }
.sacola-barra svg { stroke: #fff; }
.sacola-barra span { background: var(--vermelho); color: #fff; }
.sacola-barra em { flex: 1; text-align: left; font-style: normal; font-size: 15px; }
.sacola-barra b { height: 44px; padding: 0 16px; border-radius: 15px; display: grid; place-items: center; background: var(--laranja-grad); color: #2A1203; font-size: 15.5px; box-shadow: var(--sombra-laranja); }
@keyframes barra { from { transform: translateY(16px); opacity: 0; } }
.sacola { background: rgba(30, 20, 14, .9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.pedir { box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }

/* prato aberto */
.detalhe { width: 100%; max-width: 480px; height: 100dvh; max-height: 100dvh; margin: 0 auto; padding: 0; border: 0; background: var(--carvao); color: var(--branco); overflow-y: auto; overscroll-behavior: contain; }
.detalhe::backdrop { background: rgba(0, 0, 0, .7); }
.detalhe[open] { animation: folha .3s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 700px) { .detalhe { height: min(100dvh - 40px, 900px); max-height: none; aspect-ratio: 9 / 18.5; width: auto; margin: auto; border-radius: 34px; } }
.d-midia { position: relative; height: 52dvh; min-height: 300px; background: #000; }
@media (min-width: 700px) { .d-midia { height: 52%; } }
.d-midia video { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-midia::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(rgba(18, 12, 8, 0), var(--carvao)); pointer-events: none; }
.d-redondo { position: absolute; z-index: 2; top: calc(14px + env(safe-area-inset-top)); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 12, 8, .35); }
.d-redondo svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d-voltar { left: 14px; }
.d-midia .curtir { right: 14px; left: auto; width: 42px; height: 42px; }
.d-midia .curtir svg { width: 21px; height: 21px; }
.d-corpo { position: relative; z-index: 1; margin: -48px 12px 0; padding: 18px 16px 0; border-radius: 26px; background: rgba(44, 30, 20, .5); }
.d-corpo::before { content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; top: -30px; height: 80px; border-radius: 50%; background: #FF7A12; filter: blur(50px); opacity: .35; }
.d-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.d-cab h2 { margin: 0; font: 750 25px/1.05 var(--titulo); letter-spacing: -.02em; }
.d-cab b { flex: none; font: 700 22px var(--titulo); color: var(--ouro-forte); }
.d-corpo .selo { margin-bottom: 8px; }
.d-curtidas { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: rgba(255, 244, 232, .7); font-size: 13px; }
.d-curtidas svg { width: 15px; height: 15px; fill: var(--vermelho); }
.d-desc { margin: 10px 0 0; color: rgba(255, 244, 232, .75); font-size: 14.5px; }
.extras { margin: 16px 0 0; padding: 0; border: 0; border-top: 1px solid var(--vidro-borda); }
.extras legend { padding: 14px 0 6px; font: 700 17px var(--titulo); float: left; width: 100%; }
.extra { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 9px 0; cursor: pointer; clear: both; }
.extra span { display: grid; font-weight: 600; }
.extra small { color: rgba(255, 244, 232, .6); font-weight: 500; font-size: 12.5px; }
.extra input { position: absolute; opacity: 0; }
.extra i { position: relative; width: 48px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); transition: background .2s, box-shadow .2s; }
.extra i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); transition: transform .2s; }
.extra input:checked + i { background: var(--laranja-grad); box-shadow: 0 4px 14px -4px rgba(255, 122, 18, .8); }
.extra input:checked + i::after { transform: translateX(20px); }
.extra input:focus-visible + i { outline: 2px solid var(--ouro); outline-offset: 3px; }
.d-pe { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin: 18px -16px 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: rgba(36, 24, 16, .72); border-top: 1px solid var(--vidro-borda); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.d-pe .mais-menos { flex: none; background: rgba(255, 255, 255, .08); border: 1px solid var(--vidro-borda); }
.d-add { flex: 1; height: 52px; justify-content: space-between; padding: 0 20px; font-size: 16px; border-radius: 17px; }
.d-add b { padding-left: 14px; border-left: 1px solid rgba(42, 18, 3, .25); }
