.filter-menu {
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 1;
}

.filter-group {
  position: relative;
  text-align: left;
}

.filter-group .scroll-content {
  width: 100%;
  overflow-x: visible;
}

.filter-group .selected a {
  font-weight: bold;
}

.filter-group .filter-clear {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 10px;
  padding: 0 5px;
  text-decoration: none;
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
}

.filter-group .collection-container {
  position: relative;
}

.filter-group .collection-count {
  position: absolute;
  right: 0;
}

.filter-group h4 {
  text-align: left;
  margin-bottom: 10px;
  padding-bottom: 5px;
  padding-right: 45px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.filter-group + .filter-group h4 {
  margin-top: 10px;
  padding-top: 10px;
}

.pt-display-mode-horizontal .filter-group + .filter-group h4 {
  padding-top: 0px;
}

.filter-group + .filter-group .filter-clear {
  top: 10px;
}

.filter-group .filter-clear,
.pt-display-mode-horizontal .filter-group .filter-clear {
  top: 0;
}

.filter-group ul {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0;
}

.filter-group ul li {
  display: block;
  font-size: 12px;
  word-break: normal;
}

.filter-group li a {
  display: inline-block;
  margin-left: 6px;
  text-decoration: none;
}

.filter-group li.inactive {
  opacity: 0.6;
}

.filter-group li.view-more-link {
  list-style: none;
}

.filter-group li.view-more-link a {
  text-indent: 0;
  padding: 0;
}

.sort-selector {
  margin: 0 10px;
}

i.check-icon,
.pt-display-dropdown .filter-clear,
.pt-display-dropdown .menu-trigger:after,
.filter-group h4:after {
  font-family: 'pt-font' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  text-indent: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

i.check-icon:before,
.pt-display-dropdown .filter-clear:before {
  background-repeat: no-repeat;
  display: inline-block;
  margin-top: 0;
}

.hide-checkboxes .filter-group:not(.pt-display-swatch) i.check-icon {
  display: none !important;
}

.hide-checkboxes .filter-group li a {
  margin-left: 5px;
}

.fm-search-box {
  display: none;
}

.pt-display-search .fm-search-box {
  display: inherit;
  margin-bottom: 10px;
  width: 100%;
  padding: 5px;
}

.filter-menu .filter-group label {
  display: none;
}

.filter-group-not-shown {
  display: none !important;
}

.hide-clear-buttons .filter-group .filter-clear:not(.filter-clear-all) {
  display: none !important;
}

.hide-coll-counts .filter-group .collection-count {
  display: none !important;
}

.hide-coll-counts .filter-group li a {
  margin-right: 0;
}

.hide-single-group .filter-group.has_single_item {
  display: none !important;
}

.hide-single-group.always-show-selected
  .filter-group.has_group_selected.has_single_item {
  display: inherit !important;
}

.pt-filter-mode-single .has_selected .active {
  display: none;
}

.pt-filter-mode-single .has_selected .selected,
.pt-filter-mode-and .has_selected .active,
.pt-filter-mode-switcher .has_selected .active {
  display: inherit;
}

.pt-display-smallbox.pt-filter-mode-single .has_selected .selected,
.pt-display-smallbox.pt-filter-mode-and .has_selected .active,
.pt-display-smallbox.pt-filter-mode-switcher .has_selected .active {
  display: inline-block;
}

.scroll-filter-groups .filter-group .scroll-content,
.pt-display-scroll .scroll-content {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Show Inactive Filters */
.show-inactive-filters .filter-group .has_selected .inactive {
  display: inherit;
  opacity: 0.6;
  cursor: text;
}

.show-inactive-filters .filter-group .has_selected .inactive a {
  cursor: text;
}

.show-inactive-filters .filter-group .has_selected .selected {
  opacity: 1;
}

.show-inactive-filters .filter-group .has_selected .selected a {
  cursor: pointer;
}

.hide-checkboxes .filter-group:not(.pt-display-swatch) i.check-icon {
  display: none !important;
}

.hide-checkboxes
  .filter-group:not(.pt-display-swatch):not(.pt-display-smallbox)
  li
  a {
  margin-left: 5px;
  padding-left: 0;
  text-indent: 0;
}

/* Hide Checkboxes */
.pt-display-nocheckbox i.check-icon {
  display: none !important;
}

.pt-display-nocheckbox li a {
  margin-left: 6px;
}

/* Horizontal Display */
.pt-display-mode-horizontal .filter-menu {
  display: flex;
  width: 100%;
  text-align: center;
  flex-wrap: wrap;
}

.pt-display-mode-horizontal .filter-menu .refine-header,
.pt-display-mode-horizontal .filter-menu .filter-group.pt-display-nested {
  display: none !important;
}

.pt-display-mode-horizontal .filter-menu .filter-group,
.pt-display-mode-horizontal .filter-menu .filter-group.pt-display-dropdown {
  margin-right: 15px;
  min-width: 180px;
  max-width: 180px;
  vertical-align: text-top;
  position: relative;
  flex-direction: column;
}

.pt-display-mode-horizontal
  .filter-menu
  .filter-group.filter-group-pt-apply-group {
  margin-right: 0;
}

.pt-display-mode-horizontal .filter-menu .filter-group h4 {
  margin-top: 0;
}

.pt-display-mode-horizontal .filter-menu .pt-mobile-header {
  margin-bottom: 20px;
}

/* Small Boxes */
.pt-display-smallbox ul {
  margin-left: 0;
  padding-left: 0;
}

.pt-display-smallbox ul li {
  display: inline-block;
  margin-left: 0 !important;
  margin-bottom: 10px;
  margin-right: 5px;
}

.smallbox-shadows .pt-display-smallbox ul li {
  box-shadow: 0 1px 0 0 rgba(110, 110, 110, 0.5);
}

.pt-display-smallbox ul li i.check-icon {
  display: none;
}

.pt-display-smallbox ul li .collection-name {
  min-width: 30px;
  text-align: center;
  padding: 0;
}

.pt-display-smallbox ul li .collection-name a {
  text-align: center;
  display: block;
  min-width: 46px;
  padding: 4px 10px;
  margin: 0;
  text-indent: 0;
}

.pt-display-smallbox .collection-count {
  display: none;
}

.pt-display-smallbox-full-width ul li {
  width: 100%;
}

/* Two Column Display */
@media only screen and (min-width: 1061px) {
  .pt-display-twocolumn .collection-container {
    width: calc(50% - 5px);
    float: left;
  }

  .pt-display-twocolumn .collection-count {
    display: none;
  }

  .pt-display-twocolumn ul {
    overflow-x: visible;
  }

  .pt-display-twocolumn li a {
    margin-right: 0;
    margin-bottom: 5px;
  }
}

/* Color Swatches */
.pt-display-swatch ul {
  padding-left: 0;
  margin: 0;
  display: inline-block;
}

.pt-display-swatch ul li {
  margin-left: 0 !important;
  padding-right: 4px;
}

.pt-display-swatch ul li .collection-name {
  margin-bottom: 8px;
  margin-right: 3px;
}

.pt-display-swatch .collection-count {
  display: none;
}

.pt-display-swatch i.check-icon.pt-image-swatch {
  display: inherit;
}

.swatch-type-swatch .pt-display-swatch ul li {
  display: inline-block;
}

.swatch-type-swatch .pt-display-swatch li:not(.view-more-link) a,
.swatch-type-swatch .pt-display-swatch li:not(.view-more-link) a:hover {
  color: transparent !important;
  line-height: 0;
  margin-left: 3px;
  font-size: 0;
}

/* Default Mobile Menu Button */
.filter-menu .pt-mobile-header {
  display: none;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-mobile-header {
  position: relative;
  top: 0;
  text-align: center;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-mobile-header span {
  letter-spacing: 1.5px;
  padding-bottom: 8px;
  padding-left: 10px;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Hamburger Icon */
#pt-nav-toggle > * {
  pointer-events: none;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle {
  width: fit-content;
  margin: auto;
  text-decoration: none;
  white-space: nowrap;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle > * {
  pointer-events: none;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle .pt-mobile-burger {
  height: 35px;
  width: 35px;
  display: inline-block;
  position: relative;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle span,
.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle span:before,
.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle span:after {
  cursor: pointer;
  border-radius: 3px;
  height: 4px;
  width: 35px;
  position: absolute;
  display: block;
  content: '';
  padding: 0;
  top: 21px;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle span {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle span:before {
  top: -10px;
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle span:after {
  top: unset;
  bottom: -10px;
  transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle.active span {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle.active span:before,
.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle.active span:after {
  top: 0 !important;
  bottom: 0 !important;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle.active span:before {
  top: 0 !important;
  opacity: 0 !important;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle.active span:after {
  bottom: 0 !important;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease,
    transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-nav-toggle p {
  display: inline-block;
  margin: 0 0 0 10px;
  position: relative;
  color: #222;
  text-decoration: none;
  font-size: 30px !important;
  line-height: 40px;
  position: relative;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle .pt-mobile-burger {
  height: 27px;
  width: 27px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle span,
.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle span:before,
.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle span:after {
  height: 4px;
  width: 27px;
  top: 16px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle span:before {
  top: -8px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle span:after {
  top: unset;
  bottom: -8px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-small .filter-menu a.pt-nav-toggle p {
  font-size: 24px !important;
  margin: 0 0 0 5px;
  line-height: 38px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle .pt-mobile-burger {
  height: 20px;
  width: 20px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle span,
.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle span:before,
.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle span:after {
  height: 3px;
  width: 20px;
  top: 12px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle span:before {
  top: -6px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle span:after {
  top: unset;
  bottom: -6px;
}

.pt-mobile .show-mobile-menu-btn.mobile-btn-xsmall .filter-menu a.pt-nav-toggle p {
  font-size: 18px !important;
  margin: 0 0 0 5px;
  line-height: 38px;
}

/* Default Dropdowns */
.filter-menu .pt-display-dropdown {
  position: relative;
  margin: 0;
}

.filter-menu .pt-display-dropdown h4 {
  min-width: 150px;
  width: 100%;
}

.filter-menu .pt-display-dropdown .menu-trigger {
  border: solid 1px #CCC;
  background-color: #FFF;
  cursor: pointer;
  padding: 0 26px 0 15px;
  z-index: 5;
  line-height: 24px;
  height: 26px;
  position: relative;
  overflow: hidden;
}

.filter-menu .pt-display-dropdown .menu-trigger:after {
  content: '\e836';
  position: absolute;
  right: 7px;
  top: 7px;
  font-family: 'pt-font' !important;
}
  
.filter-menu .pt-display-dropdown .collection-count {
  display: none;
}

.filter-menu .pt-display-dropdown .filter-clear {
  background-color: transparent;
  display: inline-block;
  vertical-align: text-top;
  text-indent: -9999px;
  text-decoration: none;
  margin-top: 0;
  margin-left: 5px;
  padding: 0;
  border-radius: 0;
  width: 20px;
  height: 20px;
}

.filter-menu .pt-display-dropdown .filter-clear:before {
  text-indent: 9999px;
  content: '\e847';
}

.filter-menu .pt-display-dropdown .scroll-content {
  display: none;
  left: 0;
  position: absolute;
  background: #f9f9f9;
  min-width: 198px;
  width: 198px;
  width: calc(100% - 20px);
  margin: 0;
  padding: 5px 10px;
  border: solid 1px #ccc;
  list-style: none;
  top: 75px;
  z-index: 7;
  text-align: left;
}

.filter-menu .pt-display-dropdown li {
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.filter-menu .pt-display-dropdown li a {
  margin-right: 0;
  width: 100%;
}

.filter-menu .pt-display-dropdown li:hover {
  background: #d6d6d6;
}

.filter-menu .pt-display-dropdown li:hover a {
  color: #000;
}

.filter-menu .pt-display-dropdown.pt-display-smallbox li {
  margin: 3px 5px;
}

@media only screen and (max-width: 400px) {
  .filter-menu .pt-display-dropdown {
    width: 100%;
    max-width: 100%;
  }
}

/* Hide Default Dropdown Headers */
.hide-dropdown-headers .filter-group.pt-display-dropdown:not(.dropdown-alt) h4 {
  display: none;
}

.hide-dropdown-headers .filter-group.pt-display-dropdown:not(.dropdown-alt) {
  margin-top: 25px;
}

.hide-dropdown-headers .pt-display-dropdown .filter-clear,
.hide-dropdown-headers .pt-display-dropdown + .pt-display-dropdown .filter-clear {
  top: -18px;
  right: 4px;
}

/* Alternate Dropdown Design */
.filter-menu .filter-group.pt-display-dropdown.dropdown-alt h4 {
  position: absolute;
  top: 7px;
  left: 14px;
  z-index: 6;
  pointer-events: none;
  line-height: 1;
  opacity: 0.6;
  border: none;
  font-size: 14px !important;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

.pt-display-mode-horizontal .filter-menu .filter-group.pt-display-dropdown.dropdown-alt h4 {
  top: 16px;
}

.filter-menu .filter-group.pt-display-dropdown.dropdown-alt .filter-clear {
  display: none;
}

.filter-menu .filter-group.pt-display-dropdown.dropdown-alt .scroll-content {
  width: 100%;
}

.filter-menu .filter-group.pt-display-dropdown.dropdown-alt .menu-trigger {
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 28px;
  padding-top: 18px;
  padding-left: 13px;
  border: 1px solid #c7c7c7;
  background-color: #ffffff; /* TODO: make this a setting? */
  border-radius: 0;
  height: 48px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
}

.filter-menu .filter-group.pt-display-dropdown.dropdown-alt .menu-trigger:last-of-type {
  margin-bottom: 0;
}

.filter-menu .filter-group.pt-display-dropdown.dropdown-alt .menu-trigger:after {
  right: 11px;
  top: 20px;
  font-size: 11px;
}

/* Accordions */
.filter-group.pt-accordion-group:not(.pt-display-nested) .scroll-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.filter-group.pt-group-expanded.pt-accordion-group:not(.pt-display-nested) .scroll-content {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: max-height 0.5s ease-in-out;
}

.filter-menu .pt-accordion-group.has_group_selected .filter-clear {
  display: inline;
}

.filter-group.pt-accordion-group h4 {
  cursor: pointer;
}

.refine-header h4,
.pt-display-dropdown h4 {
  cursor: inherit;
}

.filter-group.pt-accordion-group h4:after {
  content: "\e836";
  font-weight: 100;
  margin-right: 13px;
  font-size: 11px;
  right: 0;
  top: 0;
  position: absolute;
}

.filter-group.refine-header + .filter-group h4:after {
  top: 8px;
}

.filter-group.pt-accordion-group + .filter-group.pt-accordion-group h4:after {
  top: 10px;
}

.pt-display-mode-horizontal .filter-group.pt-accordion-group + .filter-group.pt-accordion-group h4:after {
  top: 0;
}

.pt-display-dropdown h4:after {
  display: none;
}

.filter-group.pt-accordion-group.pt-group-expanded h4:after {
  content: "\e839";
}
.accordion-style-plus-minus .filter-group.pt-accordion-group h4:after {
  content: "\002B";
  font-size: 21px;
}

.pt-display-mode-horizontal.accordion-style-plus-minus .filter-group.pt-accordion-group h4:after {
  top: -2px;
}

.accordion-style-plus-minus .filter-group.pt-accordion-group.pt-group-expanded h4:after {
  content: "\2212";
}

.pt-accordion-group.has_group_selected h4:after,
.refine-header h4:after {
  content: none;
}

/* Nested Display */
.pt-display-nested h4 {
  display: none !important;
}

.pt-display-mode-horizontal .pt-display-nested.pt-display-dropdown h4 {
  display: inherit !important;
  visibility: hidden;
}

.pt-display-nested ul {
  margin-left: 20px;
}

.pt-display-nested a.filter-clear {
  display: none !important;
}

/* Apply Button default */
.filter-group-pt-apply-group {
  display: none;
}

.pt-apply-button .filter-group-pt-apply-group {
  display: inherit;
}

.filter-menu .filter-group-pt-apply-group .pt-apply {
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  margin-top: 20px;
  margin-left: 0;
  width: 100%;
  font-weight: bold;
  padding: 7px 15px;
}

.filter-menu .filter-group-pt-apply-group .pt-apply:hover {
  text-decoration: none;
}

.filter-menu.pt-ajax-loading {
  pointer-events: none;
}

.pt-group-disabled {
  pointer-events: none;
}

/* Apply button in Drawer mode */
.pt-drawer-container .pt-filter-drawer .filter-group-pt-apply-group {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.pt-drawer-container .pt-filter-drawer .filter-group-pt-apply-group .pt-apply {
  margin: 0;
}

/* Drawer mode */
.pt-filter-drawer-btn, 
.pt-filter-drawer-header { 
  display: none; 
}

.pt-drawer-active-mobile .pt-filter-drawer-btn {
  display: block;
}

.pt-drawer-container .pt-filter-drawer-active-mobile {
  padding-bottom: 0 !important;
}

.pt-drawer-container .pt-filter-drawer .pt-filter-drawer-header {
  display: block;
  margin: 0;
  padding: 10px;
  letter-spacing: 1px;
  text-align: center;
}

.pt-filter-drawer-btn {
  margin: 10px 10px 10px 0;
  transition: all 70ms ease-in;
}

body.pt-no-scroll {
  overflow: hidden !important;
}

.pt-drawer-container .pt-filter-drawer .filter-menu {
  overflow: auto;
  max-height: 100%;
  min-height: 100%;
  padding-bottom: 100px!important;
}

.pt-drawer-container.pt-apply-button .pt-filter-drawer .filter-menu {
  overflow: auto;
  max-height: calc(100% - 100px);
  min-height: calc(100% - 100px);
  padding-bottom: 15px !important;
}

.pt-drawer-container.pt-apply-button .pt-filter-drawer .filter-menu.is-safari  {
  overflow: auto;
  max-height: 100%;
  min-height: 100%;
  padding-bottom: 110px!important;
}

.pt-drawer-container .pt-filter-drawer .filter-menu::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
  background-color: transparent;
}

.pt-drawer-container .pt-filter-drawer .filter-menu::-webkit-scrollbar {
  width: 4px;
  background-color: transparent;
}

.pt-drawer-container .pt-filter-drawer .filter-menu::-webkit-scrollbar-thumb {
  background-color: #8d8d8d;
  border: none;
}

.pt-drawer-container .pt-filter-drawer {
  width: 300px;
  z-index: 1000;
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-310px);
  transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow-y: hidden;
  overflow-x: hidden;
  height: 100dvh;
}

.pt-drawer-container .pt-filter-drawer-open {
  transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateX(0px);
}

.pt-overlay {
  display: none;
  z-index: 999;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  transition: opacity 400ms linear;
}

.pt-no-scroll .pt-overlay {
  display: block;
  opacity: 1;
  transition: opacity 400ms linear;
}

.pt-drawer-container .pt-filter-drawer .pt-filter-drawer-close-btn {
  display: block;
  font-family: 'pt-font' !important;
  cursor: pointer;
  z-index: 11;
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 7px 10px;
}

.pt-drawer-container .pt-filter-drawer .pt-filter-drawer-close-btn:after {
  content: "\e845";
}

/* Make drawer contents full width when horizontal mode is on - but only when the drawer is active */
.pt-display-mode-horizontal.pt-filter-drawer-active:not(.pt-filter-drawer-mobile-only) .filter-menu .filter-group,
.pt-display-mode-horizontal.pt-filter-drawer-active:not(.pt-filter-drawer-mobile-only) .filter-menu .filter-group.pt-display-dropdown {
  min-width: 100%;
  max-width: unset;
  margin-right: 0;
}

.pt-mobile .pt-display-mode-horizontal.pt-filter-drawer-active.pt-filter-drawer-mobile-only .filter-menu .filter-group,
.pt-mobile .pt-display-mode-horizontal.pt-filter-drawer-active.pt-filter-drawer-mobile-only .filter-menu .filter-group.pt-display-dropdown {
  min-width: 100%;
  max-width: unset;
  margin-right: 0;
}

/* AJAX */
.pt-ajax-loading {
  opacity: 0.7;
  transition: opacity 500ms linear;
}

/* Right to Left Display */
[dir='rtl'] .filter-menu a.pt-nav-toggle p {
  margin: 0 50px 0 0;
}

[dir='rtl'] .filter-group {
  text-align: right;
}

[dir='rtl'] .filter-group li a {
  margin-right: 35px;
}

[dir='rtl'] .filter-group h4 {
  text-align: right;
  padding-right: 0;
}

[dir='rtl'] .filter-group .filter-clear {
  left: 10px;
  right: unset;
}

[dir='rtl'] .filter-group .collection-count {
  left: 0;
  right: unset;
}

[dir='rtl'] .filter-menu .pt-display-smallbox ul .collection-container {
  margin-right: 0;
}

[dir='rtl'] .filter-group h4:after {
  right: unset;
  left: 10px;
}

/* Sticky custom scrollbars */
/* Firefox */
.pt-sticky {
  scrollbar-width: thin;
  scrollbar-color: #ddd #ffffff;
}

/* Chrome, Edge, and Safari */
.pt-sticky::-webkit-scrollbar {
  width: 6px;
}

.pt-sticky::-webkit-scrollbar-track {
  background: #ffffff;
}

.pt-sticky::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 10px;
  border: 2px solid #ffffff;
}

/* Sidebar styles */
.side-filter-container {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.side-filter-menu {
  width: 20%;
  width: calc(0% + 220px);
  padding-right: 20px;
}

.main-filter-content {
  width: 80%;
  width: calc(100% - 230px);
}

@media only screen and (max-width: 1060px) {
  .side-filter-menu {
    width: 25%;
    width: calc(0% + 190px);
  }

  .main-filter-content {
    width: 75%;
    width: calc(100% - 200px);
  }
}

/* Make sure all elements display correctly */
.filter-menu *:empty {
  display: initial;
}

/* Mobile styles - .pt-mobile class is added on the body with js, based on the ptMobileMaxWidth liquid setting */
.pt-mobile .side-filter-container {
  flex-direction: column;
}

.pt-mobile .side-filter-menu {
  padding-right: unset;
  width: 100%;
}

.pt-mobile .main-filter-content {
  width: 100%;
}

.pt-mobile .show-mobile-menu-btn .filter-menu {
  display: block;
}

.pt-mobile .show-mobile-menu-btn .filter-menu .filter-group {
  max-width: 100%;
}

.pt-mobile .show-mobile-menu-btn .filter-menu .pt-display-dropdown h4 {
  padding-top: 15px;
}

.pt-mobile .show-mobile-menu-btn .filter-menu a.pt-mobile-header {
  display: block;
  position: relative;
  float: none !important;
}

.pt-mobile .show-mobile-menu-btn .filter-menu .filter-group h4,
.pt-mobile .show-mobile-menu-btn .filter-menu .filter-group .menu-trigger,
.pt-mobile .show-mobile-menu-btn .filter-menu .filter-group .scroll-content,
.pt-mobile .show-mobile-menu-btn .filter-menu .filter-group .filter-clear,
.pt-mobile .show-mobile-menu-btn.pt-apply-button .filter-menu .filter-group-pt-apply-group,
.pt-mobile .show-mobile-menu-btn .filter-menu .filter-group-sort-orders {
  display: none;
}

.pt-mobile .show-mobile-menu-btn .pt-expand.filter-menu .filter-group h4,
.pt-mobile .show-mobile-menu-btn .pt-expand.filter-menu .filter-group .menu-trigger,
.pt-mobile .show-mobile-menu-btn .pt-expand.filter-menu .filter-group:not(.pt-display-dropdown) .scroll-content,
.pt-mobile .show-mobile-menu-btn .pt-expand.filter-menu .filter-group .filter-clear,
.pt-mobile .show-mobile-menu-btn .pt-expand.filter-menu .filter-group-sort-orders, 
.pt-mobile .show-mobile-menu-btn.pt-apply-button .pt-expand .filter-group-pt-apply-group {
  display: inherit;
  -webkit-animation: fadeIn 0.3s;
  animation: fadeIn 0.3s;
}

.pt-mobile .show-mobile-menu-btn:not(.mobile-hide-selected) .filter-menu .filter-group.has_group_selected {
  display: inherit;
}

.pt-mobile .show-mobile-menu-btn:not(.mobile-hide-selected) .filter-menu .has_group_selected h4,
.pt-mobile .show-mobile-menu-btn:not(.mobile-hide-selected) .filter-menu .has_group_selected .menu-trigger,
.pt-mobile .show-mobile-menu-btn:not(.mobile-hide-selected) .filter-menu .has_group_selected .scroll-content {
  display: inherit;
}

.pt-mobile .show-mobile-menu-btn:not(.mobile-hide-selected) .filter-menu .has_group_selected .menu-trigger {
  display: block;
}

.pt-mobile .show-mobile-menu-btn .pt-expand .filter-group .menu-trigger {
  display: block;
}

.pt-mobile .show-mobile-menu-btn .pt-expand .has_group_selected h4,
.pt-mobile .show-mobile-menu-btn .pt-expand .has_group_selected .menu-trigger,
.pt-mobile .show-mobile-menu-btn .pt-expand .has_group_selected .scroll-content {
  animation: none;
}

.pt-mobile .show-mobile-menu-btn .filter-menu .refine-header {
  display: none;
}

.pt-mobile .show-mobile-menu-btn .filter-menu .has_group_selected .filter-clear {
  display: inline;
}

.pt-mobile .show-mobile-menu-btn .filter-menu {
  margin-bottom: 20px;
}

.pt-mobile .show-mobile-menu-btn.mobile-hide-selected .filter-menu .has_group_selected .filter-clear {
  display: none;
}

.pt-mobile .show-mobile-menu-btn.mobile-hide-selected .pt-expand .has_group_selected .filter-clear {
  display: inline;
}
