:root {
  --roxo: #2b0a3d;
  --roxo-2: #4a1366;
  --rosa: #d01f9a;
  --rosa-2: #f04dbd;
  --ouro: #f2b63c;
  --bg: #f4f1f7;
  --card: #ffffff;
  --txt: #2a2233;
  --muted: #7d7389;
  --line: #ece6f1;
  --ok: #18a058;
  --erro: #e0364f;
  --whats: #1fae54;
  --raio: 14px;
  --max: 680px;
  --nav-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#app { max-width: var(--max); margin: 0 auto; min-height: 100vh; }

/* ---------- capa + loja ---------- */
.cover {
  position: absolute; left: 0; right: 0; top: 0; height: 170px; overflow: hidden;
  background: linear-gradient(135deg, var(--roxo), var(--roxo-2) 60%, var(--rosa));
}
.cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,10,61,0) 55%, rgba(43,10,61,.35)); }

.store {
  position: relative; margin-top: 110px; background: var(--card);
  border-radius: 18px 18px 0 0; padding: 62px 18px 22px; text-align: center;
}
.store-logo {
  position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 104px; border-radius: 22px; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 6px 20px rgba(43,10,61,.25); background: var(--roxo);
}
.store-head { display: flex; align-items: center; justify-content: center; gap: 6px; }
.store h1 { font-size: 1.4rem; font-weight: 900; margin: 0; color: var(--roxo); }
.slogan { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.chev { color: var(--muted); }
.tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--muted);
}
.tag svg { width: 15px; height: 15px; }
.tag.status.open { color: var(--ok); background: #e7f7ee; border: 1px solid #bfe9d0; }
.tag.status.closed { color: var(--erro); background: #fff; border: 1px solid #f3b4bf; }
.store-lines { list-style: none; padding: 0; margin: 12px auto 0; text-align: left; max-width: 440px; }
.store-lines li { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); padding: 4px 0; }
.store-lines li svg { width: 18px; height: 18px; color: var(--rosa); }
.store-lines li.warn { color: var(--erro); font-weight: 700; }
.store-lines li.warn svg { color: var(--erro); }

/* bordinha ondulada estilo Goomer */
.wave {
  position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 10px -4px, var(--card) 10px, transparent 11px) repeat-x;
  background-size: 20px 10px;
}

