.carousel-car {
  padding: 20px 0;
}

.item {
  padding: 10px;
}

.car-wrap {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 360px; /* Kart yüksekliğini arttırdım */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.img-container {
  height: 200px;
  width: 100%;
  background: #f8f9fa;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resmi kırparak container'ı doldur */
  display: block;
}

.car-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 160px;
}

.car-info h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.brand {
  color: #666;
  font-size: 14px;
}

.price {
  color: #01d28e;
  font-weight: 600;
  font-size: 16px;
}

.price small {
  color: #666;
  font-weight: normal;
  font-size: 12px;
}

.button-group {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn {
  flex: 1;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-secondary {
  background: #28a745;
  color: white;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
  .car-wrap {
    height: 340px;
  }
  
  .img-container {
    height: 180px;
  }
  
  .car-info {
    height: 160px;
    padding: 12px;
  }
  
  .car-info h2 {
    font-size: 14px;
  }
  
  .btn {
    font-size: 13px;
    padding: 6px 0;
  }
} 