.product-cbp-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cbp-filter-product-cat, .cbp-filter-product-orderby {
  position: relative;
}

.cbp-open-cat-button, .cbp-open-orderby-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.45rem 0.75rem;
  background-color: #fff;
  color: #121f3d;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.4s ease;
}

.cbp-open-cat-button:hover, .cbp-open-orderby-button:hover {
  background-color: #121f3d;
  color: #fff;
  transition: 0.4s ease;
}

.cbp-filter-product-cat .tab-main,
.cbp-filter-product-orderby .tab-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  background-color: #121f3d;
}

.cbp-side-tab {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: #24385b;
  color: #fff;
  transition: right 0.3s ease;
  z-index: 99999;
}

.cbp-side-tab.visible {
  right: 0;
}

.cbp-filter-product-cat .head-main-content a,
.cbp-filter-product-orderby .head-main-content {
  font-weight: 600 !important;
  color: #fff;
}

.cbp-close-cat-button, .cbp-close-orderby-button {
  background-color: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 0;
  margin: 0;
  width: 10px;
  height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cbp-filter-product-cat .tab-content,
.cbp-filter-product-orderby .tab-content {
  padding: 10px 15px;
  max-height: calc(100% - 50px);
  overflow-y: auto;
}

.cbp-filter-product-cat .product-categories,
.cbp-filter-product-orderby .custom-option-orderby {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.cbp-filter-product-cat .sub-categories {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}

.cbp-filter-product-cat .tab-content a,
.cbp-filter-product-orderby .custom-option-orderby {
  margin: 2px 0;
  text-decoration: none;
  cursor: pointer;
}

.cbp-filter-product-cat a.active,
.cbp-filter-product-orderby .custom-option-orderby.selected {
  background-color: #121f3d;
  color: #7ccc2c!important;
}

.cbp-side-tab {
  padding: 0;
  margin: 0;
  list-style: none;
}

.cbp-filter-product-cat .tab-content a,
.cbp-filter-product-orderby .custom-option-orderby {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
}

.cbp-filter-product-cat .tab-content a:hover,
.cbp-filter-product-orderby .custom-option-orderby:hover {
  background-color: #121f3d;
  transition: 0.3s ease;
}

.cbp-filter-product-cat .product-categories a::before {
  content: "\276F";
  margin-right: 5px;
}

.cbp-filter-product-cat .sub-categories a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;
  margin-right: 5px;
}

.cbp-filter-product-cat .product-categories a:before {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cbp-filter-product-cat .product-categories a:hover:before {
  transform: translateX(-5px);
}

.cbp-filter-product-orderby .tab-orderby span::before {
  content: "\276F";
  margin-right: 5px;
}

.cbp-filter-product-orderby .tab-orderby span:before {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cbp-filter-product-orderby .tab-orderby span:hover:before {
  transform: translateX(-5px);
}

.cbp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 43, 80, .8);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cbp-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.no-scrolls {
  overflow: hidden;
  height: 100%;
  position: fixed;
  width: 100%;
}