/* ==========================================================================
   Shop Streaming — páginas internas (auth, produto, pedidos, acessos, suporte, pagamento, carrinho)
   ========================================================================== */

.dot-inline { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 9px; align-items: center; justify-content: center; background: linear-gradient(135deg, #f43f5e, #fb7185); color: #fff; font-size: .64rem; font-weight: 700; box-shadow: 0 0 12px rgba(244, 63, 94, .7); }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin360 .7s linear infinite; vertical-align: -3px; }
.spinner.lg { width: 44px; height: 44px; border-width: 3px; border-color: rgba(var(--blue2-rgb), .25); border-top-color: var(--cyan); }
@keyframes spin360 { to { transform: rotate(360deg); } }
.back-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; font-size: .86rem; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); margin-bottom: 20px; transition: .2s; }
.back-link:hover { color: #fff; border-color: var(--line-2); transform: translateX(-3px); }

/* ── Login / cadastro ───────────────────────────────────────────────── */
body.auth .page-shell { justify-content: center; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.auth-card {
  position: relative; width: 100%; max-width: 440px; padding: 34px 32px 30px; border-radius: 28px; isolation: isolate;
  background: linear-gradient(180deg, rgba(52, 56, 79, .82), rgba(43, 47, 67, .86)); backdrop-filter: blur(18px);
  border: 1px solid transparent; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(var(--blue-rgb), .6);
}
.auth-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--spin), rgba(var(--blue-rgb), 0) 0deg, var(--blue) 80deg, var(--cyan) 150deg, rgba(var(--cyan-rgb), 0) 230deg, rgba(var(--blue-rgb), 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 8s linear infinite;
}
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.auth-back:hover { color: #fff; }
.auth-logo { position: relative; width: 132px; height: 132px; margin: 2px auto 14px; }
.auth-logo::before { content: ''; position: absolute; inset: -22px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 140, 255, .38), rgba(var(--blue-rgb), .1) 45%, transparent 68%); filter: blur(6px); animation: glowPulse 4s ease-in-out infinite; pointer-events: none; }
.auth-logo img { position: relative; width: 100%; height: 100%; border-radius: 0; object-fit: contain; filter: drop-shadow(0 6px 22px rgba(var(--blue-rgb), .65)); animation: bob 5s ease-in-out infinite; }
.logo-ring { display: none; } /* o anel combinava com a logo redonda antiga; a sacola usa o brilho (.auth-logo::before) */
.auth-title { text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.55rem; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--dim); font-size: .76rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.auth-foot a { color: var(--cyan); font-weight: 600; }
.auth-foot a:hover { color: #fff; }
.guard-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .76rem; color: var(--dim); }
.guard-status .gs-ico { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(var(--blue2-rgb), .3); border-top-color: var(--cyan); animation: spin360 .8s linear infinite; }
.guard-status[data-state="err"] { color: #fda4af; }
.guard-status[data-state="err"] .gs-ico { animation: none; border: 0; background: var(--bad); }
.guard-status[data-state="ok"] { color: #86efac; }
.guard-status[data-state="ok"] .gs-ico { animation: none; border: 0; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; align-items: center; }
.strength i { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .08); transition: background .3s; }
.strength .hint { grid-column: 1 / -1; margin-top: 3px; }
.strength[data-level="1"] i:nth-child(-n+1) { background: #f43f5e; }
.strength[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.strength[data-level="3"] i:nth-child(-n+3) { background: var(--sky); }
.strength[data-level="4"] i:nth-child(-n+4) { background: #22c55e; }
@media (max-width: 480px) { .auth-card { padding: 26px 20px; border-radius: 22px; } }

/* ── Produto (fluxo em 3 etapas) ───────────────────────────────────── */
.pd-perks { text-align: left; list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: .85rem; color: var(--muted); }
.pd-perks li { display: flex; align-items: center; gap: 10px; }
.pd-perks .ico { color: var(--cyan); }

.pdp-hero { position: relative; padding: 24px 28px 26px; margin-bottom: 18px; border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(520px 220px at 100% 0%, rgba(var(--cyan-rgb), .16), transparent 70%), linear-gradient(120deg, rgba(55, 59, 82, .85), rgba(43, 47, 67, .85)); }
.pdp-eyebrow { display: block; color: var(--cyan); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.pdp-hero h1 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 6px; }
.pdp-hero p { color: var(--muted); margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 12px; min-width: 230px; padding: 10px 16px 10px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .035); transition: .3s; cursor: default; }
.step-n { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: rgba(255, 255, 255, .08); color: var(--muted); transition: .3s; }
.step-t b { display: block; font-size: .88rem; line-height: 1.2; }
.step-t small { color: var(--dim); font-size: .72rem; }
.step.active { border-color: var(--blue-2); background: var(--grad-soft); box-shadow: 0 0 26px -10px rgba(var(--blue-rgb), .9); }
.step.active .step-n { background: var(--grad); color: var(--on-accent, #fff); box-shadow: 0 6px 18px -4px rgba(var(--blue-rgb), .9); }
.step.done { border-color: rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .07); cursor: pointer; }
.step.done .step-n { background: var(--ok); color: #04140a; }
.step.done .step-t small { color: #86efac; }

.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.pdp-main { padding: 18px; margin-bottom: 0; }
.pdp-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.pdp-badge { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.pdp-badge .ico { color: var(--cyan); filter: drop-shadow(0 0 10px rgba(var(--cyan-rgb), .6)); width: 30px; height: 30px; }
.eyebrow { color: var(--muted); font-size: .76rem; }
.step-panel h2 { font-size: 1.5rem; margin: 2px 0 4px; }
.step-sub { color: var(--muted); margin-bottom: 18px; font-size: .92rem; }
.step-panel { animation: popIn .3s both; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 14px; min-height: 108px; border-radius: 16px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s, transform .2s, box-shadow .25s; }
.opt:hover:not(:disabled) { border-color: var(--line-2); background: rgba(var(--blue2-rgb), .08); transform: translateY(-2px); }
.opt.selected { border-color: var(--blue-2); background: var(--grad-soft); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .16), 0 12px 30px -14px rgba(var(--blue-rgb), .9); }
.opt.out { opacity: .5; cursor: not-allowed; }
.opt-img { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; grid-row: 1 / span 2; color: var(--dim); }
.opt-img img { width: 100%; height: 100%; object-fit: cover; }
.opt-name { font-weight: 600; font-size: .92rem; line-height: 1.25; align-self: end; padding-right: 22px; }
.opt-price { align-self: end; display: flex; align-items: baseline; justify-content: flex-end; gap: 4px 8px; flex-wrap: wrap; margin-top: 8px; min-width: 0; }
.opt-price b { font-size: 1.12rem; font-weight: 800; color: var(--cyan); }
.opt-price s { font-size: .74rem; color: var(--dim); }
.opt-low { font-style: normal; font-size: .68rem; font-weight: 600; color: #fcd34d; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .3); padding: 1px 8px; border-radius: 999px; flex-basis: auto; margin-right: auto; }
.opt-out { font-style: normal; font-size: .76rem; font-weight: 700; color: #fda4af; }
.opt-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent, #fff); opacity: 0; transform: scale(.6); transition: .2s; }
.opt.selected .opt-check { opacity: 1; transform: none; }

.sum-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--grad-soft); margin-bottom: 16px; }
.sum-card .opt-img { width: 56px; height: 56px; grid-row: auto; }
.sum-card b { display: block; }
.sum-price { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.25rem; white-space: nowrap; }
.info-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.info-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.info-list > div:first-child { border-top: 0; }
.info-list span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.info-list span .ico { color: var(--cyan); }
.info-list b { text-align: right; font-weight: 600; word-break: break-word; }
.info-list a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.pay-methods { display: grid; gap: 10px; }
.pay-m { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; transition: .2s; }
.pay-m input { display: none; }
.pay-m:hover:not(.disabled) { border-color: var(--line-2); background: rgba(var(--blue2-rgb), .08); }
.pay-m.on { border-color: var(--blue-2); background: var(--grad-soft); box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .14); }
.pay-m.disabled { opacity: .45; cursor: not-allowed; }
.pay-m-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: var(--cyan); background: rgba(var(--cyan-rgb), .1); border: 1px solid rgba(var(--cyan-rgb), .25); }
.pay-m b { display: block; font-size: .95rem; }
.pay-m small { color: var(--muted); font-size: .78rem; }
.pay-m-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; transition: .2s; }
.pay-m.on .pay-m-radio { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.pay-m.on .pay-m-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2b2f43; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.total-row b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2rem; color: #fff; }

.pdp-side { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px); padding: 20px; margin-bottom: 0; }
.side-title { font-size: 1rem; margin-bottom: 12px; }
.seals { display: grid; gap: 8px; margin-bottom: 16px; }
.seal-b { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(var(--blue2-rgb), .07); }
.seal-b .ico { color: var(--cyan); }
.seal-b b { display: block; font-size: .8rem; line-height: 1.2; }
.seal-b small { color: var(--muted); font-size: .7rem; }
.side-art { width: 100%; aspect-ratio: 1; border-radius: 19%; overflow: hidden; background: transparent; margin-bottom: 16px; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .55)) drop-shadow(0 0 26px rgba(34, 168, 255, .28)); } /* sem fundo atrás: o ícone tem cantos transparentes e a sombra acompanha o formato dele */
.side-art img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.side-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--dim); }
.side-name { font-size: 1.2rem; margin-bottom: 4px; }
.side-cat { color: var(--cyan); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.side-desc { color: var(--muted); font-size: .88rem; line-height: 1.65; margin-bottom: 14px; max-height: 190px; overflow-y: auto; }
.side-desc a { color: var(--sky); word-break: break-all; text-decoration: underline; }
.how-btn { background: rgba(var(--cyan-rgb), .1); border-color: rgba(var(--cyan-rgb), .35); color: #67e8f9; }
.how-btn:hover { background: rgba(var(--cyan-rgb), .2); }
.howto { margin: 12px 0 4px; padding-left: 20px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.howto li { margin-bottom: 6px; padding-left: 4px; }
.howto b { color: var(--text); }
.howto a { color: var(--sky); text-decoration: underline; }
.howto-custom { margin: 12px 0 4px; color: var(--muted); font-size: .92rem; line-height: 1.7; max-height: 50vh; overflow-y: auto; }

/* ── Avaliações / perguntas ─────────────────────────────────────────── */
.faq-panel { margin-top: 18px; padding: 0; overflow: hidden; }
.faq-title { padding: 20px 24px; font-size: 1.05rem; font-weight: 700; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: .92rem; position: relative; transition: color .2s, background .2s; }
.tab b { color: var(--cyan); }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.tab.active { color: #fff; }
.tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--grad); box-shadow: 0 0 14px rgba(var(--cyan-rgb), .8); }
.tab-body { padding: 22px 24px 26px; }
.star { color: #3b4a6e; }
.star.on { color: #f59e0b; fill: #f59e0b; }
.stars { display: inline-flex; gap: 2px; }
.rev-summary { display: grid; grid-template-columns: 170px 1fr auto; gap: 26px; align-items: center; padding: 20px; margin-bottom: 20px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.rev-avg { text-align: center; }
.rev-avg b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 3rem; line-height: 1; margin-bottom: 6px; }
.rev-avg small { display: block; color: var(--muted); margin-top: 4px; font-size: .78rem; }
.rev-bars { display: grid; gap: 7px; }
.rev-bars > div { display: grid; grid-template-columns: 76px 1fr 34px; gap: 10px; align-items: center; font-size: .78rem; color: var(--muted); }
.rev-bars i { height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rev-bars em { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 7px; }
.rev-bars b { text-align: right; font-weight: 600; }
.rev-sort { display: flex; flex-direction: column; gap: 8px; }
.rev-form { display: grid; gap: 10px; padding: 18px; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--grad-soft); }
.rate-pick { display: flex; gap: 4px; }
.rate-pick button { border: 0; background: none; padding: 2px; color: #3b4a6e; transition: transform .15s; }
.rate-pick button:hover { transform: scale(1.18); }
.rate-pick button.on { color: #f59e0b; }
.rate-pick button.on .ico { fill: #f59e0b; }
.rev-list { display: grid; gap: 12px; margin-bottom: 14px; }
.rev { display: flex; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.rev-ava { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #fff; }
.rev-main { flex: 1; min-width: 0; }
.rev-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-meta { display: block; color: var(--dim); font-size: .74rem; margin: 2px 0 8px; }
.rev-main p { color: var(--text); font-size: .92rem; line-height: 1.55; word-break: break-word; }
.rev-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.rev-acts form { margin: 0; }
.help-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--sky); font-size: .76rem; font-weight: 600; transition: .2s; }
button.help-btn:hover { background: rgba(var(--blue2-rgb), .15); color: #fff; }
.help-btn.on { background: var(--grad-soft); color: #fff; border-color: var(--blue-2); }
.help-btn.static { color: var(--dim); border-color: var(--line); }
.help-btn.del { color: #fda4af; border-color: rgba(244, 63, 94, .35); }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); overflow: hidden; }
.faq summary { padding: 15px 18px; cursor: pointer; font-weight: 600; font-size: .94rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--cyan); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--line-2); background: rgba(var(--blue2-rgb), .06); }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.faq details a { color: var(--sky); text-decoration: underline; }

@media (max-width: 980px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-side { position: static; }
  .side-art { max-width: 280px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .pdp-hero { padding: 18px 16px; }
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .step { min-width: 0; flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
  .step-t small { display: none; }
  .step-t b { font-size: .76rem; }
  .pdp-main { padding: 14px; }
  .pdp-badge { padding: 12px; font-size: .88rem; gap: 8px; }
  .pdp-badge .ico { width: 24px; height: 24px; }
  .opt-grid { grid-template-columns: minmax(0, 1fr); }
  .opt { min-height: 92px; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; }
  .opt-img { width: 56px; height: 56px; }
  .opt-low { flex-basis: 100%; margin-right: 0; width: fit-content; }
  .side-art { max-width: 240px; }
  .step-panel h2 { font-size: 1.3rem; }
  .step-actions .btn-lg { --h: 48px; padding: 0 20px; }
  .rev-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .rev-sort { flex-direction: row; flex-wrap: wrap; }
  .tab-body { padding: 16px 14px 20px; }
  .faq-title { padding: 16px 14px; }
  .info-list > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .info-list b { text-align: left; }
  .rev { padding: 12px; gap: 10px; }
  .rev-ava { width: 38px; height: 38px; }
}

/* ── Pedidos / acessos ─────────────────────────────────────────────── */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar-search { position: relative; flex: 1 1 240px; max-width: 360px; }
.toolbar-search .input { height: 42px; padding-left: 42px; border-radius: 999px; }
.toolbar-search .lead { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.toolbar-count { margin-left: auto; color: var(--muted); font-size: .84rem; white-space: nowrap; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.access-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 420px) { .order-grid, .access-grid { grid-template-columns: 1fr; } }
.order, .access { padding: 18px; }
.order-head, .access-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.order-ico, .access-thumb { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; color: var(--cyan); background: var(--grad-soft); border: 1px solid var(--line-2); }
.access-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-title { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.order-date { font-size: .76rem; color: var(--muted); margin-top: 3px; }
.order-side { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; }
.order-side b, .access-price { font-weight: 800; font-size: .95rem; white-space: nowrap; color: var(--ice); }
.pix-box { margin-top: 4px; padding: 14px; border-radius: 14px; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .3); }
.pix-warn { display: flex; align-items: center; gap: 8px; color: #fcd34d; font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.pix-code { word-break: break-all; font-family: ui-monospace, Consolas, monospace; font-size: .72rem; color: var(--muted); background: rgba(0, 0, 0, .35); padding: 10px; border-radius: 10px; cursor: pointer; transition: .2s; }
.pix-code:hover { background: rgba(0, 0, 0, .5); color: #fff; }
.cred { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow-y: auto; }
.cred-row { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: rgba(var(--blue-rgb), .08); border: 1px solid var(--line); font-size: .84rem; }
.cred-k { flex-shrink: 0; min-width: 62px; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cred-v { flex: 1; word-break: break-all; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; font-weight: 500; color: #fff; }
.cred-v a { color: var(--sky); text-decoration: underline; }
.cred-card { margin-bottom: 12px; padding: 14px; border-radius: 16px; background: rgba(var(--blue-rgb), .07); border: 1px solid var(--line); text-align: left; }
.cred-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .9rem; }
.cred-pre { margin: 0 0 10px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); color: #fff; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; white-space: pre-wrap; word-break: break-all; max-height: 180px; overflow-y: auto; }
.btn.copied { border-color: var(--ok) !important; color: #86efac !important; }
.totp-widget { margin-bottom: 10px !important; }

/* ── Suporte (chat) ─────────────────────────────────────────────────── */
body.chat-page .page-shell { height: 100dvh; min-height: 0; }
body.chat-page main { min-height: 0; display: flex; flex-direction: column; }
.chat-wrap { flex: 1; min-height: 0; padding-top: 16px; padding-bottom: 16px; display: flex; }
.chat-shell { flex: 1; min-height: 0; display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden; background: rgba(41, 46, 65, .8); backdrop-filter: blur(14px); box-shadow: var(--shadow), 0 0 60px -26px rgba(var(--blue-rgb), .6); position: relative; }
.chat-list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: rgba(40, 44, 63, .6); }
.chat-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.chat-list-head b { display: flex; align-items: center; gap: 8px; }
.chat-list-body { flex: 1; overflow-y: auto; padding: 8px; }
.t-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; transition: .15s; border: 1px solid transparent; }
.t-item:hover { background: rgba(255, 255, 255, .04); }
.t-item.active { background: var(--grad-soft); border-color: var(--line-2); }
.t-ava { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; color: var(--cyan); background: var(--grad-soft); border: 1px solid var(--line-2); font-weight: 700; }
.t-info { flex: 1; min-width: 0; }
.t-info b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-info small { display: block; color: var(--muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.t-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.t-meta small { color: var(--dim); font-size: .68rem; }
.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); min-height: 66px; }
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { font-size: .74rem; }
.on-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 3px; box-shadow: 0 0 8px var(--ok); }
.chat-msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; max-width: 76%; animation: msgIn .25s both; }
.msg.me { align-self: flex-end; justify-content: flex-end; }
.msg.them { align-self: flex-start; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.bubble { padding: 10px 14px; border-radius: 18px; font-size: .88rem; line-height: 1.5; word-break: break-word; }
.msg.me .bubble { background: var(--grad); color: var(--on-accent, #fff); border-bottom-right-radius: 5px; box-shadow: 0 8px 24px -10px rgba(var(--blue-rgb), .9); }
.msg.them .bubble { background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-time { display: block; font-size: .64rem; opacity: .6; margin-top: 4px; text-align: right; }
.deleted { opacity: .6; font-size: .84rem; }
.msg-img { max-width: 240px; max-height: 240px; border-radius: 12px; margin-top: 8px; cursor: zoom-in; }
.date-sep { text-align: center; margin: 10px 0 4px; font-size: .7rem; color: var(--dim); }
.date-sep span { background: rgba(255, 255, 255, .04); padding: 4px 14px; border-radius: 999px; }
.typing { padding: 0 22px 6px; font-size: .74rem; color: var(--muted); font-style: italic; display: none; }
.typing.visible { display: block; }
.typing span { animation: blink 1.4s infinite; display: inline-block; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
.chat-input { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(40, 44, 63, .7); }
.chat-input .textarea { min-height: 44px; max-height: 110px; height: 44px; padding: 11px 16px; border-radius: 22px; resize: none; }
.chat-input .btn { width: 46px; padding: 0; border-radius: 50%; height: 46px; }
.chat-input.closed { justify-content: center; color: var(--muted); font-size: .86rem; padding: 18px; }
.img-preview { position: fixed; inset: 0; z-index: 99990; background: rgba(12, 14, 24, .88); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.img-preview img { max-width: 92vw; max-height: 92vh; border-radius: 14px; box-shadow: var(--shadow); }
@media (max-width: 960px) {
  .chat-shell { grid-template-columns: 1fr; }
  .chat-list { position: absolute; inset: 0; z-index: 20; transform: translateX(-102%); transition: transform .28s; background: #2b2f43; }
  .chat-list.open { transform: none; }
  .msg { max-width: 90%; }
  .chat-wrap { padding: 8px 8px 8px; }
  .chat-shell { border-radius: 18px; }
}

/* ── Pagamento PIX ──────────────────────────────────────────────────── */
.pay-card { padding: 28px; text-align: center; }
.pay-status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; margin-bottom: 18px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .35); color: #fcd34d; }
.pay-status[data-state="paid"] { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .4); color: #86efac; }
.pay-status[data-state="review"] { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .4); color: #fda4af; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.pay-product { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.pay-amount { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.4rem; margin-bottom: 6px; }
.qr-box { width: 250px; height: 250px; margin: 20px auto; padding: 20px; border-radius: 22px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 60px -10px rgba(34, 168, 255, .8); position: relative; }
.qr-box::after { content: ''; position: absolute; left: 14px; right: 14px; height: 3px; top: 14px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue), transparent); box-shadow: 0 0 14px var(--blue); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 50% { top: calc(100% - 17px); } }
.pay-card .pix-code { text-align: left; max-height: 84px; overflow-y: auto; }
.timer-wrap { margin-top: 20px; }
.timer-top { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; margin-bottom: 8px; }
.timer-top b { font-family: ui-monospace, Consolas, monospace; font-size: 1.15rem; }
.timer-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.timer-bar i { display: block; height: 100%; width: 100%; background: var(--grad); border-radius: 8px; transition: width 1s linear; box-shadow: 0 0 14px rgba(var(--cyan-rgb), .7); }
.timer-bar i.low { background: linear-gradient(90deg, #f43f5e, #fb923c); box-shadow: 0 0 14px rgba(244, 63, 94, .7); }

/* ── Sucesso ────────────────────────────────────────────────────────── */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9990; }
.success-card { padding: 30px; }
.success-prod { width: 96px; height: 96px; margin: 0 auto 6px; border-radius: 24%; object-fit: cover; box-shadow: 0 20px 50px -14px rgba(var(--blue-rgb), .9); }
.success-ring { width: 76px; height: 76px; margin: 12px auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent, #fff); box-shadow: 0 0 0 8px rgba(var(--cyan-rgb), .12), 0 0 0 18px rgba(var(--cyan-rgb), .05), 0 12px 40px -6px rgba(var(--blue-rgb), .9); animation: popIn .6s cubic-bezier(.2, .9, .3, 1.4) both; }
.success-title { text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.7rem; margin-bottom: 8px; }
.balance-box { text-align: center; margin-top: 18px; padding: 20px; border-radius: 18px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.balance-box small { color: var(--muted); display: block; margin-bottom: 4px; }
.balance-box b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.2rem; }

/* ── Carrinho (gaveta) ─────────────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; z-index: 8000; background: rgba(12, 14, 24, .66); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 8001; width: 420px; max-width: 100vw; display: flex; flex-direction: column; background: linear-gradient(180deg, #32364c, var(--bg-2)); border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .9), -10px 0 60px -30px rgba(var(--blue-rgb), .6); transform: translateX(104%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.cart-head small { color: var(--muted); font-weight: 500; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); animation: msgIn .25s both; }
.cart-thumb { width: 62px; height: 62px; border-radius: 16px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-2); color: var(--dim); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { display: block; font-weight: 600; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-price { color: var(--cyan); font-weight: 700; font-size: .86rem; margin: 2px 0 6px; }
.cart-qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cart-qty button { width: 30px; height: 28px; border: 0; background: rgba(255, 255, 255, .05); color: var(--ice); display: grid; place-items: center; }
.cart-qty button:hover { background: rgba(var(--blue2-rgb), .3); }
.cart-qty span { min-width: 30px; text-align: center; font-size: .84rem; font-weight: 600; }
.cart-rm { width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--dim); display: grid; place-items: center; }
.cart-rm:hover { background: rgba(244, 63, 94, .15); color: #fda4af; }
.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: rgba(var(--bg-rgb), .5); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; color: var(--muted); }
.cart-total b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.7rem; color: #fff; }

/* ── Minha conta ────────────────────────────────────────────────────── */
.acct-head { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px; margin-bottom: 14px; border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(500px 200px at 100% 0%, rgba(var(--cyan-rgb), .16), transparent 70%), linear-gradient(120deg, rgba(55, 59, 82, .85), rgba(43, 47, 67, .85)); }
.acct-ava { position: relative; flex-shrink: 0; margin: 0; }
.acct-photo { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line-2); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .15), 0 14px 34px -10px rgba(var(--blue-rgb), .8); font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.9rem; }
.acct-photo.noimg { background: var(--grad); color: var(--on-accent, #fff); }
.acct-photo img { width: 100%; height: 100%; object-fit: cover; }
.acct-cam { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ok); color: #04140a; border: 3px solid var(--card); transition: transform .2s; }
.acct-cam:hover { transform: scale(1.1); }
.acct-id { min-width: 0; }
.acct-id small { color: var(--muted); font-size: .76rem; }
.acct-id h1 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 2px 0; word-break: break-word; }
.acct-mail { color: var(--sky); font-size: .9rem; margin-bottom: 10px; word-break: break-all; }
.acct-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acct-badges form { margin: 0; }
.acct-tabs { display: flex; gap: 8px; margin-bottom: 14px; padding: 8px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow-x: auto; scrollbar-width: none; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; border: 1px solid transparent; transition: .2s; }
.acct-tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.acct-tab.active { color: #fff; background: var(--grad-soft); border-color: var(--blue-2); box-shadow: inset 0 0 18px rgba(var(--blue-rgb), .18); }
.acct-card { padding: 24px; margin-bottom: 14px; }
.acct-card h2 { font-size: 1.05rem; margin-bottom: 16px; }
.acct-sub { font-size: .95rem; margin: 18px 0 6px; }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-bottom: 6px; }
.input:disabled, .input[readonly] { opacity: .75; cursor: not-allowed; }
.a-code-i { font-family: ui-monospace, Consolas, monospace; background: rgba(var(--blue2-rgb), .15); padding: 1px 6px; border-radius: 6px; color: var(--ice); }
.ref-list { display: grid; gap: 8px; margin-top: 14px; }
.ref-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.ref-item small { display: block; color: var(--dim); font-size: .74rem; word-break: break-all; }
.ref-item form { margin: 0; }
.ref-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.ref-stats > div { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.ref-stats small { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 4px; }
.ref-stats b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.2rem; }
@media (max-width: 720px) {
  .acct-head { flex-direction: column; text-align: center; padding: 20px 16px; }
  .acct-badges { justify-content: center; }
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .acct-card { padding: 18px 14px; }
  .ref-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-item { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .acct-tabs { gap: 4px; padding: 5px; }
  .acct-tab { flex: 1; justify-content: center; padding: 0 6px; height: 46px; font-size: .78rem; white-space: normal; text-align: center; line-height: 1.1; gap: 5px; }
}
@media (max-width: 440px) { .acct-tab .ico { display: none; } }

/* ── Pedidos: lista, detalhe e selo do nº do pedido ──────────────────── */
.pay-order { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; margin: 0 auto 14px; border-radius: 999px; font-family: inherit; color: var(--ice); cursor: pointer; background: rgba(var(--blue2-rgb), .12); border: 1px solid var(--line-2); transition: .2s; }
.pay-order small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.pay-order b { font-family: ui-monospace, Consolas, monospace; font-size: .95rem; letter-spacing: .02em; }
.pay-order:hover { border-color: var(--sky); color: #fff; background: rgba(var(--blue2-rgb), .22); }
.pay-card .pay-order { display: flex; width: fit-content; }
.cred-title { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; font-weight: 700; font-size: .92rem; }

.ord-banner { display: flex; align-items: center; gap: 18px; padding: 24px 26px; margin-bottom: 16px; border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(520px 200px at 100% 0%, rgba(var(--cyan-rgb), .16), transparent 70%), linear-gradient(120deg, rgba(55, 59, 82, .85), rgba(43, 47, 67, .85)); }
.ord-banner-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; color: var(--on-accent, #fff); background: var(--grad); box-shadow: 0 12px 30px -10px rgba(var(--blue-rgb), .9); }
.ord-banner small { color: var(--muted); font-size: .76rem; }
.ord-banner h1 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.1; margin: 2px 0 4px; }
.ord-banner p { color: var(--muted); font-size: .9rem; }
.ord-panel { padding: 22px; }
.ord-panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ord-panel-head h2 { font-size: 1.12rem; }
.ord-panel-head p, .ord-sort { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.ord-toolbar { margin-bottom: 14px; }
.ord-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ord-row { display: grid; grid-template-columns: 110px minmax(0, 1.8fr) 100px 110px 170px 224px; align-items: center; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); font-size: .88rem; transition: background .2s; }
.ord-row:not(.ord-head):hover { background: rgba(var(--blue2-rgb), .06); }
.ord-head { border-top: 0; padding-top: 11px; padding-bottom: 11px; background: rgba(255, 255, 255, .03); color: var(--dim); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ord-head .r, .ord-act { text-align: right; justify-content: flex-end; }
.ord-no a { font-family: ui-monospace, Consolas, monospace; font-weight: 800; color: var(--sky); letter-spacing: .02em; }
.ord-no a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ord-prod { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 600; }
.ord-prod > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-thumb { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; color: var(--cyan); background: var(--grad-soft); border: 1px solid var(--line-2); }
.ord-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ord-date { color: var(--muted); }
.ord-date small { display: block; color: var(--dim); font-size: .72rem; }
.ord-val { font-weight: 800; color: var(--ice); white-space: nowrap; }
.ord-act { display: flex; gap: 8px; flex-wrap: wrap; }
.ord-foot { margin-top: 12px; color: var(--muted); font-size: .8rem; }
.ord-foot + .pager { margin-top: 14px; }

.od-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.od-side { padding: 14px; position: sticky; top: 96px; }
.od-cover { aspect-ratio: 1; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.od-cover img { width: 100%; height: 100%; object-fit: cover; }
.od-cover-ico { color: var(--cyan); }
.od-name { font-size: 1.02rem; line-height: 1.25; margin: 16px 4px 6px; }
.od-desc { color: var(--muted); font-size: .86rem; margin: 0 4px 12px; }
.od-note { display: flex; gap: 8px; align-items: flex-start; margin: 4px; padding: 11px 12px; border-radius: 12px; font-size: .8rem; color: var(--ice); background: rgba(var(--cyan-rgb), .07); border: 1px solid rgba(var(--cyan-rgb), .22); }
.od-note .ico { flex-shrink: 0; margin-top: 2px; color: var(--cyan); }
.od-main { display: grid; gap: 14px; min-width: 0; }
.od-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.od-title h1 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.od-title p { margin-top: 6px; color: var(--muted); font-size: .86rem; }
.od-title p b { color: var(--text); font-weight: 600; }
.od-no { font: inherit; font-family: ui-monospace, Consolas, monospace; color: var(--sky); background: rgba(var(--blue2-rgb), .12); border: 1px solid var(--line-2); border-radius: 10px; padding: 1px 10px; cursor: pointer; transition: .2s; }
.od-no:hover { color: #fff; border-color: var(--sky); }
.od-brand { flex-shrink: 0; opacity: .95; }
.od-items { padding: 6px 6px 18px; }
.od-table { display: block; }
.od-tr { display: grid; grid-template-columns: minmax(0, 1.8fr) 1fr .9fr 1.6fr 1.2fr; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.od-tr > span { min-width: 0; overflow-wrap: anywhere; }
.od-th { border-top: 0; color: var(--dim); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.od-tr em { color: var(--dim); font-style: normal; }
.od-tr .badge { white-space: nowrap; }
.od-ref { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font: inherit; font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--sky); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.od-ref:hover { color: #fff; }
.od-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 6px 18px 0; }
.od-main > .od-actions { padding: 0; }
.od-pix, .od-info, .od-access { padding: 20px 22px; }
.od-pix { background: rgba(245, 158, 11, .06); border-color: rgba(245, 158, 11, .3); }
.od-info h3, .od-access h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 14px; }
.od-info h3 .ico, .od-access h3 .ico { color: var(--cyan); }
.od-mono button { max-width: 100%; word-break: break-all; }
.od-cred + .od-cred { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line-2); }

@media (max-width: 960px) {
  .od-grid { grid-template-columns: minmax(0, 1fr); }
  .od-side { position: static; display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .od-side .od-cover { grid-row: 1 / span 3; }
  .od-side .od-name { margin-top: 4px; }
  .od-side .od-note { grid-column: 1 / -1; }
  .ord-row { grid-template-columns: 96px minmax(0, 1.5fr) 90px 100px 150px 210px; gap: 10px; padding: 12px 14px; }
}
@media (max-width: 760px) {
  .ord-banner { padding: 18px 16px; gap: 14px; }
  .ord-banner-ico { width: 48px; height: 48px; border-radius: 15px; }
  .ord-panel { padding: 16px 12px; }
  .ord-panel-head { flex-direction: column; align-items: flex-start; }
  .ord-head { display: none; }
  .ord-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px; }
  .ord-row .ord-no { grid-column: 1; }
  .ord-row .ord-st { grid-column: 2; justify-self: end; }
  .ord-row .ord-prod { grid-column: 1 / -1; }
  .ord-row .ord-date { grid-column: 1; }
  .ord-row .ord-val { grid-column: 2; justify-self: end; text-align: right; }
  .ord-row .ord-act { grid-column: 1 / -1; justify-content: stretch; }
  .ord-row .ord-act .btn { flex: 1; }
  .od-head { padding: 16px; flex-wrap: wrap; }
  .od-tr { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .od-th { display: none; }
  .od-tr > span::before { content: attr(data-l); display: block; color: var(--dim); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
  .od-tr > span:first-child { grid-column: 1 / -1; font-weight: 700; }
  .od-pix, .od-info, .od-access { padding: 16px 14px; }
  .od-side { grid-template-columns: 96px minmax(0, 1fr); }
}

/* "Ver acesso" dentro de Meus pedidos (substitui a antiga página Meus Acessos) */
.ord-acc { grid-column: 1 / -1; margin-top: 4px; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(var(--blue-rgb), .07); animation: popIn .25s both; }
.ord-acc .od-cred + .od-cred { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.ord-act .btn.on { background: var(--grad-soft); border-color: var(--blue-2); }

@media (max-width: 640px) { .auth-back { padding: 9px 0; margin-bottom: 0; } }

/* ── Pagamento PIX: QR com "foco de câmera", barra de tempo, copia e cola ─────────────── */
.pixpay { border: 1px solid var(--line-2); border-radius: 20px; padding: 20px; background: rgba(0, 0, 0, .16); }
.pixpay-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pixpay-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: .84rem; color: var(--on-accent, #fff); background: var(--grad); box-shadow: 0 8px 22px -8px rgba(var(--blue-rgb), .9); }
.pixpay-auto { color: var(--dim); font-size: .76rem; }
.pixpay-title { font-size: 1.3rem; margin: 0 0 2px; }
.pixpay-sub { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.pay-bar { position: relative; height: 42px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); margin-bottom: 20px; }
.pay-bar > i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, #22c55e, var(--cyan)); transition: width 1s linear; }
.pay-bar > span { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.pay-bar b { font-family: ui-monospace, Consolas, monospace; font-size: 1.05rem; }
.pay-bar.low > i { background: linear-gradient(90deg, #f43f5e, #fb923c); }
.pixpay-cols { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.pixpay-key .pix-code { min-height: 130px; max-height: 170px; overflow-y: auto; font-size: .76rem; line-height: 1.5; text-align: left; margin-bottom: 12px; }
/* foco de câmera: 4 cantos que "travam" no QR, piscando devagar */
.qr-focus { position: relative; width: fit-content; margin: 0 auto; padding: 18px; }
.qr-frame { position: relative; overflow: hidden; width: 230px; height: 230px; padding: 10px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 50px -12px rgba(34, 168, 255, .75); }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-none { color: #444; font-size: .82rem; text-align: center; padding: 10px; }
.qr-scan { position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue), transparent); box-shadow: 0 0 14px var(--blue); animation: scan 2.6s ease-in-out infinite; }
.qf { position: absolute; width: 36px; height: 36px; border: 0 solid var(--cyan); filter: drop-shadow(0 0 6px rgba(var(--cyan-rgb), .9)); animation: qfocus 2.4s ease-in-out infinite; pointer-events: none; }
.qf.tl { top: 0; left: 0; border-width: 4px 0 0 4px; border-top-left-radius: 14px; --dx: 7px; --dy: 7px; }
.qf.tr { top: 0; right: 0; border-width: 4px 4px 0 0; border-top-right-radius: 14px; --dx: -7px; --dy: 7px; }
.qf.bl { bottom: 0; left: 0; border-width: 0 0 4px 4px; border-bottom-left-radius: 14px; --dx: 7px; --dy: -7px; }
.qf.br { bottom: 0; right: 0; border-width: 0 4px 4px 0; border-bottom-right-radius: 14px; --dx: -7px; --dy: -7px; }
@keyframes qfocus { 0%, 100% { transform: translate(0, 0); opacity: .75; } 45%, 60% { transform: translate(var(--dx), var(--dy)); opacity: 1; } }
.qr-focus.ok .qf { border-color: #22c55e; filter: drop-shadow(0 0 8px #22c55e); animation: none; transform: translate(var(--dx), var(--dy)); }
.qr-focus.ok .qr-frame { box-shadow: 0 0 56px -8px rgba(34, 197, 94, .85); }
.qr-focus.ok .qr-scan, .qr-focus.off .qr-scan { display: none; }
.qr-focus.off .qf { border-color: var(--dim); filter: none; animation: none; opacity: .5; }
.qr-focus.off .qr-frame { opacity: .45; filter: grayscale(1); }
.pixpay-state { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 18px 0 4px; padding: 9px 14px; border-radius: 12px; font-size: .86rem; font-weight: 600; color: #fcd34d; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); }
.pixpay-state[data-state="paid"] { color: #86efac; background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .4); }
.pixpay-state[data-state="review"] { color: #fda4af; background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .4); }
.pixpay-state[data-state="expired"] { color: var(--muted); background: rgba(255, 255, 255, .05); border-color: var(--line); }
.pixpay-bank { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 0; padding: 11px 13px; border-radius: 12px; font-size: .8rem; line-height: 1.5; color: #fdba74; background: rgba(251, 146, 60, .09); border: 1px solid rgba(251, 146, 60, .28); }
.pixpay-bank .ico { flex-shrink: 0; margin-top: 2px; }

/* tela de pagamento (após gerar o PIX) */
.ps-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.35rem; margin: 2px 0 14px; }
.live-dot { width: 13px; height: 13px; border-radius: 50%; background: #84e82a; color: #84e82a; animation: pulseDot 1.6s infinite; flex-shrink: 0; }
.ps-keep { margin-bottom: 16px; }
.ps-keep .ico { flex-shrink: 0; margin-top: 2px; }
.ps-leave { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .86rem; line-height: 1.6; }
.ps-leave .ico { color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.ps-leave p { margin: 0; }
.ps-leave a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.ps-links { margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.sum-ok { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; font-size: .84rem; line-height: 1.5; color: #bbf7d0; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); }
.sum-ok > .ico { flex-shrink: 0; margin-top: 2px; color: #4ade80; }
.sum-ok b { display: block; color: #86efac; font-size: .95rem; margin-bottom: 2px; }
.ps-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 14px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.ps-total b { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.7rem; color: #fff; }
.ps-cta { display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 14px; font-weight: 700; color: var(--on-accent, #fff); background: var(--grad); opacity: .55; cursor: default; user-select: none; }

/* página do pedido: entrega no estilo "produto à esquerda, pedido à direita" */
.od-done { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 16px; border-radius: 20px; border: 1px solid rgba(34, 197, 94, .4); background: linear-gradient(120deg, rgba(34, 197, 94, .16), rgba(var(--cyan-rgb), .06)); }
.od-done h2 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.35rem; margin: 0 0 2px; }
.od-done p { margin: 0; color: var(--ice); font-size: .9rem; }
.od-done-ring { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #04140a; background: linear-gradient(135deg, #4ade80, var(--cyan)); box-shadow: 0 0 0 7px rgba(34, 197, 94, .14), 0 10px 30px -8px rgba(34, 197, 94, .8); animation: popIn .6s cubic-bezier(.2, .9, .3, 1.4) both; }
.od-warn { display: flex; gap: 8px; align-items: flex-start; margin: 4px; padding: 11px 12px; border-radius: 12px; font-size: .8rem; line-height: 1.5; color: #fde68a; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .28); }
.od-warn .ico { flex-shrink: 0; margin-top: 2px; }
.od-warn a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.od-warn-info { color: var(--ice); background: rgba(var(--cyan-rgb), .07); border-color: rgba(var(--cyan-rgb), .22); }
.od-code { margin: 12px 4px 4px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .22); }
.od-code-h { display: flex; justify-content: space-between; align-items: center; gap: 4px 10px; flex-wrap: wrap; margin-bottom: 12px; color: var(--dim); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.od-code-h span { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.od-code-h small { font-size: .7rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.od-code .cred-row, .od-code .cred-val, .od-code .cred-v { overflow-wrap: anywhere; word-break: break-word; }
.od-wait { margin: 12px 4px 4px; width: calc(100% - 8px); opacity: .6; cursor: not-allowed; }
.od-side > .btn { margin-left: 4px; margin-right: 4px; width: calc(100% - 8px); margin-top: 12px; }
.od-again { padding-top: 14px; justify-content: center; }
.od-pay { padding: 20px 22px; }
.od-pay h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 14px; }
.od-pay h3 .ico { color: var(--cyan); }
.od-pay-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.od-pay-note .ico { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.od-accs { padding: 4px 8px; }
.od-accd { border-bottom: 1px solid var(--line); }
.od-accd:last-child { border-bottom: 0; }
.od-accd summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 12px; font-weight: 600; font-size: .94rem; color: var(--sky); border-radius: 12px; user-select: none; }
.od-accd summary::-webkit-details-marker { display: none; }
.od-accd summary .ico { flex-shrink: 0; }
.od-accd summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; flex-shrink: 0; }
.od-accd[open] summary::after { transform: rotate(225deg); }
.od-accd summary:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.od-accd summary:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.od-accb { padding: 0 12px 18px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.od-accb p { margin: 0 0 10px; }
.od-accb a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.od-accb ol { margin: 0; padding-left: 20px; }
.od-accb li { margin: 6px 0; }
.od-accb.info-list { padding-bottom: 14px; }

@media (max-width: 900px) {
  .od-grid.is-pending .od-main { order: -1; }
  .pixpay-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qr-focus { margin: 0 auto; }
}
@media (max-width: 520px) {
  .pixpay { padding: 14px 12px; border-radius: 16px; }
  .qr-frame { width: min(230px, calc(100vw - 110px)); height: min(230px, calc(100vw - 110px)); }
  .qr-focus { padding: 14px; }
  .qf { width: 30px; height: 30px; }
  .ps-title { font-size: 1.15rem; }
  .od-done { padding: 14px; gap: 12px; }
  .od-done-ring { width: 46px; height: 46px; }
  .od-pay { padding: 16px 12px; }
  .pixpay-bank { font-size: .76rem; }
}

/* celular: coluna do produto vira "capa + nome" e o resto (aviso, dados de acesso, botões) ocupa a largura toda */
@media (max-width: 900px) {
  .od-side .od-cover { grid-row: 1 / span 2; }
  .od-side > .od-warn, .od-side > .od-code, .od-side > .btn { grid-column: 1 / -1; }
}

/* ── Produto esgotado: "me avise quando repor" ───────────────────────────────────────────────────── */
.restock { margin-top: 18px; border: 1px dashed var(--line-2); border-radius: 16px; padding: 14px 16px; background: rgba(var(--blue2-rgb), .06); transition: border-color .25s, background .25s; }
.rs-row { display: flex; align-items: center; gap: 14px; cursor: pointer; position: relative; }
.rs-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rs-box { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; background: rgba(255, 255, 255, .03); transition: .2s; }
.rs-row:hover .rs-box { border-color: var(--sky); }
.rs-row input:checked + .rs-box { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px -6px rgba(var(--blue-rgb), .9); }
.rs-row input:focus-visible + .rs-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.rs-row input:disabled + .rs-box { opacity: .6; }
.rs-txt b { display: block; text-transform: uppercase; letter-spacing: .05em; font-size: .86rem; font-weight: 800; line-height: 1.25; }
.rs-txt small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.restock.on { border-style: solid; border-color: rgba(34, 197, 94, .55); background: rgba(34, 197, 94, .07); }
.restock.on .rs-box { background: var(--ok); box-shadow: 0 6px 18px -6px rgba(34, 197, 94, .8); }

/* ── Aba "Perguntas" do produto: dúvida pelo WhatsApp ────────────────────────────────────────────── */
.wa-ask { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .025); }
.wa-ask-ico { width: 76px; height: 76px; display: block; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.wa-ask-ico .wa-ico { width: 100%; height: 100%; display: block; }
.wa-ask h3 { margin: 6px 0 0; font-size: 1.15rem; }
.wa-ask p { margin: 0; color: var(--muted); }
.wa-ask small { margin-top: 4px; }
.wa-ask small a { color: var(--sky); }
.btn-wa { background: linear-gradient(145deg, #3ee676 0%, #25d366 45%, #0fa958 100%); color: #fff; border-color: transparent; box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .75); margin-top: 8px; font-weight: 700; }
.btn-wa:hover { filter: brightness(1.07); box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .95); color: #fff; }
.btn-wa .wa-ico { flex: 0 0 auto; background: #fff; border-radius: 50%; padding: 1px; }

/* ── Meus pedidos: colunas centralizadas, mais espaço, nº maior e botões em verde-limão ─────────────── */
:root { --lime: #a3ff3a; --lime-rgb: 163, 255, 58; }
.btn-lime { background: rgba(var(--lime-rgb), .06); color: var(--lime); border: 1.5px solid rgba(var(--lime-rgb), .85); font-weight: 700; }
.btn-lime:hover { background: rgba(var(--lime-rgb), .16); color: #d4ff8f; border-color: var(--lime); box-shadow: 0 8px 22px -10px rgba(var(--lime-rgb), .7); }
.ord-row { grid-template-columns: 128px minmax(0, 2fr) 118px 124px 150px 150px; gap: 22px; padding: 15px 22px; }
.ord-head { padding-top: 13px; padding-bottom: 13px; }
.ord-head > span:not(:nth-child(2)), .ord-no, .ord-date, .ord-val, .ord-st { text-align: center; justify-self: center; }
.ord-head .r { text-align: center; justify-content: center; }
.ord-act { justify-content: center; text-align: center; }
.ord-no a { font-family: ui-monospace, Consolas, monospace; font-size: 1.08rem; font-weight: 800; color: var(--lime); letter-spacing: .02em; text-shadow: 0 0 18px rgba(var(--lime-rgb), .25); }
.ord-no a:hover { color: #d4ff8f; }
.ord-val { font-size: .95rem; }
.ord-foot { margin-top: 12px; }
@media (max-width: 1060px) { .ord-row { grid-template-columns: 112px minmax(0, 1.6fr) 100px 108px 140px 138px; gap: 14px; padding: 13px 14px; } }
@media (max-width: 760px) {
  .ord-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px; }
  .ord-row .ord-no, .ord-row .ord-date { text-align: left; justify-self: start; }
  .ord-row .ord-val, .ord-row .ord-st { text-align: right; justify-self: end; }
  .ord-row .ord-act { justify-content: stretch; }
  .ord-no a { font-size: 1.12rem; }
}
/* filtros escondidos atrás de um botão discreto */
.ord-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ord-ftoggle { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--dim); background: transparent; border: 1px solid var(--line); cursor: pointer; transition: .2s; }
.ord-ftoggle:hover, .ord-ftoggle.open { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.ord-ftoggle.on { color: var(--sky); border-color: rgba(var(--blue2-rgb), .6); }
.ord-ftoggle b { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: .66rem; background: var(--grad); color: #fff; }
.ord-toolbar { padding: 12px 14px; border: 1px dashed var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.ord-toolbar.hidden { display: none; }
@media (max-width: 760px) { .ord-tools { justify-content: space-between; width: 100%; } }

/* ── Ver Acessos (estilo "Meus Gift Cards") ─────────────────────────────────────────────────────── */
.acc-secure { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--lime); background: rgba(var(--lime-rgb), .08); border: 1px solid rgba(var(--lime-rgb), .3); white-space: nowrap; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; align-items: start; }
.acc-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); min-width: 0; }
.acc-art { position: relative; aspect-ratio: 1.12; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); }
.acc-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.acc-art > .ico { color: var(--cyan); }
.acc-badge { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: var(--lime); background: rgba(var(--bg-rgb), .82); border: 1px solid rgba(var(--lime-rgb), .3); backdrop-filter: blur(6px); }
.acc-meta { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.acc-meta a { color: var(--lime); font-weight: 800; font-family: ui-monospace, Consolas, monospace; }
.acc-name { margin: 0; font-size: 1.02rem; line-height: 1.25; overflow-wrap: anywhere; }
.acc-code { padding: 12px; border-radius: 14px; border: 1px dashed rgba(var(--lime-rgb), .4); background: rgba(var(--lime-rgb), .04); min-width: 0; }
.acc-code .od-cred { margin: 0; }
.acc-how { margin-top: 2px; }
#hwModal .hw-body { max-height: 60vh; overflow: auto; }
@media (max-width: 560px) { .acc-grid { grid-template-columns: 1fr; } }

/* avaliações: produto + valor em branco; botão "Útil" ativo em verde-limão */
.rev-prod { color: #fff; font-weight: 600; }
.rev-prod b { font-weight: 800; margin-left: 4px; }
.help-btn { color: var(--lime); border-color: rgba(var(--lime-rgb), .55); background: rgba(var(--lime-rgb), .05); }
a.help-btn:hover, button.help-btn:hover { background: rgba(var(--lime-rgb), .16); color: #d4ff8f; border-color: var(--lime); }
.help-btn.on { background: rgba(var(--lime-rgb), .2); color: #e6ffb8; border-color: var(--lime); }

/* Site seguro: dois selos lado a lado; estrela amarela no estado vazio das avaliações */
.seals { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 14px 10px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line); }
.seal-i { display: block; line-height: 0; }
a.seal-i { transition: transform .2s, filter .2s; }
a.seal-i:hover { transform: translateY(-2px); filter: brightness(1.15); }
.seal-svg { display: block; height: 44px; width: auto; max-width: 100%; }
.empty .ico-wrap .star.on { color: #f59e0b; fill: #f59e0b; filter: drop-shadow(0 0 8px rgba(245, 158, 11, .45)); }

/* Minha conta → Segurança: sessões ativas e histórico de login */
.sess-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.sess-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sess-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) 1.2fr 1.3fr 1fr 1fr 1.2fr; gap: 14px; align-items: center; padding: 13px 16px; border-top: 1px solid var(--line); font-size: .86rem; }
.sess-hist .sess-row { grid-template-columns: minmax(150px, 1.4fr) 1.2fr 1.3fr 1fr; }
.sess-row small { display: block; color: var(--dim); font-size: .72rem; margin-top: 2px; }
.sess-th { border-top: 0; background: rgba(255, 255, 255, .03); color: var(--dim); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sess-cur { font-style: normal; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; color: var(--lime); background: rgba(var(--lime-rgb), .1); border: 1px solid rgba(var(--lime-rgb), .35); }
.sess-act form { margin: 0; }
@media (max-width: 860px) {
  .sess-th { display: none; }
  .sess-row, .sess-hist .sess-row { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .sess-row > span::before { content: attr(data-l); display: block; color: var(--dim); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
  .sess-row > .sess-b { grid-column: 1 / -1; }
}

/* aviso: complete o cadastro para ver o acesso */
.gate-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 30px 20px; border-radius: 18px; border: 1px dashed rgba(var(--lime-rgb), .45); background: rgba(var(--lime-rgb), .04); }
.gate-card > .ico { color: var(--lime); }
.gate-card h3 { margin: 4px 0 0; font-size: 1.1rem; }
.gate-card p { margin: 0; max-width: 460px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.gate-miss { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gate-miss li { padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fcd34d; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); }
.pdp-badge-safe .ico { color: #9ad7a8; }

.pop-google-only { display: grid; gap: 12px; padding: 4px 2px 2px; }
.pop-google-only p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

/* rodapé: avaliações do Google, formas de pagamento e site seguro */
.footer-trust h4 { margin: 0 0 10px; }
.footer-trust h4:not(:first-child) { margin-top: 18px; }
.footer .g-rev { display: inline-block; padding: 0; line-height: 0; }
.g-rev-svg { height: 84px; width: auto; display: block; }
.footer .g-rev { cursor: default; pointer-events: none; user-select: none; }
.pay-flags { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-flag { display: grid; place-items: center; width: 54px; height: 36px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .6); }
.trust-seals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.trust-seals .seal-svg { height: 40px; }
.footer .trust-seals a.seal-i { display: block; padding: 0; }

/* produto no celular/tablet: a descrição não rola dentro da caixa — a página é que rola */
@media (max-width: 960px) { .side-desc { max-height: none; overflow: visible; } }

/* vídeo "Como resgatar" */
.vid-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin: 0 0 14px; background: #000; border: 1px solid var(--line); }
.vid-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* descrição do produto: mostra tudo, sem barra de rolagem */
.side-desc { max-height: none !important; overflow: visible !important; }
