.category-header {
  padding: 8rem 2rem 2rem;
  background: var(--light-orange);
}

.category-title {
  max-width: 1200px;
  margin: 0 auto;
}

.category-title h1 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.breadcrumb {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--primary-orange);
  text-decoration: none;
}

.filters-section {
  background: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--light-gray);
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.filter-select {
  padding: 0.5rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  color: var(--medium-gray);
}

.sort-select {
  padding: 0.5rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  color: var(--medium-gray);
}

.products-grid-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Enhanced Product Card Styles */
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

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

.product-image-container {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 1.25rem;
}

.product-category {
  color: var(--medium-gray);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.product-name {
  color: var(--dark-gray);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-price {
  color: var(--primary-orange);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.add-to-cart {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary-orange);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-to-cart:hover {
  background: #EA580C;
}

.favorite-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-orange);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1;
}

.sidebar-filters {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  height: fit-content;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-section h3 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--medium-gray);
}

.price-range {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.price-input {
  width: 80px;
  padding: 0.25rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.page-button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  color: var(--medium-gray);
  cursor: pointer;
}

.page-button.active {
  background: var(--primary-orange);
  color: white;
  border-color: var(--primary-orange);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .sidebar-filters {
    display: none;
  }

  .filters-container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    /*grid-template-columns: 1fr;*/
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.rating-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #FCD34D;
  font-size: 1.25rem;
}

.rating-count {
  color: var(--medium-gray);
  font-size: 0.875rem;
}

.product-card {
  cursor: pointer;
}
