/* ================================
   Top Category Navigation
   Desktop Only
   ================================ */

.top-category-bar {
  background: #000;
  border-bottom: 2px solid #FAFF48;
  border-top: 1px solid #1d1d1d;
}

/* Hide on small screens */
@media (max-width: 1023px) {
  .top-category-bar {
    display: none;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .category-list {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    list-style: none;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
  }

  .category-list a {
    font-size: 13px;
    line-height: 22px;
    font-weight: 400;
    color: #fff;
    /* text-decoration: none; */
  }

  .category-list li a:hover,
  .category-list li:hover a,
  .category-list .active a {
    color: #FAFF48;
    font-weight: 600;
  }
}

/* Underline animation */
.category-list li a {
  position: relative;
  padding-bottom: 6px;
  transition: color 0.8s ease;
}

/* Hidden underline */
.category-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #FAFF48;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s ease;
}

/* Hover underline */
.category-list li a:hover::after,
.category-list li:hover a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active state */
.category-list .active a::after {
  transform: scaleX(1);
}

.category-list li a::after {
  transform: scaleX(0);
  transform-origin: center;
}

.category-list li a:hover::after {
  transform: scaleX(1);
}

.category-list li a::after {
  height: 2px;
  box-shadow: 0 0 6px #FAFF48;
}