/* Landing Page - CSS Consolidado e Otimizado */
/* Versão limpa sem duplicidades - Janeiro 2025 */

/* ===== VARIÁVEIS ESSENCIAIS ===== */
:root {
  --primary-color: #f18719;
  --primary-hover: #f18719;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #c2c2c2;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.15);
  --radius-md: 8px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --font-family: Arial, sans-serif;
  --font-size-sm: 15px;
  --font-size-base: 15px;
  --z-dropdown-landing: 15000;
  --z-dropdown-content: 999999;
}

/* ===== RESET E BASE ===== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  background: white;
  /* CRÍTICO: Não cortar elementos - permitir overflow para dropdowns */
  overflow-x: visible;
  overflow-y: auto;
  /* iOS: Prevenir problemas de rendering */
  -webkit-overflow-scrolling: touch;
}

body {
  min-height: 100vh;
  display: flex !important;
  flex-direction: column !important;
}

/* ===== CONTAINER PRINCIPAL ===== */
.container-conteudo {
  flex: 1 0 auto !important;
  margin: 0 auto;
  padding: 40px 15px;
  max-width: 1300px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  
  /* CRÍTICO: Permitir overflow para dropdowns */
  overflow: visible !important;
  /* iOS: Garantir que não cria stacking context */
  transform: none !important;
  will-change: auto !important;
  contain: none !important;
  isolation: auto !important;
  align-items: center;
}

/* EXCEÇÃO PARA FILTROS - NÃO CENTRALIZAR */
.container-conteudo .filtros-container {
  align-items: stretch !important;
  text-align: left !important;
}

/* CAIXA DE BUSCA - CENTRALIZAR */
.container-conteudo .search-box-container {
  align-items: center !important;
  text-align: center !important;
}

/* ===== LOGO ===== */
.logo-buske {
  width: 35%;
  min-width: 300px;
  max-width: 225px;
  height: auto;
  display: block;
  margin-bottom: 0px;
}

/* ===== TEXTO "ONDE DESEJA MORAR" ===== */
.texto-onde-morar {
  font-size: 15px;
  color: #666;
  margin-bottom: 10 !important; /* ✅ CORRIGIDO: Zero margin inferior para eliminar espaçamento */
  font-weight: 3400;
  margin-top: 0 !important; /* ✅ FORÇADO: Garantir zero margin superior */
  padding: 20px 0px 0px 0px !important; /* ✅ ADICIONADO: Garantir zero padding */
}

/* ===== CAMPO DE BUSCA ===== */
.search-bar {
  position: relative;
  margin-bottom: 5px;
  width: 100%;
  /* CORREÇÃO: Remover margem automática que centraliza */
  margin-left: 0;
  margin-right: 0;
}

/* search-input-wrapper controlado por search-box-modular.css */

/* ===== ESTRUTURA DE CHIPS (IDÊNTICA AO INDEX.HTML) ===== */
.search-content {
  display: flex;
  gap: 8px;
  min-height: 42px; /* ✅ CORREÇÃO: Altura mínima para uma linha */
  width: 100%;
  box-sizing: border-box;
  
  /* ✅ NOVO: Permitir crescimento automático com o conteúdo */
  height: auto;
}

/* ✅ CORREÇÃO: Esconder divs vazias que criam linhas desnecessárias */
.search-content:empty {
  display: none;
}

.selected-filters-chips {
  display: flex;
  gap: 3px;
  min-height: 0;
  /* ✅ NOVO: Garantir que o container se adapte ao conteúdo */
  justify-content: normal;
}

/* ✅ CORREÇÃO: Esconder container de chips quando vazio */
.selected-filters-chips:empty {
  display: none;
}

/* Chips controlados por search-box-modular.css */

