@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap");
/* Shared Carniia typography, controls and page header. */
:root{--vl-blue:#0846ad;--vl-text:#173252;--vl-muted:#526780;--vl-border:#cbd8e9;--vl-font:"DM Sans","Noto Sans Tamil",Arial,sans-serif}
body,button,input,select,textarea{font-family:var(--vl-font)}
body{font-size:16px;line-height:1.5}
h1,h2,h3,h4{font-family:var(--vl-font);line-height:1.25;letter-spacing:-.02em}
p{line-height:1.6}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
body .registration h1{font-size:30px;text-transform:none}body .registration h2{font-size:24px}
body .registration-field,body .registration-fields label{font-size:14px;line-height:1.5;color:var(--vl-text)}
body .registration-field small,body .registration-hint,body .registration>p,body .registration form>p{font-size:14px;line-height:1.6;color:var(--vl-muted)}
body input:not([type=radio]):not([type=checkbox]):not([type=file]),body select,body textarea{font-family:var(--vl-font);font-size:16px}
body .page-button,body .details-button,body .filter-chip,body .text-button,.registration button,.admin-shell button{font-family:var(--vl-font);font-size:14px;font-weight:600;line-height:1.4;border-radius:8px;min-height:40px;padding:9px 14px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #286bd1;outline-offset:3px}
body .vl-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;min-height:88px;height:auto;padding:14px 5%;background:white;color:var(--vl-text);border-bottom:1px solid #dfe7f1}
body .vl-header .brand-logo,body .vl-header>a>img{width:160px;height:auto;max-height:60px;object-fit:contain}
body .vl-header .brand{flex-shrink:0}body .vl-header .header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body .vl-header .site-language-switch,body .vl-header .language-switch{display:flex;align-items:center;gap:4px;padding:4px;background:#f0f4fa;border-radius:8px;order:5}
body .vl-header [data-language],body .vl-header [data-lang]{font-size:14px;min-height:36px;padding:6px 10px;border-radius:6px}
#search-results .vehicle-facts li{font-size:14px;line-height:1.4}
#search-results .card-ask-bot,#search-results .vs-compare{font-size:13px;font-weight:700;min-height:32px}
#search-results .vehicle-facts-row{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) auto;gap:6px}
#search-results .results-top #results-heading,#search-results .results-top #all-locations,#search-results .results-top #results-request-car{font-size:14px;line-height:1.4;padding:8px 12px;min-height:36px}
#allow-location-help,.similar-caption .similar-year{font-size:13px;color:var(--vl-muted)}
.location-toggle-row{font-size:14px}.search-intro p,.connection-note p,.search-notice{font-size:14px}
#search-results .request-location,.results-location{font-size:14px;display:inline-flex;align-items:center;gap:6px;color:var(--vl-blue);background:transparent;border:1px solid var(--vl-border);border-radius:8px;padding:7px 10px;min-height:36px}
.results-location svg{width:18px;height:18px;flex:none}
@media(max-width:760px){body .vl-header{gap:10px;padding:12px 4%}body .vl-header .brand-logo,body .vl-header>a>img{width:130px}#search-results .vehicle-facts-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#search-results .card-compare-slot{grid-area:4/1}#search-results .card-ask-bot{grid-area:4/2;justify-self:end}body .registration h1{font-size:26px}}

body .registration>.page-button{display:inline-flex;align-items:center;margin:0 8px 12px 0}
.results-location[hidden]{display:none!important}
body .vl-header nav{display:flex;gap:12px;flex-wrap:wrap;font-size:14px}
body .network button,body .network label{font-size:14px}
html[lang=ta] .vehicle-heading-row{flex-wrap:wrap}

.registration-types{min-inline-size:0;flex-wrap:wrap;gap:12px 20px}.registration-types label{min-width:0;overflow-wrap:anywhere}

.push-sell-wrap{display:flex;flex-direction:column;align-items:center;gap:9px}
.hero .sell-car-link.push-sell{display:flex;align-items:center;justify-content:center;width:112px;height:112px;min-height:112px;padding:9px;border:1px solid #909ba5;border-radius:50%;background:conic-gradient(from 30deg,#f9fbfd,#a5afb8,#f9fbfd,#c5ccd2,#fff,#9ca6af,#f9fbfd);box-shadow:0 5px 10px #17325230,inset 0 0 0 2px #f8fafc,inset 0 0 0 5px #b0bac3;color:#173252;text-decoration:none;animation:none;transition:transform .15s,box-shadow .15s}
.push-sell-face{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;border:2px solid #8e99a3;border-radius:50%;background:linear-gradient(135deg,#fff,#d5dce2 55%,#b6c0c9);box-shadow:inset 1px 2px 4px #fff,inset -1px -2px 5px #72808d70}
.push-sell-light{width:23px;height:5px;border-radius:9px;background:#0846ad;box-shadow:0 0 4px #397dd488}
.push-sell-text{max-width:70px;text-align:center;font-size:16px;font-weight:700;line-height:1.15;text-transform:uppercase;letter-spacing:.02em}
.hero .push-sell-wrap .push-sell-caption{font-size:14px;font-weight:600;color:#173252;text-align:center;margin:0;line-height:1.4}
.hero .sell-car-link.push-sell:hover{box-shadow:0 6px 14px #17325245,inset 0 0 0 2px white}
.hero .sell-car-link.push-sell:active{transform:translateY(2px);box-shadow:0 1px 4px #17325240}
@media(max-width:600px){.hero .hero-vehicles{padding-bottom:170px}}

/* Centre the sell action beneath the two mode switches. */
.hero .hero-vehicles .sell-car-invitation{width:282px}
.hero .push-sell-wrap{width:100%}
.hero .push-sell-wrap .push-sell-caption{font-weight:800}
@media(max-width:1000px){.hero .hero-vehicles .sell-car-invitation{width:246px}}

.hero .sell-car-invitation .ev-mode-control{transform:translateY(1cm)}

.hero .push-sell-wrap .push-sell-caption{font-size:25.5px;font-weight:900;color:#0846ad}

.hero .hero-vehicles .sell-car-invitation .push-sell-caption{font-size:clamp(16px,1.6vw,24px);font-weight:700;line-height:1.25;color:#0846ad;letter-spacing:-.5px;margin:0}
@media(max-width:600px){.hero .hero-vehicles .sell-car-invitation .push-sell-caption{font-size:16px}}

/* Compact hero image and 30% smaller mode switches. */
html body main section.hero .hero-vehicles img.lineup{height:170px!important;max-height:170px!important;min-height:0!important;object-fit:contain}
.hero .sell-car-invitation .ev-metal-switch{width:67px;height:24.64px}
.hero .sell-car-invitation .ev-switch-knob{width:29.26px;height:29.26px;top:-3.47px;left:-1.93px}
.hero .sell-car-invitation .ev-metal-switch[aria-checked=true] .ev-switch-knob{left:38.12px}
.hero .sell-car-invitation .ev-switch-word{font-size:9px;right:9.24px}
.hero .sell-car-invitation .ev-metal-switch[aria-checked=true] .ev-switch-word{left:9.63px;right:auto}
.hero .sell-car-invitation .ev-metal-switch:after{inset:-11px -5px}
@media(max-width:600px){html body main section.hero .hero-vehicles img.lineup{height:130px!important;max-height:130px!important}}

/* Feather premium artwork into the hero, including its reflected floor. */
html body.premium-page main section.hero .hero-vehicles img.lineup{width:min(100%,510px);border:0;box-shadow:none;background:transparent;mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 16%,#000 72%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 16%,#000 72%,transparent);-webkit-mask-composite:source-in}
@media(max-width:600px){html body.premium-page main section.hero .hero-vehicles img.lineup{width:min(100%,390px)}}

/* Premium hero refinements. */
html body.premium-page main section.hero .hero-vehicles img.lineup{width:min(100%,663px);height:221px!important;max-height:221px!important}
body.premium-page .hero .sell-car-link.push-sell{background:conic-gradient(from 15deg,#c58c83,#ffe3d4,#ae6f6d,#f1c3b2,#cd9388,#ffe8da,#c58c83);border-color:#f0c9bb;box-shadow:0 5px 10px #0005,inset 0 0 0 2px #f8d8cc,inset 0 0 0 5px #ba807b;color:#211210}
body.premium-page .push-sell-face{background:var(--premium-gold);border-color:#ba807b;box-shadow:inset 1px 2px 4px #ffe3d4,inset -1px -2px 5px #ae6f6d70}
body.premium-page .push-sell-light{background:#7b3e37;box-shadow:0 0 5px #f1c3b280}
body.premium-page .hero .hero-vehicles .sell-car-invitation .push-sell-caption{color:#e7b6a7}
.hero .sell-car-invitation .ev-mode-control{transform:translateY(2cm)}
@media(max-width:600px){html body.premium-page main section.hero .hero-vehicles img.lineup{width:min(100%,507px);height:169px!important;max-height:169px!important}}

/* Keep the search background fitted to the input, not the taller location panel. */
#vehicle-search .search-network-row .single-search{align-self:flex-start;height:auto;min-height:0}

/* Tighter search controls and shorter location hint. */
#vehicle-search .network-location-controls{gap:4px}
#vehicle-search #allow-location-help{font-size:12px;line-height:1.3;margin:0}
#vehicle-search .network-search-launch{padding-top:0;padding-bottom:4px}
#vehicle-search .vehicle-navigation-row{margin-bottom:10px}
.hero .hero-vehicles .sell-car-invitation .push-sell-caption{font-size:clamp(12px,1.2vw,18px)}
@media(max-width:600px){.hero .hero-vehicles .sell-car-invitation .push-sell-caption{font-size:12px}}

/* Sell button scaled down by 25%, including its face details. */
.hero .sell-car-link.push-sell{width:84px;height:84px;min-height:84px;padding:6.75px}
.push-sell-text{font-size:12px;max-width:52.5px}
.push-sell-face{gap:6.75px}
.push-sell-light{width:17.25px;height:3.75px}

/* Folder-style category strip aligned with the search field. */
.hero .hero-bottom{display:none}
#vehicle-search .vehicle-category-group{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:0 18px;align-content:start}
#vehicle-search .vehicle-category-group #search-heading{grid-column:1/-1;margin:0 0 12px;align-self:start}
#vehicle-search .vehicle-category-group .search-network-row{display:contents}
#vehicle-search .vehicle-category-group .types{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:56px;min-height:56px;margin:0;border-radius:14px 0 0 0;clip-path:polygon(0 0,calc(100% - 32px) 0,100% 100%,0 100%);padding:0 24px 0 0;gap:1px;border-bottom:0}
#vehicle-search .vehicle-category-group .types label{min-width:0}
#vehicle-search .vehicle-category-group .types .vehicle-tab{font-size:13px;padding:5px 2px;min-height:54px}
#vehicle-search .vehicle-category-group .types label:last-child .vehicle-tab{padding-right:8px}
#vehicle-search .vehicle-category-group .single-search{grid-column:1;grid-row:3;width:100%;margin:0;border-radius:0 0 12px 12px}
#vehicle-search .vehicle-category-group .single-search input{border-radius:0 0 12px 12px}
#vehicle-search .network-location-controls{grid-column:2;grid-row:2/4;align-self:center}
body.premium-page #vehicle-search .vehicle-category-group .types{grid-template-columns:1fr}
@media(max-width:700px){#vehicle-search .vehicle-category-group{grid-template-columns:minmax(0,1fr)}#vehicle-search .network-location-controls{grid-column:1;grid-row:4;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-top:12px}#vehicle-search .network-search-launch{flex-direction:row;border-left:0;padding:0}#vehicle-search #allow-location-help{width:100%;text-align:right}#vehicle-search .vehicle-category-group .types label{flex:none}#vehicle-search .vehicle-category-group .types{overflow:hidden}}
/* Folder silhouette belongs to the panel; category tabs remain rounded. */
#vehicle-search .vehicle-category-group .types{clip-path:none;border:1px solid #d7e0e8;border-radius:14px;padding:0;gap:2px}
#vehicle-search .vehicle-category-group .types label:last-child .vehicle-tab{padding-right:2px}
#vehicle-search .vehicle-category-group .single-search{margin-top:8px;border-radius:12px}
#vehicle-search .vehicle-category-group .single-search input{border-radius:12px}
@media(min-width:1001px){
 #vehicle-search{position:relative;isolation:isolate;overflow:visible;background:transparent!important;border:0;box-shadow:none}
 #vehicle-search:before{content:'';position:absolute;inset:-48px 0 0;z-index:-1;pointer-events:none;background:#fff;border-radius:18px;clip-path:polygon(0 0,53% 0,64% 48px,100% 48px,100% 100%,0 100%);filter:drop-shadow(0 0 1px #b7c9e1)}
 #vehicle-search .vehicle-category-group{transform:translateY(-40px);margin-bottom:-40px}
 body.premium-page #vehicle-search:before{background:var(--premium-gold)}
 body.ev-page:not(.premium-page) #vehicle-search:before{background:#f6fff8}
}
/* Inline network/location tools use the space already below search. */
#vehicle-search .network-location-controls{grid-column:1;grid-row:4;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:12px;margin:8px 0 0;align-self:start}
#vehicle-search .network-search-launch{flex-direction:row;gap:6px;border:0;padding:0;background:transparent;min-height:28px}
#vehicle-search .network-search-launch svg{width:20px;height:20px}
#vehicle-search .network-search-launch strong{font-size:13px;white-space:nowrap}
#vehicle-search .network-search-launch small{display:none}
#vehicle-search .location-toggle-row{font-size:13px;gap:10px;white-space:nowrap}
#vehicle-search .location-toggle-row:before{content:'|';color:#8291a5;font-weight:400;margin-right:2px}
#vehicle-search #allow-location-help{display:none}
@media(max-width:700px){#vehicle-search .network-location-controls{gap:8px}#vehicle-search .location-toggle-row{gap:7px}#vehicle-search .network-search-launch strong,#vehicle-search .location-toggle-row{font-size:12px}}

#vehicle-search .network-location-controls{justify-content:center;width:100%}

/* Sell action occupies the existing space between search and advertisement. */
#vehicle-search .vehicle-category-group>.push-sell-wrap{grid-column:2;grid-row:2/5;align-self:center;justify-self:center;width:100%;gap:8px}
#vehicle-search .sell-car-link.push-sell{display:flex;align-items:center;justify-content:center;width:84px;height:84px;min-height:84px;padding:6.75px;border:1px solid #909ba5;border-radius:50%;background:conic-gradient(from 30deg,#f9fbfd,#a5afb8,#f9fbfd,#c5ccd2,#fff,#9ca6af,#f9fbfd);box-shadow:0 5px 10px #17325230,inset 0 0 0 2px #f8fafc,inset 0 0 0 5px #b0bac3;color:#173252;text-decoration:none}
#vehicle-search .push-sell-caption{font-size:16px;font-weight:700;color:#0846ad;text-align:center;line-height:1.25;margin:0;max-width:200px}
body.premium-page #vehicle-search .push-sell{background:var(--premium-gold);border-color:#f0c9bb;color:#211210}
body.premium-page #vehicle-search .push-sell-caption{color:#211210}
.hero .hero-vehicles .sell-car-invitation{height:139px;pointer-events:none}
.hero .hero-vehicles .sell-car-invitation .ev-mode-control{pointer-events:auto}
@media(max-width:700px){#vehicle-search .vehicle-category-group>.push-sell-wrap{grid-column:1;grid-row:5;flex-direction:row;justify-content:center;margin-top:10px}#vehicle-search .push-sell-caption{max-width:160px}.hero .hero-vehicles .sell-car-invitation{height:120px}}

/* Advertisement beneath mode switches; sell action beside the wider search. */
.hero .sell-car-invitation .vehicle-advertisement{height:130px;width:100%;border-radius:12px;background:#0846ad;color:white;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:5px;pointer-events:auto;overflow:hidden;text-align:left}
.hero .vehicle-advertisement .advertisement-label{font-size:10px;letter-spacing:1px}.hero .vehicle-advertisement strong{font-size:17px}.hero .vehicle-advertisement p{color:inherit;font-size:13px;margin:0}
#vehicle-search .vehicle-navigation-row{grid-template-columns:minmax(0,2.6fr) minmax(240px,1fr)}
#vehicle-search .vehicle-category-group{grid-template-columns:minmax(0,1fr) 74px}
#vehicle-search .vehicle-navigation-row>.push-sell-wrap{align-self:center;justify-self:center;width:100%;gap:10px}
@media(max-width:1000px){#vehicle-search .vehicle-navigation-row{grid-template-columns:minmax(0,1fr) 160px}#vehicle-search .vehicle-category-group{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){#vehicle-search .vehicle-navigation-row{grid-template-columns:1fr}#vehicle-search .vehicle-navigation-row>.push-sell-wrap{flex-direction:row;margin-top:10px}.hero .sell-car-invitation .vehicle-advertisement{height:120px}}

/* Mode switches grouped above the sell action. */
#vehicle-search .sell-mode-row{display:flex;justify-content:center;align-items:center;gap:28px;width:100%;margin-bottom:12px}
#vehicle-search .sell-mode-row .ev-mode-control{position:static;transform:none;color:#183451;gap:7px;font-size:13px}
#vehicle-search .sell-mode-row .ev-metal-switch{width:67px;height:24.64px;min-height:0;padding:0}
#vehicle-search .sell-mode-row .ev-switch-knob{width:29.26px;height:29.26px;top:-3.47px;left:-1.93px}
#vehicle-search .sell-mode-row .ev-metal-switch[aria-checked=true] .ev-switch-knob{left:38.12px}
#vehicle-search .sell-mode-row .ev-switch-word{font-size:9px;right:9.24px}
#vehicle-search .sell-mode-row .ev-metal-switch[aria-checked=true] .ev-switch-word{left:9.63px;right:auto}
#vehicle-search .sell-mode-row .ev-metal-switch:after{inset:-11px -5px}
.hero .hero-vehicles .sell-car-invitation{height:210px}
.hero .sell-car-invitation .vehicle-advertisement{height:210px}
#vehicle-search .vehicle-navigation-row>.push-sell-wrap{flex-direction:column}
@media(max-width:1000px){#vehicle-search .sell-mode-row{gap:18px}}

/* Temporarily hide homepage advertisements across all modes. */
body .hero .sell-car-invitation .vehicle-advertisement{display:none!important}

/* Premium keeps one regular-sized, rounded category tab. */
body.premium-page #vehicle-search .vehicle-category-group .types{width:calc((100% - 6px)/4);min-width:75px;justify-self:start;grid-template-columns:1fr;border-radius:14px;overflow:hidden}
body.premium-page #vehicle-search .vehicle-category-group .types .vehicle-tab{border-radius:12px;height:54px;min-height:54px}

/* Shared numerical count badges, including premium pages. */
body .dealer-count,body .count-badge,body .vehicle-views,body .vs-actions button span{background:#0846ad!important;color:#fff!important;border:0!important;border-radius:999px;padding:3px 8px;min-width:24px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;line-height:1.4;text-shadow:none}
.inventory-tabs .count-badge,#status-tabs .count-badge{margin-left:6px}
.inventory-metrics article:first-child strong,.inventory-metrics article:last-child strong{background:#0846ad;color:white;border-radius:12px;padding:4px 12px;width:fit-content}

body.dealer-account-home .vehicle-advertisement,body.dealer-account-home .push-sell-wrap,body.dealer-account-home .ev-mode-control,body.dealer-account-home .banner-lights{display:none!important}
body.dealer-account-home #vehicle-search .vehicle-navigation-row{grid-template-columns:1fr}
html body.dealer-account-home main section.hero .hero-vehicles img.lineup{width:min(100%,720px);height:240px!important;max-height:240px!important;object-fit:contain;mask-image:none;-webkit-mask-image:none}
@media(max-width:600px){html body.dealer-account-home main section.hero .hero-vehicles img.lineup{height:170px!important;max-height:170px!important}}

/* Reserve space for the raised folder edge below Home. */
body.search-mode .search-home{position:relative;z-index:2}
@media(min-width:1001px){body.search-mode .search-home{margin-bottom:64px}}

/* Compact edge-to-edge Premium customer hero, leaving search visible on load. */
html body.premium-page:not(.dealer-account-home) main section.hero{padding-left:0;padding-right:0;height:auto;max-height:none}
html body.premium-page:not(.dealer-account-home) main section.hero .hero-vehicles{width:100%;max-width:none}
html body.premium-page:not(.dealer-account-home) main section.hero .hero-vehicles img.lineup{display:block;width:100%;max-width:none;height:clamp(160px,26vh,240px)!important;max-height:240px!important;min-height:0!important;margin:0;object-fit:cover;object-position:center 60%;mask-image:none;-webkit-mask-image:none}

/* Premium inventory is always enabled; EV is the only customer mode switch. */
#vehicle-search .push-sell-wrap .sell-mode-row{margin:6px 0 0}
