/* ==========================================================================
   FANCY BOTTONS · cardápio (mobile first)
   Branco e vermelho como base, rosa nos detalhes. Títulos na OBO (o "ANCY"
   da logo), todo o resto na Poppins. Layout centralizado e com respiro.
   ========================================================================== */
@font-face { font-family: "OBO Fancy"; src: url("../fonts/obo-fancy.woff") format("woff"); font-display: swap; }

:root {
  --red: #A50B1D;
  --red-2: #870818;
  --pink: #FFE3E8;
  --pink-2: #FFC9D3;
  --blush: #FFF6F7;
  --white: #FFFFFF;
  --ink: #2B0C12;
  --bf: #160A0D;
  --ink-2: #765A60;
  --line: #F2E4E7;
  --ok: #1F7A4D;
  --wa: #1FA855;

  --f-display: "OBO Fancy", "Arial Black", Arial, sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow-sm: 0 1px 2px rgb(90 10 25 / .05), 0 4px 14px -6px rgb(90 10 25 / .10);
  --shadow: 0 2px 4px rgb(90 10 25 / .04), 0 18px 40px -18px rgb(90 10 25 / .22);
  --shadow-lg: 0 4px 10px rgb(90 10 25 / .05), 0 30px 70px -30px rgb(90 10 25 / .35);

  --g: 16px;
  --hdr: 64px;
  --nav: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --g: 32px; --hdr: 72px; } }

/* Base ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 .97rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 61; height: env(safe-area-inset-top, 0px); background: var(--white); }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1040px; margin-inline: auto; padding-left: max(var(--g), env(safe-area-inset-left, 0px)); padding-right: max(var(--g), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }

/* Tipografia -------------------------------------------------------------- */
.t1 { max-width: 100%; overflow-wrap: break-word; font: 400 min(4.2rem, calc((100vw - 2 * var(--g)) / 11.6))/1.04 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; color: var(--red); text-wrap: balance; }
.t2 { max-width: 100%; overflow-wrap: break-word; font: 400 min(2.4rem, calc((100vw - 2 * var(--g)) / 14.6))/1.08 var(--f-display); text-transform: uppercase; color: var(--red); text-wrap: balance; }
.kicker { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.lead { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }

/* Botões ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .5rem 1.5rem; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  font-size: .94rem; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease), opacity .2s;
}
.btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178C46; }
.btn--wa svg { fill: currentColor; stroke: none; width: 21px; height: 21px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.icon { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--ink); transition: background-color .2s; }
.icon:hover { background: var(--blush); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; padding: .35rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: .88rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--pink-2); }
.chip[aria-pressed="true"], .chip.is-on { border-color: var(--red); background: var(--red); color: var(--white); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 .6rem; border-radius: 999px; font-size: .66rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; background: var(--pink); color: var(--red); }
.badge--red { background: var(--red); color: var(--white); }
.badge--ink { background: var(--ink); color: var(--white); }

/* Foto com placeholder ------------------------------------------------------ */
.ph {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A50B1D' stroke-opacity='.45' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h2l1.5-2h6l1.5 2h2A1.5 1.5 0 0 1 20 8.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 17.5Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3C/svg%3E") center calc(50% - 10px) / 24px no-repeat,
    linear-gradient(150deg, #FFF1F4 0%, var(--pink) 100%);
}
.ph::after { content: attr(data-ph); position: absolute; left: 8px; right: 8px; top: calc(50% + 8px); font-size: .58rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; text-align: center; color: rgb(165 11 29 / .6); }
.ph img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.ph--wide { aspect-ratio: 16 / 10; border-radius: var(--r); }
.ph--wide::after { font-size: .66rem; }
.ph--sq { border-radius: var(--r); }
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: 100%; max-width: 380px; margin-inline: auto; }
.vcard { display: grid; gap: .35rem; padding: .35rem .35rem .55rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; text-align: center; font: inherit; color: inherit; transition: border-color .2s, background-color .2s, color .2s; }
.vcard:hover { border-color: var(--pink-2); }
.vgrid > .vcard:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .3rem); }
.vcard__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: calc(var(--r) - 4px); background: var(--pink); }
.vcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard__n { font-size: .84rem; font-weight: 600; }
.vcard[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: var(--white); }
.pane__intro .ph--sq { width: 100%; max-width: 340px; }

