/* ============================================
   MOTORCYCLE CARDS - COMPACT VERSION
   Stile compatto come ptmmotors.it
   ============================================ */

.motorcycle-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.motorcycle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(216, 26, 34, 0.15);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #D81A22;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.usata {
  background: #4CAF50;
}

.motorcycle-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
}

.motorcycle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.motorcycle-card:hover .motorcycle-image img {
  transform: scale(1.05);
}

.motorcycle-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.motorcycle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.motorcycle-category {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
  margin: 0;
}

.motorcycle-details {
  display: flex;
  gap: 10px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: #666;
}

.detail-item svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.motorcycle-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #D81A22;
  margin: 6px 0;
}

.btn-details {
  display: inline-block;
  padding: 8px 16px;
  background: #D81A22;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-details:hover {
  background: #B01319;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(216, 26, 34, 0.25);
}

/* GRID COMPATTA - 3 COLONNE SU DESKTOP (IDENTICO PER TUTTE LE PAGINE) */
.motorcycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .motorcycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .motorcycle-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .motorcycle-image {
    height: 200px;
  }
  
  .motorcycle-title {
    font-size: 0.9rem;
  }
  
  .motorcycle-price {
    font-size: 1.1rem;
  }
}

/* NO RESULTS MESSAGE */
.no-results {
  text-align: center;
  padding: 3rem 2rem;
  font-size: 1.1rem;
  color: #666;
  grid-column: 1 / -1;
}
