.catalog {
  width: 100%;
  padding: 133px max(calc((100% - var(--view-port)) / 2), 5%);

  padding-top: 55px;

  display: flex;
  flex-direction: column;
}

.category {
  width: 100%;
  padding: 0 max(calc((100% - var(--view-port)) / 2), 5%);

  padding-top: 55px;

  display: flex;
  flex-direction: column;

  align-items: center;

  .margin-top {
    margin-top: 56px;
  }
}

.products-list-margin-top {
  margin-top: 5px !important;
}

.spacer {
  width: 100%;
  height: 133px;
}
.category-header {
  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 42px;
}

.filter-button {
  display: flex;
  padding: 14.842px 24.737px;
  align-items: center;
  gap: 4.947px;

  border-radius: 742.105px;
  background: var(--blue-100);

  color: #2d2869;
  font-family: Poppins;
  font-size: 19.789px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;

  max-height: 60px;

  border: transparent;

  text-decoration: none;

  .icon {
    width: 29.684px;
    height: 29.684px;
  }
}
.filter {
  position: relative;
  .content {
    position: absolute;
    top: 80%;
    right: 0;
    background: var(--blue-100);
    border-radius: 20px;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
    ul {
      list-style: none;
      li {
        text-align: right;
        padding: 5px 10px 5px 0;
        list-style: none;
        white-space: nowrap;
        font-family: Poppins;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        a {
          text-decoration: none;
          color: #2d2869;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
    .scroll {
      overflow-y: auto;
      max-height: 200px;
      &::-webkit-scrollbar {
        width: 3px;
      }

      &::-webkit-scrollbar-track {
        background: var(--blue-100);
      }

      &::-webkit-scrollbar-thumb {
        background: #2d2869;
      }

      &::-webkit-scrollbar-thumb:hover {
        background: #555;
      }
    }
    &.act {
      visibility: visible;
      opacity: 1;
      top: 100%;
    }
  }
}

.category-title {
  color: var(--blue-700);
  font-family: Poppins;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
}

.catalog-title {
  color: var(--blue-700);
  font-family: Poppins;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;

  margin-bottom: 32px;
}

.catalog-list,
.category-list {
  display: grid;

  grid-template-columns: 1fr 1fr 1fr 1fr;

  gap: 24px;

  width: 100%;
}

.spacing {
  width: 1px;
  height: 128px;
}

@media screen and (max-width: 1200px) {
  .catalog-list,
  .category-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 1000px) {
  .catalog-list,
  .category-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 750px) {
  .catalog-list,
  .category-list {
    grid-template-columns: 1fr;
  }
  .category-header {
    flex-direction: column;
    gap: 15px;
  }
  .filter {
    position: relative;
    .content {
      position: absolute;
      top: 80%;
      right: 0;
      background: var(--blue-100);
      border-radius: 20px;
      padding: 20px;
      visibility: hidden;
      opacity: 0;
      transition: all 0.5s;
      ul {
        list-style: none;
        li {
          text-align: right;
          padding: 5px 10px 5px 0;
          list-style: none;
          white-space: nowrap;
          font-family: Poppins;
          font-size: 16px;
          font-style: normal;
          font-weight: 500;
          a {
            text-decoration: none;
            color: #2d2869;
            &:hover {
              text-decoration: underline;
            }
          }
        }
      }
      .scroll {
        overflow-y: auto;
        max-height: 200px;
        &::-webkit-scrollbar {
          width: 3px;
        }

        &::-webkit-scrollbar-track {
          background: var(--blue-100);
        }

        &::-webkit-scrollbar-thumb {
          background: #2d2869;
        }

        &::-webkit-scrollbar-thumb:hover {
          background: #555;
        }
      }
      &.act {
        visibility: visible;
        opacity: 1;
        top: 100%;
      }
    }
  }
}

.full-modal {
  position: fixed;
  width: 100% !important;
  height: 100vh;
  z-index: 1000;
}
