:root{--bg:#0d0f12;--panel:#15181d;--soft:#20242b;--text:#f5f7fa;--muted:#a8afb9;--line:#2b3038;--accent:#f4b942;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55}a{color:inherit;text-decoration:none}.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:16px max(22px,calc((100vw - var(--max))/2));background:rgba(13,15,18,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border:2px solid var(--accent);font-weight:900;font-size:22px;transform:skew(-7deg)}.brand strong,.brand span{display:block}.brand span{font-size:12px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.nav{display:flex;gap:24px;font-size:14px}.nav a:hover{color:var(--accent)}.menu-toggle{display:none}.hero,.section,footer{max-width:var(--max);margin:auto}.hero{min-height:74vh;display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;padding:90px 22px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;color:var(--accent);margin:0 0 12px}.hero h1{font-size:clamp(44px,7vw,82px);line-height:.98;letter-spacing:-.055em;margin:0;max-width:820px}.hero-text{max-width:720px;font-size:19px;color:var(--muted);margin:24px 0 0}.actions{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:13px 18px;font-weight:800;border:1px solid var(--line);cursor:pointer;font:inherit}.button.primary{background:var(--accent);color:#151515;border-color:var(--accent)}.button.secondary{background:transparent;color:var(--text)}.button:hover{transform:translateY(-1px)}.hero-card{background:linear-gradient(145deg,#1b1f25,#111317);padding:34px;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 70px rgba(0,0,0,.28)}.hero-card-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.hero-card>strong{display:block;font-size:30px;line-height:1.1;margin:10px 0}.hero-card p{color:var(--muted)}.mini-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:28px;border-top:1px solid var(--line);border-left:1px solid var(--line)}.mini-grid span{padding:16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted)}.mini-grid b{color:var(--text)}.section{padding:88px 22px}.section.muted{max-width:none;padding-left:max(22px,calc((100vw - var(--max))/2));padding-right:max(22px,calc((100vw - var(--max))/2));background:var(--panel);border-block:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}.section h2{font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.035em;margin:0}.section-heading>p{max-width:520px;color:var(--muted);margin:0}.inventory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.vehicle-card{overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:16px}.vehicle-photo{height:280px;background:radial-gradient(circle at 75% 20%,#333a45,#171a20 55%,#111317);position:relative;display:grid;place-items:center}.photo-placeholder{color:#7f8792;border:1px dashed #555d68;padding:14px 18px;border-radius:8px}.status{position:absolute;left:16px;top:16px;background:var(--accent);color:#111;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.vehicle-body{padding:22px}.vehicle-top{display:flex;justify-content:space-between;gap:16px}.vehicle-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:0 0 6px}.vehicle-name{font-size:26px;line-height:1.1;margin:0}.vehicle-price{font-size:22px;white-space:nowrap}.specs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.specs span{font-size:12px;padding:6px 9px;background:var(--soft);border:1px solid var(--line);border-radius:999px;color:#c9ced5}.vehicle-desc,.about-copy,.contact-section p{color:var(--muted)}.details-button{width:100%;margin-top:8px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-grid article{padding:26px;border:1px solid var(--line);border-radius:14px;background:#111317}.feature-grid span{color:var(--accent);font-weight:900}.feature-grid h3{font-size:23px;margin:26px 0 10px}.feature-grid p{color:var(--muted);margin:0}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}.about-copy{font-size:19px}.contact-section{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact-card{border:1px solid var(--line);border-radius:16px;overflow:hidden}.contact-card a,.contact-card div{display:flex;justify-content:space-between;gap:20px;padding:22px;border-bottom:1px solid var(--line)}.contact-card>*:last-child{border-bottom:0}.contact-card span{color:var(--muted)}.contact-card a:hover{background:var(--panel)}footer{padding:32px 22px 55px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}footer strong{color:var(--text)}dialog{max-width:620px;width:calc(100% - 32px);background:#14171c;color:var(--text);border:1px solid var(--line);border-radius:16px;padding:34px}dialog::backdrop{background:rgba(0,0,0,.75)}.dialog-close{position:absolute;right:16px;top:12px;background:none;border:0;color:var(--text);font-size:30px;cursor:pointer}.dialog-note{color:var(--muted);padding:14px;background:var(--soft);border-radius:8px}@media(max-width:760px){.menu-toggle{display:block;background:none;color:var(--text);border:1px solid var(--line);border-radius:7px;padding:8px 10px}.nav{display:none;position:absolute;top:75px;left:0;right:0;background:var(--bg);padding:20px 22px;border-bottom:1px solid var(--line);flex-direction:column}.nav.open{display:flex}.hero{grid-template-columns:1fr;min-height:auto;padding-top:65px;gap:35px}.hero-card{padding:24px}.inventory-grid,.feature-grid,.about-grid,.contact-section{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}.vehicle-photo{height:220px}.vehicle-top{flex-direction:column}.contact-card a,.contact-card div{flex-direction:column;gap:3px}.about-grid{gap:24px}}

/* Featured inventory and full inventory page */
.heading-actions{max-width:520px}.heading-actions p{color:var(--muted);margin:0 0 9px}.text-link{color:var(--accent);font-weight:800;font-size:14px}.text-link:hover{text-decoration:underline}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-hero{max-width:var(--max);margin:auto;padding:82px 22px 34px}.inventory-hero h1{font-size:clamp(48px,7vw,82px);line-height:.98;letter-spacing:-.055em;margin:0}.inventory-hero>p:last-child{max-width:720px;color:var(--muted);font-size:18px;margin:22px 0 0}.inventory-page-section{padding-top:28px}.inventory-toolbar{display:grid;grid-template-columns:minmax(190px,260px) minmax(260px,1fr) auto;gap:14px;align-items:end;margin-bottom:28px;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:14px}.filter-group{display:flex;flex-direction:column;gap:7px}.filter-group label{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted);font-weight:800}.filter-group select,.filter-group input{width:100%;height:46px;padding:0 13px;border-radius:8px;border:1px solid var(--line);background:var(--bg);color:var(--text);font:inherit;outline:none}.filter-group select:focus,.filter-group input:focus{border-color:var(--accent)}.filter-group input::placeholder{color:#747c87}.inventory-count{height:46px;min-width:132px;display:flex;flex-direction:column;justify-content:center;padding:0 14px;border-left:1px solid var(--line)}.inventory-count strong{font-size:19px;line-height:1}.inventory-count span{font-size:11px;color:var(--muted);margin-top:4px}.inventory-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.inventory-grid-three .vehicle-photo{height:215px}.inventory-grid-three .vehicle-body{padding:18px}.inventory-grid-three .vehicle-name{font-size:22px}.inventory-grid-three .vehicle-price{font-size:18px}.inventory-grid-three .vehicle-top{flex-direction:column;gap:7px}.inventory-grid-three .vehicle-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.no-results{text-align:center;padding:70px 20px;border:1px dashed var(--line);border-radius:14px}.no-results h2{font-size:30px;margin:0 0 8px}.no-results p{color:var(--muted);margin:0 0 20px}.nav a.active{color:var(--accent)}

@media(max-width:980px){.inventory-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-toolbar{grid-template-columns:1fr 1fr}.inventory-count{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:12px 0 0;height:auto}}
@media(max-width:760px){.featured-grid,.inventory-grid-three{grid-template-columns:1fr}.inventory-toolbar{grid-template-columns:1fr}.inventory-count{grid-column:auto}.inventory-hero{padding-top:56px}.heading-actions{max-width:none}}

/* v3 polish: richer vehicle cards + dedicated detail pages */
.vehicle-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.vehicle-card:hover{transform:translateY(-3px);border-color:#3b424d;box-shadow:0 18px 45px rgba(0,0,0,.2)}.vehicle-photo{background-size:cover;background-position:center;overflow:hidden}.vehicle-photo.has-image:after,.detail-main-photo.has-image:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 55%,rgba(0,0,0,.24))}.photo-placeholder{border:0;text-align:center;display:flex;flex-direction:column;gap:2px;text-transform:uppercase;letter-spacing:.12em}.photo-placeholder span{font-size:13px;color:#777f8a}.photo-placeholder strong{font-size:24px;color:#aeb5bf;letter-spacing:.05em}.photo-placeholder small{font-size:10px;color:#666e78;margin-top:5px}.featured-badge{position:absolute;z-index:2;right:16px;top:16px;background:#111317dd;border:1px solid #4c535d;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.status{z-index:2}.status.coming-soon-status{background:#4b515a;color:#fff}.details-button{position:relative}.details-button:after{content:" →"}.inventory-grid-three .vehicle-card{display:flex;flex-direction:column}.inventory-grid-three .vehicle-body{display:flex;flex:1;flex-direction:column}.inventory-grid-three .vehicle-desc{flex:1}.inventory-toolbar{position:sticky;top:83px;z-index:5;box-shadow:0 8px 25px rgba(0,0,0,.15)}
.vehicle-detail-page{max-width:var(--max);margin:auto;padding:42px 22px 88px}.back-link{display:inline-block;color:var(--muted);font-weight:700;font-size:14px;margin:8px 0 28px}.back-link:hover{color:var(--accent)}.detail-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:48px;align-items:start}.detail-gallery{min-width:0}.detail-main-photo{height:540px;position:relative;border:1px solid var(--line);border-radius:18px;background:radial-gradient(circle at 75% 20%,#333a45,#171a20 55%,#111317);background-size:cover;background-position:center;display:grid;place-items:center;overflow:hidden}.detail-placeholder{text-align:center;display:flex;flex-direction:column;text-transform:uppercase;letter-spacing:.13em}.detail-placeholder span{color:#777f8a;font-size:18px}.detail-placeholder strong{font-size:42px;color:#b5bbc3}.detail-placeholder small{color:#6f7680;font-size:11px;margin-top:8px}.detail-thumbnails{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.thumb{aspect-ratio:4/3;border:2px solid transparent;border-radius:9px;background-size:cover;background-position:center;cursor:pointer;opacity:.72}.thumb:hover,.thumb.active{opacity:1;border-color:var(--accent)}.detail-summary{position:sticky;top:110px}.detail-summary h1{font-size:clamp(40px,5vw,64px);line-height:.98;letter-spacing:-.045em;margin:0 0 16px}.detail-price{display:block;font-size:30px;color:var(--accent);margin-bottom:26px}.detail-spec-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:28px}.detail-spec-grid div{padding:16px;border-right:1px solid var(--line)}.detail-spec-grid div:last-child{border-right:0}.detail-spec-grid span,.disclosure-box>span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;margin-bottom:4px}.detail-spec-grid strong{font-size:14px}.detail-description{color:#c9ced5;font-size:18px}.disclosure-box{margin:24px 0;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px}.disclosure-box p{color:var(--muted);margin:0}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.detail-not-found{padding:100px 0}.detail-not-found h1{font-size:48px;max-width:650px}.buyer-banner{max-width:none;padding:52px max(22px,calc((100vw - var(--max))/2));background:var(--panel);border-block:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:end}.buyer-banner h2{font-size:clamp(30px,4vw,46px);margin:0;line-height:1.05}.buyer-banner>p{color:var(--muted);margin:0;max-width:560px}
@media(max-width:900px){.detail-layout{grid-template-columns:1fr}.detail-summary{position:static}.detail-main-photo{height:480px}.buyer-banner{grid-template-columns:1fr;gap:20px}}
@media(max-width:760px){.inventory-toolbar{position:static}.vehicle-detail-page{padding-top:28px}.detail-main-photo{height:330px}.detail-spec-grid{grid-template-columns:1fr}.detail-spec-grid div{border-right:0;border-bottom:1px solid var(--line)}.detail-spec-grid div:last-child{border-bottom:0}.detail-actions{flex-direction:column}.detail-actions .button{width:100%}.detail-thumbnails{grid-template-columns:repeat(4,1fr)}}

/* v4.1 inventory photo browsing: arrows + picture count only on inventory cards */
.inventory-grid-three .vehicle-photo .photo-count{position:absolute;right:12px;bottom:12px;z-index:3;display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:rgba(10,12,15,.82);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:11px;font-weight:800;line-height:1;backdrop-filter:blur(7px)}
.card-photo-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;background:rgba(10,12,15,.7);color:#fff;font-size:29px;line-height:1;cursor:pointer;opacity:0;transition:opacity .16s ease,background .16s ease}
.card-photo-prev{left:10px}.card-photo-next{right:10px}.inventory-grid-three .vehicle-photo:hover .card-photo-arrow,.card-photo-arrow:focus-visible{opacity:1}.card-photo-arrow:hover{background:rgba(10,12,15,.94)}
@media(max-width:760px){.card-photo-arrow{opacity:1;width:34px;height:34px;font-size:26px}}

/* v4.3 vehicle-detail gallery navigation: keeps restored gallery sizing, adds arrows only */
.detail-photo-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:grid;place-items:center;background:rgba(10,12,15,.72);color:#fff;font-size:32px;line-height:1;cursor:pointer;opacity:.88;transition:opacity .16s ease,background .16s ease}
.detail-photo-prev{left:14px}.detail-photo-next{right:14px}.detail-photo-arrow:hover,.detail-photo-arrow:focus-visible{opacity:1;background:rgba(10,12,15,.94)}
@media(max-width:760px){.detail-photo-arrow{width:38px;height:38px;font-size:28px}.detail-photo-prev{left:10px}.detail-photo-next{right:10px}}


/* v4.4 — clearer vehicle sale status */
.status-sold,
.status-badge.status-sold,
.vehicle-status.status-sold {
  background: #c62828 !important;
  color: #fff !important;
  border-color: #c62828 !important;
}

.status-available,
.status-badge.status-available,
.vehicle-status.status-available {
  /* Preserve the site's existing available styling unless overridden elsewhere. */
}

.detail-sold-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.55rem 0 0.8rem;
  padding: 0.48rem 1.15rem;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,.16);
}

.status.sold-status {
  background: #c62828 !important;
  color: #fff !important;
  border-color: #c62828 !important;
}

.detail-status-banner {
  display: inline-block;
  margin: 0 0 .7rem;
  padding: .48rem 1.15rem;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
}
.detail-status-banner[hidden] { display: none; }


/* v5.1 SOLD visibility patch */
.status.sold-status,
.status[data-status="sold"] {
  background: #c62828 !important;
  border-color: #c62828 !important;
  color: #ffffff !important;
}

.detail-status-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 0 .8rem;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  background: #c62828 !important;
  border: 1px solid #a91f1f;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-status-banner[hidden] {
  display: none !important;
}


