/* components/rd-cards.css */
.product-card {
  background: var(--rd-bg-card);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--rd-transition);
  display: flex;
  flex-direction: column;
  font-family: var(--rd-font);
  width: 100%;
}

.product-card:hover {
  border-color: var(--rd-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12);
}

.pc-img {
  aspect-ratio: 4 / 3;
  background: var(--rd-bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .pc-img img {
  transform: scale(1.04);
}

.pc-body {
  padding: 14px 14px 10px;
  flex: 1;
}

.pc-name {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  color: var(--rd-text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}

.pc-rating span {
  font-size: clamp(11px, 1vw, 13px);
}

.pc-price {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 700;
  color: var(--rd-primary);
  letter-spacing: -0.3px;
}

.pc-foot {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--rd-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .pc-body { padding: 11px 11px 8px; }
  .pc-foot { padding: 8px 11px 11px; }
}

@media (max-width: 480px) {
  .pc-img { aspect-ratio: 16 / 10; }
}