.category-slider-container {
    width: 100%;
}

.category-slider-container .section-title {
    margin-bottom: 30px;
}

.category-slider-container .section-title h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.categorySwiper {
    width: 100%;
}

.categorySwiper .swiper-wrapper {
    align-items: stretch;
}

.categorySwiper .swiper-slide {
    height: auto;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.card-top {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.card-bottom {
    padding: 16px;
    background-color: #1a1a2e;
    color: white;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.category-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
    font-family: "Lexend Deca", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.chevron-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: currentColor;
}

/* Hover underline effect for desktop */
@media screen and (min-width: 1024px) {
    .category-card .category-title .category-title-text {
        display: inline;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        background-image: linear-gradient(currentColor, currentColor);
        background-size: 0% 2px;
        background-repeat: no-repeat;
        background-position: 0 calc(100% - 1px);
        transition: background-size 0.3s ease;
        padding-bottom: 2px;
    }

    .category-card:hover .category-title .category-title-text {
        background-size: 100% 2px;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .category-slider-container .section-title h2 {
        font-size: 22px;
    }

    .card-bottom {
        padding: 12px;
    }

    .category-title {
        font-size: 14px;
    }

    .chevron-icon {
        width: 12px;
        height: 12px;
    }
}
