.subcat-carousel {
    margin: 20px 0;
}

.subcat-carousel .swiper-slide {
    width: auto;
    min-width: 240px;
    text-align: center;
    transform: translateY(0);
    transition: ease-in-out 0.3s;
    padding: 20px 10px;
    border: 1px solid;
    border-radius: 50px;
    position: relative;
    overflow: clip;
}

.subcat-carousel .swiper-slide a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subcat-carousel .swiper-slide:hover a {
    background: #222222;
}

.subcat-carousel .swiper-wrapper {
    padding: 2rem 0;
}

.subcat-carousel .swiper-scrollbar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-top: 10px;
}

.swiper-scrollbar-drag {
    background: #333;
}

.subcat-carousel .swiper-slide:hover {
    transform: translateY(-5px);
}

.subcat-carousel img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.subcat-carousel p {
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}
