/* ==========================================================================
   RESET & SISTEMA DE DESIGN (MOBILE-FIRST + DESKTOP)
   ========================================================================== */
:root {
  --primary: #7E1F2C;
  --primary-dark: #6A1824;
  --accent-yellow: #f59e0b;
  --accent-green: #16a34a;
  --accent-green-hover: #15803d;
  --bg-dark: #1A1512;
  --bg-body: #FBF6EE;
  --card-bg: #ffffff;
  --border-color: #E6D9C8;
  --text-main: #1A1512;
  --text-muted: #6B625B;
  --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: #1A1512;
}
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 #E6D9C8;
  }
  .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(135deg,#2A221E,#4A403A); color:#fff; padding:7px 12px; border-bottom:1px solid rgba(255,255,255,.08); /* V153: grafite-azulado */ }
.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:#1A1512; 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:#4A403A; line-height:1.55; margin:10px 0 14px; }
.brand-header {
  background: linear-gradient(180deg, #1A1512 0%, #241C18 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, #9E4A31);
  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: #9C8F84;
  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: #F3EADC;
  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 #4A403A;
  background: #ffffff;
  color: #1A1512;
  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:#F3EADC; 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 #E6D9C8; border-radius:10px; padding:8px 4px; font-size:18px; text-align:center; }
.ajuda-tipo b { font-size:12px; color:#1A1512; } .ajuda-tipo small { font-size:10px; color:#6B625B; font-weight:600; }
.ajuda-tipo input:checked + span { border-color:#7E1F2C; background:#F8ECE9; }
.ajuda-item { border:1.5px solid #E6D9C8; border-radius:12px; padding:10px 12px; margin-bottom:8px; cursor:pointer; background:#fff; }
.ajuda-item:active { background:#FBF6EE; }
.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:#F8ECE9; color:#075985; } .ajuda-st.analisando { background:#fef3c7; color:#92400e; } .ajuda-st.pendente { background:#F6E0D2; color:#7A3522; }
.ajuda-st.corrigindo { background:#ede9fe; color:#5b21b6; } .ajuda-st.corrigido { background:#dcfce7; color:#166534; } .ajuda-st.finalizado { background:#E6D9C8; color:#4A403A; }
.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:#9C8F84; 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:#E6D9C8; }
.ajuda-timeline div::after { content:""; position:absolute; top:4px; left:-50%; width:100%; height:2px; background:#E6D9C8; 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:#6A1824; } .ajuda-timeline div.atual::before { background:#6A1824; box-shadow:0 0 0 3px #E3C4BF; }
.ajuda-msg { border-radius:10px; padding:8px 10px; font-size:12.5px; margin-top:6px; max-width:92%; }
.ajuda-msg.admin { background:#F8ECE9; border:1px solid #E3C4BF; } .ajuda-msg.anunciante { background:#F3EADC; margin-left:auto; } .ajuda-msg.sistema { background:#fefce8; border:1px dashed #fde68a; }
.ajuda-msg small { display:block; color:#6B625B; 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 #D9CCBB; 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:#1A1512; }
.negocio-hora-row .sw { width:30px; height:18px; border-radius:999px; background:#D9CCBB; 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 #E6D9C8; border-radius:10px; cursor:pointer; font-size:12.5px; }
.negocio-status-opt:has(input:checked) { border-color:#7E1F2C; background:#F8ECE9; }
.negocio-status-opt input { margin-top:3px; accent-color:#7E1F2C; }
.negocio-status-opt small { display:block; font-size:11px; color:#6B625B; font-weight:600; }
.negocio-card-img .st.off.aviso { background:#B5563A !important; }
.negocio-card-img .st.off.manut { background:#6B625B !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:#E6D9C8; color:#4A403A; 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:#1A1512; text-align:left; }
#boxSugestoesBusca .sg-tit { font-size:10.5px; font-weight:900; color:#6B625B; letter-spacing:.4px; margin:4px 0 6px; }
#boxSugestoesBusca .sg-chip { display:inline-flex; align-items:center; gap:4px; background:#F3EADC; border:1px solid #E6D9C8; border-radius:999px; padding:6px 11px; font-size:12.5px; font-weight:700; color:#1A1512; margin:0 6px 6px 0; cursor:pointer; }
#boxSugestoesBusca .sg-chip.rec { background:#F8ECE9; border-color:#E3C4BF; color:#5E1520; }
#boxSugestoesBusca .sg-chip .x { color:#9C8F84; 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: #9C8F84;
  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 #E6D9C8; 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:#1A1512; 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:#6B625B; 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:#5B514A; font-weight:700; background:#F3EADC; 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: #1A1512;
  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: #F8ECE9; }
.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: #4A403A;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-count-lbl {
  font-size: 9.5px;
  color: #9C8F84;
  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 #E6D9C8;
  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: #2A221E;
  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: #1A1512;
  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: #1A1512;
  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:1px solid #E6D9C8; border-radius:16px; padding:10px 12px; box-shadow:0 6px 20px rgba(0,0,0,.16); 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:#1A1512; flex-shrink:0; }
.card-pos-compra b { font-size:13px; color:#1A1512; display:block; line-height:1.2; }
.card-pos-compra small { font-size:11px; color:#6B625B; 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:#fafafa; border:1px solid #E6D9C8; border-radius:10px; padding:5px 0 3px; cursor:pointer; line-height:1; display:flex; flex-direction:column; align-items:center; gap:3px; }
.card-pos-compra .pc-stars button span { font-size:19px; }
.card-pos-compra .pc-stars button small { font-size:10px; font-weight:800; color:#6B625B; white-space:nowrap; }
.card-pos-compra .pc-stars button:last-child { background:#fffbeb; border-color:#fcd34d; }
.card-pos-compra .pc-stars button:active { transform:scale(1.15); }
.card-pos-compra .pc-foot { display:flex; gap:8px; margin-top:10px; }
.card-pos-compra .pc-foot button { flex:1; background:#F3EADC; color:#5B514A; border:1px solid #E6D9C8; border-radius:10px; padding:8px 6px; font-size:11.5px; font-weight:700; cursor:pointer; line-height:1.2; } /* V151: botões discretos de verdade */
.card-pos-compra .pc-foot button:active { background:#E6D9C8; }
@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:#1A1512; 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:#9C8F84; 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:#1A1512; 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 #E6D9C8; background:#fff; border-radius:12px; padding:12px 14px; font-size:14px; font-weight:800; color:#1A1512; 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 #E6D9C8; color:#6B625B; 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:#1A1512; }
.ofertas-dia-head small { font-size:10.5px; color:#6B625B; 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 #EBC3B0; 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:#1A1512; 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:#1A1512; 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:#6B625B; 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:#9C8F84; }
.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 #E6D9C8; }
  #homeCatsWrap.v77-rodape::before { content: "📂 Categorias"; display: block; font-size: 15px; font-weight: 900; color: #1A1512; 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: #1A1512; 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; }
/* V127: slide que não está visível NÃO recebe toque (antes o toque ia para o slide do topo da pilha — quase sempre uma chamada do ConectaIta → Planos) */
.home-banner .slide:not(.on) { pointer-events: none; visibility: hidden; }
.home-banner .slide.on { visibility: visible; }
.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, #6A1824, #1A1512); 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: #1A1512; 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: #D9CCBB; }
.home-banner-dots i.on { background: #6A1824; width: 16px; border-radius: 3px; }
/* V123: carrossel manual — arrastar, bolinhas clicáveis e setas no PC */
.home-banner { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.home-banner .slide img, .home-banner .slide .bg { pointer-events: none; -webkit-user-drag: none; }
.home-banner-dots i { width: 8px; height: 8px; cursor: pointer; padding: 0; box-sizing: content-box; border: 4px solid transparent; background-clip: padding-box; }
.home-banner .hb-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(15,23,42,.45); color: #fff; font-size: 24px; line-height: 1; font-weight: 900; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 3; padding: 0 0 3px; }
.home-banner .hb-seta.esq { left: 8px; } .home-banner .hb-seta.dir { right: 8px; }
.home-banner .hb-seta:hover { background: rgba(15,23,42,.75); }
@media (hover: hover) and (pointer: fine) { .home-banner .hb-seta { display: flex; } }
@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: #1A1512; }
.home-prod-head small { font-size: 11.5px; color: #6B625B; 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 #E6D9C8; border-radius: 14px; overflow: hidden; cursor: pointer; scroll-snap-align: start; }
.home-prod-card .ph { width: 128px; height: 128px; position: relative; background: #F3EADC; 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: #1A1512; 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: #9C8F84; font-weight: 700; font-size: 11px; margin-left: 4px; }
.home-prod-card .pl { font-size: 10.5px; color: #6B625B; 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 #E6D9C8; }
.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:#6B625B; }
.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:#5B514A; 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:#4A403A; background:#F3EADC; padding:2px 7px; border-radius:999px; white-space:nowrap; }
.negocio-item-chips span.preco { color:#166534; background:#dcfce7; }
.negocio-item-chips span.dist { color:#6A1824; background:#EBD3CF; }
.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:#FBF6EE; color:#9C8F84; 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 #E6D9C8; 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:#6B625B; cursor:pointer; white-space:nowrap; }
.det-tabs button.on { color:#6A1824; border-bottom-color:#6A1824; }
.det-tabs button span { font-weight:900; color:#9C8F84; 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:#6B625B; 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:#4A403A; background:#fff; border:1px solid #D9CCBB; border-bottom:1px solid #D9CCBB; 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:#6A1824; border-color:#6A1824; 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:#F3EADC; border:1px solid #D9CCBB; border-radius:8px; padding:9px 12px; font-size:12px; font-weight:800; color:#1A1512; cursor:pointer; }
.passo-item { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px; background:#fff; border:1px solid #E6D9C8; cursor:pointer; }
.passo-item .n { width:26px; height:26px; border-radius:50%; background:#E6D9C8; color:#4A403A; 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:#6A1824; background:#F8ECE9; }
.passo-item.atual .n { background:#6A1824; color:#fff; }
.passo-item .t { flex:1; min-width:0; font-size:12.5px; font-weight:800; color:#1A1512; }
.passo-item .t small { display:block; font-weight:600; color:#6B625B; font-size:11px; }
.passo-item .go { font-size:11px; font-weight:900; color:#6A1824; white-space:nowrap; }
.passo-item.ok .go { color:#16a34a; }
.pp-item { display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid #E6D9C8; border-radius:12px; padding:10px; }
.pp-item img, .pp-item .ph { width:64px; height:64px; border-radius:10px; object-fit:cover; background:#F3EADC; 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:#1A1512; display:block; }
.pp-item .b .d { font-size:11.5px; color:#6B625B; 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:#9C8F84; 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 #D9CCBB; background:#FBF6EE; color:#1A1512; 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-acts button.pausado-on { color:#15803d; border-color:#86efac; background:#f0fdf4; }
.pp-item.pp-pausado { position:relative; opacity:.78; background:#fafafa; border-style:dashed; }
.pp-item.pp-pausado > img, .pp-item.pp-pausado > .ph { filter:grayscale(1); }
.pp-tag-pausa { position:absolute; top:-9px; left:12px; background:#f59e0b; color:#fff; font-size:10px; font-weight:900; padding:2px 8px; border-radius:999px; letter-spacing:.2px; }
.pp-form { background:#fff; border:1.5px solid #E3C4BF; 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 #D9CCBB; border-radius:8px; font-size:13px; box-sizing:border-box; font-family:inherit; }
.pp-form textarea { min-height:76px; resize:vertical; line-height:1.4; flex-shrink:0; } /* V135: descrição cresce para baixo (sem encolher na coluna flex) */
.pp-form > * { flex-shrink:0; }
.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 #D9CCBB; 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:#1A1512; line-height:1.2; }
.tipo-neg-grid label small { font-size:10.5px; color:#6B625B; line-height:1.25; }
.tipo-neg-grid label:has(input:checked) { border-color:#7E1F2C; background:#F8ECE9; box-shadow:0 0 0 2px #E3C4BF; }
.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 #E6D9C8; border-radius:16px; overflow:hidden; }
.meu-ad.aberto { border-color:#D9A8A0; 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:#F3EADC; border:1px solid #E6D9C8; 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:#1A1512; 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:#6B625B; }
.meu-ad-stats { display:flex; gap:10px; font-size:12px; color:#4A403A; font-weight:700; flex-wrap:wrap; }
.meu-ad-stats em { font-style:normal; color:#dc2626; }
.meu-ad-of { font-size:11px; color:#7A3522; background:#FBEFE6; border:1px solid #EBC3B0; 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:#FBF6EE; color:#1A1512; border:1px solid #D9CCBB; padding:11px; border-radius:10px; font-size:13px; font-weight:900; cursor:pointer; }
.meu-ad-btn.principal { background:#7E1F2C; color:#fff; border-color:#7E1F2C; }
.meu-ad-acoes { border-top:1px solid #E6D9C8; background:#FBF6EE; padding:10px 12px 12px; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.meu-ad-acoes > button { background:#fff; border:1px solid #E6D9C8; 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:#1A1512; }
.meu-ad-acoes > button > small { font-size:10.5px; color:#6B625B; 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:#4A403A; }
/* 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 #F3EADC; 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:#FBF6EE; 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; }
/* V163: carrossel de fotos do card (deslizar com o dedo) */
.negocio-card-img .ncar { position:absolute; inset:0; display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.negocio-card-img .ncar::-webkit-scrollbar { display:none; }
.negocio-card-img .ncar-s { position:relative; flex:0 0 100%; width:100%; height:100%; scroll-snap-align:start; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.negocio-card-img .ncar-s img { position:relative; width:100%; height:100%; object-fit:contain; }
.negocio-card-img .ncar-dots { position:absolute; left:0; right:0; bottom:6px; display:flex; justify-content:center; gap:4px; pointer-events:none; }
.negocio-card-img .ncar-dots i { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.55); box-shadow:0 0 0 1px rgba(15,23,42,.25); }
.negocio-card-img .ncar-dots i.on { background:#fff; width:14px; border-radius:4px; }
.negocio-card-img .ncar-n { position:absolute; top:6px; left:6px; background:rgba(15,23,42,.65); color:#fff; font-size:10px; font-weight:800; padding:2px 7px; border-radius:10px; pointer-events:none; }
.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:#6B625B; }
.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:#9C8F84; 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:#6B625B; }
.negocio-card-seg { font-size:11.5px; color:#6B625B; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-card-meta { font-size:11px; color:#5B514A; 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:#1A1512; font-weight:800; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.negocio-card-bairro small { font-size:11px; color:#6B625B; 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:#1A1512 !important; color:#fff !important; border-color:#1A1512 !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 #D9CCBB;
  background: #fff;
  color: #4A403A;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chip-cat-modelo:hover {
  border-color: #D9A8A0;
  background: #f0f9ff;
}
.chip-cat-modelo.active {
  background: #7E1F2C;
  color: #fff;
  border-color: #7E1F2C;
  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, #1A1512, #2A221E);
  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 #4A403A;
}
.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: #9C8F84; }
.btn-cta-cadastrar {
  background: #7E1F2C;
  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: #E6D9C8;
  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 #D9CCBB;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #1A1512;
  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 #E6D9C8;
  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: #6B625B;
  font-size: 10.5px;
  font-weight: 700;
  gap: 2px;
  cursor: pointer;
  padding: 4px 8px;
}
.bottom-nav-item.active { color: var(--primary); }
/* V126: 5 botões no menu de baixo */
.bottom-nav-item { padding: 4px 2px; flex: 1 1 0; min-width: 0; font-size: 10px; white-space: nowrap; }
.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: #1A1512;
  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 #E6D9C8;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}
.btn-sheet-zap-big.zap-off, .btn-sheet-zap-big:disabled { background:#D9CCBB !important; color:#5B514A !important; box-shadow:none !important; cursor:not-allowed; filter:grayscale(1); } /* V137 */
.btn-mini-zap.zap-off, .btn-col-zap.zap-off { background:#D9CCBB !important; color:#5B514A !important; box-shadow:none !important; filter:grayscale(1); } /* V168 */
.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 #E6D9C8;
  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: #D9CCBB;
  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: #1A1512;
  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 #E6D9C8;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}
.kpi-card-box .num { font-size: 20px; font-weight: 900; color: #1A1512; margin-top: 2px; }
.kpi-card-box .lbl { font-size: 10.5px; font-weight: 700; color: #6B625B; }

/* CARD QUOTA BAR */
.card-quota-bar {
  background: #F8ECE9;
  border: 1.5px solid #E3C4BF;
  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: #E6D9C8;
  color: #6B625B;
  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: #F3EADC;
  border: 1px solid #D9CCBB;
  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: #1A1512;
  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: #F3EADC;
  color: #5B514A;
  border: 1px solid #D9CCBB;
  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: #1A1512;
  color: #fff;
  border-color: #1A1512;
}
.stat-progress-bar-bg {
  background: #E6D9C8;
  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 .home-banner-wrap,
body.filtro-ativo .home-prod-wrap, /* V134: banner e carrossel de produtos também somem com filtro ativo */
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 #E6D9C8;
  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: #F3EADC;
  border: 1px solid #E6D9C8;
  border-radius: 20px;
  padding: 0 8px;
  height: 30px;
  transition: all 0.2s ease;
}
.filter-chip-select-wrap:focus-within {
  border-color: #7E1F2C;
  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: #2A221E;
  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: #F3EADC; color: #5B514A; border: 1px solid #E6D9C8;
  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: #7E1F2C; color: #fff; border-color: #7E1F2C;
  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: #2A221E; }
.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: #F3EADC;
  color: #5B514A;
  border: 1px solid #E6D9C8;
  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: #E6D9C8;
  color: #2A221E;
}
.feed-pill-btn.active {
  background: #7E1F2C;
  color: #ffffff;
  border-color: #7E1F2C;
  box-shadow: 0 2px 6px rgba(37,99,235,0.25);
}
.star-rating-btn {
  color: #D9CCBB;
  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: #F3EADC;
  border: 1px solid #D9CCBB;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #4A403A;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-chip-tag.selected {
  background: #7E1F2C;
  color: #fff;
  border-color: #7E1F2C;
  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%;
}


/* V118: capa do detalhe com foto em pé — inteira, sobre a mesma foto desfocada */
.sheet-header-thumb.capa-em-pe { background-size: cover; background-position: center; }
.sheet-header-thumb.capa-em-pe::before { content: ""; position: absolute; inset: -14px; background: inherit; filter: blur(14px) brightness(.65); transform: scale(1.1); }
.sheet-header-thumb.capa-em-pe img { position: relative; z-index: 1; }
/* V164: carrossel de fotos no topo do anúncio aberto */
.sheet-header-thumb .det-car { position:absolute; inset:0; z-index:2; display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.sheet-header-thumb .det-car::-webkit-scrollbar { display:none; }
.sheet-header-thumb .det-car-s { position:relative; flex:0 0 100%; height:100%; scroll-snap-align:start; overflow:hidden; display:flex; align-items:center; justify-content:center; cursor:zoom-in; background:#1A1512; }
.sheet-header-thumb .det-car-s .bg { position:absolute; inset:-14px; background-size:cover; background-position:center; filter:blur(14px) brightness(.65); }
.sheet-header-thumb .det-car-s img { position:relative; width:100%; height:100%; object-fit:contain; }
.sheet-header-thumb .det-car-dots { position:absolute; left:0; right:0; bottom:10px; z-index:3; display:flex; justify-content:center; gap:5px; pointer-events:none; }
.sheet-header-thumb .det-car-dots i { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.55); box-shadow:0 0 0 1px rgba(15,23,42,.3); }
.sheet-header-thumb .det-car-dots i.on { background:#fff; width:16px; border-radius:4px; }
.sheet-header-thumb .det-car-n { position:absolute; top:12px; right:64px; z-index:3; background:rgba(15,23,42,.72); color:#fff; font-size:10.5px; font-weight:800; padding:4px 9px; border-radius:999px; pointer-events:none; }

/* V122: modo simples do wizard — 4 campos, na ordem nome → categoria → WhatsApp → foto */
#modalCriarEditarAd [data-wiz="simples-inline"]{display:none}
#modalCriarEditarAd.wiz-simples [data-wiz="simples-inline"]{display:inline}
#modalCriarEditarAd.wiz-simples [data-wiz="avancado-inline"]{display:none!important}
#modalCriarEditarAd.wiz-simples .sheet-content-scroll{display:flex;flex-direction:column}
#modalCriarEditarAd.wiz-simples .sheet-content-scroll>*{order:10}
#modalCriarEditarAd.wiz-simples #boxWizSimplesAviso{order:0}
#modalCriarEditarAd.wiz-simples #boxWizDados{order:1}
#modalCriarEditarAd.wiz-simples #boxCategoriaBotoes{order:2}
#modalCriarEditarAd.wiz-simples #boxWizZap{order:3}
#modalCriarEditarAd.wiz-simples #boxWizFotoPe{order:4}

/* V123: compartilhar um produto/serviço */
.mini-product-item { position: relative; }
.mini-product-item .mp-share { position: absolute; right: 6px; bottom: 6px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #E3C4BF; background: #F8ECE9; color: #6A1824; font-size: 15px; font-weight: 900; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(15,23,42,.12); }
.mini-product-item .mp-share:active { transform: scale(.92); }

/* V124: pulso para apontar onde fica o Destaque */
@keyframes citPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* ===== V145: todo botão de FECHAR / VOLTAR em destaque (aplicado por js/02-base.js destacarBotoesFechar) ===== */
.btn-fechar-destaque {
  background: #dc2626 !important; color: #fff !important; border: 2px solid #fff !important;
  min-width: 38px !important; min-height: 38px !important; width: 38px; height: 38px; border-radius: 50% !important;
  font-size: 18px !important; font-weight: 900 !important; line-height: 1 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  box-shadow: 0 3px 10px rgba(220,38,38,.45) !important; opacity: 1 !important; cursor: pointer; padding: 0 !important; flex: 0 0 auto;
}
.btn-fechar-destaque:active { transform: scale(.93); }
.btn-voltar-destaque {
  background: #1A1512 !important; color: #fff !important; border: 2px solid #fff !important;
  font-weight: 900 !important; border-radius: 999px !important; padding: 9px 16px !important; font-size: 13px !important;
  box-shadow: 0 3px 10px rgba(15,23,42,.35) !important; opacity: 1 !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; cursor: pointer;
}
.btn-voltar-destaque:active { transform: scale(.96); }

/* V146: marca Conecta (branco) + Ita (laranja) */
.brand-ita { color: #B5563A !important; display: inline !important; font-size: inherit !important; opacity: 1 !important; }

/* V147/V148: faixa fina "Quer anunciar?" entre os filtros e a lista */
.cta-anunciar { display:flex; align-items:center; gap:8px; margin:2px 0 10px; padding:7px 10px 7px 12px; border-radius:999px; background:linear-gradient(135deg,#1A1512 0%,#4E1119 100%); color:#fff; box-shadow:0 3px 10px rgba(30,58,138,.2); }
.cta-anunciar-ico { font-size:18px; line-height:1; flex:0 0 auto; animation:ctaBalanca 2.4s ease-in-out infinite; transform-origin:70% 70%; }
@keyframes ctaBalanca { 0%,80%,100%{transform:rotate(0)} 85%{transform:rotate(-14deg)} 90%{transform:rotate(12deg)} 95%{transform:rotate(-8deg)} }
.cta-anunciar-txt { flex:1; min-width:0; font-size:12.5px; color:#E6D9C8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cta-anunciar-txt b { color:#fde68a; font-weight:900; }
.cta-anunciar-btn { flex:0 0 auto; background:#25d366; color:#fff; border:none; border-radius:999px; padding:7px 12px; font-size:12px; font-weight:900; cursor:pointer; box-shadow:0 3px 8px rgba(37,211,102,.35); white-space:nowrap; }
.cta-anunciar-btn:active { transform:scale(.96); }
body.filtro-ativo .cta-anunciar { display:none; }

/* ==========================================================================
   V172 — LAYOUT DE COMPUTADOR (≥1024px). Celular e tablet (<1024px) não são afetados.
   ========================================================================== */
@media (min-width: 1024px) {
  html, body { background: #e9eef5; }
  body { padding-bottom: 0; }
  #appWrapper { max-width: 1440px; margin: 0 auto; border-radius: 0; border: none; box-shadow: 0 0 0 1px #E6D9C8; min-height: 100vh; }

  /* ---- HOME (PC): barra lateral à esquerda (categorias + filtros), conteúdo à direita ---- */
  #viewHome[style*="block"] { display: grid !important; } /* a view é mostrada por style=display:block; display:none continua escondendo */
  #viewHome { grid-template-columns: 272px minmax(0, 1fr); column-gap: 28px; row-gap: 0; padding: 22px 32px 0; align-items: start; }
  #viewHome > * { grid-column: 2; min-width: 0; }
  #viewHome > #homeBannerWrap { grid-column: 2; grid-row: 1; padding: 0; margin: 0; width: 100%; max-width: none; }
  #homeBannerWrap .home-banner { aspect-ratio: 2.4 / 1; border-radius: 18px; }
  /* categorias: lista vertical na lateral, na altura do banner */
  #viewHome > #homeCatsWrap { grid-column: 1; grid-row: 1 / span 2; padding: 0; margin: 0; } /* pode descer ao lado dos produtos sem empurrá-los */
  #homeCatsWrap::before { content: "Categorias"; display: block; font-size: 15px; font-weight: 900; color: #1A1512; margin: 2px 0 10px; }
  #homeCatsWrap .home-cats-grid { grid-template-columns: 1fr; gap: 6px; align-content: start; }
  #homeCatsWrap .home-cat-tile { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 7px 10px; border-radius: 12px; }
  #homeCatsWrap .home-cat-tile .ico { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; flex-shrink: 0; }
  #homeCatsWrap .home-cat-tile b { font-size: 13.5px; text-align: left; flex: 1; }
  #homeCatsWrap .home-cat-tile small { font-size: 11.5px; background: #F3EADC; border-radius: 999px; padding: 1px 8px; }
  #homeCatsWrap .home-trust-strip { margin-top: 10px; font-size: 11.5px; justify-content: flex-start; }
  /* filtros: painel vertical fixo na lateral */
  #viewHome > #clientQuickFiltersBar { grid-column: 1; grid-row: 3 / span 40; position: sticky; top: 16px; align-self: start; margin: 18px 0 0; padding: 14px; background: #fff; border: 1px solid #E6D9C8; border-radius: 16px; }
  #clientQuickFiltersBar::before { content: "Filtrar"; display: block; font-size: 15px; font-weight: 900; color: #1A1512; margin-bottom: 10px; }
  #clientQuickFiltersBar .filter-pills-scroll { flex-direction: column; align-items: stretch; gap: 8px; overflow: visible; padding: 0; }
  #clientQuickFiltersBar .feed-pill-btn, #clientQuickFiltersBar .btn-gps-proximity { width: 100%; justify-content: flex-start; font-size: 13px; padding: 10px 12px; border-radius: 10px; }
  #clientQuickFiltersBar .filter-chip-select-wrap { width: 100%; display: block; }
  #clientQuickFiltersBar .filter-select { width: 100%; font-size: 13px; padding: 10px 12px; border-radius: 10px; }
  #clientQuickFiltersBar #badgeFiltroCatAtiva { width: 100%; justify-content: flex-start; }
  /* conteúdo */
  #viewHome > .ofertas-dia-wrap, #viewHome > .home-prod-wrap, #viewHome > .faixa-perto-de-mim, #viewHome > .cta-anunciar, #viewHome > .section-title-row, #viewHome > .horizontal-top-scroller { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  #viewHome > .home-prod-wrap { margin-top: 22px; }
  .home-prod-head { padding-left: 0; padding-right: 0; }
  .home-prod-scroll { padding-left: 0; padding-right: 0; gap: 14px; }
  .home-prod-card { width: 168px; }
  .home-prod-card .ph { width: 168px; height: 168px; }
  .home-prod-card .pn { font-size: 13.5px; height: 32px; }
  .home-prod-card .pp { font-size: 14.5px; }
  #viewHome > .cta-anunciar { margin-top: 16px; }
  .section-title { font-size: 18px; }
  #viewHome > .main-ad-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 0 48px; }
  /* cards: sem card duplo no PC; arte em pé (1080×1350) aparece inteira */
  #viewHome .ad-card-col.vip-duplo { grid-column: auto; }
  #viewHome .ad-card-col .ad-thumb-box, #viewHome .ad-card-col.vip-duplo .ad-thumb-box { aspect-ratio: 4 / 5; }
  #viewHome .ad-card-col { border-radius: 16px; }
  #viewHome .ad-col-title { font-size: 15px; }
  #viewHome .ad-col-price { font-size: 14px; }
  footer { padding-top: 32px; }
}
@media (min-width: 1280px) {
  #viewHome > .main-ad-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- JANELA DO ANÚNCIO (PC): centralizada, foto à esquerda, informações à direita ---- */
@media (min-width: 1024px) {
  .modal-fullscreen-overlay { align-items: center; padding: 24px; }
  .modal-fullscreen-sheet { height: min(90vh, 860px); max-width: 1080px; border-radius: 22px; animation: none; }
  #modalDetalheAd .modal-fullscreen-sheet { max-width: 1120px; }
  #modalDetalheAd .sheet-content-scroll { display: grid; grid-template-columns: 440px minmax(0, 1fr); column-gap: 28px; align-content: start; padding: 24px 76px 24px 28px; }
  #modalDetalheAd .sheet-content-scroll > * { grid-column: 2; min-width: 0; }
  #modalDetalheAd .sheet-header-thumb { grid-column: 1; grid-row: 1 / span 60; position: sticky; top: 0; align-self: start; margin: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 560px; border-radius: 18px; }
  #modalDetalheAd .det-tabs { top: -24px; }
  #modalDetalheAd .mini-products-grid { grid-template-columns: repeat(3, 1fr); }
  #modalDetalheAd .sheet-footer-fixed { padding: 14px 28px 16px; }
  #modalDetalheAd .btn-sheet-zap-big { max-width: 520px; margin-left: auto; }
  #modalDetalheAd #avisoZapFechado { max-width: 520px; margin-left: auto; }

  /* Cadastro de anúncio / Dados da empresa / demais folhas: janela central larga */
  #modalCriarEditarAd .modal-fullscreen-sheet, #modalPerfilEmpresaAnunciante .modal-fullscreen-sheet { max-width: 820px; }
  #modalCriarEditarAd .sheet-content-scroll, #modalPerfilEmpresaAnunciante .sheet-content-scroll { padding: 20px 28px; }

  /* ---- VIEWS INTERNAS (categorias, planos, painel do anunciante) ---- */
  #viewCategorias, #viewPlanos, #viewPainelAnunciante { max-width: 1180px; margin: 0 auto; padding: 28px 32px 48px !important; }
  #viewCategorias #listaVerticalCategorias { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  #viewPlanos #cardsPlanosContainer { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 820px; margin: 0 auto; gap: 20px; align-items: stretch; } /* V180: 2 planos */
  #viewPlanos #cardsPlanosContainer > * { margin: 0 !important; }
  #viewPainelAnunciante .painel-tabs button { font-size: 14px; padding: 12px 6px; }
  #viewPainelAnunciante .det-tab-pane.on { display: block; }
  #ptabLoja, #ptabAnuncio, #ptabProdutos, #ptabResultados, #ptabPlano { max-width: none; }
  #boxMeusAnunciosLista { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
  #boxMeusAnunciosLista > * { margin: 0 !important; }
  .grid-modelos-painel { grid-template-columns: repeat(4, 1fr) !important; }
  #viewPainelAnunciante .kpi-grid, #viewPainelAnunciante .kpis { grid-template-columns: repeat(3, 1fr) !important; }
}

/* V176: produto ÚNICO dentro do anúncio no tablet/PC — vira um card deitado de largura inteira (antes ficava minúsculo: 240px divididos em 3 colunas) */
@media (min-width: 769px) {
  #modalDetalheAd .mini-products-grid.single-item { grid-template-columns: 1fr !important; max-width: none; margin: 0; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-item { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 12px; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-foto { width: 160px !important; height: 160px; flex: none; margin-bottom: 0 !important; aspect-ratio: auto !important; max-width: none; }
  #modalDetalheAd .mini-products-grid.single-item .mp-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-item b { font-size: 15px; margin-bottom: 0; white-space: normal; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-desc { -webkit-line-clamp: 3; font-size: 12.5px; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-price-btn { width: auto; align-self: flex-start; }
}

/* V177: rodapé Cancelar/Confirmar do editor de anúncio sempre visível (gruda embaixo enquanto rola) */
@media (min-width: 1024px) { #wizRodapeFixo { bottom: -20px !important; } }

/* V178: ícone padrão de compartilhar — centralizado em botões redondos */
.ad-share-btn, .mini-product-item .mp-share { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.ad-share-btn .ico-share { width: 16px; height: 16px; } .mini-product-item .mp-share .ico-share { width: 15px; height: 15px; }

/* ===== V181: sub-abas de "Meus Negócios" (hierarquia visível) ===== */
.painel-subtabs { display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin:-8px 0 14px 14px; padding:6px 6px 6px 8px; border-left:3px solid #6A1824; background:#eef4ff; border-radius:0 12px 12px 0; }
.painel-subtabs-lbl { width:100%; font-size:10.5px; font-weight:800; color:#6A1824; letter-spacing:.2px; padding:0 2px 2px; }
.painel-subtabs button { flex:1 1 30%; padding:8px 6px; font-size:12px; font-weight:800; color:#4E1119; background:#fff; border:1px solid #E3C4BF; border-radius:9px; cursor:pointer; }
.painel-subtabs button.on { color:#fff; background:#7E1F2C; border-color:#7E1F2C; }
@media (min-width:700px) { .painel-subtabs { flex-wrap:nowrap; } .painel-subtabs-lbl { width:auto; white-space:nowrap; padding:0 8px 0 2px; } .painel-subtabs button { flex:1 1 0; } }
@media (min-width:1025px) { #viewPainelAnunciante .painel-subtabs button { font-size:13px; padding:10px 6px; } }

/* ===== V184: PAINEL EM TELAS (proposta A) — grade de atalhos com fotos, barra Voltar e menu lateral no PC ===== */
.painel-nav { display:flex; align-items:center; gap:10px; margin:0 0 12px; padding:8px 10px; background:#fff; border:1.5px solid #E6D9C8; border-radius:12px; position:sticky; top:62px; z-index:5; }
.painel-nav-back { background:#F8ECE9; color:#6A1824; border:1.5px solid #E3C4BF; border-radius:9px; padding:7px 12px; font-weight:900; font-size:13px; cursor:pointer; flex:0 0 auto; margin-left:auto; }
.painel-nav-trilha { flex:1; font-size:12px; color:#5B514A; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.painel-nav-trilha a { color:#6A1824; font-weight:700; text-decoration:none; }
.painel-nav-trilha b { color:#1A1512; } .painel-nav-trilha i { font-style:normal; margin:0 5px; color:#9C8F84; }
.pg-resumo { display:flex; align-items:center; gap:12px; background:#fff; border:1.5px solid #E6D9C8; border-radius:16px; padding:12px; margin-bottom:12px; cursor:pointer; box-shadow:0 2px 8px rgba(15,23,42,.04); }
.painel-grade { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.pg-tile { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:4px; background:#fff; border:1.5px solid #E6D9C8; border-radius:16px; padding:14px 10px 12px; text-align:center; cursor:pointer; font-family:inherit; color:#1A1512; box-shadow:0 2px 8px rgba(15,23,42,.04); min-height:118px; transition:transform .12s, border-color .12s; }
.pg-tile:active { transform:scale(.98); } .pg-tile:hover { border-color:#D9A8A0; }
.pg-tile b { font-size:13px; font-weight:900; margin-top:4px; } .pg-tile small { font-size:10.5px; color:#6B625B; font-weight:600; line-height:1.3; }
.pg-emoji { width:48px; height:48px; border-radius:14px; background:#F3EADC; display:inline-flex; align-items:center; justify-content:center; font-size:26px; }
.pg-fotos { display:inline-flex; height:48px; align-items:center; }
.pg-fotos img, .pg-fotos i { width:44px; height:44px; border-radius:12px; object-fit:cover; border:2px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.18); background:#F3EADC; font-style:normal; display:inline-flex; align-items:center; justify-content:center; font-size:20px; }
.pg-fotos img + img, .pg-fotos * + * { margin-left:-16px; }
.painel-menu-pc { display:none; }
#viewPainelAnunciante .det-tab-pane { display:none; } #viewPainelAnunciante .det-tab-pane.on { display:block; }
@media (min-width:700px) { .painel-grade { grid-template-columns:repeat(3, 1fr); } }
@media (min-width:1025px) {
  .painel-layout { display:grid; grid-template-columns:220px minmax(0, 1fr); gap:20px; align-items:start; }
  .painel-menu-pc { display:flex; flex-direction:column; gap:4px; position:sticky; top:80px; background:#fff; border:1.5px solid #E6D9C8; border-radius:16px; padding:10px; }
  .painel-menu-pc button { display:flex; align-items:center; gap:10px; width:100%; background:transparent; border:none; border-radius:10px; padding:8px 10px; font-family:inherit; font-size:13px; font-weight:800; color:#4A403A; cursor:pointer; text-align:left; }
  .painel-menu-pc button:hover { background:#F3EADC; } .painel-menu-pc button.on { background:#6A1824; color:#fff; }
  .painel-menu-pc .pg-emoji, .painel-menu-pc .pg-fotos { width:auto; height:30px; } .painel-menu-pc .pg-emoji { width:30px; font-size:17px; border-radius:8px; }
  .painel-menu-pc .pg-fotos img, .painel-menu-pc .pg-fotos i { width:28px; height:28px; border-radius:8px; font-size:14px; } .painel-menu-pc .pg-fotos * + * { margin-left:-10px; }
  .painel-menu-pc button.on .pg-emoji { background:rgba(255,255,255,.18); }
  .painel-nav { top:70px; }
  .painel-grade { grid-template-columns:repeat(3, 1fr); }
}

/* ===================== V192 — INÍCIO estilo lista (paleta ConectaIta) ===================== */
@media (max-width: 768px) {
  .brand-header { background:#fff; color:#1A1512; border-bottom:none; padding:10px 14px 8px; }
  .brand-logo-icon { width:34px; height:34px; border-radius:10px; background:linear-gradient(135deg,#7E1F2C,#6A1824); color:#fff; font-size:13px; font-weight:900; letter-spacing:-.5px; box-shadow:none; }
  .brand-title { color:#1A1512; font-size:17px; }
  .brand-subtitle { color:#6B625B; font-size:11px; font-weight:700; }
  .btn-header-cta.primary { background:#F8ECE9; color:#6A1824; border:none; box-shadow:none; font-weight:800; font-size:12.5px; padding:8px 12px; border-radius:999px; }
  .btn-header-logged { background:#FBEFE6; color:#8F4029; border:1px solid #EBC3B0; }
  .btn-header-logout { background:#F3EADC; color:#5B514A; border:none; }
  .search-box-wrapper { margin-top:8px; }
  .search-input { background:#F3EADC; border:none; border-radius:999px; padding:12px 14px 12px 42px; font-size:14px; font-weight:600; box-shadow:none; }
  .search-input:focus { background:#fff; box-shadow:0 0 0 2px #E3C4BF; }
  .search-box-wrapper .search-ico, .search-box-wrapper > span:first-child { color:#6B625B; }
  .brand-header .hero-banner-container { display:none; }
  /* categorias: fila redonda */
  #homeCatsWrap { padding:10px 0 2px !important; margin:0 !important; background:#fff; border:none !important; }
  #homeCatsWrap .section-title-row, #homeCatsWrap .section-title { display:none !important; }
  .home-cats-grid { display:flex; gap:4px; overflow-x:auto; padding:0 10px 6px; scrollbar-width:none; }
  .home-cats-grid::-webkit-scrollbar { display:none; }
  .home-cat-tile { flex:0 0 74px; background:none; border:none; padding:2px 0; gap:6px; }
  .home-cat-tile .ico { width:58px; height:58px; border-radius:50%; background:#F8ECE9; color:#6A1824; font-size:26px; }
  .home-cat-tile b { font-size:11px; font-weight:700; color:#4A403A; white-space:normal; line-height:1.1; max-width:74px; }
  .home-cat-tile small { display:none; }
  .home-trust-strip { display:none !important; }
  /* banner sem moldura */
  .home-banner-wrap { padding:8px 14px 0; }
  .home-banner { border:none !important; box-shadow:none !important; border-radius:14px; }
  /* ofertas de hoje */
  .home-prod-wrap { padding:14px 0 0; }
  .home-prod-head { padding:0 14px 8px; }
  .home-prod-head b { font-size:17px; font-weight:900; letter-spacing:-.3px; }
  .home-prod-head small { color:#7E1F2C; font-weight:800; font-size:12.5px; }
  .home-prod-scroll { padding:0 14px 6px; gap:12px; }
  .home-prod-card { width:130px; border:none; border-radius:0; background:none; }
  .home-prod-card .ph { width:130px; height:130px; border-radius:12px; background:#F3EADC; }
  .home-prod-card .ph .tag { background:#B5563A; }
  .home-prod-card .pb { padding:6px 0 0; }
  .home-prod-card .pp { color:#1A1512; font-size:14px; }
  .home-prod-card .pn { font-weight:600; color:#5B514A; font-size:12px; height:auto; -webkit-line-clamp:1; }
  /* filtros */
  .client-quick-filters-bar { padding-top:10px; }
  /* título da lista */
  #rowTituloVitrine { padding:16px 14px 4px !important; }
  #rowTituloVitrine .section-title { font-size:17px; font-weight:900; letter-spacing:-.3px; color:#1A1512; }
  .main-ad-grid { padding:0 8px 24px; gap:8px; }
  /* V193c: cards mais amplos — sem borda, sem sombra, sem borda amarela, foto maior */
  .negocio-card, .negocio-card.vip { border:none; box-shadow:none; border-radius:16px; background:#fff; }
  .negocio-card-img { aspect-ratio:10/13; border-radius:16px; } /* V193d: +30% de altura na foto */
  .negocio-card-img .vp { display:none; }
  .negocio-card-body { padding:8px 4px 10px; }
  .negocio-card-title { font-size:14.5px; min-height:0; }
  .cta-anunciar.nl-cta { margin:4px 0; }
  /* faixa convite (laranja = anunciante) */
  .cta-anunciar { margin:4px 14px 6px; padding:10px 12px 10px 14px; border-radius:14px; background:#FBEFE6; border:1px solid #EBC3B0; box-shadow:none; cursor:pointer; }
  .cta-anunciar-ico { display:none; }
  .cta-anunciar-txt { color:#1A1512; white-space:normal; font-size:12.5px; line-height:1.25; }
  .cta-anunciar-txt b { color:#8F4029; display:block; font-size:13px; }
  .cta-anunciar-txt small { color:#7A3522; font-weight:600; font-size:11.5px; }
  .cta-anunciar-btn { background:#B5563A; color:#fff; box-shadow:none; padding:8px 12px; }
  .cta-anunciar.nl-cta { margin:0; }
  #ctaAnunciar { display:none !important; } /* V192: no celular o convite vai dentro da lista */
  /* linha de negócio */
  .nl-item { display:flex; align-items:center; gap:12px; padding:12px 14px; cursor:pointer; background:#fff; }
  .nl-item + .nl-item, .nl-cta + .nl-item { border-top:1px solid #F3EADC; }
  .nl-item:active { background:#FBF6EE; }
  .nl-logo { flex:0 0 60px; width:60px; height:60px; border-radius:50%; overflow:hidden; position:relative; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:900; border:1px solid #E6D9C8; }
  .nl-logo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#fff; }
  .nl-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .nl-nome { font-size:15px; font-weight:800; color:#1A1512; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .nl-l { font-size:12.5px; color:#5B514A; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .nl-l b { color:#b45309; font-weight:800; }
  .nl-l .g { color:#6B625B; }
  .nl-l i { font-style:normal; color:#D9CCBB; padding:0 2px; }
  .nl-l em { font-style:normal; font-weight:800; }
  .nl-l em.ab { color:#15803d; }
  .nl-l em.fe { color:#6B625B; }
  .nl-pills { display:flex; gap:6px; flex-wrap:wrap; margin-top:3px; }
  .nl-pill { font-size:11px; font-weight:800; color:#166534; background:#dcfce7; border-radius:999px; padding:2px 8px; white-space:nowrap; }
  .nl-pill.of { color:#7A3522; background:#F6E0D2; }
  .nl-pill.ok { color:#6A1824; background:#EBD3CF; }
  .nl-fav { flex:0 0 auto; width:36px; height:36px; border:none; background:none; color:#9C8F84; font-size:22px; line-height:1; cursor:pointer; padding:0; }
  .nl-fav.on { color:#dc2626; font-size:18px; }
  /* barra de baixo */
  .bottom-app-bar { border-top:1px solid #E6D9C8; }
  .bottom-nav-item { color:#6B625B; font-weight:700; }
  #bNavPainel { color:#9E4A31; }
  #bNavPainel.active { color:#8F4029; }
}

/* ===================== V193 — PÁGINA DO NEGÓCIO (celular) ===================== */
.dh { display:none; }
.det-rodape-anuncie { display:none; }
@media (max-width: 768px) {
  #modalDetalheAd .modal-fullscreen-sheet { height:100vh; height:100dvh; max-width:none; border-radius:0; }
  #modalDetalheAd .sheet-content-scroll { padding:0 0 12px; gap:0; }
  #modalDetalheAd .sheet-header-thumb { margin:0; width:100%; height:190px; border-radius:0; }
  #modalDetalheAd .sheet-header-thumb > span:not([id]), #modalDetalheAd #detalheStatusBadge { display:none !important; }
  #modalDetalheAd .sheet-close-btn.sheet-close-flutuante { top:12px; border:none; right:12px; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.95); color:#1A1512; box-shadow:0 2px 8px rgba(0,0,0,.25); font-size:16px; }
  /* cabeçalho novo */
  .dh { display:block; position:relative; z-index:4; padding:40px 16px 10px; background:#fff; }
  .dh-logo { position:absolute; top:-36px; left:16px; width:72px; height:72px; border-radius:50%; border:3px solid #fff; box-shadow:0 2px 8px rgba(0,0,0,.15); overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:28px; font-weight:900; background:#F8ECE9; }
  .dh-logo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#fff; }
  .dh-nome { margin:0 0 4px; font-size:21px; font-weight:900; color:#1A1512; line-height:1.15; letter-spacing:-.3px; }
  .dh-l { font-size:13px; color:#5B514A; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .dh-l b { color:#b45309; font-weight:800; }
  .dh-l .g { color:#6B625B; }
  .dh-l i { font-style:normal; color:#D9CCBB; padding:0 2px; }
  .dh-l em { font-style:normal; font-weight:800; }
  .dh-l em.ab { color:#15803d; }
  .dh-l em.fe { color:#6B625B; }
  .dh-acoes { display:flex; gap:8px; margin-top:10px; overflow-x:auto; scrollbar-width:none; }
  .dh-acoes::-webkit-scrollbar { display:none; }
  .dh-acoes button, .dh-acoes a { flex:0 0 auto; background:#F3EADC; border:none; color:#1A1512; font-size:12.5px; font-weight:800; padding:8px 12px; border-radius:999px; cursor:pointer; text-decoration:none; white-space:nowrap; }
  .dh-acoes button.on { background:#fee2e2; color:#dc2626; }
  .dh-acoes a { color:#6A1824; background:#F8ECE9; }
  /* some com o topo antigo */
  #modalDetalheAd #detTopoAntigo, #modalDetalheAd #detalheTitulo, #modalDetalheAd #detalhePreco, #modalDetalheAd #detalheLocal { display:none !important; }
  #modalDetalheAd #detalheLinksTopo { padding:0 16px 8px; }
  /* abas grudam no topo */
  #modalDetalheAd .det-tabs { margin:0; padding:0 8px; border-bottom:1px solid #E6D9C8; position:sticky; top:0; z-index:6; }
  #modalDetalheAd .det-tabs button { font-size:14px; padding:12px 4px; border-bottom-width:2.5px; }
  #modalDetalheAd .det-tabs button.on { color:#1A1512; border-bottom-color:#7E1F2C; }
  #modalDetalheAd .det-tab-pane { padding:12px 16px 0; gap:12px; }
  /* cupom + oferta lado a lado */
  #detPromosRow { display:flex; gap:10px; }
  #detPromosRow.vazio { display:none; }
  #detPromosRow > div { flex:1 1 0; min-width:0; margin:0 !important; }
  #detPromosRow .box-cupom-detalhe { flex-direction:column; align-items:flex-start; gap:6px; padding:12px; background:#f0fdf4; border:1px solid #bbf7d0; }
  #detPromosRow .box-cupom-detalhe .cp-ico { font-size:22px; }
  #detPromosRow .box-cupom-detalhe b { font-size:13px; }
  #detPromosRow .box-cupom-detalhe small { font-size:11px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  #detPromosRow .box-cupom-detalhe button { width:100%; background:#25D366; border-radius:999px; padding:9px 10px; }
  #detPromosRow #boxOfertaDetalhe { background:#FBEFE6 !important; border:1px solid #EBC3B0 !important; padding:12px !important; }
  #detPromosRow #boxOfertaDetalhe button { background:#25D366 !important; border-radius:999px !important; }
  /* cabeçalho da lista de produtos e dica: menos texto */
  #dicaSelecaoProdutosDetalhe { display:none; }
  #boxMiniProdutosDetalhe > div:first-child > b { display:none !important; }
  #boxMiniProdutosDetalhe > div:first-child { justify-content:flex-end; margin-bottom:0 !important; }
  /* produtos em lista: texto à esquerda, foto quadrada à direita */
  #modalDetalheAd .mini-products-grid { display:flex; flex-direction:column; gap:0; }
  #modalDetalheAd .mini-product-item { flex-direction:row; align-items:flex-start; text-align:left; gap:12px; border:none; border-bottom:1px solid #F3EADC; border-radius:0; box-shadow:none; padding:12px 0; width:100%; }
  #modalDetalheAd .mini-product-item:hover { transform:none; box-shadow:none; }
  #modalDetalheAd .mini-product-item.selected { background:#f0fdf4; border-color:#bbf7d0; }
  #modalDetalheAd .mini-product-foto { order:2; width:88px !important; flex:0 0 88px; aspect-ratio:1/1; margin:0 !important; border-radius:12px !important; background:#F3EADC !important; }
  #modalDetalheAd .mini-product-item .mp-body { order:1; flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
  #modalDetalheAd .mini-product-item b { font-size:14.5px; font-weight:800; color:#1A1512; text-align:left; line-height:1.25; white-space:normal; }
  #modalDetalheAd .mini-product-desc { font-size:12.5px; color:#6B625B; }
  #modalDetalheAd .mini-product-price-btn { margin-top:4px; background:none; border:none; padding:0; font-size:15px; font-weight:900; color:#1A1512; box-shadow:none; }
  #modalDetalheAd .mini-product-price-btn span { color:#1A1512; }
  #modalDetalheAd .mini-product-item.selected .mini-product-price-btn span { color:#15803d; }
  #modalDetalheAd .mini-product-item .mp-share { display:none; }
  #modalDetalheAd .mini-product-item-badge-check { top:10px; right:0; }
  /* V194e: etiqueta PROMO vai para cima da foto (não sobre o texto) */
  #modalDetalheAd .mini-product-item .mp-promo { left:auto !important; right:0 !important; top:18px !important; }
  #modalDetalheAd .mini-product-item .mp-qtd { display:flex; align-items:center; gap:0; margin-top:6px; border:1px solid #bbf7d0; background:#fff; border-radius:999px; height:34px; overflow:hidden; width:max-content; max-width:100%; }
  #modalDetalheAd .mp-qtd button { width:36px; height:100%; border:none; background:#fff; font-size:18px; font-weight:700; color:#7E1F2C; cursor:pointer; padding:0; }
  #modalDetalheAd .mp-qtd b { min-width:24px; text-align:center; font-size:14px; color:#1A1512; }
  #modalDetalheAd .mp-qtd em { white-space:nowrap; font-style:normal; font-weight:900; font-size:13px; color:#15803d; padding:0 12px 0 6px; border-left:1px solid #dcfce7; margin-left:4px; height:100%; display:flex; align-items:center; }
  #modalDetalheAd .mini-products-grid.single-item .mini-product-foto { max-width:88px; }
  /* Sobre: sem caixas pesadas */
  #modalDetalheAd #detalheDesc { background:none; border:none; padding:0; font-size:14px; color:#4A403A; }
  #modalDetalheAd #boxEmpresaDetalheAd { border:none; box-shadow:none; padding:0; margin-top:4px; }
  #modalDetalheAd #boxEnderecoEmpresaDetalhe { background:none; border:none; padding:0; }
  #modalDetalheAd #btnNavegarMapaEmpresa { background:#F8ECE9 !important; color:#6A1824 !important; box-shadow:none !important; border-radius:999px !important; }
  /* botão fixo */
  #modalDetalheAd .sheet-footer-fixed { padding:10px 16px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid #F3EADC; box-shadow:none; }
  #modalDetalheAd .btn-sheet-zap-big { background:#25D366; border-radius:999px; box-shadow:none; font-size:15.5px; padding:14px; }
  /* rodapé convite ao anunciante */
  .det-rodape-anuncie { display:block; margin:18px 16px 6px; padding:12px 14px; border-radius:14px; background:#FBEFE6; border:1px solid #EBC3B0; color:#7A3522; font-size:13px; text-align:center; cursor:pointer; }
  .det-rodape-anuncie b { color:#8F4029; }
}

/* ===================== V196 — tela ANUNCIE (celular) ===================== */
.an-topo, .an-rodape { display:none; }
.so-local { display:none; }
@media (max-width: 768px) {
  #viewPlanos { padding:6px 16px 160px !important; }
  .an-topo h1 { font-size:26px; line-height:1.15; font-weight:900; color:#1A1512; letter-spacing:-.5px; margin:10px 0 0; }
  .an-topo > p { color:#5B514A; font-size:14.5px; line-height:1.45; margin-top:8px; }
  .an-cta { display:block; width:100%; background:#B5563A; color:#fff; border:none; border-radius:999px; padding:15px; font-size:16px; font-weight:900; text-align:center; margin-top:18px; cursor:pointer; }
  .an-cta:active { transform:scale(.98); }
  .an-entrar { text-align:center; font-size:13px; color:#6B625B; margin-top:10px; }
  .an-entrar a { color:#7E1F2C; font-weight:800; text-decoration:none; }
  .an-prova { display:flex; gap:8px; margin-top:16px; }
  .an-prova div { flex:1; background:#FBF6EE; border-radius:12px; padding:10px 6px; text-align:center; }
  .an-prova b { display:block; font-size:17px; color:#1A1512; white-space:nowrap; }
  .an-prova span { font-size:11px; color:#6B625B; }
  .an-topo h2, .an-rodape h2 { font-size:17px; font-weight:900; color:#1A1512; margin:26px 0 10px; }
  .an-passo { display:flex; gap:12px; align-items:flex-start; padding:8px 0; }
  .an-passo .n { width:44px; height:44px; border-radius:50%; background:#FBEFE6; display:grid; place-items:center; font-size:22px; flex:0 0 44px; }
  .an-passo b { display:block; font-size:15px; color:#1A1512; }
  .an-passo span { font-size:13px; color:#6B625B; }
  .an-planos-grid { display:flex; gap:10px; align-items:stretch; margin-top:18px; }
  .an-lanc { margin:-4px 0 0; }
  .an-lanc > div { margin-top:0 !important; font-size:12.5px !important; line-height:1.4; }
  .an-pl { flex:1; min-width:0; border:1.5px solid #E6D9C8; border-radius:16px; padding:16px 12px 12px; position:relative; display:flex; flex-direction:column; cursor:pointer; background:#fff; }
  .an-pl.on { border-color:#B5563A; background:#FBEFE6; }
  .an-pl .tag { position:absolute; top:-12px; left:12px; background:#B5563A; color:#fff; font-size:10.5px; font-weight:900; padding:3px 8px; border-radius:999px; }
  .an-pl .ic { font-size:26px; }
  .an-pl .nm { display:block; font-size:15px; color:#1A1512; margin-top:6px; }
  .an-pl .pr { font-size:21px; font-weight:900; color:#1A1512; margin-top:4px; line-height:1.1; }
  .an-pl .pr small { font-size:12px; color:#6B625B; font-weight:700; }
  .an-pl .pr s { display:block; font-size:12px; color:#9C8F84; font-weight:700; }
  .an-pl .pr .gr { color:#15803d; }
  .an-pl ul { list-style:none; margin:8px 0 0; padding:0; flex:1; }
  .an-pl li { font-size:12px; color:#5B514A; padding:3px 0 3px 16px; position:relative; line-height:1.3; }
  .an-pl li::before { content:"✓"; position:absolute; left:0; color:#16a34a; font-weight:900; }
  .an-pl button { margin-top:10px; border:none; border-radius:999px; padding:10px; font-weight:800; font-size:13px; background:#F3EADC; color:#1A1512; cursor:pointer; width:100%; }
  .an-pl.on button { background:#B5563A; color:#fff; }
  .an-nota { font-size:12px; color:#6B625B; text-align:center; margin-top:12px; line-height:1.5; }
  .an-dest-h2 { font-size:17px; font-weight:900; color:#1A1512; margin:26px 0 6px; }
  .an-dest-sub { font-size:13.5px; color:#5B514A; line-height:1.5; margin:0 0 10px; }
  .an-dest-sub b { color:#b45309; }
  .an-dest { margin-top:4px; }
  .an-dest > div { margin:0 !important; }
  .an-txt p { font-size:14px; color:#5B514A; line-height:1.55; margin:0 0 10px; }
  .an-txt b { color:#1A1512; }
  .an-fecho { text-align:center; font-size:15px; font-weight:800; color:#8F4029; margin:22px 0 4px; }
  .an-zap { display:flex; align-items:center; gap:10px; background:#f0fdf4; border-radius:14px; padding:12px 14px; cursor:pointer; }
  .an-zap b { font-size:14px; color:#1A1512; display:block; }
  .an-zap span { font-size:12px; color:#6B625B; }
  .an-zap .b { margin-left:auto; background:#25D366; color:#fff; font-weight:900; font-size:12.5px; border-radius:999px; padding:8px 12px; }
  .an-fixo { position:fixed; left:0; right:0; bottom:calc(58px + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #F3EADC; padding:8px 16px 8px; z-index:40; }
  .an-fixo .an-cta { margin-top:0; padding:13px; font-size:15px; }
}

/* ===================== V198 — Meus dados de entrega (salvos no celular) ===================== */
.det-entrega-row { padding:0 0 8px; }
.det-ent-btn { width:100%; display:flex; align-items:center; gap:8px; background:#F8ECE9; border:1.5px solid #E3C4BF; color:#4E1119; border-radius:12px; padding:11px 12px; font-size:13.5px; font-weight:700; cursor:pointer; text-align:left; }
.det-ent-btn.tem { background:#f0fdf4; border-color:#bbf7d0; color:#14532d; }
.det-ent-btn .t { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.det-ent-btn b { font-weight:800; }
.det-ent-btn .a { flex:0 0 auto; background:#7E1F2C; color:#fff; border-radius:999px; padding:5px 11px; font-size:12.5px; font-weight:800; }
.det-ent-btn.tem .a { background:#16a34a; }
.ent-box { background:#fff; width:100%; max-width:520px; border-radius:22px 22px 0 0; padding:16px 18px calc(18px + env(safe-area-inset-bottom)); animation:slideUpSheet .2s ease-out; }
.ent-top { display:flex; align-items:center; justify-content:space-between; }
.ent-top b { font-size:17px; color:#1A1512; }
.ent-x { width:34px; height:34px; border-radius:50%; border:none; background:#F3EADC; color:#1A1512; font-weight:900; cursor:pointer; }
.ent-sub { font-size:12.5px; color:#6B625B; margin:6px 0 12px; line-height:1.4; }
.ent-box label { display:block; font-size:12.5px; font-weight:800; color:#1A1512; margin:10px 0 5px; }
.ent-box label small { color:#9C8F84; font-weight:600; }
.ent-box input { width:100%; border:1.5px solid #E6D9C8; border-radius:12px; padding:12px; font-size:15px; color:#1A1512; outline:none; }
.ent-box input:focus { border-color:#7E1F2C; }
.ent-ok { width:100%; margin-top:16px; background:#25D366; color:#fff; border:none; border-radius:999px; padding:14px; font-size:15px; font-weight:900; cursor:pointer; }
.ent-sec { width:100%; margin-top:10px; background:#F8ECE9; color:#6A1824; border:none; border-radius:999px; padding:13px; font-size:14.5px; font-weight:800; cursor:pointer; }
.ent-sec.vermelho { background:#fef2f2; color:#dc2626; }

/* V211: botão "Adicionar" visível em cada item do cardápio (antes só o preço era tocável) */
#modalDetalheAd .mini-product-item .mp-add { margin-top:6px; align-self:flex-start; background:#16a34a; color:#fff; border:none; border-radius:999px; padding:9px 16px; font-size:13px; font-weight:900; cursor:pointer; box-shadow:0 2px 6px rgba(22,163,74,.25); line-height:1; }
#modalDetalheAd .mini-product-item .mp-add:active { transform:scale(.97); }
#modalDetalheAd .mini-product-item.somente-leitura .mp-add { display:none; }

/* =====================================================================
   V212 — NOVO PADRÃO VISUAL "conecta ita" (creme · terracota · bordô · preto)
   Paleta trocada em todo o CSS/JS; abaixo só o que muda de ESTRUTURA visual:
   topo claro, logo com pin-coração, pergunta "O que você procura?", fonte Nunito.
   ===================================================================== */
:root { --creme:#F6EEE3; --creme2:#FBF6EE; --terra:#B5563A; --bordo:#7E1F2C; --bordo2:#6A1824; --preto:#1A1512; --linha:#E6D9C8; --bg-body:#F6EEE3; }
* { font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body, #appWrapper { background: var(--creme); }
/* ---- topo claro ---- */
.brand-header { background: var(--creme2) !important; color: var(--preto); border-bottom: 1.5px solid var(--linha); }
.brand-logo-icon { width: 30px; height: 38px; background: none !important; box-shadow: none !important; border-radius: 0; padding: 0; }
.brand-logo-icon svg { width: 100%; height: 100%; display: block; }
.brand-title { color: var(--preto) !important; font-size: 24px !important; font-weight: 900; letter-spacing: -1.2px; text-transform: lowercase; }
.brand-ita { color: var(--bordo) !important; margin-left: 2px; }
.brand-subtitle { color: #6B625B !important; }
.desktop-nav-link { color: #4A403A; }
.desktop-nav-link:hover { color: var(--bordo); background: #F3EADC; }
.desktop-nav-link.active { color: var(--bordo); background: #F8ECE9; }
.btn-header-cta { background: #fff; color: var(--preto); border: 1.5px solid var(--linha); border-radius: 12px; }
.btn-header-cta:hover { background: #F3EADC; color: var(--preto); }
.btn-header-cta.primary { background: var(--bordo); border-color: var(--bordo); color: #fff; box-shadow: 0 3px 10px rgba(126,31,44,.25); }
.btn-header-cta.primary:hover { background: var(--bordo2); }
.search-input { background: #fff !important; border: 1.5px solid var(--linha) !important; color: var(--preto); box-shadow: 0 4px 14px rgba(126,31,44,.05) !important; }
.search-input::placeholder { color: #8A7F76; }
/* ---- pergunta + Produtos/Serviços (celular e PC) ---- */
.home-pergunta { padding: 6px 16px 2px; }
.home-pergunta h1 { font-size: 22px; font-weight: 900; letter-spacing: -.4px; color: var(--preto); margin: 2px 0 8px; }
.tipo-toggle { display: flex; background: #fff; border: 1.5px solid var(--linha); border-radius: 14px; padding: 4px; gap: 4px; }
.tipo-toggle button { flex: 1; border: none; background: none; padding: 10px 8px; border-radius: 11px; font-weight: 900; font-size: 14px; color: #4A403A; cursor: pointer; }
.tipo-toggle button.on { background: var(--bordo); color: #fff; }
/* no PC: pergunta grande centralizada, com a busca movida para baixo dela (JS move o #headerSearchWrapper) */
@media (min-width: 900px) {
  .home-pergunta { text-align: center; padding: 30px 16px 6px; }
  .home-pergunta h1 { font-size: 40px; margin-bottom: 14px; }
  .home-pergunta .tipo-toggle { display: inline-flex; width: auto; margin: 0 auto 14px; }
  .home-pergunta .tipo-toggle button { padding: 10px 28px; }
  .home-pergunta .search-box-wrapper { width: 760px; max-width: 100%; margin: 0 auto; }
  .home-pergunta .search-input { height: 56px; font-size: 15px; border-radius: 16px !important; }
  .brand-header .search-box-wrapper { display: none; }
}
/* ---- botões primários: bordô; secundários: brancos com borda ---- */
.btn-primary, .btn-azul, .btn-plano-escolher { background: var(--bordo) !important; }
.feed-pill-btn.active, .badge-cat-ativa { background: var(--bordo) !important; color: #fff !important; border-color: var(--bordo) !important; }
.bottom-nav-item.active { color: var(--bordo) !important; }
/* ---- rodapé escuro continua (preto quente) ---- */
.app-footer, .footer-institucional { background: var(--preto); }
@media (min-width: 900px) {
  /* V212: pergunta ocupa a largura toda, acima do banner e das categorias */
  #viewHome > #homePergunta { grid-column: 1 / -1; grid-row: 1; padding: 8px 0 26px; }
  #viewHome > #homeBannerWrap { grid-row: 2; }
  #viewHome > #homeCatsWrap { grid-row: 2 / span 2; }
  #viewHome > #clientQuickFiltersBar { grid-row: 4 / span 40; }
}

/* ===== V212b — INÍCIO NO PC IGUAL AO MODELO: sem barra lateral ===== */
@media (min-width: 900px) {
  #viewHome[style*="block"] { display: block !important; }
  #viewHome { padding: 8px 32px 0; max-width: 1280px; margin: 0 auto; }
  #viewHome > #homePergunta { padding: 18px 0 14px; }
  /* categorias: fileira de chips centralizada */
  #viewHome > #homeCatsWrap { padding: 0; margin: 0 0 8px; }
  #homeCatsWrap::before { display: none; }
  #homeCatsWrap .home-cats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  #homeCatsWrap .home-cat-tile { flex-direction: row; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1.5px solid #E6D9C8; background: #fff; }
  #homeCatsWrap .home-cat-tile .ico { width: 24px; height: 24px; font-size: 15px; border-radius: 50%; background: transparent !important; }
  #homeCatsWrap .home-cat-tile b { font-size: 13.5px; }
  #homeCatsWrap .home-cat-tile small { display: none; }
  #homeCatsWrap .home-cat-tile.ativa, #homeCatsWrap .home-cat-tile.on, #homeCatsWrap .home-cat-tile.active { background: #7E1F2C; border-color: #7E1F2C; }
  #homeCatsWrap .home-cat-tile.ativa b, #homeCatsWrap .home-cat-tile.on b, #homeCatsWrap .home-cat-tile.active b { color: #fff; }
  #homeCatsWrap .home-trust-strip { justify-content: center; margin-top: 8px; }
  /* filtros: linha centralizada, não grudada */
  #viewHome > #clientQuickFiltersBar { position: static; margin: 4px 0 14px; padding: 0; background: transparent; border: none; box-shadow: none; }
  #clientQuickFiltersBar::before { display: none; }
  #clientQuickFiltersBar .filter-pills-scroll { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  #clientQuickFiltersBar .feed-pill-btn, #clientQuickFiltersBar .btn-gps-proximity { width: auto; border-radius: 999px; padding: 8px 14px; }
  #clientQuickFiltersBar .filter-chip-select-wrap, #clientQuickFiltersBar .filter-select, #clientQuickFiltersBar #badgeFiltroCatAtiva { width: auto; }
  /* banners: 3 lado a lado (o rodízio continua: setas/bolinhas avançam os 3) */
  #viewHome > #homeBannerWrap { padding: 0; margin: 0; }
  #homeBannerWrap .home-banner { aspect-ratio: auto; height: 260px; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  #homeBannerWrap .home-banner .slide { inset: auto; top: 0; bottom: 0; width: calc((100% - 32px) / 3); border-radius: 16px; overflow: hidden; background: #1A1512; box-shadow: 0 6px 18px rgba(26,21,18,.14); }
  #homeBannerWrap .home-banner .slide.on { left: 0; }
  #homeBannerWrap .home-banner .slide.on-b { left: calc((100% - 32px) / 3 + 16px); opacity: 1; visibility: visible; pointer-events: auto; }
  #homeBannerWrap .home-banner .slide.on-c { left: calc(((100% - 32px) / 3 + 16px) * 2); opacity: 1; visibility: visible; pointer-events: auto; }
  #homeBannerWrap .home-banner .hb-seta.esq { left: -14px; } #homeBannerWrap .home-banner .hb-seta.dir { right: -14px; }
  #viewHome > .ofertas-dia-wrap, #viewHome > .home-prod-wrap, #viewHome > .faixa-perto-de-mim, #viewHome > .cta-anunciar, #viewHome > .section-title-row, #viewHome > .horizontal-top-scroller, #viewHome > .main-ad-grid { margin-left: 0; margin-right: 0; }
  #viewHome > .main-ad-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) { .desktop-nav-link > span:first-child { display: none; } .desktop-nav-link { font-weight: 800; } }

/* ===== V212c — ÍCONES EM LINHA (kit conecta.html) ===== */
svg.ic { width: 1.2em; height: 1.2em; vertical-align: -0.22em; color: #B5563A; flex-shrink: 0; }
svg.ic.cheio path { fill: currentColor; }
.bottom-nav-item .ico svg.ic { width: 24px; height: 24px; color: #6B625B; }
.bottom-nav-item.active .ico svg.ic { color: #7E1F2C; }
.home-cat-tile .ico svg.ic { width: 24px; height: 24px; color: #7E1F2C; }
.feed-pill-btn svg.ic, .btn-gps-proximity svg.ic { width: 17px; height: 17px; }
.feed-pill-btn.active svg.ic, .feed-pill-btn.on svg.ic, .btn-gps-proximity.active svg.ic, .btn-gps-proximity.on svg.ic { color: #fff; }
.tipo-toggle button svg.ic { width: 16px; height: 16px; color: #7E1F2C; }
.tipo-toggle button.on svg.ic { color: #fff; }
.dh-acoes button svg.ic, .dh-acoes a svg.ic { width: 16px; height: 16px; color: #7E1F2C; }
#dhFav.on svg.ic { color: #7E1F2C; }
.dh-logo svg.ic { width: 46px; height: 46px; color: #B5563A; }
.btn-header-cta svg.ic { width: 16px; height: 16px; color: currentColor; }
.desktop-nav-link svg.ic { width: 16px; height: 16px; color: currentColor; }
@media (min-width: 900px) { .desktop-nav-link > span:first-child { display: inline-flex; } #homeCatsWrap .home-cat-tile .ico svg.ic { width: 18px; height: 18px; } #homeCatsWrap .home-cat-tile.ativa .ico svg.ic { color: #fff; } }
.tipo-toggle button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.btn-header-logout svg.ic { width: 16px; height: 16px; color: currentColor; }
.meu-ad-btn svg.ic, .pp-acoes svg.ic, .mp-add svg.ic, button svg.ic { width: 1.1em; height: 1.1em; }
.mp-add svg.ic { color: currentColor; }
.pp-acoes button svg.ic, .pp-del svg.ic { color: #dc2626; }
.pp-acts .del svg.ic { color: #dc2626; }

/* ===== V212d — AJUSTES PEDIDOS (PC) ===== */
/* 4: não mostrar contagem de itens ao cliente */
#lblHomeProdQtd { display: none !important; }
/* 5: botão Limpar vai para a ponta direita da linha de filtros */
#btnLimparFiltrosRapido { order: 99; margin-left: auto; }
@media (min-width: 1024px) {
  /* 1: planos mais largos */
  #viewPlanos { max-width: 1280px; }
  #viewPlanos #cardsPlanosContainer { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  #viewPlanos #cardsPlanosContainer > * { font-size: 15px; }
  /* 3: seletor Tudo/Produtos/Serviços acompanha a rolagem no PC */
  /* 3: cópia flutuante do seletor Tudo/Produtos/Serviços quando o original sai da tela */

  /* 8: janela do negócio CONTÍNUA (foto em cima, informações e produtos embaixo, em largura inteira) */
  #modalDetalheAd .modal-fullscreen-sheet { max-width: 960px; }
  #modalDetalheAd .sheet-content-scroll { display: block; padding: 0 28px 24px; }
  #modalDetalheAd .sheet-header-thumb { position: relative; top: auto; grid-column: auto; grid-row: auto; width: calc(100% + 56px); margin: 0 -28px 16px; aspect-ratio: 16 / 6; max-height: 300px; border-radius: 0; }
  #modalDetalheAd .det-tabs { top: 0; }
  #modalDetalheAd .mini-products-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  #modalDetalheAd .btn-sheet-zap-big, #modalDetalheAd #avisoZapFechado { max-width: none; margin-left: 0; }
  /* 7: botões do produto escolhido sem deformar (− qtd + subtotal cabem no card) */
  #modalDetalheAd .mini-product-item .mp-qtd { width: 100%; max-width: 100%; justify-content: space-between; height: 36px; }
  #modalDetalheAd .mp-qtd button { width: 32px; flex: 0 0 32px; }
  #modalDetalheAd .mp-qtd b { flex: 1; }
  #modalDetalheAd .mp-qtd em { font-size: 12.5px; padding: 0 8px 0 6px; margin-left: 0; }
  #modalDetalheAd .mini-product-item .mp-share { right: 8px; bottom: auto; top: 8px; }
  #modalDetalheAd .mini-product-item .mp-add { width: 100%; justify-content: center; }
  /* 5: Sair / fechar encostados na direita */
  .btn-header-logout { margin-left: 4px; }
}
/* V212d: estilo base do seletor de quantidade (antes só existia no celular; no PC saía deformado) */
#modalDetalheAd .mini-product-item .mp-qtd { display: flex; align-items: center; gap: 0; margin-top: 8px; border: 1.5px solid #16a34a; background: #fff; border-radius: 999px; height: 36px; overflow: hidden; width: 100%; justify-content: space-between; }
#modalDetalheAd .mp-qtd button { width: 34px; flex: 0 0 34px; height: 100%; border: none; background: #fff; font-size: 17px; font-weight: 700; color: #7E1F2C; cursor: pointer; padding: 0; border-radius: 0; box-shadow: none; }
#modalDetalheAd .mp-qtd b { flex: 1; text-align: center; font-size: 14px; color: #1A1512; }
#modalDetalheAd .mp-qtd em { white-space: nowrap; font-style: normal; font-weight: 900; font-size: 12.5px; color: #15803d; padding: 0 10px 0 8px; border-left: 1px solid #dcfce7; height: 100%; display: flex; align-items: center; }
.det-tabs button svg.ic { width: 16px; height: 16px; vertical-align: -3px; color: currentColor; } .cat-icon-badge svg.ic { width: 22px; height: 22px; color: #7E1F2C; } #badgeFiltroCatAtiva svg.ic { color: #fff; }

/* V213: seletor Tudo/Produtos/Serviços flutuante (todas as telas) — só aparece quando o original saiu da tela */
#tipoFlutuante { position: fixed !important; top: 8px; left: 50%; transform: translateX(-50%); z-index: 60; display: none !important; box-shadow: 0 8px 24px rgba(26,21,18,.18); margin: 0; width: auto; max-width: calc(100% - 24px); }
#tipoFlutuante.on { display: inline-flex !important; }
#tipoFlutuante button { padding: 8px 14px; font-size: 13px; }
@media (min-width: 1024px) { #tipoFlutuante { top: 12px; } }

/* ===== V214 — FUNDO MAIS CLARO (pedido do cliente): página quase branca, topo branco ===== */
:root { --bg-body: #FFFDF9; --creme2: #FFFFFF; }
html, body, #appWrapper, #viewHome, #viewCategorias, #viewPlanos, #viewPainelAnunciante { background: #FFFDF9 !important; }
.brand-header { background: #FFFFFF !important; border-bottom: 1.5px solid #EFE4D6; }
.home-pergunta, .home-cats-wrap, #homeCatsWrap { background: transparent; }
.home-cat-tile .ico { background: #F6EEE3; }
.feed-pill-btn, .btn-gps-proximity { background: #FFFFFF; border-color: #E6D9C8; }
.bottom-app-bar { background: #FFFFFF; }
@media (min-width: 1024px) { html, body { background: #F3EADC !important; } #appWrapper { background: #FFFDF9 !important; box-shadow: 0 0 0 1px #E6D9C8; } }

/* V214: botões do topo quando o anunciante está logado — no mesmo padrão do "Sou anunciante" */
.btn-header-logged { background: #fff !important; color: #1A1512 !important; border: 1.5px solid #E6D9C8 !important; box-shadow: none !important; padding: 7px 12px !important; font-size: 12.5px; border-radius: 999px; height: 34px; }
.btn-header-logged:hover { border-color: #7E1F2C !important; }
.user-status-dot { background: #25D366; box-shadow: 0 0 0 3px #DDF5E6; width: 8px; height: 8px; }
.btn-header-logout { background: #7E1F2C !important; color: #fff !important; border: 1.5px solid #7E1F2C !important; border-radius: 999px !important; width: auto !important; height: 34px !important; padding: 0 12px !important; font-size: 12.5px; gap: 6px; }
.btn-header-logout:hover { background: #6A1824 !important; }
.btn-header-logout .logout-text { display: inline !important; }
.btn-header-logout svg.ic { width: 15px; height: 15px; }

/* V214: 'Sair' só dentro da área do anunciante (na vitrine confundia com os X de fechar) */
.btn-header-logout { display: none !important; }
body.aba-painel .btn-header-logout { display: inline-flex !important; }

/* V215: setas do carrossel de fotos do anúncio (antes só deslizava — no PC não dava para passar) */
.sheet-header-thumb .det-car-seta { position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:36px; height:36px; border-radius:50%; border:none; background:rgba(255,255,255,.9); color:#1A1512; font-size:24px; line-height:1; font-weight:900; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.25); padding:0 0 3px; }
.sheet-header-thumb .det-car-seta.prev { left:10px; } .sheet-header-thumb .det-car-seta.next { right:10px; }
.sheet-header-thumb .det-car-seta:hover { background:#fff; }
@media (max-width: 760px) { .sheet-header-thumb .det-car-seta { width:30px; height:30px; font-size:20px; background:rgba(255,255,255,.75); } }

/* V215: painel do anunciante no PC — tiles maiores e mais próximos (estavam pequenos e "longe") */
@media (min-width:1025px) {
  #viewPainelAnunciante .painel-grade { grid-template-columns:repeat(2, 1fr); gap:16px; }
  #viewPainelAnunciante .pg-tile { flex-direction:row; text-align:left; align-items:center; gap:16px; padding:20px 22px; min-height:104px; border-radius:18px; }
  #viewPainelAnunciante .pg-tile b { font-size:17px; margin-top:0; display:block; }
  #viewPainelAnunciante .pg-tile small { font-size:13px; display:block; margin-top:3px; }
  #viewPainelAnunciante .pg-tile .pg-emoji { width:60px; height:60px; font-size:32px; border-radius:16px; flex:0 0 auto; }
  #viewPainelAnunciante .pg-tile .pg-fotos { height:60px; flex:0 0 auto; }
  #viewPainelAnunciante .pg-tile .pg-fotos img, #viewPainelAnunciante .pg-tile .pg-fotos i { width:56px; height:56px; border-radius:14px; }
  #viewPainelAnunciante .pg-tile > span:first-child + b, #viewPainelAnunciante .pg-tile b + small { }
  #viewPainelAnunciante .pg-tile b, #viewPainelAnunciante .pg-tile small { flex:0 1 auto; }
  #viewPainelAnunciante .pg-tile { display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:16px; row-gap:0; }
  #viewPainelAnunciante .pg-tile > :first-child { grid-row:1 / span 2; }
  #viewPainelAnunciante .pg-tile b { align-self:end; } #viewPainelAnunciante .pg-tile small { align-self:start; }
  #viewPainelAnunciante .pg-resumo { padding:18px 20px; }
  #viewPainelAnunciante .pg-resumo b { font-size:18px !important; }
  #viewPainelAnunciante .pg-resumo > div > div { font-size:13px !important; }
  .painel-layout { gap:24px; }
}

/* V215: carrossel do card — também no PC (.ad-thumb-box), com setas; no celular deslizar + bolinhas */
.ad-thumb-box .ncar { position:absolute; inset:0; display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.ad-thumb-box .ncar::-webkit-scrollbar { display:none; }
.ad-thumb-box .ncar-s { position:relative; flex:0 0 100%; width:100%; height:100%; scroll-snap-align:start; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#1A1512; }
.ad-thumb-box .ncar-s .bgblur { position:absolute; inset:-14px; background-size:cover; background-position:center; filter:blur(14px) brightness(.7); }
.ad-thumb-box .ncar-s img { position:relative; width:100%; height:100%; object-fit:cover; }
.ad-thumb-box .ncar-dots { position:absolute; left:0; right:0; bottom:8px; display:flex; justify-content:center; gap:4px; pointer-events:none; z-index:2; }
.ad-thumb-box .ncar-dots i { width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.55); box-shadow:0 0 0 1px rgba(15,23,42,.25); }
.ad-thumb-box .ncar-dots i.on { background:#fff; width:14px; border-radius:4px; }
.ad-thumb-box .ncar-n, .negocio-card-img .ncar-n { position:absolute; top:8px; left:50%; transform:translateX(-50%); z-index:2; background:rgba(15,23,42,.6); color:#fff; font-size:10px; font-weight:800; padding:2px 7px; border-radius:999px; pointer-events:none; }
.ncar-seta { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:30px; height:30px; border-radius:50%; border:none; background:rgba(255,255,255,.88); color:#1A1512; font-size:20px; line-height:1; font-weight:900; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0 0 2px; box-shadow:0 1px 6px rgba(0,0,0,.25); opacity:0; transition:opacity .15s; }
.ncar-seta.prev { left:8px; } .ncar-seta.next { right:8px; }
.ad-thumb-box:hover .ncar-seta, .negocio-card-img:hover .ncar-seta { opacity:1; }
@media (hover: none) { .ncar-seta { display:none; } }
