.widget-products-slider,
.widget-brands-slider,
.widget-posts-slider {
    padding: 0;

    .header {
        margin: 0 30px;
        padding: 15px 0;
        border-bottom: 1px solid #DFDFDF;

        .title {
            > span {
                font-size: 16px;
                font-weight: bold;
                position: relative;
                display: inline-block;

                &:after {
                    content: '';
                    position: absolute;
                    width: 100%;
                    top: calc(100% + 15px);
                    left: 0;
                    height: 1px;
                    background: $danger;
                }

                .icon {
                    font-size: 22px;
                    margin-right: 10px;
                    position: relative;
                    top: 3px;

                    &.mdi {
                        color: #8F8F8F;
                    }
                }
            }

            .view-all {
                float: right;
                font-size: 16px;
                font-weight: bold;
                color: #A8A8A8;
            }
        }
    }

    .slider-inner {
        .owl-carousel {
            .owl-item {
                @media (min-width: 992px) {
                    padding: 5px;
                }
            }

            .item {
                //margin: 4px;
                transition: $transition;
                position: relative;

                &:hover {
                    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);

                    .product-actions {
                        display: block;
                    }
                }

                .post-date {
                    color: #AFB6BC;

                    &:before {
                        font-family: IRANKala;
                        content: '\E0DD\00FE0E';
                        margin-right: 5px;
                        position: relative;
                        top: 2px;
                    }
                }

                .product-actions {
                    position: absolute;
                    width: 100%;
                    bottom: 70px;
                    text-align: center;
                    display: none;
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 1001;
                    height: 32px;

                    a {
                        width: 32px;
                        height: 32px;
                        background: rgba(155, 155, 155, 0.85);
                        border-radius: 2px;
                        cursor: pointer;
                        display: inline-block;

                        &:before {
                            font-family: IRANKala;
                            font-size: 16px;
                            color: #FFF;
                            position: relative;
                            top: 2px;
                        }
                    }

                    .quick-view:before {
                        content: "\E131\00FE0E";
                    }

                    .add-to-favorite:before {
                        content: "\E134\00FE0E";
                    }

                    .add-to-compare:before {
                        content: "\E196\00FE0E";
                    }

                    a.active:before {
                        color: $danger;
                    }
                }
            }
        }
    }
}

@media (max-width: 992px) {
    .widget-products-slider,
    .widget-brands-slider,
    .widget-posts-slider {
        background-color: transparent;
        box-shadow: none;

        .header {
            margin: 0;
            padding: 7px;
            border-bottom: none;

            .title {
                font-size: $font-size;
                font-weight: normal;

                > span:after {
                    display: none;
                }

                .view-all {
                    font-size: $font-size;
                    font-weight: normal;
                }
            }
        }
    }
}

@media (min-width: 992px) {
    .promotion-single-wrapper {
        display: flex;
    }
}

.widget-posts-slider {
    .item {
        .expert {
            height: 78px;
            line-height: 26px;
            overflow: hidden;
            color: #ACACAC;
            font-size: 12px;
            margin-bottom: 14px;
        }

        .post-more {
            color: $danger;
            font-weight: bold;
        }
    }
}

.product-badges {
    display: flex;
    align-items: start;
    flex-direction: column;
    position: absolute;
    left: 5px;
    top: 60px;
    z-index: 1000;

    .product-badge {
        display: inline-block;
        padding: 0 5px;
        border-radius: 3px;
        font-size: 11px;
        margin-bottom: 5px;
        line-height: 22px;
    }
}

.woocommerce-loop-product__link .product-badges {
    z-index: 1;
}