/* ---------- categorias ---------- */
.cats {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; overflow-x: auto;
  padding: 18px 14px 10px; background: var(--bg); scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: none; padding: 8px 16px; border-radius: 999px; background: var(--card); font-weight: 800; font-size: .88rem;
  color: var(--roxo); border: 1px solid var(--line); transition: .2s;
}
.cats a.on { background: var(--roxo); color: #fff; border-color: var(--roxo); }

.cat h2 { font-size: 1.15rem; font-weight: 900; margin: 0; padding: 16px 16px 10px; color: var(--roxo); }
.list { background: var(--card); }
.item {
  display: flex; gap: 14px; padding: 18px 16px; border-bottom: 1px solid var(--line); align-items: center;
  transition: background .15s;
}
.item:active { background: #faf6fc; }
.item-txt { flex: 1; min-width: 0; }
.item h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }
.item p {
  margin: 0 0 10px; color: var(--muted); font-size: .86rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item strong { font-weight: 800; color: var(--rosa); }
.item img { width: 92px; height: 92px; border-radius: 12px; object-fit: cover; flex: none; background: var(--roxo); }

.carousel { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.hi { position: relative; }
.selo {
  display: inline-block; font-style: normal; font-size: .7rem; font-weight: 900; letter-spacing: .02em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; color: #fff; background: var(--rosa);
}
.selo-novidade { background: var(--roxo); }
.selo-promocao { background: var(--ouro); color: var(--roxo); }
.selo.sobre { position: absolute; top: 8px; left: 8px; margin: 0; z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.product-head .selo { margin-bottom: 8px; }
.voando { position: fixed; z-index: 999; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: 0 8px 24px rgba(43,10,61,.35); }
.confete { position: fixed; inset: 0; pointer-events: none; z-index: 999; overflow: hidden; }
.confete i { position: absolute; display: block; }
.hi { flex: none; width: 150px; background: var(--card); border-radius: var(--raio); overflow: hidden; scroll-snap-align: start; box-shadow: 0 2px 10px rgba(43,10,61,.06); }
.hi img { width: 100%; height: 120px; object-fit: cover; display: block; background: var(--roxo); }
.hi b { display: block; font-size: .88rem; padding: 8px 10px 2px; }
.hi span { display: block; font-size: .85rem; color: var(--rosa); font-weight: 800; padding: 0 10px 10px; }

.foot { text-align: center; padding: 34px 16px 100px; color: var(--muted); font-size: .85rem; }
.foot img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.foot p { margin: 8px 0; font-weight: 800; color: var(--roxo); }
.foot small { font-weight: 600; color: var(--muted); }
.foot a { text-decoration: underline; }

/* ---------- barra de sacola ---------- */
.bag-bar {
  position: fixed; z-index: 30; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom));
  width: calc(100% - 24px); max-width: calc(var(--max) - 24px);
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(90deg, var(--roxo), var(--roxo-2)); color: #fff; font-weight: 800;
  box-shadow: 0 8px 24px rgba(43,10,61,.35); animation: sobe .25s ease-out;
}
.bag-bar span:nth-child(2) { flex: 1; }
.bag-count { background: var(--rosa); border-radius: 8px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: .85rem; padding: 0 6px; }
@keyframes sobe { from { transform: translate(-50%, 20px); opacity: 0; } }

/* ---------- navegação inferior ---------- */
.bottom-nav {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: center;
}
.bottom-nav a {
  position: relative; flex: 1; max-width: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: .74rem; font-weight: 700; color: #a49bb0;
}
.bottom-nav a.on { color: var(--rosa); }
.bottom-nav .badge {
  position: absolute; top: 7px; left: calc(50% + 6px); background: var(--rosa); color: #fff; font-size: .68rem;
  min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px;
}
.bottom-nav .badge[hidden] { display: none; }
body[data-rota="p"] .bottom-nav, body[data-rota="finalizar"] .bottom-nav { display: none; }
body[data-rota="p"], body[data-rota="finalizar"] { padding-bottom: 0; }

/* ---------- páginas internas ---------- */
.page { min-height: 100vh; padding-bottom: 120px; }
.topbar {
  position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 8px; background: #fff; border-bottom: 1px solid var(--line); font-weight: 800;
}
.topbar i { width: 40px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:active { background: var(--bg); }

.product-img { background: var(--roxo); aspect-ratio: 16 / 10; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-head { position: relative; background: #fff; padding: 18px 16px 22px; margin-bottom: 18px; }
.product-head h1 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 900; }
.product-head p { margin: 0 0 12px; color: var(--muted); line-height: 1.45; }
.product-head strong { color: var(--rosa); font-size: 1.1rem; }

.group { background: #fff; margin-bottom: 12px; }
.group-head {
  position: sticky; top: 56px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 16px; background: #f8f5fa; border-bottom: 1px solid var(--line);
}
.group-head h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.group-head small { color: var(--muted); font-size: .8rem; }
.group-flags { display: flex; gap: 6px; align-items: center; flex: none; }
.count { font-size: .75rem; font-weight: 800; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.count.ok { color: var(--ok); border-color: #bfe9d0; }
.pill.req { font-size: .7rem; font-weight: 800; background: var(--roxo); color: #fff; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .02em; }
.group.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.opt-txt span { display: block; font-weight: 600; }
.opt-txt small { color: var(--muted); font-size: .82rem; }
.opt.on .opt-txt span { font-weight: 800; color: var(--roxo); }
.opt.is-check { cursor: pointer; }
.check { width: 24px; height: 24px; border: 2px solid #cfc5d8; border-radius: 7px; flex: none; transition: .15s; position: relative; }
.opt.on .check { background: var(--rosa); border-color: var(--rosa); }
.opt.on .check::after { content: ''; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

textarea, .field input, .field select {
  width: 100%; font: inherit; color: var(--txt); padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; outline: none; transition: border .15s;
}
textarea { display: block; margin: 12px 16px 16px; width: calc(100% - 32px); resize: none; }
textarea:focus, .field input:focus, .field select:focus { border-color: var(--rosa); }

.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.stepper button { width: 40px; height: 44px; font-size: 1.3rem; font-weight: 800; color: var(--rosa); }
.stepper b { min-width: 24px; text-align: center; }
.stepper.mini button { width: 32px; height: 34px; font-size: 1.1rem; }
.opt:not(.on) .stepper.mini { border-color: transparent; }
.opt:not(.on) .stepper.mini b, .opt:not(.on) .stepper.mini button:first-child { visibility: hidden; }

.buy-bar {
  position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: var(--max);
  display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(43,10,61,.06);
}
body[data-rota="sacola"] .buy-bar { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
body[data-rota="sacola"] .page { padding-bottom: 110px; }
body[data-rota="finalizar"] .page { padding-bottom: 150px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 12px;
  font-weight: 800; font-size: .98rem; transition: transform .1s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.primary { background: linear-gradient(90deg, var(--rosa), var(--rosa-2)); color: #fff; flex: 1; justify-content: space-between; }
.btn.primary:only-child, .empty-state .btn.primary { justify-content: center; }
.btn.block { width: 100%; }
.btn.whats { background: var(--whats); color: #fff; width: 100%; }
.btn.whats svg { width: 22px; height: 22px; }
.btn.ghost { background: var(--bg); color: var(--roxo); }

/* ---------- busca ---------- */
.search { display: flex; align-items: center; gap: 10px; margin: 14px; padding: 0 14px; background: #fff; border-radius: 12px; border: 1.5px solid var(--line); }
.search svg { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; padding: 14px 0; font: inherit; background: transparent; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; margin: 0; background: var(--bg); }

/* ---------- sacola / checkout ---------- */
.box { background: #fff; padding: 16px; margin: 12px 0; }
.box h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 900; color: var(--roxo); }
.box-title { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.box-title img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.box-title div { display: flex; flex-direction: column; }
.box-title a { color: var(--rosa); font-size: .85rem; font-weight: 800; }
.bag-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.bag-item:last-child { border-bottom: 0; }
.bag-item img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; background: var(--roxo); }
.bag-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bag-txt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.bag-txt small b { color: var(--txt); }
.bag-txt strong { color: var(--rosa); margin-top: 4px; }
.totals > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: .95rem; }
.totals .muted { color: var(--muted); font-size: .85rem; }
.totals .total { font-weight: 900; font-size: 1.1rem; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line); }
.alert { margin: 0 14px; padding: 12px 14px; border-radius: 10px; background: #fff3d6; color: #8a5a00; font-weight: 700; font-size: .88rem; }

.seg, .pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button, .pay button {
  padding: 13px 10px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 800; background: #fff; transition: .15s;
}
.seg button.on, .pay button.on { border-color: var(--rosa); background: #fdf0f8; color: var(--rosa); }
.field { display: block; margin-bottom: 12px; flex: 1; }
.field span { display: block; font-size: .8rem; font-weight: 800; color: var(--muted); margin-bottom: 5px; }
.field.err input, .field.err select { border-color: var(--erro); background: #fff6f7; }
.row { display: flex; gap: 10px; align-items: flex-end; }
.cep-msg { font-size: .8rem; color: var(--muted); padding-bottom: 26px; min-width: 90px; }
.hint { color: var(--muted); font-size: .82rem; margin: 10px 0; }
.hint.center { text-align: center; width: 100%; margin: 0; }
.addr { margin: 0; line-height: 1.5; }
.pix { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 10px; background: var(--bg); font-size: .9rem; word-break: break-all; }

.empty-state { text-align: center; padding: 60px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state .big { font-size: 3.4rem; }
.empty-state h2 { margin: 0; color: var(--roxo); font-weight: 900; }
.empty-state p { margin: 0 0 8px; color: var(--muted); line-height: 1.5; }
.empty-state .btn { width: 100%; max-width: 340px; }
.install { margin-top: 18px; padding: 16px; border-radius: 14px; background: #fff; max-width: 340px; }

.order-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.order-head span { font-weight: 900; color: var(--rosa); }
.order p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.order-acts { display: flex; gap: 10px; }
.order-acts .btn { flex: 1; padding: 10px; font-size: .88rem; }

.info-head { text-align: center; }
.info-head img { width: 90px; height: 90px; border-radius: 20px; object-fit: cover; }
.info-head h2 { margin: 10px 0 4px; color: var(--roxo); }
.info-head p { margin: 0 0 12px; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 900; color: var(--rosa); }
.box .btn + .btn { margin-top: 10px; width: 100%; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 100; left: 50%; top: 16px; transform: translate(-50%, -140%); max-width: calc(100% - 32px);
  background: var(--roxo); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 30px rgba(43,10,61,.35); transition: transform .3s, visibility .3s; text-align: center; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

@media (min-width: 700px) {
  .cover { height: 220px; }
  .store { margin-top: 150px; border-radius: 18px 18px 0 0; }
  .list, .box, .group, .product-head { border-radius: 0; }
}

/* ---------- login ---------- */
.bottom-nav a[hidden] { display: none; }
.login-cta {
  display: flex; align-items: center; gap: 10px; margin: 16px auto 0; max-width: 440px; padding: 12px 14px; border-radius: 12px;
  background: #fdf0f8; border: 1px solid #f6c9e6; color: var(--roxo); font-size: .88rem; font-weight: 700; text-align: left;
}
.login-cta span:nth-child(2) { flex: 1; }
.login-cta b { color: var(--rosa); }
.checkout .login-cta { margin: 12px 14px 0; max-width: none; }
.login { text-align: center; padding: 28px 20px; display: flex; flex-direction: column; gap: 12px; }
.login > img { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; margin: 0 auto; }
.login h2 { margin: 6px 0 0; color: var(--roxo); font-size: 1.2rem; }
.login > p { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
.login form { text-align: left; }
.btn.social { width: 100%; background: #fff; border: 1.5px solid var(--line); color: var(--txt); }
.btn.social svg.g { width: 22px; height: 22px; stroke: none; }
.btn.dark { background: var(--roxo); color: #fff; }
.btn.center { justify-content: center; }
.login-links { display: flex; flex-direction: column; gap: 10px; font-size: .88rem; color: var(--muted); }
.login-links b { color: var(--rosa); }
.ou { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; margin: 6px 0; }
.ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; object-fit: cover;
  background: linear-gradient(135deg, var(--roxo), var(--rosa)); color: #fff; font-size: 2rem; font-weight: 900; }
.box .btn.block + .btn.block { margin-top: 10px; }

/* ---------- pagamento ---------- */
.pay-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: .15s;
}
.pay-opt.on { border-color: var(--rosa); background: #fdf0f8; }
.pay-ico { font-size: 1.3rem; }
.pay-txt { flex: 1; display: flex; flex-direction: column; }
.pay-txt small { color: var(--muted); font-size: .8rem; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfc5d8; flex: none; position: relative; }
.pay-opt.on .radio { border-color: var(--rosa); }
.pay-opt.on .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--rosa); }
#secPag .field { margin-top: 12px; }

.pix-box { text-align: center; display: flex; flex-direction: column; gap: 14px; }
.pix-valor { margin: 0; font-size: 1.7rem; font-weight: 900; color: var(--roxo); }
.pix-valor small { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); }
.qr { width: 230px; height: 230px; margin: 0 auto; padding: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; }
.qr svg, .qr img { width: 100%; height: 100%; display: block; }
.pix-passos { text-align: left; margin: 0 auto; padding-left: 22px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
#pixCode { margin: 0; width: 100%; font-size: .78rem; font-family: ui-monospace, Consolas, monospace; word-break: break-all; background: var(--bg); }
.pix-status { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: #fff8e6; color: #8a5a00; font-weight: 700; font-size: .9rem; }
.pix-status small { font-weight: 600; }
.alert.erro { background: #fdecef; color: var(--erro); margin: 0 0 12px; }
.card-demo .hint { margin-top: 0; }
#cardBrick { min-height: 120px; }
.spin { width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: gira .8s linear infinite; vertical-align: -3px; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- ícones (SVG no lugar de emojis) ---------- */
.ico { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.ico.marca { stroke: none; }
.ico.marca.branco path { fill: #fff; }
.tag .ico { width: 15px; height: 15px; }
.cats a { display: inline-flex; align-items: center; gap: 6px; }
.cats a .ico { width: 15px; height: 15px; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn .ico { width: 19px; height: 19px; }
.btn.primary > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.login-cta .ico { width: 20px; height: 20px; color: var(--rosa); }
.stepper .ico { width: 17px; height: 17px; }

.pay-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--bg); color: var(--roxo); }
.pay-ico .ico { width: 22px; height: 22px; }
.pay-ico.ico-pix { background: #e6f7f5; }
.pay-ico.ico-cartao { background: #efe9f6; color: var(--roxo-2); }
.pay-ico.ico-dinheiro { background: #e8f6ee; color: #1f8a4c; }
.bandeiras { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.bandeiras .ico { width: 30px; height: 20px; padding: 2px 4px; background: #fff; border: 1px solid var(--line); border-radius: 5px; box-sizing: content-box; }
.bandeiras small { font-size: .74rem; color: var(--muted); }

.hint.seguro { display: block; text-align: center; line-height: 1.6; }
.hint.seguro .ico { width: 15px; height: 15px; margin: 0 3px; vertical-align: -3px; }
.hint.seguro .ico.marca { width: 18px; height: 18px; }
.addr.com-ico { display: flex; gap: 10px; align-items: flex-start; }
.addr.com-ico .ico { margin-top: 2px; color: var(--rosa); }
.addr.com-ico + .addr.com-ico { margin-top: 10px; }

.empty-state .big { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #fdf0f8; color: var(--rosa); font-size: 0; }
.empty-state .big .ico { width: 36px; height: 36px; stroke-width: 1.6; }
.pix-status .ico { width: 20px; height: 20px; }
.pix-status.aprovado { background: #e7f7ee; color: var(--ok); }
.info-head + .box .btn .ico.marca, .box .btn.ghost .ico.marca { width: 18px; height: 18px; }
.pix-logo { display: flex; align-items: center; justify-content: center; gap: 8px; color: #32BCAD; font-weight: 800; font-size: .85rem; }
.pix-logo .ico { width: 28px; height: 28px; }

.card-bandeiras { margin: 2px 0 14px; }

/* tela de abertura enquanto carrega a loja */
.abrindo { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--rosa); }
.abrindo img { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: 0 6px 20px rgba(43,10,61,.2); }

/* foto do produto: laterais preenchidas com a própria foto desfocada */
.product-img { position: relative; overflow: hidden; }
.product-img::before { content: ''; position: absolute; inset: -30px; background: var(--foto) center / cover no-repeat; filter: blur(22px) brightness(.75) saturate(1.2); }
.product-img img { position: relative; }

/* banner com foto: aparece inteiro, com o fundo da própria foto desfocado nas laterais */
.hero { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); background: var(--roxo); }
.hero::before { content: ''; position: absolute; inset: -40px; background: var(--foto) center / cover no-repeat; filter: blur(30px) brightness(.5) saturate(1.3); }
.hero img { position: relative; display: block; width: 100%; max-width: var(--max); height: auto; margin: 0 auto; }
.store.store-hero { margin-top: -16px; padding-top: 22px; }
@media (min-width: 700px) { .store.store-hero { margin-top: -16px; } }
html, body { overflow-x: clip; }

/* aviso da distância no checkout */
.dist { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; padding: 0; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.dist:empty { display: none; }
.dist.ok, .dist.calculando, .dist.fora, .dist.naoAchou { padding: 12px; border-radius: 10px; }
.dist.ok { background: #e7f7ee; color: #17633a; }
.dist.calculando { background: var(--bg); }
.dist.fora { background: #fdecef; color: var(--erro); }
.dist.naoAchou { background: #fff6e0; color: #8a5a00; }
.dist .ico { flex: none; margin-top: 1px; }
