/* Car gallery: Pinterest-like masonry using CSS columns */
.car-grid {
  column-width: 300px;
  column-gap: 1rem;
  width: 100%;
}
.car-grid > .car-card { display: inline-block; width: 100% !important; padding: 0 !important; }
.car-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  vertical-align: top;
}
.car-card .card-img {
  border-radius: 12px;
  height: auto;
  min-height: 200px;
}
.car-card .card-img img, .car-card .card-img { width:100%; }
.car-card .card-info { position: static; color: #0d1128; padding: 0.75rem 0; background: transparent; }
.car-card .card-hover { display: none; }

/* hide pricing badge in gallery explicitly */
.car-card .car-badge { display: none !important; }

/* Card appearance for masonry items */
.car-card .card-inner {
  background: #fff;
  padding: 0.75rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(13,17,40,0.06);
}
.car-card .car-name { color: #0d1128; font-weight:700; margin:0 0 .25rem; }
.car-card .car-brand { color: #6c757d; font-size: .9rem; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .car-grid { column-width: 240px; }
}
@media (max-width: 576px) {
  .car-grid { column-width: 180px; }
  .car-card .card-inner { padding: .5rem; }
}

/* Car single enhancements */
.ftco-car-details .car-details { display:flex; gap:1.25rem; align-items:center; margin-bottom:1.25rem; flex-wrap:wrap; }
.ftco-car-details #vehicle-image { flex:1 1 420px; min-height:320px; background-size:cover; background-position:center; border-radius:10px; box-shadow:0 12px 30px rgba(13,17,40,0.08); }
.ftco-car-details .text { flex:1 1 320px; }
.ftco-car-details .subheading { color:#0d1128; font-weight:600; display:block; }
.ftco-car-details h2 { font-size:2rem; margin-top:.5rem; color:#0d1128; }

/* Feature list modern look */
.features { list-style:none; padding:0; margin:0; }
.features li { padding: .5rem 0; border-bottom:1px solid #f1f1f1; color:#495057; }
.features li .ion-ios-checkmark { color:#28a745; margin-right:.5rem; }

/* Improve review area */
.review .user-img { width:60px; height:60px; border-radius:6px; background-size:cover; background-position:center; }
.review .desc { margin-left:1rem; }

/* Related cars: remove price badge to keep single page focus */
.car-wrap .price-wrap { display:none; }

/* Buttons */
.btn-black { background:#0d1128; color:#fff; border-color:#0d1128; }
.btn-black.btn-outline-black { background:transparent; color:#0d1128; border:1px solid #0d1128; }

/* small helpers */
.masonry-fade-in { animation: fadeInUp 0.6s ease both; }
