/* MAIN NAVBAR */
.main-navbar {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 0;
}

/* CATEGORY BLOCK */
/* CATEGORY DROPDOWN */
.category-left {
    position: relative;
    cursor: pointer;
}

.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 10px 0;
    display: none;
    z-index: 999;
}

.category-dropdown li {
    list-style: none;
}

.category-dropdown li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.category-dropdown li a:hover {
    background: #48d1c3;
    color: #fff;
}

/* Arrow animation */
.category-left .arrow {
    transition: transform 0.3s ease;
}

.category-left.active .arrow {
    transform: rotate(180deg);
}

.category-left.active .category-dropdown {
    display: block;
}


/* -----------------------------------------------------------
   COLLAPSIBLE FILTER BLOCK
----------------------------------------------------------- */
.collapsable-block {
  border: 1px solid #ccc;
  background: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* Collapsible Heading (top gray bar) */
.collapsable-heading {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #e5e5e5;
  user-select: none;
}

/* Collapsible elements */
.right-triangle {
  display: inline-block;
}
.down-triangle {
  display: none;
}

.collapsable-choices {
  display: none; /* JS overrides to block */
}

/* Clear Button */
.clear-link {
  margin-left: auto;
  color: #007bff;
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
}

/* Body */
.collapsable-choices,
.collapsable-body {
  padding: 12px;
  background: #fff;
}

/* Default: body should start OPEN (JS sets this too) */
#searchChoices,
#manufacturerBody {
  display: block;
}

/* Hidden brand items */
.extra-brand {
  display: none;
}
.right-triangle {
  display: inline-block;
}
.down-triangle {
  display: none;
}

/* pagination */
.pagination {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.page-item .page-link {
  padding: 6px 12px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
}

.page-item.active .page-link {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.page-item.disabled .page-link {
  color: #aaa;
  pointer-events: none;
}
.vertical-pagination {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