/* v5.4 — Wurks logo + contact submission form */
.brand-logo-link{display:flex;align-items:center;padding:0}
.site-logo{display:block;width:190px;max-width:42vw;height:auto;object-fit:contain}
.contact-form-section{display:block}
.contact-form-intro{max-width:760px;margin-bottom:1.35rem}
.contact-form-intro h2{margin-bottom:.55rem}
.contact-submission-form{
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  padding:clamp(1.2rem,3vw,2rem);
  background:rgba(255,255,255,.025)
}
.contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem 1.35rem}
.form-field{min-width:0}.form-field-full{grid-column:1/-1}
.form-field label{display:block;margin-bottom:.5rem;font-weight:700;color:#fff}
.required-mark{color:#e14a45}
.optional-label{margin-left:.35rem;color:rgba(255,255,255,.54);font-size:.78rem;font-weight:500}
.contact-submission-form input,.contact-submission-form textarea{
  width:100%;border:1px solid rgba(255,255,255,.22);border-radius:7px;
  background:rgba(255,255,255,.055);color:#fff;padding:.95rem 1rem;font:inherit;outline:none;
  transition:border-color .16s ease,background .16s ease
}
.contact-submission-form input::placeholder,.contact-submission-form textarea::placeholder{color:rgba(255,255,255,.55)}
.contact-submission-form input:focus,.contact-submission-form textarea:focus{border-color:#d7b45d;background:rgba(255,255,255,.075)}
.contact-submission-form textarea{min-height:175px;resize:vertical}
.comment-count{margin-top:.35rem;text-align:right;color:rgba(255,255,255,.66);font-size:.88rem}
.contact-submit-button{
  width:100%;margin-top:1.25rem;border:1px solid #b99543;border-radius:7px;
  background:linear-gradient(180deg,#efd064 0%,#d5ad45 100%);color:#111;
  padding:.92rem 1rem;font:inherit;font-weight:800;letter-spacing:.18em;text-transform:uppercase;cursor:pointer
}
.contact-submit-button:hover{filter:brightness(1.05)}
.contact-privacy-note{display:flex;align-items:flex-start;gap:.9rem;margin-top:1.35rem;color:rgba(255,255,255,.78)}
.contact-privacy-note strong{color:#fff}
.contact-privacy-note p{margin:.25rem 0 0;line-height:1.55}
.privacy-shield{
  flex:0 0 auto;display:grid;place-items:center;width:32px;height:38px;border:2px solid #d7b45d;
  color:#d7b45d;border-radius:9px 9px 13px 13px;font-weight:900
}
.form-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:720px){
  .contact-form-grid{grid-template-columns:1fr}
  .form-field-full{grid-column:auto}
  .site-logo{width:160px;max-width:58vw}
}

/* v5.6 contact submission button states */
.contact-submit-button.sent-success {
  background: #2e7d32 !important;
  border-color: #256628 !important;
  color: #ffffff !important;
  letter-spacing: .04em;
}

.contact-submit-button.send-error {
  background: #c62828 !important;
  border-color: #a91f1f !important;
  color: #ffffff !important;
  letter-spacing: .03em;
}

.contact-submit-button:disabled {
  cursor: default;
  opacity: 1;
}

/* v5.7 expanded vehicle specs */
.detail-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:720px){.detail-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v5.9 vehicle-detail inquiry modal */
body.modal-open { overflow: hidden; }

.vehicle-inquiry-modal[hidden] { display: none !important; }

.vehicle-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.vehicle-inquiry-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(3px);
}

.vehicle-inquiry-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: #111418;
  color: #fff;
  padding: 1.5rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.vehicle-inquiry-dialog h2 {
  margin: .2rem 0 .25rem;
}

.vehicle-inquiry-vehicle {
  margin: 0 0 1.15rem;
  color: #d7b45d;
  font-weight: 700;
}

.vehicle-inquiry-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.vehicle-inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}

.vehicle-inquiry-form input,
.vehicle-inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 7px;
  background: rgba(255,255,255,.055);
  color: #fff;
  padding: .85rem .95rem;
  font: inherit;
}

.vehicle-inquiry-form textarea {
  min-height: 125px;
  resize: vertical;
}

.vehicle-inquiry-form input:focus,
.vehicle-inquiry-form textarea:focus {
  outline: 2px solid rgba(215,180,93,.35);
  border-color: #d7b45d;
}

.vehicle-inquiry-form .form-field-full {
  grid-column: 1 / -1;
}

.compact-privacy-note {
  margin-top: 1rem;
  font-size: .9rem;
}

@media (max-width: 650px) {
  .vehicle-inquiry-dialog {
    padding: 1.15rem;
  }

  .vehicle-inquiry-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-inquiry-form .form-field-full {
    grid-column: auto;
  }
}


/* v5.13 — additional specs on Inventory cards only */
.inventory-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inventory-specs span {
  min-width: 0;
  line-height: 1.35;
}

@media (max-width: 520px) {
  .inventory-specs {
    grid-template-columns: 1fr;
  }
}

/* v5.14 Coming Soon status */
.status.coming-soon-status,
.status[data-status="coming soon"] {
  background: #b8892d;
  border-color: #b8892d;
  color: #111;
}

/* v5.16 inventory spec icons */
.inventory-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.inventory-spec-item{display:flex!important;align-items:center;gap:7px;min-width:0}
.spec-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#fff}
.spec-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.spec-text{min-width:0;line-height:1.3}
.drive-icon{display:inline-grid;place-items:center;min-width:32px;height:20px;padding:0 4px;border:1px solid currentColor;border-radius:4px;color:#fff;font-size:9px;font-weight:800;letter-spacing:.04em;line-height:1}
@media(max-width:520px){.inventory-specs{grid-template-columns:1fr}}


/* v5.18 corrected recognizable inventory icons */
.inventory-spec-item .spec-icon{
  width:32px;
  min-width:32px;
  height:26px;
}
.inventory-spec-item .spec-icon>svg{
  width:23px;
  height:23px;
  color:#fff;
  overflow:visible;
}
.spec-engine .spec-icon>svg{width:27px}
.drivetrain-pictogram{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#fff;
}
.drivetrain-pictogram svg{
  width:31px;
  height:20px;
}
.drivetrain-pictogram b{
  font-size:9px;
  line-height:1;
  letter-spacing:.04em;
}
.drivetrain-pictogram .wheel-driven{
  fill:#fff;
  stroke:#fff;
  stroke-width:.7;
}
.drivetrain-pictogram .wheel-idle{
  fill:none;
  stroke:rgba(255,255,255,.72);
  stroke-width:1.2;
}
.drivetrain-pictogram .drive-line{
  fill:none;
  stroke:rgba(255,255,255,.72);
  stroke-width:1.25;
  stroke-linecap:round;
}
.drivetrain-pictogram .drive-center{
  fill:#fff;
}


/* v5.19 — mockup-style automotive inventory icons, current layout preserved */
.inventory-spec-item .spec-icon{
  width:34px;
  min-width:34px;
  height:30px;
  color:#fff;
}

.inventory-spec-item .spec-icon > svg{
  width:24px;
  height:24px;
  color:#fff;
  overflow:visible;
}

.spec-engine .spec-icon > svg{
  width:28px;
}

.drivetrain-pictogram{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#fff;
}

.drivetrain-pictogram svg{
  width:32px;
  height:28px;
  overflow:visible;
}

.drivetrain-pictogram b{
  font-size:9px;
  line-height:1;
  letter-spacing:.05em;
  color:#fff;
}

.drivetrain-pictogram .wheel-idle{
  fill:#fff;
  stroke:#fff;
  stroke-width:.8;
  opacity:.92;
}

.drivetrain-pictogram .wheel-driven{
  fill:#d7b45d;
  stroke:#f2cf70;
  stroke-width:1;
}

.drivetrain-pictogram .drive-line{
  fill:none;
  stroke:#fff;
  stroke-width:2;
  stroke-linecap:round;
}

.drivetrain-pictogram .drive-node{
  fill:#fff;
}

.inventory-spec-item{
  min-height:38px;
}


/* v6.0 — Dealer-style visual refresh while preserving current functionality */
:root{
  --bg:#090b0e;
  --panel:#111418;
  --panel-2:#171b20;
  --panel-3:#1d2228;
  --line:#303741;
  --text:#f4f4f4;
  --muted:#aab1bb;
  --gold:#d7b45d;
  --gold-2:#f0cd69;
}

body{
  background:
    radial-gradient(circle at 20% 0%, rgba(215,180,93,.045), transparent 30%),
    linear-gradient(180deg,#080a0d,#0b0e12 55%,#090b0e);
}

.site-header{
  background:rgba(7,9,12,.96);
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
}

.nav a{
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:.88rem;
}

.nav a:hover,.nav a.active{
  color:var(--gold);
}

.dealer-hero{
  min-height:430px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:2rem;
  padding:clamp(2rem,5vw,4.5rem);
  border-bottom:1px solid var(--line);
  background:
    linear-gradient(90deg,rgba(7,9,12,.98) 0%,rgba(7,9,12,.90) 44%,rgba(7,9,12,.30) 72%,rgba(7,9,12,.12) 100%),
    radial-gradient(circle at 78% 50%,rgba(215,180,93,.08),transparent 35%);
}

.dealer-hero-copy h1{
  margin:.2rem 0 1rem;
  max-width:780px;
  font-size:clamp(2.6rem,6vw,5rem);
  line-height:.95;
  text-transform:uppercase;
  letter-spacing:-.035em;
}

.dealer-hero-copy h1 span{color:var(--gold)}
.dealer-hero-copy>p:not(.eyebrow){max-width:650px;color:var(--muted);font-size:1.05rem;line-height:1.65}
.hero-cta{margin-top:1rem}

.dealer-hero-visual{
  min-height:280px;
  display:grid;
  place-items:center;
}

.hero-car-silhouette{
  width:min(520px,100%);
  aspect-ratio:16/8;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-end;
  padding:1.5rem;
  border:1px solid rgba(215,180,93,.22);
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.00)),
    radial-gradient(ellipse at 50% 72%,rgba(215,180,93,.16),transparent 38%);
  box-shadow:inset 0 0 70px rgba(0,0,0,.35);
}

.hero-car-silhouette span{
  font-size:clamp(2.4rem,6vw,5rem);
  font-weight:900;
  letter-spacing:.05em;
  color:rgba(255,255,255,.12);
}

.hero-car-silhouette small{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.12em;
}

.trust-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--line);
}

.trust-item{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.35rem 1.5rem;
  background:#0d1014;
}

.trust-item strong{display:block;text-transform:uppercase;font-size:.88rem}
.trust-item span{display:block;margin-top:.25rem;color:var(--muted);font-size:.9rem}
.trust-icon{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:2px solid var(--gold);
  border-radius:50%;
  color:var(--gold);
  font-weight:900;
}

.section-heading-row{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1rem;
  margin-bottom:1.2rem;
}

.text-link{color:var(--gold);font-weight:700;text-decoration:none}

.dealer-featured-grid,
.dealer-inventory-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
}

.dealer-inventory-grid{
  align-items:stretch;
}

.vehicle-card{
  background:linear-gradient(180deg,#171b20,#101318);
  border:1px solid #3a424c;
  border-radius:10px;
  box-shadow:none;
}

.vehicle-card:hover{
  transform:translateY(-2px);
  border-color:#59616c;
  box-shadow:0 16px 35px rgba(0,0,0,.24);
}

.vehicle-photo{
  border-bottom:1px solid var(--line);
}

.status{
  border-radius:6px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
}

.vehicle-kicker{
  color:var(--muted);
  font-size:.82rem;
}

.vehicle-name{
  font-size:1.05rem;
  line-height:1.25;
}

.vehicle-price{
  color:var(--gold);
  font-size:1.08rem;
}

.vehicle-desc{
  color:var(--muted);
  min-height:3.2em;
}

.specs.inventory-specs{
  display:flex;
  flex-direction:column;
  gap:.45rem;
  margin:1rem 0;
}

.inventory-spec-item{
  display:flex!important;
  align-items:center;
  gap:.65rem;
  min-height:30px;
  padding:0!important;
  border:0!important;
  background:none!important;
  border-radius:0!important;
}

.inventory-spec-item .spec-icon{
  width:28px;
  min-width:28px;
  height:26px;
}

.inventory-spec-item .spec-text{
  color:#e9edf2;
  font-size:.9rem;
}

.details-button{
  width:100%;
  border:1px solid var(--gold)!important;
  background:transparent!important;
  color:var(--gold)!important;
  border-radius:6px!important;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.04em;
}

.details-button:hover{
  background:rgba(215,180,93,.08)!important;
}

.why-panel{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:2rem;
  padding:2rem;
  border:1px solid var(--line);
  border-radius:16px;
  background:#111418;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  border:1px solid var(--line);
}

.why-grid>div{
  padding:1.2rem;
  min-height:90px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.why-grid>div:nth-child(2n){border-right:0}
.why-grid>div:nth-last-child(-n+2){border-bottom:0}
.why-grid strong{display:block}
.why-grid span{display:block;margin-top:.3rem;color:var(--muted)}

.dealer-inventory-page{
  max-width:1500px;
  margin:0 auto;
}

.inventory-hero.compact{
  padding:2rem 1.5rem 1rem;
  border:0;
}

.inventory-hero.compact h1{
  margin:.1rem 0;
  font-size:2.2rem;
  text-transform:uppercase;
}

.dealer-controls{
  display:grid;
  grid-template-columns:minmax(260px,2fr) minmax(180px,.8fr) auto;
  gap:1rem;
  margin:0 1.5rem;
  padding:1rem;
  border:1px solid var(--line);
  border-radius:10px;
  background:#12161b;
}

.dealer-controls label{
  display:block;
  margin-bottom:.4rem;
  color:var(--muted);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.dealer-controls input,
.dealer-controls select{
  width:100%;
  min-height:46px;
  border:1px solid #39414b;
  border-radius:7px;
  background:#0d1014;
  color:#fff;
  padding:.7rem .85rem;
}

.clear-filter-button{
  align-self:end;
  min-height:46px;
}

.inventory-results-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1rem 1.5rem .25rem;
  text-transform:uppercase;
  color:var(--muted);
}

.inventory-results-head strong{color:var(--gold)}
.inventory-list-section{padding-top:.75rem}

.dealer-detail-layout{
  gap:1.35rem;
  align-items:start;
}

.dealer-detail-gallery{
  padding:.75rem;
  border:1px solid var(--line);
  border-radius:12px;
  background:#111418;
}

.dealer-detail-summary{
  border:1px solid var(--line);
  border-radius:12px;
  background:#111418;
  padding:1.4rem;
}

.detail-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin:0 0 1rem;
  color:var(--muted);
  font-size:.88rem;
}

.detail-breadcrumb a{color:var(--muted);text-decoration:none}
.detail-breadcrumb a:hover{color:var(--gold)}

.detail-price{color:var(--gold)!important}

.detail-spec-grid{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:1rem 0;
  gap:.75rem;
}

.detail-spec-grid>div{
  border:0!important;
  background:#0d1014;
  border-radius:8px;
}

.detail-actions .button.primary{
  background:var(--gold);
  border-color:var(--gold);
  color:#111;
}

@media(max-width:1100px){
  .dealer-featured-grid,.dealer-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dealer-hero{grid-template-columns:1fr}
  .dealer-hero-visual{display:none}
}

@media(max-width:760px){
  .trust-strip{grid-template-columns:1fr}
  .why-panel{grid-template-columns:1fr}
  .dealer-controls{grid-template-columns:1fr}
  .dealer-featured-grid,.dealer-inventory-grid{grid-template-columns:1fr}
  .section-heading-row{align-items:flex-start;flex-direction:column}
}

/* v6.1 — descriptions belong on View Details only */
#featured-grid .vehicle-desc,
#inventory-grid .vehicle-desc {
  display: none !important;
}

