/* Card Component Styles */
.card {
  background: var(--background-secondary);
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0px;
  padding: 8px;
}

/* lg (1024px) Override */
@media (min-width: 1024px) {
  .card-details {
    flex-direction: row;
    gap: 8px;
  }
}

.card-title,
.card-price {
  color: var(--content-primary);
}

/* Card Grid Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

/* md (768px) Override */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* lg (1024px) Override */
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
