/* ═══════════════════════════════════════════════════════
   REVESTE v2 — Base: Reset · Tipografia · Componentes Globais
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body  { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text);
        line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased;
        overflow-x: hidden; max-width: 100vw; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button{ cursor: pointer; font-family: inherit; background: none; border: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Tipografia ─────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  color: var(--text);
  font-weight: 400;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.serif { font-family: 'Cormorant Garamond', serif; }
.mono  { font-family: 'DM Mono', monospace; font-size: .85em; }
.muted { color: var(--text2); }
.small { font-size: .85rem; }

/* ── Botões ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--text); color: var(--bg);
  font-size: .875rem; font-weight: 500; letter-spacing: .04em;
  padding: 12px 28px; border-radius: var(--radius-sm);
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover  { opacity: .85; transform: translateY(-1px); }
.btn-primary:active { transform: scale(.97); }

.btn-primary-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--text); color: var(--bg);
  font-size: .8rem; font-weight: 500; padding: 8px 18px;
  border-radius: var(--radius-sm); white-space: nowrap;
  transition: opacity .2s;
}
.btn-primary-sm:hover { opacity: .8; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border2);
  font-size: .875rem; font-weight: 500; padding: 11px 26px;
  border-radius: var(--radius-sm); transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--text3); background: var(--surface2); }

.btn-secondary-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
  font-size: .8rem; font-weight: 500; padding: 6px 14px;
  border-radius: var(--radius-sm); transition: border-color .15s;
}
.btn-secondary-sm:hover { border-color: var(--text3); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text2); font-size: .875rem; font-weight: 400;
  padding: 10px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); transition: all .2s;
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); }

.btn-ghost-sm {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text2); font-size: .8rem; padding: 6px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  transition: all .15s;
}
.btn-ghost-sm:hover { background: var(--surface2); color: var(--text); }

.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent-dark);
  border: 1px solid var(--accent);
  font-size: .875rem; font-weight: 500; padding: 12px 28px;
  border-radius: var(--radius-sm); transition: all .2s;
}
.btn-accent:hover { background: var(--accent); color: #fff; }

.btn-danger {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--danger-bg); color: var(--danger);
  border: 1.5px solid var(--danger);
  font-size: .875rem; font-weight: 500; padding: 11px 26px;
  border-radius: var(--radius-sm); transition: background .2s;
}
.btn-danger:hover { background: var(--danger); color: #fff; }

.btn-danger-sm {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; color: var(--danger);
  border: 1px solid var(--danger);
  font-size: .8rem; font-weight: 500; padding: 6px 14px;
  border-radius: var(--radius-sm); transition: background .15s;
}
.btn-danger-sm:hover { background: var(--danger-bg); }

.btn-lg { padding: 16px 40px; font-size: 1rem; }
.w-full { width: 100%; }
button:disabled { opacity: .5; cursor: not-allowed; }

/* ── Inputs ─────────────────────────────────────────── */
.input-field, .input-sm {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,152,106,.15);
}
.input-field::placeholder { color: var(--text3); }
textarea.input-field { resize: vertical; min-height: 110px; }
select.input-field    { cursor: pointer; }

.input-sm { padding: 8px 12px; font-size: .85rem; }
.input-error { border-color: var(--danger) !important; }

.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: .8rem; font-weight: 500; color: var(--text2); letter-spacing: .04em; text-transform: uppercase; }
.input-group label.required::after { content: ' *'; color: var(--danger); }
.field-error { font-size: .78rem; color: var(--danger); margin-top: 4px; }

/* ── Tags / Chips ───────────────────────────────────── */
.tag {
  display: inline-block; border-radius: 20px;
  padding: 3px 10px; font-size: .75rem; font-weight: 500;
  background: var(--surface2); color: var(--text2); border: 1px solid var(--border);
}
.tag--cond   { background: var(--accent-light); color: var(--accent-dark); border-color: var(--accent); }
.tag--ativo  { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.tag--vendido{ background: var(--bg3); color: var(--text3); border-color: var(--border2); }
.tag--reservado { background: var(--warning-bg); color: var(--warning); border-color: var(--warning); }

/* ── Toast ──────────────────────────────────────────── */
#toast-wrap {
  position: fixed; bottom: 28px; right: 14px; left: 14px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
  align-items: flex-end;
}
.rv-toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  font-size: .875rem; min-width: min(260px, calc(100vw - 28px)); max-width: min(360px, calc(100vw - 28px));
  opacity: 0; transform: translateY(10px) scale(.97);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  pointer-events: auto;
}
.rv-toast.show { opacity: 1; transform: none; }
.rv-toast__icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.rv-toast__msg { flex: 1; font-size: .875rem; color: var(--text); }
.rv-toast--sucesso .rv-toast__icon { background: var(--success-bg); color: var(--success); }
.rv-toast--erro    .rv-toast__icon { background: var(--danger-bg);  color: var(--danger); }
.rv-toast--aviso   .rv-toast__icon { background: var(--warning-bg); color: var(--warning); }
.rv-toast--info    .rv-toast__icon { background: var(--info-bg);    color: var(--info); }

