.m-facets-mobile {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.m-facets-mobile__sidebar {
  min-height: -webkit-fill-available;
  width: 100vw;
  position: fixed;
  overflow: scroll;
  z-index: 999;
  right: 0;
  bottom: 0;
  top: 0;
  visibility: hidden;
}
.m-facets-mobile__sidebar.sidebar-open {
  opacity: 1;
  visibility: visible;
}
.m-facets-mobile__sidebar.sidebar-open .m-facets-mobile__sidebar-inner {
  transform: translateX(0px);
}
.m-facets-mobile__sidebar.sidebar-open .m-facets-mobile__underlay {
  opacity: 1;
}
.m-facets-mobile__sidebar-inner {
  min-height: -webkit-fill-available;
  height: 100%;
  width: 100%;
  background-color: rgb(var(--color-background));
  position: fixed;
  overflow: scroll;
  display: block;
  flex-direction: column;
  z-index: 999;
  right: 0;
  bottom: 0;
  top: 0;
  transform: translateX(110vw);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  z-index: 10;
  padding: 0 2rem;
}
@media screen and (min-width: 768px) {
  .m-facets-mobile__sidebar-inner {
    padding: 0 3rem;
    max-width: 47rem;
  }
}
.m-facets-mobile__sidebar-inner .facet-filters-form {
  height: 100%;
}
.m-facets-mobile__underlay {
  min-height: -webkit-fill-available;
  width: 100vw;
  z-index: 5;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  background-color: rgba(var(--color-black), 0.28);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}
.m-facets-mobile__heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
}
@media screen and (min-width: 768px) {
  .m-facets-mobile__heading {
    padding-top: 3rem;
    margin-bottom: 3rem;
  }
}
.m-facets-mobile__heading-close {
  cursor: pointer;
}
.m-facets-mobile__heading-close .icon {
  display: block;
}
.m-facets-mobile__heading-title {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0;
}
.m-facets-mobile__filters {
  padding-bottom: 2rem;
}
.m-facets-mobile__footer {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  position: sticky;
  bottom: 0;
  padding: 2rem 0;
  margin-top: auto;
  background: rgb(var(--color-background));
  flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .m-facets-mobile__footer {
    padding: 3rem 0;
    flex-wrap: nowrap;
    gap: 2rem;
  }
}
.m-facets-mobile__footer-item {
  width: 100%;
  flex-basis: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 0;
}
.m-facets-mobile__footer-item.m-facets__active-wrapper:empty {
  display: none;
}
.m-facets-mobile__footer-item .a-btn {
  width: 100%;
  text-align: center;
}
.m-facets-mobile__footer-item a {
  text-decoration: none;
}
