.category-catalog-box {
    position: relative;
    top: -8vh;
    z-index: 4;
    margin-bottom: 0;
    padding: 0;
}

.category-container {
    margin: 0px 4vw;
    padding: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 18vw;
    align-items: center;
    position: relative;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 auto;
    width: var(--card-width, 8vw);
    height: var(--card-height, 10vw);
    margin: 0 2vw;
    padding: 0;
    border-radius: 10px;
    box-shadow: 6px 6px 7px 5px rgba(114, 181, 248, 0.233);
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;
    transition: all 350ms ease;
    clip-path: inset(0% 0% -0% 0% round 10px);
    font-size: var(--font-height, 9px);
}

.category-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.category-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.category-thumb {
    filter: sepia(0.25) brightness(0.9) contrast(1.2) blur(0.5px);
}

.category-info {
    height: 100%;
    position: absolute;
    top: 50%;
    text-align: center;
}

.category-name {
    text-align: center;
    color: var(--white);
    padding: 6px 8px;
    border-radius: 8px;
    line-height: normal;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    background-color: #0000001a;
}

.category-header {
    font-family: "Montserrat", sans-serif;
    font-size: 2.5rem;
    line-height: normal;
    margin-top: 4vh;
}

@media screen and (max-width: 768px) {
    .category-catalog-box {
        margin-bottom: 0 !important;
    }
    .category-container {
        height: 42vw;
    }
    .category-name {
        padding: 4px;
        border-radius: 5px;
    }
    .category-card {
        width: var(--card-width, 20vw);
        height: var(--card-height, 25vw);
        min-width: 0px !important;
    }
    .category-card .category-name {
        font-size: var(--font-height, 7px) !important;
    }
    .category-header {
        font-size: 2rem;
        margin-top: 2vh;
    }
}