/* Products Page */
.products-page {
  min-height: 100vh;
}

.products-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 120px 0 80px;
  color: white;
  text-align: center;
}

.products-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.products-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.products-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 60px 20px;
}

/* Sidebar */
.sidebar {
  background: white;
  padding: 30px;
  border-radius: 20px;
  height: fit-content;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  sticky: top;
  top: 100px;
}

.filter-section {
  margin-bottom: 40px;
}

.filter-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #2d3748;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-options button {
  padding: 12px 20px;
  background: #f7fafc;
  border: 2px solid transparent;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: #4a5568;
}

.filter-options button:hover {
  background: #edf2f7;
  border-color: #667eea;
}

.filter-options button.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
}

/* Products Grid Container */
.products-grid-container {
  min-height: 500px;
}

.products-header {
  margin-bottom: 40px;
}

.products-header h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.product-count {
  color: #718096;
  font-size: 0.95rem;
}

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

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

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.product-info {
  padding: 25px;
}

.product-category-tag {
  display: inline-block;
  padding: 5px 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2d3748;
}

.product-description {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
}

.add-to-cart-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4);
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #718096;
}

.no-products p {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .filter-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .products-hero h1 {
    font-size: 2rem;
  }

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