/* Related articles */
    .articles-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 20px;
    }
    
    .article-card {
      flex: 1;
      min-width: 300px;
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--box-shadow);
      background-color: white;
      transition: var(--transition);
    }
    
    .article-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .article-image {
      height: 200px;
      overflow: hidden;
    }
    
    .article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }
    
    .article-card:hover .article-image img {
      transform: scale(1.1);
    }
    
    .article-content {
      padding: 20px;
    }
    
    .article-content h3 {
      margin-top: 0;
      color: var(--primary-color);
    }
.product-card2 {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.product-image-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.product-image22 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 160px;
  left: 15px;
  background: #28a745;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 2;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.badge-popular { background-color: #007bff; }
.badge-stock   { background-color: #dc3545; }

.product-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #222;
}

.product-subtitle {
  color: #777;
  font-size: 14px;
  margin-bottom: 15px;
}

.product-description {
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.product-features li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}

.product-features i {
  color: #28a745;
  margin-right: 8px;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #e63900;
  margin-bottom: 20px;
}

.btn-product {
  align-self: flex-start;
  background: #ff4500;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s;
}

.btn-product:hover {
  background: #e03d00;
  transform: scale(1.05);
}
.product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}