/* Featured Categories Slider */

.categories-slider-container {
    position: relative;
    padding: 0 50px;
}

.categories-slider-prev,
.categories-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid #ed174f;
    border-radius: 50%;
    background: #ed174f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(237, 23, 79, 0.3);
}

.categories-slider-prev {
    left: 0;
}

.categories-slider-next {
    right: 0;
}

.categories-slider-prev:hover,
.categories-slider-next:hover {
    background: #c91342;
    border-color: #c91342;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(237, 23, 79, 0.5);
}

.categories-slider-prev:disabled,
.categories-slider-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.categories-slider-prev:disabled:hover,
.categories-slider-next:disabled:hover {
    background: #ed174f;
    border-color: #ed174f;
    color: #ffffff;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(237, 23, 79, 0.3);
}

.categories-swiper {
    overflow: hidden;
}

.categories-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.categories-swiper .swiper-slide a {
    width: 100%;
    display: block;
}

.categories-swiper .swiper-slide .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}

/* Responsive */
@media (max-width: 959px) {
    .categories-slider-container {
        padding: 0 45px;
    }
    
    .categories-slider-prev,
    .categories-slider-next {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 640px) {
    .categories-slider-container {
        padding: 0 40px;
    }
    
    .categories-slider-prev,
    .categories-slider-next {
        width: 40px;
        height: 40px;
    }
}