/* ── Modal ──────────────────────────────────────────── */
.rv-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity .28s;
}
.rv-modal-overlay.show { opacity: 1; }
.rv-modal {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 32px;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(.96); transition: transform .28s;
}
.rv-modal-overlay.show .rv-modal { transform: scale(1); }
.rv-modal__msg  { color: var(--text); line-height: 1.65; margin-bottom: 24px; font-size: .95rem; }
.rv-modal__btns { display: flex; gap: 12px; justify-content: flex-end; }

/* ── Spinner ─────────────────────────────────────────── */
.spinner, .spinner-lg {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0;
}
.spinner-lg { width: 36px; height: 36px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Skeleton loading ───────────────────────────────── */
.produto-card-skeleton, .pcard-sm-skeleton {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.sk-img  { height: 240px; background: linear-gradient(90deg, var(--surface2) 25%, var(--bg3) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.sk-line { height: 14px; margin: 12px 12px 6px; border-radius: 4px;
           background: linear-gradient(90deg, var(--surface2) 25%, var(--bg3) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.sk-line--short { width: 60%; }
.sk-line--price { height: 18px; width: 40%; margin-top: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Empty state ────────────────────────────────────── */
.empty-state {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 80px 20px; text-align: center; color: var(--text3);
}
.empty-state p { font-size: 1rem; color: var(--text2); }

/* ── LGPD Banner ────────────────────────────────────── */
#lgpd-banner {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 8000;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 24px;
  transform: translateY(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
}
#lgpd-banner.show { transform: none; }
.lgpd-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.lgpd-inner p { font-size: .83rem; color: var(--text2); flex: 1; line-height: 1.6; }
.lgpd-inner a { color: var(--accent); text-decoration: underline; }
.lgpd-inner strong { color: var(--text); }
.lgpd-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Utilitários ─────────────────────────────────────── */
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ── Loading detalhe produto ─────────────────────────── */
.loading-detalhe {
  display: flex; align-items: center; justify-content: center;
  min-height: 400px; color: var(--text3);
}

/* ── Dupla definição upload-progress — remover do layout-desktop ── */
/* (definida em base.css abaixo) */

/* ── Alias skeleton ─────────────────────────────────────── */
.skeleton { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   REVESTE v5.0 — Novos Componentes
══════════════════════════════════════════════════════════ */

/* ── Loading Screen ─────────────────────────────────────── */
.rv-loading {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity .5s ease;
  pointer-events: all;
}
.rv-loading.hide { opacity: 0; pointer-events: none; }
.rv-loading.done { display: none; }

.rv-loading__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; letter-spacing: .2em;
  color: var(--text);
  animation: rv-loading-pulse 1.6s ease-in-out infinite;
}
.rv-loading__dot { color: var(--accent); }

@keyframes rv-loading-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

/* ── Botão tema float minimalista ───────────────────────── */
.btn-tema-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: all .2s; cursor: pointer;
}
.btn-tema-float:hover { background: var(--surface2); color: var(--text); border-color: var(--border2); }

/* ── Botão alternância de perfil ────────────────────────── */
.nav-perfil-switch {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text2); font-size: .8rem; font-weight: 500;
  transition: all .2s; cursor: pointer; white-space: nowrap;
}
.nav-perfil-switch:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.nav-perfil-switch__label { max-width: 80px; overflow: hidden; text-overflow: ellipsis; }

/* ── Avatar inicial (sem foto) ───────────────────────────── */
.nav-avatar-inicial {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; color: var(--accent);
}

/* ── Modal loja (sem loja) ───────────────────────────────── */
.rv-modal--loja {
  text-align: center; padding: 40px 32px;
}
.rv-modal--loja__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.rv-modal--loja__title { font-size: 1.15rem; margin-bottom: 8px; }
.rv-modal--loja__sub   { color: var(--text2); font-size: .875rem; margin-bottom: 24px; }

/* ── Modal form (criar loja) ─────────────────────────────── */
.rv-modal--form {
  max-width: 540px; width: 92vw;
  max-height: 88vh; overflow-y: auto;
  padding: 0;
}
.rv-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.rv-modal__header h3 { font-size: 1.05rem; }
.rv-modal__close {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: var(--text3); transition: all .15s;
}
.rv-modal__close:hover { background: var(--surface2); color: var(--text); }
.rv-modal--form .form-grid { padding: 20px 24px 24px; }
.rv-modal--form .form-grid .form-grid { padding: 0; }

/* ── Configurações — Layout ──────────────────────────────── */
.config-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: 960px; margin: 0 auto; padding: 40px 0 80px;
  align-items: start;
}

.config-sidebar {
  position: sticky; top: 80px;
}
.config-sidebar__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; margin-bottom: 16px;
  color: var(--text);
}
.config-sidebar__nav { display: flex; flex-direction: column; gap: 2px; }

.config-nav-item {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: .875rem; color: var(--text2);
  transition: all .15s; cursor: pointer;
}
.config-nav-item:hover  { background: var(--surface2); color: var(--text); }
.config-nav-item.active { background: var(--surface2); color: var(--text); font-weight: 500; }

/* ── Configurações — Painel ──────────────────────────────── */
.config-panel__header { margin-bottom: 28px; }
.config-panel__title  { font-size: 1.3rem; margin-bottom: 4px; }
.config-panel__sub    { font-size: .875rem; color: var(--text2); }

.config-section {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
.config-section--danger { border-color: var(--danger-bg); }
.config-section__label {
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text3);
  padding: 16px 20px 8px; display: block;
}

.config-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.config-item:last-child { border-bottom: none; }
.config-item__label { font-size: .875rem; font-weight: 500; color: var(--text); }
.config-item__label--danger { color: var(--danger); }
.config-item__desc  { font-size: .8rem; color: var(--text3); margin-top: 2px; }

/* ── Toggle switch ───────────────────────────────────────── */
.cfg-toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; cursor: pointer; }
.cfg-toggle input { opacity: 0; width: 0; height: 0; }
.cfg-toggle__track {
  position: absolute; inset: 0; border-radius: 11px;
  background: var(--border2); transition: background .2s;
}
.cfg-toggle__track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: white; transition: transform .2s;
}
.cfg-toggle input:checked + .cfg-toggle__track { background: var(--accent); }
.cfg-toggle input:checked + .cfg-toggle__track::after { transform: translateX(18px); }

/* ── Badge ───────────────────────────────────────────────── */
.cfg-badge { font-size: .75rem; padding: 3px 8px; border-radius: 20px; font-weight: 500; flex-shrink: 0; }
.cfg-badge--ok { background: var(--success-bg); color: var(--success); }

/* ── Botão danger sm ─────────────────────────────────────── */
.btn-danger-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid transparent; font-size: .8rem;
  font-weight: 500; padding: 6px 14px; border-radius: var(--radius-sm);
  transition: all .15s; white-space: nowrap; flex-shrink: 0;
}
.btn-danger-sm:hover { border-color: var(--danger); }

