/* Custom Category Slider Styles */
.category-slider {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.category-slide {
    padding: 10px;
    height: 100%;
    width: auto;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    max-width: 280px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-image-wrapper {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 15px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-content {
    padding: 15px;
    text-align: center;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 10px 0;
}

/* Swiper Navigation Styles */
.category-slider .swiper-button-next,
.category-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 50%;
    transform: translateY(-50%);
}

.category-slider .swiper-button-next {
    right: 10px;
}

.category-slider .swiper-button-prev {
    left: 10px;
}

.category-slider .swiper-button-next:after,
.category-slider .swiper-button-prev:after {
    font-size: 18px;
    color: #333;
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .category-card {
        max-width: 240px;
    }
}

@media (max-width: 1024px) {
    .category-card {
        max-width: 220px;
    }
    .category-image-wrapper {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .category-card {
        max-width: 200px;
    }
    .category-image-wrapper {
        height: 140px;
        margin: 10px;
    }
    .category-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .category-card {
        max-width: 180px;
    }
    .category-image-wrapper {
        height: 120px;
        margin: 8px;
    }
    .category-title {
        font-size: 1rem;
    }
    .category-content {
        padding: 10px;
    }
} 