/* Aviso e cabeçalho --------------------------------------------------------- */
.annc { background: var(--red); color: var(--white); height: 34px; overflow: hidden; }
.annc__track { position: relative; height: 100%; }
.annc__msg { position: absolute; inset: 0; display: block; margin: 0; line-height: 34px; text-align: center; overflow: hidden; text-overflow: ellipsis; padding-inline: var(--g); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .6s; }
.annc__msg.is-on { opacity: 1; }
@media (min-width: 900px) {
  .annc__track { display: flex; justify-content: center; align-items: center; gap: 2.5rem; }
  .annc__msg { position: static; display: block; opacity: 1; padding: 0; }
  .annc__msg + .annc__msg::before { content: "·"; margin-right: 2.5rem; opacity: .6; }
  /* na Black Friday são 5 avisos: não cabem lado a lado, então continuam trocando */
  .annc--bf .annc__track { display: block; }
  .annc--bf .annc__msg { position: absolute; opacity: 0; padding-inline: var(--g); }
  .annc--bf .annc__msg.is-on { opacity: 1; }
  .annc--bf .annc__msg + .annc__msg::before { content: none; }
}
/* Black Friday -------------------------------------------------------------- */
.annc--bf { background: var(--bf); }
.annc__msg b { font-weight: 700; color: var(--pink-2); }
.bf-tag { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .15rem .6rem; padding: .4rem 1rem .4rem .45rem; border-radius: 999px; background: var(--bf); color: var(--white); font-size: .78rem; font-weight: 500; line-height: 1.3; }
.bf-tag[hidden] { display: none; }
.bf-tag b { padding: .2rem .65rem; border-radius: 999px; background: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.msec__meta .msec__bf { background: var(--bf); color: var(--white); font-weight: 600; letter-spacing: .02em; }
.mitem__price s { font-size: .78rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mitem__off { position: absolute; z-index: 2; top: -8px; left: -8px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; background: var(--bf); color: var(--white); font-size: .74rem; font-weight: 700; letter-spacing: -.02em; transform: rotate(-12deg); box-shadow: 0 0 0 3px var(--white); }
.is-bf .sum__save { color: var(--red); font-weight: 600; }
@media (max-width: 359px) { .mitem__off { width: 36px; height: 36px; font-size: .66rem; } }

.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hdr); }
.hdr__info { margin-left: -10px; }
.hdr__cart { justify-self: end; margin-right: -10px; }
.hdr__logo img { height: 34px; width: auto; }
@media (min-width: 720px) { .hdr__logo img { height: 40px; } }
.hdr__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: var(--white); font-size: .66rem; font-weight: 600; border: 2px solid var(--white); box-sizing: content-box; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

/* Abertura ------------------------------------------------------------------ */
.intro { padding-block: 3rem 2.75rem; text-align: center; }
.intro__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1rem; }
.intro .t1 { font-size: min(3.1rem, calc((100vw - 2 * var(--g)) / 9.6)); line-height: 1.02; max-width: 15em; }
.intro .lead { font-size: clamp(1rem, .96rem + .2vw, 1.08rem); line-height: 1.6; max-width: 50ch; color: var(--ink); opacity: .78; }
.intro__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem 1.5rem; margin-top: .5rem; }
.intro__cta .btn { min-height: 48px; font-size: .9rem; padding-inline: 1.6rem; }
.intro__link { font-size: .94rem; font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
#cardapio { scroll-margin-top: calc(var(--hdr) + var(--nav)); }
.intro__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .5rem; }
.intro__pills li { padding: .35rem .9rem; border-radius: 999px; background: var(--blush); color: var(--red); font-size: .8rem; font-weight: 500; }
@media (min-width: 720px) { .intro { padding-block: 4.5rem 3.5rem; } .intro__in { gap: 1.25rem; } }

