/* ===== Filtros Tinocars: base común de los diseños 1-3 (solo con .tcf, es decir, con un diseño nuevo activo) ===== */
:root{--tcf-ink:var(--e-global-color-primary,#1D1C1C);--tcf-red:var(--e-global-color-accent,#C20B19);--tcf-red2:var(--e-global-color-tcrojoosc,#9A0914);--tcf-line:var(--e-global-color-tcborde,#E2E2E2);--tcf-txt:var(--e-global-color-text,#3A3A3A);--tcf-sec:var(--e-global-color-secondary,#5C5C5C)}
.tc-filters-engine,.tcf-x,.tcf-foot,.tcf-bar,.tcf-hclear{display:none}
.tc-filters.tcf>.elementor-element:has(.berocket_single_filter_widget_15960){display:none!important}
/* auditoría 2026-10-14: filtros que BeRocket deja vacíos no ocupan sitio; estado «sin resultados»; tamaños táctiles */
html.tcf-on .tc-filters>.elementor-widget-shortcode:not(:has(.bapf_sfilter)){display:none!important}
html.tcf-on .tc-filters>.elementor-widget-shortcode:has(.bapf_sfilter[style*="display: none"]),html.tcf-on .tc-filters>.elementor-widget-shortcode:has(.bapf_sfilter[style*="display:none"]){display:none!important}
.tcf-empty{margin:8px 0 24px;padding:40px 24px;border:1px dashed var(--tcf-line);border-radius:18px;background:#fff;text-align:center}
.tcf-empty[hidden]{display:none}
.tcf-empty__t{margin:0 0 6px;font:700 22px/1.3 Montserrat,sans-serif;color:var(--tcf-ink)}
.tcf-empty__p{margin:0 0 20px;color:var(--tcf-sec);font-size:15px}
.tcf-empty__a{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
html body .tcf-empty .tcf-empty__clear,.tcf-empty__wa{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px 22px;border-radius:12px;font:700 14px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:.2px;cursor:pointer;box-shadow:none}
html body .tcf-empty .tcf-empty__clear{border:1.5px solid var(--tcf-ink);background:#fff;color:var(--tcf-ink)}
html body .tcf-empty .tcf-empty__clear:hover{background:var(--tcf-ink);color:#fff}
.tcf-empty__wa{background:#25D366;color:#fff!important;text-decoration:none!important}
@media (max-width:767px){html body .tcf-chip,html body .tcf-chipclear{min-height:40px}}
.tc-filters.tcf .elementor-heading-title{display:flex;align-items:center;gap:10px}
.tcf-hcount:empty{display:none}
.tcf-hcount{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--tcf-red);color:#fff;font-size:12px;font-weight:700}
html.tcf-any .tc-filters.tcf .tcf-hclear{display:inline-flex}
html body .tc-filters.tcf .tcf-hclear{position:absolute;top:0;right:0;padding:4px 0;margin:0;border:0;background:none;color:var(--tcf-red);font:600 13px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}
.tc-filters.tcf>.elementor-widget-heading{position:relative}
.tc-filters.tcf>.elementor-widget-heading,.tc-filters.tcf>.elementor-widget-heading>.elementor-widget-container,.tc-filters.tcf>.elementor-widget-heading .elementor-heading-title{border:0!important;padding-bottom:0!important;margin-bottom:0!important}
.tc-filters.tcf>.elementor-widget-heading{margin-bottom:12px!important}
.tc-filters.tcf .bapf_sfilter,.tc-filters.tcf .berocket_single_filter_widget{margin:0!important}
.tc-filters.tcf{row-gap:0!important}
.tc-filters.tcf>.elementor-element{margin-block-end:0!important}
.tc-filters.tcf .bapf_head h3{display:flex;align-items:center;gap:8px;margin:0;font:700 13px/1.3 Montserrat,sans-serif;letter-spacing:.6px;text-transform:uppercase;color:var(--tcf-ink);cursor:pointer}
.tc-filters.tcf .bapf_head h3 .bapf_colaps_smb{margin-left:auto;order:3}
.tcf-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--tcf-red);color:#fff;font-size:11px;letter-spacing:0;line-height:1}
.tc-filters.tcf .bapf_body ul{list-style:none;margin:0;padding:0 4px 0 0;max-height:264px;overflow:auto;scrollbar-width:thin}
.tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:7px 0!important;line-height:1.35}
.tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input{-webkit-appearance:none;appearance:none;flex:none;width:18px;height:18px;margin:0;border:1.5px solid #BDBDBD;border-radius:5px;background:#fff center/12px no-repeat;cursor:pointer;transition:background-color .15s,border-color .15s}
.tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input:hover{border-color:var(--tcf-ink)}
.tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input:checked{background-color:var(--tcf-red);border-color:var(--tcf-red);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
.tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input:focus-visible{outline:2px solid var(--tcf-red);outline-offset:2px}
.tc-filters.tcf .bapf_ckbox li label{flex:1;cursor:pointer;font-size:14px;line-height:1.35;color:var(--tcf-txt)}
.tc-filters.tcf .bapf_ckbox li input:checked+label{color:var(--tcf-ink);font-weight:600}
.tc-filters.tcf .bapf_stylecolor ul{display:flex;flex-wrap:wrap;gap:10px;max-height:none;padding:4px}
.tc-filters.tcf .bapf_stylecolor li{margin:0;padding:0}
.tc-filters.tcf .bapf_stylecolor .bapf_clr_span{border-radius:50%!important;border:1px solid rgba(0,0,0,.18)!important;transition:box-shadow .15s}
.tc-filters.tcf .bapf_stylecolor input:checked+label .bapf_clr_span{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--tcf-red)}
html body .tc-filters.tcf input.tcf-search{display:block;width:100%;margin:0 0 10px;padding:9px 12px;border:1px solid var(--tcf-line);border-radius:8px;background:#fff;font-size:14px;line-height:1.3;color:var(--tcf-ink)}
.tc-filters.tcf .bapf_slidr_all{padding:2px 9px 6px}
.tc-filters.tcf .bapf_from,.tc-filters.tcf .bapf_to{font:600 14px Montserrat,sans-serif;color:var(--tcf-ink)}
.tc-filters.tcf .ui-slider{height:4px!important;border:0!important;border-radius:4px;background:var(--tcf-line)!important;margin:16px 0 4px!important}
.tc-filters.tcf .ui-slider .ui-slider-range{background:var(--tcf-red)!important}
.tc-filters.tcf .ui-slider .ui-slider-handle{width:20px!important;height:20px!important;top:-8px!important;margin-left:-10px!important;border-radius:50%!important;border:2px solid var(--tcf-red)!important;background:#fff!important;box-shadow:0 2px 6px rgba(0,0,0,.2);cursor:grab;outline:0}
/* chips de filtros activos */
.tcf-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px}
.tcf-chips[hidden]{display:none}
html body .tcf-chip{display:inline-flex;align-items:center;gap:8px;margin:0;padding:7px 10px 7px 14px;border:1px solid var(--tcf-line);border-radius:999px;background:#fff;color:var(--tcf-ink);font:600 13px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none}
html body .tcf-chip::after{content:"\00d7";font-size:17px;line-height:1;color:var(--tcf-sec)}
html body .tcf-chip:hover,html body .tcf-chip:focus-visible{border-color:var(--tcf-red);color:var(--tcf-red);background:#fff}
html body .tcf-chipclear{margin:0;padding:7px 4px;border:0;background:none;color:var(--tcf-red);font:600 13px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}
html body .tcf-chipclear:hover{background:none;color:var(--tcf-red2)}
/* botón «Filtrar coches» */
html body .tcf-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:13px 20px;border:0;border-radius:10px;background:var(--tcf-ink);color:#fff;font:600 14px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:.2px;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.12)}
html body .tcf-btn:hover,html body .tcf-btn:focus{background:#000;color:#fff}
.tcf-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--tcf-red);color:#fff;font-size:12px}
.tcf-badge[hidden]{display:none}
/* cierre y pie de los paneles */
html body .tc-filters.tcf .tcf-x{position:absolute;top:14px;right:14px;z-index:3;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:#F1F1F1;color:var(--tcf-ink);font-size:26px;line-height:40px;text-align:center;cursor:pointer;box-shadow:none}
.tc-filters.tcf .tcf-foot{position:sticky;bottom:0;z-index:2;gap:10px;margin:18px calc(var(--tcf-pad,22px) * -1) 0;padding:14px var(--tcf-pad,22px) calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--tcf-line)}
html body .tc-filters.tcf .tcf-foot button{margin:0;padding:14px 18px;border-radius:10px;font:600 14px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:.2px;cursor:pointer;box-shadow:none}
html body .tc-filters.tcf .tcf-foot .tcf-clear{background:#fff;color:var(--tcf-ink);border:1.5px solid var(--tcf-ink)}
html body .tc-filters.tcf .tcf-foot .tcf-see{flex:1;background:var(--tcf-red);color:#fff;border:1.5px solid var(--tcf-red)}
html body .tc-filters.tcf .tcf-foot .tcf-see:hover{background:var(--tcf-red2)}
.tcf-ov{position:fixed;inset:0;z-index:10000;background:rgba(17,17,17,.5);opacity:0;pointer-events:none;transition:opacity .25s}
html.tcf-lock,html.tcf-lock body{overflow:hidden!important}
html.tcf-lock #ht-ctc-chat,html.tcf-lock .ht-ctc,html.tcf-lock .cmplz-manage-consent{display:none!important}
/* selector de la vista previa */
.tcf-switch{position:fixed;left:16px;bottom:16px;z-index:10005;display:flex;align-items:center;gap:4px;padding:6px;border-radius:999px;background:rgba(29,28,28,.94);box-shadow:0 10px 30px rgba(0,0,0,.3);font:600 12px/1 Montserrat,sans-serif}
.tcf-switch span{color:#BDBDBD;padding:0 8px;text-transform:uppercase;letter-spacing:.8px;font-size:10px}
.tcf-switch a{color:#fff!important;text-decoration:none!important;padding:8px 11px;border-radius:999px;white-space:nowrap}
.tcf-switch a.on{background:var(--tcf-red)}
.tcf-switch a:hover{background:rgba(255,255,255,.12)}
.tcf-switch .tcf-switch-x{font-size:16px;padding:6px 10px;color:#BDBDBD!important}
html.tcf-is-open .tcf-switch{display:none}
@media (max-width:767px){.tcf-switch{left:8px;right:8px;bottom:8px;justify-content:center;gap:2px;padding:5px;border-radius:14px}.tcf-switch span{display:none}.tcf-switch a{padding:8px 9px}
html.tcf-preview.tcf-v3 .tcf-bar{bottom:calc(66px + env(safe-area-inset-bottom))}}

/* ===== Diseño 1 · Lateral: escritorio = columna fija; tablet = cajón lateral; móvil = hoja inferior ===== */
html.tcf-v1 .tc-filters.tcf .bapf_sfilter{padding:14px 0!important;border-top:1px solid var(--tcf-line)}
html.tcf-v1 .tc-filters.tcf .bapf_head h3:hover{color:var(--tcf-red)}
html.tcf-v1 .tc-filters.tcf .bapf_body{padding-top:12px}
@media (min-width:1025px){
html.tcf-v1 .tc-filters.tcf{position:sticky!important;top:calc(var(--tcf-top,90px) + 16px);align-self:flex-start;max-height:calc(100vh - var(--tcf-top,90px) - 32px);overflow-y:auto;scrollbar-width:thin}
}
@media (max-width:1024px){
html.tcf-v1 .tcf-bar{display:flex;align-items:center;gap:12px;position:sticky;top:var(--tcf-top,64px);z-index:40;margin:0 0 14px;padding:10px 0;background:var(--e-global-color-tcfondo,#FAFAFA)}
html.tcf-v1 .tc-filters.tcf{display:block!important;position:fixed!important;z-index:10001;top:0;bottom:0;left:0;height:100vh;height:100dvh;width:min(400px,88vw)!important;max-width:none!important;max-height:none;margin:0!important;padding:24px var(--tcf-pad,22px) 0!important;border-radius:0 18px 18px 0!important;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-105%);visibility:hidden;transition:transform .3s ease,visibility 0s .3s}
html.tcf-v1.tcf-is-open .tc-filters.tcf{transform:none;visibility:visible;transition:transform .3s ease}
html.tcf-v1.tcf-is-open .tcf-ov{opacity:1;pointer-events:auto}
html.tcf-v1 .tc-filters.tcf .tcf-x{display:block}
html.tcf-v1 .tc-filters.tcf .tcf-foot{display:flex}
html.tcf-v1 .tc-filters.tcf>.elementor-widget-heading{padding-right:56px}
html.tcf-v1 .tc-filters.tcf .tcf-hclear{right:56px;top:6px}
}
@media (max-width:767px){
html.tcf-v1 .tcf-bar .tcf-btn{width:100%}
html.tcf-v1 .tc-filters.tcf{top:auto;right:0;width:100%!important;height:88vh;height:88dvh;border-radius:20px 20px 0 0!important;transform:translateY(105%)}
html.tcf-v1 .tc-filters.tcf::before{content:"";display:block;width:44px;height:5px;margin:-12px auto 14px;border-radius:5px;background:#D6D6D6}
}

/* ===== Diseño 2 · Barra: escritorio = barra horizontal con desplegables y listado a 4 columnas; tablet/móvil = píldoras deslizables + hoja inferior por filtro ===== */
html.tcf-v2 .tcf-row{flex-direction:column!important;gap:18px!important}
html.tcf-v2 .tcf-results{width:100%!important;max-width:100%!important}
html.tcf-v2 .tc-filters.tcf{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center;gap:8px!important;width:100%!important;max-width:100%!important;padding:12px 14px!important;border-radius:14px!important;overflow:visible!important;position:sticky!important;top:calc(var(--tcf-top,90px) + 10px);z-index:50}
html.tcf-v2 .tc-filters.tcf>.elementor-element{width:auto!important;margin:0!important;flex:none}
html.tcf-v2 .tc-filters.tcf>.elementor-widget-heading{display:none}
html.tcf-v2 .tc-filters.tcf .bapf_sfilter{position:relative}
html.tcf-v2 .tc-filters.tcf .bapf_head h3{padding:9px 12px 9px 14px;font-size:11.5px!important;letter-spacing:.4px!important;border:1px solid var(--tcf-line);border-radius:999px;background:#fff;font-size:12px;white-space:nowrap;transition:border-color .15s,background .15s}
html.tcf-v2 .tc-filters.tcf .bapf_head h3:hover{border-color:var(--tcf-ink)}
html.tcf-v2 .tc-filters.tcf .bapf_head h3 .bapf_colaps_smb{display:none}
html.tcf-v2 .tc-filters.tcf .bapf_head h3::after{content:"";width:7px;height:7px;margin:-3px 0 0 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
html.tcf-v2 .tc-filters.tcf .tcf-open .bapf_head h3::after{transform:rotate(-135deg);margin-top:3px}
html.tcf-v2 .tc-filters.tcf .tcf-has .bapf_head h3,html.tcf-v2 .tc-filters.tcf .tcf-open .bapf_head h3{background:var(--tcf-ink);border-color:var(--tcf-ink);color:#fff}
html.tcf-v2 .tc-filters.tcf .bapf_body{display:none!important;position:absolute;top:calc(100% + 8px);left:0;z-index:60;min-width:270px;max-width:340px;padding:16px 16px 12px;background:#fff;border:1px solid var(--tcf-line);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.14)}
html.tcf-v2 .tc-filters.tcf .bapf_body.tcf-right{left:auto;right:0}
html.tcf-v2 .tc-filters.tcf .tcf-open .bapf_body{display:block!important}
html.tcf-v2 .tc-filters.tcf .bapf_slidr .bapf_body{min-width:320px}
@media (min-width:1200px){html.tcf-v2 .tcf-results .elementor-loop-container{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:1024px){
html.tcf-v2 .tc-filters.tcf{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;top:var(--tcf-top,64px);padding:10px!important;border-radius:12px!important;-webkit-overflow-scrolling:touch}
html.tcf-v2 .tc-filters.tcf::-webkit-scrollbar{display:none}
html.tcf-v2 .tc-filters.tcf>.elementor-widget-heading{display:none}
html.tcf-v2.tcf-is-open .tc-filters.tcf{z-index:10001}
html.tcf-v2.tcf-is-open .tcf-ov{opacity:1;pointer-events:auto}
html.tcf-v2 .tc-filters.tcf .bapf_body,html.tcf-v2 .tc-filters.tcf .bapf_slidr .bapf_body{position:fixed;top:auto;left:0;right:0;bottom:0;min-width:0;max-width:none;max-height:72vh;max-height:72dvh;overflow-y:auto;padding:22px 20px 96px;border-radius:20px 20px 0 0;border:0;box-shadow:0 -10px 40px rgba(0,0,0,.2)}
html.tcf-v2 .tc-filters.tcf .bapf_body::before{content:attr(data-title);display:block;margin:0 0 14px;font:700 18px Montserrat,sans-serif;color:var(--tcf-ink)}
html.tcf-v2 .tc-filters.tcf .bapf_body ul{max-height:none}
html.tcf-v2.tcf-is-open .tc-filters.tcf .tcf-foot{display:flex;position:fixed;left:0;right:0;bottom:0;margin:0;z-index:10002;--tcf-pad:20px}
}

/* ===== Diseño 3 · Chips: escritorio = columna oscura con opciones en botones; tablet = panel desplegable a 2 columnas; móvil = botón flotante + pantalla completa ===== */
html.tcf-v3 .tc-filters.tcf{background:#1D1C1C!important;border-color:#1D1C1C!important;--tcf-pad:22px}
html.tcf-v3 .tc-filters.tcf .elementor-heading-title{color:#fff!important;border-color:rgba(255,255,255,.12)!important}
html.tcf-v3 .tc-filters.tcf .bapf_sfilter{padding:16px 0!important;border-top:1px solid rgba(255,255,255,.1)}
html.tcf-v3 .tc-filters.tcf .bapf_body{display:block!important;padding-top:10px}
html.tcf-v3 .tc-filters.tcf .bapf_head h3{color:#9E9E9E;font-size:11px;letter-spacing:1.4px;cursor:default}
html.tcf-v3 .tc-filters.tcf .bapf_head h3 .bapf_colaps_smb{display:none}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) ul{display:flex;flex-wrap:wrap;gap:7px;max-height:196px;padding:2px}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li{padding:0}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li label{flex:none;display:inline-block;padding:8px 13px;border:1px solid #3D3B3B;border-radius:999px;background:#262525;color:#EDEDED;font:600 12px/1.2 Montserrat,sans-serif;letter-spacing:.2px;transition:background .15s,border-color .15s}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li label:hover{border-color:#8A8A8A}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input:checked+label{background:var(--tcf-red);border-color:var(--tcf-red);color:#fff}
html.tcf-v3 .tc-filters.tcf .bapf_ckbox:not(.bapf_stylecolor) li input:focus-visible+label{outline:2px solid #fff;outline-offset:2px}
html.tcf-v3 .tc-filters.tcf .bapf_stylecolor input:checked+label .bapf_clr_span{box-shadow:0 0 0 2px #1D1C1C,0 0 0 4px #fff}
html.tcf-v3 .tc-filters.tcf .bapf_from,html.tcf-v3 .tc-filters.tcf .bapf_to{color:#fff}
html.tcf-v3 .tc-filters.tcf .ui-slider{background:#3D3B3B!important}
html.tcf-v3 .tc-filters.tcf .ui-slider .ui-slider-handle{border-color:#fff!important;background:var(--tcf-red)!important}
html.tcf-v3 body .tc-filters.tcf input.tcf-search{background:#262525;border-color:#3D3B3B;color:#fff}
html.tcf-v3 body .tc-filters.tcf .tcf-hclear{color:#fff}
html.tcf-v3 .tc-filters.tcf .tcf-foot{background:#1D1C1C;border-top-color:rgba(255,255,255,.12)}
html.tcf-v3 body .tc-filters.tcf .tcf-foot .tcf-clear{background:transparent;color:#fff;border-color:#fff}
html.tcf-v3 body .tc-filters.tcf .tcf-x{background:#333;color:#fff}
@media (min-width:1025px){
html.tcf-v3 .tc-filters.tcf{position:sticky!important;top:calc(var(--tcf-top,90px) + 16px);align-self:flex-start;max-height:calc(100vh - var(--tcf-top,90px) - 32px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#555 transparent}
}
@media (max-width:1024px){
html.tcf-v3 .tcf-row{flex-direction:column!important}
html.tcf-v3 .tcf-bar{display:flex;margin:0}
html.tcf-v3 .tc-filters.tcf{display:none!important;width:100%!important;max-width:100%!important}
html.tcf-v3.tcf-is-open .tc-filters.tcf{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;padding:22px 24px 0!important}
html.tcf-v3 .tc-filters.tcf>.elementor-widget-heading,html.tcf-v3 .tc-filters.tcf .tcf-foot{grid-column:1/-1}
html.tcf-v3 .tc-filters.tcf .tcf-foot{display:flex;position:static;margin-top:8px;margin-bottom:0}
html.tcf-v3 .tc-filters.tcf .bapf_sfilter{border-top:0;padding:10px 0!important}
}
@media (max-width:767px){
html.tcf-v3 .tcf-bar{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:999}
html.tcf-v3 body .tcf-btn{border-radius:999px;padding:15px 24px;box-shadow:0 12px 30px rgba(0,0,0,.35);white-space:nowrap}
html.tcf-v3.tcf-is-open .tcf-bar{display:none}
html.tcf-v3.tcf-is-open .tc-filters.tcf{display:block!important;position:fixed!important;inset:0;z-index:10001;margin:0!important;padding:22px 18px 0!important;border-radius:0!important;overflow-y:auto;overscroll-behavior:contain;--tcf-pad:18px}
html.tcf-v3 .tc-filters.tcf .tcf-x{display:block}
html.tcf-v3 .tc-filters.tcf>.elementor-widget-heading{padding-right:56px}
html.tcf-v3 .tc-filters.tcf .tcf-hclear{right:56px;top:6px}
html.tcf-v3 .tc-filters.tcf .tcf-foot{position:sticky;bottom:0;margin:18px -18px 0}
html.tcf-v3 .tc-filters.tcf .bapf_sfilter{border-top:1px solid rgba(255,255,255,.1);padding:16px 0!important}
}

/* ===== Diseño 4 · Panel horizontal (solo escritorio; en tablet/móvil el motor usa el diseño 1) ===== */
.tcf-logo,.tcf-ico,.tcf-gi,.tcf-allbtn,.tcf-actions,.tcf-mini{display:none}
@media (max-width:1024px){html.tcf-v1 .tc-filters:not(.tcf){display:none!important}}
html.tcf-v4 .e-con:has(>.tc-filters),html.tcf-v4 .e-con-inner:has(>.tc-filters){flex-direction:column!important;flex-wrap:nowrap!important;gap:26px!important}
html.tcf-v4 .tc-filters~.e-con{width:100%!important;max-width:100%!important}
@media (min-width:1200px){html.tcf-v4 .tc-filters~.e-con .elementor-loop-container{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
html.tcf-v4 .tc-filters{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row dense;column-gap:30px!important;row-gap:26px!important;width:100%!important;max-width:100%!important;margin:-84px 0 0!important;padding:34px 38px 26px!important;position:relative!important;z-index:5;background:#fff!important;border:0!important;border-radius:22px!important;box-shadow:0 34px 70px -28px rgba(17,17,17,.32),0 2px 8px rgba(17,17,17,.05)!important}
html.tcf-v4 .tc-filters::before{content:"";position:absolute;top:0;left:38px;width:72px;height:4px;border-radius:0 0 4px 4px;background:var(--tcf-red)}
html.tcf-v4 .tc-filters>*{grid-column:1/-1;min-width:0;margin:0!important;padding:0!important;width:auto!important}
html.tcf-v4 .tc-filters>.elementor-element:has(.berocket_single_filter_widget_15960),html.tcf-v4 .tc-filters>.tcf-x,html.tcf-v4 .tc-filters>.tcf-foot{display:none!important}
html.tcf-v4 .tc-filters .berocket_single_filter_widget,html.tcf-v4 .tc-filters .bapf_sfilter{margin:0!important;padding:0!important}
html.tcf-v4 .tc-filters>.elementor-widget-heading{order:0}
html.tcf-v4 .tc-filters>.elementor-widget-heading .elementor-heading-title{display:block;margin:0!important;padding:0!important;border:0!important;font:700 26px/1.2 Montserrat,sans-serif!important;color:var(--tcf-ink)!important}
html.tcf-v4 .tc-filters>.elementor-widget-heading .elementor-heading-title::before{content:"Buscador de coches";display:block;margin-bottom:6px;font:700 11px/1 Montserrat,sans-serif;letter-spacing:1.8px;text-transform:uppercase;color:var(--tcf-red)}
html.tcf-v4 .tc-filters>.elementor-widget-heading .tcf-hcount,html.tcf-v4 .tc-filters .tcf-hclear{display:none!important}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_marca"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="product_tag"]){order:1;grid-column:1/-1}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="price"]){order:2;grid-column:span 4}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_combustible"]){order:3;grid-column:span 5}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cambio"]){order:4;grid-column:span 3}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_tramo-km"]){order:5;grid-column:span 5}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_ano"]){order:6;grid-column:span 7}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_combustible"]){grid-column:span 4}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_tramo-km"]){grid-column:span 5}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_ano"]){grid-column:1/-1}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_modelo"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cv"]){order:20;grid-column:span 6}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_color"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_plazas"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="product_cat"]){order:21;grid-column:span 4}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_modelo"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cv"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_color"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_plazas"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="product_cat"]){display:none!important}
html.tcf-v4 .tc-filters.tcf-more-open>.elementor-element:has([data-taxonomy="pa_modelo"]),html.tcf-v4 .tc-filters.tcf-more-open>.elementor-element:has([data-taxonomy="pa_cv"]),html.tcf-v4 .tc-filters.tcf-more-open>.elementor-element:has([data-taxonomy="pa_color"]),html.tcf-v4 .tc-filters.tcf-more-open>.elementor-element:has([data-taxonomy="pa_plazas"]),html.tcf-v4 .tc-filters.tcf-more-open>.elementor-element:has([data-taxonomy="product_cat"]){display:block!important;animation:tcfIn .25s ease}
@keyframes tcfIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
html.tcf-v4 .tc-filters .bapf_head h3{display:flex;align-items:center;gap:8px;margin:0 0 12px!important;padding:0!important;border:0!important;background:none!important;font:700 11px/1.2 Montserrat,sans-serif!important;letter-spacing:1.5px!important;text-transform:uppercase;color:var(--tcf-sec)!important;cursor:default}
html.tcf-v4 .tc-filters .bapf_head h3 .bapf_colaps_smb{display:none}
html.tcf-v4 .tc-filters .tcf-gi{display:inline-flex;color:var(--tcf-red)}
html.tcf-v4 .tc-filters .bapf_body{display:block!important;padding:0!important;max-height:none!important;overflow:visible!important}
html.tcf-v4 .tc-filters.tcf .bapf_body ul{max-height:none!important;overflow:visible!important}
html.tcf-v4 .tc-filters .bapf_body ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0!important;padding:0!important;max-height:none!important;overflow:visible!important}
html.tcf-v4 .tc-filters .bapf_body li{margin:0!important;padding:0!important;position:relative;list-style:none}
html.tcf-v4 .tc-filters.tcf .bapf_ckbox li{display:block!important;margin:0!important;padding:0!important}
html.tcf-v4 .tc-filters .bapf_stylecolor li label{display:inline-block!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html.tcf-v4 .tc-filters .bapf_ckbox li input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
html.tcf-v4 .tc-filters .bapf_ckbox li label{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 16px;border:1.5px solid var(--tcf-line);border-radius:12px;background:#fff;color:var(--tcf-ink);font:600 13px/1.2 Montserrat,sans-serif;white-space:nowrap;cursor:pointer;user-select:none;transition:border-color .15s,background .15s,color .15s,transform .15s,box-shadow .15s}
html.tcf-v4 .tc-filters .bapf_ckbox li label:hover{border-color:var(--tcf-ink);transform:translateY(-1px)}
html.tcf-v4 .tc-filters .bapf_ckbox li input:checked+label{background:var(--tcf-red);border-color:var(--tcf-red);color:#fff;box-shadow:0 10px 20px -10px rgba(194,11,25,.75)}
html.tcf-v4 .tc-filters .bapf_ckbox li input:focus-visible+label{outline:2px solid var(--tcf-ink);outline-offset:2px}
html.tcf-v4 .tc-filters .tcf-ico{display:inline-flex}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] ul,html.tcf-v4 .tc-filters [data-taxonomy="product_tag"] ul{gap:12px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li label,html.tcf-v4 .tc-filters li.tcf-brand label{flex-direction:column;gap:9px;width:120px;height:98px;min-height:0;padding:12px 8px;border-radius:16px;background:#FAFAFA;border-color:#EDEDED;font-size:12px;white-space:normal;text-align:center}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li label:hover,html.tcf-v4 .tc-filters li.tcf-brand label:hover{background:#fff;border-color:var(--tcf-ink);box-shadow:0 14px 26px -16px rgba(17,17,17,.45);transform:translateY(-2px)}
html.tcf-v4 .tc-filters .tcf-logo{display:block;width:40px;height:40px;color:var(--tcf-ink);transition:color .15s,transform .2s}
html.tcf-v4 .tc-filters .tcf-logo svg{display:block;width:100%;height:100%}
html.tcf-v4 .tc-filters li label:hover .tcf-logo{transform:scale(1.06)}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li input:checked+label,html.tcf-v4 .tc-filters li.tcf-brand input:checked+label{background:#FFF5F5;border-color:var(--tcf-red);color:var(--tcf-red);box-shadow:0 14px 26px -16px rgba(194,11,25,.6)}
html.tcf-v4 .tc-filters li.tcf-brand input:checked+label .tcf-logo,html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li input:checked+label .tcf-logo{color:var(--tcf-red)}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li input:checked+label::after,html.tcf-v4 .tc-filters li.tcf-brand input:checked+label::after{content:"";position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;background:var(--tcf-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat}
html.tcf-v4 .tc-filters [data-taxonomy="product_tag"] li:not(.tcf-brand){display:none}
html.tcf-v4 .tc-filters [data-taxonomy="product_tag"].tcf-showall li:not(.tcf-brand){display:block}
html.tcf-v4 .tc-filters.tcf [data-taxonomy="product_tag"] li:not(.tcf-brand){display:none!important}
html.tcf-v4 .tc-filters.tcf [data-taxonomy="product_tag"].tcf-showall li:not(.tcf-brand){display:block!important}
html.tcf-v4 .tc-filters [data-taxonomy="product_tag"].tcf-showall ul{max-height:330px!important;overflow:auto!important;padding-right:6px!important}
html.tcf-v4 body .tc-filters .tcf-allbtn{display:inline-flex;margin:12px 0 0;padding:6px 0;border:0;background:none;color:var(--tcf-red);font:600 13px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}
html.tcf-v4 body .tc-filters input.tcf-search{display:block;max-width:360px;width:100%;margin:0 0 12px;padding:10px 14px;border:1.5px solid var(--tcf-line);border-radius:12px;background:#FAFAFA;font-size:14px;color:var(--tcf-ink)}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] li label{flex-direction:column;gap:6px;min-width:96px;min-height:74px;padding:10px 12px;border-radius:14px;white-space:normal;text-align:center;font-size:12px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] .tcf-ico{color:var(--tcf-red)}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] input:checked+label .tcf-ico{color:#fff}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] ul,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] ul,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] ul{flex-wrap:nowrap;gap:4px;padding:4px!important;border-radius:14px;background:#F2F2F2}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] li,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] li,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] li{flex:1 1 0;min-width:0}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] li label,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] li label,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] li label{display:flex!important;width:100%;min-height:58px;border:0;border-radius:11px;background:transparent;white-space:normal;text-align:center;font-size:12.5px;line-height:1.25}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] li label:hover,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] li label:hover,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] li label:hover{background:#fff;transform:none}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] .tcf-ico{color:var(--tcf-red)}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] input:checked+label .tcf-ico{color:#fff}
html.tcf-v4 .tc-filters .bapf_slidr_all{position:relative;padding:4px 12px 0!important}
html.tcf-v4 .tc-filters .bapf_from,html.tcf-v4 .tc-filters .bapf_to{display:inline-flex;align-items:baseline;padding:8px 12px;border-radius:10px;background:#F2F2F2;font:700 17px/1 Montserrat,sans-serif;color:var(--tcf-ink)}
html.tcf-v4 .tc-filters .bapf_to{float:right}
html.tcf-v4 .tc-filters .bapf_slidr_main{clear:both}
html.tcf-v4 .tc-filters .ui-slider{height:6px!important;margin:24px 0 10px!important;border:0!important;border-radius:6px;background:#E8E8E8!important}
html.tcf-v4 .tc-filters .ui-slider .ui-slider-range{background:linear-gradient(90deg,var(--tcf-red2),var(--tcf-red))!important}
html.tcf-v4 .tc-filters .ui-slider .ui-slider-handle{width:26px!important;height:26px!important;top:-10px!important;margin-left:-13px!important;border-radius:50%!important;border:4px solid #fff!important;background:var(--tcf-red)!important;box-shadow:0 4px 12px rgba(194,11,25,.45),0 0 0 1px rgba(194,11,25,.25);cursor:grab;outline:0}
html.tcf-v4 .tc-filters .bapf_stylecolor ul{gap:10px}
html.tcf-v4 .tc-filters .bapf_stylecolor .bapf_clr_span{width:34px!important;height:34px!important;border-radius:50%!important;border:1px solid rgba(0,0,0,.15)!important;transition:transform .15s,box-shadow .15s}
html.tcf-v4 .tc-filters .bapf_stylecolor label:hover .bapf_clr_span{transform:scale(1.08)}
html.tcf-v4 .tc-filters .bapf_stylecolor input:checked+label .bapf_clr_span{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--tcf-red)}
html.tcf-v4 .tc-filters .tcf-actions{order:50;grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px -38px -26px!important;padding:18px 38px!important;border-top:1px solid #EFEFEF;border-radius:0 0 22px 22px;background:#FAFAFA}
html.tcf-v4 body .tc-filters .tcf-morebtn{display:inline-flex;align-items:center;gap:10px;margin:0;padding:12px 18px;border:1.5px solid var(--tcf-ink);border-radius:12px;background:#fff;color:var(--tcf-ink);font:600 14px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:none}
html.tcf-v4 body .tc-filters .tcf-morebtn:hover{background:var(--tcf-ink);color:#fff}
html.tcf-v4 body .tc-filters .tcf-morebtn[hidden]{display:none}
html.tcf-v4 .tc-filters .tcf-mb-s{font-weight:400;font-size:13px;opacity:.65}
html.tcf-v4 .tc-filters .tcf-mb-s:not(:empty)::before{content:"· "}
html.tcf-v4 .tc-filters .tcf-mb-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--tcf-red);color:#fff;font-size:11px}
html.tcf-v4 .tc-filters .tcf-mb-n[hidden]{display:none}
html.tcf-v4 .tc-filters .tcf-morebtn>svg:last-child{transition:transform .2s}
html.tcf-v4 .tc-filters.tcf-more-open .tcf-morebtn>svg:last-child{transform:rotate(180deg)}
html.tcf-v4 .tc-filters .tcf-act-r{display:flex;align-items:center;gap:18px;margin-left:auto}
html.tcf-v4 .tc-filters .tcf-live{font:500 15px/1 Montserrat,sans-serif;color:var(--tcf-sec)}
html.tcf-v4 .tc-filters .tcf-live-n{font:800 30px/1 Montserrat,sans-serif;color:var(--tcf-red);margin-right:2px;vertical-align:-3px}
html.tcf-v4 body .tc-filters .tcf-resetbtn{margin:0;padding:8px 2px;border:0;background:none;color:var(--tcf-ink);font:600 14px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}
html.tcf-v4 body .tc-filters .tcf-resetbtn:hover{background:none;color:var(--tcf-red)}
html.tcf-v4 body .tc-filters .tcf-resetbtn[hidden]{display:none}
html.tcf-v4 body .tc-filters .tcf-go{display:inline-flex;align-items:center;gap:10px;margin:0;padding:15px 26px;border:0;border-radius:12px;background:var(--tcf-red);color:#fff;font:700 14px/1.2 Montserrat,sans-serif;letter-spacing:.6px;text-transform:uppercase;cursor:pointer;box-shadow:0 14px 26px -12px rgba(194,11,25,.75);transition:background .2s,transform .2s}
html.tcf-v4 body .tc-filters .tcf-go:hover{background:var(--tcf-red2);color:#fff;transform:translateY(-1px)}
html.tcf-v4 .tcf-mini{display:block;position:fixed;left:0;right:0;top:calc(var(--tcf-top,84px) + 10px);z-index:90;padding:0 20px;pointer-events:none;opacity:0;transform:translateY(-14px);transition:opacity .25s,transform .25s}
html.tcf-v4 .tcf-mini.on{opacity:1;transform:none}
html.tcf-v4 .tcf-mini.on .tcf-mini-in{pointer-events:auto}
html.tcf-v4 .tcf-mini-in{display:flex;align-items:center;gap:16px;max-width:1280px;margin:0 auto;padding:10px 10px 10px 20px;border-radius:14px;background:rgba(29,28,28,.96);box-shadow:0 18px 40px -16px rgba(0,0,0,.5);color:#fff;font:500 14px/1.2 Montserrat,sans-serif}
html.tcf-v4 .tcf-mini-l{display:inline-flex;align-items:center;gap:8px;color:#fff}
html.tcf-v4 .tcf-mini-l svg{color:var(--tcf-red)}
html.tcf-v4 .tcf-mini-s{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#D6D6D6}
html.tcf-v4 .tcf-mini-n{font-weight:700;color:#fff;white-space:nowrap}
html.tcf-v4 body .tcf-mini-b{margin:0;padding:11px 18px;border:0;border-radius:10px;background:var(--tcf-red);color:#fff;font:600 13px/1.2 Montserrat,sans-serif;text-transform:none;letter-spacing:.2px;cursor:pointer;box-shadow:none}
html.tcf-v4 body .tcf-mini-b:hover{background:var(--tcf-red2);color:#fff}
html.tcf-v4 .tcf-chips{margin-bottom:6px}

/* ----- Diseño 4 · Tablet (768-1024): misma tarjeta a 6 columnas, marcas y años deslizables ----- */
@media (max-width:1024px){
html.tcf-v4 .tc-filters{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:22px!important;row-gap:22px!important;margin-top:-56px!important;padding:26px 26px 22px!important;border-radius:20px!important}
html.tcf-v4 .tc-filters::before{left:26px}
html.tcf-v4 .tc-filters>.elementor-widget-heading .elementor-heading-title{font-size:22px!important}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="price"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_combustible"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cambio"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_tramo-km"]){grid-column:span 3}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_combustible"]){grid-column:span 3}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_tramo-km"]){grid-column:1/-1}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_ano"]){grid-column:1/-1}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_modelo"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cv"]){grid-column:1/-1}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_color"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_plazas"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="product_cat"]){grid-column:span 3}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] ul,html.tcf-v4 .tc-filters [data-taxonomy="product_tag"]:not(.tcf-showall) ul,html.tcf-v4 .tc-filters [data-taxonomy="pa_ano"] ul{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;margin:0 -26px!important;padding:4px 26px 8px!important;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 34px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 34px),transparent)}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] ul::-webkit-scrollbar,html.tcf-v4 .tc-filters [data-taxonomy="product_tag"] ul::-webkit-scrollbar,html.tcf-v4 .tc-filters [data-taxonomy="pa_ano"] ul::-webkit-scrollbar{display:none}
html.tcf-v4 .tc-filters .bapf_body li{flex:none;scroll-snap-align:start}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] li,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] li,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] li{flex:1 1 0}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li label,html.tcf-v4 .tc-filters li.tcf-brand label{width:104px;height:88px;gap:7px;font-size:11.5px}
html.tcf-v4 .tc-filters .tcf-logo{width:34px;height:34px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] ul{flex-wrap:nowrap}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] li{flex:1 1 0}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] li label{width:100%;min-width:0;padding:10px 6px;font-size:11.5px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] li label,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] li label,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] li label{min-height:52px;font-size:12px;padding:8px 6px}
html.tcf-v4 .tc-filters .bapf_from,html.tcf-v4 .tc-filters .bapf_to{font-size:15px}
html.tcf-v4 .tc-filters .bapf_ckbox li label{min-height:44px}
html.tcf-v4 .tc-filters .tcf-actions{margin:2px -26px -22px!important;padding:16px 26px!important;border-radius:0 0 20px 20px}
html.tcf-v4 .tc-filters .tcf-mb-s{display:none}
html.tcf-v4 .tc-filters .tcf-act-r{gap:14px}
html.tcf-v4 .tc-filters .tcf-live-n{font-size:26px}
html.tcf-v4 body .tc-filters .tcf-go{padding:14px 20px}
html.tcf-v4 .tcf-mini{top:calc(var(--tcf-top,64px) + 8px);padding:0 16px}
html.tcf-v4 .tcf-mini-in{gap:12px;padding:8px 8px 8px 16px}
}

/* ----- Diseño 4 · Móvil (hasta 767): tarjeta compacta (marcas + combustible de un toque) y hoja a pantalla completa con todo ----- */
@media (max-width:767px){
html.tcf-v4 .tc-filters{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:18px!important;margin-top:-32px!important;padding:20px 16px 0!important;border-radius:18px!important;box-shadow:0 22px 44px -20px rgba(17,17,17,.35),0 1px 4px rgba(17,17,17,.06)!important}
html.tcf-v4 .tc-filters::before{left:16px;width:56px}
html.tcf-v4 .tc-filters>.elementor-widget-heading .elementor-heading-title{font-size:20px!important}
html.tcf-v4 .tc-filters>.elementor-widget-heading .elementor-heading-title::before{font-size:10px;margin-bottom:5px}
html.tcf-v4 .tc-filters .bapf_head h3{margin-bottom:10px!important}
html.tcf-v4:not(.tcf-is-open) .tc-filters>.elementor-element:has(.bapf_sfilter):not(:has([data-taxonomy="pa_marca"])):not(:has([data-taxonomy="product_tag"])):not(:has([data-taxonomy="pa_combustible"])){display:none!important}
html.tcf-v4:not(.tcf-is-open) .tc-filters [data-taxonomy="product_tag"] .tcf-search,html.tcf-v4:not(.tcf-is-open) .tc-filters .tcf-allbtn{display:none!important}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] ul,html.tcf-v4 .tc-filters [data-taxonomy="product_tag"]:not(.tcf-showall) ul,html.tcf-v4 .tc-filters [data-taxonomy="pa_ano"] ul,html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] ul{margin:0 -16px!important;padding:2px 16px 6px!important;gap:8px!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] ul::-webkit-scrollbar{display:none}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li label,html.tcf-v4 .tc-filters li.tcf-brand label{width:84px;height:76px;padding:8px 4px;gap:6px;border-radius:14px;font-size:10.5px}
html.tcf-v4 .tc-filters .tcf-logo{width:28px;height:28px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_marca"] li input:checked+label::after,html.tcf-v4 .tc-filters li.tcf-brand input:checked+label::after{top:5px;right:5px;width:16px;height:16px;background-size:9px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] li{flex:none}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] li label{flex-direction:row;width:auto;min-height:44px;padding:8px 14px;gap:7px;font-size:12.5px;border-radius:999px;white-space:nowrap}
html.tcf-v4 .tc-filters [data-taxonomy="pa_combustible"] .tcf-ico svg{width:18px;height:18px}
html.tcf-v4 .tc-filters .bapf_ckbox li label{min-height:44px;font-size:13px}
html.tcf-v4 .tc-filters [data-taxonomy="pa_cambio"] li label,html.tcf-v4 .tc-filters [data-taxonomy="pa_tramo-km"] li label,html.tcf-v4 .tc-filters [data-taxonomy="pa_plazas"] li label{min-height:52px;font-size:12px}
html.tcf-v4 .tc-filters .tcf-actions{flex-wrap:nowrap;gap:12px;margin:0 -16px!important;padding:14px 16px!important;border-radius:0 0 18px 18px}
html.tcf-v4 body .tc-filters .tcf-morebtn{flex:1;justify-content:center;min-height:50px;padding:12px 14px;border-color:var(--tcf-ink);background:var(--tcf-ink);color:#fff;font-size:14px}
html.tcf-v4 body .tc-filters .tcf-morebtn>svg:last-child{display:none}
html.tcf-v4 .tc-filters .tcf-act-r{margin-left:0;gap:0;flex:none}
html.tcf-v4 .tc-filters .tcf-live{display:flex;flex-direction:column;align-items:center;font-size:11px;line-height:1.1}
html.tcf-v4 .tc-filters .tcf-live-n{font-size:24px;margin:0;vertical-align:0}
html.tcf-v4 body .tc-filters .tcf-resetbtn,html.tcf-v4 body .tc-filters .tcf-go{display:none!important}
html.tcf-v4.tcf-is-open .tc-filters{position:fixed!important;inset:0;z-index:10001;margin:0!important;padding:22px 18px 0!important;border-radius:0!important;gap:24px!important;overflow-y:auto;overscroll-behavior:contain;box-shadow:none!important}
html.tcf-v4.tcf-is-open .tc-filters::before{display:none}
html.tcf-v4.tcf-is-open .tc-filters>.elementor-widget-heading{padding-right:56px!important}
html.tcf-v4.tcf-is-open .tc-filters{top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100vh!important;height:100dvh!important;max-height:none!important;min-height:0!important}
html.tcf-v4.tcf-is-open .tc-filters>*{flex-shrink:0!important;flex-grow:0!important;min-height:auto!important}
html.tcf-v4.tcf-is-open .tc-filters>.tcf-x{display:block!important;position:fixed!important;top:14px!important;right:14px!important;z-index:10003;width:42px!important;height:42px!important;padding:0!important;line-height:42px!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important}
html.tcf-v4.tcf-is-open .tc-filters>.tcf-actions{display:none!important}
html.tcf-v4.tcf-is-open .tc-filters>.tcf-more-g,html.tcf-v4.tcf-is-open .tc-filters>.elementor-element:has([data-taxonomy="pa_modelo"]),html.tcf-v4.tcf-is-open .tc-filters>.elementor-element:has([data-taxonomy="pa_cv"]),html.tcf-v4.tcf-is-open .tc-filters>.elementor-element:has([data-taxonomy="pa_color"]),html.tcf-v4.tcf-is-open .tc-filters>.elementor-element:has([data-taxonomy="pa_plazas"]),html.tcf-v4.tcf-is-open .tc-filters>.elementor-element:has([data-taxonomy="product_cat"]){display:block!important}
html.tcf-v4.tcf-is-open .tc-filters>.tcf-foot{display:flex!important;order:99;position:sticky;bottom:0;margin:4px -18px 0!important;padding:14px 18px calc(14px + env(safe-area-inset-bottom))!important;background:#fff;border-top:1px solid var(--tcf-line);box-shadow:0 -10px 24px -14px rgba(0,0,0,.25)}
html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="pa_marca"] ul,html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="product_tag"] ul,html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="pa_ano"] ul,html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="pa_combustible"] ul{flex-wrap:wrap!important;overflow:visible!important;margin:0!important;padding:0!important;-webkit-mask-image:none;mask-image:none}
html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="pa_marca"] li,html.tcf-v4.tcf-is-open .tc-filters li.tcf-brand{width:calc((100% - 16px) / 3)}
html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="pa_marca"] li label,html.tcf-v4.tcf-is-open .tc-filters li.tcf-brand label{width:100%}
html.tcf-v4.tcf-is-open .tc-filters [data-taxonomy="product_tag"].tcf-showall ul{max-height:320px!important;overflow-y:auto!important}
html.tcf-v4 .tcf-mini{top:auto;bottom:calc(12px + env(safe-area-inset-bottom));left:0;right:72px;padding:0 0 0 12px;transform:translateY(14px)}
html.tcf-v4 .tcf-mini.on{transform:none}
html.tcf-v4 .tcf-mini-in{gap:10px;padding:8px 8px 8px 14px;border-radius:999px;font-size:13px}
html.tcf-v4 .tcf-mini-s{display:none}
html.tcf-v4 .tcf-mini-n{flex:1}
html.tcf-v4 body .tcf-mini-b{border-radius:999px;padding:11px 16px}
html.tcf-v4.tcf-is-open .tcf-mini{display:none}
html.tcf-preview.tcf-v4 .tcf-mini{bottom:calc(64px + env(safe-area-inset-bottom))}
}

/* ----- v4.1 (2026-10-14): año y potencia con deslizador «desde–hasta»; color y plazas fuera del buscador ----- */
html.tcf-on .tc-filters>.elementor-element:has([data-taxonomy="pa_color"]),html.tcf-on .tc-filters>.elementor-element:has([data-taxonomy="pa_plazas"]){display:none!important}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cv"]){display:block!important;order:7;grid-column:span 4}
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_tramo-km"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_ano"]){grid-column:span 4}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_ano"]){grid-column:span 6}
.tc-filters .tcf-ranged .bapf_body>ul,.tc-filters .tcf-ranged .tcf-search{display:none!important}
.tc-filters .tcf-range{padding:2px 12px 0}
.tc-filters .tcf-range__v{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tc-filters .tcf-rv{display:inline-flex;padding:8px 12px;border-radius:10px;background:#F2F2F2;font:700 16px/1 Montserrat,sans-serif;color:var(--tcf-ink)}
.tc-filters .tcf-rv__sep{color:var(--tcf-sec);font-weight:700}
.tc-filters .tcf-range__s{margin:22px 0 10px}
@media (max-width:1024px){
html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_ano"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_cv"]),html.tcf-v4 .tc-filters>.elementor-element:has([data-taxonomy="pa_tramo-km"]){grid-column:span 3}
html.tcf-v4 .tc-filters:not(:has([data-taxonomy="price"]))>.elementor-element:has([data-taxonomy="pa_ano"]){grid-column:1/-1}
}
@media (max-width:767px){.tc-filters .tcf-range{padding:2px 10px 0}.tc-filters .tcf-rv{font-size:15px}}
/* Filas deslizables (tablet y móvil): la regla general «.tc-filters.tcf .bapf_body ul{overflow:visible}» es más específica y las dejaba cortadas sin poder deslizar */
@media (max-width:1024px){
html.tcf-v4:not(.tcf-is-open) body .tc-filters.tcf [data-taxonomy="pa_marca"] .bapf_body ul,html.tcf-v4:not(.tcf-is-open) body .tc-filters.tcf [data-taxonomy="product_tag"]:not(.tcf-showall) .bapf_body ul,html.tcf-v4:not(.tcf-is-open) body .tc-filters.tcf [data-taxonomy="pa_ano"] .bapf_body ul{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-snap-type:x proximity}
}
@media (max-width:767px){
html.tcf-v4:not(.tcf-is-open) body .tc-filters.tcf [data-taxonomy="pa_combustible"] .bapf_body ul{overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scroll-snap-type:x proximity}
}
