/* --------------------------------------------
  * Sidebar w/ filters (left of the page)
  -------------------------------------------- */

/* --------------------------------------------
     Sidebar Filters (left scroll/filter)
  -------------------------------------------- */
.sidebar-filters {
  position: sticky;
  top: 0;
  left: 0;
  width: 230px;
  min-width: 220px;
  padding: 15px;

  height: 100vh;
  background-color: #fff;
  overflow-y: auto;
  border-right: 1px solid #ccc;
}

.sidebar-filters h3 {
  margin-top: 0;
  font-size: 14px;
}

.sidebar-filters label {
  margin-bottom: 0;
  text-wrap: wrap;
}

#kt_b2b_sort_products {
  width: 100%;
  padding: 6px 12px;
  margin-top: 5px;
}

.sidebar-filters button[type="submit"] {
  margin-top: 10px;
  padding: 6px 12px;
  border: none;
  background-color: #28a745;
  color: #fff;
  cursor: pointer;
}

.sidebar-filters button[type="submit"]:hover {
  background-color: #218838;
}

/* --------------------------------------------
       Content Area (to the right of sidebar)
    -------------------------------------------- */
.content {
  flex: 1;
  padding: 20px;
  background-color: #fff;
}

/* Common section styling */
.section-top-sold,
.section-newest,
.section-delivery,
.section-all-products {
  margin-bottom: 30px;
}

.section-top-sold h2,
.section-newest h2,
.section-delivery h2,
.section-all-products h2 {
  color: #555;
  margin-bottom: 10px;
}

.category-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  width: 100%;
  height: 100%;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.category-label:hover {
  background-color: #f9f9f9;
}

.category-checkbox {
  margin-right: 10px;
}

/*  */
/*  */
/*  */
/*  */
/*  */

#category-container {
  overflow-y: auto;
}
.brand-container {
  max-height: 400px;
}

.category-item {
  display: flex;
  align-items: center;
}

.category-checkbox {
  cursor: pointer;
}

.category-level-1 {
  font-weight: 100;
  color: #565656;

  display: none;
}
.category-level-1 input {
  margin-right: 30px;
}

.category-level-2 {
  display: none;
}
.category-level-3 {
  display: none;
}
.toggle-arrow {
  margin-right: 6px;
  cursor: pointer;
  color: #333;
}
.toggle-arrow:hover {
  color: #555;
}

#sideFilterForm {
  margin-bottom: 20px;
}
