.category-slider-wrap{
  position: relative;

  padding: 44px 14px 12px; /* kiri kanan sama */

  border-radius: 16px;

  background: linear-gradient(180deg,#04210f 0%,#03160b 100%);
  border: 1px solid rgba(0,255,140,.18);

  box-sizing: border-box;
}
.slider-hint{
  position:absolute;
  top:8px;
  right:14px;
  z-index:5;

  display:flex;
  align-items:center;
  gap:6px;

  font-size:.70rem;

  color:rgba(255,255,255,.75);

  background:rgba(0,0,0,.35);
  backdrop-filter:blur(6px);

  border:1px solid rgba(255,255,255,.12);

  padding:5px 10px;

  border-radius:999px;

  pointer-events:none;
}

.category-slider{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding-bottom:10px;
}

.category-slider::-webkit-scrollbar{
  height:4px;
}

.category-slider::-webkit-scrollbar-thumb{
  background:rgba(0,255,140,.28);
  border-radius:999px;
}

.category-slider::-webkit-scrollbar-track{
  background:rgba(255,255,255,.04);
}

.slider-fade-right{
  display:none;
}

.category-item{
  flex:0 0 auto;
  width:92px;
  min-width:92px;
  text-decoration:none;
  color:#fff;
  border-radius:14px;
  padding:12px 8px 10px;
  background:linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.01) 100%);
  border:1px solid transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:all .22s ease;
}

.category-item.active{
  border-color:#00f08a;
  background:linear-gradient(180deg, rgba(0,255,140,.14) 0%, rgba(0,255,140,.05) 100%);
}

.category-icon{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px;
}

.category-icon img{
  max-width:34px;
  max-height:34px;
  object-fit:contain;
}

.category-text{
  font-size:.82rem;
  font-weight:600;
  line-height:1.15;
  text-align:center;
  white-space:nowrap;
}

@media (max-width:575.98px){
  .slider-hint{
      top:10px;
      right:10px;
      font-size:.64rem;
      padding:4px 8px;
    }
    
    .category-slider-wrap{
      padding:8px 8px 10px;
    }

  .category-item{
    width:82px;
    min-width:82px;
    padding:10px 6px 9px;
    border-radius:12px;
  }

  .category-icon{
    width:38px;
    height:38px;
    margin-bottom:6px;
  }

  .category-icon img{
    max-width:28px;
    max-height:28px;
  }

  .category-text{
    font-size:.74rem;
  }

  .slider-fade-right{
    width:34px;
  }
}