
.cats-wrap{
  display: flex;
  align-items: center;
  position: relative;
}

.cats-slider{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 10px 0;
}

.cats-slider::-webkit-scrollbar{ display: none; }

.cat-item{
  flex: 0 0 auto;
  width: 120px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: center;
  
}

.cat-box{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #e6eef6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}

.cat-box img{
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.cat-title{
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-item:hover .cat-box{
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

 

 
 

/* Responsive */
@media(max-width:768px){
  .cat-item{ width: 100px; }
}
@media(max-width:480px){
  .cat-item{ width: 90px; }
}