/* v6.2 — smaller vehicle specification icons */
.inventory-spec-item .spec-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
}

.inventory-spec-item .spec-icon > svg {
  width: 17px;
  height: 17px;
}

.spec-engine .spec-icon > svg {
  width: 20px;
}

.drivetrain-pictogram svg {
  width: 23px;
  height: 21px;
}

.drivetrain-pictogram {
  gap: 4px;
}

.drivetrain-pictogram b {
  font-size: 8px;
}

.inventory-spec-item {
  gap: .5rem;
  min-height: 27px;
}


/* v6.3 — compact dealer-card layout inspired by approved reference */
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #3a424c;
  border-radius: 9px;
  background: linear-gradient(180deg, #191d22 0%, #12161a 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-bottom: 1px solid #343b44;
  border-radius: 0;
}

#featured-grid .vehicle-card-content,
#inventory-grid .vehicle-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .9rem .95rem .95rem;
}

#featured-grid .vehicle-kicker,
#inventory-grid .vehicle-kicker {
  display: none;
}

#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .7rem;
  margin-bottom: .28rem;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  margin: 0;
  color: #f5f5f5;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  margin: 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .75rem;
  padding-bottom: .72rem;
  border-bottom: 1px solid #30363e;
  color: #adb4bd;
  font-size: .86rem;
}

#featured-grid .vehicle-meta-row .meta-dot,
#inventory-grid .vehicle-meta-row .meta-dot {
  color: #737b85;
}

#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin: 0 0 .9rem;
}

#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item {
  display: flex !important;
  align-items: center;
  gap: .62rem;
  min-height: 27px;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#featured-grid .inventory-spec-item.spec-mileage,
#inventory-grid .inventory-spec-item.spec-mileage {
  display: none !important;
}

#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  color: #f3f3f3;
}

#featured-grid .inventory-spec-item .spec-icon > svg,
#inventory-grid .inventory-spec-item .spec-icon > svg {
  width: 18px;
  height: 18px;
}

#featured-grid .spec-engine .spec-icon > svg,
#inventory-grid .spec-engine .spec-icon > svg {
  width: 21px;
}

#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  color: #d9dde2;
  font-size: .88rem;
  line-height: 1.25;
}

#featured-grid .drivetrain-pictogram,
#inventory-grid .drivetrain-pictogram {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#featured-grid .drivetrain-pictogram svg,
#inventory-grid .drivetrain-pictogram svg {
  width: 21px;
  height: 19px;
}

#featured-grid .drivetrain-pictogram b,
#inventory-grid .drivetrain-pictogram b {
  display: none;
}

#featured-grid .drivetrain-pictogram .wheel-driven,
#inventory-grid .drivetrain-pictogram .wheel-driven {
  fill: var(--gold);
  stroke: var(--gold-2);
}

#featured-grid .drivetrain-pictogram .wheel-idle,
#inventory-grid .drivetrain-pictogram .wheel-idle {
  fill: #f3f3f3;
  stroke: #f3f3f3;
  opacity: .92;
}

#featured-grid .drivetrain-pictogram .drive-line,
#inventory-grid .drivetrain-pictogram .drive-line {
  stroke: #f3f3f3;
}

#featured-grid .drivetrain-pictogram .drive-node,
#inventory-grid .drivetrain-pictogram .drive-node {
  fill: #f3f3f3;
}

#featured-grid .details-button,
#inventory-grid .details-button {
  width: 100%;
  margin-top: auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold) !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: var(--gold) !important;
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .045em;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: rgba(215,180,93,.09) !important;
  color: var(--gold-2) !important;
}

#featured-grid .status,
#inventory-grid .status {
  top: .45rem;
  right: .45rem;
  padding: .34rem .52rem;
  border-radius: 5px;
  background: rgba(6,8,10,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  font-size: .68rem;
}

#featured-grid .status.sold-status,
#inventory-grid .status.sold-status {
  background: #b3261e;
  border-color: #d94a42;
  color: #fff;
}

#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status {
  background: #7d6425;
  border-color: var(--gold);
  color: #fff3c4;
}

@media (min-width: 1150px) {
  .dealer-featured-grid,
  .dealer-inventory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* v6.4 — refined listing hierarchy */
#featured-grid .status,
#inventory-grid .status {
  top: .55rem;
  right: .55rem;
  padding: .38rem .72rem;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(10,12,15,.92);
  color: var(--gold-2);
  border: 1px solid rgba(215,180,93,.65);
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
}

#featured-grid .status.sold-status,
#inventory-grid .status.sold-status {
  background: #b3261e;
  color: #fff;
  border-color: #dd5a52;
}

#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status {
  background: #6f581f;
  color: #fff0b3;
  border-color: var(--gold);
}

#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .8rem;
  margin-bottom: .28rem;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
  color: #f5f6f7;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.28;
  white-space: nowrap;
}

#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  margin: 0 0 .82rem;
  padding-bottom: .78rem;
  border-bottom: 1px solid #333a43;
  color: #aeb5bf;
  font-size: .86rem;
}

#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  margin-top: 0;
  margin-bottom: .95rem;
}

#featured-grid .inventory-spec-item.spec-title,
#inventory-grid .inventory-spec-item.spec-title {
  order: 1;
}

#featured-grid .inventory-spec-item.spec-drive,
#inventory-grid .inventory-spec-item.spec-drive {
  order: 2;
}

#featured-grid .inventory-spec-item.spec-engine,
#inventory-grid .inventory-spec-item.spec-engine {
  order: 3;
}

#featured-grid .inventory-spec-item.spec-transmission,
#inventory-grid .inventory-spec-item.spec-transmission {
  order: 4;
}

#featured-grid .inventory-spec-item.spec-fuel,
#inventory-grid .inventory-spec-item.spec-fuel {
  order: 5;
}

#featured-grid .details-button,
#inventory-grid .details-button {
  min-height: 44px;
  background: linear-gradient(180deg, #e6bd4f 0%, #c99d31 100%) !important;
  color: #111 !important;
  border: 1px solid #e6bd4f !important;
  border-radius: 6px !important;
  font-size: .87rem;
  font-weight: 900;
  letter-spacing: .045em;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: linear-gradient(180deg, #f0cd69 0%, #d9ad3e 100%) !important;
  color: #111 !important;
}


/* v6.5 — direct listing-card template, exact hierarchy */
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,#191d22 0%,#12161a 100%);
  border: 1px solid #3b424b;
  border-radius: 10px;
}

#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-bottom: 1px solid #353c45;
  border-radius: 0;
}

#featured-grid .vehicle-body,
#inventory-grid .vehicle-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .9rem .95rem .95rem;
}

#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  column-gap: .75rem;
  margin: 0 0 .25rem;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  margin: 0;
  color: #f5f6f7;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  margin: 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.28;
  white-space: nowrap;
}

#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: block;
  margin: 0 0 .8rem;
  padding: 0 0 .75rem;
  border-bottom: 1px solid #343b44;
  color: #adb5bf;
  font-size: .87rem;
  line-height: 1.3;
}

#featured-grid .vehicle-desc,
#inventory-grid .vehicle-desc {
  display: none !important;
}

#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin: 0 0 .95rem;
}

#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item {
  display: flex !important;
  align-items: center;
  gap: .58rem;
  min-height: 27px;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#featured-grid .inventory-spec-item:first-child,
#inventory-grid .inventory-spec-item:first-child {
  display: none !important;
}

#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
  color: #f4f4f4;
}

#featured-grid .inventory-spec-item .spec-icon > svg,
#inventory-grid .inventory-spec-item .spec-icon > svg {
  width: 18px;
  height: 18px;
}

#featured-grid .spec-engine .spec-icon > svg,
#inventory-grid .spec-engine .spec-icon > svg {
  width: 20px;
}

#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  color: #d9dee4;
  font-size: .88rem;
  line-height: 1.3;
}

#featured-grid .drivetrain-pictogram,
#inventory-grid .drivetrain-pictogram {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

#featured-grid .drivetrain-pictogram svg,
#inventory-grid .drivetrain-pictogram svg {
  width: 22px;
  height: 20px;
}

#featured-grid .drivetrain-pictogram b,
#inventory-grid .drivetrain-pictogram b {
  display: none;
}

#featured-grid .status,
#inventory-grid .status {
  top: .5rem;
  right: .5rem;
  padding: .38rem .72rem;
  border-radius: 999px !important;
  background: rgba(9,11,14,.94);
  border: 1px solid rgba(215,180,93,.72);
  color: var(--gold-2);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

#featured-grid .status.sold-status,
#inventory-grid .status.sold-status {
  background: #aa2923;
  border-color: #e06159;
  color: #fff;
}

#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status {
  background: #69531d;
  border-color: var(--gold);
  color: #fff1bd;
}

#featured-grid .details-button,
#inventory-grid .details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid #e1b84d !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg,#e8bf54,#c99c31) !important;
  color: #111 !important;
  font-size: .87rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: linear-gradient(180deg,#f1cf6d,#d8ab3d) !important;
}


/* v6.6 — listing cards matched closely to supplied reference */
#featured-grid,
#inventory-grid {
  align-items: stretch;
}

#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #343a42;
  border-radius: 8px;
  background: linear-gradient(180deg,#1a1e23 0%,#14181c 100%);
  box-shadow: 0 4px 14px rgba(0,0,0,.20);
}

#featured-grid .vehicle-card:hover,
#inventory-grid .vehicle-card:hover {
  transform: translateY(-2px);
  border-color: #48515b;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid #31373f;
  border-radius: 0;
  background-position: center;
  background-size: cover;
}

#featured-grid .vehicle-body,
#inventory-grid .vehicle-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .78rem .82rem .82rem;
}

#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: .65rem;
  margin: 0 0 .18rem;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  margin: 0;
  color: #f0f2f4;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.24;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  margin: 0;
  color: var(--gold);
  font-size: .97rem;
  font-weight: 900;
  line-height: 1.24;
  white-space: nowrap;
}

#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .38rem;
  margin: 0;
  padding: .08rem 0 .65rem;
  border-bottom: 1px solid #2e343b;
  color: #b2b8c0;
  font-size: .83rem;
  line-height: 1.2;
}

#featured-grid .vehicle-meta-row .meta-dot,
#inventory-grid .vehicle-meta-row .meta-dot {
  color: #6f7781;
  font-size: .76rem;
}

#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  display: flex;
  flex-direction: column;
  gap: .47rem;
  margin: .72rem 0 .82rem;
}

#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item {
  display: flex !important;
  align-items: center;
  gap: .58rem;
  min-height: 25px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#featured-grid .inventory-spec-item:first-child,
#inventory-grid .inventory-spec-item:first-child {
  display: none !important;
}

#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  color: #f1f3f5;
}

#featured-grid .inventory-spec-item .spec-icon > svg,
#inventory-grid .inventory-spec-item .spec-icon > svg {
  width: 18px;
  height: 18px;
}

#featured-grid .spec-engine .spec-icon > svg,
#inventory-grid .spec-engine .spec-icon > svg {
  width: 20px;
}

#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  color: #cfd4da;
  font-size: .84rem;
  line-height: 1.22;
}

#featured-grid .drivetrain-pictogram,
#inventory-grid .drivetrain-pictogram {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

#featured-grid .drivetrain-pictogram svg,
#inventory-grid .drivetrain-pictogram svg {
  width: 21px;
  height: 20px;
}

#featured-grid .drivetrain-pictogram b,
#inventory-grid .drivetrain-pictogram b {
  display: none;
}

#featured-grid .drivetrain-pictogram .wheel-driven,
#inventory-grid .drivetrain-pictogram .wheel-driven {
  fill: var(--gold);
  stroke: var(--gold-2);
  stroke-width: 1;
}

#featured-grid .drivetrain-pictogram .wheel-idle,
#inventory-grid .drivetrain-pictogram .wheel-idle {
  fill: #f2f4f6;
  stroke: #f2f4f6;
  opacity: .95;
}

#featured-grid .drivetrain-pictogram .drive-line,
#inventory-grid .drivetrain-pictogram .drive-line {
  stroke: #f2f4f6;
  stroke-width: 2;
}

