/* Header refinements: smaller logo, clearer navigation and dealer action. */
.nyc-design .nyc-header .nyc-logo img{width:81px;height:45.36px;max-height:45.36px}
.nyc-design .nm-menu-header .nyc-logo img{width:64.8px;height:35.64px;max-height:35.64px}
.nyc-header .nyc-main-nav summary{display:flex;align-items:center;gap:8px;list-style:none}
.nyc-header .nyc-main-nav summary::after{content:none}
.nyc-header .nyc-main-nav summary::-webkit-details-marker{display:none}
.nyc-nav-chevron{display:block;flex:none;width:16px;height:16px;transition:transform .15s ease}
.nyc-main-nav details[open] .nyc-nav-chevron{transform:rotate(180deg)}
.nyc-header .nyc-main-nav summary:focus-visible{outline:3px solid #4d9af0;outline-offset:4px;border-radius:6px}
.nyc-header .nyc-dealer-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:46px;padding:12px 22px;border:1px solid var(--nyc-blue);border-radius:999px;background:var(--nyc-blue);color:#fff;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;transition:background-color .15s,border-color .15s}
.nyc-header .nyc-dealer-link:hover{background:#064591;border-color:#064591;color:#fff}
@media(min-width:1001px){
 .nyc-design .nyc-header-inner{gap:24px}
 .nyc-header .nyc-main-nav{flex-shrink:0}
 .nyc-header .nyc-main-nav>ul{gap:24px;flex-wrap:nowrap;align-items:center}
 .nyc-design .nyc-main-nav>ul>li>a,.nyc-design .nyc-main-nav summary{display:flex;align-items:center;min-height:46px;font-size:16px;font-weight:550;line-height:1.4;letter-spacing:-.015em}
 .nyc-main-nav details[open]>summary{color:var(--nyc-blue)}
 .nyc-header .nyc-main-nav details>div{top:calc(100% + 8px);left:-16px;min-width:220px;padding:8px;border:1px solid #e1e7ee;border-radius:16px;box-shadow:0 12px 32px #14243b14}
 .nyc-design .nyc-main-nav details>div a{display:flex;align-items:center;min-height:44px;padding:11px 14px;border-radius:9px;color:#253341;font-size:15px;font-weight:500;line-height:1.4}
 .nyc-main-nav details>div a:hover,.nyc-main-nav details>div a:focus-visible{background:#edf4fb;color:var(--nyc-blue)}
 .nyc-header .nyc-vehicle-link{min-height:46px;flex-shrink:0}
}
@media(min-width:1001px) and (max-width:1200px){
 .nyc-design .nyc-header-inner{gap:16px}
 .nyc-header .nyc-main-nav>ul{gap:16px}
 .nyc-design .nyc-main-nav>ul>li>a,.nyc-design .nyc-main-nav summary{font-size:15px}
 .nyc-header .nyc-dealer-link{font-size:13px;padding:12px 18px}
 .nyc-header .nyc-vehicle-link{font-size:12px;padding:12px}
}
@media(max-width:700px){.nyc-design .nyc-header .nyc-logo img{width:66.42px;height:37.26px;max-height:37.26px}.nyc-header .nyc-dealer-link{display:none}}
@media(max-width:359px){.nyc-design .nm-menu-header .nyc-logo img{width:56.7px}}
@media(prefers-reduced-motion:reduce){.nyc-nav-chevron,.nyc-header .nyc-dealer-link{transition:none}}

/* Vehicle names can shrink; the logo, icon and menu controls never do. */
.nyc-header .nyc-vehicle-link,.nm-menu-header .nyc-vehicle-link{min-width:0;max-width:320px;flex:0 1 auto;min-height:44px;text-decoration:none}
.nyc-vehicle-link>svg{flex:0 0 20px}
.nyc-vehicle-link>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nyc-header .nyc-vehicle-link.has-vehicle,.nm-menu-header .nyc-vehicle-link.has-vehicle{color:#0756b5;border-color:#c9ddf3;background:#edf4fb;font-size:14px}
.nm-menu-header .nyc-vehicle-link{max-width:100%}
@media(max-width:1000px){
 .nyc-design.nm-nav-ready .nyc-header .nyc-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto 44px;flex-wrap:nowrap}
 .nyc-design.nm-nav-ready .nyc-header .nyc-logo{margin:0}
 .nyc-header .nyc-vehicle-link{justify-self:end;max-width:100%;width:fit-content}
 .nyc-header .nyc-menu-toggle{flex:none}
}
@media(max-width:700px){
 .nyc-design.nm-nav-ready .nyc-header .nyc-header-inner{grid-template-columns:auto minmax(0,1fr) 44px}
 .nyc-vehicle-link>svg{flex-basis:18px}
 .nyc-header .nyc-vehicle-link{font-size:12px}
}
@media(max-width:359px){
 .nyc-design.nm-nav-ready .nyc-header .nyc-header-inner{column-gap:8px}
 .nyc-header .nyc-vehicle-link:not(.has-vehicle){padding-inline:8px}
}

/* Keep the mobile vehicle label stable before and after selection. */
@media(max-width:700px){.nyc-header .nyc-vehicle-link,.nyc-header .nyc-vehicle-link.has-vehicle,.nm-menu-header .nyc-vehicle-link,.nm-menu-header .nyc-vehicle-link.has-vehicle{font-size:12px}}
