/* Shared public action finish; photo controls retain their own glass treatment. */
body :is(.ncb-vbutton,.ncb-details,.ncb-search-btn,.ncb-hero__all,.ncb-quick-contact a,.ncb-pagination a,.ncb-pagination .current,.cfsm-button,.cfsm-more-button,.elementor-button,.listing-item .btn-readmore,.ndovu-wa-fab,.ndovu-wa-chat-button,.add-fix-top,.compare-actions .btn,.compare-sidebar-btn,.btn-action-icon){
    --ncb-glass-tint:rgba(0,63,174,.09);
    --ncb-glass-hover:rgba(0,63,174,.14);
    --ncb-glass-edge:rgba(0,63,174,.22);
    --ncb-glass-ink:#00398f;
    background:linear-gradient(135deg,rgba(255,255,255,.32),rgba(255,255,255,.08)),var(--ncb-glass-tint)!important;
    border:1px solid var(--ncb-glass-edge)!important;
    color:var(--ncb-glass-ink)!important;
    -webkit-backdrop-filter:blur(14px) saturate(140%);
    backdrop-filter:blur(14px) saturate(140%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 5px 14px rgba(8,20,38,.05)!important;
    filter:none!important;
    text-decoration:none;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body :is(.ncb-vbutton,.ncb-details,.ncb-search-btn,.ncb-hero__all,.ncb-quick-contact a,.ncb-pagination a,.cfsm-button,.cfsm-more-button,.elementor-button,.listing-item .btn-readmore,.ndovu-wa-fab,.ndovu-wa-chat-button,.add-fix-top,.compare-actions .btn,.compare-sidebar-btn,.btn-action-icon):hover{
    background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.04)),var(--ncb-glass-hover)!important;
    color:var(--ncb-glass-ink)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 6px 18px rgba(8,20,38,.08)!important;
}
body :is(.ncb-quick-contact .ncb-action-whatsapp,.ndovu-wa-fab,.ndovu-wa-chat-button){
    --ncb-glass-tint:rgba(37,211,102,.12);
    --ncb-glass-hover:rgba(37,211,102,.19);
    --ncb-glass-edge:rgba(17,128,63,.26);
    --ncb-glass-ink:#075e2c;
}
body .ncb-pagination .current{--ncb-glass-tint:rgba(0,63,174,.18);font-weight:800}
body .listing-item .btn-readmore{border-radius:10px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
body :is(.ncb-vbutton,.ncb-details,.ncb-search-btn,.ncb-hero__all,.ncb-quick-contact a,.ncb-pagination a,.cfsm-button,.cfsm-more-button,.elementor-button,.listing-item .btn-readmore,.ndovu-wa-fab,.ndovu-wa-chat-button,.add-fix-top,.compare-actions .btn,.compare-sidebar-btn,.btn-action-icon):focus-visible{outline:3px solid #4a86e9!important;outline-offset:3px}
body :is(.ncb-vbutton,.ncb-search-btn,.cfsm-button):disabled{opacity:.6;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){body :is(.ncb-vbutton,.ncb-details,.ncb-search-btn,.ncb-hero__all,.ncb-quick-contact a,.ncb-pagination a,.cfsm-button,.cfsm-more-button,.elementor-button,.listing-item .btn-readmore,.ndovu-wa-fab,.ndovu-wa-chat-button,.add-fix-top,.compare-actions .btn,.compare-sidebar-btn,.btn-action-icon){transition:none}}

/* The header has a dark surface, so its glass action uses a light label. */
body .cfsm-header .cfsm-button{--ncb-glass-tint:rgba(255,255,255,.09);--ncb-glass-hover:rgba(255,255,255,.14);--ncb-glass-edge:rgba(255,255,255,.3);--ncb-glass-ink:#fff}

body .compare-actions .btn-danger{--ncb-glass-tint:rgba(192,36,52,.09);--ncb-glass-hover:rgba(192,36,52,.14);--ncb-glass-edge:rgba(192,36,52,.24);--ncb-glass-ink:#9e2034}

/* Finder toggle retains the same comfortable pill in both expansion states. */
body .cfsm-more-button{display:inline-flex;align-items:center;justify-content:center;min-width:148px;min-height:44px;padding:9px 16px;border-radius:999px;line-height:1.3;white-space:nowrap;flex-shrink:0}
body .cfsm-finder-bottom{align-items:center;gap:12px;margin-top:12px}
/* Each badge type has its own palette and original readable label. */
body :is(.ncb-vehicle-badges>*,.ncb-badge,.nch-badge,.ncb-factual-chip,.status-property-label){--ncb-badge-bg:#52617b;--ncb-badge-ink:#fff;--ncb-badge-edge:#52617b}
body :is(.ncb-badge-tone--available,.nch-badge-tone--available,.status-property-label[href$="/vehicle-label/available/"]){--ncb-badge-bg:#16a34a;--ncb-badge-ink:#fff;--ncb-badge-edge:#16a34a}
body :is(.ncb-badge-tone--import,.nch-badge-tone--import,.status-property-label[href$="/vehicle-label/import/"]){--ncb-badge-bg:#ff9900;--ncb-badge-ink:#fff;--ncb-badge-edge:#ff9900}
body :is(.ncb-badge-tone--sold,.nch-badge-tone--sold,.status-property-label[href$="/vehicle-label/sold/"]){--ncb-badge-bg:#ef3340;--ncb-badge-ink:#fff;--ncb-badge-edge:#ef3340}
body :is(.ncb-badge-tone--unavailable,.nch-badge-tone--unavailable,.status-property-label[href$="/vehicle-label/unavailable/"]){--ncb-badge-bg:#64748b;--ncb-badge-ink:#fff;--ncb-badge-edge:#64748b}
body :is(.ncb-badge-tone--new,.nch-badge-tone--new,.status-property-label[href$="/vehicle-label/new/"]){--ncb-badge-bg:#e11d9a;--ncb-badge-ink:#fff;--ncb-badge-edge:#e11d9a}
body :is(.ncb-badge-tone--certified-pre-owned,.nch-badge-tone--certified-pre-owned,.status-property-label[href$="/vehicle-label/certified-pre-owned/"]){--ncb-badge-bg:#d4a600;--ncb-badge-ink:#fff;--ncb-badge-edge:#d4a600}
body :is(.ncb-badge-tone--foreign-used,.nch-badge-tone--foreign-used,.status-property-label[href$="/vehicle-label/foreign-used/"]){--ncb-badge-bg:#2563eb;--ncb-badge-ink:#fff;--ncb-badge-edge:#2563eb}
body :is(.ncb-badge-tone--kenyan-used,.nch-badge-tone--kenyan-used,.status-property-label[href$="/vehicle-label/kenyan-used/"]){--ncb-badge-bg:#9f1239;--ncb-badge-ink:#fff;--ncb-badge-edge:#9f1239}
body :is(.ncb-badge-tone--local-used,.nch-badge-tone--local-used,.status-property-label[href$="/vehicle-label/local-used/"]){--ncb-badge-bg:#152238;--ncb-badge-ink:#fff;--ncb-badge-edge:#152238}
body :is(.ncb-badge-tone--local,.nch-badge-tone--local,.status-property-label[href$="/vehicle-label/local/"]){--ncb-badge-bg:#a16207;--ncb-badge-ink:#fff;--ncb-badge-edge:#a16207}
body :is(.ncb-badge-tone--international,.nch-badge-tone--international,.status-property-label[href$="/vehicle-label/international/"]){--ncb-badge-bg:#0097a7;--ncb-badge-ink:#fff;--ncb-badge-edge:#0097a7}
body :is(.ncb-vehicle-badges>*,.ncb-badge,.nch-badge,.ncb-factual-chip,.status-property-label){background:var(--ncb-badge-bg)!important;color:var(--ncb-badge-ink)!important;border:1px solid var(--ncb-badge-edge)!important}
body .ncb-archive .ncb-badge:is(:link,:visited,:hover,:focus,:active){background:var(--ncb-badge-bg)!important;color:var(--ncb-badge-ink)!important;border-color:var(--ncb-badge-edge)!important}
body .ncb-vehicle-page .ncb-badge{color:var(--ncb-badge-ink)!important;background:var(--ncb-badge-bg)!important;border-color:var(--ncb-badge-edge)!important}

/* Solid stock/condition badges, including their linked labels. */
body :is(.ncb-vehicle-badges>*,.ncb-badge,.nch-badge,.ncb-factual-chip,.status-property-label){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
body .ncb-vehicle-badges a:is(:link,:visited,:hover,:focus,:active){color:#fff!important}

/* Only the three main vehicle contact actions use compact, raised buttons. */
body .ncb-vehicle-page .ncb-conversion-actions{--ncb-action-solid:#fff;--ncb-action-hover:#0755ef;--ncb-action-edge:#0755ef;--ncb-action-ink:#0755ef}
body .ncb-vehicle-page .ncb-conversion-actions .ncb-quick-contact{margin-top:10px;gap:10px}
body .ncb-vehicle-page .ncb-conversion-actions svg{width:18px;height:18px;flex:none}
body .ncb-vehicle-page .ncb-conversion-actions :is(a[data-enquiry-intent],.ncb-action-call,.ncb-action-whatsapp){
    background:var(--ncb-action-solid)!important;border-color:var(--ncb-action-edge)!important;color:var(--ncb-action-ink)!important;
    display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 14px;border-radius:10px;font-size:13px;line-height:1.3;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 2px 0 rgba(8,20,38,.12),0 5px 12px rgba(8,20,38,.09)!important;
    transition:background .18s ease,box-shadow .18s ease,transform .18s ease;
}
body .ncb-vehicle-page .ncb-conversion-actions .ncb-action-call{--ncb-action-solid:#0755ef;--ncb-action-hover:#0047cf;--ncb-action-edge:#0755ef;--ncb-action-ink:#fff}
body .ncb-vehicle-page .ncb-conversion-actions .ncb-action-whatsapp{--ncb-action-solid:#25d366;--ncb-action-hover:#16bd56;--ncb-action-edge:#25d366;--ncb-action-ink:#fff}
body .ncb-vehicle-page .ncb-conversion-actions :is(a[data-enquiry-intent],.ncb-action-call,.ncb-action-whatsapp):hover{background:var(--ncb-action-hover)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 4px 0 rgba(8,20,38,.18),0 10px 20px rgba(8,20,38,.16)!important}
body .ncb-vehicle-page .ncb-conversion-actions :is(a[data-enquiry-intent],.ncb-action-call,.ncb-action-whatsapp):active{transform:translateY(2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 2px 0 rgba(8,20,38,.16)!important}
@media(prefers-reduced-motion:reduce){body .ncb-vehicle-page .ncb-conversion-actions :is(a[data-enquiry-intent],.ncb-action-call,.ncb-action-whatsapp){transition:none}}

/* Slightly smaller contact actions on desktop; mobile keeps its 44px touch size. */
@media(min-width:992px){
body .ncb-vehicle-page .ncb-conversion-actions{width:90%;justify-self:end}
body .ncb-vehicle-page .ncb-conversion-actions :is(a[data-enquiry-intent],.ncb-action-call,.ncb-action-whatsapp){min-height:40px;padding:7px 12px}
body .ncb-vehicle-page .ncb-conversion-actions svg{width:16px;height:16px}
}

/* Shared category palettes also cover homepage cards without changing that renderer. */
body :is(.ncb-badge-tone--awd,.nch-badge-tone--awd){--ncb-badge-bg:#c026d3;--ncb-badge-ink:#fff;--ncb-badge-edge:#c026d3}
body :is(.ncb-badge-tone--4wd,.nch-badge-tone--4wd){--ncb-badge-bg:#007f78;--ncb-badge-ink:#fff;--ncb-badge-edge:#007f78}
body :is(.ncb-badge-tone--hybrid,.nch-badge-tone--hybrid){--ncb-badge-bg:#7c3aed;--ncb-badge-ink:#fff;--ncb-badge-edge:#7c3aed}
body :is(.ncb-badge-tone--electric,.nch-badge-tone--electric){--ncb-badge-bg:#4338ca;--ncb-badge-ink:#fff;--ncb-badge-edge:#4338ca}
body :is(.ncb-card__brand a,.ncb-card__brand>span,.nch-card-brand a,.nch-card-brand>span,.nch-latest-make){background:#000!important;border:1px solid #000!important;color:#fff!important}
body :is(.ncb-card__brand a,.nch-card-brand a,.nch-latest-make a):is(:link,:visited,:hover,:focus,:active){color:#fff!important}