/* ── Config form inline ──────────────────────────────────── */
.config-form-inline {
  padding: 16px 20px; border-top: 1px solid var(--border);
  background: var(--surface2);
}

/* ── Config perfil avatar ────────────────────────────────── */
.config-perfil-avatar {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; flex-wrap: wrap;
}
.config-perfil-avatar .av-inicial {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
}

/* ── Config capa ─────────────────────────────────────────── */
.cfg-capa-wrap { padding: 20px; }
.cfg-capa-preview {
  width: 100%; height: 120px; border-radius: var(--radius);
  background: var(--surface2); border: 2px dashed var(--border2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; overflow: hidden;
}
.cfg-capa-placeholder { color: var(--text3); font-size: .875rem; }
.cfg-capa-actions { display: flex; gap: 8px; align-items: center; }

/* ── Config tema btns ────────────────────────────────────── */
.cfg-tema-btns { display: flex; gap: 6px; }
.tema-opt {
  padding: 6px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: .8rem;
  color: var(--text2); transition: all .15s;
}
.tema-opt:hover { border-color: var(--text3); color: var(--text); }
.tema-opt.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ── Nav dropdown com ícone ──────────────────────────────── */
.nav-dropdown__item {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px;
  font-size: .875rem; color: var(--text2); transition: all .15s;
  border-radius: 0; width: 100%; text-align: left;
}
.nav-dropdown__item svg { flex-shrink: 0; color: var(--text3); }
.nav-dropdown__item:hover { background: var(--surface2); color: var(--text); }
.nav-dropdown__item:hover svg { color: var(--text2); }
.nav-dropdown__item--danger { color: var(--danger); }
.nav-dropdown__item--danger:hover { background: var(--danger-bg); color: var(--danger); }
.nav-dropdown__item--danger svg { color: var(--danger); }

/* Botão tema dentro do menu mobile */
.nm-tema-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  background: none; border: none;
  padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--text2); font-size: .93rem;
  cursor: pointer; transition: background .15s;
  min-height: var(--touch-min);
}
.nm-tema-btn:hover { background: var(--surface2); color: var(--text); }
.nm-tema-btn__icon { display: flex; align-items: center; flex-shrink: 0; color: var(--text3); }

