/* ==========================================================================
   RESET & SISTEMA DE DESIGN (MOBILE-FIRST + DESKTOP)
   ========================================================================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent-yellow: #f59e0b;
  --accent-green: #16a34a;
  --accent-green-hover: #15803d;
  --bg-dark: #0b132b;
  --bg-body: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-tap-highlight-color: transparent; }
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-color: #0b132b;
}
body {
  color: var(--text-main);
  line-height: 1.4;
  padding-bottom: 70px;
}

/* CONTAINER PRINCIPAL (RESPONSIVO AUTOMÁTICO CELULAR / COMPUTADOR) */
#appWrapper {
  margin: 0 auto;
  transition: all 0.3s ease;
  background: var(--bg-body);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  #appWrapper {
    max-width: 100%;
    margin: 0 auto;
  }
  .bottom-app-bar {
    max-width: 100%;
  }
}
@media (min-width: 769px) {
  #appWrapper {
    max-width: 1240px;
    box-shadow: 0 12px 48px rgba(15,23,42,0.12);
    border-radius: 20px;
    margin: 20px auto;
    overflow: hidden;
    border: 1px solid #e2e8f0;
  }
  .bottom-app-bar {
    display: none !important;
  }
  .desktop-nav-bar {
    display: flex !important;
  }
  .hide-mobile-txt {
    display: inline !important;
  }
}

/* GRID RESPONSIVO PARA PC E MOBILE */
.main-ad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 12px 24px;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .main-ad-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 20px 32px;
  }
  .ad-card-col.vip-duplo {
    grid-column: span 2;
  }
}
@media (min-width: 1025px) {
  .main-ad-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 24px 40px;
  }
  .ad-card-col.vip-duplo {
    grid-column: span 2;
  }
}

.ad-card-col {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.ad-card-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}
.ad-card-col:hover .ad-thumb-box img {
  transform: scale(1.05);
}
.ad-thumb-box img {
  transition: transform 0.35s ease;
}

.desktop-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.desktop-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.desktop-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.22);
  font-weight: 900;
}
.hide-mobile-txt {
  display: none;
}

