/* ============================================
   MENU / LISTING PAGE STYLES - FIXED
   ============================================ */

/* ========== FILTERS SECTION ========== */
.filters {
  background: white;
  padding: 25px 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid #f0f0f0;
}

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

/* ========== FILTER BUTTONS ========== */
.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 10px 24px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #f4a460;
  color: #f4a460;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #f4a460, #e08040);
  border-color: #f4a460;
  color: white;
  box-shadow: 0 4px 15px rgba(244, 164, 96, 0.3);
}

/* ========== SEARCH BOX ========== */
.search-box {
  flex: 1;
  max-width: 400px;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
}

.search-box input:focus {
  border-color: #f4a460;
  background: white;
  box-shadow: 0 0 0 4px rgba(244, 164, 96, 0.1);
}

.search-box input::placeholder {
  color: #999;
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
  .filters-container {
    gap: 20px;
  }
  
  .search-box {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .filters {
    padding: 20px 5%;
  }
  
  .filters-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .filter-group {
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
  
  .search-box {
    max-width: 100%;
    order: -1; /* Put search on top on mobile */
  }
  
  .search-box input {
    padding: 10px 18px;
  }
}

@media (max-width: 576px) {
  .filters {
    padding: 15px 5%;
  }
  
  .filter-btn {
    padding: 7px 16px;
    font-size: 12px;
  }
}
