/* Veículos — v3.223: busca simples + busca avançada sob demanda.
   Mantém os componentes estruturais de Imóveis e usa apenas complementos do módulo. */
.spb-vehicle-search-shell{width:100%;margin:0 0 18px;padding:0;border-bottom:1px solid #d8d8d8;box-sizing:border-box}
.spb-vehicle-search-scope{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;margin:0 0 14px;font-size:16px;line-height:1.35;color:#222}
.spb-vehicle-search-scope>span{font-weight:500}
.spb-vehicle-search-scope label{display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer;font-weight:400}
.spb-vehicle-search-scope input[type="radio"]{width:18px;height:18px;margin:0;accent-color:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)));cursor:pointer}
.spb-vehicle-simple-search{display:grid;grid-template-columns:minmax(0,675px) auto;align-items:stretch;gap:18px;max-width:920px}
.spb-vehicle-simple-input{position:relative;display:flex;width:100%;height:58px;border:1px solid #cfcfcf;border-right:3px solid var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)));background:#fff;box-sizing:border-box}
.spb-vehicle-simple-input input{width:100%;height:100%;min-width:0;padding:0 68px 0 14px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#333;font:inherit;font-size:16px}
.spb-vehicle-simple-input input::placeholder{color:#6f6f6f;opacity:1}
.spb-vehicle-simple-submit{position:absolute;top:0;right:0;width:62px;height:100%;padding:0;border:0!important;background:transparent!important;color:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)))!important;font-size:29px;line-height:1;cursor:pointer}
.spb-vehicle-simple-submit:hover,.spb-vehicle-simple-submit:focus,.spb-vehicle-simple-submit:active{background:transparent!important;box-shadow:none!important;outline:0!important}
.spb-vehicle-advanced-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-width:170px;height:58px;padding:0 4px;border:0;background:transparent;color:#333;font:inherit;font-size:16px;cursor:pointer;white-space:nowrap}
.spb-vehicle-advanced-toggle i{color:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)));font-size:24px;transition:transform .18s ease}
.spb-vehicle-advanced-toggle.is-open i{transform:rotate(180deg)}
.spb-vehicle-advanced-panel{display:grid!important;overflow:hidden;max-height:0;opacity:0;visibility:hidden;pointer-events:none;margin-top:0;padding-top:0;border-top:0;transition:max-height .28s ease,opacity .22s ease,margin-top .28s ease,padding-top .28s ease}
.spb-vehicle-advanced-panel[hidden]{display:grid!important}
.spb-vehicle-advanced-panel.is-open{max-height:420px;opacity:1;visibility:visible;pointer-events:auto;margin-top:18px;padding-top:18px}
@media(max-width:780px){
 .spb-vehicle-simple-search{grid-template-columns:1fr;gap:8px}
 .spb-vehicle-advanced-toggle{height:42px;min-width:0;padding:0;justify-content:flex-start}
}
@media(max-width:520px){
 .spb-vehicle-search-scope{gap:8px 14px;font-size:15px}
 .spb-vehicle-search-scope>span{flex-basis:100%}
 .spb-vehicle-simple-input{height:52px}
 .spb-vehicle-simple-input input{padding-left:12px;font-size:15px}
 .spb-vehicle-simple-submit{width:54px;font-size:25px}
}

/* Veículos — v3.222: listagem pública usa exatamente a estrutura-base de Imóveis.
   Reforços abaixo são escopados para Veículos porque imoveis-006.css é carregado
   depois e possui regras !important próprias para os campos de Imóveis. */
