/* Filter Sidebar Styles */
.filter-sidebar-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.filter-sidebar-popup.active {
  display: block;
}

.filter-sidebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.filter-sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background-color: #fff;
  overflow-y: auto;
  padding: 20px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.filter-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-filter-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.open-filter-btn {
  font-size: 14px;
  background-color: #fff;
  color: #000;
  border: 1px solid #e5e5e5;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
  margin-bottom: 20px;
}

.filter-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.clear-filters-btn {
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-products-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .filter-sidebar-content {
    width: 100%;
  }
}