/* 样式适配 sky-productList 模块 - 高级扁平卡片风格，融合大厂电商风设计 */

.sky-productList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e5e8ef;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: #ff7043;
}

.product-card-header h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2d3d;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.stock-info {
  color: #999;
  font-size: 13px;
  margin-bottom: 12px;
}

.product-description {
  margin: 14px 0;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
}

.content-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.label-text {
  color: #666;
  font-size: 13px;
}

.value-text {
  font-weight: 600;
  color: #1a1a1a;
}

.product-Parameters {
  border-top: 1px dashed #e3e9f0;
  margin-top: 18px;
  padding-top: 16px;
  text-align: center;
}

.sale-price {
  color: #ff4d4f;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.original-price {
  font-size: 13px;
  color: #bbb;
  text-decoration: line-through;
  margin-top: 4px;
}

.discount {
  display: inline-block;
  background: #fff2f0;
  color: #ff4d4f;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  margin-bottom: 6px;
}

.buy-now-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  background: linear-gradient(135deg, #ff6e40, #ff3d00);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.3);
}

.buy-now-button:hover {
  background: linear-gradient(135deg, #e64a19, #d84315);
  box-shadow: 0 10px 22px rgba(255, 87, 34, 0.45);
}

.buy-now-button.SellOut {
  background: #f0f0f0;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

@media screen and (max-width: 768px) {
  .sky-productList {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    padding: 12px;
  }
}