html body.pc .spb-properties-wrap.spb-vehicle-results{width:calc(100% - 30px)!important;max-width:1170px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
html body.pc .spb-properties-wrap.spb-vehicle-results .spb-properties-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:30px!important;align-items:start!important}
html body.pc .spb-properties-wrap.spb-vehicle-results .spb-properties-layout>section{min-width:0!important}
html body.pc .spb-properties-wrap.spb-vehicle-results .spb-vehicle-unified-sidebar{display:grid!important;width:300px!important;max-width:300px!important;min-width:0!important;gap:24px!important;align-self:start!important;margin:0!important}
html body.pc .spb-property-filter.spb-vehicle-filter{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:1170px!important;align-items:end!important;box-sizing:border-box!important}
html body.pc .spb-property-filter.spb-vehicle-filter>select,
html body.pc .spb-property-filter.spb-vehicle-filter>input:not([type="radio"]),
html body.pc .spb-property-filter.spb-vehicle-filter>button{grid-column:auto!important;min-width:0!important;width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;box-sizing:border-box!important}
html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-below-fipe{grid-column:auto!important;width:100%!important;height:46px!important;min-height:46px!important;box-sizing:border-box!important}
html body.pc .spb-properties-wrap.spb-vehicle-results .spb-properties-results-head{min-width:0!important}
@media(max-width:1120px){
 html body.pc .spb-properties-wrap.spb-vehicle-results .spb-properties-layout{grid-template-columns:1fr!important}
 html body.pc .spb-properties-wrap.spb-vehicle-results .spb-vehicle-unified-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;max-width:none!important;margin:24px 0 0!important}
 html body.pc .spb-property-filter.spb-vehicle-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:780px){
 html body.pc .spb-properties-wrap.spb-vehicle-results .spb-vehicle-unified-sidebar{grid-template-columns:1fr!important;max-width:420px!important;margin:24px auto 0!important}
 html body.pc .spb-property-filter.spb-vehicle-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.pc .spb-property-filter.spb-vehicle-filter>button{grid-column:1/-1!important}
}
@media(max-width:640px){
 html body.pc .spb-properties-wrap.spb-vehicle-results{width:auto!important;margin-left:15px!important;margin-right:15px!important;padding-left:0!important;padding-right:0!important}
 html body.pc .spb-property-filter.spb-vehicle-filter{grid-template-columns:1fr!important}
 html body.pc .spb-property-filter.spb-vehicle-filter>*{grid-column:1!important}
}

