body { font-family: Arial, sans-serif; background: #f7f7f7; margin:0; padding:0; color:#111; }
header { background:#000; color:#fff; padding:2rem; text-align:center; }
header h1 { margin:0; font-size:2rem; }
main { padding:2rem; max-width:1200px; margin:0 auto; }
.filters { margin-bottom:1.5rem; display:flex; gap:1rem; flex-wrap:wrap; }
.filters select { padding:0.5rem; font-size:1rem; }
.stock-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap:1.5rem; }
.vehicle-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.1); display:flex; flex-direction:column; }
.vehicle-card img { width:100%; object-fit:cover; height:160px; }
.vehicle-info { padding:1rem; flex:1; display:flex; flex-direction:column; justify-content:space-between; }
.vehicle-info h2 { margin:0 0 0.5rem 0; font-size:1.1rem; }
.vehicle-info p { margin:0.25rem 0; font-size:0.9rem; }
.price { font-weight:bold; color:#e60023; margin-top:0.5rem; }
main {
    padding: 0 1rem;
    max-width: 100%;
    padding-top: 100px;
}
.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 2fr));
    gap: 2rem;
}
.stock-card a {
    border: solid 1px black;
    background: transparent;
    color: black;
    padding: 10px;
    width: 250px;
    font-size: 16px;
    margin: 15px 0;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-weight: 900;
    width: 100%;
}
.stock-card {
    background: white;
    padding: 15px;
    border: 0.8px grey solid;
    position: relative;
}
.stock-card img {
    max-width: 100%;
}
.car-details {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 0;
  color: black;
  font-weight: 100;
  font-size: 14px;
  gap: 32px;
}
.car-details strong{
    color: grey;
}
.stock-card h3 {
    margin-top: 25px;
}
.stock-card .price {
    font-weight: 100;
    font-size: 28px;
    color:black;
}
.highlight {
    position: absolute;
    right: 25px;
    top: 25px;
    background: #e0e0e081;
    padding: 5px;
    font-size: 14px;
}
@media (max-width:970px) {
.stock-grid {
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
}
}




.car-details {
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0;
    color: black;
    font-weight: 100;
    font-size: 14px;
    gap: 32px;
}

.car-details > * {
    flex: 0 0 calc(25% - 24px);
}



/*filter css*/
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  visibility: hidden;
  opacity: 0;
  transition: 0.4s ease;
  z-index: 9999;
}
.drawer-content {
  position: absolute;
  top: 0; right: 0;
  width: 380px; max-width: 90%;
  height: 100%;
  background: #111;
  padding: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  color: white;
  overflow-y: auto;
}
.drawer-overlay.active { visibility: visible; opacity: 1; }
.drawer-overlay.active .drawer-content { transform: translateX(0); }

.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; font-size: 12px; color: #888; margin-bottom: 8px; text-transform: uppercase; }
.filter-group select, .filter-group input {
    width: 100%;
    background: transparent;
    color: white;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid;
    padding: 10px 0;
}