.featured-categories-wrap {
    margin-top: 50px;

    .featured-categories-header {
        display: flex;
    }

    .featured-category-products {
        margin-left: -6px;
        margin-right: -6px;
    }
}

.featured-categories-text {
    padding-right: 30px;
    width: 650px;
    max-width: 100%;

    .title {
        font-weight: var(--font-normal);
    }

    .excerpt {
        font-weight: var(--font-light);
        line-height: 24px;
        display: block;
        margin-top: 10px;
        color: var(--color-gray);
    }

    .title,
    .excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media screen and (max-width: 1090px) {
    .featured-categories-text {
        padding-right: 0;
    }
}

.featured-categories-tabs {
    display: flex;
    padding-left: 0;
    margin-left: auto;

    .tab-item {
        display: flex;
        height: 150px;
        width: 160px;
        margin-left: 20px;
        padding: 10px;
        text-align: center;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border: 1px solid var(--color-gray-lite);
        border-radius: var(--radius-default);
        cursor: pointer;
        z-index: 0;
        transition: var(--transition-150);
        overflow: hidden;

        &:first-child {
            margin-left: 0;
        }

        &.active {
            border-color: var(--color-primary-alpha-80);
            cursor: default;
        }

        &.loading {
            border-color: var(--color-primary-alpha-30);
            cursor: default;

            &:hover {
                border-color: var(--color-primary-alpha-30);
            }
        }

        &:hover {
            border-color: var(--color-primary-alpha-80);
        }
    }

    .featured-category-image {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
        padding-bottom: 50%;

        > img {
            position: absolute;
            left: 50%;
            top: 50%;
            max-height: 100%;
            max-width: 100%;
            transform: translate(-50%, -50%);
        }

        .image-placeholder {
            height: 45px;
            width: 45px;
        }
    }

    .featured-category-name {
        font-size: 14px;
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media screen and (max-width: 1300px) {
    .featured-categories-text {
        width: 100%;
    }

    .featured-categories-wrap {
        .featured-categories-header {
            flex-direction: column;
        }
    }
}

@media screen and (max-width: 450px) {
    .swiper-wrapper {
        .swiper-slide {
            .product-card {
                min-height: 260px;

                .product-name {
                    h6 {
                        font-size: 13px;
                        line-height: 17px;
                    }
                }

                .product-price {
                    font-size: 13px;
                    line-height: 17px;
                }
            }
        }
    }
}

@media screen and (max-width: 350px) {
    .swiper-wrapper {
        .swiper-slide {
            .product-card {
                min-height: 240px;
            }
        }
    }
}

@media screen and (max-width: 1800px) {
    .featured-categories-wrap {
        .tabs {
            .tab-item {
                height: 140px;
                width: 150px;
            }
        }
    }
}

@media screen and (max-width: 1650px) {
    .featured-categories-wrap {
        .tabs {
            .tab-item {
                height: 130px;
                width: 140px;
            }
        }
    }
}

@media screen and (max-width: 1600px) {
    .featured-categories-wrap {
        .tabs {
            .tab-item {
                height: 120px;
                width: 130px;
            }
        }
    }
}

@media screen and (max-width: 1550px) {
    .featured-categories-wrap {
        .tabs {
            .tab-item {
                height: 110px;
                width: 120px;
            }
        }
    }
}

@media screen and (max-width: 1300px) {
    .featured-categories-wrap {
        .featured-categories-header {
            flex-wrap: wrap;
            text-align: center;
            justify-content: center;
        }

        .tabs {
            margin: 30px -10px -20px;
            flex-wrap: wrap;
            justify-content: center;

            .tab-item {
                margin: 0 10px 20px !important;
            }
        }
    }
}

@media screen and (max-width: 991px) {
    
    .featured-categories-wrap {
        margin-top: 30px;
        
        .tab-content {
            .featured-category-products {
                padding-top: 25px;
            }
        }
        
        .tabs {
            .tab-item {
                margin: 0px 7.5px 15px !important;
            }
        }
    }
}
