/* Pede Com Nóis — hub responsivo (mobile → desktop) */
/* Cores: public/assets/css/pcn-tokens.css */
:root {
  --shell-max: 100%;
  --pad: 16px;
  --bottom: 72px;
  --content-max: 1100px;
  --safe-top: var(--sat, env(safe-area-inset-top, 0px));
  --safe-bottom: var(--sab, env(safe-area-inset-bottom, 0px));
}

/* App nativo: safe-area = inset REAL do MainActivity (--sat/--sab), sem piso artificial. */
html.is-native,
body.hub-app.is-native {
  background: #eef2f7;
}
html.is-native {
  --safe-top: var(--sat, env(safe-area-inset-top, 0px));
  --safe-bottom: var(--sab, env(safe-area-inset-bottom, 0px));
}

/* App nativo: sem scroll horizontal / scrollbar de browser */
html.is-native,
html.is-native body.hub-app {
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100%;
  width: 100%;
}
html.is-native {
  scrollbar-width: none;
}
html.is-native::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* App Capacitor: sempre layout mobile (não “site desktop” no telefone) */
html.is-android-cap {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}
html.is-android-cap body.hub-app {
  font-size: 16px;
}
html.is-android-cap .hub-stores {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html.is-native body.hub-app {
  background: #eef2f7 !important;
}
html.is-native .hub-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-bottom: calc(var(--bottom) + var(--safe-bottom) + 12px) !important;
}
html.is-native .hub-home-page .hub-cats--pills {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}
html.is-native .hub-bottom,
html.is-android-cap .hub-bottom {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  border-radius: 0 !important;
  height: calc(72px + var(--safe-bottom, var(--sab, 0px))) !important;
  padding-bottom: var(--safe-bottom, var(--sab, 0px)) !important;
  grid-template-rows: 72px !important;
  z-index: 99999 !important;
  background: #fff !important;
  box-shadow: 0 -6px 20px rgba(7, 25, 42, 0.08);
  color: #334155 !important;
  display: grid !important;
  visibility: visible !important;
}
html[data-pcn-inset="parent"] .hub-bottom {
  height: 72px !important;
  padding-bottom: 0 !important;
}
html.is-native .hub-bottom a {
  color: #475569 !important;
}
html.is-native .hub-bottom a.is-active {
  color: var(--orange, #f97316) !important;
}
@media (min-width: 640px) {
  html.is-native .hub-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 900px) {
  html.is-native .hub-shell,
  html.is-native .hub-home-page .hub-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  html.is-native .hub-bottom,
  html.is-native .hub-home-page .hub-bottom {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
  }
  html.is-native body.hub-app,
  html.is-native body.hub-home-page.hub-app {
    background: #eef2f7 !important;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.hub-app {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: #e8eef4;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
img { max-width: 100%; display: block; }

.hub-shell {
  width: min(100%, var(--content-max));
  max-width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
  background: #fff;
  padding-bottom: calc(var(--bottom) + var(--safe-bottom) + 12px);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  /* clip não cria containing block p/ position:fixed (hidden quebrava a tab bar no Android) */
  overflow-x: clip;
}

.hub-wrap {
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hub-loc:disabled { opacity: .55; cursor: default; }

/* —— Sheet escolha de cidade —— */
body.cidade-sheet-open { overflow: hidden; }
.cidade-sheet {
  position: fixed; inset: 0; z-index: 80;
}
.cidade-sheet[hidden] { display: none !important; }
.cidade-sheet__backdrop {
  position: absolute; inset: 0; z-index: 0;
  background: rgba(7, 11, 18, .55);
  border: 0; padding: 0; cursor: pointer;
}
.cidade-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  max-height: min(78dvh, 560px);
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 8px var(--pad) calc(18px + var(--safe-bottom));
  box-shadow: 0 -12px 40px rgba(7, 25, 42, .18);
  animation: sheetUp .32s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 8px;
}
.cidade-sheet__grab {
  width: 40px; height: 4px; border-radius: 999px;
  background: #d5dee8; margin: 4px auto 6px;
}
.cidade-sheet__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.cidade-sheet__kicker {
  margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.cidade-sheet__head h2 {
  margin: 2px 0 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy);
}
.cidade-sheet__x {
  width: 40px; height: 40px; border-radius: 12px; border: 0;
  background: #eef3f8; color: var(--navy); display: grid; place-items: center;
}
.cidade-sheet__list {
  list-style: none; margin: 4px 0 0; padding: 0;
  overflow: auto; display: grid; gap: 8px;
}
.cidade-sheet__opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 14px; text-align: left;
  border: 1px solid var(--line); background: #fff;
  font: inherit; color: inherit; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.cidade-sheet__opt:active { transform: scale(.99); }
.cidade-sheet__opt.is-on {
  border-color: rgba(255, 121, 0, .45);
  background: #fff7ef;
}
.cidade-sheet__ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: #eef3f8; color: var(--orange);
  display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0;
}
.cidade-sheet__opt.is-on .cidade-sheet__ico {
  background: rgba(255, 121, 0, .14);
}
.cidade-sheet__txt { flex: 1; min-width: 0; }
.cidade-sheet__txt strong {
  display: block; font-size: .98rem; font-weight: 800; color: var(--navy);
}
.cidade-sheet__txt small {
  display: block; margin-top: 2px; font-size: .8rem; color: var(--muted);
}
.cidade-sheet__check {
  color: var(--orange); font-size: 1.2rem; flex-shrink: 0;
}

/* —— Top (PWA: respeita notch / status bar) —— */
.hub-top {
  background: linear-gradient(180deg, #05080e 0%, #0a1018 70%, #0e1620 100%);
  color: #fff;
  padding: calc(12px + var(--safe-top)) var(--pad) 26px;
  border-radius: 0 0 22px 22px;
}

.hub-top__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.hub-top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hub-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0;
  max-width: 70%;
}
.hub-loc i:first-child { color: var(--orange); }
.hub-loc .bi-chevron-down { color: rgba(255,255,255,.55); font-size: 11px; }
.hub-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hub-top__actions { display: flex; gap: 8px; flex-shrink: 0; }

.hub-icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff; display: grid; place-items: center;
  position: relative; font-size: 17px;
}
.hub-icon-btn__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--navy);
}
.hub-icon-btn__badge[hidden] { display: none !important; }

