.categories-carousel {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 3px;
    padding: 3px;
    border-radius: 5px;
}
.categories-wrapper {
    flex: 1;
    min-width: 0;

    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.categories-wrapper::-webkit-scrollbar {
    display: none;
}
.categories-list {
    display: flex;
    justify-content: center;
    gap: 5px;

    width: max-content;
    min-width: 100%;
}


.category-card {
    flex: 0 0 120px;
    cursor: pointer;
    font-weight: bold;
    font-family: "Cairo";
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--primary-color);
    padding: 5px;
    border-radius: 5px;
    font-size: 1.2em;
}



.category-card.selected{
    background: var(--primary-color);
    color: white;
}

.category-card span{
    font-family:var(--main-font-eng);
}


.arrow{
    background-color: transparent;
    border: none;
}

.prev{
    animation: movePrevArrow 2s ease-in-out infinite;
}

.next{
    animation: moveNextArrow 2s ease-in-out infinite;
}

@media (max-width:768px) {
    .category-card img{
        width: 90px;
    }
}
@media (min-width:769px) {
    .category-card img{
        width: 120px;
    }
}

@keyframes movePrevArrow{
    0%{
        transform: translateX(0);
    }

    50%{
        transform: translateX(8px);
    }

    100%{
        transform: translateX(0);
    }
}
@keyframes moveNextArrow{
    0%{
        transform: translateX(0);
    }

    50%{
        transform: translateX(-8px);
    }

    100%{
        transform: translateX(0);
    }

    
}