/* Responsivo configurações */
@media (max-width: 720px) {
  .config-layout { grid-template-columns: 1fr; gap: 0; }
  .config-sidebar { position: static; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px; }
  .config-sidebar__nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .config-nav-item { padding: 7px 12px; font-size: .8rem; }
  .rv-modal--form { max-height: 95vh; }
  .nav-perfil-switch__label { display: none; }
}

/* ── Perfil v5 — Visualização ───────────────────────────── */
.perfil-info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin: 24px 0;
}
.perfil-info-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; position: relative;
}
.perfil-info-card__label {
  font-size: .75rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 12px;
}
.perfil-info-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.perfil-info-row:last-child { border-bottom: none; }
.perfil-info-row span { color: var(--text2); flex-shrink: 0; }
.perfil-info-row strong { font-weight: 400; text-align: right; color: var(--text); word-break: break-all; }
.perfil-info-card__edit {
  display: inline-block; margin-top: 14px;
  font-size: .8rem; color: var(--accent); font-weight: 500;
  transition: opacity .15s;
}
.perfil-info-card__edit:hover { opacity: .7; }

/* Estatísticas */
.perfil-stats {
  display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap;
}
.perfil-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 28px; border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 100px;
}
.perfil-stat strong { font-size: 1.4rem; font-family: 'Cormorant Garamond', serif; color: var(--text); }
.perfil-stat span   { font-size: .78rem; color: var(--text3); margin-top: 2px; }

/* Editar foto — ícone minimalista */
.pf-edit-foto {
  position: absolute; bottom: 0; right: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); cursor: pointer; transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.pf-edit-foto:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ── Categorias rápidas (grid SVG) ──────────────────────── */
.cat-quick-grid {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.cat-quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  font-size: .8rem; color: var(--text2); cursor: pointer;
  transition: all .2s; min-width: 80px;
}
.cat-quick-item:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-light); transform: translateY(-2px);
}
.cat-quick-item svg { color: var(--text3); transition: color .2s; }
.cat-quick-item:hover svg { color: var(--accent); }

/* ── Config panel transition ─────────────────────────────── */
.config-panel {
  animation: fadeInUp .2s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Correções globais de proporção de texto (v5.1) ──────────── */
/* Evita que textos longos quebrem containers flex/grid */
.pcard, .pcard__body, .detalhe__info, .loja-page__info,
.perfil-header__info, .vendedor__info, .auth-card {
  min-width: 0;
}
/* Nomes/títulos nunca cortam com overflow invisível */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-break: break-word;
}
/* Tags e badges não estouram o container pai */
.tag, .pcard__status-badge, .super-oferta-badge,
.pcard__destaque-badge, .nav-perfil-badge {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Botão trion na página do vendedor */
.btn-trion-contato {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  border: none; cursor: pointer; font-size: .875rem;
  font-weight: 500; transition: opacity .18s;
  white-space: nowrap; flex-shrink: 0;
}
.btn-trion-contato:hover { opacity: .85; }

/* Categoria rápida — estado ativo */
.cat-quick-item.active {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-light); font-weight: 600;
}
.cat-quick-item.active svg { color: var(--accent); }

