/* ======================================================
   CASA COM ANÚNCIOS — MESMO VISUAL, NÚMERO MAIS FORA
   ====================================================== */

.house-label.ccs-mm-has{
  position: relative;
  box-shadow: 0 0 0 3px #16a34a;
  border-radius: 50%;
}

/* Badge com quantidade — deslocado para fora */
.house-label.ccs-mm-has::after{
  content: attr(data-mm-count);
  position: absolute;
  top: -12px;          /* ⬅️ MAIS FORA */
  right: -12px;        /* ⬅️ MAIS FORA */
  background: #f97316;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  pointer-events: none;
}


/* ======================================================
   OVERLAY
   ====================================================== */

#ccs-mm-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 99998;
  display: none;
}

#ccs-mm-overlay.open{
  display: block;
}


/* ======================================================
   DRAWER LATERAL
   ====================================================== */

#ccs-mm-drawer{
  position: fixed;
  right: -420px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  transition: .3s;
  display: flex;
  flex-direction: column;
}

#ccs-mm-drawer.open{
  right: 0;
}


/* ======================================================
   DRAWER — HEADER
   ====================================================== */

.mm-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
}


/* ======================================================
   DRAWER — BODY
   ====================================================== */

#mm-body{
  padding: 12px;
  overflow: auto;
}


/* ======================================================
   ITEM DO CLASSIFICADO
   ====================================================== */

.mm-item{
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.mm-item img{
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
