/* Product page styles */
.page-header {
  background-color: #f9f5f0;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #8B4513;
}

.product-categories {
  padding: 2rem 0;
}

.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 0.8rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background-color: #f0f0f0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #8B4513;
  color: white;
}

.products-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card .product-header {
  padding: 1rem 1rem 0.5rem;
}

.product-card h3 {
  font-size: 1.3rem;
  color: #333;
  display: inline-block;
  margin: 0 0.5rem 0 0;
}

.product-card .price {
  padding: 0 1rem;
  font-weight: bold;
  color: #8B4513;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
.product-card h3 {
  padding: 0 1rem;
}
.product-card .specs {
  padding: 0 1rem;
  color: #666;
  font-size: 0.9rem;
}

.product-card .description {
  padding: 0 1rem 1rem;
  color: #666;
  font-size: 0.95rem;
  flex-grow: 1;
}

.product-card .category-tag {
  padding: 0.2rem 0.5rem;
  background-color: #f0f0f0;
  color: #666;
  font-size: 0.8rem;
  display: inline-block;
  margin: 5px 0 0 0;
  /*margin-top: 5px;*/
  border-radius: 3px;
  vertical-align: top;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.page-btn {
  padding: 0.7rem 1.2rem;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.page-btn:hover:not(:disabled),
.page-btn.active {
  background-color: #8B4513;
  color: white;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 768px) {
  .product-categories {
    padding: 1rem 0;
  }

  .products-grid-full {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 1.5rem;
  }

  .category-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
