.desk-nav,.desk-utilities,.desk-search-button,.desk-filters,.desk-chip-home,.desk-hero-visual{display:none}
@media(min-width:701px){
 body.ev-desktop-catalog{background:#f5f8f7}
 body.ev-desktop-catalog header{position:relative;inset:auto;display:flex;flex-wrap:wrap;height:auto;min-height:82px;padding:16px max(24px,calc((100% - 1452px)/2));background:#003c32;gap:18px;border:0}
 body.ev-desktop-catalog header::after{content:none}
 body.ev-desktop-catalog header>nav:not(.desk-nav){display:none}
 body.ev-desktop-catalog header .evauto-logo{display:block;width:172px;height:48px;flex:none;background:url('assets/evauto-logo-hero.png') center/contain no-repeat}
 body.ev-desktop-catalog header .evauto-logo>*{display:none}
 body.ev-desktop-catalog .desk-nav{display:flex;gap:18px;flex:1;height:auto;justify-content:center;color:white}
 .desk-nav button{height:auto;padding:12px 0;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent}.desk-nav .desk-current{border-color:#00d37a}
 .desk-utilities{display:flex;align-items:center;gap:14px;color:white}.desk-utilities button{display:flex;align-items:center;gap:5px;font-size:14px;padding:8px 0}.desk-utilities svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.desk-utilities [aria-pressed=true]{color:#00d37a}
 body.ev-desktop-catalog main{width:100%;max-width:1500px;padding:0 24px 32px;margin:0 auto;background:#f5f8f7}
 body.ev-desktop-catalog .intro{isolation:isolate;position:relative;display:flex;min-height:288px;height:288px;margin:0 -24px;padding:32px 24px 90px;border-radius:0;color:white;overflow:visible;clip-path:inset(0 -100vmax);box-shadow:0 0 0 100vmax #003c32;background:#003c32}
 body.ev-desktop-catalog .intro>div:first-child{position:relative;z-index:2;width:60%;min-width:0}
 body.ev-desktop-catalog .intro .desk-hero-visual{display:block;position:absolute;inset:0 0 0 auto;width:66%;z-index:0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 34%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 34%)}
 .desk-hero-visual picture{display:block;width:100%;height:100%}.desk-hero-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:right center}
 .desk-hero-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#003c3255,transparent 65%)}
 body.ev-desktop-catalog .intro::before{content:none}body.ev-desktop-catalog .intro .eyebrow,body.ev-desktop-catalog .intro-note{display:none}
 body.ev-desktop-catalog .intro h1{font-size:36px;line-height:1.15;letter-spacing:-1px;margin:0 0 12px;max-width:650px;color:white}body.ev-desktop-catalog .intro h1 br{display:block}body.ev-desktop-catalog .intro h1 em{color:#00d37a}body.ev-desktop-catalog .intro p:not(.eyebrow){color:white;font-size:16px;max-width:none;font-weight:400}
 body.ev-desktop-catalog .searchbar{position:relative;z-index:2;width:min(680px,64%);min-height:58px;margin:-78px 0 38px;padding:7px 8px 7px 18px;border:1px solid #e0e8e4;border-radius:12px;background:white;gap:10px;box-shadow:0 4px 16px #003c3214}
 body.ev-desktop-catalog .searchbar input{font-size:16px;min-width:0}body.ev-desktop-catalog .searchbar kbd{display:none}.desk-search-button{display:block;background:#007952;color:white;padding:12px 24px;border-radius:8px;font-weight:600}
 body.ev-desktop-catalog #motorTabs{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:24px 0 10px;padding:0;overflow:visible}
 body.ev-desktop-catalog #motorTabs button{display:flex;align-items:center;gap:9px;min-height:48px;min-width:0;padding:10px 16px;border:1px solid #dce7e2;border-radius:10px;background:white;color:#004b39;font-size:14px;box-shadow:none}
 body.ev-desktop-catalog #motorTabs button::before{content:none}body.ev-desktop-catalog #motorTabs button.active{background:#007952;color:white;border-color:#007952}body.ev-desktop-catalog #motorTabs .motor-tab-icon{width:23px;height:23px;flex:none}
 body.ev-desktop-catalog .ev-technology-help{display:block;margin:0 auto 24px;font-size:13px}
 body.ev-desktop-catalog .workspace,body.ev-desktop-catalog.filters-collapsed .workspace{display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:24px}
 body.ev-desktop-catalog .filter-toggle{display:none}body.ev-desktop-catalog .desk-legacy-filters{display:none}
 body.ev-desktop-catalog .results-top{margin:0 0 12px;align-items:center;gap:12px}body.ev-desktop-catalog .results-top h2{display:none}body.ev-desktop-catalog #resultCount{font-size:18px;font-weight:700;color:#16382e;margin:0}body.ev-desktop-catalog #sort{width:auto;font-size:14px;max-width:250px;padding:10px 12px;background:white}
 .desk-chip-home{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.desk-chip-home .ev-catalog-filters{margin:0;padding:0}.desk-clear{font-size:13px;color:#007952;text-decoration:underline}.desk-clear[hidden]{display:none}
 body.ev-desktop-catalog #grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
 .desk-car{display:flex;flex-direction:column;min-width:0;background:white;border:1px solid #dfe8e3;border-radius:16px;box-shadow:0 4px 18px #153c2b06;overflow:hidden;transition:box-shadow .2s}.desk-car:hover{box-shadow:0 8px 26px #153c2b12}
 .desk-car-top{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:12px 12px 0}.desk-tech{display:inline-flex;align-items:center;gap:5px;color:#007952;background:#ecf6f0;font-size:12px;font-weight:600;padding:5px 8px;border-radius:6px}.desk-tech .motor-tab-icon{width:16px;height:16px;flex:none}
 .desk-favorite{display:grid;place-items:center;width:32px;height:32px;padding:6px;color:#65786f;flex:none}.desk-favorite svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.desk-favorite[aria-pressed=true]{color:#007952}.desk-favorite[aria-pressed=true] svg{fill:#007952}
 .desk-photo{display:flex;align-items:center;justify-content:center;width:100%;height:180px;padding:8px 12px;background:white;border:0}.desk-photo img.card-main-image{display:block;width:100%;height:100%;object-fit:contain;transform:none;max-width:100%}.desk-photo .image-unavailable{width:100%;font-size:14px;background:#f5f8f7}
 .desk-car-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:10px 16px 14px}.desk-car h3{margin:0 0 9px;font-size:18px;font-weight:750;line-height:1.25;min-width:0}.desk-car h3 button{display:block;width:100%;text-align:left;font:inherit;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .desk-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin:0 0 16px;line-height:1.2}.desk-price span{font-size:13px;color:#65776e}.desk-price strong{font-size:21px;letter-spacing:-.5px;color:#004d38;white-space:nowrap}
 .desk-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px;padding:14px 0 18px;border-top:1px solid #edf1ee;flex:1;align-content:start}.desk-metrics:empty{padding:0;border:0}.desk-metric{display:flex;gap:6px;align-items:flex-start;min-width:0}.desk-metric .card-icon{width:18px;height:18px;flex:none;margin:1px 0 0;color:#008361;fill:none;stroke:currentColor;stroke-width:1.6}.desk-metric>div{min-width:0}.desk-metric strong{display:block;font-size:16px;line-height:1.25;color:#203a30;overflow-wrap:anywhere}.desk-metric small{display:block;font-size:12px;line-height:1.35;margin-top:4px;color:#738179}
 .desk-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid #edf1ee;padding-top:12px;margin-top:auto}.desk-actions label{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:13px}.desk-actions input{width:16px;height:16px;accent-color:#007952}.desk-actions button{background:#007952;color:white;border-radius:7px;padding:10px;font-size:13px;font-weight:600;white-space:nowrap}
 body.ev-desktop-catalog .quick-filter-row{display:flex;justify-content:center;margin-bottom:18px}
}
@media(min-width:1100px){
 body.ev-desktop-catalog .workspace,body.ev-desktop-catalog.filters-collapsed .workspace{grid-template-columns:260px minmax(0,1fr)}
 body.ev-desktop-catalog .desk-filters{display:block;position:sticky;top:20px;align-self:start;max-height:calc(100vh - 40px);overflow-y:auto;min-width:0;border:1px solid #dfe8e3;background:white;border-radius:14px;padding:20px;box-shadow:none}
 body.ev-desktop-catalog .quick-filter-row{display:none}
 .desk-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.desk-filter-heading h2{font-size:20px;margin:0}.desk-filter-heading button{font-size:12px;color:#007952;padding:0;text-decoration:underline}
 .desk-filters section,.desk-filters details{padding:16px 0;border-top:1px solid #edf1ee}.desk-filters h3,.desk-filters summary{font-size:14px;font-weight:700;margin:0 0 12px;cursor:pointer}.desk-filters details summary{margin:0}.desk-filters details[open] summary{margin-bottom:12px}
 .desk-bounds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.desk-filters .desk-bounds label{font-size:12px;font-weight:400;margin:0;color:#687c71}.desk-bounds input{display:block;width:100%;min-width:0;background:#f8faf9;border:1px solid #dce6e0;border-radius:6px;padding:8px;margin-top:6px;font-size:14px;color:#153b2b}
 .desk-filters input[type=range]{margin:12px 0 0;accent-color:#007952}.desk-filters .desk-check{display:flex;gap:8px;align-items:center;font-weight:400;font-size:14px;margin:0;padding:6px 0;cursor:pointer;line-height:1.3}.desk-check input{width:16px;height:16px;margin:0;accent-color:#007952;flex:none}.desk-check .motor-tab-icon{width:18px;height:18px;flex:none}.desk-check span{min-width:0;overflow-wrap:anywhere}.desk-more{font-size:14px;text-align:left;color:#007952;padding:8px 0}.desk-filters [data-desktop-options=brand]{max-height:240px;overflow:auto}
 body.ev-desktop-catalog #grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.desk-photo{height:160px}.desk-car-body{padding:10px 12px 12px}
}
@media(min-width:1550px){body.ev-desktop-catalog #grid{grid-template-columns:repeat(4,minmax(0,1fr))}.desk-photo{height:180px}}
@media(min-width:701px) and (max-width:1240px){body.ev-desktop-catalog .desk-nav{order:3;flex-basis:100%;justify-content:flex-start;gap:24px}body.ev-desktop-catalog .desk-utilities{margin-left:auto}.desk-car h3{font-size:16px}.desk-price strong{font-size:19px}}

/* One bounded comparison surface; selection handlers and image resolver unchanged. */
@media(min-width:701px){
 #comparebar{position:fixed;left:50%;right:auto;bottom:20px;transform:translateX(-50%);width:calc(100% - 48px);max-width:1452px;box-sizing:border-box;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 20px;background:#003c32;border:1px solid #28705a;color:#fff;border-radius:22px;box-shadow:0 12px 42px #002c2640;z-index:21}
 #comparebar[hidden]{display:none}
 #comparebar .ev-selected-count{grid-column:1;grid-row:1;font-size:15px;font-weight:650;line-height:1.4}
 #comparebar .ev-selected-cars{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
 #comparebar .selected-chip{display:grid;grid-template-columns:58px minmax(0,1fr) 28px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:8px;background:#ffffff0e;border:1px solid #ffffff24;border-radius:14px}
 #comparebar .selected-chip img{display:block;width:58px;height:44px;object-fit:contain;background:#f7faf8;border-radius:9px}
 #comparebar .selected-name{font-size:13px;font-weight:600;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;color:white}
 #comparebar .selected-chip button{display:grid;place-items:center;flex:none;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border:1px solid #62d5ac;border-radius:50%;background:#d7f6e8;color:#00664d;font-size:20px;line-height:1;transition:background .15s,box-shadow .15s}
 #comparebar .selected-chip button:hover{background:#a9ebd0;box-shadow:0 0 0 3px #00d37a25}
 #comparebar .selected-chip button:focus-visible{outline:2px solid white;outline-offset:3px}
 #comparebar #compareNow{grid-column:3;grid-row:1;min-height:48px;max-width:100%;padding:13px 20px;white-space:nowrap;background:#00d39a;color:#003c32;border:1px solid #37e8b5;border-radius:12px;font-size:15px;font-weight:750;box-shadow:0 3px 10px #002a2420}
 #comparebar #compareNow:hover:not(:disabled){background:#36e8b5}#comparebar #compareNow:disabled{opacity:.55;cursor:not-allowed}
 body.ev-desktop-catalog .desk-chip-home,body.ev-desktop-catalog .ev-catalog-filters{min-width:0;max-width:100%}body.ev-desktop-catalog .ev-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
@media(min-width:701px) and (max-width:1199px){
 #comparebar{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 18px;max-width:900px}
 #comparebar .ev-selected-cars{grid-column:1/-1;grid-row:2}#comparebar #compareNow{grid-column:2;grid-row:1}
}
@media(min-width:701px) and (max-width:900px){
 body.ev-desktop-catalog .intro h1{font-size:28px;line-height:1.2;white-space:normal}body.ev-desktop-catalog .intro>div:first-child{width:65%}
 body.ev-desktop-catalog .searchbar{width:72%}body.ev-desktop-catalog .desk-nav{gap:18px;flex-wrap:wrap}
}
/* Public colour displays share the same accessible, HEX-backed swatches. */
.comparison-swatches.ev-verified-swatches{display:flex;flex-wrap:wrap;gap:10px;align-items:center;max-width:100%;margin:4px 0}
.ev-verified-swatches>i{display:block;width:34px;height:34px;flex:0 0 34px;border:1px solid #9aa9a1;border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff35}

/* Compact white navigation and bounded panoramic hero, September 2026. */
.desk-nav-toggle{display:none}
.ev-detail-favorite{padding:10px 16px;margin-bottom:16px;border:1px solid #007952;border-radius:8px;color:#007952;font-size:14px}
.ev-detail-favorite[aria-pressed=true]{background:#e5f5ed}
.ev-space-list>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #dfe8e3}
.ev-space-list button{text-align:left;font-size:14px}.ev-space-list [data-space-favorite]{color:#007952}
@media(min-width:701px){
 body.ev-desktop-catalog header{position:sticky;top:0;z-index:30;flex-wrap:nowrap;height:64px;min-height:64px;padding:0 max(24px,calc((100% - 1452px)/2));gap:20px;background:#fff;color:#153b2b;border-bottom:1px solid #e2eae5}
 body.ev-desktop-catalog header .evauto-logo{width:132px;height:42px;background-image:url('assets/evauto-logo-light-full.png')}
 body.ev-desktop-catalog .desk-nav{order:0;flex-basis:auto;flex-wrap:nowrap;gap:14px;color:#153b2b;height:64px;justify-content:center}
 body.ev-desktop-catalog .desk-nav button{font-size:14px;line-height:1.25;padding:20px 0}
 body.ev-desktop-catalog .desk-utilities{color:#153b2b;gap:14px;margin-left:auto;flex:none}
 body.ev-desktop-catalog .desk-utilities button{white-space:nowrap;font-size:14px}
 body.ev-desktop-catalog .intro{height:270px;min-height:270px;padding:24px 24px 90px;align-items:flex-start;background:#003c32;box-shadow:none;clip-path:none;overflow:visible}
 body.ev-desktop-catalog .intro>div:first-child{width:60%}
 body.ev-desktop-catalog .intro h1{font-size:34px;line-height:1.12;margin-bottom:10px}
 body.ev-desktop-catalog .intro .desk-hero-visual{width:var(--ev-viewport-width,100%);left:50%;right:auto;transform:translateX(-50%);mask-image:none;-webkit-mask-image:none;z-index:-1}
 .desk-hero-visual img{object-position:center 80%}
 .desk-hero-visual::after{background:linear-gradient(90deg,#002c26d9 0%,#002c2670 40%,transparent 70%)}
 body.ev-desktop-catalog .intro{background:transparent}
 body.ev-desktop-catalog .searchbar{width:min(620px,57%);min-height:54px;margin-top:-80px;margin-bottom:26px}
 body.ev-desktop-catalog #motorTabs{margin-top:24px}
 body.ev-desktop-catalog .desk-filters{top:84px;max-height:calc(100vh - 104px)}
 body.ev-desktop-catalog .results,body.ev-desktop-catalog #search{scroll-margin-top:90px}
 #comparebar .selected-chip{grid-template-columns:72px minmax(0,1fr) 28px}
 #comparebar .selected-chip img{width:72px;height:54px}
 #comparebar .selected-chip button{background:#00825e;color:#fff;border-color:#32b88b}
 #comparebar .selected-chip button:hover{background:#006a4b}
}
@media(min-width:701px) and (max-width:1399px){
 body.ev-desktop-catalog .desk-nav-toggle{display:block;order:1;font-size:14px;border:1px solid #dce7e2;border-radius:8px;padding:9px 14px}
 body.ev-desktop-catalog .desk-nav{display:none;position:absolute;top:64px;right:24px;left:auto;height:auto;max-width:calc(100vw - 48px);width:290px;max-height:calc(100dvh - 84px);overflow-y:auto;padding:12px;background:#fff;border:1px solid #dce7e2;border-radius:0 0 12px 12px;box-shadow:0 12px 24px #002c2620}
 body.ev-desktop-catalog .desk-nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0}
 body.ev-desktop-catalog .desk-nav button{text-align:left;padding:12px;white-space:normal}
}
@media(min-width:701px) and (max-width:900px){
 body.ev-desktop-catalog .intro h1{font-size:28px}
 body.ev-desktop-catalog .intro>div:first-child{width:70%}
 body.ev-desktop-catalog .searchbar{width:68%}
}
@media(max-width:700px){
 body.ev-mobile-home .ev-menu-panel:not([hidden]){max-height:calc(100dvh - 150px);overflow-y:auto;max-width:calc(100vw - 36px);z-index:35}
}
@media(prefers-reduced-motion:reduce){.selected-chip button{transition:none}}

/* Home: the single existing search belongs to the panoramic hero on desktop. */
@media(min-width:701px){
 body.ev-desktop-catalog .intro{flex-direction:column;justify-content:flex-start;gap:0;padding-bottom:24px}
 body.ev-desktop-catalog .intro .searchbar{flex:none;width:52%;max-width:680px;min-height:54px;margin:18px 0 0;color:#173d30}
 body.ev-desktop-catalog .intro .searchbar>span{color:#007952}
}
@media(min-width:701px) and (max-width:900px){
 body.ev-desktop-catalog .intro .searchbar{width:68%}
}