#featured-grid .drivetrain-pictogram .drive-node,
#inventory-grid .drivetrain-pictogram .drive-node {
  fill: #f2f4f6;
}

#featured-grid .details-button,
#inventory-grid .details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 39px;
  margin-top: auto;
  border: 1px solid var(--gold) !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: var(--gold) !important;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: rgba(215,180,93,.09) !important;
  color: var(--gold-2) !important;
}

#featured-grid .status,
#inventory-grid .status {
  top: .42rem;
  right: .42rem;
  padding: .30rem .52rem;
  border-radius: 5px !important;
  background: rgba(5,7,9,.94);
  color: #f4f5f6;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 3px 8px rgba(0,0,0,.32);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

#featured-grid .status.sold-status,
#inventory-grid .status.sold-status {
  background: #9f2823;
  border-color: #d04c44;
  color: #fff;
}

#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status {
  background: #67511c;
  border-color: var(--gold);
  color: #fff0b4;
}

#featured-grid .photo-count,
#inventory-grid .photo-count {
  font-size: .70rem;
  padding: .28rem .45rem;
}

#featured-grid .vehicle-desc,
#inventory-grid .vehicle-desc {
  display: none !important;
}

/* Reference screenshot proportions: four cards across on larger desktops. */
@media (min-width: 1180px) {
  .dealer-featured-grid,
  .dealer-inventory-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: .85rem;
  }
}


/* v6.7 — wider listing cards + mileage-only meta row */
@media (min-width: 1180px) {
  .dealer-featured-grid,
  .dealer-inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1500px) {
  .dealer-featured-grid,
  .dealer-inventory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .98rem;
}

#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
}

#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: block;
}


/* =========================================================
   v6.8 — Listing cards only
   Closely matched to supplied reference while retaining
   Wurks gold accents and mileage-only summary.
   ========================================================= */

/* Desktop card grid: four across like the reference image. */
@media (min-width: 1180px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
  }
}

/* Card shell */
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1f24 0%, #15191e 100%);
  border: 1px solid #343b43;
  border-radius: 7px;
  box-shadow: 0 5px 16px rgba(0,0,0,.22);
}

#featured-grid .vehicle-card:hover,
#inventory-grid .vehicle-card:hover {
  transform: translateY(-2px);
  border-color: #49525c;
  box-shadow: 0 11px 26px rgba(0,0,0,.26);
}

/* Photo area */
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  width: 100%;
  aspect-ratio: 1.78 / 1;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid #30373f;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

/* Compact status tag from the reference */
#featured-grid .status,
#inventory-grid .status {
  top: .42rem;
  right: .42rem;
  padding: .27rem .48rem;
  border-radius: 5px !important;
  background: rgba(5,7,9,.95);
  border: 1px solid rgba(255,255,255,.17);
  color: #f5f6f7;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(0,0,0,.38);
}

#featured-grid .status.sold-status,
#inventory-grid .status.sold-status {
  background: #a32924;
  border-color: #d6554d;
  color: #fff;
}

#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status {
  background: #66501b;
  border-color: var(--gold);
  color: #fff0b4;
}

/* Card body spacing */
#featured-grid .vehicle-body,
#inventory-grid .vehicle-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .72rem .76rem .76rem;
}

/* Vehicle name + price row */
#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: baseline;
  column-gap: .55rem;
  margin: 0 0 .16rem;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  min-width: 0;
  margin: 0;
  color: #f0f2f4;
  font-size: clamp(.82rem, 1vw, .96rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  margin: 0;
  color: var(--gold);
  font-size: clamp(.82rem, 1vw, .96rem);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

/* Mileage line + divider */
#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: block;
  margin: 0;
  padding: .10rem 0 .60rem;
  border-bottom: 1px solid #2e343b;
  color: #aeb5be;
  font-size: .80rem;
  line-height: 1.2;
}

/* Worded descriptions remain detail-page only */
#featured-grid .vehicle-desc,
#inventory-grid .vehicle-desc {
  display: none !important;
}

/* Stacked specification rows */
#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin: .62rem 0 .70rem;
}

#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item {
  display: flex !important;
  align-items: center;
  gap: .52rem;
  min-height: 25px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Mileage already appears above divider; suppress duplicate spec mileage. */
#featured-grid .inventory-spec-item:first-child,
#inventory-grid .inventory-spec-item:first-child {
  display: none !important;
}

/* Reference-sized icons */
#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  min-width: 21px;
  height: 21px;
  color: #f2f4f5;
}

#featured-grid .inventory-spec-item .spec-icon > svg,
#inventory-grid .inventory-spec-item .spec-icon > svg {
  width: 17px;
  height: 17px;
  overflow: visible;
}

#featured-grid .spec-engine .spec-icon > svg,
#inventory-grid .spec-engine .spec-icon > svg {
  width: 20px;
}

#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  min-width: 0;
  color: #cfd4da;
  font-size: .80rem;
  line-height: 1.18;
}

/* Compact drivetrain diagram. Gold indicates driven wheels. */
#featured-grid .drivetrain-pictogram,
#inventory-grid .drivetrain-pictogram {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

#featured-grid .drivetrain-pictogram svg,
#inventory-grid .drivetrain-pictogram svg {
  width: 20px;
  height: 19px;
  overflow: visible;
}

#featured-grid .drivetrain-pictogram b,
#inventory-grid .drivetrain-pictogram b {
  display: none;
}

#featured-grid .drivetrain-pictogram .wheel-driven,
#inventory-grid .drivetrain-pictogram .wheel-driven {
  fill: var(--gold);
  stroke: var(--gold-2);
  stroke-width: 1;
}

#featured-grid .drivetrain-pictogram .wheel-idle,
#inventory-grid .drivetrain-pictogram .wheel-idle {
  fill: #f2f4f5;
  stroke: #f2f4f5;
  opacity: .96;
}

#featured-grid .drivetrain-pictogram .drive-line,
#inventory-grid .drivetrain-pictogram .drive-line {
  stroke: #f2f4f5;
  stroke-width: 2;
}

#featured-grid .drivetrain-pictogram .drive-node,
#inventory-grid .drivetrain-pictogram .drive-node {
  fill: #f2f4f5;
}

/* Full-width outlined gold button, matching reference geometry. */
#featured-grid .details-button,
#inventory-grid .details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 37px;
  margin-top: auto;
  padding: .48rem .55rem;
  border: 1px solid var(--gold) !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: var(--gold) !important;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: rgba(215,180,93,.08) !important;
  color: var(--gold-2) !important;
}

/* Keep existing Inventory card browsing controls functional but discreet. */
#inventory-grid .card-photo-arrow {
  width: 30px;
  height: 38px;
  opacity: 0;
  transition: opacity .15s ease;
}

#inventory-grid .vehicle-photo:hover .card-photo-arrow,
#inventory-grid .card-photo-arrow:focus-visible {
  opacity: 1;
}

#inventory-grid .photo-count {
  padding: .25rem .40rem;
  font-size: .66rem;
}

/* Responsive fallbacks: listing-card changes only. */
@media (max-width: 1179px) and (min-width: 760px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 759px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: 1fr;
  }

  #featured-grid .vehicle-name,
  #inventory-grid .vehicle-name {
    font-size: .95rem;
  }
}


/* v6.9 — enforce true 16:9 listing-card photos */
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Keep the card itself from forcing the photo taller. */
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  grid-template-rows: auto 1fr;
}


/* v6.10 — 5:3 listing-card photos */
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  aspect-ratio: 5 / 3 !important;
}


/* ==================================================================
   v6.11 — EXACT REFERENCE LISTING CARDS
   Scope intentionally limited to #featured-grid and #inventory-grid.
   ================================================================== */

/* Four equal-width cards across at desktop width, matching reference. */
@media (min-width: 1180px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
}

/* Two columns on medium screens, one on phones. */
@media (min-width: 720px) and (max-width: 1179px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 719px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Overall card shell */
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid #3b424a !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #1a1e23 0%, #14181c 100%) !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.22) !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

#featured-grid .vehicle-card:hover,
#inventory-grid .vehicle-card:hover {
  transform: translateY(-2px) !important;
  border-color: #515a64 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.28) !important;
}

/* Photo proportions from the reference: wide landscape, ~16:9. */
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #31373e !important;
  border-radius: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Status banner: compact black rounded rectangle, gold Available text. */
#featured-grid .status,
#inventory-grid .status {
  position: absolute !important;
  top: 9px !important;
  right: 9px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border: 1px solid #2e343a !important;
  border-radius: 6px !important;
  background: rgba(4,6,8,.96) !important;
  color: #e3b63f !important;
  box-shadow: 0 3px 8px rgba(0,0,0,.42) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
}

/* State-specific banners */
#featured-grid .status.sold-status,
#inventory-grid .status.sold-status,
#featured-grid .status[data-status="sold"],
#inventory-grid .status[data-status="sold"] {
  background: #a92823 !important;
  border-color: #d4534c !important;
  color: #fff !important;
}
#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status,
#featured-grid .status[data-status="coming soon"],
#inventory-grid .status[data-status="coming soon"] {
  background: #70571b !important;
  border-color: #d7b45d !important;
  color: #fff0b2 !important;
}

/* Hide visual extras that are not present in the reference image. */
#featured-grid .featured-badge,
#inventory-grid .featured-badge,
#featured-grid .photo-count,
#inventory-grid .photo-count {
  display: none !important;
}

/* Keep inventory photo navigation functional but invisible until hover/focus. */
#inventory-grid .card-photo-arrow {
  opacity: 0 !important;
  transition: opacity .14s ease !important;
}
#inventory-grid .vehicle-photo:hover .card-photo-arrow,
#inventory-grid .card-photo-arrow:focus-visible {
  opacity: 1 !important;
}

/* Card content */
#featured-grid .vehicle-body,
#inventory-grid .vehicle-body {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  padding: 15px 15px 14px !important;
}

/* Year / Make / Model / Trim on left, price at far right */
#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin: 0 0 7px !important;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  min-width: 0 !important;
  margin: 0 !important;
  color: #f4f4f4 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  margin: 0 !important;
  color: #e3b63f !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

/* Mileage line and divider */
#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 13px !important;
  border-bottom: 1px solid #353b42 !important;
  color: #b5bbc2 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

/* Descriptions stay on detail page only. */
#featured-grid .vehicle-desc,
#inventory-grid .vehicle-desc {
  display: none !important;
}

/* Five specification rows exactly like the reference. */
#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 13px 0 15px !important;
  padding: 0 !important;
}

/* Suppress the duplicate mileage spec because mileage is above the divider. */
#featured-grid .inventory-spec-item:first-child,
#inventory-grid .inventory-spec-item:first-child {
  display: none !important;
}

#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Icons: same white/gold visual hierarchy as reference */
#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  color: #f2f2f2 !important;
}

#featured-grid .inventory-spec-item .spec-icon > svg,
#inventory-grid .inventory-spec-item .spec-icon > svg {
  width: 20px !important;
  height: 20px !important;
  color: #f2f2f2 !important;
  overflow: visible !important;
}

#featured-grid .spec-engine .spec-icon > svg,
#inventory-grid .spec-engine .spec-icon > svg {
  width: 23px !important;
}

/* Drivetrain icon: gold like the supplied reference. */
#featured-grid .drivetrain-pictogram,
#inventory-grid .drivetrain-pictogram {
  display: inline-flex !important;
  align-items: center !important;
  color: #e3b63f !important;
}
#featured-grid .drivetrain-pictogram svg,
#inventory-grid .drivetrain-pictogram svg {
  width: 23px !important;
  height: 22px !important;
  overflow: visible !important;
}
#featured-grid .drivetrain-pictogram b,
#inventory-grid .drivetrain-pictogram b {
  display: none !important;
}
#featured-grid .drivetrain-pictogram .wheel-driven,
#inventory-grid .drivetrain-pictogram .wheel-driven {
  fill: #e3b63f !important;
  stroke: #e3b63f !important;
}
#featured-grid .drivetrain-pictogram .wheel-idle,
#inventory-grid .drivetrain-pictogram .wheel-idle {
  fill: #e3b63f !important;
  stroke: #e3b63f !important;
  opacity: 1 !important;
}
#featured-grid .drivetrain-pictogram .drive-line,
#inventory-grid .drivetrain-pictogram .drive-line {
  stroke: #e3b63f !important;
  stroke-width: 2 !important;
}
#featured-grid .drivetrain-pictogram .drive-node,
#inventory-grid .drivetrain-pictogram .drive-node {
  fill: #e3b63f !important;
}

/* Spec text */
#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  min-width: 0 !important;
  color: #d5d9dd !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

/* Solid gold button from the reference */
#featured-grid .details-button,
#inventory-grid .details-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  margin-top: auto !important;
  padding: 0 12px !important;
  border: 1px solid #e0b23b !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, #e5b941 0%, #d3a52f 100%) !important;
  color: #111 !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: linear-gradient(180deg, #efc654 0%, #ddb23b 100%) !important;
  color: #111 !important;
}


/* =====================================================================
   v6.12 — literal reference-card match
   ONLY affects listing cards in #featured-grid and #inventory-grid.
   ===================================================================== */

@media (min-width: 1180px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
}

/* Card shell: flatter, thinner border, smaller radius. */
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background: #171b1f !important;
  border: 1px solid #3a4047 !important;
  border-radius: 6px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.20) !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
}

/* Reference photo is ~351x194 = 1.81:1, not a square-ish crop. */
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1.81 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #30363d !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Small black status rectangle from reference. */
#featured-grid .status,
#inventory-grid .status {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 25px !important;
  padding: 0 9px !important;
  border-radius: 5px !important;
  background: #07090b !important;
  border: 1px solid #2a3036 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.45) !important;
  color: #f3f4f5 !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

#featured-grid .status.sold-status,
#inventory-grid .status.sold-status,
#featured-grid .status[data-status="sold"],
#inventory-grid .status[data-status="sold"] {
  background: #a82c26 !important;
  border-color: #ce554e !important;
  color: #fff !important;
}

#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status,
#featured-grid .status[data-status="coming soon"],
#inventory-grid .status[data-status="coming soon"] {
  background: #5f4b17 !important;
  border-color: #b8922b !important;
  color: #f5d779 !important;
}

