.compare-container {
  padding-bottom: 48px;
}

.compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}

.compare-count {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.clear-compare-btn {
  height: 36px;
  padding: 0 20px;
  background-color: #c0392b;
}

.compare-empty {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
}

.compare-empty a {
  color: var(--thirty);
}

.compare-drag-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: -12px 0 20px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.compare-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: white;
  cursor: grab;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}

.compare-card:active {
  cursor: grabbing;
}

.compare-card.dragging {
  opacity: 0.4;
  border-color: var(--thirty);
}

.compare-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.06);
}

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

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

.compare-card-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 4px;
}

.compare-card-title {
  margin: 0;
  text-transform: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.compare-card-price {
  color: var(--thirty);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.compare-details {
  display: flex;
  flex-direction: column;
}

.compare-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-detail:last-child {
  border-bottom: none;
}

.compare-detail-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.compare-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.compare-detail-vin {
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-all;
}
