/* Customer Results 3.0 layout and brand stabilization.
* Full-width premium results stage, stable sidebar, dense product grid
* and a strict EBC blue/red storefront palette.
*/
.ebc-vf--full{
position:relative;
left:50%;
width:min(1760px,calc(100vw - 24px));
max-width:none!important;
margin-left:0!important;
margin-right:0!important;
transform:translateX(-50%);
}
.ebc-vf--full .ebc-cr__catalog{
grid-template-columns:minmax(300px,330px) minmax(0,1fr);
gap:24px;
align-items:start;
}
.ebc-vf--full .ebc-cr__catalog-main,
.ebc-vf--full .ebc-vf__product-grid{
width:100%;
min-width:0;
}

/* Deliberately 3 columns on the wide stage, stepping down at narrower
* widths - not auto-fill guesswork. */
.ebc-vf--full .ebc-vf__product-grid{
grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Sidebar: keep complete words and a commercially useful filter width. */
.ebc-vf--full .ebc-cr__sidebar{
width:100%;
min-width:300px;
max-width:330px;
overflow:hidden;
}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter{
display:block!important;
padding:18px 19px!important;
border-bottom:1px solid #dbe3ef;
background:#fff;
color:#102452;
font-size:14px;
line-height:1.45;
word-break:normal!important;
overflow-wrap:normal!important;
white-space:normal!important;
}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter h5{
position:relative;
display:block;
width:100%;
margin:0 0 12px;
padding-right:22px;
color:#061d5c;
font-size:15px;
line-height:1.35;
word-break:normal!important;
overflow-wrap:normal!important;
}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter h5:after{
content:"⌄";
position:absolute;
right:0;
color:#0a2f78;
}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter label{
display:grid!important;
grid-template-columns:19px minmax(0,1fr)!important;
align-items:start;
gap:10px;
width:100%;
padding:7px 0;
color:#27385e;
font-size:14px;
line-height:1.4;
cursor:pointer;
word-break:normal!important;
overflow-wrap:normal!important;
white-space:normal!important;
}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter label span{min-width:0;word-break:normal!important;overflow-wrap:normal!important}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter label input{width:18px;height:18px;min-height:0;margin:1px 0 0;accent-color:#ed1027}
.ebc-vf--full .ebc-cr__sidebar .ebc-cr__filter--collapsed h5{margin-bottom:0}

/* Keep product information visible against restrictive theme rules. */
.ebc-vf--full .ebc-vf__product,
.ebc-vf--full .ebc-cr__catalog-main,
.ebc-vf--full .ebc-vf__product-grid{overflow:visible}
.ebc-vf--full .ebc-vf__product{overflow:hidden}
.ebc-vf--full .ebc-vf__card-body{display:flex!important;visibility:visible!important;opacity:1!important}

/* Remove duplicated navigation. */
.ebc-vf--full .ebc-vf__shopping-footer{display:none!important}

/* The bundled vehicle picker (brand/model/variant dropdowns) never loads its
* brand options once a vehicle is already preselected via the URL, so it sat
* on the results page as a dead, non-functional form above the real results.
* Hide it entirely in that state; "Fahrzeug ändern" now routes to the real
* premium wizard on the homepage instead of duplicating it here. */
.ebc-vf--full.ebc-vf--preselected .ebc-vf__header,
.ebc-vf--full.ebc-vf--preselected .ebc-vf__tabs,
.ebc-vf--full.ebc-vf--preselected .ebc-vf__panel{display:none!important}

/* Strict storefront palette: EBC navy, blue and red plus neutral white/grey.
* Selection bar deliberately matches the light, editorial look of the
* homepage finder (white card, restrained teal eyebrow, bold black
* heading) instead of a dark gradient hero - no separate override needed
* here beyond the shared vehicle-copy heading colour below. */
.ebc-vf--full .ebc-vf__card-type{background:#0a2f78!important;color:#fff!important;box-shadow:0 6px 14px rgba(10,47,120,.24)!important}
.ebc-vf--full .ebc-vf__savings-ribbon{background:#ed1027!important;color:#fff!important}
.ebc-vf--full .ebc-cr__availability,
.ebc-vf--full .ebc-cr__toolbar>div span,
.ebc-vf--full .ebc-cx__match-heading,
.ebc-vf--full .ebc-cx__advisor-copy{border-color:#b9cae8!important;background:#edf3ff!important;color:#061d5c!important}
/* .ebc-vf__availability deliberately excluded above: it now carries its own
* semantic per-status colour (available/out_of_stock/not_purchasable/unlinked)
* set in ebc-customer-results.css and must not be flattened to one blue tone. */
.ebc-vf--full .ebc-vf__price{color:#ed1027!important}
.ebc-vf--full .ebc-vf__cart-button{background:linear-gradient(135deg,#ed1027,#bd071d)!important;color:#fff!important;box-shadow:0 8px 16px rgba(237,16,39,.22)!important}
.ebc-vf--full .ebc-vf__details-button{border-color:#b9c5da!important;background:#fff!important;color:#061d5c!important}
.ebc-vf--full .ebc-vf__advisor-note{color:#59647a!important}
.ebc-vf--full .ebc-cr__stars span.is-active{color:#ed1027!important}
.ebc-vf--full .ebc-cx__trust-icon,
.ebc-vf--full .ebc-cr__global-trust>div{color:#0a2f78!important}
.ebc-vf--full .ebc-cr__sidebar-head button{color:#ed1027!important}
.ebc-vf--full .ebc-vf__spec-tags span{border-color:#dbe3ef!important;background:#f8faff!important;color:#27385e!important}
.ebc-vf--full .ebc-vf__qty-input{border-color:#b9c5da!important}

@media(max-width:1200px){
.ebc-vf--full .ebc-vf__product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
.ebc-vf--full{width:min(100%,calc(100vw - 16px))}
.ebc-vf--full .ebc-cr__catalog{grid-template-columns:1fr}
.ebc-vf--full .ebc-cr__sidebar{position:static;max-width:none;min-width:0}
}
@media(max-width:760px){
.ebc-vf--full .ebc-vf__product-grid{grid-template-columns:1fr!important}
}
