/* Página de pedido da projeto modelo Confeitaria Nogal (cópia da Sua Confeitaria, pro portfólio). Mesmas cores do painel. */

/* Letras guardadas dentro do site (22/11/2026): a página não busca nada no Google quando abre (assets/fontes/LEIA.txt) */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../assets/fontes/fredoka-latin.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../assets/fontes/nunito-latin.woff2') format('woff2'); }

:root {
  --fundo: #FAF6F0;
  --sup: #FFFFFF;
  --sup2: #F4ECE2;
  --linha: #E7DACA;
  --txt: #3A231E;
  --txt2: #6F5149;
  --choc: #5A3428;
  --choc-escuro: #45261C;
  --rosa: #B07A4C;
  --rosa-suave: #F3E5D5;
  --perigo: #9E2A3C;
  --raio: 18px;
  --raio-p: 12px;
  --sombra: 0 1px 2px rgba(58, 35, 30, .05), 0 6px 20px rgba(58, 35, 30, .06);
  --titulo: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --corpo: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--txt); font-family: var(--corpo); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Topo ---------- */

.topo { position: relative; text-align: center; padding: 26px 16px 8px; }
/* Meus pedidos (22/11/2026): sempre no canto de cima à direita. No celular o topo ganha espaço pra ele não encostar na marca. */
.meus-btn {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 12px 0 10px;
  border-radius: 999px; background: var(--sup); border: 1.5px solid var(--choc); color: var(--choc);
  font-family: var(--corpo); font-weight: 800; font-size: 14px; line-height: 1; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.meus-btn .ic { width: 16px; height: 16px; }
.meus-btn:active { background: var(--choc); color: #fff; }
@media (hover: hover) { .meus-btn:hover { background: var(--choc); color: #fff; } }
/* No celular a marca desce um pouco pra o botão caber no canto sem encostar nela (a marca não muda de tamanho nem sai do centro) */
@media (max-width: 520px) { .topo { padding-top: 58px; } }
.marca-txt { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--titulo); font-weight: 700; line-height: .9; letter-spacing: .02em; }
.marca-txt .m1 { color: var(--choc); font-size: 38px; }
.marca-txt .m2 { color: var(--rosa); font-size: 38px; }
.marca-txt .m3 { color: var(--txt2); font-family: var(--corpo); font-weight: 800; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; }
.local { margin-top: 10px; color: var(--txt2); font-weight: 700; font-size: 15px; }

.app { max-width: 640px; margin: 0 auto; padding: 8px 16px 120px; outline: none; }
.rodape { text-align: center; color: var(--txt2); font-size: 12px; font-weight: 700; padding: 0 16px 110px; }

/* ---------- Intro e categorias ---------- */

.intro { text-align: center; padding: 14px 4px 18px; }
.intro h1 { font-size: 30px; color: var(--txt); }
.intro p { margin-top: 8px; color: var(--txt2); font-weight: 600; }

/* Categorias em grade (21/11/2026): botões do mesmo tamanho e todos à vista, sem arrastar pro lado.
   Celular: 2 por linha e solta na página (presa no topo, a grade cobriria um quarto da tela); quando ela
   sai da tela, aparece o botão "Categorias" no topo pra voltar. Computador: 4 por linha, presa no topo. */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 16px; scroll-margin-top: 16px; }
.cats a {
  flex: 0 0 calc((100% - 8px) / 2); display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 4px 8px; border-radius: 999px;
  background: var(--sup); border: 2px solid var(--choc);
  color: var(--choc); font-weight: 800; font-size: 15px; line-height: 1.2; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.cats a:active { background: var(--choc); color: #fff; }
@media (hover: hover) { .cats a:hover { background: var(--choc); color: #fff; } }
@media (min-width: 560px) { .cats a { flex-basis: calc((100% - 24px) / 4); } }
@media (min-width: 700px) and (min-height: 600px) {
  .cats {
    position: sticky; top: 0; z-index: 10;
    margin: 0 -16px 8px; padding: 10px 16px;
    background: rgba(251, 244, 242, .95); backdrop-filter: blur(8px);
  }
}
.ir-cats {
  position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 50%; z-index: 15; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px 0 14px;
  border-radius: 999px; background: var(--sup); border: 2px solid var(--choc); color: var(--choc);
  font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 6px 18px rgba(58, 35, 30, .18);
}
.ir-cats:active { background: var(--choc); color: #fff; }

/* ---------- Seções ---------- */

.sec { background: var(--sup); border-radius: var(--raio); box-shadow: var(--sombra); padding: 20px 18px; margin-bottom: 14px; scroll-margin-top: 72px; }
/* espaço do botão "Categorias" no celular; no computador, da grade presa no topo (duas linhas) */
@media (min-width: 700px) and (min-height: 600px) { .sec { scroll-margin-top: 136px; } }
.sec h2 { font-size: 23px; color: var(--choc); }
.sub { margin-top: 6px; color: var(--txt2); font-size: 16px; font-weight: 600; }
.passo { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 20px 0 10px; }
.passo span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--choc); color: #fff; font-size: 14px; font-weight: 700; }

.tamanhos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 520px) { .tamanhos { grid-template-columns: repeat(3, 1fr); } }
.opcao {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  min-height: 92px; padding: 12px 14px; border-radius: 14px;
  background: var(--sup); border: 2px solid var(--linha); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.opcao strong { font-family: var(--titulo); font-size: 22px; font-weight: 600; color: var(--choc); }
.opcao span { font-size: 14px; font-weight: 700; color: var(--txt2); }
.opcao em { font-style: normal; font-size: 14px; font-weight: 800; color: var(--choc); margin-top: auto; }
.opcao.ativo { border-color: var(--choc); background: var(--rosa-suave); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 0 14px; border-radius: 999px;
  background: var(--sup); border: 1.5px solid var(--linha); color: var(--txt);
  font-weight: 700; font-size: 16px; cursor: pointer;
}
.chip.ativo { background: var(--choc); border-color: var(--choc); color: #fff; }

.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.campo > span:first-child { font-size: 15px; font-weight: 800; color: var(--txt2); }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--sup); border: 1.5px solid var(--linha); border-radius: var(--raio-p); font-size: 16px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--rosa); outline: none; box-shadow: 0 0 0 3px rgba(196, 132, 126, .25); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--txt2) 50%), linear-gradient(135deg, var(--txt2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.grade-2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 520px) { .grade-2 { grid-template-columns: 1fr 1fr; } }
.passo + .grade-2, .chips + .grade-2 { margin-top: 12px; }

.estimativa { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--sup2); }
.estimativa span { font-size: 14px; font-weight: 800; color: var(--txt2); }
.estimativa strong { font-family: var(--titulo); font-size: 26px; font-weight: 600; color: var(--choc); }
.estimativa small { font-size: 14px; color: var(--txt2); font-weight: 600; }
.estimativa .falta { color: var(--txt2); font-weight: 700; font-size: 16px; }
.dica { font-size: 16px; color: var(--txt2); font-weight: 600; margin: 4px 0 14px; }

.produtos { display: flex; flex-direction: column; margin-top: 10px; }
.produto { padding: 12px 0; border-bottom: 1px solid var(--sup2); }
.produto:last-child { border-bottom: 0; }
.produto-topo { display: flex; align-items: center; gap: 12px; }
.produto-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.produto strong { font-weight: 800; }
.produto-info span { font-size: 15px; color: var(--txt2); font-weight: 700; }
.no-pedido { font-size: 14px; font-weight: 800; color: #1B6142; }
.produto-foto { width: 76px; height: 76px; flex: none; object-fit: cover; border-radius: 14px; background: var(--sup2); }
.produto-acoes { display: flex; gap: 8px; margin-top: 10px; }
/* Retirar ao lado do Adicionar (21/11/2026): só aparece quando o produto já está no pedido */
.produto-btns { display: flex; gap: 8px; flex: none; }
.produto-btns-largo { margin-top: 10px; }
.desc { font-size: 15px; color: var(--txt2); font-weight: 600; }
/* Celular: os botões descem pra uma linha só deles, em toda a largura (como nos produtos com sabor),
   pra não espremer o nome e a descrição. O Retirar vira um quadrado só com o sinal de menos. */
@media (max-width: 440px) {
  .produto-topo { flex-wrap: wrap; }
  .produto-topo .produto-btns { flex: 1 0 100%; }
  .produto-topo [data-acao="add-produto"] { flex: 1; min-height: 48px; }
  .btn-tirar { width: 48px; min-height: 48px; padding: 0; }
  .btn-tirar .rotulo-btn { display: none; }
}
.inclui { margin-top: 8px; }
.inclui summary { display: flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 16px; color: var(--choc); cursor: pointer; }
.inclui ul { margin: 4px 0 4px; padding-left: 20px; color: var(--txt2); font-size: 15px; font-weight: 600; }
@media (min-width: 520px) { .inclui ul { columns: 2; column-gap: 28px; } }
.galeria-caixa { position: relative; }
.galeria { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 18px; margin: 14px -18px 0; padding: 0 18px 4px; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria img { flex: none; width: 168px; height: 168px; object-fit: cover; border-radius: 14px; scroll-snap-align: start; background: var(--sup2); }
.galeria-seta { display: none; }
@media (hover: hover) and (pointer: fine) {
  .galeria-seta {
    display: grid; place-items: center; position: absolute; top: 50%; z-index: 2;
    width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
    background: var(--sup); color: var(--choc); border: 1.5px solid var(--linha);
    box-shadow: 0 4px 14px rgba(58, 35, 30, .18); cursor: pointer; transition: opacity .15s;
  }
  .galeria-seta:hover { background: var(--rosa-suave); }
  .galeria-seta.esq { left: -8px; }
  .galeria-seta.dir { right: -8px; }
  .galeria-seta:disabled { opacity: 0; pointer-events: none; }
}

.sabores { margin-top: 10px; }
.sabores-tit { display: block; font-size: 14px; font-weight: 800; color: var(--txt2); margin-bottom: 8px; }
.chips-p { gap: 6px; }
.chips-p .chip { min-height: 44px; font-size: 15px; padding: 0 12px; text-align: left; }
.btn-add-sabor { flex: 1; min-height: 48px; font-size: 15px; }
/* Lista verde do que já está no pedido, um sabor por linha, cada um com o seu Retirar (22/11/2026) */
.no-pedido-caixa { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: #EEF7F1; }
.no-pedido-caixa ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.no-pedido-caixa li { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #1B6142; font-weight: 700; font-size: 15px; }
.no-pedido-caixa li b { font-weight: 800; }
.btn-tirar-sabor {
  flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid #B5D9C3; background: var(--sup); color: #1B6142;
  font-weight: 800; font-size: 14px; cursor: pointer;
}
.btn-tirar-sabor .ic { width: 16px; height: 16px; }
.btn-tirar-sabor:active, .btn-mais-sabor:active { background: #DCEFE4; }
.sabor-btns { flex: none; display: flex; align-items: center; gap: 6px; }
.btn-mais-sabor {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1.5px solid #B5D9C3; background: var(--sup); color: #1B6142; cursor: pointer;
}
.btn-mais-sabor .ic { width: 18px; height: 18px; stroke-width: 2.5; }

.campo-grupo { min-width: 0; }
.duplo { margin: -4px 0 12px; padding: 12px 12px 0; border-radius: 14px; background: var(--sup2); }
.duplo .campo span:first-child { font-size: 14px; }
.campo-depois { margin-top: 12px; }

.arroba { position: relative; display: block; }
.arroba > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--txt2); pointer-events: none; }
.arroba input[data-dd] { padding-left: 32px; }
.ajuda { font-size: 14px; color: var(--txt2); font-weight: 600; }

/* Fotos sem cortar o bolo: o recorte pega o bolo inteiro e deixa só um pouco do fundo */
.foto-topo { display: block; width: 100%; height: auto; aspect-ratio: 7 / 8; max-height: 46svh; object-fit: cover; object-position: 50% 30%; border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--sombra); background: var(--sup2); }
.sec-foto { display: block; width: calc(100% + 36px); max-width: none; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: -20px -18px 16px; border-radius: var(--raio) var(--raio) 0 0; background: var(--sup2); }
@media (min-width: 700px) {
  .foto-topo { max-width: 460px; }
  .sec-foto { width: 100%; max-width: 460px; margin: 0 auto 18px; border-radius: 16px; }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primario { background: var(--choc); color: #fff; }
.btn-primario:hover { background: var(--choc-escuro); }
.btn-sec { background: var(--sup); color: var(--choc); border-color: var(--linha); }
.btn-sec.feito { background: var(--rosa-suave); border-color: var(--rosa-suave); }
.btn-ig { background: linear-gradient(90deg, #7A3F9E, #C13584 55%, #E1306C); color: #fff; font-size: 17px; }
.btn-largo { width: 100%; }
.btn-p { min-height: 44px; padding: 0 14px; font-size: 15px; flex: none; }
.link { background: none; border: 0; color: var(--choc); font-weight: 800; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 8px; }
.voltar { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; padding: 0; color: var(--txt2); font-weight: 800; cursor: pointer; }

/* ---------- Barra do pedido ---------- */

.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--fundo) 70%, rgba(251, 244, 242, 0)); }
.barra-btn {
  width: 100%; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 18px; border: 0; border-radius: 16px;
  background: var(--choc); color: #fff; cursor: pointer; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 24px rgba(90, 52, 40, .3);
}
.barra-qtd { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 14px; }
.barra-btn strong { margin-left: auto; font-family: var(--titulo); font-weight: 600; font-size: 18px; }

/* ---------- Revisão ---------- */

.tela-tit { font-size: 30px; margin: 4px 0 16px; }
.cartao { background: var(--sup); border-radius: var(--raio); box-shadow: var(--sombra); padding: 18px; margin-bottom: 14px; }
.cartao h2 { font-size: 19px; color: var(--choc); margin-bottom: 12px; }
.linha-item { padding: 12px 0; border-bottom: 1px dashed var(--linha); }
.linha-item:first-child { padding-top: 0; }
.linha-item:last-child { border-bottom: 0; padding-bottom: 0; }
.linha-topo { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.linha-topo strong { color: var(--choc); white-space: nowrap; }
.linha-acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--sup2); border-radius: 999px; padding: 3px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sup); color: var(--choc); display: grid; place-items: center; cursor: pointer; }
.stepper span { min-width: 28px; text-align: center; font-weight: 800; }
.link-remover { margin-left: auto; background: none; border: 0; color: var(--perigo); font-weight: 800; font-size: 16px; min-height: 44px; cursor: pointer; }

.seg { display: flex; gap: 6px; background: var(--sup2); padding: 5px; border-radius: 14px; margin-bottom: 14px; }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--txt2); font-weight: 800; cursor: pointer; }
.seg .ativo { background: var(--sup); color: var(--choc); box-shadow: 0 1px 3px rgba(58, 35, 30, .12); }

.nota { background: var(--rosa-suave); color: var(--choc-escuro); border-radius: var(--raio-p); padding: 10px 14px; font-weight: 700; font-size: 15px; margin: -2px 0 12px; }
.totais { display: flex; flex-direction: column; gap: 6px; }
.totais > div { display: flex; justify-content: space-between; gap: 12px; color: var(--txt2); font-weight: 700; }
.totais .total { color: var(--txt); font-family: var(--titulo); font-size: 22px; font-weight: 600; padding-top: 4px; }
.totais .total span:last-child { color: var(--choc); }
.letra { margin-top: 12px; font-size: 14px; color: var(--txt2); font-weight: 600; text-align: center; }
.erros { background: #FDE7EA; color: #7D1F31; border-radius: var(--raio); padding: 14px 18px; margin-bottom: 14px; font-weight: 700; }
.erros ul { margin: 6px 0 0; padding-left: 20px; }
/* Erro colado no campo: borda e frase em vermelho (nunca só a cor) */
.campo.com-erro input, .campo.com-erro textarea, .campo.com-erro select { border-color: var(--perigo); box-shadow: 0 0 0 1px var(--perigo); }
.erro-campo { display: block; margin-top: 6px; color: var(--perigo); font-size: 14px; font-weight: 700; }

/* ---------- Enviado ---------- */

.enviado { text-align: center; padding-top: 6px; }
.selo-ok { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #DFF2E8; color: #1B6142; }
.selo-ok .ic { width: 36px; height: 36px; stroke-width: 2.5; }
.enviado h1 { font-size: 28px; }
.enviado > p { margin-top: 8px; color: var(--txt2); font-weight: 600; }
.passos { text-align: left; margin: 18px 0; padding: 16px 18px 16px 40px; background: var(--sup); border-radius: var(--raio); box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.enviado .btn { margin-bottom: 10px; }
.previa { text-align: left; margin: 8px 0 12px; background: var(--sup); border-radius: var(--raio); box-shadow: var(--sombra); padding: 14px 18px; }
.previa summary { font-weight: 800; color: var(--choc); cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.previa pre { white-space: pre-wrap; font-family: var(--corpo); font-size: 15px; margin: 10px 0 0; color: var(--txt); }
.retomar { margin: 0 0 16px; padding: 14px 16px; background: var(--rosa-suave); border-radius: var(--raio); }
.retomar p { margin: 0 0 10px; color: var(--txt); font-weight: 600; }
.retomar-acoes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.retomar .btn { flex: 1 1 200px; }

/* ---------- Meus pedidos (22/11/2026) ---------- */

.meus { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.meu {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; text-align: left;
  padding: 16px 18px; border: 0; border-radius: var(--raio); background: var(--sup); box-shadow: var(--sombra);
  color: var(--txt); cursor: pointer;
}
.meu-topo { display: flex; justify-content: space-between; gap: 12px; }
.meu-topo strong { font-family: var(--titulo); font-weight: 600; font-size: 19px; color: var(--choc); }
.meu-topo span { font-weight: 800; color: var(--choc); white-space: nowrap; }
.meu-quando { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--txt2); }
.meu-quando .ic { width: 18px; height: 18px; }
.meu-itens { font-size: 15px; font-weight: 600; color: var(--txt2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meu-ver { display: inline-flex; align-items: center; gap: 2px; align-self: flex-end; font-weight: 800; font-size: 15px; color: var(--choc); }
.meu-ver .ic { width: 18px; height: 18px; }
@media (hover: hover) { .meu:hover { box-shadow: 0 0 0 2px var(--choc), var(--sombra); } }
.meus-vazio p { font-weight: 600; color: var(--txt2); margin-bottom: 14px; }
.meu-feito { margin: -8px 0 16px; }
.meu-linha { font-weight: 600; color: var(--txt); }
.meu-linha + .meu-linha { margin-top: 6px; }
.meu-obs { color: var(--txt2); }
.meu-mandar { margin-top: 10px; }

/* ---------- Horário em rodas, como o alarme do iPhone (22/11/2026) ---------- */

.campo-hora {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--sup); border: 1.5px solid var(--linha); border-radius: var(--raio-p);
  font-size: 16px; font-weight: 700; color: var(--txt); text-align: left; cursor: pointer;
}
.campo-hora.vazio { color: var(--txt2); font-weight: 600; }
.campo-hora .ic { color: var(--txt2); }

.folha { width: 100%; max-width: 640px; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--sup); color: var(--txt); }
.folha::backdrop { background: rgba(58, 35, 30, .45); }
.folha-corpo { padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
.folha h2 { font-size: 21px; color: var(--choc); text-align: center; }
.folha-sub { margin-top: 4px; text-align: center; font-size: 15px; font-weight: 600; color: var(--txt2); }
@media (min-width: 700px) { .folha { max-width: 420px; margin: auto; border-radius: 22px; } }

.rodas { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; height: 220px; margin: 12px 0 16px; }
.rodas-faixa { position: absolute; left: 12px; right: 12px; top: 50%; height: 44px; margin-top: -22px; border-radius: 12px; background: var(--sup2); }
.roda {
  position: relative; width: 96px; height: 220px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-radius: 12px;
  -webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
}
.roda::-webkit-scrollbar { display: none; }
.roda:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; }
.roda-vao { height: 88px; }
.roda-item {
  height: 44px; display: grid; place-items: center; scroll-snap-align: center;
  font-family: var(--titulo); font-size: 28px; font-weight: 600; color: var(--txt2); cursor: pointer; transition: color .15s;
}
.roda-item.ativo { color: var(--txt); }
.rodas-sep { position: relative; font-family: var(--titulo); font-size: 28px; font-weight: 600; color: var(--txt); }
.folha-acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.folha-acoes .btn { flex: 1; max-width: 260px; }

/* ---------- Aviso ---------- */

.aviso {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--txt); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 700; font-size: 15px; width: max-content; max-width: calc(100% - 32px); text-align: center;
  transition: opacity .2s ease, transform .2s ease;
}
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }
.aviso.com-acao { pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 4px 8px 4px 18px; text-align: left; }
.aviso-acao { flex: none; min-height: 44px; padding: 0 10px; border: 0; background: none; color: #F5C9C3; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

/* Aviso de privacidade (LGPD), 20/11/2026 */
.letra a, .rodape a { color: var(--choc); font-weight: 800; }
.legal { max-width: 640px; margin: 0 auto; padding-bottom: 24px; }
.legal h1 { font-family: var(--titulo); font-size: 30px; color: var(--choc); margin: 12px 0 0; }
.legal .cartao { margin-top: 16px; }
.legal h2 { font-family: var(--titulo); font-size: 19px; color: var(--choc); margin: 0 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.55; }
.legal p + p { margin-top: 8px; }
.legal ul { margin: 0; padding-left: 20px; }
.voltar-legal { display: inline-block; margin-top: 8px; padding: 10px 0; color: var(--choc); font-weight: 800; }
