/* ---------- Bottom sheet ---------- */
.m-sheet-bg { position: fixed; inset: 0; background: rgba(15,17,21,.5); backdrop-filter: blur(2px); display: none; z-index: 60; }
.m-sheet-bg.show { display: block; }
.m-sheet { position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 110%); width: 100%; max-width: 560px; background: var(--surface); border-radius: 24px 24px 0 0; padding: 26px 22px 28px; z-index: 61; transition: transform .2s ease; max-height: 85vh; overflow: auto; }
.m-sheet.show { transform: translate(-50%, 0); }
@media (min-width: 768px) { .m-sheet { bottom: 50%; border-radius: 24px; transform: translate(-50%, 50%) scale(.96); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; box-shadow: 0 24px 60px rgba(0,0,0,.25); } .m-sheet.show { transform: translate(-50%, 50%); opacity: 1; pointer-events: auto; } }
.m-sheet h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink-strong); }
.m-sheet .m-btn { margin-top: 18px; }
.m-info-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.m-info-row:last-of-type { border-bottom: none; }
.m-info-row b { display: block; color: var(--ink-strong); font-weight: 700; margin-bottom: 3px; }
.m-info-row a { font-weight: 600; }

/* ---------- Rodapé ---------- */
/* Último elemento da página (fica na base da tela quando o conteúdo é curto) */
.m-footer {
  flex: none; margin-top: 16px; border-top: 1px solid var(--line); background: var(--surface);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
}
.m-footer .m-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-footer p { margin: 0; font-size: 14px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .m-footer { padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .m-footer p { font-size: 13px; }
  .m-powered { font-size: 12px; white-space: nowrap; }
  .m-powered .gs-wordmark { height: 10px; }
}
.m-footer p b { color: var(--ink-strong); font-weight: 700; }
.m-powered { font-size: 13px; color: var(--txt2); }
/* Marca GrowSoft: preta no tema claro, branca no escuro (cor da loja não interfere) */
.m-powered { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.m-powered .gs-wordmark { height: 11px; margin-left: 2px; color: #111; transition: opacity .15s; }
body[data-theme="dark"] .m-powered .gs-wordmark { color: #fff; }
.m-powered:hover .gs-wordmark { opacity: .7; }
.m-powered:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
