/* Modern Category Showcase Styles */

/* Section Styles */
.category__showcase--section {
    background: linear-gradient(135deg, rgba(122, 7, 42, 0.02) 0%, rgba(122, 7, 42, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.category__showcase--section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><style>.a{fill:none;stroke:%23f0f0f0;stroke-width:0.5;opacity:0.3;}</style></defs><path class="a" d="M0,50 Q25,25 50,50 T100,50"/><path class="a" d="M0,25 Q25,0 50,25 T100,25"/><path class="a" d="M0,75 Q25,50 50,75 T100,75"/></svg>') repeat;
    z-index: 0;
    pointer-events: none;
}

/* Content Section */
.category__showcase--content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.category__showcase--content__wrapper {
    padding: 2rem 0;
}

.category__showcase--content__title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.category__showcase--content__title .text-accent {
    color: var(--secondary-color);
    position: relative;
}

.category__showcase--content__title .text-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.category__showcase--content__desc {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-gray-color);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.category__showcase--content__btn.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(122, 7, 42, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category__showcase--content__btn.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.category__showcase--content__btn.btn-modern:hover::before {
    left: 100%;
}

.category__showcase--content__btn.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 7, 42, 0.3);
}

.category__showcase--content__btn i {
    transition: transform 0.3s ease;
}

.category__showcase--content__btn:hover i {
    transform: translateX(3px);
}

/* Slider Container */
.category__showcase--slider {
    position: relative;
    padding: 2rem 0;
}

/* Modern Category Cards */
.category__card--modern {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    margin: 0 10px;
}

.category__card--modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.category__card--image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-color2);
}

.category__image--wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.category__card--modern:hover .category__image {
    transform: scale(1.1);
}

/* Overlay Effects */
.category__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(122, 7, 42, 0.8), rgba(122, 7, 42, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.category__card--modern:hover .category__overlay {
    opacity: 1;
    visibility: visible;
}

.category__overlay--content {
    text-align: center;
    color: var(--white-color);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.category__card--modern:hover .category__overlay--content {
    transform: translateY(0);
}

.category__overlay--content i {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    display: block;
}

.category__overlay--content span {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Content */
.category__card--content {
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.category__card--title {
    margin-bottom: 0.8rem;
}

.category__card--title a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
}

.category__card--title a:hover {
    color: var(--secondary-color);
}

.category__card--meta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category__products-count {
    font-size: 1.3rem;
    color: var(--text-gray-color);
    font-weight: 500;
    background: var(--gray-color2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

/* Empty State */
.category__empty--state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin: 0 10px;
}

.category__empty--icon {
    font-size: 4rem;
    color: var(--text-gray-color);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.category__empty--text {
    font-size: 1.6rem;
    color: var(--text-gray-color);
    margin-bottom: 2rem;
}

.category__empty--btn {
    padding: 1rem 2rem;
    border-radius: 25px;
}

/* Modern Navigation Buttons */
.swiper__nav--btn.style-modern {
    width: 50px;
    height: 50px;
    background: var(--white-color);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.swiper__nav--btn.style-modern::after {
    display: none;
}

.swiper__nav--btn.style-modern i {
    font-size: 1.6rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.swiper__nav--btn.style-modern:hover {
    background: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(122, 7, 42, 0.3);
}

.swiper__nav--btn.style-modern:hover i {
    color: var(--white-color);
}

.swiper__nav--btn.style-modern.swiper-button-next {
    right: -25px;
}

.swiper__nav--btn.style-modern.swiper-button-prev {
    left: -25px;
}

.category__showcase--slider:hover .swiper__nav--btn.style-modern {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media only screen and (max-width: 1199px) {
    .category__showcase--content__title {
        font-size: 2.4rem;
    }

    .category__showcase--content__desc {
        font-size: 1.5rem;
        max-width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .category__showcase--content {
        margin-bottom: 3rem;
        text-align: center;
    }

    .category__showcase--content__wrapper {
        padding: 1.5rem 0;
    }

    .category__showcase--content__title {
        font-size: 2.2rem;
    }

    .swiper__nav--btn.style-modern {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .category__showcase--content__title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .category__showcase--content__desc {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .category__card--modern {
        margin: 0 5px;
    }

    .category__card--content {
        padding: 1.5rem 1rem;
    }

    .category__card--title a {
        font-size: 1.6rem;
    }
}

@media only screen and (max-width: 575px) {
    .category__showcase--section {
        padding: 3rem 0;
    }

    .category__showcase--content__title {
        font-size: 1.8rem;
    }

    .category__showcase--content__btn.btn-modern {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }

    .category__card--image {
        aspect-ratio: 3/2;
    }

    .category__overlay--content i {
        font-size: 2rem;
    }

    .category__overlay--content span {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.category__card--modern {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple cards */
.swiper-slide:nth-child(1) .category__card--modern { animation-delay: 0.1s; }
.swiper-slide:nth-child(2) .category__card--modern { animation-delay: 0.2s; }
.swiper-slide:nth-child(3) .category__card--modern { animation-delay: 0.3s; }
.swiper-slide:nth-child(4) .category__card--modern { animation-delay: 0.4s; }
.swiper-slide:nth-child(5) .category__card--modern { animation-delay: 0.5s; }

/* Loading states */
.category__image--loading {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