/* No highlight/photo-count extras in reference cards. */
#featured-grid .featured-badge,
#inventory-grid .featured-badge,
#featured-grid .photo-count,
#inventory-grid .photo-count {
  display: none !important;
}

/* Preserve inventory arrows, but only reveal on hover/focus. */
#inventory-grid .card-photo-arrow {
  opacity: 0 !important;
  transition: opacity .12s ease !important;
}
#inventory-grid .vehicle-photo:hover .card-photo-arrow,
#inventory-grid .card-photo-arrow:focus-visible {
  opacity: 1 !important;
}

/* Body proportions from reference. */
#featured-grid .vehicle-body,
#inventory-grid .vehicle-body {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  padding: 12px 13px 13px !important;
}

/* Name / price row */
#featured-grid .vehicle-title-row,
#inventory-grid .vehicle-title-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin: 0 0 5px !important;
}

#featured-grid .vehicle-name,
#inventory-grid .vehicle-name {
  min-width: 0 !important;
  margin: 0 !important;
  color: #f2f2f2 !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#featured-grid .vehicle-price,
#inventory-grid .vehicle-price {
  margin: 0 !important;
  color: #e0ae2d !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
}

/* Mileage line then thin divider. */
#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 11px !important;
  border-bottom: 1px solid #30363d !important;
  color: #aeb4ba !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

#featured-grid .vehicle-desc,
#inventory-grid .vehicle-desc {
  display: none !important;
}

/* Spec rows */
#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 10px 0 12px !important;
  padding: 0 !important;
}

/* No duplicate mileage row. */
#featured-grid .inventory-spec-item:first-child,
#inventory-grid .inventory-spec-item:first-child {
  display: none !important;
}

#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Exact thin-outline icon treatment. */
#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 23px !important;
  min-width: 23px !important;
  height: 23px !important;
  color: #f1f2f3 !important;
}

#featured-grid .ref-icon,
#inventory-grid .ref-icon {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.6 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  overflow: visible !important;
}

#featured-grid .ref-engine,
#inventory-grid .ref-engine {
  width: 23px !important;
}

/* Drivetrain matches the simple gold schematic in the reference. */
#featured-grid .ref-drivetrain,
#inventory-grid .ref-drivetrain {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 23px !important;
  height: 23px !important;
  color: #e0ae2d !important;
}

#featured-grid .ref-drivetrain svg,
#inventory-grid .ref-drivetrain svg {
  width: 22px !important;
  height: 22px !important;
  overflow: visible !important;
}

#featured-grid .ref-drivetrain svg path,
#inventory-grid .ref-drivetrain svg path {
  fill: none !important;
  stroke: #e0ae2d !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
}

#featured-grid .ref-drivetrain svg circle,
#inventory-grid .ref-drivetrain svg circle {
  fill: #e0ae2d !important;
  stroke: #e0ae2d !important;
}

#featured-grid .ref-wheel,
#inventory-grid .ref-wheel,
#featured-grid .ref-wheel-driven,
#inventory-grid .ref-wheel-driven {
  fill: #e0ae2d !important;
  stroke: #e0ae2d !important;
  stroke-width: .7 !important;
}

/* Text beside icons */
#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  min-width: 0 !important;
  color: #d0d4d8 !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
}

/* Reference uses a solid gold button. */
#featured-grid .details-button,
#inventory-grid .details-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 40px !important;
  margin-top: auto !important;
  padding: 0 10px !important;
  border: 1px solid #e2b33b !important;
  border-radius: 4px !important;
  background: #dfaF31 !important;
  color: #111 !important;
  box-shadow: none !important;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

#featured-grid .details-button:hover,
#inventory-grid .details-button:hover {
  background: #e9bd49 !important;
  color: #111 !important;
}

/* Medium/mobile cards keep same visual language. */
@media (min-width: 720px) and (max-width: 1179px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 719px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* v6.13 — compact listing status pill */
#featured-grid .vehicle-photo .status,
#inventory-grid .vehicle-photo .status {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  height: auto !important;
  min-height: 24px !important;

  margin: 0 !important;
  padding: 4px 9px !important;

  border-radius: 999px !important;
  box-sizing: border-box !important;

  white-space: nowrap !important;
  line-height: 1 !important;

  background: rgba(5,7,9,.95) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  color: #f3f4f5 !important;

  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;

  box-shadow: 0 2px 6px rgba(0,0,0,.40) !important;
  z-index: 5 !important;
}

#featured-grid .vehicle-photo .status.sold-status,
#inventory-grid .vehicle-photo .status.sold-status,
#featured-grid .vehicle-photo .status[data-status="sold"],
#inventory-grid .vehicle-photo .status[data-status="sold"] {
  background: #a82c26 !important;
  border-color: #ce554e !important;
  color: #fff !important;
}

#featured-grid .vehicle-photo .status.coming-soon-status,
#inventory-grid .vehicle-photo .status.coming-soon-status,
#featured-grid .vehicle-photo .status[data-status="coming soon"],
#inventory-grid .vehicle-photo .status[data-status="coming soon"] {
  background: #5f4b17 !important;
  border-color: #b8922b !important;
  color: #f5d779 !important;
}


/* v6.14 — status colors, full 'miles', clean spec rows */

/* AVAILABLE = gold pill */
#featured-grid .vehicle-photo .status:not(.sold-status):not(.coming-soon-status),
#inventory-grid .vehicle-photo .status:not(.sold-status):not(.coming-soon-status),
#featured-grid .vehicle-photo .status[data-status="available"],
#inventory-grid .vehicle-photo .status[data-status="available"] {
  background: #d7b45d !important;
  border-color: #d7b45d !important;
  color: #111 !important;
}

/* COMING SOON = black + white */
#featured-grid .vehicle-photo .status.coming-soon-status,
#inventory-grid .vehicle-photo .status.coming-soon-status,
#featured-grid .vehicle-photo .status[data-status="coming soon"],
#inventory-grid .vehicle-photo .status[data-status="coming soon"] {
  background: #07090b !important;
  border-color: rgba(255,255,255,.24) !important;
  color: #fff !important;
}

/* SOLD remains red */
#featured-grid .vehicle-photo .status.sold-status,
#inventory-grid .vehicle-photo .status.sold-status,
#featured-grid .vehicle-photo .status[data-status="sold"],
#inventory-grid .vehicle-photo .status[data-status="sold"] {
  background: #a82c26 !important;
  border-color: #ce554e !important;
  color: #fff !important;
}

/* Remove any pill/card treatment from every spec row and icon/text pair. */
#featured-grid .inventory-spec-item,
#inventory-grid .inventory-spec-item,
#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon,
#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Keep the icon footprint compact and text visually clean. */
#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon {
  padding: 0 !important;
}

#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text {
  padding: 0 !important;
}


/* v6.15 — 3:2 listing photos + wider card layout to match */
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo {
  aspect-ratio: 3 / 2 !important;
}

/* Widen cards on larger screens so the new 3:2 photo ratio feels balanced. */
@media (min-width: 1180px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

/* Allow 4 across only on very wide screens. */
@media (min-width: 1700px) {
  #featured-grid.dealer-featured-grid,
  #inventory-grid.dealer-inventory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}


/* v6.16 — updated engine icon to check-engine style */
#featured-grid .ref-engine,
#inventory-grid .ref-engine {
  color: #e0ae2d !important;
  width: 24px !important;
  height: 18px !important;
}

#featured-grid .spec-engine .spec-icon,
#inventory-grid .spec-engine .spec-icon {
  color: #e0ae2d !important;
}


/* v6.17 — engine icon white */
#featured-grid .ref-engine,
#inventory-grid .ref-engine,
#featured-grid .spec-engine .spec-icon,
#inventory-grid .spec-engine .spec-icon {
  color: #f1f2f3 !important;
}


/* v6.18 — uploaded engine icon (white) */
#featured-grid .spec-engine .spec-icon,
#inventory-grid .spec-engine .spec-icon {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#featured-grid .ref-engine-img,
#inventory-grid .ref-engine-img {
  display: block !important;
  width: 23px !important;
  height: 17px !important;
  object-fit: contain !important;
}


/* v6.19 — View Details gallery uses same 3:2 photo ratio as listing cards */
.dealer-detail-gallery .detail-main-photo,
.detail-gallery .detail-main-photo,
#detail-main-photo,
.detail-main-photo {
  width: 100% !important;
  aspect-ratio: 3 / 2 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Preserve the large desktop gallery width; only the ratio changes. */
.dealer-detail-gallery,
.detail-gallery {
  width: 100%;
}

/* Any actual img element inside the main frame should fill the same 3:2 area. */
.dealer-detail-gallery .detail-main-photo img,
.detail-gallery .detail-main-photo img,
.detail-main-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}


/* v6.20 — VIN integration */

/* Listing-card VIN: subtle secondary identity line below mileage */
#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
}

#featured-grid .vehicle-vin-row,
#inventory-grid .vehicle-vin-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #8f969e;
  font-size: 11px;
  line-height: 1.1;
}

#featured-grid .vehicle-vin-row[hidden],
#inventory-grid .vehicle-vin-row[hidden] {
  display: none !important;
}

#featured-grid .vin-label,
#inventory-grid .vin-label {
  color: #d7b45d;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#featured-grid .vehicle-vin,
#inventory-grid .vehicle-vin {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  letter-spacing: .025em;
}

/* Detail-page VIN: dedicated identity bar, not another spec box */
.detail-vin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 11px 13px;
  border: 1px solid #343b44;
  border-left: 3px solid #d7b45d;
  border-radius: 7px;
  background: #0d1014;
}

.detail-vin-bar[hidden] {
  display: none !important;
}

.detail-vin-label {
  flex: 0 0 auto;
  color: #d7b45d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.detail-vin-bar strong {
  min-width: 0;
  color: #eef1f4;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .055em;
  overflow-wrap: anywhere;
}


/* v6.20 Gear Icon Update — user-supplied gear, converted to white */
#featured-grid .spec-transmission .spec-icon,
#inventory-grid .spec-transmission .spec-icon {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#featured-grid .ref-gear-img,
#inventory-grid .ref-gear-img {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  object-fit: contain !important;
}


/* v6.20 Title Status Icon Update — user-supplied title icon, converted to white */
#featured-grid .spec-title .spec-icon,
#inventory-grid .spec-title .spec-icon {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#featured-grid .ref-title-img,
#inventory-grid .ref-title-img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}


/* v6.20 drivetrain icon update — based on uploaded icon style */
#featured-grid .ref-drivetrain,
#inventory-grid .ref-drivetrain {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 23px !important;
  height: 23px !important;
}

#featured-grid .ref-drivetrain svg,
#inventory-grid .ref-drivetrain svg {
  width: 22px !important;
  height: 22px !important;
  overflow: visible !important;
}

#featured-grid .ref-drive-line,
#inventory-grid .ref-drive-line,
#featured-grid .ref-drive-node,
#inventory-grid .ref-drive-node {
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 2.15 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

#featured-grid .ref-drive-node,
#inventory-grid .ref-drive-node {
  fill: #ffffff !important;
}

#featured-grid .ref-wheel,
#inventory-grid .ref-wheel {
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 2.15 !important;
}

#featured-grid .ref-wheel-driven,
#inventory-grid .ref-wheel-driven {
  fill: none !important;
  stroke: #d7b45d !important;
  stroke-width: 2.15 !important;
}


/* v6.20 drivetrain icon update v2 — filled style based on uploaded reference */
#featured-grid .ref-drivetrain,
#inventory-grid .ref-drivetrain {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:23px !important;
  height:23px !important;
}
#featured-grid .ref-drivetrain svg,
#inventory-grid .ref-drivetrain svg {
  width:22px !important;
  height:22px !important;
  overflow:visible !important;
}
#featured-grid .ref-drive-body,
#inventory-grid .ref-drive-body {
  fill:#ffffff !important;
  stroke:none !important;
}
#featured-grid .ref-wheel-fill,
#inventory-grid .ref-wheel-fill {
  fill:#ffffff !important;
  stroke:none !important;
}
#featured-grid .ref-wheel-driven-fill,
#inventory-grid .ref-wheel-driven-fill {
  fill:#d7b45d !important;
  stroke:none !important;
}


/* v6.20 status-pill border update */
#featured-grid .status[data-status="available"],
#inventory-grid .status[data-status="available"],
#featured-grid .status[data-status="sold"],
#inventory-grid .status[data-status="sold"] {
  border: 1px solid #000000 !important;
}


/* v6.20 — corrected visible black borders for Available and Sold pills */
#featured-grid .vehicle-photo .status[data-status="available"],
#inventory-grid .vehicle-photo .status[data-status="available"],
#featured-grid .vehicle-photo .status.sold-status,
#inventory-grid .vehicle-photo .status.sold-status,
#featured-grid .vehicle-photo .status[data-status="sold"],
#inventory-grid .vehicle-photo .status[data-status="sold"] {
  border: 2px solid #000000 !important;
  box-sizing: border-box !important;
}


/* v6.20 — remove black borders from Available and Sold pills */
#featured-grid .vehicle-photo .status[data-status="available"],
#inventory-grid .vehicle-photo .status[data-status="available"],
#featured-grid .vehicle-photo .status.sold-status,
#inventory-grid .vehicle-photo .status.sold-status,
#featured-grid .vehicle-photo .status[data-status="sold"],
#inventory-grid .vehicle-photo .status[data-status="sold"] {
  border: none !important;
}


/* v6.20 — photo counters on Inventory and View Details */
#inventory-grid .vehicle-photo .photo-count,
.detail-main-photo .detail-photo-count {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 6 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 999px !important;
  background: rgba(5,7,9,.78) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.36) !important;
  backdrop-filter: blur(7px);
  pointer-events: none !important;
}

.detail-main-photo .detail-photo-count {
  right: 14px !important;
  bottom: 14px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
}

#inventory-grid .photo-count-icon,
.detail-main-photo .photo-count-icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.detail-main-photo .photo-count-icon {
  width: 15px !important;
  height: 15px !important;
}

@media (max-width: 760px) {
  #inventory-grid .vehicle-photo .photo-count {
    right: 9px !important;
    bottom: 9px !important;
  }

  .detail-main-photo .detail-photo-count {
    right: 10px !important;
    bottom: 10px !important;
  }
}