/* ═══════════════════════════════════
   REVESTE v6 — Chat badge na navbar
═══════════════════════════════════ */
.nav-chat-btn { position: relative; }
.nav-chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 4px;
  min-width: 16px;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
}

/* ═══════════════════════════════════
   REVESTE v7.1 — Sistema de Avaliação (Estrelas)
═══════════════════════════════════ */

/* Wrapper geral */
.rv-rating-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Linha de estrelas */
.rv-stars {
  display: flex;
  gap: 3px;
  align-items: center;
}

/* Estrela individual */
.rv-star {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--border2);
  transition: color .15s, transform .12s;
  cursor: default;
  user-select: none;
}
.rv-star.filled { color: var(--accent); }
.rv-star.half   { color: var(--accent); opacity: .55; }

/* Estrelas interativas */
.rv-stars--interativo .rv-star {
  cursor: pointer;
}
.rv-stars--interativo .rv-star:hover,
.rv-stars--interativo .rv-star.hover {
  color: var(--accent-hover);
  transform: scale(1.18);
}

/* Info de pontuação */
.rv-stars__info {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text2);
  white-space: nowrap;
}
.rv-stars__count {
  font-size: .78rem;
  color: var(--text3);
  font-weight: 400;
}
.rv-stars__sem {
  font-size: .8rem;
  color: var(--text3);
  font-style: italic;
}

/* Seção completa de avaliação na página da loja */
.rv-rating-secao {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 24px;
}

/* Bloco de avaliação pelo usuário */
.rv-rating-avaliar {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
}
.rv-rating-avaliar__titulo {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rv-rating-avaliar__hint {
  font-size: .82rem;
  color: var(--text3);
  margin-top: 10px;
}

/* Badge de nota no card de loja */
.loja-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--text3);
}
.loja-card__rating-star {
  color: var(--accent);
  font-size: .85rem;
}

/* ═══════════════════════════════════
   REVESTE v7.2 — Notificações In-App
═══════════════════════════════════ */

/* ── Sino na navbar ─────────────────────────────────── */
.nav-notif-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--text2);
  transition: background .18s, color .18s;
  cursor: pointer; flex-shrink: 0;
}
.nav-notif-btn:hover { background: var(--surface2); color: var(--text); }

/* Badge de contagem no sino */
.nav-notif-badge {
  position: absolute;
  top: -3px; right: -3px;
  background: var(--danger);
  color: #fff;
  font-size: .58rem; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg);
  pointer-events: none;
}

/* ── Dropdown de notificações ───────────────────────── */
.nav-notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -8px;
  width: 340px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 480px;
}

/* Header do dropdown */
.nav-notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-notif-title {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text3);
}
.nav-notif-marcar-todas {
  font-size: .75rem; color: var(--accent);
  background: none; border: none; cursor: pointer;
  padding: 2px 0;
  transition: opacity .15s;
}
.nav-notif-marcar-todas:hover { opacity: .75; }

/* Lista de notificações */
.nav-notif-lista {
  overflow-y: auto;
  flex: 1;
  max-height: 400px;
  scrollbar-width: thin;
}
.nav-notif-lista::-webkit-scrollbar { width: 4px; }
.nav-notif-lista::-webkit-scrollbar-track { background: transparent; }
.nav-notif-lista::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* Estado vazio */
.nav-notif-vazio {
  padding: 32px 16px;
  text-align: center;
  font-size: .85rem;
  color: var(--text3);
}

/* Item de notificação */
.nav-notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  position: relative;
}
.nav-notif-item:last-child { border-bottom: none; }
.nav-notif-item:hover { background: var(--surface2); }

/* Item não lido — fundo levemente destacado */
.nav-notif-item--nova {
  background: var(--accent-light);
}
.nav-notif-item--nova:hover { background: var(--accent-light); filter: brightness(.97); }

/* Ícone da notificação */
.nav-notif-icone {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;
}

