/* Dealer search uses the catalog grid and realty-style option panels. */
html body .dealer-page{--dc-bg:#fff;--dc-ink:#24272c;--dc-line:#dedfe2;--dc-surface:#f7f7f7}
html[data-theme=dark] body .dealer-page,html[data-ninfo-theme=dark] body .dealer-page{--dc-bg:#252a31;--dc-ink:#eceff4;--dc-line:#414852;--dc-surface:#20242a}
html body .dealer-page .dealer-filter--compact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px;margin:22px 0 16px;border:1px solid var(--dc-line);border-radius:14px;background:var(--dc-surface);align-items:center}
html body .dealer-page select[data-dc-enhanced][hidden]{display:none!important}
html body .dealer-page .dealer-filter select,html body .dealer-page .dc-select-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;height:46px;min-height:46px;margin:0;padding:0 12px;border:1px solid var(--dc-line);border-radius:14px;background:var(--dc-bg);color:var(--dc-ink);font:14px/1.35 Arial,sans-serif;font-weight:400;text-align:left;cursor:pointer;grid-column:auto;grid-row:auto}
html body .dealer-page .dc-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
html body .dealer-page .dc-select-trigger>svg{flex:none;color:#858c95}
html body .dealer-page .dc-select-trigger:hover,html body .dealer-page .dc-select-trigger[aria-expanded=true]{border-color:#ff8a38}
html body .dealer-page .dc-select-trigger:focus-visible,html body .dealer-page .dealer-filter__actions a:focus-visible{outline:2px solid #ff7900;outline-offset:3px}
html body .dealer-page .dealer-filter__actions{grid-column:span 2;display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0}
html body .dealer-page .dealer-filter__actions a{color:#687078;font-size:14px;text-decoration:none;white-space:nowrap}
html body .dealer-page .dealer-filter__actions a:hover{color:#ec7100}
html body .dealer-page .dealer-filter__actions>button{box-sizing:border-box;min-width:150px;height:46px;min-height:46px;padding:0 28px;border:0;border-radius:14px;background:#f36b21;color:#fff;font:600 14px/1.35 Arial,sans-serif;cursor:pointer}
html body .dealer-page .dealer-filter__actions>button:hover{background:#e85f18}
html body .dealer-page .dealer-results-head .dc-select-trigger{width:240px;max-width:100%;flex:0 1 240px;height:42px;min-height:42px}
html[data-theme=dark] .dealer-page .dealer-filter__actions a{color:#b8bec7}
@media(max-width:600px){html body .dealer-page .dealer-filter--compact{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:7px}html body .dealer-page .dealer-filter__actions{grid-column:1/-1;margin-top:3px}html body .dealer-page .dealer-filter__actions>button{flex:1;min-width:0}html body .dealer-page .dealer-filter select,html body .dealer-page .dealer-filter .dc-select-trigger{height:43px;min-height:43px;font-size:13px;padding:0 10px}html body .dealer-page .dealer-results-head{gap:10px}html body .dealer-page .dealer-results-head .dc-select-trigger{width:100%;flex:1 1 100%}}
.dc-options-panel{position:fixed;z-index:10010;box-sizing:border-box;display:flex;flex-direction:column;padding:6px;border:1px solid #dedfe2;border-radius:14px;background:#fff;color:#24272c;box-shadow:0 12px 36px #16203224;overflow:hidden}
.dc-options-panel>[data-dc-options]{overflow-y:auto;min-height:0;overscroll-behavior:contain}.dc-options-panel button{box-sizing:border-box;display:flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;margin:0;border:0;border-radius:8px;background:transparent;color:inherit;font:14px/1.4 Arial,sans-serif;text-align:left;cursor:pointer}.dc-options-panel button:hover{background:#f5f6f7}.dc-options-panel button[aria-selected=true]{background:#fff1e6;color:#e76b00;font-weight:600}.dc-options-panel button[aria-selected=true]:after{content:'✓';flex:none}.dc-options-panel button:focus-visible{outline:2px solid #ff7900;outline-offset:-2px}.dc-options-panel>input{box-sizing:border-box;flex:none;width:calc(100% - 8px);height:38px;margin:4px 4px 8px;padding:0 10px;border:1px solid #dedfe2;border-radius:12px;background:#f6f7f8;color:inherit;font:16px Arial,sans-serif}.dc-options-panel p{padding:10px;font-size:13px;color:#777}
html[data-theme=dark] .dc-options-panel,html[data-ninfo-theme=dark] .dc-options-panel{background:#252a31;border-color:#414852;color:#eceff4}html[data-theme=dark] .dc-options-panel button:hover,html[data-ninfo-theme=dark] .dc-options-panel button:hover{background:#343b45}html[data-theme=dark] .dc-options-panel button[aria-selected=true],html[data-ninfo-theme=dark] .dc-options-panel button[aria-selected=true]{background:#493326;color:#ffac69}html[data-theme=dark] .dc-options-panel>input,html[data-ninfo-theme=dark] .dc-options-panel>input{background:#343b45;border-color:#414852}

/* Keep search results below the sticky header after GET navigation. */
html body .dealer-page #dealer-search{scroll-margin-top:12px}

/* Match the same responsive container used by the dealer content. */
html body .content-box:has(.dealer-page .dealer-hero)>.breadcrumb>ul{box-sizing:border-box;width:min(var(--ni-content-max,1350px),calc(100% - var(--ni-content-gutter,32px)*2));margin-inline:auto;padding-inline:0}