/* v6.20 — visually separate vehicle trim from main model name */
#inventory-grid .vehicle-name .vehicle-trim {
  color: #b2b8c0 !important;
  font-size: .84em !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.detail-summary #detail-name .detail-trim {
  color: #b2b8c0 !important;
  font-size: .72em !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
}

/* Keep the trim aligned naturally with the main vehicle name. */
#inventory-grid .vehicle-name .vehicle-trim,
.detail-summary #detail-name .detail-trim {
  vertical-align: baseline !important;
}


/* v6.20 — precisely center gallery arrows inside circular buttons */
.card-photo-arrow,
.detail-photo-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
  line-height: 0 !important;
}

.card-photo-arrow .photo-arrow-icon,
.detail-photo-arrow .photo-arrow-icon {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.25 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.card-photo-arrow .photo-arrow-icon {
  width: 19px !important;
  height: 19px !important;
}

.detail-photo-arrow .photo-arrow-icon {
  width: 22px !important;
  height: 22px !important;
}

@media (max-width: 760px) {
  .card-photo-arrow .photo-arrow-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .detail-photo-arrow .photo-arrow-icon {
    width: 20px !important;
    height: 20px !important;
  }
}


/* v6.20 — remove circular element/background from drivetrain icon on Inventory page */
#inventory-grid .inventory-spec-item.spec-drive .spec-icon,
#inventory-grid .inventory-spec-item.spec-drive .ref-drivetrain {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Remove the circular center element from the drivetrain pictogram on Inventory only. */
#inventory-grid .inventory-spec-item.spec-drive .ref-drivetrain svg circle {
  display: none !important;
}


/* v6.20 — keep Homepage Highlight cards matched to Inventory cards */
#featured-grid .inventory-spec-item.spec-drive .spec-icon,
#featured-grid .inventory-spec-item.spec-drive .ref-drivetrain {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

#featured-grid .inventory-spec-item.spec-drive .ref-drivetrain svg circle {
  display: none !important;
}


/* v6.20 — About Wurks Cars Came First FIXED */
#about .about-copy {
  max-width: 900px;
}
#about .about-copy p {
  margin: 0 0 1rem;
}
#about .about-copy .about-closing {
  margin-top: 1.5rem;
}


/* =========================================================
   v7.0 — Light Showroom Theme
   Based on the approved Wurks silver / charcoal / gold logo.
   Preserves all existing site functionality and content.
   ========================================================= */
:root{
  --bg:#f4f2ee;
  --panel:#f8f6f1;
  --panel-2:#f7f5f1;
  --panel-3:#ece9e3;
  --soft:#f0ede7;
  --text:#2d3034;
  --muted:#6b6f75;
  --line:#d7d4ce;
  --accent:#c88f12;
  --gold:#c88f12;
  --gold-2:#e1b43b;
  --charcoal:#25292d;
  --charcoal-2:#34393e;
  --max:1480px;
}

