:root {
  --navy: #071522;
  --navy2: #10283b;
  --gold: #f5b93f;
  --gold2: #ffd878;
  --blue: #1769e8;
  --bg: #f5f8fb;
  --line: #dfe7ee;
  --muted: #6b7b89;
}
.page-head {
  background: linear-gradient(110deg, #071522, #123049);
  color: #fff;
  padding: 55px 0 95px;
  position: relative;
  overflow: hidden;
}
.page-head:after {
  content: "";
  position: absolute;
  right: -100px;
  top: -160px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, #f5b93f1c, transparent 65%);
}
.eyebrow {
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.5px;
}
.page-head h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
}
.page-head p {
  color: #b8c6d0;
  max-width: 600px;
}
.searchbar {
  margin-top: -55px;
  position: relative;
  z-index: 5;
}
.search-card {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 18px 45px #1020301c;
}
.search-field {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
}
.search-field label {
  font-size: 9px;
  font-weight: 800;
  color: #657586;
  display: block;
}
.search-field input,
.search-field select {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
}
.content {
  padding: 35px 0 70px;
}
.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  position: sticky;
  top: 90px;
}
.filter-title {
  font-size: 14px;
  font-weight: 800;
}
.filter-section {
  padding: 17px 0;
  border-bottom: 1px solid #edf1f4;
}
.filter-section:last-child {
  border: 0;
}
.form-check-label {
  font-size: 12px;
  color: #4f6070;
}
.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}
.range-values {
  font-size: 11px;
  font-weight: 700;
  color: #4e5e6c;
}
.form-range::-webkit-slider-thumb {
  background: var(--blue);
}
.result-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 16px;
}
.result-head strong {
  font-size: 14px;
}
.result-head small {
  color: var(--muted);
  font-size: 11px;
}
.sort-select {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
}
.car-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: 0.35s;
  box-shadow: 0 5px 18px #10203008;
}
.car-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 35px #10203018;
}
.photo {
  height: 185px;
  background: #edf2f5;
  position: relative;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.car-card:hover .photo img {
  transform: scale(1.06);
}
.available {
  position: absolute;
  left: 11px;
  top: 11px;
  background: #e8faee;
  color: #13823a;
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 800;
}
.fav {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  background: #ffffffdd;
  color: #637384;
}
.fav.active {
  color: #ef4444;
}
.car-body {
  padding: 15px;
}
.type {
  display: inline-block;
  background: #eef3f7;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 700;
  color: #516171;
}
.type.ev {
  background: #e8f8ed;
  color: #15803d;
}
.car-name {
  font-size: 16px;
  font-weight: 800;
  margin: 9px 0 2px;
}
.rating {
  font-size: 10px;
  color: #f3ad27;
  font-weight: 700;
}
.rating span {
  color: #647586;
}
.specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #647586;
  font-size: 10px;
  border-top: 1px solid #edf1f4;
  border-bottom: 1px solid #edf1f4;
  padding: 11px 0;
  margin: 10px 0;
}
.price {
  font-size: 18px;
  font-weight: 800;
}
.price small {
  font-size: 9px;
  color: #71808c;
  font-weight: 500;
}
.feature-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.feature-pills span {
  font-size: 8px;
  background: #f4f7f9;
  padding: 4px 6px;
  border-radius: 4px;
  color: #647586;
}
.card-actions {
  display: flex;
  gap: 7px;
}
.details {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  padding: 9px;
}
.book {
  flex: 1;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffe9ad, #f6c44f);
  font-size: 10px;
  font-weight: 800;
}
.list-view .car-card {
  display: flex;
}
.list-view .photo {
  width: 35%;
  height: auto;
  min-height: 230px;
  flex-shrink: 0;
}
.list-view .car-body {
  flex: 1;
}
.empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd6df;
  border-radius: 14px;
  padding: 70px 20px;
  color: var(--muted);
}
.pagination .page-link {
  border: 0;
  margin: 0 3px;
  border-radius: 7px;
  color: #334155;
  font-size: 11px;
}
.pagination .active .page-link {
  background: var(--navy);
  color: #fff;
}
.modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}
.modal-photo {
  height: 260px;
  object-fit: cover;
  width: 100%;
}
.detail-spec {
  background: #f5f8fb;
  border-radius: 9px;
  padding: 12px;
  text-align: center;
}
.detail-spec i {
  font-size: 20px;
}
.detail-spec small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.toast {
  border: 0;
  box-shadow: 0 12px 35px #10203022;
}
@media (max-width: 991px) {
  .filter-card {
    position: static;
  }
  .list-view .photo {
    width: 40%;
  }
}
@media (max-width: 575px) {
  .page-head {
    padding: 40px 0 85px;
  }
  .list-view .car-card {
    display: block;
  }
  .list-view .photo {
    width: 100%;
    height: 190px;
  }
  .content {
    padding-top: 22px;
  }
}