/* Corpo do texto */
.nav-notif-corpo { flex: 1; min-width: 0; }
.nav-notif-titulo {
  font-size: .84rem; font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 2px;
  /* Trunca em 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nav-notif-sub {
  font-size: .76rem; color: var(--text3);
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-notif-tempo {
  font-size: .72rem; color: var(--text3);
  font-family: 'DM Mono', monospace;
}

/* Ponto azul de "não lido" */
.nav-notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ── Botão de notificações no menu mobile ───────────── */
.nm-notif-btn {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .93rem; color: var(--text2);
  transition: background .15s;
  border: none; text-align: left; width: 100%; background: none;
  cursor: pointer;
}
.nm-notif-btn:hover { background: var(--surface2); color: var(--text); }

/* ── Responsivo: dropdown ocupa tela cheia no mobile ── */
@media (max-width: 600px) {
  .nav-notif-dropdown {
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: calc(100dvh - 56px - 64px);
    border-left: none; border-right: none; border-top: none;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .nav-notif-dropdown {
    width: 300px;
    right: 0;
  }
}

/* ═══════════════════════════════════
   REVESTE v7.3 — Sistema de Denúncias
═══════════════════════════════════ */

/* ── Botão de denúncia discreto ─────────────────────── */
.btn-denuncia {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; color: var(--text3);
  background: none; border: none; cursor: pointer;
  padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.btn-denuncia:hover { color: var(--danger); background: var(--danger-bg); }
.btn-denuncia svg   { flex-shrink: 0; }

/* Variante loja — aparece no header da página do vendedor */
.btn-denuncia-loja {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--text3);
  background: none; border: 1px solid var(--border);
  cursor: pointer; padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color .15s, border-color .15s, background .15s;
}
.btn-denuncia-loja:hover {
  color: var(--danger); border-color: var(--danger);
  background: var(--danger-bg);
}

/* ── Modal de denúncia ──────────────────────────────── */
.rv-report-overlay { z-index: 1100; }

.rv-report-modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 480px;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

/* Header */
.rv-report-modal__header {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--surface); z-index: 1;
}
.rv-report-modal__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--danger-bg); color: var(--danger);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rv-report-modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--text); margin-bottom: 2px;
  line-height: 1.2;
}
.rv-report-modal__sub {
  font-size: .8rem; color: var(--text3);
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 260px;
}
.rv-report-modal__close {
  margin-left: auto; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); background: none; border: none;
  cursor: pointer; transition: background .15s, color .15s;
}
.rv-report-modal__close:hover { background: var(--surface2); color: var(--text); }

/* Body */
.rv-report-modal__body { padding: 20px 22px; }
.rv-report-modal__instrucao {
  font-size: .82rem; color: var(--text2);
  margin-bottom: 14px; font-weight: 500;
}

/* Lista de motivos */
.rv-report-motivos {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 16px;
}
.rv-report-motivo-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.rv-report-motivo-item:hover { border-color: var(--border2); background: var(--surface2); }
.rv-report-motivo-item:has(input:checked) {
  border-color: var(--danger);
  background: var(--danger-bg);
}
.rv-report-motivo-item input[type="radio"] {
  width: 16px; height: 16px; accent-color: var(--danger);
  flex-shrink: 0; cursor: pointer;
}
.rv-report-motivo-label {
  font-size: .875rem; color: var(--text2);
  line-height: 1.3;
}
.rv-report-motivo-item:has(input:checked) .rv-report-motivo-label {
  color: var(--danger); font-weight: 500;
}

/* Textarea de descrição */
.rv-report-desc-wrap { margin-bottom: 16px; position: relative; }
.rv-report-desc-label {
  font-size: .78rem; font-weight: 500;
  color: var(--text2); letter-spacing: .04em;
  text-transform: uppercase; display: block; margin-bottom: 6px;
}
.rv-report-opcional { font-weight: 400; text-transform: none; color: var(--text3); }
.rv-report-desc     { min-height: 80px; font-size: .88rem !important; }
.rv-report-chars    {
  display: block; text-align: right;
  font-size: .72rem; color: var(--text3);
  font-family: 'DM Mono', monospace;
  margin-top: 4px;
}

/* Footer de ações */
.rv-report-modal__footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding-top: 4px;
}
.rv-report-cancel { padding: 10px 20px; }
.rv-report-submit { padding: 10px 20px; gap: 7px; }

/* Não logado */
.rv-report-not-logged {
  text-align: center; padding: 20px 0;
  font-size: .9rem; color: var(--text2);
}
.rv-report-not-logged a { color: var(--accent); }

