.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--inner {
  min-height: -webkit-fill-available;
  height: 100%;
  width: 100%;
  background-color: var(--color-primary-bg);
  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 1rem;
}
@media screen and (min-width: 768px) {
  .m-facets-mobile__sidebar--inner {
    max-width: 40rem;
  }
}
.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__underlay {
  min-height: -webkit-fill-available;
  width: 100vw;
  z-index: 5;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 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: 1rem;
  padding-bottom: 1rem;
  padding-top: 2rem;
  border-bottom: 1px solid var(--color-primary-border);
}
.m-facets-mobile__heading--close {
  cursor: pointer;
}
.m-facets-mobile__heading--title {
  margin-bottom: 0;
}
.m-facets-mobile__filters {
  padding-bottom: 2rem;
}
.m-facets-mobile__footer {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  background-color: var(--color-white);
  position: sticky;
  bottom: 0;
  padding: 2rem 0;
}
.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;
}
