/* ---------------------------------------------------------------- Barra de filtros (estilo Turo)
 * Compartida por el reservador (paso Vehículos) y por las páginas del sitio (home y /flota/).
 * Tokens con fallback para funcionar en ambos contextos. */
.ichy-fbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 0; margin: 0 0 14px; background: linear-gradient(var(--b-bg, #FFF7DC) 85%, rgba(255,247,220,0)); }
.ichy-fbar.is-static { position: static; background: none; }
.ichy-fbar-scroll { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ichy-fbar-scroll::-webkit-scrollbar { display: none; }
.ichy-fbar-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ichy-fresult { font-size: .82rem; font-weight: 700; color: var(--b-muted, #6B5A48); white-space: nowrap; min-width: 90px; text-align: right; }
.ichy-fchip { position: relative; flex: 0 0 auto; }
.ichy-fchip-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px 0 14px; border-radius: 999px; border: 2px solid var(--b-line, rgba(20,16,15,.12)); background: #fff; color: var(--ichy-ink, #251911); font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; transition: border-color 140ms var(--m-ease-out, ease), background 140ms var(--m-ease-out, ease), transform 100ms var(--m-ease-out, ease); }
.ichy-fchip-btn:hover { border-color: var(--ichy-ink, #251911); }
.ichy-fchip-btn:active { transform: scale(.97); }
.ichy-fchip-btn:focus-visible { outline: 3px solid var(--ichy-sky, #2FA8E1); outline-offset: 2px; }
.ichy-fchip.is-active .ichy-fchip-btn, .ichy-fchip-btn.is-active { border-color: var(--ichy-ink, #251911); background: var(--ichy-ink, #251911); color: #fff; }
.ichy-fchip.is-open .ichy-fchip-btn { border-color: var(--ichy-ink, #251911); }
.ichy-fchip-all { padding: 0 11px; }
.ichy-fcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ichy-orange, #EC6D17); color: #fff; font-size: .7rem; font-style: normal; }
.ichy-fchip-btn.is-active .ichy-fcount { background: var(--ichy-yellow, #F7DB15); color: var(--ichy-ink, #251911); }
.ichy-fclear { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; }
.ichy-linkbtn { border: 0; background: none; padding: 6px 4px; font: inherit; font-weight: 700; font-size: .82rem; color: var(--ichy-ink, #251911); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ichy-fpop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 280px; max-width: min(92vw, 380px); background: #fff; border: 1px solid var(--b-line, rgba(20,16,15,.12)); border-radius: 16px; box-shadow: 0 18px 44px rgba(20,16,15,.16); animation: ichy-pop 180ms var(--m-ease-out, ease) both; text-align: left; }
.ichy-fpop.is-wide { min-width: min(92vw, 520px); max-width: 92vw; }
@keyframes ichy-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.ichy-fpop-body { padding: 14px 16px 6px; max-height: min(60vh, 420px); overflow: auto; }
.ichy-fpop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 12px; border-top: 1px solid var(--b-line, rgba(20,16,15,.12)); }
.ichy-fpop-title { margin: 0 0 10px; font-weight: 800; font-size: .9rem; }
.ichy-fpop-title small { display: block; font-weight: 600; color: var(--b-muted, #6B5A48); font-size: .75rem; }
.ichy-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ichy-flist label { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; cursor: pointer; font-size: .9rem; font-weight: 600; }
.ichy-flist label:hover { background: var(--ichy-cream, #FFF7DC); }
.ichy-flist label.is-zero { opacity: .5; }
.ichy-flist input { width: 18px; height: 18px; accent-color: var(--ichy-orange, #EC6D17); flex: 0 0 auto; margin: 0; }
.ichy-flist label > span { flex: 1 1 auto; display: grid; }
.ichy-flist small { font-weight: 500; color: var(--b-muted, #6B5A48); font-size: .75rem; }
.ichy-flist em, .ichy-fmake em, .ichy-fseats em { font-style: normal; font-size: .75rem; color: var(--b-muted, #6B5A48); font-weight: 700; }
.ichy-fseats { display: flex; flex-wrap: wrap; gap: 8px; }
.ichy-chipbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--b-line, rgba(20,16,15,.12)); background: #fff; color: var(--ichy-ink, #251911); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; transition: border-color 140ms, background 140ms, color 140ms; }
.ichy-chipbtn:hover { border-color: var(--ichy-ink, #251911); }
.ichy-chipbtn.is-on { background: var(--ichy-ink, #251911); border-color: var(--ichy-ink, #251911); color: #fff; }
.ichy-chipbtn.is-on em { color: rgba(255,255,255,.8); }
.ichy-chipbtn.is-zero { opacity: .5; }
.ichy-frange { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.ichy-frange label { display: grid; gap: 4px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--b-muted, #6B5A48); }
.ichy-frange-sep { padding-bottom: 12px; color: var(--b-muted, #6B5A48); }
.ichy-fmoney { display: flex; align-items: center; border: 2px solid var(--b-line, rgba(20,16,15,.12)); border-radius: 12px; padding: 0 10px; min-height: 44px; }
.ichy-fmoney i { font-style: normal; font-weight: 800; color: var(--b-muted, #6B5A48); margin-right: 4px; }
.ichy-fmoney input { border: 0; background: none; font: inherit; font-weight: 800; font-size: 1rem; width: 100%; outline: none; -moz-appearance: textfield; }
.ichy-fmoney input::-webkit-outer-spin-button, .ichy-fmoney input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ichy-fmoney:focus-within { border-color: var(--ichy-sky, #2FA8E1); }
.ichy-fpresets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ichy-fmakes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; }
.ichy-fmake-head { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: .92rem; cursor: pointer; }
.ichy-fmake-head input, .ichy-fmake ul input { width: 18px; height: 18px; accent-color: var(--ichy-orange, #EC6D17); margin: 0; }
.ichy-fmake-head b { flex: 1 1 auto; }
.ichy-fmake ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 26px; display: grid; gap: 1px; }
.ichy-fmake ul label { display: flex; align-items: center; gap: 8px; padding: 5px 4px; font-size: .86rem; font-weight: 600; border-radius: 8px; cursor: pointer; }
.ichy-fmake ul label:hover { background: var(--ichy-cream, #FFF7DC); }
.ichy-fmake ul label span { flex: 1 1 auto; }
.ichy-fmake ul input:disabled + span { color: var(--b-muted, #6B5A48); }
.ichy-vlist.is-refreshing { opacity: .55; pointer-events: none; transition: opacity 160ms; }
.ichy-fbar.is-busy .ichy-fresult { color: var(--ichy-orange-deep, #C94F08); }
/* Drawer "Todos los filtros" */
.ichy-fdrawer-back { position: fixed; inset: 0; z-index: 90; background: rgba(20,16,15,.45); display: flex; justify-content: flex-end; animation: ichy-fade 160ms var(--m-ease-out, ease) both; }
@keyframes ichy-fade { from { opacity: 0; } to { opacity: 1; } }
.ichy-fdrawer { width: min(440px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -18px 0 44px rgba(20,16,15,.2); animation: ichy-slide 260ms var(--m-ease-out, ease) both; text-align: left; }
@keyframes ichy-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ichy-fdrawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--b-line, rgba(20,16,15,.12)); }
.ichy-fdrawer-head h2 { margin: 0; font-family: 'Bebas Neue', 'Bungee', sans-serif; font-size: 1.6rem; letter-spacing: .02em; }
.ichy-iconbtn { border: 0; background: var(--ichy-cream, #FFF7DC); width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }
.ichy-fdrawer-body { flex: 1 1 auto; overflow: auto; padding: 6px 20px 20px; }
.ichy-fsec { padding: 14px 0; border-bottom: 1px solid var(--b-line, rgba(20,16,15,.12)); }
.ichy-fsec h3 { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--b-muted, #6B5A48); }
.ichy-fdrawer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--b-line, rgba(20,16,15,.12)); background: #fff; }
@media (max-width: 720px) {
  .ichy-fbar { flex-wrap: wrap; }
  .ichy-fbar-right { width: 100%; justify-content: space-between; }
  .ichy-fresult { text-align: left; }
  .ichy-fpop { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; max-width: none; min-width: 0; }
  .ichy-fdrawer { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ichy-fpop, .ichy-fdrawer, .ichy-fdrawer-back { animation: none; } }
/* Contenido en portal (fuera de #ichy-page): tipografía y color propios */
.ichy-fpop, .ichy-fdrawer { font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1rem; line-height: 1.4; color: var(--ichy-ink, #251911); box-sizing: border-box; }
.ichy-fpop *, .ichy-fdrawer * { box-sizing: border-box; }
/* Los chips que no caben se desvanecen en vez de cortarse contra el contador/CTA */
.ichy-fbar-scroll { padding-right: 28px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.ichy-fbar-scroll.at-end { -webkit-mask-image: none; mask-image: none; padding-right: 2px; }
.ichy-fbar-right { padding-left: 4px; }
/* Buscador de marca/modelo (combobox) */
.ichy-fbar { flex-wrap: wrap; }
.ichy-vsearch { position: relative; flex: 1 1 100%; }
.ichy-vsearch-box { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border: 2px solid var(--b-line, rgba(20,16,15,.12)); border-radius: 14px; background: #fff; color: var(--b-muted, #6B5A48); }
.ichy-vsearch-box:focus-within { border-color: var(--ichy-sky, #2FA8E1); }
.ichy-vsearch-box input { flex: 1 1 auto; border: 0; background: none; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ichy-ink, #251911); outline: none; min-width: 0; }
.ichy-vsearch-box input::-webkit-search-cancel-button { display: none; }
.ichy-vsearch-clear { border: 0; background: var(--ichy-cream, #FFF7DC); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }
.ichy-vsearch-list { position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; right: 0; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--b-line, rgba(20,16,15,.12)); border-radius: 14px; box-shadow: 0 18px 44px rgba(20,16,15,.16); max-height: 320px; overflow: auto; }
.ichy-vsearch-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.ichy-vsearch-list li span { flex: 1 1 auto; }
.ichy-vsearch-list li small { color: var(--b-muted, #6B5A48); font-weight: 500; }
.ichy-vsearch-list li em { font-style: normal; font-size: .75rem; color: var(--b-muted, #6B5A48); font-weight: 700; }
.ichy-vsearch-list li.is-hi { background: var(--ichy-cream, #FFF7DC); }
.ichy-vsearch-empty { color: var(--b-muted, #6B5A48); cursor: default !important; }
.ichy-vsearch-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ichy-vsearch-chips .ichy-chipbtn { min-height: 30px; padding: 0 10px 0 12px; font-size: .8rem; }
@media (min-width: 900px) { .ichy-vsearch { flex: 1 1 100%; max-width: 520px; } }
/* Con buscador: fila 1 = buscador + contador/orden · fila 2 = chips */
@media (min-width: 900px) {
  .ichy-fbar .ichy-vsearch { order: 0; flex: 1 1 320px; max-width: none; }
  .ichy-fbar .ichy-fbar-right { order: 1; margin-left: auto; }
  .ichy-fbar .ichy-vsearch ~ .ichy-fbar-scroll { order: 2; flex-basis: 100%; }
}
.ichy-booking-app .ichy-vsearch-box input, .ichy-booking-app .ichy-vsearch-box input:focus { outline: none; box-shadow: none; border: 0; }
