/* 商品管理卡片样式 */
.products-manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product-manage-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-manage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-manage-card .product-card-image {
  height: 140px;
  background: linear-gradient(135deg, #f5f6fa, #dfe4ea);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-manage-card .product-card-image i {
  font-size: 48px;
  color: #bdc3c7;
}

.product-manage-card .product-card-body {
  padding: 15px;
}

.product-manage-card .product-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-manage-card .product-card-category {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.product-manage-card .product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.product-manage-card .original-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.product-manage-card .current-price {
  font-size: 18px;
  font-weight: 700;
  color: #ff6b35;
}

.product-manage-card .product-card-stock {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-manage-card .product-card-stock i {
  color: #3498db;
}

.product-manage-card .stock-unlimited {
  color: #27ae60;
  font-weight: 600;
}

.product-manage-card .stock-count {
  color: #e74c3c;
  font-weight: 600;
}

.product-manage-card .product-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-manage-card:hover .product-card-actions {
  opacity: 1;
}

.product-manage-card .btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-manage-card .btn-edit {
  background: #3498db;
  color: white;
}

.product-manage-card .btn-edit:hover {
  background: #2980b9;
  transform: scale(1.1);
}

.product-manage-card .btn-delete {
  background: #e74c3c;
  color: white;
}

.product-manage-card .btn-delete:hover {
  background: #c0392b;
  transform: scale(1.1);
}

.product-manage-card .btn-icon i {
  font-size: 14px;
}