/* 16.1.164 — Ajustes pontuais do Portal Público Meu Site Imobi. */
/* Categorias de Comprar/Alugar/Temporada: 40px, fundo neutro inclusive no ativo. */
body.msi-portal-public.msi-smart-results-page .msi-smart-categories a,
body.msi-portal-public.msi-smart-results-page .msi-smart-categories a.is-active {
  height:40px!important;min-height:40px!important;max-height:40px!important;
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  background:#eef2f6!important;border:1px solid transparent!important;
  color:#17283d!important;box-shadow:none!important;
}
body.msi-portal-public.msi-smart-results-page .msi-smart-categories a:hover,
body.msi-portal-public.msi-smart-results-page .msi-smart-categories a.is-active:hover {
  background:#e5ebf2!important;color:#17283d!important;
}
/* Campos dentro do painel suspenso de filtros: 47px apenas desktop. */
@media (min-width:981px) {
  body.msi-portal-public.msi-smart-results-page .msi-smart-drawer .msi-smart-group input[type="text"],
  body.msi-portal-public.msi-smart-results-page .msi-smart-drawer .msi-smart-group input[type="search"],
  body.msi-portal-public.msi-smart-results-page .msi-smart-drawer .msi-smart-group input[type="number"],
  body.msi-portal-public.msi-smart-results-page .msi-smart-drawer .msi-smart-group select {
    height:47px!important;min-height:47px!important;max-height:47px!important;box-sizing:border-box;
  }
}
/* Digitar valor: régua permanece visível, e campos são exibidos sob demanda. */
body.msi-portal-public.msi-smart-results-page .msi-smart-price-summary-16164{
  margin:13px 0 8px;font-size:14px;font-weight:600;line-height:1.4;color:#17283d;
}
body.msi-portal-public.msi-smart-results-page .msi-smart-price-fields-16164{
  margin-top:15px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
}
body.msi-portal-public.msi-smart-results-page .msi-smart-price-fields-16164[hidden]{display:none!important}
body.msi-portal-public.msi-smart-results-page .msi-smart-price-fields-16164 label{
  color:#43536c;font-size:14px;font-weight:600;
}
body.msi-portal-public.msi-smart-results-page .msi-smart-price-fields-16164 input{
  border-radius:14px;padding:0 13px;
}
body.msi-portal-public.msi-smart-results-page [data-msi-smart-price-toggle-16164]{
  font-size:13px;color:#596d86;font-weight:400;white-space:nowrap;text-decoration:underline;text-underline-offset:2px;
}
body.msi-portal-public.msi-smart-results-page [data-msi-smart-price-toggle-16164]:hover{color:#0e74ca}
body.msi-portal-public.msi-smart-results-page .msi-smart-price-group-16164 .msi-smart-ranges::after{
  content:"";position:absolute;top:18px;height:5px;
  left:var(--msi-price-left,8px);right:var(--msi-price-right,8px);background:#1477ca;
  border-radius:999px;pointer-events:none;z-index:0;
}
body.msi-portal-public.msi-smart-results-page .msi-smart-price-group-16164 .msi-smart-ranges input[type="range"]{z-index:1}
/* Fechar (X): estado comum preservado. No hover, fundo cinza-claro e círculo 100%. */
body.msi-portal-public .msi-portal-drawer__close,
body.msi-portal-public .msi-portal-drawer__screen-head button[data-msi-drawer-close],
body.msi-portal-public .msi-loc-head button[data-msi-loc-close],
body.msi-portal-public .msi-loc-head button:last-child,
body.msi-portal-public .msi-smart-drawer__head button[data-msi-smart-close],
body.msi-portal-public .msi-portal-request-close,
body.msi-portal-public .msi-lead-modal-1669__close,
body.msi-portal-public .msi-modal-1662__close {
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
@media (hover:hover) and (pointer:fine) {
  body.msi-portal-public .msi-portal-drawer__close:hover,
  body.msi-portal-public .msi-portal-drawer__screen-head button[data-msi-drawer-close]:hover,
  body.msi-portal-public .msi-loc-head button[data-msi-loc-close]:hover,
  body.msi-portal-public .msi-loc-head button:last-child:hover,
  body.msi-portal-public .msi-smart-drawer__head button[data-msi-smart-close]:hover,
  body.msi-portal-public .msi-portal-request-close:hover,
  body.msi-portal-public .msi-lead-modal-1669__close:hover,
  body.msi-portal-public .msi-modal-1662__close:hover {
    border-radius:50%!important;background:#edf1f5!important;
    border-color:transparent!important;color:#17283d!important;
  }
}
body.msi-portal-public .msi-smart-drawer__head button[data-msi-smart-close]{
  width:40px;height:40px;min-width:40px;aspect-ratio:1/1;border-radius:50%;
}
body.msi-portal-public .msi-loc-head button[data-msi-loc-close],
body.msi-portal-public .msi-loc-head button:last-child,
body.msi-portal-public .msi-modal-1662__close{aspect-ratio:1/1}