.filter-counter {
  background: #f46f09;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* search-input controlado por search-box-modular.css */

/* search-input-wrapper styles em search-box-modular.css */

/* search-icon controlado por search-box-modular.css */

/* dropdown-arrow controlado por search-box-modular.css */

/* filter-counter controlado por search-box-modular.css */

/* ===== CONTAINER DE FILTROS ===== */
.filtros-container {
  width: 100%;
  /* CORREÇÃO: Remover max-width para permitir dropdowns expandirem */
  margin: 0 auto;
  flex: 0 0 auto;
  /* CRÍTICO: Permitir dropdowns extrapolarem */
  overflow: visible !important;
  position: relative;
  /* z-index: 100; - REMOVIDO: Causa bug WebKit #160953 no iOS Safari */
  /* FORÇAR baixo z-index para não interferir com dropdown da caixa de busca */
  z-index: 1;
  /* FORÇAR ALINHAMENTO À ESQUERDA SOBRESCREVENDO O CONTAINER PAI */
  /* Altura consistente para evitar mudanças ao mostrar/esconder menu */
  min-height: 63px;
  text-align: center !important; /* Centralizar o conteúdo */
  
  /* Remover flex - deixar elementos empilhados verticalmente */
  display: block !important;
  
  /* ===== CORREÇÃO TRADICIONAL - GARANTIR LTR ===== */
  direction: ltr !important;
  max-width: 700px;
}

/* ===== MENU HORIZONTAL DE FILTROS - COPIADO EXATO DO INDEX.HTML ===== */

/* ==================================================================== */
/*    MENU HORIZONTAL - MIGRADO PARA menu-filtros-modular.css */
/*     */
/*    ATENÇÃO: Todas as regras do menu horizontal foram movidas para um */
/*    arquivo independente e modular: */
/*    /static/css/components/menu-filtros-modular.css */
/*     */
/*    As regras abaixo estão comentadas para evitar conflitos. */
/*    Use apenas o CSS modular para o menu de filtros. */
/*    ==================================================================== */ */
 */
/* INÍCIO DAS REGRAS COMENTADAS - NÃO USAR MAIS */
 */
/* ✅ iOS FIX: Split containers para evitar bug WebKit #160953 */ */
/* .menu-horizontal-filtros-position-wrapper { */
/*     position: sticky; */
/*     top: 0; */
/* } */ */
 */
/* Container wrapper com botões de scroll - MENU SEMPRE VISÍVEL NO TOPO */ */
/* .menu-horizontal-filtros-carousel-wrapper { */
/*     /* position: sticky; - MOVIDO para wrapper acima */ */
/*     /* top: 0; - MOVIDO para wrapper acima */ */
/*     display: flex; */
/*     align-items: center; */
/*     margin-top: 10px; */
/*     margin-bottom: 10px; */
/*     max-width: 1300px; */
/*     background: #f46f09; */
/*     border-radius: 25px; */
/*     padding: 0 10px; */
/*     box-sizing: border-box; */
/*     /* z-index: 1000; - REMOVIDO: Causa bug WebKit #160953 no iOS Safari */ */
/*     overflow: visible; */
/*      */
/*     /* ===== CORREÇÃO TRADICIONAL TAMBÉM NO WRAPPER ===== */ */
/*     direction: ltr !important; */
/*     flex-direction: row !important; */
/*     justify-content: flex-start !important; */
/*     min-height: 50px; */
/*     width: 100%; */
/* } */
 */
/* Menu horizontal com scroll - FUNCIONANDO NO MOBILE */ */
/* .menu-horizontal-filtros { */
/*     background: transparent; */
/*     border-radius: 25px; */
/*     padding: 8px 8px 8px 8px; /* Alinhado com o CSS inline */ */
/*     min-height: 50px; */
/*     box-shadow: none; */
/*     display: flex; */
/*     gap: 7px; */
/*     flex-wrap: nowrap; */
/*     align-items: center; */
/*      */
/*     /* ===== CORREÇÃO TRADICIONAL FORÇADA ===== */ */
/*     direction: ltr !important; */
/*     flex-direction: row !important; */
/*     justify-content: flex-start !important; */
/*     align-items: center !important; */
/*      */
/*     /* SOLUÇÃO: contain layout permite overflow-x auto com dropdowns visíveis */ */
/*     overflow-x: auto !important; */
/*     overflow-y: visible !important; */
/*     contain: layout !important; */
/*      */
/*     scroll-behavior: auto; */
/*     scrollbar-width: none; */
/*     -ms-overflow-style: none; */
/*     -webkit-overflow-scrolling: touch; */
/*     scroll-snap-type: none; */
/*      */
/*     width: 100%; */
/*     max-width: 100%; */
/*     flex: 1; */
/*     position: static; */
/*     margin: 0; */
/*     min-width: 0; */
/*     text-align: left; */
/*     cursor: grab; */
/*     user-select: none; */
/*     /* ✅ CRÍTICO: Permitir APENAS scroll horizontal no touch */ */
/*     touch-action: pan-x !important; */
/* } */
 */
/* Esconder scrollbar do webkit */ */
/* .menu-horizontal-filtros::-webkit-scrollbar { */
/*     display: none; */
/* } */
 */
/* ✅ NOVO: Otimizações específicas para iOS */ */
/* @supports (-webkit-touch-callout: none) { */
/*     .menu-horizontal-filtros { */
/*         -webkit-transform: translateZ(0); */
/*         -webkit-backface-visibility: hidden; */
/*         will-change: scroll-position; */
/*         -webkit-overflow-scrolling: touch !important; */
/*     } */
/* } */
 */
/* ✅ NOVO: Estados visuais para swipe/touch */ */
/* .menu-horizontal-filtros[data-swiping="true"] { */
/*     cursor: grabbing !important; */
/*     pointer-events: auto !important; */
/*     user-select: none !important; */
/* } */
 */
/* .menu-horizontal-filtros[data-swiping="true"] .filtro-button, */
/* .menu-horizontal-filtros[data-swiping="true"] .slider-button { */
/*     pointer-events: none !important; */
/*     opacity: 0.8 !important; */
/*     transition: opacity 0.1s ease !important; */
/*     /* ✅ CRÍTICO: Remover efeitos de foco/active durante swipe */ */
/*     background-color: white !important; */
/*     color: #555 !important; */
/*     transform: none !important; */
/*     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important; */
/* } */
 */
/* .menu-horizontal-filtros[data-touch-active="true"] .filtro-button, */
/* .menu-horizontal-filtros[data-touch-active="true"] .slider-button { */
/*     /* ✅ FORÇAR: Estado neutro durante qualquer touch */ */
/*     background-color: white !important; */
/*     color: #555 !important; */
/*     transform: none !important; */
/*     transition: none !important; */
/* } */
 */
/* .menu-horizontal-filtros[data-touch-active="true"] .filtro-button:hover, */
/* .menu-horizontal-filtros[data-touch-active="true"] .slider-button:hover, */
/* .menu-horizontal-filtros[data-touch-active="true"] .filtro-button:active, */
/* .menu-horizontal-filtros[data-touch-active="true"] .slider-button:active, */
/* .menu-horizontal-filtros[data-touch-active="true"] .filtro-button:focus, */
/* .menu-horizontal-filtros[data-touch-active="true"] .slider-button:focus { */
/*     background-color: white !important; */
/*     color: #555 !important; */
/*     transform: none !important; */
/*     outline: none !important; */
/* } */
 */
/* Elementos filhos do menu horizontal não devem encolher */ */
/* .menu-horizontal-filtros > * { */
/*     flex-shrink: 0; */
/*     white-space: nowrap; */
/*     min-width: fit-content; */
/*     display: inline-flex; */
/*     /* CRÍTICO: Permitir overflow em elementos filhos para dropdowns */ */
/*     overflow: visible !important; */
/*     contain: none !important; */
/*      */
/*     /* ===== CORREÇÃO TRADICIONAL - RESET COMPLETO ===== */ */
/*     margin-left: 0 !important; */
/*     margin-right: 0 !important; */
/*     order: unset !important; */
/* } */
 */
/* Remover scroll-snap que causa posicionamento automático */ */
/* .menu-horizontal-filtros > *:first-child { */
/*     /* scroll-snap-align: start; - REMOVIDO */ */
/* } */
 */
/* .menu-horizontal-filtros > *:last-child { */
/*     /* scroll-snap-align: end; - REMOVIDO */ */
/* } */
 */
/* Força todos os botões a terem tamanho mínimo para serem visíveis */ */
/* .menu-horizontal-filtros .filtro-button { */
/*     min-width: 60px; */
/* } */
 */
/* .menu-horizontal-filtros .slider-button { */
/*     min-width: 60px; */
/* } */
 */
/* .menu-horizontal-filtros .toggle-comprar-alugar { */
/*     min-width: 40px; */
/* } */
 */
 */
/* ===== TOGGLE COMPRAR/ALUGAR ===== */ */
/* .toggle-comprar-alugar { */
/*     background: white; */
/*     border: 1px solid white; */
/*     border-radius: 25px; */
/*     padding: 0; */
/*     margin: 0; */
/*     display: flex; */
/*     position: relative; */
/*     width: 106.16px !important; */
/*     height: 42px; */
/*     box-sizing: border-box; */
/*     min-width: 106.16px !important; */
/*     max-width: 106.16px !important; */
/*     flex-shrink: 0 !important; */
/* } */
 */
/* ===== TOGGLE COMPRAR/ALUGAR - SEM OVERRIDE DE POSIÇÃO ===== */ */
/* .menu-horizontal-filtros .toggle-comprar-alugar { */
/*     /* TRADICIONAL: Sem order, sem margens automáticas */ */
/*     display: flex !important; */
/*     visibility: visible !important; */
/*     opacity: 1 !important; */
/*     flex-shrink: 0 !important; */
/*     /* RESET TOTAL: Herda margens do reset geral acima */ */
/*     padding: 0 !important; */
/* } */
 */
/* .toggle-option { */
/*     background: transparent; */
/*     border: none; */
/*     border-radius: 25px; */
/*     padding: 4px 8px; */
/*     font-size: 14px !important; */
/*     font-weight: 500; */
/*     color: #5f6368; */
/*     cursor: pointer; */
/*     transition: all 0.3s ease; */
/*     z-index: 2; */
/*     position: relative; */
/*     margin: 0; */
/*     height: 40px; */
/*     display: flex; */
/*     align-items: center; */
/*     justify-content: center; */
/* } */
 */
/* .toggle-option[data-value="comprar"] { */
/*     width: 58.58px; */
/* } */
 */
/* .toggle-option[data-value="alugar"] { */
/*     width: 45.58px; */
/* } */
 */
/* .toggle-option.active { */
/*     color: white; */
/*     background: #f46f09; */
/* } */
 */
/* .toggle-slider { */
/*     position: absolute; */
/*     width: calc(50% - 4px); */
/*     height: calc(100% - 4px); */
/*     background: white; */
/*     border-radius: 25px; */
/*     transition: transform 0.3s ease; */
/*     z-index: 1; */
/*     top: 4px; */
/*     left: 4px; */
/* } */
 */
/* .toggle-comprar-alugar.alugar .toggle-slider { */
/*     transform: translateX(100%); */
/* } */
 */
/* ===== DROPDOWNS ===== */ */
/* .filtro-dropdown, .slider-dropdown { */
/*     position: relative; */
/*     display: inline-block; */
/*     overflow: visible !important; */
/*     contain: none !important; */
/* } */
 */
/* .filtro-button, .slider-button { */
/*     background: white !important; */
/*     border: 1px solid white !important; */
/*     border-radius: 25px; */
/*     padding: 4px 6px; */
/*     font-size: 15px; */
/*     font-weight: 500; */
/*     color: #5f6368 !important; */
/*     cursor: pointer; */
/*     display: flex; */
/*     align-items: center; */
/*     justify-content: flex-start; */
/*     gap: 5px; */
/*     transition: all 0.2s ease; */
/*     height: 42px; */
/*     min-height: 42px; */
/*     white-space: nowrap; */
/*     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
/*     box-sizing: border-box; */
/*     flex-shrink: 0; */
/*     min-width: fit-content; */
/*     /* Event Delegation Pattern - Touch optimization */ */
/*     -webkit-tap-highlight-color: transparent; */
/*     -webkit-touch-callout: none; */
/*     /* ✅ CRÍTICO: Desabilitar todos os gestos touch nos botões */ */
/*     touch-action: none !important; */
/*     user-select: none; */
/*     -webkit-user-select: none; */
/* } */
 */
/* .slider-button { */
/*     min-width: 60px; */
/*     justify-content: center; */
/* } */
 */
/* .filtro-button:hover, .slider-button:hover { */
/*     background: rgba(255, 255, 255, 0.9) !important; */
/*     border-color: rgba(255, 255, 255, 0.9) !important; */
/*     color: #f46f09 !important; */
/*     transform: translateY(-1px); */
/*     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
/* } */
 */
/* .filtro-button.active, .slider-button.active { */
/*     background: rgba(255, 255, 255, 0.95) !important; */
/*     border-color: rgba(255, 255, 255, 0.95) !important; */
/*     color: #f46f09 !important; */
/*     font-weight: 300; */
/*     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
/* } */
 */
/* .filtro-button.selected { */
/*     background: rgba(255, 255, 255, 0.95) !important; */
/*     border-color: rgba(255, 255, 255, 0.95) !important; */
/*     color: #f46f09 !important; */
/*     font-weight: 600; */
/*     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
/* } */
 */
/* ✅ NOVO: Estilo para sliders selecionados (igual aos filtros) */ */
/* .slider-button.selected { */
/*     background: rgba(255, 255, 255, 0.95) !important; */
/*     border-color: rgba(255, 255, 255, 0.95) !important; */
/*     color: #f46f09 !important; */
/*     font-weight: 600; */
/*     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
/* } */
 */
/* .slider-button.selected .slider-text { */
/*     color: #f46f09 !important; */
/*     font-weight: 600; */
/* } */
 */
/* .filtro-arrow { */
/*   width: 0; */
/*   height: 0; */
/*   border-left: 4px solid transparent; */
/*   border-right: 4px solid transparent; */
/*   border-top: 4px solid var(--text-muted); */
/* } */
 */
/* ===== DROPDOWNS COM POSICIONAMENTO ABSOLUTO FIXO ===== */ */
/* .filtro-dropdown, */
/* .slider-dropdown { */
/*   position: relative; */
/*   overflow: visible !important; */
/*   contain: none !important; */
/*   isolation: auto !important; */
/* } */
 */
/* Append to Body Pattern - Solução definitiva para iOS */ */
/* .filtro-dropdown-content, */
/* .slider-dropdown-content { */
/*   position: fixed; */
/*   background: white; */
/*   border: 1px solid var(--border-color); */
/*   border-radius: 25px; */
/*   box-shadow: var(--shadow-lg); */
/*   z-index: 999999; */
/*   display: none; */
/*   min-width: fit-content; */
/*   width: auto; */
/*   max-width: 280px; */
/*   max-height: 70vh; */
/*   overflow-y: auto; */
/*   -webkit-overflow-scrolling: touch; */
/*    */
/*   /* Remover transforms que podem causar problemas no iOS */ */
/*   transform: none; */
/*   -webkit-transform: none; */
/*    */
/*   /* Garantir visibilidade */ */
/*   opacity: 1; */
/*   visibility: visible; */
/*   pointer-events: auto; */
/*    */
/*   /* Desabilitar transições no iPhone para evitar flash */ */
/*   transition: none !important; */
/*   -webkit-transition: none !important; */
/* } */
 */
/* iPhone específico - desabilitar todas as animações nos dropdowns */ */
/* @supports (-webkit-touch-callout: none) { */
/*   @media only screen and (max-width: 812px) { */
/*     .filtro-dropdown-content, */
/*     .slider-dropdown-content { */
/*       transition: none !important; */
/*       -webkit-transition: none !important; */
/*       animation: none !important; */
/*       -webkit-animation: none !important; */
/*     } */
/*      */
/*     /* Evitar piscar apenas no dropdown content */ */
/*     .filtro-dropdown-content, */
/*     .slider-dropdown-content { */
/*       transition: none !important; */
/*       -webkit-transition: none !important; */
/*       animation: none !important; */
/*       -webkit-animation: none !important; */
/*     } */
/*   } */
/* } */
 */
/* Quando movido para o body */ */
/* body > .filtro-dropdown-content, */
/* body > .slider-dropdown-content { */
/*   display: none; */
/*   /* Transição suave para evitar flash visual */ */
/*   transition: opacity 0.15s ease-out; */
/*   opacity: 0; */
/* } */
 */
/* Quando ativo no body */ */
/* .filtro-dropdown.active ~ body > .filtro-dropdown-content, */
/* .slider-dropdown.active ~ body > .slider-dropdown-content, */
/* body > .filtro-dropdown-content[data-active="true"], */
/* body > .slider-dropdown-content[data-active="true"] { */
/*   display: block !important; */
/* } */
 */
/* Visibilidade controlada via JS para evitar flash */ */
/* body > .filtro-dropdown-content[style*="visibility: visible"], */
/* body > .slider-dropdown-content[style*="visibility: visible"] { */
/*   opacity: 1; */
/* } */
 */
/* ✅ NOVO: Largura específica para sliders (preço e área) */ */
/* .slider-dropdown-content { */
/*   min-width: 250px !important; */
/*   width: 250px !important; */
/* } */
 */
/* Dropdowns quando ainda dentro do container (antes de mover para body) */ */
/* .filtro-dropdown .filtro-dropdown-content, */
/* .slider-dropdown .slider-dropdown-content { */
/*   display: none; */
/* } */
 */
/* Dropdowns quando movidos para o body e ativos */ */
/* body > .filtro-dropdown-content[data-active="true"], */
/* body > .slider-dropdown-content[data-active="true"] { */
/*   display: block !important; */
/*   visibility: visible !important; */
/*   opacity: 1 !important; */
/*   z-index: 999999 !important; */
/*   position: absolute !important; */
/* } */
 */
 */
/* ===== CONTEÚDO DOS DROPDOWNS ===== */ */
/* .dropdown-content-inner { */
/*   padding: 0; */
/*   background: white; */
/*   border-radius: 25px; */
/* } */
 */
/* .dropdown-header { */
/*   padding: 5px 10px 5px 10px; */
/*   font-size: 13px; */
/*   font-weight: 600; */
/*   color: #202124; */
/*   font-family: var(--font-family); */
/*   background: #f8f9fa; */
/*   border-bottom: 1px solid #e8eaed; */
/*   text-align: center; */
/* } */
 */
/* .dropdown-title { */
/*   margin: 0; */
/*   font-size: 14px; */
/*   font-weight: 600; */
/*   color: #202124; */
/*   font-family: var(--font-family); */
/*   text-align: center; */
/* } */
 */
/* .dropdown-subtitle { */
/*   margin: 0; */
/*   font-size: 13px; */
/*   color: var(--text-muted); */
/*   font-family: var(--font-family); */
/* } */
 */
/* .dropdown-footer { */
/*   padding: 10px 20px; */
/*   border-top: 1px solid #f1f3f4; */
/*   background: #f8f9fa; */
/*   border-radius: 0 0 25px 25px; */
/* } */
 */
/* .selection-counter { */
/*   font-size: 12px; */
/*   color: var(--text-muted); */
/*   font-weight: 500; */
/*   font-family: var(--font-family); */
/* } */
 */
/* .slider-header { */
/*   padding: 5px 10px 5px 10px; */
/*   font-size: 14px; */
/*   font-weight: 600; */
/*   color: #202124; */
/*   font-family: var(--font-family); */
/*   border-bottom: 1px solid #f1f3f4; */
/*   text-align: center; */
/* } */
 */
/* .filtro-options-container { */
/*   padding: 0; */
/*   max-height: 300px; */
/*   overflow-y: auto; */
/*   background: white; */
/*   /* ✅ OTIMIZADO: Largura baseada no conteúdo */ */
/*   width: auto; */
/*   min-width: fit-content; */
/* } */
 */
/* .filtro-option { */
/*   display: flex; */
/*   align-items: center; */
/*   padding: 0px 0px 0px 15px; */
/*   cursor: pointer; */
/*   gap: 8px; */
/*   transition: background-color 0.2s ease; */
/*   border-bottom: 1px solid #f1f3f4; */
/*   font-size: 15px; */
/*   color: var(--text-muted); */
/*   background: white; */
/*   min-height: 35px; */
/*   font-family: var(--font-family); */
/*   /* ✅ OTIMIZADO: Evitar quebra de linha e ajustar largura */ */
/*   white-space: nowrap; */
/*   width: auto; */
/*   min-width: fit-content; */
/* } */
 */
/* .filtro-option:last-child { */
/*   border-bottom: none; */
/*   border-radius: 0 0 25px 25px; */
/* } */
 */
/* .filtro-option:hover { */
/*   background-color: var(--bg-light); */
/* } */
 */
/* .filtro-option.selected { */
/*   background-color: #e8f0fe; */
/*   color: var(--primary-color); */
/* } */
 */
/* .filtro-checkbox { */
/*   width: 20px; */
/*   height: 20px; */
/*   border: 2px solid #dadce0; */
/*   border-radius: 4px; */
/*   display: flex; */
/*   align-items: center; */
/*   justify-content: center; */
/*   transition: all 0.2s ease; */
/*   font-size: 12px; */
/*   font-weight: bold; */
/*   flex-shrink: 0; */
/*   background: white; */
/* } */
 */
/* .filtro-option.selected .filtro-checkbox { */
/*   background-color: var(--primary-color); */
/*   border-color: var(--primary-color); */
/*   color: white; */
/* } */
 */
/* .filtro-option.selected .filtro-checkbox::after { */
/*   content: "✓"; */
/* } */
 */
/* .filtro-option-text { */
/*   flex: 1; */
/*   font-weight: 500; */
/*   /* ✅ OTIMIZADO: Garantir texto em uma linha */ */
/*   white-space: nowrap; */
/*   overflow: hidden; */
/*   text-overflow: ellipsis; */
/*   min-width: fit-content; */
/* } */
 */
/* ===== SLIDERS ===== */ */
/* .slider-wrapper { */
/*   padding: 10px 15px; */
/* } */
 */
/* .slider-range { */
/*   position: relative; */
/*   height: 6px; */
/*   background: #e0e0e0; */
/*   border-radius: 3px; */
/*   margin: 10px 0; */
/*   cursor: pointer; */
/* } */
 */
/* .slider-track { */
/*   height: 4px; */
/*   background: var(--primary-color); */
/*   border-radius: 2px; */
/*   position: absolute; */
/*   pointer-events: none; */
/* } */
 */
/* .slider-thumb { */
/*   width: 20px; */
/*   height: 20px; */
/*   background: var(--primary-color); */
/*   border: 2px solid white; */
/*   border-radius: 50%; */
/*   position: absolute; */
/*   top: -6px; */
/*   margin-left: -8px; */
/*   cursor: pointer; */
/*   box-shadow: var(--shadow-sm); */
/*   transition: transform 0.2s ease; */
/*   z-index: 1000; */
/*   user-select: none; */
/*   touch-action: none; */
/* } */
 */
/* .slider-thumb:hover { */
/*   transform: scale(1.1); */
/* } */
 */
/* .slider-values { */
/*   display: flex; */
/*   justify-content: space-between; */
/*   margin-top: 15px; */
/*   padding: 0 5px; */
/*   font-size: 15px; */
/*   color: var(--text-muted); */
/*   font-family: var(--font-family); */
/*   /* ✅ OTIMIZADO: Melhor espaçamento entre os valores */ */
/*   gap: 10px; */
/* } */
 */
/* ===== BOTÃO BUSCAR (FORA DO MENU) ===== */ */
/* .btn-buscar { */
/*   background: var(--primary-color) !important; */
/*   border: 2px solid var(--primary-color) !important; */
/*   border-radius: 25px; */
/*   padding: 8px 40px; */
/*   font-size: 15px; */
/*   color: white !important; */
/*   font-weight: 600; */
/*   cursor: pointer; */
/*   display: flex; */
/*   align-items: center; */
/*   justify-content: center; */
/*   gap: 8px; */
/*   transition: all 0.3s ease; */
/*   height: 40px; */
/*   min-height: 40px; */
/*   white-space: nowrap; */
/*   box-shadow: 0 4px 12px rgba(244, 111, 9, 0.3); */
/*   box-sizing: border-box; */
/*   font-family: var(--font-family); */
/*   outline: none; */
/*   margin: 20px auto 0 auto; */
/*   width: auto; */
/*   min-width: 120px; */
/*   max-width: 200px; */
/* } */
 */
/* .btn-buscar:hover { */
/*   background: var(--primary-hover) !important; */
/*   border-color: var(--primary-hover) !important; */
/*   color: white !important; */
/*   transform: translateY(-2px); */
/*   box-shadow: 0 6px 20px rgba(244, 111, 9, 0.4); */
/* } */
 */
/* .btn-buscar:active { */
/*   transform: translateY(0); */
/*   box-shadow: 0 2px 8px rgba(244, 111, 9, 0.3); */
/* } */
 */
/* ===== BOTÃO BUSCAR (ESTILO PARAMETRIZADO) ===== */
/* Reset específico para garantir aplicação dos estilos */
/* ===== BOTÃO BUSCAR - MÁXIMA PRIORIDADE ===== */
button.btn-buscar,
#buscarBtn,
.btn-buscar {
  /* Reset seletivo - preserva aparência básica */
  margin: 0 !important;
  padding: 0 30px !important;
  border: none !important;
  background: none !important;
  font: inherit !important;
  
  /* Centralização horizontal simples */
  display: block !important;
  margin: 30px auto !important;
  width: 180px !important; /* Largura fixa para melhor aparência */
  
  /* Dimensões e formato com bordas arredondadas */
  height: 50px !important;
  line-height: 50px !important;
  border-radius: 25px !important; /* Bordas bem arredondadas */
  
  /* Cor laranja vibrante do BusKPê - FORÇA MÁXIMA */
  background-color: #f18719 !important;
  background-image: none !important;
  border: 2px solid #f18719 !important;
  color: white !important;
  
  /* Tipografia aprimorada */
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
  
  /* Sombra e profundidade */
  box-shadow: 0 4px 15px rgba(241, 135, 25, 0.35) !important;
  
  /* Interatividade e transições */
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  
  /* Garantir posição adequada */
  position: relative !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
  
  /* Fonte consistente */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  
  /* Desabilitar seleção de texto */
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  
  /* Garantir visibilidade */
  opacity: 1 !important;
  visibility: visible !important;
}

button.btn-buscar:hover,
#buscarBtn:hover,
.btn-buscar:hover {
  /* Efeito hover elegante */
  background: #e67a17 !important; /* Tom mais escuro de laranja */
  border-color: #e67a17 !important;
  transform: translateY(-3px) scale(1.05) !important; /* Elevar e aumentar levemente */
  box-shadow: 0 8px 25px rgba(241, 135, 25, 0.45) !important; /* Sombra mais pronunciada */
  cursor: pointer !important;
}

button.btn-buscar:active,
#buscarBtn:active,
.btn-buscar:active {
  /* Efeito de clique */
  background: #d47216 !important; /* Tom ainda mais escuro */
  border-color: #d47216 !important;
  transform: translateY(-1px) scale(0.98) !important; /* Afundar levemente */
  box-shadow: 0 2px 10px rgba(241, 135, 25, 0.3) !important;
}

/* ===== SUGESTÕES DE BUSCA ===== */
/* search-suggestions controlado por search-box-modular.css */

/* searchSuggestions controlado por search-box-modular.css */

/* search-suggestions show controlado por search-box-modular.css */

/* suggestion-item controlado por search-box-modular.css */

/* suggestion-item hover controlado por search-box-modular.css */

/* suggestion-item:last-child controlado por search-box-modular.css */

/* ===== FOOTER ===== */
footer {
  background-color: #f18719 !important;
  color: var(--bg-white) !important;
  text-align: center !important;
  padding: 10px !important;
  margin-top: auto !important;
  font-size: var(--font-size-sm) !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  font-family: var(--font-family);
}

footer p {
  margin: 0;
  font-weight: 400;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: #fff;
  font-size: 15px;
}

/* ===== MODAL DE ERRO LANDING ===== */
.mensagem-erro-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.mensagem-erro-conteudo {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 16px;
  color: #333;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 90vw;
  font-family: var(--font-family);
}

/* Animações em search-box-modular.css */

/* ===== PULSAÇÃO SUTIL QUANDO DESTACADO ===== */
@keyframes subtle-pulse {
  0% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(33, 150, 243, 0.2); }
  100% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0); }
}