html{background:#f4f2ee}
body{
  font-family:"Roboto Condensed",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#f4f2ee;
  color:var(--text);
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  min-height:88px;
  padding:12px max(24px,calc((100vw - var(--max))/2));
  gap:28px;
  background:rgba(248,246,241,.97) !important;
  border-bottom:1px solid #dedbd5 !important;
  box-shadow:0 3px 18px rgba(23,25,28,.055);
  backdrop-filter:blur(14px);
}
.site-logo{width:285px;max-width:36vw;height:auto}
.nav{margin-left:auto;gap:34px;align-items:center}
.nav a{
  color:#25282c;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:.035em;
}
.nav a:hover,.nav a.active{color:var(--gold)}
.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 24px;
  border:1px solid #b77e08;
  border-radius:3px;
  background:linear-gradient(180deg,#ddb136 0%,#be8206 100%);
  box-shadow:0 6px 14px rgba(174,116,0,.16);
  color:#fff;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.header-cta:hover{filter:brightness(1.04);transform:translateY(-1px)}
.menu-toggle{color:#292c30;border-color:#cfcac2;background:#f8f6f1}

.eyebrow{color:var(--gold);font-size:.82rem;letter-spacing:.16em}
.button{border-radius:3px;text-transform:uppercase;letter-spacing:.045em;font-weight:800}
.button.primary{
  background:linear-gradient(180deg,#ddb136,#bf8308);
  border-color:#b67c08;
  color:#fff;
  box-shadow:0 5px 12px rgba(178,117,0,.14);
}
.button.secondary{background:#f8f6f1;color:#34373b;border-color:#bbb7b0}

/* Homepage hero */
.dealer-hero{
  max-width:none;
  min-height:470px;
  grid-template-columns:minmax(430px,.85fr) minmax(520px,1.15fr);
  gap:42px;
  padding:58px max(24px,calc((100vw - var(--max))/2));
  border-bottom:1px solid #dedbd5;
  background:
    radial-gradient(circle at 17% 12%,rgba(225,180,59,.14),transparent 28%),
    linear-gradient(105deg,#f7f2ea 0%,#f4f0e9 48%,#ece9e3 100%);
}
.dealer-hero-copy{position:relative;z-index:2}
.dealer-hero-copy h1{
  max-width:760px;
  margin:.25rem 0 1.2rem;
  color:#303337;
  font-size:clamp(3rem,5.6vw,5.25rem);
  line-height:.96;
  letter-spacing:-.035em;
  text-transform:uppercase;
}
.dealer-hero-copy h1::after{
  content:"";
  display:block;
  width:150px;
  height:2px;
  margin-top:22px;
  background:linear-gradient(90deg,var(--gold),transparent);
}
.dealer-hero-copy>p:not(.eyebrow){max-width:620px;color:#555a60;font-size:1.08rem;line-height:1.55}
.hero-cta{margin-top:1.15rem;padding:14px 26px}
.dealer-hero-visual{min-height:350px;display:block}
.hero-vehicle-image{
  position:relative;
  width:100%;
  height:100%;
  min-height:360px;
  overflow:hidden;
  border:1px solid #d2cec7;
  border-radius:10px;
  background:
    linear-gradient(135deg,#eeece7,#d8d5cf);
  background-size:cover;
  background-position:center;
  box-shadow:0 24px 55px rgba(42,44,47,.13);
}
.hero-vehicle-image::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(245,241,234,.6) 0%,rgba(245,241,234,.08) 26%,transparent 48%);
  pointer-events:none;
}
.hero-vehicle-image.has-hero-image::after{
  content:"Featured Inventory";
  position:absolute;
  right:18px;
  bottom:16px;
  padding:7px 10px;
  border-radius:2px;
  background:rgba(31,34,37,.86);
  color:#fff;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.hero-vehicle-fallback{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:40px;
}
.hero-vehicle-fallback[hidden]{display:none}
.hero-vehicle-fallback img{width:min(440px,82%);height:auto;filter:drop-shadow(0 8px 14px rgba(0,0,0,.08))}
.hero-vehicle-fallback span{color:#75797e;text-transform:uppercase;letter-spacing:.14em;font-weight:700}

/* General sections */
.section{max-width:var(--max);padding:58px 24px}
.section h2{color:#2d3034}
.section-heading-row{margin-bottom:24px;align-items:end}
.section-heading-row h2{font-size:clamp(2rem,3.4vw,3.15rem)}
.text-link{color:#4a4d51;text-transform:uppercase;letter-spacing:.06em;font-size:.82rem}
.text-link:hover{color:var(--gold);text-decoration:none}

.featured-section{background:#f8f6f1}
.featured-section .section-heading-row{position:relative}
.featured-section .section-heading-row::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width:70px;
  height:2px;
  background:var(--gold);
}

/* Vehicle cards — identical on Homepage Highlights and Inventory */
#featured-grid.dealer-featured-grid,
#inventory-grid.dealer-inventory-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
#featured-grid .vehicle-card,
#inventory-grid .vehicle-card{
  background:#f8f6f1 !important;
  border:1px solid #d7d3cc !important;
  border-radius:7px !important;
  box-shadow:0 8px 20px rgba(35,37,40,.07) !important;
  color:#2e3135;
}
#featured-grid .vehicle-card:hover,
#inventory-grid .vehicle-card:hover{
  transform:translateY(-3px);
  border-color:#bbb6ad !important;
  box-shadow:0 14px 28px rgba(35,37,40,.11) !important;
}
#featured-grid .vehicle-card::after,
#inventory-grid .vehicle-card::after{
  content:"";
  display:block;
  height:3px;
  margin-top:auto;
  background:linear-gradient(90deg,var(--gold),#dfb13c 62%,#efca68);
}
#featured-grid .vehicle-photo,
#inventory-grid .vehicle-photo{
  aspect-ratio:3 / 2 !important;
  border-bottom:1px solid #ddd9d2 !important;
  background-color:#e7e4de !important;
}
#featured-grid .vehicle-body,
#inventory-grid .vehicle-body{padding:.88rem .9rem .9rem !important;background:#f8f6f1}
#featured-grid .vehicle-name,
#inventory-grid .vehicle-name{color:#292c30 !important;font-size:1rem !important;font-weight:800 !important}
#featured-grid .vehicle-name .vehicle-trim,
#inventory-grid .vehicle-name .vehicle-trim{color:#74787d !important;font-size:.84em !important;font-weight:600 !important}
#featured-grid .vehicle-price,
#inventory-grid .vehicle-price{color:#25282c !important;font-size:1.02rem !important;font-weight:900 !important}
#featured-grid .vehicle-meta-row,
#inventory-grid .vehicle-meta-row{
  color:#6a6e73 !important;
  border-bottom:1px solid #e2ded8 !important;
  padding:.08rem 0 .62rem !important;
}
#featured-grid .specs.inventory-specs,
#inventory-grid .specs.inventory-specs{margin:.72rem 0 .82rem !important;gap:.42rem !important}
#featured-grid .inventory-spec-item .spec-text,
#inventory-grid .inventory-spec-item .spec-text{color:#50545a !important;font-size:.83rem !important}
#featured-grid .inventory-spec-item .spec-icon,
#inventory-grid .inventory-spec-item .spec-icon{color:#3c4045 !important}
#featured-grid .ref-engine-img,
#inventory-grid .ref-engine-img,
#featured-grid .ref-gear-img,
#inventory-grid .ref-gear-img,
#featured-grid .ref-title-img,
#inventory-grid .ref-title-img{filter:brightness(0) saturate(100%) opacity(.74) !important}
#featured-grid .ref-drive-body,
#inventory-grid .ref-drive-body,
#featured-grid .ref-wheel-fill,
#inventory-grid .ref-wheel-fill{fill:#4a4e53 !important}
#featured-grid .ref-wheel-driven-fill,
#inventory-grid .ref-wheel-driven-fill{fill:#d09a16 !important}
#featured-grid .details-button,
#inventory-grid .details-button{
  min-height:40px;
  border:1px solid #b98009 !important;
  background:linear-gradient(180deg,#ddb238,#c68a0b) !important;
  color:#fff !important;
  border-radius:3px !important;
  box-shadow:none !important;
}
#featured-grid .details-button:hover,
#inventory-grid .details-button:hover{background:linear-gradient(180deg,#e4bd4b,#cc920f) !important;color:#fff !important}
#featured-grid .status,
#inventory-grid .status{
  left:auto !important;
  right:.55rem !important;
  top:.55rem !important;
  background:#d3a01e !important;
  color:#24272b !important;
  border:0 !important;
  border-radius:3px !important;
  box-shadow:0 3px 8px rgba(0,0,0,.15) !important;
}
#featured-grid .status.sold-status,
#inventory-grid .status.sold-status{background:#b83a34 !important;color:#fff !important}
#featured-grid .status.coming-soon-status,
#inventory-grid .status.coming-soon-status{background:#2f3337 !important;color:#fff !important}
#featured-grid .vehicle-photo .photo-count,
#inventory-grid .vehicle-photo .photo-count{background:rgba(30,33,36,.82) !important;border-color:rgba(255,255,255,.28) !important}

/* Why Wurks — dark contrast section like approved reference */
.why-section{
  max-width:none;
  padding:0;
  background:linear-gradient(120deg,#25292d,#33383d);
  border-block:1px solid #1f2225;
}
.why-panel{
  max-width:var(--max);
  margin:0 auto;
  grid-template-columns:310px minmax(0,1fr);
  gap:42px;
  padding:48px 24px;
  border:0;
  border-radius:0;
  background:transparent;
}
.why-panel h2{color:#fff;font-size:clamp(2.2rem,3.3vw,3.3rem)}
.why-grid{grid-template-columns:repeat(4,1fr);border:0;gap:0}
.why-grid>div{
  min-height:210px;
  padding:8px 24px;
  border:0 !important;
  border-left:1px solid rgba(255,255,255,.16) !important;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.why-grid>div:first-child{border-left:0 !important}
.why-grid strong{margin-top:13px;color:#fff;font-size:1.02rem}
.why-grid span:not(.why-icon){margin-top:.55rem;color:#c9cdd1;line-height:1.45}
.why-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  color:#e0ac26;
}
.why-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}

/* About Wurks — light editorial section */
#about{
  position:relative;
  max-width:none;
  display:grid;
  grid-template-columns:minmax(250px,.65fr) minmax(0,1.35fr);
  column-gap:70px;
  padding:62px max(24px,calc((100vw - var(--max))/2));
  overflow:hidden;
  background:linear-gradient(110deg,#f7f5f1,#ebe8e1);
  border-bottom:1px solid #d8d4cd;
}
#about::after{
  content:"";
  position:absolute;
  right:40px;
  bottom:28px;
  width:400px;
  height:110px;
  background:url("images/wurks-auto-sales-logo.png?v=7.3.2-solid") center/contain no-repeat;
  opacity:.045;
  pointer-events:none;
}
#about>.eyebrow{grid-column:1;align-self:start}
#about>h2{grid-column:1;font-size:clamp(2.6rem,4.6vw,4.5rem);line-height:.92;max-width:300px}
#about .about-copy{
  grid-column:2;
  grid-row:1 / span 2;
  max-width:900px !important;
  color:#55595e !important;
  font-size:1.06rem;
  line-height:1.62;
}
#about .about-copy p{color:#55595e;margin:0 0 1rem}
#about .about-closing{padding-top:14px;border-top:1px solid #cfcac2;color:#303337 !important}
#about .about-closing strong{color:#303337;font-size:1.18rem}

/* Contact */
.contact-form-section{max-width:var(--max);padding-top:58px;padding-bottom:70px;background:#f4f2ee}
.contact-form-intro h2{color:#2d3034}
.contact-form-intro p,.contact-section p{color:#666a6f}
.contact-submission-form{
  border:1px solid #d4d0c9;
  background:#f8f6f1;
  box-shadow:0 14px 32px rgba(40,42,45,.06);
}
.form-field label{color:#34373b}
.optional-label{color:#878b90}
.contact-submission-form input,.contact-submission-form textarea{
  border-color:#d2cec7;
  background:#f8f7f4;
  color:#2f3236;
}
.contact-submission-form input::placeholder,.contact-submission-form textarea::placeholder{color:#989b9f}
.contact-submission-form input:focus,.contact-submission-form textarea:focus{border-color:#c99116;background:#f8f6f1}
.comment-count,.contact-privacy-note{color:#72767b}
.contact-privacy-note strong{color:#383b3f}
.privacy-shield{border-color:#c99116;color:#c99116}
.contact-submit-button{border-radius:3px;border-color:#b57b05;background:linear-gradient(180deg,#ddb136,#be8206);color:#fff}

/* Inventory page */
.dealer-inventory-page{max-width:none;background:#f4f2ee}
.inventory-hero.compact{
  max-width:none;
  margin:0;
  padding:48px max(24px,calc((100vw - var(--max))/2)) 36px;
  background:linear-gradient(105deg,#f7f3ec,#ece9e3);
  border-bottom:1px solid #dad6cf;
}
.inventory-hero.compact h1{color:#303337;font-size:clamp(3rem,5vw,4.6rem)}
.inventory-hero.compact>p:last-child{color:#676b70;font-size:1.16rem;margin-top:14px}
.dealer-controls{
  max-width:var(--max);
  margin:28px auto 0;
  border-color:#d5d1ca;
  background:#f8f6f1;
  box-shadow:0 10px 26px rgba(37,39,42,.055);
}
.dealer-controls label{color:#74787d}
.dealer-controls input,.dealer-controls select{border-color:#d0ccc5;background:#f8f7f4;color:#303337}
.dealer-controls input::placeholder{color:#95999d}
.inventory-results-head{max-width:var(--max);margin:0 auto;color:#777b80}
.inventory-results-head strong{color:#bd8209}
.inventory-list-section{max-width:var(--max);padding-top:16px}
.no-results{border-color:#c9c5bd;background:#f8f6f1}
.no-results h2{color:#303337}.no-results p{color:#74787d}
.clear-filter-button{background:#f8f6f1;color:#33363a;border-color:#c9c5bd}

/* Vehicle details */
.vehicle-detail-page{max-width:var(--max);color:#303337}
.detail-breadcrumb,.detail-breadcrumb a{color:#777b80}
.dealer-detail-gallery,.dealer-detail-summary{border-color:#d5d1ca;background:#f8f6f1;box-shadow:0 12px 30px rgba(35,37,40,.06)}
.detail-main-photo{border-color:#d8d4cd;background:#e9e6e0;aspect-ratio:3 / 2 !important;height:auto !important}
.detail-summary h1{color:#2d3034}
.detail-summary #detail-name .detail-trim{color:#74787d !important}
.detail-price{color:#bd8209 !important}
.detail-vin-bar{border-color:#d8d4cd !important;background:#f6f4ef !important;color:#35383c !important}
.detail-vin-label{color:#a06f0c !important}
.detail-spec-grid{border-color:#d8d4cd}
.detail-spec-grid>div{background:#f7f5f1 !important;color:#34373b}
.detail-spec-grid span,.disclosure-box>span{color:#777b80}
.detail-description{color:#55595e}
.disclosure-box{background:#f7f5f1;border-color:#d7d3cc}.disclosure-box p{color:#62666b}
.detail-actions .button.primary{background:linear-gradient(180deg,#ddb136,#be8206);border-color:#b57b05;color:#fff}
.detail-actions .button.secondary{background:#f8f6f1;color:#33363a;border-color:#bdb8b0}
.thumb{border-radius:5px}.thumb:hover,.thumb.active{border-color:#c99116}
.buyer-banner{background:#2b2f33;border-color:#202327;color:#fff}
.buyer-banner h2{color:#fff}.buyer-banner>p{color:#c7cbd0}

/* Inquiry modal */
.vehicle-inquiry-backdrop{background:rgba(30,32,35,.70)}
.vehicle-inquiry-dialog{border-color:#d4d0c9;background:#f8f6f1;color:#303337;box-shadow:0 26px 70px rgba(0,0,0,.28)}
.vehicle-inquiry-dialog h2{color:#303337}.vehicle-inquiry-vehicle{color:#a87208}
.vehicle-inquiry-close{border-color:#d2cec7;background:#f4f2ee;color:#303337}
.vehicle-inquiry-form input,.vehicle-inquiry-form textarea{border-color:#d2cec7;background:#f8f7f4;color:#303337}
.vehicle-inquiry-form input:focus,.vehicle-inquiry-form textarea:focus{outline:2px solid rgba(201,145,22,.18);border-color:#c99116}

/* Footer */
footer{
  max-width:none;
  padding:34px max(24px,calc((100vw - var(--max))/2)) 42px;
  border-top:1px solid #1f2225;
  background:#25292d;
  color:#bfc3c7;
}
footer strong{color:#fff}

@media(max-width:1180px){
  #featured-grid.dealer-featured-grid,#inventory-grid.dealer-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dealer-hero{grid-template-columns:1fr 1fr;min-height:420px}
  .site-logo{width:245px}
  .nav{gap:20px}
  .why-panel{grid-template-columns:1fr}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid>div:nth-child(odd){border-left:0 !important}
  #about{grid-template-columns:1fr;row-gap:20px}
  #about>.eyebrow,#about>h2,#about .about-copy{grid-column:1;grid-row:auto}
  #about>h2{max-width:none}
}
@media(max-width:860px){
  .header-cta{display:none}
  .site-header{min-height:76px}
  .site-logo{width:215px;max-width:58vw}
  .nav{top:76px;background:#f8f6f1;border-bottom-color:#ddd9d2;box-shadow:0 10px 20px rgba(0,0,0,.08)}
  .nav a{color:#2e3135}
  .dealer-hero{grid-template-columns:1fr;padding-top:42px;padding-bottom:42px}
  .dealer-hero-visual{display:block}
  .hero-vehicle-image{min-height:280px}
  .why-grid{grid-template-columns:1fr}
  .why-grid>div{min-height:auto;padding:18px 0;border-left:0 !important;border-top:1px solid rgba(255,255,255,.14) !important}
  .why-grid>div:first-child{border-top:0 !important}
}
@media(max-width:620px){
  #featured-grid.dealer-featured-grid,#inventory-grid.dealer-inventory-grid{grid-template-columns:1fr}
  .dealer-hero-copy h1{font-size:clamp(2.6rem,13vw,4rem)}
  .dealer-hero{padding-left:18px;padding-right:18px}
  .hero-vehicle-image{min-height:220px}
  .section{padding-left:18px;padding-right:18px}
  .dealer-controls{margin-left:18px;margin-right:18px}
  .inventory-hero.compact,#about{padding-left:18px;padding-right:18px}
}

/* v7.1 — Homepage Wurks Highlights: clean image-first reference style */
.featured-section {
  padding-top: 34px !important;
  padding-bottom: 38px !important;
}
.featured-section .section-heading-row {
  align-items: end;
  margin-bottom: 22px !important;
}
.featured-section .section-heading-row > div {
  flex: 1;
  text-align: center;
}
.featured-section .section-heading-row .eyebrow {
  display: none;
}
.featured-section .section-heading-row h2 {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  font-size: clamp(1.45rem,2.2vw,2rem) !important;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #34373b;
}
.featured-section .section-heading-row h2::before,
.featured-section .section-heading-row h2::after {
  content: "";
  width: clamp(52px,6vw,96px);
  height: 2px;
  background: linear-gradient(90deg,#bd8410,#dfb544);
}
.featured-section .section-heading-row::after { display:none !important; }
.featured-section .section-heading-row .text-link {
  position: absolute;
  right: 0;
  bottom: .25rem;
  color:#474b50;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#featured-grid.dealer-featured-grid {
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 20px !important;
}
#featured-grid .vehicle-card {
  border: 1px solid #d8d4cd !important;
  border-radius: 5px !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(35,37,40,.06) !important;
  background:#f8f6f1 !important;
  cursor:pointer;
}
#featured-grid .vehicle-card:hover {
  transform: translateY(-2px) !important;
  box-shadow:0 12px 28px rgba(35,37,40,.10) !important;
}
#featured-grid .vehicle-card::after {
  height:2px !important;
  background:linear-gradient(90deg,#c58d13,#e0b84a) !important;
}
#featured-grid .vehicle-photo {
  aspect-ratio: 16 / 9 !important;
  border-bottom:1px solid #dedad3 !important;
}
#featured-grid .vehicle-photo .photo-count { display:none !important; }
#featured-grid .card-photo-arrow {
  opacity:0;
  transition:opacity .18s ease;
}
#featured-grid .vehicle-card:hover .card-photo-arrow { opacity:1; }

#featured-grid .status {
  right:.55rem !important;
  top:.55rem !important;
  padding:.34rem .58rem !important;
  border-radius:3px !important;
  font-size:.68rem !important;
  letter-spacing:.055em !important;
  text-transform:uppercase;
  font-weight:800 !important;
}

#featured-grid .vehicle-body {
  padding:.72rem .78rem .8rem !important;
}
#featured-grid .vehicle-title-row {
  align-items:flex-start !important;
  gap:.55rem !important;
  margin:0 0 .18rem !important;
}
#featured-grid .vehicle-name {
  margin:0 !important;
  line-height:1.18 !important;
  font-size:.91rem !important;
  font-weight:850 !important;
  text-transform:uppercase;
  color:#25282c !important;
}
#featured-grid .vehicle-name .vehicle-trim {
  display:block;
  margin-top:.24rem;
  font-size:.82rem !important;
  line-height:1.25;
  text-transform:none;
  color:#70747a !important;
  font-weight:500 !important;
}
#featured-grid .vehicle-price {
  flex:0 0 auto;
  white-space:nowrap;
  font-size:1rem !important;
  line-height:1.15;
  color:#222529 !important;
}

/* Mileage is already included in compact specs, so remove duplicate meta line. */
#featured-grid .vehicle-meta-row { display:none !important; }
#featured-grid .specs.inventory-specs {
  display:flex !important;
  flex-wrap:wrap;
  align-items:center;
  gap:.48rem .78rem !important;
  margin:.62rem 0 0 !important;
  padding-top:.6rem;
  border-top:1px solid #ece8e1;
}
#featured-grid .inventory-spec-item {
  display:inline-flex !important;
  align-items:center;
  gap:.28rem !important;
  min-width:0;
  color:#55595e !important;
  font-size:.75rem !important;
  white-space:nowrap;
}
#featured-grid .inventory-spec-item:first-child::before {
  content:"◉";
  font-size:.63rem;
  color:#55595e;
}
#featured-grid .spec-title,
#featured-grid .spec-drive,
#featured-grid .spec-fuel {
  display:none !important;
}
#featured-grid .spec-engine,
#featured-grid .spec-transmission { display:inline-flex !important; }
#featured-grid .inventory-spec-item .spec-text {
  font-size:.75rem !important;
  color:#55595e !important;
}
#featured-grid .inventory-spec-item .spec-icon {
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
}
#featured-grid .ref-engine-img,
#featured-grid .ref-gear-img {
  width:15px !important;
  height:15px !important;
}
#featured-grid .details-button { display:none !important; }

@media (max-width: 1050px) {
  #featured-grid.dealer-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .featured-section .section-heading-row .text-link { position:static; margin-left:1rem; }
}
@media (max-width: 620px) {
  #featured-grid.dealer-featured-grid { grid-template-columns:1fr !important; }
  .featured-section .section-heading-row { display:block; text-align:center; }
  .featured-section .section-heading-row .text-link { display:inline-block; margin:14px 0 0; }
  .featured-section .section-heading-row h2 { gap:12px; letter-spacing:.1em; }
  .featured-section .section-heading-row h2::before,
  .featured-section .section-heading-row h2::after { width:28px; }
}


/* v7.2 — homepage highlight mileage row with RPM gauge icon */
#featured-grid .spec-mileage {
  display: inline-flex !important;
  flex-basis: 100%;
  margin-top: .08rem;
}
#featured-grid .spec-mileage .spec-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
}
#featured-grid .ref-rpm {
  width: 15px;
  height: 15px;
  overflow: visible;
}
#featured-grid .ref-rpm .rpm-arc,
#featured-grid .ref-rpm .rpm-tick {
  fill: none;
  stroke: #f4f4f4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#featured-grid .ref-rpm .rpm-needle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#featured-grid .ref-rpm .rpm-center {
  fill: var(--gold);
  stroke: #f4f4f4;
  stroke-width: 1.1;
}

/* v7.2.1 — FIX: force homepage Highlight mileage visible below transmission */
#featured-grid .inventory-spec-item.spec-mileage {
  display: inline-flex !important;
  flex-basis: 100% !important;
  width: 100% !important;
  order: 5 !important;
  margin-top: .08rem !important;
  align-items: center !important;
  gap: .3rem !important;
  color: #55595e !important;
}

/* Keep hidden featured fields hidden; mileage is intentionally visible. */
#featured-grid .inventory-spec-item.spec-fuel {
  display: none !important;
}

#featured-grid .inventory-spec-item.spec-mileage .spec-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  color: #55595e !important;
}

#featured-grid .inventory-spec-item.spec-mileage .spec-text {
  display: inline !important;
  color: #55595e !important;
  font-size: .75rem !important;
  line-height: 1.2 !important;
}

#featured-grid .ref-rpm {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  overflow: visible !important;
}

#featured-grid .ref-rpm .rpm-arc,
#featured-grid .ref-rpm .rpm-tick {
  fill: none !important;
  stroke: #4b4f54 !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

#featured-grid .ref-rpm .rpm-needle {
  fill: none !important;
  stroke: #c58d13 !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

#featured-grid .ref-rpm .rpm-center {
  fill: #c58d13 !important;
  stroke: #4b4f54 !important;
  stroke-width: 1 !important;
}


/* v7.2.3 — Homepage highlight layout refinement
   - mileage moved beneath price
   - transmission shares row with engine
   - reduced empty space in highlight cards
   Applies only to homepage #featured-grid cards. */
#featured-grid .vehicle-body {
  padding: .72rem .78rem .62rem !important;
}

#featured-grid .vehicle-title-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: start !important;
  gap: .55rem .9rem !important;
  margin: 0 0 .16rem !important;
}

#featured-grid .vehicle-price-stack {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: .28rem !important;
  min-width: max-content !important;
}

#featured-grid .vehicle-price-stack .vehicle-price {
  display: block !important;
  margin: 0 !important;
  line-height: 1.05 !important;
}

#featured-grid .highlight-mileage-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: .28rem !important;
  color: #55595e !important;
  font-size: .75rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

#featured-grid .highlight-mileage-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  color: #55595e !important;
}

#featured-grid .highlight-mileage-inline .ref-rpm {
  width: 15px !important;
  height: 15px !important;
}

#featured-grid .vehicle-meta-row,
#featured-grid .spec-title,
#featured-grid .spec-drive,
#featured-grid .spec-fuel,
#featured-grid .spec-mileage {
  display: none !important;
}

#featured-grid .specs.inventory-specs {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: .5rem 1rem !important;
  margin: .54rem 0 0 !important;
  padding-top: .56rem !important;
  border-top: 1px solid #ece8e1 !important;
}

#featured-grid .inventory-spec-item {
  min-height: 0 !important;
}

#featured-grid .inventory-spec-item::before,
#featured-grid .inventory-spec-item:first-child::before {
  content: none !important;
}

#featured-grid .spec-engine {
  display: inline-flex !important;
  grid-column: 1 !important;
  justify-self: start !important;
}

#featured-grid .spec-transmission {
  display: inline-flex !important;
  grid-column: 2 !important;
  justify-self: start !important;
}

#featured-grid .details-button {
  display: none !important;
}


/* v7.2.4 — Homepage highlight engine visibility + tighter transmission placement */
#featured-grid .specs.inventory-specs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  column-gap: .78rem !important;
  row-gap: .35rem !important;
  margin: .54rem 0 0 !important;
  padding-top: .56rem !important;
  border-top: 1px solid #ece8e1 !important;
}

/* Older listing CSS hid the first spec item. Engine is now first on homepage highlights. */
#featured-grid .specs.inventory-specs > .inventory-spec-item:first-child,
#featured-grid .specs.inventory-specs > .spec-engine {
  display: inline-flex !important;
}

#featured-grid .spec-engine,
#featured-grid .spec-transmission {
  grid-column: auto !important;
  justify-self: auto !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
}

#featured-grid .spec-transmission {
  margin-left: 0 !important;
}


/* v7.2.5 — warm off-white background update */
.site-header,
.featured-section,
#featured-grid .vehicle-card,
#featured-grid .vehicle-body,
#inventory-grid .vehicle-card,
#inventory-grid .vehicle-body,
.dealer-controls,
.no-results,
.clear-filter-button,
.contact-submission-form,
.button.secondary,
.menu-toggle {
  background: #f8f6f1 !important;
}

@media(max-width:760px) {
  .nav { background: #f8f6f1 !important; }
}


/* v7.2.6 — subtle gray contrast for Contact Us form box */
.contact-submission-form {
  background: #efede8 !important;
  border-color: #d0ccc5 !important;
  box-shadow: 0 14px 32px rgba(40,42,45,.075) !important;
}

/* Keep form fields slightly lighter than the surrounding contact box. */
.contact-submission-form input,
.contact-submission-form textarea {
  background: #f8f6f1 !important;
}


/* v7.2.7 — showroom hero image from supplied reference */
.dealer-hero {
  position: relative !important;
  display: block !important;
  min-height: 500px !important;
  overflow: hidden !important;
  padding: 66px max(24px,calc((100vw - var(--max))/2)) !important;
  background: #f8f6f1 !important;
  isolation: isolate;
}

.dealer-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(74vw, 1420px);
  height: 100%;
  background-image: url("images/homepage-hero-showroom.jpg?v=7.2.7");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Off-white fade carries the photo into the headline area without reducing
   visibility of the car on the right side. */
.dealer-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #f8f6f1 0%,
      #f8f6f1 31%,
      rgba(248,246,241,.97) 38%,
      rgba(248,246,241,.82) 45%,
      rgba(248,246,241,.38) 54%,
      rgba(248,246,241,.08) 64%,
      rgba(248,246,241,0) 72%
    );
}

.dealer-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  width: min(52%, 760px) !important;
}

.dealer-hero-visual {
  display: none !important;
}

@media (max-width: 980px) {
  .dealer-hero {
    min-height: 470px !important;
  }
  .dealer-hero::before {
    width: 78%;
    opacity: .82;
  }
  .dealer-hero::after {
    background:
      linear-gradient(
        90deg,
        #f8f6f1 0%,
        #f8f6f1 42%,
        rgba(248,246,241,.94) 54%,
        rgba(248,246,241,.5) 70%,
        rgba(248,246,241,.12) 84%
      );
  }
  .dealer-hero-copy {
    width: min(64%, 700px) !important;
  }
}

@media (max-width: 700px) {
  .dealer-hero {
    min-height: 520px !important;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  .dealer-hero::before {
    width: 100%;
    background-position: 63% center;
    opacity: .34;
  }
  .dealer-hero::after {
    background: rgba(248,246,241,.76);
  }
  .dealer-hero-copy {
    width: 100% !important;
  }
}


/* v7.2.8 — hero image zoom/position correction for wide desktop screens */
@media (min-width: 981px) {
  .dealer-hero::before {
    width: min(68vw, 1320px) !important;
    right: -2.5vw !important;
    background-size: auto 88% !important;
    background-position: right center !important;
  }
}

/* Preserve the same idea at medium widths without over-cropping the car. */
@media (min-width: 701px) and (max-width: 980px) {
  .dealer-hero::before {
    width: 76% !important;
    right: -2vw !important;
    background-size: auto 90% !important;
    background-position: right center !important;
  }
}


/* v7.2.9 — further hero zoom-out + right-edge alignment */
@media (min-width: 981px) {
  .dealer-hero::before {
    width: min(64vw, 1240px) !important;
    right: -5.5vw !important;
    background-size: auto 82% !important;
    background-position: right center !important;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .dealer-hero::before {
    width: 72% !important;
    right: -4vw !important;
    background-size: auto 85% !important;
    background-position: right center !important;
  }
}


/* v7.3.0 — remove homepage hero photo for now */
.dealer-hero {
  background: #f8f6f1 !important;
}

.dealer-hero::before,
.dealer-hero::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

.dealer-hero-copy {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 900px) !important;
}

.dealer-hero-visual {
  display: none !important;
}


/* v7.3.1 — homepage footer social media block */
.homepage-footer .footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.homepage-footer .footer-copy {
  min-width: 0;
}

.homepage-footer .footer-social {
  justify-self: end;
  text-align: left;
  color: #bfc3c7;
  min-width: 170px;
  padding-bottom: 2px;
}

.homepage-footer .footer-social-title {
  margin-bottom: 10px;
  color: #bfc3c7;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.homepage-footer .footer-social-icons {
  display: flex;
  align-items: center;
  gap: 13px;
}

.homepage-footer .footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #bfc3c7;
}

.homepage-footer .footer-social-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.homepage-footer .footer-social-icon:nth-child(2) svg,
.homepage-footer .footer-social-icon:nth-child(3) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homepage-footer .footer-social-icon .social-dot {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 720px) {
  .homepage-footer .footer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .homepage-footer .footer-social {
    justify-self: start;
  }
}


/* v7.3.3 — separate AUTO SALES submark beneath existing WURKS logo */
.brand-logo-link {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

.site-logo-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 285px;
  max-width: 36vw;
}

.site-logo-stack .site-logo {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain;
}

.site-logo-submark {
  display: block;
  width: 72%;
  max-width: 205px;
  height: auto;
  margin-top: -17px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-logo-stack {
    width: 245px;
  }

  .site-logo-submark {
    max-width: 176px;
    margin-top: -15px;
  }
}

@media (max-width: 760px) {
  .site-logo-stack {
    width: 215px;
    max-width: 58vw;
  }

  .site-logo-submark {
    max-width: 155px;
    margin-top: -13px;
  }
}


/* v7.3.4 — visually center AUTO SALES under WURKS and match exact solid silver */
.site-logo-stack {
  align-items: center !important;
}

.site-logo-submark {
  display: block !important;
  align-self: center !important;
  width: 67% !important;
  max-width: 190px !important;
  height: auto !important;
  margin: -15px auto 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 980px) {
  .site-logo-submark {
    width: 67% !important;
    max-width: 165px !important;
    margin-top: -13px !important;
  }
}

@media (max-width: 760px) {
  .site-logo-submark {
    width: 67% !important;
    max-width: 145px !important;
    margin-top: -11px !important;
  }
}


/* v7.3.5 — MPG / fuel economy icon visibility fix */
#featured-grid .spec-fuel .spec-icon,
#inventory-grid .spec-fuel .spec-icon,
.inventory-spec-item.spec-fuel .spec-icon {
  color: #55595e !important;
}

#featured-grid .spec-fuel .spec-icon > svg,
#inventory-grid .spec-fuel .spec-icon > svg,
.inventory-spec-item.spec-fuel .spec-icon > svg {
  color: #55595e !important;
}

/* v7.3.7 — vehicle photo watermark */
#featured-grid .vehicle-photo.has-image .photo-watermark,
#inventory-grid .vehicle-photo.has-image .photo-watermark,
.detail-main-photo.has-image .photo-watermark {
  position: absolute !important;
  left: 10px !important;
  bottom: 10px !important;
  z-index: 3 !important;
  display: block !important;
  width: 58px !important;
  height: auto !important;
  opacity: .82 !important;
  pointer-events: none !important;
  user-select: none !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.50)) drop-shadow(0 0 6px rgba(255,255,255,.18)) !important;
}

#featured-grid .vehicle-photo.has-image .photo-watermark,
#inventory-grid .vehicle-photo.has-image .photo-watermark {
  max-width: 18% !important;
  min-width: 44px !important;
}

.detail-main-photo.has-image .photo-watermark {
  left: 14px !important;
  bottom: 14px !important;
  width: 112px !important;
  max-width: 18% !important;
  min-width: 78px !important;
  opacity: .86 !important;
}

@media (max-width: 760px) {
  #featured-grid .vehicle-photo.has-image .photo-watermark,
  #inventory-grid .vehicle-photo.has-image .photo-watermark {
    width: 52px !important;
    min-width: 40px !important;
    left: 8px !important;
    bottom: 8px !important;
  }

  .detail-main-photo.has-image .photo-watermark {
    width: 88px !important;
    min-width: 68px !important;
    left: 10px !important;
    bottom: 10px !important;
  }
}

/* v7.3.8/v7.3.9 — card watermark position + VIN color fix */
/* Keep VIN dark on detail page. Push ONLY homepage Highlight and Inventory watermarks nearly flush to lower-left edge. */
#featured-grid .vehicle-photo.has-image .photo-watermark,
#inventory-grid .vehicle-photo.has-image .photo-watermark {
  left: 1px !important;
  bottom: 1px !important;
}

/* Restore vehicle-detail VIN to dark/black text on the light VIN panel. */
.detail-vin-bar strong,
#detail-vin {
  color: #111111 !important;
}

@media (max-width: 760px) {
  #featured-grid .vehicle-photo.has-image .photo-watermark,
  #inventory-grid .vehicle-photo.has-image .photo-watermark {
    left: 1px !important;
    bottom: 1px !important;
  }
}


/* v7.4.0 — smaller watermark on Homepage Wurks Highlights only */
#featured-grid .vehicle-photo.has-image .photo-watermark {
  width: 48px !important;
  min-width: 38px !important;
  max-width: 15% !important;
}

@media (max-width: 760px) {
  #featured-grid .vehicle-photo.has-image .photo-watermark {
    width: 44px !important;
    min-width: 34px !important;
  }
}


/* v7.4.2 — linked footer social icon + vehicle social-video section */
.homepage-footer a.footer-social-icon {
  text-decoration: none !important;
  transition: color .15s ease, transform .15s ease;
}

.homepage-footer a.footer-social-icon:hover,
.homepage-footer a.footer-social-icon:focus-visible {
  color: #d5a52c !important;
  transform: translateY(-1px);
  outline: none;
}

.detail-video-section {
  margin-top: 18px;
  padding: 18px 20px 20px;
  border: 1px solid #d8d4cd;
  border-radius: 7px;
  background: #f7f5f1;
  box-shadow: 0 8px 20px rgba(35,37,40,.045);
}

.detail-video-section[hidden] {
  display: none !important;
}

.detail-video-heading .eyebrow {
  margin-bottom: 5px;
}

.detail-video-heading h2 {
  margin: 0;
  color: #303337;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.detail-video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-video-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #c9c5bd;
  border-radius: 5px;
  background: #fff;
  color: #34373b;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.detail-video-link:hover,
.detail-video-link:focus-visible {
  border-color: #c99116;
  box-shadow: 0 5px 14px rgba(35,37,40,.09);
  transform: translateY(-1px);
  outline: none;
}

.detail-video-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #34373b;
}

.detail-video-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-video-facebook .detail-video-icon svg {
  fill: currentColor;
  stroke: none;
}

.detail-video-link:hover .detail-video-icon,
.detail-video-link:focus-visible .detail-video-icon {
  color: #b77c08;
}

@media (max-width: 560px) {
  .detail-video-section {
    padding: 16px;
  }

  .detail-video-links {
    flex-direction: column;
  }

  .detail-video-link {
    width: 100%;
    justify-content: flex-start;
  }
}
