/* Loja do abadá 2027 · Bloco Forrozeiros MS · #ForróEmTodoLugar
   Paleta tirada da arte oficial 2027: magenta, roxo, amarelo-limão, ouro e o azul dos cactos. */

:root {
  --roxo-noite: #1F0640;
  --roxo-escuro: #2E0B5E;
  --roxo: #7B2CF5;
  --roxo-sombra: #4A12A8;
  --magenta: #E8168B;
  --rosa: #FF4FA3;
  --amarelo: #FFE600;
  --amarelo-sombra: #C9A800;
  --ouro: #F5B93A;
  --laranja: #FF5B3A;
  --azul: #3E8ED0;
  --verde: #2FB34A;
  --lilas: #F6EEFF;
  --creme: #FFF7EF;
  --tinta: #2A0B45;
  --cinza: #6E5C86;
  --linha: #E6D9F7;
  --raio: 24px;
  --sombra: 0 22px 50px -24px rgba(46, 11, 94, .45);
  --tit: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --txt: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topo: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--txt); color: var(--tinta); background: var(--creme); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--roxo); }
h1, h2, h3, h4 { font-family: var(--tit); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 8px; }

.pular { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amarelo); color: var(--tinta); padding: 8px 14px; border-radius: 10px; }
.pular:focus { left: 8px; }

.sec__in { width: min(1120px, 100% - 40px); margin-inline: auto; }
.kicker { font-family: var(--tit); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--magenta); margin-bottom: .5rem; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--roxo); --fg: #fff; --sb: var(--roxo-sombra);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--tit); font-weight: 800; font-size: 1.08rem; line-height: 1;
  padding: .95em 1.5em .85em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  box-shadow: 0 5px 0 var(--sb); transition: transform .12s, box-shadow .12s, filter .12s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--sb); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--amarelo { --bg: var(--amarelo); --fg: var(--roxo-escuro); --sb: var(--amarelo-sombra); }
