.section {
  &__about-category {
    height: 500px;
    margin-top: 92px;

    @media (max-width: 600px) {
      margin-top: 60px;
    }

    &--text,
    &--img {
      display: flex;
      height: 100%;
      width: 50%;
      position: relative;
    }
    &--text {
      &--icon--left {
        position: absolute;
        left: 0;
        bottom: -120px;

        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          transform: rotate(45deg);
        }
      }

      h1,
      p {
        max-width: 500px;
      }
    }
    &--img {
      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }
    @media (max-width: 1024px) {
      &--text--icon--left {
        width: 10%;
        bottom: -50px;
      }
    }
    @media (max-width: 800px) {
      height: unset;
      flex-direction: column;
      &--text,
      &--img {
        width: 100%;
      }
      &--text {
        padding-top: 40px;
        padding-bottom: 40px;
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
      }
    }

    @media (max-width: 600px) {
      &--text {
        padding-left: 20px;
        padding-right: 20px;
      }
    }
  }
  &__display {
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;

    &__filter {
      position: -webkit-sticky;
      position: sticky;
      top: 0;
      min-width: 230px;
      &--applied {
        border: 1px solid $senary-color;
        padding: 15px;
      }
      ul {
        list-style: none;
        li {
          padding-top: 10px;
        }
      }
    }
    &__list {
      width: 100%;
      max-width: 1000px;
      &--products {
        img {
          width: 100%;
          object-fit: cover;
          transition: all 0.25s ease-in-out;
        }
      }

      * {
        box-sizing: border-box;
      }

      a:hover {
        text-decoration: none;
      }

      /* The tool bar */
      .tool-bar {
        background-size: contain;
        position: relative;
        text-align: right;
        width: 100%;
        a {
          cursor: pointer;
          display: inline-block;
          text-decoration: none;
          display: flex;
          &:hover {
            opacity: 0.5;
          }
          &.active:hover {
            cursor: default;
          }
        }
        &--compare {
          &.hidden {
            display: none;
          }
        }
        @media (max-width: 500px) {
          .icon-list,
          .icon-grid {
            display: none;
          }
        }
      }

      /* Grid layout */
      .grid {
        list-style: none;
        width: 100%;
        height: 100%;
        display: grid;
        gap: 25px;
        grid-template-columns: repeat(3, 1fr);
        &__wrap {
          height: 100%;
        }
        li {
          display: inline-block;
          position: relative;
          a {
            &:hover {
              img {
                transform: scale(105%);
              }
            }
          }
        }
      }

      /* List layout */
      .list {
        list-style: none;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        &__wrap {
          @media (max-width: 500px) {
            flex-direction: column;
          }
          &--favourite {
            position: absolute;
            top: 3%;
            right: 3%;
            background: $secondary-color;
            width: 40px;
            height: 40px;
            border: 1px solid #f2f2f2;
            box-sizing: border-box;
            box-shadow: -2px 4px 10px rgba(180, 180, 180, 0.25);
            border-radius: 100px;

            .icon-favourite {
              font-size: 20px;
            }
            &.moveLeft {
              margin-right: 33px;
            }
          }
          &--image {
            overflow: hidden;
            width: 40%;
            padding: 20px;
            max-height: 400px;

            @media (max-width: 500px) {
              width: 100%;
              padding: 0;
              height: auto;
              display: flex;
              align-items: flex-start;
            }

            img {
              height: 100%;
              object-fit: contain;
            }
          }

          &--text {
            width: 60%;
            padding-left: 40px;

            @media (max-width: 500px) {
              width: 100%;
              padding-left: 0;
            }
          }
          &--tag {
            position: absolute;
            top: 3%;
            left: 3%;
            width: 147px;
            box-shadow: -2px 4px 10px rgba(180, 180, 180, 0.25);
            p {
              padding: 4px 8px;
            }
          }
          .checkbox {
            display: none;
            &.visible {
              display: flex;
              justify-content: center;
              align-items: center;
              position: absolute;
              top: 3%;
              right: 0%;
              background: $secondary-color;
              width: 40px;
              height: 40px;
              //opacity: 0.6;
              border: 1px solid #f2f2f2;
              box-sizing: border-box;
              box-shadow: -2px 4px 10px rgba(180, 180, 180, 0.25);
              border-radius: 100px;
            }
          }
        }
      }

      .list li {
        overflow: hidden;
        padding: 20px;
        &:hover {
          img {
            transform: scale(105%);
          }
        }
      }

      .list li a {
        width: 100%;
      }

      .list li img {
        border: none;
        display: table-cell;
      }
    }

    @media (max-width: 800px) {
      display: flex;
      flex-direction: column;
      &__list {
        padding-left: unset;
      }
      &__filter {
        max-width: unset;
        position: relative;
      }
      .tool-bar {
        padding: 40px 0px 10px 0px;
      }
    }
  }
}
