/* Layout: cabeçalho amarelo fixo (estilo marketplace) → stories de lojas → vitrine em grade → barra flutuante inferior (estilo app). */
:root {
  --sun: #FFE600;          /* amarelo principal da marca */
  --sun-soft: #FFF27A;     /* amarelo claro (tom suave do principal) */
  --navy: #001A53;         /* azul-marinho da logomarca */
  --navy-2: #0B2A73;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #F6F7FB;
  --ink: #1E2638;
  --muted: #5B6480;
  --line: #E2E5EE;
  --ok: #00A650;
  --danger: #D93025;
  --accent-ink: #001A53;
  --header-bg: var(--sun);
  --header-fg: var(--navy);
  --bar-bg: rgba(255, 255, 255, .92);
  --shadow: 0 10px 30px rgba(0, 26, 83, .10), 0 2px 6px rgba(0, 26, 83, .06);
  /* contorno dos stories: degradê com as cores da plataforma — amarelo no alto, azul-marinho à direita, azul claro embaixo e à esquerda (em teste) */
  --ring-new: conic-gradient(#FFE600 0deg, #001A53 100deg, #00FFFF 175deg, #00FFFF 275deg, #FFE600 360deg);
  --ring-seen: #D5D9E2;  /* story já visto: contorno cinza claro */

  --font-display: "Outfit", "Poppins", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* rolagem sem barra visível (como no app) */
html, .sheet { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .sheet::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.45 var(--font-body);
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--header-bg); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 2px; border-radius: 6px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); color: var(--header-fg); box-shadow: 0 1px 0 rgba(0, 26, 83, .08); }
.header-row { display: flex; align-items: center; gap: 10px; padding-block: 10px 8px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #FFFFFF; background: var(--sun-soft); display: grid; place-items: center; flex: none; padding: 0; overflow: hidden; color: var(--navy); font: 700 15px var(--font-display); }
.avatar svg { width: 20px; height: 26px; fill: var(--navy); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
/* Logomarca: P grande + "rimeiro aqui"; ao rolar a página além dos stories, fica só o P */
.brand { display: flex; align-items: center; gap: 5px; flex: none; color: var(--navy); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.brand-pin { width: 29px; height: 39px; fill: currentColor; flex: none; shape-rendering: geometricPrecision; }
.brand-rest { width: 110px; height: 24px; fill: currentColor; position: relative; top: 3px; shape-rendering: geometricPrecision; transition: width .2s ease, opacity .2s ease; }   /* um pouco abaixo do centro do P, sem alinhar na base */
.header.compact .brand-rest { width: 0; opacity: 0; }
.me-slot { display: flex; flex: none; }
.brand:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
/* Foto do usuário (com conta) no lugar do ícone de entrar, sem borda */
.me-photo { width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; overflow: hidden; flex: none; display: grid; place-items: center;
  background: var(--sun-soft); color: var(--navy); font: 700 14px var(--font-display); cursor: pointer; }
.me-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: #FFFFFF; color: #3A4466; border-radius: 999px; padding: 0 12px; height: 36px; box-shadow: 0 1px 3px rgba(0, 26, 83, .15); }
.search .icon { width: 17px; height: 17px; color: #6B7491; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #0E1630; font-size: 14px; line-height: 20px; height: 20px; padding: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-decoration { -webkit-appearance: none; }
.search input::placeholder { color: #7C849E; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(0, 26, 83, .35); }
/* Sugestões da busca */
.search { position: relative; }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 6px 0; max-height: min(62vh, 460px); overflow: auto; text-align: left; }
.sug-tit { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 4px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.sug-tit .link { text-transform: none; letter-spacing: 0; font-size: 13px; }
.sug-item { display: grid; grid-template-columns: 18px minmax(0, 1fr) 28px; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; cursor: pointer; font-size: 14.5px; line-height: 1.3; }
.sug-item > .icon { width: 17px; height: 17px; color: var(--muted); }
.sug-item.ativo, .sug-item:hover { background: var(--surface-2); }
.sug-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.sug-txt b { font-weight: 800; }
.sug-txt small { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.sug-x, .sug-seta { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: 50%; padding: 0; }
.sug-x:hover { background: var(--line); }
.sug-x .icon, .sug-seta .icon { width: 15px; height: 15px; }
.sug-seta .icon { transform: rotate(-45deg); }
.h-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.h-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); }
.h-btn:hover { background: rgba(0, 26, 83, .08); }
.dot { position: absolute; top: 5px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font: 800 10px/17px var(--font-body); text-align: center; border: 2px solid var(--header-bg); box-sizing: content-box; }
.h-btn .dot { top: 3px; right: 1px; min-width: 12px; height: 14px; padding: 0 3px; font-size: 9px; line-height: 14px; border-width: 1.5px; }
.login-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 0; background: #FFFFFF; color: var(--navy); font: 700 14px var(--font-display); margin-left: 4px; box-shadow: 0 1px 3px rgba(0, 26, 83, .15); }
.login-btn .icon { width: 20px; height: 20px; }

/* Cabeçalho compacto ao rolar: foto + stories em loop + lupa */
.full-part { display: contents; }
.mini-part { display: none; flex: 1; min-width: 0; align-items: center; gap: 6px; }
.header.compact .full-part, .header.compact .cats { display: none; }
.header.compact .mini-part { display: flex; }
.mini-stories { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.mini-track { display: flex; gap: 10px; padding: 0 10px; will-change: transform; }
.mini-story { flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 2px; border: 0; background: var(--ring-new); }
.mini-story span { width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--header-bg); display: block; overflow: hidden; background: #FFFFFF; }
.header.compact .header-row { padding-block: 8px; }

/* Categorias (só as que possuem produtos) */
.cats { display: flex; gap: 8px; align-items: center; overflow-x: auto; padding-block: 2px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cats::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; position: relative; height: 30px; padding: 0 2px; margin-right: 10px; border: 0; background: none; color: var(--navy); opacity: .72; font: 400 14px var(--font-display); white-space: nowrap; }
.chip:hover { opacity: 1; }
.chip[aria-pressed="true"] { opacity: 1; }
.chip[aria-pressed="true"]::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--navy); }

/* ---------- Stories ---------- */
.section { padding-block: 18px 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-stories { padding-top: 8px; }
.section-banners { padding-top: 4px; }                            /* stories → banner = banner → ícones (8 px) */
#ofertas { padding-top: 8px; }                                    /* ícones → produtos = 1,5 × banner → ícones (12 px) */
.sec-head[hidden] { display: none; }
.section-stories .sec-head { margin-bottom: 6px; align-items: center; }
.section-stories.sem-stories h2, .section-stories.sem-stories .stories { display: none; }
.sec-head h2 { margin: 0; font: 700 18px/1.2 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }
.sec-head a, .link { color: var(--accent-ink); font-weight: 700; font-size: 13px; text-decoration: none; background: none; border: 0; padding: 0; }
.stories { overflow: hidden; padding-bottom: 6px; margin-inline: -16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
.stories, .mini-stories { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stories.dragging, .mini-stories.dragging { cursor: grabbing; }
.stories img, .stories button, .mini-stories button { -webkit-user-drag: none; }
.stories-track { display: flex; gap: 14px; padding-inline: 16px; will-change: transform; }
.story { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: var(--ink); }
.story-ring { width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: var(--ring-new); }
.story.seen .story-ring, .mini-story.seen { background: var(--ring-seen); }
.story-img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); display: block; overflow: hidden; background: #FFFFFF; }
.story-img img, .mini-story img, .sv-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; pointer-events: none; }
.story-name { font-size: 12px; line-height: 1.2; max-width: 76px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Banner ---------- */
/* Banners: 3 slides, 5 s cada, em loop */
.banners { position: relative; }
.banners { overflow: hidden; border-radius: var(--r-lg); }
.banner-track { display: flex; will-change: transform; touch-action: pan-y; }
.banner-track > .hero { flex: 0 0 100%; min-width: 0; }
/* Setas nas laterais, dentro do banner (no lugar das bolinhas) */
.banner-seta { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  display: none; place-items: center; background: rgba(255, 255, 255, .78); color: var(--navy); box-shadow: 0 1px 4px rgba(0, 26, 83, .18); cursor: pointer; }
.banners.com-setas .banner-seta { display: grid; }
.banner-seta .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.banner-seta-ant { left: 4px; } .banner-seta-ant .icon { transform: rotate(180deg); }
.banner-seta-prox { right: 4px; }
.banner-seta:hover { background: #FFFFFF; } .banner-seta:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.banners.com-setas .hero { padding-inline: 36px; }               /* o texto não fica embaixo das setas */
.hero.hero-sun { background: var(--sun-soft); border-color: transparent; }
.hero.hero-sky { background: #E9F0FF; border-color: transparent; }
.hero.hero-sun::after, .hero.hero-sky::after { background: #FFFFFF; opacity: .55; }
.hero-ico { width: 84px; height: 84px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.btn.btn-navy-line { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 22px 20px; min-height: 160px; }
.hero::after { content: ""; position: absolute; right: -70px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: var(--sun-soft); opacity: .45; }
.hero .hero-title { margin: 0 0 6px; font: 600 clamp(22px, 5vw, 34px)/1.1 var(--font-display); letter-spacing: -.02em; text-wrap: balance; color: var(--navy); }
.hero p { margin: 0 0 14px; color: var(--muted); max-width: 40ch; }
.hero .pin { width: 84px; height: 110px; fill: var(--navy); position: relative; z-index: 1; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; font: 700 15px var(--font-display); }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-navy { background: var(--sun); color: var(--navy); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Atalhos */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }   /* ícones logo abaixo do banner */
.perk { background: var(--surface); border-radius: var(--r-md); padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.perk .icon { color: var(--accent-ink); width: 26px; height: 26px; }
/* Cores só nos ícones dos destaques: verde (frete, igual ao "Frete grátis" dos produtos), azul-marinho da marca
   (segurança), azul-petróleo puxando para o azul claro da marca (parcelamento) e dourado, tom fechado do amarelo (lojas) */
.perk-ship .icon { color: #00A650; }
.perk-safe .icon { color: #001A53; }
.perk-inst .icon { color: #0891B2; }
.perk-cnpj .icon { color: #C99700; }

/* ---------- Produtos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }   /* 6 px entre os produtos, nos dois sentidos */
.card { position: relative; background: var(--surface); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card-img { aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; font-size: 64px; }
.fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #3A4466; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.fav .icon { width: 20px; height: 20px; }
.fav[aria-pressed="true"] { color: var(--danger); }
.fav[aria-pressed="true"] .icon { fill: currentColor; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.card-title { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.old { color: var(--muted); font-size: 12px; text-decoration: line-through; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price { font: 400 22px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.price sup { font-size: 12px; }
.off { color: var(--ok); font-weight: 700; font-size: 13px; }
.inst { font-size: 12px; color: var(--ok); }
.inst-juros { font-size: 12px; color: var(--muted); }
.ship { font-size: 12px; font-weight: 700; color: var(--ok); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.buy-now { display: inline-flex; align-items: center; gap: 4px; min-width: 0; height: 34px; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: var(--navy); color: #FFFFFF; font: 600 12px var(--font-display); white-space: nowrap; }
.buy-now .icon { width: 15px; height: 15px; fill: var(--sun); stroke: var(--sun); flex: none; }
.buy-now:hover { filter: brightness(1.2); }
/* No celular o botão mostra só "Comprar"; em telas maiores, "Comprar agora" */
.buy-now .bn-long { display: none; }
@media (min-width: 600px) { .buy-now .bn-long { display: inline; } .buy-now .bn-short { display: none; } }
.add-cart { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); display: grid; place-items: center; padding: 0; }
.add-cart .icon { width: 20px; height: 20px; }
.add-cart:hover { border-color: var(--sun); background: var(--sun-soft); }
.add-cart.added { background: var(--sun); border-color: var(--sun); }
.add-cart .qty { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--navy); color: #FFFFFF; font: 800 10px/17px var(--font-body); text-align: center; }
.feed-end { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 22px 8px; color: var(--muted); font-size: 13px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--navy); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); background: var(--surface); border-radius: var(--r-md); }

/* Lojas */
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.store-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; text-align: left; color: var(--ink); width: 100%; }
.store-logo { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; flex: none; }
.store-card b { display: block; font-family: var(--font-display); }
.store-card span { font-size: 12px; color: var(--muted); }

/* Faixa vender */
.sell { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--sun-soft); color: var(--navy); border-radius: var(--r-lg); padding: 18px 20px; }
.sell h3 { margin: 0 0 4px; font: 800 20px var(--font-display); }
.sell p { margin: 0; font-size: 14px; max-width: 46ch; }

.footer { text-align: center; color: var(--muted); font-size: 12px; padding-block: 28px 8px; }
.footer svg { height: 22px; width: 100px; fill: currentColor; opacity: .7; display: block; margin: 0 auto 8px; }
.footer-empresa { margin: 2px 0; line-height: 1.5; }   /* dados da empresa (CDC e verificação da Meta) */
.footer-empresa a { color: inherit; }
.footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }   /* acima da barra de baixo */

/* ---------- Barra inferior flutuante ---------- */
.tabbar { position: fixed; z-index: 55; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: min(460px, calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bar-bg); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: 6px 6px; }
.tab { position: relative; display: grid; place-items: center; height: 38px; padding: 0; border: 0; background: none; color: var(--muted); border-radius: 24px; }
.tab .icon { width: 26px; height: 26px; }
.tab { transition: background-color .15s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .tab:hover { background: rgba(30, 38, 56, .07); } }
.tab:active { background: rgba(30, 38, 56, .10); }
.tab[aria-current="page"] { color: var(--navy); }
.tab[aria-current="page"] .icon { stroke-width: 2.6; }
.tab[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--sun); }
.tab .dot { top: 0; right: calc(50% - 22px); border-color: var(--surface); }
.tab-login { color: var(--accent-ink); }

/* ---------- Painéis (bottom sheets) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(0, 10, 35, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet { width: min(520px, 100%); max-height: 88vh; overflow: auto; background: var(--surface); color: var(--ink); border-radius: 24px 24px 0 0; padding: 10px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); animation: up .24s cubic-bezier(.2, .8, .2, 1); }
.grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet-head h2 { margin: 0; flex: 1; min-width: 0; font: 700 20px var(--font-display); }
.sheet-back { flex: none; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; color: var(--ink); }
.x .icon { width: 20px; height: 20px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 700; }
.field input { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); padding: 0 14px; color: var(--ink); }
.field input:focus { outline: 0; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(11, 42, 115, .18); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .err { font-size: 12px; color: var(--danger); font-weight: 600; }
.social { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 12px; font: 700 15px var(--font-display); width: 100%; }
.social-google { background: #FFFFFF; color: #1F1F1F; border: 1.5px solid #DADCE0; }
.social-apple { background: #000000; color: #FFFFFF; border: 1.5px solid #000000; }
.social svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.muted { color: var(--muted); font-size: 13px; margin: 0; }
.center { text-align: center; }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code input { height: 54px; text-align: center; font: 700 22px var(--font-display); border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); width: 100%; min-width: 0; }
.code input:focus { outline: 0; border-color: var(--navy-2); }
.demo-note { background: var(--surface-2); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.demo-note b { color: var(--ink); letter-spacing: .15em; }
.list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1.5px solid transparent; width: 100%; text-align: left; color: var(--ink); }
.row.sel { border-color: var(--navy-2); }
.row .icon { color: var(--muted); }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-size: 14px; }
.row-main span { display: block; font-size: 12px; color: var(--muted); }
.row-thumb { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-size: 26px; flex: none; }
.unread { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); flex: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; font: 700 18px var(--font-display); padding-block: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; background: var(--surface-2); border: 0; color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; }
.cat-tile i { font-style: normal; font-size: 26px; }
.cat-tile small { color: var(--muted); font-weight: 600; }
.toast { position: fixed; z-index: 100; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; animation: up .2s ease; }

/* ---------- Visualizador de stories ---------- */
.sv { position: fixed; inset: 0; z-index: 90; background: #000000; display: flex; justify-content: center; align-items: center; }
.sv-frame { position: relative; width: min(440px, 100%); height: 100%; display: flex; flex-direction: column; gap: 12px; color: #FFFFFF; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px calc(14px + env(safe-area-inset-bottom, 0px)); user-select: none; -webkit-user-select: none; touch-action: none; overflow: hidden; }
@media (min-width: 600px) { .sv-frame { height: min(100%, 860px); border-radius: 16px; } }
.sv-bars { display: flex; gap: 3px; }
.sv-bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .38); overflow: hidden; }
.sv-bars i { display: block; height: 100%; width: 0; background: #FFFFFF; }
.sv-head { display: flex; align-items: center; gap: 10px; }
.sv-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 1.5px solid #FFFFFF; flex: none; background: #FFFFFF; }
.sv-who { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.sv-who b { font: 700 14px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-who small { font-size: 13px; opacity: .75; }
.sv-x { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #FFFFFF; display: grid; place-items: center; }
.sv-x .icon { width: 26px; height: 26px; }
.sv-content { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.sv-caption h3 { margin: 0 0 2px; font: 800 26px/1.1 var(--font-display); text-wrap: balance; text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }
.sv-caption p { margin: 0; font-size: 15px; opacity: .92; }
.sv-prod { background: #FFFFFF; color: #1E2638; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; min-height: 0; }
.sv-prod-img { flex: 1 1 auto; min-height: 120px; max-height: 38vh; aspect-ratio: 1.25; max-width: 100%; display: grid; place-items: center; font-size: clamp(64px, 18vh, 120px); }
.sv-prod-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.sv-prod-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.sv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sv-mini { background: #FFFFFF; color: #1E2638; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.sv-mini-img { aspect-ratio: 1; max-width: 100%; display: grid; place-items: center; font-size: 54px; }
.sv-mini-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.sv-mini-title { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.sv-mini .price { font-size: 18px; }
.sv-mini .off { font-size: 11px; }
.sv-actions { display: flex; gap: 8px; }
.sv-actions .btn { height: 46px; }
.sv-actions .btn-sun { flex: 1; }
.sv-cart-btn { flex: 1; background: #FFFFFF; color: #001A53; }
.sv-cart-btn .icon { width: 20px; height: 20px; }
.sv-cart-btn.done { background: #FFF27A; }
.sv-actions.small { margin-top: 8px; gap: 6px; }
.sv-actions.small .btn { height: 34px; font-size: 12px; padding: 0 8px; }
.sv-actions.small .sv-cart-btn { flex: none; width: 34px; padding: 0; border: 1.5px solid #E2E5EE; }
.sv-store-btn { width: 100%; background: rgba(255, 255, 255, .18); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .5); }
.sv-foot { flex: none; }

/* ---------- Carrinho agrupado ---------- */
.cart-group { margin-bottom: 14px; }
.cart-store { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cart-store b { flex: 1; font-family: var(--font-display); }
.co-logo { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--line); background: #FFFFFF; }
.co-logo img { width: 100%; height: 100%; display: block; }

/* ---------- Checkout ---------- */
body.co-open { overflow: hidden; }
body.co-open .tabbar { display: none; }
.co { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: flex; flex-direction: column; animation: fade .15s ease; }
.co-head { flex: none; background: var(--header-bg); color: var(--navy); padding-top: env(safe-area-inset-top, 0px); }
.co-head-in, .co-body, .co-bar-in { max-width: 640px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.co-head-in { display: flex; align-items: center; gap: 6px; height: 56px; }
.co-head h1 { margin: 0; font: 700 18px var(--font-display); }
.co-back { width: 40px; height: 40px; margin-left: -8px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); display: grid; place-items: center; }
.co-back:hover { background: rgba(0, 26, 83, .08); }
.co-scroll { flex: 1; overflow-y: auto; scrollbar-width: none; }
.co-scroll::-webkit-scrollbar { display: none; }
.co-body { padding-block: 8px 24px; display: flex; flex-direction: column; gap: 4px; }
.co-sec { padding-block: 12px 4px; display: flex; flex-direction: column; gap: 10px; }
.co-sec-head { display: flex; align-items: baseline; justify-content: space-between; }
.co-sec-head h2 { margin: 0; font: 700 17px var(--font-display); }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.co-addr { display: flex; gap: 12px; align-items: flex-start; }
.co-addr .icon, .co-ship .icon, .co-note .icon, .co-gateway .icon { color: var(--navy); width: 20px; height: 20px; flex: none; margin-top: 1px; }
.row-main b { font-weight: 700; }
.co-note { margin: 0; display: flex; gap: 10px; align-items: flex-start; background: var(--sun-soft); color: var(--navy); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.co-store { display: flex; flex-direction: column; gap: 12px; padding: 0; overflow: hidden; }
.co-store-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 0; }
.co-store-head .co-logo { width: 38px; height: 38px; }
.co-store-head .row-main span, .co-ship .row-main span { display: block; font-size: 12px; color: var(--muted); }
.co-items { list-style: none; margin: 0; padding: 0 14px; display: flex; flex-direction: column; gap: 12px; }
.co-item { display: flex; gap: 12px; align-items: flex-start; }
.co-item .row-main { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.co-item .co-item-top, .co-item .co-line-qty { color: var(--ink); font-size: 14px; }
.co-item .co-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.co-item-top b { font-size: 14px; font-weight: 600; line-height: 1.3; min-width: 0; }
.co-trash { flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; }
.co-trash:hover { background: var(--surface-2); color: var(--danger); }
.co-trash .icon { width: 18px; height: 18px; }
.co-item .co-line-qty { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.co-item .co-pricebox { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; }
.co-item .co-sep { display: inline; color: var(--line); font-size: 18px; line-height: 1; }
.co-item .co-price { display: inline; color: var(--ink); font: 400 15px var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-item .co-unit { display: inline; font: 400 12px var(--font-body); color: var(--muted); white-space: nowrap; }
.co-item .co-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 30px; flex: none; }
.co-qty button { width: 28px; height: 28px; border: 0; background: none; color: var(--navy); font: 700 17px/1 var(--font-body); display: grid; place-items: center; border-radius: 999px; }
.co-qty button:hover:not(:disabled) { background: var(--surface-2); }
.co-qty button:disabled { color: var(--line); cursor: default; }
.co-qty output { min-width: 34px; text-align: center; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* ---------- Minha loja / produtos ---------- */
.prod-row .row-main b { font-size: 14px; }
.prod-thumb { overflow: hidden; background: var(--surface-2); color: var(--muted); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pd-ph { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; }
.pd-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-ph em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 10px; font-weight: 800; background: var(--sun); color: var(--navy); padding: 2px 6px; border-radius: 6px; }
.pd-cover { position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 700; border: 0; border-radius: 6px; padding: 2px 6px; background: rgba(255,255,255,.9); color: var(--navy); }
.pd-rm { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #FFFFFF; display: grid; place-items: center; padding: 0; }
.pd-rm .icon { width: 14px; height: 14px; }
.pd-add { aspect-ratio: 1; max-width: 100%; border: 2px dashed var(--line); border-radius: 12px; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 700; }
.pd-add:hover { border-color: var(--navy); color: var(--navy); }
.pd-free { align-self: end; padding-bottom: 12px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 90px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 13px; cursor: pointer; background: var(--surface); }
.seg input:checked + span { border-color: var(--navy); background: var(--sun-soft); color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.field select { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); padding: 0 12px; color: var(--ink); font: inherit; }
.tag-def { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); background: var(--sun); padding: 2px 6px; border-radius: 6px; margin-left: 6px; vertical-align: 1px; }
.addr-item { display: flex; flex-direction: column; gap: 4px; }
.addr-def { align-self: flex-end; font-size: 12px; padding: 0 4px; }
.pf-card { display: flex; flex-direction: column; gap: 8px; }
.pf-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pf-row span { color: var(--muted); }
.pf-row b { text-align: right; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.pf-row label { color: var(--muted); }
.pf-sel { font: inherit; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; max-width: 100%; }   /* sexo (opcional) */
.pf-q { margin: 4px 0 0; font: 700 16px var(--font-display); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.btn .spinner { width: 16px; height: 16px; }
.co-gift { margin: 0 14px; display: flex; flex-direction: column; gap: 10px; }
.co-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.co-check input { accent-color: #001A53; width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.co-check .row-main b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.co-check .row-main b .icon { width: 18px; height: 18px; color: var(--navy); }
.co-check .row-main > span { display: block; font-size: 12px; color: var(--muted); }
.co-gift-body { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; margin-left: 28px; }
.co-gift-no { margin: 0; font-size: 12px; color: var(--muted); }
.co-gift-body textarea, .field textarea { border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); padding: 10px 12px; color: var(--ink); font: inherit; resize: vertical; min-height: 64px; }
.co-gift-done { display: flex; gap: 10px; align-items: flex-start; margin: 0 14px; font-size: 14px; }
.co-gift-done .icon { width: 20px; height: 20px; color: var(--navy); flex: none; }
.co-gift-done .row-main span { display: block; font-size: 13px; color: var(--muted); font-style: italic; }
.s-box { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.s-box legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.co-ship { display: flex; gap: 10px; align-items: flex-start; margin: 0 14px; padding: 10px 12px; background: var(--surface-2); border-radius: 12px; }
.co-ship b { font-size: 14px; }
.co-hint { color: var(--navy) !important; }
.co-sub { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px 12px; border-top: 1px solid var(--line); font-size: 14px; }
.co-sub b { font: 700 16px var(--font-display); font-variant-numeric: tabular-nums; }
.ok { color: var(--ok); }
.co-radio-list { display: flex; flex-direction: column; gap: 8px; }
.co-radio { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; }
.co-radio:has(input:checked) { border-color: var(--navy); }
.co-radio input { accent-color: #001A53; width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.co-radio .row-main span { display: block; font-size: 13px; color: var(--muted); }
.tag-ok { font-style: normal; font-size: 11px; font-weight: 800; color: var(--ok); background: rgba(0, 166, 80, .1); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
.co-card-box { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 4px 34px; }
.co-card-box select { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 12px; color: var(--ink); font: inherit; }
.co-inst-label { font-size: 13px; font-weight: 700; }
.ci-list { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.ci-opt { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 8px 12px; border: 0; background: var(--surface); color: var(--ink); text-align: left; font: inherit; }
.ci-list .ci-opt + .ci-opt { border-top: 1px solid var(--line); }
.ci-opt:hover { background: var(--surface-2); }
.ci-opt.sel { background: var(--sun-soft); }
.ci-cur { border: 1.5px solid var(--line); border-radius: 12px; }
.ci-main { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-card-box .ci-opt .ci-free { color: var(--ok); font-weight: 800; font-size: 13px; margin-left: auto; }
.co-card-box .ci-opt .ci-juros { color: var(--muted); font-size: 12px; margin-left: auto; text-align: right; }
.ci-cur .ci-free, .ci-cur .ci-juros { margin-left: auto; }
.ci-caret { transform: rotate(-90deg); width: 18px; height: 18px; color: var(--muted); flex: none; }
.co-radio .row-main .ci-free-txt, .ci-free-txt { display: inline; color: var(--ok); font-weight: 700; }
.co-inst-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.co-inst-rules li { display: flex; align-items: center; gap: 8px; }
.co-inst-rules .co-logo { width: 24px; height: 24px; }
.co-hint-box { margin: 0; font-size: 12px; color: var(--navy); background: var(--sun-soft); border-radius: 10px; padding: 8px 10px; }
.co-gateway { display: flex; gap: 10px; font-size: 12px; color: var(--muted); }
.co-sum { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.co-sum > div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.co-total { border-top: 1px solid var(--line); padding-top: 10px; font: 700 18px var(--font-display); }
.co-bar { flex: none; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 26, 83, .06); padding-bottom: env(safe-area-inset-bottom, 0px); }
.co-bar-in { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.co-bar-total { display: flex; flex-direction: column; flex: 1; }
.co-bar-total small { color: var(--muted); font-size: 12px; }
.co-bar-total b { font: 700 20px var(--font-display); font-variant-numeric: tabular-nums; }
.co-bar .btn { min-width: 170px; }
.co-bar-2 .btn { flex: 1; min-width: 0; }
.co-done { text-align: center; padding-block: 18px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.co-done-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #FFFFFF; display: grid; place-items: center; }
.co-done-ico .icon { width: 34px; height: 34px; stroke-width: 3; }
.co-done h2 { margin: 6px 0 0; font: 800 24px var(--font-display); }
.co-done p { margin: 0; color: var(--muted); }
.co-pix { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.co-pix p { margin: 0; font-size: 14px; }
.pix-qr { width: 180px; height: 180px; max-width: 100%; }
.pix-code { width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); padding: 0 10px; font: 12px monospace; color: var(--ink); text-overflow: ellipsis; }
.co-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.co-line span:first-child { min-width: 0; }
.co-order { display: flex; flex-direction: column; gap: 6px; }
.co-order-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.co-order-store { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
.co-order-store .row-main span { display: block; font-size: 12px; color: var(--muted); }
.pill { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--sun-soft); color: var(--navy); }
.pill.pago { background: rgba(0, 166, 80, .12); color: var(--ok); }

@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.toast { animation-name: toastIn; }
@keyframes toastIn { from { transform: translate(-50%, 16px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Telas maiores ---------- */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 30px 32px; }
  .hero .pin { width: 120px; height: 158px; }
  .hero-ico { width: 120px; height: 120px; }
}
@media (min-width: 860px) {
  .brand-pin { width: 30px; height: 40px; }
  .brand-rest { width: 128px; height: 28px; top: 2px; }
  .header-row { gap: 16px; padding-block: 12px 10px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sheet-bg { align-items: center; }
  .sheet { border-radius: 24px; }
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Ficha do produto (toque no produto) ---------- */
button.card-img, button.sv-prod-img, button.sv-mini-img { border: 0; padding: 0; width: 100%; cursor: pointer; font-family: inherit; color: inherit; overflow: hidden; }
button.sv-prod-title, button.sv-mini-title { border: 0; padding: 0; background: none; color: inherit; text-align: left; cursor: pointer; font-family: inherit; width: 100%; }
.card[data-open] { cursor: pointer; }
.card-img img, .sv-prod-img img, .sv-mini-img img, .row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-thumb { overflow: hidden; }
/* Página do produto: tela cheia com cabeçalho amarelo (como no Mercado Livre) */
.pp .co-head-in { gap: 8px; }
.pp-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: #FFFFFF; color: #7C849E; font-size: 14px; box-shadow: 0 1px 3px rgba(0, 26, 83, .15); text-align: left; }
.pp-search .icon { width: 17px; height: 17px; color: #6B7491; }
.pp-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-cart { position: relative; margin-left: 0; margin-right: -8px; }
.pp-cart .dot { top: -1px; right: -6px; }
.pp-body { gap: 10px; padding-top: 12px; }
.pp-title { margin: 0; font: 600 19px/1.3 var(--font-body); color: var(--ink); }
.pp-gallery { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); touch-action: pan-y; }
.pp-track { display: flex; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.pp-track img, .pp-ph { flex: 0 0 100%; width: 100%; aspect-ratio: 1; max-height: 52vh; object-fit: contain; background: var(--surface); }
.pp-ph { display: grid; place-items: center; font-size: clamp(90px, 28vw, 170px); }
.pp-count { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.pp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 24px; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.pp-nav.prev { left: 8px; } .pp-nav.next { right: 8px; }
.pp-nav:disabled { opacity: 0; pointer-events: none; }
.pp-dots { display: flex; justify-content: center; gap: 6px; }
.pp-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--line); }
.pp-dots button[aria-current="true"] { background: var(--navy); }
.pp-price { display: flex; flex-direction: column; gap: 2px; }
.pp-price s { color: var(--muted); font-size: 14px; }
.pp-price .price { font-size: 34px; }
.pp-price .price sup { font-size: 15px; }
.pp-price .off { font-size: 16px; }
.pp-price .inst, .pp-price .inst-juros { font-size: 15px; }
.pp-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pp-line .icon { width: 22px; height: 22px; color: var(--navy); flex: none; }
.pp-line small { display: block; color: var(--muted); font-size: 13px; }
.pp-line .ok { color: var(--ok); }
.pp-stock { margin: 4px 0 0; font-size: 14px; }
.pp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pp-actions .btn { height: 48px; font-size: 16px; }
.pp-actions .btn .icon { width: 20px; height: 20px; }
.pp-trust { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.pp-trust li { display: flex; gap: 10px; align-items: flex-start; }
.pp-trust .icon { width: 20px; height: 20px; color: var(--navy); flex: none; }
.pp-trust b { color: var(--ink); }
.pp-seller { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-align: left; font: inherit; color: inherit; cursor: pointer; margin-top: 6px; }
.pp-seller small { display: block; color: var(--muted); font-size: 12px; } .pp-seller b { display: block; }
.pp-seller .co-logo { width: 44px; height: 44px; }
.pi-go { margin-left: auto; color: var(--navy); font-weight: 700; font-size: 13px; white-space: nowrap; }
.pp-h { margin: 16px 0 2px; font: 700 18px var(--font-display); }
.pp-desc { margin: 0; white-space: pre-wrap; font-size: 15px; line-height: 1.55; }
.pp-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; }
.pp-row::-webkit-scrollbar { display: none; }
.pp-mini { flex: 0 0 140px; display: flex; flex-direction: column; gap: 3px; text-align: left; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px; background: var(--surface); cursor: pointer; font: inherit; color: inherit; }
.pp-mini-img { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 48px; overflow: hidden; }
.pp-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-mini-t { font-size: 12.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pp-mini s { font-size: 11px; color: var(--muted); }
.pp-mini b { font-size: 15px; font-weight: 400; }
@media (min-width: 860px) { .pp .co-head-in, .pp-body { max-width: 760px; } }
/* Banners do painel: azul-marinho e imagem */
.hero.hero-navy { background: var(--navy); border-color: transparent; }
.hero.hero-navy .hero-title { color: #fff; } .hero.hero-navy p { color: #C9D3EE; } .hero.hero-navy .pin { fill: var(--sun); }
.hero.hero-navy::after { background: var(--sun); opacity: .18; }
.hero-img { width: clamp(110px, 30vw, 200px); aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); position: relative; z-index: 1; }
.hero .btn { font-weight: 600; }   /* banners: negrito mais leve */

/* ---------- Carrinho em tela cheia ---------- */
.cp .co-head h1 { margin: 0; }
.cp .row-thumb { border: 0; padding: 0; cursor: pointer; }
.cp-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; padding: 40px 16px; }
.cp-empty .icon { width: 48px; height: 48px; color: var(--muted); }
.cp-empty b { color: var(--ink); font-size: 17px; }
.cp .co-sum .muted { font-size: 12px; }

/* ---------- Checkout: presente ---------- */
.co-sub { align-items: center; gap: 10px; flex-wrap: nowrap; }
.co-sub-r { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; white-space: nowrap; }
.co-sub-r small { color: var(--muted); font-size: 12px; }
.co-sub .co-sep { color: var(--line); font-size: 18px; }
.co-gift-toggle { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--navy); cursor: pointer; }
.co-gift-toggle input { accent-color: #001A53; width: 17px; height: 17px; margin: 0; }
.co-gift-toggle .icon { width: 17px; height: 17px; }
.co-wrap-chk { flex: none; display: grid; place-items: center; width: 26px; height: 52px; cursor: pointer; }
.co-wrap-chk input { accent-color: #001A53; width: 19px; height: 19px; margin: 0; }
.co-gift-body { margin: 0 14px 14px; }
.co-gift-hint { margin: 0; display: flex; gap: 8px; font-size: 13px; color: var(--navy); background: var(--sun-soft); border-radius: 10px; padding: 8px 10px; }
.co-gift-hint .icon { width: 18px; height: 18px; flex: none; }
.co-gift-sec { margin: 4px 0 -4px; font: 700 14px var(--font-display); }
.co-gift-addr { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.co-gift-addr .icon { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 2px; }
.co-gift-to { font-style: normal !important; color: var(--ink) !important; }

/* ---------- Página do produto (padrão Mercado Livre) ---------- */
.pp-body { gap: 12px; }
.pp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pp-rate { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); }
.pp-rate b { color: var(--ink); font-weight: 600; }
.st { font-style: normal; color: #D5D9E2; font-size: 13px; letter-spacing: -1px; }
.st.on { color: #2453C9; }
.st.half { background: linear-gradient(90deg, #2453C9 50%, #D5D9E2 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-tools { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 8px; }
.pp-tools .fav { position: static; }
.pp-pix { font-size: 14px; color: var(--ink); }
.pp-pix small { color: var(--muted); }
.pp-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: #2453C9; font-size: 14px; text-align: left; }
.pp-link .icon { width: 16px; height: 16px; }
.pp-ship { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pp-ship > .icon { width: 22px; height: 22px; color: var(--navy); flex: none; }
.pp-ship > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pp-ship b.ok { color: var(--ok); }
.pp-ship small { color: var(--muted); font-size: 13px; }
.pp-stock { margin: 2px 0 0; font-size: 15px; }
.pp-last { color: var(--danger); font-weight: 700; }
.pp-qty { display: flex; align-items: center; gap: 8px; font-size: 15px; flex-wrap: wrap; }
.pp-qty select { height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 10px; font: 700 15px var(--font-body); color: var(--ink); }
.pp-qty small { color: var(--muted); font-size: 13px; }
.pp-qty-n { width: 84px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 10px; font: 700 15px var(--font-body); color: var(--ink); }
.pp-carac h3 { font-size: 15px; margin: 4px 0 8px; }
.pp-carac .pp-table + h3 { margin-top: 16px; }
.pp-add { background: #E7EEFF; color: #2453C9; }
.pp-soldby { align-self: flex-start; border: 0; background: none; padding: 0; font-size: 14px; color: var(--muted); text-align: left; }
.pp-soldby b { color: #2453C9; font-weight: 600; }
.pp-soldby small { margin-left: 4px; }
.pp-sec { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.pp-sec h2 { margin: 0; font: 600 18px var(--font-display); }
.pp-seller { display: flex; align-items: center; gap: 10px; }
.pp-seller b { display: block; } .pp-seller small { color: var(--muted); font-size: 13px; }
.pp-seller-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.pp-seller-stats span { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; display: flex; flex-direction: column; }
.pp-seller-stats b { font-size: 14px; } .pp-seller-stats small { font-size: 11px; color: var(--muted); }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: 10px; overflow: hidden; }
.pp-table th, .pp-table td { text-align: left; padding: 10px 12px; }
.pp-table th { width: 44%; font-weight: 600; background: #EEF0F4; }
.pp-table tr:nth-child(odd) td { background: #F6F7FB; }
.pp-table tr:nth-child(even) th { background: #E4E7EE; }
.pp-ask { display: flex; gap: 8px; }
.pp-ask input { flex: 1; min-width: 0; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 12px; }
.pp-ask .btn { height: 44px; padding: 0 14px; font-size: 14px; }
.pp-h3 { margin: 4px 0 0; font: 600 14px var(--font-body); }
.pp-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-qs li { display: flex; flex-direction: column; font-size: 14px; }
.pp-qs small { color: var(--muted); }
.pp-rev { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.pp-rev-big { display: flex; flex-direction: column; align-items: center; }
.pp-rev-big b { font: 600 44px/1 var(--font-display); color: #2453C9; }
.pp-rev-big .st { font-size: 16px; }
.pp-rev-big small { color: var(--muted); font-size: 12px; }
.pp-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pp-bars li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pp-bars i { height: 6px; border-radius: 3px; background: #E4E7EE; overflow: hidden; }
.pp-bars em { display: block; height: 100%; background: #8A93AD; border-radius: 3px; }
.pay-m { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-m b { display: flex; align-items: center; gap: 6px; } .pay-m .icon { width: 18px; height: 18px; color: var(--navy); }
.pay-m span { color: var(--muted); }
.pay-inst { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; }
.pay-inst li { display: flex; justify-content: space-between; gap: 6px; }
.pay-inst small { color: var(--muted); font-size: 11px; }
@media (min-width: 860px) { .pp-body { max-width: 760px; } }

/* Vitrine: carregando o catálogo do servidor e vitrine ainda sem produtos */
.pa-carregando .section-stories { visibility: hidden; }
.pa-wait { display: flex; align-items: center; justify-content: center; gap: 10px; }
.empty-soon { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 16px; }
.empty-soon b { color: var(--ink); font: 600 18px var(--font-display); }
.empty-soon span { max-width: 36ch; }
.empty-soon .btn { margin-top: 6px; }

/* Stories da loja (área do lojista) */
.st-mine .row { align-items: center; }
.st-mine-bg { width: 44px; height: 64px; border-radius: 8px; flex: none; display: grid; place-items: center; overflow: hidden; }
.st-mine-bg img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; border: 2px solid #FFFFFF; }
.st-mine .row-main > span { display: block; }
.st-pick { position: relative; }
.st-pick[aria-pressed="true"] { border-color: var(--navy); background: var(--sun-soft); }
.st-pick-dot { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: none; }
.st-pick[aria-pressed="true"] .st-pick-dot { border-color: var(--navy); background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.st-pick:disabled { opacity: .45; }   /* já escolheu o máximo de vagas */

/* Nova loja: CNPJ primeiro, dados da Receita Federal (só leitura) */
.rf-search { display: flex; gap: 8px; }
.rf-search input { flex: 1; min-width: 0; }
.rf-search .btn { flex: none; padding-inline: 16px; }
.rf-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; background: #F7F9FC; }
.rf-head { display: flex; align-items: center; gap: 10px; }
.rf-head > svg { width: 22px; height: 22px; flex: none; color: var(--navy, #001A53); }
.rf-head > span:not(.pill) { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 14px; }
.rf-head > span:not(.pill) span { color: var(--muted); font-size: 12.5px; }
.rf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.rf-card .field { min-width: 0; }
.rf-card .field input { width: 100%; min-width: 0; text-overflow: ellipsis; }
.rf-card input[readonly] { background: #EEF2F7; color: #344054; border-color: transparent; cursor: default; }
.rf-card input[readonly]:focus { outline: none; box-shadow: none; }
.rf-note { margin: 0; }
.pf-edit { justify-content: flex-end; }

/* Minha conta: dados do login, barras que abrem na própria tela */
.avatar-lg { width: 56px; height: 56px; font-size: 19px; border-color: var(--line); }
.ac-login { display: flex; flex-direction: column; gap: 12px; }
.ac-login-top { display: flex; align-items: center; gap: 12px; }
.ac-form { border-top: 1px solid var(--line); padding-top: 12px; }
.ac-foto { display: flex; align-items: center; gap: 14px; }
.ac-foto-act { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ac-foto-act .btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ac-sec { border-radius: 14px; background: var(--surface-2); border: 1.5px solid transparent; }
.ac-sec.open { background: var(--surface); border-color: var(--line); }
.ac-bar { display: flex; align-items: center; gap: 12px; padding: 12px; width: 100%; text-align: left; color: var(--ink); border-radius: 14px; background: none; border: 0; font: inherit; cursor: pointer; }
.ac-bar:focus:not(:focus-visible) { outline: none; }
.ac-bar .icon { color: var(--muted); }
.ac-bar .pill { flex: none; }
.ac-chev { width: 18px; height: 18px; transition: transform .15s; }
.ac-sec.open .ac-chev { transform: rotate(90deg); }
.ac-bar:focus-visible { outline: 2px solid var(--navy-2); outline-offset: -2px; }
.ac-body { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 12px; }
.ac-body .pf-card { margin: 0; }
.ac-addrs { display: flex; flex-direction: column; gap: 8px; }
.ac-addr { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; }
.ac-addr-act, .addr-acts { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.addr-acts { align-self: flex-end; padding: 0 4px; }
.link.danger { color: var(--danger); }

/* Foto de perfil da loja */
.st-logo { background: var(--surface-2); color: var(--muted); }
.st-logo .icon { width: 22px; height: 22px; }
.st-perfil { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-perfil .row-main { flex: 1 1 160px; }
.st-perfil .btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.field .lbl { font-size: 13px; font-weight: 700; }
.req { font-style: normal; font-weight: 600; font-size: 11px; color: var(--danger); margin-left: 6px; text-transform: uppercase; letter-spacing: .03em; }

/* Minhas lojas: foto ao lado do nome (tocar para enviar ou trocar) */
.ac-loja-head { display: flex; align-items: center; gap: 2px; padding-left: 12px; }
.ac-loja-head .ac-bar { flex: 1; min-width: 0; padding-left: 10px; }
.ac-loja-foto { position: relative; flex: none; cursor: pointer; border-radius: 50%; }
.ac-loja-foto:focus-within, .ac-loja-foto:hover .avatar { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.ac-cam { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #FFFFFF;
  display: grid; place-items: center; border: 2px solid var(--surface); }
.ac-cam .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.ac-cam.falta { background: var(--danger); }
.avatar.enviando { opacity: .45; }
.falta-foto { color: var(--danger) !important; font-weight: 600; }
.ac-foto-btn { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.sheet-bg.sem-anim, .sheet-bg.sem-anim .sheet { animation: none; }

/* Olho (exibir/ocultar dados completos da empresa) */
.pf-titulo { align-items: center; }
.pf-titulo b { text-align: left !important; font-size: 14px; }
.ac-olho { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ac-olho .icon { width: 20px; height: 20px; }
.ac-olho[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; }
.ac-mais { display: flex; flex-direction: column; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ac-body [data-store-open] { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Telas em página inteira (no lugar da janela que subia de baixo) */
.sheet-bg { align-items: stretch !important; background: var(--bg); animation: fade .15s ease; }
.sheet { width: 100% !important; max-width: none; max-height: none; height: 100%; border-radius: 0 !important; padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px)); animation: none; }
.sheet .grab { display: none; }
.sheet-head { position: sticky; top: 0; z-index: 2; margin: 0 0 14px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  background: var(--surface); border-bottom: 1px solid var(--line); }
.sheet-content { width: min(720px, 100%); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }

/* Minha conta · dados do login e lojas */
.avatar-xl { width: 84px; height: 84px; font-size: 28px; border: 0; }
.foto-ed { position: relative; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; flex: none; }
.foto-ed:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; }
.foto-ed-ic { position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #FFFFFF;
  display: grid; place-items: center; border: 2px solid var(--surface); }
.foto-ed-ic .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.foto-ed-ic.falta { background: var(--danger); }
.avatar.enviando { opacity: .45; }
.ac-perfil { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 4px; }
.ac-nome { display: flex; align-items: center; gap: 6px; max-width: 100%; }
.ac-nome b { font: 700 18px var(--font-display); overflow-wrap: anywhere; }
.ac-nome input { height: 42px; border-radius: 12px; border: 1.5px solid var(--navy-2); background: var(--surface); padding: 0 12px; font: 600 16px var(--font-body); color: var(--ink); min-width: 0; width: 230px; }
.ic-btn { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ic-btn .icon { width: 17px; height: 17px; }
.ic-btn.salvar { background: var(--navy); color: #FFFFFF; }
.ac-nofoto { align-self: center; font-size: 13px; }
.ac-login-sec .ac-bar .avatar { width: 40px; height: 40px; border: 0; }
.ac-loja-head { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; cursor: pointer; }
.ac-loja-head .pill { flex: none; }
.ac-nome-linha { display: flex; align-items: center; gap: 4px; min-width: 0; }
.ac-nome-linha b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-nome-linha .ic-btn { width: 30px; height: 30px; background: transparent; }
.ac-tog { width: 34px; height: 34px; flex: none; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.ac-tog:focus-visible { outline: 2px solid var(--navy-2); }
.ac-sec.open .ac-tog .ac-chev { transform: rotate(90deg); }
.pf-col { flex-direction: column; align-items: flex-start; gap: 2px; }
.pf-col b { text-align: left !important; font-weight: 600; }
.st-perfil .ac-nome-linha b { font-size: 16px; }

/* Escolher foto (computador): Câmera ou Arquivo */
.foto-menu-bg { position: fixed; inset: 0; z-index: 120; background: rgba(0, 10, 35, .45); display: grid; place-items: center; padding: 16px; }
.foto-menu { width: min(320px, 100%); background: var(--surface); border-radius: 18px; padding: 8px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.foto-menu button { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border: 0; background: none; border-radius: 12px; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; text-align: left; }
.foto-menu button:hover, .foto-menu button:focus-visible { background: var(--surface-2); outline: none; }
.foto-menu .foto-menu-x { justify-content: center; color: var(--muted); }
.cam-box { width: min(520px, 100%); background: #000; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.cam-box video { width: 100%; max-height: 70vh; background: #000; transform: scaleX(-1); }
.cam-acts { display: flex; gap: 10px; justify-content: center; padding: 12px; background: var(--surface); }

/* Página da loja */
.st-perfil > .pill { flex: none; }

/* Produtos da loja: lista com item, descrição, valor e estoque */
.pl-sort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.pl-sort label { font-weight: 700; }
.pl-sort select { height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 10px; font: inherit; color: var(--ink); }
.pl-dir { height: 38px; padding: 0 12px; font-size: 13px; }
.pl-head, .pl-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.pl-head { padding: 0 12px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pl-head span:nth-child(3), .pl-head span:nth-child(4) { text-align: right; }
.pl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl-item { border-radius: 14px; background: var(--surface-2); border: 1.5px solid transparent; }
.pl-item.open { background: var(--surface); border-color: var(--line); }
.pl-row { padding: 10px 12px; cursor: pointer; border-radius: 14px; }
.pl-row:focus-visible { outline: 2px solid var(--navy-2); outline-offset: -2px; }
.pl-n { font: 700 14px var(--font-display); color: var(--muted); }
.pl-desc { min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.pl-desc b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pl-val, .pl-est { justify-self: end; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-v { display: inline-flex; align-items: center; gap: 2px; }
.pl-v .ic-btn { width: 28px; height: 28px; background: transparent; }
.pl-ed { display: inline-flex; align-items: center; gap: 4px; }
.pl-ed input { width: 84px; height: 34px; border-radius: 10px; border: 1.5px solid var(--navy-2); padding: 0 8px; font: inherit; text-align: right; }
.pl-est .pl-ed input { width: 60px; }
.pl-more { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.pl-info { display: flex; gap: 12px; align-items: flex-start; }
.pl-info .pf-card { flex: 1; min-width: 0; }
.pl-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-acts .btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; font-size: 14px; }
.btn.danger { color: var(--danger); }

/* Stories de produtos */
.ss-list .ss-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.ss-item .row-main > span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ss-acts { display: flex !important; flex-wrap: wrap; gap: 14px; margin-top: 6px !important; font-size: 13px !important; }
.ss-ed { display: flex !important; align-items: center; gap: 4px; margin-top: 4px; }
.ss-ed input { flex: 1; min-width: 0; height: 36px; border-radius: 10px; border: 1.5px solid var(--navy-2); padding: 0 10px; font: inherit; color: var(--ink); }
.prev-bg { background: rgba(0, 10, 35, .7); }
.st-prev { width: min(360px, 100%); aspect-ratio: 9 / 16; max-height: 86vh; border-radius: 20px; overflow: hidden; color: #FFFFFF; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.st-prev-top { display: flex; align-items: center; gap: 8px; padding: 12px; font-size: 14px; }
.st-prev-top b { flex: 1; }
.st-prev-top .x { background: rgba(255, 255, 255, .18); color: #FFFFFF; }
.st-prev-img { width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin: 8px auto 0; background: #FFFFFF; }
.st-prev-txt { margin-top: auto; padding: 16px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.st-prev-txt b { font: 800 22px var(--font-display); }
.st-prev-txt span { font-size: 15px; }

/* Cadastro de produto: descrição dentro do campo */
.pd-form .field input::placeholder, .pd-form textarea::placeholder { color: #7C849E; }
.pd-form select:invalid, .pd-form select option[value=""] { color: #7C849E; }

/* Faixa de stories: sem cópias quando todas as lojas cabem (nada de loja repetida) */
.no-loop > [aria-hidden="true"] { display: none; }

/* Foto da loja em Minha conta: círculo perfeito (o botão não estica a foto) */
.ac-loja-foto { padding: 0; border: 0; background: none; width: 44px; height: 44px; line-height: 0; }
.ac-loja-foto .avatar { width: 44px; height: 44px; aspect-ratio: 1 / 1; border: 0; border-radius: 50%; }
.ac-loja-foto .avatar img, .st-logo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.foto-ed .avatar-xl { aspect-ratio: 1 / 1; }
.ac-tit-acts { display: inline-flex; align-items: center; gap: 4px; }

/* Balão do endereço de entrega (ícone ao lado da busca) */
.h-actions { position: relative; }
.addr-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: min(280px, calc(100vw - 32px));
  background: var(--surface, #FFFFFF); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 26, 83, .18); }
.addr-pop::before { content: ""; position: absolute; top: -6px; right: 54px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.addr-pop-in { position: relative; display: grid; gap: 2px; width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; color: var(--ink, #0B1630); font: inherit; font-size: 14px; line-height: 1.35; cursor: pointer; border-radius: 14px; }
.addr-pop-in:hover, .addr-pop-in:focus-visible { background: var(--surface-2); }
.addr-pop-in .muted { font-size: 12px; }
.nw { white-space: nowrap; }

/* Produtos: botão "novo produto" = bola amarela 3D com + em negrito, à direita da ordenação */
.pl-sort { display: flex; align-items: center; gap: 8px; }
.bola-add { margin-left: auto; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--navy); background: #FFE600; }
.bola-add .icon { width: 24px; height: 24px; stroke-width: 3.4; }
.bola-add:hover { background: #F5DC00; }
.bola-add:active { background: #EBD300; }
.bola-add:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* Cadastro do produto: fotos recolhidas; aberta = botão pequeno + miniaturas lado a lado */
.pd-fotos-sec { border: 1px solid var(--line, #E3E6EE); border-radius: 14px; background: var(--surface); }
.pd-fotos-bar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 14px; }
.pd-fotos-bar .row-main span { color: var(--muted); font-size: 13px; }
.pd-fotos-sec.open .ac-chev { transform: rotate(180deg); }
#pd-fotos-body { padding: 0 14px 14px; }
.pd-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pd-add-p { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px dashed var(--navy-2, #3B4A75); border-radius: 999px; background: none; color: var(--navy); font: 600 13px var(--font-body, inherit); cursor: pointer; }
.pd-add-p .icon { width: 16px; height: 16px; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-thumbs:empty { display: none; }
.pd-th { position: relative; width: 56px; height: 56px; padding: 0; border: 1px solid var(--line, #E3E6EE); border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; display: grid; place-items: center; }
.pd-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-th em { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 26, 83, .78); color: #FFFFFF; font: 600 9px/1.5 var(--font-body, inherit); font-style: normal; text-align: center; }
.ph-view { position: fixed; inset: 0; z-index: 400; background: rgba(5, 10, 25, .92); display: grid; place-items: center; padding: 56px 16px 84px; }
.ph-view img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.ph-view .ph-x { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.ph-acts { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.ph-acts .btn { background: rgba(255, 255, 255, .95); }
.ph-capa { align-self: center; color: #FFFFFF; font-weight: 600; }

/* Características do produto (cadastro e página do produto) */
.pd-car { display: grid; gap: 12px; padding: 12px 14px; border: 1px solid var(--line, #E3E6EE); border-radius: 14px; background: var(--surface); }
.pd-car-g { display: grid; gap: 8px; }
.pd-car-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14px; }
.pd-car-add { justify-self: start; display: inline-flex; align-items: center; gap: 4px; }
.pd-car-add .icon { width: 15px; height: 15px; }
.pd-car-list { display: grid; gap: 8px; }
.pd-car-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: 6px; align-items: center; }
.pd-car-row input { min-width: 0; }
.pd-car-row .car-k { font-weight: 700; }
.pp-car { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 6px; }
.pp-car b { font-weight: 700; }
.pp-sec h3 { margin: 10px 0 2px; font-size: 15px; }

/* Selo "Você viu" no canto de baixo à direita da foto do produto */
.card-img { position: relative; }
.visto { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(236, 239, 245, .82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #3D465C; font: 600 11px/1.4 var(--font-body, inherit); pointer-events: none; animation: visto-in .3s ease; }
.visto[hidden] { display: none; }
@keyframes visto-in { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .visto { animation: none; } }
/* Atalhos da página inicial que filtram os produtos */
.perk-btn { border: 0; font-family: inherit; cursor: pointer; }
.perk-btn:hover { box-shadow: 0 0 0 1px var(--line) inset; }
.perk-btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy) inset; color: var(--navy); }
.perk-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Cabeçalho das telas alinhado com o conteúdo (mesma largura e margens) */
.sheet-head { padding-left: 0 !important; padding-right: 0 !important; }
.sheet-head-in { display: flex; align-items: center; gap: 6px; width: min(720px, 100%); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.sheet-head-in h2 { margin: 0; flex: 1; min-width: 0; font: 700 20px var(--font-display); }
.sheet-head-in .sheet-back { margin-left: -8px; }
.sheet-acoes { display: inline-flex; gap: 4px; margin-right: -8px; }
/* Seção com cabeçalho e botões (Dados do login, Dados pessoais, Endereços) */
.ac-head { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; cursor: pointer; border-radius: 14px; }
.ac-head > .icon { color: var(--muted); flex: none; }
.ac-head .row-main { min-width: 0; flex: 1; }
.ac-head .ac-nome-linha { display: flex; align-items: center; gap: 2px; min-width: 0; }
.ac-head .ac-nome-linha b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-head .ic-btn { width: 32px; height: 32px; }
.ac-login-head .avatar { width: 44px; height: 44px; border: 0; flex: none; }
.ac-login-head .foto-ed .avatar { width: 44px; height: 44px; }
.ac-login-head .foto-ed-ic { width: 20px; height: 20px; right: -3px; bottom: -3px; }
.ac-login-head .foto-ed-ic .icon { width: 11px; height: 11px; }
.ac-foto-del { flex: none; color: var(--danger) !important; margin-right: -4px; }
.ac-login-head .ac-nome { display: flex; align-items: center; gap: 4px; }
.ac-login-head .ac-nome input { min-width: 0; flex: 1; padding: 6px 10px; }
/* Bola amarela 3D pequena (novo endereço, nova loja) */
.bola-add.bola-sm { width: 34px; height: 34px; margin-left: 0; }
.bola-add.bola-sm .icon { width: 19px; height: 19px; stroke-width: 3.4; }
.ac-lojas-tit { display: flex; align-items: center; justify-content: space-between; }
.ac-lojas-tit h2 { display: flex; align-items: baseline; gap: 8px; }
.ac-lojas-tit h2 .muted { font-size: 14px; font-weight: 500; }
/* Endereços: nome + ícones na mesma linha; endereço na linha toda, no máximo 2 linhas */
.ac-addr { display: grid; gap: 2px; padding: 10px 12px; }
.ac-addr-top { display: flex; align-items: center; gap: 6px; min-height: 32px; }
.ac-addr-top b { flex: 1; min-width: 0; }
.ac-addr-act { display: inline-flex; gap: 2px; flex: none; }
.ac-addr-act .ic-btn { width: 32px; height: 32px; }
.ac-addr-act .danger { color: var(--danger); }
.ac-addr-txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.4; }
.ac-addr-def { justify-self: start; margin-top: 2px; font-size: 13px; }
/* Telas largas: a seta de voltar fica na margem, e o título alinha com o conteúdo */
@media (min-width: 820px) {
  .sheet-head-in { position: relative; }
  .sheet-head-in .sheet-back { position: absolute; left: -36px; margin: 0; }
}
.ac-head { color: var(--ink); }
.ac-head .row-main > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Importar produtos por planilha */
.imp-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.imp-passo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.imp-passo .row-main { display: grid; gap: 6px; min-width: 0; }
.imp-passo .row-main > span { color: var(--muted); font-size: 14px; }
.imp-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sun, #FFE600); color: var(--navy); font: 700 13px var(--font-display); }
.imp-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.imp-btn .icon { width: 18px; height: 18px; }
.imp-prev { display: grid; gap: 8px; padding: 14px; }
.imp-erros { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--ink); max-height: 260px; overflow: auto; }
.danger-t { color: var(--danger); font-weight: 600; }

/* Celular: só o P da logomarca (mais espaço para a busca) */
@media (max-width: 600px) { .brand-rest { display: none; } }
/* Puxar a página (no celular e no app instalado): o espaço que aparece fica amarelo. O Safari do iPhone usa só a COR
   de fundo do html nessa área (ignora gradiente); o conteúdo fica por cima, no fundo claro do body. */
html { background: #FFE600; }
/* App aberto pelo atalho (iPhone): ao puxar, o espaço entre o relógio e o site não usa a cor do html. Esta camada amarela
   fica fixa atrás de tudo na metade de cima da tela: escondida pelo conteúdo e visível só no espaço que abre ao puxar. */
html::before { content: ""; position: fixed; left: 0; right: 0; top: -100vh; height: 150vh; background: #FFE600; z-index: -1; pointer-events: none; }
/* Mudar de conta: ícone com o nome embaixo (no celular, só o ícone) */
.acao-rot { width: auto !important; min-width: 40px; height: auto !important; padding: 4px 6px !important; border-radius: 12px !important; display: inline-flex !important; flex-direction: column; align-items: center; gap: 1px; }
.acao-rot .rot { font: 600 10px/1.1 var(--font-body, inherit); color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .acao-rot .rot { display: none; } .acao-rot { width: 40px !important; height: 40px !important; padding: 0 !important; border-radius: 50% !important; justify-content: center; } }
/* Nome com o lápis colado, no mesmo tom do texto (a regra geral de .row-main span deixava em bloco e cinza) */
.row-main .ac-nome-linha { display: flex; align-items: center; gap: 2px; color: var(--ink); }
.st-perfil { flex-wrap: nowrap; }
.st-perfil .row-main { display: grid; gap: 6px; min-width: 0; }
.st-perfil .ac-nome-linha b { white-space: normal; }
.st-situ { display: block; }
body { min-height: 100vh; min-height: 100dvh; }

/* Pedidos da loja */
.badge-n { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #FFE600; color: var(--navy); font: 700 12px/22px var(--font-body, inherit); text-align: center; }
.ped-filtros { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ped-filtros::-webkit-scrollbar { display: none; }
.ped-chip { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--font-body, inherit); cursor: pointer; white-space: nowrap; }
.ped-chip span { color: var(--muted); font-weight: 500; }
.ped-chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.ped-chip[aria-selected="true"] span { color: #FFE600; }
.ped-list { display: grid; gap: 8px; }
.ped-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ped-row { display: flex; align-items: center; gap: 10px; padding: 12px; cursor: pointer; border-radius: 14px; }
.ped-row .row-main { min-width: 0; flex: 1; }
.ped-row .row-main .icon { width: 14px; height: 14px; vertical-align: -2px; }
.ped-val { display: grid; justify-items: end; gap: 4px; flex: none; }
.ped-item.open .ac-chev { transform: rotate(90deg); }
.ped-more { padding: 0 12px 12px; display: grid; gap: 10px; }
.ped-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ped-itens li { display: flex; align-items: center; gap: 10px; }
.ped-itens .row-main { flex: 1; min-width: 0; }
.ped-itens .icon { width: 14px; height: 14px; vertical-align: -2px; }
.ped-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ped-acts .btn { display: inline-flex; align-items: center; gap: 6px; }
.ped-rastreio { flex: 1 1 220px; }
.ped-rastreio input { width: 100%; }
.pill.warn { background: #FFF3BF; color: #6B5200; }
.pill.info { background: #E6EEFF; color: #1D3A8A; }
.pill.good { background: rgba(0, 166, 80, .12); color: var(--ok); }
.pill.bad { background: rgba(220, 38, 38, .1); color: var(--danger); }
@media (min-width: 720px) { .ped-filtros { flex-wrap: wrap; overflow: visible; } }

/* Pedidos: número vermelho na barra de baixo e em Minha conta */
.tab { position: relative; }
.tab-dot { position: absolute; top: 2px; left: 55%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger, #DC2626); color: #FFFFFF; font: 700 11px/18px var(--font-body, inherit); text-align: center; border: 2px solid var(--bar-bg, #FFFFFF); }
.tab-dot[hidden] { display: none; }
.badge-v { display: inline-block; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--danger, #DC2626); color: #FFFFFF; font: 700 11px/20px var(--font-body, inherit); text-align: center; vertical-align: 1px; margin-left: 4px; }
/* Meus pedidos (Minha conta): colunas Pedidos | Aprovados | Enviados | Devoluções */
.vd-cols { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.vd-cols > span { display: grid !important; justify-items: center; padding: 4px 2px; border-radius: 10px; background: var(--surface-2); }
.vd-cols small { font-size: 11px; color: var(--muted); }
.vd-cols b { font-size: 16px; color: var(--ink); }
.vd-loja { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; font: inherit; color: inherit; cursor: pointer; margin-top: 8px; }
.vd-loja > b { grid-column: 1; }
.vd-loja > .vd-cols { grid-column: 1; margin-top: 0; }
.vd-loja > .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); }
/* Página de pedidos: abas das lojas, nome da loja, colunas Comprador | Qtd. | Valor total */
.vd-lojas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.vd-lojas::-webkit-scrollbar { display: none; }
.vd-aba { flex: none; border: 0; background: none; padding: 10px 12px; font: 600 14px var(--font-body, inherit); color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.vd-aba[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.vd-nome { margin: 0; font: 700 18px var(--font-display); }
.vd-cab, .vd-row { display: grid; grid-template-columns: minmax(0, 1fr) 52px 104px 20px; align-items: center; gap: 8px; }
.vd-cab { padding: 0 12px; font-size: 12px; color: var(--muted); font-weight: 600; }
.vd-cab span:nth-child(2), .vd-c2 { text-align: center; }
.vd-cab span:nth-child(3), .vd-c3 { text-align: right; }
.vd-c1 { display: grid; min-width: 0; }
.vd-c1 b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-c1 small { color: var(--muted); font-size: 12px; }
.vd-c1 .icon { width: 13px; height: 13px; vertical-align: -2px; }
.vd-c2 { font-weight: 700; }
.ped-sit { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ped-sit select { min-width: 140px; }
.co-order-acts { display: flex !important; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.co-order-acts .btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; }
.row-main .badge-v { display: inline-block !important; width: auto; color: #FFFFFF; }

/* Variações: cadastro, página do produto e carrinho */
.pd-var { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pd-var-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pd-var-h .link { display: inline-flex; align-items: center; gap: 4px; }
.pd-var-h .link .icon { width: 15px; height: 15px; }
.pd-var-list { display: grid; gap: 8px; }
.pd-var-list:empty { display: none; }
/* Grupo de variação: à esquerda a variação 1 (Cor: Preta); à direita, na frente dela, as opções da variação 2 (uma abaixo da
   outra, cada uma com o seu estoque); abaixo de tudo as fotos do grupo */
.pd-var-g { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pd-var-v1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.pd-var-subs { display: grid; gap: 6px; }
.pd-var-sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 66px auto; gap: 6px; align-items: center; }
.pd-var-g input { min-width: 0; }
.pd-var-g .var-k, .pd-var-g .var-k2 { font-weight: 700; }
.pd-sub-add { justify-self: start; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; }
.pd-sub-add .icon { width: 14px; height: 14px; }
.pd-var-g .var-fotos { grid-column: 1 / -1; }
.pd-var-g .var-fotos[hidden] { display: none; }
.pd-th-ver { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pd-th-ver img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-th-ver:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
/* Celular: a variação 1 fica em coluna (nome em cima, opção embaixo) para sobrar espaço para a variação 2 */
@media (max-width: 560px) {
  .pd-var-g { grid-template-columns: minmax(0, 33fr) minmax(0, 67fr); gap: 8px 6px; padding: 8px; }
  .pd-var-v1 { grid-template-columns: minmax(0, 1fr) auto; }
  .pd-var-v1 .var-k { grid-column: 1; } .pd-var-v1 .var-v { grid-column: 1; grid-row: 2; } .pd-var-v1 [data-var-rm] { grid-column: 2; grid-row: 1 / 3; }
  .pd-var-sub { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 42px auto; gap: 4px; }
  .pd-var-g input { padding-left: 7px; padding-right: 4px; font-size: 14px; }
  .pd-var-g .ic-btn { width: 26px; height: 26px; }
}
#pd-stock[readonly] { background: var(--surface-2); color: var(--muted); }
.pp-vars { display: grid; gap: 8px; margin: 10px 0; }
.pp-var-g { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pp-var { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 7px 12px; font: 600 14px var(--font-body, inherit); cursor: pointer; }
.pp-var[aria-checked="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy) inset; }
.pp-var:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.co-var { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

/* Minhas vendas em Minha conta: título e colunas na mesma linha; lojas com nome + colunas na mesma linha */
.vd-bar .vd-linha { display: flex !important; align-items: center; gap: 12px; flex-wrap: nowrap; min-width: 0; }
.vd-bar .vd-linha > b { flex: none; white-space: nowrap; }
.vd-bar .vd-cols, .vd-loja .vd-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; flex: 1; min-width: 0; }
.vd-cols > span { padding: 3px 2px; }
.vd-cols small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.vd-loja { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; }
.vd-loja > b { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-loja > .vd-cols { grid-column: 2; }
.vd-loja > .icon { grid-column: 3; grid-row: 1; }
@media (max-width: 420px) { .vd-cols small { font-size: 10px; } .vd-cols b { font-size: 15px; } .vd-bar .vd-linha { gap: 8px; } }
@media (max-width: 480px) {
  .vd-bar > .icon:first-child { display: none; }
  .vd-bar { padding-left: 12px; padding-right: 8px; gap: 6px; }
  .vd-bar .vd-cols, .vd-loja .vd-cols { flex: none; width: 174px; gap: 4px; }
  .vd-loja { grid-template-columns: minmax(0, 1fr) 174px auto; padding: 10px 8px 10px 12px; gap: 6px; }
  .vd-cols > span { padding: 3px 0; }
  .vd-cols small { font-size: 10px; letter-spacing: -.1px; overflow: visible; text-overflow: clip; }
  .vd-bar .vd-linha > b { font-size: 15px; }
}
@media (max-width: 480px) { .vd-loja > b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; } }

/* Minhas vendas: ícone da situação (verde · laranja · vermelho) e linha do tempo */
.vd-cab, .vd-row { grid-template-columns: 30px minmax(0, 1fr) 52px 104px 20px !important; }
.sit-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; flex: none; }
.sit-ic .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.sit-ic.verde { background: #16A34A; } .sit-ic.laranja { background: #EA8A0B; } .sit-ic.vermelho { background: #DC2626; } .sit-ic.cinza { background: #8A93A6; }
.sit-txt { font-weight: 700; } .sit-txt.verde { color: #15803D; } .sit-txt.laranja { color: #B86A00; } .sit-txt.vermelho { color: #DC2626; } .sit-txt.cinza { color: var(--muted); }
.tl { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; background: var(--surface); }
.tl-tit { font-size: 14px; }
.tl-lista { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.tl-it { position: relative; display: grid; gap: 1px; padding-left: 8px; }
.tl-it::before { content: ""; position: absolute; left: -21px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #8A93A6; border: 2px solid var(--surface); }
.tl-it.verde::before { background: #16A34A; } .tl-it.laranja::before { background: #EA8A0B; } .tl-it.vermelho::before { background: #DC2626; } .tl-it.azul::before { background: var(--navy); }
.tl-q { font-size: 12px; color: var(--muted); }
.tl-t { font-size: 14px; }
.tl-obs { font-weight: 700; }
.tl-nova { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-nova input { flex: 1 1 220px; min-width: 0; }
.tl-nova .btn { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 480px) { .vd-cab, .vd-row { grid-template-columns: 26px minmax(0, 1fr) 30px 86px 16px !important; gap: 6px; } .sit-ic { width: 26px; height: 26px; } }
.vd-cab span:nth-child(2) { text-align: left; }
.vd-cab span:nth-child(3) { text-align: center; }
.vd-cab span:nth-child(4) { text-align: right; }

/* Asaas: cartão na página segura e recebimentos da loja */
.co-asaas { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px; }
.co-asaas .icon { flex: none; color: #16A34A; }
.rec-form { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface); }
img.pix-qr { width: 220px; height: 220px; image-rendering: pixelated; justify-self: center; }
/* Selo (Ativa, Em análise…) dentro de linhas: só do tamanho da palavra (a regra geral de .row-main span deixava em bloco) */
.row-main .pill { display: inline-block; width: auto; font-size: 11px; color: var(--navy); }
.row-main .pill.pago { color: var(--ok); }
.row-main .pill.warn { color: #6B5200; }
.row-main .pill.info { color: #1D3A8A; }
/* Fotos por variação: miniaturas na linha da variação; fotos gerais desligadas */
.var-foto-add { cursor: pointer; display: grid; place-items: center; align-content: center; gap: 0; color: var(--navy); border-style: dashed; background: var(--surface); }
.var-foto-add .icon { width: 18px; height: 18px; }
.var-foto-add small { font-size: 10px; font-weight: 700; }
.var-foto-rm { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #FFFFFF; cursor: pointer; }
.var-foto-rm .icon { width: 12px; height: 12px; }
.pd-fotovar .row-main > span { display: block; }
.pd-fotos-sec.pd-off { opacity: .55; }
.pd-fotos-sec.pd-off .pd-fotos-bar { cursor: not-allowed; }
.pd-fotos-off { display: block; padding: 0 14px 12px; font-size: 13px; color: var(--muted); }
/* Stories da loja: situação e visualizações na mesma linha */
.ss-item .row-main > span > span { display: inline; font-size: inherit; }
/* Minhas compras: observações da loja (linha do tempo) */
.co-order-store .row-main .co-obs { display: grid; gap: 6px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); color: var(--ink); font-size: 13px; }
.co-order-store .row-main .co-obs b { font-size: 13px; }
.co-obs .tl-lista { gap: 6px; }
.co-order-store .row-main .co-obs .tl-q { display: block; font-size: 11.5px; color: var(--muted); }
.co-order-store .row-main .co-obs .tl-t { display: block; font-size: 13px; color: var(--ink); }
.co-order-store { align-items: flex-start; }
.co-order-store .row-main .pill { display: inline-block; width: auto; }
/* Instalar o app: faixa no alto (abaixo dos stories); com o topo encolhido, presa 1 cm abaixo dele. Passo a passo do iPhone/Mac */
.inst-lugar { margin: 0 0 4px; }
.inst-lugar:empty { display: none; }
.app-inst { position: relative; z-index: 54; margin: 0 auto 14px; width: min(460px, 100%);
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); animation: toastIn .25s ease; }
.app-inst img { width: 44px; height: 44px; border-radius: 11px; }
.inst-txt { display: grid; gap: 2px; min-width: 0; } .inst-txt b { font-size: 14.5px; } .inst-txt span { font-size: 12.5px; color: var(--muted); }
.inst-acts { display: grid; gap: 2px; justify-items: center; } .inst-acts .btn { padding: 8px 14px; min-height: 0; font-size: 14px; } .inst-acts .link { font-size: 12.5px; }
body.co-open .app-inst { display: none; }
.inst-topo { display: flex; gap: 12px; align-items: center; } .inst-topo img { border-radius: 16px; flex: none; } .inst-topo p { margin: 0; }
.inst-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.inst-passos li { display: grid; grid-template-columns: 28px 22px minmax(0, 1fr); gap: 10px; align-items: center; }
.inst-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sun, #FFE600); color: var(--navy); font-weight: 800; }
.inst-passos .icon { width: 22px; height: 22px; color: var(--navy); }
/* Puxar para atualizar (app instalado): círculo de carregar estilo iPhone no espaço amarelo */
.ptr { position: fixed; left: 50%; width: 28px; height: 28px; margin-left: -14px; z-index: 49; opacity: 0; pointer-events: none; transition: opacity .15s ease, top .25s ease; }
.ptr svg { width: 28px; height: 28px; display: block; }
.ptr line { stroke: var(--navy, #001A53); stroke-width: 3; stroke-linecap: round; }
.ptr.gira svg { animation: ptrGira .9s steps(12) infinite; }
@keyframes ptrGira { to { transform: rotate(360deg); } }
/* Atualizando: o espaço amarelo abre logo abaixo da barra fixa (o espaço reservado da barra cresce) */
body.ptr-aberto .header-espaco { height: calc(var(--altura-topo, 132px) + env(safe-area-inset-top, 0px) + 56px); }
/* Barra de cima FIXA no topo da tela (não "estica" junto quando se puxa a página no celular). O espaço que ela ocupa
   fica reservado pelo .header-espaco (altura da barra completa, medida pelo site). */
.header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; }
.header-espaco { height: calc(var(--altura-topo, 132px) + env(safe-area-inset-top, 0px)); background: #FFE600; transition: height .25s ease; }   /* amarelo: escondido atrás da barra; aparece no espaço que abre ao puxar */
/* Confirmar WhatsApp */
.wa-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-wa .link { display: inline; padding: 0; }

/* Fotos: fundo enquanto carregam (o espaço já é reservado pelo aspect-ratio dos cartões, galeria e miniaturas) */
.pp-track img, .row-thumb img, .co-logo img, .story-img img, .hero-img { background-color: var(--surface-2, #F2F4F8); }

/* Endereço achado pelo CEP: resumo com "Alterar" à direita */
.addr-achado span { flex: 1 1 auto; min-width: 0; }
.addr-achado .link { flex: none; align-self: center; }
.hint.addr-nc { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Vitrine paginada: enquanto busca, a grade fica esmaecida (sem pular a tela) */
#grid.buscando { opacity: .45; transition: opacity .15s; min-height: 240px; }

/* ---------- Versão nova disponível ---------- */
.nv-bar { position: fixed; z-index: 61; left: 50%; transform: translateX(-50%); top: calc(10px + env(safe-area-inset-top, 0px)); width: min(460px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; background: var(--navy); color: #FFFFFF; border-radius: 16px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; }
.nv-bar .btn { padding: 8px 14px; flex: none; }

/* ---------- WhatsApp: confirmação enviada pelo cliente ---------- */
.wa-entrada a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.wa-manual { font-size: 13px; line-height: 1.45; }
.wa-espera { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Aviso de cookies (acima da barra de baixo) ---------- */
.ck-bar { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); width: min(460px, calc(100% - 24px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.ck-bar p { margin: 0; }
.ck-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-acts .btn { padding: 10px 12px; }
.ck-sheet p { margin: 0; line-height: 1.45; }
body.co-open .ck-bar { display: none; }

/* ---------- Quem viu o story (dono da loja) ---------- */
.ss-olho { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.ss-olho .icon { width: 16px; height: 16px; }
.qv-lista { display: grid; gap: 2px; }
.qv-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 2px; }
.qv-item .muted { font-size: 12px; }
.qv-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--sun-soft, #FFF7B3); color: var(--navy); }
.sv-olho { position: absolute; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #FFFFFF; font: inherit; font-weight: 800; cursor: pointer; }
.sv-olho .icon { width: 18px; height: 18px; }
.sv-foot:has(+ .sv-olho) { padding-bottom: 56px; }
.sv-qv { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; max-height: 60%; overflow: auto; background: var(--surface); color: var(--ink); border-radius: 18px 18px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
.sv-qv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sv-qv .sv-x { position: static; color: var(--ink); background: var(--surface-2); }

/* ---------- Banners de loja na grade (patrocinados) ---------- */
.card-bl { padding: 0; cursor: pointer; font: inherit; color: inherit; background: var(--surface-2); min-height: var(--altura-card, 0px); text-align: left; }
.card-bl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; font-size: 0; }   /* se a arte falhar, não mostra o texto alternativo por cima */
.card-bl-cel { height: calc(var(--altura-card, 347px) * 1.1); min-height: 0; }   /* celular: 10% mais alto que o cartão */
.card-bl-cel.card-bl-c { height: var(--altura-card, 347px); }                         /* celular: alguns do tamanho do cartão */
/* "Pisca" com um zoom leve (3%) e volta, para chamar atenção; cada banner começa num momento diferente.
   Quem pediu menos movimento no aparelho não vê a animação. */
/* O zoom acontece logo que o banner entra na tela (classe bl-na-tela) e repete a cada 3,6 s enquanto ele estiver visível. */
@keyframes bl-pulsa { 0%, 50%, 100% { transform: scale(1); } 22% { transform: scale(1.03); } }
@media (prefers-reduced-motion: no-preference) {
  .bl-pulsa.bl-na-tela { animation: bl-pulsa 2s ease-in-out infinite; will-change: transform; }   /* um zoom a cada 2 s */
  .bl-pulsa:hover, .bl-pulsa:focus-visible { animation-play-state: paused; }
}
/* Celular: 2 colunas independentes ("mural"). Cada coluna desce com o espaço normal entre os cartões; o banner, mais
   alto, só deixa a coluna dele mais comprida (o outro lado não fica com buraco). */
.grid > .mural { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-items: start; }
.mural-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bl-tag { position: absolute; left: 8px; top: 8px; z-index: 1; font-size: 10px; font-weight: 700; letter-spacing: .02em; color: #FFFFFF; background: rgba(0, 26, 83, .72); padding: 2px 7px; border-radius: 999px; }
.card-bl:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---------- Página da loja (aberta pelo banner, "Ir para a loja" ou stories) ---------- */
.loja-head { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.loja-head-logo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--line); background: #FFFFFF; }
.loja-head-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loja-head-txt { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.loja-head-txt b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loja-head-txt span { font-size: 13px; color: var(--muted); }
.loja-head-x { flex: none; font-size: 13px; padding: 8px 12px; }

/* ---------- Cidade da vitrine (localização) ---------- */
.cidade-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 60%; margin: 0 0 0 auto; flex: none; padding: 6px 11px 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--navy); font-family: inherit; font-weight: 700; font-size: 13px; line-height: 1.2; cursor: pointer; }
.cidade-chip .icon { width: 16px; height: 16px; flex: none; }
.cidade-chip .icon:last-child { width: 14px; height: 14px; transform: rotate(90deg); opacity: .7; }
.cidade-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; margin: 4px 0; }
.feed-sep::before, .feed-sep::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.feed-aviso { justify-content: flex-start; gap: 8px; color: var(--ink, #1B1F2A); font-weight: 400; background: var(--surface-2); border-radius: var(--r-md); padding: 10px 12px; }
.feed-aviso::before, .feed-aviso::after { display: none; }
.feed-aviso .icon { width: 18px; height: 18px; flex: none; color: var(--navy); }
.cid-lista .row { width: 100%; }

/* Faixa de instalar presa abaixo do topo encolhido (1 cm abaixo da barra) */
.app-inst.presa { position: fixed; left: 50%; transform: translateX(-50%); top: calc(var(--inst-topo, 64px) + 1cm); width: min(460px, calc(100% - 24px)); margin: 0; }

/* ---------- Banners do Primeiro Aqui (quando não há banner cadastrado) ---------- */
.bl-casa { display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 16px 14px 14px; border: 1px solid var(--line); overflow: hidden; }
.bl-casa b { font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.bl-casa-txt { font-size: 13.5px; line-height: 1.35; opacity: .85; }
.bl-casa-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .55); }
.bl-casa-ic .icon { width: 26px; height: 26px; }
.bl-casa-acao { margin-top: auto; align-self: flex-start; font-weight: 800; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #FFFFFF; }
.bl-casa-marca { width: 92px; height: 20px; opacity: .55; align-self: flex-start; }
.bl-casa-sun { background: var(--sun, #FFE600); color: var(--navy); }
.bl-casa-navy { background: var(--navy); color: #FFFFFF; } .bl-casa-navy .bl-casa-acao { background: var(--sun, #FFE600); color: var(--navy); } .bl-casa-navy .bl-casa-ic { background: rgba(255, 255, 255, .14); }
.bl-casa-sky { background: #DCEBFF; color: var(--navy); }
.bl-casa-white { background: var(--surface); color: var(--navy); } .bl-casa-white .bl-casa-ic { background: var(--surface-2); }
.card-bl.bl-casa:not(.card-bl-cel) { min-height: var(--altura-card, 0px); }
.bl-wa { position: absolute; right: 6px; bottom: 6px; z-index: 1; width: 36px; height: 36px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .28)); }   /* logo do WhatsApp: o verde passa ~1,5 px do contorno branco */
a.card-bl { text-decoration: none; }
.card-bl.bl-vazio { cursor: default; }   /* lugar de banner sem arte: só a caixa, sem conteúdo */

/* Selo "Você já comprou" (cartão e página do produto) */
.ja-comprou { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; width: auto; font-size: 11.5px; font-weight: 700; color: #0B6B3A; background: #E3F6EC; padding: 2px 8px 2px 6px; border-radius: 999px; margin: 0 0 4px; }
.ja-comprou .icon { width: 13px; height: 13px; stroke-width: 3; }
.feed-rel { margin-top: 14px; color: var(--navy); font-size: 15px; }

.cidade-chip[hidden] { display: none; }