/* Tela de sucesso */
.rv-report-success {
  padding: 40px 28px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.rv-report-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center;
}
.rv-report-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--text);
}
.rv-report-success p {
  font-size: .88rem; color: var(--text2);
  max-width: 320px; line-height: 1.6;
}
.rv-report-ok { min-width: 140px; }

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .rv-report-modal {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92dvh;
    max-width: 100%;
  }
  .rv-report-overlay { align-items: flex-end; }
  .rv-report-modal__header { padding: 18px 16px 14px; }
  .rv-report-modal__body   { padding: 16px 16px; }
  .rv-report-modal__footer { flex-direction: column-reverse; }
  .rv-report-cancel,
  .rv-report-submit { width: 100%; justify-content: center; min-height: 44px; }
  .rv-report-success { padding: 32px 20px; }
}

/* ── Paleta de cores (filtro) ───────────────────────────────── */
.filtro-cor-paleta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.cor-bolinha {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  flex-shrink: 0;
}
.cor-bolinha:hover {
  transform: scale(1.18);
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.cor-bolinha.ativa {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light, rgba(var(--accent-rgb,0,0,0),.18));
  transform: scale(1.13);
}

/* ── Seção header com ordenação ─────────────────────────────── */
.section-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.input-field--sm {
  padding: 6px 10px;
  font-size: .82rem;
  height: auto;
  min-height: unset;
  border-radius: var(--radius);
}

/* ── Badge de filtros ativos (mobile) ───────────────────────── */
.filtros-mobile-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  margin-left: 2px;
}

/* ── Botão Seguir loja ──────────────────────────────────────── */
.loja-page__follow-wrap {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  flex-shrink: 0;
}

.btn-seguir {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s;
  white-space: nowrap;
  min-height: 40px;
}
.btn-seguir:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn-seguir:active { transform: scale(.97); }
.btn-seguir:disabled { opacity: .6; cursor: not-allowed; }

.btn-seguir--ativo {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-seguir--ativo:hover {
  background: var(--accent-dark, var(--accent));
  filter: brightness(.92);
}

/* ── Contador de seguidores ─────────────────────────────────── */
.loja-seguidores-count {
  font-size: .8rem;
  color: var(--text3);
}

/* ── Feed lojas seguidas (home) ─────────────────────────────── */
#sec-feed-seguindo .section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
#sec-feed-seguindo .section-title::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .loja-page__follow-wrap { width: 100%; }
  .btn-seguir { width: 100%; justify-content: center; min-height: var(--touch-min); }
}