/* error-highlight controlado por search-box-modular.css */

/* ===== MODAIS ===== */
.modal-bg {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
}

.modal-bg.modal-open {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: rgba(0,0,0,0.45) !important;
}

.modal-bg.modal-open .modal-content {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 999999 !important;
  margin: 0 !important;
}

.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  max-width: 700px;
  width: 95vw;
  min-height: 320px;
  position: relative;
  text-align: left;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
}

.close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
  font-weight: bold;
}

.close:hover {
  color: var(--primary-color);
}

.modal-tabs {
  display: flex;
  gap: 0px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e2e2;
  overflow-x: auto;
}

.tab-btn {
  border: none;
  background: none;
  font-size: 14px;
  padding: 8px 10px 8px 10px;
  cursor: pointer;
  color: #444;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  outline: none;
  white-space: nowrap;
  font-family: var(--font-family);
}

.tab-btn.active, .tab-btn:focus {
  border-bottom: 3px solid var(--primary-color);
  color: var(--primary-color);
  background: #f7f7f7;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 1.30em;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-family);
}

.modal-content p {
  color: #222;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: var(--font-family);
}

.fechar-modal-btn {
  background: #f5f5f5;
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 6px 24px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-end;
  font-family: var(--font-family);
  outline: none;
}

.fechar-modal-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ===== CONTAINER DA CAIXA DE BUSCA - MESMA LARGURA DO MENU ===== */
.search-box-container {
  width: 100%; /* Largura total do container pai */
  max-width: 100%; /* Sem limite adicional */
  margin: 0; /* Sem margens laterais */
  margin-top: 0 !important; /* ✅ FORÇADO: Garantir zero margin superior */
  padding: 0; /* Sem padding adicional */
  padding-top: 0 !important; /* ✅ FORÇADO: Garantir zero padding superior */
  box-sizing: border-box;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .container-conteudo {
    padding: 40px 15px;
  }

  .logo-buske {
    width: 50%;
    max-width: 150px;
  }

  /* search-input controlado por search-box-modular.css */

  .btn-buscar {
    padding: 8px 20px;
    font-size: 14px;
    height: 40px !important;
  }

  .linha-filtros {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .container-conteudo {
    padding: 40px 8px;
  }

  /* search-input controlado por search-box-modular.css */

  .btn-buscar {
    padding: 6px 16px;
    font-size: 13px;
    height: 36px !important;
    min-width: 80px;
  }
}

/* ===== UTILITÁRIOS ===== */
.linha-toggle,
.linha-filtros,
.linha-buscar {
  display: contents;
}

/* locationSearch controlado por search-box-modular.css */

/* suggestion-item font controlado por search-box-modular.css */

/* ===== DROPDOWN COM TAGS COMPLETAS - IDÊNTICO AO HEADER ===== */

/* ===== GRUPOS DE SUGESTÕES ===== */
.suggestion-group-header {
  display: none !important; /* ✅ OCULTAR: Remover cabeçalho "Selecionados" */
}

.suggestion-group-header:not(:first-child) {
  border-top: 1px solid #e9ecef;
}

/* ===== SEÇÃO SELECIONADOS NO DROPDOWN ===== */
.selected-tags-section {
  padding: 8px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.selected-tag-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
  transition: all 0.2s ease;
  white-space: nowrap;
  max-width: fit-content;
  margin: 2px;
  line-height: 1.2;
  box-sizing: border-box;
}

.selected-tag-item:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.selected-tag-text {
  color: #f46f09;
  margin-right: 5px;
}

.selected-tag-remove {
  width: 14px;
  height: 14px;
  background: #f46f09;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 2px;
  border: none;
}

.selected-tag-remove:hover {
  background: #c82333;
  transform: scale(1.1);
}

.clear-all-item {
  display: inline-flex;
  padding: 8px 10px;
  margin: 2px;
  background: #f46f09;
  color: white;
  border-radius: 30px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.clear-all-item:hover {
  background: #c82333;
  transform: translateY(-1px);
}

.suggestion-separator {
  height: 1px;
  background: #e9ecef;
  margin: 0;
}

/* ===== CORREÇÃO FINAL DO Z-INDEX PARA LOCALIDADE ===== */
/* search-suggestions base controlado por search-box-modular.css */

/* search-suggestions active controlado por search-box-modular.css */

/* Android específico controlado por search-box-modular.css */

/* iOS específico controlado por search-box-modular.css */

/* search-suggestions.show controlado por search-box-modular.css */

/* ===== RESPONSIVIDADE PARA TAGS ===== */
@media (max-width: 480px) {
  .selected-tag-item {
    font-size: 13px;
    padding: 8px 6px;
    line-height: 1.2;
  }
  
  .selected-tag-remove {
    width: 20px;
    height: 20px;
    font-size: 15px;
  }
  
  .selected-tags-section {
    gap: 4px;
    padding: 8px;
  }
}

/* iOS/Safari correções controladas por search-box-modular.css */

/* ===== REGRA DE EMERGÊNCIA PARA BOTÃO BUSCAR ===== */
/* Aplicada após todas as outras regras para garantir máxima prioridade */
body .container-conteudo .filtros-container button#buscarBtn,
body .container-conteudo .filtros-container button.btn-buscar {
  /* Removido all: inherit para manter estilos base */
  
  /* Aplicar estilos com força máxima */
  display: block !important;
  width: 100px !important;
  height: 40px !important;
  padding: 0 !important;
  
  /* Centralização horizontal */
  margin: auto;
  
  /* Visual */
  background-color: #f18719 !important;
  background-image: none !important;
  border: 2px solid #f18719 !important;
  border-radius: 25px !important;
  color: #ffffff !important;
  
  /* Texto - sem transição para evitar flash */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-align: center !important;
  line-height: normal !important;
  
  /* Efeitos - apenas para hover, não para fonte */
  box-shadow: 0 4px 15px rgba(241, 135, 25, 0.35) !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  
  /* Garantir visibilidade */
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 1 !important; /* Z-index muito baixo para ficar atrás do dropdown */
}

/* Hover com seletor específico */
body .container-conteudo .filtros-container button#buscarBtn:hover,
body .container-conteudo .filtros-container button.btn-buscar:hover {
  background-color: #e67a17 !important;
  border-color: #e67a17 !important;
  color: #ffffff !important; /* Letra branca no hover */
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(241, 135, 25, 0.45) !important;
}

/* Active com seletor específico */
body .container-conteudo .filtros-container button#buscarBtn:active,
body .container-conteudo .filtros-container button.btn-buscar:active {
  background-color: #d47216 !important;
  border-color: #d47216 !important;
  color: #ffffff !important; /* Letra branca quando clicado */
  transform: translateY(-1px) scale(0.98) !important;
  box-shadow: 0 2px 10px rgba(241, 135, 25, 0.3) !important;
}

/* Focus com seletor específico */
body .container-conteudo .filtros-container button#buscarBtn:focus,
body .container-conteudo .filtros-container button.btn-buscar:focus {
  color: #ffffff !important; /* Letra branca quando em foco */
  outline: none !important;
}


/* Menu horizontal no landing - controlado por floating-widget.css */
/* Removido daqui para evitar conflitos de CSS */
