/* ===== MG inventory (archive-car) ===== */
/* page bg: override theme's forced white */
html body.post-type-archive-car,
html body.post-type-archive-car #page,
html body.post-type-archive-car .site,
html body.post-type-archive-car .site-content{background:var(--mg-base)!important;color:var(--mg-text)!important;}
html body.post-type-archive-car .dag-container{color:var(--mg-text)!important;}
/* header */
html body.post-type-archive-car .dag-title,
html body.post-type-archive-car .dag-h2{font-family:var(--mg-head)!important;color:var(--mg-white)!important;text-transform:uppercase;letter-spacing:.02em;}
html body.post-type-archive-car .dag-subtitle,
html body.post-type-archive-car .dag-found{color:var(--mg-dim)!important;}
/* filters panel */
html body.post-type-archive-car .dag-filters{background:var(--mg-panel)!important;border:1px solid var(--mg-hair)!important;border-top:3px solid var(--mg-accent)!important;border-radius:0!important;}
html body.post-type-archive-car .dag-filters__title{font-family:var(--mg-head)!important;color:var(--mg-white)!important;text-transform:uppercase;letter-spacing:.03em;}
html body.post-type-archive-car .dag-field label{color:var(--mg-dim)!important;font-family:var(--mg-head)!important;text-transform:uppercase;letter-spacing:.05em;font-size:12px;}
html body.post-type-archive-car .dag-field input,
html body.post-type-archive-car .dag-field select{background:var(--mg-panel-2)!important;color:var(--mg-text)!important;border:1px solid var(--mg-hair-2)!important;border-radius:0!important;}
html body.post-type-archive-car .dag-field select option{background:var(--mg-panel-2)!important;color:var(--mg-text)!important;}
html body.post-type-archive-car .dag-field input:focus,
html body.post-type-archive-car .dag-field select:focus{border-color:var(--mg-accent)!important;outline:0!important;box-shadow:0 0 0 2px rgba(224,31,38,.22)!important;}
/* cards */
html body.post-type-archive-car .dag-inv-card{background:var(--mg-panel)!important;border:1px solid var(--mg-hair)!important;border-radius:0!important;overflow:hidden;transition:transform .2s ease,border-color .2s ease;}
html body.post-type-archive-car .dag-inv-card:hover{transform:translateY(-4px);border-color:var(--mg-accent)!important;}
html body.post-type-archive-car .dag-inv-card__media img{aspect-ratio:16/10;object-fit:cover;width:100%;transition:transform .35s ease;}
html body.post-type-archive-car .dag-inv-card:hover .dag-inv-card__media img{transform:scale(1.05);}
html body.post-type-archive-car .dag-inv-card__title,
html body.post-type-archive-car .dag-inv-card__title a{font-family:var(--mg-head)!important;color:var(--mg-white)!important;text-transform:uppercase;letter-spacing:.02em;text-decoration:none;}
html body.post-type-archive-car .dag-spec-mini dt{color:var(--mg-dim)!important;font-family:var(--mg-body)!important;}
html body.post-type-archive-car .dag-spec-mini dd{color:var(--mg-text)!important;}
html body.post-type-archive-car .dag-spec-mini{border-top:1px solid var(--mg-hair)!important;}
/* price = last spec row -> red bold */
html body.post-type-archive-car .dag-spec-mini > div:last-child dt{color:var(--mg-dim)!important;}
html body.post-type-archive-car .dag-spec-mini > div:last-child dd{color:var(--mg-accent-2)!important;font-family:var(--mg-head)!important;font-size:19px!important;font-weight:600!important;letter-spacing:.02em;}
/* buttons */
html body.post-type-archive-car .dag-btn--primary{background:var(--mg-accent)!important;background-image:none!important;border:1px solid var(--mg-accent)!important;color:#fff!important;border-radius:0!important;font-family:var(--mg-head)!important;text-transform:uppercase;letter-spacing:.05em;}
html body.post-type-archive-car .dag-btn--primary:hover{background:var(--mg-accent-2)!important;border-color:var(--mg-accent-2)!important;}
html body.post-type-archive-car .dag-btn--ghost{background:transparent!important;border:1px solid var(--mg-hair-2)!important;color:var(--mg-text)!important;border-radius:0!important;font-family:var(--mg-head)!important;text-transform:uppercase;}
html body.post-type-archive-car .dag-btn--ghost:hover{border-color:var(--mg-accent)!important;color:var(--mg-white)!important;}
/* pagination */
html body.post-type-archive-car .dag-pagination .page-numbers{background:var(--mg-panel)!important;color:var(--mg-text)!important;border:1px solid var(--mg-hair-2)!important;border-radius:0!important;}
html body.post-type-archive-car .dag-pagination .page-numbers.current,
html body.post-type-archive-car .dag-pagination a.page-numbers:hover{background:var(--mg-accent)!important;border-color:var(--mg-accent)!important;color:#fff!important;}
/* visit-us card */
html body.post-type-archive-car .dag-visit__card{background:var(--mg-panel)!important;border:1px solid var(--mg-hair)!important;border-top:3px solid var(--mg-accent)!important;border-radius:0!important;}
html body.post-type-archive-car .dag-visit__brand-title{color:var(--mg-white)!important;font-family:var(--mg-head)!important;text-transform:uppercase;}
html body.post-type-archive-car .dag-visit__label{color:var(--mg-dim)!important;font-family:var(--mg-head)!important;text-transform:uppercase;}
html body.post-type-archive-car .dag-visit__value,
html body.post-type-archive-car .dag-visit__brand-text{color:var(--mg-text)!important;}
/* visit-us contact links -> chrome */
html body.post-type-archive-car .dag-visit__value a,
html body.post-type-archive-car .dag-visit a{color:var(--mg-text)!important;text-decoration:none;}
html body.post-type-archive-car .dag-visit__value a:hover{color:var(--mg-accent-2)!important;}
