/* Enhanced Category Slider Widget Styles */

.enhanced-category-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.enhanced-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.enhanced-section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    position: relative;
    display: inline-block;
}

.enhanced-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #603ce9, #8b5cf6);
    border-radius: 2px;
}

.enhanced-swiper-container {
    position: relative;
    overflow: hidden;
}

.enhanced-category-swiper {
    width: 100%;
    height: auto;
    padding: 20px 0;
}

.enhanced-category-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.enhanced-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(96, 60, 233, 0.15);
    border-color: #603ce9;
}

.enhanced-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.enhanced-category-image {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.enhanced-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.enhanced-category-card:hover .enhanced-category-image {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(96, 60, 233, 0.2);
}

.enhanced-category-card:hover .enhanced-category-image img {
    transform: scale(1.05);
}

.enhanced-category-placeholder {
    font-size: 40px;
    color: #603ce9;
    opacity: 0.7;
}

.enhanced-category-content {
    text-align: center;
}

.enhanced-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.enhanced-category-card:hover .enhanced-category-title {
    color: #603ce9;
}

.enhanced-category-count {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 400;
    opacity: 0.8;
}

/* Style 1 - Circular Cards */
.enhanced-style-style_1 .enhanced-category-image {
    border-radius: 50%;
    width: 120px;
    height: 120px;
}

.enhanced-style-style_1 .enhanced-category-image img {
    border-radius: 50%;
}

/* Style 2 - Rounded Cards */
.enhanced-style-style_2 .enhanced-category-image {
    border-radius: 20px;
    width: 100px;
    height: 100px;
}

.enhanced-style-style_2 .enhanced-category-image img {
    border-radius: 15px;
}

.enhanced-style-style_2 .enhanced-category-card {
    border-radius: 25px;
    padding: 25px 15px;
}

/* Style 3 - Modern Cards */
.enhanced-style-style_3 .enhanced-category-image {
    border-radius: 15px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #603ce9, #8b5cf6);
}

.enhanced-style-style_3 .enhanced-category-image img {
    border-radius: 10px;
}

.enhanced-style-style_3 .enhanced-category-card {
    border-radius: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border: 1px solid #e8f0ff;
}

.enhanced-style-style_3 .enhanced-category-card:hover {
    background: linear-gradient(135deg, #603ce9, #8b5cf6);
    color: white;
}

.enhanced-style-style_3 .enhanced-category-card:hover .enhanced-category-title,
.enhanced-style-style_3 .enhanced-category-card:hover .enhanced-category-count {
    color: white;
}

/* Navigation Styles */
.enhanced-swiper-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.enhanced-swiper-button {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
}

.enhanced-swiper-button:hover {
    background: #603ce9;
    border-color: #603ce9;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(96, 60, 233, 0.4);
}

.enhanced-swiper-button-prev {
    left: -25px;
}

.enhanced-swiper-button-next {
    right: -25px;
}

/* Pagination Styles */
.enhanced-swiper-pagination {
    text-align: center;
    margin-top: 30px;
}

.enhanced-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.enhanced-swiper-pagination .swiper-pagination-bullet-active {
    background: #603ce9;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .enhanced-swiper-button-prev {
        left: -15px;
    }
    
    .enhanced-swiper-button-next {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .enhanced-category-card {
        padding: 20px 15px;
    }
    
    .enhanced-category-image {
        width: 80px;
        height: 80px;
    }
    
    .enhanced-category-title {
        font-size: 16px;
    }
    
    .enhanced-swiper-button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .enhanced-swiper-button-prev {
        left: -10px;
    }
    
    .enhanced-swiper-button-next {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .enhanced-section-title h2 {
        font-size: 24px;
    }
    
    .enhanced-category-card {
        padding: 15px 10px;
    }
    
    .enhanced-category-image {
        width: 60px;
        height: 60px;
    }
    
    .enhanced-category-title {
        font-size: 14px;
    }
    
    .enhanced-category-count {
        font-size: 12px;
    }
    
    .enhanced-swiper-navigation {
        display: none;
    }
}

/* Loading Animation */
.enhanced-category-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects Enhancement */
.enhanced-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 60, 233, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    pointer-events: none;
}

.enhanced-category-card:hover::before {
    opacity: 1;
}

/* Focus States for Accessibility */
.enhanced-category-link:focus {
    outline: 2px solid #603ce9;
    outline-offset: 2px;
    border-radius: 20px;
}

.enhanced-swiper-button:focus {
    outline: 2px solid #603ce9;
    outline-offset: 2px;
}
