.collection__products .underlay {
  backdrop-filter: blur(8px);
}
.collection__sidebar__slide-out {
  padding: 24px;
  width: 100%;
  padding: 24px;
  max-height: 80%;
  top: unset;
  bottom: 0;
  @media (min-width: 768px) {
    padding: 80px 60px;
    min-width: 400px;
    max-height: 100%;
  }
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
  .collection__sidebar__head {
    padding: 0 0 24px 0;
    @media screen and (max-width: 767px) {
      padding: 0 0 20px 0;
    }
    h3 {
      font-family: var(--FONT-STACK-HEADING);
      font-weight: 400;
      font-size: 24px;
      line-height: 32px;
      letter-spacing: -0.2px;
      text-transform: capitalize;
      color: #131a30;
    }
    .collection__sidebar__close {
      top: 35%;
      transform: translate3d(0, -35%, 0);
    }
  }
  .collection__sidebar {
    padding: 0;
    -webkit-mask-position: top;
    @media screen and (min-width: 768px) {
      max-width: 100%;
    }
    .collection__filters {
      width: 100%;
      min-width: 100%;
    }
  }

  .collection__sidebar__buttons {
    padding: 0;
    position: relative;
    
    .btn {
      width: 100%;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 1px;
      text-align: center;
      text-transform: uppercase;
      padding: 14px 24px;
    }
  }
}

.filter-frigeprint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  @media screen and (max-width: 767px) {
    display: none;
  }

  &:hover {
    cursor: pointer;
  }
  .btn-filter {
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid #dcd3cb;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    color: #131a30;
  }

  .btn-filter.active {
    border: 1px solid #131a30;
  }
}

.collection__sidebar {
  .sidebar__item label.has-color::after {
    background-color: var(--after-bg);
    border-radius: 100px;
    border: 1px solid #e6e6e6;
  }

  .sidebar__item.link--remove a::after,
  .sidebar__item input:checked ~ label::after {
    background-color: var(--after-bg);
    box-shadow: inset 0 0 0 3px #e6e6e6;
  }

  .sidebar__item a::after,
  .sidebar__item label::after {
    width: 24px;
    height: 24px;
  }

  .sidebar__item.link--remove a::after,
  .sidebar__item input:checked ~ label::after {
  }

  .link--remove a,
  .link--remove label,
  .link--add a,
  .link--add label,
  .link--disable a,
  .link--disable label {
    padding-left: calc(24px + 8px);
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
  }
  .filter-group:not(:first-child) {
    border-top: 1px solid #dcd3cb;
  }
  .filter-group {
    margin-top: 0 !important;
    padding: 24px 0;
    @media screen and (max-width: 767px) {
      padding: 20px 0;
    }
    .collection-nav {
      .sidebar__item {
        min-height: 24px;
        display: flex;
        align-items: center;
      }
    }
  }
  .sidebar__item a::after,
  .sidebar__item label::after {
  }

  .filter-group:not(.material) {
    .sidebar__item a::after,
    .sidebar__item label::after {
      width: 20px;
      height: 20px;
    }

    label {
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      position: relative;
      padding-left: 32px;
      font-weight: 500;
      color: #0d1b3e;
    }

    input[type="checkbox"] {
      display: none;
    }

    label::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      background-color: #f9f6f0;
      border: 1px solid #0d1b3e;
      box-sizing: border-box;
    }

    input[type="checkbox"]:checked + label::before {
      background-color: #0d1b3e;
      border-color: #0d1b3e;
      width: 20px;
      height: 20px;
    }

    input[type="checkbox"]:checked + label::after {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      background-image: url("data:image/svg+xml,%3Csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M11.375%203.5L5.25%2010.5L2.625%207.875'%20stroke='%23F6F4F0'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 14px 14px;
      pointer-events: none;
      bottom: unset;
      box-shadow: none;
    }
  }
}
