/* Busca da página inicial (inicio.js, 1.2.0). O tema Houzez pinta botões, campos e listas; por isso cores e medidas
   dos controles vão com !important e escopo .sbh. */
.sbh{width:100%;max-width:1040px;margin:0 auto;padding:10px 14px 12px;background:#fff;border-radius:18px;box-shadow:0 18px 44px rgba(30,12,4,.28);color:#43190e;text-align:left;box-sizing:border-box;position:relative;line-height:1.3;z-index:5}
.sbh *{box-sizing:border-box}
.sbh svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sbh button{-webkit-appearance:none;appearance:none;margin:0!important;font-family:inherit!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;cursor:pointer;min-width:0;height:auto;min-height:0;width:auto}
.sbh button:focus-visible,.sbh a:focus-visible,.sbh select:focus-visible,.sbh input:focus-visible{outline:2px solid #a67c45!important;outline-offset:2px}
.sbh-topo{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
.sbh-abas{display:flex;gap:4px}
.sbh .sbh-aba{display:flex;align-items:center;justify-content:center;gap:6px;height:32px!important;padding:0 15px!important;border:0!important;border-radius:999px!important;font-weight:700!important;font-size:13.5px!important;line-height:1!important;color:#6b5a4c!important;background:transparent!important;white-space:nowrap}
.sbh .sbh-aba svg{width:16px;height:16px}
.sbh .sbh-aba:hover{background:#f4eee4!important}
.sbh .sbh-aba.on{background:#43190e!important;color:#fff!important}
.sbh a.sbh-perfil{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#8a6430!important;white-space:nowrap;text-decoration:none!important}
.sbh a.sbh-perfil svg{width:16px;height:16px}
.sbh a.sbh-perfil u{text-underline-offset:3px}
.sbh-barra{display:flex;align-items:stretch;border:1px solid #e6d8c2;border-radius:12px;background:#fff}
.sbh .sbh-campo{flex:1;min-width:0;display:flex;align-items:center;gap:9px;margin:0!important;padding:6px 12px;border-right:1px solid #eee3d1;position:relative;cursor:pointer;font-weight:400}
.sbh .sbh-campo>svg{color:#a67c45}
.sbh .sbh-campo>svg.sbh-v{color:#8a7a6c;width:15px;height:15px;pointer-events:none}
.sbh-txt,.sbh .sbh-gatilho{flex:1;min-width:0;display:flex!important;flex-direction:column;align-items:flex-start;line-height:1.2!important;text-align:left}
.sbh .sbh-gatilho{border:0!important;background:transparent!important;padding:0!important;border-radius:0!important;color:#43190e!important}
.sbh .sbh-gatilho::after{content:"";position:absolute;inset:0}
.sbh .sbh-rot{display:block;font-size:10.5px!important;font-weight:700!important;letter-spacing:.06em;text-transform:uppercase;color:#7c6c5e;line-height:1.35}
.sbh .sbh-val{display:block;width:100%;font-size:14.5px;font-weight:400;color:#43190e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
.sbh select{-webkit-appearance:none!important;appearance:none!important;display:block!important;width:100%!important;height:20px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#43190e!important;font-family:inherit!important;font-size:14.5px!important;line-height:20px!important;cursor:pointer;text-overflow:ellipsis}
.sbh label.sbh-campo select::-ms-expand{display:none}
.sbh .sbh-lista{position:absolute;left:0;top:calc(100% + 6px);display:flex;flex-direction:column;width:290px;max-width:84vw;overflow:hidden;background:#fff;border:1px solid #e0d0b8;border-radius:12px;box-shadow:0 14px 34px rgba(30,12,4,.24);padding:0;z-index:60;text-align:left;cursor:default}
.sbh .sbh-lista[hidden]{display:none!important}
.sbh .sbh-opcoes{max-height:280px;overflow:auto;padding:6px 0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sbh .sbh-pe{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #e9ded0;background:#fff}
.sbh .sbh-pe .sbh-limpar{border:0!important;background:transparent!important;color:#8a6430!important;font-weight:700!important;font-size:13px!important;line-height:1!important;padding:8px 4px!important}
.sbh .sbh-pe .sbh-pronto{border:0!important;border-radius:9px!important;background:#43190e!important;color:#fff!important;font-weight:700!important;font-size:14px!important;line-height:1!important;padding:10px 22px!important}
.sbh .sbh-lista-topo{display:none}
.sbh .sbh-multi .sbh-fundo{display:none!important}
.sbh .sbh-lista label{display:flex;align-items:center;gap:10px;margin:0!important;padding:6px 14px;font-size:14px;font-weight:400;color:#43190e;cursor:pointer;line-height:1.35}
.sbh .sbh-lista label:hover{background:#f7f1e6}
.sbh .sbh-lista label.sbh-filho{padding-left:32px}
/* tipos em grupos: Residencial e Comercial, cada um com o seu título (1.2.1) */
.sbh .sbh-lista .sbh-grp+.sbh-grp{border-top:1px solid #e9ded0;margin-top:6px}
.sbh .sbh-lista p.sbh-grp-t{margin:0;padding:8px 14px 3px;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#8a6430;line-height:1.3}
.sbh .sbh-lista label.sbh-todos{font-weight:700}
/* no computador os dois grupos ficam lado a lado, sem precisar rolar */
@media (min-width:768px){
	.sbh .sbh-multi[data-multi="tipos"] .sbh-lista{width:450px}
	.sbh .sbh-multi[data-multi="tipos"] .sbh-opcoes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;max-height:330px}
	.sbh .sbh-lista .sbh-grp+.sbh-grp{border-top:0;border-left:1px solid #e9ded0;margin-top:0}
}
.sbh .sbh-lista input{width:17px!important;height:17px!important;margin:0!important;flex:none;accent-color:#a67c45}
.sbh .sbh-lista p{margin:0;padding:8px 14px;font-size:13px;color:#7c6c5e}
.sbh .sbh-bt{display:flex;align-items:center;justify-content:center;gap:8px;margin:5px!important;min-width:136px;padding:0 18px!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#bf9660,#a67c45)!important;color:#fff!important;font-weight:700!important;font-size:15.5px!important;line-height:1!important}
.sbh .sbh-bt:hover{filter:brightness(1.06)}
.sbh-linha2{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin-top:8px}
.sbh-grupo{display:flex;align-items:center;gap:7px}
.sbh-grupo>.sbh-rot{margin-right:2px}
.sbh .sbh-q{display:flex;align-items:center;justify-content:center;min-width:34px;height:30px!important;padding:0 10px!important;border:1px solid #e0d0b8!important;border-radius:999px!important;font-weight:700!important;font-size:13px!important;line-height:1!important;color:#43190e!important;background:#fff!important}
.sbh .sbh-q.on{background:#43190e!important;border-color:#43190e!important;color:#fff!important}
.sbh input.sbh-in{-webkit-appearance:none;appearance:none;width:70px!important;height:30px!important;min-height:0!important;margin:0!important;padding:0 10px!important;border:1px solid #d9c7ab!important;border-radius:8px!important;background:#fdfbf8!important;box-shadow:none!important;color:#43190e!important;font-family:inherit!important;font-size:13px!important;line-height:28px!important}
.sbh input.sbh-in::placeholder{color:#8a7a6c;opacity:1}
.sbh-cod{flex:1;min-width:190px}
.sbh .sbh-cod input.sbh-in{width:100%!important}
.sbh .sbh-bt2,.sbh-so-cel{display:none!important}
/* ---------- página de resultados e listas (1.3.0) ---------- */
.sbh[hidden]{display:none!important}
.sbh-links{display:flex;align-items:center;gap:16px}
.sbh .sbh-zerar{border:0!important;background:transparent!important;color:#7c6c5e!important;font-size:13px!important;font-weight:700!important;line-height:1!important;padding:6px 4px!important;text-decoration:underline;text-underline-offset:3px}
.sbh.sbh-lista-pc{max-width:none;margin:12px 0;border:1px solid #efe6d8;box-shadow:0 8px 26px rgba(30,12,4,.10)}
.sbh .sbh-mais-pc{border:0!important;background:transparent!important;color:#8a6430!important;font-size:13px!important;font-weight:700!important;line-height:1!important;padding:6px 4px!important}
.sbh .sbh-avancado{display:none;margin-top:8px}
.sbh.sbh-aberta .sbh-avancado{display:flex}
@media (min-width:768px){.sbh .sbh-avancado>.sbh-campo:last-child{border-right:0}}
.sbh.sbh-lista-pc .sbh-cod{min-width:220px}
/* o topo do tema fica na camada 4: com 5 a busca cobria o menu "Imóveis" aberto ("menu ficou por trás", 1.4.3).
   Lista da busca aberta continua por cima: o JavaScript levanta o bloco inteiro nessa hora. */
.sbh.sbh-lista-pc{z-index:3}
/* o menu do tema vem 5% transparente e a busca aparecia através dele, parecendo ainda na frente */
.header-desktop .dropdown-menu{background-color:#fff!important}
.sbh .sbh-multi[data-multi="comodidades"] .sbh-lista{left:auto;right:0;width:320px}
.sbh input.sbh-filtro{width:auto!important;height:36px!important;margin:8px 10px 0!important;padding:0 10px!important;border:1px solid #d9c7ab!important;border-radius:8px!important;background:#fdfbf8!important;box-shadow:none!important;font-size:14px!important;color:#43190e!important}
.sbh-faixa{display:none;padding:8px 10px;background:#f4eee4}
.sbh-faixa .sbh-abrir{-webkit-appearance:none;appearance:none;display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:9px 12px!important;border:1px solid #e0d0b8!important;border-radius:12px!important;background:#fff!important;color:#43190e!important;box-shadow:none!important;text-align:left;text-transform:none!important;letter-spacing:0!important;cursor:pointer;height:auto!important;font-family:inherit!important;line-height:1.3!important}
.sbh-faixa .sbh-abrir svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sbh-faixa .sbh-abrir span{flex:1;min-width:0;display:flex;flex-direction:column}
.sbh-faixa .sbh-abrir b{font-size:14px}
.sbh-faixa .sbh-abrir small{font-size:12.5px;color:#7c6c5e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}
.sbh-faixa .sbh-abrir[aria-expanded="true"] .sbh-v{transform:rotate(180deg)}
.sbh-faixa .sbh{margin-top:8px;box-shadow:0 6px 18px rgba(30,12,4,.12)}
@media (max-width:991px){
	.sbh-faixa{display:block}
	.sbh.sbh-lista-pc{display:none}
}

@media (max-width:767px){
	.sbh{padding:10px;border-radius:16px}
	.sbh-links{justify-content:flex-end}
	.sbh .sbh-zerar{margin-top:2px!important}
	.sbh .sbh-mais-pc{display:none}
	.sbh .sbh-avancado,.sbh.sbh-aberta .sbh-avancado{display:none}
	.sbh.sbh-aberta .sbh-avancado{display:grid;grid-template-columns:1fr 1fr;border:0;gap:6px}
	.sbh-topo{display:block;margin:0 0 8px}
	.sbh-topo a.sbh-perfil{display:none!important}
	.sbh-abas{background:#f4eee4;border-radius:999px;padding:3px;gap:2px}
	.sbh .sbh-aba{flex:1 1 auto;padding:0 6px!important;font-size:12.5px!important}
	.sbh .sbh-aba svg{display:none}
	.sbh-barra{display:grid;grid-template-columns:1fr 1fr;border:0;gap:6px}
	.sbh .sbh-campo{border:1px solid #e6d8c2;border-radius:10px;padding:6px 10px;gap:8px}
	.sbh .sbh-campo>svg.sbh-v{display:none}
	/* no celular a lista sobe de baixo, em tela quase cheia, com o fundo escurecido (tocar nele fecha) */
	.sbh .sbh-multi .sbh-fundo:not([hidden]){display:block!important;position:fixed;top:0;left:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(30,12,4,.5)!important;z-index:100000}
	.sbh .sbh-multi .sbh-lista{position:fixed;left:0;right:0;top:auto;bottom:0;width:100%;max-width:none;max-height:80vh;max-height:80dvh;border:0;border-radius:18px 18px 0 0;z-index:100001}
	.sbh .sbh-lista-topo{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 8px 18px;border-bottom:1px solid #e9ded0;font-size:16px;color:#43190e}
	.sbh .sbh-lista-topo .sbh-x{border:0!important;background:transparent!important;color:#43190e!important;font-size:28px!important;line-height:1!important;padding:2px 10px!important}
	.sbh .sbh-opcoes{flex:1 1 auto;min-height:0;max-height:none}
	.sbh .sbh-lista label{padding:11px 18px;font-size:16px}
	.sbh .sbh-lista p.sbh-grp-t{padding:12px 18px 4px}
	.sbh .sbh-lista input{width:21px!important;height:21px!important}
	.sbh .sbh-pe{padding:10px 14px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
	.sbh .sbh-pe .sbh-limpar{font-size:15px!important;padding:12px 10px!important}
	.sbh .sbh-pe .sbh-pronto{flex:1;font-size:16px!important;padding:14px!important}
	html.sbh-folha{overflow:hidden}
	html.sbh-folha #smc{display:none!important}
	.sbh select,.sbh input.sbh-in{font-size:16px!important}
	.sbh .sbh-barra>.sbh-bt{display:none!important}
	.sbh .sbh-extra{display:none}
	.sbh.sbh-aberta .sbh-extra{display:flex}
	.sbh.sbh-com-texto .sbh-cod{display:flex}
	.sbh-grupo{width:100%;justify-content:space-between;gap:5px}
	.sbh-grupo>.sbh-rot{width:60px;flex:none}
	.sbh .sbh-q{flex:1;min-width:0;padding:0!important;height:32px!important}
	.sbh .sbh-rot+.sbh-q{flex:2.4}
	/* sem min-width:0 o campo fica com a largura "de fábrica" e empurra o "máx" para fora da tela */
	.sbh input.sbh-in{flex:1 1 0;min-width:0!important;width:auto!important;height:34px!important}
	.sbh-cod{min-width:0}
	.sbh .sbh-bt2{display:flex!important;width:100%;height:44px!important;margin:8px 0 0!important}
	.sbh-so-cel{display:flex!important;justify-content:space-between;align-items:center;margin:8px 2px 0}
	.sbh .sbh-mais{border:0!important;background:transparent!important;padding:2px 0!important;color:#8a6430!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important}
}
