.vertical-products-wrap {
    margin-top: 44px;
}

.vertical-products {
    overflow: hidden;

    .vertical-products-slider {
        margin-right: -1px;

        .swiper-wrapper {
            padding-bottom: 0;
        }

        .vertical-product-card {
            margin-bottom: 30px;

            .product-info {
                .special-price {
                    color: var(--color-red);
                }
            }

            &:last-child {
                margin-bottom: 0;
            }
        }
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: -36px;
        right: -2px;
        width: 13px;
        height: 26px;
        left: unset;
        transition: var(--transition-150);

        &::after {
            font-size: 12px;
            color: var(--color-gray-dark);
            -webkit-text-stroke: 0.3px var(--color-gray-dark);
            transition: var(--transition-150);
        }

        &:hover {
            &::after {
                color: var(--color-primary);
                -webkit-text-stroke: 0.3px var(--color-primary);
            }
        }

        &.swiper-button-disabled {
            &::after {
                color: var(--color-gray-dark);
                -webkit-text-stroke: 0.3px var(--color-gray-dark);
            }
        }
    }

    .swiper-button-prev {
        right: 25px;
    }

    .swiper {
        overflow: unset;
    }
}

.daily-deals-wrap {
    .daily-deals-header {
        margin-bottom: 20px;
        border-bottom: 1px solid var(--border-color-lite);
    }

    .section-title {
        font-weight: var(--font-normal);
        font-size: 18px;
        line-height: 24px;
        padding-bottom: 13px;

        b {
            color: var(--color-primary);
        }
    }
}

.daily-deals {
    border-radius: var(--radius-default);
    border: 1px solid var(--color-gray-lite);

    .product-price {
        align-items: flex-end;
    }

    .swiper-button-prev,
    .swiper-button-next {
        top: unset;
        bottom: 9px;
        right: 53px;
        left: unset;
    }

    .swiper-button-prev {
        right: unset;
        left: 58px;
    }

    .daily-deals-inner {
        padding: 20px 40px 40px;
    }

    .product-image {
        margin-bottom: 14px;
        overflow: hidden;
        height: 250px;

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

    .product-name {
        display: block;
        margin-bottom: 10px;
        color: var(--color-black);

        span {
            font-size: 16px;
            font-weight: var(--font-medium);
            line-height: 22px;
            max-height: 44px;
            display: block;
            display: -webkit-box;
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            transition: var(--transition-150);
            text-decoration-line: underline;
            text-decoration-color: transparent;
        }

        &:hover {
            span {
                text-decoration-color: var(--color-black);
            }
        }
    }

    .product-info {
        display: flex;
        margin-bottom: 15px;
        padding: 10px 0 8px;
        align-items: center;
        justify-content: center;

        .special-price {
            font-size: 20px;
            color: var(--color-red);
        }

        .previous-price {
            font-size: 15px;
            line-height: 23px;
        }
    }

    .product-rating {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
        padding-top: 10px;

        .rating-count {
            font-size: 12px;
            font-weight: var(--font-medium);
            padding-top: 3px;
        }

        .reviews {
            font-size: 12px;
            line-height: 1;
            margin-left: 5px;
            font-weight: var(--font-medium);
            color: var(--color-gray);
            padding-top: 3px;
        }
    }

    .daily-deals-countdown {
        &.countdown {
            margin-bottom: 12px;

            .countdown-amount {
                height: 35px;
                width: 35px;
                color: var(--color-black);
                background: var(--color-white-lite);
                border-radius: 6px;
            }

            .countdown-section {
                margin-right: 4px;
                margin-left: 4px;

                &:last-child {
                    margin-right: 0;
                }
            }
        }
    }

    .deal-progress {
        margin-bottom: 21px;

        .deal-stock {
            display: flex;
            margin-bottom: 3px;
            justify-content: space-between;
        }

        .stock-available,
        .stock-sold {
            font-size: 12px;
            line-height: 22px;
            color: var(--color-gray);

            > span {
                color: var(--color-black);
            }
        }

        .progress {
            height: 10px;
            background: var(--color-gray-lite);
            border-radius: var(--radius-default);

            .progress-bar {
                background: var(--color-primary);
            }
        }
    }
}

@media screen and (max-width: 1199px) {
    .vertical-products-wrap {
        &.flash-sale-enabled {
            .row {
                > div:not(:first-child) {
                    .vertical-products {
                        margin-top: 44px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 991px) {
    .vertical-products-wrap {
        .row {
            > div:not(:first-child) {
                .vertical-products {
                    margin-top: 44px;
                }
            }
        }
    }

    .vertical-products {
        .vertical-products-slider {
            .vertical-product-card {
                margin-bottom: 25px;
            }
        }
    }

    .daily-deals {
        .product-info {
            padding: 0;

            .product-name {
                font-size: 15px;
            }

            .special-price {
                font-size: 15px;
            }

            .previous-price {
                font-size: 14px;
            }
        }
    }
}

@media screen and (min-width: 992px) {
    .vertical-products-wrap {
        .vertical-products {
            .vertical-products-header {
                margin-bottom: 20px;
            }
        }
    }
}

@media screen and (max-width: 576px) {
    .daily-deals {
        .daily-deals-inner {
            padding: 20px 30px 40px;
        }

        .product-image {
            position: relative;

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