.category {
  position: relative;
  padding: 3rem 1.5rem;
  height: 100%;
}
@media (min-width: 992px) {
  .category {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.category__bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.category__bg {
  background-size: cover;
  height: 100%;
  background-position: center;
}

@media (max-width: 767px) {
  .category__bg--desktop {
    display: none;
  }
}

@media (min-width: 768px) {
  .category__bg--mobile {
    display: none;
  }
}

.category__bg-color {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

@media (max-width: 991px) {
  .category__carousel-vertical {
    display: none;
  }
}

.category__carousel-inner {
  height: calc(21rem * var(--xo-per-view) + (var(--xo-per-view) - 1) * var(--xo-gap));
}
@media (min-width: 992px) {
  .category__carousel-inner {
    height: calc(15rem * var(--xo-per-view) + (var(--xo-per-view) - 1) * var(--xo-gap));
  }
}
@media (min-width: 1400px) {
  .category__carousel-inner {
    height: calc(18rem * var(--xo-per-view) + (var(--xo-per-view) - 1) * var(--xo-gap));
  }
}
@media (min-width: 1850px) {
  .category__carousel-inner {
    height: calc(21rem * var(--xo-per-view) + (var(--xo-per-view) - 1) * var(--xo-gap));
  }
}

@media (min-width: 992px) {
  .category__carousel-horizon {
    display: none;
  }
}

.category__nav {
  position: relative;
}
@media (max-width: 991px) {
  .category__nav {
    display: flex;
    justify-content: center;
  }
}

.category__nav:hover .category__nav-text {
  opacity: 1;
}
.category__nav:hover .category__nav-text h3:after {
  width: 100%;
}

.category__nav-img {
  display: inline-block;
}
.category__nav-img a {
  display: inline-block;
}
.category__nav-img .xo-image {
  width: 21rem;
  height: 21rem;
  border-radius: 50%;
}
@media (min-width: 992px) {
  .category__nav-img .xo-image {
    width: 15rem;
    height: 15rem;
  }
}
@media (min-width: 1400px) {
  .category__nav-img .xo-image {
    width: 18rem;
    height: 18rem;
  }
}
@media (min-width: 1850px) {
  .category__nav-img .xo-image {
    width: 21rem;
    height: 21rem;
  }
}

.category__nav-text {
  position: absolute;
  top: 0;
  width: 21rem;
  height: 21rem;
  opacity: 0;
  border-radius: 50%;
  transition: 0.3s;
  background-color: rgba(51, 51, 51, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
@media (min-width: 992px) {
  .category__nav-text {
    width: 15rem;
    height: 15rem;
  }
}
@media (min-width: 1400px) {
  .category__nav-text {
    width: 18rem;
    height: 18rem;
  }
}
@media (min-width: 1850px) {
  .category__nav-text {
    width: 21rem;
    height: 21rem;
  }
}
.category__nav-text h3 {
  position: relative;
  display: block;
  color: rgba(var(--color-foreground));
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 1.8rem);
  font-weight: 400;
  font-weight: 500;
  text-transform: capitalize;
  transition: 0.3s;
  margin: 0;
  padding-bottom: 1rem;
}
.category__nav-text h3:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 0;
  transition: 0.5s;
  border: 0.1rem solid rgba(var(--color-accent));
}

.category__arrow-left,
.category__arrow-right {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background-color: rgba(var(--color-accent));
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
}
.category__arrow-left svg,
.category__arrow-right svg {
  color: rgba(var(--color-foreground));
}
@media (min-width: 992px) {
  .category__arrow-left,
  .category__arrow-right {
    top: unset;
    transform: unset;
    left: 50%;
    transform: translateX(-50%);
  }
  .category__arrow-left svg,
  .category__arrow-right svg {
    transform: rotate(90deg);
  }
}
.category__arrow-left button,
.category__arrow-right button {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category__arrow-left {
  left: 0;
}
@media (min-width: 992px) {
  .category__arrow-left {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
  }
}

.category__arrow-right {
  right: 0;
}
@media (min-width: 992px) {
  .category__arrow-right {
    right: unset;
    bottom: 0rem;
    transform: translate(-50%, 50%);
  }
}

.category__arrow-left:hover,
.category__arrow-right:hover {
  background-color: rgba(var(--color-background));
}

.carousel-item {
  width: 20rem;
  height: 20rem;
  background-color: red;
}