/* ====================================================================
   CATEGORY SECTION - MODERN DESIGN
   ==================================================================== */

.category-section-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ====================================================================
   SECTION HEADER
   ==================================================================== */

.category-section-modern__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.category-section-modern__header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #feee00 0%, #ffd700 100%);
}

.category-section-modern__title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-section-modern__icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #feee00 0%, #ffd700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 12px rgba(254, 238, 0, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}

.home-section-icon {
    color: #1a1a1a;
    font-size: 24px;
    line-height: 1;
}

.category-section-modern__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.category-section-modern__title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.category-section-modern__subtitle {
    font-size: 14px;
    color: #636e72;
    margin: 4px 0 0;
}

.category-section-modern__view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-section-modern__view-all:hover {
    background: linear-gradient(135deg, #feee00 0%, #ffd700 100%);
    color: #1a1a1a;
    border-color: #feee00;
    text-decoration: none;
    transform: translateX(5px);
}

.category-section-modern__view-all i {
    transition: transform 0.3s ease;
}

.category-section-modern__view-all:hover i {
    transform: translateX(3px);
}

/* ====================================================================
   SUBCATEGORIES FILTER
   ==================================================================== */

.category-section-modern__filters {
    margin-bottom: 24px;
}

.category-section-modern__subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 20px;
    background-color: transparent !important;
    border: none !important;
}

.category-section-modern__subcategory {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    color: #2d3436;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="dark"] .category-section-modern__subcategory {
    background: var(--dark-bg-light);
    color: var(--dark-text-dark);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .category-section-modern__subcategory:hover,
[data-theme="dark"] .category-section-modern__subcategory.active {
    background: linear-gradient(135deg, #feee00 0%, #ffd700 100%);
    color: var(--dark-text-dark);
    border-color: var(--dark-primary);
}

.category-section-modern__subcategory:hover,
.category-section-modern__subcategory.active {
    background: linear-gradient(135deg, #feee00 0%, #ffd700 100%);
    border-color: #feee00;
    color: #1a1a1a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 238, 0, 0.3);
}

.category-section-modern__subcategory i {
    font-size: 12px;
}

.category-section-modern__subcategory--more {
    background: #f8f9fa;
    font-weight: 600;
}

/* ====================================================================
   FOOTER
   ==================================================================== */

.category-section-modern__footer {
    margin-top: 32px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.category-section-modern__show-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-section-modern__show-more:hover {
    background: linear-gradient(135deg, #feee00 0%, #ffd700 100%);
    color: #1a1a1a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 238, 0, 0.4);
}

.category-section-modern__show-more i {
    transition: transform 0.3s ease;
}

.category-section-modern__show-more:hover i {
    transform: translateX(5px);
}

/* ====================================================================
   EMPTY STATE
   ==================================================================== */

.category-section-modern__empty {
    text-align: center;
    padding: 60px 20px;
}

.category-section-modern__empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-section-modern__empty-icon i {
    font-size: 48px;
    color: #95a5a6;
}

.category-section-modern__empty h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 12px;
}

.category-section-modern__empty p {
    font-size: 16px;
    color: #636e72;
    margin: 0;
}

/* ====================================================================
   RESPONSIVE DESIGN
   ==================================================================== */

@media (max-width: 992px) {
    .category-section-modern__title {
        font-size: 24px;
    }

    .category-section-modern__icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .category-section-modern {
        padding: 24px 0;
        margin-bottom: 32px;
    }

    .category-section-modern__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .category-section-modern__title {
        font-size: 20px;
    }

    .category-section-modern__icon {
        width: 44px;
        height: 44px;
    }

    .category-section-modern__view-all {
        width: 100%;
        justify-content: center;
    }

    .category-section-modern__subcategories {
        gap: 8px;
    }

    .category-section-modern__subcategory {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .category-section-modern__title {
        font-size: 18px;
    }

    .category-section-modern__title-wrapper {
        gap: 12px;
    }

    .category-section-modern__icon {
        width: 40px;
        height: 40px;
    }

    .category-section-modern__subtitle {
        font-size: 12px;
    }

    .category-section-modern__footer {
        margin-top: 24px;
    }

    .category-section-modern__show-more {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}

/* ====================================================================
   ANIMATION
   ==================================================================== */

.category-section-modern {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
