

/* =========================
   FILTER LIST – MATCH DESIGN
========================= */

.filter-section {
  border-bottom: 1px solid #e5e5e5;
}

/* FILTER HEADER */
.filter-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.filter-header h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* FILTER BODY */
.filter-body {
  padding: 0;
}

/* EACH ITEM */
.filter-body .form-check {
  position: relative;
  padding: 0;
  margin: 0;
}

/* HIDE DEFAULT CHECKBOX */
.filter-body .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* LABEL AS FULL ROW */
.filter-body .form-check-label {
  display: block;
  padding: 12px 16px 12px 20px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* HOVER */
.filter-body .form-check-label:hover {
  background: #f3f3f3;
}

/* LEFT BLACK BAR (ACTIVE) */
.filter-body .form-check-input:checked + .form-check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #000;
}

/* ACTIVE BACKGROUND */
.filter-body .form-check-input:checked + .form-check-label {
  background: #f1f1f1;
  color: #111;
  font-weight: 600;
}

/* REMOVE BOOTSTRAP CHECK STYLES */
.form-check-input:checked {
  background: none;
  border: none;
}

/* FILTER HEADER FIX */
.filter-header {
  display: flex;
  align-items: center;        /* vertical center */
  justify-content: space-between;
}

/* REMOVE FLOAT */
.filter-header .fa-chevron-down {
  float: none !important;
  position: relative;
  top: -1px;                  /* 👈 move arrow slightly up */
  font-size: 14px;
  color: #111;
  transition: transform 0.2s ease;
}







/* Category Tabs */
.category-tabs-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-tabs .nav-tabs {
    border: none;
    gap: 10px;
}

.category-tabs .nav-link {
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #6c757d;
    background: white;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-tabs .nav-link.active {
    background: #7c7c7c;
    color: white;
    border-color: #7c7c7c;
}
 
 
    /* Price Slider Styling - Clean & Responsive */
.price-slider-container {
    margin: 20px 10px 10px 10px; /* Gives breathing room */
    padding: 0 5px;
    overflow: visible !important;
}

#price-slider {
    height: 6px;
    margin: 20px 0;
    border: none;
    box-shadow: none;
    background: #ddd;
    border-radius: 4px;
    overflow: visible !important;
}

#price-slider .noUi-connect {
    background: #EC1B24; /* Your brand red */
}

#price-slider .noUi-handle {
    width: 20px !important;
    height: 20px !important;
    top: -7px !important;
    right: -10px !important;
    border: 3px solid #EC1B24;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    overflow: visible !important;
}

#price-slider .noUi-handle:before,
#price-slider .noUi-handle:after {
    display: none;
}

.price-value {
    font-size: 0.95rem;
    color: #333;
}

/* Ensure no clipping in sidebar */
.filter-body,
.filter-section,
.price-slider-container,
#price-slider * {
    overflow: visible !important;
}






/* Car Cards */
.car-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    height: 100%;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.car-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.car-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-img-container img {
    transform: scale(1.05);
}

.car-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.car-badge .badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
}

.car-price {
    color: #2d2f32;
    font-weight: 700;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-sidebar {
        position: static;
    }
    
    .category-tabs .nav-link {
        padding: 6px 15px;
        font-size: 11px;
    }
}




/* =========================
   VEHICLE CARD – VERTICAL
========================= */

.vehicle-card {
  background: #fff;
  border: 1px solid #eee;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-image {
  background: #f3f3f3;
}

.vehicle-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* BODY */
.vehicle-body {
  padding: 20px;
}

/* TITLE */
.vehicle-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* SPECS */
.vehicle-specs {
  display: grid;
  row-gap: 10px;
  margin-bottom: 18px;
}

.spec-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  column-gap: 10px;
  font-size: 13px;
}

.spec-row i {
  font-size: 15px;
  color: #777;
}

.spec-row .label {
  color: #777;
}

.spec-row .value {
  font-weight: 600;
  color: #111;
}

/* PRICE */
.vehicle-price {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 18px;
}


/* ACTIONS WRAPPER */
.vehicle-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* BASE BUTTON */
.vehicle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* TEXT */
.vehicle-btn .btn-text {
  line-height: 1;
}

/* ICON */
.vehicle-btn .btn-icon {
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
}

/* VIEW DETAILS BUTTON */
.vehicle-btn-view {
  background: #f1f1f1;
  border: 1px solid #ddd;
  color: #111;
}

.vehicle-btn-view:hover {
  background: #e9e9e9;
}

/* BOOK NOW BUTTON */
.vehicle-btn-book {
  background: #fff;
  border: 1px solid #111;
  color: #111;
}

.vehicle-btn-book:hover {
  background: #111;
  color: #fff;
}

/* MOBILE STACK (optional) */
@media (max-width: 576px) {
  .vehicle-actions {
    grid-template-columns: 1fr;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .vehicle-actions {
    grid-template-columns: 1fr;
  }
}


.flat-title .title-inner {
  display: flex;
  justify-content: flex-end; /* move to right */
}