/* Veículos — Fase 6: área pública alinhada ao padrão visual de Imóveis. */
.spb-vehicle-filter{grid-template-columns:repeat(5,minmax(0,1fr));align-items:end}
.spb-vehicle-filter .spb-vehicle-filter-wide{grid-column:span 2}
.spb-vehicle-filter .spb-vehicle-below-fipe{display:flex;align-items:center;justify-content:center;min-height:52px;border:1px solid #d8d8d8;background:#fff;padding:8px 12px;gap:10px}
.spb-vehicle-filter .spb-vehicle-below-fipe input{position:absolute;opacity:0;pointer-events:none}
.spb-vehicle-filter .spb-vehicle-below-fipe span{display:flex;align-items:center;gap:9px;font-size:15px;line-height:1.25;cursor:pointer}
.spb-vehicle-filter .spb-vehicle-below-fipe span:before{content:"";width:40px;height:22px;border-radius:20px;background:#9b9b9b;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);transition:.18s ease}
.spb-vehicle-filter .spb-vehicle-below-fipe span:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.24);transform:translateX(-19px);transition:.18s ease}
.spb-vehicle-filter .spb-vehicle-below-fipe input:checked+span:before{background:var(--spb-primary,#1d4ed8)}
.spb-vehicle-filter .spb-vehicle-below-fipe input:checked+span:after{transform:translateX(-1px)}
.spb-vehicle-filter .spb-vehicle-below-fipe{position:relative}
.spb-vehicle-filter button[type="submit"]{min-height:52px}
.spb-vehicle-results .spb-property-row-facts{display:flex;flex-wrap:wrap;gap:7px 14px}
.spb-vehicle-results .spb-property-row-facts span{white-space:nowrap}
.spb-vehicle-badge-fipe{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:3px 9px;margin:0 0 5px;background:var(--spb-primary,#1d4ed8);color:#fff;font-size:12px;font-weight:800;line-height:1.2;text-transform:uppercase}
.spb-vehicle-dealers{align-self:start}
.spb-vehicle-dealers h3{margin:0;padding:16px 17px 12px;border-bottom:3px solid var(--spb-primary,#1d4ed8);font-size:19px;line-height:1.2;color:var(--spb-primary,#1d4ed8)}
.spb-vehicle-dealers-list{display:block}
.spb-vehicle-dealers-list a{display:block;padding:10px 14px;border-bottom:1px solid #ddd;color:#555;text-decoration:none;font-size:15px;line-height:1.25}
.spb-vehicle-dealers-list a:hover,.spb-vehicle-dealers-list a:focus{color:var(--spb-primary,#1d4ed8);background:#fafafa}
.spb-vehicle-dealers-cta{display:block;margin:14px;padding:11px 14px;text-align:center;background:var(--spb-primary,#1d4ed8);color:#fff!important;text-decoration:none!important;font-weight:700}
.spb-vehicle-media-slider .spb-vehicle-gallery-main{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:420px;background:#f4f4f4;overflow:hidden}
.spb-vehicle-media-slider .spb-vehicle-gallery-main>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:420px}
.spb-vehicle-media-slider .spb-vehicle-gallery-main img{display:block;width:100%;height:min(610px,62vw);max-height:610px;object-fit:contain;background:#f4f4f4}
.spb-vehicle-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:58px;border:0;background:rgba(255,255,255,.88);color:#222;font-size:21px;cursor:pointer}
.spb-vehicle-gallery-arrow.is-prev{left:0}.spb-vehicle-gallery-arrow.is-next{right:0}
.spb-vehicle-media-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 0 2px;scrollbar-width:thin}
.spb-vehicle-media-thumbs button{flex:0 0 92px;width:92px;height:68px;padding:0;border:2px solid transparent;background:#fff;cursor:pointer;overflow:hidden}
.spb-vehicle-media-thumbs button.is-active{border-color:var(--spb-primary,#1d4ed8)}
.spb-vehicle-media-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.spb-vehicle-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #ddd;border-left:1px solid #ddd;margin-top:14px}
.spb-vehicle-detail-facts>div{min-height:48px;display:flex;align-items:center;padding:10px 12px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;font-size:14px;line-height:1.3}
.spb-vehicle-detail-facts strong{font-weight:700}
.spb-vehicle-contact-card .spb-property-company-actions a,.spb-vehicle-contact-card .spb-property-company-actions button{display:flex;align-items:center;justify-content:center;width:100%;height:36px;margin:0 0 9px;padding:0 14px;border:0;background:var(--spb-primary,#1d4ed8);color:#fff;text-decoration:none;font-size:14px;font-weight:700;line-height:36px;box-sizing:border-box}
.spb-vehicle-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.spb-vehicle-related-grid .spb-property-related-card{min-width:0}
.spb-vehicle-empty{padding:28px 0;color:#666}
.spb-vehicle-list-price{display:block;margin-top:7px;font-size:22px;line-height:1.1;font-weight:800;color:#222}
.spb-vehicle-list-company{display:block;margin-top:5px;color:#777}
@media(max-width:1180px){.spb-vehicle-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.spb-vehicle-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.spb-vehicle-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.spb-vehicle-filter .spb-vehicle-filter-wide{grid-column:span 1}.spb-vehicle-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.spb-vehicle-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.spb-vehicle-filter{grid-template-columns:1fr}.spb-vehicle-filter>*{grid-column:1!important}.spb-vehicle-filter .spb-vehicle-below-fipe{justify-content:flex-start}.spb-vehicle-media-slider .spb-vehicle-gallery-main,.spb-vehicle-media-slider .spb-vehicle-gallery-main>a{min-height:260px}.spb-vehicle-media-slider .spb-vehicle-gallery-main img{height:70vw;max-height:390px}.spb-vehicle-gallery-arrow{width:38px;height:48px}.spb-vehicle-media-thumbs button{flex-basis:76px;width:76px;height:58px}.spb-vehicle-detail-facts{grid-template-columns:1fr}.spb-vehicle-related-grid{grid-template-columns:1fr}}
.spb-vehicle-unified-sidebar{display:flex;flex-direction:column;gap:20px;align-self:start}
.spb-vehicle-unified-sidebar .spb-vehicle-dealers{width:100%;margin:0;box-sizing:border-box}
.spb-vehicle-unified-sidebar .spb-property-promo-symbols{display:flex;align-items:center;justify-content:center;gap:16px}
html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel[hidden]{display:grid!important}
html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel.is-open{display:grid!important}

/* v3.234 — Busca avançada hierárquica, selects pesquisáveis e switch FIPE estável. */
.spb-vehicle-native-select{position:absolute!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
.spb-vehicle-smart-select{position:relative;min-width:0;width:100%;height:46px;z-index:5}
.spb-vehicle-smart-select.is-open{z-index:200}
.spb-vehicle-smart-trigger{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;height:46px!important;min-height:46px!important;padding:0 12px!important;border:1px solid #cfd2d6!important;background:#fff!important;color:#333!important;font:inherit!important;font-size:15px!important;font-weight:400!important;text-align:left!important;cursor:pointer!important;box-sizing:border-box!important}
.spb-vehicle-smart-trigger>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spb-vehicle-smart-trigger>i{flex:0 0 auto;color:#8a8a8a;font-size:16px;transition:transform .16s ease}
.spb-vehicle-smart-select.is-open .spb-vehicle-smart-trigger{border-color:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)))!important;box-shadow:0 0 0 1px var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8))) inset!important}
.spb-vehicle-smart-select.is-open .spb-vehicle-smart-trigger>i{transform:rotate(180deg)}
.spb-vehicle-smart-select.is-disabled .spb-vehicle-smart-trigger{background:#f5f5f5!important;color:#9a9a9a!important;cursor:not-allowed!important}
.spb-vehicle-smart-menu{display:none;position:absolute;top:calc(100% + 4px);left:0;width:100%;min-width:220px;max-height:300px;background:#fff;border:1px solid #cfd2d6;box-shadow:none!important;overflow:hidden;z-index:2147483000}
.spb-vehicle-smart-select.is-open .spb-vehicle-smart-menu{display:block}
.spb-vehicle-smart-search{display:flex;align-items:center;gap:8px;padding:7px;border-bottom:1px solid #e5e5e5;background:#fff}
.spb-vehicle-smart-search i{color:#888;font-size:14px}
.spb-vehicle-smart-search input{width:100%!important;height:36px!important;min-height:36px!important;padding:0 8px!important;border:0!important;border-bottom:2px solid var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)))!important;background:#fff!important;box-shadow:none!important;outline:0!important;font:inherit!important;font-size:14px!important}
.spb-vehicle-smart-options{max-height:244px;overflow:auto;padding:4px 0}
.spb-vehicle-smart-option{display:block!important;width:100%!important;height:auto!important;min-height:36px!important;max-height:none!important;padding:8px 10px!important;border:0!important;background:#fff!important;color:#333!important;text-align:left!important;font:inherit!important;font-size:14px!important;cursor:pointer!important}
.spb-vehicle-smart-option:hover,.spb-vehicle-smart-option:focus{background:#f1f5f9!important;color:#111!important}
.spb-vehicle-smart-option.is-selected{background:#e8eef7!important;color:#111!important;font-weight:600!important}
.spb-vehicle-smart-empty{padding:14px 10px;color:#777;font-size:13px;text-align:center}

html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-smart-select{grid-column:auto!important;width:100%!important;height:46px!important;min-height:46px!important;box-sizing:border-box!important}
.spb-vehicle-filter .spb-vehicle-below-fipe{position:relative;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;height:46px!important;min-height:46px!important;padding:0 12px!important;border:1px solid #d8d8d8!important;background:#fff!important;box-sizing:border-box!important;cursor:pointer}
.spb-vehicle-filter .spb-vehicle-below-fipe input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.spb-vehicle-switch{position:relative;display:inline-flex!important;flex:0 0 42px;width:42px;height:24px;border-radius:999px;background:#9b9b9b;transition:background .18s ease;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.spb-vehicle-switch>span{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.26);transition:transform .18s ease}
.spb-vehicle-below-fipe input:checked+.spb-vehicle-switch{background:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)))}
.spb-vehicle-below-fipe input:checked+.spb-vehicle-switch>span{transform:translateX(18px)}
.spb-vehicle-switch-label{display:block!important;font-size:15px!important;line-height:1.2!important;color:#333!important;cursor:pointer!important}
.spb-vehicle-below-fipe input:focus-visible+.spb-vehicle-switch{outline:2px solid var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)));outline-offset:2px}

.spb-vehicle-filter-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;min-width:0;height:46px}
html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-filter-actions{grid-column:auto!important;width:100%!important;height:46px!important}
.spb-vehicle-filter-actions button,.spb-vehicle-filter-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:46px!important;min-height:46px!important;padding:0 10px!important;box-sizing:border-box!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
.spb-vehicle-filter-actions a{border:1px solid #cfd2d6!important;background:#fff!important;color:#444!important}
.spb-vehicle-filter-actions a:hover{border-color:#9aa0a6!important;background:#f8f8f8!important;color:#111!important}
.spb-vehicle-results-clear{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:#555;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}
.spb-vehicle-results-clear:hover{color:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)));text-decoration:underline}

@media(max-width:1120px){
 html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-filter-actions{grid-column:span 2!important}
}
@media(max-width:780px){
 .spb-vehicle-smart-menu{min-width:100%}
 html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-filter-actions{grid-column:1/-1!important}
}
@media(max-width:640px){
 html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-smart-select{grid-column:1!important}
 .spb-vehicle-filter-actions{grid-template-columns:1fr;height:auto}
 html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-filter-actions{height:auto!important;grid-column:1!important}
 .spb-vehicle-results-clear{width:100%;margin:4px 0 0}
}
.spb-vehicle-filter .spb-vehicle-below-fipe span:before,.spb-vehicle-filter .spb-vehicle-below-fipe span:after{content:none!important;display:none!important}
.spb-vehicle-filter .spb-vehicle-below-fipe .spb-vehicle-switch>span{display:block!important;gap:0!important;font-size:0!important;line-height:0!important;cursor:pointer!important}


/* v3.235/v3.236 — filtros com 50px, FIPE ajustado e ações estáveis. */
html body.pc .spb-property-filter.spb-vehicle-filter>select,
html body.pc .spb-property-filter.spb-vehicle-filter>input:not([type="radio"]),
html body.pc .spb-property-filter.spb-vehicle-filter>button,
html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-smart-select{
  height:50px!important;min-height:50px!important;max-height:50px!important;
}
.spb-vehicle-smart-select{height:50px!important;min-height:50px!important}
.spb-vehicle-smart-trigger{height:50px!important;min-height:50px!important;padding:0 14px!important;font-size:15px!important}
html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-below-fipe,
.spb-vehicle-filter .spb-vehicle-below-fipe{
  position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
.spb-vehicle-filter .spb-vehicle-switch-label{order:-1!important;margin:0!important;font-size:15px!important;line-height:16px!important;text-align:center!important}
.spb-vehicle-filter .spb-vehicle-switch{order:2!important;position:relative!important;display:inline-flex!important;align-items:center!important;flex:0 0 38px!important;width:38px!important;height:20px!important;border:0!important;border-radius:999px!important;background:#bdbdbd!important;box-shadow:none!important;overflow:hidden!important}
.spb-vehicle-filter .spb-vehicle-switch>span{display:block!important;position:absolute!important;left:2px!important;top:2px!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.24)!important;transform:translateX(0)!important;transition:transform .18s ease,background .18s ease!important}
.spb-vehicle-filter .spb-vehicle-below-fipe input:checked+.spb-vehicle-switch{background:color-mix(in srgb,var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8))) 35%,#fff)!important}
.spb-vehicle-filter .spb-vehicle-below-fipe input:checked+.spb-vehicle-switch>span{transform:translateX(18px)!important;background:var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8)))!important}
.spb-vehicle-filter-actions{grid-column:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:100%!important;height:50px!important;min-height:50px!important}
html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-filter-actions{grid-column:auto!important;width:100%!important;height:50px!important;min-height:50px!important}
.spb-vehicle-filter-actions button,.spb-vehicle-filter-actions a{height:50px!important;min-height:50px!important;max-height:50px!important;padding:0 14px!important;font-size:14px!important;line-height:1!important;overflow:hidden!important}
.spb-vehicle-filter-actions button{background:var(--spb-primary,#1d4ed8)!important;color:#fff!important;border:1px solid var(--spb-primary,#1d4ed8)!important}
.spb-vehicle-filter-actions a{border:1px solid #cfd2d6!important;background:#fff!important;color:#333!important}
@media(max-width:780px){.spb-vehicle-filter-actions,html body.pc .spb-property-filter.spb-vehicle-filter>.spb-vehicle-filter-actions{grid-column:1/-1!important}}
@media(max-width:480px){.spb-vehicle-filter-actions{grid-template-columns:1fr 1fr!important;gap:8px!important}.spb-vehicle-filter-actions button,.spb-vehicle-filter-actions a{padding:0 9px!important;font-size:13px!important}}
.spb-vehicle-filter>input:not([type="hidden"]):not([type="radio"]),
.spb-vehicle-filter>button[type="submit"]{height:50px!important;min-height:50px!important;max-height:50px!important;box-sizing:border-box!important}


/* v3.237 — switch FIPE isolado, dropdown acima e sem sombra. */
.spb-vehicle-search-shell{position:relative!important;z-index:10!important;overflow:visible!important}
.spb-vehicle-advanced-panel{position:relative!important;z-index:20!important}
.spb-vehicle-advanced-panel.is-open.is-dropdown-ready{overflow:visible!important}
.spb-vehicle-smart-select{position:relative!important;z-index:30!important}
.spb-vehicle-smart-select.is-open{z-index:2147482000!important}
.spb-vehicle-smart-menu{
  z-index:2147483000!important;
  box-shadow:none!important;
  filter:none!important;
}
.spb-vehicle-smart-option,.spb-vehicle-smart-option:hover,.spb-vehicle-smart-option:focus,.spb-vehicle-smart-option.is-selected{box-shadow:none!important}

html body.pc .spb-property-filter.spb-vehicle-filter label.spb-vehicle-below-fipe > span.spb-vehicle-switch{
  all:unset!important;
  order:2!important;
  box-sizing:border-box!important;
  position:relative!important;
  display:block!important;
  flex:none!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  border:0!important;
  border-radius:10px!important;
  background:#a7a7a7!important;
  box-shadow:none!important;
  overflow:hidden!important;
  cursor:pointer!important;
  transition:background-color .18s ease!important;
}
html body.pc .spb-property-filter.spb-vehicle-filter label.spb-vehicle-below-fipe > span.spb-vehicle-switch > span{
  all:unset!important;
  box-sizing:border-box!important;
  position:absolute!important;
  display:block!important;
  left:2px!important;
  top:2px!important;
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(0,0,0,.20)!important;
  transform:translateX(0)!important;
  transition:transform .18s ease!important;
}
html body.pc .spb-property-filter.spb-vehicle-filter label.spb-vehicle-below-fipe > input:checked + span.spb-vehicle-switch{
  background:color-mix(in srgb,var(--spb-secondary,var(--secondary,var(--spb-primary,#1d4ed8))) 45%,#b9b9b9)!important;
}
html body.pc .spb-property-filter.spb-vehicle-filter label.spb-vehicle-below-fipe > input:checked + span.spb-vehicle-switch > span{
  transform:translateX(18px)!important;
  background:#fff!important;
}


/* v3.239 — switch clicável apenas nele e busca simples some com a avançada. */
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-input{display:none!important}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{display:flex!important;align-items:center!important;justify-content:flex-start!important;max-width:none!important;gap:0!important}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{height:42px!important;padding:0 4px!important}
.spb-vehicle-below-fipe{cursor:default!important}
.spb-vehicle-below-fipe .spb-vehicle-switch-label{cursor:default!important;user-select:none!important}
.spb-vehicle-switch-hit{display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}
.spb-vehicle-switch-hit input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.spb-vehicle-filter .spb-vehicle-below-fipe input:checked+.spb-vehicle-switch,
.spb-vehicle-below-fipe input:checked+.spb-vehicle-switch{background:var(--spb-primary,#1d4ed8)!important}
.spb-vehicle-filter .spb-vehicle-below-fipe input:checked+.spb-vehicle-switch>span,
.spb-vehicle-below-fipe input:checked+.spb-vehicle-switch>span{background:#fff!important;transform:translateX(18px)!important}
.spb-vehicle-below-fipe input:focus-visible+.spb-vehicle-switch{outline:2px solid var(--spb-primary,#1d4ed8)!important;outline-offset:2px!important}


/* v3.241 — busca avançada exclusiva: oculta busca digitada + rádios e mantém o acionador à direita. */
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-search-scope{display:none!important}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-input{display:none!important}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  max-width:none!important;
  gap:0!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
  margin-left:auto!important;
  justify-content:flex-end!important;
  text-align:right!important;
}
@media(max-width:780px){
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{justify-content:flex-end!important}
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{margin-left:auto!important;width:auto!important}
}

/* v3.243 — única linha divisória fica abaixo de todo o bloco de busca/filtros. */
.spb-vehicle-advanced-panel,.spb-vehicle-advanced-panel.is-open{border-top:0!important;border-bottom:0!important}
.spb-vehicle-search-shell{border-bottom:1px solid #d8d8d8!important}


/* v3.245 — layout mobile da busca avançada de Veículos no padrão desejado. */
@media(max-width:640px){
  .spb-vehicle-advanced-panel,
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel,
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel.is-open{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px 14px!important;
    max-height:1200px!important;
    align-items:end!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > [data-vehicle-smart-select],
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input,
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-below-fipe,
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-filter-actions{
    grid-column:auto!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="tipo"]{grid-column:1!important;grid-row:1!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-below-fipe{grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:center!important;height:50px!important;min-height:50px!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="marca"]{grid-column:1 / -1!important;grid-row:2!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="modelo"]{grid-column:1 / -1!important;grid-row:3!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="versao"]{grid-column:1 / -1!important;grid-row:4!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="ano"]{grid-column:1 / -1!important;grid-row:5!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input[name="preco_min"]{grid-column:1!important;grid-row:6!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input[name="preco_max"]{grid-column:2!important;grid-row:6!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="estado"]{grid-column:1 / -1!important;grid-row:7!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-filter-actions{grid-column:1 / -1!important;grid-row:8!important;height:auto!important;grid-template-columns:1fr!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-filter-actions a{display:none!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-filter-actions button{width:100%!important}
  .spb-vehicle-filter .spb-vehicle-switch-label{text-align:center!important}
}


/* v3.246 — reduz o espaço vazio quando a busca avançada é aberta. */
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{
  align-items:flex-start!important;
  min-height:0!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin-bottom:2px!important;
  align-self:flex-start!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle i{font-size:22px!important}
.spb-vehicle-advanced-panel.is-open{
  margin-top:6px!important;
  padding-top:0!important;
}
@media(max-width:780px){
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
    height:32px!important;
    min-height:32px!important;
    margin-bottom:0!important;
  }
  .spb-vehicle-advanced-panel.is-open{
    margin-top:4px!important;
  }
}


/* v3.247 — mobile: campos abaixo do FIPE em largura total. */
@media(max-width:640px){
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input[name="preco_min"]{grid-column:1 / -1!important;grid-row:6!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input[name="preco_max"]{grid-column:1 / -1!important;grid-row:7!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="estado"]{grid-column:1 / -1!important;grid-row:8!important}
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-filter-actions{grid-column:1 / -1!important;grid-row:9!important}
}


/* v3.248 — elimina o espaço morto no topo da busca avançada. */
.spb-properties-wrap.spb-vehicle-results{position:relative!important}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{
  margin-top:-48px!important;
  margin-bottom:0!important;
  min-height:34px!important;
  height:34px!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
  height:34px!important;
  min-height:34px!important;
  line-height:34px!important;
  margin:0 0 0 auto!important;
  padding:0!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-panel.is-open{
  margin-top:4px!important;
  padding-top:0!important;
}
@media(max-width:780px){
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{
    margin-top:-46px!important;
    height:32px!important;
    min-height:32px!important;
  }
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
    height:32px!important;
    min-height:32px!important;
    line-height:32px!important;
  }
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-panel.is-open{
    margin-top:2px!important;
  }
}


/* v3.249 — mobile: 4 selects em largura total, preços lado a lado e Estado em largura total. */
@media(max-width:640px){
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="tipo"] + .spb-vehicle-smart-select{
    grid-column:1!important;grid-row:1!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-below-fipe{
    grid-column:2!important;grid-row:1!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="marca"] + .spb-vehicle-smart-select{
    grid-column:1 / -1!important;grid-row:2!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="modelo"] + .spb-vehicle-smart-select{
    grid-column:1 / -1!important;grid-row:3!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="versao"] + .spb-vehicle-smart-select{
    grid-column:1 / -1!important;grid-row:4!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="ano"] + .spb-vehicle-smart-select{
    grid-column:1 / -1!important;grid-row:5!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input[name="preco_min"]{
    grid-column:1!important;grid-row:6!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > input[name="preco_max"]{
    grid-column:2!important;grid-row:6!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > select[name="estado"] + .spb-vehicle-smart-select{
    grid-column:1 / -1!important;grid-row:7!important;width:100%!important;
  }
  html body.pc .spb-property-filter.spb-vehicle-filter.spb-vehicle-advanced-panel > .spb-vehicle-filter-actions{
    grid-column:1 / -1!important;grid-row:8!important;width:100%!important;
  }
}


/* v3.250 — ajusta o respiro da busca avançada para não cobrir o título. */
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{
  margin-top:-16px!important;
  margin-bottom:6px!important;
  min-height:34px!important;
  height:34px!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
  height:34px!important;
  min-height:34px!important;
  line-height:34px!important;
  margin:0 0 0 auto!important;
  padding:0!important;
}
.spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-panel.is-open{
  margin-top:8px!important;
  padding-top:0!important;
}
@media(max-width:780px){
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-simple-search{
    margin-top:-8px!important;
    margin-bottom:8px!important;
    height:32px!important;
    min-height:32px!important;
  }
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-toggle{
    height:32px!important;
    min-height:32px!important;
    line-height:32px!important;
  }
  .spb-vehicle-search-shell.is-advanced-open .spb-vehicle-advanced-panel.is-open{
    margin-top:8px!important;
  }
}
