.m-facets-mobile {
  display: flex;
  flex-direction: column;
}
.m-facets-mobile__container {
  width: 100%;
}
.m-facets-mobile__details {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid black;
  position: relative;
  gap: 1.6rem;
}
@media screen and (min-width: 768px) {
  .m-facets-mobile__details {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}
.m-facets-mobile__trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  font-family: var(--ff-primary);
  color: var(--color-primary-body);
}
.m-facets-mobile__trigger-divider {
  color: black;
  width: 1px;
}
.m-facets-mobile__trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}
.m-facets-mobile__trigger-icon .icon {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .m-facets-mobile__cta {
    width: 100%;
  }
}
.m-facets-mobile__cta-icon {
  height: 16px;
}
.m-facets-mobile__cta-icon .icon {
  width: 100%;
  height: 100%;
}
.m-facets-mobile__sort {
  padding-bottom: 1.5rem;
}
.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: white;
  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 1.5rem;
}
@media screen and (min-width: 768px) {
  .m-facets-mobile__sidebar--inner {
    max-width: 47rem;
    padding: 0 3rem;
  }
}
.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 .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(--rgb-quaternary-bg), 0.3);
  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: 3rem;
}
.m-facets-mobile__heading--close {
  cursor: pointer;
}
.m-facets-mobile__heading--title {
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
}
.m-facets-mobile__heading .icon {
  display: block;
}
.m-facets-mobile__filters {
  padding-bottom: 2rem;
}
.m-facets-mobile__footer {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  background-color: var(--color-white);
  position: sticky;
  bottom: 0;
  padding: 2rem 0;
  white-space: nowrap;
}
.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;
}