/* HEADER DARK PRINCIPAL SAAS */
.faixa-instalar-app { display:flex; align-items:center; gap:9px; background:linear-gradient(90deg,#f97316,#ea580c); color:#fff; padding:7px 12px; }
.faixa-instalar-app img { width:32px; height:32px; border-radius:9px; flex-shrink:0; box-shadow:0 2px 6px rgba(0,0,0,.3); }
.faixa-instalar-app .fia-txt { flex:1; min-width:0; line-height:1.2; }
.faixa-instalar-app .fia-txt b { display:block; font-size:12.5px; font-weight:900; }
.faixa-instalar-app .fia-txt span { display:block; font-size:10.5px; opacity:.92; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.faixa-instalar-app button { background:#fff; color:#c2410c; border:none; padding:8px 12px; border-radius:10px; font-weight:900; font-size:12px; cursor:pointer; flex-shrink:0; }
@media (min-width: 900px) { .faixa-instalar-app { display:none !important; } }
/* Modal de instrução iOS/manual */
.modal-instalar-card { background:#fff; width:100%; max-width:420px; border-radius:22px; padding:22px 20px; position:relative; animation:slideUpSheet .25s ease-out; }
.modal-instalar-card ol { padding-left:18px; font-size:13px; color:#334155; line-height:1.55; margin:10px 0 14px; }
.brand-header {
  background: linear-gradient(180deg, #0b132b 0%, #101c3d 100%);
  color: #fff;
  padding: 12px 16px 14px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 3px 10px rgba(245,158,11,0.4);
  flex-shrink: 0;
}
.brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
  color: #ffffff;
  white-space: nowrap;
}
.brand-subtitle {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
@media (min-width: 600px) {
  .brand-subtitle {
    max-width: 250px;
    font-size: 11px;
  }
  .brand-title {
    font-size: 20px;
  }
  .brand-logo-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}
.brand-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-header-cta {
  background: rgba(255,255,255,0.12);
  color: #f1f5f9;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-header-cta:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.btn-header-cta.primary {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(22,163,74,0.35);
}
.btn-header-cta.primary:hover {
  background: #15803d;
}

/* BOTÃO DO USUÁRIO LOGADO (ZERO OVERFLOW / NUNCA CORTA NA TELA) */
.btn-header-logged {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  border: 1px solid #22c55e;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(22,163,74,0.3);
  text-decoration: none;
  max-width: 125px;
  flex-shrink: 1;
  overflow: hidden;
}
.user-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 5px #4ade80;
  flex-shrink: 0;
}
.btn-user-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75px;
  font-weight: 800;
}
@media (min-width: 600px) {
  .btn-header-logged {
    max-width: 200px;
    padding: 6px 12px;
  }
  .btn-user-name {
    max-width: 140px;
  }
}
.btn-header-logout {
  background: #dc2626;
  color: #fff;
  border: 1px solid #ef4444;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-header-logout:hover {
  background: #b91c1c;
}
.btn-header-logout .logout-text {
  display: none;
}
@media (min-width: 600px) {
  .btn-header-logout {
    width: auto;
    padding: 6px 10px;
    height: auto;
  }
  .btn-header-logout .logout-text {
    display: inline;
  }
}

/* BARRA DE PESQUISA */
.search-box-wrapper {
  position: relative;
  margin-top: 6px;
}
.search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  box-shadow: var(--shadow-sm);
}
.btn-mic-busca { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; border:none; background:#f1f5f9; font-size:16px; cursor:pointer; display:none; align-items:center; justify-content:center; }
.btn-mic-busca.on { display:flex; }
/* V104: Central de Ajuda */
.ajuda-tipo { display:block; cursor:pointer; } .ajuda-tipo input { display:none; }
.ajuda-tipo span { display:flex; flex-direction:column; align-items:center; gap:1px; border:1.5px solid #e2e8f0; border-radius:10px; padding:8px 4px; font-size:18px; text-align:center; }
.ajuda-tipo b { font-size:12px; color:#0f172a; } .ajuda-tipo small { font-size:10px; color:#64748b; font-weight:600; }
.ajuda-tipo input:checked + span { border-color:#2563eb; background:#eff6ff; }
.ajuda-item { border:1.5px solid #e2e8f0; border-radius:12px; padding:10px 12px; margin-bottom:8px; cursor:pointer; background:#fff; }
.ajuda-item:active { background:#f8fafc; }
.ajuda-st { display:inline-block; font-size:10px; font-weight:900; padding:2px 8px; border-radius:999px; letter-spacing:.3px; text-transform:uppercase; }
.ajuda-st.recebido { background:#e0f2fe; color:#075985; } .ajuda-st.analisando { background:#fef3c7; color:#92400e; } .ajuda-st.pendente { background:#ffedd5; color:#9a3412; }
.ajuda-st.corrigindo { background:#ede9fe; color:#5b21b6; } .ajuda-st.corrigido { background:#dcfce7; color:#166534; } .ajuda-st.finalizado { background:#e2e8f0; color:#334155; }
.ajuda-timeline { display:flex; gap:0; margin:10px 0 4px; }
.ajuda-timeline div { flex:1; text-align:center; font-size:9px; font-weight:800; color:#94a3b8; position:relative; padding-top:14px; }
.ajuda-timeline div::before { content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width:10px; height:10px; border-radius:50%; background:#e2e8f0; }
.ajuda-timeline div::after { content:""; position:absolute; top:4px; left:-50%; width:100%; height:2px; background:#e2e8f0; z-index:-1; }
.ajuda-timeline div:first-child::after { display:none; }
.ajuda-timeline div.ok { color:#16a34a; } .ajuda-timeline div.ok::before, .ajuda-timeline div.ok::after { background:#16a34a; }
.ajuda-timeline div.atual { color:#1d4ed8; } .ajuda-timeline div.atual::before { background:#1d4ed8; box-shadow:0 0 0 3px #bfdbfe; }
.ajuda-msg { border-radius:10px; padding:8px 10px; font-size:12.5px; margin-top:6px; max-width:92%; }
.ajuda-msg.admin { background:#eff6ff; border:1px solid #bfdbfe; } .ajuda-msg.anunciante { background:#f1f5f9; margin-left:auto; } .ajuda-msg.sistema { background:#fefce8; border:1px dashed #fde68a; }
.ajuda-msg small { display:block; color:#64748b; font-size:10px; margin-top:2px; }
/* V102: horário por dia + situação da loja (painel do anunciante) */
.negocio-hora-row { display:grid; grid-template-columns:34px 44px 1fr 14px 1fr; align-items:center; gap:6px; font-size:12px; }
.negocio-hora-row input[type=time] { width:100%; padding:5px 6px; border:1px solid #cbd5e1; border-radius:6px; font-size:12px; font-weight:700; }
.negocio-hora-row.off input[type=time] { opacity:.35; pointer-events:none; }
.negocio-hora-row b { font-weight:800; color:#0f172a; }
.negocio-hora-row .sw { width:30px; height:18px; border-radius:999px; background:#cbd5e1; position:relative; cursor:pointer; transition:.15s; }
.negocio-hora-row .sw::after { content:""; position:absolute; top:2px; left:2px; width:14px; height:14px; border-radius:50%; background:#fff; transition:.15s; }
.negocio-hora-row .sw.on { background:#16a34a; } .negocio-hora-row .sw.on::after { left:14px; }
.negocio-status-opt { display:flex; align-items:flex-start; gap:8px; padding:8px 10px; border:1.5px solid #e2e8f0; border-radius:10px; cursor:pointer; font-size:12.5px; }
.negocio-status-opt:has(input:checked) { border-color:#2563eb; background:#eff6ff; }
.negocio-status-opt input { margin-top:3px; accent-color:#2563eb; }
.negocio-status-opt small { display:block; font-size:11px; color:#64748b; font-weight:600; }
.negocio-card-img .st.off.aviso { background:#f97316 !important; }
.negocio-card-img .st.off.manut { background:#64748b !important; }
/* V98: X para limpar a pesquisa (aparece só quando tem texto; o microfone some para dar lugar) */
.btn-limpar-busca { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:34px; height:34px; border-radius:50%; border:none; background:#e2e8f0; color:#334155; font-size:15px; font-weight:900; cursor:pointer; display:none; align-items:center; justify-content:center; z-index:2; }
.search-box-wrapper.com-texto .btn-limpar-busca { display:flex; }
.search-box-wrapper.com-texto .btn-mic-busca.on { display:none; }
.btn-mic-busca.gravando { background:#fee2e2; animation: micPulse 1s infinite; }
@keyframes micPulse { 0%,100%{ box-shadow:0 0 0 0 rgba(220,38,38,.5);} 50%{ box-shadow:0 0 0 8px rgba(220,38,38,0);} }
#boxSugestoesBusca { display:none; position:absolute; left:0; right:0; top:calc(100% + 6px); background:#fff; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.25); padding:10px 12px; z-index:60; color:#0f172a; text-align:left; }
#boxSugestoesBusca .sg-tit { font-size:10.5px; font-weight:900; color:#64748b; letter-spacing:.4px; margin:4px 0 6px; }
#boxSugestoesBusca .sg-chip { display:inline-flex; align-items:center; gap:4px; background:#f1f5f9; border:1px solid #e2e8f0; border-radius:999px; padding:6px 11px; font-size:12.5px; font-weight:700; color:#0f172a; margin:0 6px 6px 0; cursor:pointer; }
#boxSugestoesBusca .sg-chip.rec { background:#eff6ff; border-color:#bfdbfe; color:#1e40af; }
#boxSugestoesBusca .sg-chip .x { color:#94a3b8; font-weight:900; padding-left:2px; }
.ad-col-match { display:inline-flex; align-items:center; gap:4px; background:#ecfdf5; border:1px solid #a7f3d0; color:#047857; border-radius:8px; padding:3px 7px; font-size:11px; font-weight:800; margin:4px 0 2px; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.search-icon-fixed {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
}

/* BANNER PRINCIPAL COMERCIAL */
.hero-banner-container {
  padding: 10px 16px 0;
}
.home-cats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.home-cat-tile { background:#fff; border:1.5px solid #e2e8f0; border-radius:14px; padding:9px 4px 7px; display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer; transition:transform .12s, box-shadow .12s; }
.home-cat-tile:active { transform:scale(.96); }
.home-cat-tile:hover { box-shadow:0 4px 12px rgba(15,23,42,.08); }
.home-cat-tile .ico { width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:21px; }
.home-cat-tile b { font-size:10.5px; font-weight:800; color:#0f172a; text-align:center; line-height:1.15; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.home-cat-tile small { font-size:9.5px; color:#64748b; font-weight:700; }
.ad-col-status { font-size:9.5px; font-weight:900; padding:1px 6px; border-radius:999px; white-space:nowrap; }
.ad-col-status.on { background:#dcfce7; color:#166534; }
.ad-col-status.off { background:#fee2e2; color:#991b1b; }
.home-trust-strip { margin-top:8px; display:flex; align-items:center; justify-content:center; gap:6px; font-size:11px; color:#475569; font-weight:700; background:#f1f5f9; border-radius:999px; padding:5px 10px; }
@media (min-width: 760px) { .home-cats-grid { grid-template-columns:repeat(8,1fr); } .home-cat-tile b { font-size:11.5px; } }
.hero-banner {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero-banner::after {
  content: "🍕";
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 80px;
  opacity: 0.18;
  pointer-events: none;
}
.hero-banner h3 { font-size: 15px; font-weight: 900; margin-bottom: 4px; line-height: 1.25; }
.hero-banner p { font-size: 11.5px; color: #c7d2fe; line-height: 1.35; margin-bottom: 8px; }
.btn-hero-action {
  background: var(--accent-yellow);
  color: #0f172a;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* CATEGORIAS EM GRADE / CHIPS */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
}
.section-title {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-link {
  font-size: 11.5px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 16px 12px;
}
.cat-btn-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 4px 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  user-select: none;
}
.cat-btn-card:active { transform: scale(0.96); }
.cat-btn-card.active { border-color: var(--primary); background: #eff6ff; }
.cat-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.cat-name-lbl {
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-count-lbl {
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 700;
}

/* ==========================================================================
   1. CAROUSEL HORIZONTAL NO TOPO (CARDS PEQUENOS, 1/3 DO TAMANHO, SCROLL)
   ========================================================================== */
.horizontal-top-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 14px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.horizontal-top-scroller::-webkit-scrollbar { display: none; }

.mini-card-top {
  flex: 0 0 145px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s;
}
.mini-card-top:active { transform: scale(0.97); }
.mini-card-thumb {
  width: 100%;
  height: 80px;
  background: #1e293b;
  position: relative;
  overflow: hidden;
}
.mini-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mini-card-body {
  padding: 8px;
}
.mini-card-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.mini-card-price {
  font-size: 10.5px;
  color: #16a34a;
  font-weight: 900;
}
.btn-mini-zap {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  margin-top: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* ==========================================================================
   2. GRID PRINCIPAL (LADO A LADO DE DOIS EM DOIS)
   ========================================================================== */
.main-ad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 20px;
}
@media (min-width: 769px) and (max-width: 1024px) { .main-ad-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1025px) { .main-ad-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 24px 40px; } }

/* CARD DE ANÚNCIO PADRÃO (COLUNA ÚNICA) */
.ad-card-col {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.ad-card-col:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.ad-thumb-box {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}
.ad-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* RECURSOS DESLIGADOS PELO ADMIN */
body.rec-off-favoritos .ad-fav-btn, body.rec-off-favoritos #pillFeedFavoritos, body.rec-off-favoritos #btnFavDetalhe, body.rec-off-favoritos .of-favtag { display:none !important; }
body.rec-off-ofertasDia #ofertasDiaWrap, body.rec-off-ofertasDia #boxOfertaDetalhe, body.rec-off-ofertasDia .ad-oferta-badge, body.rec-off-ofertasDia .btn-oferta-painel { display:none !important; }
body.rec-off-pwaInstalar #faixaInstalarApp { display:none !important; }
body.rec-off-cupom #boxCupomDetalhe, body.rec-off-cupom .btn-cupom-painel, body.rec-off-cupom #boxCuponsPainel { display:none !important; }
/* AVALIAÇÃO PÓS-COMPRA */
body.rec-off-avaliacaoPosCompra #cardPosCompra { display:none !important; }
.card-pos-compra { position:fixed; left:10px; right:10px; bottom:74px; z-index:9500; background:#fff; border:1.5px solid #fde68a; border-radius:18px; padding:12px 14px; box-shadow:0 12px 34px rgba(0,0,0,.28); display:none; animation:slideUpSheet .25s ease-out; }
.card-pos-compra .pc-top { display:flex; align-items:center; gap:10px; }
.card-pos-compra img { width:44px; height:44px; border-radius:12px; object-fit:cover; background:#0f172a; flex-shrink:0; }
.card-pos-compra b { font-size:13px; color:#0f172a; display:block; line-height:1.2; }
.card-pos-compra small { font-size:11px; color:#64748b; display:block; }
.card-pos-compra .pc-stars { display:flex; justify-content:space-between; gap:4px; margin-top:10px; }
.card-pos-compra .pc-stars button { flex:1; min-width:0; background:#fffbeb; border:1.5px solid #fde68a; border-radius:12px; padding:6px 0 4px; cursor:pointer; line-height:1; display:flex; flex-direction:column; align-items:center; gap:3px; }
.card-pos-compra .pc-stars button span { font-size:22px; }
.card-pos-compra .pc-stars button small { font-size:10px; font-weight:900; color:#92400e; white-space:nowrap; }
.card-pos-compra .pc-stars button:last-child { background:#fef3c7; border-color:#f59e0b; }
.card-pos-compra .pc-stars button:active { transform:scale(1.15); }
.card-pos-compra .pc-foot { display:flex; justify-content:space-between; margin-top:8px; }
.card-pos-compra .pc-foot button { background:transparent; border:none; font-size:11px; font-weight:800; color:#94a3b8; cursor:pointer; padding:4px 6px; }
@media (min-width: 900px) { .card-pos-compra { left:auto; right:24px; bottom:24px; width:360px; } }
/* CUPOM CONECTA */
.box-cupom-detalhe { background:linear-gradient(135deg,#ecfdf5,#d1fae5); border:1.5px dashed #10b981; border-radius:14px; padding:12px 14px; display:flex; align-items:center; gap:10px; }
.box-cupom-detalhe .cp-ico { font-size:28px; }
.box-cupom-detalhe b { font-size:13px; color:#065f46; display:block; }
.box-cupom-detalhe small { font-size:11px; color:#047857; display:block; }
.box-cupom-detalhe button { background:#059669; color:#fff; border:none; padding:9px 12px; border-radius:10px; font-weight:900; font-size:12px; cursor:pointer; flex-shrink:0; }
.cupom-codigo-big { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:34px; font-weight:900; letter-spacing:4px; color:#0f172a; background:#fff; border:2px dashed #10b981; border-radius:14px; padding:14px; text-align:center; }
/* FAVORITOS */
.ad-fav-btn { position:absolute; top:8px; right:8px; width:32px; height:32px; border-radius:50%; border:none; background:rgba(255,255,255,.92); color:#94a3b8; font-size:17px; line-height:32px; text-align:center; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.25); padding:0; z-index:2; transition:transform .15s; }
.ad-fav-btn.on { color:#dc2626; }
.ad-share-btn { position:absolute; top:8px; left:8px; width:32px; height:32px; border-radius:50%; border:none; background:rgba(255,255,255,.92); color:#0f172a; font-size:15px; line-height:32px; text-align:center; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.25); padding:0; z-index:2; }
.ad-share-btn:active { transform:scale(1.15); }
#sheetCompartilhar { position:fixed; inset:0; z-index:99999; display:none; align-items:flex-end; justify-content:center; background:rgba(15,23,42,.55); }
#sheetCompartilhar .sc-box { background:#fff; width:100%; max-width:520px; border-radius:18px 18px 0 0; padding:14px 16px 22px; }
#sheetCompartilhar .sc-opt { display:flex; align-items:center; gap:12px; width:100%; border:1.5px solid #e2e8f0; background:#fff; border-radius:12px; padding:12px 14px; font-size:14px; font-weight:800; color:#0f172a; cursor:pointer; margin-top:8px; text-align:left; }
#sheetCompartilhar .sc-opt.zap { background:#16a34a; border-color:#16a34a; color:#fff; }
.ad-fav-btn:active { transform:scale(1.25); }
.btn-fav-detalhe { background:#fff; border:1.5px solid #e2e8f0; color:#64748b; padding:5px 10px; border-radius:999px; font-size:11.5px; font-weight:900; cursor:pointer; display:inline-flex; align-items:center; gap:4px; }
.btn-fav-detalhe.on { background:#fef2f2; border-color:#fecaca; color:#dc2626; }
.oferta-card.fav-oferta { border-color:#dc2626; }
.oferta-card .of-favtag { position:absolute; top:34px; left:6px; background:#fff; color:#dc2626; font-size:9.5px; font-weight:900; padding:2px 6px; border-radius:6px; }
/* OFERTAS DO DIA */
.ofertas-dia-wrap { padding: 8px 12px 2px; }
.ofertas-dia-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }
.ofertas-dia-head b { font-size:15px; font-weight:900; color:#0f172a; }
.ofertas-dia-head small { font-size:10.5px; color:#64748b; font-weight:700; }
.ofertas-dia-scroll { display:flex; gap:10px; overflow-x:auto; padding:2px 2px 6px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.ofertas-dia-scroll::-webkit-scrollbar { display:none; }
.oferta-card { flex:0 0 172px; background:#fff; border:1.5px solid #fed7aa; border-radius:16px; overflow:hidden; cursor:pointer; box-shadow:0 2px 8px rgba(249,115,22,.12); position:relative; }
.oferta-card .of-img { width:100%; height:96px; object-fit:cover; background:#0f172a; display:block; }
.oferta-card .of-tag { position:absolute; top:6px; left:6px; background:#dc2626; color:#fff; font-size:10px; font-weight:900; padding:3px 7px; border-radius:6px; letter-spacing:.3px; }
.oferta-card .of-timer { position:absolute; top:6px; right:6px; background:rgba(15,23,42,.85); color:#fde047; font-size:10px; font-weight:900; padding:3px 7px; border-radius:6px; }
.oferta-card .of-body { padding:8px 9px 9px; }
.oferta-card .of-tit { font-size:12px; font-weight:900; color:#0f172a; line-height:1.2; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:29px; }
.oferta-card .of-loja { font-size:10px; color:#64748b; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; }
.oferta-card .of-preco { display:flex; align-items:baseline; gap:6px; margin-top:4px; }
.oferta-card .of-preco b { font-size:15px; color:#16a34a; font-weight:900; }
.oferta-card .of-preco s { font-size:10.5px; color:#94a3b8; }
.oferta-card .of-btn { margin-top:6px; width:100%; background:#16a34a; color:#fff; border:none; border-radius:8px; padding:6px; font-size:11px; font-weight:900; cursor:pointer; }
.ad-oferta-badge { position:absolute; bottom:8px; left:8px; background:#dc2626; color:#fff; font-size:10.5px; font-weight:900; padding:4px 8px; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.3); }
body.filtro-ativo .ofertas-dia-wrap { display:none !important; }
.ad-dist-badge {
  position: absolute; top: 6px; left: 6px;
  background: #16a34a; color: #fff; font-size: 11.5px; font-weight: 900;
  padding: 4px 9px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.3); letter-spacing: .2px;
}
.faixa-perto-de-mim {
  display: none; align-items: center; gap: 6px; flex-wrap: wrap;
  background: #ecfdf5; border: 1.5px solid #86efac; border-radius: 12px;
  padding: 8px 10px; margin: 6px 12px 4px; font-size: 12px; font-weight: 800; color: #14532d;
}
body.gps-ativo .faixa-perto-de-mim { display: flex; }
.faixa-perto-de-mim .raio-chip {
  background: #fff; border: 1px solid #86efac; color: #166534; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; font-weight: 800; cursor: pointer;
}
.faixa-perto-de-mim .raio-chip.ativo { background: #16a34a; color: #fff; border-color: #16a34a; }
.ad-status-pill {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #4ade80;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-fav-heart {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-col-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ad-col-cat {
  font-size: 9.5px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ad-col-title {
  font-size: 12.5px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin: 2px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad-col-price {
  font-size: 11.5px;
  font-weight: 900;
  color: #16a34a;
  margin-top: auto;
  padding-top: 4px;
}
.ad-col-location {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 8px;
}
.btn-col-zap {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(22,163,74,0.25);
}
.btn-col-zap:hover { background: #15803d; }

/* ==========================================================================
   3. CARD VIP DE LARGURA DUPLA (OCUPA A LARGURA DE DOIS CARDS)
   ========================================================================== */
.ad-card-col.vip-duplo {
  grid-column: span 2;
  border: 1.5px solid #fde047;
  background: linear-gradient(180deg, #ffffff, #fffef0);
  box-shadow: 0 6px 18px rgba(245,158,11,0.12);
}
.ad-card-col.vip-duplo .ad-thumb-box {
  aspect-ratio: 2.3 / 1;
}
.ad-card-col.vip-duplo .ad-col-title {
  font-size: 14.5px;
}
.ad-card-col.vip-duplo .btn-col-zap {
  padding: 10px;
  font-size: 12.5px;
}

/* ==========================================================================
   V77 — INÍCIO NO CELULAR: topo enxuto, banner, carrossel de produtos, chips, card de negócio limpo
   ========================================================================== */
@media (max-width: 768px) {
  .main-ad-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; padding: 0 10px 24px; }
  .ad-card-col.vip-duplo { grid-column: auto; }
  .brand-subtitle { display: none; }
  .brand-top-row .btn-header-cta:not(.primary) { display: none !important; }
  #homeCatsWrap.v77-rodape { margin-top: 6px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
  #homeCatsWrap.v77-rodape::before { content: "📂 Categorias"; display: block; font-size: 15px; font-weight: 900; color: #0f172a; margin: 0 0 10px; }
  #homeCatsWrap.v77-rodape .home-cat-tile { padding: 8px 4px; }
}
/* banner rotativo */
.home-banner-wrap { padding: 10px 12px 0; display: none; }
.home-banner { position: relative; width: 100%; aspect-ratio: 2.4 / 1; border-radius: 16px; overflow: hidden; background: #0f172a; box-shadow: 0 6px 18px rgba(15,23,42,.14); }
.home-banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; cursor: pointer; }
.home-banner .slide.on { opacity: 1; }
.home-banner .slide .bg { position: absolute; inset: -14px; background-size: cover; background-position: center; filter: blur(12px) brightness(.7); transform: scale(1.1); }
.home-banner .slide img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.home-banner .slide .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; background: linear-gradient(transparent, rgba(15,23,42,.8)); color: #fff; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-banner .slide .cap small { font-size: 10.5px; font-weight: 800; background: #16a34a; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.home-banner .slide.promo { background: linear-gradient(120deg, #1d4ed8, #0f172a); display: flex; align-items: center; padding: 14px 16px; gap: 12px; color: #fff; }
.home-banner .slide.promo .ico { font-size: 40px; }
.home-banner .slide.promo b { font-size: 16px; display: block; line-height: 1.15; }
.home-banner .slide.promo span.t { font-size: 12px; opacity: .9; display: block; margin-top: 3px; }
.home-banner .slide.promo span.cta { display: inline-block; margin-top: 8px; background: #facc15; color: #0f172a; font-weight: 900; font-size: 12px; padding: 6px 12px; border-radius: 999px; }
.home-banner-dots { display: flex; justify-content: center; gap: 5px; margin-top: 6px; }
.home-banner-dots i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.home-banner-dots i.on { background: #1d4ed8; width: 16px; border-radius: 3px; }
@media (min-width: 769px) { .home-banner-wrap { max-width: 760px; margin: 0 auto; } }
/* carrossel de produtos */
.home-prod-wrap { padding: 12px 0 2px; display: none; }
.home-prod-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 8px; }
.home-prod-head b { font-size: 15px; color: #0f172a; }
.home-prod-head small { font-size: 11.5px; color: #64748b; font-weight: 700; }
.home-prod-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 12px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.home-prod-scroll::-webkit-scrollbar { display: none; }
.home-prod-card { flex: none; width: 128px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; cursor: pointer; scroll-snap-align: start; }
.home-prod-card .ph { width: 128px; height: 128px; position: relative; background: #f1f5f9; overflow: hidden; }
.home-prod-card .ph .bg { position: absolute; inset: -10px; background-size: cover; background-position: center; filter: blur(10px) brightness(.8); transform: scale(1.15); }
.home-prod-card .ph img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.home-prod-card .ph .tag { position: absolute; top: 6px; left: 6px; background: #dc2626; color: #fff; font-size: 9.5px; font-weight: 900; padding: 2px 7px; border-radius: 999px; }
.home-prod-card .pb { padding: 7px 8px 9px; }
.home-prod-card .pn { font-size: 12.5px; font-weight: 800; color: #0f172a; line-height: 1.2; height: 30px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.home-prod-card .pp { font-size: 13px; font-weight: 900; color: #16a34a; margin-top: 3px; }
.home-prod-card .pp s { color: #94a3b8; font-weight: 700; font-size: 11px; margin-left: 4px; }
.home-prod-card .pl { font-size: 10.5px; color: #64748b; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
/* card de negócio (lista) */
.negocio-item { background:#fff; border:1px solid var(--border-color); border-radius:16px; box-shadow:var(--shadow-sm); display:flex; align-items:center; gap:12px; padding:10px; cursor:pointer; position:relative; transition:transform .15s; }
.negocio-item:active { transform:scale(.99); }
.negocio-item.vip { border:1.5px solid #fde047; background:linear-gradient(180deg,#ffffff,#fffef0); }
.negocio-item-thumb { width:88px; flex:none; border-radius:12px; overflow:hidden; position:relative; background:#fff; border:1px solid #e2e8f0; }
.negocio-item-thumb .ph { width:88px; height:88px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.negocio-item-thumb .ph img { width:100%; height:100%; object-fit:contain; display:block; }
.negocio-item-thumb .ph .ini { font-size:36px; font-weight:900; line-height:1; }
.negocio-item-thumb .st { display:block; text-align:center; font-size:10px; font-weight:900; letter-spacing:.3px; padding:3px 0; color:#fff; background:#16a34a; }
.negocio-item-thumb .st.off { background:#64748b; }
.negocio-item-thumb .ad-oferta-badge { position:absolute; top:4px; left:4px; right:auto; bottom:auto; font-size:9px !important; padding:2px 6px !important; }
.negocio-item-body { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.negocio-item-l1 { display:flex; align-items:flex-start; gap:8px; }
.negocio-item-title { flex:1; min-width:0; font-size:15px; font-weight:900; color:var(--text-main); line-height:1.2; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.negocio-item-nota { flex:none; background:#fef9c3; color:#854d0e; font-size:11.5px; font-weight:900; padding:2px 7px; border-radius:8px; white-space:nowrap; }
.negocio-item-seg { font-size:12.5px; color:#475569; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-item-chips { display:flex; flex-wrap:wrap; gap:4px 6px; margin-top:2px; }
.negocio-item-chips span { font-size:11px; font-weight:800; color:#334155; background:#f1f5f9; padding:2px 7px; border-radius:999px; white-space:nowrap; }
.negocio-item-chips span.preco { color:#166534; background:#dcfce7; }
.negocio-item-chips span.dist { color:#1d4ed8; background:#dbeafe; }
.negocio-item-match { font-size:11px; color:#166534; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-item-fav { flex:none; align-self:flex-start; width:32px; height:32px; border-radius:50%; border:none; background:#f8fafc; color:#94a3b8; font-size:16px; line-height:32px; text-align:center; cursor:pointer; padding:0; }
.negocio-item-fav.on { color:#dc2626; background:#fee2e2; }
/* V81 — página do anunciante em abas */
.det-tabs { display:flex; gap:0; border-bottom:2px solid #e2e8f0; margin:4px 0 10px; position:sticky; top:0; background:#fff; z-index:3; }
.det-tabs button { flex:1; background:none; border:none; border-bottom:3px solid transparent; margin-bottom:-2px; padding:10px 4px; font-size:13px; font-weight:800; color:#64748b; cursor:pointer; white-space:nowrap; }
.det-tabs button.on { color:#1d4ed8; border-bottom-color:#1d4ed8; }
.det-tabs button span { font-weight:900; color:#94a3b8; font-size:11.5px; }
.det-tab-pane { display:none; flex-direction:column; gap:12px; }
.det-tab-pane.on { display:flex; }
.mini-product-desc { font-size:11.5px; color:#64748b; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; width:100%; text-align:left; }
@media (max-width: 768px) {
  #modalDetalheAd .mini-products-grid, #modalDetalheAd .mini-products-grid.single-item { grid-template-columns:1fr !important; max-width:none; gap:10px; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-foto { max-width:none; }
  #modalDetalheAd .mini-product-item { flex-direction:row; align-items:center; text-align:left; gap:10px; padding:8px; }
  #modalDetalheAd .mini-product-item .mini-product-foto { width:92px !important; height:92px; flex:none; margin-bottom:0 !important; aspect-ratio:auto !important; }
  #modalDetalheAd .mini-product-item .mp-body { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
  #modalDetalheAd .mini-product-item b { margin-bottom:0; font-size:13.5px; }
  #modalDetalheAd .mini-product-item .mini-product-price-btn { width:auto; align-self:flex-start; margin-top:2px; }
  #modalDetalheAd .mini-product-item-badge-check { top:6px; right:6px; }
  #modalDetalheAd #detalheNotaBadge { display:none; }
  #modalDetalheAd #boxMiniProdutosDetalhe > div:first-child b { display:none; }
  #modalDetalheAd #dicaSelecaoProdutosDetalhe { font-size:11px; }
  #modalDetalheAd .btn-fav-detalhe span:last-child { display:none; }
  #modalDetalheAd .btn-fav-detalhe { padding:6px 9px; }
}
/* V93: abas do painel viram botões de verdade (trilho cinza + botão ativo azul), não só texto sublinhado */
.painel-tabs { flex-wrap:wrap; overflow:visible; margin:4px 0 14px; gap:4px; padding:4px; background:#e9eef5; border:1px solid #d7dee8; border-bottom:1px solid #d7dee8; border-radius:14px; position:static; }
.painel-tabs::-webkit-scrollbar { display:none; }
.painel-tabs button { flex:1 1 30%; padding:9px 6px; font-size:12px; font-weight:800; color:#334155; background:#fff; border:1px solid #cbd5e1; border-bottom:1px solid #cbd5e1; border-radius:10px; margin:0; box-shadow:0 1px 0 rgba(15,23,42,.06); }
.painel-tabs button:active { transform:translateY(1px); }
.painel-tabs button.on { color:#fff; background:#1d4ed8; border-color:#1d4ed8; box-shadow:0 2px 6px rgba(29,78,216,.35); }
@media (min-width:700px) { .painel-tabs { flex-wrap:nowrap; } .painel-tabs button { flex:1 1 0; font-size:13px; } }
.pp-foto-btn { display:inline-flex; align-items:center; gap:6px; background:#f1f5f9; border:1px solid #cbd5e1; border-radius:8px; padding:9px 12px; font-size:12px; font-weight:800; color:#0f172a; cursor:pointer; }
.passo-item { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; background:#fff; border:1px solid #e2e8f0; cursor:pointer; }
.passo-item .n { width:26px; height:26px; border-radius:50%; background:#e2e8f0; color:#334155; font-size:12px; font-weight:900; display:flex; align-items:center; justify-content:center; flex:none; }
.passo-item.ok .n { background:#16a34a; color:#fff; }
.passo-item.atual { border-color:#1d4ed8; background:#eff6ff; }
.passo-item.atual .n { background:#1d4ed8; color:#fff; }
.passo-item .t { flex:1; min-width:0; font-size:12.5px; font-weight:800; color:#0f172a; }
.passo-item .t small { display:block; font-weight:600; color:#64748b; font-size:11px; }
.passo-item .go { font-size:11px; font-weight:900; color:#1d4ed8; white-space:nowrap; }
.passo-item.ok .go { color:#16a34a; }
.pp-item { display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:10px; }
.pp-item img, .pp-item .ph { width:64px; height:64px; border-radius:10px; object-fit:cover; background:#f1f5f9; flex:none; display:flex; align-items:center; justify-content:center; font-size:24px; }
.pp-item .b { flex:1; min-width:0; }
.pp-item .b b { font-size:13.5px; color:#0f172a; display:block; }
.pp-item .b .d { font-size:11.5px; color:#64748b; line-height:1.3; }
.pp-item .b .pr { font-size:13px; font-weight:900; color:#15803d; margin-top:3px; }
.pp-item .b .pr s { color:#94a3b8; font-weight:700; font-size:11px; margin-right:4px; }
.pp-item .b .pr .tag { background:#fee2e2; color:#dc2626; font-size:10px; padding:1px 6px; border-radius:999px; margin-left:4px; }
.pp-acts { display:flex; flex-direction:column; gap:4px; flex:none; }
.pp-acts button { border:1px solid #cbd5e1; background:#f8fafc; color:#0f172a; border-radius:8px; padding:5px 8px; font-size:11px; font-weight:800; cursor:pointer; }
.pp-acts button.del { color:#dc2626; border-color:#fca5a5; background:#fff5f5; }
.pp-form { background:#fff; border:1.5px solid #bfdbfe; border-radius:14px; padding:12px; display:flex; flex-direction:column; gap:8px; }
.pp-form input, .pp-form textarea { width:100%; padding:10px; border:1px solid #cbd5e1; border-radius:8px; font-size:13px; box-sizing:border-box; font-family:inherit; }
.pp-form .row { display:flex; gap:8px; }
.pp-form .row > * { flex:1; min-width:0; }
/* V85 — tipo de negócio */
.tipo-neg-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.tipo-neg-grid label { position:relative; background:#fff; border:1.5px solid #cbd5e1; border-radius:12px; padding:10px 10px 10px 12px; cursor:pointer; display:flex; flex-direction:column; gap:2px; }
.tipo-neg-grid label input { position:absolute; opacity:0; pointer-events:none; }
.tipo-neg-grid label .ic { font-size:22px; }
.tipo-neg-grid label b { font-size:12.5px; color:#0f172a; line-height:1.2; }
.tipo-neg-grid label small { font-size:10.5px; color:#64748b; line-height:1.25; }
.tipo-neg-grid label:has(input:checked) { border-color:#2563eb; background:#eff6ff; box-shadow:0 0 0 2px #bfdbfe; }
.mod-opt.oculta { display:none !important; }
.tipo-neg-aviso { background:#fffbeb; border:1px solid #fcd34d; border-radius:12px; padding:10px 12px; font-size:12px; color:#92400e; display:flex; gap:8px; align-items:center; margin-bottom:10px; }
.tipo-neg-aviso button { margin-left:auto; background:#f59e0b; color:#fff; border:none; padding:8px 10px; border-radius:8px; font-weight:900; font-size:11.5px; cursor:pointer; white-space:nowrap; }
/* V84 — meus anúncios */
.meu-ad { background:#fff; border:1.5px solid #e2e8f0; border-radius:16px; overflow:hidden; }
.meu-ad.aberto { border-color:#93c5fd; box-shadow:0 4px 14px rgba(37,99,235,.10); }
.meu-ad-top { display:flex; gap:12px; padding:12px; cursor:pointer; }
.meu-ad-thumb { width:84px; height:105px; border-radius:10px; background:#f1f5f9; border:1px solid #e2e8f0; overflow:hidden; flex:none; display:flex; align-items:center; justify-content:center; font-size:26px; }
.meu-ad-thumb img { width:100%; height:100%; object-fit:contain; }
.meu-ad-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.meu-ad-l1 { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.meu-ad-l1 b { font-size:15px; color:#0f172a; line-height:1.2; }
.meu-ad-st { font-size:10px; font-weight:900; padding:3px 8px; border-radius:6px; white-space:nowrap; }
.meu-ad-cat { font-size:12px; color:#64748b; }
.meu-ad-stats { display:flex; gap:10px; font-size:12px; color:#334155; font-weight:700; flex-wrap:wrap; }
.meu-ad-stats em { font-style:normal; color:#dc2626; }
.meu-ad-of { font-size:11px; color:#9a3412; background:#fff7ed; border:1px solid #fed7aa; padding:2px 8px; border-radius:6px; font-weight:800; align-self:flex-start; }
.meu-ad-bar { display:flex; gap:8px; padding:0 12px 12px; }
.meu-ad-btn { flex:1; background:#f8fafc; color:#0f172a; border:1px solid #cbd5e1; padding:11px; border-radius:10px; font-size:13px; font-weight:900; cursor:pointer; }
.meu-ad-btn.principal { background:#2563eb; color:#fff; border-color:#2563eb; }
.meu-ad-acoes { border-top:1px solid #e2e8f0; background:#f8fafc; padding:10px 12px 12px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.meu-ad-acoes > button { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:10px; text-align:left; cursor:pointer; display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:8px; align-items:center; }
.meu-ad-acoes > button > span:first-child { grid-row:1 / span 2; font-size:20px; }
.meu-ad-acoes > button > span:nth-child(2) { font-size:12.5px; font-weight:900; color:#0f172a; }
.meu-ad-acoes > button > small { font-size:10.5px; color:#64748b; line-height:1.2; }
.meu-ad-perigo { grid-column:1 / -1; margin-top:6px; padding-top:10px; border-top:1px dashed #fecaca; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.meu-ad-perigo > span { font-size:11px; font-weight:800; color:#991b1b; }
.meu-ad-perigo > button { background:#fff; color:#dc2626; border:1px solid #fca5a5; padding:7px 10px; border-radius:8px; font-size:11.5px; font-weight:800; cursor:pointer; }
.promo-box { background:#fff7f7; border:1px solid #fecaca; border-radius:10px; padding:10px; display:flex; flex-direction:column; gap:8px; }
.promo-tipos { display:flex; gap:6px; flex-wrap:wrap; }
.promo-tipos label { flex:1; min-width:0; display:flex; align-items:center; justify-content:center; gap:4px; background:#fff; border:1px solid #fca5a5; border-radius:8px; padding:8px 4px; font-size:11px; font-weight:800; color:#991b1b; cursor:pointer; white-space:nowrap; }
.promo-tipos label:has(input:checked) { background:#dc2626; color:#fff; border-color:#dc2626; }
.promo-tipos input { width:12px; height:12px; }
.promo-tipos input { margin:0; }
.promo-prev { font-size:12px; font-weight:700; color:#334155; }
/* V88: card do produto com barra de ações grande (zona do polegar) */
.pp-item { padding:12px; gap:12px; flex-wrap:wrap; }
.pp-item img, .pp-item .ph { width:80px; height:80px; }
.pp-item .b b { font-size:14.5px; margin-bottom:2px; }
.pp-item .b .d { font-size:12px; }
.pp-acts { flex-direction:row; flex:1 0 100%; gap:8px; border-top:1px solid #f1f5f9; padding-top:10px; margin-top:2px; }
.pp-acts button { flex:1; min-height:44px; padding:10px 6px; font-size:13px; border-radius:10px; display:flex; align-items:center; justify-content:center; gap:6px; }
.pp-acts button.promo-on { background:#fee2e2; color:#dc2626; border-color:#fca5a5; }
.pp-acts button.del { flex:0 0 auto; min-width:44px; padding:10px 14px; }
.pp-form { padding:14px; gap:9px; }
/* V79 — card estilo vitrine (2 colunas, imagem grande quadrada, nome + preço embaixo) */
.negocio-card { background:#fff; border:1px solid var(--border-color); border-radius:14px; overflow:hidden; box-shadow:var(--shadow-sm); cursor:pointer; display:flex; flex-direction:column; min-width:0; }
.negocio-card:active { transform:scale(.99); }
.negocio-card.vip { border:1.5px solid #fde047; }
.negocio-card-img { position:relative; width:100%; aspect-ratio:4/5; background:#f8fafc; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.negocio-card-img img { width:100%; height:100%; object-fit:contain; display:block; }
.negocio-card-img .bgblur { position:absolute; inset:-14px; background-size:cover; background-position:center; filter:blur(14px) brightness(1.05); opacity:.55; }
.negocio-card-img img { position:relative; }
.negocio-card-img .ini { font-size:64px; font-weight:900; line-height:1; }
.negocio-card-img .st { position:absolute; left:0; bottom:0; font-size:10px; font-weight:900; letter-spacing:.3px; padding:3px 9px; color:#fff; background:#16a34a; border-top-right-radius:10px; }
.negocio-card-img .st.off { background:#64748b; }
.negocio-card-img .of { position:absolute; top:0; right:0; font-size:11px; font-weight:900; padding:3px 7px; color:#dc2626; background:#fee2e2; border-bottom-left-radius:10px; }
.negocio-card-img .vp { position:absolute; top:0; left:0; font-size:10px; font-weight:900; padding:3px 8px; color:#854d0e; background:#fef08a; border-bottom-right-radius:10px; }
.negocio-card-fav { position:absolute; right:6px; bottom:6px; width:30px; height:30px; border-radius:50%; border:none; background:rgba(255,255,255,.92); color:#94a3b8; font-size:15px; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 4px rgba(0,0,0,.15); cursor:pointer; }
.negocio-card-fav.on { color:#dc2626; }
.negocio-card-body { padding:8px 9px 10px; display:flex; flex-direction:column; gap:3px; min-width:0; }
.negocio-card-title { margin:0; font-size:13.5px; font-weight:800; color:var(--text-main); line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.5em; }
.negocio-card-price { font-size:15px; font-weight:900; color:#15803d; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-card-price small { font-size:11px; font-weight:800; color:#64748b; }
.negocio-card-seg { font-size:11.5px; color:#64748b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-card-meta { font-size:11px; color:#475569; font-weight:700; display:flex; flex-wrap:wrap; align-items:center; gap:3px 8px; }
/* V96: bairro SEMPRE visível, em linha própria (essencial para o cliente saber onde fica) */
.negocio-card-bairro { font-size:12px; color:#0f172a; font-weight:800; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-card-bairro small { font-size:11px; color:#64748b; font-weight:700; }
.negocio-card-meta .nota { color:#b45309; }
.negocio-card-match { font-size:11px; color:#166534; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chip-cats { background:#0f172a !important; color:#fff !important; border-color:#0f172a !important; }

    /* VITRINE DE MODELOS PRONTOS DO PAINEL DO ANUNCIANTE */
.grid-modelos-painel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .grid-modelos-painel {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
.chip-cat-modelo {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chip-cat-modelo:hover {
  border-color: #93c5fd;
  background: #f0f9ff;
}
.chip-cat-modelo.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-usar-modelo-pub {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  border: none;
  padding: 9px 10px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 11.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  box-shadow: 0 3px 8px rgba(22,163,74,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-usar-modelo-pub:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(22,163,74,0.35);
}

/* BARRA INFORMATIVA PARA O ANUNCIANTE (CHAMADA SUAVEMENTE EM DESTAQUE) */
.anuncie-aqui-cta-banner {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  margin: 0 16px 20px;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border: 1px solid #334155;
}
.anuncie-aqui-cta-banner h4 { font-size: 14px; font-weight: 900; color: #fff; margin-bottom: 2px; }
.anuncie-aqui-cta-banner p { font-size: 11px; color: #94a3b8; }
.btn-cta-cadastrar {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(37,99,235,0.3);
}

/* ==========================================================================
   4. FEED CONTÍNUO (TELA CHEIA ESTILO TIKTOK / STORIES / REELS)
   ========================================================================== */
#feedContinuoContainer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000;
  z-index: 10000;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}
.feed-snap-card {
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.feed-snap-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.95;
}
.feed-snap-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 20px 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.98) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feed-top-bar-fixed {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.feed-top-bar-fixed button {
  pointer-events: auto;
}
.btn-feed-voltar-topo {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s;
}
.btn-feed-voltar-topo:active {
  transform: scale(0.95);
}
.btn-feed-fechar-topo {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: transform 0.15s;
}
.btn-feed-fechar-topo:active {
  transform: scale(0.95);
}
.feed-badge-indicador {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-ver-todas-cats {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}
.btn-ver-todas-cats:active {
  transform: scale(0.97);
  border-color: var(--primary);
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR (APP MOBILE)
   ========================================================================== */
.bottom-app-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 4px 8px;
  z-index: 900;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
#appWrapper.mode-desktop .bottom-app-bar {
  max-width: 1180px;
  border-radius: 0 0 16px 16px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
  gap: 2px;
  cursor: pointer;
  padding: 4px 8px;
}
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item span.ico { font-size: 18px; }

/* ==========================================================================
   MODAL DE DETALHES DO ANÚNCIO (PREENCHE QUASE TODA A TELA)
   ========================================================================== */
.modal-fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
}
.modal-fullscreen-sheet {
  position: relative; /* v62: botão ✕ flutuante */
  background: #fff;
  width: 100%;
  max-width: 520px;
  height: 94vh;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
  animation: slideUpSheet 0.25s ease-out;
}
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sheet-header-thumb {
  width: 100%;
  height: 220px;
  background: #0f172a;
  position: relative;
  /* v62: a foto faz parte da rolagem — ao subir para ver os produtos ela sai da tela e libera espaço */
  flex-shrink: 0;
  margin: -16px -20px 0;
  width: calc(100% + 40px);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.sheet-close-flutuante { position: absolute; z-index: 20; top: 14px; right: 14px; }
.sheet-header-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sheet-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15,23,42,0.7);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet-content-scroll {
  padding: 16px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sheet-footer-fixed {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}
.btn-sheet-zap-big {
  width: 100%;
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(22,163,74,0.35);
}

/* MINI-PRODUTOS NO DETALHE DO ANÚNCIO (SELEÇÃO INTERATIVA DE PRODUTOS PARA PEDIDO NO WHATSAPP) */
.mini-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}
.mini-products-grid.single-item .mini-product-foto { max-width: 220px; }
.mini-products-grid.single-item {
  grid-template-columns: 1fr;
  max-width: 240px;
  margin: 0 auto;
}
.mini-product-item.somente-leitura { cursor: default !important; }
.mini-product-item.somente-leitura:hover { transform: none !important; box-shadow: none !important; }
.mini-product-item.somente-leitura .mini-product-item-badge-check { display: none !important; }
.mini-product-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 8px 8px;
  align-self: start;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-product-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.mini-product-item.selected {
  background: #f0fdf4;
  border: 2px solid #16a34a;
  box-shadow: 0 4px 14px rgba(22,163,74,0.22);
  transform: translateY(-2px);
}
.mini-product-item-badge-check {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(22,163,74,0.4);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.mini-product-item.selected .mini-product-item-badge-check {
  opacity: 1;
  transform: scale(1);
}
.mini-product-item b {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 0;
  margin-bottom: 6px;
  width: 100%;
  word-break: break-word;
}
.mini-product-price-btn {
  margin-top: 0;
  width: 100%;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 8px;
  padding: 7px 6px;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.mini-product-price-btn:hover {
  background: #dcfce7;
  border-color: #4ade80;
}
.mini-product-price-btn span {
  font-size: 13.5px;
  color: #15803d;
  font-weight: 900;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}
.mini-product-item.selected .mini-product-price-btn {
  background: #16a34a;
  border-color: #15803d;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}
.mini-product-item.selected .mini-product-price-btn span {
  color: #ffffff;
}

/* ==========================================================================
   PAINEL DO ANUNCIANTE & CRIADOR DE ANÚNCIO
   ========================================================================== */
.dashboard-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi-card-box {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}
.kpi-card-box .num { font-size: 20px; font-weight: 900; color: #0f172a; margin-top: 2px; }
.kpi-card-box .lbl { font-size: 10.5px; font-weight: 700; color: #64748b; }

/* CARD QUOTA BAR */
.card-quota-bar {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

/* ETAPAS WIZARD */
.wizard-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}
.wizard-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-step-dot.active { background: var(--primary); color: #fff; }

/* LEIS BRASILEIRAS BOX */
.leis-brasil-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 11.5px;
  color: #92400e;
  line-height: 1.45;
}
.leis-brasil-box b { color: #78350f; font-size: 12px; }

/* TEMPLATES / MODELOS PRONTOS */
.templates-pills-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.btn-template-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

/* TOAST DE NOTIFICAÇÃO */
#anunciaToast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: #0f172a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}
#anunciaToast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ESTILOS DO PAINEL DE ESTATÍSTICAS & ADMIN */
.btn-tab-admin {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-tab-admin.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.stat-progress-bar-bg {
  background: #e2e8f0;
  height: 9px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}
.stat-progress-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease;
}
  
/* ========================================================================
   BARRA DE BUSCA RÁPIDA, BAIRROS, RAIO EM METROS & AVALIAÇÕES DO CLIENTE
   ======================================================================== */
/* Filtro/pesquisa ativa: oculta banner e Destaques para o resultado aparecer sem rolar */
body.filtro-ativo .hero-banner-container,
body.filtro-ativo #rowDestaquesHorizontal,
body.filtro-ativo #scrollerDestaquesHorizontal { display: none !important; }
.client-quick-filters-bar {
  background: #ffffff;
  padding: 6px 12px 2px;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: sticky;
  top: 56px;
  z-index: 85;
}
.filters-row-location {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.filter-chip-select-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0 8px;
  height: 30px;
  transition: all 0.2s ease;
}
.filter-chip-select-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
  background: #fff;
}
.filter-icon {
  font-size: 14px;
  margin-right: 4px;
  flex-shrink: 0;
}
.filter-select {
  width: auto;
  max-width: 150px;
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  padding: 0;
}
/* PADRÃO ÚNICO DOS FILTROS: inativo = cinza; ativo = azul. Toque liga, toque de novo desliga. */
.btn-gps-proximity {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0;
  border-radius: 20px; padding: 0 11px; height: 30px;
  font-size: 11px; font-weight: 700; cursor: pointer; flex-shrink: 0; white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-gps-proximity:active { transform: scale(0.97); }
.btn-gps-proximity.gps-active,
.filter-chip-select-wrap.ativo {
  background: #2563eb; color: #fff; border-color: #2563eb;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25);
}
.filter-chip-select-wrap.ativo .filter-select { color: #fff; }
.filter-chip-select-wrap.ativo .filter-select option { color: #1e293b; }
.filter-pills-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-pills-scroll::-webkit-scrollbar {
  display: none;
}
.feed-pill-btn.pill-limpar { background:#fef2f2; color:#dc2626; border-color:#fecaca; flex-shrink:0; }
.feed-pill-btn { flex-shrink: 0; }
.feed-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.feed-pill-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.feed-pill-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25);
}
.star-rating-btn {
  color: #cbd5e1;
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}
.star-rating-btn.active {
  color: #eab308;
  filter: drop-shadow(0 2px 4px rgba(234,179,8,0.3));
}
.star-rating-btn:hover {
  transform: scale(1.15);
}
.btn-chip-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-chip-tag.selected {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25);
}
.btn-avaliar-ad {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.btn-avaliar-ad:hover {
  background: #fde68a;
}
.btn-feed-avaliar {
  background: rgba(254,243,199,0.95);
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  width: 100%;
}

