.top-bg {
  background: url(../assets/images/productlist-bg.jpg) no-repeat center/cover;
}

.productlist-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.productlist-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.productlist-section .intro {
  font-size: 18px;
  line-height: 28px;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}


/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 25px;
}

.product-category {
  font-size: 12px;
  font-weight: 500;
  color: #3255D2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
}

.product-description {
  font-size: 15px;
  line-height: 22px;
  color: #555;
  margin-bottom: 20px;
}

.product-keyspecs {
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.keyspec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.keyspec-item:last-child {
  margin-bottom: 0;
}

.keyspec-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.keyspec-value {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.product-price-section {
  margin-bottom: 20px;
  text-align: center;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: #3255D2;
}

.product-actions {
  display: flex;
  gap: 12px;
}

.btn-primary {
  flex: 1;
  padding: 12px 20px;
  background: #3255D2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #2a4bc7;
}

.btn-secondary {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  color: #3255D2;
  border: 2px solid #3255D2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #3255D2;
  color: white;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 60px 0;
  color: #666;
  font-size: 18px;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 0;
  color: #666;
}

.no-results h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.no-results p {
  font-size: 16px;
  color: #666;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .productlist-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .productlist-section h2 {
    font-size: 28px;
  }

  .productlist-section .intro {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
  }


  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-image {
    height: 200px;
  }

  .product-content {
    padding: 20px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-description {
    font-size: 14px;
    line-height: 20px;
  }

  .product-actions {
    flex-direction: column;
  }
}