/* Menu de seções (fixo) ----------------------------------------------------- */
.mnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 55; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mnav__track { display: flex; justify-content: safe center; gap: .4rem; overflow-x: auto; padding: .55rem var(--g) .65rem; scrollbar-width: none; max-width: 1040px; margin-inline: auto; }
.mnav__track::-webkit-scrollbar { display: none; }
.mnav .chip { min-height: 38px; font-size: .84rem; padding: .3rem 1rem; }

/* Cardápio ------------------------------------------------------------------- */
.menu { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; padding-block: 2.5rem 4rem; }
.msec { scroll-margin-top: calc(var(--hdr) + var(--nav) + 12px); }
.msec__head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .6rem; text-align: center; margin-bottom: 1.5rem; }
.msec__head p { color: var(--ink-2); max-width: 48ch; font-size: .92rem; }
.msec__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .2rem; }
.msec__meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px; background: var(--blush); font-size: .76rem; font-weight: 500; color: var(--ink-2); }
.msec__meta svg { width: 15px; height: 15px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.mlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 760px) { .mlist { grid-template-columns: 1fr 1fr; gap: 1rem; } .mlist > :only-child, .mlist > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - .5rem); width: 100%; justify-self: center; } }

.mitem {
  display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 1rem; align-items: center; width: 100%; padding: .9rem; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer;
  transition: border-color .2s, box-shadow .25s, transform .2s var(--ease);
}
.mitem:hover { border-color: var(--pink-2); box-shadow: var(--shadow-sm); }
.mitem:active { transform: scale(.99); }
.mitem__txt { display: grid; gap: .3rem; min-width: 0; padding-left: .25rem; }
.mitem__name { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.mitem__desc { font-size: .84rem; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mitem__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin-top: .1rem; }
.mitem__price b { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.mitem__price span { font-size: .74rem; color: var(--ink-2); }
.mitem__badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.mitem__img { position: relative; }
.mitem__plus { position: absolute; z-index: 2; right: -6px; bottom: -6px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: var(--white); box-shadow: 0 0 0 3px var(--white); }
.mitem__plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 359px) { .mitem { grid-template-columns: minmax(0, 1fr) 80px; gap: .75rem; padding: .75rem; } .mitem__plus { width: 30px; height: 30px; } }
.mitem.is-out { opacity: .55; pointer-events: none; }

/* Informações ----------------------------------------------------------------- */
.info { padding-block: 4rem; background: var(--blush); scroll-margin-top: var(--hdr); }
.info__in { display: grid; gap: 2.5rem; }
.info__head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .6rem; text-align: center; }
.howto { display: grid; gap: .75rem; }
.howto li { display: grid; justify-items: center; gap: .4rem; padding: 1.5rem 1.25rem; border-radius: var(--r); background: var(--white); text-align: center; box-shadow: var(--shadow-sm); }
.howto span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--pink); color: var(--red); font-weight: 600; }
.howto h3 { font-size: 1rem; font-weight: 600; }
.howto p { font-size: .88rem; color: var(--ink-2); max-width: 32ch; }
@media (min-width: 760px) { .howto { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.info__cols { display: grid; gap: 1rem; }
@media (min-width: 860px) { .info__cols { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.info__box { padding: 1.5rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm); min-width: 0; }
.info__t { font-size: 1.05rem; font-weight: 600; text-align: center; margin-bottom: 1rem; }
.info__note { font-size: .78rem; text-align: center; margin-top: 1rem; }
.prazos { display: grid; }
.prazos li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.prazos li:last-child { border-bottom: 0; }
.prazos b { font-weight: 500; }
.prazos span { color: var(--ink-2); text-align: right; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 0; }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border: 0; background: none; cursor: pointer; text-align: left; font-weight: 500; font-size: .92rem; }
.acc__q::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A50B1D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.acc__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.acc__a { padding: 0 0 1rem; color: var(--ink-2); font-size: .88rem; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.contact__mail { width: 100%; text-align: center; font-size: .84rem; margin-top: .25rem; }

/* Rodapé ------------------------------------------------------------------- */
.ftr { background: var(--red); color: var(--white); text-align: center; padding-block: 3rem calc(6.5rem + env(safe-area-inset-bottom, 0px)); }
.ftr__in { display: grid; justify-items: center; gap: .75rem; }
.ftr img { width: 150px; height: auto; }
.ftr p { opacity: .85; font-size: .9rem; }
.ftr__base { font-size: .78rem; opacity: .7; margin-top: .5rem; }

/* Barra do carrinho ------------------------------------------------------- */
.cartbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: .75rem max(var(--g), env(safe-area-inset-left, 0px)) calc(.75rem + env(safe-area-inset-bottom, 0px)); pointer-events: none; animation: up .35s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
.cartbar__btn { pointer-events: auto; display: flex; align-items: center; gap: .8rem; width: 100%; max-width: 520px; margin-inline: auto; min-height: 58px; padding: .5rem 1.25rem .5rem .6rem; border: 0; border-radius: 999px; background: var(--red); color: var(--white); cursor: pointer; box-shadow: 0 16px 34px -14px rgb(165 11 29 / .8); font-weight: 600; font-size: .95rem; }
.cartbar__btn:hover { background: var(--red-2); }
.cartbar__n { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .5rem; border-radius: 999px; background: rgb(255 255 255 / .18); font-variant-numeric: tabular-nums; }
.cartbar__btn b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Janela (personalização e carrinho) --------------------------------------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: grid; align-items: end; justify-items: center; }
.sheet__scrim { position: absolute; inset: 0; background: rgb(43 12 18 / .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.sheet__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100% - 24px - env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg); animation: up .35s var(--ease); overflow: hidden; }
@media (min-width: 720px) { .sheet { align-items: center; padding: 24px; } .sheet__box { border-radius: var(--r-lg); max-height: min(860px, calc(100vh - 48px)); animation: pop .3s var(--ease); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.sheet__head { position: relative; display: grid; justify-items: center; gap: .7rem; padding: 1.1rem 3.5rem .9rem; border-bottom: 1px solid var(--line); text-align: center; }
.sheet__titles { display: grid; gap: .15rem; }
.sheet__step { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.sheet__t { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.sheet__close { position: absolute; top: .65rem; right: .6rem; }
.sheet__dots { display: flex; gap: 6px; }
.sheet__dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s, width .3s var(--ease); }
.sheet__dots i.is-done { background: var(--pink-2); }
.sheet__dots i.is-on { background: var(--red); width: 34px; }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 1.25rem; }
.sheet__foot { display: grid; gap: .75rem; padding: .9rem 1.25rem calc(.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--white); }
.sheet__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .84rem; color: var(--ink-2); }
.sheet__total b { font-size: 1.2rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet__btns { display: flex; gap: .6rem; }
.sheet__btns .btn { flex: 1; min-width: 0; }
.sheet__btns .btn--ghost { flex: 0 0 auto; padding-inline: 1.2rem; }
.sheet__btns .btn:only-child { flex: 1; }
.step-in { animation: stepin .3s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.step-back { animation: stepback .3s var(--ease); }
@keyframes stepback { from { opacity: 0; transform: translateX(-14px); } }

/* Conteúdo dos passos */
@media (max-width: 359px) {
  .sheet__body { padding: 1.25rem 1rem; }
  .sheet__foot { padding-inline: 1rem; }
  .sheet__head { padding-inline: 3rem; }
  .sheet__btns { gap: .45rem; flex-wrap: wrap; }
  .sheet__btns .btn { flex: 1 1 auto; }
  .sheet__btns .btn { padding-inline: 1rem; gap: .4rem; font-size: .88rem; }
  .sheet__btns .btn--ghost { padding-inline: .9rem; flex-shrink: 1; min-width: 0; }
  .line { grid-template-columns: 48px minmax(0, 1fr); gap: .7rem; }
  .line .ph, .line__thumb { width: 48px; height: 48px; }
  .sheet__total b { font-size: 1.1rem; }
  .cartbar__btn { gap: .6rem; padding-right: 1rem; font-size: .9rem; }
  .cartbar__btn > span:not(.cartbar__n) { min-width: 0; font-size: .86rem; line-height: 1.2; text-align: left; overflow-wrap: anywhere; }
  .cartbar__btn b { flex: none; }
  .sheet__step { letter-spacing: .08em; }
  .cartbar__n { min-width: 34px; height: 34px; }
  .mitem .ph::after { content: none; }
}
.pane { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.pane__intro { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.pane__intro .ph { width: 100%; }
.pane__intro p { color: var(--ink-2); font-size: .9rem; max-width: 40ch; }
.pane__q { display: grid; gap: .3rem; text-align: center; }
.pane__q h3 { font-size: 1.15rem; font-weight: 600; }
.pane__q p { font-size: .86rem; color: var(--ink-2); }
.group { display: grid; gap: .7rem; justify-items: center; }
.group__t { font-size: .82rem; font-weight: 600; text-align: center; }
.group__t small { display: block; font-weight: 400; color: var(--ink-2); font-size: .76rem; }
.group__opts { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.opt-price { font-size: .76rem; opacity: .75; font-weight: 400; }
.contents { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; width: 100%; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--blush); font-size: .88rem; text-align: center; }
.contents span { font-size: .84rem; line-height: 1.35; }
.contents b { grid-column: 1 / -1; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.facts span { padding: .3rem .8rem; border-radius: 999px; background: var(--blush); font-size: .78rem; color: var(--ink-2); }

.choices { display: grid; gap: .6rem; }
.choice { display: grid; grid-template-columns: 22px 1fr; gap: .85rem; align-items: start; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--pink-2); }
.choice input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--pink-2); border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.choice input::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--red); transform: scale(0); transition: transform .2s var(--ease); }
.choice input:checked { border-color: var(--red); }
.choice input:checked::after { transform: scale(1); }
.choice.is-on { border-color: var(--red); background: var(--blush); }
.choice b { display: block; font-weight: 600; font-size: .94rem; }
.choice span { font-size: .82rem; color: var(--ink-2); }

.field { display: grid; gap: .4rem; }
.field label, .field .lbl { font-size: .84rem; font-weight: 600; }
.field label small, .field .lbl small { font-weight: 400; color: var(--ink-2); }
.field .hint { font-size: .76rem; color: var(--ink-2); }
.input, .textarea { width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-size: 1rem; outline: 0; transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgb(165 11 29 / .08); }
.textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.err { font-size: .82rem; color: var(--red); text-align: center; }
.err:empty { display: none; }

.upload { display: grid; justify-items: center; gap: .4rem; padding: 1.4rem 1rem; border: 2px dashed var(--pink-2); border-radius: var(--r-sm); background: var(--blush); text-align: center; cursor: pointer; transition: border-color .2s; }
.upload:hover { border-color: var(--red); }
.upload svg { width: 30px; height: 30px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.upload b { font-weight: 600; font-size: .92rem; }
.upload small { font-size: .76rem; color: var(--ink-2); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .55rem; border-radius: var(--r-sm); background: var(--blush); }
.file img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--white); }
.file > div { min-width: 0; }
.file b { display: block; font-size: .86rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file small { font-size: .74rem; color: var(--ink-2); }

.qtybox { display: grid; justify-items: center; gap: .9rem; }
.qty { display: inline-flex; align-items: center; height: 56px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 52px; height: 100%; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.qty button:hover { color: var(--red); }
.qty button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.qty input { width: 56px; height: 100%; border: 0; background: none; text-align: center; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 34px; font-size: .9rem; }
.tiers { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.tiers button { display: grid; gap: .1rem; padding: .65rem .3rem; border: 0; border-left: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: center; transition: background-color .25s, color .25s; }
.tiers button:first-child { border-left: 0; }
.tiers small { font-size: .68rem; color: var(--ink-2); line-height: 1.2; }
.tiers b { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tiers .is-on { background: var(--red); color: var(--white); }
.tiers .is-on small { color: rgb(255 255 255 / .8); }
/* Pagamento (Pix) */
.paybox { display: grid; gap: .9rem; justify-items: center; text-align: center; }
.paybox__t { font-size: .95rem; }
.paybox__t b { color: var(--red); font-size: 1.1rem; }
.paybox__qr { width: min(240px, 70vw); aspect-ratio: 1; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; padding: 8px; image-rendering: pixelated; }
.paybox .field { width: 100%; text-align: left; }
.paybox__rec { font-size: .9rem; color: var(--ink-2); }
.paybox__rec b { color: var(--ink, inherit); font-weight: 600; }
.paybox__code { min-height: 84px; font: 500 .74rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.paybox__wait { display: flex; align-items: center; justify-content: center; gap: .6rem; text-align: left; font-size: .84rem; color: var(--ink-2); }
.paybox__wait i { flex: none; width: 16px; height: 16px; border-radius: 999px; border: 2.5px solid var(--pink-2); border-top-color: var(--red); animation: gira .9s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
/* Pacotes de preço */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: .45rem; width: 100%; }
.pack { display: grid; gap: .05rem; justify-items: center; padding: .6rem .3rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; text-align: center; transition: border-color .2s, background-color .2s; }
.pack:hover { border-color: var(--pink-2); }
.pack small { font-size: .7rem; color: var(--ink-2); line-height: 1.25; }
.pack b { font-size: .92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pack.is-on { border-color: var(--red); background: var(--blush); }
.pack[disabled] { opacity: .5; cursor: default; }
.combo { font-size: .86rem; color: var(--ink-2); text-align: center; margin-top: .4rem; }
.combo b { color: var(--red); font-size: 1rem; }
/* Lista de imagens para mandar no WhatsApp */
.sendlist { display: grid; gap: .45rem; }
.sendlist li { display: grid; grid-template-columns: 48px 1fr; gap: .75rem; align-items: center; padding: .5rem; border-radius: var(--r-sm); background: var(--blush); }
.sendlist img, .sendlist .slot__ok { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--white); display: grid; place-items: center; }
.sendlist b { display: block; font-size: .84rem; font-weight: 600; overflow-wrap: anywhere; }
.sendlist small { font-size: .76rem; color: var(--ink-2); }
.hint-red { font-size: .84rem; color: var(--red); font-weight: 500; text-align: center; }
.save { font-size: .84rem; color: var(--ok); font-weight: 500; text-align: center; }
.save:empty, .hint-red:empty { display: none; }

.review { display: grid; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 0; }
.review > div { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: baseline; padding: .8rem 1rem; border-top: 1px solid var(--line); font-size: .88rem; }
.review > div:first-child { border-top: 0; }
.review dt { color: var(--ink-2); }
.review dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.review button { border: 0; background: none; color: var(--red); font-size: .78rem; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.note { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--blush); font-size: .82rem; color: var(--ink-2); }
.note svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; margin-top: 1px; }
.note b { color: var(--ink); font-weight: 600; }

/* Carrinho */
.lines { display: grid; grid-template-columns: minmax(0, 1fr); }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .9rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line .ph, .line__thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.line .ph::after { content: none; }
.line__top { display: flex; justify-content: space-between; gap: .5rem; }
.line__name { font-weight: 600; font-size: .94rem; line-height: 1.3; }
.line__meta { font-size: .78rem; color: var(--ink-2); display: grid; margin-top: .15rem; }
.line__meta span { overflow-wrap: anywhere; }
.line__acts { display: flex; gap: .9rem; margin-top: .35rem; }
.line__acts button { border: 0; background: none; padding: 0; cursor: pointer; font-size: .78rem; font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.line__acts button + button { color: var(--ink-2); }
.line__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .6rem; }
.line__price { text-align: right; line-height: 1.25; }
.line__price b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.line__price small { font-size: .72rem; color: var(--ink-2); }
.tips { display: grid; gap: .5rem; margin-bottom: 1rem; }
.tip { padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--pink); color: var(--red); font-size: .84rem; font-weight: 500; text-align: center; }
.sum { display: grid; gap: .35rem; margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--blush); }
.sum__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.sum__row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sum__save { color: var(--ok); }
.meter-t { font-size: .8rem; color: var(--ink-2); margin: 1rem 0 .4rem; text-align: center; }
.meter-t b { color: var(--ink); }
.meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--red); transition: width .4s var(--ease); }
.empty { display: grid; justify-items: center; gap: .75rem; padding: 2rem 1rem; text-align: center; }
.empty b { font-size: 1.05rem; font-weight: 600; }
.done-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: var(--white); }
.done-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.empty p { color: var(--ink-2); font-size: .9rem; }

/* Toast ------------------------------------------------------------------- */
.toast { position: fixed; z-index: 120; left: 50%; top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + 12px); display: flex; align-items: center; gap: .6rem; width: max-content; max-width: calc(100vw - 32px); padding: .65rem 1.1rem .65rem .7rem; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .88rem; box-shadow: var(--shadow-lg); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--red); }
.toast svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Imagens do pedido (várias por item) ----------------------------------- */
.center-txt { text-align: center; font-size: .84rem; }
.upload--sm { padding: 1rem; }
.switch-row { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.switch-row input { appearance: none; -webkit-appearance: none; width: 42px; height: 26px; margin: 0; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background-color .2s; }
.switch-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform .2s var(--ease); }
.switch-row input:checked { background: var(--red); }
.switch-row input:checked::after { transform: translateX(16px); }
.switch-row b { display: block; font-size: .9rem; font-weight: 600; }
.switch-row small { font-size: .78rem; color: var(--ink-2); }
.slotrow { display: flex; justify-content: center; }
.arts { display: grid; gap: .6rem; }
.art { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; padding: .7rem 2.6rem .7rem .7rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
.art__slots { display: flex; gap: .4rem; }
.slot { position: relative; width: 64px; height: 64px; display: grid; place-items: center; align-content: center; gap: 2px; border: 1.5px dashed var(--pink-2); border-radius: 12px; background: var(--blush); color: var(--red); cursor: pointer; overflow: hidden; text-align: center; }
.slot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.slot small { font-size: .6rem; font-weight: 600; line-height: 1.1; color: var(--ink-2); }
.slot input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.slot.is-full { border: 0; background: var(--line); cursor: default; }
.slot.is-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot.is-full small { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 2px; background: rgb(43 12 18 / .6); color: #fff; }
.slot__ok { color: var(--ok); }
.slot__x { position: absolute; z-index: 2; top: 2px; right: 2px; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--red); cursor: pointer; }
.slot__x svg { width: 13px; height: 13px; stroke-width: 2; }
.art__info { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; min-width: 0; }
.art__n { width: 100%; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.art__un { font-size: .8rem; color: var(--ink-2); }
.art__nota { width: 100%; min-height: 38px; padding: .4rem .75rem; font-size: .84rem; }
.art__rm { position: absolute; top: .3rem; right: .3rem; width: 36px; height: 36px; }
.art__rm svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .art { grid-template-columns: 1fr; } .art__slots { justify-content: flex-start; } }
.tally { padding: .7rem 1rem; border-radius: var(--r-sm); text-align: center; font-size: .9rem; }
.tally b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.tally.is-ok { background: #E4F4EA; color: var(--ok); }
.tally.is-warn { background: #FFF1D6; color: #8A5300; }
.warn { display: flex; gap: .6rem; align-items: flex-start; text-align: left; padding: .8rem 1rem; border-radius: var(--r-sm); background: #FFF8E8; color: #6B4A12; font-size: .82rem; line-height: 1.45; }
.warn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #B07400; stroke-width: 1.8; stroke-linecap: round; margin-top: 1px; }
.warn b { color: var(--ink); }
.warn__acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.warn__acts button { min-height: 32px; padding: .2rem .8rem; border: 1.5px solid #E9C987; border-radius: 999px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 600; cursor: pointer; }
.warn__acts button:hover { border-color: var(--ink); }
.refs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.refs li { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--line); display: grid; place-items: center; }
.refs img { width: 100%; height: 100%; object-fit: cover; }
.refs .icon { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; background: rgb(255 255 255 / .92); color: var(--red); }
.refs .icon svg { width: 13px; height: 13px; }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .5rem; }
.grade li { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--line); display: grid; place-items: center; }
.grade img { width: 100%; height: 100%; object-fit: cover; }
.grade b { position: absolute; right: 4px; bottom: 4px; padding: 0 .4rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 600; }
.empty .warn { text-align: left; }

/* Endereço com mapa */
.addr { display: grid; gap: .9rem; text-align: left; }
.addr__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .7rem; }
.addr__map { width: 100%; height: 240px; border-radius: var(--r-sm); border: 1.5px solid var(--line); overflow: hidden; background: #f3eded; position: relative; z-index: 0; }
.addr__wait { padding: 5rem 1rem 0; }
.addr .hint.is-bad { color: var(--red); }
.addr__btns { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.addr__btns .btn { min-height: 44px; padding: .5rem 1rem; font-size: .85rem; }
.addr__gm { font-size: .84rem; font-weight: 600; color: var(--red); text-decoration: underline; }
@media (max-width: 359px) { .addr__row { grid-template-columns: 1fr; } .addr__map { height: 210px; } }

/* Cancelar / trocar pagamento */
.payopts { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; padding-bottom: .7rem; }
.linkbtn { background: none; border: 0; padding: .5rem .2rem; min-height: 44px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.linkbtn--bad { color: var(--red); }
.linkbtn:disabled { opacity: .5; }
.btn--danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.ask { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgb(20 10 12 / .55); }
.ask__box { width: min(100%, 380px); padding: 1.4rem 1.2rem 1.1rem; border-radius: 20px; background: var(--white); text-align: center; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease); }
.ask__t { display: block; font-size: 1.05rem; margin-bottom: .5rem; }
.ask__box p { margin: 0 0 1.1rem; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
.ask__btns { display: grid; gap: .6rem; }

/* Alterar um pedido já feito */
.line.is-off .line__name { text-decoration: line-through; color: var(--ink-2); }
.line.is-off .ph, .line.is-off .line__meta { opacity: .5; }
.line__acts .muted { font-size: .78rem; }
.line .warn { margin-top: .45rem; padding: .55rem .75rem; font-size: .76rem; }
.ed-novos { margin: 1.2rem 0 .3rem; text-align: left; }
.ed-mais { margin-top: 1rem; }
.ed-acao { margin-top: .45rem; padding-top: .55rem; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
.peditens { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .2rem 1rem; font-size: .86rem; }
.peditens summary { cursor: pointer; padding: .6rem 0; font-weight: 600; }
.peditens ul { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .35rem; }
.peditens li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.peditens li b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
#payBox + .note, #payBox ~ .note, #payBox ~ .warn { margin-top: 1rem; }

/* Imagens de um item do pedido, na alteração */
.edimg { display: grid; gap: .7rem; margin-top: .8rem; padding: .8rem; border-radius: var(--r-sm); background: var(--blush); }
.edimg .art { padding-right: .7rem; }
.edimg .art:has(.art__rm) { padding-right: 2.6rem; }
.edimg__g.is-off .art__n { text-decoration: line-through; color: var(--ink-2); }
.edimg__t { display: grid; justify-items: center; gap: 3px; width: 76px; }
.edimg__img, .edimg__t .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--line); }
.edimg__t .ph::after { font-size: .5rem; }
.edimg__t small { font-size: .62rem; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.15; max-width: 76px; overflow-wrap: anywhere; }
.edimg__t.is-off .edimg__img, .edimg__t.is-off .ph { opacity: .35; filter: grayscale(1); }
.edimg__t.is-new .edimg__img { outline: 2.5px solid var(--ok); outline-offset: 1px; }
.edimg__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; }
.edimg__acts button, .edimg__acts label { position: relative; border: 0; background: none; padding: 2px 0; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 600; color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.edimg__acts button[data-tirart] { color: var(--ink-2); }
.edimg__acts input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.edimg__h { font-size: .8rem; font-weight: 600; }
.edimg .tally { margin: 0; }