.btn--roxo { --bg: var(--roxo); --fg: #fff; --sb: var(--roxo-sombra); }
.btn--whats { --bg: #25D366; --fg: #06361a; --sb: #189447; }
.btn--vazado { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.btn--vazado:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px #fff; }
.btn--p { font-size: .95rem; padding: .75em 1.15em .65em; }
.btn--g { font-size: 1.2rem; padding: 1.05em 1.7em .95em; }
.btn--bloco { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--roxo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- topo ---------- */
/* dentro do pedido o botão do topo some (a pessoa já está lá) */
.topo .btn { transition: opacity .2s; }
body.no-pedido .topo .btn { opacity: 0; pointer-events: none; }
.topo { position: sticky; top: 0; z-index: 50; background: rgba(46, 11, 94, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topo__in { width: min(1120px, 100% - 28px); margin-inline: auto; height: var(--topo); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--tit); font-weight: 700; font-size: 1.1rem; }
.marca img { width: 40px; height: auto; }
.marca b { color: var(--amarelo); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 60% at 0% 0%, rgba(255, 79, 163, .95) 0, transparent 62%),
    radial-gradient(45% 55% at 100% 100%, rgba(123, 44, 245, .95) 0, transparent 70%),
    radial-gradient(35% 45% at 85% 10%, rgba(255, 91, 58, .45) 0, transparent 70%),
    linear-gradient(135deg, #E8168B 0%, #B51BC4 48%, #6A1BE0 100%);
}
.confete {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='5'%3E%3Cpath d='M20 30l14-8' stroke='%23FFE600'/%3E%3Cpath d='M150 40l6 14' stroke='%23F5B93A'/%3E%3Cpath d='M220 120l14 4' stroke='%23FFE600'/%3E%3Cpath d='M60 200l-10 12' stroke='%23F5B93A'/%3E%3Cpath d='M190 220l12-6' stroke='%23FF5B3A'/%3E%3Cpath d='M100 120l4 13' stroke='%23FFE600' opacity='.7'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='90' cy='50' r='5' fill='%23FF5B3A'/%3E%3Ccircle cx='240' cy='40' r='4' fill='%23FFE600'/%3E%3Ccircle cx='30' cy='130' r='6' fill='%23F5B93A'/%3E%3Ccircle cx='170' cy='160' r='4' fill='%23FF5B3A'/%3E%3Ccircle cx='120' cy='240' r='5' fill='%23FFE600'/%3E%3C/g%3E%3Cpath d='M200 70l16 26h-32z' fill='none' stroke='%23F5B93A' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M40 245l10 17h-20z' fill='none' stroke='%23FFE600' stroke-width='3' stroke-linejoin='round' opacity='.8'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  /* confete mais leve atrás do texto, cheio do lado da foto */
  mask-image: linear-gradient(90deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.26) 44%, #000 64%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.26) 0%, rgba(0,0,0,.26) 44%, #000 64%);
}
.hero__in { position: relative; width: min(1120px, 100% - 40px); margin-inline: auto; padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.selo { display: inline-block; font-family: var(--tit); font-weight: 700; font-size: .95rem; background: rgba(31, 6, 64, .35); border: 1.5px solid rgba(255,255,255,.35); padding: .45em 1em .35em; border-radius: 999px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; line-height: .98; margin-bottom: .35em; text-shadow: 0 3px 0 rgba(46, 11, 94, .35); }
.hero h1 span { color: var(--amarelo); display: inline-block; text-shadow: 3px 4px 0 var(--roxo-escuro); }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 34em; opacity: .97; }
.hero__sub strong { color: var(--amarelo); }

.oferta {
  display: inline-grid; grid-template-columns: auto auto; grid-template-areas: "lote lote" "preco det" "extra extra";
  align-items: center; column-gap: 16px; row-gap: 2px;
  background: var(--amarelo); color: var(--roxo-escuro);
  padding: 20px 40px 20px 44px; margin: 8px 0 26px;
  border-radius: 40% 60% 50% 50% / 50% 44% 56% 50%;
  transform: rotate(-2deg); box-shadow: 8px 10px 0 rgba(46, 11, 94, .35);
}
.oferta__lote { grid-area: lote; font-family: var(--tit); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--magenta); }
.oferta__preco { grid-area: preco; font-family: var(--tit); font-weight: 800; font-size: 4.2rem; line-height: .9; color: var(--magenta); }
.oferta__preco small { font-size: 1.6rem; margin-right: 4px; vertical-align: .9em; color: var(--roxo); }
.oferta__det { grid-area: det; font-weight: 600; font-size: .95rem; line-height: 1.25; max-width: 10em; }
.oferta__extra { grid-area: extra; font-size: .85rem; font-weight: 600; color: var(--roxo); margin-top: 4px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__foto { margin: 0; position: relative; }
.hero__foto img { width: 100%; filter: drop-shadow(0 30px 30px rgba(31, 6, 64, .45)); animation: flutua 6s ease-in-out infinite; }
.hero__foto figcaption { position: absolute; inset: auto 0 2% 0; display: flex; justify-content: space-between; padding: 0 12% 0 18%; pointer-events: none; }
.hero__foto figcaption span { font-family: var(--tit); font-weight: 800; background: var(--roxo-escuro); color: var(--amarelo); padding: .3em .9em .2em; border-radius: 999px; font-size: .95rem; transform: rotate(-3deg); }
.hero__foto figcaption span + span { transform: rotate(3deg); }
@keyframes flutua { 50% { transform: translateY(-10px) rotate(-.6deg); } }

/* ---------- contagem ---------- */
.contagem { background: var(--roxo-noite); color: #fff; }
.contagem__in { width: min(1120px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; }
.contagem__item { padding: 18px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.contagem__item + .contagem__item { border-left: 1px dashed rgba(255,255,255,.25); }
.contagem__rot { font-size: .85rem; opacity: .8; }
.contagem__num { font-family: var(--tit); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--amarelo); line-height: 1.1; }

/* ---------- tema ---------- */
.tema { background: radial-gradient(70% 90% at 50% 0%, #4C1496 0, var(--roxo-escuro) 70%); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.tema h2 { max-width: 16em; }
.tema .kicker { color: var(--rosa); }
.tema__txt { font-size: 1.08rem; max-width: 40em; opacity: .92; }
.letreiro { margin: 34px 0 26px; transform: rotate(-2deg); background: var(--magenta); padding: 14px 0; box-shadow: 0 10px 0 rgba(0,0,0,.18); }
.letreiro__trilho { display: flex; width: max-content; animation: corre 42s linear infinite; }
.letreiro ul { display: flex; list-style: none; margin: 0; padding: 0; }
.letreiro li { font-family: var(--tit); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 22px; }
.letreiro li::after { content: ""; width: 16px; height: 14px; background: var(--amarelo); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.letreiro li:nth-child(3n+1) { color: var(--amarelo); }
.letreiro li:nth-child(3n+2) { color: #fff; }
.letreiro li:nth-child(3n) { color: #2B0A4F; }
@keyframes corre { to { transform: translateX(-50%); } }
.tema__nota { opacity: .85; font-size: .95rem; }
.tema__nota a { color: var(--amarelo); }

/* ---------- passos ---------- */
.passos { padding: clamp(56px, 8vw, 96px) 0; }
.passos__lista { list-style: none; padding: 0; margin: 28px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.passos__lista li { background: #fff; border-radius: var(--raio); padding: 26px 24px 20px; box-shadow: var(--sombra); position: relative; }
.passos__n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; background: var(--magenta); color: var(--amarelo); font-family: var(--tit); font-weight: 800; font-size: 1.7rem; margin-bottom: 12px; padding-top: 4px; }
.passos__lista li:nth-child(2) .passos__n { background: var(--roxo); }
.passos__lista li:nth-child(3) .passos__n { background: var(--azul); }
.passos__lista p { color: var(--cinza); margin: 0; }
.passos__depois { color: var(--cinza); font-size: .95rem; }
.passos__n--p { width: 34px; height: 34px; font-size: 1.1rem; margin: 0 8px 0 0; vertical-align: middle; }

/* ---------- pedido ---------- */
.pedido { background: var(--lilas); padding: clamp(56px, 8vw, 96px) 0; }
.pedido__sub { color: var(--cinza); font-size: 1.05rem; max-width: 40em; }
.pedido__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.cartao { background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: clamp(18px, 3vw, 28px); }

/* etapas do pedido: onde a pessoa está */
.trilha { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 760px; }
.trilha li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 2px solid var(--linha); border-radius: 16px; color: var(--cinza); font-weight: 600; font-size: .95rem; line-height: 1.2; transition: border-color .2s, color .2s; }
.trilha__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding-top: 2px; background: var(--lilas); color: var(--roxo); font-family: var(--tit); font-weight: 800; font-size: 1rem; transition: background .2s; }
.trilha li[aria-current="step"] { border-color: var(--magenta); color: var(--tinta); }
.trilha li[aria-current="step"] .trilha__n { background: var(--magenta); color: #fff; }
.trilha li.feita { color: #0E6A2A; border-color: #BFE8CA; }
.trilha li.feita .trilha__n { background: var(--verde); color: #fff; }
.trilha.cancelada li { opacity: .55; }

.campo { border: 0; margin: 0 0 18px; padding: 0; display: block; min-width: 0; }
.campo legend, .campo > span { font-weight: 700; font-size: .92rem; margin-bottom: 8px; display: block; padding: 0; }
.campo > span i { font-weight: 400; color: var(--cinza); font-style: normal; }
.campo--passo legend { display: flex; align-items: center; gap: 8px; }
.campo__n { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; padding-top: 1px; background: var(--lilas); color: var(--roxo); font-family: var(--tit); font-weight: 800; font-size: .85rem; transition: background .2s, color .2s; }
.campo--passo.ok .campo__n { background: var(--verde); color: #fff; font-size: 0; }
.campo--passo.ok .campo__n::after { content: "✓"; font-size: .85rem; }
.campo__erro { display: block; color: #C4124F; font-weight: 600; font-size: .85rem; margin-top: 6px; }

/* montagem: um cartão por abadá */
.montar { display: grid; gap: 12px; align-content: start; min-width: 0; }
.montar__qtd { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); padding: 16px 18px 16px 22px; }
.montar__tit { font-size: 1.25rem; font-weight: 800; margin: 0; }
.montar__qtd p { margin: 2px 0 0; font-size: .86rem; color: var(--cinza); line-height: 1.35; }
.montar__ajuda { font-size: .88rem; color: var(--cinza); margin: 2px 6px 0; }

.pecas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.peca { position: relative; background: #fff; border-radius: 20px; border: 2px solid transparent; box-shadow: 0 12px 30px -20px rgba(46, 11, 94, .55); animation: entra .3s ease; transition: border-color .2s; }
.peca.aberta { border-color: var(--magenta); box-shadow: var(--sombra); }
.peca.fechada:not(.ok) { border-color: #F6C3D6; border-style: dashed; }
.peca__linha { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 56px 12px 14px; background: none; border: 0; border-radius: 18px; font: inherit; color: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
button.peca__linha { cursor: pointer; }
button.peca__linha:hover { background: #FBF7FF; }
.peca__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--lilas); display: grid; place-items: center; }
.peca__ico .ico { width: 38px; height: 38px; }
.peca__tit { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.peca__tit b { font-family: var(--tit); font-size: 1.08rem; display: flex; align-items: center; gap: 6px; }
.peca.ok .peca__tit b::after { content: "✓"; width: 18px; height: 18px; padding-top: 1px; border-radius: 50%; background: var(--verde); color: #fff; font-size: .68rem; display: inline-grid; place-items: center; }
.peca__tit small { font-size: .92rem; font-weight: 600; color: var(--tinta); }
.peca.aberta .peca__tit small { font-weight: 500; color: var(--cinza); }
.peca.fechada:not(.ok) .peca__tit small { color: #C4124F; }
/* cartão que ainda nem começou não é erro: fica neutro */
.peca.fechada.vazia { border-color: var(--linha); }
.peca.fechada.vazia .peca__tit small { color: var(--cinza); font-weight: 500; }
.peca__aviso { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #FFF0F4; color: #9C0D3E; font-weight: 600; font-size: .9rem; }
.peca__editar { flex: none; font-size: .88rem; font-weight: 700; color: var(--roxo); text-decoration: underline; text-underline-offset: 3px; }
.peca__fechar { flex: none; border: 0; border-radius: 999px; padding: 8px 14px 7px; background: var(--verde); color: #fff; font: 800 .9rem var(--tit); cursor: pointer; }
.peca__rm { position: absolute; top: 19px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #FCE7F1; color: var(--magenta); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.peca__rm:hover { background: var(--magenta); color: #fff; }
.peca__corpo { padding: 2px 18px 6px; }
.peca__repetir { display: block; width: 100%; margin: 0 0 16px; padding: 10px 14px; border: 2px dashed #CDB8EE; border-radius: 14px; background: #FBF7FF; color: var(--roxo); font: 700 .95rem var(--txt); text-align: left; cursor: pointer; }
.peca__repetir small { display: block; font-weight: 500; font-size: .82rem; color: var(--cinza); }
.peca__repetir:hover { border-color: var(--roxo); }
/* para quem é o abadá (pedidos com mais de um) */
.peca__tit b { min-width: 0; }
.peca__quem { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--magenta); }
.peca__quem:empty { display: none; }
.peca__para { display: block; margin: 0 0 16px; }
.peca__para-rot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.peca__para-rot small { font-weight: 500; font-size: .8rem; color: var(--cinza); }
.peca__para input { width: 100%; border: 2px solid var(--linha); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--tinta); background: #fff; transition: border-color .15s; }
.peca__para input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(232, 22, 139, .12); }
.peca__para input[aria-invalid="true"] { border-color: #C4124F; }
.peca__falta-nome { margin: -8px 0 16px; color: #9C0D3E; font-size: .85rem; font-weight: 600; }
.resumo__quem { display: block; margin-top: 3px; font-size: .82rem; font-weight: 500; color: var(--cinza); }
.pagamento__itens small { font-weight: 500; color: var(--cinza); }

.opcoes { display: flex; flex-wrap: wrap; gap: 10px; }
.opcoes button { cursor: pointer; border: 2px solid var(--linha); background: #fff; border-radius: 16px; color: var(--tinta); font-weight: 700; transition: background .15s, border-color .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.opcoes button:hover { border-color: var(--roxo); }
.opcoes--peca { flex-wrap: nowrap; }
.opcoes--peca button { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 12px; font: inherit; text-align: left; }
.opcoes--peca .ico { flex: none; width: 40px; height: 40px; }
.opcoes--peca span { display: flex; flex-direction: column; min-width: 0; font-family: var(--tit); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.opcoes--peca small { font-family: var(--txt); font-size: .75rem; font-weight: 500; color: var(--cinza); margin-top: 2px; }
.opcoes--peca button[aria-checked="true"] { background: var(--roxo); border-color: var(--roxo); color: #fff; }
.opcoes--peca button[aria-checked="true"] small { color: #E7D8FF; }
.opcoes--corte button[aria-checked="true"] { background: var(--magenta); border-color: var(--magenta); }
.opcoes--corte button[aria-checked="true"] small { color: #FFE0F0; }
/* os seis tamanhos cabem numa linha, até no celular */
.opcoes--tam { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.opcoes--tam button { height: 50px; padding: 0; font-family: var(--tit); font-size: 1.1rem; }
.opcoes--tam button[aria-checked="true"] { background: var(--amarelo); border-color: var(--roxo-escuro); color: var(--roxo-escuro); box-shadow: 0 3px 0 var(--roxo-escuro); }

/* desenho das peças: silhueta reta (masculina) ou acinturada (feminina) */
.ico path { fill: url(#fz-grad); stroke: var(--roxo-escuro); stroke-width: 1.6; stroke-linejoin: round; }
.ico--vazio path { fill: none; stroke: #B9A6D6; stroke-dasharray: 3 3; }
button[aria-checked="true"] .ico path { fill: var(--amarelo); }

.pecas__add { width: 100%; padding: 15px; border: 2px dashed #CDB8EE; border-radius: 20px; background: rgba(255, 255, 255, .65); color: var(--roxo); font: 800 1.1rem var(--tit); cursor: pointer; transition: background .15s, border-color .15s; }
.pecas__add:hover { background: #fff; border-color: var(--roxo); }
.pecas__add[disabled] { opacity: .5; cursor: not-allowed; }

.qtd { display: inline-flex; align-items: center; flex: none; border: 2px solid var(--linha); border-radius: 999px; overflow: hidden; background: #fff; }
.qtd button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.4rem; font-weight: 700; cursor: pointer; color: var(--roxo); }
.qtd button:hover { background: var(--lilas); }
.qtd output { min-width: 36px; text-align: center; font-family: var(--tit); font-weight: 800; font-size: 1.25rem; }

.erro-campo { color: #C4124F; font-weight: 600; font-size: .92rem; margin: 0 0 12px; }

/* resumo + dados */
.resumo { position: sticky; top: calc(var(--topo) + 16px); }
.resumo__cab { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.resumo__tit { font-size: 1.45rem; font-weight: 800; margin: 0; }
.resumo__cont { min-width: 30px; height: 30px; padding: 2px 9px 0; border-radius: 999px; display: inline-grid; place-items: center; background: var(--magenta); color: #fff; font-family: var(--tit); font-weight: 800; }
.tam-chip { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 2px 6px 0; margin-left: 3px; border-radius: 7px; background: var(--amarelo); color: var(--roxo-escuro); font-family: var(--tit); font-weight: 800; font-size: .9rem; line-height: 1; vertical-align: 1px; box-shadow: 0 2px 0 var(--roxo-escuro); }
.resumo__itens { list-style: none; margin: 0; padding: 0; }
.resumo__itens li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--linha); font-weight: 600; }
.resumo__itens li b { white-space: nowrap; }
.resumo__vazio { color: var(--cinza); background: var(--lilas); border-radius: 14px; padding: 14px 16px; font-size: .95rem; margin: 0; }
.resumo__falta { list-style: none; margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFF0F4; }
.resumo__falta li + li { margin-top: 4px; }
.resumo__falta .link-btn { color: #9C0D3E; font-size: .9rem; text-align: left; }
.resumo__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-weight: 600; }
.resumo__total strong { font-family: var(--tit); font-size: 1.9rem; color: var(--magenta); }
.dados { border-top: 2px solid var(--lilas); margin-top: 12px; padding-top: 18px; }
.dados__tit { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.btn--duas { flex-direction: column; gap: 5px; padding-top: .9em; padding-bottom: .8em; }
.btn--duas small { font-family: var(--txt); font-weight: 600; font-size: .82rem; opacity: .85; }
.dados input { width: 100%; border: 2px solid var(--linha); border-radius: 14px; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--tinta); background: #fff; transition: border-color .15s; }
.dados input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(232, 22, 139, .12); }
.dados input[aria-invalid="true"] { border-color: #C4124F; }
.mel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.carrinho__priv { font-size: .8rem; color: var(--cinza); text-align: center; margin: 12px 0 0; }
@keyframes entra { from { opacity: 0; transform: translateY(-6px); } }

.aviso { background: #fff; border-left: 6px solid var(--amarelo); border-radius: 14px; padding: 14px 18px; margin: 18px 0 0; box-shadow: var(--sombra); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.aviso--erro { border-left-color: var(--magenta); }

/* ---------- pagamento ---------- */
.pagamento { margin-top: 26px; max-width: 860px; margin-inline: auto; outline: none; }
.pagamento__topo { display: flex; gap: 16px; align-items: center; }
.pagamento__topo h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; margin: 0; }
.pagamento__topo p { margin: 2px 0 0; color: var(--cinza); }
.pagamento__ok { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.pagamento__status { margin: 16px 0 6px; }
.pagamento__itens { list-style: none; margin: 0 0 8px; padding: 12px 16px; background: var(--lilas); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: .95rem; }
.pagamento__passo { border-top: 2px dashed var(--linha); margin-top: 20px; padding-top: 20px; }
.pagamento__passo h4 { font-size: 1.35rem; font-weight: 800; margin-bottom: 14px; }
.pagamento__passo h4 strong { color: var(--magenta); }
.pix__dica { color: var(--cinza); font-size: .92rem; margin: -4px 0 16px; max-width: 46em; }
.pix { display: grid; grid-template-columns: 1fr 230px; gap: 26px; align-items: start; }
.pix__qrbox summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--roxo); padding: 12px 14px; border: 2px dashed var(--linha); border-radius: 14px; }
.pix__qrbox summary::-webkit-details-marker { display: none; }
.pix__qrbox summary::before { content: "▸ "; }
.pix__qrbox[open] summary::before { content: "▾ "; }
.pix__qrbox summary small { display: block; font-weight: 500; color: var(--cinza); font-size: .82rem; margin-left: 1em; }
@media (min-width: 900px) { .pix__qrbox summary { display: none; } }
.pix__qr { background: #fff; border: 2px solid var(--linha); border-radius: 16px; padding: 8px; }
.pix__qr svg { width: 100%; height: auto; display: block; }
.pix__cc label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: 6px; }
.pix__cc textarea { width: 100%; resize: none; border: 2px solid var(--linha); border-radius: 14px; padding: 10px 12px; font: 500 .8rem/1.4 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--tinta); background: var(--lilas); margin-bottom: 12px; word-break: break-all; }
.pix__chave { font-size: .9rem; color: var(--cinza); margin: 12px 0 0; }
.pix__chave b { color: var(--tinta); }
.envio { display: grid; gap: 12px; max-width: 520px; }
.envio label.btn { cursor: pointer; }
.arq-oculto { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.arq-oculto:focus-visible + .envio label.btn { outline: 3px solid var(--amarelo); outline-offset: 3px; }
.envio__alt { margin: 0; font-size: .9rem; color: var(--cinza); text-align: center; }
.envio__alt a { font-weight: 700; color: #0E7A3A; }
.envio__ok { display: flex; gap: 14px; align-items: flex-start; max-width: 620px; padding: 16px 18px; border-radius: 16px; background: #E6F8EA; color: #0E5A24; outline: none; animation: entra .3s ease; }
.envio__ok-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.envio__ok b { font-family: var(--tit); font-size: 1.25rem; }
.envio__ok p { margin: 4px 0 0; }
.envio__ok-links { font-size: .9rem; }
.envio__ok-links label, .envio__ok-links a { color: #0E5A24; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.envio__msg.info { background: var(--lilas); color: var(--tinta); }
.envio__msg { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #E6F8EA; color: #0E5A24; font-weight: 600; }
.envio__msg.erro { background: #FDE8EF; color: #9C0D3E; }
.pagamento__novo { margin-top: 22px; }

.etiqueta { display: inline-block; font-weight: 700; font-size: .8rem; padding: .3em .8em; border-radius: 999px; background: #EEE; }
.etiqueta--aguardando { background: #FFF5C2; color: #6B5200; }
.etiqueta--comprovante { background: #E3EEFF; color: #1D4C9A; }
.etiqueta--pago { background: #DDF6E3; color: #0E6A2A; }
.etiqueta--entregue { background: #EBDDFF; color: #4A12A8; }
.etiqueta--cancelado { background: #FDE2E8; color: #9C0D3E; }

/* ---------- todos / números ---------- */
.todos { background: linear-gradient(120deg, var(--magenta), #B51BC4 55%, var(--roxo)); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.todos__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.todos p { font-size: 1.08rem; opacity: .95; }
.todos a { color: var(--amarelo); font-weight: 700; }
.numeros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.numeros li { background: rgba(31, 6, 64, .28); border-radius: 20px; padding: 18px 12px; text-align: center; }
.numeros b { display: block; font-family: var(--tit); font-weight: 800; font-size: clamp(2rem, 4.4vw, 2.8rem); color: var(--amarelo); line-height: 1; }
.numeros span { font-size: .85rem; }

/* ---------- faq ---------- */
.faq { padding: clamp(56px, 8vw, 96px) 0; }
.faq__lista { display: grid; gap: 12px; margin-top: 24px; max-width: 860px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: 0 10px 30px -22px rgba(46, 11, 94, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--tit); font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--lilas); color: var(--roxo); display: grid; place-items: center; font-size: 1.3rem; transition: .2s; }
.faq details[open] summary::after { content: "−"; background: var(--magenta); color: #fff; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--cinza); }

/* ---------- consulta ---------- */
.consulta { background: #fff; padding: clamp(48px, 7vw, 72px) 0; text-align: center; }
.consulta h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.consulta p { color: var(--cinza); }
.consulta__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.consulta__form input { border: 2px solid var(--linha); border-radius: 999px; padding: 13px 18px; font: inherit; min-width: 220px; flex: 0 1 260px; }
.consulta__form input:focus { outline: none; border-color: var(--magenta); }
.consulta__res { max-width: 560px; margin: 20px auto 0; text-align: left; background: var(--lilas); border-radius: 18px; padding: 18px 20px; }
.consulta__res p { margin: 0 0 6px; color: var(--tinta); }

/* ---------- rodapé ---------- */
.rodape { background: var(--roxo-noite); color: rgba(255,255,255,.85); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .95rem; }
.rodape__in { display: flex; gap: 22px; align-items: center; }
.rodape img { width: 72px; }
.rodape p { margin: 0 0 4px; }
.rodape a { color: var(--amarelo); }

/* ---------- barra fixa e toast ---------- */
.barra { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; background: var(--roxo-escuro); color: #fff; border-radius: 22px; padding: 10px 10px 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 16px 40px -10px rgba(31, 6, 64, .7); animation: entra .25s ease; }
.barra b { display: block; font-family: var(--tit); font-size: 1.05rem; line-height: 1.1; }
.barra span { color: var(--amarelo); font-weight: 700; }
/* avisos rápidos ficam no topo e não recebem toque: nunca cobrem um botão */
.toast { position: fixed; left: 50%; top: calc(var(--topo) + 10px); transform: translateX(-50%); pointer-events: none; z-index: 80; background: var(--tinta); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); animation: entra .2s ease; max-width: calc(100% - 32px); text-align: center; }

/* ---------- responsivo ---------- */
@media (min-width: 900px) { .barra { display: none !important; } }
@media (max-width: 899px) {
  .hero__in { grid-template-columns: 1fr; text-align: left; }
  .hero__foto { order: -1; width: min(520px, 100%); margin: 0 auto -8px; }
  .hero__texto { display: flex; flex-direction: column; align-items: flex-start; }
  /* no celular a foto vem em cima: confete cheio nela, leve atrás do texto */
  .confete {
    mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0,0,0,.22) 48%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0,0,0,.22) 48%);
  }
  .pedido__grade { grid-template-columns: 1fr; }
  .resumo { position: static; }
  .passos__lista { grid-template-columns: 1fr; }
  .todos__in { grid-template-columns: 1fr; }
  .pix { grid-template-columns: 1fr; }
  .pix__qr { width: min(240px, 72%); margin: 14px auto 4px; }
  body.tem-barra { padding-bottom: 84px; }
}
@media (max-width: 560px) {
  .hero__in { padding-top: 14px; gap: 6px; }
  .hero__foto { width: min(290px, 76%); margin: 0 auto 6px; }
  .hero__foto figcaption span { font-size: .78rem; }
  .hero h1 { font-size: 2.35rem; }
  .hero__sub { font-size: .98rem; margin-bottom: .6em; }
  .marca span { display: none; }
  .selo { font-size: .82rem; }
  .oferta { padding: 18px 32px 18px 36px; }
  .oferta__preco { font-size: 3.6rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .contagem__rot { font-size: .75rem; }
  .numeros { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .numeros li { padding: 14px 6px; }
  .montar__qtd { padding: 14px 14px 14px 18px; }
  .montar__tit { font-size: 1.15rem; }
  .peca__corpo { padding: 0 12px 4px; }
  /* linha do cartão fechado: "Editar" vira uma setinha pra caber "Camiseta masculina M" numa linha */
  .peca__linha { gap: 10px; padding-left: 12px; }
  .peca__ico { width: 42px; height: 42px; border-radius: 12px; }
  .peca__ico .ico { width: 34px; height: 34px; }
  .peca__tit small { font-size: .88rem; }
  .peca__editar { width: 14px; font-size: 0; text-decoration: none; text-align: center; }
  .peca__editar::before { content: "›"; font-size: 1.8rem; line-height: 1; color: var(--roxo); }
  .opcoes--peca button { gap: 8px; padding: 8px 9px; }
  .opcoes--peca .ico { width: 34px; height: 34px; }
  .opcoes--peca span { font-size: 1.02rem; }
  .opcoes--tam { gap: 6px; }
  .opcoes--tam button { height: 48px; border-radius: 14px; }
  .rodape__in { flex-direction: column; text-align: center; }
  .trilha { gap: 6px; }
  .trilha li { flex-direction: column; justify-content: flex-start; text-align: center; gap: 6px; padding: 10px 6px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
