/* 新的产品行样式 */
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.product-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.product-item {
  flex: 0 0 calc(25% - 25px);
  max-width: 240px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e6f5;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  background-color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.product-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* 第一行产品 - DREAM-IT-S, DREAM-S, SWAM-C-AI, DREAM-IT */
.product-row:nth-child(1) .product-item:nth-child(1):before {
  background-image: linear-gradient(180deg, rgba(228, 241, 255, 0.5) 0%, rgba(171, 213, 255, 0.3) 100%);
}

.product-row:nth-child(1) .product-item:nth-child(2):before {
  background-image: linear-gradient(180deg, rgba(235, 238, 255, 0.5) 0%, rgba(183, 194, 255, 0.3) 100%);
}

.product-row:nth-child(1) .product-item:nth-child(3):before {
  background-image: linear-gradient(180deg, rgba(230, 248, 235, 0.5) 0%, rgba(160, 230, 175, 0.3) 100%);
}

.product-row:nth-child(1) .product-item:nth-child(4):before {
  background-image: linear-gradient(180deg, rgba(225, 245, 255, 0.5) 0%, rgba(150, 222, 255, 0.3) 100%);
}

/* 第二行产品 - DREAM-C, MENT, SWAM-T, SPPA */
.product-row:nth-child(2) .product-item:nth-child(1):before {
  background-image: linear-gradient(180deg, rgba(255, 243, 230, 0.5) 0%, rgba(255, 208, 171, 0.3) 100%);
}

.product-row:nth-child(2) .product-item:nth-child(2):before {
  background-image: linear-gradient(180deg, rgba(255, 250, 230, 0.5) 0%, rgba(255, 232, 171, 0.3) 100%);
}

.product-row:nth-child(2) .product-item:nth-child(3):before {
  background-image: linear-gradient(180deg, rgba(255, 235, 245, 0.5) 0%, rgba(255, 190, 220, 0.3) 100%);
}

.product-row:nth-child(2) .product-item:nth-child(4):before {
  background-image: linear-gradient(180deg, rgba(245, 235, 255, 0.5) 0%, rgba(220, 190, 255, 0.3) 100%);
}

/* 第三行产品 - MENT-T, Looking Together, IMITATING */
.product-row:nth-child(3) .product-item:nth-child(1):before {
  background-image: linear-gradient(180deg, rgba(230, 250, 245, 0.5) 0%, rgba(171, 235, 225, 0.3) 100%);
}

.product-row:nth-child(3) .product-item:nth-child(2):before {
  background-image: linear-gradient(180deg, rgba(240, 255, 235, 0.5) 0%, rgba(205, 245, 180, 0.3) 100%);
}

.product-row:nth-child(3) .product-item:nth-child(3):before {
  background-image: linear-gradient(180deg, rgba(230, 240, 255, 0.5) 0%, rgba(175, 205, 245, 0.3) 100%);
}

/* 悬停效果增强 */
.product-item:hover:before {
  opacity: 1;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(62, 128, 255, 0.15);
  border-color: #c0d0ff;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.product-item:hover .product-card img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 10px;
  position: relative;
  z-index: 1;
}

.product-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #444444;
  margin-bottom: 10px;
}


.product-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #666666;
  margin-bottom: 10px;
  font-weight: normal;
}

.product-info p {
  font-size: 14px;
  color: #999999;
  line-height: 1.5;
  flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .product-item {
    flex: 0 0 calc(33.33% - 25px);
  }

  .product-showcase {
    padding: 50px 20px;
  }
}

@media (max-width: 992px) {
  .product-item {
    flex: 0 0 calc(50% - 25px);
  }

  .product-showcase-description {
    font-size: 1rem;
    padding: 0 20px;
  }

  .product-showcase {
    padding: 40px 15px;
  }
}

@media (max-width: 576px) {
  .product-row {
    flex-direction: column;
    align-items: center;
  }

  .product-item {
    flex: 0 0 100%;
    max-width: 320px;
  }

  .product-showcase .section-title {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .product-showcase-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .product-showcase {
    padding: 30px 10px;
  }
}