.category__grid-spacer {
  margin-bottom: 50px;
  @media (--screenLG) {
    margin-bottom: 70px;
  }
}

.category__grid-wrapper {
  /*background-image: linear-gradient(to right, white, white),
      linear-gradient(to right, white, white),
      linear-gradient(to right, rgba(0, 0, 20, 0.5), rgba(255, 255, 255, 0)),
      linear-gradient(to left, rgba(0, 0, 20, 0.5), rgba(255, 255, 255, 0));
    background-position: left center, right center, left center, right center;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 20px 100%, 20px 100%, 50px 100%, 50px 100%;
    background-attachment: local, local, scroll, scroll;*/
  position: relative;

  & div[data-simplebar*='init'] {
    z-index: 1;
  }
}

.category__grid-anim {
  animation: shake 0.52s cubic-bezier(0.36, 0.07, 0.19, 0.97) both 0.5s;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.category__grid {
  position: relative;
  padding-bottom: 20px;

  @media (--screenLG) {
    justify-content: space-evenly;
  }

  &[data-overflow*='true'] {
    justify-content: unset !important;
  }

  &[data-spacing*='evenly'] {
    justify-content: space-evenly;
  }

  &[data-spacing*='normal'] {
    justify-content: unset !important;
  }
}

@supports (display: grid) {
  .category__grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(auto-fit, 80px);
    column-gap: 20px;
  }
}

_:-ms-fullscreen,
:root {
  & .category__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    & .category__item {
      display: block;
      margin: 0 0 0 40px;
    }
  }
}

.category__grid_overflow {
}
.category__grid_overflow:before {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 120px;
  height: 100%;
  pointer-events: none;
  background-image: linear-gradient(to right, transparent 20%, white);
}

.category__item {
  display: flex;
  width: 80px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;

  @media (--maxScreenSM) {
    font-size: 14px;
  }

  &:after {
    width: 0px;
    content: '';
    transition: 0.15s width ease-in-out;
    height: 3px;
    border-radius: 5px;
    background: var(--colorMilaRed);
    position: absolute;
    bottom: 0px;
    z-index: 2;
  }

  &.category__item-hover {
    @media (--screenMD) {
      @media (hover: hover) {
        &:hover {
          &:after {
            width: 120px;
          }
        }
      }
    }
  }
}

.category__item-active:after {
  content: '';
  width: 120px;
  height: 3px;
  border-radius: 5px;
  background: var(--colorMilaRed);
  position: absolute;
  bottom: 0px;
  z-index: 2;
}

.slider,
.slider__underline-dark,
.slider__underline {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--colorMilaGreyLight);
  height: 3px;
  border-radius: 5px;
}

.hide {
  display: none;
}

.slider__underline {
  bottom: 0.25px;
  z-index: 0;
}

.slider__underline-dark {
  bottom: 0.25px;
  background: #010712;
  z-index: 0;
}

.category__banner {
  background: transparent;

  & .category__grid-spacer {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

.thumb {
  content: '';
  position: relative;
  height: 100%;
  border-radius: 5px;
  background: var(--colorMilaRed) !important;
  z-index: 2;
  cursor: pointer;
}

/* SCROLL SHADOW*/
/*
.scroll-shadow-right {
  & [data-simplebar*='init'] {
    & [class*='simplebar-content-wrapper'] {
      position: unset;
      &:after {
        content: '';
        background-image: linear-gradient(
          to right,
          rgba(255, 255, 255, 0) 10%,
          white
        );
        position: absolute;
        right: 0;
        height: calc(100% - 10px);
        width: 50px;
        top: 0;
        z-index: 2;
        transition: all 0.3s;

        @media (--screenMD) {
          width: 100px;
        }
      }
    }
  }
}

.scroll-shadow-left {
  & [data-simplebar*='init'] {
    & [class*='simplebar-content-wrapper'] {
      position: unset;
      &:before {
        content: '';
        background-image: linear-gradient(
          to left,
          rgba(255, 255, 255, 0) 10%,
          white
        );
        position: absolute;
        left: 0;
        height: calc(100% - 10px);
        width: 50px;
        top: 0;
        z-index: 2;
        @media (--screenMD) {
          width: 100px;
        }
      }
    }
  }
}

.category__banner {
  & .scroll-shadow-right {
    &:after {
      background-image: linear-gradient(
        to right,
        rgba(37, 65, 90, 0) 10%,
        #25415a
      );
    }
  }

  & .scroll-shadow-left {
    &:before {
      background-image: linear-gradient(
        to left,
        rgba(1, 26, 39, 0) 10%,
        #0a1a27
      );
    }
  }
}*/

.icon__svg {
  height: 35px;
  width: 35px;
  margin-bottom: 8px;
  @media (--screenMD) {
    height: 50px;
    width: 50px;
  }
}

.category__title {
  margin-top: 50px;

  @media (--screenLG) {
    margin-top: 70px;
  }
}

.category__description {
  margin-bottom: 30px;
}

@keyframes shake {
  10% {
    transform: translate3d(-1px, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(-1px, 0, 0);
  }
}