.hub-top__hello {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.hub-top__hello h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hub-top__hello p { margin: 6px 0 0; font-size: 14px; color: #c8d7e5; }

/* —— Topo interno (busca, cupons, perfil, login…) —— */
.loja-top {
  background: linear-gradient(180deg, #05080e 0%, #0a1018 70%, #0e1620 100%);
  color: #fff;
  padding: calc(12px + var(--safe-top)) var(--pad) 26px;
  border-radius: 0 0 22px 22px;
}
.loja-top__bar {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.loja-top__bar a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.loja-top__bar a:active { background: rgba(255, 255, 255, .16); }
.loja-top h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.loja-top p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #c8d7e5;
}
.loja-top + .hub-search--page {
  margin: -16px var(--pad) 14px;
}

.hub-brand {
  flex-shrink: 0;
  text-align: right;
  line-height: 0;
}
.hub-brand__logo {
  display: block;
  width: clamp(128px, 30vw, 168px);
  height: auto;
  max-height: 102px;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}
/* Home: trava a logo da marca (não herda clamp/.hub-brand__logo nem img{max-width:100%}) */
body.hub-home-page .hub-stage__logo {
  width: 160px !important;
  height: 116px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
.hub-brand__pin {
  width: 28px; height: 28px; margin-left: auto;
  border-radius: 14px 14px 14px 5px;
  background: linear-gradient(145deg, var(--orange), var(--yellow));
  display: grid; place-items: center; font-size: 14px;
  box-shadow: 0 8px 18px rgba(255, 121, 0, 0.35);
}
.hub-brand__name { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; }
.hub-brand__name b { color: var(--orange2); }

.hub-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}
.hub-logo-bar img {
  width: clamp(140px, 42vw, 200px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

/* —— Search —— */
.hub-search {
  margin: -16px var(--pad) 14px;
  position: relative; z-index: 2;
  background: #fff; border-radius: 16px;
  padding: 6px 8px 6px 14px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 8px; align-items: center;
  box-shadow: var(--shadow);
  max-width: calc(var(--content-max) - 2 * var(--pad));
}
.hub-search--page { margin-top: 12px; }
.hub-search i { color: var(--muted); }
.hub-search input {
  border: 0; outline: 0; padding: 12px 4px; font-size: 16px;
  background: transparent; min-width: 0; width: 100%;
}
.hub-search__filter {
  width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: var(--light); color: var(--navy); display: grid; place-items: center;
}

/* —— Categories —— */
.hub-cats {
  display: flex; gap: 10px;
  padding: 4px var(--pad) 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hub-cats::-webkit-scrollbar { display: none; }

.hub-cat {
  flex: 0 0 auto; min-width: 72px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 16px; padding: 12px 8px 10px;
  text-align: center; color: var(--text); transition: .15s ease;
}
.hub-cat i,
.hub-cat .hub-cat__svg,
.hub-cat .hub-cat__paw,
.hub-cat .hub-cat__img {
  font-size: 20px;
  display: block;
  margin: 0 auto;
  width: 1.35em;
  height: 1.35em;
}
.hub-cat .hub-cat__img {
  object-fit: contain;
  width: 28px;
  height: 28px;
}
.hub-cat.is-active .hub-cat__img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.hub-cat .hub-cat__svg { fill: currentColor; }
.hub-cat .hub-cat__paw {
  background-color: currentColor;
  -webkit-mask-image: var(--paw-url);
  mask-image: var(--paw-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.hub-cat .hub-cat__pizza {
  width: 1.4em;
  height: 1.4em;
}
.hub-cat.is-active .hub-cat__pizza {
  /* no selecionado fica branco sólido limpo */
  filter: none;
}
.hub-cat span { display: block; margin-top: 6px; font-size: 10px; font-weight: 700; }
.hub-cat { position: relative; }
.hub-cat.is-active {
  background: var(--orange); border-color: var(--orange); color: #fff;
  box-shadow: 0 10px 22px rgba(255,121,0,.28);
}
.hub-cat--live {
  border-color: rgba(34, 169, 107, .45);
}
.hub-cat--live i { color: var(--green); }
.hub-cat--live.is-active {
  background: linear-gradient(135deg, #128a55, #22a96b);
  border-color: #22a96b;
  color: #fff;
  box-shadow: 0 10px 22px rgba(34,169,107,.28);
}
.hub-cat--live.is-active i { color: #fff; }
.hub-cat--live.is-active::after {
  content: "";
  position: absolute;
  top: 8px; right: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #b8ffd6;
  box-shadow: 0 0 0 0 rgba(184, 255, 214, .7);
  animation: livePulse 1.6s ease infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 255, 214, .7); }
  70% { box-shadow: 0 0 0 8px rgba(184, 255, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 255, 214, 0); }
}

/* —— Near —— */
.hub-near {
  margin: 14px var(--pad);
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff; border-radius: 18px; padding: 14px;
  display: flex; align-items: center; gap: 12px;
}
.hub-near__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,121,0,.18); color: var(--orange2);
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.hub-near__icon--mascot {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
  padding: 0;
}
.hub-near__icon--mascot img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: -4px 0 0 -4px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.hub-near__text { flex: 1; min-width: 0; }
.hub-near__text b { display: block; font-size: 14px; }
.hub-near__text small { display: block; margin-top: 3px; color: #c9d7e4; font-size: 12px; }
.hub-near button {
  border: 0; background: var(--orange); color: #fff;
  font-weight: 800; font-size: 12px; border-radius: 12px; padding: 10px 12px; white-space: nowrap;
}

/* —— Sections —— */
.hub-section { padding: 10px 0 4px; }
.hub-section__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad) 10px; gap: 8px;
}
.hub-section__head h2 {
  margin: 0; font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800; color: var(--navy);
}
.hub-section__head a { color: var(--orange); font-weight: 700; font-size: 12px; white-space: nowrap; }
.hub-section__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hub-section__count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.hub-view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  gap: 2px;
  box-shadow: 0 2px 8px rgba(7, 25, 42, 0.04);
}
.hub-view-toggle__btn {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hub-view-toggle__btn.is-active {
  background: var(--navy);
  color: #fff;
}
.hub-view-toggle__btn:active { opacity: 0.88; }
.hub-view-toggle__btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.hub-fav-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 0 var(--pad) 10px;
}

/* —— Stores —— */
.hub-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 var(--pad) 4px;
}

.hub-store {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: 0 8px 20px rgba(7,25,42,.05);
  display: flex; flex-direction: column; min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hub-store:active { transform: scale(.98); }
.hub-store[hidden] { display: none !important; }

.hub-store__media {
  position: relative; height: 124px;
  background: #0a1018 center/cover no-repeat;
}
.hub-store__media.has-logo {
  background-image: none !important;
  background-color: #fff;
}
.hub-store__logo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  box-sizing: border-box;
  object-fit: contain; object-position: center;
  padding: 8px; z-index: 1; background: #fff;
}
.hub-store__media--burger {
  background-image: linear-gradient(135deg, rgba(7,25,42,.2), transparent),
    url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?w=500&q=80");
}
.hub-store__media--pizza {
  background-image: linear-gradient(135deg, rgba(7,25,42,.2), transparent),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?w=500&q=80");
}
.hub-store__media--market {
  background-image: linear-gradient(135deg, rgba(7,25,42,.15), transparent),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?w=500&q=80");
}
.hub-store__media--pharma {
  background-image: linear-gradient(135deg, rgba(7,25,42,.15), transparent),
    url("https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?w=500&q=80");
}
.hub-store__media--pets {
  background-image: linear-gradient(135deg, rgba(7,25,42,.15), transparent),
    url("https://images.unsplash.com/photo-1587300003388-59208cc962f0?w=500&q=80");
}
.hub-store__media--loja {
  background-image: linear-gradient(135deg, rgba(7,25,42,.2), transparent),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=500&q=80");
}
.hub-store__media--jantinha {
  background-image: linear-gradient(135deg, rgba(7,25,42,.2), transparent),
    url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=500&q=80");
}
.hub-store__media--default {
  display: grid; place-items: center; color: #fff; font-size: 32px;
  background: linear-gradient(145deg, #0a1018, #151d28);
}

.hub-store__chips {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 8px;
}
.hub-badge {
  display: inline-flex; align-items: center;
  background: var(--green); color: #fff; font-size: 10px; font-weight: 800;
  padding: 4px 8px; border-radius: 999px; line-height: 1;
}
.hub-eta {
  display: inline-flex; align-items: center;
  background: #eef3f8; color: var(--navy);
  font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px;
  line-height: 1;
}
.hub-store__body { padding: 10px 11px 12px; }
.hub-store__body strong {
  display: block; font-size: 13px; font-weight: 800; line-height: 1.25;
  color: var(--navy);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hub-store__meta {
  margin-top: 4px; font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.hub-store__meta .star { color: var(--orange); font-weight: 800; }

/* Lojas — exibição em lista */
.hub-stores.hub-stores--list {
  grid-template-columns: 1fr !important;
  gap: 8px;
}
.hub-stores.hub-stores--list .hub-store {
  flex-direction: row;
  align-items: stretch;
  border-radius: 14px;
}
.hub-stores.hub-stores--list .hub-store__media {
  width: 92px;
  min-width: 92px;
  height: auto;
  min-height: 76px;
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 14px 0 0 14px;
}
.hub-stores.hub-stores--list .hub-store__logo {
  padding: 8px;
}
.hub-stores.hub-stores--list .hub-store__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px 10px 10px;
}
.hub-stores.hub-stores--list .hub-store__body strong {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hub-stores.hub-stores--list .hub-store__chips {
  margin-top: 6px;
}
.hub-stores.hub-stores--list .hub-badge,
.hub-stores.hub-stores--list .hub-eta {
  font-size: 9px;
  padding: 3px 6px;
}
.hub-stores.hub-stores--list .hub-store__fav {
  top: 4px;
  right: 4px;
  left: auto;
}
.hub-stores.hub-stores--list .fav-store {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.hub-stores.hub-stores--list .fav-store .hub-store {
  flex: 1;
  min-width: 0;
}
.hub-stores.hub-stores--list .fav-store__heart {
  position: static;
  align-self: center;
  flex-shrink: 0;
  margin-right: 4px;
}

.hub-empty {
  margin: 0 var(--pad); padding: 28px 18px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); font-size: 14px;
}
.hub-empty a { color: var(--orange); font-weight: 700; }
.hub-empty--launch {
  border-style: solid;
  border-color: #ffd4a8;
  background: linear-gradient(180deg, #fff8f0 0%, #fff 70%);
  padding: 26px 18px 22px;
}
.hub-empty--launch > i {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #fff4e8;
  color: var(--orange);
  font-size: 22px;
}
.hub-empty--launch p {
  margin: 0 auto;
  max-width: 28rem;
  line-height: 1.45;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.hub-empty--soft {
  margin-top: 12px; border-style: solid; background: var(--light);
}
.hub-empty--soft[hidden] { display: none !important; }

.hub-filter-empty {
  display: none; margin: 8px var(--pad); padding: 16px; text-align: center;
  color: var(--muted); font-size: 13px; border-radius: 12px; background: var(--light);
}
.hub-filter-empty.is-visible { display: block; }

/* —— Promo —— */
.hub-promo {
  margin: 8px var(--pad);
  padding: 18px 18px 18px 20px; border-radius: 20px; min-height: 148px;
  background:
    linear-gradient(105deg, rgba(6,22,38,.94) 40%, rgba(6,22,38,.45) 70%, rgba(6,22,38,.2)),
    url("https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?w=1000&q=80") right center / cover no-repeat;
  color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative;
}
.hub-promo__burst {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--orange); display: grid; place-items: center;
  font-weight: 900; box-shadow: 0 8px 20px rgba(255,121,0,.4);
}
.hub-promo small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #c8d7e5; }
.hub-promo h3 { margin: 6px 0 4px; font-size: clamp(1.4rem, 4vw, 1.7rem); font-weight: 900; }
.hub-promo p { margin: 0 0 12px; font-size: 13px; color: #ffd2a8; max-width: 60%; }
.hub-promo button, .hub-promo a.btn {
  width: max-content; border: 0; background: var(--orange); color: #fff;
  font-weight: 800; font-size: 12px; border-radius: 12px; padding: 10px 14px;
}

.hub-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px var(--pad) 4px;
}
.hub-promo-grid[hidden],
.hub-promo-card[hidden] { display: none !important; }
@media (min-width: 720px) {
  .hub-promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hub-promo-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; background: #fff; color: inherit; text-decoration: none;
}
.hub-promo-card:hover { border-color: rgba(255,121,0,.45); }
.hub-promo-card__media {
  position: relative; aspect-ratio: 4/3; background: #eef2f6; overflow: hidden;
}
.hub-promo-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hub-promo-card__media.is-empty {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fff3ea, #eef2f6);
}
.hub-promo-card__media.is-empty::after {
  content: "%"; font-weight: 900; font-size: 28px; color: var(--orange);
}
.hub-promo-card__badge {
  position: absolute; top: 8px; left: 8px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px;
}
.hub-promo-card__body { padding: 10px 12px 12px; }
.hub-promo-card__body small {
  display: block; font-size: 11px; color: var(--muted); font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hub-promo-card__body h3 {
  margin: 4px 0 6px; font-size: 14px; font-weight: 800; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hub-promo-card__prices {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.hub-promo-card__prices strong { color: var(--orange); font-size: 15px; }
.hub-promo-card__prices s { color: var(--muted); font-size: 12px; }

/* —— Ask —— */
.hub-ask {
  margin: 10px var(--pad) 8px; padding: 14px; width: calc(100% - 2 * var(--pad));
  border: 1px solid var(--line); border-radius: 18px;
  display: flex; align-items: center; gap: 12px; background: #fff; text-align: left;
}
.hub-ask__icon {
  width: 44px; height: 44px; border-radius: 14px; background: #fff3ea; color: var(--orange);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0;
}
.hub-ask__text { flex: 1; min-width: 0; }
.hub-ask__text b { display: block; font-size: 14px; color: var(--navy); }
.hub-ask__text p { margin: 3px 0 0; font-size: 12px; color: var(--muted); line-height: 1.35; }
.hub-ask__go {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--muted); display: grid; place-items: center; flex-shrink: 0;
}

/* —— Bottom nav —— */
.hub-bottom {
  position: fixed; left: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 100%;
  height: calc(var(--bottom) + var(--safe-bottom));
  padding: 0 0 var(--safe-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: var(--bottom);
  align-items: stretch;
  z-index: 50;
  box-sizing: border-box;
}
.hub-bottom a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #475569;
  font-size: 18px;
  padding-top: 6px;
  min-height: 0;
  text-decoration: none;
}
.hub-bottom span { font-size: 10px; font-weight: 700; line-height: 1.1; }
.hub-bottom a.is-active { color: var(--orange); }

/* —— Toast —— */
.hub-toast {
  position: fixed; left: 50%; bottom: calc(var(--bottom) + var(--safe-bottom) + 16px);
  transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 600; z-index: 60; opacity: 0; pointer-events: none;
  transition: .25s ease; max-width: min(90vw, 360px); text-align: center;
}
.hub-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* —— Página loja (mockup 11) —— */
.hub-loja-page .hub-shell { background: #fff; }

.loja-hero {
  background: #070b12;
  color: #fff;
  padding: calc(10px + var(--safe-top)) var(--pad) 0;
}
.loja-hero__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 14px;
}
.loja-hero__brand {
  flex: 1; text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; color: rgba(255,255,255,.72); text-transform: uppercase;
}
.loja-hero__icon {
  position: relative;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff;
  flex: 0 0 auto;
}
.loja-hero__icon:active { transform: scale(.96); background: rgba(255,255,255,.16); }
.loja-hero__bar-actions { display: flex; align-items: center; gap: 8px; }
.loja-fav-btn.is-on,
.loja-fav-btn.is-on i { color: #ff5a7a; }
.loja-fav-btn.is-on { background: rgba(255,90,122,.18); }

.hub-store__media { position: relative; }
.hub-store__fav {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 34px; height: 34px; border-radius: 11px; border: 0;
  background: rgba(7,11,18,.55); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.hub-store__fav.is-on,
.hub-store__fav.is-on i { color: #ff5a7a; }
.hub-store__fav.is-on { background: rgba(255,255,255,.92); }
.hub-store__fav:active { transform: scale(.94); }

.fav-stores { margin: 0; }
.fav-store { position: relative; }
.fav-store__heart {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 36px; height: 36px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,.95); color: #ff5a7a;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.fav-store__heart.is-on { color: #ff5a7a; }

.loja-hero__head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
}
.loja-hero__logo {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.18);
  overflow: hidden; display: grid; place-items: center;
  font-size: 26px; color: rgba(255,255,255,.85);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.loja-hero__logo img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #fff;
}
.loja-hero__meta h1 {
  margin: 0 0 4px; font-size: clamp(1.25rem, 3.4vw, 1.65rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
}
.loja-hero__cat {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  font-weight: 600;
}
.loja-hero__status {
  margin: 0 0 8px; font-size: 13px; color: #c8d7e5;
}
.loja-hero__status .is-open { color: #3dd68c; font-weight: 700; }
.loja-hero__status .is-closed { color: #ff8f8f; font-weight: 700; }
.loja-closed-banner {
  margin: 14px var(--pad) 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff1f1;
  color: #9b1c1c;
  font-size: 13px;
  border: 1px solid #f0c0c0;
}
.qty-morph.is-disabled [data-add],
.qty-morph.is-disabled [data-qty-inc] {
  opacity: .45;
  pointer-events: none;
}
.qty-morph.is-disabled [data-add][disabled] {
  cursor: not-allowed;
}
/* − continua clicável com loja fechada (esvaziar carrinho) */
.hub-badge.is-closed {
  background: #3a1515;
  color: #ffb4b4;
}
.loja-hero__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.loja-hero__eta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #d7e4f0; font-weight: 600;
}
.loja-hero__eta i { color: #3dd68c; font-size: 15px; }
.loja-hero__rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 800; color: #fff;
}
.loja-hero__rating i { color: var(--yellow); font-size: 13px; }

.loja-tabs {
  display: flex; gap: 4px;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.loja-tabs button {
  flex: 1; border: 0; background: transparent; color: rgba(255,255,255,.55);
  font-size: 13px; font-weight: 700; padding: 12px 8px 14px;
  position: relative; transition: color .2s ease;
}
.loja-tabs button.is-active { color: #fff; }
.loja-tabs button.is-active::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--orange);
}

.loja-panel[hidden] { display: none !important; }
.loja-panel__box {
  margin: 16px var(--pad) 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.loja-panel__box h2 { margin: 0 0 12px; font-size: 16px; color: var(--navy); }
.loja-rating-big {
  display: flex; align-items: center; gap: 14px;
}
.loja-rating-big strong {
  font-size: 2.4rem; color: var(--navy); line-height: 1;
}
.loja-stars { color: var(--yellow); letter-spacing: 2px; font-size: 14px; }
.loja-rating-big p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.loja-info-lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.loja-info-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
}
.loja-info-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.35;
}
.loja-info-list i { color: var(--orange); margin-top: 2px; }
.loja-info-list a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.loja-info-msg {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; line-height: 1.45;
}
.loja-hours {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.loja-hours h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}
.loja-hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.loja-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.loja-hours li strong { font-weight: 800; }
.loja-hours li.is-today {
  color: var(--navy);
  font-weight: 700;
}
.loja-hours li.is-today strong { color: var(--orange); }

.loja-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (max-width: 959.98px) {
  .pcn-store-layout > .pcn-cat-sidebar {
    display: none !important;
  }
}

.menu-cats {
  display: flex; gap: 8px; padding: 14px var(--pad) 10px;
  overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 5;
  background: #fff;
}
.menu-cats::-webkit-scrollbar { display: none; }
.menu-cats button {
  flex: 0 0 auto; border: 0; background: var(--navy);
  color: #fff; border-radius: 999px; padding: 9px 14px;
  font-size: 12px; font-weight: 700; transition: background .15s ease, transform .15s ease;
}
.menu-cats button:active { transform: scale(.97); }
.menu-cats button.is-active { background: var(--orange); color: #fff; }
.menu-cats__promo {
  background: #fff1f2 !important;
  color: #be123c !important;
  border: 1px solid #fb7185 !important;
  font-weight: 800;
}
.menu-cats__promo.is-active {
  background: #e11d48 !important;
  color: #fff !important;
  border-color: #e11d48 !important;
}
.menu-cats__promo-badge {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  margin-left: 4px; border-radius: 999px;
  background: #e11d48; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 1;
}
.menu-cats__promo.is-active .menu-cats__promo-badge {
  background: #fff; color: #e11d48;
}
.menu-group[data-cat="Promoções"] > h2 {
  color: #e11d48;
}

.menu-list { padding: 4px var(--pad) 110px; }
.menu-group { margin-bottom: 8px; scroll-margin-top: 132px; }
.menu-group.is-scroll-active > h2 {
  color: var(--orange);
}
.menu-group h2 {
  margin: 8px 0 4px; font-size: 13px; font-weight: 800;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f5;
  align-items: start;
}
.menu-item__main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
}
.menu-item__title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.menu-item__title-row h3 {
  flex: 1;
  min-width: 0;
}
.menu-item__info-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.menu-item__info-btn:hover { color: var(--navy); }
.menu-item__info-btn:active { opacity: 0.75; transform: scale(0.94); }
.menu-item__info-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.menu-item__thumb-wrap { width: 72px; height: 72px; position: relative; }
button.menu-item__thumb-wrap {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-item__thumb-wrap.is-zoom:active { transform: scale(.97); }
.menu-item__thumb-zoom {
  position: absolute;
  right: 4px;
  bottom: 4px;
  z-index: 1;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(7, 11, 18, .72);
  color: #fff;
  font-size: 13px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}
.menu-item__thumb-wrap.is-empty::before {
  content: "";
  position: absolute; inset: 0; border-radius: 14px; background: var(--light);
}
.menu-item__thumb {
  width: 72px; height: 72px; border-radius: 14px; object-fit: cover;
  background: var(--light); box-shadow: 0 4px 12px rgba(7,25,42,.06);
}
.menu-item__thumb--empty {
  display: grid; place-items: center; color: #9aabbc; font-size: 22px;
}
.menu-item__info { min-width: 0; }
.menu-item__info h3 {
  margin: 0; font-size: 14px; font-weight: 800; color: var(--navy);
  line-height: 1.25;
}
.menu-item__info p,
.menu-item__desc {
  margin: 0; font-size: 12px; color: var(--muted); line-height: 1.35;
}
.menu-item__meta-label {
  display: block;
  margin: 8px 0 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.menu-item__desc-block .menu-item__meta-label { margin-top: 6px; }
.menu-item__ings-block .menu-item__meta-label { margin-top: 8px; }
.menu-item__desc-block + .menu-item__ings-block .menu-item__meta-label {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eef2f5;
}
.menu-item__desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}
.menu-item__ing-chips {
  display: flex; flex-wrap: wrap; gap: 4px;
  max-height: 48px; overflow: hidden;
}
.menu-item__ing-chip {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; line-height: 1.3;
  background: #eef4fb; color: #3d5a73;
  border: 1px solid #d7e4f0;
  white-space: nowrap;
}
.menu-item__ing-chip--more {
  background: #fff7ed; color: var(--orange);
  border-color: #ffd4a8;
}
.menu-item__price {
  font-weight: 800; color: var(--navy); font-size: 14px; margin-top: 8px;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.menu-item__price-old {
  font-weight: 600; font-size: 12px; color: var(--muted);
}
.menu-item__promo-badge {
  position: absolute; top: 4px; left: 4px; z-index: 1;
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 800;
  padding: 2px 6px; border-radius: 999px; line-height: 1.2;
}
.menu-item--promo .menu-item__price span { color: var(--orange); }
.menu-item__add {
  width: auto; min-width: 40px; height: 40px; border-radius: 12px; border: 0;
  padding: 0 10px;
  background: var(--orange); color: #fff; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  align-self: center;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(255,121,0,.28);
  transition: transform .15s ease, filter .15s ease;
}
.menu-item__add-txt {
  font-size: 11px; font-weight: 800; color: #fff; line-height: 1;
}
.menu-item__add:active { transform: scale(.94); }
.menu-item__add:hover { filter: brightness(1.05); }
.menu-item > .qty-morph { align-self: center; }

/* Layout com rodapé (preço + Adicionar): texto usa a largura toda */
.menu-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}
.menu-item__foot .menu-item__price {
  margin: 0;
  padding: 0;
  min-height: 0;
}
.menu-item__foot .qty-morph {
  position: static;
  flex-shrink: 0;
  align-self: center;
}

/* Legacy (qty fora do foot): + absoluto só quando não há menu-item__foot */
@media (max-width: 720px) {
  .menu-item:not(:has(.menu-item__foot)) {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .menu-item__main {
    width: 100%;
  }
  .menu-item:not(:has(.menu-item__foot)) .menu-item__price {
    padding-right: 52px;
    min-height: 40px;
    align-items: center;
  }
  .menu-item:not(:has(.menu-item__foot)) > .qty-morph {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: auto;
    align-self: auto;
    z-index: 2;
  }
  .menu-item:not(:has(.menu-item__foot)) .menu-item__add {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }
  .menu-item:not(:has(.menu-item__foot)) .menu-item__add-txt { display: none; }
  .menu-item__ing-chips { max-height: none; }
}

@media (max-width: 420px) {
  .menu-item {
    padding: 10px 0;
  }
  .menu-item__main {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
  .menu-item__thumb-wrap,
  .menu-item__thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }
  .menu-item__info h3 { font-size: 13px; }
  .menu-item__info-btn { width: 26px; height: 26px; font-size: 0.95rem; }
  .menu-item__meta-label { display: none; }
  .menu-item__desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }
  .menu-item__ing-chips { gap: 3px; }
  .menu-item__ing-chip { font-size: 9px; padding: 2px 6px; }
  .menu-item:not(:has(.menu-item__foot)) .menu-item__price {
    margin-top: 6px;
    font-size: 13px;
    padding-right: 48px;
  }
  .menu-item:not(:has(.menu-item__foot)) > .qty-morph { bottom: 8px; }
  .produto-info-sheet { padding: 0; }
  .produto-info-sheet__dialog { width: 100%; max-height: 100dvh; }
  .produto-info-sheet__media {
    width: 100%;
    height: 44dvh;
  }
}

/* —— Qty morph (cardápio) —— */
.qty-morph {
  position: relative;
  width: auto; min-width: 40px; min-height: 40px;
  display: flex; align-items: center; justify-content: flex-end;
  flex-shrink: 0;
  touch-action: manipulation;
}
.qty-morph.is-on { width: auto; }
.qty-morph.is-pulse .qty-morph__pad {
  animation: qtyPulse .42s ease;
}
@keyframes qtyPulse {
  0% { transform: scale(.94); }
  55% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.qty-morph__pad {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--navy); color: #fff;
  border-radius: 999px; padding: 4px;
  box-shadow: 0 10px 24px rgba(7,11,18,.28);
  touch-action: manipulation;
}
.qty-morph__pad[hidden] { display: none !important; }
.qty-morph__btn {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  font-size: 18px; line-height: 1; font-weight: 700;
  display: grid; place-items: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.qty-morph__btn:active { background: var(--orange); }
.qty-morph__val {
  min-width: 28px; text-align: center;
  font-weight: 800; font-size: 14px;
}
.qty-morph__val.is-pop { animation: qtyPop .22s ease; }
@keyframes qtyPop {
  0% { transform: scale(1.12); color: var(--orange2); }
  100% { transform: scale(1); color: #fff; }
}

@media (hover: none) and (pointer: coarse) {
  .qty-morph.is-pulse .qty-morph__pad,
  .qty-morph__val.is-pop {
    animation: none;
  }
  .menu-item__add:active { transform: none; }
}

.cart-panel {
  /* no mobile a barra fica fixed; o aside só ancora o markup */
  display: contents;
}
.cart-bar {
  position: fixed; left: 50%; bottom: calc(var(--bottom) + var(--safe-bottom) + 10px);
  transform: translateX(-50%) translateY(12px);
  width: min(calc(100% - 24px), calc(var(--content-max) - 24px));
  background: var(--navy); color: #fff; border-radius: 18px; border: 0;
  padding: 12px 12px 12px 14px; display: none; align-items: center; gap: 12px;
  z-index: 45; box-shadow: 0 16px 36px rgba(0,0,0,.35);
  font-weight: 700; text-align: left; cursor: pointer;
  opacity: 0; transition: transform .28s ease, opacity .28s ease;
}
.cart-bar.is-on { display: flex; opacity: 1; transform: translateX(-50%) translateY(0); }
.cart-bar[hidden] { display: none !important; }
.cart-bar--resume {
  text-decoration: none;
  color: #fff;
  z-index: 48;
  gap: 8px;
}
.cart-bar--resume .cart-bar__main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.cart-bar--resume .cart-bar__dismiss {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.cart-bar--resume .cart-bar__dismiss:hover {
  background: rgba(255,255,255,.22);
}
.cart-bar--resume strong { color: #fff; font-size: 15px; white-space: nowrap; }
.cart-bar--resume .cart-bar__left > span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-bar__pulse {
  position: absolute; inset: -2px; border-radius: 20px;
  border: 1px solid rgba(255,121,0,.45);
  animation: cartPulse 2.2s ease infinite;
  pointer-events: none;
}
@keyframes cartPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: .8; transform: scale(1.01); }
}
.cart-bar__bag {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(255,121,0,.2); color: var(--orange2); font-size: 1.15rem;
}
.cart-bar__left { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cart-bar__label {
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange2);
}
.cart-bar #cartCount { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); }
.cart-bar #cartTotal { font-size: 15px; white-space: nowrap; }
.cart-bar__cta {
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff; font-size: 12px; font-weight: 800;
  border-radius: 12px; padding: 10px 12px;
}

/* —— Sheet do pedido —— */
body.pedido-sheet-open { overflow: hidden; }
.pedido-sheet {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: flex-end; justify-content: center;
}
.pedido-sheet[hidden] { display: none !important; }
.pedido-sheet__backdrop {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(4, 8, 14, .62);
  backdrop-filter: blur(4px);
  animation: fadeIn .22s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.pedido-sheet__panel {
  position: relative; width: min(100%, 560px);
  max-height: min(88dvh, 760px);
  background: #f7f9fc;
  border-radius: 28px 28px 0 0;
  display: flex; flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 -20px 50px rgba(0,0,0,.28);
  animation: sheetUp .32s cubic-bezier(.2,.8,.2,1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* Personalizar: sheet clássico (nunca tela cheia) */
#produtoSheet .produto-sheet__panel,
#produtoSheet .pedido-sheet__panel {
  max-height: min(88dvh, 760px);
  height: auto;
  margin-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 50px rgba(0,0,0,.28);
}
@keyframes sheetUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.pedido-sheet__grab {
  width: 44px; height: 4px; border-radius: 99px;
  background: #c9d3de; margin: 10px auto 4px;
}
.pedido-sheet__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 8px 18px 12px;
}
.pedido-sheet__kicker {
  margin: 0; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
}
.pedido-sheet__head h2 {
  margin: 0; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em;
}
.pedido-sheet__sub {
  margin: 4px 0 0; font-size: 13px; color: var(--muted); font-weight: 500;
}
.pedido-sheet__x {
  width: 40px; height: 40px; border-radius: 12px; border: 0;
  background: #e8eef4; color: var(--navy); display: grid; place-items: center;
}
.pedido-sheet__list {
  overflow: auto; padding: 4px 16px 12px;
  display: grid; gap: 10px; flex: 1;
}
.pedido-sheet__empty {
  text-align: center; color: var(--muted); font-size: 14px;
  padding: 36px 12px; line-height: 1.45;
  display: grid; gap: 10px; justify-items: center;
}
.pedido-sheet__empty i { font-size: 1.8rem; color: #b0bcc9; }
.pedido-sheet__empty p { margin: 0; }
.pedido-sheet__empty-btn {
  margin-top: 4px; border: 0; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 10px 16px; font-size: 13px;
}
.pedido-ticket {
  background: #fff; border-radius: 18px; padding: 12px 14px;
  border: 1px solid #e6edf5;
  box-shadow: 0 6px 18px rgba(7,11,18,.04);
}
.pedido-ticket__top {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start;
}
.pedido-ticket__media {
  width: 52px; height: 52px; border-radius: 14px; overflow: hidden;
  background: var(--light); display: grid; place-items: center;
}
.pedido-ticket__media img { width: 100%; height: 100%; object-fit: cover; }
.pedido-ticket__ph { color: #9aabbc; font-size: 18px; }
.pedido-ticket__info strong {
  display: block; font-size: 14px; color: var(--navy); line-height: 1.25;
}
.pedido-ticket__unit { font-size: 12px; color: var(--muted); }
.pedido-ticket__edit {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; border: 0; padding: 6px 10px;
  border-radius: 10px; background: #eef3f8; color: var(--navy);
  font-size: 12px; font-weight: 700;
}
.pedido-ticket__edit:active { background: #e2e9f1; }
.pedido-ticket__drop {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: #fff1f1; color: #c0392b; display: grid; place-items: center;
}
.pedido-ticket__bottom {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pedido-qty {
  display: inline-flex; align-items: center; gap: 0;
  background: #eef3f8; border-radius: 12px; padding: 3px;
  touch-action: manipulation;
}
.pedido-qty button {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 18px; font-weight: 700;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pedido-qty span {
  min-width: 32px; text-align: center;
  font-weight: 800; font-size: 14px; color: var(--navy);
}
.pedido-ticket__line {
  font-size: 15px; color: var(--navy); white-space: nowrap;
}
.pedido-ticket__mods {
  margin: 6px 0 0;
  display: grid;
  gap: 6px;
  background: #fff8e8;
  border-radius: 10px;
  padding: 8px 10px;
}
.pedido-ticket__mod {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.pedido-ticket__mod strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #a67c3d;
  line-height: 1.2;
}
.pedido-ticket__mod span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #5c4520;
  word-break: break-word;
}
.pedido-ticket__mod--sem {
  margin: 0 -4px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  gap: 2px;
}
.pedido-ticket__mod--sem strong {
  color: #991b1b;
  letter-spacing: .05em;
}
.pedido-ticket__mod--sem span {
  color: #7f1d1d;
  font-weight: 800;
  font-size: 13px;
}
.pcn-order-line__mods {
  margin: 4px 0 0;
  display: grid;
  gap: 3px;
  background: transparent;
  padding: 0;
}
.pcn-order-line__mods .pedido-ticket__mod strong {
  font-size: 9px;
}
.pcn-order-line__mods .pedido-ticket__mod span {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.pcn-order-line__mods .pedido-ticket__mod--sem {
  margin: 0;
  padding: 5px 7px;
}
.pcn-order-line__mods .pedido-ticket__mod--sem span {
  color: #7f1d1d;
  font-size: 12px;
  font-weight: 800;
}
.pedido-sheet__foot {
  padding: 12px 16px 14px; background: #fff;
  border-top: 1px solid #e8eef4;
  display: grid; gap: 10px;
}
.pedido-sheet__break { display: grid; gap: 6px; }
.pedido-sheet__row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--muted);
}
.pedido-sheet__row--total {
  margin-top: 2px; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--navy); font-weight: 600;
}
.pedido-sheet__row--total strong { font-size: 1.25rem; color: var(--navy); }
.pedido-sheet__go {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff; font-weight: 800; font-size: 15px;
  border-radius: 16px; padding: 15px 18px;
  box-shadow: 0 12px 28px rgba(255,121,0,.28);
}
.pedido-sheet__go.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}
.pedido-sheet__clear {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; border: 1px solid #fecaca; background: #fff;
  color: #b91c1c; font: inherit; font-size: 13px; font-weight: 700;
  border-radius: 14px; padding: 12px 14px;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.pedido-sheet__clear:active { background: #fef2f2; }
.pedido-sheet__clear[hidden] { display: none !important; }
.pedido-sheet__back {
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 700; padding: 4px 8px 2px;
}

/* —— Compositor de produto / ingredientes —— */
.produto-sheet__panel { background: #fff; }
.produto-sheet__head {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 12px; padding: 8px 16px 12px; align-items: start;
}
.produto-sheet__media {
  width: 72px; height: 72px; border-radius: 16px; overflow: hidden;
  background: var(--light); display: grid; place-items: center;
}
.produto-sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.produto-sheet__desc {
  margin: 4px 0 0; font-size: 12px; color: var(--muted); line-height: 1.35;
}
.produto-sheet__base {
  display: inline-block; margin-top: 6px; color: var(--navy); font-size: 14px;
}
.produto-sheet__body {
  overflow: auto; padding: 4px 16px 12px; display: grid; gap: 14px; flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.ing-block h3 {
  margin: 0; font-size: 14px; color: var(--navy);
}
.ing-block__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.ing-block__title-row h3 { margin: 0; }
.ing-block__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ing-block.is-incomplete .ing-block__count {
  color: #c47b12;
}
.ing-block__hint {
  margin: 2px 0 10px; font-size: 12px; color: var(--muted);
}
#ingInserirBlock h3 {
  color: #146c43;
}
#ingInserirBlock .ing-block__hint {
  color: #22a96b;
  font-weight: 700;
}
.ing-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ing-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #d7e0ea; background: #f7f9fc; color: var(--navy);
  border-radius: 999px; padding: 8px 12px;
  font-size: 13px; font-weight: 700;
  transition: .15s ease;
}
.ing-chip i { font-size: 13px; }
.ing-chip em {
  font-style: normal; font-size: 11px; color: var(--orange); font-weight: 800;
}
.ing-chip.is-on {
  background: #e9f8f0; border-color: #9ad4b5; color: #146c43;
}
.ing-chips--vars .ing-chip.is-on {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.ing-chips--vars .ing-chip.is-on em { color: #ffd7a8; }
.ing-chip.is-off {
  background: #fff1f1; border-color: #f0b4b4; color: #b42318;
  text-decoration: line-through;
}
.ing-chip[data-kind="extra"] {
  border-color: #b7e4c7;
  background: #f3fbf6;
  color: #146c43;
}
.ing-chip[data-kind="extra"] em {
  color: #22a96b;
}
.ing-chip[data-kind="extra"].is-on {
  background: #22a96b;
  border-color: #1a8f5a;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(34, 169, 107, .28);
}
.ing-chip[data-kind="extra"].is-on em {
  color: #d8ffe9;
}

/* —— Grupo de sabores / picks (estilo app delivery) —— */
.ing-block--picks .ing-block__title-row {
  align-items: center;
}
.ing-block__req {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff1e8;
  color: #c2410c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  vertical-align: middle;
}
.ing-block--sabor-rem h3 {
  color: #b42318;
}
.ing-block--sabor-rem .ing-block__hint {
  color: #c2410c;
  font-weight: 700;
}
.ing-block--sabor-rem .ing-chip.is-on {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.ing-block--sabor-rem .ing-chip.is-off {
  background: #fff1f1;
  border-color: #f0b4b4;
  color: #b42318;
  text-decoration: line-through;
}
.ing-pick.is-expanded-rem {
  border-color: #fb923c;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.ing-sabor-rem {
  margin: -4px 0 10px;
  padding: 10px 12px 12px;
  border: 1.5px solid #fdba74;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #fff7ed;
  animation: ingSaborRemIn .18s ease;
}
@keyframes ingSaborRemIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.ing-sabor-rem__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.ing-sabor-rem__head strong {
  font-size: 13px;
  font-weight: 800;
  color: #9a3412;
}
.ing-sabor-rem__head span {
  font-size: 11px;
  font-weight: 600;
  color: #c2410c;
}
.ing-sabor-rem .ing-chip.is-on {
  background: #fff;
  border-color: #fdba74;
  color: #9a3412;
}
.ing-sabor-rem .ing-chip.is-off {
  background: #fff1f1;
  border-color: #f0b4b4;
  color: #b42318;
  text-decoration: line-through;
}
.ing-pick-filter {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}
.ing-pick-filter i { font-size: 15px; flex-shrink: 0; }
.ing-pick-filter input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px; /* evita zoom no iOS ao focar */
  font-weight: 600;
  color: var(--navy, #0f172a);
  min-width: 0;
  line-height: 1.25;
}
.ing-pick-filter input::placeholder { color: #94a3b8; font-weight: 500; }
.ing-picks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ing-pick {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  color: var(--navy, #0f172a);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* display:grid do card sobrescreve [hidden] do UA — precisa forçar */
.ing-pick[hidden],
.ing-pick.is-filtered {
  display: none !important;
}
.ing-pick:active { transform: scale(.985); }
.ing-pick.is-maxed {
  opacity: .42;
  pointer-events: none;
  cursor: default;
  filter: grayscale(.15);
}
.ing-pick__media {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ing-pick__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ing-pick__ph {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
}
.ing-pick__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ing-pick__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ing-pick__name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.ing-pick__top em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange, #f97316);
  white-space: nowrap;
  flex-shrink: 0;
}
.ing-pick__desc {
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ing-pick__check {
  font-size: 20px;
  color: #cbd5e1;
  line-height: 1;
  flex-shrink: 0;
}
.ing-pick.is-on {
  border-color: #22a96b;
  background: #f3fbf6;
  box-shadow: 0 0 0 1px rgba(34, 169, 107, .18);
}
.ing-pick.is-on .ing-pick__check { color: #22a96b; }
.ing-pick.is-on .ing-pick__name { color: #146c43; }
.ing-pick--mode {
  border-color: #fdba74;
  background: #fff7ed;
}
.ing-pick--mode.is-on {
  border-color: #f97316;
  background: #ffedd5;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, .22);
}
.ing-pick--mode.is-on .ing-pick__check { color: #ea580c; }
.ing-pick--mode.is-on .ing-pick__name { color: #9a3412; }
.ing-pick--mode .ing-pick__desc { color: #9a3412; font-weight: 700; }
.ing-pick-empty {
  margin: 4px 0 0;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: #f8fafc;
  border-radius: 12px;
}
.produto-wizard__guide {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy, #0f172a);
  letter-spacing: -.01em;
}
.produto-wizard__guide[hidden] { display: none !important; }
@media (max-width: 420px) {
  .ing-pick {
    grid-template-columns: 40px 1fr auto;
    gap: 8px;
    padding: 7px;
    border-radius: 12px;
  }
  .ing-pick__media {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
}

.produto-sheet__obs {
  display: grid; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 700;
}
.produto-sheet__obs input {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 16px; font-weight: 500; color: var(--text);
}
.produto-sheet__foot {
  grid-template-columns: auto 1fr; align-items: center;
  gap: 8px;
}
.produto-sheet__foot:has(.produto-wizard__back:not([hidden])) {
  grid-template-columns: auto auto 1fr;
}
.produto-wizard {
  margin: 0 0 12px;
}
.produto-wizard__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.produto-wizard__steps::-webkit-scrollbar { display: none; }
.produto-wizard__step {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 999px;
  background: #eef3f8;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.produto-wizard__step-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  padding: 6px 10px;
  border-radius: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.produto-wizard__step.is-on {
  background: var(--orange, #ff7900);
  color: #fff;
}
.produto-wizard__step.is-done {
  background: #ecfdf5;
  color: #047857;
}
.produto-wizard__step.is-done .produto-wizard__step-btn,
.produto-wizard__step:not(.is-on) .produto-wizard__step-btn {
  cursor: pointer;
}
.produto-wizard__back {
  border: 1px solid var(--line, #d0d7e2);
  background: #fff;
  border-radius: 14px;
  min-height: 48px;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  color: var(--navy, #070b12);
  cursor: pointer;
  touch-action: manipulation;
}
.produto-sheet__qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--navy); color: #fff; border-radius: 14px; padding: 4px;
  touch-action: manipulation;
}
.produto-sheet__qty[hidden] { display: none !important; }
.produto-sheet__obs[hidden] { display: none !important; }
.produto-sheet__qty button {
  width: 36px; height: 36px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 18px; font-weight: 700;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.produto-sheet__qty span {
  min-width: 28px; text-align: center; font-weight: 800;
}
.produto-sheet__foot .pedido-sheet__go {
  border: 0; width: 100%; cursor: pointer;
}

/* —— Ficha do produto (página nativa, tela cheia) —— */
.produto-info-sheet {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  background: #fff;
}
.produto-info-sheet[hidden] { display: none !important; }
.produto-info-sheet__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  animation: infoPopIn 0.22s ease;
}
@keyframes infoPopIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.produto-info-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(8px + var(--safe-top)) 12px 8px;
  background: #fff;
  border-bottom: 0;
  flex-shrink: 0;
}
.produto-info-sheet__back,
.produto-info-sheet__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.produto-info-sheet__back:active,
.produto-info-sheet__close:active { opacity: 0.7; }
.produto-info-sheet__loja {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.produto-info-sheet__head-space { width: 42px; flex-shrink: 0; }
.produto-info-sheet__scroll {
  overflow: auto;
  padding: 0 0 8px;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.produto-info-sheet__media {
  position: relative;
  width: 100%;
  height: 46dvh;
  min-height: 220px;
  max-height: 420px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}
.produto-info-sheet__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.produto-sheet__media-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.produto-sheet__media-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produto-foto-zoom {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: max(52px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: #fff;
}
.produto-foto-zoom[hidden] { display: none !important; }
.produto-foto-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: #fff;
  cursor: zoom-out;
}
.produto-foto-zoom__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(92vw, 520px);
  height: min(72dvh, 520px);
  display: grid;
  place-items: center;
}
.produto-foto-zoom__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  animation: produto-foto-zoom-in .28s ease;
}
.produto-foto-zoom__frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.2rem;
  margin: 0;
  color: #222;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}
@keyframes produto-foto-zoom-in {
  from { opacity: .35; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}
.produto-foto-zoom__close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  left: 12px;
  right: auto;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111;
  font-size: 18px;
  display: grid;
  place-items: center;
}
.produto-info-sheet__ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #9aabbc;
}
.produto-info-sheet__copy {
  padding: 8px 22px 16px;
}
.produto-info-sheet__title {
  margin: 0;
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #111;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.produto-info-sheet__desc {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #5b5b5b;
}
.produto-info-sheet__desc[hidden] { display: none !important; }
.produto-info-sheet__price {
  margin: 10px 0 0;
  text-align: left;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}
.produto-info-sheet__foot {
  flex-shrink: 0;
  padding: 10px 20px calc(14px + var(--safe-bottom));
  background: #fff;
}
.produto-info-sheet__cta {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.produto-info-sheet__cta:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.produto-info-sheet__cta:active:not(:disabled) { transform: scale(.99); }
.produto-info-sheet__price s {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.produto-info-sheet__price--promo span { color: var(--orange); }
.produto-info-sheet__block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef2f5;
}
.produto-info-sheet__block[hidden] { display: none !important; }
.produto-info-sheet__block h3 {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.produto-info-sheet__block p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
}
.produto-info-sheet__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.produto-info-sheet__list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text);
}
.produto-info-sheet__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ba3cc;
}
.produto-info-sheet__list--extras li::before { background: #22a96b; }
.produto-info-sheet__list li em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: #22a96b;
  margin-left: 4px;
}
.produto-info-sheet__block--extras h3 { color: #146c43; }

/* Checkout */
.checkout-hero {
  background: #070b12; color: #fff;
  padding: calc(12px + var(--safe-top)) var(--pad) 20px;
}
.checkout-hero__bar {
  display: flex; align-items: center; gap: 12px;
}
.checkout-hero__kicker {
  margin: 0; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange2);
}
.checkout-hero h1 {
  margin: 2px 0 0; font-size: 1.45rem; letter-spacing: -.02em;
}
.checkout-hero__loja {
  margin: 12px 0 0; color: #c8d7e5; font-size: 13px;
}
.checkout-section-title {
  margin: 22px 0 4px; font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.checkout-mod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}
.checkout-mod__opt {
  display: block;
  cursor: pointer;
  position: relative;
  min-width: 0;
}
.checkout-mod__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  inset: 0;
  overflow: hidden;
}
.checkout-mod__opt span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-height: 76px;
}
.checkout-mod__opt strong {
  font-size: 14px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.checkout-mod__opt em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}
.checkout-mod__opt input:checked + span {
  border-color: var(--orange);
  background: #fff7f0;
  box-shadow: 0 0 0 3px rgba(255, 121, 0, .12);
}
.checkout-entrega-modo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: var(--navy);
}
.checkout-entrega-modo[hidden] { display: none !important; }
.checkout-entrega-modo > i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.2rem;
  color: var(--orange);
}
.checkout-entrega-modo[data-modo="pcn"] {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.checkout-entrega-modo[data-modo="pcn"] > i { color: #2563eb; }
.checkout-entrega-modo strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.checkout-entrega-modo span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.checkout-retirada-hint {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #166534;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.checkout-retirada-hint[hidden] { display: none !important; }
#checkoutEnderecoBlock[hidden] { display: none !important; }

.checkout-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  background: linear-gradient(135deg, #fff7ed, #fff);
  flex-wrap: wrap;
}
.checkout-account--in {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #fff);
}
.checkout-account__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.checkout-account__text strong {
  font-size: 13px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.checkout-account__text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.checkout-account__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.checkout-account__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.checkout-account__btn:active { transform: scale(.98); }
.checkout-account__link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkout-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}
.checkout-saved-person {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.checkout-saved-person__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.checkout-saved-person__main strong {
  font-size: 14px;
  color: var(--navy);
}
.checkout-saved-person__main span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  word-break: break-word;
}
.checkout-saved-person__edit {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.checkout-link-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.checkout-addr-manage {
  margin: 0 0 12px;
}
.checkout-addr-manage a {
  font-weight: 700;
  color: var(--navy);
}
.checkout-addr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
}
.checkout-swap-addr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.checkout-swap-addr[hidden],
#checkoutAddrDone[hidden] {
  display: none !important;
}
.checkout-addr-fields.is-collapsed,
#checkoutAddrFields[hidden] {
  display: none !important;
}

body.checkout-edit-open { overflow: hidden; }
.checkout-edit-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  max-width: 100%;
}
.checkout-edit-sheet[hidden] { display: none !important; }
.checkout-edit-sheet__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 18, .55);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.checkout-edit-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  max-height: min(88dvh, 720px);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 8px var(--pad) calc(14px + var(--safe-bottom));
  box-shadow: 0 -12px 40px rgba(7, 25, 42, .22);
  animation: sheetUp .32s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
  box-sizing: border-box;
}
.checkout-edit-sheet__grab {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #d5dee8;
  margin: 4px auto 8px;
  flex-shrink: 0;
}
.checkout-edit-sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.checkout-edit-sheet__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
}
.checkout-edit-sheet__head h2 {
  margin: 2px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.checkout-edit-sheet__x {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 0;
  border-radius: 12px;
  background: #eef3f8;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.checkout-edit-sheet__hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  flex-shrink: 0;
}
.checkout-edit-sheet__body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 8px;
  min-height: 0;
  flex: 1 1 auto;
}
.checkout-edit-sheet__body label {
  display: block;
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.checkout-edit-sheet__body input {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 16px; /* evita zoom no iOS/WebView */
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
}
.checkout-edit-sheet__body input[readonly] {
  background: #f1f5f9;
  color: var(--muted);
}
.checkout-edit-sheet__body .checkout-hint {
  margin-top: 4px;
}
.checkout-edit-sheet__err {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
}
.checkout-edit-sheet__err[hidden] { display: none !important; }
.checkout-edit-sheet__foot {
  flex-shrink: 0;
  margin-top: 12px;
  padding-top: 4px;
}
.checkout-edit-sheet__foot .btn-submit,
#checkoutPersonSheetSave {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

html.is-native .checkout-edit-sheet,
html.is-native .checkout-edit-sheet__panel {
  max-width: 100vw;
}
html.is-native .checkout-edit-sheet__panel {
  max-height: min(88dvh, calc(100vh - var(--safe-top) - 24px));
}
[data-cep-status] {
  display: block;
  min-height: 1.2em;
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
[data-cep-status].is-busy { color: var(--navy); }
[data-cep-status].is-ok { color: #047857; }
[data-cep-status].is-err { color: #b42318; }
input.is-cep-busy {
  background: #fff7ed;
}
#telefone[readonly] {
  background: #f3f6f9;
  color: var(--navy);
}
.checkout-bag {
  margin-bottom: 8px;
}
.checkout-bag__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.checkout-bag__head h2 {
  margin: 0; font-size: 1.05rem; color: var(--navy);
}
.checkout-bag__edit {
  border: 0; background: #eef3f8; color: var(--navy);
  border-radius: 999px; padding: 8px 12px;
  font-size: 12px; font-weight: 700;
}
.checkout-bag__edit.is-on {
  background: var(--navy); color: #fff;
}
.checkout-bag__list { display: grid; gap: 10px; margin-bottom: 12px; }
.checkout-bag__list.is-editing { margin-bottom: 8px; }
.checkout-bag__add {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.checkout-bag__add.is-on { display: flex; }
.checkout-bag__add[hidden] { display: none !important; }
.checkout-bag__add i { font-size: 1.1rem; color: var(--orange); }
.checkout-bag__add:active { transform: scale(.99); background: #fff7ed; border-color: #fdba74; }
.checkout-ticket {
  margin: 0;
  box-shadow: none;
}
.checkout-bag__list:not(.is-editing) .pedido-ticket__top {
  grid-template-columns: 52px 1fr auto;
  align-items: center;
}
.checkout-bag__list:not(.is-editing) .pedido-ticket__line {
  align-self: center;
}
.checkout-sum { margin-top: 4px; }

/* —— Pedidos —— */
.pedidos-hero {
  background: linear-gradient(165deg, var(--navy) 0%, #0c1522 55%, var(--navy2) 100%);
  color: #fff;
  padding: calc(14px + var(--safe-top)) var(--pad) 28px;
}
.pedidos-hero--detail { padding-bottom: 32px; }
.pedidos-hero__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.pedidos-hero__brand {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.pedidos-hero__home {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.8); background: rgba(255,255,255,.06);
  font-size: 1.1rem;
}
.pedidos-hero h1 {
  margin: 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em;
}
.pedidos-hero h1 code {
  font-family: inherit; font-size: 1.25rem; letter-spacing: .02em;
}
.pedidos-hero p {
  margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.4;
}
.pedidos-hero__kicker {
  margin: 0 0 6px; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange2);
}
.pedidos-success-ico {
  width: 56px; height: 56px; border-radius: 18px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: rgba(61, 214, 140, .18); color: #3dd68c; font-size: 1.6rem;
}

/* Celebração PIX pago — mascote + check verde */
.pcn-pay-ok-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  margin: 4px 0 10px;
}
.pcn-pay-ok-hero__face {
  position: relative;
  width: 132px;
  height: 132px;
}
.pcn-pay-ok-hero__face img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
  animation: pcnPayOkBounce 1.15s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.pcn-pay-ok-hero__check {
  position: absolute;
  right: -4px;
  bottom: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(22, 163, 74, .45);
  animation: pcnPayOkCheck .5s .15s both cubic-bezier(.2, .9, .25, 1.15);
}
.pcn-pay-ok-hero h1 { margin-top: 8px; }
.pcn-pay-ok-hero p { max-width: 28ch; }

.pcn-pay-ok {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 11, 18, .58);
  animation: pcnPayOkFade .28s ease;
}
.pcn-pay-ok[hidden] { display: none !important; }
.pcn-pay-ok__card {
  width: min(100%, 340px);
  background: #fff;
  border-radius: 28px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(7, 11, 18, .28);
  animation: pcnPayOkPop .48s cubic-bezier(.2, .85, .2, 1);
}
.pcn-pay-ok__face {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 4px;
}
.pcn-pay-ok__face img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(7, 87, 166, .25));
  animation: pcnPayOkBounce 1.15s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.pcn-pay-ok__check {
  position: absolute;
  right: -2px;
  bottom: 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 18px rgba(22, 163, 74, .4);
  animation: pcnPayOkCheck .5s .18s both cubic-bezier(.2, .9, .25, 1.15);
}
.pcn-pay-ok__card h2 {
  margin: 10px 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
}
.pcn-pay-ok__card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

@keyframes pcnPayOkFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pcnPayOkPop {
  from { opacity: 0; transform: translateY(18px) scale(.92); }
  to { opacity: 1; transform: none; }
}
@keyframes pcnPayOkBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes pcnPayOkCheck {
  from { opacity: 0; transform: scale(.2); }
  70% { transform: scale(1.12); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .pcn-pay-ok-hero__face img,
  .pcn-pay-ok__face img { animation: none; }
  .pcn-pay-ok-hero__check,
  .pcn-pay-ok__check { animation: none; }
}

.pedidos-wrap {
  padding: 16px var(--pad) 8px;
  max-width: 640px; margin: 0 auto;
}

.pedidos-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
  font-size: 13px; color: var(--muted); font-weight: 600;
}
.pedidos-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  border-radius: 16px;
  background: var(--light);
  border: 1px solid var(--line);
}
.pedidos-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 11px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pedidos-tabs__btn em {
  font-style: normal;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(7, 11, 18, .06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.pedidos-tabs__btn.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(7, 11, 18, .08);
}
.pedidos-tabs__btn.is-active em {
  background: rgba(255, 122, 0, .14);
  color: var(--orange);
}
.pedidos-list.is-hidden { display: none !important; }
.pedidos-empty--tab {
  padding: 28px 16px;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fff;
}
.pedidos-empty--tab h2 { font-size: 1.05rem; }
.pedidos-empty--tab > p { margin-bottom: 0; }
.pedidos-toolbar__right {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
}
.pedidos-toolbar__link {
  border: 0; background: transparent; color: var(--orange);
  font-weight: 700; font-size: 13px; padding: 0;
}
.pedidos-view {
  display: inline-flex; padding: 3px; border-radius: 12px;
  background: var(--light); border: 1px solid var(--line); gap: 2px;
}
.pedidos-view__btn {
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; border-radius: 10px; padding: 7px 10px;
  background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 700;
}
.pedidos-view__btn.is-active {
  background: #fff; color: var(--navy);
  box-shadow: 0 1px 4px rgba(7,11,18,.08);
}
.pedidos-view__btn i { font-size: 14px; }

.pedidos-list { display: grid; gap: 14px; min-width: 0; }

/* —— Modo lista (compacto) —— */
.pedidos-list.is-lista { gap: 8px; }
.pedidos-list.is-lista .pedido-card {
  padding: 10px 12px;
  border-radius: 14px;
}
.pedidos-list.is-lista .pedido-card__head {
  margin-bottom: 0; align-items: center;
}
.pedidos-list.is-lista .pedido-card__logo {
  width: 40px; height: 40px; border-radius: 12px;
}
.pedidos-list.is-lista .pedido-card__loja strong { font-size: 14px; }
.pedidos-list.is-lista .pedido-card__resumo {
  display: block; margin-top: 2px;
  font-size: 11px; color: var(--muted); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw;
}
.pedidos-list:not(.is-lista) .pedido-card__resumo,
.pedidos-list:not(.is-lista) .pedido-card__total-mini,
.pedidos-list:not(.is-lista) .pedido-card__side .pedido-card__total-mini { display: none; }
.pedido-card__resumo { display: none; }
.pedido-card__side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto;
}
.pedido-card__total-mini {
  display: none; font-size: 13px; color: var(--navy);
}
.pedidos-list.is-lista .pedido-card__total-mini { display: block; }
.pedidos-list.is-lista .pedido-track,
.pedidos-list.is-lista .pedido-card__code,
.pedidos-list.is-lista .pedido-card__itens,
.pedidos-list.is-lista .pedido-card__hint,
.pedidos-list.is-lista .pedido-card__foot .pedido-card__total {
  display: none;
}
.pedidos-list.is-lista .pedido-card__foot {
  border-top: 0; padding-top: 8px; margin-top: 8px;
}
.pedidos-list.is-lista .pedido-card__actions {
  grid-template-columns: 1fr auto;
}
.pedidos-list.is-lista .pedido-card__btn {
  padding: 9px 12px; font-size: 12px; border-radius: 12px;
}
@media (max-width: 420px) {
  .pedidos-view__btn span { display: none; }
  .pedidos-view__btn { padding: 8px 10px; }
}

.pedido-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 14px 12px;
  box-shadow: 0 8px 22px rgba(7,11,18,.04);
  min-width: 0;
  overflow: hidden;
}
.pedido-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.pedido-card__loja {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.pedido-card__logo {
  width: 44px; height: 44px; border-radius: 14px; overflow: hidden; flex: 0 0 auto;
  background: var(--light); display: grid; place-items: center;
}
.pedido-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.pedido-card__logo.is-empty,
.pedido-card__logo:not(:has(img)) { color: #9aabbc; font-size: 1.1rem; }
.pedido-card__loja strong {
  display: block; font-size: 15px; color: var(--navy); line-height: 1.25;
}
.pedido-card__loja span { font-size: 12px; color: var(--muted); }

.pedido-status {
  display: inline-flex; align-items: center; gap: 5px;
  flex: 0 0 auto; white-space: nowrap;
  border-radius: 999px; padding: 6px 10px;
  font-size: 11px; font-weight: 800;
}
.pedido-status--lg { margin-top: 12px; font-size: 12px; padding: 8px 12px; }
.pedido-status--new { background: #eef3f8; color: #3d5166; }
.pedido-status--prep { background: #fff3e6; color: #b85c00; }
.pedido-status--ready { background: #e8f7ef; color: #0f7a45; }
.pedido-status--ship { background: #e8f1ff; color: #1d4fbf; }
.pedido-status--done { background: #e8f7ef; color: #0f7a45; }
.pedido-status--cancel { background: #fdecec; color: #b42318; }

.pedido-track {
  list-style: none; margin: 0 0 14px; padding: 10px 6px 4px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0; background: var(--light); border-radius: 14px;
  overflow: hidden; min-width: 0; max-width: 100%;
}
.pedido-track--detail {
  padding: 14px 10px 8px; margin-bottom: 8px;
}
.pedido-track__step {
  display: grid; justify-items: center; gap: 6px; position: relative;
  text-align: center; min-width: 0; padding: 0 2px;
}
.pedido-track__step:not(:last-child)::after {
  content: ""; position: absolute; top: 7px; left: 50%;
  width: 100%; height: 2px; background: #d5deea;
  pointer-events: none;
}
.pedido-track__step.is-done:not(:last-child)::after,
.pedido-track__step.is-current:not(:last-child)::after {
  background: var(--orange);
}
.pedido-track__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #c9d3de; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c9d3de; z-index: 1;
}
.pedido-track__step.is-done .pedido-track__dot {
  background: var(--orange); box-shadow: 0 0 0 1px var(--orange);
}
.pedido-track__step.is-current .pedido-track__dot {
  background: #fff; box-shadow: 0 0 0 2px var(--orange);
  animation: trackPulse 1.4s ease infinite;
}
.pedido-track__step.is-cancel .pedido-track__dot {
  background: #b42318; box-shadow: 0 0 0 1px #b42318;
}
@keyframes trackPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.pedido-track__label {
  font-size: 9px; font-weight: 700; color: #9aabbc; line-height: 1.15;
  max-width: 100%; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pedido-track__time {
  font-size: 9px; font-weight: 700; color: var(--orange); line-height: 1.15;
  white-space: nowrap;
}
.pedido-track__step.is-todo .pedido-track__time { display: none; }
.pedido-track__step.is-done .pedido-track__label,
.pedido-track__step.is-current .pedido-track__label {
  color: var(--navy);
}
.pedido-track__step.is-cancel .pedido-track__label { color: #b42318; }
.pedido-track__hint {
  margin: 0 0 16px; font-size: 12px; color: var(--muted);
}
.pedido-status__time {
  display: block; font-style: normal; font-size: 11px; font-weight: 700;
  color: inherit; opacity: .85; margin-top: 2px;
}
.pedido-logistica {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: grid; gap: 6px;
}
.pedido-logistica li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-radius: 10px; background: #f4f7fb;
  font-size: 13px;
}
.pedido-logistica li strong { font-weight: 700; color: var(--navy); }
.pedido-logistica li span { color: var(--muted); font-weight: 650; white-space: nowrap; }
.pedido-logistica li.is-current {
  background: rgba(255, 122, 0, .1);
}
.pedido-logistica li.is-current span { color: var(--orange); }
@media (max-width: 420px) {
  .pedido-track:not(.pedido-track--detail) .pedido-track__label {
    font-size: 8px;
  }
  .pedido-track:not(.pedido-track--detail) .pedido-track__time {
    font-size: 8px;
  }
}

.pedido-card__code {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  margin-bottom: 12px; font-size: 12px; color: var(--muted);
}
.pedido-card__code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; font-weight: 700; color: var(--navy);
  background: var(--light); padding: 3px 8px; border-radius: 8px;
}
.pedido-card__code em { font-style: normal; color: var(--muted); }

.pedido-card__itens {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: grid; gap: 8px;
}
.pedido-card__itens li {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 8px; align-items: start;
  font-size: 13px;
}
.pedido-card__qtd {
  font-weight: 800; color: var(--orange); min-width: 28px;
}
.pedido-card__nome { color: var(--navy); font-weight: 600; }
.pedido-card__nome-wrap { min-width: 0; }
.pedido-card__nome-wrap em {
  display: block; margin-top: 2px; font-style: normal;
  font-size: 11px; color: #8a6a3c; background: #fff8e8;
  border-radius: 8px; padding: 4px 8px; width: fit-content;
}
.pedido-card__itens strong { font-size: 13px; color: var(--navy); white-space: nowrap; }
.pedido-card__more {
  display: block !important; color: var(--muted); font-size: 12px; font-weight: 600;
}
.pedido-card__hint {
  margin: 0 0 12px; font-size: 12px; color: var(--muted);
}

.pedido-card__foot {
  border-top: 1px dashed var(--line); padding-top: 12px;
  display: grid; gap: 12px;
}
.pedido-card__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.pedido-card__total span { font-size: 12px; color: var(--muted); font-weight: 600; }
.pedido-card__total strong { font-size: 1.1rem; color: var(--navy); }
.pedido-card__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pedido-card__btn {
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; padding: 12px 14px;
  font-size: 13px; font-weight: 800; text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
}
.pedido-card__btn--ghost {
  background: #eef3f8; color: var(--navy);
}
.pedido-card__btn--danger {
  background: #fff5f4; color: #b42318;
}
.pedido-cancel-form {
  grid-column: 1 / -1;
}
.pedido-cancel-form .pedido-card__btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.pedido-card__actions:has(> :only-child) {
  grid-template-columns: 1fr;
}

.pedidos-empty {
  text-align: center; padding: 28px 12px 12px;
}
.pedidos-empty__icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--light); color: #9aabbc; font-size: 1.6rem;
}
.pedidos-empty h2 {
  margin: 0 0 6px; font-size: 1.2rem; color: var(--navy);
}
.pedidos-empty > p {
  margin: 0 auto 18px; max-width: 320px;
  font-size: 14px; color: var(--muted); line-height: 1.45;
}
.pedidos-lookup {
  text-align: left; max-width: 360px; margin: 0 auto 16px;
  padding: 14px; border: 1px solid var(--line); border-radius: 16px;
  background: #fff;
}
.pedidos-lookup label {
  display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: var(--navy);
}
.pedidos-lookup__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pedidos-lookup input {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.pedidos-lookup button {
  border: 0; border-radius: 12px; padding: 0 16px;
  background: var(--navy); color: #fff; font-weight: 800;
}
.pedidos-lookup__err { margin: 8px 0 0; color: #b42318; font-size: 12px; font-weight: 600; }
.pedidos-empty__cta {
  display: inline-flex; margin-top: 4px;
  color: var(--orange); font-weight: 800; font-size: 14px;
}

.pedidos-dialog {
  border: 0; border-radius: 20px; padding: 0; width: min(92vw, 380px);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.pedidos-dialog::backdrop { background: rgba(4,8,14,.55); }
.pedidos-dialog form { padding: 18px; display: grid; gap: 10px; }
.pedidos-dialog h3 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.pedidos-dialog input {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.pedidos-dialog__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px;
}
.pedidos-dialog__actions button {
  border: 0; border-radius: 12px; padding: 12px; font-weight: 800;
  background: var(--orange); color: #fff;
}
.pedidos-dialog__actions .is-ghost {
  background: #eef3f8; color: var(--navy);
}

.cart-switch-dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(420px, calc(100% - 28px));
  box-shadow: var(--shadow);
  background: #fff;
}
.cart-switch-dialog::backdrop {
  background: rgba(4, 8, 14, .55);
  backdrop-filter: blur(2px);
}
.cart-switch-dialog__card {
  margin: 0;
  padding: 22px 18px 16px;
  display: grid;
  gap: 10px;
}
.cart-switch-dialog__icon {
  width: 52px; height: 52px; margin: 0 auto;
  border-radius: 14px;
  display: grid; place-items: center;
  background: #fff7ed;
  color: var(--orange);
  font-size: 1.45rem;
}
.cart-switch-dialog h3 {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.cart-switch-dialog__msg {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.cart-switch-dialog__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.cart-switch-dialog__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--light);
  border: 1px solid var(--line);
  font-size: 14px;
}
.cart-switch-dialog__list strong {
  color: var(--navy);
  font-weight: 700;
}
.cart-switch-dialog__list span {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.cart-switch-dialog__hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}
.cart-switch-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.cart-switch-dialog__actions button {
  border-radius: 12px;
  padding: 12px 10px;
  font-weight: 800;
  font-size: .88rem;
  font-family: inherit;
  border: 0;
  cursor: pointer;
}
.cart-switch-dialog__actions .is-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}
.cart-switch-dialog__actions .is-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
}
@media (max-width: 380px) {
  .cart-switch-dialog__actions { grid-template-columns: 1fr; }
}

.pedido-track__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.pedido-pin {
  margin: 16px 0 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
}
.pedido-entregador {
  margin: 16px 0 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}
.pedido-entregador--proprio {
  background: #fff7ed;
  border-color: #fed7aa;
}
.pedido-entregador--proprio .pedido-entregador__tag { color: #c2410c; }
.pedido-entregador--proprio .pedido-entregador__head > i { color: var(--orange); }
.pedido-entregador--parceiro {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border-color: #93c5fd;
}
.pedido-entregador--parceiro .pedido-entregador__tag { color: #1d4ed8; }
.pedido-entregador--parceiro .pedido-entregador__head > i { color: #2563eb; }
.pedido-entregador--parceiro.is-ativo {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.pedido-entregador--parceiro .pedido-entregador__nome {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.35;
}
.pedido-entregador--parceiro .pedido-entregador__nome em {
  font-style: normal;
  font-weight: 700;
  color: #1d4ed8;
}
.pedido-entregador--proprio .pedido-entregador__head > div > span:not(.pedido-entregador__tag),
.pedido-entregador--parceiro .pedido-entregador__head > div > span:not(.pedido-entregador__tag):not(.pedido-entregador__nome) {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.pedido-entregador__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pedido-entregador__head > i {
  font-size: 1.35rem;
  color: var(--orange);
  margin-top: 2px;
}
.pedido-entregador__tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pedido-entregador__head strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: var(--navy);
}
.pedido-entregador__head span[data-entregador-status] {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.pedido-pin__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pedido-pin__head > i {
  font-size: 1.25rem;
  color: var(--orange);
  margin-top: 2px;
}
.pedido-pin__head strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}
.pedido-pin__head span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.pedido-pin__code {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(1.8rem, 7vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .28em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.pedido-detail {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 16px; box-shadow: 0 8px 22px rgba(7,11,18,.04);
}
.pedido-detail__loja { margin-bottom: 16px; }
.pedido-detail__title {
  margin: 0 0 10px; font-size: 12px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.pedido-detail__sum {
  display: grid; gap: 8px; margin: 16px 0;
  padding: 12px; border-radius: 14px; background: var(--light);
  font-size: 13px; color: var(--muted);
}
.pedido-detail__sum div { display: flex; justify-content: space-between; gap: 10px; }
.pedido-detail__sum .is-total {
  margin-top: 4px; padding-top: 8px; border-top: 1px dashed #cfd8e3;
  color: var(--navy); font-weight: 700;
}
.pedido-detail__sum .is-total strong { font-size: 1.15rem; }
.pedido-detail__addr p {
  margin: 0; font-size: 14px; color: var(--navy); line-height: 1.45;
}
.pedido-detail__obs {
  margin-top: 10px !important; font-size: 13px !important; color: var(--muted) !important;
}
.pedido-detail__actions { margin-top: 16px; }
.pedidos-success-card { text-align: left; }
.pedidos-success-code {
  display: inline-block; margin-top: 8px; font-size: 1.1rem; font-weight: 800; color: var(--orange);
}

.pix-pay { text-align: center; }
.pix-pay .pedido-card__code,
.pix-pay .pedido-detail__sum { text-align: left; }
.pix-pay__qr {
  display: block; width: 220px; height: 220px; margin: 18px auto 8px;
  background: #fff; border-radius: 12px;
}
.pix-pay__label {
  display: block; text-align: left; margin-top: 12px; font-size: 13px; font-weight: 700;
}
.pix-pay__copia {
  width: 100%; font-size: 12px; line-height: 1.4; resize: none;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  word-break: break-all;
}
.pix-pay__copy { margin-top: 10px; }
.pix-pay__wait {
  margin: 16px 0 0; font-size: 14px; color: var(--muted); font-weight: 600;
}
.pix-pay__sandbox {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 12px;
  background: #fff6e8; color: #8a4b00; font-size: 13px; line-height: 1.4; text-align: left;
}
.pix-pay__sim { margin-top: 12px; background: var(--navy); }

.pedido-avaliacao {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
}
.pedido-avaliacao__ask {
  margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--navy);
}
.pedido-avaliacao__wait {
  margin: 0; font-size: 13px; color: var(--muted);
}
.pedido-avaliacao__err {
  margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #b42318;
}
.pedido-avaliacao__btns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
.pedido-avaliacao__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; min-height: 84px; border-radius: 16px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 800; font-size: 14px;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pedido-avaliacao__btn i { font-size: 1.4rem; }
.pedido-avaliacao__btn.is-yes.is-on,
.pedido-avaliacao__btn.is-yes:active {
  border-color: #22a96b; background: #e8f7ef; color: #0f7a45;
}
.pedido-avaliacao__btn.is-no.is-on,
.pedido-avaliacao__btn.is-no:active {
  border-color: #e11d48; background: #fdecec; color: #b42318;
}
.pedido-avaliacao__form label {
  display: block; font-size: 12px; font-weight: 700; margin: 4px 0 6px; color: var(--navy);
}
.pedido-avaliacao__form label span { font-weight: 500; color: var(--muted); }
.pedido-avaliacao__form textarea {
  width: 100%; min-height: 78px; resize: vertical;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; font-family: inherit;
}
.pedido-avaliacao__send {
  margin-top: 12px; width: 100%; border: 0; border-radius: 14px; padding: 13px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff; font-weight: 800; font-size: 14px;
}
.pedido-avaliacao__send:disabled {
  opacity: .45; cursor: not-allowed;
}
.pedido-avaliacao__done {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border-radius: 16px; background: var(--light);
}
.pedido-avaliacao__done i { font-size: 1.6rem; margin-top: 2px; }
.pedido-avaliacao__done.is-yes i { color: #22a96b; }
.pedido-avaliacao__done.is-no i { color: #e11d48; }
.pedido-avaliacao__done strong {
  display: block; font-size: 14px; color: var(--navy);
}
.pedido-avaliacao__done p {
  margin: 6px 0 0; font-size: 13px; color: var(--text); line-height: 1.4;
}
.pedido-avaliacao__done span {
  display: block; margin-top: 6px; font-size: 11px; color: var(--muted);
}
.pedido-ent-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.1rem;
  margin: 6px 0;
}
.pedido-ent-stars--pick .pedido-ent-star {
  border: 0;
  background: none;
  padding: 4px;
  color: #d1d5db;
  font-size: 1.5rem;
  cursor: pointer;
}
.pedido-ent-stars--pick .pedido-ent-star.is-on { color: #f59e0b; }
.pedido-ent-reclama {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.pedido-ent-reclama input { width: auto; margin: 0; }
.pedido-avaliacao--entregador { margin-top: 8px; }
.pedido-ent-badge {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.pedido-ent-badge__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c2410c;
}
.pedido-ent-badge__hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.pedido-gorjeta {
  margin: 14px 0 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: #fafcff;
}
.pedido-gorjeta--solo { margin-top: 12px; }
.pedido-gorjeta__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.pedido-gorjeta__title span { font-weight: 500; color: var(--muted); }
.pedido-gorjeta__hint {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.pedido-gorjeta__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.pedido-gorjeta__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
}
.pedido-gorjeta__chip:has(input:checked) {
  border-color: var(--orange);
  background: #fff3ea;
  color: var(--orange);
}
.pedido-gorjeta__chip input { margin: 0; }
.pedido-gorjeta__valor {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}
.pedido-gorjeta__valor:disabled { opacity: .45; }
.pedido-gorjeta__ok {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 700;
}
.pedido-gorjeta__pending {
  margin: 8px 0;
  font-size: 13px;
  color: var(--muted);
}
.pedido-gorjeta-pay__card { padding: 16px; }
.pedido-gorjeta-pay__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}
.pedido-gorjeta-pay__lead i { color: #e11d48; margin-right: 4px; }

.form-page { padding: 16px var(--pad) 40px; max-width: 560px; margin: 0 auto; }
.form-page h1 { margin: 0 0 6px; font-size: 1.4rem; color: var(--navy); }
.form-page .lead { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.form-page label { display: block; font-size: 12px; font-weight: 700; margin: 12px 0 4px; color: var(--navy); }
.form-page input, .form-page select, .form-page textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px;
}
.form-page textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-page .btn-submit {
  margin-top: 20px; width: 100%; border: 0; border-radius: 14px; padding: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff;
  font-weight: 800; font-size: 15px;
}
.form-error {
  background: #fef2f2; color: #b91c1c; padding: 12px; border-radius: 12px; margin-bottom: 12px; font-size: 13px;
}
.form-error__cta {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.pay-opts:has(label:only-child) { grid-template-columns: 1fr; }
.pay-opts label {
  margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px;
  text-align: center; font-size: 12px; cursor: pointer;
}
.pay-opts input { display: none; }
.pay-opts input:checked + span,
.pay-opts label:has(input:checked) {
  border-color: var(--orange); background: #fff3ea; color: var(--orange);
}
.summary-box {
  background: var(--light); border-radius: 14px; padding: 14px; margin-bottom: 8px; font-size: 13px;
}
.summary-box div { display: flex; justify-content: space-between; margin: 4px 0; }
.summary-box .total { font-weight: 800; font-size: 15px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }

.success-box { text-align: center; padding: 40px var(--pad); }
.success-box .ok {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: #dff6e9; color: var(--green); display: grid; place-items: center; font-size: 28px;
}
.success-box h1 { margin: 0 0 8px; color: var(--navy); }
.success-box code { font-size: 1.2rem; font-weight: 800; color: var(--orange); }
.success-box .btn-submit { display: inline-block; width: auto; padding: 12px 24px; margin-top: 18px; }

.page-card {
  margin: 12px var(--pad); padding: 16px; border: 1px solid var(--line); border-radius: 16px;
}
.page-card h2 { margin: 0 0 6px; font-size: 16px; }
.page-card p { margin: 0; color: var(--muted); font-size: 13px; }

/* —— Perfil do cliente —— */
.perfil-hero {
  background: linear-gradient(165deg, var(--navy) 0%, #0c1522 55%, var(--navy2) 100%);
  color: #fff;
  padding: calc(14px + var(--safe-top)) var(--pad) 28px;
}
.perfil-hero__top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.perfil-hero__brand {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.perfil-hero__bell {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.75); background: rgba(255,255,255,.06);
  font-size: 1.1rem; border: 0; padding: 0;
}
.perfil-hero__user {
  display: flex; align-items: center; gap: 14px;
}
.perfil-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--orange), var(--orange2));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(255, 121, 0, .35);
}
.perfil-hero__text h1 {
  margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
}
.perfil-hero__text p {
  margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.62);
  word-break: break-word;
}

.perfil-flash {
  margin: 12px var(--pad) 0; padding: 12px 14px;
  border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #065f46; font-size: 13px; font-weight: 600;
}

.perfil-menu {
  margin: 8px 0 0; padding: 0; background: #fff;
}
.perfil-menu__item {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 16px var(--pad);
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--text);
  text-align: left; font: inherit;
  transition: background .15s ease;
}
.perfil-menu__item:active { background: var(--light); }
.perfil-menu__item:last-child { border-bottom: 0; }
.perfil-menu__ico {
  width: 28px; height: 28px; flex: 0 0 auto;
  display: grid; place-items: center;
  color: var(--muted); font-size: 1.2rem;
}
.perfil-menu__label {
  flex: 1; font-size: 15px; font-weight: 600; color: var(--navy);
}
.perfil-menu__chev {
  color: #b0bcc9; font-size: .95rem;
}
.perfil-menu__item--sair .perfil-menu__label,
.perfil-menu__item--sair .perfil-menu__ico {
  color: #e11d48;
}
.perfil-menu__sair-form { margin: 0; }

.perfil-excluir .page-card { margin-bottom: 14px; }
.perfil-excluir__aviso ul {
  margin: 8px 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 14px; line-height: 1.45;
}
.perfil-excluir__note {
  margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.4;
}
.perfil-excluir__conta {
  margin: 12px 0 0; font-size: 13px; color: var(--navy);
}
.perfil-excluir__erro {
  background: #fef2f2; border-color: #fecaca; color: #991b1b;
}
.perfil-excluir__check {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 14px 0 18px; font-size: 13px; color: var(--muted); line-height: 1.35;
}
.perfil-excluir__check input { margin-top: 2px; accent-color: #e11d48; }
.perfil-excluir__btn {
  width: 100%; border: 0; border-radius: 14px; padding: 14px 16px;
  background: #e11d48; color: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.perfil-excluir__btn:active { opacity: .92; }
.perfil-excluir__cancel {
  display: block; text-align: center; margin-top: 14px;
  font-size: 14px; font-weight: 700; color: var(--muted);
}

.perfil-admin {
  margin: 20px var(--pad) 8px; text-align: center;
}
.perfil-admin a {
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.perfil-admin a:hover { color: var(--orange); }

.perfil-entrar-cta {
  margin: 0 var(--pad) 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
  text-align: center;
}
.perfil-entrar-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .28);
}
.perfil-entrar-cta__btn:active { transform: scale(.98); }
.perfil-entrar-cta p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.perfil-entrar-cta p a {
  color: var(--orange);
  font-weight: 800;
}

/* Cadastro/entrar: sem arraste horizontal (app nativo) */
html:has(body.hub-entrar-page) {
  scroll-behavior: auto;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body.hub-entrar-page,
body.hub-entrar-page .hub-shell {
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  max-width: 100%;
}
body.hub-entrar-page .loja-top,
body.hub-entrar-page .form-page,
body.hub-entrar-page .entrar-card {
  max-width: 100%;
  min-width: 0;
}
body.hub-entrar-page .form-page {
  width: 100%;
  box-sizing: border-box;
}
body.hub-entrar-page .form-page input,
body.hub-entrar-page .form-page select,
body.hub-entrar-page .form-page textarea {
  font-size: 16px;
  max-width: 100%;
  min-width: 0;
}
body.hub-entrar-page .form-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
body.hub-entrar-page .page-card {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.entrar-page { padding-top: 8px; }
.entrar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 8px 28px rgba(7, 25, 42, .06);
}
.entrar-card__icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: #fff7ed;
  color: var(--orange);
  font-size: 1.6rem;
}
.entrar-card__lead {
  margin: 0 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.entrar-err {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}
.entrar-ok {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}
.entrar-dev {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #92400e;
  margin-bottom: 12px;
  font-size: 14px;
  text-align: center;
}
.entrar-dev code {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .12em;
  background: #fff;
  padding: .2rem .5rem;
  border-radius: 8px;
}
.entrar-otp-input {
  text-align: center !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  letter-spacing: .35em !important;
  font-variant-numeric: tabular-nums;
}
.entrar-otp-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.entrar-link-btn {
  background: none;
  border: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.entrar-link-btn:disabled {
  color: var(--muted);
  cursor: not-allowed;
}
.pedidos-lookup__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.entrar-foot {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.entrar-foot a {
  color: var(--orange);
  font-weight: 700;
}

.cadastro-sec {
  margin: 18px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.cadastro-sec:first-of-type,
.cadastro-sec--first {
  border-top: 0;
  padding-top: 0;
  margin-top: 4px;
}
.cadastro-opcional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--muted);
}
.cadastro-card { padding-bottom: 22px; }

/* —— Endereços (casa / trabalho) —— */
.addr-tipo-label {
  margin: 8px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.addr-tipo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 8px;
}
.addr-tipo:has(.addr-tipo__opt:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}
.addr-tipo__opt {
  margin: 0;
  cursor: pointer;
}
.addr-tipo__opt input { position: absolute; opacity: 0; pointer-events: none; }
.addr-tipo__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.addr-tipo__opt input:checked + span,
.addr-tipo__opt:has(input:checked) span {
  border-color: var(--orange);
  background: #fff3ea;
  color: var(--orange);
}
.addr-livre { margin-top: 4px; }
.addr-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.addr-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.addr-card.is-padrao {
  border-color: #f4c9a8;
  background: #fffaf6;
}
.addr-card__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef3f8;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.addr-card.is-padrao .addr-card__ico {
  background: #fff3ea;
  color: var(--orange);
}
.addr-card__body strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}
.addr-card__body em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange);
}
.addr-card__body p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.addr-card__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.addr-card__actions a,
.addr-card__actions button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.addr-card__actions .is-danger { color: #b42318; }
.addr-add-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-bottom: 18px;
}
.addr-padrao-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 14px 0 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.addr-padrao-check input { width: auto; margin: 0; }
.addr-pick {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}
.addr-pick:not(.is-picking) .addr-pick__opt:not(.is-current) {
  display: none;
}
.addr-pick__opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.addr-pick__opt--new span {
  border-style: dashed;
}
.addr-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.addr-pick__opt span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.addr-pick__opt span strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy);
}
.addr-pick__opt span em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.addr-pick__opt input:checked + span {
  border-color: var(--orange);
  background: #fff3ea;
}
.addr-form { margin-top: 8px; }

.pedidos-lookup__row--auth {
  grid-template-columns: 1fr 1fr;
}
.pedidos-lookup__auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.pedidos-lookup__auth-btn.is-ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

/* —— Breakpoints —— */
@media (min-width: 640px) {
  :root { --pad: 24px; }
  .hub-stores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-store__media { height: 148px; }
  .hub-cats { justify-content: flex-start; }
  .hub-cat { min-width: 88px; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --pad: 28px; --bottom: 72px; }
  body.hub-app { background: #d5dde8; padding: 0; }
  .hub-shell {
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    padding-bottom: calc(var(--bottom) + var(--safe-bottom) + 12px);
  }
  .hub-bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100%, var(--content-max));
    height: calc(var(--bottom) + var(--safe-bottom));
    margin-top: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .hub-top {
    border-radius: 0;
    padding-top: calc(18px + var(--safe-top));
    padding-bottom: 32px;
  }
  .hub-top__hello h1 { font-size: 2rem; }
  .hub-search { max-width: none; margin-left: var(--pad); margin-right: var(--pad); }
  .hub-stores { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .hub-store:hover { box-shadow: 0 14px 32px rgba(7,25,42,.1); transform: translateY(-2px); }
  .hub-near, .hub-promo, .hub-ask { max-width: none; }
  .hub-promo { min-height: 180px; }
  .loja-layout:not(.pcn-store-layout) {
    grid-template-columns: 1fr minmax(280px, 340px);
    align-items: start;
    gap: 20px;
    padding: 0 var(--pad);
  }
  .menu-list { padding-bottom: 40px; }
  .cart-panel {
    display: block;
    position: sticky;
    top: 16px;
    align-self: start;
    z-index: 6;
  }
  .cart-panel:not(:has(.cart-bar.is-on)) {
    pointer-events: none;
  }
  .cart-bar {
    position: sticky;
    top: 16px;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    display: none;
    margin: 0;
    border-radius: 16px;
    opacity: 1;
    box-shadow: 0 12px 28px rgba(7, 25, 42, .18);
  }
  .cart-bar.is-on { display: flex; transform: none; }
  .pedido-sheet { align-items: center; padding: 24px; }
  .pedido-sheet__panel {
    border-radius: 24px; max-height: min(80dvh, 720px);
    animation: sheetPop .28s cubic-bezier(.2,.8,.2,1);
  }
  #produtoSheet .produto-sheet__panel,
  #produtoSheet .pedido-sheet__panel {
    height: auto;
    max-height: min(80dvh, 720px);
    margin-bottom: 0;
    border-radius: 24px;
  }
  @keyframes sheetPop {
    from { transform: translateY(24px) scale(.96); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
  .hub-toast { bottom: 24px; }
}

@media (min-width: 1100px) {
  .hub-stores { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hub-main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    padding: 0 var(--pad);
    align-items: start;
  }
  .hub-main-grid .hub-side { position: sticky; top: 16px; }
  .hub-main-grid .hub-section__head,
  .hub-main-grid .hub-stores,
  .hub-main-grid .hub-empty,
  .hub-main-grid .hub-filter-empty { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
}

@media (max-width: 380px) {
  .hub-stores { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hub-store__media { height: 112px; }
  .pay-opts { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* —— PWA install banner —— */
.hub-pwa {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + var(--safe-bottom));
  z-index: 80;
  pointer-events: none;
}
.hub-pwa__card {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: #101826;
  color: #e8f1fa;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  position: relative;
}
.hub-pwa__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,122,0,.16); color: #ff9a23;
  font-size: 1.2rem;
}
.hub-pwa__copy strong {
  display: block; font-size: 13px; font-weight: 800; margin-bottom: 2px;
}
.hub-pwa__copy p {
  margin: 0; font-size: 12px; line-height: 1.35; color: #9aabbc;
}
.hub-pwa__btn {
  border: 0; border-radius: 12px; padding: 10px 12px;
  background: #ff7a00; color: #fff; font-weight: 800; font-size: 12px;
  white-space: nowrap; cursor: pointer;
}
.hub-pwa__close {
  position: absolute; top: 6px; right: 8px;
  border: 0; background: transparent; color: #9aabbc;
  font-size: 18px; line-height: 1; cursor: pointer; padding: 4px;
}
@media (min-width: 900px) {
  .hub-pwa { left: auto; right: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); }
}

/* —— Web Push prompt —— */
.hub-push {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(148px + var(--safe-bottom));
  z-index: 79;
}
.hub-push__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: #0f1c2e;
  color: #e8f1fa;
  border: 1px solid rgba(56, 189, 248, .22);
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
  position: relative;
}
.hub-push__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(56, 189, 248, .14); color: #38bdf8;
  font-size: 1.15rem;
}
.hub-push__copy strong {
  display: block; font-size: 13px; font-weight: 800; margin-bottom: 2px;
}
.hub-push__copy p {
  margin: 0; font-size: 12px; line-height: 1.35; color: #9aabbc;
}
.hub-push__btn {
  border: 0; border-radius: 12px; padding: 10px 12px;
  background: #0ea5e9; color: #fff; font-weight: 800; font-size: 12px;
  white-space: nowrap; cursor: pointer;
}
.hub-push__btn:disabled { opacity: .6; cursor: wait; }
.hub-push__close {
  position: absolute; top: 6px; right: 8px;
  border: 0; background: transparent; color: #9aabbc;
  font-size: 18px; line-height: 1; cursor: pointer; padding: 4px;
}
.cc-box {
  margin: 12px 0 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.cc-box__title { margin: 0 0 8px; font-weight: 800; font-size: 15px; }
.cc-box label { font-size: 13px; font-weight: 700; }
.cc-box input {
  width: 100%; min-height: 48px; font-size: 16px;
  border-radius: 12px; border: 1px solid var(--line); padding: 12px 14px;
}
.cc-fill-sandbox {
  margin: 8px 0 4px; border: 0; background: transparent;
  color: var(--orange); font-weight: 800; font-size: 13px; cursor: pointer;
  padding: 8px 0;
}
.pay-opts span small { display: block; font-weight: 700; opacity: .8; margin-top: 2px; }
@media (min-width: 900px) {
  .hub-push { left: auto; right: 20px; bottom: 92px; width: min(420px, calc(100% - 40px)); }
}

/* Avalia��o opcional + sheet de gorjeta (separado) */
.pedido-opcional{font-size:.78em;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0}
.gorjeta-sheet{
  border:0;padding:0;max-width:420px;width:calc(100% - 28px);border-radius:22px;
  background:transparent;color:inherit;
}
.gorjeta-sheet::backdrop{background:rgba(7,11,18,.62);backdrop-filter:blur(4px)}
.gorjeta-sheet__card{
  position:relative;margin:0;padding:22px 18px 16px;
  background:var(--card,#fff);border-radius:22px;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  display:flex;flex-direction:column;gap:10px;
}
.gorjeta-sheet__close{
  position:absolute;top:10px;right:12px;border:0;background:transparent;
  font-size:28px;line-height:1;color:var(--muted);cursor:pointer;padding:4px 8px;
}
.gorjeta-sheet__icon{
  width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#fff4ea,#ffe0c2);color:#ff6a00;font-size:1.5rem;margin:4px auto 0;
}
.gorjeta-sheet h2{margin:0;text-align:center;font-size:1.25rem;font-weight:800}
.gorjeta-sheet__lead,.gorjeta-sheet__ask{margin:0;text-align:center;color:var(--muted);font-size:.95rem;line-height:1.45}
.gorjeta-sheet__ask strong{color:var(--ink,#0b2140)}
.gorjeta-sheet__opts{justify-content:center}
.gorjeta-sheet__actions{display:flex;gap:10px;margin-top:6px}
.gorjeta-sheet__actions .pedido-avaliacao__send{flex:1;margin:0}
.gorjeta-sheet__actions .pedido-card__btn{flex:1;justify-content:center}
