:root{--ink:#111827;--muted:#667085;--line:#e5e7eb;--paper:#fff;--soft:#f5f7fa;--navy:#07182c;--red:#dc2626;--red-dark:#b91c1c;--green:#16835f;--shadow:0 14px 34px rgba(15,23,42,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--soft);font:15px/1.5 Inter,Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,select{font:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}.top{padding:8px 0;color:#cbd5e1;background:#03101f;font-size:12px}.header{color:#fff;background:var(--navy)}.nav{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:22px}.logo{font-weight:900;letter-spacing:.07em}.nav-links{display:flex;align-items:center;gap:22px}.nav-links a:hover{color:#fca5a5}.btn{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 18px;border:1px solid transparent;border-radius:8px;cursor:pointer;font-weight:800}.btn-primary{color:#fff;background:var(--red)}.btn-primary:hover{background:var(--red-dark)}.hero{padding:48px 0 34px;color:#fff;background:linear-gradient(115deg,#0a1b2e,#34475b)}.crumb{display:block;margin-bottom:12px;color:#cbd5e1;font-size:13px}.hero h1{margin:0 0 10px;font-size:clamp(34px,5vw,54px);line-height:1.04}.hero p{max-width:720px;margin:0;color:#dbe4ee}.search-shell{position:relative;margin-top:-2px;padding:25px 0 64px}.filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(145px,.65fr)) auto;gap:11px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.field{width:100%;min-height:48px;padding:0 13px;border:1px solid #d9dee7;border-radius:8px;color:var(--ink);background:#fff}.field:focus{outline:3px solid rgba(220,38,38,.12);border-color:var(--red)}.quick-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.chip{padding:8px 14px;border:1px solid #dfe3ea;border-radius:999px;background:#fff;font-size:13px}.chip.active,.chip:hover{border-color:var(--red);color:#fff;background:var(--red)}.result-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:34px 0 22px}.result-head h2{margin:0 0 5px;font-size:30px}.result-head p{margin:0;color:var(--muted)}.result-count{font-weight:800}.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.car-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.05)}.car-image{position:relative;overflow:hidden;background:#e7ebef}.car-image img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:.25s}.car-card:hover .car-image img{transform:scale(1.025)}.tag,.condition-tag{position:absolute;top:12px;padding:5px 9px;border-radius:5px;color:#fff;background:var(--green);font-size:11px;font-weight:900}.tag{left:12px}.condition-tag{right:12px;background:#1e293b}.condition-tag.new{background:var(--red)}.car-body{display:flex;flex:1;flex-direction:column;padding:18px}.stock{color:var(--muted);font-size:11px}.car-card h3{margin:6px 0 12px;font-size:20px;line-height:1.2}.car-card h3 a:hover{color:var(--red)}.image-note{display:-webkit-box;overflow:hidden;margin:0 0 10px;color:var(--muted);font-size:12px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.specs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.specs span{padding:5px 8px;border-radius:5px;color:#475467;background:#f1f3f6;font-size:11px}.configuration-box label{display:block;color:var(--muted);font-size:11px}.configuration-select{width:100%;min-height:40px;margin:5px 0 13px;border:1px solid var(--line);border-radius:7px}.car-foot{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}.price-label{display:block;color:var(--muted);font-size:9px}.price{display:block;font-size:19px;font-weight:900}.btn-outline{min-height:40px;padding:0 13px;border-color:#d8dee7;background:#fff}.btn-outline:hover{border-color:var(--red);color:var(--red)}.empty{display:none;padding:42px;border:1px dashed #cbd5e1;border-radius:12px;color:var(--muted);background:#fff;text-align:center}.no-results{display:block}.pagination{display:flex;justify-content:center;gap:7px;margin-top:34px}.page-link{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;background:#fff}.page-link.active{border-color:var(--red);color:#fff;background:var(--red)}.search-help{margin-top:40px;padding:25px;border-radius:12px;color:#d9e3ee;background:var(--navy)}.search-help h2{margin:0 0 7px;color:#fff;font-size:23px}.search-help p{margin:0}.footer{padding:28px 0;color:#b8c4d1;background:#03101f}.footer-inner{display:flex;justify-content:space-between;gap:20px}.footer a{color:#fff}.menu-btn{display:none;color:#fff;border:0;background:none;font-size:25px}
@media(max-width:960px){.filters{grid-template-columns:1fr 1fr 1fr}.filters .search-field{grid-column:1/-1}.filters .btn{grid-column:3}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.container{width:min(100% - 26px,1180px)}.nav-links a:not(.btn){display:none}.hero{padding-top:36px}.filters{grid-template-columns:1fr}.filters .search-field,.filters .btn{grid-column:auto}.inventory-grid{grid-template-columns:1fr}.result-head,.footer-inner{align-items:start;flex-direction:column}.search-shell{padding-bottom:48px}.hero h1{font-size:37px}}

/* Keep public vehicle listing photos fully visible on every screen size. */
.car-image{display:block;aspect-ratio:16/9;background:#eef1f4}
.car-image img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;transform:none}
.car-card:hover .car-image img{transform:none}

/* Mobile catalogue: use the persistent bottom search and bring inventory into the first screen. */
@media(max-width:680px){
  .hero{padding:21px 0 18px}
  .crumb{margin-bottom:5px;font-size:11px}
  .hero h1{margin-bottom:6px;font-size:30px}
  .hero p{font-size:13px;line-height:1.42}
  .search-shell{padding:13px 0 48px}
  .filters{display:none}
  .quick-links{display:flex;margin:0 -13px;padding:0 13px 6px;gap:7px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .quick-links::-webkit-scrollbar{display:none}
  .chip{display:flex;min-height:38px;padding:0 14px;align-items:center;justify-content:center;flex:0 0 auto;text-align:center;white-space:nowrap}
  .result-head{margin:11px 0 12px;align-items:end;flex-direction:row;gap:10px}
  .result-head h2{margin:0;font-size:26px;line-height:1.05}
  .result-head p{display:none}
  .result-count{flex:0 0 auto;font-size:11px}
  .car-body{padding:15px}
  .car-card h3{font-size:18px}
  .specs span{display:flex;min-height:31px;align-items:center;justify-content:center;text-align:center}
}

/* Search v2: multilingual suggestions and precise, multi-select filters. */
.catalogue-filters{display:block;padding:16px}
.mobile-filter-intro{display:none}
.filter-primary{display:grid;grid-template-columns:minmax(260px,1fr) minmax(175px,.34fr) auto auto;gap:10px}
.filter-toggle{border-color:#cbd5e1;color:#24364b;background:#f8fafc}
.filter-toggle[aria-expanded="true"]{border-color:#94a3b8;background:#e9eef4}
.advanced-filters{margin-top:15px;padding-top:16px;border-top:1px solid var(--line)}
.advanced-filters[hidden]{display:none}.advanced-filters.open{display:block}
.range-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.range-grid label{display:grid;gap:6px;color:#475467;font-size:12px;font-weight:700}
.facet-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.facet-columns.compact{grid-template-columns:1fr 1fr}
.facet-group{min-width:0;margin-top:17px}.facet-group h3{margin:0 0 8px;font-size:14px}
.facet-options{display:flex;flex-wrap:wrap;gap:7px}.facet-options.scroll{max-height:154px;padding:1px 5px 5px 1px;overflow:auto}
.facet-option{display:flex;min-height:36px;align-items:center;gap:7px;padding:6px 9px;border:1px solid #dde3ea;border-radius:8px;background:#fff;cursor:pointer}
.facet-option:has(input:checked){border-color:#ef4444;color:#991b1b;background:#fff1f2}.facet-option input{width:15px;height:15px;accent-color:var(--red)}
.facet-option span{font-size:12px}.facet-option em{margin-left:auto;color:#98a2b3;font-size:10px;font-style:normal}.facet-option.disabled{opacity:.45;cursor:not-allowed}
.filter-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}
.selected-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}.selected-filters strong{font-size:12px}.selected-chip{padding:6px 9px;border:1px solid #fecaca;border-radius:999px;color:#991b1b;background:#fff7f7;font-size:11px}.clear-link{margin-left:3px;color:var(--red);font-size:12px;font-weight:800}

@media(max-width:960px){
  .filter-primary{grid-template-columns:minmax(0,1fr) minmax(165px,.35fr) auto}.filter-primary .btn-primary{grid-column:auto}.filter-toggle{grid-column:auto!important}
  .range-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){
  .catalogue-filters{display:block;padding:10px 11px;margin-bottom:9px;box-shadow:none}
  .filter-primary{display:grid;grid-template-columns:1fr auto;gap:8px}
  .filter-primary .search-field,.filter-primary .sort-field,.filter-primary>.btn-primary{display:none}
  .filter-toggle{grid-column:2!important;min-height:40px;padding:0 14px}
  .mobile-filter-intro{display:flex;align-items:center;color:#344054;font-size:13px;font-weight:800}
  .advanced-filters{margin-top:10px;padding-top:10px}
  .range-grid,.facet-columns,.facet-columns.compact{grid-template-columns:1fr 1fr}
  .range-grid label:last-child{grid-column:1/-1}.range-grid .field{min-height:42px}
  .facet-options{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.facet-options::-webkit-scrollbar{display:none}
  .facet-options.scroll{max-height:none;overflow-x:auto;overflow-y:hidden}.facet-option{flex:0 0 auto}
  .filter-actions{position:sticky;bottom:108px;z-index:2;margin:15px -11px -10px;padding:10px 11px;background:#fff;box-shadow:0 -7px 15px rgba(15,23,42,.08)}
  .filter-actions .btn{flex:1;min-height:42px;padding:0 9px;font-size:12px}
  .selected-filters{margin:0 0 9px;padding:0 1px}.quick-links{margin-top:0}
}

/* Structured filter controls. Desktop keeps the current open grid; mobile becomes a full-screen drawer. */
.mobile-filter-sheet-head,.mobile-filter-selection-summary,.facet-search{display:none}
.mobile-precision-finder{display:none}
.catalogue-mobile-title{display:none}
.mobile-filter-category,.mobile-category-content{display:contents}
.mobile-filter-category>.mobile-category-toggle{display:none}
.facet-group h3 .mobile-category-toggle{display:flex;width:100%;padding:0;align-items:center;justify-content:space-between;border:0;color:inherit;background:transparent;font:inherit;font-weight:inherit;text-align:left}
.mobile-category-toggle svg{display:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.facet-option.is-filter-hidden{display:none!important}

@media(max-width:680px){
  body.ks-filter-open{overflow:hidden;overscroll-behavior:none}
  .advanced-filters{position:fixed!important;z-index:310;inset:0!important;margin:0!important;padding:0 13px calc(82px + env(safe-area-inset-bottom))!important;overflow-y:auto;border:0!important;color:#142033;background:#f4f6f9;-webkit-overflow-scrolling:touch}
  .advanced-filters.open{display:block}.advanced-filters[hidden]{display:none!important}
  .mobile-filter-sheet-head{position:sticky;z-index:4;top:0;display:flex;min-height:70px;margin:0 -13px 10px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;align-items:center;gap:12px;border-bottom:1px solid #dce3eb;background:#fff}
  .mobile-filter-sheet-head>div{display:grid;gap:1px}.mobile-filter-sheet-head strong{font-size:18px;line-height:1.2}.mobile-filter-sheet-head span{color:#667085;font-size:11px}
  .mobile-filter-close{display:grid;width:40px;height:40px;padding:0;place-items:center;border:1px solid #d7dee7;border-radius:50%;color:#23364d;background:#fff}
  .mobile-filter-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-filter-selection-summary{display:flex;min-height:42px;margin:0 0 9px;padding:8px;align-items:center;gap:6px;overflow-x:auto;border:1px solid #e1e6ec;border-radius:10px;background:#fff;scrollbar-width:none}.mobile-filter-selection-summary[hidden]{display:none}.mobile-filter-selection-summary::-webkit-scrollbar{display:none}
  .mobile-filter-summary-label{flex:0 0 auto;padding:0 4px;color:#667085;font-size:11px;font-weight:800}.mobile-filter-summary-chip{flex:0 0 auto;max-width:180px;padding:6px 9px;overflow:hidden;border:1px solid #fecaca;border-radius:999px;color:#991b1b;background:#fff5f5;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
  .mobile-filter-category,.facet-group{display:block;margin:0 0 9px!important;overflow:hidden;border:1px solid #e0e5eb;border-radius:11px;background:#fff}
  .mobile-category-content{display:none;padding:2px 12px 13px}.mobile-filter-category.mobile-section-open .mobile-category-content{display:block}
  .mobile-filter-category>.mobile-category-toggle,.facet-group h3 .mobile-category-toggle{display:flex;width:100%;min-height:50px;padding:0 13px;align-items:center;justify-content:space-between;border:0;color:#1d2939;background:#fff;font-size:14px;font-weight:900;text-align:left}
  .facet-group h3{margin:0!important}.mobile-category-toggle svg{display:block;flex:0 0 auto;transition:transform .18s ease}.mobile-section-open>.mobile-category-toggle svg,.mobile-section-open>h3 .mobile-category-toggle svg{transform:rotate(90deg)}
  .range-grid{display:grid!important;padding-top:4px;grid-template-columns:1fr 1fr!important;gap:10px}.range-grid label:last-child{grid-column:1/-1!important}
  .facet-columns,.facet-columns.compact{display:contents!important}
  .facet-search{display:none;width:calc(100% - 24px);min-height:42px;margin:0 12px 8px}.facet-group.mobile-section-open .facet-search{display:block}
  .facet-group .facet-options{display:none!important;padding:1px 12px 13px!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:visible!important;max-height:none!important}.facet-group.mobile-section-open .facet-options{display:grid!important}
  .facet-group.mobile-section-open .facet-options.scroll{max-height:42dvh!important;overflow-y:auto!important;overscroll-behavior:contain}
  .facet-option{min-width:0;min-height:42px;flex:initial!important;padding:7px 8px}.facet-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.facet-option em{flex:0 0 auto}
  .filter-actions{position:fixed!important;z-index:312;right:0;bottom:0!important;left:0;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid #d8e0e9;background:#fff;box-shadow:0 -8px 22px rgba(7,24,44,.13)}
  .filter-actions .btn{min-height:50px!important;font-size:13px!important}.filter-actions .btn-outline{flex:.72!important}.filter-actions .btn-primary{flex:1.45!important}
  [dir=rtl] .mobile-category-toggle,[dir=rtl] .facet-group h3 .mobile-category-toggle{text-align:right}
}

@media(max-width:380px){
  .facet-group .facet-options{grid-template-columns:1fr}.filter-actions .btn{font-size:12px!important}
}

/* Mobile precision finder: essential filters are visible before any keyboard is opened. */
@media(max-width:680px){
  .hero{padding:16px 0 14px;background:linear-gradient(125deg,#07182c,#263f59)}
  .hero .crumb{display:none}.hero h1{font-size:25px}.hero p{display:none}
  .catalogue-desktop-title{display:none}.catalogue-mobile-title{display:inline}
  .search-shell{padding-top:10px}
  .catalogue-filters{padding:0;border:0;background:transparent}
  .filter-primary{display:none!important}
  .mobile-precision-finder{display:block;padding:16px;border:1px solid #dce3eb;border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(7,24,44,.08)}
  .mobile-precision-heading{margin-bottom:13px}
  .mobile-precision-kicker{display:block;margin-bottom:4px;color:#c92323;font-size:10px;font-weight:950;letter-spacing:.09em}
  .mobile-precision-heading h2{margin:0;color:#10243b;font-size:23px;line-height:1.16;letter-spacing:-.025em}
  .mobile-precision-heading p{margin:5px 0 0;color:#667085;font-size:12px;line-height:1.4}
  .mobile-precision-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .mobile-precision-option{display:grid;min-width:0;min-height:68px;padding:9px 8px;grid-template-columns:28px minmax(0,1fr) 10px;align-items:center;gap:7px;border:1px solid #dfe5ec;border-radius:11px;color:#15263b;background:#f9fafb;text-align:left;touch-action:manipulation}
  .mobile-precision-option>svg{width:24px;height:24px;fill:none;stroke:#c92323;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-precision-option>span{display:grid;min-width:0;gap:2px}.mobile-precision-option strong{font-size:13px}.mobile-precision-option small{overflow:hidden;color:#667085;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
  .mobile-precision-option>b,.mobile-keyword-toggle>b,.mobile-all-filters>b{color:#98a2b3;font-size:20px;font-weight:400;line-height:1}
  .mobile-precision-option.has-value{border-color:#efb3b3;background:#fff6f6}.mobile-precision-option.has-value small{color:#9d1c1c;font-weight:800}
  .mobile-keyword-toggle,.mobile-all-filters{display:grid;width:100%;min-height:50px;margin-top:9px;padding:7px 11px;grid-template-columns:28px minmax(0,1fr) 12px;align-items:center;gap:8px;border:1px solid #dfe5ec;border-radius:11px;color:#15263b;background:#fff;text-align:left;touch-action:manipulation}
  .mobile-keyword-toggle>svg{width:23px;height:23px;fill:none;stroke:#526071;stroke-width:2;stroke-linecap:round}.mobile-keyword-toggle>span{display:grid;gap:1px}.mobile-keyword-toggle strong{font-size:12px}.mobile-keyword-toggle small{color:#667085;font-size:10px}
  .mobile-keyword-toggle[aria-expanded="true"]>b{transform:rotate(90deg)}
  .mobile-keyword-search{display:grid;margin-top:8px;grid-template-columns:minmax(0,1fr) auto;gap:7px}.mobile-keyword-search[hidden]{display:none}.mobile-keyword-search .field{min-height:44px;font-size:16px}.mobile-keyword-search .btn{min-height:44px;padding:0 14px;font-size:12px}
  .mobile-all-filters{grid-template-columns:minmax(0,1fr) auto 12px;border-color:#172f49;color:#fff;background:#172f49;font-size:13px;font-weight:900}
  .mobile-all-filters em{display:grid;min-width:24px;height:24px;padding:0 6px;place-items:center;border-radius:999px;color:#9f1717;background:#fff;font-size:11px;font-style:normal}.mobile-all-filters em[hidden]{display:none}.mobile-all-filters>b{color:#fff}
  .quick-links{margin-top:10px}.result-head{margin-top:15px}
  .advanced-filters{height:var(--ks-visual-viewport-height,100dvh);bottom:auto!important}
  [dir=rtl] .mobile-precision-option,[dir=rtl] .mobile-keyword-toggle,[dir=rtl] .mobile-all-filters{text-align:right}
}

@media(max-width:360px){
  .mobile-precision-finder{padding:13px}.mobile-precision-grid{grid-template-columns:1fr}.mobile-precision-option{min-height:58px}
}
