[hidden] { display: none !important; }
.inventory-toolbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; padding: 18px; margin-bottom: 22px; border: 1px solid #d5d8d7; background: #eaece8; border-radius: 12px; }
.inventory-toolbar label { display: grid; gap: 8px; color: #414d59; font-size: 12px; font-weight: 600; }
.inventory-toolbar input, .inventory-toolbar select { min-width: 0; width: 100%; font: inherit; font-size: 14px; padding: 11px 12px; color: #1a222b; border: 1px solid #b8c0c3; border-radius: 6px; background: #fff; }
.inventory-results { color: #59626b; font-size: 12px; }
.inventory-message { padding: 26px; border: 1px solid #d5d8d7; border-radius: 12px; color: #414d59; background: #fff; font-size: 14px; line-height: 1.7; }
.inventory-message a { color: #7c350b; }
.inventory-error { border-color: #dec8b6; background: #fff8f1; }
.inventory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.inventory-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d8dcd9; border-radius: 14px; }
.inventory-image-link { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #e5e7e4; }
.inventory-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.inventory-image-link:hover img { transform: scale(1.035); }
.inventory-badge { display: inline-block; color: #235c42; background: #def2e6; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; font-family: "Sora", sans-serif; line-height: 1.6; }
.inventory-image-link .inventory-badge { position: absolute; bottom: 14px; left: 14px; }
.inventory-reserved { background: #fff0c6; color: #735208; }
.inventory-sold { background: #e5e8ed; color: #404c5d; }
.inventory-card-body { padding: 22px; }
.motors-page .inventory-stock-no { margin: 0 0 10px; color: #87400f; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.inventory-card h3 { margin: 0 0 12px; font-size: 1.9rem; line-height: 1.05; overflow-wrap: anywhere; }
.inventory-card h3 a { color: #1a222b; text-decoration: none; }
.motors-page .inventory-specs { margin: 0 0 18px; color: #5a6470; font-size: 11px; line-height: 1.8; }
.motors-page .inventory-price { margin: 0 0 22px; color: #1a222b; font-size: 26px; font-weight: 700; line-height: 1.2; }
.inventory-price small { display: block; margin-top: 7px; color: #64707a; font-size: 10px; font-weight: 400; }
.inventory-detail-link { color: #994308; font-size: 12px; font-weight: 700; }
.vehicle-shell { padding-top: 26px !important; }
.vehicle-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 12px 0 24px; }
.vehicle-header > a:last-child { font-size: 13px; color: var(--muted); text-decoration: none; }
.vehicle-title { position: relative; padding: 38px 0 28px; }
.vehicle-title h1 { max-width: none; font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.05; margin-bottom: 16px; overflow-wrap: anywhere; }
.vehicle-detail-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 28px; align-items: start; }
.vehicle-gallery-main { background: #1d242d; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.vehicle-gallery-main img { width: 100%; height: auto; max-height: 600px; aspect-ratio: 4/3; display: block; object-fit: contain; }
.vehicle-gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.vehicle-gallery-thumbs button { padding: 3px; background: #19212b; border: 2px solid transparent; border-radius: 7px; cursor: pointer; }
.vehicle-gallery-thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.vehicle-gallery-thumbs img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 3px; }
.vehicle-facts { padding: 28px; border: 1px solid var(--line); background: #19202a; border-radius: 16px; }
.motors-page .vehicle-asking-price { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.1; }
.vehicle-asking-price span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 10px; }
.vehicle-facts dl { margin: 24px 0; }
.vehicle-facts dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.vehicle-facts dt { color: var(--muted); }
.vehicle-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.vehicle-facts .button { width: 100%; margin-bottom: 12px; padding: 12px; font-size: 12px; }
.vehicle-email-note { color: var(--muted); font-size: 11px; }
.vehicle-status-note { margin-top: 22px; padding: 12px; background: #ffae6614; border-left: 2px solid var(--accent); font-size: 12px; }
.vehicle-description { margin: 32px 0; padding: 30px 0; border-top: 1px solid var(--line); }
.motors-page .vehicle-description h2 { font-size: 2.8rem; }
.vehicle-description h3 { font-size: 1.8rem; }
.vehicle-description > p:not(.section-kicker), .vehicle-description ul { color: var(--muted); line-height: 1.8; font-size: 14px; overflow-wrap: anywhere; }
.vehicle-description > p:not(.section-kicker) { margin-top: 20px; }
.vehicle-description ul { padding-left: 20px; }
.vehicle-unavailable { padding: 60px 0 100px; }
.vehicle-unavailable h1 { max-width: 18ch; }
.vehicle-unavailable p:not(.section-kicker) { color: var(--muted); }
@media (max-width: 1000px) {
  .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-detail-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
  .vehicle-facts { padding: 22px; }
}
/* White vehicle detail theme */
.vehicle-gallery-main {
  background: #f0eee8;
}

.vehicle-gallery-thumbs button {
  background: #ffffff;
  border-color: rgba(24, 34, 45, 0.12);
}

.vehicle-facts {
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(29, 38, 50, 0.1);
}

@media (max-width: 700px) {
  .inventory-grid, .inventory-toolbar, .vehicle-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .inventory-toolbar { padding: 14px; }
  .inventory-toolbar input, .inventory-toolbar select { font-size: 16px; }
  .inventory-card-body { padding: 22px; }
  .inventory-card h3 { font-size: 2.1rem; }
  .vehicle-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vehicle-title { padding-top: 28px; }
  .vehicle-facts { padding: 24px; }
  .vehicle-asking-price { font-size: 32px; }
  .vehicle-header > a:last-child { font-size: 11px; }
}
