/**
 * Product Card Styles
 * 产品卡片组件样式
 */

/* Product Card Wishlist Button */
.product-card {
  position: relative;
}

.product-card .wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.product-card .wish-btn button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.product-card .wish-btn button:hover {
  background-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-card .wish-btn .wishlist-icon {
  font-size: 18px;
  color: #6c757d;
  transition: all 0.3s ease;
}

.product-card .wish-btn button:hover .wishlist-icon {
  color: #dc3545;
}

.product-card .wish-btn .wishlist-icon.ri-heart-fill {
  color: #dc3545;
}

/* Product Detail Action Buttons */
.product-actions-container {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-actions-container .action-buttons .btn {
  min-width: 120px;
  transition: all 0.3s ease;
}

.product-actions-container .action-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-actions-container .wishlist-icon {
  transition: all 0.3s ease;
}

.product-actions-container .wishlist-icon.ri-heart-fill {
  color: #dc3545;
}

@media (max-width: 768px) {
  .product-actions-container .action-buttons {
    flex-direction: column;
  }
  .product-actions-container .action-buttons .btn {
    width: 100%;
  }
}