/* ── Histórico de Vendas & Compras ───────────────────────── */
.historico-section {
  margin-top: 32px;
}
.historico-section__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.historico-section__title {
  font-size: .75rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text3);
}
.historico-tabs {
  display: flex; gap: 4px;
  background: var(--surface2); border-radius: var(--radius);
  padding: 3px;
}
.historico-tab {
  padding: 5px 14px; border-radius: calc(var(--radius) - 2px);
  font-size: .8rem; font-weight: 500; cursor: pointer;
  border: none; background: transparent; color: var(--text2);
  transition: all .18s;
}
.historico-tab.active {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.historico-list {
  display: flex; flex-direction: column; gap: 10px;
}
.historico-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: border-color .18s;
}
.historico-card:hover { border-color: var(--border2); }
.historico-card__foto {
  width: 52px; height: 52px; border-radius: calc(var(--radius) - 2px);
  object-fit: cover; flex-shrink: 0; background: var(--surface2);
}
.historico-card__foto-placeholder {
  width: 52px; height: 52px; border-radius: calc(var(--radius) - 2px);
  background: var(--surface2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--text3);
}
.historico-card__body {
  flex: 1; min-width: 0;
}
.historico-card__nome {
  font-size: .9rem; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.historico-card__meta {
  font-size: .775rem; color: var(--text3); display: flex; gap: 10px; flex-wrap: wrap;
}
.historico-card__meta span { display: flex; align-items: center; gap: 3px; }
.historico-card__preco {
  font-size: .95rem; font-weight: 500; color: var(--accent);
  font-family: 'Cormorant Garamond', serif; white-space: nowrap; flex-shrink: 0;
}
.historico-card__link {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--text3);
  transition: all .18s; flex-shrink: 0;
}
.historico-card__link:hover { border-color: var(--accent); color: var(--accent); }
.historico-status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px; font-size: .7rem; font-weight: 500;
}
.historico-status-badge--concluido {
  background: var(--accent-light,#e8f5e9); color: var(--accent-dark,#2e7d32);
}
.historico-status-badge--cancelado {
  background: #fff3f3; color: #c62828;
}

/* Painel de métricas do vendedor */
.historico-metricas {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.historico-metrica {
  flex: 1; min-width: 100px;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 20px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
}
.historico-metrica strong {
  font-size: 1.35rem; font-family: 'Cormorant Garamond', serif; color: var(--text);
}
.historico-metrica span { font-size: .75rem; color: var(--text3); margin-top: 3px; }

.historico-empty {
  padding: 32px 0; text-align: center; color: var(--text3); font-size: .875rem;
}

/* ── PWA Install Banner ──────────────────────────────────── */
#pwa-install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
#pwa-install-banner.pwa-banner--show {
  transform: translateY(0);
  pointer-events: auto;
}
.pwa-banner__inner {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border2);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
}
.pwa-banner__icon {
  width: 44px; height: 44px; border-radius: 10px;
  flex-shrink: 0; object-fit: cover;
}
.pwa-banner__text {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px;
}
.pwa-banner__text strong { font-size: .875rem; color: var(--text); }
.pwa-banner__text span   { font-size: .75rem;  color: var(--text3); }
.pwa-banner__btn-install {
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 8px 18px; font-size: .82rem; font-weight: 600;
  cursor: pointer; flex-shrink: 0; white-space: nowrap;
  transition: background .18s;
}
.pwa-banner__btn-install:hover { background: var(--accent-hover); }
.pwa-banner__btn-close {
  background: none; border: none;
  color: var(--text3); font-size: .85rem; cursor: pointer;
  padding: 6px; flex-shrink: 0; line-height: 1;
}

/* Em telas com bottom nav, sobe o banner acima dela */
@media (max-width: 600px) {
  #pwa-install-banner.pwa-banner--show {
    bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom, 0px));
  }
  .pwa-banner__inner { padding-bottom: 14px; }
}

/* ── Selo Verificado ─────────────────────────────────────────── */
.selo-verificado {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #E8F4FD;
  color: #1565C0;
  border: 0.5px solid #90CAF9;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px 2px 5px;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.4;
  letter-spacing: .01em;
}
.selo-verificado svg { flex-shrink: 0; }
[data-theme="dark"] .selo-verificado {
  background: rgba(21,101,192,.18);
  color: #90CAF9;
  border-color: rgba(144,202,249,.3);
}
.loja-card__nome-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.loja-page__nome-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pcard__verificado {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(21,101,192,.88);
  color: #fff;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px 2px 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  backdrop-filter: blur(2px);
  letter-spacing: .02em;
}
.filtro-verificado-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 36px;
  border: 0.5px solid var(--border2);
  border-radius: var(--radius);
  background: var(--surface2);
  cursor: pointer;
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
  transition: border-color .15s, background .15s;
  user-select: none;
  white-space: nowrap;
}
.filtro-verificado-wrap:hover {
  border-color: var(--accent);
}
.filtro-verificado-wrap input[type="checkbox"] {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  cursor: pointer;
  margin: 0;
}
.filtro-verificado-wrap--ativo {
  border-color: #1565C0;
  background: #E8F4FD;
  color: #1565C0;
}
[data-theme="dark"] .filtro-verificado-wrap--ativo {
  background: rgba(21,101,192,.18);
  color: #90CAF9;
  border-color: rgba(144,202,249,.3);
}

/* ── Perfil: Lojas que sigo ──────────────────────────────────── */
.pf-seguindo-section {
  margin-top: 28px;
}
.pf-seguindo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pf-seguindo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pf-seguindo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 0.5px solid var(--border2);
  border-radius: var(--radius);
  background: var(--surface2);
  transition: border-color .15s;
}
.pf-seguindo-item:hover {
  border-color: var(--accent);
}
.pf-seguindo-item__info {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}
.pf-seguindo-item__av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text2);
}
.pf-seguindo-item__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-seguindo-item__nome {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-seguindo-item__local {
  display: block;
  font-size: .75rem;
  color: var(--text3);
  margin-top: 1px;
}
.pf-seguindo-item__btn {
  flex-shrink: 0;
}
