.mymoods-facet-container {
  margin-right: 0;

  @media screen and (max-width: 768px) {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .mymoods-facet-inner {
    width: 0;
    background-color: white;
    padding: 60px 0;
    position: sticky;
    top: 50px;
    height: fit-content;
    max-height: calc(100vh - 140px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: scroll;

    @media screen and (max-width: 768px) {
      width: 100%;
      background-color: var(--mymoods-blue);
      color: white;
    }
  }

  .mymoods-facet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;

    .mymoods-facet-title {
      font-family: var(--mymoods-font-poppins), sans-serif;
      font-weight: var(--mymoods-font-weight-extrabold);
      font-size: 28px;
      color: var(--mymoods-darkgray);

      @media screen and (max-width: 768px) {
        color: #F2F3F6;
      }
    }

    .facet-clear {
      border: none;
      cursor: pointer;
      background: #F2F3F6;
      border-radius: 9999px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 18px;
      text-decoration: none;
      color: black;
    }
  }

  .mymoods-facet-filters {
    padding: 0;

    .mymoods-facet-filters__label {
      display: block;
      font-size: 12px;
      font-weight: bold;
      margin: 0 0 24px;
      color: var(--mymoods-gray);

      @media screen and (max-width: 768px) {
        color: var(--mymoods-placeholder-gray);
      }
    }

    .mymoods-facet-filters__section {
      border-bottom: 1px solid #DEDEDE;
      padding-bottom: 48px;
      margin-bottom: 24px;
    }

    .mymoods-facet-filters__radio-select {
      display: flex;
      flex-direction: column;
      gap: 10px;

      .mymoods-facet-filters__radio-select--label {
        display: flex;
        gap: 12px;
        align-items: center;

        &.anchor-wrapper {
          position: relative;

          &> a {
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            color: transparent;
          }
        }

        input {
          opacity: 0;
          appearance: none;
          position: absolute;
          margin: 0;
          padding: 0;
        }

        .outer {
          width: 24px;
          height: 24px;
          border: 2px solid #A8A8A8;
          background-color: #fff;
          border-radius: 50%;
          position: relative;
          cursor: pointer;

          @media screen and (max-width: 768px) {
            background-color: transparent;
          }
        }

        .inner {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          z-index: 1;
          width: 16px;
          height: 16px;
          border-radius: 50%;
          background-color: black;
          opacity: 0;
          transition: all 0.3s;

          @media screen and (max-width: 768px) {
            background-color: #F2F3F6;
          }
        }

        .mymoods-facet-filters__radio-select--text {
          display: inline-flex;
          align-items: center;
          position: relative;
          cursor: pointer;
          color: black;
          font-size: 16px;

          @media screen and (max-width: 768px) {
            color: #FAFAFA;
          }
        }

        input:checked ~ .outer .inner {
          opacity: 1;
        }

        input:disabled ~ .outer {
          cursor: not-allowed;
        }

        input:disabled ~ .mymoods-facet-filters__radio-select--text {
          cursor: not-allowed;
          opacity: .5;
        }
      }
    }

  }
}

#mymoods-facet-container.active {
  margin-right: 50px;

  @media screen and (max-width: 768px) {
    display: block;
    margin-right: 0;
  }

  .mymoods-facet-inner {
    padding: 60px 30px;
    width: var(--mymoods-side-menu-width);

    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }
}

#mymoods-price-range-slider {
  position: relative;
  margin-right: 20px;

  div:empty {
    display: unset;
  }

  .slider {
    background: #DEDEDE;

    .range-slider__thumb {
      display: flex;
      justify-content: center;
      align-items: center;
      width: fit-content;
      height: 30px;
      padding-inline: 10px;
      background-color: black;
      box-sizing: border-box;
      border: none;
      color: white;
      font-family: var(--mymoods-font-poppins), sans-serif;
      font-weight: var(--mymoods-font-weight-bold);
      font-size: 12px;
      border-radius: 9999px;

      &:focus-visible {
        box-shadow: 0 0 0 6px rgba(0, 0, 0, .5);
      }
    }

    .range-slider__range {
      background: #AAAAAA;
      border-radius: 6px;
    }
  }
}
